Peach: Local-first video metadata scraper and media manager.
feat(web): 关注管理整页归 React,表格视图交给 TanStack Table
longmeidaoe07c4a4a54a4
diff --git a/docs/BOARD_UI.md b/docs/BOARD_UI.mdindex a0e6e8329..ddabd3369 100644--- a/docs/BOARD_UI.md+++ b/docs/BOARD_UI.md@@ -16,7 +16,7 @@2026-09-13 核对 [Table](https://www.boardui.com/components/table) 和 [Data Table](https://www.boardui.com/components/data-table)。实时表格使用 `role="grid"`,单元格为 14px、内边距 10px 12px;页面 CSS 部署标识为 `dpl_QqDLotDUMyvoaXmnBoPEK5tSk8mc`。官方 `https://www.boardui.com/r/table.json` 的 SHA-256 为 `fc12a8f2f4012d9e983e0b9bbb10f9fe3288d74046566d2623d60e7056c50d88`。-创作者别名复用现有 Table 样式,待合并按选择、规范创作者、平台别名、依据和操作分列,已保存别名独立成表。两个名字列各占 18%,依据使用剩余宽度;每行可勾选,表头支持全选与半选,右上角提供带数量的「合并所选」和「全部合并」。支持逐条合并、手动添加和移除。批量合并先列出归属关系,失败时保留未完成项供重试。Peach 保留原生表格与既有 API,没有引入 React Aria 或 TanStack Table。+创作者别名复用现有 Table 样式,待合并按选择、规范创作者、平台别名、依据和操作分列,已保存别名独立成表。两个名字列各占 18%,依据使用剩余宽度;每行可勾选,表头支持全选与半选,右上角提供带数量的「合并所选」和「全部合并」。支持逐条合并、手动添加和移除。批量合并先列出归属关系,失败时保留未完成项供重试。Peach 这两张表用逐字复制进 `frontend/src/react/boardui/` 的 `table` 条目(建在 React Aria 上)配既有别名 API;待合并与已保存都只有几行,排序与分页用不上,不接 `@tanstack/react-table`。2026-09-13 实测 [Table 分页](https://www.boardui.com/components/table):上一页/下一页位于两端,页码居中,按钮高 32px、圆角 8px、14px 字号,前后按钮内边距 6px 8px,分页区域间距 8px。点击下一页后当前页变为 2;官方 `/r/pagination.json` 的 SHA-256 为 `cbbb09ecb86b3f93d4c923f02d272a7086db624ab69eaf5768f036b7458435f8`。Peach 复用既有 `pagination.ts` 与 Board 样式,保留 Lucide 箭头和中文标签,手机页码独占第二排。@@ -167,6 +167,8 @@ Radial Chart Card、Bar List Card、Heatmap 与 Sankey 的 Pro 源码**未取得取证来源是 https://www.boardui.com/components/data-table 的实时 DOM 与样式表:`_next/static/chunks/0n0ugaibgw__p.css`(SHA-256 `a856db5e9e1a58b2e32b7bfa6d7f1cab69dd09e4bd7ac22fc455dd10b525cf27`)里的 `.bui-table` 规则,以及公开注册表 `r/table.json`(`fc12a8f2f4012d9e983e0b9bbb10f9fe3288d74046566d2623d60e7056c50d88`)和 `r/data-table.json`(`613299eca0f448460a546f7959feab8dab19fbfd6e18670f7216ff304a1e3574`)。+2026-09-16 迁页时重取这三份:`r/table.json` 与 `r/pagination.json` 逐字节未变,`r/data-table.json` 已是 `7bb73a6cd099b9b16390e5fe00f8ba2d55b5ef96c1e8f90a056168cd2e3235e6`(24531 字节),上游自己改过。Peach 复制进树的是 `table` 条目,`data-table` 只读不抄(原因见 `frontend/src/react/boardui/ORIGIN.md`),所以这次漂移不影响已复制文件的哈希。+| 上游实测 | Peach 表格视图 || --- | --- || `th`/`td` 内边距 `--spacing`×3 / ×2.5,实测 10px 12px;`vertical-align:middle` | 同值 |diff --git a/docs/FRONTEND.md b/docs/FRONTEND.mdindex a5c12567c..5aa8433e6 100644--- a/docs/FRONTEND.md+++ b/docs/FRONTEND.md@@ -298,14 +298,15 @@ vendor 到 `web/vendor/` 的四个包(video.js、swiper、lucide-static、heal| `react-aria-components` | BoardUI 输入框、勾选框、开关、下拉与弹出面板的交互和无障碍语义:标签关联、键盘操作、焦点进出、`aria-invalid` || `react-aria` | 只用 `UNSAFE_PortalProvider`:把 Popover 与下拉列表挂进 `body` 末尾同样带 `.peach-react` 的容器,弹层读到与页面内一致的 token 与 Preflight || `@tanstack/react-query` | React 页面的取数与缓存:页面级 `prefetch` 与组件里的 `useQuery` 共用一份缓存,「取完数才画」不必把首屏数据当 props 串一路;轮询写成 `refetchInterval`,卸载时跟着组件一起停 |+| `@tanstack/react-table` | 表格视图的列定义、排序状态、行选择与分页。行的身份是业务 ID(`getRowId`),所以换页、换排序、换视图之后勾选的还是同一批;排序与分页跑在**全集**上,页只是最后一刀 || `tailwind-merge` | BoardUI 的 `cx()` 合并类名时去掉互相冲突的工具类 || `@remixicon/react` | BoardUI 组件内置的图标 || `tailwindcss`、`@tailwindcss/vite` | 按 `src/react/` 里实际用到的类名生成 `peach-react.css` || `@types/react`、`@types/react-dom` | React 子树的类型检查 |-React 子树单独构建(`vite.react.config.ts`)。`peach-react.js` 870.0 kB(gzip 222.9 kB),-只在页面挂 React 子树时由 island 动态加载;`peach-react.css` 92.6 kB(gzip 14.5 kB),-由 `index.html` 在旧样式表之前引入。`peach-ui.js` 55.3 kB(gzip 18.3 kB),只剩挂载契约与+React 子树单独构建(`vite.react.config.ts`)。`peach-react.js` 1114.8 kB(gzip 282.9 kB),+只在页面挂 React 子树时由 island 动态加载;`peach-react.css` 95.5 kB(gzip 15.1 kB),+由 `index.html` 在旧样式表之前引入。`peach-ui.js` 55.4 kB(gzip 18.3 kB),只剩挂载契约与遗留层的助手。`build.cssTarget` 对齐 Tailwind v4 的浏览器基线(Chrome 111、Firefox 128、Safari 16.4),oklch 颜色原样输出:目标再旧,lightningcss 会补`lab()` 回退,末位小数随平台浮点不同,CI 在 Linux 上重建的产物就与提交的对不上。diff --git a/docs/PRODUCT_BACKLOG.md b/docs/PRODUCT_BACKLOG.mdindex 39caae13c..c3908cb8e 100644--- a/docs/PRODUCT_BACKLOG.md+++ b/docs/PRODUCT_BACKLOG.md@@ -4,9 +4,9 @@## BoardUI 正式前端迁移-Board 视觉层是唯一一套界面,没有切换开关;Board 风格的视觉层与控件映射已在生产。迁移按 [ADR-0031](adr/0031-frontend-react-boardui-tailwind.md) 逐页改写成 React + Tailwind v4 + BoardUI 原版源码,每次一到两个页面、独立分支集成,旧渲染函数、旧 CSS 与旧断言随页面删除。已整页迁到 React 的是配置页、活动页、高清版页、来源和凭证页、统计页、口味页、换头像那一屏,以及扫描与采集的卡片和目录页横幅(两个容器读同一个 `queryKey`);前端只有 React 一档,其余页面仍在 `web/app.js`。布尔开关对应 Board Switch,互斥选择对应 Segmented Control;数值配置支持合法范围内自定义,可关闭功能用 Switch,开启才展示数字输入。+Board 视觉层是唯一一套界面,没有切换开关;Board 风格的视觉层与控件映射已在生产。迁移按 [ADR-0031](adr/0031-frontend-react-boardui-tailwind.md) 逐页改写成 React + Tailwind v4 + BoardUI 原版源码,每次一到两个页面、独立分支集成,旧渲染函数、旧 CSS 与旧断言随页面删除。已整页迁到 React 的是配置页、活动页、高清版页、来源和凭证页、统计页、口味页、关注管理页、换头像那一屏,以及扫描与采集的卡片和目录页横幅(两个容器读同一个 `queryKey`);前端只有 React 一档,其余页面仍在 `web/app.js`。布尔开关对应 Board Switch,互斥选择对应 Segmented Control;数值配置支持合法范围内自定义,可关闭功能用 Switch,开启才展示数字输入。-前端基础库随页面引入,取舍与时机见 ADR-0031「前端基础库」一节:TanStack Query 已随活动页进入,所有 React root 共用一个 `QueryClient`,数据管理卡片的总数在那一页迁移时读高清版页同一个 `queryKey`;TanStack Table 随关注管理表格与 BoardUI Data Table 进;React Router 在外壳与路由迁移那一步接管;TanStack Virtual 在馆藏网格迁到 React 时按实测决定。Remix Icon 候选审查在预览 `/icon-review.html`,现有已选图标保留至用户筛选。迁移不包含版本号或其他分支发布工作。+前端基础库随页面引入,取舍与时机见 ADR-0031「前端基础库」一节:TanStack Query 已随活动页进入,所有 React root 共用一个 `QueryClient`,数据管理卡片的总数在那一页迁移时读高清版页同一个 `queryKey`;TanStack Table 已随关注管理页的表格视图进入(8.21.3),配的是逐字复制的 BoardUI `table` 条目,`data-table` 只读不抄;React Router 在外壳与路由迁移那一步接管;TanStack Virtual 在馆藏网格迁到 React 时按实测决定。Remix Icon 候选审查在预览 `/icon-review.html`,现有已选图标保留至用户筛选。迁移不包含版本号或其他分支发布工作。统计页的四张读数卡兼页签、环形库存图与可展开排名在 React 层(`frontend/src/react/stats/`);口味页的读数卡、可展开排名、雷达、按时间范围的真实访问热图与网站到创作者线索的流向在 `frontend/src/react/taste/`。侧栏使用同一导航的 60/260px 宽窄态,手机从左侧滑入。设置滚动渐隐、手机输入字号、焦点环留白及登录保持时长已接入。Pro 组件使用公开行为的独立适配,范围见 [Board 适配](BOARD_UI.md)。diff --git a/docs/REUSE.md b/docs/REUSE.mdindex bb79d928f..5fe8404c8 100644--- a/docs/REUSE.md+++ b/docs/REUSE.md@@ -2,9 +2,9 @@## Board 界面与数值设置-- 作者别名管理复用 `.ftable` 和既有别名 API;Board Table 的公开结构与固定资源见 `BOARD_UI.md`。Data Table 的排序、分页在当前别名规模下不需要,未引入其 React Aria 与 TanStack 依赖。扫描与采集那三种方式收在一颗主键加一个下拉里:触发键用 BoardUI `Button`,面板用已在用的 React Aria `Popover`,行的外观取注册表 `select` 条目带来的 `menu-styles.ts`,无新增依赖(见 `frontend/src/react/boardui/ORIGIN.md`)。+- 作者别名管理复用逐字复制进 `frontend/src/react/boardui/` 的 BoardUI `Table` 和既有别名 API;公开结构与固定资源见 `BOARD_UI.md`。待合并与已保存两张表都只有几行,排序、分页用不上,不接 `@tanstack/react-table`;合并范围是这一屏自己的勾选状态,所以表里的勾写 `slot={null}`,不走 React Aria Table 自己的行选择。扫描与采集那三种方式收在一颗主键加一个下拉里:触发键用 BoardUI `Button`,面板用已在用的 React Aria `Popover`,行的外观取注册表 `select` 条目带来的 `menu-styles.ts`,无新增依赖(见 `frontend/src/react/boardui/ORIGIN.md`)。-- 关注列表分页复用 `pagination.ts` 的页码范围、边界裁剪与 Board 外观;默认视图按创作者组,表格按来源。批量操作复用人工复核与馆藏的 `selectiondock` 样式和 `selection.ts` 状态同步,跨页选择由来源 ID 集合管理。官方分页源码固定哈希见 `BOARD_UI.md`;沿用现有实现和 Lucide,未增加 React Aria、TanStack 或 Remix Icon 依赖。隔离样例验证了 25 位创作者、75 个来源的分页与跨页选择。+- 关注列表分页复用 `pagination.ts` 的页码范围与边界裁剪(React 与遗留层共用这一份纯函数);默认视图按创作者组,表格按来源。表格视图新引入 `@tanstack/react-table` 8.21.3(MIT,https://github.com/TanStack/table ):列定义、排序状态、行选择与分页交给它,行的身份是来源 ID(`getRowId`),排序与分页跑在全集上、页是最后一刀。归属与时机按 ADR-0031「前端基础库」,是这条待办点名要引入的那一个库,不是顺手加的。两种视图共用同一个来源 ID 集合,批量操作发的是整个集合而不是屏幕上这一页。官方分页与 Table 源码的固定哈希见 `BOARD_UI.md`。`frontend/test/react/follow-manage.test.tsx` 验了 25 位创作者、跨页跨视图勾选与批量写。- 窄屏筛选框共用 `filterScrollState()`、现有滚动帧调度和原生 sticky;同一方向累计 8px 再切换吸顶,保留文档占位与键盘可达性,无新增依赖。diff --git a/frontend/e2e/smoke.test.ts b/frontend/e2e/smoke.test.tsindex b839a57a8..67e9fdcfa 100644--- a/frontend/e2e/smoke.test.ts+++ b/frontend/e2e/smoke.test.ts@@ -52,6 +52,12 @@ const ROUTES: readonly Route[] = [path: '/follow',body: (page) => [heading(page, '#stats', '关注'), heading(page, '#stats', '还没有关注任何来源')],},+ {+ // 骨架里也有「关注列表」那一排分段,可整块带 `aria-hidden`;按角色找得到页签的只有真页面。+ path: '/follow-manage',+ body: (page) => [heading(page, '#main', '关注管理'),+ page.locator('#stats').getByRole('tab', { name: '添加关注', exact: true })],+ },{// 骨架里那条指标带也写着「馆藏视频」,认不出画完没有;只有真页面把四张读数卡做成页签。path: '/stats',diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex 6a081ba2c..b9bc2565d 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -8,6 +8,7 @@"dependencies": {"@remixicon/react": "4.9.0","@tanstack/react-query": "5.102.8",+ "@tanstack/react-table": "8.21.3","d3-sankey": "0.12.3","react": "19.3.0","react-aria": "3.52.1",@@ -2178,6 +2179,39 @@"react": "^18 || ^19"}},+ "node_modules/@tanstack/react-table": {+ "version": "8.21.3",+ "resolved": "https://registry.npmjs.org/@tanstack/react-table/-/react-table-8.21.3.tgz",+ "integrity": "sha512-5nNMTSETP4ykGegmVkhjcS8tTLW6Vl4axfEGQN3v0zdHYbK4UfoqfPChclTrJ4EoK9QynqAu9oUf8VEmrpZ5Ww==",+ "license": "MIT",+ "dependencies": {+ "@tanstack/table-core": "8.21.3"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/tannerlinsley"+ },+ "peerDependencies": {+ "react": ">=16.8",+ "react-dom": ">=16.8"+ }+ },+ "node_modules/@tanstack/table-core": {+ "version": "8.21.3",+ "resolved": "https://registry.npmjs.org/@tanstack/table-core/-/table-core-8.21.3.tgz",+ "integrity": "sha512-ldZXEhOBb8Is7xLs01fR3YEc3DERiz5silj8tnGkFZytt1abEvl/GhUmCE0PMLaMPTa3Jk4HbKmRlHmu+gCftg==",+ "license": "MIT",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/tannerlinsley"+ }+ },"node_modules/@types/chai": {"version": "5.2.3","resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.3.tgz",diff --git a/frontend/package.json b/frontend/package.jsonindex d1f9a7c03..336c21c01 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -18,6 +18,7 @@"dependencies": {"@remixicon/react": "4.9.0","@tanstack/react-query": "5.102.8",+ "@tanstack/react-table": "8.21.3","d3-sankey": "0.12.3","react": "19.3.0","react-aria": "3.52.1",diff --git a/frontend/src/islands.ts b/frontend/src/islands.tsindex 477c6f94c..34b1e5415 100644--- a/frontend/src/islands.ts+++ b/frontend/src/islands.ts@@ -36,6 +36,7 @@ export { resourceScanHtml } from './resource-sync';* 页面自己管数据,首屏落在共用的 Query 缓存里。 */export interface IslandContracts {'avatar-picker': ReactBundle.AvatarPickerProps;+ 'follow-manage': ReactBundle.FollowManageProps;'library-processing': ReactBundle.LibraryProcessingProps;'scraping': ReactBundle.ScrapingProps;'quality-goals': ReactBundle.QualityGoalsProps;@@ -56,6 +57,7 @@ interface Island {const REGISTRY: { [N in IslandName]: Island } = {'avatar-picker': { react: 'avatar-picker' },+ 'follow-manage': { react: 'follow-manage' },'library-processing': { react: 'library-processing' },'scraping': { react: 'scraping' },'quality-goals': { react: 'quality-goals' },diff --git a/frontend/src/legacy/core.d.ts b/frontend/src/legacy/core.d.tsindex d65a82844..74bab3622 100644--- a/frontend/src/legacy/core.d.ts+++ b/frontend/src/legacy/core.d.ts@@ -19,3 +19,11 @@ export declare function fmtSize(bytes: number | null | undefined): string;export declare function siteMarkUrl(params: { source: string } | { domain: string }): string;export declare function esc(value: string): string;++/** 有界并发的批量请求。返回值顺序与输入一致,某一项失败只记下原因、不中断整批:+ * 批量操作一次几百条,串行发是实测的卡点,一次全发出去又会自己挤自己。 */+export declare function mapLimit<T, R>(+ items: readonly T[],+ limit: number,+ run: (item: T, index: number) => Promise<R>,+): Promise<({ ok: true; value: R } | { ok: false; error: unknown })[]>;diff --git a/frontend/src/react/boardui/ORIGIN.md b/frontend/src/react/boardui/ORIGIN.mdindex c9a2d9391..a8b050ef9 100644--- a/frontend/src/react/boardui/ORIGIN.md+++ b/frontend/src/react/boardui/ORIGIN.md@@ -26,12 +26,14 @@| `link-button` | `05eb37b3cf1334c153e0702de05fe4989e4359c9c74d5ba55cc552a58e4629bd` | `components/base/buttons/link-button.tsx` || `icon-button` | `1441e8301efc6e16e0693194f876ce285ca5fe8d440156a060a9266e012d2c90` | `components/base/buttons/icon-button.tsx` || `chip` | `d2b0dd38146325acada58fbc241d13fcd633bb5407ce1ef457e752023fe282de` | `components/base/badges/chip.tsx` |+| `table` | `fc12a8f2f4012d9e983e0b9bbb10f9fe3288d74046566d2623d60e7056c50d88` | `components/base/table/table.tsx` |## 没有逐字复制的部分| 上游 | 处理 | 原因 || --- | --- | --- |-| `globals`(`693885494e6f229637fe118852efbfb3df820dd8d174a2a7e47f65dadfcd96bf`) | 不复制整份;试点用到的 `check-draw` 动画和根元素的字体平滑搬进 `../styles.css`,作用域是 `.peach-react` | 整份 `@import "tailwindcss"` 会把 Preflight 和 `html`、`body` 的底色铺到整页,未迁移页面仍由旧样式表绘制 |+| `globals`(`693885494e6f229637fe118852efbfb3df820dd8d174a2a7e47f65dadfcd96bf`) | 不复制整份;用到的 `check-draw` 动画、根元素的字体平滑和 `.bui-table` 那一组规则逐字搬进 `../styles.css`,作用域是 `.peach-react` | 整份 `@import "tailwindcss"` 会把 Preflight 和 `html`、`body` 的底色铺到整页,未迁移页面仍由旧样式表绘制。`table` 条目的外观全在 `globals.css` 里(React Aria 的集合组件包不进自定义组件),不搬就只剩一张没有边线和字阶的裸表 |+| `data-table`(`7bb73a6cd099b9b16390e5fe00f8ba2d55b5ef96c1e8f90a056168cd2e3235e6`) | 不复制;表格视图用 `table` 条目的 `Table` 配 `@tanstack/react-table`,列定义、排序、行选择与分页写在 `../follow-manage/` 里 | 该条目是 `registry:block`,只有一份 `docs/examples/data-table-example.tsx` 示例,依赖的 avatar、segmented-control、status-dot、tooltip 等条目 Peach 都没有;它演示的正是「`table` 加 TanStack Table」这套接法 || Tailwind Preflight | `../preflight-scoped.css` 逐字包进 `@scope (.peach-react)` | 同上 || 深色模式 | 上游读 `<html class="dark">`;`web/app.js` 的 `applyTheme()` 与 `index.html` 首帧脚本按实际深浅加减这个类 | Peach 的主题选择写在 `data-theme`,跟随系统时不写属性 || 与 `web/board.css` 同名的 `--color-*` token | `:root` 上由 `board.css` 定值;`../styles.css` 在 `.peach-react` 与 `.dark .peach-react` 上按 `theme.css` 原文重新声明 | 未迁移页面的颜色保持不变,React 子树读到上游值 |diff --git a/frontend/src/react/boardui/UPSTREAM.sha256 b/frontend/src/react/boardui/UPSTREAM.sha256index a3a314d89..d80a08f04 100644--- a/frontend/src/react/boardui/UPSTREAM.sha256+++ b/frontend/src/react/boardui/UPSTREAM.sha256@@ -11,6 +11,7 @@ e71bdc6f0dd28e792be233950df90f7f8ee68252a63e3f2da46d19f84bdf7584 components/basa053bec8ad9f79f15ad8d7f031eac740588781d4e1b34d1cb1b3c5d44a4b2199 components/base/input/label.tsxc56abf0ad7b554a363a6e2b46045489b6a94c18718324cbf06e64edf0540b116 components/base/select/select.tsx4b853b8886c471f482e3b2c5a4a6c6436ab30f7d6122f43f571f94d10f5d6c22 components/base/switch/switch.tsx+f960c50c679e3473328fb7e1c9c35f746a65c73011248c827274c1433a482419 components/base/table/table.tsxdaa432c30cf80fbfef15f929a2b7ca459c007f5611785286937528d4b7565b97 components/foundations/icons/chevrons.tsxcd4159cd6f121d8693fc3fcfa665126b49d6a23714a265b653c92cecef864136 styles/theme.cssdfd4e9b446998d063efe96a47fc31fd2492639bf641d0da1b60645fe4dcc32a1 styles/typography.cssdiff --git a/frontend/src/react/boardui/components/base/table/table.tsx b/frontend/src/react/boardui/components/base/table/table.tsxnew file mode 100644index 000000000..d67b7a979--- /dev/null+++ b/frontend/src/react/boardui/components/base/table/table.tsx@@ -0,0 +1,60 @@+"use client";++import type { Ref } from "react";+import {+ Cell,+ Column,+ Row,+ Table as AriaTable,+ TableBody,+ TableHeader,+} from "react-aria-components";+import type { TableProps as AriaTableProps } from "react-aria-components";+import { cx } from "@/utils/cx";++/**+ * Table primitive — built on react-aria-components `Table` for semantic markup,+ * keyboard navigation, row selection and sortable columns.+ *+ * React Aria's `Column`, `Row`, `Cell`, `TableHeader` and `TableBody` are+ * *collection* components: React Aria introspects them at build time, so they+ * can't be wrapped in custom components without losing that behaviour. We+ * therefore re-export them as-is and apply BoardUI styling through scoped CSS+ * keyed on `.bui-table` (see styles/globals.css). Only the root `<Table>` is+ * wrapped — to add the scroll container and the size flag.+ *+ * Sizes: `md` (h-16 rows) and `sm` (h-12 rows), set once via `data-size`.+ *+ * Pair with @tanstack/react-table when you need sorting / filtering /+ * pagination logic (see the advanced Data Table example).+ */++export type TableSize = "sm" | "md";++export interface TableProps extends Omit<AriaTableProps, "className"> {+ size?: TableSize;+ className?: string;+ /** Class for the scroll container that wraps the table. */+ containerClassName?: string;+ ref?: Ref<HTMLTableElement>;+}++export function Table({ size = "md", className, containerClassName, ref, ...props }: TableProps) {+ return (+ <div className={cx("w-full overflow-x-auto", containerClassName)}>+ <AriaTable+ ref={ref}+ {...props}+ className={cx("bui-table", size === "sm" && "bui-table-sm", className)}+ />+ </div>+ );+}++export {+ TableHeader,+ Column as TableColumn,+ TableBody,+ Row as TableRow,+ Cell as TableCell,+};diff --git a/frontend/src/react/bundle.d.ts b/frontend/src/react/bundle.d.tsindex c984d6fcc..92fc5ee80 100644--- a/frontend/src/react/bundle.d.ts+++ b/frontend/src/react/bundle.d.ts@@ -153,6 +153,35 @@ export interface ScrapingProps {toast(message: string): void;}+/** 关注管理页。+ *+ * 地址栏与个人偏好在这里分成两组:`tab`/`page`/`sort`/`dir` 外面链接得过来,跟着地址+ * 走;`pageSize`/`layout` 是这台浏览器的习惯,跟着 `appSettings` 走。两组都由壳持有存储、+ * React 持有实时状态,各只有一份。 */+export interface FollowManageProps {+ /** 地址栏此刻带着的页签(`list`/`add`/`source`)。 */+ tab: string;+ page: number;+ sort: string;+ dir: string;+ /** 把这四项写回地址栏。空串表示这一项此刻就是默认值,壳不写进去。 */+ route(params: { tab: string; page: number; sort: string; dir: string }): void;+ /** 这台浏览器的偏好当前值。 */+ pageSize: number;+ layout: string;+ /** 偏好改了:存储归壳(`appSettings`),页面不自己写一份。 */+ savePreference(patch: { pageSize?: number; layout?: string }): void;+ /** 写操作在服务端落地之后的过去时回执。 */+ toast(message: string): void;+ /** 去「看更新」那一页(`/follow`)。整页换成哪一屏仍归遗留壳。 */+ openFollow(): void;+ /** 账本只读:这台机器只能浏览,写操作全部不给点。 */+ readOnly: boolean;+ readOnlyMessage: string;+ /** 写入端上这一页的地址。取不到时门禁里不给去处。 */+ writerUrl: string;+}+/** 扫描与采集。同一份数据两个读者,所以同一个名字挂两种形态:数据管理页那张卡片,* 和目录页顶上那条横幅(`mode: 'notice'`)。 */export interface LibraryProcessingProps {@@ -181,6 +210,7 @@ export interface ReactPages {activity: ReactPage<ActivityProps>;'avatar-picker': ReactPage<AvatarPickerProps>;configuration: ReactPage<ConfigurationProps>;+ 'follow-manage': ReactPage<FollowManageProps>;'library-processing': ReactPage<LibraryProcessingProps>;'quality-goals': ReactPage<QualityGoalsProps>;scraping: ReactPage<ScrapingProps>;diff --git a/frontend/src/react/entry.tsx b/frontend/src/react/entry.tsxindex 6a90c142a..0f630d4f1 100644--- a/frontend/src/react/entry.tsx+++ b/frontend/src/react/entry.tsx@@ -11,6 +11,8 @@ import { ActivityPage } from './activity/activity-page';import { prefetchTasks } from './activity/tasks';import { AvatarPicker } from './avatar-picker/avatar-picker-page';import type * as Bundle from './bundle';+import { prefetchFollowManage } from './follow-manage/follow-manage';+import { FollowManagePage } from './follow-manage/follow-manage-page';import { prefetchLibraryProcessing } from './library-processing/library-processing';import { LibraryProcessingCard } from './library-processing/library-processing-card';import { LibraryProcessingNotice } from './library-processing/library-processing-notice';@@ -74,6 +76,11 @@ export const pages: Bundle.ReactPages = {configuration: {prefetch: (_props, signal) => prefetchConfiguration(signal), mount: mounter(ConfigurationPage),},+ /* 首屏只取来源清单与凭据状态。检查更新与查找那两趟后台任务的快照不在首屏里:它们+ 常年躺着上一趟的回执,等它们只会让首屏多一个往返。 */+ 'follow-manage': {+ prefetch: (_props, signal) => prefetchFollowManage(signal), mount: mounter(FollowManagePage),+ },'library-processing': {prefetch: (_props, signal) => prefetchLibraryProcessing(signal),mount: mounter(LibraryProcessing),diff --git a/frontend/src/react/follow-manage/add-source.tsx b/frontend/src/react/follow-manage/add-source.tsxnew file mode 100644index 000000000..ebde15fe1--- /dev/null+++ b/frontend/src/react/follow-manage/add-source.tsx@@ -0,0 +1,395 @@+/* 添加关注:把一条链接、一个名字或一个 id 变成已关注的来源。+ *+ * 查找只是列出候选、不写任何东西:发现要联网,结果也可能不止一个,替用户决定「就是+ * 这个」是错的。真正登记仍然要在候选里点。+ *+ * 查找那一趟在后台跑,页面关掉也还在跑。首屏读到的旧终态不冒充新结果:只有本次点过+ * 查找、或者本次亲眼见过它在跑,结果才摆出来(ADR-0031)。 */+import { useEffect, useMemo, useRef, useState } from 'react';+import type { KeyboardEvent } from 'react';+import { RiFilter3Line, RiSearchLine } from '@remixicon/react';+import { useMutation, useQuery } from '@tanstack/react-query';+import { Dialog, Popover } from 'react-aria-components';++import { Button } from '@/components/base/buttons/button';+import { Checkbox } from '@/components/base/checkbox/checkbox';+import {+ MENU_ITEM, MENU_ITEM_INTERACTIVE, MENU_POPOVER_SURFACE,+} from '@/components/base/dropdown/menu-styles';+import { Input } from '@/components/base/input/input';+import { cx } from '@/utils/cx';++import { errorMessage } from '../../api';+import { LoadingDots } from '../components/loading-dots';+import { Note } from '../components/note';+import { Progress } from '../components/progress';+import { queryClient } from '../query';+import { busyProps } from '../settings/use-action';+import { ExternalLink, FieldLabel, Help } from '../settings/section';+import {+ addSource, fetchResolveJob, fetchSuggestions, FOLLOW_RESOLVE_KEY, followSuggestKey,+ jobPollInterval, reloadFollowManage, startCheck, startResolve, SUGGEST_DEBOUNCE_MS,+ type CredentialData, type FollowData, type ResolveCandidate, type ResolveJob, type ResolveRow,+} from './follow-manage';+import { SourceIcon } from './source-view';++const MENU_ROW = cx(MENU_ITEM, MENU_ITEM_INTERACTIVE, 'text-body-2-medium');+const PLACEHOLDER = '粘贴来源链接,或输入创作者名、id…';+// 索引下载的提醒只在真按名字查时出现;常驻成一句说明就是噪音。+const BY_NAME_HINT = '查找中…(首次按名字查要下载创作者索引,可能几十秒)';+const BY_LINK_HINT = '识别中…';+const NO_CANDIDATE = '站内没有查到来源';++export interface AddSourceProps {+ data: FollowData;+ credentials: CredentialData;+ readOnly: boolean;+ toast(message: string): void;+ /** 去凭据那一栏配这个站。候选里的「需要配置凭据」按下去就是换页签。 */+ openCredentials(): void;+}++/** 候选的身份是它的地址:同一次查找里同一个地址只会出现一次。 */+const candidateKey = (row: number, candidate: ResolveCandidate) => `${row}:${candidate.url}`;++/** 敲字建议的下拉。只在输入框有焦点时开着,键盘上下键在里面走。+ *+ * 站上那一路要先问补全再问分类,实测一秒上下,这段时间得看得出在做事:空着像是敲了没反应。+ * 忙的那一行不是候选,上下键和回车这时不该选中一个「正在查找建议」。 */+function SuggestMenu(+ { options, active, busy, onPick }:+ {+ options: { value: string; label: string; group: string }[];+ active: number; busy: boolean; onPick(value: string): void;+ },+) {+ return (+ <div aria-label="来源建议"+ className={cx(MENU_POPOVER_SURFACE, 'absolute top-full z-10 mt-1 flex w-full flex-col gap-1')}>+ {busy && !options.length+ ? <div className="px-2 py-1.5"><LoadingDots label="正在查找建议" /></div>+ : null}+ {options.map((option, at) => (+ <button key={`${option.group}-${option.value}`} type="button"+ aria-current={at === active ? 'true' : undefined}+ className={at === active ? cx(MENU_ROW, 'bg-background-secondary-default') : MENU_ROW}+ // 按下就 preventDefault:让下拉把焦点从输入框抢走的话,敲到一半的词就断在那里。+ onMouseDown={(event) => event.preventDefault()}+ onClick={() => onPick(option.value)}>+ <span className="min-w-0 grow truncate text-left">{option.label}</span>+ <span className="shrink-0 text-caption-1-regular text-text-tertiary">{option.group}</span>+ </button>+ ))}+ </div>+ );+}++/** 来源筛选:列出全部可关注的站,默认全选。取消勾选的站,其查找结果行不显示、也不进+ * 「添加选中」。 */+function SourceFilter(+ { credentials, hidden, onHidden, openCredentials }:+ {+ credentials: CredentialData; hidden: ReadonlySet<string>;+ onHidden(next: Set<string>): void; openCredentials(): void;+ },+) {+ const trigger = useRef<HTMLButtonElement>(null);+ const [open, setOpen] = useState(false);+ const rows = (credentials.providers || []).filter((row) => row.followable);+ const shown = rows.filter((row) => !hidden.has(row.provider_label)).length;+ const label = shown === rows.length ? '全部来源' : `${shown}/${rows.length} 个来源`;+ const toggle = (provider: string, on: boolean) => {+ const next = new Set(hidden);+ if (on) next.delete(provider); else next.add(provider);+ onHidden(next);+ };+ return (+ <>+ <Button ref={trigger} variant="secondary" size="small" leadingIcon={RiFilter3Line}+ aria-haspopup="dialog" aria-expanded={open} aria-label={label}+ onClick={() => setOpen(true)}>{label}</Button>+ <Popover triggerRef={trigger} isOpen={open} onOpenChange={setOpen}+ placement="bottom end" offset={4} className={MENU_POPOVER_SURFACE}>+ <Dialog aria-label="来源筛选" className="flex w-64 flex-col gap-1 outline-none">+ {rows.length ? (+ <div className="flex items-center gap-2 pb-1">+ <Button variant="ghost" size="small"+ onClick={() => onHidden(new Set())}>全选</Button>+ <Button variant="ghost" size="small"+ onClick={() => onHidden(new Set(rows.map((row) => row.provider_label)))}>全不选</Button>+ </div>+ ) : <Help>暂无可用来源</Help>}+ {rows.map((row) => {+ const needsCredential = row.requirement === 'required'+ && (!row.present || (row.missing || []).length > 0);+ return (+ <div key={row.provider} className="flex items-center gap-2">+ <Checkbox isSelected={!hidden.has(row.provider_label)}+ onChange={(on) => toggle(row.provider_label, on)}>+ <span className="flex min-w-0 items-center gap-1.5">+ <SourceIcon provider={row.provider} />{row.provider_label}+ </span>+ </Checkbox>+ {needsCredential ? (+ <Button variant="ghost" size="xs" className="ml-auto"+ onClick={() => { setOpen(false); openCredentials() }}>需要配置凭据</Button>+ ) : null}+ </div>+ );+ })}+ </Dialog>+ </Popover>+ </>+ );+}++/** 一条查找结果。候选逐条列,已经关注的列出来但不许再勾——否则人以为没查到。 */+function PickRow(+ { row, at, hidden, unpicked, onPick }:+ {+ row: ResolveRow; at: number; hidden: ReadonlySet<string>; unpicked: ReadonlySet<string>;+ onPick(key: string, on: boolean): void;+ },+) {+ if (row.kind === 'error') {+ return <Note tone="error" title={row.line}>{row.error || '查找失败'}</Note>;+ }+ const candidates = (row.candidates || []).filter(+ (candidate) => !hidden.has(candidate.provider_label || ''));+ const failures = Object.entries(row.failures || {});+ return (+ <div className="flex flex-col gap-2 rounded-2xl border border-separator-border p-4">+ <b className="text-body-medium text-text-primary">{row.line}</b>+ {candidates.length ? candidates.map((candidate) => {+ const key = candidateKey(at, candidate);+ return (+ <Checkbox key={key} isSelected={!candidate.known && !unpicked.has(key)}+ isDisabled={candidate.known} onChange={(on) => onPick(key, on)}>+ <span className="flex min-w-0 flex-wrap items-center gap-1.5">+ <SourceIcon provider={candidate.provider} />+ <b className="text-body-medium">{candidate.provider_label}</b>+ <span className="min-w-0 break-words">{candidate.label}</span>+ <small className="text-caption-1-regular text-text-secondary">+ {candidate.known ? '已经关注' : candidate.evidence}+ </small>+ </span>+ </Checkbox>+ );+ }) : <Help>{NO_CANDIDATE}</Help>}+ {(row.external_searches || []).map((search) => (+ <div key={search.url} className="flex flex-wrap items-center gap-2">+ <small className="text-caption-1-regular text-text-secondary">{search.evidence}</small>+ {/* 这一条会离开 Peach,所以带外链标;标由共用的 `ExternalLink` 给,全站一个写法。 */}+ <ExternalLink href={search.url}>{`${search.label}:${search.query}`}</ExternalLink>+ </div>+ ))}+ {failures.length ? (+ <Help>{failures.map(([name, reason]) => `${name}:${reason}`).join(';')}</Help>+ ) : null}+ </div>+ );+}++export function AddSource({ data, credentials, readOnly, toast, openCredentials }: AddSourceProps) {+ const [line, setLine] = useState('');+ const [term, setTerm] = useState('');+ const [focused, setFocused] = useState(false);+ const [active, setActive] = useState(-1);+ const [hidden, setHidden] = useState<ReadonlySet<string>>(new Set<string>());+ const [unpicked, setUnpicked] = useState<ReadonlySet<string>>(new Set<string>());+ const [problem, setProblem] = useState('');+ const [tracking, setTracking] = useState(false);+ const [outcome, setOutcome] = useState<ResolveJob | null>(null);+ const [added, setAdded] = useState(0);++ /* 每一下输入都排一次建议,但只发一次请求:250ms 内继续敲就换掉上一次的排期。+ 地址不进这条路——服务端认得出里面的 `/`,那时该做的是解析链接。 */+ useEffect(() => {+ const text = line.trim();+ if (!text || text.includes('/')) { setTerm(''); return }+ const timer = setTimeout(() => setTerm(text), SUGGEST_DEBOUNCE_MS);+ return () => clearTimeout(timer);+ }, [line]);++ const suggest = useQuery({+ queryKey: followSuggestKey(term),+ queryFn: ({ signal }) => fetchSuggestions(term, signal),+ enabled: term.length > 0 && focused,+ });++ const options = useMemo(() => (suggest.data?.groups || []).flatMap((group) => (+ group.items.map((item) => ({ value: item.value, label: item.matched || item.value, group: group.label }))+ )), [suggest.data]);++ const job = useQuery({+ queryKey: FOLLOW_RESOLVE_KEY,+ queryFn: ({ signal }) => fetchResolveJob(signal),+ refetchInterval: (query) => jobPollInterval(query.state.data),+ });+ const running = job.data?.status === 'running';++ const resolve = useMutation({+ mutationFn: (text: string) => startResolve([text]),+ onSuccess: () => {+ setTracking(true);+ setOutcome(null);+ setUnpicked(new Set());+ void queryClient.invalidateQueries({ queryKey: FOLLOW_RESOLVE_KEY, exact: true });+ },+ onError: (cause) => setProblem(errorMessage(cause)),+ });++ useEffect(() => {+ const state = job.data;+ if (!state) return;+ if (state.status === 'running') { if (!tracking) setTracking(true); return }+ if (!tracking) return;+ setTracking(false);+ setOutcome(state);+ if (state.status === 'failed') setProblem(state.error || '查找失败');+ }, [job.data, tracking]);++ const search = (text: string) => {+ const query = text.trim();+ if (!query || running || resolve.isPending) return;+ setProblem('');+ setActive(-1);+ setLine('');+ setTerm('');+ resolve.mutate(query);+ };++ const onKeyDown = (event: KeyboardEvent<HTMLInputElement>) => {+ if (event.nativeEvent.isComposing) return;+ if (event.key === 'Escape' && options.length) { setActive(-1); setFocused(false); return }+ if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {+ if (!options.length) return;+ event.preventDefault();+ const step = event.key === 'ArrowDown' ? 1 : -1;+ setActive((now) => {+ const next = now + step;+ if (next < 0) return options.length - 1;+ return next >= options.length ? 0 : next;+ });+ return;+ }+ if (event.key !== 'Enter') return;+ event.preventDefault();+ /* 选中一条建议再回车,等于把那个名字填进来再查找。查找只是列出候选、不写任何+ 东西,所以选中即查找是安全的。 */+ search(options[active]?.value || line);+ };++ const rows = outcome?.results || [];+ const picked = rows.flatMap((row, at) => (row.candidates || [])+ .filter((candidate) => !candidate.known && !hidden.has(candidate.provider_label || ''))+ .map((candidate) => ({ candidate, key: candidateKey(at, candidate) }))+ .filter((item) => !unpicked.has(item.key)));++ const register = useMutation({+ mutationFn: async (items: { candidate: ResolveCandidate }[]) => {+ const failures: string[] = [];+ const sources: number[] = [];+ setAdded(0);+ for (const item of items) {+ try {+ const done = await addSource(item.candidate);+ sources.push(done.source);+ } catch (cause) {+ // 一条失败不该把其余的一起丢掉,逐条报。+ failures.push(`${item.candidate.label}:${errorMessage(cause)}`);+ }+ setAdded((now) => now + 1);+ }+ // 新来源登记时按 `defer_check` 跳过了检查,登记完一次性起一趟。+ if (sources.length) {+ try { await startCheck(sources) } catch (cause) { failures.push(errorMessage(cause)) }+ }+ return { failures, sources };+ },+ onSuccess: (result) => {+ void reloadFollowManage();+ if (result.failures.length) { setProblem(result.failures.join(';')); return }+ setProblem('');+ setOutcome(null);+ toast(`已添加 ${result.sources.length} 个关注来源`);+ },+ onError: (cause) => setProblem(errorMessage(cause)),+ });++ const guesses = data.suggestions || [];+ const byName = !line.includes('/');+ const suggesting = suggest.isFetching;+ const menuOpen = focused && (options.length > 0 || suggesting);++ return (+ <div className="flex flex-col gap-4">+ <h3 className="text-headline-medium text-text-primary">添加关注</h3>++ <div className="flex flex-wrap items-end gap-2">+ {/* 焦点离开的是整块字段才收下拉,不是离开输入框就收:下拉里的每一条都是真的按钮,+ 键盘走得进去,输入框一失焦就收的话,那一下正好把要点的东西撤走。 */}+ <div className="relative min-w-64 grow" onFocus={() => setFocused(true)}+ onBlur={(event) => {+ if (!event.currentTarget.contains(event.relatedTarget)) setFocused(false);+ }}>+ <Input aria-label="来源链接、名字或 id" placeholder={PLACEHOLDER} value={line}+ leadingIcon={RiSearchLine} isDisabled={readOnly} onChange={setLine}+ onKeyDown={onKeyDown} />+ {menuOpen+ ? <SuggestMenu options={options} active={active} busy={suggesting} onPick={search} />+ : null}+ </div>+ <SourceFilter credentials={credentials} hidden={hidden} onHidden={setHidden}+ openCredentials={openCredentials} />+ <Button variant="primary" size="small" disabled={readOnly || !line.trim()}+ {...busyProps(running || resolve.isPending)} onClick={() => search(line)}>查找</Button>+ </div>++ <div aria-live="polite" className="flex flex-col gap-3 empty:hidden">+ {running || resolve.isPending ? (job.data?.total+ ? <Progress label={job.data.message || `查找中:${job.data.checked || 0}/${job.data.total}`}+ value={job.data.checked || 0} max={job.data.total} />+ : <LoadingDots label={byName ? BY_NAME_HINT : BY_LINK_HINT} />) : null}+ {problem ? <Note tone="error" title="这一次没有完成">{problem}</Note> : null}+ </div>++ {rows.length ? (+ <div className="flex flex-col gap-3">+ <FieldLabel>查找结果</FieldLabel>+ {rows.map((row, at) => (+ <PickRow key={`${row.line}-${at}`} row={row} at={at} hidden={hidden} unpicked={unpicked}+ onPick={(key, on) => {+ const next = new Set(unpicked);+ if (on) next.delete(key); else next.add(key);+ setUnpicked(next);+ }} />+ ))}+ <div className="flex flex-wrap items-center gap-2">+ <Button variant="primary" size="small" disabled={readOnly || !picked.length}+ {...busyProps(register.isPending)}+ onClick={() => register.mutate(picked)}>{`添加选中(${picked.length})`}</Button>+ <Button variant="secondary" size="small"+ onClick={() => setOutcome(null)}>关闭</Button>+ {register.isPending ? (+ <span role="status" className="text-body-2-regular text-text-secondary">+ {`添加中… ${added}/${picked.length}`}+ </span>+ ) : null}+ </div>+ </div>+ ) : null}++ {guesses.length ? (+ <div className="flex flex-wrap items-center gap-2">+ <span className="text-body-2-regular text-text-secondary">猜你喜欢</span>+ {guesses.map((guess) => (+ <Button key={guess.name} variant="secondary" size="small" disabled={readOnly}+ title={`浏览历史里出现 ${guess.visits} 次${guess.origin ? ` · ${guess.origin}` : ''}`}+ onClick={() => search(guess.name)}>{guess.name}</Button>+ ))}+ </div>+ ) : null}+ </div>+ );+}diff --git a/frontend/src/react/follow-manage/alias-manager.tsx b/frontend/src/react/follow-manage/alias-manager.tsxnew file mode 100644index 000000000..4ed0558bb--- /dev/null+++ b/frontend/src/react/follow-manage/alias-manager.tsx@@ -0,0 +1,227 @@+/* 创作者别名:同一个人在几个站上用几个名字,合并之后按一位创作者归组。+ *+ * 待合并是带依据的候选,合并永远由人点:服务端不自行升级,页面也不替他勾。 */+import { useState } from 'react';+import { RiCloseLine, RiUserLine } from '@remixicon/react';+import { useMutation } from '@tanstack/react-query';+import { confirmModal } from '@peach/legacy/ui';++import { Button } from '@/components/base/buttons/button';+import { Checkbox } from '@/components/base/checkbox/checkbox';+import { Input } from '@/components/base/input/input';+import {+ Table, TableBody, TableCell, TableColumn, TableHeader, TableRow,+} from '@/components/base/table/table';++import { errorMessage } from '../../api';+import { EmptyState } from '../components/empty-state';+import { ErrorText, FieldLabel } from '../settings/section';+import { busyProps } from '../settings/use-action';+import {+ addAlias, reloadFollowManage, removeAlias,+ type AliasGroup, type AliasSuggestion,+} from './follow-manage';++const REMOVE_BODY = (alias: string) => `将移除别名「${alias}」,对应来源恢复为独立创作者组。`;++export interface AliasManagerProps {+ groups: AliasGroup[];+ suggestions: AliasSuggestion[];+ readOnly: boolean;+ toast(message: string): void;+}++/** 一条待合并的身份:一个别名只可能归进一个规范名,所以用别名本身当键。 */+const suggestionKey = (item: AliasSuggestion) => item.alias;++export function AliasManager({ groups, suggestions, readOnly, toast }: AliasManagerProps) {+ const [selected, setSelected] = useState<ReadonlySet<string>>(new Set<string>());+ const [problem, setProblem] = useState('');+ const [canonical, setCanonical] = useState('');+ const [alias, setAlias] = useState('');++ /* 合并按顺序一条一条发:一次失败要报出「还有几组没合」,而并发发出去的话,说不清+ 停在了哪里。 */+ const merge = useMutation({+ mutationFn: async (items: AliasSuggestion[]) => {+ let done = 0;+ for (const item of items) {+ try {+ await addAlias(item.canonical, item.alias);+ } catch (cause) {+ /* 半路断了要说清停在哪儿:已经合上的那几组先落回列表里去掉,再点一次只发剩下的。 */+ if (done) void reloadFollowManage();+ throw new Error(`${errorMessage(cause)}(还有 ${items.length - done} 组没有合并)`);+ }+ done += 1;+ }+ return { done, items };+ },+ onSuccess: (result) => {+ setProblem('');+ setSelected(new Set());+ void reloadFollowManage();+ toast(`已合并 ${result.done} 组创作者别名`);+ },+ onError: (cause) => setProblem(errorMessage(cause)),+ });++ const save = useMutation({+ mutationFn: (pair: { canonical: string; alias: string }) => addAlias(pair.canonical, pair.alias),+ onSuccess: () => {+ setProblem('');+ setCanonical('');+ setAlias('');+ void reloadFollowManage();+ toast('已保存创作者别名');+ },+ onError: (cause) => setProblem(errorMessage(cause)),+ });++ const drop = useMutation({+ mutationFn: (name: string) => removeAlias(name),+ onSuccess: () => { setProblem(''); void reloadFollowManage(); toast('已移除创作者别名') },+ onError: (cause) => setProblem(errorMessage(cause)),+ });++ const mergeSome = (items: AliasSuggestion[], all: boolean) => {+ if (!items.length) return;+ void confirmModal({+ title: all ? '合并全部创作者别名' : '合并所选创作者别名',+ body: `将合并以下 ${items.length} 组创作者:${items.map(+ (item) => `「${item.alias}」归入「${item.canonical}」`).join(';')}。`,+ confirmLabel: all ? '合并全部别名' : '合并所选别名',+ onConfirm: () => merge.mutateAsync(items),+ });+ };++ const chosen = suggestions.filter((item) => selected.has(suggestionKey(item)));+ const allChosen = suggestions.length > 0 && chosen.length === suggestions.length;+ const busy = busyProps(merge.isPending);++ return (+ <div className="flex flex-col gap-4">+ <h3 className="text-headline-medium text-text-primary">创作者别名</h3>++ <div className="flex flex-col gap-2">+ <FieldLabel>手动添加别名</FieldLabel>+ <div className="flex flex-wrap items-end gap-2">+ <Input aria-label="规范创作者名" placeholder="规范创作者名" value={canonical}+ onChange={setCanonical} isDisabled={readOnly} className="w-56" />+ <Input aria-label="平台别名" placeholder="平台别名" value={alias}+ onChange={setAlias} isDisabled={readOnly} className="w-56" />+ <Button variant="primary" size="small" disabled={readOnly || !canonical.trim() || !alias.trim()}+ {...busyProps(save.isPending)}+ onClick={() => save.mutate({ canonical: canonical.trim(), alias: alias.trim() })}>+ 保存别名+ </Button>+ </div>+ </div>++ {problem ? <ErrorText>{problem}</ErrorText> : null}++ {suggestions.length ? (+ <div className="flex flex-col gap-2">+ <div className="flex flex-wrap items-center gap-2">+ <FieldLabel>待合并</FieldLabel>+ <span className="mr-auto text-body-2-regular text-text-secondary">+ {`${suggestions.length} 组`}+ </span>+ <Button variant="secondary" size="small" disabled={readOnly || !chosen.length} {...busy}+ onClick={() => mergeSome(chosen, false)}>{`合并所选(${chosen.length})`}</Button>+ <Button variant="primary" size="small" disabled={readOnly} {...busy}+ onClick={() => mergeSome(suggestions, true)}>{`全部合并(${suggestions.length})`}</Button>+ </div>+ <Table aria-label="待合并创作者别名" size="sm">+ <TableHeader>+ <TableColumn id="select">+ {/* `slot={null}`:表格自带一个叫 selection 的插槽,摆进去的勾不声明归属就+ 会被它拦下报错。合并范围是这一屏自己的状态,不走 Table 的行选择。 */}+ <Checkbox slot={null} isSelected={allChosen} isIndeterminate={chosen.length > 0 && !allChosen}+ aria-label="全选待合并别名"+ onChange={(on) => setSelected(on+ ? new Set(suggestions.map(suggestionKey))+ : new Set<string>())} />+ </TableColumn>+ <TableColumn id="canonical">规范创作者</TableColumn>+ <TableColumn id="alias" isRowHeader>平台别名</TableColumn>+ <TableColumn id="evidence">依据</TableColumn>+ <TableColumn id="actions">操作</TableColumn>+ </TableHeader>+ <TableBody>+ {suggestions.map((item) => {+ const key = suggestionKey(item);+ return (+ <TableRow key={key} id={key}>+ <TableCell>+ <Checkbox slot={null} isSelected={selected.has(key)}+ aria-label={`选择别名 ${item.alias},归入 ${item.canonical}`}+ onChange={(on) => {+ const next = new Set(selected);+ if (on) next.add(key); else next.delete(key);+ setSelected(next);+ }} />+ </TableCell>+ <TableCell><b className="text-body-medium">{item.canonical}</b></TableCell>+ <TableCell>{item.alias}</TableCell>+ <TableCell>+ <span className="text-body-2-regular text-text-secondary">{item.evidence}</span>+ </TableCell>+ <TableCell>+ <Button variant="secondary" size="small" disabled={readOnly} {...busy}+ onClick={() => mergeSome([item], false)}>合并</Button>+ </TableCell>+ </TableRow>+ );+ })}+ </TableBody>+ </Table>+ </div>+ ) : null}++ <div className="flex flex-col gap-2">+ <div className="flex flex-wrap items-center gap-2">+ <FieldLabel>已保存别名</FieldLabel>+ <span className="text-body-2-regular text-text-secondary">{`${groups.length} 组`}</span>+ </div>+ {groups.length ? (+ <Table aria-label="已保存创作者别名" size="sm">+ <TableHeader>+ <TableColumn id="canonical" isRowHeader>规范创作者</TableColumn>+ <TableColumn id="aliases">平台别名</TableColumn>+ </TableHeader>+ <TableBody>+ {groups.map((group) => (+ <TableRow key={group.canonical_key} id={group.canonical_key}>+ <TableCell><b className="text-body-medium">{group.canonical_name}</b></TableCell>+ <TableCell>+ <span className="flex flex-wrap items-center gap-1.5">+ {group.aliases.map((item) => (+ <span key={item.key}+ className="inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary">+ {item.name}+ <Button variant="ghost" size="xs" iconOnly leadingIcon={RiCloseLine}+ aria-label={`移除别名 ${item.name}`} disabled={readOnly}+ {...busyProps(drop.isPending)}+ onClick={() => void confirmModal({+ title: '移除创作者别名', body: REMOVE_BODY(item.name),+ confirmLabel: '移除创作者别名',+ onConfirm: () => drop.mutateAsync(item.name),+ })} />+ </span>+ ))}+ </span>+ </TableCell>+ </TableRow>+ ))}+ </TableBody>+ </Table>+ ) : (+ <EmptyState icon={RiUserLine} title="还没有保存创作者别名">+ 填写规范创作者名和平台别名以添加。+ </EmptyState>+ )}+ </div>+ </div>+ );+}diff --git a/frontend/src/react/follow-manage/credentials.tsx b/frontend/src/react/follow-manage/credentials.tsxnew file mode 100644index 000000000..5e984b854--- /dev/null+++ b/frontend/src/react/follow-manage/credentials.tsx@@ -0,0 +1,171 @@+/* 来源和凭证:哪些站要登录、这台电脑上填没填、去哪儿取。+ *+ * 值不回显。服务端只报存在性,保存成功之后这一栏清空,看得到的只有字段名——凭据回到+ * 浏览器里就等于又多一处会被翻出来的副本。 */+import { useState } from 'react';+import { useMutation } from '@tanstack/react-query';+import { confirmModal } from '@peach/legacy/ui';++import { Button } from '@/components/base/buttons/button';+import { Chip } from '@/components/base/badges/chip';+import { Input } from '@/components/base/input/input';++import { errorMessage } from '../../api';+import { EmptyState } from '../components/empty-state';+import { Note } from '../components/note';+import { queryClient } from '../query';+import { busyProps } from '../settings/use-action';+import { Disclosure, ErrorText, ExternalLink, Help } from '../settings/section';+import {+ CREDENTIAL_STATE, credentialDone, FOLLOW_CREDENTIALS_KEY, saveCredential,+ type CredentialData, type CredentialRow,+} from './follow-manage';+import { SourceIcon } from './source-view';+import { RiKey2Line } from '@remixicon/react';++const STORAGE_TITLE = '这些账号信息存在哪里';+const STORAGE_BODY = '存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。';+const CLEAR_BODY = '将清除这个来源在本机和共享副本中的登录凭据。';+const WORLD_READABLE = '文件权限过宽,请在运行 Peach 的 POSIX 主机上收紧为 0600。';++/** 一个字段此刻的样子:共享回填的、本机存过的,还是从来没填过。 */+function fieldHint(row: CredentialRow, name: string): string {+ if ((row.shared_fields || []).includes(name)) return '来自共享,留空表示不改';+ return row.fields.includes(name) ? '已保存,留空表示不改' : '未填写';+}++function StateChip({ row }: { row: CredentialRow }) {+ const done = credentialDone(row);+ if (done) return <Chip variant="caption" color="lime">已配置</Chip>;+ const color = row.requirement === 'required' ? 'yellow'+ : row.requirement === 'blocked' ? 'rose' : 'neutral';+ return <Chip variant="caption" color={color}>{CREDENTIAL_STATE[row.requirement] || ''}</Chip>;+}++function CredentialForm({ row, readOnly, toast }:+{ row: CredentialRow; readOnly: boolean; toast(message: string): void }) {+ const [values, setValues] = useState<Record<string, string>>({});+ const [problem, setProblem] = useState('');+ const done = credentialDone(row);++ const write = useMutation({+ mutationFn: (next: Record<string, string>) => saveCredential(row.provider, next),+ onSuccess: (result, next) => {+ /* 共享盘不在时后端只撤掉了本机那一份,必须让用户看见:他以为撤干净了,等盘回来+ key 又被同步回来。 */+ if (result.note) { setProblem(result.note); return }+ setProblem('');+ setValues({});+ void queryClient.invalidateQueries({ queryKey: FOLLOW_CREDENTIALS_KEY, exact: true });+ toast(Object.keys(next).length ? '已保存来源凭据' : '已清除来源凭据');+ },+ onError: (cause) => setProblem(errorMessage(cause)),+ });++ const save = () => {+ const filled = Object.fromEntries(+ Object.entries(values).map(([name, value]) => [name, value.trim()]).filter(([, value]) => value));+ if (!Object.keys(filled).length) { setProblem('没有填写内容'); return }+ write.mutate(filled);+ };++ return (+ <div className="flex flex-col gap-3">+ <Help>+ {row.why}+ {/* 「去取」跳到那个站自己的页面,会离开 Peach,所以带外链标。 */}+ {row.where ? <> <ExternalLink href={row.where}>去取</ExternalLink></> : null}+ </Help>+ {row.howto ? <Help>{row.howto}</Help> : null}+ <div className="flex flex-wrap items-end gap-3">+ {(row.needs || []).map((name) => (+ <Input key={name} type="password" label={name} placeholder={fieldHint(row, name)}+ autoComplete="off" spellCheck="false" isDisabled={readOnly}+ value={values[name] || ''} onChange={(value) => setValues({ ...values, [name]: value })}+ className="w-48" />+ ))}+ </div>+ <div className="flex flex-wrap items-center gap-2">+ <Button variant="primary" size="small" disabled={readOnly} {...busyProps(write.isPending)}+ onClick={save}>保存配置</Button>+ {done ? (+ <Button variant="danger" size="small" disabled={readOnly} {...busyProps(write.isPending)}+ onClick={() => void confirmModal({+ title: '清除来源凭据', body: CLEAR_BODY, confirmLabel: '清除来源凭据', danger: true,+ onConfirm: () => write.mutateAsync({}),+ })}>清除</Button>+ ) : null}+ </div>+ {problem ? <ErrorText>{problem}</ErrorText> : null}+ {(row.shared_fields || []).length+ ? <Help>{`${row.shared_fields!.join('、')} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。`}</Help>+ : null}+ <p className="font-mono text-caption-1-regular break-all text-text-tertiary">{row.path}</p>+ {row.world_readable ? <Note tone="error" title="凭据文件权限过宽">{WORLD_READABLE}</Note> : null}+ </div>+ );+}++function CredentialSection({ row, readOnly, toast }:+{ row: CredentialRow; readOnly: boolean; toast(message: string): void }) {+ const head = (+ <span className="flex min-w-0 items-center gap-2">+ <span className="inline-flex size-3.5 shrink-0 items-center justify-center">+ <SourceIcon provider={row.provider} />+ </span>+ <b className="text-body-medium text-text-primary">{row.provider_label}</b>+ <StateChip row={row} />+ {row.missing.length+ ? <Chip variant="caption" color="rose">{`缺 ${row.missing.join('、')}`}</Chip>+ : null}+ </span>+ );+ if (row.requirement === 'none' || row.requirement === 'blocked') {+ return (+ <div className="flex flex-wrap items-center gap-3 border-b border-separator-border py-2.5 pr-3 last:border-b-0">+ {head}+ {row.requirement === 'blocked' ? <Help>{row.why}</Help> : null}+ </div>+ );+ }+ return (+ <div className="flex flex-col gap-2 border-b border-separator-border py-2.5 pr-3 last:border-b-0">+ {head}+ <Disclosure summary={credentialDone(row) ? '修改凭据' : '填写凭据'}+ defaultOpen={row.requirement === 'required' && !credentialDone(row)}>+ <CredentialForm row={row} readOnly={readOnly} toast={toast} />+ </Disclosure>+ </div>+ );+}++export function Credentials(+ { data, readOnly, toast }:+ { data: CredentialData; readOnly: boolean; toast(message: string): void },+) {+ const rows = data.providers || [];+ const pending = rows.filter((row) => row.requirement === 'required' && !credentialDone(row));+ if (!rows.length) {+ return <EmptyState icon={RiKey2Line} title="没有可配置的来源">已接入的站点及其凭据状态会显示在这里。</EmptyState>;+ }+ return (+ <div className="flex flex-col gap-4">+ <div className="flex flex-wrap items-center gap-2">+ <h3 className="mr-auto text-headline-medium text-text-primary">来源和凭证</h3>+ {pending.length+ ? <span className="text-body-2-regular text-text-error-primary">{`${pending.length} 个待配置`}</span>+ : null}+ </div>+ <div className="flex flex-col">+ {rows.map((row) => (+ <CredentialSection key={row.provider} row={row} readOnly={readOnly} toast={toast} />+ ))}+ </div>+ <div className="flex flex-col gap-1 rounded-2lg bg-background-secondary-default px-3 py-2">+ <b className="text-body-medium text-text-primary">{STORAGE_TITLE}</b>+ <span className="text-body-2-regular text-text-secondary">{STORAGE_BODY}</span>+ <span className="text-body-2-regular text-text-secondary">{`凭据文件在 ${data.root}`}</span>+ </div>+ </div>+ );+}diff --git a/frontend/src/react/follow-manage/follow-manage-page.tsx b/frontend/src/react/follow-manage/follow-manage-page.tsxnew file mode 100644index 000000000..e9d37befc--- /dev/null+++ b/frontend/src/react/follow-manage/follow-manage-page.tsx@@ -0,0 +1,181 @@+/* 关注管理页:加来源、检查更新、移除来源、看凭据状态。+ *+ * 三栏是三件事,所以整块切换而不是一屏铺开:看的那一页(`/follow`)不联网,联网只发生+ * 在这里点「检查更新」的那一刻。+ *+ * 地址栏与个人偏好各管各的(ADR-0031「迁移桥接」):+ * - `tab`、`page`、`sort`、`dir` 在地址栏上。判据是「外面链接得过来吗」——把一条关注列表+ * 的地址发给自己在另一台机器上打开,看到的要是同一批、同一顺序的那一页;排序决定了+ * 哪些来源落在第二页,所以它和页码是同一件事的两半,不能一个在地址栏一个不在。+ * - `pageSize`、`layout` 是这台浏览器的个人偏好,跟着 `appSettings` 走,由壳读写;它们+ * 换一个值不会改变「这一页是哪一批」的含义,挂到地址栏上只会让分享出去的链接把自己的+ * 习惯也一并带给对方。+ * 两边都只有一份真相:React 拿着实时状态,写回哪儿由 props 上的那两个回调说了算。+ *+ * 版式判据来自 docs/reference-sources.json 的 vercel-report-design:要避开卡片套卡片、用+ * 边框补救层级、成排通栏空条、细小灰字加随意字号。所以分组靠标题和一条发丝分隔线,行与+ * 行之间也只用分隔线,不各自套框;字号只取 BoardUI 排好的那几档 token。 */+import { useEffect, useState } from 'react';+import { useQuery } from '@tanstack/react-query';+import { Tab, TabList, TabPanel, Tabs } from 'react-aria-components';++import type { FollowManageProps } from '../bundle';+import { Note } from '../components/note';+import { Page } from '../components/page';+import { AddSource } from './add-source';+import { AliasManager } from './alias-manager';+import { Credentials } from './credentials';+import {+ credentialDone, DEFAULT_SORT, fetchCredentials, fetchFollow, FOLLOW_CREDENTIALS_KEY,+ FOLLOW_MANAGE_KEY, groupByAuthor, isBroken, isLayout, isSortKey, keepSelected, pageSizeOf,+ SORT_DEFAULT_DIR, type CredentialData, type FollowData, type Layout, type SortDir, type SortKey,+} from './follow-manage';+import { SourceList } from './source-list';++const TAB_CLASS = 'flex cursor-pointer items-center rounded-lg px-3 py-1.5 text-body-2-medium text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary';++const TABS = [['list', '关注列表'], ['add', '添加关注'], ['source', '来源和凭证']] as const;+type TabKey = (typeof TABS)[number][0];++const isTab = (value: unknown): value is TabKey => TABS.some(([key]) => key === value);++/** 一格读数:一个名字、一个大数、一句它的量词。 */+function Reading({ term, figure, unit }: { term: string; figure: number; unit: string }) {+ return (+ <div className="flex min-w-0 flex-col gap-1 rounded-2xl border border-separator-border p-4">+ <span className="text-body-2-regular text-text-secondary">{term}</span>+ <b className="text-title-1-medium tabular-nums text-text-primary">+ {figure}<small className="text-body-2-regular text-text-secondary">{` ${unit}`}</small>+ </b>+ </div>+ );+}++export function FollowManagePage(props: FollowManageProps) {+ const {+ route, savePreference, toast, openFollow, readOnly, readOnlyMessage, writerUrl,+ } = props;+ const [tab, setTab] = useState<TabKey>(isTab(props.tab) ? props.tab : 'list');+ const [page, setPage] = useState(Math.max(1, Math.floor(props.page) || 1));+ const [sort, setSort] = useState<SortKey>(isSortKey(props.sort) ? props.sort : DEFAULT_SORT);+ const [dir, setDir] = useState<SortDir>(+ props.dir === 'asc' || props.dir === 'desc'+ ? props.dir+ : SORT_DEFAULT_DIR[isSortKey(props.sort) ? props.sort : DEFAULT_SORT]);+ const [layout, setLayout] = useState<Layout>(isLayout(props.layout) ? props.layout : 'default');+ const [pageSize, setPageSize] = useState(pageSizeOf(props.pageSize));+ /* 勾选跨页也跨视图,身份是来源 ID:换页、换排序、从卡片切到表格,选中的仍是同一批。+ 它不进地址栏——那是这一刻手里的一批东西,不是这一页的身份。 */+ const [selected, setSelected] = useState<ReadonlySet<number>>(new Set<number>());++ const follow = useQuery({ queryKey: FOLLOW_MANAGE_KEY, queryFn: ({ signal }) => fetchFollow(signal) });+ const credentials = useQuery({+ queryKey: FOLLOW_CREDENTIALS_KEY, queryFn: ({ signal }) => fetchCredentials(signal),+ });+ const data: FollowData = follow.data || { sources: [] };+ const creds: CredentialData = credentials.data || { root: '', providers: [] };+ const sources = data.sources;++ /* 删掉的来源不该还占着计数:清单换一份就把已经不在里面的 ID 丢掉。 */+ useEffect(() => {+ setSelected((now) => {+ const next = keepSelected(now, sources);+ return next.size === now.size ? now : next;+ });+ }, [sources]);++ /* 默认值传空串:哪一项算默认只有这一边知道(`DEFAULT_SORT` 与每一档的默认方向都在+ 数据层),壳照这个判据决定写不写进地址栏,不必在它那边再抄一份默认表。 */+ const go = (next: Partial<{ tab: TabKey; page: number; sort: SortKey; dir: SortDir }>) => {+ const nextSort = next.sort ?? sort;+ const nextDir = next.dir ?? dir;+ route({+ tab: next.tab ?? tab,+ page: next.page ?? page,+ sort: nextSort === DEFAULT_SORT ? '' : nextSort,+ dir: nextDir === SORT_DEFAULT_DIR[nextSort] ? '' : nextDir,+ });+ };++ const groups = groupByAuthor(sources);+ const broken = sources.filter(isBroken).length;+ const enabled = sources.filter((source) => source.enabled).length;+ const pending = (creds.providers || []).filter(+ (row) => row.requirement === 'required' && !credentialDone(row)).length;++ return (+ <Page>+ {readOnly ? (+ <Note tone="warning" title="本机只能浏览"+ extra={writerUrl+ ? <p className="text-body-2-regular">+ <a href={writerUrl} className="text-text-primary underline underline-offset-2">+ 前往写入端管理关注+ </a>+ </p>+ : undefined}>+ {readOnlyMessage}+ </Note>+ ) : null}++ <div className="card-grid gap-3" aria-label="关注概览">+ <Reading term="关注创作者" figure={groups.length} unit="位" />+ <Reading term="启用来源" figure={enabled} unit={`/ ${sources.length}`} />+ <Reading term="检查失败" figure={broken} unit="个来源" />+ <Reading term="未看更新" figure={data.counts?.new || 0} unit="条" />+ </div>++ <Tabs selectedKey={tab} onSelectionChange={(key) => {+ const next = String(key);+ if (!isTab(next)) return;+ setTab(next);+ go({ tab: next });+ }} className="flex flex-col gap-6">+ <TabList aria-label="关注管理区域" className="flex flex-wrap gap-1">+ {TABS.map(([key, name]) => (+ <Tab key={key} id={key} className={TAB_CLASS}>+ {key === 'source' && pending ? `${name}(${pending})` : name}+ </Tab>+ ))}+ </TabList>++ <TabPanel id="list" className="flex flex-col gap-4">+ <SourceList data={data} sort={sort} dir={dir} page={page} layout={layout}+ pageSize={pageSize} selected={selected} readOnly={readOnly} toast={toast}+ openFollow={openFollow}+ onSort={(nextSort, nextDir) => {+ setSort(nextSort);+ setDir(nextDir);+ setPage(1);+ go({ sort: nextSort, dir: nextDir, page: 1 });+ }}+ onPage={(next) => { setPage(next); go({ page: next }) }}+ onSelected={setSelected}+ onLayout={(next) => {+ setLayout(next);+ setPage(1);+ savePreference({ layout: next });+ go({ page: 1 });+ }}+ onPageSize={(next) => {+ setPageSize(next);+ setPage(1);+ savePreference({ pageSize: next });+ go({ page: 1 });+ }} />+ </TabPanel>++ <TabPanel id="add" className="flex flex-col gap-8">+ <AddSource data={data} credentials={creds} readOnly={readOnly} toast={toast}+ openCredentials={() => { setTab('source'); go({ tab: 'source' }) }} />+ <AliasManager groups={data.author_aliases || []} readOnly={readOnly} toast={toast}+ suggestions={data.alias_suggestions || []} />+ </TabPanel>++ <TabPanel id="source" className="flex flex-col gap-4">+ <Credentials data={creds} readOnly={readOnly} toast={toast} />+ </TabPanel>+ </Tabs>+ </Page>+ );+}diff --git a/frontend/src/react/follow-manage/follow-manage.ts b/frontend/src/react/follow-manage/follow-manage.tsnew file mode 100644index 000000000..c3735ca61--- /dev/null+++ b/frontend/src/react/follow-manage/follow-manage.ts@@ -0,0 +1,570 @@+/* 关注管理页的数据契约、轮询节律与纯折算。九条端点在 `frontend/src` 里都只在这里声明+ * 一次(`tests/test_frontend_build.py` 盯着)。+ *+ * 这一页有三份各自节律的真相,所以有三个键:+ * - `['follow-manage']` 是来源清单、创作者别名与「猜你喜欢」,由用户的写操作推进。写完+ * 只把改动的那一条换进缓存(`setQueryData`),不为一次开关把整页重取一遍。+ * - `['follow-manage','credentials']` 是凭据状态。它按站点报「填没填」,和来源清单的改动+ * 互不影响,合成一个键就会让每次开关来源都顺带重问一遍每个站的凭据文件。+ * - `['follow-manage','check']` 与 `['follow-manage','resolve']` 是两趟后台任务的快照,+ * 节律由后台推进:跑起来两秒一次,停了就不问。+ *+ * 分组、排序、分页都是纯函数:两种视图(创作者卡片与表格)必须给出同一套顺序,比较器+ * 写在两处的话,同一份数据在两种视图里的先后就会不一样。 */+import { apiGet, apiSend } from '../../api';+import { clampPage, pageCount } from '../../pagination';+import { queryClient } from '../query';++export const FOLLOW_URL = '/api/follow';+export const FOLLOW_CREDENTIALS_URL = '/api/follow/credentials';+export const FOLLOW_CHECK_URL = '/api/follow/check';+export const FOLLOW_SOURCE_URL = '/api/follow/source';+export const FOLLOW_RESOLVE_URL = '/api/follow/resolve';+export const FOLLOW_SUGGEST_URL = '/api/follow/suggest';+export const FOLLOW_ALIAS_URL = '/api/follow/author-alias';+export const FOLLOW_CREDENTIAL_URL = '/api/follow/credential';+export const FOLLOW_STATUS_URL = '/api/follow/status';++/** 来源清单、创作者别名与推荐共用这一个键。 */+export const FOLLOW_MANAGE_KEY = ['follow-manage'] as const;+/** 各站凭据的状态。 */+export const FOLLOW_CREDENTIALS_KEY = ['follow-manage', 'credentials'] as const;+/** 检查更新那一趟后台任务。 */+export const FOLLOW_CHECK_KEY = ['follow-manage', 'check'] as const;+/** 查找关注来源那一趟后台任务。 */+export const FOLLOW_RESOLVE_KEY = ['follow-manage', 'resolve'] as const;+/** 敲字建议按词各存一份:同一个词回头再敲不必再打一趟站点的公开补全。 */+export const followSuggestKey = (term: string) => ['follow-manage', 'suggest', term] as const;++/** 一条关注来源。字段以 `_source_payload`(`src/peach/web_follow.py`)为准。 */+export interface FollowSource {+ id: number;+ provider: string;+ provider_label: string;+ ref: string;+ label: string;+ url: string;+ enabled: boolean;+ author_name?: string;+ author_key?: string;+ official_avatar_url?: string;+ avatar_url?: string;+ entity_id?: number | null;+ entity_name?: string;+ created_at?: string;+ last_checked_at?: string | null;+ last_status?: string;+ last_error?: string;+ history_exhausted?: boolean;+}++/** 一组已保存的创作者别名。 */+export interface AliasGroup {+ canonical_key: string;+ canonical_name: string;+ aliases: { key: string; name: string; source?: string }[];+}++/** 一条待合并的别名,带判定依据。合并永远由人点,服务端不自动升级。 */+export interface AliasSuggestion { canonical: string; alias: string; evidence: string }++/** 「猜你喜欢」的一位创作者,来自用户自己浏览过的在线记录。 */+export interface FollowGuess { name: string; visits: number; origin?: string }++export interface FollowCounts { new?: number; seen?: number; saved?: number; ignored?: number }++/** `/api/follow` 的响应里这一页要的那几项。 */+export interface FollowData {+ sources: FollowSource[];+ author_aliases?: AliasGroup[];+ alias_suggestions?: AliasSuggestion[];+ suggestions?: FollowGuess[];+ counts?: FollowCounts;+}++/** 一个站点的凭据状态。只报存在性与去哪儿配,不回凭据值。 */+export interface CredentialRow {+ provider: string;+ provider_label: string;+ followable: boolean;+ requirement: 'required' | 'optional' | 'none' | 'blocked';+ needs: string[];+ fields: string[];+ missing: string[];+ shared_fields?: string[];+ present?: boolean;+ world_readable?: boolean | null;+ why?: string;+ where?: string;+ howto?: string;+ path?: string;+}++export interface CredentialData { root: string; providers: CredentialRow[] }++/** 检查更新那一趟的一条结果。全部成功时页内不留持久行,摘要走 Toast。 */+export interface CheckResult {+ ok?: boolean;+ provider?: string;+ provider_label?: string;+ author?: string;+ label?: string;+ ref?: string;+ error?: string;+ evidence_error?: string;+ added?: number;+ updated?: number;+ skipped?: number;+ skipped_compilations?: number;+ history_skipped?: number;+ probed?: number;+ exhausted?: boolean;+}++/** 检查更新的任务快照。一次都没跑过是 `idle`。 */+export interface CheckJob {+ status: string;+ job_id?: string;+ checked?: number;+ total?: number;+ older?: boolean;+ message?: string;+ error?: string;+ results?: CheckResult[];+ current?: { label?: string; provider?: string; attempt?: number; max_attempts?: number; retry_in?: number };+}++/** 一条查找结果里的一个候选。`known` 是已经关注过的,列出来但不许再勾。 */+export interface ResolveCandidate {+ provider: string;+ provider_label: string;+ url: string;+ label: string;+ author?: string;+ aliases?: string[];+ evidence?: string;+ known?: boolean;+}++export interface ResolveRow {+ kind?: string;+ line: string;+ error?: string;+ candidates?: ResolveCandidate[];+ external_searches?: { label: string; query: string; url: string; evidence: string }[];+ failures?: Record<string, string>;+}++export interface ResolveJob {+ status: string;+ job_id?: string;+ checked?: number;+ total?: number;+ message?: string;+ error?: string;+ results?: ResolveRow[];+}++/** 添加框的建议。分组、顺序与组名都由服务端给,页面照抄。 */+export interface SuggestGroup {+ kind: string;+ label: string;+ items: { value: string; matched?: string; n?: number }[];+}+export interface SuggestData { q: string; groups: SuggestGroup[] }++/* ── 视图与排序的取值 ── */++/** 两种视图共用同一份来源集合、创作者顺序与勾选;表格视图一行一条来源。 */+export const LAYOUTS = [['default', '默认视图'], ['table', '表格视图']] as const;+export type Layout = (typeof LAYOUTS)[number][0];++export const PAGE_SIZES = [10, 20, 50, 100] as const;+export const DEFAULT_PAGE_SIZE = 20;++/** 工具栏那个下拉里的排序维度。前四个按创作者比,后三个按单条来源比。 */+export const SORT_OPTIONS = [+ ['checked', '检查时间'], ['added', '添加时间'], ['name', '创作者名称'], ['sources', '来源数量'],+ ['source', '来源名称'], ['provider', '站点'], ['status', '状态'],+] as const;+export type SortKey = (typeof SORT_OPTIONS)[number][0];+export const DEFAULT_SORT: SortKey = 'checked';++export type SortDir = 'asc' | 'desc';++/** 每一列问的那句话的常态:时间问「最近的先看」,名字问「从头排」。 */+export const SORT_DEFAULT_DIR: Record<SortKey, SortDir> = {+ checked: 'desc', added: 'desc', name: 'asc', sources: 'desc',+ source: 'asc', provider: 'asc', status: 'asc',+};++const SORT_LABELS: Record<SortKey, string> = Object.fromEntries(SORT_OPTIONS) as Record<SortKey, string>;++/** 表格五列各自对应工具栏里的哪一档排序。列头点的就是同一个状态。 */+export const COLUMN_SORT = {+ author: 'name', source: 'source', provider: 'provider', status: 'status', checked: 'checked',+} as const satisfies Record<string, SortKey>;++export const isSortKey = (value: unknown): value is SortKey =>+ SORT_OPTIONS.some(([key]) => key === value);++export const isLayout = (value: unknown): value is Layout =>+ LAYOUTS.some(([key]) => key === value);++export const pageSizeOf = (value: unknown): number =>+ (PAGE_SIZES as readonly number[]).includes(Number(value)) ? Number(value) : DEFAULT_PAGE_SIZE;++/** 方向词按维度各说各的:时间说远近、数量说多少,「正序」对一个时间戳不成立。+ * 第一项是从升序点下去会得到的那一头,第二项是它的反面。 */+const SORT_DIR_WORDS: Record<SortKey, readonly [string, string]> = {+ checked: ['从近到远', '从远到近'], added: ['从近到远', '从远到近'],+ name: ['倒序', '正序'], sources: ['从多到少', '从少到多'],+ source: ['倒序', '正序'], provider: ['倒序', '正序'], status: ['倒序', '正序'],+};++/** 方向按钮的无障碍名称:说的是点下去会得到什么,所以取反方向的词。照抄当前方向,+ * 读屏那边会以为点下去还是这个顺序。 */+export const sortLabel = (sort: SortKey, dir: SortDir): string =>+ `按${SORT_LABELS[sort]}${SORT_DIR_WORDS[sort][dir === 'asc' ? 0 : 1]}排序`;++/* ── 分组、排序、分页 ── */++/** 状态的排序位:失败最前,其次暂停、未检查,正常最后——正序就是「先看要处理的」。 */+export function statusRank(source: FollowSource): number {+ const state = source.last_status;+ if (state === 'error' || state === 'unauthorized') return 0;+ if (!source.enabled) return 1;+ return state === 'ok' ? 3 : 2;+}++/** 这一条此刻是什么状态。四种写法对应四种徽章。 */+export function statusText(source: FollowSource): string {+ if (source.history_exhausted) return '没有更多';+ if (!source.enabled) return '已暂停';+ if (source.last_status === 'ok') return '正常';+ return source.last_status === 'error' || source.last_status === 'unauthorized' ? '检查失败' : '未检查';+}++export const isBroken = (source: FollowSource): boolean =>+ source.last_status === 'error' || source.last_status === 'unauthorized';++const byLabel = (a: FollowSource, b: FollowSource) =>+ String(a.label || '').localeCompare(String(b.label || ''), 'zh-CN', { numeric: true });++/** 按单条来源比的三个维度。 */+const SOURCE_SORTS: Partial<Record<SortKey, (a: FollowSource, b: FollowSource) => number>> = {+ source: byLabel,+ provider: (a, b) => String(a.provider_label || '').localeCompare(+ String(b.provider_label || ''), 'zh-CN') || byLabel(a, b),+ status: (a, b) => statusRank(a) - statusRank(b) || byLabel(a, b),+};++const timeOf = (value: string | null | undefined): number => Date.parse(value || '') || 0;++/** 同名的几种写法里取大写最多的那个:`LazyProcrastinator` 比 `lazyprocrastinator`+ * 更像创作者自己写的名字。 */+const clean = (value: string | undefined): string => String(value || '')+ .replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, '')+ .replace(/\s+collections?\s*$/i, '').trim();++/** 分组标题用创作者本人的名字,不是某一条来源的标签。哪一段是人名由服务端一处判定+ * (`author_name`),这里只在同一个人的几种写法之间挑一个。 */+export function authorName(group: FollowSource[], aliases: AliasGroup[] = []): string {+ if (!group.length) return '';+ const authored = (source: FollowSource) => String(source.author_name || '').trim() || clean(source.label);+ const entity = group.find((source) => source.entity_name);+ if (entity) return entity.entity_name!;+ const aliasGroup = aliases.find((item) => `name:${item.canonical_key}` === group[0]?.author_key);+ if (aliasGroup) return clean(aliasGroup.canonical_name);+ /* 官方主页来源不只优先提供头像,也优先提供创作者写法;否则 F95 的线程标题+ `Lazy Procrastinator Collection` 会因为大写字母更多而抢成分组标题。 */+ const official = group.find((source) => source.official_avatar_url);+ if (official && authored(official)) return authored(official);+ const names = group.map(authored).filter(Boolean);+ if (!names.length) return group[0]!.label || group[0]!.ref || '';+ const caps = (text: string) => (text.match(/[A-Z]/g) || []).length;+ return names.reduce((best, name) => (caps(name) > caps(best) ? name : best), names[0]!);+}++/** 圆标里的字:先找拉丁字母或数字,没有就取第一个字。 */+export function authorInitial(name: string): string {+ const ascii = name.trim().match(/[A-Za-z0-9]/);+ return (ascii ? ascii[0] : Array.from(name.trim())[0] || '?').toUpperCase();+}++/** 同一位创作者的官方来源优先提供头像,归档来源只回退。都取不到时用首字母。 */+export function authorAvatar(group: FollowSource[]): { src: string; fallback: string } {+ const official = group.find((source) => source.official_avatar_url);+ const mirror = group.find((source) => source.avatar_url);+ const src = official?.official_avatar_url || mirror?.avatar_url || '';+ const fallback = official && mirror && mirror.avatar_url !== src ? mirror.avatar_url || '' : '';+ return { src, fallback };+}++/** 这位创作者的身份。同一个人在不同站点上是多条来源、一个人,归组用后端给的+ * `author_key`——那是实体 id 或归一化后的名字,不在前端二次猜。 */+export const groupKey = (group: FollowSource[]): string =>+ String(group[0]?.author_key || group[0]?.id || '');++/** 按创作者归组,组内顺序是原始顺序。排序另算,归组本身不看排序。 */+export function groupByAuthor(sources: FollowSource[]): FollowSource[][] {+ const order: string[] = [];+ const byKey = new Map<string, FollowSource[]>();+ for (const source of sources) {+ const key = source.author_key || `source:${source.id}`;+ if (!byKey.has(key)) { byKey.set(key, []); order.push(key) }+ byKey.get(key)!.push(source);+ }+ return order.map((key) => byKey.get(key)!);+}++/** 排好序的创作者组。+ *+ * `flip` 只在方向偏离这一列的默认值时取反:写成「asc 就取反」的话,创作者名称默认本来+ * 就是正序,一进页面就被翻成倒序。同值回退始终按名字正序,不跟着翻——否则「来源数量」+ * 里数量相同的那几个人每换一次方向就整段倒序一遍,看着像列表在乱跳。 */+export function authorGroups(+ sources: FollowSource[], sort: SortKey, dir: SortDir, aliases: AliasGroup[] = [],+): FollowSource[][] {+ const groups = groupByAuthor(sources);+ const flip = dir === SORT_DEFAULT_DIR[sort] ? 1 : -1;+ const name = (group: FollowSource[]) => authorName(group, aliases);+ const byName = (a: FollowSource[], b: FollowSource[]) =>+ name(a).localeCompare(name(b), 'zh-CN', { numeric: true });+ const bySource = SOURCE_SORTS[sort];+ if (bySource) {+ // 先排每位创作者名下的来源,创作者之间再按各自排在最前的那条比。+ for (const group of groups) group.sort((a, b) => flip * bySource(a, b));+ return groups.sort((a, b) => flip * bySource(a[0]!, b[0]!) || byName(a, b));+ }+ const checked = (group: FollowSource[]) => Math.max(...group.map((s) => timeOf(s.last_checked_at)));+ const added = (group: FollowSource[]) => Math.max(...group.map((s) => timeOf(s.created_at)));+ return groups.sort((a, b) => {+ if (sort === 'name') return flip * byName(a, b);+ if (sort === 'sources') return flip * (b.length - a.length) || byName(a, b);+ if (sort === 'added') return flip * (added(b) - added(a)) || byName(a, b);+ return flip * (checked(b) - checked(a)) || byName(a, b);+ });+}++/** 表格视图的行:一行一条来源,创作者列每行都写。+ *+ * 行的顺序来自同一组创作者组,按来源比的那三档再把整张表拉平重排——那时表格不再按+ * 创作者聚在一起,而这正是点那三列列头要的效果。排序作用在全部结果上,分页只切最后一步。 */+export interface TableRow { source: FollowSource; group: FollowSource[]; author: string }++export function tableRows(+ groups: FollowSource[][], sort: SortKey, dir: SortDir, aliases: AliasGroup[] = [],+): TableRow[] {+ const rows = groups.flatMap((group) => {+ const author = authorName(group, aliases);+ return group.map((source) => ({ source, group, author }));+ });+ const bySource = SOURCE_SORTS[sort];+ if (bySource) {+ const flip = dir === SORT_DEFAULT_DIR[sort] ? 1 : -1;+ rows.sort((a, b) => flip * bySource(a.source, b.source));+ }+ return rows;+}++/** 一页的边界。总量、页数与当前页都按同一份计算,页脚那句读数和切片不会各说各的。 */+export interface PageWindow { page: number; pages: number; total: number; start: number; end: number }++export function pageWindow(total: number, size: number, page: number): PageWindow {+ const pages = pageCount(total, size);+ const current = clampPage(page, pages);+ const start = (current - 1) * size;+ return { page: current, pages, total, start, end: Math.min(start + size, total) };+}++/* ── 跨页与跨视图的选择 ── */++/** 勾选的身份是来源 ID,不是行号:换页、换视图、换排序之后选中的仍是同一批来源。+ * 已经不在清单里的 ID 顺手丢掉——删掉的来源不该还占着计数。 */+export function keepSelected(selected: ReadonlySet<number>, sources: FollowSource[]): Set<number> {+ const available = new Set(sources.map((source) => source.id));+ return new Set([...selected].filter((id) => available.has(id)));+}++/** 一组来源在当前选择里的样子:全选、半选还是都没选。表头与创作者行的全选键读它。 */+export function selectionState(selected: ReadonlySet<number>, ids: number[]):+{ all: boolean; some: boolean } {+ const count = ids.filter((id) => selected.has(id)).length;+ return { all: ids.length > 0 && count === ids.length, some: count > 0 && count < ids.length };+}++export function toggleGroup(selected: ReadonlySet<number>, ids: number[], on: boolean): Set<number> {+ const next = new Set(selected);+ for (const id of ids) { if (on) next.add(id); else next.delete(id) }+ return next;+}++/* ── 取数与写操作 ── */++/** 管理页只要来源清单与别名,条目本身一条就够:那一页读的是 `/follow`。 */+export const fetchFollow = (signal?: AbortSignal) =>+ apiGet<FollowData>(`${FOLLOW_URL}?limit=1`, signal);++export const fetchCredentials = (signal?: AbortSignal) =>+ apiGet<CredentialData>(FOLLOW_CREDENTIALS_URL, signal);++export const fetchCheckJob = (signal?: AbortSignal) =>+ apiGet<CheckJob>(FOLLOW_CHECK_URL, signal);++export const fetchResolveJob = (signal?: AbortSignal) =>+ apiGet<ResolveJob>(FOLLOW_RESOLVE_URL, signal);++export const fetchSuggestions = (query: string, signal?: AbortSignal) =>+ apiGet<SuggestData>(`${FOLLOW_SUGGEST_URL}?q=${encodeURIComponent(query)}`, signal);++/** 起一趟检查。`sources` 给了就只查这几条,都不给就是全部。 */+export const startCheck = (sources?: number[]) =>+ apiSend<CheckJob>(FOLLOW_CHECK_URL, { ...(sources?.length ? { sources } : {}), background: true });++/** 起一趟查找。结果先摆出来由人勾选,这一步不写任何东西。 */+export const startResolve = (lines: string[]) =>+ apiSend<ResolveJob>(FOLLOW_RESOLVE_URL, { lines, background: true });++export const setSourceEnabled = (id: number, enabled: boolean) =>+ apiSend<{ source: number; enabled: boolean }>(FOLLOW_SOURCE_URL, { action: 'enabled', id, enabled });++export const removeSource = (id: number) =>+ apiSend<{ ok: boolean }>(FOLLOW_SOURCE_URL, { action: 'remove', id });++export const addSource = (candidate: ResolveCandidate) =>+ apiSend<{ source: number }>(FOLLOW_SOURCE_URL, {+ action: 'add', url: candidate.url, label: candidate.label,+ author: candidate.author || '', aliases: candidate.aliases || [], defer_check: true,+ });++export const addAlias = (canonical: string, alias: string) =>+ apiSend<{ ok: boolean }>(FOLLOW_ALIAS_URL, { action: 'add', canonical, alias });++export const removeAlias = (alias: string) =>+ apiSend<{ ok: boolean }>(FOLLOW_ALIAS_URL, { action: 'remove', alias });++/** 保存或清除一个站点的凭据。`values` 为空就是清除。 */+export const saveCredential = (provider: string, values: Record<string, string>) =>+ apiSend<{ note?: string }>(FOLLOW_CREDENTIAL_URL, { provider, values });++export const markItem = (item: number, to: string) =>+ apiSend<{ ok: boolean }>(FOLLOW_STATUS_URL, { item, to });++/** 待处理的未看条目。批量标记要先知道有哪些,取一趟再逐条写。 */+export const fetchPending = () =>+ apiGet<{ groups?: { primary: { id: number; status: string }; variants: { id: number; status: string }[];+ duplicates: { id: number; status: string }[] }[] }>(`${FOLLOW_URL}?status=new&limit=1000`);++/** 首屏:来源清单与凭据状态取回来才画。+ *+ * 两趟后台任务不在首屏里:它们的快照常年躺着上一趟的回执,等它们只会让首屏多等一个+ * 往返,而它们自己的键挂上去就会读。中止时 `fetchQuery` 把 `AbortError` 抛回挂载方。 */+export async function prefetchFollowManage(signal: AbortSignal): Promise<void> {+ await Promise.all([+ queryClient.fetchQuery({ queryKey: FOLLOW_MANAGE_KEY, queryFn: () => fetchFollow(signal) }),+ queryClient.fetchQuery({ queryKey: FOLLOW_CREDENTIALS_KEY, queryFn: () => fetchCredentials(signal) }),+ ]);+}++/** 把改动的那一条换进缓存。整页重取会把用户正在填的表单一起重画,也会让正在读这一屏的+ * 人看见列表整个跳一下;服务端回的就是这一条的新样子,换进去即可。 */+export function patchSource(id: number, patch: Partial<FollowSource>): void {+ queryClient.setQueryData<FollowData>(FOLLOW_MANAGE_KEY, (data) => (data ? {+ ...data,+ sources: data.sources.map((row) => (row.id === id ? { ...row, ...patch } : row)),+ } : data));+}++/** 删掉的那几条直接从缓存里去掉。 */+export function dropSources(ids: number[]): void {+ const gone = new Set(ids);+ queryClient.setQueryData<FollowData>(FOLLOW_MANAGE_KEY, (data) => (data ? {+ ...data, sources: data.sources.filter((row) => !gone.has(row.id)),+ } : data));+}++/** 添加来源、合并别名这类会改变整份清单结构的写操作:换一条进去算不出新的分组与别名,+ * 只能让这一个键重取。+ *+ * `exact` 不能省:另外三个键都以 `follow-manage` 开头,按前缀失效会把凭据和两趟任务的+ * 快照一起推倒重来——正在跑的那一趟会在页面上闪回「没有任务」再跳回进度。 */+export const reloadFollowManage = (): Promise<void> =>+ queryClient.invalidateQueries({ queryKey: FOLLOW_MANAGE_KEY, exact: true });++/** 后台任务在跑的时候两秒一次,和别的后台任务同一个节律;停了就不再问。 */+export const JOB_POLL_MS = 2000;+export const jobPollInterval = (job: { status?: string } | undefined): number | false =>+ (job?.status === 'running' ? JOB_POLL_MS : false);++/** 敲字建议的防抖。这一路要打一次站点的公开补全,250ms 让连着敲的人停手之后才打一枪。 */+export const SUGGEST_DEBOUNCE_MS = 250;++/** 一次检查的结果说成一句话:新增了什么、哪些没有更新、哪些失败了。 */+export function checkSummary(job: CheckJob): string {+ const rows = job.results || [];+ const sum = (pick: (row: CheckResult) => number | undefined) =>+ rows.reduce((total, row) => total + (pick(row) || 0), 0);+ const added = sum((row) => row.added);+ const updated = sum((row) => row.updated);+ const compilations = sum((row) => row.skipped_compilations);+ const skipped = sum((row) => row.skipped) - compilations;+ const history = sum((row) => row.history_skipped);+ const probed = sum((row) => row.probed);+ const quiet = rows.filter((row) => row.ok && !row.added && !row.updated).length;+ const failed = rows.filter((row) => !row.ok).length;+ const bits: string[] = [];+ if (added) bits.push(`新增 ${added} 条`);+ if (updated) bits.push(`更新 ${updated} 条`);+ if (skipped) bits.push(`跳过 ${skipped} 条无资源`);+ if (compilations) bits.push(`排除 ${compilations} 个超大合集`);+ if (history) bits.push(`跳过 ${history} 条超出首次采集范围的历史内容`);+ if (probed) bits.push(`回查 ${probed} 条`);+ if (quiet) bits.push(`${quiet} 个来源没有更新`);+ if (!bits.length) bits.push('没有任何更新');+ /* 「抓到头了」和「这次没有更新」是两件事:前者以后也不会再有,后者下次还得再问一遍。+ 这句只跟着回执走,页内那条持久行只装要处理的东西。 */+ const exhausted = rows.filter((row) => row.exhausted).length;+ if (exhausted) bits.push(`${exhausted} 个没有更多内容`);+ if (failed) bits.push(`${failed} 个失败`);+ return `检查了 ${rows.length} 个来源:${bits.join(' · ')}`;+}++/** 页内持久行只装要处理的东西:失败与取证缺档。全部成功时没有这一行。 */+export const checkFailures = (job: CheckJob | null): CheckResult[] =>+ (job?.results || []).filter((row) => !row.ok);++export const checkEvidenceGap = (job: CheckJob | null): string =>+ (job?.results || []).find((row) => row.evidence_error)?.evidence_error || '';++/** 本机时间。没有时区标记的按 UTC 解释——存进去的时候就是 UTC。 */+export function localTime(iso: string | null | undefined): string {+ if (!iso) return '';+ const text = /[Zz]|[+-]\d\d:?\d\d$/.test(iso) ? iso : `${iso}Z`;+ const when = new Date(text);+ if (Number.isNaN(when.getTime())) return String(iso).replace('T', ' ').slice(0, 16);+ const pad = (value: number) => String(value).padStart(2, '0');+ return `${when.getFullYear()}-${pad(when.getMonth() + 1)}-${pad(when.getDate())} `+ + `${pad(when.getHours())}:${pad(when.getMinutes())}`;+}++export const checkedText = (source: FollowSource): string =>+ (source.last_checked_at ? localTime(source.last_checked_at) : '未检查');++/** 有站点图标的来源。图标由服务端按 `follow_assets.SOURCE_ICON_URLS` 取回并存在本机,+ * 页面只认这份名单:没登记的来源直接不出 `<img>`。 */+export const SOURCE_ICON_PROVIDERS = new Set([+ 'fanbox', 'patreon', 'subscribestar', 'kemono', 'coomer', 'pawchive',+ 'rule34video', 'rule34xxx', 'rule34paheal', 'gofile', 'f95zone', 'simpcity',+]);++export const sourceIconUrl = (provider: string): string =>+ (SOURCE_ICON_PROVIDERS.has(provider) ? `/source-icon?provider=${encodeURIComponent(provider)}` : '');++/** 四种凭据状态四种说法:待办(缺凭据)和完成(已配置)不能同色,那正是要一眼分开的两件事。 */+export const CREDENTIAL_STATE: Record<string, string> = {+ required: '需要', optional: '可选', none: '不需要', blocked: '接不进来',+};++export const credentialDone = (row: CredentialRow): boolean =>+ !!row.present && !row.missing.length;diff --git a/frontend/src/react/follow-manage/source-list.tsx b/frontend/src/react/follow-manage/source-list.tsxnew file mode 100644index 000000000..c7ee34ad9--- /dev/null+++ b/frontend/src/react/follow-manage/source-list.tsx@@ -0,0 +1,682 @@+/* 关注列表:同一份来源集合的两种视图,外加检查更新那一趟后台任务。+ *+ * 两种视图共用一个勾选集合(身份是来源 ID)和一份排序状态。表格视图由+ * `@tanstack/react-table` 驱动:列定义、排序状态、行选择与分页都在它手里,行数据是+ * 已经按共用比较器排好的**全集**——排序作用在全部结果上,分页只切最后一步,所以+ * 「下一页」看到的是真的下一批,而不是本页内部重排。+ *+ * 选择跨页也跨视图:换页、换排序、从卡片切到表格,选中的仍是同一批来源,底部那条批量+ * 操作发出去的也是整个 ID 集合,而不是屏幕上这一页。 */+import { useCallback, useEffect, useMemo, useRef, useState } from 'react';+import {+ RiArrowDownLine, RiArrowDownSLine, RiArrowUpLine, RiArrowUpSLine, RiCheckDoubleLine,+ RiDeleteBinLine, RiLayoutGridLine, RiRefreshLine, RiRssLine, RiTableLine,+} from '@remixicon/react';+import { useMutation, useQuery } from '@tanstack/react-query';+import {+ createColumnHelper, flexRender, getCoreRowModel, getPaginationRowModel, useReactTable,+ type RowSelectionState, type SortingState,+} from '@tanstack/react-table';+import { VisuallyHidden } from 'react-aria-components';+import { mapLimit } from '@peach/legacy/core';+import { confirmModal } from '@peach/legacy/ui';++import { Button } from '@/components/base/buttons/button';+import { Checkbox } from '@/components/base/checkbox/checkbox';+import { Select, SelectItem } from '@/components/base/select/select';+import {+ Table, TableBody, TableCell, TableColumn, TableHeader, TableRow,+} from '@/components/base/table/table';++import { errorMessage } from '../../api';+import { DOTS, paginationRange } from '../../pagination';+import { EmptyState } from '../components/empty-state';+import { LoadingDots } from '../components/loading-dots';+import { Note } from '../components/note';+import { Progress } from '../components/progress';+import { queryClient } from '../query';+import { busyProps } from '../settings/use-action';+import {+ authorGroups, authorName, checkedText, checkEvidenceGap, checkFailures, checkSummary,+ COLUMN_SORT, dropSources, fetchCheckJob, fetchPending, FOLLOW_CHECK_KEY, isBroken,+ jobPollInterval, LAYOUTS, markItem, PAGE_SIZES, pageWindow, patchSource, removeSource,+ reloadFollowManage, selectionState, setSourceEnabled, SORT_DEFAULT_DIR, SORT_OPTIONS,+ sortLabel, startCheck, tableRows, toggleGroup,+ type CheckJob, type FollowData, type FollowSource, type Layout, type SortDir, type SortKey,+ type TableRow as SourceTableRow,+} from './follow-manage';+import { AuthorAvatar, SourceIcon, SourceLink, StatusBadge } from './source-view';++/** 列头点的就是工具栏里的那一档排序,所以两边共用同一张对照表,方向也共用一个值。 */+const SORT_COLUMN = Object.fromEntries(+ Object.entries(COLUMN_SORT).map(([column, sort]) => [sort, column]),+) as Partial<Record<SortKey, string>>;++/** 工具行窄到这个宽度以下,带字的按钮就只留字形。取自旧版实测的那条断点。 */+const TOOLBAR_COMPACT_PX = 740;++/** 这一行自己有多宽。+ *+ * 判据只能是这一行自己的宽度,不是视口的:同一个视口下侧栏收起与展开留给它的宽度差两百+ * 像素,按视口断点会在一边早折、在另一边照样超框。塌下去用的是 `Button` 自己的 `iconOnly`+ * ——外面改它的内外边距会被 `no-restyle` 挡下,那条规则说的就是间距归控件自己。 */+function useCompactToolbar(): [(node: HTMLDivElement | null) => void, boolean] {+ const [compact, setCompact] = useState(false);+ const observer = useRef<ResizeObserver | null>(null);+ const attach = useCallback((node: HTMLDivElement | null) => {+ observer.current?.disconnect();+ if (!node) { observer.current = null; return }+ const watch = new ResizeObserver(() => setCompact(node.clientWidth < TOOLBAR_COMPACT_PX));+ watch.observe(node);+ observer.current = watch;+ setCompact(node.clientWidth < TOOLBAR_COMPACT_PX);+ }, []);+ useEffect(() => () => observer.current?.disconnect(), []);+ return [attach, compact];+}++const COLUMN_LABELS: Record<string, string> = {+ select: '选择', author: '创作者', source: '来源', provider: '站点',+ status: '状态', checked: '上次检查', actions: '操作',+};++/** 行上那两个动作由调用方给,但列定义不该跟着每一次渲染重建;两者之间放一个当前值的盒子。 */+interface RowHandlers {+ check(ids: number[]): void;+ remove(source: FollowSource): void;+ busy: boolean;+ readOnly: boolean;+}++export interface SourceListProps {+ data: FollowData;+ sort: SortKey;+ dir: SortDir;+ page: number;+ layout: Layout;+ pageSize: number;+ selected: ReadonlySet<number>;+ readOnly: boolean;+ onSort(sort: SortKey, dir: SortDir): void;+ onPage(page: number): void;+ onLayout(layout: Layout): void;+ onPageSize(size: number): void;+ onSelected(next: Set<number>): void;+ toast(message: string): void;+ openFollow(): void;+}++/** 页码。上一页/下一页在两端,页码居中,页数多时两侧折成「…」。 */+function Pagination(+ { page, pages, onPage }: { page: number; pages: number; onPage(page: number): void },+) {+ if (pages <= 1) return null;+ return (+ <nav aria-label="关注列表分页" className="flex flex-wrap items-center justify-center gap-2">+ <Button variant="secondary" size="small" disabled={page <= 1}+ onClick={() => onPage(page - 1)}>上一页</Button>+ <ul className="flex flex-wrap items-center gap-1">+ {paginationRange(page, pages).map((item, at) => (+ <li key={item === DOTS ? `dots-${at}` : item}>+ {item === DOTS+ ? <span aria-hidden className="px-1 text-body-2-regular text-text-tertiary">{DOTS}</span>+ : <Button variant={item === page ? 'secondary' : 'ghost'} size="small"+ aria-label={`第 ${item} 页`} aria-current={item === page ? 'page' : undefined}+ onClick={() => onPage(Number(item))}>{item}</Button>}+ </li>+ ))}+ </ul>+ <Button variant="secondary" size="small" disabled={page >= pages}+ onClick={() => onPage(page + 1)}>下一页</Button>+ </nav>+ );+}++/** 一条来源在创作者卡里的那一行:勾选、名字、站点、状态、上次检查、动作。 */+function SourceRow(+ { source, selected, onToggle, handlers }:+ { source: FollowSource; selected: boolean; onToggle(on: boolean): void; handlers: RowHandlers },+) {+ return (+ <div data-selected={selected || undefined}+ className="flex flex-wrap items-center gap-3 border-t border-separator-border py-2.5 pr-3 pl-4 data-selected:bg-background-secondary-default">+ <Checkbox isSelected={selected} onChange={onToggle} aria-label={`选择 ${source.label}`} />+ <span className="flex min-w-0 grow flex-col gap-0.5">+ <SourceLink source={source} />+ {source.last_error+ ? <small className="text-caption-1-regular text-text-error-primary">{source.last_error}</small>+ : null}+ </span>+ {/* 卡片里站名只出一枚图标:这一行紧挨着的就是作者名和状态徽章,站名写出来是同一个词+ 并排两次。名字仍在 DOM 里,读屏和取不到图标时都还读得到;表格那边「站点」是独立+ 一列,列头就叫这个名字,那里才出文字。 */}+ <span className="flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary"+ title={source.provider_label}>+ <SourceIcon provider={source.provider} label={source.provider_label} />+ </span>+ <StatusBadge source={source} />+ <span className="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary">+ {checkedText(source)}+ </span>+ <span className="flex shrink-0 items-center gap-1">+ <Button variant="ghost" size="small" iconOnly leadingIcon={RiRefreshLine}+ aria-label={`检查 ${source.label} 的更新`}+ disabled={!source.enabled || handlers.readOnly} {...busyProps(handlers.busy)}+ onClick={() => handlers.check([source.id])} />+ <Button variant="ghost" size="small" iconOnly leadingIcon={RiDeleteBinLine}+ aria-label={`移除 ${source.label}`} disabled={handlers.readOnly}+ onClick={() => handlers.remove(source)} />+ </span>+ </div>+ );+}++/** 一位创作者一张卡。同一个人在几个站上的来源收在一处,标题行给出这个人的整体状态。 */+function AuthorCard(+ { group, name, open, selected, handlers, onOpen, onToggleGroup, onToggle }:+ {+ group: FollowSource[]; name: string; open: boolean; selected: ReadonlySet<number>;+ handlers: RowHandlers;+ onOpen(open: boolean): void;+ onToggleGroup(on: boolean): void;+ onToggle(id: number, on: boolean): void;+ },+) {+ const ids = group.map((source) => source.id);+ const enabled = group.filter((source) => source.enabled).map((source) => source.id);+ const bad = group.filter(isBroken).length;+ const providers = [...new Set(group.map((source) => source.provider_label || source.provider))].join('、');+ const panel = `follow-author-${group[0]!.id}`;+ const state = selectionState(selected, ids);+ return (+ <section aria-label={`${name} 的关注来源`}+ className="flex flex-col rounded-2xl border border-separator-border">+ <div className="flex flex-wrap items-center gap-3 py-2.5 pr-3 pl-4">+ <AuthorAvatar group={group} name={name} />+ <b className="min-w-0 grow text-body-medium break-words text-text-primary">{name}</b>+ <Button variant="ghost" size="small" iconOnly leadingIcon={RiRefreshLine}+ aria-label={`检查 ${name} 的全部来源`} disabled={!enabled.length || handlers.readOnly}+ {...busyProps(handlers.busy)} onClick={() => handlers.check(enabled)} />+ <span className="flex shrink-0 items-center gap-1" title={providers}>+ {group.map((source) => <SourceIcon key={source.id} provider={source.provider} />)}+ {/* 只读屏用的文字走 `VisuallyHidden`:它把样式写在元素上,不会生成一个和旧+ 样式表同名的工具类(`web/css/01-base.css` 里那条 `.sr-only` 带 !important)。 */}+ <VisuallyHidden>{`来源:${providers}`}</VisuallyHidden>+ </span>+ {bad+ ? <span className="shrink-0 text-body-2-regular text-text-error-primary">{`${bad} 个失败`}</span>+ : null}+ <Button variant="secondary" size="small" leadingIcon={RiCheckDoubleLine}+ aria-pressed={state.all ? 'true' : state.some ? 'mixed' : 'false'}+ aria-label={`${state.all ? '取消全选' : '全选'} ${name} 的来源`}+ onClick={() => onToggleGroup(!state.all)}>{state.all ? '取消全选' : '全选'}</Button>+ <Button variant="ghost" size="small" aria-expanded={open} aria-controls={panel}+ aria-label={`${open ? '收起' : '展开'} ${name} 的来源`}+ onClick={() => onOpen(!open)}>{open ? '收起' : '展开'}</Button>+ </div>+ <div id={panel} hidden={!open}>+ {group.map((source) => (+ <SourceRow key={source.id} source={source} handlers={handlers}+ selected={selected.has(source.id)} onToggle={(on) => onToggle(source.id, on)} />+ ))}+ </div>+ </section>+ );+}++export function SourceList(props: SourceListProps) {+ const {+ data, sort, dir, page, layout, pageSize, selected, readOnly,+ onSort, onPage, onLayout, onPageSize, onSelected, toast, openFollow,+ } = props;+ const sources = data.sources;+ const aliases = useMemo(() => data.author_aliases || [], [data.author_aliases]);+ const counts = data.counts || {};+ const [collapsed, setCollapsed] = useState<ReadonlySet<string>>(new Set<string>());+ const [toolbar, compact] = useCompactToolbar();+ /** 本次是不是在跟一趟检查:点过检查,或者本次见过它在跑。 */+ const [tracking, setTracking] = useState(false);+ /** 本次跟完的那一趟。首屏读到的旧终态不算,它不会走到这里。 */+ const [outcome, setOutcome] = useState<CheckJob | null>(null);+ const [problem, setProblem] = useState('');++ const groups = useMemo(() => authorGroups(sources, sort, dir, aliases), [sources, sort, dir, aliases]);+ const rows = useMemo(() => tableRows(groups, sort, dir, aliases), [groups, sort, dir, aliases]);++ const job = useQuery({+ queryKey: FOLLOW_CHECK_KEY,+ queryFn: ({ signal }) => fetchCheckJob(signal),+ refetchInterval: (query) => jobPollInterval(query.state.data),+ });+ const running = job.data?.status === 'running';++ const check = useMutation({+ mutationFn: (ids: number[]) => startCheck(ids),+ onSuccess: () => {+ setTracking(true);+ setOutcome(null);+ // 起的那一次回的就是任务快照,但节律由这个键说了算:让它立刻重读一次接上。+ void queryClient.invalidateQueries({ queryKey: FOLLOW_CHECK_KEY, exact: true });+ },+ onError: (cause) => setProblem(errorMessage(cause)),+ });++ useEffect(() => {+ const state = job.data;+ if (!state) return;+ if (state.status === 'running') {+ if (!tracking) setTracking(true);+ return;+ }+ if (!tracking) return;+ setTracking(false);+ setOutcome(state);+ void reloadFollowManage();+ toast(state.status === 'failed' ? (state.error || '检查失败') : checkSummary(state));+ }, [job.data, tracking, toast]);++ const startChecking = (ids: number[]) => {+ if (running || check.isPending) return;+ setProblem('');+ check.mutate(ids);+ };++ const toggleOne = (id: number, on: boolean) => onSelected(toggleGroup(selected, [id], on));+ const toggleMany = (ids: number[], on: boolean) => onSelected(toggleGroup(selected, ids, on));++ /* 单条移除只把那一条从缓存里去掉,顺手把它从勾选里也去掉:否则底部那条会一直算着+ 一个已经不存在的来源。 */+ const remove = useMutation({+ mutationFn: (id: number) => removeSource(id),+ onSuccess: (_result, id) => {+ dropSources([id]);+ onSelected(toggleGroup(selected, [id], false));+ toast('已取消关注来源');+ },+ onError: (cause) => setProblem(errorMessage(cause)),+ });++ const removeSourceRow = (source: FollowSource) => void confirmModal({+ title: '取消关注来源', body: '将移除这个来源及已抓取的条目,媒体文件保留。',+ confirmLabel: '取消关注来源', danger: true,+ onConfirm: () => remove.mutateAsync(source.id),+ });++ /** 批量:一次请求一条,有界并发。串行发几百条是实测的卡点,一次全发出去又会自己挤自己。 */+ const bulk = useMutation({+ mutationFn: async (work: { ids: number[]; action: 'enabled' | 'paused' | 'remove' }) => {+ const results = await mapLimit(work.ids, 4, async (id: number) => {+ if (work.action === 'remove') await removeSource(id);+ else await setSourceEnabled(id, work.action === 'enabled');+ });+ return { ...work, done: work.ids.filter((_id, at) => results[at]?.ok), results };+ },+ onSuccess: (result) => {+ if (result.action === 'remove') dropSources(result.done);+ else for (const id of result.done) patchSource(id, { enabled: result.action === 'enabled' });+ onSelected(toggleGroup(selected, result.done, false));+ const failed = result.results.filter((row) => !row.ok);+ if (failed.length) {+ setProblem(`${failed.length}/${result.ids.length} 个来源未更新:${errorMessage(failed[0]?.error)}`);+ return;+ }+ setProblem('');+ const word = result.action === 'remove' ? '删除' : result.action === 'enabled' ? '启用' : '暂停';+ toast(`已${word} ${result.done.length} 个关注来源`);+ },+ onError: (cause) => setProblem(errorMessage(cause)),+ });++ /** 未看条目的批量标记。先取一趟待处理清单,再逐条写。 */+ const markAll = useMutation({+ mutationFn: async (to: string) => {+ const pending = await fetchPending();+ const ids = (pending.groups || [])+ .flatMap((group) => [group.primary, ...group.variants, ...group.duplicates])+ .filter((item) => item.status === 'new').map((item) => item.id);+ const results = await mapLimit(ids, 6, (id: number) => markItem(id, to));+ return { ids, failed: results.filter((row) => !row.ok) };+ },+ onSuccess: (result) => {+ void reloadFollowManage();+ if (result.failed.length) {+ setProblem(`批量更新 ${result.failed.length}/${result.ids.length} 项未完成`);+ return;+ }+ setProblem('');+ toast(`已批量标记 ${result.ids.length} 项`);+ },+ onError: (cause) => setProblem(errorMessage(cause)),+ });++ const handlers = useRef<RowHandlers>({+ check: startChecking, remove: removeSourceRow, busy: false, readOnly,+ });+ handlers.current = {+ check: startChecking,+ remove: removeSourceRow,+ busy: running || check.isPending,+ readOnly,+ };+ const rowHandlers = handlers.current;++ /* ── 表格视图:列定义、排序、行选择与分页都交给 TanStack Table ── */+ const columns = useMemo(() => {+ const column = createColumnHelper<SourceTableRow>();+ const label = (id: string) => () => COLUMN_LABELS[id] || id;+ return [+ column.display({+ id: 'select',+ header: label('select'),+ /* `slot={null}`:表格自带一个叫 selection 的插槽,摆进去的勾不声明归属就会被它+ 拦下报错。这一列的勾归 TanStack Table 那份行选择管,不走 Table 自己的选择。 */+ cell: (context) => (+ <Checkbox slot={null} isSelected={context.row.getIsSelected()}+ onChange={(on) => context.row.toggleSelected(on)}+ aria-label={`选择 ${context.row.original.source.label}`} />+ ),+ }),+ column.accessor((row) => row.author, {+ id: 'author',+ header: label('author'),+ cell: (context) => (+ <span className="flex min-w-0 items-center gap-2">+ <AuthorAvatar group={context.row.original.group} name={context.row.original.author} />+ <span className="min-w-0 break-words">{context.row.original.author}</span>+ </span>+ ),+ }),+ column.accessor((row) => row.source.label, {+ id: 'source',+ header: label('source'),+ cell: (context) => (+ <span className="flex min-w-0 flex-col gap-0.5">+ <SourceLink source={context.row.original.source} />+ {context.row.original.source.last_error+ ? <small className="text-caption-1-regular text-text-error-primary">+ {context.row.original.source.last_error}+ </small>+ : null}+ </span>+ ),+ }),+ column.accessor((row) => row.source.provider_label, {+ id: 'provider',+ header: label('provider'),+ cell: (context) => (+ <span className="flex items-center gap-1.5">+ <SourceIcon provider={context.row.original.source.provider} />+ {context.row.original.source.provider_label}+ </span>+ ),+ }),+ column.display({+ id: 'status',+ header: label('status'),+ cell: (context) => <StatusBadge source={context.row.original.source} />,+ }),+ column.accessor((row) => row.source.last_checked_at || '', {+ id: 'checked',+ header: label('checked'),+ cell: (context) => checkedText(context.row.original.source),+ }),+ column.display({+ id: 'actions',+ header: label('actions'),+ cell: (context) => (+ <span className="flex items-center gap-1">+ <Button variant="ghost" size="small" iconOnly leadingIcon={RiRefreshLine}+ aria-label={`检查 ${context.row.original.source.label} 的更新`}+ disabled={!context.row.original.source.enabled || rowHandlers.readOnly}+ {...busyProps(rowHandlers.busy)}+ onClick={() => handlers.current.check([context.row.original.source.id])} />+ <Button variant="ghost" size="small" iconOnly leadingIcon={RiDeleteBinLine}+ aria-label={`移除 ${context.row.original.source.label}`} disabled={rowHandlers.readOnly}+ onClick={() => handlers.current.remove(context.row.original.source)} />+ </span>+ ),+ }),+ ];+ }, [rowHandlers]);++ const sorting: SortingState = useMemo(() => {+ const id = SORT_COLUMN[sort];+ return id ? [{ id, desc: dir === 'desc' }] : [];+ }, [sort, dir]);+ const rowSelection: RowSelectionState = useMemo(+ () => Object.fromEntries([...selected].map((id) => [String(id), true])), [selected]);++ const asTable = layout === 'table';+ // 越界的页码落到末页:地址栏里挂着的可能是上一次、来源更多时的页码。+ const win = pageWindow(asTable ? rows.length : groups.length, pageSize, page);++ const table = useReactTable({+ data: rows,+ columns,+ /* 行的身份是来源 ID,不是它在这一页里的下标:换页、换排序之后 `rowSelection` 里记着的+ 仍是同一批来源,卡片视图读的也是同一组数。 */+ getRowId: (row) => String(row.source.id),+ state: { sorting, rowSelection, pagination: { pageIndex: win.page - 1, pageSize } },+ /* 排序由共用的比较器算好再交进来:表格自己再排一遍的话,卡片视图与表格视图会各有一套+ 顺序,同一份数据在两个视图里的先后就不一样了。 */+ manualSorting: true,+ enableRowSelection: true,+ onSortingChange: (updater) => {+ const next = typeof updater === 'function' ? updater(sorting) : updater;+ const first = next[0];+ if (!first) return;+ const key = COLUMN_SORT[first.id as keyof typeof COLUMN_SORT];+ if (key) onSort(key, first.desc ? 'desc' : 'asc');+ },+ onRowSelectionChange: (updater) => {+ const next = typeof updater === 'function' ? updater(rowSelection) : updater;+ onSelected(new Set(Object.entries(next).filter(([, on]) => on).map(([id]) => Number(id))));+ },+ onPaginationChange: (updater) => {+ const now = { pageIndex: win.page - 1, pageSize };+ const next = typeof updater === 'function' ? updater(now) : updater;+ if (next.pageSize !== pageSize) onPageSize(next.pageSize);+ else if (next.pageIndex !== now.pageIndex) onPage(next.pageIndex + 1);+ },+ getCoreRowModel: getCoreRowModel(),+ getPaginationRowModel: getPaginationRowModel(),+ });++ const pageRows = table.getRowModel().rows;+ const pageIds = asTable+ ? pageRows.map((row) => row.original.source.id)+ : groups.slice(win.start, win.end).flatMap((group) => group.map((source) => source.id));+ const pageState = selectionState(selected, pageIds);+ const chosen = [...selected];+ const failures = checkFailures(outcome);+ const evidence = checkEvidenceGap(outcome);+ const allCollapsed = groups.length > 0 && collapsed.size >= groups.length;++ if (!sources.length) {+ return (+ <EmptyState icon={RiRssLine} title="还没有关注来源">关注来源及其检查状态会显示在这里。</EmptyState>+ );+ }++ return (+ <div className="flex flex-col gap-4">+ {/* 放不下时带字的按钮先收成图标,再让整行换行。收起后名字由 `aria-label` 接着说。 */}+ <div ref={toolbar} className="flex flex-wrap items-center gap-2">+ <h3 className="mr-auto text-headline-medium text-text-primary">关注列表</h3>+ <span className="text-body-2-regular text-text-secondary">+ {`${sources.length} 个来源${counts.new ? ` · ${counts.new} 条未看` : ''}`}+ </span>+ <Button variant="primary" size="small" leadingIcon={RiRefreshLine} disabled={readOnly}+ aria-label="检查全部" iconOnly={compact}+ {...busyProps(rowHandlers.busy)} onClick={() => startChecking([])}>检查全部</Button>+ <Button variant={asTable ? 'ghost' : 'secondary'} size="small" iconOnly+ leadingIcon={RiLayoutGridLine} aria-label={LAYOUTS[0][1]} aria-pressed={!asTable}+ onClick={() => onLayout('default')} />+ <Button variant={asTable ? 'secondary' : 'ghost'} size="small" iconOnly+ leadingIcon={RiTableLine} aria-label={LAYOUTS[1][1]} aria-pressed={asTable}+ onClick={() => onLayout('table')} />+ <Select aria-label="关注列表排序" size="sm" selectedKey={sort}+ onSelectionChange={(key) => {+ if (key === null) return;+ const next = String(key) as SortKey;+ onSort(next, SORT_DEFAULT_DIR[next]);+ }}>+ {SORT_OPTIONS.map(([key, name]) => <SelectItem key={key} id={key}>{name}</SelectItem>)}+ </Select>+ {/* 箭头是装饰,方向由无障碍名称说,而且说的是点下去会得到的那一头。 */}+ <Button variant="secondary" size="small" iconOnly+ leadingIcon={dir === 'asc' ? RiArrowUpLine : RiArrowDownLine}+ aria-label={sortLabel(sort, dir)}+ onClick={() => onSort(sort, dir === 'asc' ? 'desc' : 'asc')} />+ {asTable ? null : (+ <Button variant="secondary" size="small" iconOnly={compact}+ leadingIcon={allCollapsed ? RiArrowDownSLine : RiArrowUpSLine}+ aria-label={allCollapsed ? '全部展开' : '全部收起'}+ onClick={() => setCollapsed(allCollapsed+ ? new Set<string>()+ : new Set(groups.map((group) => String(group[0]!.author_key || group[0]!.id))))}>+ {allCollapsed ? '全部展开' : '全部收起'}+ </Button>+ )}+ </div>++ {/* 这一趟在后台跑,关掉页面还在继续,所以状态留在页面上而不是只让按钮转一下。 */}+ <div aria-live="polite" className="flex flex-col gap-3 empty:hidden">+ {running ? (job.data?.total+ ? <Progress label={job.data.message+ || `${job.data.older ? '抓取历史' : '检查更新'}:已完成 ${job.data.checked || 0}/${job.data.total} 个来源`}+ value={job.data.checked || 0} max={job.data.total} />+ : <LoadingDots label={job.data?.message || '正在准备检查任务'} />) : null}+ {problem ? <Note tone="error" title="操作未完成">{problem}</Note> : null}+ {failures.length ? (+ <Note tone="error" title={`${failures.length} 个来源检查失败`}+ extra={<ul className="flex flex-col gap-0.5 text-body-2-regular">+ {failures.map((row, at) => (+ <li key={`${row.provider || ''}-${row.ref || at}`}>+ {`${row.provider_label || row.provider || ''} ${row.author || row.label || row.ref || ''}:${row.error || '未说明原因'}`}+ </li>+ ))}+ </ul>}>+ 这些来源这一轮没有取到更新。+ </Note>+ ) : null}+ {evidence ? <Note tone="warning">{`候选已入库,但这一次的原始响应没有留档:${evidence}`}</Note> : null}+ </div>++ {chosen.length ? (+ <div role="group" aria-label="关注来源批量操作"+ className="flex flex-wrap items-center gap-2 rounded-2lg bg-background-secondary-default px-3 py-2">+ <span role="status" className="mr-auto text-body-2-regular text-text-primary">+ {`已选 ${chosen.length} 个来源`}+ </span>+ <Button variant="secondary" size="small" disabled={readOnly}+ {...busyProps(rowHandlers.busy)} onClick={() => startChecking(chosen)}>检查所选</Button>+ <Button variant="secondary" size="small" disabled={readOnly} {...busyProps(bulk.isPending)}+ onClick={() => bulk.mutate({ ids: chosen, action: 'enabled' })}>启用</Button>+ <Button variant="secondary" size="small" disabled={readOnly} {...busyProps(bulk.isPending)}+ onClick={() => bulk.mutate({ ids: chosen, action: 'paused' })}>暂停</Button>+ <Button variant="danger" size="small" disabled={readOnly} {...busyProps(bulk.isPending)}+ onClick={() => void confirmModal({+ title: `删除 ${chosen.length} 个关注来源`,+ body: '将移除所选关注来源及其已抓取条目,媒体文件保留。',+ confirmLabel: '删除所选来源', danger: true,+ onConfirm: () => bulk.mutateAsync({ ids: chosen, action: 'remove' }),+ })}>删除</Button>+ <Button variant="ghost" size="small" onClick={() => onSelected(new Set())}>取消选择</Button>+ </div>+ ) : null}++ {asTable ? (+ <Table aria-label="关注来源"+ sortDescriptor={sorting[0]+ ? { column: sorting[0].id, direction: sorting[0].desc ? 'descending' : 'ascending' }+ : undefined}+ onSortChange={(descriptor) => table.setSorting([+ { id: String(descriptor.column), desc: descriptor.direction === 'descending' },+ ])}>+ <TableHeader>+ {table.getHeaderGroups()[0]!.headers.map((header) => {+ const sortable = header.column.id in COLUMN_SORT;+ const text = flexRender(header.column.columnDef.header, header.getContext());+ return (+ <TableColumn key={header.id} id={header.id} allowsSorting={sortable}+ isRowHeader={header.column.id === 'source'}>+ {sortable ? text : <VisuallyHidden>{text}</VisuallyHidden>}+ </TableColumn>+ );+ })}+ </TableHeader>+ {/* 选中与否由每行第一格那个勾表示:行底色归 Table 自己,另铺一层就是在它的+ hover 与焦点态上面再画一遍。 */}+ <TableBody renderEmptyState={() => '这一页没有来源'}>+ {pageRows.map((row) => (+ <TableRow key={row.id} id={row.id}>+ {row.getVisibleCells().map((cell) => (+ <TableCell key={cell.id}>+ {flexRender(cell.column.columnDef.cell, cell.getContext())}+ </TableCell>+ ))}+ </TableRow>+ ))}+ </TableBody>+ </Table>+ ) : (+ <>+ <Checkbox isSelected={pageState.all} isIndeterminate={pageState.some}+ onChange={(on) => toggleMany(pageIds, on)} aria-label="全选本页来源">全选本页</Checkbox>+ <div className="flex flex-col gap-3">+ {groups.slice(win.start, win.end).map((group) => {+ const key = String(group[0]!.author_key || group[0]!.id);+ return (+ <AuthorCard key={key} group={group} name={authorName(group, aliases)}+ handlers={rowHandlers} selected={selected} open={!collapsed.has(key)}+ onOpen={(open) => {+ const next = new Set(collapsed);+ if (open) next.delete(key); else next.add(key);+ setCollapsed(next);+ }}+ onToggleGroup={(on) => toggleMany(group.map((source) => source.id), on)}+ onToggle={toggleOne} />+ );+ })}+ </div>+ </>+ )}++ <div className="flex flex-wrap items-center justify-between gap-3">+ <span className="text-body-2-regular text-text-secondary">+ {`${win.start + 1}–${win.end} / ${win.total} ${asTable ? '个来源' : '位创作者'}`}+ </span>+ <Select aria-label="每页显示数量" size="sm" selectedKey={String(pageSize)}+ onSelectionChange={(key) => { if (key !== null) table.setPageSize(Number(key)) }}>+ {PAGE_SIZES.map((size) => (+ <SelectItem key={size} id={String(size)}>+ {`每页 ${size} ${asTable ? '条' : '位'}`}+ </SelectItem>+ ))}+ </Select>+ <Pagination page={win.page} pages={win.pages}+ onPage={(next) => table.setPageIndex(next - 1)} />+ </div>++ {counts.new ? (+ <div className="flex flex-wrap items-center gap-2 border-t border-separator-border pt-3">+ <span className="mr-auto text-body-2-regular text-text-secondary">+ {`未看 ${counts.new} · 已看 ${counts.seen || 0} · 已保存 ${counts.saved || 0} · 已忽略 ${counts.ignored || 0}`}+ </span>+ <Button variant="secondary" size="small" onClick={openFollow}>去看更新</Button>+ <Button variant="secondary" size="small" disabled={readOnly} {...busyProps(markAll.isPending)}+ onClick={() => void confirmModal({+ title: '标记已看', body: '将把当前未看作品标记为已看。', confirmLabel: '标记已看',+ onConfirm: () => markAll.mutateAsync('seen'),+ })}>全部标记已看</Button>+ <Button variant="secondary" size="small" disabled={readOnly} {...busyProps(markAll.isPending)}+ onClick={() => void confirmModal({+ title: '标记已忽略', body: '将把当前未看作品标记为已忽略。', confirmLabel: '标记已忽略',+ onConfirm: () => markAll.mutateAsync('ignored'),+ })}>全部忽略</Button>+ </div>+ ) : null}+ </div>+ );+}diff --git a/frontend/src/react/follow-manage/source-view.tsx b/frontend/src/react/follow-manage/source-view.tsxnew file mode 100644index 000000000..1ae79f1fa--- /dev/null+++ b/frontend/src/react/follow-manage/source-view.tsx@@ -0,0 +1,73 @@+/* 一条关注来源在屏幕上的那几格:站标、头像、状态徽章、来源名。+ *+ * 创作者卡片、表格视图和别名清单读的是同一份,所以这几格摆在这里而不是各画一次:+ * 同一条来源在两种视图里的状态写法一旦分开写,就会出现同一行在卡片里说「未检查」、+ * 在表格里说「正常」。 */+import { useState } from 'react';+import { VisuallyHidden } from 'react-aria-components';++import { Chip } from '@/components/base/badges/chip';++import {+ authorAvatar, authorInitial, isBroken, sourceIconUrl, statusText,+ type FollowSource,+} from './follow-manage';++/** 站点圆标。+ *+ * 给了 `label` 就是「画得出图标就只画图标」:图标在时名字交给读屏,没登记图标或者那一枚+ * 取不下来时名字显出来——一个站在屏幕上总要认得出是哪个站,不能两种情况都指望同一枚图。 */+export function SourceIcon({ provider, label }: { provider: string; label?: string }) {+ const src = sourceIconUrl(provider);+ const [broken, setBroken] = useState(false);+ if (!src || broken) return label ? <>{label}</> : null;+ return (+ <>+ <img src={src} alt="" width={14} height={14} loading="lazy"+ onError={() => setBroken(true)}+ className="size-3.5 shrink-0 rounded-sm object-contain" />+ {label ? <VisuallyHidden>{label}</VisuallyHidden> : null}+ </>+ );+}++/** 创作者圆标:官方来源的头像优先,归档来源回退,都取不到就用首字母。+ *+ * 首字母取自创作者名而不是某条来源的标签——那会切出「初」「一」这类和创作者无关的字。 */+export function AuthorAvatar({ group, name }: { group: FollowSource[]; name: string }) {+ const { src, fallback } = authorAvatar(group);+ const [at, setAt] = useState(0);+ const chain = [src, fallback].filter(Boolean);+ const current = chain[at];+ if (!current) {+ return (+ <span title="没有可用头像"+ className="inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary">+ {authorInitial(name)}+ </span>+ );+ }+ return (+ <img src={current} alt="" width={32} height={32} loading="lazy" referrerPolicy="no-referrer"+ onError={() => setAt(at + 1)}+ className="size-8 shrink-0 rounded-full bg-background-tertiary-default object-cover" />+ );+}++/** 状态徽章。三档颜色对应三件事:要处理的、正常的、还没有结论的。 */+export function StatusBadge({ source }: { source: FollowSource }) {+ const color = isBroken(source) ? 'rose'+ : source.enabled && source.last_status === 'ok' ? 'lime'+ : source.enabled ? 'yellow' : 'neutral';+ return <Chip variant="caption" color={color}>{statusText(source)}</Chip>;+}++/** 来源名连到站上的原页面。新标签页不继承这一页的会话,来源地址也不带走 Peach 自己的地址。 */+export function SourceLink({ source }: { source: FollowSource }) {+ return (+ <a href={source.url} target="_blank" rel="noreferrer noopener" title="打开原来源"+ className="min-w-0 text-body-medium break-words text-text-primary underline-offset-2 hover:underline">+ {source.label}+ </a>+ );+}diff --git a/frontend/src/react/styles.css b/frontend/src/react/styles.cssindex 918ceb061..da367a24f 100644--- a/frontend/src/react/styles.css+++ b/frontend/src/react/styles.css@@ -17,10 +17,12 @@@import "./boardui/styles/typography.css";@source "./";-/* 扫描不分代码与注释:这两个词各在注释里出现过一次,生成出来就和旧样式表的 `.ring`、- * `.grid` 同名。React 子树两个类都不用,直接不生成。 */+/* 扫描不分代码与注释:这几个词各在注释里出现过,生成出来就和旧样式表的 `.ring`、`.grid`、+ * `.sr-only` 同名。React 子树三个类都不用——只读屏的文字走 `VisuallyHidden`,它把样式写在+ * 元素上。直接不生成。 */@source not inline("ring");@source not inline("grid");+@source not inline("sr-only");@custom-variant dark (&:where(.dark, .dark *));@@ -117,7 +119,7 @@--color-separator-border: var(--color-neutral-800);}-/* 以下逐字取自上游 globals.css:Checkbox 打勾的描线动画。 */+/* 以下逐字取自上游 globals.css:Checkbox 打勾的描线动画,和 Table 的全部外观。 *//* Checkbox tick: draws the stroke on like it's being ticked by hand.* The path sets pathLength=1 so the dash math is resolution-independent. */@@ -140,3 +142,38 @@stroke-dashoffset: 0;}}++.bui-table {+ @apply w-full border-collapse text-left;+}+/* Header background + border-y live on the cells: with border-collapse the+ * browser doesn't paint backgrounds/borders set on the <thead> row group.+ * Backgrounds/borders are set with explicit CSS (theme vars) rather than+ * @apply, which drops border-width/bg on these row-group cells. */+.bui-table th {+ @apply px-3 py-2.5 text-left align-middle text-body-medium text-text-tertiary whitespace-nowrap outline-none;+ background-color: var(--color-background-secondary-default);+ border-top: 1px solid var(--color-separator-border);+ border-bottom: 1px solid var(--color-separator-border);+ transition: padding 200ms ease, font-size 200ms ease;+}+.bui-table td {+ @apply px-3 py-2.5 align-middle text-body-medium text-text-primary outline-none;+ transition: padding 200ms ease, font-size 200ms ease;+}+/* Separators sit *between* rows only: the trailing row's boundary is drawn by+ * whatever follows the table (the container's bottom edge, or the pagination+ * footer's own border-top), so a filtered-down table never doubles up lines. */+.bui-table tbody tr:not(:last-child) {+ border-bottom: 1px solid var(--color-separator-border);+}+.bui-table tbody tr {+ @apply transition-colors duration-150;+}+.bui-table tbody tr[data-focus-visible] {+ @apply ring-2 ring-inset ring-border-focus-ring;+}+.bui-table.bui-table-sm th,+.bui-table.bui-table-sm td {+ @apply px-2.5 py-1.5 text-body-2-medium;+}diff --git a/frontend/test/follow-alias.test.ts b/frontend/test/follow-alias.test.tsdeleted file mode 100644index 5d9925b6f..000000000--- a/frontend/test/follow-alias.test.ts+++ /dev/null@@ -1,80 +0,0 @@-import { readFileSync } from 'node:fs';-import { resolve } from 'node:path';-import { afterEach, expect, it, vi } from 'vitest';-import { checkboxHtml } from '@peach/legacy/ui';--const source=readFileSync(resolve(process.cwd(),'../web/app.js'),'utf8');-const manager=source.slice(source.indexOf('function followAliasManager('),source.indexOf('const CRED_STATE='));-const handlers=source.slice(source.indexOf(' const saveAuthorAlias='),source.indexOf(" root.querySelectorAll('[data-follow-guess]')"));-const esc=(value:unknown)=>String(value).replaceAll('&','&').replaceAll('<','<').replaceAll('"','"');-function fixture(api:ReturnType<typeof vi.fn>) {- const root=document.createElement('div');document.body.append(root);- const html=new Function('esc','icon','followAliasAvatar','emptyState','checkboxHtml',`${manager};return followAliasManager;`)(esc,()=>'',()=>'',()=>'',checkboxHtml);- root.innerHTML=html([{canonical_name:'作者 A',aliases:[{name:'已存别名'}]}],[- {canonical:'作者 A',alias:'别名 A',evidence:'来源 A'},- {canonical:'作者 B',alias:'别名 B',evidence:'来源 B'},- ]);- const confirmModal=vi.fn(),refresh=vi.fn(),receipt=vi.fn();- new Function('root','api','confirmModal','setActionBusy','openFollowManage','actionReceipt','actionFailure',handlers)(- root,api,confirmModal,(button:HTMLElement,busy=true)=>button.setAttribute('aria-busy',String(busy)),refresh,receipt,vi.fn());- return {root,confirmModal,refresh,receipt};-}-afterEach(()=>document.body.replaceChildren());--it('勾选决定合并范围,表头全选支持取消与半选',async()=>{- const api=vi.fn().mockResolvedValue({ok:true});- const {root,confirmModal}=fixture(api);- const fields=[...root.querySelectorAll<HTMLInputElement>('[data-follow-alias-select]')];- const all=root.querySelector<HTMLInputElement>('[data-follow-alias-select-all]')!;- const merge=root.querySelector<HTMLButtonElement>('[data-follow-alias-selected]')!;- expect(merge.disabled).toBe(true);- fields[0]!.click();- expect(all.indeterminate).toBe(true);- expect(merge.textContent).toBe('合并所选(1)');- all.click();- expect(fields.every(field=>field.checked)).toBe(true);- all.click();- expect(fields.every(field=>!field.checked)).toBe(true);- expect(merge.disabled).toBe(true);- fields[1]!.click();merge.click();- expect(api).not.toHaveBeenCalled();- const confirmation=confirmModal.mock.calls[0]![0];- expect(confirmation.body).toContain('「别名 B」归入「作者 B」');- expect(confirmation.body).not.toContain('别名 A');- await confirmation.onConfirm();- expect(api.mock.calls.map(call=>JSON.parse(call[1].body).alias)).toEqual(['别名 B']);- expect(root.querySelector('[data-follow-alias-add]')?.getAttribute('data-alias')).toBe('别名 A');-});--it('别名表格保留依据、添加和移除,全部合并等待确认',async()=>{- const api=vi.fn().mockResolvedValue({ok:true});- const {root,confirmModal,refresh,receipt}=fixture(api);- expect(root.querySelectorAll('table')).toHaveLength(2);- expect(root.querySelector('[data-follow-alias-remove]')).not.toBeNull();- expect(root.querySelector('#followAliasAdd')).not.toBeNull();- expect(root.querySelector('.faliasheading h4')?.textContent).toBe('手动添加别名');- expect(root.querySelector('summary')?.textContent).toContain('创作者别名');- expect(root.querySelector('#followAliasAdd')!.compareDocumentPosition(root.querySelector('table')!) & Node.DOCUMENT_POSITION_FOLLOWING).toBeTruthy();- root.querySelector<HTMLButtonElement>('[data-follow-alias-all]')!.click();- expect(api).not.toHaveBeenCalled();- expect(confirmModal.mock.calls[0]![0].body).toContain('「别名 A」归入「作者 A」');- await confirmModal.mock.calls[0]![0].onConfirm();- expect(api.mock.calls.map(call=>JSON.parse(call[1].body))).toEqual([- {action:'add',canonical:'作者 A',alias:'别名 A'},- {action:'add',canonical:'作者 B',alias:'别名 B'},- ]);- expect(refresh).toHaveBeenCalledOnce();expect(receipt).toHaveBeenCalledOnce();-});--it('批量合并失败后重试只提交未完成别名',async()=>{- const api=vi.fn().mockResolvedValueOnce({ok:true}).mockRejectedValueOnce(new Error('连接中断')).mockResolvedValue({ok:true});- const {root,confirmModal,refresh}=fixture(api);- root.querySelector<HTMLButtonElement>('[data-follow-alias-all]')!.click();- const confirm=confirmModal.mock.calls[0]![0].onConfirm;- await expect(confirm()).rejects.toThrow('还有 1 组未合并');- expect(refresh).not.toHaveBeenCalled();- expect(root.querySelectorAll('[data-follow-alias-add]')).toHaveLength(1);- await confirm();- expect(api.mock.calls.map(call=>JSON.parse(call[1].body).alias)).toEqual(['别名 A','别名 B','别名 B']);- expect(refresh).toHaveBeenCalledOnce();-});diff --git a/frontend/test/follow-pagination.test.ts b/frontend/test/follow-pagination.test.tsdeleted file mode 100644index 6a3e1eebe..000000000--- a/frontend/test/follow-pagination.test.ts+++ /dev/null@@ -1,59 +0,0 @@-import { readFileSync } from 'node:fs';-import { resolve } from 'node:path';-import { afterEach, expect, it, vi } from 'vitest';-import { pageCount, clampPage, paginationHtml } from '../src/pagination';-import { selectionSummary, syncSelectionToolbar, selectGroup } from '../src/selection';--const source=readFileSync(resolve(process.cwd(),'../web/app.js'),'utf8');-const listing=source.slice(source.indexOf('function followSourceListHtml('),source.indexOf('function refreshFollowSourcePage('));-const sizes=source.match(/const FOLLOW_PAGE_SIZES=\[[^\]]+\];/)![0];-const groups=Array.from({length:25},(_,index)=>[{id:index*3+1},{id:index*3+2},{id:index*3+3}]);-function page(layout:string,current:number,size:number){- const table=vi.fn(()=>'table');- const render=new Function('followListLayout','followPageSize','pageCount','clampPage','followSourceTable','followAuthorBlock','selectFieldHtml','paginationHtml','followManagePage',`${sizes}${listing};return {html:followSourceListHtml(arguments[9]),page:followManagePage};`);- return {table,...render(()=>layout,()=>size,pageCount,clampPage,table,(group:{id:number}[])=>`<article data-id="${group[0]!.id}"></article>`,()=>'',paginationHtml,current,groups)};-}-afterEach(()=>document.body.replaceChildren());--it('默认视图保持创作者组完整,越界页落到末页',()=>{- const result=page('default',9,20),root=document.createElement('div');root.innerHTML=result.html;- expect(result.page).toBe(2);- expect(root.querySelectorAll('article')).toHaveLength(5);- expect(root.querySelector('article')?.dataset.id).toBe('61');- expect(root.textContent).toContain('21–25 / 25 位创作者');-});--it('表格按来源总数分页并传递范围',()=>{- const result=page('table',8,10);- expect(result.page).toBe(8);- expect(result.table).toHaveBeenCalledWith(groups,true,8,10);- expect(result.html).toContain('71–75 / 75 个来源');-});--it('表格先按来源全量排序,再截取页内行',()=>{- const tableSource=source.slice(source.indexOf('function followSourceTable('),source.indexOf('function followAliasManager('));- const render=new Function('FOLLOW_SOURCE_SORTS','followManageSort','followManageDir','FOLLOW_SORT_DEFAULT_DIR','followAuthorName','followSourceCells','followTableHeader','followAuthorAvatar','esc','checkboxHtml',`${tableSource};return followSourceTable;`)(- {source:(a:{id:number},b:{id:number})=>a.id-b.id},'source','asc',{source:'asc'},()=>'',(row:{id:number})=>({className:'fsource',check:'',name:String(row.id),error:'',provider:()=>'',status:'',checked:'',actions:''}),()=>'',()=>'',String,()=>'<input type="checkbox" data-follow-select-all>',- );- const root=document.createElement('div');root.innerHTML=render([[{id:4},{id:1}],[{id:3},{id:2}]],true,2,2);- expect([...root.querySelectorAll('.ftname')].map(cell=>cell.textContent)).toEqual(['3','4']);-});--it('跨页选择用于批量动作,本页全选只作用于当前行,取消选择清空全部',()=>{- const root=document.createElement('div');document.body.append(root);- root.innerHTML='<label data-follow-page-selection><input type="checkbox" data-follow-select-all></label><div class="fsource"><input type="checkbox" data-follow-select="2"></div><div class="followselectiondock"><span data-follow-selected-count></span><button data-follow-selection-action data-follow-check></button><button data-follow-selection-clear></button></div>';- const selection=new Set([1]);- const segment=source.slice(source.indexOf(' const selectable=[...root.querySelectorAll(\'[data-follow-select]\')]'),source.indexOf(' wireScrollers(root);',source.indexOf('function wireFollowManage(')));- new Function('root','followData','followSourceSelection','followRuntime','selectionSummary','syncSelectionToolbar','selectGroup','followListLayout',segment)(root,{sources:[{id:1},{id:2}]},selection,{},selectionSummary,syncSelectionToolbar,selectGroup,()=> 'default');- const all=root.querySelector<HTMLInputElement>('[data-follow-select-all]')!;- const action=root.querySelector<HTMLButtonElement>('[data-follow-check]')!;- expect(all.checked).toBe(false);- expect(action.disabled).toBe(false);- expect(action.dataset.followSources).toBe('1');- all.click();expect([...selection]).toEqual([1,2]);- all.click();expect([...selection]).toEqual([1]);- root.querySelector<HTMLButtonElement>('[data-follow-selection-clear]')!.click();- expect(selection.size).toBe(0);- expect(root.querySelector<HTMLElement>('.followselectiondock')!.hidden).toBe(true);- expect(action.disabled).toBe(true);-});diff --git a/frontend/test/islands.test.ts b/frontend/test/islands.test.tsindex 3bdb271f8..10b08c809 100644--- a/frontend/test/islands.test.ts+++ b/frontend/test/islands.test.ts@@ -40,8 +40,8 @@ async function until(ok: () => boolean, what: string): Promise<void> {describe('island 注册表', () => {it('登记的名字就是遗留路由能挂载的名字', () => {expect(islandNames()).toEqual([- 'avatar-picker', 'library-processing', 'scraping', 'quality-goals', 'configuration', 'activity',- 'stats', 'taste']);+ 'avatar-picker', 'follow-manage', 'library-processing', 'scraping', 'quality-goals',+ 'configuration', 'activity', 'stats', 'taste']);});it('未注册的名字立刻失败,不是静默什么都不画', async () => {diff --git a/frontend/test/react/follow-alias.test.tsx b/frontend/test/react/follow-alias.test.tsxnew file mode 100644index 000000000..d0365c31b--- /dev/null+++ b/frontend/test/react/follow-alias.test.tsx@@ -0,0 +1,138 @@+/* 创作者别名:合并范围由勾选决定,每一次合并都等人点确认,半路断了要说清还剩几组。+ *+ * 合并是「把两个名字认成同一个人」,改的是归组口径,所以这里只测范围与确认,不测排版。 */+import { notifyManager, QueryClientProvider } from '@tanstack/react-query';+import { afterEach, expect, it, vi } from 'vitest';+import * as legacyUi from '@peach/legacy/ui';++import { queryClient } from '../../src/react/query';+import { AliasManager } from '../../src/react/follow-manage/alias-manager';+import {+ FOLLOW_ALIAS_URL, type AliasGroup, type AliasSuggestion,+} from '../../src/react/follow-manage/follow-manage';++import { buttonNamed, click, mountRoot, settle } from './render';++afterEach(() => queryClient.clear());+notifyManager.setScheduler((notify) => notify());++const GROUPS: AliasGroup[] = [+ {+ canonical_key: 'name:作者 A', canonical_name: '作者 A',+ aliases: [{ key: 'name:已存别名', name: '已存别名' }],+ },+];++const SUGGESTIONS: AliasSuggestion[] = [+ { canonical: '作者 A', alias: '别名 A', evidence: '来源 A' },+ { canonical: '作者 B', alias: '别名 B', evidence: '来源 B' },+];++type Confirmation = { title: string; body: string; onConfirm(): Promise<unknown> };++/** 确认框只记下参数不自己点:合并由人点这一条是这里要守住的东西。 */+function stubConfirm() {+ const asked: Confirmation[] = [];+ vi.spyOn(legacyUi, 'confirmModal').mockImplementation((async (options: Confirmation) => {+ asked.push(options);+ return { confirmed: false };+ }) as typeof legacyUi.confirmModal);+ return asked;+}++async function open(fetcher: ReturnType<typeof vi.fn>) {+ vi.stubGlobal('fetch', fetcher);+ const toast = vi.fn();+ const mounted = await mountRoot(+ <QueryClientProvider client={queryClient}>+ <AliasManager groups={GROUPS} suggestions={SUGGESTIONS} readOnly={false} toast={toast} />+ </QueryClientProvider>);+ await settle();+ return { toast, ...mounted };+}++const okFetch = () => vi.fn(async () => ({ ok: true, status: 200, json: async () => ({ ok: true }) }));++const box = (root: ParentNode, name: string) =>+ root.querySelector<HTMLInputElement>(`input[type="checkbox"][aria-label="${name}"]`);++const aliasWrites = (fetcher: ReturnType<typeof vi.fn>) =>+ fetcher.mock.calls.filter(([input]) => String(input) === FOLLOW_ALIAS_URL)+ .map(([, init]) => JSON.parse(String((init as RequestInit).body)));++it('勾选决定合并范围,表头全选能一并取消', async () => {+ const asked = stubConfirm();+ const fetcher = okFetch();+ const { host } = await open(fetcher);++ expect(buttonNamed('合并所选(0)', host)?.disabled).toBe(true);++ await click(box(host, '选择别名 别名 B,归入 作者 B'));+ expect(box(host, '全选待合并别名')?.indeterminate).toBe(true);++ await click(buttonNamed('合并所选(1)', host));+ // 还没点确认,所以一条都不该发出去。+ expect(aliasWrites(fetcher)).toHaveLength(0);+ expect(asked[0]!.body).toContain('「别名 B」归入「作者 B」');+ expect(asked[0]!.body).not.toContain('别名 A');++ await asked[0]!.onConfirm();+ await settle();+ expect(aliasWrites(fetcher).map((sent) => sent.alias)).toEqual(['别名 B']);++ await click(box(host, '全选待合并别名'));+ expect(buttonNamed('合并所选(2)', host)).not.toBeNull();+ await click(box(host, '全选待合并别名'));+ expect(buttonNamed('合并所选(0)', host)?.disabled).toBe(true);+});++it('全部合并一条一条发,顺序照着待合并列表', async () => {+ const asked = stubConfirm();+ const fetcher = okFetch();+ const { toast } = await open(fetcher);++ await click(buttonNamed('全部合并(2)', document));+ expect(asked[0]!.title).toBe('合并全部创作者别名');+ await asked[0]!.onConfirm();+ await settle();++ expect(aliasWrites(fetcher)).toEqual([+ { action: 'add', canonical: '作者 A', alias: '别名 A' },+ { action: 'add', canonical: '作者 B', alias: '别名 B' },+ ]);+ expect(toast).toHaveBeenCalledWith('已合并 2 组创作者别名');+});++it('合并半路断了,报出还剩几组没有合并', async () => {+ const asked = stubConfirm();+ let call = 0;+ const fetcher = vi.fn(async () => {+ call += 1;+ if (call === 2) throw new TypeError('Failed to fetch');+ return { ok: true, status: 200, json: async () => ({ ok: true }) };+ });+ const { host, toast } = await open(fetcher);++ await click(buttonNamed('全部合并(2)', document));+ await expect(asked[0]!.onConfirm()).rejects.toThrow('还有 1 组没有合并');+ await settle();++ expect(aliasWrites(fetcher)).toHaveLength(2);+ expect(toast).not.toHaveBeenCalled();+ expect(host.textContent).toContain('还有 1 组没有合并');+});++it('移除已保存的别名也要先问一句', async () => {+ const asked = stubConfirm();+ const fetcher = okFetch();+ const { host, toast } = await open(fetcher);++ await click(host.querySelector('button[aria-label="移除别名 已存别名"]'));+ expect(aliasWrites(fetcher)).toHaveLength(0);+ expect(asked[0]!.body).toContain('「已存别名」');++ await asked[0]!.onConfirm();+ await settle();+ expect(aliasWrites(fetcher)).toEqual([{ action: 'remove', alias: '已存别名' }]);+ expect(toast).toHaveBeenCalledWith('已移除创作者别名');+});diff --git a/frontend/test/react/follow-manage.test.tsx b/frontend/test/react/follow-manage.test.tsxnew file mode 100644index 000000000..27c09e04e--- /dev/null+++ b/frontend/test/react/follow-manage.test.tsx@@ -0,0 +1,308 @@+/* 关注管理页的行为:按创作者归组、排序作用在全集上、翻页只切最后一步、勾选跨页也跨视图,+ * 以及「检查更新」那一趟后台任务什么时候算数。+ *+ * 外观(表格的分隔线、徽章档位)是设计决定,由 `frontend/e2e/design.test.ts` 读+ * `getComputedStyle` 断言;这里只看结构、文字与请求。 */+import { act } from 'react';+import { notifyManager, QueryClientProvider } from '@tanstack/react-query';+import { afterEach, expect, it, vi } from 'vitest';++import { queryClient } from '../../src/react/query';+import {+ authorGroups, checkSummary, FOLLOW_CHECK_URL, FOLLOW_CREDENTIALS_URL, FOLLOW_SOURCE_URL,+ FOLLOW_URL, JOB_POLL_MS, pageWindow, prefetchFollowManage, tableRows,+ type CheckJob, type CredentialData, type FollowData, type FollowSource,+} from '../../src/react/follow-manage/follow-manage';+import { FollowManagePage } from '../../src/react/follow-manage/follow-manage-page';++import { choose, click, mountRoot, settle } from './render';++// 客户端是模块级的单例(所有 React 根共用一个),用例之间不清就互相喂数据。+afterEach(() => queryClient.clear());++/* Query 派发更新用的是它自己抓住的那个真 `setTimeout(0)`,假时钟推不动它:推完时钟+ 断言到的还是上一帧的 DOM。用例里改成当场派发。 */+notifyManager.setScheduler((notify) => notify());++const source = (over: Partial<FollowSource> & { id: number }): FollowSource => ({+ provider: 'kemono',+ provider_label: 'Kemono',+ ref: `fanbox/${over.id}`,+ label: `来源 ${over.id}`,+ url: `https://example.com/${over.id}`,+ enabled: true,+ last_status: 'ok',+ last_checked_at: '2026-09-01T00:00:00Z',+ created_at: '2026-08-01T00:00:00Z',+ author_key: `name:作者${over.id}`,+ author_name: `作者${over.id}`,+ ...over,+} as FollowSource);++/** 三位创作者,其中一位在两个站上各有一条来源。 */+const CAST: FollowSource[] = [+ source({ id: 1, author_key: 'name:甲', author_name: '甲', label: '甲 · Kemono' }),+ source({+ id: 2, author_key: 'name:甲', author_name: '甲', label: '甲 · Pawchive',+ provider: 'pawchive', provider_label: 'Pawchive', last_checked_at: '2026-09-03T00:00:00Z',+ }),+ source({+ id: 3, author_key: 'name:乙', author_name: '乙', label: '乙 · Kemono',+ last_checked_at: '2026-09-02T00:00:00Z', last_status: 'error',+ }),+ source({ id: 4, author_key: 'name:丙', author_name: '丙', label: '丙 · Kemono' }),+];++const follow = (over: Partial<FollowData> = {}): FollowData => ({+ sources: CAST,+ counts: { new: 0, seen: 0, saved: 0, ignored: 0 },+ author_aliases: [],+ suggestions: [],+ ...over,+} as FollowData);++const credentials = (): CredentialData => ({ root: 'C:\\peach\\creds', providers: [] } as CredentialData);++const IDLE: CheckJob = { status: 'idle' } as CheckJob;++const ok = (body: unknown) => ({ ok: true, status: 200, json: async () => body });++interface Plan {+ data?: FollowData;+ /** 检查任务的快照:给一串就按顺序一份一份回(最后一份之后一直回它),给函数就每次现问。 */+ check?: CheckJob[] | (() => CheckJob);+ resolve?: unknown;+}++/** 按端点分流的假 fetch。写操作各回一个最小成功体。 */+function serve(plan: Plan = {}) {+ const checks = typeof plan.check === 'function' ? plan.check : [...(plan.check ?? [IDLE])];+ const fetcher = vi.fn(async (input: string, init?: RequestInit) => {+ const url = String(input);+ if (url === FOLLOW_CREDENTIALS_URL) return ok(credentials());+ if (url === FOLLOW_CHECK_URL) {+ if (init?.method) return ok({ status: 'running', checked: 0, total: 1 });+ if (typeof checks === 'function') return ok(checks());+ return ok(checks.length > 1 ? checks.shift()! : checks[0]!);+ }+ if (url === FOLLOW_SOURCE_URL) return ok({ ok: true, source: 9 });+ if (url.startsWith('/api/follow/resolve')) return ok(plan.resolve ?? IDLE);+ if (url.startsWith(FOLLOW_URL)) return ok(plan.data ?? follow());+ throw new Error(`没有安排这个端点:${url}`);+ });+ vi.stubGlobal('fetch', fetcher);+ return fetcher;+}++type Props = Parameters<typeof FollowManagePage>[0];++const shellProps = (over: Partial<Props> = {}): Props => ({+ tab: 'list', page: 1, sort: '', dir: '',+ route: vi.fn(),+ pageSize: 20, layout: 'default',+ savePreference: vi.fn(),+ toast: vi.fn(),+ openFollow: vi.fn(),+ readOnly: false, readOnlyMessage: '', writerUrl: '',+ ...over,+});++/** 走完真实的首屏路径:先 prefetch 落进缓存,再挂载。 */+async function open(plan: Plan = {}, over: Partial<Props> = {}) {+ const fetcher = serve(plan);+ const props = shellProps(over);+ await prefetchFollowManage(new AbortController().signal).catch(() => {});+ const mounted = await mountRoot(+ <QueryClientProvider client={queryClient}><FollowManagePage {...props} /></QueryClientProvider>);+ await settle();+ return { fetcher, props, ...mounted };+}++const tick = (ms: number) => act(async () => { await vi.advanceTimersByTimeAsync(ms) });++const cards = (root: ParentNode) => [...root.querySelectorAll('section[aria-label$="的关注来源"]')];++const checkboxNamed = (root: ParentNode, name: string) =>+ root.querySelector<HTMLInputElement>(`input[type="checkbox"][aria-label="${name}"]`);++const buttonLabelled = (root: ParentNode, name: string) =>+ root.querySelector<HTMLButtonElement>(`button[aria-label="${name}"]`);++const sentBody = (fetcher: ReturnType<typeof serve>, url: string) =>+ fetcher.mock.calls.filter(([input, init]) => String(input) === url && !!(init as RequestInit | undefined)?.method)+ .map(([, init]) => JSON.parse(String((init as RequestInit).body)));++// ── 纯函数:归组、排序与分页 ──────────────────────────────────────────────++it('同一位创作者在几个站上的来源归成一组', () => {+ const groups = authorGroups(CAST, 'checked', 'desc');+ expect(groups.map((group) => group.length)).toEqual([2, 1, 1]);+ expect(groups[0]!.map((row) => row.id).sort()).toEqual([1, 2]);+});++it('排序换的是全集的次序,不是某一页里面的', () => {+ const many = Array.from({ length: 25 }, (_, at) => source({+ id: at + 1, author_key: `name:人${at}`, author_name: `人${at}`,+ last_checked_at: `2026-09-${String(at + 1).padStart(2, '0')}T00:00:00Z`,+ }));+ const newest = authorGroups(many, 'checked', 'desc');+ const oldest = authorGroups(many, 'checked', 'asc');+ // 翻个方向之后,第一页第一条应当是原来最后一页的最后一条——只排当前页做不到这一点。+ expect(newest[0]![0]!.id).toBe(25);+ expect(oldest[0]![0]!.id).toBe(1);+ const win = pageWindow(newest.length, 10, 3);+ expect(win).toMatchObject({ page: 3, pages: 3, total: 25, start: 20, end: 25 });+});++it('越界的页码落到末页,不画一页空的', () => {+ expect(pageWindow(4, 10, 7)).toMatchObject({ page: 1, start: 0, end: 4 });+ expect(pageWindow(25, 10, 99)).toMatchObject({ page: 3, start: 20, end: 25 });+});++it('表格视图把创作者组拉平,一行一条来源', () => {+ const groups = authorGroups(CAST, 'source', 'asc');+ const rows = tableRows(groups, 'source', 'asc');+ expect(rows).toHaveLength(CAST.length);+ // 按来源名排的那几档把整张表拉平重排,这时不再按创作者聚在一起(丙 < 甲 < 乙)。+ expect(rows.map((row) => row.source.label))+ .toEqual(['丙 · Kemono', '甲 · Kemono', '甲 · Pawchive', '乙 · Kemono']);+ expect(rows[0]!.author).toBe('丙');+ // 每一行都带着自己那位创作者,表格里「创作者」这一列每行都写得出来。+ expect(rows.map((row) => row.author)).toEqual(['丙', '甲', '甲', '乙']);+});++it('检查完的那句话把数字说出来', () => {+ const job = {+ status: 'done',+ results: [+ { ok: true, added: 2 }, { ok: true, added: 0, updated: 0 },+ { ok: true, exhausted: true }, { ok: false, error: '连不上' },+ ],+ } as CheckJob;+ const said = checkSummary(job);+ expect(said).toContain('新增 2 条');+ expect(said).toContain('2 个来源没有更新');+ expect(said).toContain('1 个没有更多内容');+ expect(said).toContain('1 个失败');+});++// ── 页面:视图、勾选与地址栏 ──────────────────────────────────────────────++it('默认视图一位创作者一张卡', async () => {+ const { host } = await open();+ expect(cards(host).map((card) => card.getAttribute('aria-label')))+ .toEqual(['甲 的关注来源', '乙 的关注来源', '丙 的关注来源']);+});++it('勾选跨页也跨视图,批量发出去的是整个 ID 集合', async () => {+ const many = Array.from({ length: 12 }, (_, at) => source({+ id: at + 1, author_key: `name:人${at}`, author_name: `人${at}`,+ }));+ const { host, fetcher } = await open({ data: follow({ sources: many }) }, { pageSize: 10 });++ await click(checkboxNamed(host, '全选本页来源'));+ expect(host.textContent).toContain('已选 10 个来源');++ // 翻到第二页再勾一条:上一页那十条还在选中集合里。+ await click([...host.querySelectorAll('button')].find((b) => b.textContent === '下一页'));+ expect(host.textContent).toContain('已选 10 个来源');+ await click(checkboxNamed(host, '选择 来源 11'));+ expect(host.textContent).toContain('已选 11 个来源');++ await click([...host.querySelectorAll('button')].find((b) => b.textContent === '暂停'));+ await settle();+ const writes = sentBody(fetcher, FOLLOW_SOURCE_URL);+ expect(writes).toHaveLength(11);+ expect(writes.map((body) => body.id).sort((a, b) => a - b))+ .toEqual([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11]);+ expect(writes.every((body) => body.action === 'enabled' && body.enabled === false)).toBe(true);+});++it('换成表格视图时勾选还是那一批', async () => {+ const { host, props } = await open();+ await click(checkboxNamed(host, '选择 甲 · Kemono'));+ expect(host.textContent).toContain('已选 1 个来源');++ await click(buttonLabelled(host, '表格视图'));+ expect(props.savePreference).toHaveBeenCalledWith({ layout: 'table' });+ // 版式是这台浏览器的偏好,不写进地址栏。+ for (const [params] of (props.route as ReturnType<typeof vi.fn>).mock.calls) {+ expect(params).not.toHaveProperty('layout');+ }+});++it('表格视图把每条来源摊成一行,勾的还是来源 ID', async () => {+ const { host, fetcher } = await open({}, { layout: 'table' });++ expect([...host.querySelectorAll('[role="columnheader"]')].map((cell) => cell.textContent?.trim()))+ .toEqual(['选择', '创作者', '来源', '站点', '状态', '上次检查', '操作']);+ // 卡片视图是三张卡(甲有两条来源),表格摊平之后是四行。+ expect(host.querySelectorAll('[role="row"][data-key]')).toHaveLength(4);++ await click(checkboxNamed(host, '选择 甲 · Pawchive'));+ expect(host.textContent).toContain('已选 1 个来源');++ await click([...host.querySelectorAll('button')].find((b) => b.textContent === '暂停'));+ await settle();+ expect(sentBody(fetcher, FOLLOW_SOURCE_URL)).toEqual([{ action: 'enabled', id: 2, enabled: false }]);+});++it('排序和页码一起写进地址栏,默认值不写', async () => {+ const { host, props } = await open();+ const route = props.route as ReturnType<typeof vi.fn>;++ await choose(host.querySelector('button[aria-label="关注列表排序"]'), '创作者名称');+ expect(route).toHaveBeenCalledWith({ tab: 'list', page: 1, sort: 'name', dir: '' });++ // 换回默认那一档时,`sort` 写成空串:哪一项算默认只有数据层知道。+ await choose(host.querySelector('button[aria-label="关注列表排序"]'), '检查时间');+ expect(route).toHaveBeenLastCalledWith({ tab: 'list', page: 1, sort: '', dir: '' });+});++// ── 检查更新:这一趟什么时候算数 ──────────────────────────────────────────++it('起了检查就两秒一问,停了就不再问', async () => {+ vi.useFakeTimers();+ const running = { status: 'running', checked: 1, total: 4 } as CheckJob;+ const done = { status: 'done', results: [{ ok: true, added: 3 }] } as CheckJob;+ // 服务端那一份状态由用例推进,不按问的次数数:问几次正是这里要测的东西。+ let state: CheckJob = IDLE;+ const { host, fetcher, props } = await open({ check: () => state });++ const polls = () => fetcher.mock.calls.filter(+ ([input, init]) => String(input) === FOLLOW_CHECK_URL && !(init as RequestInit | undefined)?.method).length;++ // happy-dom 里量不到工具行的宽度,按最窄那一档画:带字的按钮只剩图标,得按 aria-label 找。+ state = running;+ await click(buttonLabelled(host, '检查全部'));+ await settle();+ const started = polls();++ await tick(JOB_POLL_MS);+ await settle();+ expect(polls()).toBeGreaterThan(started);+ // 进度条是 SVG,进度写在 `aria-label` 上而不是文字节点里。+ expect(host.querySelector('[role="progressbar"]')?.getAttribute('aria-label'))+ .toBe('检查更新:已完成 1/4 个来源');++ state = done;+ await tick(JOB_POLL_MS);+ await settle();+ expect(props.toast).toHaveBeenCalledWith(expect.stringContaining('新增 3 条'));++ // 终态之后不再问:轮询关掉了。+ const settledAt = polls();+ await tick(JOB_POLL_MS * 3);+ expect(polls()).toBe(settledAt);+});++it('首屏读到的旧终态不冒充这一次的结果', async () => {+ const stale = {+ status: 'done', results: [{ ok: false, error: '上一趟的失败' }],+ } as CheckJob;+ const { host, props } = await open({ check: [stale] });+ await settle();+ // 没点过检查,所以这一份不算数:既不报回执,也不铺失败明细。+ expect(props.toast).not.toHaveBeenCalled();+ expect(host.textContent).not.toContain('上一趟的失败');+});diff --git a/frontend/test/stubs/legacy-core.ts b/frontend/test/stubs/legacy-core.tsindex de63bc6c8..989ad29b6 100644--- a/frontend/test/stubs/legacy-core.ts+++ b/frontend/test/stubs/legacy-core.ts@@ -3,8 +3,8 @@* 真实实现由 Peach 在浏览器里提供,node 里不存在。这里照抄它的**行为**而不是引用它:* 断言要能说明「island 用的是遗留层的格式化口径」,所以哨兵值(时长 0/负数 → `—`)* 必须一起复制过来,否则测试会放过一个把 `-1` 画成 `0:-1` 的回归。 */-// @ts-expect-error 测试直接复用正式错误映射。-export {requestErrorMessage, icon} from '../../../web/js/core.js';+// @ts-expect-error 测试直接复用正式错误映射与有界并发:两者都是纯函数,不碰 DOM。+export {requestErrorMessage, icon, mapLimit} from '../../../web/js/core.js';export const LOC: Record<string, string> = {local: '本地','115': '115',diff --git a/tests/test_follow_web.py b/tests/test_follow_web.pyindex e310b9907..5dbbc3546 100644--- a/tests/test_follow_web.py+++ b/tests/test_follow_web.py@@ -3,6 +3,7 @@契约层测试用临时数据库;页面源测试守的是「追更表面」这一个语义契约,不是某个文件——判据同 `tests/test_web_ui.py`。"""+import hashlibimport jsonimport osimport re@@ -2740,18 +2741,33 @@ class FollowWebSourceTests(unittest.TestCase):if needle not in board:self.fail(f"board.css 缺少:{needle!r}")- def test_follow_task_controls_keep_content_and_name_the_author(self):- self.assertPageContains('data-follow-sources=')- self.assertPageContains('group.filter(s=>s.enabled).map(s=>s.id)')- self.assertPageContains('aria-label="检查 ${esc(name)} 的全部来源"')- self.assertPageContains('row.author||row.label||row.ref')- self.assertPageLacks('个来源上次检查失败,原因见对应那一行。')- refresh = self.page.split('async function refreshFollowSurface(surface){', 1)[1].split('async function wireOperationProgress', 1)[0]- self.assertNotIn('showManagementBody', refresh)- self.assertNotIn('scrollTo', refresh)- click = self.page.split("root.querySelectorAll('[data-follow-check]').forEach", 1)[1].split('const saveAuthorAlias', 1)[0]- self.assertNotIn('openFollowManage', click)- self.assertIn('wireFollowProgress()', click)+ def read_react(self, relative):+ """React 子树里的一份源码(ADR-0031)。关注管理页的正文不在 `web/` 里。"""+ return (ROOT / "frontend" / "src" / "react" / relative).read_text(encoding="utf-8")++ def read_front(self, relative):+ """`frontend/src` 下的一份源码:骨架、island 注册表这类不在 `react/` 子树里的。"""+ return (ROOT / "frontend" / "src" / relative).read_text(encoding="utf-8")++ def assertReactContains(self, relative, needle, message=""):+ source = self.read_react(relative)+ if needle not in source:+ self.fail(f"{relative} 缺少:{needle!r}" + (f"({message})" if message else ""))++ def test_a_failed_check_names_the_author_not_just_the_source_id(self):+ """检查失败要说清是谁的哪一条,光给一个来源 id 等于让人自己回去翻。++ 创作者名不一定在哪个字段上:官方来源给 `author`,归档来源只有 `label`,+ 再不济还有 `ref`。三个依次取,取到哪个说哪个。+ """+ source_list = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("{`${row.provider_label || row.provider || ''} "+ "${row.author || row.label || row.ref || ''}:${row.error || '未说明原因'}`}",+ source_list)+ # 创作者卡上那一枚检查的是这位创作者还开着的那几条,暂停的不去打扰。+ self.assertIn("const enabled = group.filter((source) => source.enabled).map((source) => source.id);",+ source_list)+ self.assertIn("aria-label={`检查 ${name} 的全部来源`}", source_list)def assertPageLacks(self, needle, message=""):if needle in self.page:@@ -2798,159 +2814,150 @@ class FollowWebSourceTests(unittest.TestCase):self.assertPageContains("api(`/api/follow?item=${encodeURIComponent(id)}`)")self.assertPageContains(".then(async()=>{buildEdge();wireAllDrag();await restoreRoute();scheduleStickySurfaces()})")- def test_the_add_state_is_looked_up_outside_the_form(self):- # 提示行在表单外面。在 form 里找它会拿到 null,第一次赋值就抛 TypeError,- # 整个提交静默失败——实测踩过。- self.assertPageContains("const state=root.querySelector('[data-follow-add-state]')")-def test_sources_are_added_by_pasting_not_by_a_command(self):- self.assertPageContains('id="followAdd"')- self.assertPageContains('name="line"')- self.assertPageContains("'/api/follow/source'")- self.assertPageContains("data-follow-remove")-- def test_the_lookup_is_one_line_submitted_by_enter_without_a_button(self):- """查找不改任何东西,按 Vercel 表单规范就不该配提交按钮。-- 规范原话是「输入框获得焦点时,若它是唯一控件,回车即提交」。字段做成- textarea 就非配按钮不可——那里回车按规范要插入换行,回车提交没法用。- 多行批量本身也不成立:一个作者就要几十秒,一次粘五行等于把这个等待乘五,- 中途还看不出走到哪一行。所以字段收成单行 search input,回车原生提交。+ """加一条关注就是把地址粘进去,不用记命令;移除也在同一张清单上。"""+ data = self.read_react("follow-manage/follow-manage.ts")+ self.assertIn("export const FOLLOW_SOURCE_URL = '/api/follow/source';", data)+ self.assertIn("export const addSource = (candidate: ResolveCandidate) =>", data)+ self.assertIn("export const removeSource = (id: number) =>", data)+ self.assertReactContains("follow-manage/add-source.tsx",+ '<Input aria-label="来源链接、名字或 id" placeholder={PLACEHOLDER} value={line}')+ self.assertReactContains("follow-manage/source-list.tsx", "aria-label={`移除 ${source.label}`}")++ def test_the_lookup_takes_one_line_and_never_grows_into_a_batch_box(self):+ """查找字段是一行,不是可以粘一叠地址的多行框。++ 多行批量本身不成立:一个作者就要几十秒,一次粘五行等于把这个等待乘五,+ 中途还看不出走到哪一行。所以字段是单行 `Input`,回车和旁边那颗「查找」+ 走同一个入口。"""- page = self.page- form = page[page.index('<form class="faddform" id="followAdd">'):]- form = form[:form.index("</form>")]- # 输入框本体是共用的 Search Input(见 web/js/ui-components.js),- # 关注页这里只交名字、无障碍名称和 required。- self.assertIn("searchInputHtml({name:'line',label:'来源链接、名字或 id',", form)- self.assertIn("attrs:'required'", form)- self.assertNotIn("textarea", form)- self.assertNotIn('type="submit"', form)- # 忙态没有按钮可以变灰,就落在表单自己身上:前缀图标原位换 Spinner。- handler = page[page.index("if(form)form.onsubmit=async event=>{"):]- handler = handler[:handler.index("\n };")]- self.assertIn("form.dataset.busy='true';form.setAttribute('aria-busy','true')", handler)- self.assertIn("if(prefix)prefix.innerHTML=spinnerHtml('查找中')", handler)- self.assertIn("form.removeAttribute('aria-busy')", handler)- self.assertNotIn("setActionBusy", handler)- # 隐式提交在这个表单上不成立:来源筛选的复选框和输入框住在同一个 <form> 里,- # 浏览器只在「仅有一个文本字段」时才替你提交。回车必须自己接管。- self.assertPageContains("if(event.key!=='Enter')return;")- self.assertPageContains("closeAddSuggest();form.requestSubmit();")- # 单行以后不再有拆行与自增高。- self.assertNotIn("box.style.height", page)- self.assertIn("const lines=[line];", handler)+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn('<Input aria-label="来源链接、名字或 id"', add)+ self.assertNotIn("textarea", add)+ self.assertIn("if (event.key !== 'Enter') return;", add)+ self.assertIn("onClick={() => search(line)}>查找</Button>", add)+ # 一趟查找在跑的时候不再起第二趟,按钮和输入框都进忙态。+ self.assertIn("if (!query || running || resolve.isPending) return;", add)+ self.assertIn("{...busyProps(running || resolve.isPending)}", add)def test_reader_management_is_locked_and_points_to_the_writer(self):- # 读请求带上表面的 signal(surfaceApi),切页时会被取消。+ """本机只能浏览时,管理页说清楚并给出写入端的去处。"""+ page = self.read_react("follow-manage/follow-manage-page.tsx")+ self.assertIn('<Note tone="warning" title="本机只能浏览"', page)+ self.assertIn("前往写入端管理关注", page)+ self.assertIn("{readOnlyMessage}", page)+ # 只读这一位由壳从 runtime 读出来交进 island,React 不自己再判一次。+ self.assertPageContains("readOnly:!!runtime?.ledger_read_only,")self.assertPageContains("surfaceApi(surface,'/healthz')")- self.assertPageContains("followRuntime?.ledger_read_only")- self.assertPageContains("前往写入端管理关注")- self.assertPageContains("#followAdd input,#followAdd button")+ # 写操作一律停用,不是点下去才报错。+ source_list = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("disabled={readOnly}", source_list)def test_failed_source_adds_stay_visible_instead_of_being_erased_by_reload(self):- block = self.page[self.page.index("if(addButton)addButton.onclick=async()=>"):- self.page.index("async function followWrite(")]- self.assertIn("const failures=[]", block)- self.assertIn("state.textContent=failures.join(';')", block)- self.assertLess(block.index("if(failures.length)"),- block.index("await openFollowManage(false)"))- self.assertIn("return;", block[block.index("if(failures.length)"):])+ """一批候选里有几条登记失败时,失败原因留在页面上。- def test_a_bare_name_or_id_is_looked_up_across_sources(self):- self.assertPageContains("'/api/follow/resolve'")- self.assertPageContains("function renderFollowPicks(")- # 结果先勾选再落地,不自动登记。- self.assertPageContains("data-pick-add")- self.assertPageContains("data-pick-cancel")+ 逐条登记,失败的收进清单接着登记下一条;成功那几条会让清单重取,可重取+ 不该把刚才那几行失败一起冲掉——那正是人还没来得及读的东西。+ """+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn("failures.push(`${item.candidate.label}:${errorMessage(cause)}`);", add)+ self.assertIn("if (result.failures.length) { setProblem(result.failures.join(';')); return }",+ add)+ # 重取排在报错之前,且报错这一支直接 return,不会再往下清空。+ register = add[add.index("const register = useMutation({"):]+ register = register[:register.index("\n });")]+ self.assertLess(register.index("void reloadFollowManage();"),+ register.index("if (result.failures.length)"))+ self.assertIn('<Note tone="error" title="这一次没有完成">{problem}</Note>', add)- def test_lookup_results_stay_inside_the_add_section_with_one_title_scale(self):- page = self.page- manage = page[page.index("function renderFollowManage("):- page.index("function wireFollowItems(")]- # 三块内容各是一个工作区面板,按 `data-follow-workspace-panel` 认,别按- # `class="fsec"` 认——三块都带这个类,取到的会是第一块而不是「添加关注」。- add_section = manage[manage.index('<section class="fsec" data-follow-workspace-panel="add">'):- manage.index('</section>')]- self.assertIn('id="followPicks"', add_section)- self.assertNotIn('</section>\n <div id="followPicks">', manage)- self.assertPageContains(- '<div class="fpicks"><div class="fpickhead"><h3>查找结果</h3>')- self.assertPageContains('<p class="fpickempty">站内没有查到来源</p>')- self.assertPageContains("box.scrollIntoView({block:'nearest',behavior:'smooth'})")- self.assertNotIn(".fpicks h3{", page,- "查找结果不应另起一套标题字号")+ def test_a_bare_name_or_id_is_looked_up_across_sources(self):+ """光给一个名字或 id 也能查,查完列候选、勾选之后才真的登记。"""+ data = self.read_react("follow-manage/follow-manage.ts")+ self.assertIn("export const FOLLOW_RESOLVE_URL = '/api/follow/resolve';", data)+ self.assertIn("export const startResolve = (lines: string[]) =>", data)+ add = self.read_react("follow-manage/add-source.tsx")+ # 候选默认勾上,但登记是单独一颗键;查完不自动写。+ self.assertIn("onClick={() => register.mutate(picked)}", add)+ self.assertIn("isSelected={!candidate.known && !unpicked.has(key)}", add)++ def test_lookup_results_stay_inside_the_add_section(self):+ """查找结果留在「添加关注」这一栏里,不另开一屏。++ 三栏是三件事,结果跑到别的栏去就得来回切;标题层级也只有一档,结果块不+ 自己再起一套字号。+ """+ page = self.read_react("follow-manage/follow-manage-page.tsx")+ panel = page[page.index('<TabPanel id="add"'):page.index('<TabPanel id="source"')]+ self.assertIn("<AddSource data={data}", panel)+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn('<h3 className="text-headline-medium text-text-primary">添加关注</h3>', add)+ self.assertEqual(add.count("text-headline-medium"), 1, "查找结果不另起一套标题字号")def test_f95_misses_offer_a_clickable_google_query(self):- self.assertPageContains("row.external_searches||[]")- self.assertPageContains(- 'class="externallink" href="${esc(search.url)}"')- self.assertPageContains('target="_blank" rel="noreferrer noopener"')- self.assertPageContains("${esc(search.query)}")- block = self.page[self.page.index("const searches=(row.external_searches||[])"):- self.page.index("return `<div class=\"fpick\">")]- # 说明先行、不在链接里;链接行在其后,带外链标。- self.assertLess(block.index("<i>${esc(search.evidence)}</i>"),- block.index("<a class=\"externallink\""))+ add = self.read_react("follow-manage/add-source.tsx")+ block = add[add.index("{(row.external_searches || []).map((search) => ("):]+ block = block[:block.index("{failures.length ? (")]+ self.assertIn('<small className="text-caption-1-regular text-text-secondary">{search.evidence}</small>',+ block)+ self.assertIn("<ExternalLink href={search.url}>{`${search.label}:${search.query}`}</ExternalLink>", block)+ # 说明先行、不在链接里;链接在其后,带外链标。+ self.assertLess(block.index("{search.evidence}"), block.index("<ExternalLink"))+ self.assertReactContains("settings/section.tsx", "trailingIcon={RiExternalLinkLine}")def test_follow_author_groups_are_one_card_per_author_and_link_to_the_original_page(self):- self.assertPageContains('class="frows fsources"')- grid = self.page[self.page.index(".fsources{"):]- self.assertIn("repeat(auto-fit,minmax(430px,1fr))", grid[:grid.index("}")])- self.assertPageContains("groups.slice(start,end).map(followAuthorBlock).join('')")- self.assertNotIn(".fsources>.fauthor{display:grid", self.page,- "多栏单位是作者组,不能拆开作者下面的来源行")- self.assertPageContains('class="fsourcelink externallink" href="${esc(source.url)}"')- self.assertPageContains('title="打开原来源"')- self.assertPageContains('rel="noreferrer noopener"')- author = self.page[self.page.index(".fauthor{"):]- author_rule = author[:author.index("}")]- self.assertIn("height:280px", author_rule)- self.assertIn("border:1px solid var(--border-10)", author_rule)- self.assertIn("grid-template-rows:auto minmax(0,1fr)", author_rule)- # 一个作者一张卡,来源直接铺在卡里:卡片高度由 Board 层放开(`.followmanage .fauthor`- # 的 `height:auto`),来源那一格不再自带滚动区。- self.assertPageContains('<div class="fauthorsources" id="follow-author-${group[0].id}"'- ' aria-label="${esc(name)} 的关注来源">${sourceRows}</div>')- self.assertBoardContains(".followmanage .fauthorsources{height:auto;max-height:none;overflow:visible}")- # 末位作者卡与批量条之间隔着分页条,卡的四角都圆回去,不再与底条做拼角。- self.assertBoardContains(".followmanage .fmain>.fsec:has(>.fsecfoot)>.frows,.followmanage "- ".fmain>.fsec:has(>.fsecfoot) .board-follow-list{border-bottom-left-radius:0;border-bottom-right-radius:0}")- self.assertPageLacks(".fmain>.fsec:has(>.fsecfoot) .fauthor:last-child")+ """一位创作者一张卡,卡里是他在各个站上的来源,来源名连回原页面。"""+ source_list = self.read_react("follow-manage/source-list.tsx")+ self.assertIn('<section aria-label={`${name} 的关注来源`}', source_list)+ self.assertIn("<AuthorCard key={key} group={group} name={authorName(group, aliases)}", source_list)+ # 卡片里那一叠来源行是同一位创作者的,展开与否由卡自己记。+ self.assertIn("<div id={panel} hidden={!open}>", source_list)+ self.assertIn("const panel = `follow-author-${group[0]!.id}`;", source_list)+ self.assertReactContains(+ "follow-manage/source-view.tsx",+ '<a href={source.url} target="_blank" rel="noreferrer noopener" title="打开原来源"')def test_source_actions_are_icon_only_and_stay_on_one_row(self):- row = self.page[self.page.index("function followSourceCells(source,selectable=false)"):]- row = row[:row.index("function followAliasManager")]- self.assertIn("data-follow-check", row)- self.assertIn("data-follow-remove", row)- self.assertIn("${icon('refresh-cw')}", row)- self.assertIn("${icon('trash')}", row)- self.assertNotIn(">检查</button>", row)- self.assertNotIn(">移除</button>", row)- rule = self.page[self.page.index(".fauthor .fsource.frow{"):]- self.assertIn("flex-wrap:nowrap", rule[:rule.index("}")])-- def test_each_channel_has_a_styled_update_checkbox(self):- self.assertPageContains('class="fchannelcheck"')- self.assertPageContains('data-follow-enabled="${source.id}"')- self.assertPageContains("{action:'enabled',id:Number(control.dataset.followEnabled),enabled}")- # 框本身归共用的 .pcheck,.fchannelcheck 只剩这一行在行里的摆放。- self.assertPageContains(".fchannelcheck{display:grid;place-items:center;align-self:center}")- # 行是 grid 且整行居中,框跟着走。Board 层再压一句「贴顶再推两像素」的话,- # 框会比同一行的名字高出半个身位——对齐的是行的上沿,不是它标着的那行字。- board = (ROOT / "web" / "board.css").read_text(encoding="utf-8")- self.assertNotIn(".followmanage .fchannelcheck{align-self:start", board)- self.assertPageContains(".pcheck input{position:absolute;width:1px;height:1px;opacity:0")- # Geist Checkbox 选中态实测:框底不变,勾是墨色;不再用蓝底。- self.assertPageContains(".pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}")- self.assertPageContains("${icon('check')}")+ """行尾那两颗动作只有字形,名字交给无障碍名称,一行摆得下。++ 写上「检查」「移除」两个词的话,窄一点的卡片里这一行就断成两行,而断开的+ 正是每条来源都要看的状态和上次检查时间。+ """+ source_list = self.read_react("follow-manage/source-list.tsx")+ row = source_list[source_list.index("function SourceRow("):+ source_list.index("function AuthorCard(")]+ self.assertIn("iconOnly leadingIcon={RiRefreshLine}", row)+ self.assertIn("aria-label={`检查 ${source.label} 的更新`}", row)+ self.assertIn("iconOnly leadingIcon={RiDeleteBinLine}", row)+ self.assertIn("aria-label={`移除 ${source.label}`}", row)+ self.assertNotIn(">检查<", row)+ self.assertNotIn(">移除<", row)+ # 这两颗自己不换行,行里要挤也是挤前面那几段文字。+ self.assertIn('<span className="flex shrink-0 items-center gap-1">', row)++ def test_a_row_is_picked_by_its_own_checkbox_and_written_one_row_at_a_time(self):+ """每行第一格是勾选框,改这一条的状态只换这一条的那一份数据。++ 启用与暂停是对选中的那一批说的,写回按单行交换:整张清单重取一遍的话,+ 正在看的那一屏会整个跳一下,而变的只有一个字。+ """+ source_list = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("<Checkbox isSelected={selected} onChange={onToggle} "+ "aria-label={`选择 ${source.label}`} />", source_list)+ self.assertIn("else for (const id of result.done) patchSource(id, "+ "{ enabled: result.action === 'enabled' });", source_list)+ data = self.read_react("follow-manage/follow-manage.ts")+ self.assertIn("export function patchSource(id: number, patch: Partial<FollowSource>): void {", data)+ self.assertIn("queryClient.setQueryData<FollowData>(FOLLOW_MANAGE_KEY, (data) => (data ? {", data)def test_official_channel_icons_and_alias_manager_are_visible(self):- icons = self.page.split("const SOURCE_ICON_PROVIDERS=new Set([", 1)[1].split("]);", 1)[0]+ """官方站有自己的圆标;作者别名有一块自己的管理区。"""+ data = self.read_react("follow-manage/follow-manage.ts")+ icons = data.split("export const SOURCE_ICON_PROVIDERS = new Set([", 1)[1].split("]);", 1)[0]for provider in ("fanbox", "patreon", "subscribestar"):self.assertIn(f"'{provider}'", icons)- self.assertPageContains("followAliasManager(followData.author_aliases,followData.alias_suggestions)")- self.assertPageContains("'/api/follow/author-alias'")+ self.assertIn("export const FOLLOW_ALIAS_URL = '/api/follow/author-alias';", data)+ self.assertReactContains("follow-manage/follow-manage-page.tsx",+ "<AliasManager groups={data.author_aliases || []}")def test_the_author_head_shows_its_sites_as_favicons(self):"""作者卡这一行只出图标:站名在下面每条来源自己那一行上都写着。@@ -2958,23 +2965,26 @@ class FollowWebSourceTests(unittest.TestCase):写进标题栏就是同一个词并排两次,窄卡片里它先把图标挤到贴脸,再把作者名压没。站名落在 title 和读屏读的那一段里,真要确认的人读得到。"""- page = self.page- block = page[page.index('function followAuthorBlock('):]- block = block[:block.index("${sources}")]- self.assertIn("group.map(source=>sourceIcon(source.provider)).join('')", block)- self.assertNotIn("个来源`", block)- self.assertIn('title="${esc(providers)}"', block)- self.assertIn('<span class="sr-only">来源:${esc(providers)}</span>', block)- rule = page[page.index(".fauthorhead .fmeta{"):]- self.assertIn("flex:0 1 auto;min-width:0", rule[:rule.index("}")])+ source_list = self.read_react("follow-manage/source-list.tsx")+ head = source_list[source_list.index("function AuthorCard("):+ source_list.index("export function SourceList(")]+ self.assertIn("{group.map((source) => <SourceIcon key={source.id} provider={source.provider} />)}",+ head)+ self.assertIn('<span className="flex shrink-0 items-center gap-1" title={providers}>', head)+ # 只读屏的那一段走 `VisuallyHidden`:它把样式写在元素上,不生成一个和旧样式表+ # 同名的工具类(`frontend/test/legacy-class-names.test.ts` 盯着这条)。+ self.assertIn("<VisuallyHidden>{`来源:${providers}`}</VisuallyHidden>", head)def test_already_followed_candidates_are_shown_but_not_selectable(self):- # 灰掉但仍显示,免得人以为没查到。- self.assertPageContains("c.known?' known':''")- self.assertPageContains("'已经关注'")+ """已经关注的候选照样列出来,但勾不动——不然人以为没查到。"""+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn("isDisabled={candidate.known}", add)+ self.assertIn("{candidate.known ? '已经关注' : candidate.evidence}", add)def test_the_first_name_lookup_warns_about_the_index_download(self):- self.assertPageContains("首次按名字查要下载创作者索引,可能几十秒")+ """按名字查第一次要先下载创作者索引,这一等得说清楚。"""+ self.assertReactContains("follow-manage/add-source.tsx",+ "首次按名字查要下载创作者索引,可能几十秒")def test_the_input_and_its_button_are_the_same_height(self):# 输入框和旁边的来源筛选按钮齐平;单行以后没有 min-height 与 resize。@@ -2995,53 +3005,32 @@ class FollowWebSourceTests(unittest.TestCase):# 添加表单没有自己的按钮高度规则:输入框几何由 .geist-search 统一给。self.assertNotIn(".faddform .fbtn{", page)- def test_source_filter_uses_the_project_toolbar_layout_without_menu_motion(self):- # Vercel Projects:搜索占剩余宽度,筛选带明确标签,主操作在右;- # 菜单没有展开动画,并在自己的视口内滚动。- self.assertPageContains(- ".faddform{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px")- self.assertPageContains(- ".faddform .fsrcfilter .fbtn{width:auto;height:38px;min-height:38px;padding:0 11px}")- self.assertPageContains('aria-expanded="false" aria-haspopup="menu"')- self.assertPageContains('aria-label="${esc(label())}" title="${esc(label())}"')- self.assertPageContains("data-srcfilter-label")- self.assertPageContains("'全部来源'")- # 视口内固定、内部滚动、无展开动画属于全站的锚定菜单,来源筛选只多一个宽度。- shared = self.page[self.page.index(".popmenu{"):]- shared = shared[:shared.index("}")]- self.assertIn("position:fixed", shared)- self.assertIn("overflow-x:hidden", shared)- self.assertIn("overflow-y:auto", shared)- self.assertIn("overscroll-behavior:contain", shared)- self.assertNotIn("transition", shared)- menu = self.page[self.page.index(".fsrcmenu{"):]- menu = menu[:menu.index("}")]- self.assertIn("width:min(250px,calc(100vw - 16px))", menu)- source_filter = self.page[self.page.index("function renderFollowSrcFilter("):- self.page.index("function renderFollowPicks(")]- self.assertNotIn("transitionend", source_filter)- self.assertNotIn("style.height", source_filter)- self.assertIn("wireAnchoredMenu(mount,toggle,menu);", source_filter)- anchored = self.page[self.page.index("export function wireAnchoredMenu("):]- self.assertIn("innerWidth-width-8", anchored)- self.assertIn("innerHeight-8", anchored)+ def test_the_source_filter_is_a_labelled_popover_beside_the_lookup_field(self):+ """来源筛选是查找行右边一颗带名字的按钮,点开是一块弹层。++ 按钮上写着当前筛到哪几个站,不必点开才知道;弹层自己是一块 `Dialog`,+ 有名字、能用键盘关掉,弹层位置由 BoardUI 的 `Popover` 定。+ """+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn('aria-haspopup="dialog" aria-expanded={open} aria-label={label}', add)+ self.assertIn("leadingIcon={RiFilter3Line}", add)+ self.assertIn('<Dialog aria-label="来源筛选"', add)+ self.assertIn('placement="bottom end" offset={4} className={MENU_POPOVER_SURFACE}', add)+ # 按钮上那句话说的是筛完剩几个站,全留着就直说「全部来源」。+ self.assertIn("'全部来源'", add)def test_source_filter_menu_offers_select_all_and_select_none(self):- # 两个按钮是对整张清单的动作,摆在来源行上方;勾选状态仍只有 fsrcUnchecked 一份真相。- source_filter = self.page[self.page.index("function renderFollowSrcFilter("):- self.page.index("function renderFollowPicks(")]- self.assertIn('<button type="button" class="geist-button" data-srcfilter-all>全选</button>',- source_filter)- self.assertIn('<button type="button" class="geist-button" data-srcfilter-none>全不选</button>',- source_filter)- self.assertLess(source_filter.index("data-srcfilter-all"),- source_filter.index('data-srcfilter="${esc(provider)}"'))- self.assertIn("if(all)all.onclick=()=>setAll(true);", source_filter)- self.assertIn("if(none)none.onclick=()=>setAll(false);", source_filter)- self.assertIn("const setAll=checked=>{inputs.forEach(input=>setChecked(input,checked));sync()};",- source_filter)- bulk = self.page[self.page.index(".fsrcbulk{"):]- self.assertIn("border-bottom:1px solid var(--border-10)", bulk[:bulk.index("}")])+ """弹层顶上给「全选」和「全不选」,它们是对整张清单说的,所以排在逐站那几行上面。++ 真相只有 `hidden` 一份:两颗键改的也是它,不去逐个翻勾选框的 DOM 状态。+ """+ add = self.read_react("follow-manage/add-source.tsx")+ filter_block = add[add.index("function SourceFilter("):add.index("function PickRow(")]+ self.assertIn("onClick={() => onHidden(new Set())}>全选</Button>", filter_block)+ self.assertIn("onClick={() => onHidden(new Set(rows.map((row) => row.provider_label)))}"+ ">全不选</Button>", filter_block)+ self.assertLess(filter_block.index(">全选</Button>"),+ filter_block.index("<Checkbox isSelected={!hidden.has(row.provider_label)}"))def test_follow_filter_rows_are_multi_select_without_bulk_keys(self):"""关注页的作者、来源、标签三行都是多选,行首不配「全选/全不选」:这一页是浏览用的。@@ -3053,7 +3042,7 @@ class FollowWebSourceTests(unittest.TestCase):self.assertNotIn("followAuthor=", self.page.replace("followAuthors=", ""))self.assertNotIn("followProvider=", self.page.replace("followProviders=", ""))render = self.page[self.page.index("function renderFollow("):- self.page.index("function followAuthorGroups(")]+ self.page.index("function followBackfillState(")]self.assertIn('aria-pressed="${followAuthors.has(key)}"', render)self.assertIn('aria-pressed="${followProviders.has(key)}"', render)self.assertIn('selected:followTags.has(key)', render)@@ -3064,27 +3053,35 @@ class FollowWebSourceTests(unittest.TestCase):self.assertIn("params.set('provider',[...followProviders].join(','))", self.page)def test_the_manage_page_is_ordered_by_what_you_do_first(self):- # 只看管理页那一段:同样的标题在别的页面上也出现过,全页搜索会命中错的那个。- page = self.page- body = page[page.index("function renderFollowManage("):- page.index("function wireFollowItems(")]- order = [body.index(f'<h3>{heading}')- for heading in ("添加关注", "关注列表", "凭据")]- self.assertEqual(order, sorted(order), "管理页分区顺序应为 加关注 → 关注列表 → 凭据")+ """三栏按做事的先后排:关注列表在最前,其次添加关注,最后才是来源和凭证。++ 凭据是出问题时才去配的东西,摆在第一栏就等于每次进来都先看一眼跟这次无关的+ 表单。栏的顺序同时也是地址栏里 `tab` 的取值顺序,壳那边照着同一份。+ """+ page = self.read_react("follow-manage/follow-manage-page.tsx")+ self.assertIn("const TABS = [['list', '关注列表'], ['add', '添加关注'], "+ "['source', '来源和凭证']] as const;", page)+ self.assertPageContains("const FOLLOW_MANAGE_TABS=['list','add','source'];")def test_counts_are_a_footnote_not_their_own_section(self):- # 四个数字单独占一张通栏卡片,在宽屏上就是一条空长条。- page = self.page- body = page[page.index("function renderFollowManage("):- page.index("function wireFollowItems(")]- self.assertNotIn("<h3>内容", body)- self.assertIn("条未看", body)+ """四段计数跟在列表末尾,不自己占一整块。++ 单独占一张通栏卡片的话,宽屏上就是一条空长条;而这四个数只在还有未看的时候+ 才有人读,没有未看时它整块不出现。+ """+ source_list = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("{counts.new ? (", source_list)+ self.assertIn("{`未看 ${counts.new} · 已看 ${counts.seen || 0} · 已保存 "+ "${counts.saved || 0} · 已忽略 ${counts.ignored || 0}`}", source_list)+ # 页顶那四格读数是另一件事:它说的是整个关注面的规模,不是某一次筛选的结果。+ self.assertReactContains("follow-manage/follow-manage-page.tsx",+ '<Reading term="关注创作者" figure={groups.length} unit="位" />')def test_the_page_is_one_narrow_column_with_credentials_inline(self):"""侧栏在哪个宽度上都不对:宽屏把凭据推出视线,窄屏又整个塌到最底下。- 三块内容本来就有先后——先添加、再看列表、要配凭据时才往下翻——那就按顺序- 排成一列,宽度跟数据管理页同样收到 812px,别让一行横跨整个显示器。+ 三块内容本来就有先后,那就按顺序排成一列,宽度跟数据管理页同样收窄,别让一行+ 横跨整个显示器。骨架照这个宽度画,换页时不会先宽一下再收回去。"""page = self.pagerule = page[page.index(".followmanage{"):]@@ -3093,19 +3090,18 @@ class FollowWebSourceTests(unittest.TestCase):self.assertIn("margin-left:auto;margin-right:auto", rule)self.assertNotIn("grid-template-columns", rule)self.assertNotIn("faside", page)- self.assertNotIn("@media (max-width:1080px){.followmanage{", page)# 标题与说明跟内容列同宽,否则标题悬空在更宽的位置上。self.assertPageContains(".follow-manage-layout .managetitle,.follow-manage-layout .pagelede{width:min(812px,100%)")self.assertPageContains("document.body.classList.toggle('follow-manage-layout',""decodeURIComponent(location.pathname)==='/follow-manage')")- # 凭据位于「来源和凭证」分区。- body = page[page.index("function renderFollowManage("):- page.index("function wireFollowManage(")]- self.assertLess(body.index("<h3>关注列表</h3>"), body.index("<h3>来源和凭证</h3>"))- credentials = body[body.index("<h3>来源和凭证</h3>"):]- self.assertIn("creds.map(followCredentialRow)", credentials)+ # React 那一侧同宽:`Page` 是这一族页面共用的那一层。+ self.assertReactContains("follow-manage/follow-manage-page.tsx", "<Page>")+ # 凭据在「来源和凭证」那一栏里,每个站一行。+ self.assertReactContains(+ "follow-manage/credentials.tsx",+ "<CredentialSection key={row.provider} row={row} readOnly={readOnly} toast={toast} />")def test_sections_have_a_frame_but_their_rows_do_not(self):"""反模式是卡片**套**卡片,不是「不要任何容器」。@@ -3141,15 +3137,14 @@ class FollowWebSourceTests(unittest.TestCase):self.assertPageContains(".frows>*{min-width:0}")def test_credential_states_are_not_all_the_same_colour(self):- """缺凭据是待办,配好了是完成态。同色就等于没说。"""- page = self.page- colours = {}- for name in ("done", "req", "opt", "none"):- rule = page[page.index(f".fcstate.{name}"):]- colours[name] = rule[:rule.index("}")]- self.assertNotEqual(colours["done"], colours["req"],- "已配置和缺凭据必须能一眼分开")- self.assertNotEqual(colours["done"], colours["none"])+ """缺凭据是待办,配好了是完成态,接不进来是坏掉了。同色就等于没说。"""+ creds = self.read_react("follow-manage/credentials.tsx")+ chip = creds[creds.index("function StateChip("):creds.index("function CredentialForm(")]+ self.assertIn('if (done) return <Chip variant="caption" color="lime">已配置</Chip>;', chip)+ self.assertIn("const color = row.requirement === 'required' ? 'yellow'", chip)+ self.assertIn(": row.requirement === 'blocked' ? 'rose' : 'neutral';", chip)+ colours = set(re.findall(r"['\"](lime|yellow|rose|neutral)['\"]", chip))+ self.assertEqual(len(colours), 4, "四种处境要有四副长相")def test_suggestions_come_from_the_real_library_and_are_clickable(self):"""「猜你喜欢」取账本里真实存在的创作者,点一下直接拿去查。@@ -3157,59 +3152,45 @@ class FollowWebSourceTests(unittest.TestCase):推荐不能退化成 placeholder:占位文字点不了。占位文字只负责说清该输入什么格式(Vercel Forms:以省略号收尾、给出示例样式),不许塞进具体创作者名。"""- self.assertPageContains("function followSuggestionChips(")- self.assertPageContains("followData.suggestions")- self.assertPageContains("item.visits")- self.assertPageContains("data-follow-guess")+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn("const guesses = data.suggestions || [];", add)+ # 点一下就是拿这个名字去查,不是往输入框里填半句话让人再点一次。+ self.assertIn("onClick={() => search(guess.name)}>{guess.name}</Button>", add)+ self.assertIn("title={`浏览历史里出现 ${guess.visits} 次", add)# 不能退回本地文件的创作者:那是「他有谁的文件」,不是「他喜欢谁」。- # 只看关注管理那一段——首页搜索推荐用 facets.creators 是另一回事,合法。- page = self.page- block = page[page.index("function followSuggestionChips("):- page.index("function wireFollowItems(")]- self.assertNotIn("facets.creators", block)- self.assertPageContains("form.requestSubmit()")- page = self.page- body = page[page.index("function renderFollowManage("):- page.index("function wireFollowItems(")]- form = body[body.index('<form class="faddform"'):body.index("</form>")]- hint = form[form.index("placeholder:'") + len("placeholder:'"):]- hint = hint[:hint.index("'")]- self.assertEqual(hint, "粘贴来源链接,或输入创作者名、id…")- self.assertNotIn("${", hint, "占位文字不许由数据拼出来——那就是把推荐塞进去了")- # 这一段里只有一处写死的占位文字。骨架那处 `placeholder:managementPlaceholder(…)`- # 是路由占位结构,不是输入框里的字,用带引号的形式把两者分开数。- self.assertEqual(body.count("placeholder:'"), 1)+ self.assertNotIn("facets", add)+ # 占位文字只说该输入什么格式,不塞具体创作者名。+ self.assertIn("const PLACEHOLDER = '粘贴来源链接,或输入创作者名、id…';", add)+ self.assertEqual(add.count("placeholder={"), 1)+ self.assertEqual(add.count("placeholder='"), 0, "占位文字只有具名常量那一处")def test_every_credential_state_sits_in_the_same_column(self):- """summary 是 .frow 的 flex 子项,默认不撑满整行——于是有折叠体的那几行- 状态贴在名字后面,没折叠体的却靠右,同一列两种对齐。"""- page = self.page- rule = page[page.index(".fcred summary{"):]- rule = rule[:rule.index("}")]- self.assertIn("flex:1 1 auto", rule)- self.assertIn("min-width:0", rule)- # 两个分支必须用同一个状态类,否则同一列出现两套样式和两种对齐。- self.assertNotIn('<span class="fmeta">${esc(label)}</span>', page)- self.assertPageContains('<span class="fcstate none">${esc(label)}</span>')- state = page[page.index(".fcstate{"):]- self.assertIn("margin-left:auto", state[:state.index("}")])- # 折叠/展开两种几何下 summary 的可用宽度必须一致,否则状态列差一个 gap。- self.assertPageContains("details.fcred{display:block;min-width:0}")+ """能填的那几行有折叠体、不能填的没有,但抬头是同一段。++ 抬头一旦写成两份,两个分支就会各自漂:一边状态贴着名字,一边靠右,同一列两种+ 对齐。所以 `head` 只算一次,两个分支都摆同一个它。"""+ creds = self.read_react("follow-manage/credentials.tsx")+ section = creds[creds.index("function CredentialSection("):creds.index("export function Credentials(")]+ self.assertIn("const head = (", section)+ self.assertEqual(section.count("{head}"), 2, "两个分支要摆同一段抬头")+ self.assertEqual(section.count("<StateChip row={row} />"), 1, "状态徽章只该有一处")+ # 抬头自己是 flex 行:名字可缩、图标和徽章不缩,名字再长也不把状态挤出这一列。+ self.assertIn('<span className="flex min-w-0 items-center gap-2">', section)def test_the_add_box_carries_no_standing_how_to_prose(self):# 空态保留状态和结果去向;操作说明常驻就是噪音。- page = self.page- body = page[page.index("function renderFollowManage("):- page.index("function wireFollowItems(")]- self.assertNotIn("要一次加多个就每行一条", body)- self.assertNotIn("把链接或名字粘进上面的输入框", body)- self.assertIn("emptyState('rss','还没有关注来源'", body)- self.assertIn("关注来源及其检查状态会显示在这里。", body)+ add = self.read_react("follow-manage/add-source.tsx")+ sources = self.read_react("follow-manage/source-list.tsx")+ self.assertNotIn("要一次加多个就每行一条", add)+ self.assertNotIn("把链接或名字粘进上面的输入框", add)+ self.assertIn('<EmptyState icon={RiRssLine} title="还没有关注来源">'+ "关注来源及其检查状态会显示在这里。</EmptyState>", sources)def test_the_panel_cites_the_registered_report_design_source(self):- self.assertPageContains("docs/reference-sources.json")- self.assertPageContains("vercel-report-design")- self.assertNotIn("e3d624baaf29dc1fc645aff3e38f03e564d2d6b1", self.page)+ page = self.read_react("follow-manage/follow-manage-page.tsx")+ self.assertIn("docs/reference-sources.json", page)+ self.assertIn("vercel-report-design", page)+ self.assertNotIn("e3d624baaf29dc1fc645aff3e38f03e564d2d6b1", page)def test_the_type_scale_has_no_arbitrary_in_between_sizes(self):"""同一份文档点名的另一条:细小灰字加随意字号。@@ -3229,254 +3210,215 @@ class FollowWebSourceTests(unittest.TestCase):def test_credential_rows_say_whether_they_are_needed_at_all(self):# 「未配置」本身不是信息:要说清需不需要、需要什么、去哪儿拿。- self.assertPageContains("required:['需要'")- self.assertPageContains("none:['不需要'")- self.assertPageContains("blocked:['接不进来'")- self.assertPageContains("row.where")- self.assertPageContains("row.howto")+ data = self.read_react("follow-manage/follow-manage.ts")+ self.assertIn("required: '需要', optional: '可选', none: '不需要', blocked: '接不进来',", data)+ creds = self.read_react("follow-manage/credentials.tsx")+ # 需要什么:缺的字段名直接列出来,不让人点开才知道。+ self.assertIn('<Chip variant="caption" color="rose">{`缺 ${row.missing.join(\'、\')}`}</Chip>', creds)+ # 去哪儿拿:说明加一条跳到那个站自己的页面的链接。+ self.assertIn("{row.where ? <> <ExternalLink href={row.where}>去取</ExternalLink></> : null}", creds)+ self.assertIn("{row.howto ? <Help>{row.howto}</Help> : null}", creds)def test_the_page_says_where_the_credential_actually_lands(self):+ creds = self.read_react("follow-manage/credentials.tsx")# 从 Mac 浏览 Windows 实例时,凭据落在 Windows 上——不能写成「本机」。- self.assertPageContains("运行 Peach 的电脑")+ self.assertIn("存成运行 Peach 那台电脑上的一个文件。", creds)# Windows 那句要把后果说出来,不能只报一个「不收紧权限」的动作。- self.assertPageContains("在 Windows 上它不额外加锁,能登录那台电脑的人都能打开")- self.assertPageContains("row.path")- self.assertPageContains("row.world_readable")+ self.assertIn("在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", creds)+ self.assertIn('<p className="font-mono text-caption-1-regular break-all text-text-tertiary">{row.path}</p>',+ creds)+ self.assertIn('{row.world_readable ? <Note tone="error" title="凭据文件权限过宽">', creds)def test_credential_information_card_stays_inside_the_viewport(self):- self.assertPageContains('class="fdescinfo" data-fdesc-tooltip')- self.assertPageContains('aria-label="凭据存放位置说明"')- self.assertPageContains('id="follow-credential-tooltip" role="dialog"')- self.assertPageContains("trigger.setAttribute('aria-controls',panel.id)")- self.assertPageContains("panel.setAttribute('popover','manual')")- self.assertPageContains("event.key==='Escape'")- self.assertPageContains("max-width:calc(100vw - 16px)")- self.assertPageContains("innerWidth-width-8")-- def test_author_aliases_use_the_real_geist_collapse_motion(self):+ """存放位置是一段常驻说明,排在凭据列表末尾,不是一枚要点开的浮层。++ 浮层要自己算位置才不越界,而这段字每次都该被读到——它讲的是凭据会落在哪台机器、+ 权限有多宽。排进正文流就没有越界这回事了。"""+ creds = self.read_react("follow-manage/credentials.tsx")+ tail = creds[creds.index("export function Credentials("):]+ self.assertIn('<div className="flex flex-col gap-1 rounded-2lg bg-background-secondary-default px-3 py-2">',+ tail)+ self.assertIn("<b className=\"text-body-medium text-text-primary\">{STORAGE_TITLE}</b>", tail)+ self.assertIn("{`凭据文件在 ${data.root}`}", tail)+ for machinery in ("popover", "role=\"dialog\"", "innerWidth"):+ self.assertNotIn(machinery, creds, "这段说明不该有浮层定位逻辑")++ def test_expanding_prose_animates_a_measured_height(self):+ """展开是量出来的高度过渡,不是一帧之间蹦出来。++ `height:auto` 不可过渡,所以要先量再写值;收起那半程也要把正文设成 `inert`,+ 否则键盘还能 Tab 进一段看不见的表单。"""self.assertPageContains(".fcollapse{overflow:hidden;transition:height .2s ease-in-out}")self.assertPageContains("summary.setAttribute('aria-controls',body.id)")self.assertPageContains("summary.setAttribute('aria-expanded',String(expanded))")self.assertPageContains("body.inert=!expanded")self.assertPageContains("body.inert=true")self.assertPageContains("body.style.height=body.scrollHeight+'px'")- # chevron 是 16px SVG,不是靠字号撑大的 › 字形:本页字阶只有三档,- # 图标尺寸混进去就会把「没有随意字号」这条门槛顶穿。- self.assertPageContains(".faliasmanager>summary>svg{flex:none;width:16px;height:16px")- self.assertPageLacks('.faliasmanager>summary::before{')- self.assertPageContains("transition:transform .2s ease-in-out")- # 内边距放在内层 .fcollapsebody:.fcollapse 自己带 padding 时 border-box 让- # height 过渡卡在 20px,收起末尾会跳一下,展开开头也先露出一截空白。- self.assertPageContains("inner.className='fcollapsebody'")- self.assertPageContains(".faliasmanager .fcollapsebody{padding:4px 16px 16px}")- self.assertPageLacks(".faliasmanager>.fcollapse{padding")- # 别名行是 Fieldset 的最后一行:负外边距吃掉 .fsec 的底部内边距,收起时底角与- # 卡片同心,否则整行下面多出一层 16px 的空带。- self.assertPageContains(".faliasmanager{margin:12px -16px -16px;")- self.assertPageContains('.faliasmanager>summary[aria-expanded="false"]{border-radius:0 0 calc(var(--surface-radius) - 1px) calc(var(--surface-radius) - 1px)}')- self.assertPageContains(".faliasmanager .fcollapsebody{padding:4px 13px 14px}")-- def test_credential_rows_share_the_alias_collapse_motion(self):- """凭据行和作者别名共用一份 Collapse 实现。-- `details.fcred` 是 block 布局才接得上:flex 行布局对不上 Collapse 的高度过渡。- 展开一段正文这件事不该有第二套开合逻辑。- """- self.assertPageContains("export function wireCollapse(root,selector,idPrefix,triggerSelector='summary')")- self.assertPageContains("wireCollapse(root,'details.fauthor','follow-author-collapse','[data-follow-author-toggle]')")- self.assertPageContains("wireCollapse(root,'details.faliasmanager','follow-alias-collapse')")- self.assertPageContains("wireCollapse(root,'details.fcred','follow-cred-collapse')")self.assertEqual(self.page.count("body.style.height=body.scrollHeight+'px'"), 1,"开合逻辑只该有一份")- # 内边距归 .fcollapsebody:留在 .fcred[open] 上的话,收起那一帧高度已经归零、- # 内边距还在,行尾会跳一下。- self.assertPageContains(".fcred .fcollapsebody{padding:8px 4px 12px}")- self.assertPageLacks(".fcred[open]{padding-bottom")- # 首段自己的上边距换成容器内边距,否则它跟容器外边距合并,scrollHeight 量矮一截。- self.assertPageContains(".fcred .fcollapsebody>p:first-child{margin-top:0}")+ # 箭头跟着一起转:正文在动、指示方向的那一枚却一帧跳过去,两处说的就不是同一件事。+ self.assertIn("rotate-90 transition-transform", self.read_front("react/settings/section.tsx"))++ def test_credential_rows_expand_through_the_shared_collapse(self):+ """展开一段正文这件事不该有第二套开合逻辑。++ React 这边的 `Disclosure` 把开合交回遗留的 `setCollapseOpen`:同一份量高度、同一段+ 过渡、同一套 `aria-expanded`/`inert`。内边距放在里层,高度才收得到 0——留在外层的话+ border-box 会让它卡在一截空白上,收尾跳一下。"""+ section = self.read_front("react/settings/section.tsx")+ self.assertIn("import { setCollapseOpen } from '@peach/legacy/ui';", section)+ self.assertIn("setCollapseOpen(details.current, body.current, !open);", section)+ self.assertIn('<div ref={body} id={id} inert={!open}>', section)+ self.assertIn('<div className="flex flex-col gap-2 pt-3">{children}</div>', section)+ creds = self.read_react("follow-manage/credentials.tsx")+ self.assertIn("import { Disclosure, ErrorText, ExternalLink, Help } from '../settings/section';", creds)+ self.assertIn("<Disclosure summary={credentialDone(row) ? '修改凭据' : '填写凭据'}", creds)+ self.assertIn("defaultOpen={row.requirement === 'required' && !credentialDone(row)}>", creds)def test_credential_rows_carry_the_same_favicon_as_their_source(self):"""凭据配的就是那个站,用来源行同一枚 favicon 指认它。"""- self.assertPageContains(- 'const mark=`<span class="ficonslot" aria-hidden="true">${sourceIcon(row.provider)}</span>`')- self.assertPageContains('<div class="frow fcred none">${mark}<b>${esc(row.provider_label)}</b>')- self.assertPageContains("<summary>${mark}<b>${esc(row.provider_label)}</b>")+ creds = self.read_react("follow-manage/credentials.tsx")+ self.assertIn("import { SourceIcon } from './source-view';", creds)+ self.assertIn("<SourceIcon provider={row.provider} />", creds)# 槽位占住 14px,不看里面有没有图:没登记 favicon 的站本来就没有,取不下来的- # 那些还会被 data-drop="self" 整个丢掉,两种情况都会让名字的左边缘参差。- self.assertPageContains(".fcred .ficonslot{flex:none;display:block;width:14px;height:14px}")- self.assertPageContains(".fcred .ficon{margin-right:0}")- self.assertIn('data-drop="self"', self.page)+ # 那些还会被整个丢掉,两种情况都会让名字的左边缘参差。+ self.assertIn('<span className="inline-flex size-3.5 shrink-0 items-center justify-center">', creds)+ # 取不下来的那一枚自己撤掉,槽位留着:遗留层靠 `data-drop="self"` 做这件事,React 这边+ # 是组件自己记下失败。两条路都不能把一个碎图标留在名字左边。+ self.assertIn("onError={() => setBroken(true)}", self.read_react("follow-manage/source-view.tsx"))def test_the_follow_list_has_a_default_view_and_a_table_view(self):- """两个互斥视图用 Switch(共享 name 的 radio),不是 Toggle。+ """同一批来源两种看法:默认按作者分卡,表格一行一条。- 默认视图按作者分卡,表格视图一行一条来源。两种视图的 DOM 不同,切换走排序那条- 重画路径:拿手里这份 followData 重画,不重取接口、不换骨架;勾选与收起的作者- 各记在自己的 Set 里,重画后都还在。+ 两种视图共用一个勾选集合和一份排序状态——换视图不该让「我选中的那批」或者+ 「现在按什么排」变一次。版式是这台浏览器的个人偏好,存进 `appSettings`,不进地址栏。"""- self.assertPageContains(- "const FOLLOW_LAYOUTS=[['default','默认视图','layout-grid'],['table','表格视图','table']]")- self.assertPageContains('<symbol id="i-table" viewBox="0 0 24 24">')- self.assertPageContains(- "iconSwitchHtml('follow-layout','关注列表视图',FOLLOW_LAYOUTS,followListLayout()")- self.assertPageContains("{attr:'data-follow-layout'}")- self.assertPageContains("${followLayoutButtons()}")- self.assertPageContains("wireIconSwitch(root,'data-follow-layout',setFollowListLayout)")- self.assertPageContains('<div class="frows fsources" data-layout="${followListLayout()}">${sourceList}</div>')- self.assertPageContains(- "const content=table?followSourceTable(groups,true,followManagePage,size)")- # 切换只换列表本身:页头那枚开关留在原地,滑块才有得滑。- self.assertPageContains("const list=document.querySelector('#stats .fsources');\n"- " if(!list){renderFollowManage(followCredentials||{});return}\n"- " refreshFollowSourcePage();")- self.assertPageContains("groups.slice(start,end).map(followAuthorBlock)")- self.assertPageContains("const selectedIds=()=>(followData.sources||[]).filter(source=>followSourceSelection.has(source.id)).map(source=>source.id);")- self.assertPageContains('class="selectiondock followselectiondock" role="group" aria-label="关注来源批量操作" hidden')- self.assertPageContains("const FOLLOW_PAGE_SIZES=[10,20,50,100];")- self.assertPageContains("const sourceList=followSourceListHtml(groups);")- self.assertPageContains("const collapsed=collapsedFollowAuthors.has(key);")- self.assertPageContains("group.map(source=>followSourceRow(source,true))")- self.assertPageContains("data-follow-selection-remove")- self.assertPageContains("data-follow-author-toggle")- self.assertPageContains("actions:root.querySelectorAll('[data-follow-selection-action]'),locked:!!followRuntime?.ledger_read_only")- # 选择要留下来,和 JAV 版式一样存进设置;存过旧值的机器落回默认视图。- self.assertPageContains("followLayout:'default'")- self.assertPageContains("appSettings.followLayout=value")- self.assertPageContains(- "allowedSetting(appSettings.followLayout,FOLLOW_LAYOUTS.map(([k])=>k),'default')")- # 表格在任何宽度都成立,开关不再按宽度收起。- self.assertPageLacks('.fsechead .iconswitch{display:none}')- # 宽屏两栏只归默认视图。- self.assertBoardContains(- '.followmanage .fsources[data-layout="default"] .board-follow-list{grid-template-columns:repeat(2,minmax(0,1fr))')-- def test_selected_rows_keep_their_top_edge_and_row_icons_share_one_stroke(self):- """选中行四边都是蓝框:相邻行那条灰色上边线权重更高,会盖住选中框的上沿,删掉。-- 行里的刷新与移除键和列表其它图标同一条线宽;别名行前面是这位作者的头像。+ self.assertReactContains(+ "follow-manage/follow-manage.ts",+ "export const LAYOUTS = [['default', '默认视图'], ['table', '表格视图']] as const;")+ sources = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("const asTable = layout === 'table';", sources)+ self.assertIn("aria-label={LAYOUTS[0][1]} aria-pressed={!asTable}", sources)+ self.assertIn("aria-label={LAYOUTS[1][1]} aria-pressed={asTable}", sources)+ # 勾选集合只有一份,两种视图都读它;表格那份 rowSelection 是由它派生的投影。+ self.assertIn("const rowSelection: RowSelectionState = useMemo(\n"+ " () => Object.fromEntries([...selected].map((id) => [String(id), true])), [selected]);",+ sources)+ self.assertIn("const pageIds = asTable", sources)+ # 排序也只有一份:两种视图读同一个 sort/dir,表格自己不再排一遍。+ self.assertIn("manualSorting: true,", sources)+ # 版式存进设置,不写地址栏。+ page = self.read_react("follow-manage/follow-manage-page.tsx")+ self.assertIn("savePreference({ layout: next });", page)+ self.assertNotIn("go({ layout", page)+ self.assertIn("const [layout, setLayout] = useState<Layout>", page)++ def test_selected_rows_are_marked_without_repainting_the_row_behind_the_table(self):+ """选中与否由每行自己说。++ 卡片那边行底色归 `data-selected`,表格那边归 BoardUI Table 自己的选中态——在它上面+ 再铺一层,就等于把它的 hover 与焦点态盖掉一遍。"""- self.assertNotIn('.followmanage .board-follow-list .fsource.frow+.fsource.frow{border-top:',- (ROOT / 'web' / 'board.css').read_text(encoding='utf-8'))- self.assertBoardContains('.followmanage .frowicon svg{stroke-width:2}')- self.assertBoardContains('.faliasidentity>.favatar{width:24px;height:24px;font-size:var(--fs-xs)}')- self.assertPageContains('<div class="faliasidentity">${followAliasAvatar(group)}<b>${esc(group.canonical_name)}</b>')- self.assertPageContains('aria-label="待合并创作者别名"')- self.assertPageContains('aria-label="已保存创作者别名"')- self.assertPageContains('data-follow-alias-all')- self.assertPageContains("confirmLabel:selectedOnly?'合并所选别名':'合并全部别名'")- self.assertPageContains('data-follow-alias-selected disabled>合并所选(0)')- self.assertPageContains('data-follow-alias-select-all aria-label="全选待合并别名"')- self.assertPageContains("aliasSelectAll.indeterminate=count>0&&count<fields.length")- self.assertPageContains(".filter(button=>!selectedOnly||button.closest('tr').querySelector('[data-follow-alias-select]').checked)")- self.assertPageContains("pending.shift();item.button.closest('tr')?.remove();syncAliasSelection();")- self.assertPageContains("const sources=(followData?.sources||[]).filter(source=>source.author_key===`name:${group.canonical_key}`);")+ sources = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("<div data-selected={selected || undefined}", sources)+ self.assertIn("data-selected:bg-background-secondary-default", sources)+ # 表格行不带自己的底色类:那一层归 Table。+ table_block = sources[sources.index("{asTable ? ("):]+ self.assertNotIn("data-selected:bg", table_block)+ self.assertIn("<TableRow key={row.id} id={row.id}>", table_block)def test_both_views_render_the_same_source_cells(self):- """一条来源的格子只有一份模板:默认视图排成一行,表格视图各放一个 <td>。+ """一条来源的格子只有一份写法:默认视图排成一行,表格视图各放一个单元格。- 勾选、检查、移除的 data 属性两边一样,wireFollowManage 不分视图;表格里的- `<tr>` 顶着 `fsource` 类,`field.closest('.fsource')` 在两种视图里都找得到行。+ 站标、外链、状态徽章、上次检查这四样两边都从同一组组件和同一个纯函数来——各写一份+ 的话,同一条来源在两个视图里迟早读出两个样子。"""- self.assertPageContains("function followSourceCells(source,selectable=false){")- self.assertPageContains(- "return {className:`fsource${bad?' bad':''}${source.enabled?'':' disabled'}`,"- "check,name,provider,status,checked,actions,error};")- self.assertPageContains("const cell=followSourceCells(source,selectable);\n return `<div class=\"frow ${cell.className}\">")- self.assertPageContains("${cell.provider(selectable?cell.status:'')}")- self.assertPageContains("return `<tr class=\"${cell.className}\">")- self.assertPageContains('<td class="ftcheck">${cell.check}</td>')- self.assertPageContains('<td class="ftname">${cell.name}${cell.error}</td>')- self.assertPageContains('<td class="ftprovider">${cell.provider(\'\',true)}</td>')- self.assertPageContains('<td class="ftstatus">${cell.status}</td>')- self.assertPageContains('<td class="ftactions">${cell.actions}</td></tr>')- self.assertPageContains("selectable.forEach(field=>field.closest('.fsource').classList.toggle('selected',field.checked))")- # 时间格两边同一个写法,<i> 只是包一层,不是排版意图。- self.assertPageContains('<i class="fyear">${esc(text.slice(0,5))}</i>${esc(text.slice(5,10))}<span class="fclock">${esc(text.slice(10))}</span>')- self.assertPageContains(".fsource .fchecked .fyear{font-style:normal}")- self.assertPageContains('<span class="fmeta fprovider${')- self.assertPageContains('title="${esc(source.provider_label)}">')- self.assertPageContains("function sourceIcon(provider){return SOURCE_ICON_PROVIDERS.has(provider)")+ sources = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("import { AuthorAvatar, SourceIcon, SourceLink, StatusBadge } from './source-view';",+ sources)+ for shared, times in (("<SourceLink source=", 2), ("<StatusBadge source=", 2),+ ("checkedText(", 2), ("<AuthorAvatar ", 2)):+ self.assertGreaterEqual(sources.count(shared), times,+ f"两种视图都要用同一份 {shared!r}")+ # 行上那两个动作也是同一对,无障碍名称的写法也一样。+ self.assertEqual(sources.count("aria-label={`移除 ${source.label}`}"), 1)+ self.assertEqual(sources.count("aria-label={`移除 ${context.row.original.source.label}`}"), 1)+ view = self.read_react("follow-manage/source-view.tsx")+ self.assertIn("export function SourceLink(", view)+ self.assertIn("export function StatusBadge(", view)+ self.assertIn("export function SourceIcon(", view)+ self.assertIn("export function AuthorAvatar(", view)def test_the_table_view_follows_the_boardui_data_table(self):- """表格视图的数值取自 boardui.com/components/data-table 的 `.bui-table`,登记在 docs/BOARD_UI.md。+ """表格视图用的就是 boardui 注册表里 `table` 那一份源码,不是照着它再写一张表。- 表头与格子 10px 12px 内边距、14/20、竖直居中;表头 500 字重、次要字色、次级底色、- 上下各一条分隔线;正文行只有一条下边线。它有而这里不要的三样写在 followSourceTable- 的注释里:页码、表尾密度档、表头全选。窄屏照它的做法横向滚动,不折叠列。+ `data-table` 条目本身是 `registry:block`,只有一份示例、依赖的条目 Peach 都没有;它演示+ 的正是「`table` 配 TanStack Table」这套接法,所以这里照接法做、把 `table` 逐字搬进来。+ 外观全在 `.bui-table` 那一组规则里,一起逐字搬进 `react/styles.css`。"""- self.assertPageContains(- '<div class="ftableframe"><div class="ftablewrap"><table class="ftable"><thead><tr>')- self.assertPageContains('data-follow-select-all aria-label="全选本页来源"')- self.assertPageContains('<th scope="col" class="ftcheck">')- self.assertPageContains("${followTableHeader('source','来源')}${followTableHeader('provider','站点')}${followTableHeader('status','状态')}")- self.assertPageContains('<th scope="col"><span class="sr-only">操作</span></th></tr></thead><tbody>${rows}</tbody></table></div></div>')- self.assertPageContains(".ftablewrap{overflow-x:auto;overscroll-behavior-x:contain}")- self.assertPageContains(- ".ftable{width:100%;min-width:760px;border-collapse:collapse;text-align:left;font-size:var(--fs-md);line-height:20px}")- self.assertPageContains(".ftable th,.ftable td{padding:10px 12px;vertical-align:middle}")- self.assertPageContains(".ftable th{font-weight:500;white-space:nowrap;color:var(--muted);background:var(--sunk);")- self.assertPageContains("border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}")- self.assertPageContains(".ftable tbody tr{border-bottom:1px solid var(--line-soft)}")- self.assertPageContains(".ftable tbody tr:last-child{border-bottom:0}")- # Board 层换成 boardui 同名 token。外框是 primary 底:Board 层的 --ground 就是 secondary,- # 和表头同色,表头那条带子会消失;boardui 的表格本来就摆在 primary 面上。- # 外框管边线与圆角,里层管横向滚动与两端渐隐:右边线不跟内容一起淡掉。- self.assertBoardContains(- ".followmanage .ftableframe{border:1px solid var(--color-separator-border);border-radius:var(--surface-radius);"- "background:var(--color-background-primary-default);overflow:hidden}"- ".followmanage .ftablewrap{border-radius:0;background:transparent}.followmanage .ftable th{border-top:0}")- # 外框四边自己收口:它离卡片脚还隔着一层内边距,缺了底边和下面两个圆角就没有收尾。- self.assertNotIn(".followmanage .fmain>.fsec:has(>.fsecfoot) .ftableframe",- (ROOT / "web" / "board.css").read_text(encoding="utf-8"))- self.assertBoardContains(- ".followmanage .ftable tr.fsource.selected,.followmanage .ftable tr.fsource.selected:hover"- "{background:color-mix(in srgb,var(--tungsten) 8%,var(--color-background-primary-default));border-color:var(--color-separator-border);box-shadow:none}")- # 表格滚动层与复核页标签条同一份接线:两端渐隐、鼠标停在上面时竖向滚轮转横向。- components = (ROOT / "web" / "js" / "ui-components.js").read_text(encoding="utf-8")- self.assertIn("const BOARD_EDGE_SCROLLERS='.reviewtabs,.ftablewrap,", components)- self.assertIn("if(el.matches(BOARD_EDGE_SCROLLERS)){", components)- self.assertIn("'.reviewtabs','.junkfilters','.ftablewrap',", components)- self.assertBoardContains(- ".followmanage .ftable th{color:var(--color-text-tertiary);background:var(--color-background-secondary-default);border-color:var(--color-separator-border)}")+ boardui = ROOT / "frontend" / "src" / "react" / "boardui"+ origin = (boardui / "ORIGIN.md").read_text(encoding="utf-8")+ self.assertIn("| `table` |", origin)+ self.assertIn("`components/base/table/table.tsx` |", origin)+ self.assertIn("| `data-table`", origin)+ copied = (boardui / "components" / "base" / "table" / "table.tsx").read_bytes()+ digest = hashlib.sha256(copied).hexdigest()+ recorded = (boardui / "UPSTREAM.sha256").read_text(encoding="utf-8")+ self.assertIn(f"{digest} components/base/table/table.tsx", recorded,+ "逐字复制的源码要和 UPSTREAM.sha256 对得上")+ # 外观不在这里重写:页面只用组件,规则逐字落在 styles.css。+ styles = self.read_front("react/styles.css")+ self.assertIn(".bui-table th {", styles)+ self.assertIn("border-top: 1px solid var(--color-separator-border);", styles)+ self.assertIn(".bui-table tbody tr:not(:last-child) {", styles)+ sources = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("import {\n Table, TableBody, TableCell, TableColumn, TableHeader, TableRow,\n"+ "} from '@/components/base/table/table';", sources)+ self.assertNotIn("<table", sources, "表格标签归复制过来的那份组件")+ self.assertIn('<Table aria-label="关注来源"', sources)+ self.assertIn('<TableBody renderEmptyState={() => \'这一页没有来源\'}>', sources)def test_the_table_header_sorts_by_the_toolbar_sort_keys(self):- """表头五列与工具栏下拉是同一份维度:作者、上次检查按作者分组比,来源、站点、状态- 按单条来源比,表格此时按那一列拉平排。+ """表头五列与工具栏下拉是同一份维度,点列头就是换工具栏里那一档。- 再点当前列翻方向,点另一列换列并回到该列默认方向;`aria-sort` 只标当前列,- 方向字形沿用工具栏那对箭头。状态正序是「先看要处理的」:失败、暂停、未检查、正常。+ 排序算在**全集**上,分页只切最后一步:TanStack Table 拿到的 `data` 已经是排好的全部+ 结果,`manualSorting` 让它别再排一遍——否则「排序」就退化成「只排当前页」,翻页看到+ 的不是真的下一批。"""- self.assertPageContains("const FOLLOW_TABLE_SORT={author:'name',source:'source',provider:'provider',status:'status',checked:'checked'};")- self.assertPageContains("${followTableHeader('author','创作者')}")- self.assertPageContains("${followTableHeader('checked','上次检查')}")- self.assertPageContains("const bySource=FOLLOW_SOURCE_SORTS[followManageSort];")- self.assertPageContains("groups.forEach(group=>group.sort((a,b)=>flip*bySource(a,b)));")- self.assertPageContains("return groups.sort((a,b)=>flip*bySource(a[0],b[0])||byName(a,b));")- self.assertPageContains("const pairs=groups.flatMap(group=>group.map(source=>[source,group]));")- self.assertPageContains("pairs.sort(([a],[b])=>flip*bySource(a,b));")- self.assertPageContains("if(state==='error'||state==='unauthorized')return 0;\n if(!source.enabled)return 1;\n return state==='ok'?3:2;")- self.assertPageContains(- '<th scope="col" aria-sort="${active?(ascending?\'ascending\':\'descending\'):\'none\'}">'- '<button type="button" class="ftsort" data-follow-table-sort="${sort}" aria-label="按${label}排序">'- "${label}${icon(ascending?'arrow-up':'arrow-down')}</button></th>")- self.assertPageContains(- "if(followManageSort===sort)followManageDir=followManageDir==='asc'?'desc':'asc';\n"- " else{followManageSort=sort;followManageDir=FOLLOW_SORT_DEFAULT_DIR[sort]||'desc'}\n"- " routeFollowManageSort();")- self.assertPageContains(- 'th[aria-sort="ascending"] .ftsort svg,th[aria-sort="descending"] .ftsort svg{opacity:1}')- self.assertPageContains(".ftsort:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}")+ data = self.read_react("follow-manage/follow-manage.ts")+ self.assertIn("export const COLUMN_SORT = {\n"+ " author: 'name', source: 'source', provider: 'provider', status: 'status',"+ " checked: 'checked',\n} as const satisfies Record<string, SortKey>;", data)+ # 状态正序是「先看要处理的」:失败、暂停、未检查、正常。+ self.assertIn("if (state === 'error' || state === 'unauthorized') return 0;", data)+ self.assertIn("if (!source.enabled) return 1;", data)+ self.assertIn("return state === 'ok' ? 3 : 2;", data)+ sources = self.read_react("follow-manage/source-list.tsx")+ # 两边共用一张对照表,方向也共用一个值。+ self.assertIn("const SORT_COLUMN = Object.fromEntries(\n"+ " Object.entries(COLUMN_SORT).map(([column, sort]) => [sort, column]),\n"+ ") as Partial<Record<SortKey, string>>;", sources)+ self.assertIn("const sortable = header.column.id in COLUMN_SORT;", sources)+ self.assertIn("allowsSorting={sortable}", sources)+ self.assertIn("manualSorting: true,", sources)+ # 排好的是全集,分页模型只负责切窗口。+ self.assertIn("const rows = useMemo(() => tableRows(groups, sort, dir, aliases),", sources)+ self.assertIn("data: rows,", sources)+ self.assertIn("getPaginationRowModel: getPaginationRowModel(),", sources)+ # 点列头改的是页面那份 sort/dir,卡片视图跟着一起变。+ self.assertIn("const key = COLUMN_SORT[first.id as keyof typeof COLUMN_SORT];\n"+ " if (key) onSort(key, first.desc ? 'desc' : 'asc');", sources)def test_the_layout_switch_lines_up_with_the_sort_box(self):- """开关和排序框、按钮同处分区标题行,高度必须是同一档。"""- rule = self.page[self.page.index(".fsechead .iconswitch{"):]- rule = rule[:rule.index("}")]- self.assertIn("flex:none", rule)- self.assertIn("padding:2px", rule)- # 2px 内边距上下各一份,再加外框自己的 1px 边,正好凑齐同排控件的 --control-h。- self.assertPageContains(".fsechead .iconswitch label{width:34px;height:32px}")- self.assertPageContains(".fsechead .fbtn,.fsecfoot .fbtn{height:var(--control-h)}")- self.assertPageContains(".fmanagesort .gselectfield{height:var(--control-h);")+ """版式开关、排序框和方向键同处一行,高度必须是同一档。"""+ sources = self.read_react("follow-manage/source-list.tsx")+ toolbar = sources[sources.index('<h3 className="mr-auto text-headline-medium text-text-primary">关注列表</h3>'):]+ toolbar = toolbar[:toolbar.index("{/* 这一趟在后台跑")]+ # 按钮一律 small(32px 高),下拉一律 sm:同一行里只许有一档高度。+ self.assertEqual(toolbar.count('size="small"'), 5, "这一行的按钮都走 small 档")+ self.assertEqual(toolbar.count('size="sm"'), 1, "排序下拉走 sm 档")+ self.assertNotIn('size="medium"', toolbar)+ self.assertNotIn('size="xs"', toolbar)def test_the_sort_direction_key_is_a_square_icon_button(self):"""纯图标键是正方形,边长与同排控件同高,图标不被内边距压扁。@@ -3494,46 +3436,32 @@ class FollowWebSourceTests(unittest.TestCase):判据是这一行自己的宽度:同一个视口下侧栏收起与展开留给它的宽度差两百像素,视口断点会在一边早折、在另一边照样超框。"""- self.assertPageContains('<div class="fsechead" data-collapse-toolbar>')- self.assertPageContains("[data-collapse-toolbar]{container-type:inline-size}")- self.assertPageContains("@container (max-width:740px){")- self.assertPageContains("[data-collapse-toolbar] [data-collapse-label]{display:none}")- self.assertPageContains(- "[data-collapse-toolbar] :is(.fbtn,.geist-button):has(>[data-collapse-label])"- "{width:var(--control-h);padding:0}")- # 下拉收掉当前值和 chevron,框内前缀图标移到正中成为它唯一的字形。- self.assertPageContains(- "[data-collapse-toolbar] [data-collapse-field] .gselectfield{width:var(--control-h);padding:0}")- self.assertPageContains(- "[data-collapse-toolbar] [data-collapse-field] .gselectfield>*{display:none}")- self.assertPageContains(- "[data-collapse-toolbar] [data-collapse-field]>svg{left:50%;transform:translateX(-50%)}")- # 收起后名字只剩这两样,所以文字标签只许 display:none。- self.assertNotIn('data-follow-unread-days', self.page)- self.assertPageContains('<span class="fmanagesort" data-collapse-field title="关注列表排序">')- self.assertPageContains('title="检查全部" aria-label="检查全部"')- self.assertPageContains('<span data-collapse-label>检查全部</span>')- # 忙态换上的那句也是可收的文字;少了标记,检查中的按钮比同排宽一截。- self.assertPageContains("'<span data-collapse-label>检查中…</span>'")- # 收哪一行也要声明:全站只有这一条工具行接进来。纯图标键和分段控件本来就没有- # 字可收,只有文字的按钮(复核页那条批量工具条)收起来是一排认不出的空框。- self.assertEqual(self.page.count(" data-collapse-toolbar>"), 1)-- def test_alias_count_badge_is_neutral_metadata(self):- """「3 组」只是计数,不是待处理提醒:徽章走 Geist gray badge 的中性灰。-- 实测 Geist Badge gray:#1A1A1A 底、#292929 细边、#A1A1A1 字、6px 圆角。此前用- 蓝底蓝字的 pill,和主按钮同色,读起来像有事要处理。- """- badge = self.page[self.page.index(".faliasbadge{"):]- badge = badge[:badge.index("}")]- self.assertIn("border:1px solid var(--border-15)", badge)- self.assertIn("border-radius:var(--control-radius)", badge)- self.assertIn("background:var(--overlay-5)", badge)- self.assertIn("color:var(--muted)", badge)- self.assertIn("font-weight:400", badge)- self.assertNotIn("tungsten", badge)- self.assertNotIn("pill-radius", badge)+ sources = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("const TOOLBAR_COMPACT_PX = 740;", sources)+ self.assertIn("const watch = new ResizeObserver(() => "+ "setCompact(node.clientWidth < TOOLBAR_COMPACT_PX));", sources)+ self.assertIn("const [toolbar, compact] = useCompactToolbar();", sources)+ self.assertIn('<div ref={toolbar} className="flex flex-wrap items-center gap-2">', sources)+ # 塌下去走 `Button` 自己的 `iconOnly`:从外面改它的内外边距会被 `no-restyle` 挡下。+ self.assertEqual(sources.count("iconOnly={compact}"), 2)+ self.assertNotIn("className={COLLAPSING", sources)+ # 收起后名字还有人说,也还有字形可看,不能剩一个空框。+ self.assertIn('aria-label="检查全部" iconOnly={compact}', sources)+ self.assertIn("aria-label={allCollapsed ? '全部展开' : '全部收起'}", sources)+ self.assertIn("leadingIcon={allCollapsed ? RiArrowDownSLine : RiArrowUpSLine}", sources)++ def test_alias_count_is_neutral_metadata(self):+ """「3 组」只是计数,不是待处理提醒:它是次要字色的一行小字,不是徽章。++ 此前是蓝底蓝字的 pill,和主按钮同色,读起来像有事要处理。要处理的事由旁边那两个+ 合并按钮说。"""+ alias = self.read_react("follow-manage/alias-manager.tsx")+ self.assertEqual(+ alias.count('<span className="text-body-2-regular text-text-secondary">{`${groups.length} 组`}</span>'), 1)+ self.assertIn('<span className="mr-auto text-body-2-regular text-text-secondary">\n'+ " {`${suggestions.length} 组`}\n </span>", alias)+ for loud in ("<Chip", "text-text-error", "bg-button-primary"):+ self.assertNotIn(loud, alias, "计数不该借用提醒或主按钮的颜色")def test_follow_source_icons_fail_back_to_plain_text(self):"""图标由服务端取回落盘(follow_assets.SOURCE_ICON_URLS),页面只认名单、只请求本机。"""@@ -3700,18 +3628,24 @@ class FollowWebSourceTests(unittest.TestCase):self.assertPageLacks(".followfilters{position:relative")def test_credentials_are_typed_into_the_page_not_into_a_file_by_hand(self):- self.assertPageContains('data-cred-form=')- self.assertPageContains("'/api/follow/credential'")- self.assertPageContains('type="password"')- self.assertPageContains("const fields=(row.needs||[]).map")- # 值只往磁盘走:保存后清空输入框,页面上再也看不到。- self.assertPageContains("form.reset();await openFollowManage(false)")- self.assertPageContains("data-cred-clear")+ self.assertReactContains("follow-manage/follow-manage.ts",+ "export const FOLLOW_CREDENTIAL_URL = '/api/follow/credential';")+ creds = self.read_react("follow-manage/credentials.tsx")+ self.assertIn("<Input key={name} type=\"password\" label={name} placeholder={fieldHint(row, name)}", creds)+ self.assertIn("{(row.needs || []).map((name) => (", creds)+ # 值只往磁盘走:保存成功就清空输入框,页面上再也看不到。+ self.assertIn("setValues({});", creds)+ self.assertIn(">保存配置</Button>", creds)+ self.assertIn(">清除</Button>", creds)def test_required_credentials_expand_and_the_source_menu_offers_configuration(self):- self.assertPageContains("row?.requirement==='required'")- self.assertPageContains('data-srcfilter-config=')- self.assertPageContains("${needsAttention?' open':''}")+ """非配不可的那几行一进来就是敞开的;在别处撞见缺凭据,也能一步跳过去配。"""+ creds = self.read_react("follow-manage/credentials.tsx")+ self.assertIn("defaultOpen={row.requirement === 'required' && !credentialDone(row)}>", creds)+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn("onClick={() => { setOpen(false); openCredentials() }}>需要配置凭据</Button>", add)+ page = self.read_react("follow-manage/follow-manage-page.tsx")+ self.assertIn("openCredentials={() => { setTab('source'); go({ tab: 'source' }) }}", page)def test_the_watch_page_does_not_carry_source_management(self):# 输入框、移除、凭据都只属于管理页;看的那页保持干净。@@ -3769,7 +3703,9 @@ class FollowWebSourceTests(unittest.TestCase):self.assertPageContains('<span class="fbadge wip">WIP</span>')def test_network_check_is_an_explicit_button_not_an_auto_refresh(self):- self.assertPageContains("data-follow-check")+ # 联网只发生在按下这个键的那一刻。+ self.assertReactContains("follow-manage/source-list.tsx",+ "onClick={() => startChecking([])}>")# 「换一批」自动刷新绝不能顺手触发一次联网检查。这件事现在由路由表上的# `refresh:'skip'` 表达:refreshAll 只认这个标记,两个关注页各自带一个。self.assertPageContains("if(hit?.route.refresh==='skip')return;")@@ -3922,41 +3858,48 @@ class FollowWebSourceTests(unittest.TestCase):记得住 `strauzek` 的人不一定记得住 `Mr_Strauz`,从没关注过的 `lewdgazer`更是只有站点那边知道——所以这里问的是接口,不是页面自己手里那份列表。"""- page = self.page- self.assertPageContains('<div class="searchmenu" id="followAddMenu" hidden>')- self.assertPageContains("'/api/follow/suggest?q='+encodeURIComponent(query)")+ data = self.read_react("follow-manage/follow-manage.ts")+ self.assertIn("export const FOLLOW_SUGGEST_URL = '/api/follow/suggest';", data)+ add = self.read_react("follow-manage/add-source.tsx")# 分组的名字和次序照服务端回的来,页面不自己排。- self.assertPageContains("<section class=\"searchgroup\"><h3>${esc(group.label)}</h3>")- # 结构与样式沿用顶栏搜索的补全,不另起一套。- self.assertPageContains('class="searchoption" data-search-value=')- self.assertIn("presentMenu(menu);else dismissMenu(menu)", page)+ self.assertIn("const options = useMemo(() => (suggest.data?.groups || []).flatMap((group) => (\n"+ " group.items.map((item) => "+ "({ value: item.value, label: item.matched || item.value, group: group.label }))\n"+ " )), [suggest.data]);", add)+ self.assertIn('<span className="shrink-0 text-caption-1-regular text-text-tertiary">{option.group}</span>',+ add)+ # 地址不进这条路:服务端认得出里面的 `/`,那时该做的是解析链接。+ self.assertIn("if (!text || text.includes('/')) { setTerm(''); return }", add)def test_the_dropdown_says_it_is_working_while_the_site_answers(self):"""站上那一路要问补全再问分类,实测一秒上下,这段时间必须看得出在做事。- 空着像是敲了没反应;挂着上一个字的结果更糟——那看着就是新结果,而它属于- 另一个词。所以忙态是一行独立的 Spinner,把旧结果换掉。+ 空着像是敲了没反应;挂着上一个字的结果更糟——那看着就是新结果,而它属于另一个词。+ 所以忙的时候下拉照样掀开,里面是一行独立的等待态,旧结果不留。"""- page = self.page- self.assertPageContains('<div class="searchbusy">${spinnerHtml(\'正在查找建议\')}')- busy = page[page.index("function presentFollowSuggestBusy("):]- busy = busy[:busy.index("\n}")]- self.assertIn("presentMenu(menu)", busy)- # 忙态那一行不是候选:上下键和回车这时不该选中一个「正在问站点…」。- self.assertNotIn("data-search-value", busy)- rule = page[page.index(".searchbusy{"):]- self.assertIn("display:flex", rule[:rule.index("}")])+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn("const suggesting = suggest.isFetching;", add)+ self.assertIn("const menuOpen = focused && (options.length > 0 || suggesting);", add)+ self.assertIn('? <div className="px-2 py-1.5"><LoadingDots label="正在查找建议" /></div>', add)+ # 忙态那一行不是候选:上下键和回车这时不该选中一个「正在查找建议」。+ self.assertIn("if (!options.length) return;", add)+ self.assertIn("search(options[active]?.value || line);", add)+ # 每个词各有各的缓存键,上一个词的答案不会盖到这一个词上。+ self.assertReactContains(+ "follow-manage/follow-manage.ts",+ "export const followSuggestKey = (term: string) => ['follow-manage', 'suggest', term] as const;")def test_typing_fast_sends_one_request_and_ignores_the_stale_answer(self):"""联网那一路每敲一下打一枪就是拿站点当键盘缓冲;先回的旧答案还会盖掉新的。"""- page = self.page- self.assertPageContains("const FOLLOW_SUGGEST_DEBOUNCE=250;")- self.assertIn("clearTimeout(followSuggestTimer);", page)- self.assertIn(",FOLLOW_SUGGEST_DEBOUNCE);", page)- self.assertIn("const request=++followSuggestRequest;", page)- self.assertIn("if(request!==followSuggestRequest)return;", page)- # 焦点已经走了就不要再掀开:那时不会再有第二次失焦来收场。- self.assertIn("if(document.activeElement===box)renderFollowAddMenu(addMenu,query)", page)+ data = self.read_react("follow-manage/follow-manage.ts")+ self.assertIn("export const SUGGEST_DEBOUNCE_MS = 250;", data)+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn("const timer = setTimeout(() => setTerm(text), SUGGEST_DEBOUNCE_MS);\n"+ " return () => clearTimeout(timer);", add)+ # 只在输入框有焦点时问:焦点已经走了就不再掀开。+ self.assertIn("enabled: term.length > 0 && focused,", add)+ # 取消也交给缓存层:换词时上一次请求带着 signal 一起撤掉。+ self.assertIn("queryFn: ({ signal }) => fetchSuggestions(term, signal),", add)def test_a_suggestion_can_be_taken_by_keyboard_or_by_mouse(self):"""下拉两种拿法都要通,而且拿到的名字直接进查找框。@@ -3964,28 +3907,33 @@ class FollowWebSourceTests(unittest.TestCase):鼠标那一路先 `preventDefault` 才行:让下拉抢走焦点就会触发失焦,菜单被收掉,click 落到空处。"""- page = self.page- self.assertIn("addMenu.onmousedown=event=>event.preventDefault();", page)- self.assertIn("box.value=row.dataset.searchValue;closeAddSuggest();", page)- self.assertIn("moveFollowSuggest(addMenu,event.key==='ArrowDown'?1:-1)", page)- self.assertIn("if(picked)box.value=picked.dataset.searchValue;", page)+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn("onMouseDown={(event) => event.preventDefault()}", add)+ self.assertIn("onClick={() => onPick(option.value)}>", add)+ self.assertIn("if (event.key === 'ArrowDown' || event.key === 'ArrowUp') {", add)+ self.assertIn("search(options[active]?.value || line);", add)# 选字中的回车和方向键归输入法,不归这里。- self.assertIn("if(event.isComposing)return;", page)- # 下拉要贴着输入框定位,不能贴到整个表单上——那样会落在筛选复选框下面。- rule = page[page.index(".faddfield{"):]- self.assertIn("position:relative", rule[:rule.index("}")])+ self.assertIn("if (event.nativeEvent.isComposing) return;", add)+ # 下拉贴着输入框定位,不能贴到整个表单上——那样会落在筛选按钮下面。+ self.assertIn('<div className="relative min-w-64 grow" onFocus={() => setFocused(true)}', add)+ self.assertIn("'absolute top-full z-10 mt-1 flex w-full flex-col gap-1'", add)def test_the_source_row_shows_the_site_as_an_icon_only(self):"""作者卡里站名紧挨着作者名和状态徽章,写出来就是同一个词并排两次。- 表格视图的「站点」是独立一列,列头就叫这个名字,那里出文字。站名两种形态- 都写在 DOM 里:`.iconly` 只把它夹起来,图标取不到时这条规则落空,站名显出来。+ 表格视图的「站点」是独立一列,列头就叫这个名字,那里出文字。站名两种形态都在:+ 图标画得出来时它交给读屏,没登记图标或者那一枚取不下来时它自己显出来。"""- self.assertPageContains("cell.provider('',true)")- self.assertPageContains("withText?'':' iconly'}")- self.assertPageContains("<span>${esc(source.provider_label)}</span>")- rule = self.page[self.page.index(".fprovider.iconly .ficon+span{"):]- self.assertIn("clip:rect(0,0,0,0)", rule[:rule.index("}")])+ view = self.read_react("follow-manage/source-view.tsx")+ self.assertIn("export function SourceIcon({ provider, label }: "+ "{ provider: string; label?: string }) {", view)+ self.assertIn("if (!src || broken) return label ? <>{label}</> : null;", view)+ self.assertIn("{label ? <VisuallyHidden>{label}</VisuallyHidden> : null}", view)+ sources = self.read_react("follow-manage/source-list.tsx")+ # 卡片行只给图标看;表格那一列照常出文字。+ self.assertIn("<SourceIcon provider={source.provider} label={source.provider_label} />", sources)+ self.assertIn("<SourceIcon provider={context.row.original.source.provider} />\n"+ " {context.row.original.source.provider_label}", sources)def test_avatars_are_local_urls_and_only_for_providers_that_serve_one(self):"""头像是元数据,经 Peach 落盘再给页面:两个字段都是本机地址,浏览器不碰对方站点。@@ -4041,9 +3989,13 @@ class FollowWebSourceTests(unittest.TestCase):f"{provider} 没有实测过的头像来源,不该猜一个")def test_a_missing_evidence_archive_is_shown_not_swallowed(self):- # 证据未存档现在并进那块检查报告,不再单独弹一层——但话不能少说。- self.assertPageContains("候选已入库,但这一次的原始响应没有留档")- self.assertPageContains("r.evidence_error")+ # 证据未存档并进那块检查报告,不单独弹一层——但话不能少说。+ self.assertReactContains(+ "follow-manage/source-list.tsx",+ "{evidence ? <Note tone=\"warning\">{`候选已入库,但这一次的原始响应没有留档:${evidence}`}</Note> : null}")+ self.assertReactContains(+ "follow-manage/follow-manage.ts",+ "(job?.results || []).find((row) => row.evidence_error)?.evidence_error || '';")def test_a_check_says_what_it_actually_found(self):"""检查完必须报结果。@@ -4056,24 +4008,28 @@ class FollowWebSourceTests(unittest.TestCase):另一个再不管就会一直漏更新——所以失败必须单独列出来并带上原因。回执走 toast(非阻塞、自动消失),失败明细留在页内持久行上。"""- self.assertPageContains("function followCheckToast(report)")- self.assertPageContains("function followCheckFailNote(report)")- # 重画会把结果冲掉,所以先存再画。- self.assertPageContains("followCheckReport=report.status==='failed'")- self.assertPageContains("${followCheckReport?followCheckFailNote(followCheckReport):''}")- for needle in ("新增 <b>", "更新 <b>", "个来源没有更新", "没有任何更新",- "个失败", "fcheckfail", "geist-note",- # 「没有更多内容」的摘要只跟着右下角回执走,页内不铺它的明细条。- "个没有更多内容"):- self.assertPageContains(needle)- self.assertPageLacks("没有更多历史内容")- # 失败要说清是哪个站,不能让用户去猜 `rule34xxx` 是什么。- self.assertPageContains("row.provider_label||row.provider")- # 回执带一个具名的后续动作:光摆数字会让人去点「…条详情」那半句,- # 文案里不再留悬空的「详情」,去看更新作为显式按钮接住这个意图。- self.assertPageContains("action:{label:'去看更新',run:()=>openFollow()}")- self.assertPageContains("if(act)act.onclick=()=>{setActionBusy(act);action.run()};")- self.assertPageLacks("条详情")+ data = self.read_react("follow-manage/follow-manage.ts")+ self.assertIn("export function checkSummary(job: CheckJob): string {", data)+ for needle in ("`新增 ${added} 条`", "`更新 ${updated} 条`", "`${quiet} 个来源没有更新`",+ "'没有任何更新'",+ # 「没有更多内容」只跟着回执走,页内不铺它的明细条。+ "`${exhausted} 个没有更多内容`", "`${failed} 个失败`"):+ self.assertIn(needle, data)+ self.assertNotIn("没有更多历史内容", data)+ sources = self.read_react("follow-manage/source-list.tsx")+ # 跟完这一趟才报,而且报的是这一趟的结果:重画不会把它冲掉,它自己存着。+ self.assertIn("setOutcome(state);", sources)+ self.assertIn("toast(state.status === 'failed' ? (state.error || '检查失败') : checkSummary(state));",+ sources)+ # 失败明细留在页内,且要说清是哪个站,不能让用户去猜 `rule34xxx` 是什么。+ self.assertIn("export const checkFailures = (job: CheckJob | null): CheckResult[] =>", data)+ self.assertIn("`${failures.length} 个来源检查失败`", sources)+ self.assertIn("{`${row.provider_label || row.provider || ''} "+ "${row.author || row.label || row.ref || ''}:${row.error || '未说明原因'}`}", sources)+ # 光摆数字会让人去找「详情」,所以给一个具名的后续动作。+ self.assertIn("<Button variant=\"secondary\" size=\"small\" onClick={openFollow}>去看更新</Button>",+ sources)+ self.assertNotIn("条详情", sources)def test_detail_tags_follow_rule34s_own_category_order(self):"""详情标签按 rule34.xxx 帖子页 `#tag-sidebar` 的类型顺序分组,不按字母。@@ -4127,11 +4083,18 @@ class FollowWebSourceTests(unittest.TestCase):「检查全部」同一套控件语言——按钮的边界让「这会改状态」在点击之前就看得见。"""- self.assertPageContains('<button class="fbtn" data-follow-bulk="seen">全部标记已看</button>')- self.assertPageContains('<button class="fbtn" data-follow-bulk="ignored">全部忽略</button>')- self.assertPageLacks('class="flink" data-follow-bulk')- # 不另起一行:按钮内联在计数行里,且不参与收缩,窄屏上只压计数文字(用户回执)。- self.assertPageContains('.fbulk{display:inline-flex;gap:8px;margin-left:auto;flex:none}')+ sources = self.read_react("follow-manage/source-list.tsx")+ self.assertIn(">全部标记已看</Button>", sources)+ self.assertIn(">全部忽略</Button>", sources)+ # 与本页「检查全部」同一套控件语言、同一档尺寸。+ self.assertEqual(sources.count('<Button variant="secondary" size="small" disabled={readOnly} '+ '{...busyProps(markAll.isPending)}'), 2)+ # 不另起一行:按钮就在计数行里,只有计数那半句参与收缩(用户回执)。+ self.assertIn('<div className="flex flex-wrap items-center gap-2 border-t border-separator-border pt-3">',+ sources)+ self.assertIn('<span className="mr-auto text-body-2-regular text-text-secondary">\n'+ " {`未看 ${counts.new} · 已看 ${counts.seen || 0} ·"+ " 已保存 ${counts.saved || 0} · 已忽略 ${counts.ignored || 0}`}", sources)def test_sources_by_the_same_author_are_one_block(self):"""同一个作者在几个站上是几条来源、一个人。@@ -4140,33 +4103,38 @@ class FollowWebSourceTests(unittest.TestCase):`lazyprocrastinator` 出现两次(Rule34Video / Rule34.xxx),四行读起来像四个人。归组用后端算好的 `author_key`,前端不二次猜。"""- self.assertPageContains("function followAuthorGroups(sources)")- self.assertPageContains("source.author_key")- self.assertPageContains("const groups=followAuthorGroups(sources);")- self.assertPageContains("groups.slice(start,end).map(followAuthorBlock)")+ data = self.read_react("follow-manage/follow-manage.ts")+ self.assertIn("export function groupByAuthor(sources: FollowSource[]): FollowSource[][] {", data)+ self.assertIn("const key = source.author_key || `source:${source.id}`;", data)+ self.assertReactContains("follow-manage/source-list.tsx",+ "{groups.slice(win.start, win.end).map((group) => {")# 组标题用作者本人的名字:四条来源合成一组之后还挂着其中一条的平台后缀,# 等于说这一组只属于 fanbox,正是这次要消掉的误读。- self.assertPageContains("function followAuthorName(group)")- self.assertPageContains("const name=followAuthorName(group);")- self.assertPageContains("const official=group.find(source=>source.official_avatar_url);")- self.assertPageContains("if(officialName)return officialName;")- self.assertPageContains(".replace(/\\s+collections?\\s*$/i,'').trim()")+ self.assertIn("export function authorName(group: FollowSource[], aliases: AliasGroup[] = []): string {",+ data)+ self.assertIn("const official = group.find((source) => source.official_avatar_url);", data)+ self.assertIn("if (official && authored(official)) return authored(official);", data)+ self.assertIn("/\\s+collections?\\s*$/i", data)# 取不到图片时回退作者首字母;不能从来源标签切出中文“初”“一”。- self.assertPageContains("function followAvatarInitial(group)")- self.assertPageContains('title="没有可用头像"')- avatar = self.page[self.page.index("function followAuthorAvatar(group)"):]- avatar = avatar[:avatar.index("function followAuthorBlock")]- self.assertIn("followAvatarInitial(group)", avatar)- self.assertIn("source.avatar_url", avatar)- self.assertIn("source.official_avatar_url", avatar)- # 镜像头像是官方头像的下一个候选,声明在 `data-fallbacks` 里;两条都取不到- # 才换成首字母垫底。- self.assertIn("fallbacks:[fallback]", avatar)- self.assertIn("drop:'initial'", avatar)+ self.assertIn("export function authorInitial(name: string): string {", data)+ # 镜像头像是官方头像的下一个候选;两条都取不到才换成首字母垫底。+ self.assertIn("export function authorAvatar(group: FollowSource[]): "+ "{ src: string; fallback: string } {", data)+ view = self.read_react("follow-manage/source-view.tsx")+ self.assertIn("const chain = [src, fallback].filter(Boolean);", view)+ self.assertIn("onError={() => setAt(at + 1)}", view)+ self.assertIn('<span title="没有可用头像"', view)+ self.assertIn("{authorInitial(name)}", view)def test_discovered_sources_keep_the_search_term_as_the_author_identity(self):- self.assertPageContains('data-author="${esc(c.author||\'\')}"')- self.assertPageContains("author:input.dataset.author")+ """查出来的候选带着「当初是按谁查的」一起写回去。++ 同一个人在几个站上的几条来源,就是靠这个身份归成一组;候选上的 `author` 掉了,+ 新加进来的来源就各成一组。"""+ data = self.read_react("follow-manage/follow-manage.ts")+ self.assertIn("export const addSource = (candidate: ResolveCandidate) =>", data)+ self.assertIn("author: candidate.author || '', aliases: candidate.aliases || [], defer_check: true,",+ data)def test_only_actionable_media_failures_enter_the_information_stream(self):self.assertPageContains("媒体未取得:需要 F95 登录会话解析")@@ -4189,13 +4157,20 @@ class FollowWebSourceTests(unittest.TestCase):self.assertPageContains("text-decoration:none")def test_loading_semantics_and_known_copy_says_followed(self):- self.assertPageContains("@keyframes geist-spinner-opacity")- self.assertPageContains("@keyframes geist-loading-dot")- self.assertPageContains("spinnerHtml('查找中')")- self.assertPageContains("spinnerHtml('抓取中')")- self.assertPageContains("setActionBusy(button);button.title='检查中…'")- self.assertPageContains("c.known?'已经关注':c.evidence")- self.assertPageLacks("已经在追")+ """等待态分两档:说得出进度的画进度条,说不出的画三个点。++ 「已经关注」是这一条候选此刻的处境,不是一句口语。"""+ dots = self.read_front("react/components/loading-dots.tsx")+ self.assertIn('<i className="dot-wave-0 size-1 rounded-full bg-current" />', dots)+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn("? <Progress label={job.data.message || `查找中:${job.data.checked || 0}/${job.data.total}`}",+ add)+ self.assertIn("<LoadingDots label={byName ? BY_NAME_HINT : BY_LINK_HINT} />", add)+ self.assertIn("{candidate.known ? '已经关注' : candidate.evidence}", add)+ self.assertNotIn("已经在追", add)+ sources = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("<LoadingDots label={job.data?.message || '正在准备检查任务'} />", sources)+ self.assertIn("{...busyProps(rowHandlers.busy)}", sources)def test_follow_styles_exist_for_the_card_surface(self):for selector in (".followlist{", ".followitem{", ".fbadge{", ".followqueue"):@@ -4284,36 +4259,39 @@ class FollowWebSourceTests(unittest.TestCase):self.assertPageContains("spinnerHtml('抓取中')")def test_follow_management_list_has_routed_sorting(self):- self.assertPageContains("{label:'关注列表排序',attr:'data-follow-sort'}")- self.assertPageContains(- "const FOLLOW_SORT_OPTIONS=[['checked','检查时间'],['added','添加时间'],['name','创作者名称'],['sources','来源数量'],\n"- " ['source','来源名称'],['provider','站点'],['status','状态']];")- self.assertPageContains("followManageSort=FOLLOW_SORT_OPTIONS.some(([key])=>key===requested)?requested:'checked'")- self.assertPageContains("const added=group=>Math.max(...group.map(source=>Date.parse(source.created_at||'')||0))")- self.assertPageContains("if(followManageSort==='added')return flip*(added(b)-added(a))||byName(a,b);")+ """排序和页码一起挂在地址栏上:排序决定了哪些来源落在第二页,两者是同一件事的两半。++ 换排序只是把手里这份数据重排一次,不重取接口、不换骨架。"""+ data = self.read_react("follow-manage/follow-manage.ts")+ self.assertIn("export const SORT_OPTIONS = [\n"+ " ['checked', '检查时间'], ['added', '添加时间'], ['name', '创作者名称'],"+ " ['sources', '来源数量'],\n"+ " ['source', '来源名称'], ['provider', '站点'], ['status', '状态'],\n"+ "] as const;", data)+ self.assertIn("export const isSortKey = (value: unknown): value is SortKey =>\n"+ " SORT_OPTIONS.some(([key]) => key === value);", data)+ self.assertIn("const added = (group: FollowSource[]) => "+ "Math.max(...group.map((s) => timeOf(s.created_at)));", data)+ self.assertIn("if (sort === 'added') return flip * (added(b) - added(a)) || byName(a, b);", data)# 每条比较器写的都是该列的默认方向,`flip` 只在方向偏离默认时取反:写成- # 「asc 就取反」的话,作者名称默认本来就是正序,一进页面就被翻成倒序。- self.assertPageContains(- "const flip=followManageDir===(FOLLOW_SORT_DEFAULT_DIR[followManageSort]||'desc')?1:-1;")- self.assertPageContains("const FOLLOW_SORT_DEFAULT_DIR={checked:'desc',added:'desc',name:'asc',sources:'desc',source:'asc',provider:'asc',status:'asc'};")+ # 「asc 就取反」的话,创作者名称默认本来就是正序,一进页面就被翻成倒序。+ self.assertIn("const flip = dir === SORT_DEFAULT_DIR[sort] ? 1 : -1;", data)+ self.assertIn("export const SORT_DEFAULT_DIR: Record<SortKey, SortDir> = {\n"+ " checked: 'desc', added: 'desc', name: 'asc', sources: 'desc',\n"+ " source: 'asc', provider: 'asc', status: 'asc',\n};", data)# 方向键与排序下拉并排,名称播报点下去会得到什么。- self.assertPageContains("<button class=\"fbtn fmanagedir\" type=\"button\" data-follow-dir aria-label=\"${")- self.assertPageContains("icon(followManageDir==='asc'?'arrow-up':'arrow-down')")- self.assertPageContains(".fsechead .fmanagedir{width:var(--control-h);padding:0}")- # 方向等于该列默认值时不写进地址,免得挂一个和默认完全一样的参数。- self.assertPageContains(- "if(followManageDir!==(FOLLOW_SORT_DEFAULT_DIR[followManageSort]||'desc'))params.set('dir',followManageDir);")- self.assertPageContains("followManageDir=requestedDir==='asc'||requestedDir==='desc'?requestedDir")- # 换排序只是把手里这份 followData 重排一次:整页换骨架、三个接口重取、滚回顶部,- # 换来的是同一批数据的另一个顺序,而屏幕上真正变的只有下面那份关注列表。- route = self.page[self.page.index("function routeFollowManageSort()"):]- route = route[:route.index(chr(10) + "}")]- self.assertIn("renderFollowManage(followCredentials||{});", route)- self.assertNotIn("openFollowManage", route)- self.assertPageContains("followData=data;followRuntime=runtime;followCredentials=credentials;")+ sources = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("leadingIcon={dir === 'asc' ? RiArrowUpLine : RiArrowDownLine}", sources)+ self.assertIn("aria-label={sortLabel(sort, dir)}", sources)+ # 是默认值就不写进地址,免得挂一个和默认完全一样的参数。判据只有数据层知道。+ page = self.read_react("follow-manage/follow-manage-page.tsx")+ self.assertIn("sort: nextSort === DEFAULT_SORT ? '' : nextSort,\n"+ " dir: nextDir === SORT_DEFAULT_DIR[nextSort] ? '' : nextDir,", page)+ self.assertIn("setSort(nextSort);\n setDir(nextDir);\n"+ " setPage(1);\n"+ " go({ sort: nextSort, dir: nextDir, page: 1 });", page)backend = (ROOT / "src" / "peach" / "web_follow.py").read_text(encoding="utf-8")self.assertIn('"created_at": row["created_at"]', backend)- self.assertPageContains("return groups.sort((a,b)=>{")def test_mix_and_follow_queues_stay_below_media_with_details_on_the_right(self):self.assertPageContains('grid-template-areas:"media side" "queue queue"')diff --git a/tests/test_frontend_build.py b/tests/test_frontend_build.pyindex 445b91662..9004e0696 100644--- a/tests/test_frontend_build.py+++ b/tests/test_frontend_build.py@@ -516,6 +516,87 @@ class TasteEndpointTests(unittest.TestCase):self.assertIn(helper, self.source)+class FollowManageEndpointTests(unittest.TestCase):+ """关注管理页从 `web/app.js` 搬过来时不能把语义契约丢在原地。++ 这一页同时管着三份节律不同的真相(来源清单、凭据状态、两趟后台任务),行为由+ `frontend/test/react/follow-manage.test.tsx` 与 `follow-alias.test.tsx` 守;这里守的是+ 「搬家之后端点、键与身份口径还在同一处」。+ """++ PAGE = FRONTEND / "src" / "react" / "follow-manage"+ ENDPOINTS = ("/api/follow", "/api/follow/credentials", "/api/follow/check", "/api/follow/source",+ "/api/follow/resolve", "/api/follow/suggest", "/api/follow/author-alias",+ "/api/follow/credential", "/api/follow/status")++ def setUp(self):+ self.data = (self.PAGE / "follow-manage.ts").read_text(encoding="utf-8")+ self.source = "\n".join(+ (self.PAGE / name).read_text(encoding="utf-8")+ for name in ("follow-manage.ts", "follow-manage-page.tsx", "source-list.tsx",+ "add-source.tsx", "alias-manager.tsx", "source-view.tsx"))++ def test_each_endpoint_is_declared_once(self):+ """九条端点在前端各只有一个声明处,就是这一页的数据模块。++ 第二处再写一遍就是分头取数的第一步:写完之后换进缓存的那一份和别处取回的那一份+ 会同时挂在屏幕上,谁先回来谁说了算。+ """+ sources = sorted(path for path in (FRONTEND / "src").rglob("*.ts*"))+ for endpoint in self.ENDPOINTS:+ declared = [path for path in sources+ if f"'{endpoint}'" in path.read_text(encoding="utf-8")]+ self.assertEqual(declared, [self.PAGE / "follow-manage.ts"],+ f"{endpoint} 声明在 {[path.name for path in declared]}")++ def test_three_rhythms_are_three_keys(self):+ """清单、凭据与后台任务各走各的键:合成一个键,开关一条来源就会重问一遍凭据文件。"""+ for key in ("FOLLOW_MANAGE_KEY = ['follow-manage']",+ "FOLLOW_CREDENTIALS_KEY = ['follow-manage', 'credentials']",+ "FOLLOW_CHECK_KEY = ['follow-manage', 'check']",+ "FOLLOW_RESOLVE_KEY = ['follow-manage', 'resolve']"):+ self.assertIn(key, self.data)++ def test_the_first_screen_takes_only_the_first_screen(self):+ """预取只取铺满首屏要的两份,后台任务的快照等挂载之后自己去问。"""+ prefetch = self.data[self.data.index("export async function prefetchFollowManage"):]+ prefetch = prefetch[:prefetch.index("\n}")]+ self.assertIn("FOLLOW_MANAGE_KEY", prefetch)+ self.assertIn("FOLLOW_CREDENTIALS_KEY", prefetch)+ for later in ("FOLLOW_CHECK_KEY", "FOLLOW_RESOLVE_KEY"):+ self.assertNotIn(later, prefetch, f"{later} 不属于首屏")++ def test_a_single_row_write_swaps_that_row(self):+ """开关、移除一条来源都只换缓存里的那一条,不为一次点击把整页重取一遍。"""+ self.assertIn("queryClient.setQueryData<FollowData>(FOLLOW_MANAGE_KEY", self.data)+ self.assertIn("export function patchSource(", self.data)+ self.assertIn("export function dropSources(", self.data)++ def test_the_poll_only_runs_while_the_job_runs(self):+ """跑起来两秒一问,停了就不问:节律取自任务状态本身。"""+ self.assertIn("export const JOB_POLL_MS = 2000", self.data)+ self.assertIn("job?.status === 'running' ? JOB_POLL_MS : false", self.data)+ self.assertIn("refetchInterval: (query) => jobPollInterval(query.state.data)", self.source)++ def test_a_stale_terminal_snapshot_is_not_this_run(self):+ """首屏读到的旧终态不发回执:只有这一次点过或见过它在跑才算数。"""+ self.assertIn("setTracking(true)", self.source)+ self.assertIn("if (!tracking) return;", self.source)++ def test_row_identity_is_the_source_id(self):+ """行的身份是来源 ID:换页、换排序、换视图之后勾选的还是同一批来源。"""+ self.assertIn("from '@tanstack/react-table'", self.source)+ self.assertIn("getRowId: (row) => String(row.source.id)", self.source)+ self.assertIn("manualSorting: true", self.source)++ def test_both_views_sort_the_whole_result_set(self):+ """两种视图共用一套比较器,排的是全集:只排当前页会让翻页看起来像换了一份数据。"""+ self.assertIn("export const COLUMN_SORT", self.data)+ self.assertIn("export function authorGroups(", self.data)+ self.assertIn("export function tableRows(", self.data)+ self.assertIn("getPaginationRowModel", self.source)++class ConfigurationEndpointTests(unittest.TestCase):"""整页和各分区读同一条 `/api/configuration`,两份产物各打包一份这个模块。"""diff --git a/tests/test_metadata_library.py b/tests/test_metadata_library.pyindex c620ae334..e1674043a 100644--- a/tests/test_metadata_library.py+++ b/tests/test_metadata_library.py@@ -647,11 +647,14 @@ class LibraryNfoTests(unittest.TestCase):def test_management_controls_keep_credentials_and_empty_sections_visible(self):root = Path(__file__).resolve().parents[1]source = (root / 'web/app.js').read_text(encoding='utf-8')- self.assertIn('wireFollowManage(creds)', source)- self.assertIn('const sources=credentials.filter(source=>source.followable);', source)- self.assertIn('data-srcfilter-config=', source)- self.assertNotIn("if(!providers.length){mount.innerHTML='';return}", source)- self.assertIn("needsAttention?' open':''", source)+ # 关注管理那一屏在 React 里:能加来源的站才进候选,缺必填凭据的那一行默认展开,+ # 一个站都没配也照样把整块列出来(空清单不等于这块不存在)。+ follow = root / 'frontend/src/react/follow-manage'+ add = (follow / 'add-source.tsx').read_text(encoding='utf-8')+ creds = (follow / 'credentials.tsx').read_text(encoding='utf-8')+ self.assertIn('const rows = (credentials.providers || []).filter((row) => row.followable);', add)+ self.assertIn("defaultOpen={row.requirement === 'required' && !credentialDone(row)}>", creds)+ self.assertIn('const rows = data.providers || [];', creds)self.assertIn("unmountIsland($('#libraryProcessingNotice'))", source)self.assertIn("mode:'notice'", source)configuration = (root / 'frontend/src/react/settings/configuration-page.tsx').read_text(encoding='utf-8')diff --git a/tests/test_web_ui.py b/tests/test_web_ui.pyindex 00af37aec..bd1bb61ae 100644--- a/tests/test_web_ui.py+++ b/tests/test_web_ui.py@@ -362,7 +362,7 @@ class WebUiSourceTests(unittest.TestCase):".geist-progress", ".watchprogress", ".vjs-play-progress", ".vjs-progress-holder",".trace .bar", ".tokbar", # 进度与数据".ptoggle:checked", # Toggle 开态:Geist Toggle 实测轨道 rgb(0,112,243)- ".entitylink", ".flink", ".fsourcelink", ".fcred a", ".tokauthor>a", ".taste-history-guide-content a", # 真正的链接+ ".entitylink", ".flink", ".tokauthor>a", ".taste-history-guide-content a", # 真正的链接)def test_tungsten_is_reserved_for_focus_links_progress_and_toggle(self):@@ -396,13 +396,6 @@ class WebUiSourceTests(unittest.TestCase):self.assertEqual(offenders, [],f"这些规则的 --tungsten 不在允许的焦点/链接/进度/Toggle 之列:{offenders}")- def test_credential_collapse_reserves_space_for_outside_focus_ring(self):- css = (Path(__file__).resolve().parents[1] / "web/css/22-followmanage.css").read_text(encoding="utf-8")- match = re.search(r"\.fcred \.fcollapsebody\{padding:(\d+)px (\d+)px (\d+)px", css)- self.assertIsNotNone(match)- self.assertGreaterEqual(int(match[2]), 3)- self.assertIn('.fcredfield input{height:32px;width:100%;min-width:0;', css)-def test_field_focus_rings_are_neutral_and_theme_aware(self):"""输入框静止 1px 中性边、悬停与聚焦同一枚 2px inset ring 换灰档(BoardUI Input)。@@ -434,17 +427,13 @@ class WebUiSourceTests(unittest.TestCase):'.geist-input:focus{outline:0;box-shadow:inset 0 0 0 2px var(--color-border-button-active)}','.gselectfield[aria-expanded="true"]{box-shadow:inset 0 0 0 2px var(--color-border-button-active)}','.search:focus-within{box-shadow:inset 0 0 0 2px var(--color-border-button-active)}',- '.preference textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}',- '.fcredfield input:hover{box-shadow:inset 0 0 0 2px var(--color-border-button-hover)}',- '.fcredfield input:focus-visible{outline:0;'- 'box-shadow:inset 0 0 0 2px var(--color-border-button-active)}'):+ '.preference textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}'):self.assertPageContains(rule)# 换档要渐出来:上游 field 的 transition 明确列了 box-shadow,只写# border-color 的话环是硬切的。带环的那几个控件都得把它列进去。for transition in ('line-height:20px;transition:box-shadow .12s ease}','font:inherit;font-size:var(--fs-md);line-height:20px;transition:box-shadow .12s ease}',- 'transition:border-color .12s ease,background-color .12s ease,box-shadow .12s ease}',- 'font-family:inherit;transition:box-shadow .12s ease}'):+ 'transition:border-color .12s ease,background-color .12s ease,box-shadow .12s ease}'):self.assertPageContains(transition)def test_fieldsets_put_the_bright_face_on_the_content_and_the_bar_below_it(self):@@ -456,7 +445,7 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains(selector + "{", f"{selector} 应有一条自己的规则")css = stylesheet_source()for name in (".cleanupfieldset>.geist-fieldset-footer", ".reviewitem .reviewactions",- ".fsechead", ".fsecfoot", ".resourcesyncfooter,.resourceapplyrow"):+ ".fsechead", ".resourcesyncfooter,.resourceapplyrow"):start = css.index(name + "{")rule = css[start:css.index("}", start)]self.assertIn("background:var(--overlay-5)", rule, f"{name} 是操作条")@@ -465,7 +454,7 @@ class WebUiSourceTests(unittest.TestCase):def test_the_follow_job_panel_sits_on_the_card_tier_inside_the_section(self):"""进度面板是灰面 `.fsec` 里的一张白卡,与查找结果卡同档。- 它承载的只是一段进度,和 `.fpickitem` 一样躺在 `--ground` 的灰面上;透明或+ 它承载的只是一段进度,和查找结果卡一样躺在 `--ground` 的灰面上;透明或同灰会让框只剩一圈边。面板不再与 `.fsec` 同灰,而是 CheckboxCard 那一档:`--field-ring` 发丝边配 primary 的白面。"""@@ -506,7 +495,7 @@ class WebUiSourceTests(unittest.TestCase):# 这一层再写一份的话,它的 `:hover:not(:disabled)` 比 Board 那条静止规则重一个类,# 同一颗按钮的静止和悬停就分别由两处给出。self.assertNotIn(".geist-button.primary{", css)- # 找的是这三条基样式本身,不是别处以同名结尾的派生规则(`.fsecfoot .fbtn{`+ # 找的是这三条基样式本身,不是别处以同名结尾的派生规则(`.fsechead .fbtn{`# 也以 `.fbtn{` 收尾),所以选择器前面必须是上一条规则的边界。for name in (".cleanupfieldset button:where(:not(.gselectfield)){",".fbtn{", ".resourceaction{"):@@ -936,8 +925,8 @@ class WebUiSourceTests(unittest.TestCase):def test_a_solid_tier_hover_spells_out_its_own_text_colour(self):"""把填充换成实心一档的悬停规则必须自己写 `color`,不能指望静止那条留下来。- `:hover` 只声明 background 时,同一组里更宽的通用悬停(`.fpickactions- button:hover`、`.tagselection button:hover` 都是)会把文字提到 `--ink`:+ `:hover` 只声明 background 时,同一组里更宽的通用悬停(`.tagselection+ button:hover`、`.junkactions button:hover` 都是)会把文字提到 `--ink`:它的选择器更弱,可 `color` 在实心档自己这条里没有对手,于是深色实底上落成深字深底,鼠标一压按钮上的字就没了。2026-09-04 用户在关注管理页第二次遇到同一个坑;靠「静止那条特指度更高」挡着不算数,那是算出来的巧合,加一条更宽的@@ -1234,17 +1223,11 @@ class WebUiSourceTests(unittest.TestCase):ringed = ("{background:var(--sunk);border-color:var(--line-soft);""color:var(--muted);cursor:not-allowed}")flat = "{background:var(--sunk);color:var(--muted);cursor:not-allowed}"- for selector in (".srctools button:disabled", ".frowicon:disabled"):+ for selector in (".srctools button:disabled",):self.assertPageContains(selector + ringed)for selector in (".geist-button:disabled", ".fbtn:disabled",- ".resourceaction:disabled",- ".tagselection button:disabled", ".fpickactions button:disabled"):+ ".resourceaction:disabled", ".tagselection button:disabled"):self.assertPageContains(selector + flat)- # 凭据那一组两颗都是实心档(强调档的「保存」、危险档的「清除」),静止态自己没有- # 环可留;停用后跟 `.geist-button.primary:disabled` 同形,灰面上补一圈。- self.assertPageContains(".fcredactions button:disabled{background:var(--sunk);"- "color:var(--muted);box-shadow:0 0 0 1px var(--line-soft);"- "cursor:not-allowed}")def test_the_secondary_tier_keeps_a_one_pixel_ring_so_it_reads_on_its_own_ground(self):"""次级按钮挂一圈 1px 环,实心的三档不挂。@@ -1289,8 +1272,8 @@ class WebUiSourceTests(unittest.TestCase):def test_every_button_filled_with_ground_carries_that_ring(self):"""凡是填 `--ground` 的可点控件都要有一条 1px 的边,名单之外的也算。- 上一条按名单守四个写法,名单外的七处照样没边:关注管理的「关闭」「添加」、- 重复页的操作条、评审的选片头、首页的标签选择条、垃圾卡的三颗动作、沉浸浮条。+ 上一条按名单守四个写法,名单外的几处照样没边:关注页的动作键、重复页的操作条、+ 评审的选片头、首页的标签选择条、垃圾卡的三颗动作、沉浸浮条。它们填的都是 `--ground`,又坐在同为 `--ground` 的卡片和面板上,暗色一档`#080A0D` 压在 `#080A0D` 上,整颗键化在面里。所以这里不数名单,直接扫。@@ -1311,7 +1294,7 @@ class WebUiSourceTests(unittest.TestCase):"box-shadow:0 0 0 1px" in body or "border:1px solid" in body,f"{selector} 填 --ground 又没有边,坐在同色的面上就看不见了")scanned.append(selector)- self.assertIn(".fpickactions button", scanned, "扫描要真的覆盖到关注管理那组")+ self.assertIn(".fbtn", scanned, "扫描要真的覆盖到关注页那组")start = css.index(".splitbutton{")self.assertIn("box-shadow:0 0 0 1px var(--line-soft)",css[start:css.index("}", start)], "拆分按钮的环挂在盒子上")@@ -1361,19 +1344,20 @@ class WebUiSourceTests(unittest.TestCase):没有它的标题只是一行普通粗体字:`wireCollapse` 把原生 `<details>` 的三角`list-style` 去掉了(不去掉的话它和布局里的 flex 对不齐),于是「点这里会展开」这件事没有任何视觉线索,得靠鼠标移上去变成手型才发现。几何取自 Vercel:- 16px SVG、`stroke:currentColor`、展开 `rotate(90deg)`。React 档那一族折叠由- `src/react/settings/section.tsx` 的 `Disclosure` 给同一枚。- """- css = stylesheet_source()- prefix = ".faliasmanager>summary"- start = css.index(prefix + ">svg{")- rule = css[start:css.index("}", start)]- # 描边色不进这份共用契约:作者别名那一枚故意钉在 --muted 上不随当前项提亮。- for declaration in ("width:16px", "height:16px", "flex:none", "fill:none",- "transition:transform .2s ease-in-out"):- self.assertIn(declaration, rule, f"{prefix} 的 chevron 缺 {declaration}")- self.assertPageContains(prefix + '[aria-expanded="true"]>svg'- "{transform:rotate(90deg)}")+ 16px 字形、`stroke:currentColor`、展开转 90°,并且转要渐变。这一枚由+ `src/react/settings/section.tsx` 的 `Disclosure` 给,站里的折叠标题共用它。+ """+ section = self.read_react("settings/section.tsx")+ self.assertIn("import { RiArrowRightSLine, RiExternalLinkLine } from '@remixicon/react';", section)+ self.assertIn("className={open ? 'size-4 shrink-0 rotate-90 transition-transform'"+ " : 'size-4 shrink-0 transition-transform'}", section)+ # 折叠态要报给读屏,展开的是哪一块也要指名。+ self.assertIn("<summary aria-expanded={open} aria-controls={id} onClick={toggle}", section)+ # 原生三角去掉了,所以这一枚字形是唯一的线索,不能连它一起去掉。+ self.assertIn("list-none", section)+ # 侧栏分组折叠还在旧壳里,转的角度与方向跟这一枚对齐。+ board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")+ self.assertIn(".board-section-toggle[aria-expanded=true] svg{transform:rotate(90deg)}", board)def test_a_spinner_announces_the_work_and_not_the_button_it_sits_in(self):"""`spinnerHtml()` 的名字说正在做什么,不复读按钮自己的名字。@@ -1401,9 +1385,9 @@ class WebUiSourceTests(unittest.TestCase):选择器更长、文件又在后面,永远赢。同一形状在 `.configrm` 上已经出现过一次。所以这里查两遍。只按选择器里有没有 `danger` 查的话,换个类名就绕过去了:- `.junktrash`、`.fcredactions button.fquiet` 和 `.fbtn.fquiet` 三颗红底键各自填过- 同一块 `--drop`,选择器里一个 `danger` 也没有。第二遍改按声明查——实底红配纯白字- 就是销毁档的样子,无论选择器叫什么。+ `.junktrash` 和 `.fbtn.fquiet` 这类红底键各自填过同一块 `--drop`,选择器里一个+ `danger` 也没有。第二遍改按声明查——实底红配纯白字就是销毁档的样子,无论选择器+ 叫什么。"""css = stylesheet_source()base = Path(__file__).resolve().parents[1] / "web/css/01-base.css"@@ -1436,8 +1420,8 @@ class WebUiSourceTests(unittest.TestCase):and re.search(r"color:\s*#fff\b", rule.split("{", 1)[1]))self.assertEqual(solid, [".geist-button.error",".geist-button.error:hover:not(:disabled)",- "button.danger:not(.frowicon)",- "button.danger:not(.frowicon):hover:not(:disabled)"],+ "button.danger.danger",+ "button.danger.danger:hover:not(:disabled)"],"实底红配白字就是销毁档,页面不要用别的类名再填一份:\n"+ "\n".join(solid))for selector in solid:@@ -1591,15 +1575,18 @@ class WebUiSourceTests(unittest.TestCase):作者名长短不一,站标跟着名字走就每行一个位置,一列扫下来得逐行找。按钮上的字只写「全选」——它就在这位作者那一行里,说到底选的是谁由所在的行回答;完整的表述留在- `aria-label` 上,读屏那边脱离了行的上下文。+ `aria-label` 上,读屏那边脱离了行的上下文。正文归 React(ADR-0031):作者卡是+ `follow-manage/source-list.tsx` 的 `AuthorCard`,遗留层只剩同形状的骨架。"""- app = (Path(__file__).resolve().parents[1] / "web/app.js").read_text(encoding="utf-8")- board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")- self.assertIn('aria-label="全选 ${esc(name)} 的来源">${icon(\'check-check\')}<span data-author-select-label>全选</span></button>', app)- self.assertIn("count===fields.length?'取消全选':'全选'", app)- self.assertIn("icon(count===fields.length?'check-check-outline':'check-check')", app)- self.assertIn("icon(collapsed?'chevron-down':'chevron-up')", app)- self.assertIn('class="followtoolbaractions"', app)+ root = Path(__file__).resolve().parents[1]+ card = (root / "frontend/src/react/follow-manage/source-list.tsx").read_text(encoding="utf-8")+ board = (root / "web/board.css").read_text(encoding="utf-8")+ skeleton = (root / "frontend/src/board-skeleton.ts").read_text(encoding="utf-8")+ self.assertIn("aria-label={`${state.all ? '取消全选' : '全选'} ${name} 的来源`}", card)+ self.assertIn(">{state.all ? '取消全选' : '全选'}</Button>", card)+ self.assertIn("aria-label={`${open ? '收起' : '展开'} ${name} 的来源`}", card)+ self.assertIn('<span data-author-select-label>全选</span>', skeleton)+ self.assertIn('class="followtoolbaractions"', skeleton)self.assertIn(".fauthorhead>.fmeta{margin-left:auto}", board)self.assertIn(".fauthorhead>.fmeta~.fmeta,.fauthorhead>.fmeta~.board-author-actions""{margin-left:0}", board, "撑开的空当只交给第一个 .fmeta")@@ -1737,9 +1724,10 @@ class WebUiSourceTests(unittest.TestCase):def test_search_inputs_share_one_component_with_a_visible_focus_ring(self):"""带搜索语义的输入只有一份实现,点进去看得见焦点。- Geist Search Input 的契约是:搜索图标占前缀位,查找中原位换 Spinner,- 输入框几何不变。关注页先有了这套,索引页的筛选框却是另一份私有样式——- 没有前缀图标、没有任何 focus 规则,点进去和没点一个样。+ Geist Search Input 的契约是:搜索图标占前缀位,输入框几何不变。索引页的筛选框+ 曾是另一份私有样式——没有前缀图标、没有任何 focus 规则,点进去和没点一个样。+ 关注管理那一处已经整页归 React(ADR-0031),用的是 BoardUI `Input`,查找中的+ 说明落在它下面的 `LoadingDots` 上,不再靠换前缀位表达。"""self.assertPageContains("export function searchInputHtml({label,id='',name='',value='',placeholder='',attrs=''}={})")self.assertCode("""const parts=[@@ -1751,15 +1739,16 @@ class WebUiSourceTests(unittest.TestCase):# 焦点环与顶部搜索框同一个配方:BoardUI Input 的 2px inset 灰环。self.assertCode('.geist-search input[type="search"]:focus{outline:0;''box-shadow:inset 0 0 0 2px var(--color-border-button-active)}')- # 忙态换的是前缀位,输入框自己不动;hook 跟着组件走,不留关注页专属的名字。- self.assertPageContains("form.querySelector('[data-search-prefix]')")- self.assertPageContains("if(prefix)prefix.innerHTML=spinnerHtml('查找中');")self.assertPageLacks("data-follow-search-prefix")self.assertPageLacks("fsearchprefix")- # 两个调用点都走组件;索引页的筛选框不再用 placeholder 当标签。+ # 遗留层剩下的调用点走组件;索引页的筛选框不再用 placeholder 当标签。self.assertPageContains("searchInputHtml({id:'iq',label:'过滤'+title,value:q||''})")- self.assertPageContains("searchInputHtml({name:'line',label:'来源链接、名字或 id',")self.assertPageLacks('<input id="iq" placeholder="过滤…"')+ # 关注管理的那一处:标签一字不差,查找中的说明是同一屏里的一段文字。+ add = (Path(__file__).resolve().parents[1]+ / "frontend/src/react/follow-manage/add-source.tsx").read_text(encoding="utf-8")+ self.assertIn('<Input aria-label="来源链接、名字或 id"', add)+ self.assertIn("<LoadingDots label={byName ? BY_NAME_HINT : BY_LINK_HINT} />", add)self.assertPageLacks(".isearch")def test_filtering_waits_for_the_chinese_ime_to_finish_composing(self):@@ -2363,9 +2352,9 @@ class WebUiSourceTests(unittest.TestCase):# 悬停不许提边:这条只写 background。rule = self.page[self.page.index(".pcheck:hover>span,"):]self.assertNotIn("border-color", rule[:rule.index("}")])- # 五个调用点,一个都不许再留原生 checkbox 的 accent-color。- for attrs in ("data-follow-enabled=", "data-srcfilter=", "data-pick=",- "data-tag-match-any", 'id="groupCollapseSetting"'):+ # 遗留层剩下的调用点,一个都不许再留原生 checkbox 的 accent-color。关注管理的+ # 那几处随整页进了 React,画的是 BoardUI `Checkbox`。+ for attrs in ("data-pick-playlist=", "data-tag-match-any", 'id="groupCollapseSetting"'):self.assertPageContains(attrs)# 单选框仍归原生(`.metadatacandidate` 是 radio,不是同一个控件)。self.assertPageLacks(".fsrcmenu input{accent-color")@@ -2483,17 +2472,24 @@ class WebUiSourceTests(unittest.TestCase):self.assertLess(guard, load_body.index("cache(d.items)"))def test_bulk_follow_updates_run_with_bounded_concurrency(self):- """一千条串行 POST 全靠往返等,界面按住不放;一次全发出去又会挤满连接。"""+ """一千条串行 POST 全靠往返等,界面按住不放;一次全发出去又会挤满连接。++ 闸门这一份实现留在遗留层(`web/js/core.js`),关注管理页整页归 React 之后按+ `@peach/legacy/core` 引它,两边不各写一份。+ """self.assertPageContains("const mapLimit=async(items,limit,run)=>")self.assertPageContains("const workers=Math.min(Math.max(1,limit),list.length)")# 某一项失败只记下原因,不中断整批。self.assertPageContains("catch(error){results[index]={ok:false,error}}")- bulk = self.app_js.split("root.querySelectorAll('[data-follow-bulk]')", 1)[1]- bulk = bulk.split("/* 查找结果先摆出来", 1)[0]- self.assertIn("await mapLimit(ids,6,id=>", bulk)- # 撤销那两处仍是单条 POST,不该被这条契约波及。- self.assertNotIn("for(const id of ids)", bulk)- self.assertPageContains("actionFailure(`批量更新 ${failed.length}/${ids.length} 项`")+ root = Path(__file__).resolve().parents[1]+ self.assertIn("export declare function mapLimit<T, R>(",+ (root / "frontend/src/legacy/core.d.ts").read_text(encoding="utf-8"))+ source_list = (root / "frontend/src/react/follow-manage/source-list.tsx").read_text(encoding="utf-8")+ # 批量改状态与批量标记各有自己的并发档,都不是一条一条等着发。+ self.assertIn("await mapLimit(work.ids, 4, async (id: number) => {", source_list)+ self.assertIn("await mapLimit(ids, 6, (id: number) => markItem(id, to))", source_list)+ self.assertIn("setProblem(`批量更新 ${result.failed.length}/${result.ids.length} 项未完成`)",+ source_list)def test_immerse_stream_does_not_pretend_to_paginate_a_random_sample(self):"""`sort=rand` 在服务端是未加种子的 `RANDOM()`,偏移量在它上面没有意义。@@ -2955,7 +2951,12 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains("next?` aria-label=\"按${label}${next.dir?sortDirWord(next.sort,next.dir,words):''}排序\"`:''")self.assertPageContains("icon(dir==='asc'?'arrow-up':'arrow-down','sortdir')")- self.assertPageContains("const followSortLabel=()=>`按${FOLLOW_SORT_LABELS[followManageSort]||'关注列表'}${")+ # 关注管理页的那一枚归 React:同一条规矩,箭头只是图标,名称取反方向的词。+ follow = Path(__file__).resolve().parents[1] / "frontend/src/react/follow-manage"+ self.assertIn("`按${SORT_LABELS[sort]}${SORT_DIR_WORDS[sort][dir === 'asc' ? 0 : 1]}排序`",+ (follow / "follow-manage.ts").read_text(encoding="utf-8"))+ self.assertIn("leadingIcon={dir === 'asc' ? RiArrowUpLine : RiArrowDownLine}",+ (follow / "source-list.tsx").read_text(encoding="utf-8"))# 箭头必须真在 sprite 里,否则选中项渲染出一个空 use,方向就完全看不见。self.assertPageContains('<symbol id="i-arrow-down" viewBox="0 0 24 24">')self.assertPageContains('<symbol id="i-arrow-up" viewBox="0 0 24 24">')@@ -5139,24 +5140,30 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains("const role=kind==='error'?' role=\"alert\"':' role=\"note\"'")self.assertPageContains("failure.innerHTML=noteHtml(error.message||'操作未完成',{variant:'error'})")self.assertPageContains("noteHtml(error.message,{variant:'error',label:'扫描失败'})")- self.assertPageContains('class="geist-note geist-note-error fcheckreport" role="alert"')# 「没有更多内容」的抓取完摘要跟着检查完成的右下角 notification 走,页内只剩失败与取证缺档。- self.assertPageLacks('class="geist-note geist-note-secondary fcheckreport" role="note"')self.assertPageLacks('个来源没有更多内容</b>')# 每一条失败都进 Note,没有第二套「红字一行」的写法:红色文字既没有图标# 也没有边框,在暗色底上和普通说明文字只差一个色相,扫读时整条会被跳过。self.assertPageContains('class="geist-note geist-note-error fwarn" role="alert"')- self.assertPageContains("${followCheckReport?followCheckFailNote(followCheckReport):''}")- self.assertPageContains(- "noteHtml('文件权限过宽,请在运行 Peach 的 POSIX 主机上收紧为 0600。',{variant:'error'})")+ # 关注管理页那两处同样是 Note,只是画在 React 档里(ADR-0031)。+ follow = Path(__file__).resolve().parents[1] / "frontend/src/react/follow-manage"+ self.assertIn('<Note tone="error" title={`${failures.length} 个来源检查失败`}',+ (follow / "source-list.tsx").read_text(encoding="utf-8"))+ credentials = (follow / "credentials.tsx").read_text(encoding="utf-8")+ self.assertIn("const WORLD_READABLE = '文件权限过宽,请在运行 Peach 的 POSIX 主机上收紧为 0600。'",+ credentials)+ self.assertIn('<Note tone="error" title="凭据文件权限过宽">{WORLD_READABLE}</Note>', credentials)self.assertPageLacks('class="fnote warn"')self.assertPageLacks(".fnote.warn{")self.assertPageLacks("geist-banner")def test_note_and_info_surfaces_reuse_the_photo_detail_info_icon(self):self.assertPageContains('<symbol id="i-info" viewBox="0 0 24 24">')- self.assertPageContains('aria-label="凭据存放位置说明">${icon(\'info\')}</button>')self.assertPageContains('aria-label="图片详情" title="图片详情">${icon(\'info\')}</button>')+ # 凭据存放位置改由关注管理页自己的说明块直说,不再藏在一枚信息键后面。+ self.assertIn("{`凭据文件在 ${data.root}`}",+ (Path(__file__).resolve().parents[1]+ / "frontend/src/react/follow-manage/credentials.tsx").read_text(encoding="utf-8"))self.assertPageContains('.geist-note>svg{width:16px;height:24px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}')def test_the_ledger_gate_is_a_note_and_keeps_its_own_tone(self):@@ -5166,7 +5173,12 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains("variant:runtime?.ledger_sync==='conflict'?'warning':'secondary'")self.assertPageContains("className:'runtimegate',actionLabel:actionHref?actionLabel:'',actionHref}")self.assertPageContains("ledgerGateNote(reviewRuntime,mirrorText,'前往写入端复核',writer)")- self.assertPageContains("ledgerGateNote(followRuntime,followRuntime.ledger_read_only_message||'本机当前只能浏览',")+ # 关注管理页那一条归 React(ADR-0031):同一种盒子、同一档色调,去处仍是写入端。+ page = (Path(__file__).resolve().parents[1]+ / "frontend/src/react/follow-manage/follow-manage-page.tsx").read_text(encoding="utf-8")+ self.assertIn('<Note tone="warning" title="本机只能浏览"', page)+ self.assertIn('前往写入端管理关注', page)+ self.assertPageContains("readOnlyMessage:runtime?.ledger_read_only_message||'本机当前只能浏览'")self.assertPageContains('.geist-note.runtimegate{margin:0 0 12px}')# 这个类名只剩定位:框、字形和颜色再出现一份就又能和 Note 走散。self.assertPageLacks('.runtimegate{display:grid')@@ -5675,12 +5687,16 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageLacks('class="trashempty"')def test_empty_follow_actions_open_the_add_workspace(self):+ """空态那条「添加关注」落在「添加关注」这一页签上,不是关注管理的首屏。++ 页签在地址栏里(`?tab=add`),所以这条链接本身就是那一页的地址:外面发过来+ 一样打得开。已经在这一页上时也走同一条路——壳接住这次点击,换地址、重挂岛。+ """self.assertPageContains('href="/follow-manage?tab=add">添加关注</a>')- self.assertPageContains("followManageWorkspace=['list','add','source'].includes(params.get('tab'))?params.get('tab'):'list'")- self.assertPageContains("params.set('tab',key)")- self.assertPageContains("params.set('tab',followManageWorkspace)")- self.assertPageContains("if(tab){tab.click();tab.focus()}")- self.assertPageContains("else void openFollowManage(true,'add')")+ self.assertPageContains("const FOLLOW_MANAGE_TABS=['list','add','source'];")+ self.assertPageContains("if(params.tab&¶ms.tab!=='list')search.set('tab',params.tab)")+ self.assertPageContains("""a[href="/follow-manage?tab=add"]""")+ self.assertPageContains("void openFollowManage(true,'add')")self.assertPageContains('.emptystate .es-actions{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px}')def test_follow_author_actions_stay_in_the_heading_row(self):@@ -5848,8 +5864,14 @@ class WebUiSourceTests(unittest.TestCase):def test_resource_and_source_mutations_use_terminal_toasts_with_safe_undo(self):self.assertPageContains("actionReceipt(operation==='restore'?'已还原':'已移入回收站',{undo:async()=>")- self.assertPageContains("actionReceipt(`已添加 ${picked.length} 个关注来源`)")self.assertPageContains("actionReceipt(saving?'已保存到账本':(labels[to]||'已更新关注状态')")+ # 关注管理页的写操作归 React,回执仍是壳那一份 Toast(props 上的 `toast`)。+ follow = Path(__file__).resolve().parents[1] / "frontend/src/react/follow-manage"+ self.assertIn("toast(`已添加 ${result.sources.length} 个关注来源`)",+ (follow / "add-source.tsx").read_text(encoding="utf-8"))+ self.assertIn("toast(`已${word} ${result.done.length} 个关注来源`)",+ (follow / "source-list.tsx").read_text(encoding="utf-8"))+ self.assertPageContains("toast:actionReceipt,openFollow:()=>void openFollow()")self.assertPageContains("actionReceipt(`已把 ${r.removed} 项移入回收站`,{undo:ids.length?async()=>")self.assertPageContains("data-junk-batch=\"dispose\"")self.assertPageContains(".batchbar:has([data-junk-batch]:not([hidden]))")@@ -5908,7 +5930,7 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains(".pagelede-actions{display:flex;align-items:center;justify-content:space-between;gap:16px}")# 危险档只有 01-base 那一份,页面各自的 .danger 覆盖已经收掉了。- self.assertPageContains("button.danger:not(.frowicon){")+ self.assertPageContains("button.danger.danger{")self.assertPageLacks(".pagelede-actions .batchaction.danger{")self.assertPageLacks(".count .sorts .batchaction.danger{")# 桌面 32px 是 Geist 的控件高度,手机要回到本项目的 44px 命中区。@@ -6772,7 +6794,6 @@ class WebUiSourceTests(unittest.TestCase):"""board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")self.assertIn(".geist-fieldset-footer>a,.geist-fieldset-footer>button).primary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;height:36px;min-height:36px;padding:8px 12px;border-radius:10px;font:var(--board-body-medium);", board)- self.assertIn("body .followmanage .faddform .geist-search input{background:var(--color-background-primary-default)}", board)self.assertIn("body .review{width:100%;max-width:var(--board-content);margin:0 auto;box-sizing:border-box}", board)self.assertIn("body .review .reviewcontrols{position:static;", board)self.assertIn("body .review .reviewbulktoolbar{position:sticky;top:var(--topH);z-index:60;width:auto;", board)@@ -7816,8 +7837,12 @@ class WebUiSourceTests(unittest.TestCase):)self.assertPageContains("setActionBusy(batch)")self.assertPageContains("setActionBusy(scan,busy)")- self.assertPageContains("setActionBusy(addButton)")self.assertPageContains("setActionBusy(btn)")+ # React 档里同一件事由 `busyProps()` 发:同样是 aria-busy 加 aria-disabled,+ # 按钮留在 tab 序列上。+ self.assertIn("{...busyProps(rowHandlers.busy)}",+ (Path(__file__).resolve().parents[1]+ / "frontend/src/react/follow-manage/source-list.tsx").read_text(encoding="utf-8"))def test_follow_separator_uses_the_same_border_token_as_tags(self):self.assertPageContains(".pill{flex:none;height:var(--filterItemH);padding:0 20px;border:1px solid var(--field-ring)")@@ -8121,17 +8146,22 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains("${esc(tagLabel(t))} <b data-untag=\"${esc(t)}\">✕</b>")# fwarn 提供 dismiss(会话内记忆),关闭钮样式与 toast 关闭钮同量纲。self.assertPageLacks("data-fwarn-dismiss")- self.assertPageContains(".fcheckreport,.fwarn{grid-template-columns:16px minmax(0,1fr);")+ self.assertPageContains(".fwarn{grid-template-columns:16px minmax(0,1fr);")self.assertPageContains(".geist-note-error{--feedback-color:var(--drop);")self.assertPageLacks("border-left:2px solid var(--drop)")- # 来源行状态徽章(ok 绿 tint / 失败红 tint / 未检查灰)。- self.assertPageContains('<span class="sbadge ${badge}" title="${esc(stateTitle)}"><i aria-hidden="true"></i>')- self.assertPageContains(".sbadge i{width:6px;height:6px;border-radius:50%;background:var(--muted);flex:none}")- self.assertPageContains(".sbadge.ok i{background:var(--success)}")- self.assertPageContains(".sbadge.error i{background:var(--drop)}")+ # 来源行状态徽章:失败红、正常绿、暂停黄、未检查灰。关注管理页归 React 之后+ # 这一枚是 BoardUI `Chip`,档位由同一套判据给。+ source_view = self.read_react("follow-manage/source-view.tsx")+ self.assertIn("const color = isBroken(source) ? 'rose'", source_view)+ self.assertIn(": source.enabled && source.last_status === 'ok' ? 'lime'", source_view)+ self.assertIn(": source.enabled ? 'yellow' : 'neutral';", source_view)+ # `.sbadge` 只剩复核卡的字段名徽章一个读者,它不带状态档位,也没有圆点子元素。+ self.assertPageContains(".sbadge{display:inline-flex;align-items:center;gap:6px;")+ self.assertPageLacks(".sbadge.ok")+ self.assertPageLacks(".sbadge i{")# 清空回收站:danger 语义色。self.assertPageContains('class="batchaction danger" id="emptyTrash"')- self.assertPageContains("button.danger:not(.frowicon){")+ self.assertPageContains("button.danger.danger{")# Geist 菜单:触发器和每个选项都有入口图标,菜单内部滚动;开合动效走 Board 层共用那一份。self.assertPageContains('data-sidebar-add-trigger aria-haspopup="listbox" aria-expanded="false"')self.assertPageContains('role="option" data-sidebar-add-option=')@@ -8729,14 +8759,9 @@ class WebUiSourceTests(unittest.TestCase):".fauthor .fsource.frow>b", ".fauthorhead b",# 作者是展示名,尾部省略;完整身份保留在 title。".followbyline .followauthor",- # 四段计数按重要性从左排(未看在最前),尾部省略切掉的正是最不影响判断的那几段;- # 它不是标识符,中间截断只会把「未看 3」也切开。- ".fbulkcounts",- ".fchip", ".followpageaction .fmeta", ".fpickactions [data-pick-state]",+ ".followpageaction .fmeta",".fsechead .fmeta",".frow>b",- # 表格视图的来源名一格:和默认视图那枚 `.frow>b` 是同一段语义文本,只是换了容器。- ".ftable .ftname>b",".fvkind", ".idname",".meta .t", ".meta .who", ".mixcopy b,.mixcopy span",# 小窗信息栏与播放器右键菜单:标题、来源和菜单标签都是语义文本,尾部省略。@@ -9099,8 +9124,14 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageContains("emptyState('playlist','还没有播放列表'")self.assertPageContains('aria-label="编辑播放列表">${icon(\'playlist\')}')self.assertPageContains('title="加入播放列表">${icon(\'playlist\')}')- # 剩下的那一处 list-filter 是真的筛选,不能一起换掉。- self.assertPageContains("${icon('list-filter')}<span data-srcfilter-label>")+ # 剩下的 list-filter 是真的筛选,不能一起换掉:复核批量面板按这个字形分组和筛选。+ self.assertPageContains('<symbol id="i-list-filter"')+ bulk = (Path(__file__).resolve().parents[1]+ / "frontend/src/review-bulk.ts").read_text(encoding="utf-8")+ self.assertIn("'list-filter'", bulk)+ # 关注管理的来源筛选归 React 之后用 Remix 的漏斗,含义还是筛选。+ self.assertIn("leadingIcon={RiFilter3Line}",+ self.read_react("follow-manage/add-source.tsx"))for symbol in ("text-aa", "playlist"):self.assertRegex(self.page,@@ -9145,9 +9176,14 @@ class WebUiSourceTests(unittest.TestCase):'data-zoom-step="-1" aria-label="缩小">${icon(\'zoom-out\')}','data-zoom-step="1" aria-label="放大">${icon(\'zoom-in\')}'):self.assertPageContains(needle)- # 关注来源那三处问的就是「有没有更新」,转圈归它们。- self.assertPageContains('aria-label="检查 ${esc(name)} 的全部来源">${icon(\'refresh-cw\')}')- self.assertPageContains("${icon('check-check')}<span data-author-select-label>全选</span>")+ # 关注来源那几处问的就是「有没有更新」,转圈归它们;页面归 React 之后是 Remix 的+ # 同一枚字形,全选仍是双勾。+ source_list = self.read_react("follow-manage/source-list.tsx")+ self.assertIn("leadingIcon={RiRefreshLine}", source_list)+ self.assertIn("aria-label={`检查 ${name} 的全部来源`}", source_list)+ self.assertIn("leadingIcon={RiCheckDoubleLine}", source_list)+ # 骨架照着画,等数据时占的是同一块地方。+ self.assertIn("<span data-author-select-label>全选</span>", self.markup)# 两个空态各说自己那件事:筛不出结果,和一次比对没有发现。self.assertPageContains("emptyState('search-x','当前筛选下没有更新'")self.assertPageContains("emptyState('file-stack','没有找到重复文件'")@@ -9710,13 +9746,17 @@ class WebUiSourceTests(unittest.TestCase):# 表格外框自己收口:它离卡片脚还有一层内边距,去掉下边框就没有收尾。self.assertNotIn(".followmanage .fmain>.fsec:has(>.fsecfoot) .ftableframe", board)- def test_the_alias_avatar_stays_a_circle_when_there_is_no_picture(self):+ def test_the_author_avatar_stays_a_circle_when_there_is_no_picture(self):"""取不到头像时那个空位仍然是一个圆。- 别名行里头像和别名组都是直接子 `span`,同一条规则把两者都摊成 `flex:1`,- 兜底头像于是被拉成一颗药丸;有图那一枚是 `<img>`,所以只在取不到时才露馅。+ 兜底那一枚是 `<span>`,跟在一段会伸缩的名字后面;不钉住尺寸就会被拉成一颗+ 药丸。有图那一枚是 `<img>`,所以只在取不到时才露馅。"""- self.assertIn(".faliasidentity>.favatar{flex:none}", self.css)+ view = self.read_react("follow-manage/source-view.tsx")+ self.assertIn('className="inline-grid size-8 shrink-0 place-items-center rounded-full', view)+ self.assertIn("{authorInitial(name)}", view)+ self.assertIn('className="size-8 shrink-0 rounded-full bg-background-tertiary-default object-cover"',+ view)def test_the_data_cleanup_page_spaces_its_blocks_the_same_way(self):"""数据管理页三块内容之间是同一个间距。@@ -10191,7 +10231,7 @@ class WebUiSourceTests(unittest.TestCase):而这个差别是没有意思的。"""board = (Path(__file__).resolve().parents[1] / "web/board.css").read_text(encoding="utf-8")- roster = ("body :is(button.danger:not(.frowicon),.reviewactions button.error,"+ roster = ("body :is(button.danger,.reviewactions button.error,"".batchbar button.danger):not(:disabled)")self.assertIn(roster + "{position:relative;isolation:isolate;background:var(--board-red);""border:0;color:#fff;box-shadow:0 1px 2px #0000000d;", board)@@ -10640,7 +10680,6 @@ class WebUiSourceTests(unittest.TestCase):'<button class="geist-button primary" type="submit">新建</button>')self.assertPageContains('<button type="submit" class="geist-button primary" data-modal-confirm>')self.assertPageLacks(".playlistcreate button,.playlistactions button{")- self.assertPageContains(".faliasform .fbtn{height:38px;min-height:38px}")self.assertPageContains(".playlistcreate label{display:grid;gap:8px;color:var(--muted);""font-size:var(--fs-xs);flex:1 1 200px;max-width:320px}")self.assertPageLacks(".playlistcreate label{flex:1 1 100%}")@@ -10649,10 +10688,12 @@ class WebUiSourceTests(unittest.TestCase):self.assertPageLacks(".faliasform input{min-width:0;height:34px;")for needle in ('<label class="modalfield"><span>名称</span><input class="geist-input" name="name"',- '<label>新播放列表<input class="geist-input" name="name"',- '<input class="geist-input" name="canonical"',- '<input class="geist-input" name="alias"'):+ '<label>新播放列表<input class="geist-input" name="name"'):self.assertPageContains(needle)+ # 别名管理归 React 之后,这两格用同一档的 BoardUI `Input`,高度也还是那一档。+ alias = self.read_react("follow-manage/alias-manager.tsx")+ self.assertIn('<Input aria-label="规范创作者名"', alias)+ self.assertIn('<Input aria-label="平台别名"', alias)def test_an_online_tag_opens_the_follow_page_not_a_catalog_filter(self):"""在线标签标注的是还没入库的在线更新,拿去筛目录必然一条不中。"""@@ -11161,15 +11202,17 @@ class WebUiSourceTests(unittest.TestCase):`pl-10`),而它的文字 Label 是块级、排在控件上方(`block ... mb-2`)——行内并排那种写法 Geist 没有。工具行没有上方空间,图标又足够把下拉框和普通按钮区分开。"""- self.assertPageContains(- """<span class="fmanagesort" data-collapse-field title="关注列表排序">"""- """${icon('sort')}${selectFieldHtml(FOLLOW_SORT_OPTIONS,followManageSort,""")+ # 页面正文归 React,排序是 BoardUI `Select`;骨架照着同一处画,等数据时不挪位。+ self.assertIn('<Select aria-label="关注列表排序" size="sm" selectedKey={sort}',+ self.read_react("follow-manage/source-list.tsx"))+ self.assertIn("""<span class="fmanagesort" data-collapse-field>"""+ """${icon('sort')}${selectFieldHtml(""", self.markup)self.assertPageContains('id="i-sort"')self.assertPageContains(".fmanagesort{position:relative;display:inline-flex;align-items:center")self.assertPageContains(".fmanagesort>svg{position:absolute;z-index:1;left:9px;width:16px;height:16px")self.assertPageContains(".fmanagesort .gselectfield{height:var(--control-h);padding:0 12px 0 33px")# 无障碍名称只剩 aria-label 一处,去掉标签后它必须留着;它由组件写到触发器上。- self.assertPageContains("{label:'关注列表排序',attr:'data-follow-sort'}")+ self.assertIn("{label:'关注列表排序',attr:'disabled'}", self.markup)self.assertCode('aria-expanded="false" aria-label="${esc(label)}"')# 标题行里三个可缩项只有说明文字,排序框和动作键都保持完整宽度。self.assertPageContains(".fsechead .fbtn,.fsechead .fmanagesort{flex:none}")@@ -11197,7 +11240,7 @@ class WebUiSourceTests(unittest.TestCase):# 就是同一行里出现两种「同一种控件」,而缩的偏偏是唯一能改变列表内容的那个。self.assertIn("height:var(--control-h)", rule, ".fmanagesort 的触发器与标题行同高")self.assertPageContains(".fsechead .iconswitch label{width:34px;height:32px}")- self.assertPageContains(".fsechead .fbtn,.fsecfoot .fbtn{height:var(--control-h)}")+ self.assertPageContains(".fsechead .fbtn{height:var(--control-h)}")def test_the_selection_mark_is_one_shape_that_does_not_flip_with_the_theme(self):"""选中标记全站一个长相:正圆、一对固定的浅片深勾,尺寸按容器分两档。@@ -11240,10 +11283,18 @@ class WebUiSourceTests(unittest.TestCase):"${icon('external-link','externalmark')}")self.assertPageContains(".linktable .linkurl a{display:grid;""grid-template-columns:minmax(0,1fr) auto;")- self.assertPageContains("title=\"打开原来源\">${esc(source.label)}"- "${icon('external-link','externalmark')}")- self.assertPageContains('<a class="externallink" href="${esc(search.url)}"'- ' target="_blank" rel="noreferrer noopener"')+ # 关注来源那一行已经有站标,链接本身不再叠一枚;同页会离开 Peach 的另外两处+ # (外链搜索建议、凭据的「去取」)走共用的 `ExternalLink`,标由它带。+ self.assertIn('target="_blank" rel="noreferrer noopener" title="打开原来源"',+ self.read_react("follow-manage/source-view.tsx"))+ self.assertIn("<SourceIcon key={source.id} provider={source.provider} />",+ self.read_react("follow-manage/source-list.tsx"))+ self.assertIn("<ExternalLink href={search.url}>",+ self.read_react("follow-manage/add-source.tsx"))+ self.assertIn("<ExternalLink href={row.where}>去取</ExternalLink>",+ self.read_react("follow-manage/credentials.tsx"))+ self.assertIn("trailingIcon={RiExternalLinkLine}",+ self.read_react("settings/section.tsx"))# 一处漏掉类名就又变成八档里的第九档,所以按调用点数,不按人工清单。self.assertEqual(self.app_js.count("icon('external-link'"),self.app_js.count("icon('external-link','externalmark')"),@@ -11269,7 +11320,7 @@ class WebUiSourceTests(unittest.TestCase):css = stylesheet_source()for name in (".reviewpickhead button{",".tagselection button{", ".batchbar button{",- ".fpickactions button{", ".dupactions.fsechead button{"):+ ".junkactions button{", ".dupactions.fsechead button{"):found = re.search(r"(?:^|[}\n])" + re.escape(name), css)self.assertIsNotNone(found, f"{name} 找不到基样式")start = found.end() - len(name)@@ -11293,64 +11344,67 @@ class WebUiSourceTests(unittest.TestCase):只描红边、红字的话,静止态和悬停态在暗色底上几乎一样亮,按下去之前看不出这是不可逆动作。Geist 的 error Button 就是实心红填充(实测 `rgb(217,48,54)` 底、白字),静止态即红;Peach 按用户 2026-09-06 的取舍跟它走,悬停只把同一块红压深一档。- 挤在一行图标里的删除键(`.frowicon` 那一类)不在此列:一块实底红在图标行里会炸出- 一块。判据是这一行里还有几颗销毁键,不是键上有没有文字——配置页「移除这个文件夹」- 同样只有一枚叉,可它旁边只有一颗「选择文件夹」,所以它走实底红。+ 挤在一行图标里的删除键不在此列:一块实底红在图标行里会炸出一块。判据是这一行里+ 还有几颗销毁键,不是键上有没有文字——配置页「移除这个文件夹」同样只有一枚叉,+ 可它旁边只有一颗「选择文件夹」,所以它走实底红。- 红只有一个入口,所以这几颗键在标记上带 `.danger`。页面另起一个单类承担不了这一- 档:`.resourceaction`、`.junkactions button` 这类容器规则自己就填底色,权重不低于- 页面单类、文件又排在 01-base 后面,红会被容器底色盖掉,两边的 CSS 单看都对。+ 红只有一个入口,所以这几颗键在标记上带 `.danger`,选择器把类名写两遍换权重。+ 页面另起一个单类承担不了这一档:`.resourceaction`、`.junkactions button` 这类容器+ 规则自己就填底色,权重不低于页面单类、文件又排在 01-base 后面,红会被容器底色+ 盖掉,两边的 CSS 单看都对。"""- self.assertPageContains("button.danger:not(.frowicon){")+ self.assertPageContains("button.danger.danger{")self.assertPageContains("background:var(--drop);color:#fff;box-shadow:none}")# 复核卡的拒绝键走 Geist 的 error 变体,那是同一块红的另一个入口。self.assertPageContains(".geist-button.error{background:#da2f35;","销毁键静止态就是实底红")- # 垃圾复核的「移入回收站」、凭据行的「清除」、失效链接的「删除 N 条」。+ # 垃圾复核的「移入回收站」、失效链接的「删除 N 条」。for markup in ('class="danger" data-junk-operation="dispose"',- 'class="danger" data-cred-clear=','class="resourceaction danger" type="button" id="linkPrune"'):self.assertPageContains(markup, "销毁键的红挂在 .danger 上")+ # React 那侧同一块红走 BoardUI 的 danger 变体:关注来源凭据行的「清除」是其中一颗。+ self.assertIn('<Button variant="danger" size="small" disabled={readOnly}',+ self.read_react("follow-manage/credentials.tsx"))# 每个页面各写一份 .danger 的时代结束了:站里只留 01-base 那一条。for stale in (".pagelede-actions .batchaction.danger{", ".cleanupfieldset button.danger{",".playlistactions .danger{", ".dupbtns button.danger{", ".batchbar .danger{"):self.assertPageLacks(stale, "危险档只有 01-base 里那一份")- def test_bulk_footer_keeps_one_line_and_ellipsises_its_counts(self):- """底部批量条保持一行,宽度不够时省略说明文字,而不是把动作键甩到第二行。-- 它和分区标题行是同一种行:一行里唯一可以缩的是说明文字,动作键要完整读出来。- 允许换行的话,窄屏上四段计数加两个键一定放不下,键落到第二行、底栏白长一截。- 基准取 0 而不是 auto:按内容宽度参与排线的话,它先把整行挤断,缩放轮不到发生。- """- self.assertPageContains(".fnote.fbulkrow{display:flex;align-items:center;gap:4px 10px}")- self.assertPageLacks(".fnote.fbulkrow{display:flex;align-items:center;flex-wrap:wrap",- "换行是这条行长成两行的原因")- self.assertPageContains(".fbulkcounts{flex:1 1 0;min-width:0;overflow:hidden;"- "text-overflow:ellipsis;white-space:nowrap}")- self.assertPageContains(".fbulk{display:inline-flex;gap:8px;margin-left:auto;flex:none}")- # 标题行早就是这个写法,同一种行的两处行为要对得上。+ def test_bulk_actions_read_as_one_group_with_the_count_at_the_left(self):+ """批量操作条只在选中了东西时出现,计数占住左端,动作键排在右端。++ 这条是一组动作而不是一段文字,所以整块有 `role="group"` 和自己的名字;计数是+ 选中数的播报位,用 `role="status"`,勾掉一行不必把焦点挪过去也能听见。计数靠+ `mr-auto` 吃掉空当,动作键因此贴右端起排,条子多宽都读作同一种版式。+ """+ source_list = self.read_react("follow-manage/source-list.tsx")+ self.assertIn('<div role="group" aria-label="关注来源批量操作"', source_list)+ self.assertIn('<span role="status" className="mr-auto text-body-2-regular text-text-primary">',+ source_list)+ self.assertIn('{`已选 ${chosen.length} 个来源`}', source_list)+ # 删除是销毁类,红键并且要走确认弹层,不能点一下就没了。+ self.assertIn("<Button variant=\"danger\" size=\"small\" disabled={readOnly}", source_list)+ self.assertIn("confirmLabel: '删除所选来源', danger: true,", source_list)+ # 分区标题行是同一种行:一行里唯一可以缩的是说明文字,动作键要完整读出来。self.assertPageContains(".fsechead .fmeta{flex:1 1 0;min-width:0;overflow:hidden")self.assertPageContains(".fsechead .fbtn,.fsechead .fmanagesort{flex:none}")- def test_add_form_only_sizes_the_one_button_it_actually_has(self):- """`.faddform` 里唯一的按钮是来源筛选触发器,高度由它自己那条给。-- 这个表单没有提交键——只读查询回车即执行。再留一条按 `.faddform .fbtn` 写的通用- 高度,读的人会以为旁边还有个提交键;而它被更具体的那条完全盖住,改它不会有任何- 效果,是一条只会误导人的死规则。- """- self.assertPageContains(- ".faddform .fsrcfilter .fbtn{width:auto;height:38px;min-height:38px;padding:0 11px}")- self.assertPageLacks(".faddform .fbtn{height:38px;min-height:38px}",- "被更具体那条完全盖住的死规则")- start = self.app_js.index('<form class="faddform" id="followAdd">')- form = self.app_js[start:self.app_js.index("</form>", start)]- self.assertNotIn('type="submit"', form, "添加表单没有提交键,回车即执行")- self.assertIn('<div class="fsrcfilter" id="followSrcFilter"></div>', form)- # 别名表单那个提交键是活的,别顺手一起删。- self.assertPageContains(".faliasform .fbtn{height:38px;min-height:38px}")- self.assertPageContains('<button class="fbtn primary" type="submit">保存别名</button>')+ def test_the_add_form_runs_the_same_lookup_from_enter_and_from_its_button(self):+ """添加关注那一格,回车和「查找」键走同一个入口。++ 查找只列候选、不写任何东西,所以在建议里选中一条直接回车也是安全的。两条路+ 都收进 `search()`:分成两份实现的话,改了其中一处的人不会想到另一处还在。+ 动作键是这一格的主动作,按项目惯例走 primary 实底。+ """+ add = self.read_react("follow-manage/add-source.tsx")+ self.assertIn("if (event.key !== 'Enter') return;", add)+ self.assertIn("search(options[active]?.value || line);", add)+ self.assertIn("onClick={() => search(line)}>查找</Button>", add)+ self.assertIn('<Button variant="primary" size="small" disabled={readOnly || !line.trim()}', add)+ # 输入法拼字途中的那个回车是在选字,不是在提交。+ self.assertIn("if (event.nativeEvent.isComposing) return;", add)+ # 别名表单那个保存键是活的,别顺手一起删。+ self.assertIn("保存别名", self.read_react("follow-manage/alias-manager.tsx"))def test_follow_filter_buttons_write_the_url_before_refetching(self):"""先写 URL 再重取。反过来的话 openFollow 会照旧 URL 把状态推回去。"""diff --git a/web/app.js b/web/app.jsindex 5e4d3a554..bd535a52d 100644--- a/web/app.js+++ b/web/app.js@@ -63,24 +63,11 @@ let barsRendered='';画那一遍时的那份——中途改过筛选,摊开看到的是一列旧数字。 */let barsFacets=null,barsScopedCreators=[];let adsBatch=null,loadRequestSeq=0,listLoading=false;-let followData=null,followRuntime=null,followCredentials=null,followFilter='',followBusy=false,- followManageSort='checked',followManageDir='desc';-/* 关注列表四列各自的方向词与默认方向。创作者名称是文本列,「从多到少」在它身上- 不成立,只说正倒。 */-const FOLLOW_SORT_LABELS={checked:'检查时间',added:'添加时间',name:'创作者名称',sources:'来源数量'};-const FOLLOW_SORT_DIR_WORDS={checked:['从近到远','从远到近'],added:['从近到远','从远到近'],- name:['倒序','正序'],sources:['从多到少','从少到多']};-const FOLLOW_SORT_DEFAULT_DIR={checked:'desc',added:'desc',name:'asc',sources:'desc',source:'asc',provider:'asc',status:'asc'};-/* 工具栏下拉与表格表头是同一份维度:前四个按创作者分组比,后三个按单条来源比。 */-const FOLLOW_SORT_OPTIONS=[['checked','检查时间'],['added','添加时间'],['name','创作者名称'],['sources','来源数量'],- ['source','来源名称'],['provider','站点'],['status','状态']];+let followData=null,followFilter='',followBusy=false;/* 值是天数,`0` 表示不限。选项文本自己说清量的是时间:这一行不挂文字标签,收起时框里只剩当前这一项,「全部」放在时钟图标旁边读不出是全部什么。 */const FOLLOW_INITIAL_RANGE_OPTIONS=[['0','不限时间'],['7','最近 7 天'],['30','最近 30 天'],['90','最近 90 天']];-/* 同 `sortButtonHtml`:这枚键的无障碍名称说的是点下去会得到什么,所以取反方向的词。 */-const followSortLabel=()=>`按${FOLLOW_SORT_LABELS[followManageSort]||'关注列表'}${- (FOLLOW_SORT_DIR_WORDS[followManageSort]||[])[followManageDir==='asc'?0:1]||''}排序`;let followAuthors=new Set(),followProviders=new Set(),followTags=new Set(),followWorks=new Set(),followMediaView='videos',followGroupByItemId=new Map(),followItemsById=new Map(),followDetailReturnPath='/follow';/* 看的那一页按什么排。只有这三档在每条更新上都成立:观看次数、体积那几列问的是本机文件,而这一页上的东西多数还没下载。词跟着列走,`desc` 在时间上是「从新到旧」,@@ -317,6 +304,10 @@ const MANAGEMENT_PLACEHOLDERS={'/scraping':()=>`<div class="scraping-page"><p>高清图片可能需要代理才能下载,请先检查连接。</p>${pageSkeletonHtml('正在读取采集来源',{cards:true,count:4,fill:false,className:'cleanup-skeleton'})}</div>`,};+/* 关注管理的骨架要照用户上次选的视图画:等数据的这段时间画成卡片、数据到了换成表格+ 的话,同一次进入里版式会整个翻一遍。视图是这台浏览器的偏好,取值走+ `followListLayout()`——偏好那份存储声明在本行下面,直接读它就是声明前引用,+ 会提升的函数声明才能从这里回去问。页面自己的那份状态在 island 里。 */const managementPlaceholder=path=>boardPageSkeleton(path,{followLayout:followListLayout()})||(MANAGEMENT_PLACEHOLDERS[path]||(()=>pageSkeletonHtml('正在读取页面')))();@@ -5310,9 +5301,6 @@ let followDiscoverySeed=Math.floor(Math.random()*0xffffffff);const followDiscoveryRank=value=>seededRank(followDiscoverySeed,value);const followRandomOrder=(rows,key)=>[...rows].sort((a,b)=>followDiscoveryRank(key(a))-followDiscoveryRank(key(b))||String(key(a)).localeCompare(String(key(b))));-/* 来源筛选:fsrcProviders 记录见过的全部来源(默认全选),- fsrcUnchecked 只记被取消勾选的——新来源自动进入「全选」。 */-const fsrcProviders=new Set(),fsrcUnchecked=new Set();/* 关注页一次取一屏。counts 是全库口径(「未看 2292」),groups 只有这一页——两个数并排显示时看起来像自相矛盾,实际是两个口径,所以列表底部要能继续加载。 */const FOLLOW_PAGE=300;@@ -5864,8 +5852,9 @@ function followCard(group,authorSources=[]){/* 检查完必须说清三件事:新增了什么、哪些确实没有更新、哪些失败了以及为什么。反馈走两条通道(Geist toast 处方,取证见 docs/reference-snapshots/vercel-geist-toast.md):「检查了 N 个来源」是用户主动动作的非阻塞回执 → toast,自动消失;- 失败是「不跟进就会一直漏更新」的事 → 摘要里只留一句短提示,原因和- 恢复入口放进页内的持久行(followCheckFailNote),关掉 toast 也还在。 */+ 失败是「不跟进就会一直漏更新」的事 → 摘要里只留一句短提示,原因和恢复入口放进+ 页内的持久行,关掉 toast 也还在:看的那一页是 `.fwarn`,管理页那一份归 React 的+ `Note`(`follow-manage/source-list.tsx`)。 */function followCheckBits(report){const rows=report.results||[];const added=rows.reduce((n,r)=>n+(r.added||0),0);@@ -5900,25 +5889,6 @@ function followCheckToast(report){{warn:!!failed,timeout:failed?8000:6000,action:{label:'去看更新',run:()=>openFollow()}});}-/* 页内持久行:只装失败与取证缺档,渲染在管理页自己的检查区里。「没有更多内容」- 一类的抓取完摘要不落页内——它跟着检查完成的右下角 notification(followCheckToast)- 走,页内只留要处理的东西。全部成功时返回空串。关注页不渲染这块:那里的持久行- 是 .fwarn,带「去管理关注」的恢复入口。 */-function followCheckFailNote(report){- const rows=report.results||[];- const failed=rows.filter(r=>!r.ok);- const evidence=rows.filter(r=>r.evidence_error);- if(!failed.length&&!evidence.length)return '';- const errors=failed.length||evidence.length?`<div class="geist-note geist-note-error fcheckreport" role="alert">${icon('alert')}<div>- ${failed.length?`<p><b>${failed.length} 个来源检查失败</b></p>`:''}- ${failed.map(row=>`<p class="fcheckfail"><strong>${esc(row.provider_label||row.provider||'')}</strong>- <strong>${esc(row.author||row.label||row.ref||'')}</strong>${row.provider?':':''}${esc(row.error||'未说明原因')}</p>`).join('')}- ${evidence.length?`<p class="fchecknote">候选已入库,但这一次的原始响应没有留档:${- esc(evidence[0].evidence_error)}</p>`:''}- </div></div>`:'';- return `<div class="fcheckreports">${errors}</div>`;-}-/* ── 看的那一页 ── *//* URL 是关注页筛选的唯一真相源。@@ -6250,7 +6220,7 @@ function followBackfillState(sources){但那也意味着每个来源只有第一页那点内容,用户问「怎么这么少」就是这个原因。所以往回抓是一个独立的、显式的动作,点一次走一页,不自动、不连翻。 */async function wireFollowProgress(){- const host=$('#stats').querySelector('.followmanage')||$('#stats'),surface=surfaceToken(surfacePath());+ const host=$('#stats'),surface=surfaceToken(surfacePath());host.querySelector('[data-follow-progress]')?.remove();const marker=document.createElement('div');marker.dataset.followProgress='';host.prepend(marker);const ui=await import('/dist/peach-ui.js');@@ -6258,7 +6228,7 @@ async function wireFollowProgress(){ui.followJobProgress({host:marker,active:()=>surfaceCurrent(surface),read:signal=>api('/api/follow/check',{signal}),busy:running=>{followBusy=running;- host.querySelectorAll('[data-follow-check],[data-follow-recheck],[data-follow-older]')+ host.querySelectorAll('[data-follow-recheck],[data-follow-older]').forEach(button=>setActionBusy(button,running))},complete:report=>{followCheckReport=report.status==='failed'?{results:[{ok:false,error:report.error}]}:report;@@ -6267,13 +6237,10 @@ async function wireFollowProgress(){}async function refreshFollowSurface(surface){try{- const [data,credentials]=await Promise.all([- surfaceApi(surface,surface.path==='/follow-manage'?'/api/follow?limit=1':followPageUrl(0)),- surfaceApi(surface,'/api/follow/credentials')]);+ const data=await surfaceApi(surface,followPageUrl(0));if(!surfaceCurrent(surface))return;followData=data;- if(surface.path==='/follow-manage')renderFollowManage(credentials);- else renderFollow();+ renderFollow();}catch(error){if(surfaceCurrent(surface))toast(error.message,{warn:true})}}async function wireOperationProgress({host,path,key,title,busy,complete}){@@ -6287,13 +6254,6 @@ async function wireOperationProgress({host,path,key,title,busy,complete}){if(report.status==='failed'){marker.innerHTML=noteHtml(report.error||'任务失败',{variant:'error',label:'任务失败'});return}complete(report)}});}-function wireResolveProgress(){- return wireOperationProgress({host:$('#stats').querySelector('[data-follow-add-state]'),- path:'/api/follow/resolve',key:'peach-resolve-job',title:'正在查找关注来源…',- busy:running=>{const form=$('#followAdd');- if(form){form.dataset.busy=String(running);form.setAttribute('aria-busy',String(running))}},- complete:report=>renderFollowPicks(report.results||[])});-}function wireFollowOlder(){const button=$('#stats').querySelector('[data-follow-older]');if(!button)return;@@ -6355,60 +6315,6 @@ async function openFollow(push=true,renderForDetail=false){if(!renderForDetail)window.scrollTo({top:0,behavior:'smooth'});}-/* ── 管的那一页 ── */-/* 状态的排序位:失败最前,其次暂停、未检查,正常最后——正序就是「先看要处理的」。 */-function followStatusRank(source){- const state=source.last_status;- if(state==='error'||state==='unauthorized')return 0;- if(!source.enabled)return 1;- return state==='ok'?3:2;-}-const followSourceLabel=source=>String(source.label||'');-const bySourceLabel=(a,b)=>followSourceLabel(a).localeCompare(followSourceLabel(b),'zh-CN',{numeric:true});-const FOLLOW_SOURCE_SORTS={- source:bySourceLabel,- provider:(a,b)=>String(a.provider_label||'').localeCompare(String(b.provider_label||''),'zh-CN')||bySourceLabel(a,b),- status:(a,b)=>followStatusRank(a)-followStatusRank(b)||bySourceLabel(a,b),-};--/* 同一个创作者在不同站点上是多条来源、一个人。用户截图里 `LazyProcrastinator · fanbox`- 出现两次(Kemono / Pawchive)、`lazyprocrastinator` 出现两次(Rule34Video /- Rule34.xxx),四行读起来像四个人。归组用后端给的 `author_key`——那是实体 id- 或归一化后的名字,不在前端二次猜。-- 注意这跟卡片里的变体折叠不是同一个轴:那个折的是同一条发布的多个版本,- 这里折的是同一个人的多个来源。 */-function followAuthorGroups(sources){- const order=[],byKey=new Map();- sources.forEach(source=>{- const key=source.author_key||`source:${source.id}`;- if(!byKey.has(key)){byKey.set(key,[]);order.push(key)}- byKey.get(key).push(source);- });- const groups=order.map(key=>byKey.get(key));- const name=group=>followAuthorName(group);- const checked=group=>Math.max(...group.map(source=>Date.parse(source.last_checked_at||'')||0));- const added=group=>Math.max(...group.map(source=>Date.parse(source.created_at||'')||0));- /* 每条比较器写的都是该列的默认方向,`flip` 只在方向偏离默认时取反:写成- 「asc 就取反」的话,创作者名称默认本来就是正序,一进页面就被翻成倒序。- 同值回退始终按名字正序,不跟着翻——否则「来源数量」里数量相同的那几个人- 每换一次方向就整段倒序一遍,看着像列表在乱跳。 */- const flip=followManageDir===(FOLLOW_SORT_DEFAULT_DIR[followManageSort]||'desc')?1:-1;- const byName=(a,b)=>name(a).localeCompare(name(b),'zh-CN',{numeric:true});- /* 按单条来源比的维度:先排每位创作者名下的来源,创作者之间再按各自排在最前的那条比。 */- const bySource=FOLLOW_SOURCE_SORTS[followManageSort];- if(bySource){- groups.forEach(group=>group.sort((a,b)=>flip*bySource(a,b)));- return groups.sort((a,b)=>flip*bySource(a[0],b[0])||byName(a,b));- }- return groups.sort((a,b)=>{- if(followManageSort==='name')return flip*byName(a,b);- if(followManageSort==='sources')return flip*(b.length-a.length)||byName(a,b);- if(followManageSort==='added')return flip*(added(b)-added(a))||byName(a,b);- return flip*(checked(b)-checked(a))||byName(a,b);- });-}-/* 有站点图标的来源。图标由服务端按 follow_assets.SOURCE_ICON_URLS 取回、保存在本机,页面只认这张名单:没登记的来源直接不出 <img>,取不到的由 data-drop 摘掉退回纯文字。 */const SOURCE_ICON_PROVIDERS=new Set(['fanbox','patreon','subscribestar','kemono','coomer','pawchive',@@ -6453,16 +6359,6 @@ function followWorkPill([key,label,,icon,focus]){<span class="mk" data-fallback="${fallback}">${mark}</span>${esc(label)}</button>`;}-/* 别名组只带规范名,头像在这位创作者的来源上:按 author_key 找回来源再走同一个头像函数,- 一条来源都没有时用规范名首字母。 */-function followAliasAvatar(group){- const sources=(followData?.sources||[]).filter(source=>source.author_key===`name:${group.canonical_key}`);- if(sources.length)return followAuthorAvatar(sources);- const ascii=String(group.canonical_name||'').match(/[A-Za-z0-9]/);- const initial=(ascii?ascii[0]:Array.from(String(group.canonical_name||''))[0]||'?').toUpperCase();- return `<span class="favatar none" title="没有可用头像">${esc(initial)}</span>`;-}-/* 分组标题要用创作者本人的名字,不是某一条来源的标签。哪一段标签是人名由服务端一处判定(`author_name`):`LazyProcrastinator · fanbox` 的「· fanbox」只说明他在哪个平台连载,F95 的 `Strauzek Collection [2026-09-04] [Mr_Strauz]` 则整串都是线程标题,@@ -6493,447 +6389,70 @@ function followAuthorName(group){return names.reduce((best,name)=>caps(name)>caps(best)?name:best,names[0]);}-/* 添加框的建议下拉。分组、顺序和每组的名字都由 `/api/follow/suggest` 给出,这里- 照抄——两侧各排一次的话,改了一侧就会出现「服务端认为最该先看的组显示在第三位」。- 结构和样式与顶栏搜索的补全是同一套 `.searchmenu`。-- 防抖比顶栏那个长:这一路要打一次 rule34.xxx 的公开补全,250ms 让连着敲的人停手- 之后才打一枪。 */-const FOLLOW_SUGGEST_DEBOUNCE=250;-let followSuggestGroups=[],followSuggestFor='',followSuggestRequest=0,followSuggestTimer=0;-async function loadFollowSuggestions(query){- const request=++followSuggestRequest;- try{- const data=await api('/api/follow/suggest?q='+encodeURIComponent(query));- /* 慢的旧响应不许盖掉新的:连敲两个字时先发的那次完全可能后回来,盖回去就是- 下拉里挂着上一个字的建议,而输入框里已经是下一个字了。 */- if(request!==followSuggestRequest)return;- followSuggestFor=data.q||'';followSuggestGroups=data.groups||[];- }catch(e){if(request===followSuggestRequest){followSuggestFor=query;followSuggestGroups=[]}}-}-function followSuggestRow(item){- return `<div class="searchoption" data-search-value="${esc(item.value)}"><span>${esc(item.value)}</span>${- item.matched?`<span class="matched">${esc(item.matched)}</span>`:''}${- item.n?`<span class="n">${item.n.toLocaleString()}</span>`:''}</div>`;-}-function renderFollowAddMenu(menu,query){- const groups=query&&followSuggestFor===query?followSuggestGroups:[];- menu.innerHTML=groups.map(group=>`<section class="searchgroup"><h3>${esc(group.label)}</h3>${- group.items.map(followSuggestRow).join('')}</section>`).join('');- menu.dataset.active='-1';- if(menu.innerHTML)presentMenu(menu);else dismissMenu(menu);-}-/* 站上那一路要先问补全、再逐条问分类,实测一秒上下。这段时间里下拉既不能空着- (看不出在做事,像是敲了没反应),也不能挂着上一个字的结果(看着就像是新结果,- 而它属于另一个词)。 */-function presentFollowSuggestBusy(menu){- menu.dataset.active='-1';- menu.innerHTML=`<div class="searchbusy">${spinnerHtml('正在查找建议')}<span>正在问站点…</span></div>`;- presentMenu(menu);-}-function followSuggestOptions(menu){- return menu&&!menu.hidden?[...menu.querySelectorAll('[data-search-value]')]:[];-}-function moveFollowSuggest(menu,step){- const options=followSuggestOptions(menu);- if(!options.length)return false;- const now=(Number(menu.dataset.active||-1)+step+options.length)%options.length;- menu.dataset.active=String(now);- options.forEach((option,index)=>option.classList.toggle('active',index===now));- options[now].scrollIntoView({block:'nearest'});- return true;-}--const collapsedFollowAuthors=new Set();-function followAuthorBlock(group){- const name=followAuthorName(group);- const key=String(group[0].author_key||group[0].id);- const collapsed=collapsedFollowAuthors.has(key);- const bad=group.filter(s=>s.last_status==='error'||s.last_status==='unauthorized').length;- /* 站点在这一行只出图标:名字已经在每条来源自己那一行上写着,标题栏再写一遍- 就是同一个词并排两次,还把创作者名挤窄。站名交给 title 和读屏用的那一段。 */- const providers=[...new Set(group.map(source=>source.provider_label||source.provider))].join('、');- const sourceRows=group.map(source=>followSourceRow(source,true)).join('');- const sources=`<div class="fauthorsources" id="follow-author-${group[0].id}" aria-label="${esc(name)} 的关注来源">${sourceRows}</div>`;- return `<details class="fauthor${bad?' bad':''}"${collapsed?'':' open'}>- <summary class="fauthorhead">${followAuthorAvatar(group)}- <b>${esc(name)}</b>- <button type="button" class="frowicon" data-follow-check="" data-follow-sources="${group.filter(s=>s.enabled).map(s=>s.id).join(',')}"- ${group.some(s=>s.enabled)?'':'disabled'} title="检查此创作者" aria-label="检查 ${esc(name)} 的全部来源">${icon('refresh-cw')}</button>- <span class="fmeta" title="${esc(providers)}">${- group.map(source=>sourceIcon(source.provider)).join('')- }<span class="sr-only">来源:${esc(providers)}</span></span>- ${bad?`<span class="fmeta warn">${bad} 个失败</span>`:''}- <span class="board-author-actions"><button type="button" class="fbtn small" data-follow-author-select data-follow-author-name="${esc(name)}" aria-pressed="false" title="全选 ${esc(name)} 的来源" aria-label="全选 ${esc(name)} 的来源">${icon('check-check')}<span data-author-select-label>全选</span></button><button type="button" class="frowicon board-author-toggle" data-follow-author-toggle="${esc(key)}" aria-controls="follow-author-${group[0].id}" aria-expanded="${!collapsed}" aria-label="${collapsed?'展开':'收起'} ${esc(name)} 的来源">${icon('chevron-down')}</button></span>- </summary>- ${sources}</details>`;-}--const followSourceSelection=new Set();-/* 一条来源在两种视图里是同一批格子:勾选、名字、站点、状态、上次检查、动作和错误。- 默认视图把它们排成创作者卡里的一行,表格视图把每格放进一个 <td>;勾选、检查、移除- 的 data 属性两边一样,接线不分视图。 */-function followSourceCells(source,selectable=false){- const state=source.last_status||'未检查';- const bad=state==='error'||state==='unauthorized';- const badge=!source.enabled?'paused':state==='ok'?'ok':bad?'error':'none';- const stateTitle=source.history_exhausted?'没有更多':!source.enabled?'已暂停':state==='ok'?'正常':bad?'检查失败':'未检查';- const status=`<span class="sbadge ${badge}" title="${esc(stateTitle)}"><i aria-hidden="true"></i><span>${esc(stateTitle)}</span></span>`;- const check=selectable?`<label class="fchannelcheck">${checkboxHtml(`data-follow-select="${source.id}" ${followSourceSelection.has(source.id)?'checked':''} aria-label="选择 ${esc(source.label)}"`)}</label>`:`<label class="fchannelcheck" title="${source.enabled?'参与检查更新':'暂停检查更新'}">${checkboxHtml(- `data-follow-enabled="${source.id}" ${source.enabled?'checked':''}`- +` aria-label="${source.enabled?'暂停':'启用'} ${esc(source.label)} 的更新检查"`)}</label>`;- const name=`<b><a class="fsourcelink externallink" href="${esc(source.url)}" target="_blank"- rel="noreferrer noopener" title="打开原来源">${esc(source.label)}${icon('external-link','externalmark')}</a></b>`;- /* 站名默认只出 favicon:创作者卡里它紧挨着创作者名和状态徽章,多这两三个字会把- 那一行挤成三段文字。表格视图的「站点」是独立一列,列头就叫这个名字,那里- `withText` 才为真。两种形态的站名都写在 DOM 里,`.iconly` 只是把它按 sr-only- 的写法夹起来:图标取不到时 <img> 被摘掉,那条规则跟着失效,露出来的仍是站名。 */- const provider=(extra='',withText=false)=>`<span class="fmeta fprovider${- withText?'':' iconly'}" title="${esc(source.provider_label)}">${sourceIcon(source.provider)- }<span>${esc(source.provider_label)}</span>${extra}</span>`;- const checked=`<span class="fmeta fchecked" tabindex="0" title="${esc(source.last_checked_at?localTime(source.last_checked_at):'未检查')}" aria-label="上次检查:${esc(source.last_checked_at?localTime(source.last_checked_at):'未检查')}">${source.last_checked_at?localTimeHtml(source.last_checked_at):'未检查'}</span>`;- const actions=`<span class="fsourceactions">- <button class="frowicon" data-follow-check="${source.id}" title="检查更新"- ${source.enabled?'':'disabled'}- aria-label="检查 ${esc(source.label)} 的更新">${icon('refresh-cw')}</button>- <button class="frowicon danger" data-follow-remove="${source.id}" title="移除来源"- aria-label="移除 ${esc(source.label)}">${icon('trash')}</button>- </span>`;- const error=source.last_error?`<p class="frowerr">${esc(source.last_error)}</p>`:'';- return {className:`fsource${bad?' bad':''}${source.enabled?'':' disabled'}`,check,name,provider,status,checked,actions,error};-}-function followSourceRow(source,selectable=false){- const cell=followSourceCells(source,selectable);- return `<div class="frow ${cell.className}">- ${cell.check}- ${cell.name}- ${cell.provider(selectable?cell.status:'')}- ${cell.checked}- ${selectable?'':cell.status}- ${cell.actions}- ${cell.error}</div>`;-}--/* 表格视图照 boardui.com/components/data-table(取证见 docs/BOARD_UI.md):一行一条来源,- 创作者列每行都写,表头两列能点,点的是工具栏里已有的那两种排序。它有而这里不要的三样:- 表尾密度由视图开关承担,表头全选归上方的本页选择栏。排序方向沿用工具栏那对箭头字形。- 五列都能点:创作者、上次检查按创作者分组比,来源、站点、状态按单条来源比,此时表格按- 那一列拉平排,不再按创作者聚在一起。 */-const FOLLOW_TABLE_SORT={author:'name',source:'source',provider:'provider',status:'status',checked:'checked'};-function followTableHeader(key,label){- const sort=FOLLOW_TABLE_SORT[key],active=followManageSort===sort;- const ascending=active&&followManageDir==='asc';- return `<th scope="col" aria-sort="${active?(ascending?'ascending':'descending'):'none'}"><button type="button" class="ftsort" data-follow-table-sort="${sort}" aria-label="按${label}排序">${label}${icon(ascending?'arrow-up':'arrow-down')}</button></th>`;-}-function followSourceTable(groups,selectable,page=1,perPage=Infinity){- const pairs=groups.flatMap(group=>group.map(source=>[source,group]));- const bySource=FOLLOW_SOURCE_SORTS[followManageSort];- if(bySource){- const flip=followManageDir===(FOLLOW_SORT_DEFAULT_DIR[followManageSort]||'desc')?1:-1;- pairs.sort(([a],[b])=>flip*bySource(a,b));- }- const visible=Number.isFinite(perPage)?pairs.slice((page-1)*perPage,page*perPage):pairs;- const rows=visible.map(([source,group])=>{- const name=followAuthorName(group);- const cell=followSourceCells(source,selectable);- return `<tr class="${cell.className}">- <td class="ftcheck">${cell.check}</td>- <td class="ftauthor"><span class="ftauthorcell">${followAuthorAvatar(group)}<span>${esc(name)}</span></span></td>- <td class="ftname">${cell.name}${cell.error}</td>- <td class="ftprovider">${cell.provider('',true)}</td>- <td class="ftstatus">${cell.status}</td>- <td class="ftchecked">${cell.checked}</td>- <td class="ftactions">${cell.actions}</td></tr>`;- }).join('');- // 外框只管边线与圆角,里层只管横向滚动:渐隐遮罩落在里层,右边线才不会跟着内容一起淡掉。- return `<div class="ftableframe"><div class="ftablewrap"><table class="ftable"><thead><tr>- <th scope="col" class="ftcheck">${selectable?`<label>${checkboxHtml('data-follow-select-all aria-label="全选本页来源"')}</label>`:'<span class="sr-only">启用</span>'}</th>- ${followTableHeader('author','创作者')}- ${followTableHeader('source','来源')}${followTableHeader('provider','站点')}${followTableHeader('status','状态')}- ${followTableHeader('checked','上次检查')}- <th scope="col"><span class="sr-only">操作</span></th></tr></thead><tbody>${rows}</tbody></table></div></div>`;-}--function followAliasManager(groups,suggestions){- groups=groups||[];suggestions=suggestions||[];- const detected=suggestions.map(item=>`<tr>- <td class="faliascheck"><label>${checkboxHtml(`data-follow-alias-select aria-label="选择别名 ${esc(item.alias)},归入 ${esc(item.canonical)}"`)}</label></td>- <td><b>${esc(item.canonical)}</b></td><td>${esc(item.alias)}</td>- <td class="faliasevidence">${esc(item.evidence)}</td>- <td><button class="fbtn small" data-follow-alias-add- data-canonical="${esc(item.canonical)}" data-alias="${esc(item.alias)}">合并</button></td>- </tr>`).join('');- const saved=groups.map(group=>`<tr><td><div class="faliasidentity">${followAliasAvatar(group)}<b>${esc(group.canonical_name)}</b></div></td>- <td>${group.aliases.map(alias=>`<span class="faliaschip">${esc(alias.name)}- <button type="button" data-follow-alias-remove="${esc(alias.name)}"- data-canonical="${esc(group.canonical_name)}"- title="移除别名" aria-label="移除别名 ${esc(alias.name)}">${icon('x')}</button></span>`).join('')}- </td></tr>`).join('');- return `<details class="faliasmanager"${suggestions.length?' open':''}>- <summary>${icon('chevron-right')}创作者别名${suggestions.length?`<span class="faliasbadge">${suggestions.length} 组待合并</span>`- :groups.length?`<span class="faliasbadge">${groups.length} 组</span>`:''}</summary>- <div class="faliasheading"><h4>手动添加别名</h4></div>- <form class="faliasform" id="followAliasAdd">- <input class="geist-input" name="canonical" required placeholder="规范创作者名" aria-label="规范创作者名">- <input class="geist-input" name="alias" required placeholder="平台别名" aria-label="平台别名">- <button class="fbtn primary" type="submit">保存别名</button>- </form>- ${detected?`<div class="faliasheading"><h4>待合并</h4><div class="faliasactions"><button type="button" class="fbtn" data-follow-alias-selected disabled>合并所选(0)</button><button type="button" class="fbtn primary" data-follow-alias-all>全部合并(${suggestions.length})</button></div></div>- <div class="ftableframe"><div class="ftablewrap"><table class="ftable faliastable" aria-label="待合并创作者别名"><thead><tr><th scope="col" class="faliascheck"><label>${checkboxHtml('data-follow-alias-select-all aria-label="全选待合并别名"')}</label></th><th scope="col">规范创作者</th><th scope="col">平台别名</th><th scope="col">依据</th><th scope="col">操作</th></tr></thead><tbody>${detected}</tbody></table></div></div>`:''}- <div class="faliasheading"><h4>已保存别名</h4><span>${groups.length} 组</span></div>- ${saved?`<div class="ftableframe"><div class="ftablewrap"><table class="ftable faliastable faliassaved" aria-label="已保存创作者别名"><thead><tr><th scope="col">规范创作者</th><th scope="col">平台别名</th></tr></thead><tbody>${saved}</tbody></table></div></div>`:emptyState('users','还没有保存创作者别名','填写规范创作者名和平台别名以添加。',{className:'compact'})}- </details>`;-}--/* 四种状态四种颜色:待办(缺凭据)和完成(已配置)不能同色,那正是要一眼分开的两件事。 */-const CRED_STATE={required:['需要','req'],optional:['可选','opt'],- none:['不需要','none'],blocked:['接不进来','blocked']};--/* placeholder 用库里真实存在的创作者,而不是编一个名字——`facets.creators`- 是首页推荐词同一条数据路径,保证是用户自己库里的人。取不到就退回链接示例。 */-/* 「猜你喜欢」由后端从**用户自己浏览过的在线创作者**里挑(`location='online'` 的- pixiv / X 资产,项目初期从浏览记录导入的那批)。不取 `facets.creators`:- 那是「他有谁的文件」而不是「他喜欢谁」——那些人在 kemono/rule34 上大多找不到,- 点了白点。判据留在 web_follow._suggestions。 */-function followSuggestionChips(list){- return (list||[]).map(item=>- `<button class="fchip" data-follow-guess="${esc(item.name)}"- title="浏览历史里出现 ${item.visits} 次${item.origin?` · ${esc(item.origin)}`:''}"- >${esc(item.name)}</button>`).join('');-}--function followCredentialRow(row){- const [label,kind]=CRED_STATE[row.requirement]||CRED_STATE.none;- const configured=row.present&&!row.missing.length;- const needsAttention=row.requirement==='required'&&!configured;- const fields=(row.needs||[]).map(name=>`<label class="fcredfield">- <span>${esc(name)}</span>- <input type="password" name="${esc(name)}" autocomplete="off" spellcheck="false"- placeholder="${(row.shared_fields||[]).includes(name)?'来自共享,留空表示不改'- :row.fields.includes(name)?'已保存,留空表示不改':'未填写'}"></label>`).join('');- const body=row.requirement==='none'?''- :row.requirement==='blocked'?`<p>${esc(row.why)}</p>`- :`<p>${esc(row.why)}${row.where?` <a class="fcredget externallink" href="${esc(row.where)}" target="_blank" rel="noreferrer noopener">去取${icon('external-link','externalmark')}</a>`:''}</p>- ${row.howto?`<p>${esc(row.howto)}</p>`:''}- <form class="fcredform" data-cred-form="${esc(row.provider)}">${fields}- <div class="fcredactions"><button type="submit" class="primary">保存</button>- ${configured?`<button type="button" class="danger" data-cred-clear="${esc(row.provider)}">清除</button>`:''}- <span data-cred-state aria-live="polite"></span></div></form>- ${(row.shared_fields||[]).length?`<p class="fnote">${esc(row.shared_fields.join('、'))} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。</p>`:''}- <p class="fcredpath mono">${esc(row.path)}</p>- ${row.world_readable?noteHtml('文件权限过宽,请在运行 Peach 的 POSIX 主机上收紧为 0600。',{variant:'error'}):''}`;- // 两个分支必须用同一个状态类,否则「不需要」那几行走 .fmeta、其余走 .fstate,- // 同一列出现两套样式和两种对齐——用户一眼就看出来了。- /* 站点标记跟着来源走:凭据配的就是那个站,来源行已经用同一枚 favicon 指认它。- 槽位固定 14px,不看里面有没有图:没登记 favicon 的站本来就没有,取不下来的那些- 还会被 data-drop="self" 整个丢掉——两种情况都会让这一列的名字左边缘参差。 */- const mark=`<span class="ficonslot" aria-hidden="true">${sourceIcon(row.provider)}</span>`;- if(!body)return `<div class="frow fcred none">${mark}<b>${esc(row.provider_label)}</b>- <span class="fcstate none">${esc(label)}</span></div>`;- return `<details class="frow fcred ${esc(kind)}${configured?' ok':''}"${needsAttention?' open':''}>- <summary>${mark}<b>${esc(row.provider_label)}</b>- <span class="fcstate ${configured?'done':esc(kind)}">${esc(configured?'已配置':label)}</span>- ${row.missing.length?`<span class="fcstate missing">缺 ${esc(row.missing.join('、'))}</span>`:''}- </summary>${body}</details>`;-}--/* 关注列表的两种视图共用同一份来源集合、创作者顺序和勾选:默认视图按创作者分卡,- 表格视图一行一条来源。 */-const FOLLOW_LAYOUTS=[['default','默认视图','layout-grid'],['table','表格视图','table']];-const FOLLOW_PAGE_SIZES=[10,20,50,100];-let followManagePage=1;-function followPageSize(){return allowedSetting(Number(appSettings.followPageSize),FOLLOW_PAGE_SIZES,20)}-function followListLayout(){- return allowedSetting(appSettings.followLayout,FOLLOW_LAYOUTS.map(([k])=>k),'default');-}-function followLayoutButtons(){- return iconSwitchHtml('follow-layout','关注列表视图',FOLLOW_LAYOUTS,followListLayout(),- {attr:'data-follow-layout'});-}-function setFollowListLayout(value){- followManagePage=1;- appSettings.followLayout=value;- saveSettings();- // 两种视图的 DOM 不同,但换的只有列表本身:只重画 `.fsources`,页头那枚开关留在原地,- // 滑块才有得滑。拿手里这份 followData 重画,不重取接口、不换骨架;勾选记在- // followSourceSelection 里,收起的创作者记在 collapsedFollowAuthors 里,重画后都还在。- const list=document.querySelector('#stats .fsources');- if(!list){renderFollowManage(followCredentials||{});return}- refreshFollowSourcePage();-}-function followSourceListHtml(groups){- const table=followListLayout()==='table',size=followPageSize();- const total=table?groups.reduce((sum,group)=>sum+group.length,0):groups.length;- const pages=pageCount(total,size);followManagePage=clampPage(followManagePage,pages);- const start=(followManagePage-1)*size,end=Math.min(start+size,total);- const content=table?followSourceTable(groups,true,followManagePage,size)- :`<div class="board-follow-list">${groups.slice(start,end).map(followAuthorBlock).join('')}</div>`;- return content+(total?`<div class="followpagefooter"><div class="followpageinfo"><span>${start+1}–${end} / ${total} ${table?'个来源':'位创作者'}</span><div>${selectFieldHtml(FOLLOW_PAGE_SIZES.map(value=>[String(value),`每页 ${value} ${table?'条':'位'}`]),String(size),{label:'每页显示数量',attr:'data-follow-page-size'})}</div></div>${paginationHtml(followManagePage,pages,'关注列表分页')}</div>`:'');-}-function refreshFollowSourcePage(){- const list=document.querySelector('#stats .fsources');if(!list)return;- list.dataset.layout=followListLayout();- list.innerHTML=followSourceListHtml(followAuthorGroups(followData.sources||[]));- const selection=document.querySelector('[data-follow-page-selection]');- if(selection){selection.hidden=followListLayout()==='table';selection.querySelector('input').disabled=selection.hidden}- const params=new URLSearchParams(location.search);params.set('page',String(followManagePage));- route('/follow-manage?'+params);- wireFollowManage(followCredentials?.providers||[],true);-}--/* 版式判据来自 docs/reference-sources.json 的 vercel-report-design:- 要避开卡片套卡片、用边框补救层级、成排通栏空条、- 细小灰字加随意字号。所以这里不再用嵌套卡片盒子——分组靠标题和一条发丝分隔线,- 行与行之间也只用分隔线,不各自套框。控件尺寸按实测 Geist:32px 高、6px 圆角、14px。 */-let followManageWorkspace='list';-document.addEventListener('click',event=>{- if(event.target.closest?.('[data-empty-settings]')){openSettings(true,'媒体');return}- const link=event.target.closest?.('a[href="/follow-manage?tab=add"]');- if(!link||event.defaultPrevented||event.button||event.metaKey||event.ctrlKey||event.shiftKey||event.altKey)return;- event.preventDefault();- const tab=location.pathname==='/follow-manage'&&document.querySelector('[data-follow-workspace="add"]');- if(tab){tab.click();tab.focus()}- else void openFollowManage(true,'add');-});-function renderFollowManage(credentials){- const workspace=followManageWorkspace;- const sources=followData.sources||[],counts=followData.counts||{};- const availableIds=new Set(sources.map(source=>source.id));- for(const id of followSourceSelection)if(!availableIds.has(id))followSourceSelection.delete(id);- const groups=followAuthorGroups(sources);- const sourceList=followSourceListHtml(groups);- const broken=sources.filter(s=>s.last_status==='error'||s.last_status==='unauthorized');- const creds=(credentials.providers||[]);- const needCred=creds.filter(c=>c.requirement==='required'&&!(c.present&&!c.missing.length));- const locked=!!followRuntime?.ledger_read_only;- const writer=followRuntime?.ledger_writer_origin- ?new URL('/follow-manage',followRuntime.ledger_writer_origin).href:'';- $('#stats').innerHTML=`<div class="follow followmanage">- ${locked?ledgerGateNote(followRuntime,followRuntime.ledger_read_only_message||'本机当前只能浏览',- '前往写入端管理关注',writer):''}- <div class="fmanageoverview" aria-label="关注概览">- <div><span>关注创作者</span><b>${groups.length}<small> 位</small></b></div>- <div><span>启用来源</span><b>${sources.filter(source=>source.enabled).length}<small> / ${sources.length}</small></b></div>- <div><span>检查失败</span><b>${broken.length}<small> 个来源</small></b></div>- <div><span>未看更新</span><b>${counts.new||0}<small> 条</small></b></div>- </div>- <div class="follow-workspace-switch" role="tablist" aria-label="关注管理区域">- <button type="button" role="tab" aria-selected="true" data-follow-workspace="list">关注列表</button>- <button type="button" role="tab" aria-selected="false" data-follow-workspace="add">添加关注</button>- <button type="button" role="tab" aria-selected="false" data-follow-workspace="source">来源和凭证</button>- </div>- <div class="fmain">- <section class="fsec" data-follow-workspace-panel="add">- <div class="fsechead"><h3>添加关注</h3></div>- <form class="faddform" id="followAdd">- <div class="faddfield">- ${searchInputHtml({name:'line',label:'来源链接、名字或 id',- placeholder:'粘贴来源链接,或输入创作者名、id…',attrs:'required'})}- <div class="searchmenu" id="followAddMenu" hidden></div>- </div>- <div class="fsrcfilter" id="followSrcFilter"></div>- </form>- <p class="fnote" data-follow-add-state aria-live="polite"></p>- <div id="followPicks"></div>- ${(followData.suggestions||[]).length- ?`<div class="fguess"><span class="fmeta">猜你喜欢</span>${- followSuggestionChips(followData.suggestions)}</div>`:''}- ${followAliasManager(followData.author_aliases,followData.alias_suggestions)}- </section>- <section class="fsec" data-follow-workspace-panel="list">- <!-- 这一行放得下七件控件,放不下时按 data-collapse-* 收成图标(见 01-base.css)。- 收起后名字由每件控件自己的 title 与 aria-label 承担。 -->- <div class="fsechead" data-collapse-toolbar><h3>关注列表</h3>- <span class="fmeta">${sources.length} 个来源${- counts.new?` · <b>${counts.new}</b> 条未看`:''}</span>- <div class="followtoolbaractions"><button class="fbtn primary followcheckall" data-follow-check="" title="检查全部" aria-label="检查全部"${sources.length?'':' disabled'}>${icon('refresh-cw')}<span data-collapse-label>检查全部</span></button>- ${followLayoutButtons()}- <span class="fmanagesort" data-collapse-field title="关注列表排序">${icon('sort')}${selectFieldHtml(FOLLOW_SORT_OPTIONS,followManageSort,- {label:'关注列表排序',attr:'data-follow-sort'})}</span>- <button class="fbtn fmanagedir" type="button" data-follow-dir aria-label="${- followSortLabel()}">${icon(followManageDir==='asc'?'arrow-up':'arrow-down')}</button>- <button class="fbtn" type="button" data-follow-collapse-all${sources.length?'':' disabled'}>${icon('chevron-up')}<span data-collapse-label>全部收起</span></button></div></div>- ${followCheckReport?followCheckFailNote(followCheckReport):''}- ${sources.length?`<div class="board-follow-selection" data-follow-page-selection${followListLayout()==='table'?' hidden':''}><label>${checkboxHtml('data-follow-select-all aria-label="全选本页来源"')}全选本页</label></div><div class="selectiondock followselectiondock" role="group" aria-label="关注来源批量操作" hidden><span class="selectiondockcount" data-follow-selected-count role="status">已选 0</span><button class="geist-button" data-follow-check="" data-follow-sources="" data-follow-selection-action disabled>检查所选</button><button class="geist-button" data-follow-selection-enabled="true" data-follow-selection-action disabled>启用</button><button class="geist-button" data-follow-selection-enabled="false" data-follow-selection-action disabled>暂停</button><button class="geist-button danger" data-follow-selection-remove data-follow-selection-action disabled>删除</button><button class="geist-button" data-follow-selection-clear>取消选择</button></div>`:''}- ${sources.length?`<div class="frows fsources" data-layout="${followListLayout()}">${sourceList}</div>- ${counts.new?`<div class="fsecfoot"><p class="fnote fbulkrow"><span class="fbulkcounts">未看 ${counts.new} · 已看 ${counts.seen||0}- · 已保存 ${counts.saved||0} · 已忽略 ${counts.ignored||0}</span>- <span class="fbulk"><button class="fbtn" data-follow-bulk="seen">全部标记已看</button>- <button class="fbtn" data-follow-bulk="ignored">全部忽略</button></span></p></div>`:''}`- :emptyState('rss','还没有关注来源','关注来源及其检查状态会显示在这里。',{className:'compact',actions:'<a class="geist-button primary" href="/follow-manage?tab=add">添加关注</a>'})}- </section>- <section class="fsec" data-follow-workspace-panel="source">- <div class="fsechead"><h3>来源和凭证</h3>- ${needCred.length?`<span class="fmeta warn">${needCred.length} 个待配置</span>`:''}</div>- <div class="frows">${creds.map(followCredentialRow).join('')}</div>- <div class="fdesc"><b>这些账号信息存在哪里- <button type="button" class="fdescinfo" data-fdesc-tooltip- aria-label="凭据存放位置说明">${icon('info')}</button></b>- <span>存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。</span>- <div class="context-card" id="follow-credential-tooltip" role="dialog" aria-label="凭据存放信息" hidden><h3>凭据存放信息</h3><dl><dt>所在设备</dt><dd>运行 Peach 的电脑</dd><dt>谁能看到</dt><dd>能登录那台电脑的人</dd><dt>其他设备</dt><dd>浏览器不保存这份文件</dd></dl></div></div>- </section>- </div></div>`;- wireFollowManage(creds);- const tabs=[...$('#stats').querySelectorAll('[data-follow-workspace]')],panels=[...$('#stats').querySelectorAll('[data-follow-workspace-panel]')];- tabs.forEach(tab=>tab.onclick=()=>{- const key=tab.dataset.followWorkspace;followManageWorkspace=key;- const params=new URLSearchParams(location.search);params.set('tab',key);- route('/follow-manage?'+params);- tabs.forEach(t=>t.setAttribute('aria-selected',String(t===tab)));- panels.forEach(panel=>panel.hidden=panel.dataset.followWorkspacePanel!==key);- });- tabs.forEach(tab=>tab.setAttribute('aria-selected',String(tab.dataset.followWorkspace===workspace)));- panels.forEach(panel=>panel.hidden=panel.dataset.followWorkspacePanel!==workspace);- void wireFollowProgress();- if(locked)$('#stats').querySelectorAll(- '#followAdd input,#followAdd button,[data-follow-remove],[data-follow-check],'+- '[data-follow-enabled],[data-follow-selection-enabled],[data-follow-selection-remove],'+- '[data-follow-bulk],[data-follow-guess],[data-follow-alias-add],[data-follow-alias-all],'+- '[data-follow-alias-selected],[data-follow-alias-select],[data-follow-alias-select-all],'+- '[data-follow-alias-remove],#followAliasAdd input,#followAliasAdd button,[data-cred-form] input,'+- '[data-cred-form] button,[data-cred-clear]'- ).forEach(control=>{control.disabled=true});-}---/* 排序落在地址栏上,返回同一页还是同一个顺序。方向等于该列默认值时不写进地址,- 免得地址栏挂一个和默认完全一样的参数。 */-function routeFollowManageSort(){- followManagePage=1;- const params=new URLSearchParams(location.search);params.delete('sort');params.delete('dir');params.set('page','1');- params.set('tab',followManageWorkspace);- if(followManageSort!=='checked')params.set('sort',followManageSort);- if(followManageDir!==(FOLLOW_SORT_DEFAULT_DIR[followManageSort]||'desc'))params.set('dir',followManageDir);- const query=params.toString();+/* ── 管的那一页 ──+ 整页归 React(ADR-0031)。遗留层只留外壳:铺骨架、把地址栏上的那几项和这台浏览器的+ 偏好交出去,取数、渲染、检查更新那趟后台任务都在 /dist/peach-react.js 里。++ 地址栏归这里写,偏好存在 appSettings 里,实时状态在 island 手里——三样东西各只有+ 一份。哪几项该进地址栏由 island 说:它把默认值传成空串,这里就不写进去,分享出去的+ 地址不会挂一串和默认完全一样的参数。 */+const FOLLOW_MANAGE_TABS=['list','add','source'];+/* 这两样偏好只有骨架和挂载这两个读者,值都在 appSettings 里。 */+function followListLayout(){return appSettings.followLayout==='table'?'table':'default'}+function followListPageSize(){return Number(appSettings.followPageSize)||20}+function followManageParams(){+ const params=new URLSearchParams(location.search),tab=params.get('tab');+ return {tab:FOLLOW_MANAGE_TABS.includes(tab)?tab:'list',+ page:Math.max(1,Math.floor(Number(params.get('page')))||1),+ sort:params.get('sort')||'',dir:params.get('dir')||''};+}+function routeFollowManage(params){+ const search=new URLSearchParams();+ if(params.tab&¶ms.tab!=='list')search.set('tab',params.tab);+ if(params.page>1)search.set('page',String(params.page));+ if(params.sort)search.set('sort',params.sort);+ if(params.dir)search.set('dir',params.dir);+ const query=search.toString();route('/follow-manage'+(query?'?'+query:''));- // 排序是拿手里这份 followData 重排,不是换一批数据,所以不走整页那条路径:那条会先把- // 整页换成骨架、再把三个接口重取一遍、最后滚回顶部,而屏幕上真正变的只有下面那份- // 关注列表。直接重画,页面不闪、位置不动。- renderFollowManage(followCredentials||{});}-async function openFollowManage(push=true,workspace='list'){- if(push)followManagePage=1;+async function openFollowManage(push=true,workspace=''){releaseHoverPreviews();disposeStage(false);enterManagementSurface();- if(push){followManageWorkspace=workspace;followManageSort='checked';followManageDir='desc';route('/follow-manage'+(workspace==='list'?'':'?tab='+workspace))}- else if(location.pathname==='/follow-manage'){- const params=new URLSearchParams(location.search),requested=params.get('sort');- followManagePage=Math.max(1,Math.floor(Number(params.get('page')))||1);- followManageWorkspace=['list','add','source'].includes(params.get('tab'))?params.get('tab'):'list';- followManageSort=FOLLOW_SORT_OPTIONS.some(([key])=>key===requested)?requested:'checked';- const requestedDir=params.get('dir');- followManageDir=requestedDir==='asc'||requestedDir==='desc'?requestedDir- :(FOLLOW_SORT_DEFAULT_DIR[followManageSort]||'desc');- }+ const params=followManageParams();+ if(workspace)params.tab=workspace;+ // 从窄栏点进来是「重新进入」:回到第一页与默认排序,页签由调用方说。+ if(push){params.page=1;params.sort='';params.dir=''}+ if(push||workspace)routeFollowManage(params);const surface=claimSurface('/follow-manage');showManagementBody({placeholder:managementPlaceholder('/follow-manage')});- const [data,credentials,runtime]=await Promise.all([- surfaceApi(surface,'/api/follow?limit=1'),surfaceApi(surface,'/api/follow/credentials'),- surfaceApi(surface,'/healthz')]);+ const [ui,runtime]=await Promise.all([+ import('/dist/peach-ui.js'),surfaceApi(surface,'/healthz')]);if(!surfaceCurrent(surface))return;- followData=data;followRuntime=runtime;followCredentials=credentials;- renderFollowManage(credentials);- window.scrollTo({top:0,behavior:'smooth'});+ const writer=runtime?.ledger_writer_origin+ ?new URL('/follow-manage',runtime.ledger_writer_origin).href:'';+ await ui.mountIsland('follow-manage',$('#stats'),{...params,+ route:routeFollowManage,+ pageSize:followListPageSize(),+ layout:followListLayout(),+ savePreference:patch=>{+ if(patch.pageSize!==undefined)appSettings.followPageSize=patch.pageSize;+ if(patch.layout!==undefined)appSettings.followLayout=patch.layout;+ saveSettings();+ },+ toast:actionReceipt,openFollow:()=>void openFollow(),+ readOnly:!!runtime?.ledger_read_only,+ readOnlyMessage:runtime?.ledger_read_only_message||'本机当前只能浏览',+ writerUrl:writer,+ },{isCurrent:()=>surfaceCurrent(surface)});+ if(surfaceCurrent(surface))window.scrollTo({top:0,behavior:'smooth'});}+/* 空态里那条「添加关注」:已经在这一页上时也走同一条路,页签跟着地址一起换。 */+document.addEventListener('click',event=>{+ if(event.target.closest?.('[data-empty-settings]')){openSettings(true,'媒体');return}+ const link=event.target.closest?.('a[href="/follow-manage?tab=add"]');+ if(!link||event.defaultPrevented||event.button||event.metaKey||event.ctrlKey||event.shiftKey||event.altKey)return;+ event.preventDefault();+ void openFollowManage(true,'add');+});/* ── 共用接线 ── *//* 这次会话里已经回写过的图,`条目:媒体序号`。回写只补空缺,服务端本来就会@@ -6995,525 +6514,6 @@ function wireFollowItems(){});}-function wireFollowManage(creds=[],listOnly=false){- if(!listOnly)void wireResolveProgress();- const root=$('#stats'),form=listOnly?null:root.querySelector('#followAdd');- wireCollapse(root,'details.fauthor','follow-author-collapse','[data-follow-author-toggle]');- const allKeys=()=>followAuthorGroups(followData.sources||[]).map(group=>String(group[0].author_key||group[0].id));- const collapseAll=root.querySelector('[data-follow-collapse-all]');- const syncCollapseAll=()=>{if(collapseAll){const collapsed=allKeys().every(key=>collapsedFollowAuthors.has(key));collapseAll.hidden=followListLayout()==='table';collapseAll.innerHTML=icon(collapsed?'chevron-down':'chevron-up')+'<span data-collapse-label>'+ (collapsed?'全部展开':'全部收起')+'</span>';collapseAll.title=collapsed?'全部展开':'全部收起';collapseAll.setAttribute('aria-label',collapseAll.title)}};- if(collapseAll)collapseAll.onclick=()=>{- const keys=allKeys(),collapse=!keys.every(key=>collapsedFollowAuthors.has(key));- keys.forEach(key=>collapse?collapsedFollowAuthors.add(key):collapsedFollowAuthors.delete(key));- root.querySelectorAll('[data-follow-author-toggle]').forEach(button=>{if((button.getAttribute('aria-expanded')==='true')===collapse)button.click()});- syncCollapseAll();- };- root.querySelectorAll('[data-follow-author-toggle]').forEach(button=>button.onclick=event=>{- event.stopPropagation();- const expanded=button.getAttribute('aria-expanded')==='true';- button.setAttribute('aria-label',button.getAttribute('aria-label').replace(/^(展开|收起)/,expanded?'收起':'展开'));- if(expanded)collapsedFollowAuthors.delete(button.dataset.followAuthorToggle);else collapsedFollowAuthors.add(button.dataset.followAuthorToggle);- syncCollapseAll();- });- root.querySelectorAll('details.fauthor').forEach(detail=>detail.addEventListener('toggle',()=>{- if(!detail.isConnected)return;- const key=detail.querySelector('[data-follow-author-toggle]').dataset.followAuthorToggle;- if(detail.open)collapsedFollowAuthors.delete(key);else collapsedFollowAuthors.add(key);- syncCollapseAll();- }));- syncCollapseAll();- root.querySelectorAll('.followpagefooter [data-page]').forEach(button=>button.onclick=()=>{- followManagePage=Number(button.dataset.page);refreshFollowSourcePage();- root.querySelector('.board-page[aria-current="page"]')?.focus({preventScroll:true});- root.querySelector('[data-follow-workspace-panel="list"]')?.scrollIntoView({block:'start'});- });- const pageSizeField=root.querySelector('[data-follow-page-size]');- if(pageSizeField)wireSelectField(pageSizeField).addEventListener('change',()=>{- const value=Number(pageSizeField.value);if(!FOLLOW_PAGE_SIZES.includes(value))return;- appSettings.followPageSize=value;saveSettings();followManagePage=1;refreshFollowSourcePage();- root.querySelector('[data-follow-page-size] button')?.focus({preventScroll:true});- });- const selectable=[...root.querySelectorAll('[data-follow-select]')];- const selectedIds=()=>(followData.sources||[]).filter(source=>followSourceSelection.has(source.id)).map(source=>source.id);- const syncSelection=()=>{- const ids=selectedIds(),count=root.querySelector('[data-follow-selected-count]');- const all=root.querySelector(followListLayout()==='table'?'.ftable [data-follow-select-all]':'[data-follow-page-selection] [data-follow-select-all]');- const summary=selectionSummary(followSourceSelection,selectable.map(field=>Number(field.dataset.followSelect)));- syncSelectionToolbar({count,label:`已选 ${ids.length} 个来源`,all,summary:{...summary,count:ids.length},- actions:root.querySelectorAll('[data-follow-selection-action]'),locked:!!followRuntime?.ledger_read_only});- const dock=root.querySelector('.followselectiondock');if(dock)dock.hidden=!ids.length;- root.querySelectorAll('[data-follow-selection-action][data-follow-check]').forEach(button=>{button.dataset.followSources=ids.join(',')});- selectable.forEach(field=>field.closest('.fsource').classList.toggle('selected',field.checked));- root.querySelectorAll('[data-follow-author-select]').forEach(button=>{- const fields=[...button.closest('.fauthor').querySelectorAll('[data-follow-select]')],count=fields.filter(field=>field.checked).length;- const label=count===fields.length?'取消全选':'全选';- button.querySelector('[data-author-select-label]').textContent=label;- button.querySelector('svg').outerHTML=icon(count===fields.length?'check-check-outline':'check-check');- button.title=`${label} ${button.dataset.followAuthorName} 的来源`;- button.setAttribute('aria-label',button.title);- button.setAttribute('aria-pressed',count===fields.length?'true':count?'mixed':'false');- });- };- selectable.forEach(field=>field.onchange=()=>{const id=Number(field.dataset.followSelect);if(field.checked)followSourceSelection.add(id);else followSourceSelection.delete(id);syncSelection()});- selectable.forEach(field=>field.closest('.fsource').addEventListener('click',event=>{- if(event.target.closest('a,button,label,input'))return;- field.click();- }));- root.querySelectorAll('[data-follow-author-select]').forEach(button=>button.onclick=event=>{- event.preventDefault();event.stopPropagation();- const fields=[...button.closest('.fauthor').querySelectorAll('[data-follow-select]')],checked=!fields.every(field=>field.checked);- selectGroup(followSourceSelection,fields.map(field=>Number(field.dataset.followSelect)),checked);- fields.forEach(field=>{field.checked=checked});syncSelection();- });- const selectAll=root.querySelector(followListLayout()==='table'?'.ftable [data-follow-select-all]':'[data-follow-page-selection] [data-follow-select-all]');- const clearSelection=root.querySelector('[data-follow-selection-clear]');- if(clearSelection)clearSelection.onclick=()=>{followSourceSelection.clear();selectable.forEach(field=>{field.checked=false});syncSelection();selectAll?.focus({preventScroll:true})};- if(selectAll)selectAll.onchange=()=>{selectGroup(followSourceSelection,selectable.map(field=>Number(field.dataset.followSelect)),selectAll.checked);selectable.forEach(field=>{field.checked=selectAll.checked});syncSelection()};- root.querySelectorAll('[data-follow-selection-enabled]').forEach(button=>button.onclick=async()=>{- const ids=selectedIds(),enabled=button.dataset.followSelectionEnabled==='true';if(!ids.length)return;- setActionBusy(button);- const results=await mapLimit(ids,4,id=>api('/api/follow/source',{method:'POST',body:JSON.stringify({action:'enabled',id,enabled})}));- const failures=results.filter(result=>!result.ok);- await openFollowManage(false);- if(failures.length)actionFailure(`批量更新 ${failures.length}/${ids.length} 个来源`,failures[0].error);- else actionReceipt(`已${enabled?'启用':'暂停'} ${ids.length} 个关注来源`);- });- syncSelection();- const removeSelection=root.querySelector('[data-follow-selection-remove]');- if(removeSelection)removeSelection.onclick=()=>{- const ids=selectedIds();if(!ids.length)return;- return confirmModal({title:`删除 ${ids.length} 个关注来源`,body:'将移除所选关注来源及其已抓取条目,媒体文件保留。',confirmLabel:'删除所选来源',danger:true,onConfirm:async()=>{- const results=await mapLimit(ids,4,id=>api('/api/follow/source',{method:'POST',body:JSON.stringify({action:'remove',id})}));- results.forEach((result,index)=>{if(result.ok)followSourceSelection.delete(ids[index])});- await openFollowManage(false);- const failures=results.filter(result=>!result.ok);- if(failures.length)throw new Error(`${failures.length} 个来源未删除:${failures[0].error?.message||'请求失败'}`);- actionReceipt(`已删除 ${ids.length} 个关注来源`);- }});- };- wireScrollers(root);- const sortField=listOnly?null:root.querySelector('[data-follow-sort]');- if(sortField)wireSelectField(sortField).addEventListener('change',()=>{- followManageSort=sortField.value;- followManageDir=FOLLOW_SORT_DEFAULT_DIR[followManageSort]||'desc';- routeFollowManageSort();- });- const dir=root.querySelector('[data-follow-dir]');- if(dir)dir.onclick=()=>{- followManageDir=followManageDir==='asc'?'desc':'asc';- routeFollowManageSort();- };- // 表格视图的表头:再点当前那列是翻方向,点另一列是换列并回到该列的默认方向。- root.querySelectorAll('[data-follow-table-sort]').forEach(button=>button.onclick=()=>{- const sort=button.dataset.followTableSort;- if(followManageSort===sort)followManageDir=followManageDir==='asc'?'desc':'asc';- else{followManageSort=sort;followManageDir=FOLLOW_SORT_DEFAULT_DIR[sort]||'desc'}- routeFollowManageSort();- });- wireIconSwitch(root,'data-follow-layout',setFollowListLayout);- if(!listOnly)renderFollowSrcFilter(root.querySelector('#followSrcFilter'),creds);- const tooltipTrigger=listOnly?null:root.querySelector('[data-fdesc-tooltip]');- const tooltip=root.querySelector('#follow-credential-tooltip');- if(tooltipTrigger&&tooltip)wireContextCard(tooltipTrigger.closest('.fdesc'),tooltipTrigger,tooltip);- /* 创作者别名和凭据行都走 Geist Collapse,两处同一份实现。凭据行的 `details.fcred`- 必须是 block:flex 行布局接不上 Collapse 的高度过渡。 */- wireCollapse(root,'details.faliasmanager','follow-alias-collapse');- wireCollapse(root,'details.fcred','follow-cred-collapse');- const box=form&&form.querySelector('input[name="line"]');- const addMenu=form&&form.querySelector('#followAddMenu');- const closeAddSuggest=()=>{if(addMenu){dismissMenu(addMenu);addMenu.dataset.active='-1'}};- /* 每一下输入都排一次建议,但只发一次请求:250ms 内继续敲就换掉上一次的排期。- 地址不进这条路——`suggest_term` 认得出它里面的 `/`,那时该做的是解析链接。 */- const refreshAddSuggest=()=>{- if(!addMenu||!box)return;- clearTimeout(followSuggestTimer);- const query=box.value.trim();- if(!query){followSuggestFor='';followSuggestGroups=[];closeAddSuggest();return}- followSuggestTimer=setTimeout(()=>{- /* 焦点可能已经不在输入框上:失焦那条兜底先把下拉收了,晚到的回调再把它掀开,- 而这一刻没有焦点,也就再不会有第二次失焦来收场。忙态和结果都要过这一关。 */- if(document.activeElement!==box)return;- presentFollowSuggestBusy(addMenu);- loadFollowSuggestions(query).then(()=>{- if(document.activeElement===box)renderFollowAddMenu(addMenu,query)});- },FOLLOW_SUGGEST_DEBOUNCE);- };- if(box){- box.addEventListener('input',event=>{if(!event.isComposing)refreshAddSuggest()});- box.addEventListener('compositionend',refreshAddSuggest);- box.addEventListener('blur',()=>setTimeout(closeAddSuggest,140));- }- if(addMenu){- /* 按下就 preventDefault,不让下拉把焦点从输入框抢走:抢走会触发 blur,那条- 140ms 的兜底把菜单收掉,click 就落到空处,点一条建议什么也不会发生。 */- addMenu.onmousedown=event=>event.preventDefault();- addMenu.onclick=event=>{- const row=event.target.closest('[data-search-value]');- if(!row||!box)return;- box.value=row.dataset.searchValue;closeAddSuggest();form.requestSubmit();- };- }- /* 回车自己接管,不靠隐式提交:没有提交按钮时浏览器只在「表单里仅有一个文本字段」- 才替你提交,而来源筛选的那串复选框就住在同一个 <form> 里。实测按下去什么也不发生。- isComposing 是给中文输入法的——选字那一下的回车不是提交,方向键也在挑候选字。 */- if(box)box.addEventListener('keydown',event=>{- if(event.isComposing)return;- if(event.key==='Escape'&&addMenu&&!addMenu.hidden){- closeAddSuggest();event.preventDefault();return;- }- if(event.key==='ArrowDown'||event.key==='ArrowUp'){- if(moveFollowSuggest(addMenu,event.key==='ArrowDown'?1:-1))event.preventDefault();- return;- }- if(event.key!=='Enter')return;- event.preventDefault();- /* 选中一条建议再回车,等于把那个名字填进来再查找。查找只是列出候选、不写任何- 东西,所以选中即查找是安全的——真正登记仍然要在候选里点。 */- const picked=followSuggestOptions(addMenu)[Number(addMenu?.dataset.active||-1)];- if(picked)box.value=picked.dataset.searchValue;- closeAddSuggest();form.requestSubmit();- });- if(form)form.onsubmit=async event=>{- event.preventDefault();- if(form.dataset.busy==='true')return;- /* 状态提示在表单外面的说明行里,不能在 form 里找——找不到就是 null,- 第一次赋值直接抛 TypeError,整个提交静默失败。 */- const state=root.querySelector('[data-follow-add-state]');- const prefix=form.querySelector('[data-search-prefix]');- const line=String(new FormData(form).get('line')||'').trim();- if(!line)return;- const lines=[line];- const byName=!line.includes('/');- /* 没有提交按钮可以变灰,忙态就落在输入框自己身上:前缀图标原位换 Spinner,- aria-busy 播报给辅助技术,重复回车由 dataset.busy 挡住。 */- form.dataset.busy='true';form.setAttribute('aria-busy','true');- if(prefix)prefix.innerHTML=spinnerHtml('查找中');- // 索引下载的提醒只在真按名字查时出现;常驻成一句说明就是噪音。- state.textContent=byName?'查找中…(首次按名字查要下载创作者索引,可能几十秒)':'识别中…';- try{- const result=await api('/api/follow/resolve',{method:'POST',- body:JSON.stringify({lines,background:true})});- sessionStorage.setItem('peach-resolve-job',result.job_id);- state.textContent='';if(box)box.value='';- if(form.isConnected)void wireResolveProgress();- }catch(error){state.textContent=error.message||'查找失败';if(form.isConnected)void wireResolveProgress()}- finally{form.dataset.busy='false';form.removeAttribute('aria-busy');- if(prefix)prefix.innerHTML=icon('search')}- };- root.querySelectorAll('[data-follow-remove]').forEach(button=>button.onclick=async()=>{- return confirmModal({title:'取消关注来源',body:'将移除这个来源及已抓取的条目,媒体文件保留。',confirmLabel:'取消关注来源',danger:true,onConfirm:async()=>{- setActionBusy(button);- try{- await api('/api/follow/source',{method:'POST',- body:JSON.stringify({action:'remove',id:+button.dataset.followRemove})});- await openFollowManage(false);actionReceipt('已取消关注来源');- }catch(error){setActionBusy(button,false);throw error}- }});- });- root.querySelectorAll('[data-follow-enabled]').forEach(control=>control.onchange=async()=>{- const enabled=control.checked;control.disabled=true;- try{- await api('/api/follow/source',{method:'POST',body:JSON.stringify(- {action:'enabled',id:Number(control.dataset.followEnabled),enabled})});- await openFollowManage(false);actionReceipt(enabled?'已启用关注来源':'已暂停关注来源',{undo:async()=>{- await api('/api/follow/source',{method:'POST',body:JSON.stringify(- {action:'enabled',id:Number(control.dataset.followEnabled),enabled:!enabled})});- await openFollowManage(false);- }});- }catch(error){control.checked=!enabled;control.disabled=false;actionFailure('更新关注来源',error)}- });- root.querySelectorAll('[data-follow-check]').forEach(button=>button.onclick=async()=>{- if(followBusy)return;- followBusy=true;let startedJob=false;const oldTitle=button.title;- const oldAria=button.getAttribute('aria-label');- const oldButton=button.innerHTML;- setActionBusy(button);button.title='检查中…';- button.setAttribute('aria-label','检查中…');- button.innerHTML=`${spinnerHtml('检查中')}${button.matches('.frowicon')?'':'<span data-collapse-label>检查中…</span>'}`;- try{- const id=button.dataset.followCheck;- const sources=button.dataset.followSources?.split(',').filter(Boolean).map(Number);- const started=await api('/api/follow/check',{method:'POST',- body:JSON.stringify({...(sources?{sources}:id?{source:+id}:{}),background:true})});- sessionStorage.setItem('peach-follow-job',started.job_id);- followCheckReport=null;root.querySelector('.fcheckreports')?.remove();- startedJob=true;- if(button.isConnected)void wireFollowProgress();- }catch(e){- // 整个请求就失败了(断网、写入端不可达):同样走那块报告,不弹 alert。- followCheckReport={results:[{ok:false,error:e.message}]};- followCheckToast(followCheckReport);- const note=followCheckFailNote(followCheckReport);- const box=$('#stats').querySelector('.fcheckreports');- if(box)box.outerHTML=note;- else $('#stats').querySelector('.fsec')?.insertAdjacentHTML('afterbegin',note);- }- finally{if(button.isConnected)followBusy=startedJob;setActionBusy(button,startedJob);button.innerHTML=oldButton;- button.title=oldTitle;if(oldAria===null)button.removeAttribute('aria-label');- else button.setAttribute('aria-label',oldAria)}- });- const saveAuthorAlias=async(canonical,alias,button)=>{- if(button.getAttribute('aria-busy')==='true')return;- setActionBusy(button);- try{- await api('/api/follow/author-alias',{method:'POST',body:JSON.stringify(- {action:'add',canonical,alias})});- await openFollowManage(false);actionReceipt('已合并创作者别名',{undo:async()=>{- await api('/api/follow/author-alias',{method:'POST',body:JSON.stringify({action:'remove',alias})});- await openFollowManage(false);- }});- }catch(error){setActionBusy(button,false);actionFailure('合并创作者别名',error)}- };- const mergeAll=root.querySelector('[data-follow-alias-all]');- const mergeSelected=root.querySelector('[data-follow-alias-selected]');- const aliasSelectAll=root.querySelector('[data-follow-alias-select-all]');- const aliasFields=()=>[...root.querySelectorAll('[data-follow-alias-select]')];- const syncAliasSelection=()=>{- const fields=aliasFields(),count=fields.filter(field=>field.checked).length;- fields.forEach(field=>field.closest('tr').classList.toggle('selected',field.checked));- if(aliasSelectAll){aliasSelectAll.checked=fields.length>0&&count===fields.length;aliasSelectAll.indeterminate=count>0&&count<fields.length}- if(mergeSelected){mergeSelected.disabled=count===0;mergeSelected.textContent=`合并所选(${count})`}- if(mergeAll){mergeAll.disabled=fields.length===0;mergeAll.textContent=`全部合并(${fields.length})`}- };- aliasFields().forEach(field=>field.onchange=syncAliasSelection);- if(aliasSelectAll)aliasSelectAll.onchange=()=>{aliasFields().forEach(field=>{field.checked=aliasSelectAll.checked});syncAliasSelection()};- const mergeAliases=(trigger,selectedOnly)=>{- const pending=[...root.querySelectorAll('[data-follow-alias-add]')]- .filter(button=>!selectedOnly||button.closest('tr').querySelector('[data-follow-alias-select]').checked).map(button=>({- canonical:button.dataset.canonical,alias:button.dataset.alias,button}));- if(!pending.length)return;- return confirmModal({title:selectedOnly?'合并所选创作者别名':'合并全部创作者别名',- body:`将合并以下 ${pending.length} 组创作者:${pending.map(item=>`「${item.alias}」归入「${item.canonical}」`).join(';')}。`,- confirmLabel:selectedOnly?'合并所选别名':'合并全部别名',onConfirm:async()=>{- setActionBusy(trigger);- try{- while(pending.length){- const item=pending[0];- await api('/api/follow/author-alias',{method:'POST',body:JSON.stringify({action:'add',canonical:item.canonical,alias:item.alias})});- pending.shift();item.button.closest('tr')?.remove();syncAliasSelection();- }- await openFollowManage(false);actionReceipt(selectedOnly?'已合并所选创作者别名':'已合并全部创作者别名');- }catch(error){throw new Error(`还有 ${pending.length} 组未合并:${error.message}`)}- finally{setActionBusy(trigger,false)}- }});- };- if(mergeAll)mergeAll.onclick=()=>mergeAliases(mergeAll,false);- if(mergeSelected)mergeSelected.onclick=()=>mergeAliases(mergeSelected,true);- syncAliasSelection();- root.querySelectorAll('[data-follow-alias-add]').forEach(button=>button.onclick=()=>- saveAuthorAlias(button.dataset.canonical,button.dataset.alias,button));- const aliasForm=root.querySelector('#followAliasAdd');- if(aliasForm)aliasForm.onsubmit=event=>{- event.preventDefault();const data=new FormData(aliasForm),button=aliasForm.querySelector('button');- saveAuthorAlias(String(data.get('canonical')||'').trim(),- String(data.get('alias')||'').trim(),button);- };- root.querySelectorAll('[data-follow-alias-remove]').forEach(button=>button.onclick=async()=>{- const alias=button.dataset.followAliasRemove;- return confirmModal({title:'移除创作者别名',body:`将移除别名「${alias}」,对应来源恢复为独立创作者组。`,confirmLabel:'移除创作者别名',danger:false,onConfirm:async()=>{- setActionBusy(button);- try{- await api('/api/follow/author-alias',{method:'POST',body:JSON.stringify(- {action:'remove',alias})});- await openFollowManage(false);actionReceipt('已移除创作者别名',{undo:async()=>{- await api('/api/follow/author-alias',{method:'POST',body:JSON.stringify(- {action:'add',canonical:button.dataset.canonical,alias})});- await openFollowManage(false);- }});- }catch(error){setActionBusy(button,false);throw error}- }});- });- root.querySelectorAll('[data-follow-guess]').forEach(chip=>chip.onclick=()=>{- if(!form)return;- const box=form.querySelector('input[name="line"]');- box.value=chip.dataset.followGuess;- box.dispatchEvent(new Event('input'));- form.requestSubmit();- });- root.querySelectorAll('[data-cred-form]').forEach(form=>form.onsubmit=async event=>{- event.preventDefault();- const state=form.querySelector('[data-cred-state]'),button=form.querySelector('button');- const values={};- form.querySelectorAll('input[name]').forEach(input=>{- if(input.value.trim())values[input.name]=input.value.trim()});- if(!Object.keys(values).length){state.textContent='没有填写内容';return}- button.disabled=true;state.textContent='保存中…';- try{- await api('/api/follow/credential',{method:'POST',body:JSON.stringify(- {provider:form.dataset.credForm,values})});- // 值不回显:清掉输入框,重画之后只看得到字段名。- form.reset();await openFollowManage(false);actionReceipt('已保存来源凭据');- }catch(error){state.textContent=error.message||'保存失败';button.disabled=false}- });- root.querySelectorAll('[data-cred-clear]').forEach(button=>button.onclick=async()=>{- return confirmModal({title:'清除来源凭据',body:'将清除这个来源在本机和共享副本中的登录凭据。',confirmLabel:'清除来源凭据',danger:true,onConfirm:async()=>{- setActionBusy(button);- try{- // 共享盘不在时后端只撤掉了本机那份,必须让用户看见——否则他以为撤干净了,- // 等盘回来 key 又被同步回来。- const done=await api('/api/follow/credential',{method:'POST',body:JSON.stringify(- {provider:button.dataset.credClear,values:{}})});- if(done.note)throw new Error(done.note);- await openFollowManage(false);actionReceipt('已清除来源凭据');- }catch(error){setActionBusy(button,false);throw error}- }});- });- root.querySelectorAll('[data-follow-bulk]').forEach(button=>button.onclick=async()=>{- const to=button.dataset.followBulk;- return confirmModal({title:to==='seen'?'标记已看':'标记已忽略',body:`将把当前未看作品标记为${to==='seen'?'已看':'已忽略'}。`,confirmLabel:to==='seen'?'标记已看':'标记已忽略',danger:false,onConfirm:async()=>{- setActionBusy(button);- try{- const pending=await api('/api/follow?status=new&limit=1000');- const ids=(pending.groups||[]).flatMap(g=>[g.primary,...g.variants,...g.duplicates])- .filter(item=>item.status==='new').map(item=>item.id);- /* 一千条串行发是实测的卡点:请求之间的往返全靠等,界面按住不放。- 这里的每一条都是独立的写入,彼此没有顺序要求,交给有界并发。 */- const results=await mapLimit(ids,6,id=>- api('/api/follow/status',{method:'POST',body:JSON.stringify({item:id,to})}));- const failed=results.filter(result=>!result.ok);- await openFollowManage(false);- if(failed.length)actionFailure(`批量更新 ${failed.length}/${ids.length} 项`,failed[0].error);- else actionReceipt(`已批量标记 ${ids.length} 项`);- }catch(error){setActionBusy(button,false);throw error}- }});- });-}--/* 查找结果先摆出来由人勾选,不自动登记:发现要联网,结果也可能不止一个,- 替用户决定「就是这个」是错的。已经关注的项灰掉但仍显示,免得人以为没查到。 */-/* 来源筛选的常驻控件:挂在「添加关注」面板里,列出全部已关注来源,- 默认全选;取消勾选的来源,其查找结果行隐藏、也不进「添加选中」。 */-function renderFollowSrcFilter(mount,credentials=[]){- if(!mount)return;- closeAnchoredMenu();- const sources=credentials.filter(source=>source.followable);- const providers=[...new Set(sources- .map(source=>source.provider_label).filter(Boolean))];- /* 下拉里的每一行带上该来源的 favicon:label 只是展示名,图标要靠 provider- 查 SOURCE_ICON_PROVIDERS,所以另建一张 label→provider 的映射。 */- const providerIcon=new Map(sources.filter(source=>source.provider&&source.provider_label)- .map(source=>[source.provider_label,source.provider]));- providers.forEach(provider=>{if(!fsrcProviders.has(provider))fsrcProviders.add(provider)});- const requirements=new Map(credentials.map(row=>[row.provider_label,row]));- const label=()=>{const n=providers.filter(p=>!fsrcUnchecked.has(p)).length;- return n===providers.length?'全部来源':`${n}/${providers.length} 个来源`};- mount.innerHTML=`<button type="button" class="fbtn" data-srcfilter-toggle- aria-expanded="false" aria-haspopup="menu" aria-controls="follow-source-menu"- aria-label="${esc(label())}" title="${esc(label())}">- ${icon('list-filter')}<span data-srcfilter-label>${esc(label())}</span></button>- <div class="popmenu fsrcmenu" id="follow-source-menu" role="menu" data-srcfilter-menu hidden>${providers.length?`<div class="fsrcbulk">- <button type="button" class="geist-button" data-srcfilter-all>全选</button>- <button type="button" class="geist-button" data-srcfilter-none>全不选</button></div>`:''}${providers.map(provider=>{- const row=requirements.get(provider);- const needsCredentials=row?.requirement==='required'&&(!row.present||(row.missing||[]).length);- return `<div class="fsrcoption"><label>${checkboxHtml(`data-srcfilter="${esc(provider)}"${fsrcUnchecked.has(provider)?'':' checked'}`)}- ${sourceIcon(providerIcon.get(provider)||'')}<span>${esc(provider)}</span></label>- ${needsCredentials?`<button type="button" class="geist-button" data-srcfilter-config="${esc(row.provider)}">需要配置凭据</button>`:''}</div>`;- }).join('')||'<p>暂无可用来源</p>'}</div>`;- const toggle=mount.querySelector('[data-srcfilter-toggle]');- const menu=mount.querySelector('[data-srcfilter-menu]');- wireAnchoredMenu(mount,toggle,menu);- menu.querySelectorAll('[data-srcfilter-config]').forEach(button=>button.onclick=()=>{- closeAnchoredMenu();- const form=[...document.querySelectorAll('[data-cred-form]')].find(form=>form.dataset.credForm===button.dataset.srcfilterConfig);- const details=form?.closest('details');- if(details){details.open=true;details.scrollIntoView({block:'center',behavior:'smooth'});form.querySelector('input')?.focus({preventScroll:true})}- });- const inputs=[...menu.querySelectorAll('[data-srcfilter]')];- /* 勾选状态只有 fsrcUnchecked 一份真相:单个复选框、全选、全不选都先改它,- 再统一刷新按钮标签和查找结果的隐藏行。 */- const sync=()=>{- toggle.setAttribute('aria-label',label());toggle.title=label();- toggle.querySelector('[data-srcfilter-label]').textContent=label();- document.querySelectorAll('.fpickitem').forEach(item=>{- item.hidden=fsrcUnchecked.has(item.dataset.provider||'')})};- const setChecked=(input,checked)=>{- input.checked=checked;- checked?fsrcUnchecked.delete(input.dataset.srcfilter):fsrcUnchecked.add(input.dataset.srcfilter)};- inputs.forEach(input=>input.onchange=()=>{setChecked(input,input.checked);sync()});- const setAll=checked=>{inputs.forEach(input=>setChecked(input,checked));sync()};- const all=menu.querySelector('[data-srcfilter-all]'),none=menu.querySelector('[data-srcfilter-none]');- if(all)all.onclick=()=>setAll(true);- if(none)none.onclick=()=>setAll(false);-}-function renderFollowPicks(results){- const box=$('#followPicks');- if(!box)return;- if(!results.length){box.innerHTML='';return}- /* 来源筛选:默认全选(集合为空 = 全部);取消勾选的来源其结果行隐藏,- 隐藏行不进「添加选中」。新来源出现时默认勾上。 */- const providers=[...new Set(results.flatMap(row=>(row.candidates||[])- .map(c=>c.provider_label).filter(Boolean)))];- providers.forEach(provider=>{if(!fsrcProviders.has(provider))fsrcProviders.add(provider)});- const srcChecked=provider=>fsrcProviders.has(provider) &&- !fsrcUnchecked.has(provider);- const blocks=results.map((row,index)=>{- if(row.kind==='error')- return `<div class="fpick bad"><b>${esc(row.line)}</b><p>${esc(row.error)}</p></div>`;- const failures=Object.entries(row.failures||{});- const items=(row.candidates||[]).map((c,ci)=>`<label class="fpickitem${c.known?' known':''}" data-provider="${esc(c.provider_label||'')}">- ${checkboxHtml(`data-pick="${index}-${ci}" value="${esc(c.url)}"`- +` data-author="${esc(c.author||'')}" data-aliases="${esc(JSON.stringify(c.aliases||[]))}"`- +` data-label="${esc(c.label)}"${c.known?' disabled':' checked'}`)}- <span><b>${esc(c.provider_label)}</b> ${esc(c.label)}- <i>${esc(c.known?'已经关注':c.evidence)}</i></span></label>`).join('');- const searches=(row.external_searches||[]).map(search=>- `<div class="fpicksearch"><i>${esc(search.evidence)}</i>- <a class="externallink" href="${esc(search.url)}" target="_blank" rel="noreferrer noopener">- <b>${esc(search.label)}</b><span>${esc(search.query)}</span>${icon('external-link','externalmark')}</a></div>`).join('');- return `<div class="fpick"><b>${esc(row.line)}</b>- ${items||'<p class="fpickempty">站内没有查到来源</p>'}- ${searches}- ${failures.length?`<p class="fpickfail">${failures.map(([k,v])=>- `${esc(k)}:${esc(v)}`).join(';')}</p>`:''}</div>`;- }).join('');- const total=results.reduce((n,row)=>n+(row.candidates||[])- .filter(c=>!c.known && srcChecked(c.provider_label||'')).length,0);- box.innerHTML=`<div class="fpicks"><div class="fpickhead"><h3>查找结果</h3></div>${blocks}- ${total?`<div class="fpickactions"><button class="primary" data-pick-add>添加选中</button>- <button data-pick-cancel>取消</button><span data-pick-state aria-live="polite"></span></div>`- :'<div class="fpickactions"><button data-pick-cancel>关闭</button></div>'}</div>`;- box.scrollIntoView({block:'nearest',behavior:'smooth'});- box.querySelector('[data-pick-cancel]').onclick=()=>{box.innerHTML=''};- const applySrcFilter=()=>document.querySelectorAll('.fpickitem').forEach(item=>{- item.hidden=fsrcUnchecked.has(item.dataset.provider||'')});- applySrcFilter();- const addButton=box.querySelector('[data-pick-add]');- if(addButton)addButton.onclick=async()=>{- const picked=[...box.querySelectorAll('[data-pick]:checked')]- .filter(input=>{const row=input.closest('.fpickitem');- return !row||!row.hidden;});- if(!picked.length)return;- const state=box.querySelector('[data-pick-state]');- if(addButton.getAttribute('aria-busy')==='true')return;- setActionBusy(addButton);- let done=0;const failures=[],sources=[];- for(const input of picked){- state.innerHTML=`${spinnerHtml('添加中')}<span>添加中… ${++done}/${picked.length}</span>`;- try{- const registered=await api('/api/follow/source',{method:'POST',body:JSON.stringify(- {action:'add',url:input.value,label:input.dataset.label,- author:input.dataset.author,aliases:JSON.parse(input.dataset.aliases||'[]'),defer_check:true})});- sources.push(registered.source);- }catch(error){- // 一条失败不该把其余的一起丢掉,逐条报。- failures.push(`${input.dataset.label}:${error.message}`);- }- }- if(sources.length){try{- const started=await api('/api/follow/check',{method:'POST',body:JSON.stringify({sources,background:true})});- sessionStorage.setItem('peach-follow-job',started.job_id);- }catch(error){failures.push(error.message)}}- if(failures.length){- state.textContent=failures.join(';');- setActionBusy(addButton,false);- return;- }- await openFollowManage(false);- actionReceipt(`已添加 ${picked.length} 个关注来源`);- };-}-async function followWrite(button,path,body){const card=button.closest('.followitem'),state=card?.querySelector('.fstate');const before=card?.dataset.status||'new';diff --git a/web/board.css b/web/board.cssindex ac497e5b6..84b5e5bb3 100644--- a/web/board.css+++ b/web/board.css@@ -365,10 +365,9 @@ html.board-high-contrast .board-filter-frame.board-filter-frame.board-filter-fra.followmanage .fmain>.fsec{border:0;border-radius:18px;background:var(--ground);overflow:visible}.followmanage .fmain>.fsec>.fsechead{background:transparent;padding:20px 24px 8px;border:0;border-radius:18px 18px 0 0;min-height:56px}.followmanage .fsechead h3{font-size:16px;font-weight:500;letter-spacing:0;line-height:24px}-.followmanage .fmain>.fsec>.fsecfoot,.followmanage .fmain>.fsec>.fdesc,.followmanage .fmain>.fsec>.falias{background:var(--board-card-foot);border-top:1px solid var(--line-soft);border-radius:0 0 17px 17px;padding:16px 24px;margin:0}.configfieldset.configfieldset:not([data-fieldset-type])>.geist-fieldset-footer,.cleanupfieldset.cleanupfieldset>.geist-fieldset-footer{background:var(--board-card-foot)}.followmanage .fmain>.fsec>.frows{padding:8px 24px}-@media(max-width:760px){.followmanage .fmain>.fsec>.fsechead{padding:16px}.followmanage .fmain>.fsec>.frows{padding:8px 16px}.followmanage .fmain>.fsec>.fsecfoot,.followmanage .fmain>.fsec>.fdesc,.followmanage .fmain>.fsec>.falias{padding:14px 16px}}+@media(max-width:760px){.followmanage .fmain>.fsec>.fsechead{padding:16px}.followmanage .fmain>.fsec>.frows{padding:8px 16px}}.gridstack .card:not(.junkcard) .pic{border-radius:12px;overflow:hidden}.gridstack>.grid{row-gap:24px;column-gap:16px}.top{isolation:isolate}@@ -404,11 +403,6 @@ body{background:var(--page)}/* One sidebar, two states. Navigation and filters share the expanded panel. */.followmanage .fmain>.fsec{padding:0}.followmanage .fmain>.fsec>.fsechead{margin:0}-.followmanage .fsec>.faddform,.followmanage .fsec>.fguess,.followmanage .fsec>#followPicks:not(:empty),.followmanage .fsec>.fnote:not(:empty){margin:16px 24px}-.followmanage .fsec>.faliasmanager{margin:16px 0 0;background:var(--board-card-foot);border-radius:0 0 17px 17px}-.followmanage .faliasmanager>summary{padding:14px 24px}-.followmanage .faliasmanager .fcollapsebody{padding:4px 24px 20px}-@media(max-width:760px){.followmanage .fsec>.faddform,.followmanage .fsec>.fguess,.followmanage .fsec>#followPicks:not(:empty),.followmanage .fsec>.fnote:not(:empty){margin:16px}.followmanage .faliasmanager>summary{padding:14px 16px}}:root{--railW:88px;--board-content:1120px}body.drawer-open{--railW:296px}.drawer{left:12px;top:12px;bottom:12px;width:272px;background:var(--ground);backdrop-filter:none;border:1px solid var(--line);border-radius:24px;transform:translateX(calc(-100% - 16px));box-shadow:0 2px 4px #00000003;transition:none}@@ -1034,13 +1028,12 @@ html.board-high-contrast .settingscard.settingscard>.board-local-nav{background:.insightpage,.tastepage{width:100%;max-width:var(--board-content)}.followmanage .fmain{gap:28px}.followmanage .fmain>.fsec>.fsources{padding:0 24px 24px;grid-template-columns:minmax(0,1fr);gap:16px}.followmanage .fauthor{height:auto;padding:16px 20px;border:0;border-radius:16px;background:var(--ground);display:block}.followmanage .fauthorhead{padding:0 0 12px}.followmanage .fauthorhead b{font-weight:500;white-space:normal}.followmanage .fauthorsources{height:auto;max-height:none;overflow:visible}.followmanage .fauthor .fsource.frow{padding-block:12px;border:0}.followmanage .fauthor .fsource.frow>b{font-weight:400}.followmanage .fauthor .fsource.frow:not(:has([data-follow-select]))+.fsource.frow:not(:has([data-follow-select])){border-top:1px solid var(--line-soft)}-.followmanage .fmain>.fsec:has(.fcred){background:none}.followmanage .fmain>.fsec:has(.fcred)>.fsechead{padding:0 0 12px}.followmanage .fmain>.fsec:has(.fcred)>.frows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:12px;padding:0}.followmanage .fcred{margin:0;padding:16px;border:0;border-radius:12px;background:var(--ground);min-width:0}.followmanage .fcred summary{padding:0;min-height:32px}.followmanage .fcred.none{min-height:64px}.followmanage .fcred p{overflow-wrap:anywhere}.followmanage .fmain>.fsec>.fdesc{background:none;border:0;padding:16px 0}.configfieldset-heading{border:0;padding-bottom:0}.configfieldset{border:0}.configfieldset>.geist-fieldset-footer{border:0}.configfieldset .configfieldset-heading h2{margin:0}#linkCheckResult:not(:empty),#resourceSyncResult:not(:empty){margin-block:16px 28px}.followmanage .fauthor{container-type:inline-size}.board-follow-list{display:grid;border-radius:16px;background:var(--ground);padding:8px 16px}.board-follow-list .fsource.frow{display:grid;grid-template-columns:22px minmax(0,1fr) auto auto auto auto;gap:12px;padding:8px;min-height:48px;border:0;border-radius:8px}.board-follow-list .fsource.frow>b{font-size:13px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:400}.board-follow-list .fsource.selected{background:var(--picked);opacity:1}.board-follow-selection{display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:0 0 12px;font-size:13px}.board-follow-selection>label{display:flex;gap:8px;align-items:center}.board-follow-selection>span{margin-right:auto;color:var(--muted)}@media(max-width:760px){.board-follow-list{padding:8px}}-@media(max-width:760px){body #manageTitle{width:100%}.followmanage .fmain>.fsec:has(.fcred)>.frows{grid-template-columns:minmax(0,1fr)}.followmanage .fauthor{padding:16px}.followmanage .fsechead{gap:8px}.followmanage .fmanagesort{margin-left:0}}+@media(max-width:760px){body #manageTitle{width:100%}.followmanage .fauthor{padding:16px}.followmanage .fsechead{gap:8px}.followmanage .fmanagesort{margin-left:0}}/* Board 的语义色与复合字阶;图表和业务状态独立于交互强调色。 */:root,:root[data-theme="light"]{--color-text-primary:#0a0a0a;--color-text-secondary:#737373;--color-text-tertiary:#a3a3a3;--color-background-full:#fff;--color-background-primary-default:#fff;--color-background-primary-hover:#f5f5f5;--color-background-secondary-default:#f5f5f5;--color-background-tertiary-default:#e5e5e5;--color-border-button-default:#e5e5e5;--color-border-button-hover:#d4d4d4;--color-border-button-active:#a3a3a3;--color-separator-border:#e5e5e5;--color-border-focus-ring:#3b82f6;--color-text-white:#fff;--color-text-disabled:#d4d4d4;--board-blue:linear-gradient(180deg,#2b7fff,#155dfc);--board-blue-hover:linear-gradient(180deg,#3392ff,#2b7fff);--board-blue-active:linear-gradient(180deg,#155dfc,#1447e6);--board-red:linear-gradient(180deg,#fb2c36,#e7000b);--board-red-hover:linear-gradient(180deg,#ff6467,#fb2c36);--board-red-active:linear-gradient(180deg,#e7000b,#c10007);--board-red-line:#fb2c36;--board-red-wash:#ffe2e2;--board-red-text:#c10007}@@ -1115,8 +1108,8 @@ body[data-surface="/junk-files"] .catalog-skeleton .skeletoncard :is(b,em,u){gri只是 60% 的 #404040 压上去,差几个色阶,必须靠边来补;Peach 不跟这条,改成把填充直接抬到 `--control-hover`——那是同一套面色里的下一档实色,两档都一眼看得出,边就不必跟着闪。`transition` 只留 `background-color`。 */-body :is(.geist-button,.fbtn,.resourceaction,.fcredactions button,.fpickactions button,.batchbar button,.reviewpickhead button,.tagselection button,.geist-fieldset-footer>a,.geist-fieldset-footer>button):not(.primary,.danger,.error,.warning){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;height:36px;min-height:36px;padding:8px 12px;border:1px solid var(--color-border-button-default);border-radius:10px;background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:0 1px 2px #0000000d;font:var(--board-body-medium);white-space:nowrap;text-decoration:none;transition:background-color .15s ease}-body :is(.geist-button,.fbtn,.resourceaction,.fcredactions button,.fpickactions button,.batchbar button,.reviewpickhead button,.tagselection button,.geist-fieldset-footer>a,.geist-fieldset-footer>button):not(.primary,.danger,.error,.warning):hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover)}+body :is(.geist-button,.fbtn,.resourceaction,.batchbar button,.reviewpickhead button,.tagselection button,.geist-fieldset-footer>a,.geist-fieldset-footer>button):not(.primary,.danger,.error,.warning){box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;height:36px;min-height:36px;padding:8px 12px;border:1px solid var(--color-border-button-default);border-radius:10px;background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:0 1px 2px #0000000d;font:var(--board-body-medium);white-space:nowrap;text-decoration:none;transition:background-color .15s ease}+body :is(.geist-button,.fbtn,.resourceaction,.batchbar button,.reviewpickhead button,.tagselection button,.geist-fieldset-footer>a,.geist-fieldset-footer>button):not(.primary,.danger,.error,.warning):hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover)}/* 药丸、标签和外链卡跟按钮同一条。它们的边各有自己的颜色来源,所以逐类钉回静止值,不能统一写成一个 token。 */body .pill:hover,body .brandpill:hover{border-color:var(--field-ring)}@@ -1125,7 +1118,7 @@ body .pill:hover,body .brandpill:hover{border-color:var(--field-ring)}.board-filter-frame.board-filter-frame .pill:hover{color:var(--ink)}body .index .index-tags .tg:hover{border-color:color-mix(in srgb,var(--tag-color) 32%,transparent)}body .entitylinks a:hover{border-color:var(--line)}-body :is(.geist-button,.fbtn,.resourceaction,.fcredactions button,.fpickactions button,.batchbar button,.reviewpickhead button,.tagselection button):not(.primary,.danger,.error,.warning):is(:disabled,[aria-disabled=true]){background:var(--ground);border-color:var(--line);color:var(--muted);box-shadow:none}+body :is(.geist-button,.fbtn,.resourceaction,.batchbar button,.reviewpickhead button,.tagselection button):not(.primary,.danger,.error,.warning):is(:disabled,[aria-disabled=true]){background:var(--ground);border-color:var(--line);color:var(--muted);box-shadow:none}/* 强调档全站一副面,三档渐变各差一个色阶,照 `boardui.com/components/button` 的`.bg-button-primary`(2026-09-12 实测):静止 accent-500→600、悬停 400→500、按下600→700。不带边——上游那颗是 `border:0`,这里补一圈透明边会把内容盒压掉 2px,渐变的@@ -1134,30 +1127,24 @@ body :is(.geist-button,.fbtn,.resourceaction,.fcredactions button,.fpickactions它没有插值可言,直接换就是硬切一下。两层交叠着改 opacity 才过渡得起来,这也是上游那一份的做法。宿主要 `isolation:isolate`,不然 `z-index:-1` 会把它送到按钮所在层叠上下文的底下,铺到卡片背面去。 */-body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewactions button,.fcredactions button,.fpickactions button).primary:not(:disabled){position:relative;isolation:isolate;background:var(--board-blue);border:0;color:#fff;box-shadow:0 1px 2px #0000000d;transition:box-shadow .15s ease,color .15s ease}-body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewactions button,.fcredactions button,.fpickactions button).primary:not(:disabled)::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:var(--board-blue-hover);opacity:0;transition:opacity .15s ease}-body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewactions button,.fcredactions button,.fpickactions button).primary:not(:disabled):hover::before{opacity:1}-body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewactions button,.fcredactions button,.fpickactions button).primary:not(:disabled):active{background:var(--board-blue-active)}-body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewactions button,.fcredactions button,.fpickactions button).primary:not(:disabled):active::before{opacity:0}+body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewactions button).primary:not(:disabled){position:relative;isolation:isolate;background:var(--board-blue);border:0;color:#fff;box-shadow:0 1px 2px #0000000d;transition:box-shadow .15s ease,color .15s ease}+body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewactions button).primary:not(:disabled)::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:var(--board-blue-hover);opacity:0;transition:opacity .15s ease}+body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewactions button).primary:not(:disabled):hover::before{opacity:1}+body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewactions button).primary:not(:disabled):active{background:var(--board-blue-active)}+body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewactions button).primary:not(:disabled):active::before{opacity:0}/* 危险档跟强调档同一副做法,照 `boardui.com/components/button` 的 `.bg-button-danger`(2026-09-12 实测,与 `.bg-button-primary` 逐字同构):静止 red-500→600、悬停400→500、按下 600→700,悬停那一档铺在 `::before` 上淡入。批量条和复核那一排此前各写死过同一对红,一并并到这份 token 上——同一种「删掉就回不来」在不同页面读出两种红,用户无从判断哪一种更重。 */-body :is(button.danger:not(.frowicon),.reviewactions button.error,.batchbar button.danger):not(:disabled){position:relative;isolation:isolate;background:var(--board-red);border:0;color:#fff;box-shadow:0 1px 2px #0000000d;transition:box-shadow .15s ease,color .15s ease}-body :is(button.danger:not(.frowicon),.reviewactions button.error,.batchbar button.danger):not(:disabled)::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:var(--board-red-hover);opacity:0;transition:opacity .15s ease}-body :is(button.danger:not(.frowicon),.reviewactions button.error,.batchbar button.danger):not(:disabled):hover::before{opacity:1}-body :is(button.danger:not(.frowicon),.reviewactions button.error,.batchbar button.danger):not(:disabled):active{background:var(--board-red-active)}-body :is(button.danger:not(.frowicon),.reviewactions button.error,.batchbar button.danger):not(:disabled):active::before{opacity:0}-.followmanage .fbtn.fmanagedir{width:36px;padding:0}.followmanage .faliasform :is(input,.fbtn){height:36px;min-height:36px}.followmanage .frowicon{width:32px;height:32px;border:1px solid var(--line);border-radius:8px;background:var(--surface);box-shadow:0 1px 2px #0000000d}+body :is(button.danger,.reviewactions button.error,.batchbar button.danger):not(:disabled){position:relative;isolation:isolate;background:var(--board-red);border:0;color:#fff;box-shadow:0 1px 2px #0000000d;transition:box-shadow .15s ease,color .15s ease}+body :is(button.danger,.reviewactions button.error,.batchbar button.danger):not(:disabled)::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:inherit;background:var(--board-red-hover);opacity:0;transition:opacity .15s ease}+body :is(button.danger,.reviewactions button.error,.batchbar button.danger):not(:disabled):hover::before{opacity:1}+body :is(button.danger,.reviewactions button.error,.batchbar button.danger):not(:disabled):active{background:var(--board-red-active)}+body :is(button.danger,.reviewactions button.error,.batchbar button.danger):not(:disabled):active::before{opacity:0}+.followmanage .fbtn.fmanagedir{width:36px;padding:0}:root{--board-card-foot:color-mix(in srgb,var(--ground) 98%,var(--ink))}.board-sidebar-head #brandHome .mark{color:var(--glass-text)}-.followmanage .fsec>.faliasmanager,.followmanage .fsec>.faliasmanager[open]{background:transparent}-.followmanage .fcred{box-sizing:border-box;min-height:64px;padding:16px}.followmanage .fcred summary{box-sizing:border-box;min-height:32px;margin:0;padding:0}.followmanage .fcred.none{height:64px;align-items:center}-.followmanage .fmain>.fsec:has(>.fsecfoot){overflow:hidden;border-radius:18px}-/* 末位作者卡下面还隔着分页条才到批量条,卡不再与条子相接,四角都圆回去。 */-.followmanage .fmain>.fsec:has(>.fsecfoot)>.frows,.followmanage .fmain>.fsec:has(>.fsecfoot) .board-follow-list{border-bottom-left-radius:0;border-bottom-right-radius:0}-.followmanage .fmain>.fsec>.fsecfoot{border-top-left-radius:0;border-top-right-radius:0}.configfieldset>.geist-fieldset-footer,.cleanupfieldset>.geist-fieldset-footer,.resourcesyncfooter,.resourceapplyrow{border-top-left-radius:0;border-top-right-radius:0;background:var(--board-card-foot)}.followmanage .board-follow-list{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;padding:0;background:none}.followmanage .board-follow-list .fauthor{width:100%;height:auto;margin:0;padding:16px;border-radius:var(--surface-radius)}@@ -1236,16 +1223,10 @@ body a:is(.externallink,[target=_blank]):not(:has(.entitylinkicon)):not(.cardlin.board-link-button:hover{background:transparent;text-decoration:underline;box-shadow:none}.board-link-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.board-link-button>svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:2;transform:rotate(90deg)}-/* 来源名链接在会换行的行里(作者卡窄容器 white-space:normal):inline-flex 把- 外链标钉在锚点整体右缘,标题两行时它悬在半空,跟不上文字。改回行内排版,- 标按 1.15em 的比例缩,靠基线跟在最后一个字后面。*/-body .fsource.frow b>a.fsourcelink{display:inline}-body .fsource.frow b>a.fsourcelink .externalmark{width:1.15em;height:1.15em;margin-left:2px;vertical-align:-0.15em}-body :is(.sbadge,.faliasbadge,.board-chip,.badge){display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 6px;min-height:24px;box-sizing:border-box;border:0;border-radius:6px;background:var(--color-background-tertiary-default);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap}-body :is(.sbadge.ok,.board-chip.success){background:color-mix(in srgb,#84cc16 16%,var(--color-background-primary-default));color:#4d7c0f}body :is(.sbadge.error,.board-chip.error){background:color-mix(in srgb,#f43f5e 12%,var(--color-background-primary-default));color:#e11d48}.sbadge i{display:none}-.fprovider{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.fprovider .sbadge{flex:none}.followmanage .fsource.frow{grid-template-columns:20px minmax(120px,1fr) minmax(100px,auto) auto auto}+body :is(.sbadge,.board-chip,.badge){display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 6px;min-height:24px;box-sizing:border-box;border:0;border-radius:6px;background:var(--color-background-tertiary-default);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap}+body .board-chip.success{background:color-mix(in srgb,#84cc16 16%,var(--color-background-primary-default));color:#4d7c0f}body .board-chip.error{background:color-mix(in srgb,#f43f5e 12%,var(--color-background-primary-default));color:#e11d48}+.fprovider{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.followmanage .fsource.frow{grid-template-columns:20px minmax(120px,1fr) minmax(100px,auto) auto auto}.board-button-group{display:inline-flex;align-items:center;overflow:hidden;border:1px solid var(--color-border-button-default);border-radius:10px;background:var(--color-background-primary-default);box-shadow:0 1px 2px #0000000d}.board-button-group>button{height:34px;padding:0 12px;border:0;border-radius:0;box-shadow:none;background:transparent;color:var(--color-text-secondary);font:var(--board-body)}.board-button-group>button+button{border-left:1px solid var(--color-border-button-default)}.board-button-group>button:is(:hover,[aria-pressed=true]):not(.primary){background:var(--control-hover);color:var(--color-text-primary)}-.followmanage .fpickactions .fbtn{height:36px;min-height:36px;padding:8px 12px}.photolight .photonav{width:36px;height:36px;border:1px solid var(--color-border-button-default);border-radius:10px;background:var(--color-background-primary-default);color:var(--color-text-secondary);box-shadow:0 1px 2px #0000000d}.photolight .photonav:hover{background:var(--color-background-primary-hover)}.photolight .photonav svg{width:20px;height:20px}.photolight .photonav.swiper-button-disabled{opacity:.4;pointer-events:none}.board-carousel-pagination{display:flex;align-items:center;justify-content:center;gap:8px;max-width:160px;margin-inline:auto;overflow:hidden;height:28px}.board-carousel-pagination .swiper-pagination-bullet{width:6px;height:6px;flex:none;margin:0!important;border:0;padding:0;border-radius:999px;background:#a3a3a3;opacity:1;transition:width .2s ease-out,background .2s ease-out}.board-carousel-pagination .swiper-pagination-bullet-active{width:16px;background:#fafafa}@media(prefers-reduced-motion:reduce){.board-tooltip,.board-carousel-pagination .swiper-pagination-bullet{transition:none}}@@ -1264,8 +1245,6 @@ body :is(.sbadge.ok,.board-chip.success){background:color-mix(in srgb,#84cc16 16.followmanage .fsource:has([data-follow-select]):hover{background:var(--color-background-primary-hover)}.followmanage .fsec:has(.board-follow-selection){padding:0;border-radius:18px;background:var(--ground);overflow:visible}.followmanage .fsec>.board-follow-selection{padding:4px 24px 12px}.followmanage .fsourceactions{padding:2px;overflow:visible}-body .sbadge.paused{background:color-mix(in srgb,#ffc600 18%,var(--color-background-primary-default));color:#a87600}-:root[data-theme=dark] .sbadge.paused{color:#ffd54a}.cleanupgrid>.board-processing-skeleton{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;align-items:center;min-height:114px}.board-processing-skeleton>.geist-fieldset-footer{border:0;background:none}@media(max-width:1000px){.cleanupgrid>.board-processing-skeleton{grid-template-columns:1fr}.board-processing-skeleton>.geist-fieldset-footer{justify-content:flex-start}}@@ -1468,7 +1447,6 @@ body .reviewactions button:disabled{opacity:.5;cursor:not-allowed}作者卡是 primary 面上的一只卡;来源行照 boardui checkbox-card.tsx:10px 圆角、1px border-button-default、pl 16 / pr 20 / py 12,悬停 primary-hover 150ms;行距 8px。选中行沿用焦点环色的边(上游 CheckboxCard 只亮勾选框)。 */.followmanage .fmain>.fsec:has(.fsources)>.fsechead{padding:20px 24px 8px}-.followmanage .fmain>.fsec:has(>.fsecfoot)>.fsources{padding-bottom:20px}.followmanage .board-follow-list{padding:0;background:transparent;gap:16px}.followmanage .board-follow-list .fauthor{background:var(--color-background-primary-default);border-radius:var(--surface-radius);padding:16px}.followmanage .board-follow-list .fauthorsources{display:grid;gap:8px}@@ -1500,15 +1478,11 @@ body .reviewactions button:disabled{opacity:.5;cursor:not-allowed}@media(prefers-reduced-motion:reduce){.pcheck input:checked+span svg{animation:none;stroke-dashoffset:0}}/* ── Board 第三批:主按钮尺寸、配置页白底、通知与提醒、复核悬浮框、批量条、关注行图标、侧栏切换器 ── *//* 主按钮与旁边的 Board 按钮同一副盒子:36px、10px 圆角、Body Medium。复核底部工具条里所有控件都压到 --control-h,主按钮跟着。 */-body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewpickhead button,.fcredactions button,.fpickactions button,.geist-fieldset-footer>a,.geist-fieldset-footer>button).primary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;height:36px;min-height:36px;padding:8px 12px;border-radius:10px;font:var(--board-body-medium);white-space:nowrap}+body :is(.geist-button,.fbtn,.resourceaction,.tagselection button,.reviewpickhead button,.geist-fieldset-footer>a,.geist-fieldset-footer>button).primary{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;height:36px;min-height:36px;padding:8px 12px;border-radius:10px;font:var(--board-body-medium);white-space:nowrap}body .reviewdock .geist-button.primary{height:var(--control-h);min-height:0}-/* 灰卡上的控件用 primary 白底:secondary 底上再放 secondary 控件就看不出框。 */-body .followmanage .faddform .geist-search input{background:var(--color-background-primary-default)}/* 提醒条与上下内容留 12px:关注页检查结果、扫描卡失败都是同一个 Note。 */-body .followmanage .fcheckreport,body .followmanage .fwarn{margin:0 0 12px}+body .followmanage .fwarn{margin:0 0 12px}body .library-processing [role=alert]>.geist-note{margin-top:12px}-/* 别名行前面是作者头像,与来源列表里同一个人同一张脸。 */-.faliasidentity>.favatar{width:24px;height:24px;font-size:var(--fs-xs)}/* 复核页与别的管理页同宽;标签条不悬浮,悬浮的是工具条这一层,分组条贴在它下面合成一个玻璃框。 */body .review{width:100%;max-width:var(--board-content);margin:0 auto;box-sizing:border-box}body .review .reviewcontrols{position:static;z-index:auto;padding-block:0;display:block;border-radius:0}@@ -1620,8 +1594,6 @@ body[data-surface="/junk-files"] .junkactions{padding:12px;background:var(--colobody .batchbar button.danger{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;gap:4px;height:36px;min-height:36px;padding:8px 12px;border-radius:10px;font:var(--board-body-medium)}body .batchbar button.danger svg{margin-right:0}body .batchbar button[hidden],body .batchbar button.danger[hidden]{display:none}-/* 关注行里的刷新与删除键:线宽与列表其它图标一致。 */-.followmanage .frowicon svg{stroke-width:2}/* 侧栏切换器:32px 圆形标识 + 名字 + 双向箭头,悬停在按钮外 5/6px 处描一圈 2px 线;收起键只有 20px 高的图标。 */.board-sidebar-head #brandHome{position:relative;flex:0 1 auto;max-width:calc(100% - 28px);gap:8px;padding:2px}.board-sidebar-head #brandHome::before{content:'';position:absolute;inset:-5px -6px;border:2px solid var(--color-border-button-default);border-radius:999px;opacity:0;transition:opacity .15s ease;pointer-events:none}@@ -1674,7 +1646,6 @@ body .batchbar button[hidden],body .batchbar button.danger[hidden]{display:none}.followmanage [data-follow-panel=sources] .ftableframe{border-top:0;border-radius:0 0 var(--surface-radius) var(--surface-radius)}.followmanage .fmain>[data-follow-panel=add]{max-width:812px;width:100%;justify-self:center}.followmanage .fmain>[data-follow-panel=credentials]>.frows{gap:0;background:var(--ground);border-radius:var(--surface-radius);overflow:hidden}-.followmanage [data-follow-panel=credentials] .fcred{border-radius:0;border-bottom:1px solid var(--line-soft);padding:20px 24px;background:transparent}@media(max-width:760px){.followmanage .fmanageoverview{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fmanageoverview>div{padding:16px;gap:8px}@@ -1685,7 +1656,6 @@ body .batchbar button[hidden],body .batchbar button.danger[hidden]{display:none}.followmanage .fmain>[data-follow-panel=sources]>.board-follow-selection{padding:12px}.followmanage [data-follow-panel=sources] .fauthor{padding:16px 12px}.followmanage [data-follow-panel=sources] .fsource.frow{padding:12px 8px}- .followmanage [data-follow-panel=credentials] .fcred{padding:16px}}/* 危险区和警告区。形态照 Vercel 的 Error Fieldset(`vercel.com/geist/fieldset`,diff --git a/web/css/01-base.css b/web/css/01-base.cssindex 1ff9d7743..c8f529144 100644--- a/web/css/01-base.css+++ b/web/css/01-base.css@@ -338,18 +338,18 @@ button[aria-busy="true"],[role="button"][aria-busy="true"]{.geist-button.primary:disabled{background:var(--sunk);color:var(--muted);box-shadow:0 0 0 1px var(--line-soft)}/* 危险档静止就是实底红,不是描红边等悬停才填。只换描边和文字色的话,两个状态在暗色底上几乎一样亮,按下去之前看不出这是不可逆动作;Geist 的 error 变体也是 `rgb(217,48,54)`- 实底配纯白字,静止态就红。销毁按钮全站只有这一个写法:标记上写 `.danger`,- 纯图标删除键不适用——它们靠图标本身说明动作。+ 实底配纯白字,静止态就红。销毁按钮全站只有这一个写法:标记上写 `.danger`。档位只能挂在 `<button>` 的 `.danger` 上,不要另起一个页面类来承担同一件事。- `.junkactions button`、`.fcredactions button` 这类容器规则自己就填底色,权重是一个类- 加一个类型名;页面单类顶不过它——同权重时按文件顺序决胜,而分区号更大的页面文件总在- 后面,红会被容器那份底色静静盖掉,选择器和声明单看都没有问题。- `button.danger:not(.frowicon)` 算两个类加一个类型名,比容器规则高一档,进哪个容器都赢。 */-button.danger:not(.frowicon){+ `.junkactions button` 这类容器规则自己就填底色,权重是一个类加一个类型名;+ 页面单类顶不过它——同权重时按文件顺序决胜,而分区号更大的页面文件总在后面,+ 红会被容器那份底色静静盖掉,选择器和声明单看都没有问题。+ 类名写两遍是为了权重:`button.danger.danger` 算两个类加一个类型名,比容器规则+ 高一档,进哪个容器都赢;只写一遍就和容器规则同权重,而它排在前面,红会被盖掉。 */+button.danger.danger{background:var(--drop);color:#fff;box-shadow:none}-button.danger:not(.frowicon):hover:not(:disabled){+button.danger.danger:hover:not(:disabled){background:color-mix(in srgb,var(--drop) 82%,#000);color:#fff}-button.danger:not(.frowicon):disabled{+button.danger.danger:disabled{background:var(--sunk);color:var(--muted);box-shadow:0 0 0 1px var(--line-soft)}.geist-button.error{background:#da2f35;color:#fff;box-shadow:none}.geist-button.warning{background:#ff990a;color:#000;box-shadow:none}diff --git a/web/css/04-manage.css b/web/css/04-manage.cssindex a0bfbf605..927b05a7b 100644--- a/web/css/04-manage.css+++ b/web/css/04-manage.css@@ -156,9 +156,6 @@.cleanupfieldset button:where(:not(.gselectfield)) svg{width:16px;height:16px;stroke:currentColor;fill:none}.cleanupfieldset .cleanupstate{margin-top:8px;font-size:var(--fs-sm);color:var(--ink-2)}.cleanupfieldset .cleanupstate:empty{display:none}-.fsrcoption{display:flex;align-items:center;gap:8px;justify-content:space-between}-.fsrcoption label{flex:1;min-width:0}-.fsrcoption .geist-button{font-size:var(--fs-sm);white-space:nowrap}.stats h2{margin:0 0 4px;font-size:var(--fs-2xl)}.stats .sub{color:var(--muted);margin:0}/* 来源和凭证页的正文归 React 子树(ADR-0031)。这两条只服务遗留骨架:那一句静态说明diff --git a/web/css/22-followmanage.css b/web/css/22-followmanage.cssindex 4d07db825..892b6e882 100644--- a/web/css/22-followmanage.css+++ b/web/css/22-followmanage.css@@ -8,19 +8,15 @@控件仍按实测 Geist:32px 高、14px 字、6px 圆角。 */.followmanage{padding:2px 0 48px;display:grid;gap:20px;width:min(812px,100%);margin-left:auto;margin-right:auto;align-items:start;font-size:var(--fs-md)}-.followmanage>.runtimegate{margin-bottom:0}.fmain{display:grid;gap:20px;min-width:0}/* 容器:发丝边 + 比页面亮一档的表面。内部的行不再各自套框。 */.fsec{min-width:0;border:1px solid var(--field-ring);border-radius:var(--surface-radius);background:var(--ground);padding:14px 16px 16px}-/* 面板上中下异色:头部条与页脚条通到卡边(负边距抵消内边距),- 正文是全站最亮的 --ground,两条横条落到 --page 并各带一条发丝线;圆角随卡收口。 */+/* 面板上下异色:头部条通到卡边(负边距抵消内边距),正文是全站最亮的 --ground,+ 那条横条落到 --page 并带一条发丝线;圆角随卡收口。 */.fsechead{display:flex;align-items:center;gap:12px;flex-wrap:wrap;box-sizing:border-box;min-height:56px;margin:-14px -16px 12px;padding:11px 16px;background:var(--overlay-5);border-bottom:1px solid var(--line-soft);border-radius:calc(var(--surface-radius) - 1px) calc(var(--surface-radius) - 1px) 0 0}-.fsecfoot{margin:14px -16px -16px;padding:12px 16px;background:var(--overlay-5);- border-top:1px solid var(--line-soft);border-radius:0 0 calc(var(--surface-radius) - 1px) calc(var(--surface-radius) - 1px)}-.fsecfoot .fnote{margin:0}/* 重复页的「操作」条独立于 .fsec 容器:自带卡面与边框,不用负边距。 */.dupactions.fsechead{margin:0 0 14px;padding:10px 14px;background:var(--overlay-5);border:1px solid var(--field-ring);border-radius:var(--surface-radius)}@@ -50,29 +46,20 @@读起来就是一个点不动的说明标签,而它恰恰是这行里唯一能改变列表内容的控件。 */.fsechead .iconswitch{display:inline-flex;gap:2px;flex:none;padding:2px}.fsechead .iconswitch label{width:34px;height:32px}-.fsechead .fbtn,.fsecfoot .fbtn{height:var(--control-h)}+.fsechead .fbtn{height:var(--control-h)}/* 排序图标压在触发器左侧,所以左内边距要给它让出位置。 */.fmanagesort .gselectfield{height:var(--control-h);padding:0 12px 0 33px;color:var(--ink-2)}.fmeta{font-size:var(--fs-xs);color:var(--muted)}.fmeta b{color:var(--ink);font-variant-numeric:tabular-nums}.fmeta.warn{color:var(--drop)}-.fdesc{position:relative;display:grid;gap:3px;margin:12px 0 0;font-size:var(--fs-xs)}-.fdesc b{color:var(--ink-2);display:inline-flex;align-items:center;gap:6px}-.fdesc>span:first-of-type{color:var(--muted);line-height:1.5}-.fdescinfo{display:inline-grid;place-items:center;width:18px;height:18px;padding:0;border:0;- border-radius:var(--badge-radius);background:transparent;color:var(--muted);cursor:help}-.fdescinfo:hover{color:var(--ink)}.fdescinfo:focus-visible{color:var(--ink);outline:2px solid var(--color-border-focus-ring);outline-offset:2px}-.fdescinfo svg{width:13px;height:13px;stroke:currentColor;fill:none;- stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.fnote{margin:8px 0 0;font-size:var(--fs-sm);line-height:1.7;color:var(--muted)}.fnote:empty{display:none}.fnote b{color:var(--ink-2);font-weight:600}.fnote code{font-size:var(--fs-xs)}-[data-follow-add-state]{color:var(--ink-2)}/* Geist Note:字段、卡片、分区旁的持久上下文,以及需要用户处理的失败,全部走这里。瞬时回执用 toast,销毁确认用 dialog/confirm。整页范围的失败也是这个盒子,只是多- 一个关闭键(见下面的 .fwarn/.fcheckreport),不另立一套横幅。 */+ 一个关闭键(见下面的 .fwarn),不另立一套横幅。 *//* Note 默认无填充,filled 使用不透明浅色面;状态含义由文字和图标共同表达。 */:root{--feedback-success:oklch(53.18% .2399 256.99)}:root[data-theme="dark"]{--feedback-success:oklch(71.7% .1648 250.794)}@@ -115,39 +102,12 @@/* 检查失败明细持续保留到状态解决,复用 Note 的边界、图标和语义色。 */-.fcheckreport,.fwarn{grid-template-columns:16px minmax(0,1fr);margin:10px 0 14px}-.fcheckreport>div,.fwarn>span{min-width:0}-.fcheckreport p,.fwarn p{margin:0}-.fcheckreport b{color:var(--ink);font-variant-numeric:tabular-nums}-.fcheckfail{color:var(--drop)}-.fchecknote{color:var(--muted);font-size:var(--fs-xs)}-/* 行级状态徽章:Geist Badge 的低饱和变体(取证 vercel-geist-semantics-measured.md)。- 行内状态不上实底彩色——ok 绿 tint、失败红 tint、未检查灰。 */+.fwarn{grid-template-columns:16px minmax(0,1fr);margin:10px 0 14px}+.fwarn>span{min-width:0}+.fwarn p{margin:0}+/* 徽章:Geist Badge 的低饱和变体(取证 vercel-geist-semantics-measured.md)。带状态档位+ 的那几档归 BoardUI `Chip`,这里剩复核卡字段名这一枚没有档位的。 */.sbadge{display:inline-flex;align-items:center;gap:6px;font-size:var(--fs-xs);color:var(--ink-2)}-.sbadge i{width:6px;height:6px;border-radius:50%;background:var(--muted);flex:none}-.sbadge.ok i{background:var(--success)}-.sbadge.error i{background:var(--drop)}-/* 批量动作是 2292 条级别的操作,不是行内文字链接:按钮的边界让「这会改状态」- 在点击前就看得见,也和本页其他 .fbtn(检查全部)同一套语言。 */-.fbulk{display:inline-flex;gap:8px;margin-left:auto;flex:none}-/* 底部这条和分区标题行是同一种行:一行里唯一可以缩的是说明文字,两个动作键要完整读出来。- 允许换行的话,窄屏上四段计数加两个键一定放不下,于是键被甩到第二行、底栏长出一截。- 基准取 0 而不是 auto:按内容宽度参与排线的话,它会先把整行挤断,缩放根本轮不到发生。 */-.fnote.fbulkrow{display:flex;align-items:center;gap:4px 10px}-.fbulkcounts{flex:1 1 0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}--/* 状态标签:四种状态四种颜色,待办和完成一眼分得开。 */-/* 凭据状态。类名不能叫 `.fstate`——观看页的卡片错误行已经占了那个名字- (`flex:1 1 100%;color:var(--drop)`),撞名会让这里整列变成红色独占一行。- 状态永远贴右:名字那一格吃掉剩余宽度,状态跟在它后面就落在同一列。 */-.fcstate{font-size:var(--fs-xs);flex:0 1 auto;margin-left:auto}-.fcstate+.fcstate{margin-left:0}-.fcstate.done{color:var(--keep)}-.fcstate.req{color:var(--drop)}-.fcstate.missing{color:var(--drop)}-.fcstate.opt{color:var(--meter)}-.fcstate.none,.fcstate.blocked{color:var(--muted)}-.fbtn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:32px;box-sizing:border-box;padding:0 12px;border:0;border-radius:var(--control-radius);box-shadow:0 0 0 1px var(--line-soft);@@ -159,29 +119,13 @@这里另写:留一份 Geist 的墨色实底,它的 `:hover:not(:disabled)` 比 Board 那条静止规则还重一个类,压上去整颗跳成墨色、还描一圈同色的边——「管理关注」上那道黑边就是它。 */.fbtn.primary{font-weight:500}-/* 去边框那一条只针对动作按钮。这两枚不是动作:一枚点开是来源筛选菜单,一枚是排序- 方向的开关,它们跟旁边的下拉触发器是同一组控件,共用输入框那圈线。少了线,- 「全部来源」在白面上只剩一行字,升降序那枚只剩一个箭头浮在页面上。 */-.fbtn[data-srcfilter-toggle],.fbtn.fmanagedir{border:1px solid var(--field-ring);background:var(--ground);color:var(--ink-2)}-.fbtn[data-srcfilter-toggle]:hover:not(:disabled),.fbtn.fmanagedir:hover:not(:disabled){border-color:var(--field-ring-hover);background:var(--ground)}-/* 输入焦点已按 BoardUI Input 收进 01-base 的共享档(hover/focus 的 inset ring),- 此处只改「添加关注」这一面板的底色:白卡躺在灰面上。选择器用 :where 写开,- 避免字面上再出现一遍共享输入框的整段规则。 */-.followmanage :where(.geist-search) input[type="search"]{background:var(--color-background-primary-default)}-.fbtn[data-srcfilter-toggle][aria-expanded="true"]{border-color:var(--color-border-focus-ring);box-shadow:none;outline:2px solid var(--color-border-focus-ring);outline-offset:2px}+/* 去边框那一条只针对动作按钮。升降序那枚不是动作:它跟旁边的下拉触发器是同一组+ 控件,共用输入框那圈线。少了线,它在页面上只剩一个箭头浮着。 */+.fbtn.fmanagedir{border:1px solid var(--field-ring);background:var(--ground);color:var(--ink-2)}+.fbtn.fmanagedir:hover:not(:disabled){border-color:var(--field-ring-hover);background:var(--ground)}.fbtn.small{height:26px;padding:0 10px;font-size:var(--fs-sm)}.fbtn svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}-.faddform{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:start}-/* 建议下拉是绝对定位的浮层,挂在输入框这一格上:定位父级不给到这里,`.searchmenu`- 的 `top:calc(100% + 8px)` 就相对整个页面算,下拉会飞到别处去。 */-.faddfield{position:relative;min-width:0}-/* 建议还在路上时下拉里站着这一行。行高和一条建议看齐,出结果时下拉不会跳一下。 */-.searchbusy{display:flex;align-items:center;gap:8px;padding:8px 10px;- color:var(--muted);font-size:var(--fs-xs)}-/* 没有按钮可以变灰,查找中的唯一凭据就是前缀位上的 Spinner——输入框自己必须还能改。 */-.faddform[aria-busy="true"] input[type="search"]{color:var(--muted)}-/* 卡片内部的行:只用分隔线,不套框——框里再套框正是要避开的那条。 *//* grid 项默认 min-width:auto,最宽的一行会把整列撑出容器——窄的那一栏尤其明显。容器和每一项都要显式 min-width:0 才会真的收缩。 */@@ -201,23 +145,6 @@border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}.ftable tbody tr{border-bottom:1px solid var(--line-soft)}.ftable tbody tr:last-child{border-bottom:0}-.ftable .ftcheck{width:20px;padding-right:0}-.ftable .ftauthorcell{display:flex;align-items:center;gap:8px;white-space:nowrap}-.ftable .ftauthorcell .favatar{width:24px;height:24px;font-size:var(--fs-xs)}-.ftable .ftname{max-width:360px}-.ftable .ftname>b{display:block;min-width:0;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}-.ftable .ftname>.frowerr{margin:4px 0 0}-.ftable .fmeta{white-space:nowrap}-.ftable .ftactions{width:72px;padding-left:0}-.ftable .ftactions .fsourceactions{justify-content:flex-end}-/* 能排序的表头是一颗文字键:文字与箭头同色,非当前列的箭头淡下去只说「这列能点」。 */-.ftsort{display:inline-flex;align-items:center;gap:4px;padding:0;border:0;background:none;- font:inherit;color:inherit;cursor:pointer}-.ftsort svg{width:14px;height:14px;stroke:currentColor;fill:none;opacity:.45}-.ftsort:hover{color:var(--ink)}-th[aria-sort="ascending"] .ftsort,th[aria-sort="descending"] .ftsort{color:var(--ink)}-th[aria-sort="ascending"] .ftsort svg,th[aria-sort="descending"] .ftsort svg{opacity:1}-.ftsort:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.frow{display:flex;align-items:center;gap:12px;padding:9px 0;flex-wrap:wrap;border-bottom:1px solid var(--border-10)}.frows>.frow:last-child{border-bottom:0}@@ -225,11 +152,7 @@ th[aria-sort="ascending"] .ftsort svg,th[aria-sort="descending"] .ftsort svg{opa.frow>b{flex:1 1 180px;min-width:0;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.frow .fmeta{flex:0 0 auto}-.frowerr{flex:1 1 100%;margin:2px 0 0;font-size:var(--fs-sm);line-height:1.6;color:var(--drop)}.fsource.bad>b{color:var(--drop)}-/* 旁边那格的站标说的是「哪个平台」,这一枚说的是「点下去会离开 Peach」。 */-.fsourcelink{color:inherit;text-decoration:none}-.fsourcelink:hover{text-decoration:none;color:var(--tungsten)}/* 作者分组。同一个人在几个站上是几条来源、一个人,所以头像和名字只出现一次,下面才是各站那几行。作者卡固定为可完整显示四条普通来源的高度;更多来源在卡内滚动,@@ -249,9 +172,7 @@ th[aria-sort="ascending"] .ftsort svg,th[aria-sort="descending"] .ftsort svg{opap.fnote .followtask{color:var(--ink-2)}.followtask>.geist-fieldset-content{padding:20px;min-width:0;overflow-wrap:anywhere}.followmanage .followtask{margin-bottom:0}-.fcheckfail strong{font-weight:600}.fauthorhead{display:flex;align-items:center;gap:9px;padding:10px 0 6px}-.fauthorhead>.frowicon{flex-shrink:0}.fauthorhead b{font-size:var(--fs-md);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fauthorhead .fmeta{margin-left:auto;flex:0 1 auto;min-width:0;white-space:nowrap}@@ -264,21 +185,9 @@ p.fnote .followtask{color:var(--ink-2)}.fauthor .fsource.frow{padding-left:0px;display:grid;grid-template-columns:22px minmax(0,1fr) auto auto auto auto;gap:10px;flex-wrap:nowrap}.fauthor .fsource.frow>b{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}-/* 只出 favicon 的站名:文字照样写在 DOM 里,按 sr-only 的写法夹起来给读屏。图标取不到- 时 image-fallback 摘掉 <img>,这条相邻兄弟选择器随之落空,站名就在原位显出来。 */-.fprovider.iconly .ficon{margin-right:0}-.fprovider.iconly .ficon+span{position:absolute;width:1px;height:1px;margin:-1px;padding:0;- overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.fsource.disabled{opacity:.62}.fchannelcheck{display:grid;place-items:center;align-self:center}.fsourceactions{display:flex;gap:4px;white-space:nowrap}-.frowicon{width:32px;height:32px;padding:0;display:grid;place-items:center;flex:none;- border:1px solid var(--border-15);border-radius:var(--control-radius);background:transparent;color:var(--muted);cursor:pointer}-.frowicon:hover{background:var(--hover);color:var(--ink)}-.frowicon:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}-.frowicon.danger:hover{color:var(--drop);border-color:var(--drop)}-.frowicon svg{width:16px;height:16px;stroke:currentColor;fill:none}-.fsource.frow>.frowerr{grid-column:1/-1}.favatar{width:28px;height:28px;flex:none;border-radius:var(--pill-radius);object-fit:cover;background:var(--overlay-5);outline:1px solid oklch(1 0 0 / 0.1);outline-offset:-1px}/* 取不到头像时是一个明确的空位,不是首字母——首字母会让「未取得」看着像取到了。 */@@ -290,178 +199,23 @@ p.fnote .followtask{color:var(--ink-2)}.flink{border:0;background:none;padding:0;color:var(--tungsten);font:inherit;cursor:pointer}.flink:hover{color:var(--tungsten);text-decoration:none}.empty .flink{margin-left:6px}-/* 猜你喜欢:一行可点的名字,点了直接拿去查。 */-.fguess{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px}-.fguess .fmeta{margin-right:2px}-.fchip{height:26px;padding:0 11px;border:1px solid var(--border-15);border-radius:var(--control-radius);- background:transparent;color:var(--ink-2);font:inherit;font-size:var(--fs-sm);cursor:pointer;- max-width:190px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;- transition:border-color .15s ease-in-out,color .15s ease-in-out,background-color .15s ease-in-out}-.fchip:hover{background:var(--hover);color:var(--ink)}-/* 作者别名折叠照 Vercel 项目页 Deployment Settings 行(登录态实测):卡片内- 通栏 48px 行——左 chevron、白字标题、蓝色胶囊计数;上下边线通到卡片内壁- (负 margin 抵消 .fsec 的 16px 内边距),hover 铺一层底色。 */-.faliasmanager{margin:12px -16px -16px;border-top:1px solid var(--line-soft)}-.faliasmanager>summary{display:flex;align-items:center;gap:8px;min-height:48px;margin:0;padding:2px 16px;- cursor:pointer;color:var(--ink);font-size:var(--fs-md);font-weight:400;list-style:none}-.faliasmanager>summary::-webkit-details-marker{display:none}-.faliasmanager>summary:hover{background:var(--hover)}-.faliasmanager>summary[aria-expanded="false"]{border-radius:0 0 calc(var(--surface-radius) - 1px) calc(var(--surface-radius) - 1px)}-/* chevron 用 16px SVG,和面包屑同一份 Geist 证据;此前是 › 字形靠 --fs-lg 撑大,- 那让一个图标尺寸混进了本页只有三档的字阶。 */-.faliasmanager>summary>svg{flex:none;width:16px;height:16px;stroke:var(--muted);fill:none;- stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease-in-out}-.faliasmanager>summary[aria-expanded="true"]>svg{transform:rotate(90deg)}-.faliasbadge{display:inline-flex;align-items:center;height:24px;padding:0 8px;margin-left:2px;- border:1px solid var(--border-15);border-radius:var(--control-radius);background:var(--overlay-5);color:var(--muted);- font-size:var(--fs-xs);font-weight:400;font-variant-numeric:tabular-nums}-.faliasmanager .fcollapsebody{padding:4px 16px 16px}-.faliasform{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:7px;margin-top:10px}-.faliasform .fbtn{height:38px;min-height:38px}-.faliaschip{display:inline-flex;align-items:center;gap:3px;color:var(--ink-2)}-.faliaschip button{width:24px;height:24px;padding:0;border:0;background:transparent;color:var(--muted);- display:grid;place-items:center;cursor:pointer}-.faliaschip button:hover{color:var(--drop)}-.faliaschip svg{width:14px;height:14px;stroke:currentColor;fill:none}-.faliasheading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 10px}-.faliasheading h4{margin:0;font-size:var(--fs-sm);font-weight:500}-.faliasheading>span,.faliasevidence{color:var(--muted)}-.faliastable{width:100%;min-width:0;table-layout:fixed}-.faliastable th,.faliastable td{white-space:normal;overflow-wrap:anywhere}-.faliastable th:last-child:nth-child(5){width:80px}-.faliastable:not(.faliassaved) th:nth-child(2),.faliastable:not(.faliassaved) th:nth-child(3){width:18%}-.faliastable .faliascheck{width:40px;text-align:center}-.faliastable tr.selected{background:var(--picked)}-.faliasactions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.followpagefooter{margin-top:16px}-.followmanage .ftablewrap{position:relative}.followpageinfo{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted)}.followpageinfo>div{flex:none}-.followmanage:has(.followselectiondock:not([hidden])){padding-bottom:180px}.followmanage [data-follow-workspace-panel="list"]{scroll-margin-top:calc(var(--topH) + 16px)}@media(max-width:640px){.followpagefooter .board-pagination{flex-wrap:wrap}.followpagefooter .board-pagination>ul{order:3;justify-content:center;width:100%}.followpageinfo{font-size:var(--fs-sm)}}-.faliasidentity{display:flex;align-items:center;gap:10px;min-width:0}-.faliasidentity>.favatar{flex:none}-.faliastable .faliaschip{margin:3px 10px 3px 0;max-width:100%;overflow-wrap:anywhere}-@media(max-width:640px){.faliastable{min-width:540px}.faliassaved{min-width:0}.faliasidentity>b{min-width:0;overflow-wrap:anywhere}.faliasform{grid-template-columns:minmax(0,1fr)}.faliasform .fbtn{justify-self:end}}--/* summary 是 .frow 的 flex 子项,默认 flex:0 1 auto 不撑满整行——于是有折叠体的那几行- 状态贴在名字后面,没折叠体的却靠右,同一列两种对齐。让它占满,状态就统一在右边。 */-.fcred summary{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:8px;- cursor:pointer;list-style:none;margin:-9px 0;padding:9px 0}-.fcred summary::-webkit-details-marker{display:none}-.fcred summary b{flex:1 1 auto;min-width:0;font-weight:500}-.fcred.none{color:var(--muted);gap:8px}-/* 折叠时 .frow 让它是 flex、展开时又变 block,两种几何下 summary 的可用宽度差一个 gap,- 状态列就差 12px 对不齐。统一成 block:summary 自己是 flex 容器,宽度始终是整行。 */-details.fcred{display:block;min-width:0}-/* 展开体的内边距归 .fcollapsebody:留在 .fcred[open] 上的话,收起那一帧高度已经- 归零、内边距还在,行尾会跳一下。首段自己的上边距换成容器内边距,免得它跟容器- 外边距合并,量出来的 scrollHeight 比实际矮一截。 */-.fcred .fcollapsebody{padding:8px 4px 12px}-.fcred .fcollapsebody>p:first-child{margin-top:0}-.fcred .ficonslot{flex:none;display:block;width:14px;height:14px}-.fcred .ficon{margin-right:0}-.fcred p{margin:8px 0 0;font-size:var(--fs-sm);line-height:1.7;color:var(--muted);- overflow-wrap:anywhere}-.fcred a{color:var(--tungsten)}-.fcredform{display:grid;gap:16px;margin-top:16px;min-width:0}-.fcredfield{display:grid;gap:8px;min-width:0}-.fcredfield span{font-size:var(--fs-xs);color:var(--muted)}-.fcredfield input{height:32px;width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--border-15);- border-radius:var(--control-radius);background:var(--color-background-primary-default);color:var(--ink);padding:0 12px;font-size:var(--fs-md);- font-family:inherit;transition:box-shadow .12s ease}-/* 凭据输入框不是 .geist-input,吃不到 01-base 那份共享档,两档环在这里各写一遍。 */-.fcredfield input:hover{box-shadow:inset 0 0 0 2px var(--color-border-button-hover)}-.fcredfield input:focus-visible{outline:0;box-shadow:inset 0 0 0 2px var(--color-border-button-active)}-/* 「去取」指向站外的凭据页,后缀那枚外链箭头说明这一下会离开 Peach。 */-.fcredactions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:0}-/* 盒子要留在这里:强调档和次级档的那副盒子由 Board 那一层按类名发,`.danger` 两档都不在- 它的名单上,这条一撤,「清除」就掉回浏览器默认的尺寸和字体,跟旁边的「保存」不同高。 */-.fcredactions button{box-sizing:border-box;height:36px;padding:0 12px;border:0;border-radius:var(--control-radius);font-family:inherit;font-size:var(--fs-md);font-weight:500;cursor:pointer}-/* 停用档跟 `.geist-button.primary:disabled` 逐项相同:一块灰面加一圈 1px 环。环不能省,- 那一面和它坐着的卡片都是 `--sunk` 一类的灰,没有环就连轮廓都读不出来。 */-.fcredactions button:disabled{background:var(--sunk);color:var(--muted);box-shadow:0 0 0 1px var(--line-soft);cursor:not-allowed}-/* 「保存」带 `.primary`,那一面和站内每一颗主按钮同一条规则。「清除」会连着共享副本- 一起删,它走 `.danger`:红、悬停深一档和禁用灰全部来自危险档。两档都不在这里- 写第二份面色——这一层的 `:hover` 比 Board 那条静止规则重一个类,写了就是静止一套、- 悬停另一套。 */-.fcredactions [data-cred-state]{font-size:var(--fs-xs);color:var(--muted)}@media (max-width:640px){- .fauthorhead>.frowicon{width:44px;height:44px}.fsec{padding:12px 13px 14px}.fsechead{margin:-12px -13px 12px;padding:12px 13px}- .fsecfoot{margin:14px -13px -14px;padding:12px 13px}- .faliasmanager{margin-left:-13px;margin-right:-13px;margin-bottom:-14px}- .faliasmanager>summary{padding:2px 13px}- .faliasmanager .fcollapsebody{padding:4px 13px 14px}- .faddform>.faddfield{grid-column:1/-1}- .faddform>.fsrcfilter{justify-self:start}.frow{gap:8px}.fsources{grid-template-columns:1fr}/* 省略后剩给说明文字的不到 120px,读出来只是「N 个来源 · 」这种半句;未看条数在下面每一行来源上都有,标题行让给排序和两个动作键。 */.fsechead .fmeta{display:none}.frow .fmeta:nth-of-type(2){display:none}- .faliasform{grid-template-columns:1fr}- .faliasform .fbtn{width:100%}}-/* 查找结果属于「添加关注」这一个动作,留在同一容器里;发丝线只分阶段,不再另套卡片。 */-.fpicks{margin:14px 0 0;padding:14px 0 0;border-top:1px solid var(--border-10)}-.fpicks .fsechead{margin:0 0 10px;padding:0;background:transparent;border:0}-.fpicks .fsechead h3{font-size:var(--fs-md)}-.fpickhead{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}-.fpickhead h3{margin:0;font-size:var(--fs-md)}-.fsrcfilter{position:relative;display:inline-flex;min-width:0}-.faddform .fsrcfilter .fbtn{width:auto;height:38px;min-height:38px;padding:0 11px}-.fsrcmenu{width:min(250px,calc(100vw - 16px))}-/* 全选与全不选是对整张清单的动作,放在清单上方并用发丝线隔开,不混进来源行里。 */-.fsrcbulk{display:flex;gap:6px;padding:2px 9px 8px;margin-bottom:4px;border-bottom:1px solid var(--border-10)}-.fsrcbulk .geist-button{height:28px;padding:0 10px;font-size:var(--fs-sm)}-.fsrcmenu label{display:flex;align-items:center;gap:8px;padding:7px 9px;border-radius:var(--control-radius);- cursor:pointer;font-size:var(--fs-sm);color:var(--ink-2)}-.fsrcmenu label:hover{background:var(--hover)}-.fpick{margin-bottom:12px}-.fpick>b{display:block;font-size:var(--fs-xs);color:var(--muted);margin-bottom:5px;overflow-wrap:anywhere}-.fpick.bad>b{color:var(--drop)}-.fpickempty{margin:7px 0;color:var(--muted);font-size:var(--fs-sm)}-.fpick p{margin:2px 0;font-size:var(--fs-xs);color:var(--muted)}-.fpick.bad p{color:var(--drop)}-.fpickitem{display:flex;gap:9px;align-items:center;padding:7px 9px;border:1px solid var(--border-10);border-radius:var(--surface-radius);margin-bottom:4px;cursor:pointer;font-size:var(--fs-xs);transition:background-color .15s ease,border-color .15s ease}-/* CheckboxCard 的悬停与 board 同一档:卡片自己的底是 primary-default,- 悬停整面抬到 primary-hover,边框抬钮悬停档。底色不能缺——查找结果躺在- --ground 的灰面上,透明底配 #f5f5f5 的悬停在浅色下等于没动。- 落影与作者卡里的来源行同档,两处都是躺在同底色上的嵌套卡。 */-.fpickitem{background:var(--color-background-primary-default);box-shadow:var(--shadow-sm)}-.fpickitem:hover{background:var(--color-background-primary-hover);border-color:var(--color-border-button-hover);color:var(--ink)}-/* 「已经关注」整行退成主题的中性灰:不该用透明度——它会把边框和复选框一起冲淡,- 在同一档底色上灰到读不出来。--muted 按主题自己深浅,比底色各深一档。 */-.fpickitem.known{cursor:default}-.fpickitem.known:hover{background:var(--color-background-primary-default);border-color:var(--border-10)}-.fpickitem.known span{color:var(--muted)}-.fpickitem span{min-width:0;overflow-wrap:anywhere}-.fpickitem b{margin-right:6px}-.fpickitem i{display:block;font-style:normal;color:var(--muted);font-size:var(--fs-xs);margin-top:1px}-/* 外链建议的说明与链接分层:为什么建议去站外是上下文,独立一行吃说明色;- 下方链接行才是可点的外链,标一枚 externalmark。 */-.fpicksearch{display:grid;gap:3px;margin:6px 0;padding:8px 10px;border:1px dashed var(--border-15);- border-radius:var(--control-radius);font-size:var(--fs-xs)}-.fpicksearch i{font-style:normal;color:var(--muted)}-.fpicksearch .externallink{align-items:baseline;justify-self:start}-.fpickfail{color:var(--drop)!important}-.fpickactions{display:flex;gap:8px;align-items:center;flex-wrap:nowrap;min-width:0;margin-top:10px}-.fpickactions button{border:0;border-radius:var(--control-radius);box-shadow:0 0 0 1px var(--line-soft);background:var(--ground);color:var(--ink-2);padding:6px 14px;font-size:var(--fs-xs);cursor:pointer}-.fpickactions button:hover:not(:disabled){background:var(--hover);color:var(--ink)}-/* 「添加选中」带 `.primary`,那一面和站内每一颗主按钮同一条规则,压上去不变样。- 在这里另写一份实底加悬停的话,悬停那条比 Board 的静止规则重一个类,同一颗按钮的- 静止和悬停就分别由两处给出;而上面那条更宽的 `.fpickactions button:hover` 还会把- 文字提到 --ink,实底上落成白字白底。 */-.fpickactions button:disabled{background:var(--sunk);color:var(--muted);cursor:not-allowed}-.fpickactions [data-pick-state]{display:flex;align-items:center;min-width:0;overflow:hidden;- white-space:nowrap;text-overflow:ellipsis;font-size:var(--fs-xs);color:var(--muted)}-/* 关注页底部:两个翻页动作同属列表末尾,放在一条底栏;按钮仍保留各自的本地加载 / 站点抓取语义。 */.followpagination{display:flex;align-items:center;gap:14px 24px;min-width:0;margin:18px 0 0;diff --git a/web/dist/peach-react.css b/web/dist/peach-react.cssindex c80ad6c24..7d754ae8c 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-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-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;--font-weight-normal:400;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--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-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}}.\@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}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-\[3px\]{top:3px}.right-1{right:var(--spacing)}.bottom-1{bottom:var(--spacing)}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-\[3px\]{left:3px}.z-50{z-index:50}.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}.mx-auto{margin-inline:auto}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mr-auto{margin-right:auto}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.size-1{width:var(--spacing);height:var(--spacing)}.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-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-full{width:100%;height:100%}.h-1{height:var(--spacing)}.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-64{height:calc(var(--spacing) * 64)}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-\[52px\]{min-height:52px}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-52{width:calc(var(--spacing) * 52)}.w-72{width:calc(var(--spacing) * 72)}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-full{max-width:100%}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.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-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.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-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.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-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[5px\]{gap:5px}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}.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-x-auto{overflow-x:auto}.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-xl{border-radius:var(--radius-xl)}.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-border-error-default{border-color:var(--color-border-error-default)}.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-black{background-color:var(--color-black)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5{background-color:var(--color-chart-5)}.bg-chart-6{background-color:var(--color-chart-6)}.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-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-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)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-chart-track{stroke:var(--color-chart-track)}.stroke-current{stroke:currentColor}.stroke-separator-border{stroke:var(--color-separator-border)}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.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)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.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-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-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)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-1{padding-top:var(--spacing)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-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-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.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-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.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-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}.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}.empty\:hidden:empty{display:none}@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\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-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\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-background-primary-hover[aria-pressed=true]{background-color:var(--color-background-primary-hover)}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.data-selected\:border-border-focus-ring[data-selected]{border-color:var(--color-border-focus-ring)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-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%}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.md\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@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))}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:object-cover img{object-fit:cover}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}: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-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-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-font-weight:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-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;--font-weight-normal:400;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--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-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}}.\@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}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-\[3px\]{top:3px}.top-full{top:100%}.right-1{right:var(--spacing)}.bottom-1{bottom:var(--spacing)}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-\[3px\]{left:3px}.z-10{z-index:10}.z-50{z-index:50}.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}.mx-auto{margin-inline:auto}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mr-auto{margin-right:auto}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.size-1{width:var(--spacing);height:var(--spacing)}.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-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-full{width:100%;height:100%}.h-1{height:var(--spacing)}.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-64{height:calc(var(--spacing) * 64)}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-\[52px\]{min-height:52px}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-full{max-width:100%}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.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-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.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-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.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-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[5px\]{gap:5px}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}.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-x-auto{overflow-x:auto}.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-xl{border-radius:var(--radius-xl)}.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-border-error-default{border-color:var(--color-border-error-default)}.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-black{background-color:var(--color-black)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5{background-color:var(--color-chart-5)}.bg-chart-6{background-color:var(--color-chart-6)}.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-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-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)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-chart-track{stroke:var(--color-chart-track)}.stroke-current{stroke:currentColor}.stroke-separator-border{stroke:var(--color-separator-border)}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.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)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.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-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-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)}.py-12{padding-block:calc(var(--spacing) * 12)}.pt-1{padding-top:var(--spacing)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-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-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.text-ellipsis{text-overflow:ellipsis}.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-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.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-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}.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}.empty\:hidden:empty{display:none}@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\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-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\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-background-primary-hover[aria-pressed=true]{background-color:var(--color-background-primary-hover)}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.data-selected\:border-border-focus-ring[data-selected]{border-color:var(--color-border-focus-ring)}.data-selected\:bg-background-secondary-default[data-selected]{background-color:var(--color-background-secondary-default)}.data-selected\:bg-background-tertiary-default[data-selected]{background-color:var(--color-background-tertiary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-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%}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.md\:border-b-0{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@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))}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:object-cover img{object-fit:cover}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}: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}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-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-font-weight{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-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 filediff --git a/web/dist/peach-react.js b/web/dist/peach-react.jsindex 41e345b4b..ea0de10c8 100644--- a/web/dist/peach-react.js+++ b/web/dist/peach-react.js@@ -1,16 +1,16 @@-import { LOC as e, fmtDur as t, fmtSize as n, requestErrorMessage as r, siteMarkUrl as i } from "/js/core.js";-import { MEDIA_SOURCE_ICONS as a, confirmModal as o, setCollapseOpen as s } from "/js/ui-components.js";+import { LOC as e, fmtDur as t, fmtSize as n, mapLimit as r, requestErrorMessage as i, siteMarkUrl as a } from "/js/core.js";+import { MEDIA_SOURCE_ICONS as o, confirmModal as s, setCollapseOpen as c } from "/js/ui-components.js";//#region \0rolldown/runtime.js-var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescriptor, d = Object.getOwnPropertyNames, f = Object.getPrototypeOf, p = Object.prototype.hasOwnProperty, m = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), h = (e, t, n, r) => {- if (t && typeof t == "object" || typeof t == "function") for (var i = d(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !p.call(e, s) && s !== n && l(e, s, {+var l = Object.create, u = Object.defineProperty, d = Object.getOwnPropertyDescriptor, f = Object.getOwnPropertyNames, p = Object.getPrototypeOf, m = Object.prototype.hasOwnProperty, h = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), g = (e, t, n, r) => {+ if (t && typeof t == "object" || typeof t == "function") for (var i = f(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !m.call(e, s) && s !== n && u(e, s, {get: ((e) => t[e]).bind(null, s),- enumerable: !(r = u(t, s)) || r.enumerable+ enumerable: !(r = d(t, s)) || r.enumerable});return e;-}, g = (e, t, n) => (n = e == null ? {} : c(f(e)), h(t || !e || !e.__esModule || !p.call(e, "default") ? l(n, "default", {+}, _ = (e, t, n) => (n = e == null ? {} : l(p(e)), g(t || !e || !e.__esModule || !m.call(e, "default") ? u(n, "default", {value: e,enumerable: !0-}) : n, e)), _ = /* @__PURE__ */ m(((e) => {+}) : n, e)), v = /* @__PURE__ */ h(((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);@@ -72,11 +72,11 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescrreturn t[e];});}- var ee = /\/+/g;- function j(e, t) {+ var j = /\/+/g;+ function M(e, t) {return typeof e == "object" && e && e.key != null ? A("" + e.key) : t.toString(36);}- function te(e) {+ function N(e) {switch (e.status) {case "fulfilled": return e.value;case "rejected": throw e.reason;@@ -91,7 +91,7 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescr}throw e;}- function M(e, r, i, a, o) {+ function ee(e, r, i, a, o) {var s = typeof e;(s === "undefined" || s === "boolean") && (e = null);var c = !1;@@ -107,30 +107,30 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescrcase n:c = !0;break;- case d: return c = e._init, M(c(e._payload), r, i, a, o);+ case d: return c = e._init, ee(c(e._payload), r, i, a, o);}}- if (c) return o = o(e), c = a === "" ? "." + j(e, 0) : a, C(o) ? (i = "", c != null && (i = c.replace(ee, "$&/") + "/"), M(o, r, i, "", function(e) {+ 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) {return e;- })) : o != null && (k(o) && (o = O(o, i + (o.key == null || e && e.key === o.key ? "" : ("" + o.key).replace(ee, "$&/") + "/") + c)), r.push(o)), 1;+ })) : 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;c = 0;var l = a === "" ? "." : a + ":";- if (C(e)) for (var u = 0; u < e.length; u++) a = e[u], s = l + j(a, u), c += M(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 += M(a, r, i, s, o);+ 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);else if (s === "object") {- if (typeof e.then == "function") return M(te(e), r, i, a, o);+ if (typeof e.then == "function") return ee(N(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 ne(e, t, n) {+ function P(e, t, n) {if (e == null) return e;var r = [], i = 0;- return M(e, r, "", "", function(e) {+ return ee(e, r, "", "", function(e) {return t.call(n, e, i++);}), r;}- function N(e) {+ function F(e) {if (e._status === -1) {var t = e._result, n = t();n.then(function(t) {@@ -142,7 +142,7 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescrif (e._status === 1) return e._result.default;throw e._result;}- var re = typeof reportError == "function" ? reportError : function(e) {+ var te = typeof reportError == "function" ? reportError : function(e) {if (typeof window == "object" && typeof window.ErrorEvent == "function") {var t = new window.ErrorEvent("error", {bubbles: !0,@@ -157,40 +157,40 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescr}console.error(e);};- function ie(e) {+ function ne(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, re);+ i !== null && i(n, r), typeof r == "object" && r && typeof r.then == "function" && r.then(w, te);} catch (e) {- re(e);+ te(e);} finally {t !== null && n.types !== null && (t.types = n.types), T.T = t;}}- function ae(e) {+ function re(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 ie(ae.bind(null, e));+ } else ne(re.bind(null, e));}- var oe = {- map: ne,+ var ie = {+ map: P,forEach: function(e, t, n) {- ne(e, function() {+ P(e, function() {t.apply(this, arguments);}, n);},count: function(e) {var t = 0;- return ne(e, function() {+ return P(e, function() {t++;}), t;},toArray: function(e) {- return ne(e, function(e) {+ return P(e, function(e) {return e;}) || [];},@@ -199,12 +199,12 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescrreturn e;}};- 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 = {+ e.Activity = f, e.Children = ie, 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 = ae, e.cache = function(e) {+ }, e.addTransitionType = re, e.cache = function(e) {return function() {return e.apply(null, arguments);};@@ -258,7 +258,7 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescr_status: -1,_result: e},- _init: N+ _init: F};}, e.memo = function(e, t) {return {@@ -266,7 +266,7 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescrtype: e,compare: t === void 0 ? null : t};- }, e.startTransition = ie, e.unstable_useCacheRefresh = function() {+ }, e.startTransition = ne, e.unstable_useCacheRefresh = function() {return T.H.useCacheRefresh();}, e.use = function(e) {return T.H.use(e);@@ -305,9 +305,9 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescr}, e.useTransition = function() {return T.H.useTransition();}, e.version = "19.3.0";-})), v = /* @__PURE__ */ m(((e, t) => {- t.exports = _();-})), y = /* @__PURE__ */ m(((e) => {+})), y = /* @__PURE__ */ h(((e, t) => {+ t.exports = v();+})), b = /* @__PURE__ */ h(((e) => {var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");function r(e, n, r) {var i = null;@@ -322,25 +322,25 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescr};}e.Fragment = n, e.jsx = r, e.jsxs = r;-})), b = /* @__PURE__ */ m(((e, t) => {- t.exports = y();-})), x = /* @__PURE__ */ g(v(), 1), S = b(), C = x.createContext(void 0), w = (e) => {- let t = x.useContext(C);+})), x = /* @__PURE__ */ h(((e, t) => {+ t.exports = b();+})), S = /* @__PURE__ */ _(y(), 1), C = x(), w = S.createContext(void 0), T = (e) => {+ let t = S.useContext(w);if (e) return e;if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");return t;-}, T = ({ client: e, children: t }) => (x.useEffect(() => (e.mount(), () => {+}, E = ({ client: e, children: t }) => (S.useEffect(() => (e.mount(), () => {e.unmount();-}), [e]), /* @__PURE__ */ (0, S.jsx)(C.Provider, {+}), [e]), /* @__PURE__ */ (0, C.jsx)(w.Provider, {value: e,children: t-})), E = {+})), D = {setTimeout: (e, t) => setTimeout(e, t),clearTimeout: (e) => clearTimeout(e),setInterval: (e, t) => setInterval(e, t),clearInterval: (e) => clearInterval(e)-}, D = new class {- #e = E;+}, O = new class {+ #e = D;setTimeoutProvider(e) {this.#e = e;}@@ -357,31 +357,31 @@ var c = Object.create, l = Object.defineProperty, u = Object.getOwnPropertyDescrthis.#e.clearInterval(e);}}();-function O(e) {+function k(e) {setTimeout(e, 0);}//#endregion//#region node_modules/@tanstack/query-core/build/modern/utils.js-var k = typeof window > "u" || "Deno" in globalThis;-function A() {}-function ee(e, t) {+var A = typeof window > "u" || "Deno" in globalThis;+function j() {}+function M(e, t) {return typeof e == "function" ? e(t) : e;}-function j(e) {+function N(e) {return typeof e == "number" && e >= 0 && e !== Infinity;}-function te(e, t) {+function ee(e, t) {return Math.max(e + (t || 0) - Date.now(), 0);}-function M(e, t) {+function P(e, t) {return typeof e == "function" ? e(t) : e;}-function ne(e, t) {+function F(e, t) {let { type: n = "all", exact: r, fetchStatus: i, predicate: a, queryKey: o, stale: s } = e;if (o) {if (r) {- if (t.queryHash !== re(o, t.options)) return !1;- } else if (!ae(t.queryKey, o)) return !1;+ if (t.queryHash !== ne(o, t.options)) return !1;+ } else if (!ie(t.queryKey, o)) return !1;}if (n !== "all") {let e = t.isActive();@@ -389,103 +389,103 @@ function ne(e, t) {}return !(typeof s == "boolean" && t.isStale() !== s || i && i !== t.state.fetchStatus || a && !a(t));}-function N(e, t) {+function te(e, t) {let { exact: n, status: r, predicate: i, mutationKey: a } = e;if (a) {if (!t.options.mutationKey) return !1;if (n) {- if (ie(t.options.mutationKey) !== ie(a)) return !1;- } else if (!ae(t.options.mutationKey, a)) return !1;+ if (re(t.options.mutationKey) !== re(a)) return !1;+ } else if (!ie(t.options.mutationKey, a)) return !1;}return !(r && t.state.status !== r || i && !i(t));}-function re(e, t) {- return (t?.queryKeyHashFn || ie)(e);+function ne(e, t) {+ return (t?.queryKeyHashFn || re)(e);}-function ie(e) {- return JSON.stringify(e, (e, t) => ue(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);+function re(e) {+ return JSON.stringify(e, (e, t) => le(t) ? Object.keys(t).sort().reduce((e, n) => (e[n] = t[n], e), {}) : t);}-function ae(e, t) {+function ie(e, t) {if (e === t) return !0;if (typeof e != typeof t) return !1;if (e && t && typeof e == "object" && typeof t == "object") {if (Array.isArray(e) && Array.isArray(t)) {- for (let n = 0; n < t.length; n++) if (!ae(e[n], t[n])) return !1;+ for (let n = 0; n < t.length; n++) if (!ie(e[n], t[n])) return !1;return !0;}let n = Object.keys(t);- for (let r of n) if (!ae(e[r], t[r])) return !1;+ for (let r of n) if (!ie(e[r], t[r])) return !1;return !0;}return !1;}-var oe = Object.prototype.hasOwnProperty;-function se(e, t, n = 0) {+var ae = Object.prototype.hasOwnProperty;+function oe(e, t, n = 0) {if (e === t) return e;if (n > 500) return t;- let r = le(e) && le(t);- if (!r && !(ue(e) && ue(t))) return t;+ let r = ce(e) && ce(t);+ if (!r && !(le(e) && le(t))) return t;let i = (r ? e : Object.keys(e)).length, a = r ? t : Object.keys(t), o = a.length, s = r ? Array(o) : {}, c = 0;for (let l = 0; l < o; l++) {let o = r ? l : a[l], u = e[o], d = t[o];if (u === d) {- s[o] = u, (r ? l < i : oe.call(e, o)) && c++;+ s[o] = u, (r ? l < i : ae.call(e, o)) && c++;continue;}if (u === null || d === null || typeof u != "object" || typeof d != "object") {s[o] = d;continue;}- let f = se(u, d, n + 1);+ let f = oe(u, d, n + 1);s[o] = f, f === u && c++;}return i === o && c === i ? e : s;}-function ce(e, t) {+function se(e, t) {if (!t || Object.keys(e).length !== Object.keys(t).length) return !1;for (let n in e) if (e[n] !== t[n]) return !1;return !0;}-function le(e) {+function ce(e) {return Array.isArray(e) && e.length === Object.keys(e).length;}-function ue(e) {- if (!de(e)) return !1;+function le(e) {+ if (!ue(e)) return !1;let t = e.constructor;if (t === void 0) return !0;let n = t.prototype;- return !(!de(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);+ return !(!ue(n) || !n.hasOwnProperty("isPrototypeOf") || Object.getPrototypeOf(e) !== Object.prototype);}-function de(e) {+function ue(e) {return Object.prototype.toString.call(e) === "[object Object]";}-function fe(e) {+function de(e) {return new Promise((t) => {- D.setTimeout(t, e);+ O.setTimeout(t, e);});}-function pe(e, t, n) {- return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : se(e, t);+function fe(e, t, n) {+ return typeof n.structuralSharing == "function" ? n.structuralSharing(e, t) : n.structuralSharing === !1 ? t : oe(e, t);}-function me(e) {+function I(e) {return e;}-function P(e, t, n = 0) {+function L(e, t, n = 0) {let r = [...e, t];return n && r.length > n ? r.slice(1) : r;}-function F(e, t, n = 0) {+function pe(e, t, n = 0) {let r = [t, ...e];return n && r.length > n ? r.slice(0, -1) : r;}-var he = Symbol();-function ge(e, t) {- return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === he ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;+var me = Symbol();+function he(e, t) {+ return !e.queryFn && t?.initialPromise ? () => t.initialPromise : !e.queryFn || e.queryFn === me ? () => Promise.reject(/* @__PURE__ */ Error(`Missing queryFn: '${e.queryHash}'`)) : e.queryFn;}-function _e(e, t) {+function ge(e, t) {return typeof e == "function" ? e(...t) : !!e;}-function ve(e, t, n) {+function _e(e, t, n) {let r = !1, i;return Object.defineProperty(e, "signal", {enumerable: !0,@@ -494,7 +494,7 @@ function ve(e, t, n) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/environmentManager.js-var ye = () => k, be = () => ye(), xe = class {+var ve = () => A, ye = () => ve(), be = class {constructor() {this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);}@@ -508,7 +508,7 @@ var ye = () => k, be = () => ye(), xe = class {}onSubscribe() {}onUnsubscribe() {}-}, Se = new class extends xe {+}, xe = new class extends be {#e;#t;#n;@@ -545,13 +545,13 @@ var ye = () => k, be = () => ye(), xe = class {isFocused() {return typeof this.#e == "boolean" ? this.#e : globalThis.document?.visibilityState !== "hidden";}-}(), Ce = O;-function we() {+}(), Se = k;+function Ce() {let e = [], t = 0, n = (e) => {e();}, r = (e) => {e();- }, i = Ce, a = (r) => {+ }, i = Se, a = (r) => {t ? e.push(r) : i(() => {n(r);});@@ -593,7 +593,7 @@ function we() {}};}-var Te = we(), Ee = new class extends xe {+var we = Ce(), Te = new class extends be {#e = !0;#t;#n;@@ -627,32 +627,32 @@ var Te = we(), Ee = new class extends xe {}();//#endregion//#region node_modules/@tanstack/query-core/build/modern/retryer.js-function De(e) {+function Ee(e) {return Math.min(1e3 * 2 ** e, 3e4);}-function Oe(e) {- return (e ?? "online") !== "online" || Ee.isOnline();+function De(e) {+ return (e ?? "online") !== "online" || Te.isOnline();}-var ke = class extends Error {+var Oe = class extends Error {constructor(e) {super("CancelledError"), this.revert = e?.revert, this.silent = e?.silent;}};-function Ae(e) {+function ke(e) {let t = !1, n = 0, r, i = "pending", a, o, s = new Promise((e, t) => {a = e, o = t;});- s.catch(A);+ s.catch(j);let c = () => i !== "pending", l = (t) => {if (!c()) {- let n = new ke(t);+ let n = new Oe(t);h(n), e.onCancel?.(n);}}, u = () => {t = !0;}, d = () => {t = !1;- }, f = () => Se.isFocused() && (e.networkMode === "always" || Ee.isOnline()) && e.canRun(), p = () => Oe(e.networkMode) && e.canRun(), m = (e) => {+ }, f = () => xe.isFocused() && (e.networkMode === "always" || Te.isOnline()) && e.canRun(), p = () => De(e.networkMode) && e.canRun(), m = (e) => {c() || (r?.(), i = "resolved", a(e));}, h = (e) => {c() || (r?.(), i = "rejected", o(e));@@ -672,12 +672,12 @@ function Ae(e) {}Promise.resolve(r).then(m).catch((r) => {if (c()) return;- let i = e.retry ?? (be() ? 0 : 3), a = e.retryDelay ?? De, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);+ let i = e.retry ?? (ye() ? 0 : 3), a = e.retryDelay ?? Ee, o = typeof a == "function" ? a(n, r) : a, s = i === !0 || typeof i == "number" && n < i || typeof i == "function" && i(n, r);if (t || !s) {h(r);return;}- n++, e.onFail?.(n, r), fe(o).then(() => f() ? void 0 : g()).then(() => {+ n++, e.onFail?.(n, r), de(o).then(() => f() ? void 0 : g()).then(() => {t ? h(r) : _();});});@@ -695,34 +695,34 @@ function Ae(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/removable.js-var je = class {+var Ae = class {#e;destroy() {this.clearGcTimeout();}scheduleGc() {- this.clearGcTimeout(), j(this.gcTime) && (this.#e = D.setTimeout(() => {+ this.clearGcTimeout(), N(this.gcTime) && (this.#e = O.setTimeout(() => {this.optionalRemove();}, this.gcTime));}updateGcTime(e) {- this.gcTime = Math.max(this.gcTime || 0, e ?? (be() ? Infinity : 3e5));+ this.gcTime = Math.max(this.gcTime || 0, e ?? (ye() ? Infinity : 3e5));}clearGcTimeout() {- this.#e !== void 0 && (D.clearTimeout(this.#e), this.#e = void 0);+ this.#e !== void 0 && (O.clearTimeout(this.#e), this.#e = void 0);}};//#endregion//#region node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js-function Me(e) {+function je(e) {return { onFetch: (t, n) => {let r = t.options, i = t.fetchOptions?.meta?.fetchMore?.direction, a = t.state.data?.pages || [], o = t.state.data?.pageParams || [], s = {pages: [],pageParams: []}, c = 0, l = async () => {let n = !1, l = (e) => {- ve(e, () => t.signal, () => n = !0);- }, u = ge(t.options, t.fetchOptions), d = async (e, r, i) => {+ _e(e, () => t.signal, () => n = !0);+ }, u = he(t.options, t.fetchOptions), d = async (e, r, i) => {if (n) return Promise.reject(t.signal.reason);if (r == null && e.pages.length) return Promise.resolve(e);let a = (() => {@@ -734,14 +734,14 @@ function Me(e) {meta: t.options.meta};return l(e), e;- })(), o = await u(a), { maxPages: s } = t.options, c = i ? F : P;+ })(), o = await u(a), { maxPages: s } = t.options, c = i ? pe : L;return {pages: c(e.pages, o, s),pageParams: c(e.pageParams, r, s)};};if (i && a.length) {- let e = i === "backward", t = e ? Pe : Ne, n = {+ let e = i === "backward", t = e ? Ne : Me, n = {pages: a,pageParams: o};@@ -749,7 +749,7 @@ function Me(e) {} else {let t = e ?? a.length;do {- let e = c === 0 ? o[0] ?? r.initialPageParam : Ne(r, s);+ let e = c === 0 ? o[0] ?? r.initialPageParam : Me(r, s);if (c > 0 && e == null) break;s = await d(s, e), c++;} while (c < t);@@ -764,16 +764,16 @@ function Me(e) {}, n) : l;} };}-function Ne(e, { pages: t, pageParams: n }) {+function Me(e, { pages: t, pageParams: n }) {let r = t.length - 1;return t.length > 0 ? e.getNextPageParam(t[r], t, n[r], n) : void 0;}-function Pe(e, { pages: t, pageParams: n }) {+function Ne(e, { pages: t, pageParams: n }) {return t.length > 0 ? e.getPreviousPageParam?.(t[0], t, n[0], n) : void 0;}//#endregion//#region node_modules/@tanstack/query-core/build/modern/query.js-var Fe = class extends je {+var Pe = class extends Ae {#e;#t;#n;@@ -783,7 +783,7 @@ var Fe = class extends je {#o;#s;constructor(e) {- super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = Re(this.options), this.state = e.state ?? this.#t, this.scheduleGc();+ super(), this.#s = !1, this.#o = e.defaultOptions, this.setOptions(e.options), this.observers = [], this.#i = e.client, this.#r = this.#i.getQueryCache(), this.queryKey = e.queryKey, this.queryHash = e.queryHash, this.#t = Le(this.options), this.state = e.state ?? this.#t, this.scheduleGc();}get meta() {return this.options.meta;@@ -799,15 +799,15 @@ var Fe = class extends je {...this.#o,...e}, e?._type && (this.#e = e._type), this.updateGcTime(this.options.gcTime), this.state && this.state.data === void 0) {- let e = Re(this.options);- e.data !== void 0 && (this.setState(Le(e.data, e.dataUpdatedAt)), this.#t = e);+ let e = Le(this.options);+ e.data !== void 0 && (this.setState(Ie(e.data, e.dataUpdatedAt)), this.#t = e);}}optionalRemove() {!this.observers.length && this.state.fetchStatus === "idle" && this.#r.remove(this);}setData(e, t) {- let n = pe(this.state.data, e, this.options);+ let n = fe(this.state.data, e, this.options);return this.#c({data: n,type: "success",@@ -823,7 +823,7 @@ var Fe = class extends je {}cancel(e) {let t = this.#a?.promise;- return this.#a?.cancel(e), t ? t.then(A).catch(A) : Promise.resolve();+ return this.#a?.cancel(e), t ? t.then(j).catch(j) : Promise.resolve();}destroy() {super.destroy(), this.cancel({ silent: !0 });@@ -835,22 +835,22 @@ var Fe = class extends je {this.destroy(), this.setState(this.resetState);}isActive() {- return this.observers.some((e) => M(e.options.enabled, this) !== !1);+ return this.observers.some((e) => P(e.options.enabled, this) !== !1);}isDisabled() {- return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === he || !this.isFetched();+ return this.getObserversCount() > 0 ? !this.isActive() : this.options.queryFn === me || !this.isFetched();}isFetched() {return this.state.dataUpdateCount + this.state.errorUpdateCount > 0;}isStatic() {- return this.getObserversCount() > 0 && this.observers.some((e) => M(e.options.staleTime, this) === "static");+ return this.getObserversCount() > 0 && this.observers.some((e) => P(e.options.staleTime, this) === "static");}isStale() {return this.getObserversCount() > 0 ? this.observers.some((e) => e.getCurrentResult().isStale) : this.state.data === void 0 || this.state.isInvalidated;}isStaleByTime(e = 0) {- return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !te(this.state.dataUpdatedAt, e);+ return this.state.data === void 0 ? !0 : e === "static" ? !1 : this.state.isInvalidated ? !0 : !ee(this.state.dataUpdatedAt, e);}onFocus() {this.observers.find((e) => e.shouldFetchOnWindowFocus())?.refetch({ cancelRefetch: !1 }), this.#a?.continue();@@ -894,7 +894,7 @@ var Fe = class extends je {get: () => (this.#s = !0, n.signal)});}, i = () => {- let e = ge(this.options, t), n = (() => {+ let e = he(this.options, t), n = (() => {let e = {client: this.#i,queryKey: this.queryKey,@@ -914,15 +914,15 @@ var Fe = class extends je {};return r(e), e;})();- (this.#e === "infinite" ? Me(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({+ (this.#e === "infinite" ? je(this.options.pages) : this.options.behavior)?.onFetch(a, this), this.#n = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#c({type: "fetch",meta: a.fetchOptions?.meta});- let o = this.#a = Ae({+ let o = this.#a = ke({initialPromise: t?.initialPromise,fn: a.fetchFn,onCancel: (e) => {- e instanceof ke && e.revert && this.setState({+ e instanceof Oe && e.revert && this.setState({...this.#n,fetchStatus: "idle"}), n.abort();@@ -950,7 +950,7 @@ var Fe = class extends je {if (e === void 0) throw Error(`${this.queryHash} data is undefined`);return this.setData(e), this.#r.config.onSuccess?.(e, this), this.#r.config.onSettled?.(e, this.state.error, this), e;} catch (e) {- if (e instanceof ke) {+ if (e instanceof Oe) {if (e.silent) return this.#a.promise;if (e.revert) {if (this.state.data === void 0) throw e;@@ -983,13 +983,13 @@ var Fe = class extends je {};case "fetch": return {...t,- ...Ie(t.data, this.options),+ ...Fe(t.data, this.options),fetchMeta: e.meta ?? null};case "success":let n = {...t,- ...Le(e.data, e.dataUpdatedAt),+ ...Ie(e.data, e.dataUpdatedAt),dataUpdateCount: t.dataUpdateCount + 1,...!e.manual && {fetchStatus: "idle",@@ -1021,7 +1021,7 @@ var Fe = class extends je {};}};- this.state = t(this.state), Te.batch(() => {+ this.state = t(this.state), we.batch(() => {this.observers.slice().forEach((e) => {e.onQueryUpdate();}), this.#r.notify({@@ -1032,18 +1032,18 @@ var Fe = class extends je {});}};-function Ie(e, t) {+function Fe(e, t) {return {fetchFailureCount: 0,fetchFailureReason: null,- fetchStatus: Oe(t.networkMode) ? "fetching" : "paused",+ fetchStatus: De(t.networkMode) ? "fetching" : "paused",...e === void 0 && {error: null,status: "pending"}};}-function Le(e, t) {+function Ie(e, t) {return {data: e,dataUpdatedAt: t ?? Date.now(),@@ -1052,7 +1052,7 @@ function Le(e, t) {status: "success"};}-function Re(e) {+function Le(e) {let t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;return {data: t,@@ -1071,7 +1071,7 @@ function Re(e) {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/queryObserver.js-var ze = class extends xe {+var Re = class extends be {#e;#t = void 0;#n = void 0;@@ -1093,36 +1093,36 @@ var ze = class extends xe {this.refetch = this.refetch.bind(this);}onSubscribe() {- this.listeners.size === 1 && (this.#t.addObserver(this), Ve(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());+ this.listeners.size === 1 && (this.#t.addObserver(this), Be(this.#t, this.options) ? this.#m() : this.updateResult(), this.#y());}onUnsubscribe() {this.hasListeners() || this.destroy();}shouldFetchOnReconnect() {- return He(this.#t, this.options, this.options.refetchOnReconnect);+ return Ve(this.#t, this.options, this.options.refetchOnReconnect);}shouldFetchOnWindowFocus() {- return He(this.#t, this.options, this.options.refetchOnWindowFocus);+ return Ve(this.#t, this.options, this.options.refetchOnWindowFocus);}destroy() {this.listeners = /* @__PURE__ */ new Set(), this.#b(), this.#x(), this.#t.removeObserver(this);}setOptions(e) {let t = this.options, n = this.#t;- if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof M(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");- this.#S(), this.#t.setOptions(this.options), t._defaulted && !ce(this.options, t) && this.#e.getQueryCache().notify({+ if (this.options = this.#e.defaultQueryOptions(e), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof P(this.options.enabled, this.#t) != "boolean") throw Error("Expected enabled to be a boolean or a callback that returns a boolean");+ this.#S(), this.#t.setOptions(this.options), t._defaulted && !se(this.options, t) && this.#e.getQueryCache().notify({type: "observerOptionsUpdated",query: this.#t,observer: this});let r = this.hasListeners();- r && Ue(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || M(this.options.enabled, this.#t) !== M(t.enabled, this.#t) || M(this.options.staleTime, this.#t) !== M(t.staleTime, this.#t)) && this.#g();+ r && He(this.#t, n, this.options, t) && this.#m(), this.updateResult(), r && (this.#t !== n || P(this.options.enabled, this.#t) !== P(t.enabled, this.#t) || P(this.options.staleTime, this.#t) !== P(t.staleTime, this.#t)) && this.#g();let i = this.#_();- r && (this.#t !== n || M(this.options.enabled, this.#t) !== M(t.enabled, this.#t) || i !== this.#f) && this.#v(i);+ r && (this.#t !== n || P(this.options.enabled, this.#t) !== P(t.enabled, this.#t) || i !== this.#f) && this.#v(i);}getOptimisticResult(e) {let t = this.#e.getQueryCache().build(this.#e, e), n = this.createResult(t, e);- return ce(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;+ return se(this.getCurrentResult(), n) || (this.#r = n, this.#a = this.options, this.#i = this.#t.state), n;}getCurrentResult() {return this.#r;@@ -1161,17 +1161,17 @@ var ze = class extends xe {#m(e) {this.#S();let t = this.#t.fetch(this.options, e);- return e?.throwOnError || (t = t.catch(A)), t;+ return e?.throwOnError || (t = t.catch(j)), t;}#h(e) {- return !be() && M(this.options.enabled, this.#t) !== !1 && j(e);+ return !ye() && P(this.options.enabled, this.#t) !== !1 && N(e);}#g() {this.#b();- let e = M(this.options.staleTime, this.#t);+ let e = P(this.options.staleTime, this.#t);if (this.#r.isStale || !this.#h(e)) return;- let t = te(this.#r.dataUpdatedAt, e) + 1;- this.#u = D.setTimeout(() => {+ let t = ee(this.#r.dataUpdatedAt, e) + 1;+ this.#u = O.setTimeout(() => {this.#r.isStale || this.updateResult();}, t);}@@ -1179,26 +1179,26 @@ var ze = class extends xe {return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(this.#t) : this.options.refetchInterval) ?? !1;}#v(e) {- this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = D.setInterval(() => {- (this.options.refetchIntervalInBackground || Se.isFocused()) && this.#m();+ this.#x(), this.#f = e, !(this.#f === 0 || !this.#h(this.#f)) && (this.#d = O.setInterval(() => {+ (this.options.refetchIntervalInBackground || xe.isFocused()) && this.#m();}, this.#f));}#y() {this.#g(), this.#v(this.#_());}#b() {- this.#u !== void 0 && (D.clearTimeout(this.#u), this.#u = void 0);+ this.#u !== void 0 && (O.clearTimeout(this.#u), this.#u = void 0);}#x() {- this.#d !== void 0 && (D.clearInterval(this.#d), this.#d = void 0);+ this.#d !== void 0 && (O.clearInterval(this.#d), this.#d = void 0);}createResult(e, t) {let n = this.#t, r = this.options, i = this.#r, a = this.#i, o = this.#a, s = e === n ? this.#n : e.state, { state: c } = e, l = { ...c }, u = !1, d;if (t._optimisticResults) {- let i = this.hasListeners(), a = !i && Ve(e, t), o = i && Ue(e, n, t, r);+ let i = this.hasListeners(), a = !i && Be(e, t), o = i && He(e, n, t, r);(a || o) && (l = {...l,- ...Ie(c.data, e.options)+ ...Fe(c.data, e.options)}), t._optimisticResults === "isRestoring" && (l.fetchStatus = "idle");}let { error: f, errorUpdatedAt: p, status: m } = l;@@ -1206,12 +1206,12 @@ var ze = class extends xe {let h = !1;if (t.placeholderData !== void 0 && d === void 0 && m === "pending") {let e;- i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = pe(i?.data, e, t), u = !0);+ i?.isPlaceholderData && t.placeholderData === o?.placeholderData ? (e = i.data, h = !0) : e = typeof t.placeholderData == "function" ? t.placeholderData(this.#l?.state.data, this.#l) : t.placeholderData, e !== void 0 && (m = "success", d = fe(i?.data, e, t), u = !0);}if (t.select && d !== void 0 && !h) {if (i && d === a?.data && t.select === this.#s) d = this.#c;else try {- this.#s = t.select, d = t.select(d), d = pe(i?.data, d, t), this.#c = d, this.#o = null;+ this.#s = t.select, d = t.select(d), d = fe(i?.data, d, t), this.#c = d, this.#o = null;} catch (e) {this.#o = e;}@@ -1241,14 +1241,14 @@ var ze = class extends xe {isPaused: l.fetchStatus === "paused",isPlaceholderData: u,isRefetchError: v && b,- isStale: We(e, t),+ isStale: Ue(e, t),refetch: this.refetch,- isEnabled: M(t.enabled, e) !== !1+ isEnabled: P(t.enabled, e) !== !1};}updateResult() {let e = this.#r, t = this.createResult(this.#t, this.options);- if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), ce(t, e)) return;+ if (this.#i = this.#t.state, this.#a = this.options, this.#i.data !== void 0 && (this.#l = this.#t), se(t, e)) return;this.#r = t;let n = (() => {if (!e) return !0;@@ -1260,7 +1260,7 @@ var ze = class extends xe {return this.#r[n] !== e[n] && r.has(n);});})();- Te.batch(() => {+ we.batch(() => {n && this.listeners.forEach((e) => {e(this.#r);}), this.#e.getQueryCache().notify({@@ -1279,34 +1279,34 @@ var ze = class extends xe {this.updateResult(), this.hasListeners() && this.#y();}};-function Be(e, t) {- return M(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || M(t.retryOnMount, e) !== !1);+function ze(e, t) {+ return P(t.enabled, e) !== !1 && e.state.data === void 0 && (e.state.status !== "error" || P(t.retryOnMount, e) !== !1);}-function Ve(e, t) {- return Be(e, t) || e.state.data !== void 0 && He(e, t, t.refetchOnMount);+function Be(e, t) {+ return ze(e, t) || e.state.data !== void 0 && Ve(e, t, t.refetchOnMount);}-function He(e, t, n) {- if (M(t.enabled, e) !== !1 && M(t.staleTime, e) !== "static") {+function Ve(e, t, n) {+ if (P(t.enabled, e) !== !1 && P(t.staleTime, e) !== "static") {let r = typeof n == "function" ? n(e) : n;- return r === "always" || r !== !1 && We(e, t);+ return r === "always" || r !== !1 && Ue(e, t);}return !1;}-function Ue(e, t, n, r) {- return (e !== t || M(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && We(e, n);+function He(e, t, n, r) {+ return (e !== t || P(r.enabled, e) === !1) && (!n.suspense || e.state.status !== "error") && Ue(e, n);}-function We(e, t) {- return M(t.enabled, e) !== !1 && e.isStaleByTime(M(t.staleTime, e));+function Ue(e, t) {+ return P(t.enabled, e) !== !1 && e.isStaleByTime(P(t.staleTime, e));}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutation.js-var Ge = class extends je {+var We = class extends Ae {#e;#t;#n;#r;constructor(e) {- super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Ke(), this.setOptions(e.options), this.scheduleGc();+ super(), this.#e = e.client, this.mutationId = e.mutationId, this.#n = e.mutationCache, this.#t = [], this.state = e.state || Ge(), this.setOptions(e.options), this.scheduleGc();}setOptions(e) {this.options = e, this.updateGcTime(this.options.gcTime);@@ -1341,7 +1341,7 @@ var Ge = class extends je {client: this.#e,meta: this.options.meta,mutationKey: this.options.mutationKey- }, r = this.#r = Ae({+ }, r = this.#r = ke({fn: () => this.options.mutationFn ? this.options.mutationFn(e, n) : Promise.reject(/* @__PURE__ */ Error("No mutationFn found")),onFail: (e, t) => {this.#i({@@ -1457,7 +1457,7 @@ var Ge = class extends je {};}};- this.state = t(this.state), Te.batch(() => {+ this.state = t(this.state), we.batch(() => {this.#t.forEach((t) => {t.onMutationUpdate(e);}), this.#n.notify({@@ -1468,7 +1468,7 @@ var Ge = class extends je {});}};-function Ke() {+function Ge() {return {context: void 0,data: void 0,@@ -1483,7 +1483,7 @@ function Ke() {}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationCache.js-var qe = class extends xe {+var Ke = class extends be {#e;#t;#n;@@ -1491,7 +1491,7 @@ var qe = class extends xe {super(), this.config = e, this.#e = /* @__PURE__ */ new Set(), this.#t = /* @__PURE__ */ new Map(), this.#n = 0;}build(e, t, n) {- let r = new Ge({+ let r = new We({client: e,mutationCache: this,mutationId: ++this.#n,@@ -1502,7 +1502,7 @@ var qe = class extends xe {}add(e) {this.#e.add(e);- let t = Je(e);+ let t = qe(e);if (typeof t == "string") {let n = this.#t.get(t);n ? n.push(e) : this.#t.set(t, [e]);@@ -1514,7 +1514,7 @@ var qe = class extends xe {}remove(e) {if (this.#e.delete(e)) {- let t = Je(e);+ let t = qe(e);if (typeof t == "string") {let n = this.#t.get(t);if (n) {@@ -1531,7 +1531,7 @@ var qe = class extends xe {});}canRun(e) {- let t = Je(e);+ let t = qe(e);if (typeof t == "string") {let n = this.#t.get(t)?.find((e) => e.state.status === "pending");return !n || n === e;@@ -1539,11 +1539,11 @@ var qe = class extends xe {return !0;}runNext(e) {- let t = Je(e);+ let t = qe(e);return typeof t == "string" ? (this.#t.get(t)?.find((t) => t !== e && t.state.isPaused))?.continue() ?? Promise.resolve() : Promise.resolve();}clear() {- Te.batch(() => {+ we.batch(() => {this.#e.forEach((e) => {this.notify({type: "removed",@@ -1560,13 +1560,13 @@ var qe = class extends xe {exact: !0,...e};- return this.getAll().find((e) => N(t, e));+ return this.getAll().find((e) => te(t, e));}findAll(e = {}) {- return this.getAll().filter((t) => N(e, t));+ return this.getAll().filter((t) => te(e, t));}notify(e) {- Te.batch(() => {+ we.batch(() => {this.listeners.forEach((t) => {t(e);});@@ -1574,15 +1574,15 @@ var qe = class extends xe {}resumePausedMutations() {let e = this.getAll().filter((e) => e.state.isPaused);- return Te.batch(() => Promise.all(e.map((e) => e.continue().catch(A))));+ return we.batch(() => Promise.all(e.map((e) => e.continue().catch(j))));}};-function Je(e) {+function qe(e) {return e.options.scope?.id;}//#endregion//#region node_modules/@tanstack/query-core/build/modern/mutationObserver.js-var Ye = class extends xe {+var Je = class extends be {#e;#t = void 0;#n;@@ -1595,11 +1595,11 @@ var Ye = class extends xe {}setOptions(e) {let t = this.options;- this.options = this.#e.defaultMutationOptions(e), ce(this.options, t) || this.#e.getMutationCache().notify({+ this.options = this.#e.defaultMutationOptions(e), se(this.options, t) || this.#e.getMutationCache().notify({type: "observerOptionsUpdated",mutation: this.#n,observer: this- }), t?.mutationKey && this.options.mutationKey && ie(t.mutationKey) !== ie(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);+ }), t?.mutationKey && this.options.mutationKey && re(t.mutationKey) !== re(this.options.mutationKey) ? this.reset() : this.#n?.state.status === "pending" && this.#n.setOptions(this.options);}onSubscribe() {this.listeners.size === 1 && this.#n && (this.#n.addObserver(this), this.#i());@@ -1620,7 +1620,7 @@ var Ye = class extends xe {return this.#r = t, this.#n?.removeObserver(this), this.#n = this.#e.getMutationCache().build(this.#e, this.options), this.#n.addObserver(this), this.#n.execute(e);}#i() {- let e = this.#n?.state ?? Ke();+ let e = this.#n?.state ?? Ge();this.#t = {...e,isPending: e.status === "pending",@@ -1632,7 +1632,7 @@ var Ye = class extends xe {};}#a(e) {- Te.batch(() => {+ we.batch(() => {if (this.#r && this.hasListeners()) {let t = this.#t.variables, n = this.#t.context, r = {client: this.#e,@@ -1668,14 +1668,14 @@ var Ye = class extends xe {});});}-}, Xe = class extends xe {+}, Ye = class extends be {#e;constructor(e = {}) {super(), this.config = e, this.#e = /* @__PURE__ */ new Map();}build(e, t, n) {- let r = t.queryKey, i = t.queryHash ?? re(r, t), a = this.get(i);- return a || (a = new Fe({+ let r = t.queryKey, i = t.queryHash ?? ne(r, t), a = this.get(i);+ return a || (a = new Pe({client: e,queryKey: r,queryHash: i,@@ -1698,7 +1698,7 @@ var Ye = class extends xe {}));}clear() {- Te.batch(() => {+ we.batch(() => {this.getAll().forEach((e) => {this.remove(e);});@@ -1715,34 +1715,34 @@ var Ye = class extends xe {exact: !0,...e};- return this.getAll().find((e) => ne(t, e));+ return this.getAll().find((e) => F(t, e));}findAll(e = {}) {let t = this.getAll();- return Object.keys(e).length > 0 ? t.filter((t) => ne(e, t)) : t;+ return Object.keys(e).length > 0 ? t.filter((t) => F(e, t)) : t;}notify(e) {- Te.batch(() => {+ we.batch(() => {this.listeners.forEach((t) => {t(e);});});}onFocus() {- Te.batch(() => {+ we.batch(() => {this.getAll().forEach((e) => {e.onFocus();});});}onOnline() {- Te.batch(() => {+ we.batch(() => {this.getAll().forEach((e) => {e.onOnline();});});}-}, Ze = class {+}, Xe = class {#e;#t;#n;@@ -1752,12 +1752,12 @@ var Ye = class extends xe {#o;#s;constructor(e = {}) {- this.#e = e.queryCache || new Xe(), this.#t = e.mutationCache || new qe(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;+ this.#e = e.queryCache || new Ye(), this.#t = e.mutationCache || new Ke(), this.#n = e.defaultOptions || {}, this.#r = /* @__PURE__ */ new Map(), this.#i = /* @__PURE__ */ new Map(), this.#a = 0;}mount() {- this.#a++, this.#a === 1 && (this.#o = Se.subscribe(async (e) => {+ this.#a++, this.#a === 1 && (this.#o = xe.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onFocus());- }), this.#s = Ee.subscribe(async (e) => {+ }), this.#s = Te.subscribe(async (e) => {e && (await this.resumePausedMutations(), this.#e.onOnline());}));}@@ -1782,20 +1782,20 @@ var Ye = class extends xe {}ensureQueryData(e) {let t = this.defaultQueryOptions(e), n = this.#e.build(this, t), r = n.state.data;- return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(M(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));+ return r === void 0 ? this.fetchQuery(e) : (e.revalidateIfStale && n.isStaleByTime(P(t.staleTime, n)) && this.prefetchQuery(t), Promise.resolve(r));}getQueriesData(e) {return this.#e.findAll(e).map(({ queryKey: e, state: t }) => [e, t.data]);}setQueryData(e, t, n) {- let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = ee(t, i);+ let r = this.defaultQueryOptions({ queryKey: e }), i = this.#e.get(r.queryHash)?.state.data, a = M(t, i);if (a !== void 0) return this.#e.build(this, r).setData(a, {...n,manual: !0});}setQueriesData(e, t, n) {- return Te.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));+ return we.batch(() => this.#e.findAll(e).map(({ queryKey: e }) => [e, this.setQueryData(e, t, n)]));}getQueryState(e) {let t = this.defaultQueryOptions({ queryKey: e });@@ -1803,7 +1803,7 @@ var Ye = class extends xe {}removeQueries(e) {let t = this.#e;- Te.batch(() => {+ we.batch(() => {t.findAll(e).forEach((e) => {t.remove(e);});@@ -1811,7 +1811,7 @@ var Ye = class extends xe {}resetQueries(e, t) {let n = this.#e;- return Te.batch(() => {+ return we.batch(() => {let r = n.findAll(e), i = new Set(r);return r.forEach((e) => {e.reset();@@ -1825,11 +1825,11 @@ var Ye = class extends xe {let n = {revert: !0,...t- }, r = Te.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));- return Promise.all(r).then(A).catch(A);+ }, r = we.batch(() => this.#e.findAll(e).map((e) => e.cancel(n)));+ return Promise.all(r).then(j).catch(j);}invalidateQueries(e, t = {}) {- return Te.batch(() => (this.#e.findAll(e).forEach((e) => {+ return we.batch(() => (this.#e.findAll(e).forEach((e) => {e.invalidate();}), e?.refetchType === "none" ? Promise.resolve() : this.refetchQueries({...e,@@ -1840,26 +1840,26 @@ var Ye = class extends xe {let n = {...t,cancelRefetch: t.cancelRefetch ?? !0- }, r = Te.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {+ }, r = we.batch(() => this.#e.findAll(e).filter((e) => !e.isDisabled() && !e.isStatic()).map((e) => {let t = e.fetch(void 0, n);- return n.throwOnError || (t = t.catch(A)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;+ return n.throwOnError || (t = t.catch(j)), e.state.fetchStatus === "paused" ? Promise.resolve() : t;}));- return Promise.all(r).then(A);+ return Promise.all(r).then(j);}async query(e) {let t = this.defaultQueryOptions(e);t.retry === void 0 && (t.retry = !1);- let n = this.#e.build(this, t), r = n.isStaleByTime(M(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;+ let n = this.#e.build(this, t), r = n.isStaleByTime(P(t.staleTime, n)) ? await n.fetch(t) : n.state.data, i = t.select;return i ? i(r) : r;}fetchQuery(e) {let t = this.defaultQueryOptions(e);t.retry === void 0 && (t.retry = !1);let n = this.#e.build(this, t);- return n.isStaleByTime(M(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);+ return n.isStaleByTime(P(t.staleTime, n)) ? n.fetch(t) : Promise.resolve(n.state.data);}prefetchQuery(e) {- return this.fetchQuery(e).then(A).catch(A);+ return this.fetchQuery(e).then(j).catch(j);}infiniteQuery(e) {return e._type = "infinite", this.query(e);@@ -1868,13 +1868,13 @@ var Ye = class extends xe {return e._type = "infinite", this.fetchQuery(e);}prefetchInfiniteQuery(e) {- return this.fetchInfiniteQuery(e).then(A).catch(A);+ return this.fetchInfiniteQuery(e).then(j).catch(j);}ensureInfiniteQueryData(e) {return e._type = "infinite", this.ensureQueryData(e);}resumePausedMutations() {- return Ee.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();+ return Te.isOnline() ? this.#t.resumePausedMutations() : Promise.resolve();}getQueryCache() {return this.#e;@@ -1889,7 +1889,7 @@ var Ye = class extends xe {this.#n = e;}setQueryDefaults(e, t) {- this.#r.set(ie(e), {+ this.#r.set(re(e), {queryKey: e,defaultOptions: t});@@ -1897,11 +1897,11 @@ var Ye = class extends xe {getQueryDefaults(e) {let t = [...this.#r.values()], n = {};return t.forEach((t) => {- ae(e, t.queryKey) && Object.assign(n, t.defaultOptions);+ ie(e, t.queryKey) && Object.assign(n, t.defaultOptions);}), n;}setMutationDefaults(e, t) {- this.#i.set(ie(e), {+ this.#i.set(re(e), {mutationKey: e,defaultOptions: t});@@ -1909,7 +1909,7 @@ var Ye = class extends xe {getMutationDefaults(e) {let t = [...this.#i.values()], n = {};return t.forEach((t) => {- ae(e, t.mutationKey) && Object.assign(n, t.defaultOptions);+ ie(e, t.mutationKey) && Object.assign(n, t.defaultOptions);}), n;}defaultQueryOptions(e) {@@ -1920,7 +1920,7 @@ var Ye = class extends xe {...e,_defaulted: !0};- return t.queryHash ||= re(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === he && (t.enabled = !1), t;+ return t.queryHash ||= ne(t.queryKey, t), t.refetchOnReconnect === void 0 && (t.refetchOnReconnect = t.networkMode !== "always"), t.throwOnError === void 0 && (t.throwOnError = !!t.suspense), !t.networkMode && t.persister && (t.networkMode = "offlineFirst"), t.queryFn === me && (t.enabled = !1), t;}defaultMutationOptions(e) {return e?._defaulted ? e : {@@ -1933,11 +1933,11 @@ var Ye = class extends xe {clear() {this.#e.clear(), this.#t.clear();}-}, Qe = x.createContext(!1), $e = () => x.useContext(Qe);-Qe.Provider;+}, Ze = S.createContext(!1), Qe = () => S.useContext(Ze);+Ze.Provider;//#endregion//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js-function et() {+function $e() {let e = !1;return {clearReset: () => {@@ -1949,34 +1949,34 @@ function et() {isReset: () => e};}-var tt = x.createContext(et()), nt = () => x.useContext(tt), rt = (e, t, n) => {- let r = n?.state.error && typeof e.throwOnError == "function" ? _e(e.throwOnError, [n.state.error, n]) : e.throwOnError;+var et = S.createContext($e()), tt = () => S.useContext(et), nt = (e, t, n) => {+ let r = n?.state.error && typeof e.throwOnError == "function" ? ge(e.throwOnError, [n.state.error, n]) : e.throwOnError;(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));-}, it = (e) => {- x.useEffect(() => {+}, rt = (e) => {+ S.useEffect(() => {e.clearReset();}, [e]);-}, at = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || _e(n, [e.error, r])), ot = (e) => {+}, it = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || ge(n, [e.error, r])), at = (e) => {if (e.suspense) {let t = 1e3, n = (e) => e === "static" ? e : Math.max(e ?? t, t), r = e.staleTime;e.staleTime = typeof r == "function" ? (...e) => n(r(...e)) : n(r), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, t));}-}, st = (e, t) => e?.suspense && t.isPending, ct = (e, t, n) => t.fetchOptimistic(e).catch(() => {+}, ot = (e, t) => e?.suspense && t.isPending, st = (e, t, n) => t.fetchOptimistic(e).catch(() => {n.clearReset();});//#endregion//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js-function lt(e, t, n) {- let r = $e(), i = nt(), a = w(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;- o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, ot(o), rt(o, i, s), it(i);- let [l] = x.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;- if (x.useSyncExternalStore(x.useCallback((e) => {- let t = d ? l.subscribe(Te.batchCalls(e)) : A;+function ct(e, t, n) {+ let r = Qe(), i = tt(), a = T(n), o = a.defaultQueryOptions(e), s = a.getQueryCache().get(o.queryHash), c = e.subscribed !== !1;+ o._optimisticResults = r ? "isRestoring" : c ? "optimistic" : void 0, at(o), nt(o, i, s), rt(i);+ let [l] = S.useState(() => new t(a, o)), u = l.getOptimisticResult(o), d = !r && c;+ if (S.useSyncExternalStore(S.useCallback((e) => {+ let t = d ? l.subscribe(we.batchCalls(e)) : j;return l.updateResult(), t;- }, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), x.useEffect(() => {+ }, [l, d]), () => l.getCurrentResult(), () => l.getCurrentResult()), S.useEffect(() => {l.setOptions(o);- }, [o, l]), st(o, u)) throw ct(o, l, i);- if (at({+ }, [o, l]), ot(o, u)) throw st(o, l, i);+ if (it({result: u,errorResetBoundary: i,throwOnError: o.throwOnError,@@ -1987,20 +1987,20 @@ function lt(e, t, n) {}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useQuery.js-function ut(e, t) {- return lt(e, ze, t);+function lt(e, t) {+ return ct(e, Re, t);}//#endregion//#region node_modules/@tanstack/react-query/build/modern/useMutation.js-function dt(e, t) {- let n = w(t), [r] = x.useState(() => new Ye(n, e));- x.useEffect(() => {+function ut(e, t) {+ let n = T(t), [r] = S.useState(() => new Je(n, e));+ S.useEffect(() => {r.setOptions(e);}, [r, e]);- let i = x.useSyncExternalStore(x.useCallback((e) => r.subscribe(Te.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = x.useCallback((...e) => {- r.mutate(e[0], e[1]).catch(A);+ let i = S.useSyncExternalStore(S.useCallback((e) => r.subscribe(we.batchCalls(e)), [r]), () => r.getCurrentResult(), () => r.getCurrentResult()), a = S.useCallback((...e) => {+ r.mutate(e[0], e[1]).catch(j);}, [r]);- if (i.error && _e(r.options.throwOnError, [i.error])) throw i.error;+ if (i.error && ge(r.options.throwOnError, [i.error])) throw i.error;return {...i,mutate: a,@@ -2009,7 +2009,7 @@ function dt(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/collections/BaseCollection.mjs-var ft = class {+var dt = 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;}@@ -2024,22 +2024,22 @@ var ft = class {let r = this.clone();return t.addDescendants(r, e), r;}-}, pt = class extends ft {+}, ft = class extends dt {filter(e, t, n) {- let [r, i] = _t(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = gt(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends ft {+(class extends dt {static {this.type = "header";}});-var mt = class extends ft {+var pt = class extends dt {static {this.type = "loader";}-}, ht = class extends pt {+}, mt = class extends ft {static {this.type = "item";}@@ -2051,7 +2051,7 @@ var mt = class extends ft {return null;}};-(class extends pt {+(class extends ft {static {this.type = "section";}@@ -2064,7 +2064,7 @@ var mt = class extends ft {return null;}});-var gt = class {+var ht = class {get size() {return this.itemCount;}@@ -2139,14 +2139,14 @@ var gt = class {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = _t(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = gt(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 _t(e, t, n, r) {+function gt(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -2161,7 +2161,7 @@ function _t(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/collections/Document.mjs-var vt = class {+var _t = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -2242,7 +2242,7 @@ var vt = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, yt = class e extends vt {+}, vt = class e extends _t {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -2293,7 +2293,7 @@ var vt = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, bt = class extends vt {+}, yt = class extends _t {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;}@@ -2301,7 +2301,7 @@ var vt = class {return !0;}createElement(e) {- return new yt(e, this);+ return new vt(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -2323,8 +2323,8 @@ var vt = class {return this.inSubscription ? this.collection : (this.queuedRender = !1, this.updateCollection(), this.collection);}updateCollection() {- for (let e of this.dirtyNodes) e instanceof yt && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof yt ? (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 vt && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof vt ? (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() {@@ -2343,19 +2343,19 @@ var vt = class {};//#endregion//#region node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function xt(e) {- let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, x.useMemo)(() => void 0, [t]), s = (0, x.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);- return (0, x.useMemo)(() => {+function bt(e) {+ let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, S.useMemo)(() => void 0, [t]), s = (0, S.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);+ return (0, S.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = St(a) ? a : null, o = n ? s.get(n) : null;+ let n = xt(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, x.cloneElement)(o, i ? {+ o = (0, S.cloneElement)(o, i ? {key: l,id: c,value: a@@ -2374,7 +2374,7 @@ function xt(e) {i]);}-function St(e) {+function xt(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -2384,26 +2384,26 @@ function St(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function Ct(e) {- if (Tt()) e.focus({ preventScroll: !0 });+function St(e) {+ if (wt()) e.focus({ preventScroll: !0 });else {- let t = Et(e);- e.focus(), Dt(t);+ let t = Tt(e);+ e.focus(), Et(t);}}-var wt = null;-function Tt() {- if (wt == null) {- wt = !1;+var Ct = null;+function wt() {+ if (Ct == null) {+ Ct = !1;try {document.createElement("div").focus({ get preventScroll() {- return wt = !0, !0;+ return Ct = !0, !0;} });} catch {}}- return wt;+ return Ct;}-function Et(e) {+function Tt(e) {let t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement;for (; t instanceof HTMLElement && t !== r;) (t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && n.push({element: t,@@ -2416,25 +2416,25 @@ function Et(e) {scrollLeft: r.scrollLeft}), n;}-function Dt(e) {+function Et(e) {for (let { element: t, scrollTop: n, scrollLeft: r } of e) t.scrollTop = n, t.scrollLeft = r;}//#endregion//#region node_modules/react-aria/dist/private/utils/domHelpers.mjs-var I = (e) => At(e) ? e.document : jt(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Ot = (e) => I(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function kt(e) {+var R = (e) => kt(e) ? e.document : At(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), Dt = (e) => R(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function Ot(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function At(e) {+function kt(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function jt(e) {- return kt(e) && e.nodeType === 9;+function At(e) {+ return Ot(e) && e.nodeType === 9;}-function Mt(e) {- return kt(e) && e.nodeType === 11 && "host" in e;+function jt(e) {+ return Ot(e) && e.nodeType === 11 && "host" in e;}-function Nt(e, t, n, r) {+function Mt(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);@@ -2442,7 +2442,7 @@ function Nt(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function Pt(e, t, n, r) {+function Nt(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -2457,73 +2457,73 @@ function Pt(e, t, n, r) {}//#endregion//#region node_modules/react-stately/dist/private/flags/flags.mjs-var Ft = !1;-function It() {- return Ft;+var Pt = !1;+function Ft() {+ return Pt;}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function L(e, t) {- if (!It()) return t && e ? e.contains(t) : !1;+function z(e, t) {+ if (!Ft()) 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 : Mt(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : jt(n) ? n.host : n.parentNode;}return !1;}-var Lt = (e = document) => {- if (!It()) return e.activeElement;+var It = (e = document) => {+ if (!Ft()) return e.activeElement;let t = e.activeElement;for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;return t;};-function R(e) {- if (It() && e.target instanceof Element && e.target.shadowRoot) {+function B(e) {+ if (Ft() && 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 Rt(e, t) {+function Lt(e, t) {if (t === null) return [];- t ??= Ot(e);+ t ??= Dt(e);let n = [t];- if (!It() || !e || e === t) return n;+ if (!Ft() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; Mt(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; jt(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function zt(e) {+function Rt(e) {if (!e) return !1;- let t = e.getRootNode(), n = Ot(e);+ let t = e.getRootNode(), n = Dt(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}//#endregion//#region node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var Bt = typeof Element < "u" && "checkVisibility" in Element.prototype;-function Vt(e) {- let t = Ot(e);+var zt = typeof Element < "u" && "checkVisibility" in Element.prototype;+function Bt(e) {+ let t = Dt(e);if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";if (i) {- let { getComputedStyle: t } = Ot(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = Dt(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function Ht(e, t) {+function Vt(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 Ut(e, t) {- return Bt ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Vt(e) && Ht(e, t) && (!e.parentElement || Ut(e.parentElement, e));+function Ht(e, t) {+ return zt ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && Bt(e) && Vt(e, t) && (!e.parentElement || Ht(e.parentElement, e));}//#endregion//#region node_modules/react-aria/dist/private/utils/isFocusable.mjs-var z = [+var Ut = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -2538,60 +2538,60 @@ var z = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], Wt = z.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-z.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var Gt = z.join(":not([hidden]):not([tabindex=\"-1\"]),");+], Wt = Ut.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+Ut.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var Gt = Ut.join(":not([hidden]):not([tabindex=\"-1\"]),");function Kt(e, t) {- return e.matches(Wt) && !Jt(e) && (t?.skipVisibilityCheck || Ut(e));+ return e.matches(Wt) && !Jt(e) && (t?.skipVisibilityCheck || Ht(e));}function qt(e) {- return e.matches(Gt) && Ut(e) && !Jt(e);+ return e.matches(Gt) && Ht(e) && !Jt(e);}function Jt(e) {let t = e;for (; t != null;) {- if (t instanceof Ot(t).HTMLElement && t.inert) return !0;+ if (t instanceof Dt(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}//#endregion//#region node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var B = typeof document < "u" ? x.useLayoutEffect : () => {};+var Yt = typeof document < "u" ? S.useLayoutEffect : () => {};//#endregion//#region node_modules/react-aria/dist/private/interactions/utils.mjs-function Yt(e) {+function Xt(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function Xt(e, t) {+function Zt(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function Zt(e) {- let t = (0, x.useRef)({+function Qt(e) {+ let t = (0, S.useRef)({isFocused: !1,observer: null});- return B(() => {+ return Yt(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);};- }, []), (0, x.useCallback)((n) => {- let r = R(n);+ }, []), (0, S.useCallback)((n) => {+ let r = B(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 = Yt(r);+ let t = Xt(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 === Lt() ? null : Lt();+ let e = n === It() ? null : It();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -2604,83 +2604,83 @@ function Zt(e) {}}, [e]);}-var Qt = !1;-function $t(e) {+var $t = !1;+function en(e) {for (; e && !Kt(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = Lt(Ot(e).document);+ let t = It(Dt(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && Mt(n) ? n : Ot(e), i = (t) => t === e || t != null && L(e, t), a = (e) => e === t || t != null && e != null && L(t, e);- Qt = !0;+ let n = e?.getRootNode(), r = n != null && jt(n) ? n : Dt(e), i = (t) => t === e || t != null && z(e, t), a = (e) => e === t || t != null && e != null && z(t, e);+ $t = !0;let o = !1, s = (e) => {- (a(R(e)) || o) && e.stopImmediatePropagation();+ (a(B(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(R(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Ct(t), d()));+ (a(B(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, St(t), d()));}, l = (e) => {- (i(R(e)) || o) && e.stopImmediatePropagation();+ (i(B(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(R(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Ct(t), d()));+ (i(B(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, St(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), Qt = !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), $t = !1, o = !1;}, f = requestAnimationFrame(d);return d;}//#endregion//#region node_modules/react-aria/dist/private/utils/platform.mjs-function en(e) {+function tn(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 tn(e) {+function nn(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function nn(e) {+function rn(e) {let t = null;return () => (t ??= e(), t);}-var rn = nn(function() {- return tn(/^Mac/i);-}), an = nn(function() {- return tn(/^iPhone/i);-}), on = nn(function() {- return tn(/^iPad/i) || rn() && navigator.maxTouchPoints > 1;-}), sn = nn(function() {- return an() || on();-}), cn = nn(function() {- return rn() || sn();-}), ln = nn(function() {- return en(/AppleWebKit/i) && (sn() || !un());-}), un = nn(function() {- return en(/Chrome|CriOS|CrMo/i);-}), dn = nn(function() {- return en(/Android/i);-}), fn = nn(function() {- return en(/(Firefox|FxiOS)/i);+var an = rn(function() {+ return nn(/^Mac/i);+}), on = rn(function() {+ return nn(/^iPhone/i);+}), sn = rn(function() {+ return nn(/^iPad/i) || an() && navigator.maxTouchPoints > 1;+}), cn = rn(function() {+ return on() || sn();+}), ln = rn(function() {+ return an() || cn();+}), un = rn(function() {+ return tn(/AppleWebKit/i) && (cn() || !dn());+}), dn = rn(function() {+ return tn(/Chrome|CriOS|CrMo/i);+}), fn = rn(function() {+ return tn(/Android/i);+}), pn = rn(function() {+ return tn(/(Firefox|FxiOS)/i);});//#endregion//#region node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function pn(e) {- return e.pointerType === "" && e.isTrusted ? !0 : dn() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;-}function mn(e) {- return !dn() && e.width === 0 && e.height === 0 || dn() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+ return e.pointerType === "" && e.isTrusted ? !0 : fn() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+}+function hn(e) {+ return !fn() && e.width === 0 && e.height === 0 || fn() && 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 hn = /*#__PURE__*/ (0, x.createContext)({+var gn = /*#__PURE__*/ (0, S.createContext)({isNative: !0,- open: yn,+ open: bn,useHref: (e) => e});-function gn() {- return (0, x.useContext)(hn);+function _n() {+ return (0, S.useContext)(gn);}-function _n(e, t, n = !0) {+function vn(e, t, n = !0) {let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t;- !ln() && fn() && window.event?.type?.startsWith("key") && e.target === "_blank" && (rn() ? r = !0 : i = !0);- let s = ln() && rn() && !on() ? new KeyboardEvent("keydown", {+ !un() && pn() && window.event?.type?.startsWith("key") && e.target === "_blank" && (an() ? r = !0 : i = !0);+ let s = un() && an() && !sn() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -2695,21 +2695,32 @@ function _n(e, t, n = !0) {bubbles: !0,cancelable: !0});- _n.isOpening = n, Ct(e), e.dispatchEvent(s), _n.isOpening = !1;+ vn.isOpening = n, St(e), e.dispatchEvent(s), vn.isOpening = !1;}-_n.isOpening = !1;-function vn(e, t) {+vn.isOpening = !1;+function yn(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 yn(e, t) {- vn(e, (e) => _n(e, t));+function bn(e, t) {+ yn(e, (e) => vn(e, t));}-function bn(e) {- let t = gn().useHref(e?.href ?? ""), n = {};+function xn(e) {+ let t = _n().useHref(e.href ?? "");+ return {+ "data-href": e.href ? t : void 0,+ "data-target": e.target,+ "data-rel": e.rel,+ "data-download": e.download,+ "data-ping": e.ping,+ "data-referrer-policy": e.referrerPolicy+ };+}+function Sn(e) {+ let t = _n().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -2722,121 +2733,133 @@ function bn(e) {}//#endregion//#region node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var xn = {+var Cn = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, Sn = /*#__PURE__*/ x.createContext(xn), Cn = /*#__PURE__*/ x.createContext(!1);+}, wn = /*#__PURE__*/ S.createContext(Cn), Tn = /*#__PURE__*/ S.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var wn = /* @__PURE__ */ new WeakMap();-function Tn(e = !1) {- let t = (0, x.useContext)(Sn), n = (0, x.useRef)(null);+var En = /* @__PURE__ */ new WeakMap();+function Dn(e = !1) {+ let t = (0, S.useContext)(wn), n = (0, S.useRef)(null);if (n.current === null && !e) {- let e = x.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;+ let e = S.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = wn.get(e);- n == null ? wn.set(e, {+ let n = En.get(e);+ n == null ? En.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, wn.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, En.delete(e));}n.current = ++t.current;}return n.current;}-function En(e) {- let t = (0, x.useContext)(Sn), n = Tn(!!e), r = `react-aria${t.prefix}`;+function On(e) {+ let t = (0, S.useContext)(wn), n = Dn(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function Dn(e) {- let t = x.useId(), [n] = (0, x.useState)(Mn()), r = n ? "react-aria" : `react-aria${xn.prefix}`;+function kn(e) {+ let t = S.useId(), [n] = (0, S.useState)(Pn()), r = n ? "react-aria" : `react-aria${Cn.prefix}`;return e || `${r}-${t}`;}-var On = typeof x.useId == "function" ? Dn : En;-function kn() {+var An = typeof S.useId == "function" ? kn : On;+function jn() {return !1;}-function An() {+function Mn() {return !0;}-function jn(e) {+function Nn(e) {return () => {};}-function Mn() {- return typeof x.useSyncExternalStore == "function" ? x.useSyncExternalStore(jn, kn, An) : (0, x.useContext)(Cn);+function Pn() {+ return typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore(Nn, jn, Mn) : (0, S.useContext)(Tn);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var Nn = null, Pn = /* @__PURE__ */ new Set(), Fn = /* @__PURE__ */ new Map(), In = !1, Ln = !1, Rn = {+var Fn = null, In = /* @__PURE__ */ new Set(), Ln = /* @__PURE__ */ new Map(), Rn = !1, zn = !1, Bn = {Tab: !0,Escape: !0};-function zn(e, t) {- for (let n of Pn) n(e, t);-}-function Bn(e) {- return !(e.metaKey || !rn() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");-}-function Vn(e) {- In = !0, !_n.isOpening && Bn(e) && (Nn = "keyboard", zn("keyboard", e));+function Vn(e, t) {+ for (let n of In) n(e, t);}function Hn(e) {- Nn = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (In = !0, zn("pointer", e));+ return !(e.metaKey || !an() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}function Un(e) {- !_n.isOpening && pn(e) && (In = !0, Nn = "virtual");+ Rn = !0, !vn.isOpening && Hn(e) && (Fn = "keyboard", Vn("keyboard", e));}function Wn(e) {- if (Qt) return;- let t = R(e), n = Ot(t), r = I(t);+ Fn = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (Rn = !0, Vn("pointer", e));+}+function Gn(e) {+ !vn.isOpening && mn(e) && (Rn = !0, Fn = "virtual");+}+function Kn(e) {+ if ($t) return;+ let t = B(e), n = Dt(t), r = R(t);if (t === n) {- Ln = !0;+ zn = !0;return;}- t === r || !e.isTrusted || (!In && !Ln && (Nn = "virtual", zn("virtual", e)), In = !1, Ln = !1);+ t === r || !e.isTrusted || (!Rn && !zn && (Fn = "virtual", Vn("virtual", e)), Rn = !1, zn = !1);}-function Gn() {- Qt || (In = !1, Ln = !0);+function qn() {+ $t || (Rn = !1, zn = !0);}-function Kn(e) {+function Jn(e) {if (typeof window > "u" || typeof document > "u") return;- let t = Ot(e), n = I(e);- if (Fn.get(t)) return;+ let t = Dt(e), n = R(e);+ if (Ln.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- In = !0, r.apply(this, arguments);+ Rn = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", Vn, !0), n.addEventListener("keyup", Vn, !0), n.addEventListener("click", Un, !0), t.addEventListener("focus", Wn, !0), t.addEventListener("blur", Gn, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Hn, !0), n.addEventListener("pointermove", Hn, !0), n.addEventListener("pointerup", Hn, !0)), t.addEventListener("beforeunload", () => {- qn(e);- }, { once: !0 }), Fn.set(t, { focus: r });+ }), n.addEventListener("keydown", Un, !0), n.addEventListener("keyup", Un, !0), n.addEventListener("click", Gn, !0), t.addEventListener("focus", Kn, !0), t.addEventListener("blur", qn, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", Wn, !0), n.addEventListener("pointermove", Wn, !0), n.addEventListener("pointerup", Wn, !0)), t.addEventListener("beforeunload", () => {+ Yn(e);+ }, { once: !0 }), Ln.set(t, { focus: r });}-var qn = (e, t) => {- let n = Ot(e), r = I(e);- t && r.removeEventListener("DOMContentLoaded", t), Fn.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var Yn = (e, t) => {+ let n = Dt(e), r = R(e);+ t && r.removeEventListener("DOMContentLoaded", t), Ln.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: Fn.get(n).focus- }), r.removeEventListener("keydown", Vn, !0), r.removeEventListener("keyup", Vn, !0), r.removeEventListener("click", Un, !0), n.removeEventListener("focus", Wn, !0), n.removeEventListener("blur", Gn, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Hn, !0), r.removeEventListener("pointermove", Hn, !0), r.removeEventListener("pointerup", Hn, !0)), Fn.delete(n));+ value: Ln.get(n).focus+ }), r.removeEventListener("keydown", Un, !0), r.removeEventListener("keyup", Un, !0), r.removeEventListener("click", Gn, !0), n.removeEventListener("focus", Kn, !0), n.removeEventListener("blur", qn, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", Wn, !0), r.removeEventListener("pointermove", Wn, !0), r.removeEventListener("pointerup", Wn, !0)), Ln.delete(n));};-function Jn(e) {- let t = I(e), n;+function Xn(e) {+ let t = R(e), n;return t.readyState === "loading" ? (n = () => {- Kn(e);- }, t.addEventListener("DOMContentLoaded", n)) : Kn(e), () => qn(e, n);+ Jn(e);+ }, t.addEventListener("DOMContentLoaded", n)) : Jn(e), () => Yn(e, n);+}+typeof document < "u" && Xn();+function Zn() {+ return Fn !== "pointer";}-typeof document < "u" && Jn();-function Yn() {- return Nn !== "pointer";+function Qn() {+ return Fn;}-function Xn() {- return Nn;+function $n(e) {+ Fn = e, Vn(e, null);}-function Zn(e) {- Nn = e, zn(e, null);+function er() {+ Jn();+ let [e, t] = (0, S.useState)(Fn);+ return (0, S.useEffect)(() => {+ let e = () => {+ t(Fn);+ };+ return In.add(e), () => {+ In.delete(e);+ };+ }, []), Pn() ? null : e;}-var Qn = /* @__PURE__ */ new Set([+var tr = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -2847,78 +2870,78 @@ var Qn = /* @__PURE__ */ new Set(["submit","reset"]);-function $n(e, t, n) {- let r = n ? R(n) : void 0, i = I(r), a = Ot(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 = Lt(i);- return e = e || u instanceof o && !Qn.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Rn[n.key]);+function nr(e, t, n) {+ let r = n ? B(n) : void 0, i = R(r), a = Dt(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 = It(i);+ return e = e || u instanceof o && !tr.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Bn[n.key]);}-function er(e, t, n) {- Kn(), (0, x.useEffect)(() => {+function rr(e, t, n) {+ Jn(), (0, S.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- $n(!!n?.isTextInput, t, r) && e(Yn());+ nr(!!n?.isTextInput, t, r) && e(Zn());};- return Pn.add(t), () => {- Pn.delete(t);+ return In.add(t), () => {+ In.delete(t);};}, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var tr = /* @__PURE__ */ new Map(), nr = /* @__PURE__ */ new Set();-function rr() {+var ir = /* @__PURE__ */ new Map(), ar = /* @__PURE__ */ new Set();+function or() {if (typeof window > "u") return;function e(e) {return "propertyName" in e;}let t = (t) => {- let r = R(t);+ let r = B(t);if (!e(t) || !r) return;- let i = tr.get(r);- i || (i = /* @__PURE__ */ new Set(), tr.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);+ let i = ir.get(r);+ i || (i = /* @__PURE__ */ new Set(), ir.set(r, i), r.addEventListener("transitioncancel", n, { once: !0 })), i.add(t.propertyName);}, n = (t) => {- let r = R(t);+ let r = B(t);if (!e(t) || !r) return;- let i = tr.get(r);- if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), tr.delete(r)), tr.size === 0)) {- for (let e of nr) e();- nr.clear();+ let i = ir.get(r);+ if (i && (i.delete(t.propertyName), i.size === 0 && (r.removeEventListener("transitioncancel", n), ir.delete(r)), ir.size === 0)) {+ for (let e of ar) e();+ ar.clear();}};document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);}-typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", rr) : rr());-function ir() {- for (let [e] of tr) "isConnected" in e && !e.isConnected && tr.delete(e);+typeof document < "u" && (document.readyState === "loading" ? document.addEventListener("DOMContentLoaded", or) : or());+function sr() {+ for (let [e] of ir) "isConnected" in e && !e.isConnected && ir.delete(e);}-function ar(e) {+function cr(e) {requestAnimationFrame(() => {- ir(), tr.size === 0 ? e() : nr.add(e);+ sr(), ir.size === 0 ? e() : ar.add(e);});}//#endregion//#region node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function or(e) {+function lr(e) {if (!e.isConnected) return;- let t = I(e);- if (Xn() === "virtual") {- let n = Lt(t);- ar(() => {- let r = Lt(t);- (r === n || r === t.body) && e.isConnected && Ct(e);+ let t = R(e);+ if (Qn() === "virtual") {+ let n = It(t);+ cr(() => {+ let r = It(t);+ (r === n || r === t.body) && e.isConnected && St(e);});- } else Ct(e);+ } else St(e);}//#endregion//#region node_modules/react-aria/dist/private/utils/chain.mjs-function sr(...e) {+function ur(...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 cr(e) {- let [t, n] = (0, x.useState)(e), r = (0, x.useRef)(t), i = (0, x.useRef)(null), a = (0, x.useRef)(() => {+function dr(e) {+ let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(t), i = (0, S.useRef)(null), a = (0, S.useRef)(() => {if (!i.current) return;let e = i.current.next();if (e.done) {@@ -2927,51 +2950,51 @@ function cr(e) {}r.current === e.value ? a.current() : n(e.value);});- return B(() => {+ return Yt(() => {r.current = t, i.current && a.current();- }), [t, (0, x.useCallback)((e) => {+ }), [t, (0, S.useCallback)((e) => {i.current = e(r.current), a.current();}, [a])];}//#endregion//#region node_modules/react-aria/dist/private/utils/useId.mjs-var lr = !!(typeof window < "u" && window.document && window.document.createElement), ur = /* @__PURE__ */ new Map(), dr;-typeof FinalizationRegistry < "u" && (dr = new FinalizationRegistry((e) => {- ur.delete(e);+var fr = !!(typeof window < "u" && window.document && window.document.createElement), pr = /* @__PURE__ */ new Map(), mr;+typeof FinalizationRegistry < "u" && (mr = new FinalizationRegistry((e) => {+ pr.delete(e);}));-var fr = /* @__PURE__ */ new WeakMap();-function pr(e) {- let [t, n] = (0, x.useState)(e), r = (0, x.useRef)(null), i = On(t), a = (0, x.useRef)(null), o = fr.get(a);- if (dr && o !== i && (o != null && dr.unregister(a), dr.register(a, i, a), fr.set(a, i)), lr) {- let e = ur.get(i);- e && !e.includes(r) ? e.push(r) : ur.set(i, [r]);- }- return B(() => {+var hr = /* @__PURE__ */ new WeakMap();+function gr(e) {+ let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(null), i = An(t), a = (0, S.useRef)(null), o = hr.get(a);+ if (mr && o !== i && (o != null && mr.unregister(a), mr.register(a, i, a), hr.set(a, i)), fr) {+ let e = pr.get(i);+ e && !e.includes(r) ? e.push(r) : pr.set(i, [r]);+ }+ return Yt(() => {let e = i;return () => {- dr && (dr.unregister(a), fr.delete(a)), ur.delete(e);+ mr && (mr.unregister(a), hr.delete(a)), pr.delete(e);};- }, [i]), (0, x.useEffect)(() => {+ }, [i]), (0, S.useEffect)(() => {let e = r.current;return e && n(e), () => {e && (r.current = null);};}), i;}-function mr(e, t) {+function _r(e, t) {if (e === t) return e;- let n = ur.get(e);+ let n = pr.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = ur.get(t);+ let r = pr.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function hr(e = []) {- let t = pr(), [n, r] = cr(t), i = (0, x.useCallback)(() => {+function vr(e = []) {+ let t = gr(), [n, r] = dr(t), i = (0, S.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return B(i, [+ return Yt(i, [t,i,...e@@ -2979,38 +3002,38 @@ function hr(e = []) {}//#endregion//#region node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function gr(...e) {+function yr(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = _r(e, t);+ let r = br(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : _r(e[n], null);+ typeof t == "function" ? t() : br(e[n], null);});};};}-function _r(e, t) {+function br(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}//#endregion//#region node_modules/clsx/dist/clsx.mjs-function vr(e) {+function xr(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 = vr(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = xr(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function yr() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = vr(e)) && (r && (r += " "), r += t);+function Sr() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = xr(e)) && (r && (r += " "), r += t);return r;}//#endregion@@ -3021,18 +3044,18 @@ function V(...e) {let r = e[n];for (let e in r) {let n = t[e], i = r[e];- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = sr(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = yr(n, i) : e === "id" && n && i ? t.id = mr(n, i) : e === "ref" && n && i ? t.ref = gr(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] = ur(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Sr(n, i) : e === "id" && n && i ? t.id = _r(n, i) : e === "ref" && n && i ? t.ref = yr(n, i) : t[e] = i === void 0 ? n : i;}}return t;}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocus.mjs-function br(e) {- let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, x.useCallback)((e) => {- if (R(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = Zt(a), s = (0, x.useCallback)((e) => {- let t = R(e), r = I(t), a = r ? Lt(r) : Lt();+function Cr(e) {+ let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, S.useCallback)((e) => {+ if (B(e) === e.currentTarget) return r && r(e), i && i(!1), !0;+ }, [r, i]), o = Qt(a), s = (0, S.useCallback)((e) => {+ let t = B(e), r = R(t), a = r ? It(r) : It();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -3046,7 +3069,7 @@ function br(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function xr(e) {+function wr(e) {if (e) return (t) => {let n = !0;e({@@ -3071,33 +3094,33 @@ function xr(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var Sr = /* @__PURE__ */ new Set([+var Tr = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Cr = [+]), Er = ["Alt","Control","Meta","Shift"];-function wr(e) {+function Dr(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(rn() ? "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(an() ? "Meta" : "Control"), t;}-function Tr(e) {+function Or(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 Er(e) {- return Cr.filter((t) => e.has(t));+function kr(e) {+ return Er.filter((t) => e.has(t));}-function Dr(e) {+function Ar(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return Sr.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 Tr.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,@@ -3109,10 +3132,10 @@ function Dr(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 Or(e) {+function jr(e) {return e.toLowerCase();}-var kr = {+var Mr = {space: " ",esc: "escape",del: "delete",@@ -3124,26 +3147,26 @@ var kr = {pageup: "pageup",pagedown: "pagedown"};-function Ar(e) {- let t = Or(e);- return kr[t] ?? t;+function Nr(e) {+ let t = jr(e);+ return Mr[t] ?? t;}-function jr(e) {- let t = Er(wr(e)), n = Ar(e.key);+function Pr(e) {+ let t = kr(Dr(e)), n = Nr(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function Mr(e) {- let t = Er(Tr(e)), n = Or(e.key);+function Fr(e) {+ let t = kr(Or(e)), n = jr(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function Nr(e) {+function Ir(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = Dr(n);- t.set(jr(e), r);+ let e = Ar(n);+ t.set(Pr(e), r);}return (e) => {- let n = Mr(e), r = t.get(n), i = r?.(e);+ let n = Fr(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -3155,11 +3178,11 @@ function Nr(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function Pr(e) {+function Lr(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = Nr(t), s = xr((e) => {- if (!L(e.currentTarget, R(e))) {+ let o = Ir(t), s = wr((e) => {+ if (!z(e.currentTarget, B(e))) {e.continuePropagation();return;}@@ -3168,8 +3191,8 @@ function Pr(e) {return;}o(e);- }), c = xr((e) => {- if (!L(e.currentTarget, R(e))) {+ }), c = wr((e) => {+ if (!z(e.currentTarget, B(e))) {e.continuePropagation();return;}@@ -3179,8 +3202,8 @@ function Pr(e) {}e.continuePropagation();});- i = e.onKeyDown ? sr(e.onKeyDown, s) : s, a = e.onKeyUp ? sr(e.onKeyUp, c) : c;- } else i = xr(e.onKeyDown), a = xr(e.onKeyUp);+ i = e.onKeyDown ? ur(e.onKeyDown, s) : s, a = e.onKeyUp ? ur(e.onKeyUp, c) : c;+ } else i = wr(e.onKeyDown), a = wr(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a@@ -3188,8 +3211,8 @@ function Pr(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function Fr(e) {- let t = (0, x.useRef)(null), n = (0, x.useRef)(void 0), r = (0, x.useCallback)((t) => {+function Rr(e) {+ let t = (0, S.useRef)(null), n = (0, S.useRef)(void 0), r = (0, S.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);return () => {@@ -3200,7 +3223,7 @@ function Fr(e) {e.current = null;};}, [e]);- return (0, x.useMemo)(() => ({+ return (0, S.useMemo)(() => ({get current() {return t.current;},@@ -3211,8 +3234,8 @@ function Fr(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function Ir(e, t) {- B(() => {+function zr(e, t) {+ Yt(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};@@ -3220,17 +3243,17 @@ function Ir(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var Lr = /*#__PURE__*/ x.createContext(null);-function Rr(e) {- let t = (0, x.useContext)(Lr) || {};- Ir(t, e);+var Br = /*#__PURE__*/ S.createContext(null);+function Vr(e) {+ let t = (0, S.useContext)(Br) || {};+ zr(t, e);let { ref: n, ...r } = t;return r;}-function zr(e, t) {- let { focusProps: n } = br(e), { keyboardProps: r } = Pr(e), i = V(n, r), a = Rr(t), o = e.isDisabled ? {} : a, s = (0, x.useRef)(e.autoFocus);- (0, x.useEffect)(() => {- s.current && t.current && or(t.current), s.current = !1;+function Hr(e, t) {+ let { focusProps: n } = Cr(e), { keyboardProps: r } = Lr(e), i = V(n, r), a = Vr(t), o = e.isDisabled ? {} : a, s = (0, S.useRef)(e.autoFocus);+ (0, S.useEffect)(() => {+ s.current && t.current && lr(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: V({@@ -3265,23 +3288,23 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var Br = /*#__PURE__*/ (0, x.createContext)(!1);-function Vr(e) {- if ((0, x.useContext)(Br)) return /*#__PURE__*/ x.createElement(x.Fragment, null, e.children);- let t = /*#__PURE__*/ x.createElement(Br.Provider, { value: !0 }, e.children);- return /*#__PURE__*/ x.createElement("template", null, t);+var Ur = /*#__PURE__*/ (0, S.createContext)(!1);+function Wr(e) {+ if ((0, S.useContext)(Ur)) return /*#__PURE__*/ S.createElement(S.Fragment, null, e.children);+ let t = /*#__PURE__*/ S.createElement(Ur.Provider, { value: !0 }, e.children);+ return /*#__PURE__*/ S.createElement("template", null, t);}-function Hr(e) {- let t = (t, n) => (0, x.useContext)(Br) ? null : e(t, n);- return t.displayName = e.displayName || e.name, (0, x.forwardRef)(t);+function Gr(e) {+ let t = (t, n) => (0, S.useContext)(Ur) ? null : e(t, n);+ return t.displayName = e.displayName || e.name, (0, S.forwardRef)(t);}-function Ur() {- return (0, x.useContext)(Br);+function Kr() {+ return (0, S.useContext)(Ur);}//#endregion//#region node_modules/react-dom/cjs/react-dom.production.js-var Wr = /* @__PURE__ */ m(((e) => {- var t = v();+var qr = /* @__PURE__ */ h(((e) => {+ var t = y();function n(e) {var t = "https://react.dev/errors/" + e;if (1 < arguments.length) {@@ -3408,7 +3431,7 @@ var Wr = /* @__PURE__ */ m(((e) => {}, e.useFormStatus = function() {return l.H.useHostTransitionStatus();}, e.version = "19.3.0";-})), Gr = /* @__PURE__ */ m(((e, t) => {+})), Jr = /* @__PURE__ */ h(((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);@@ -3416,9 +3439,9 @@ var Wr = /* @__PURE__ */ m(((e) => {console.error(e);}}- n(), t.exports = Wr();-})), Kr = /* @__PURE__ */ m(((e) => {- var t = v();+ n(), t.exports = qr();+})), Yr = /* @__PURE__ */ h(((e) => {+ var t = y();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -3455,48 +3478,48 @@ var Wr = /* @__PURE__ */ m(((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;-})), qr = /* @__PURE__ */ m(((e, t) => {- t.exports = Kr();-})), Jr = /* @__PURE__ */ g(Gr(), 1), Yr = qr(), Xr = /*#__PURE__*/ (0, x.createContext)(!1), Zr = /*#__PURE__*/ (0, x.createContext)(null);-function Qr(e) {- if ((0, x.useContext)(Zr)) return e.content;- let { collection: t, document: n } = ni(e.createCollection);- return /*#__PURE__*/ x.createElement(x.Fragment, null, /*#__PURE__*/ x.createElement(Vr, null, /*#__PURE__*/ x.createElement(Zr.Provider, { value: n }, e.content)), /*#__PURE__*/ x.createElement($r, {+})), Xr = /* @__PURE__ */ h(((e, t) => {+ t.exports = Yr();+})), Zr = /* @__PURE__ */ _(Jr(), 1), Qr = Xr(), $r = /*#__PURE__*/ (0, S.createContext)(!1), ei = /*#__PURE__*/ (0, S.createContext)(null);+function ti(e) {+ if ((0, S.useContext)(ei)) return e.content;+ let { collection: t, document: n } = ai(e.createCollection);+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(Wr, null, /*#__PURE__*/ S.createElement(ei.Provider, { value: n }, e.content)), /*#__PURE__*/ S.createElement(ni, {render: e.children,collection: t}));}-function $r({ collection: e, render: t }) {+function ni({ collection: e, render: t }) {return t(e);}-function ei(e, t, n) {- let r = Mn(), i = (0, x.useRef)(r);+function ri(e, t, n) {+ let r = Pn(), i = (0, S.useRef)(r);i.current = r;- let a = (0, x.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, Yr.useSyncExternalStore)(e, a);+ let a = (0, S.useCallback)(() => i.current ? n() : t(), [t, n]);+ return (0, Qr.useSyncExternalStore)(e, a);}-var ti = typeof x.useSyncExternalStore == "function" ? x.useSyncExternalStore : ei;-function ni(e) {- let [t] = (0, x.useState)(() => new bt(e?.() || new gt()));+var ii = typeof S.useSyncExternalStore == "function" ? S.useSyncExternalStore : ri;+function ai(e) {+ let [t] = (0, S.useState)(() => new yt(e?.() || new ht()));return {- collection: ti((0, x.useCallback)((e) => t.subscribe(e), [t]), (0, x.useCallback)(() => {+ collection: ii((0, S.useCallback)((e) => t.subscribe(e), [t]), (0, S.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;- }, [t]), (0, x.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),+ }, [t]), (0, S.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var ri = /*#__PURE__*/ (0, x.createContext)(null);-function ii(e) {- return class extends ft {+var oi = /*#__PURE__*/ (0, S.createContext)(null);+function si(e) {+ return class extends dt {static {this.type = e;}};}-function ai(e, t, n, r, i, a) {- typeof e == "string" && (e = ii(e));- let o = (0, x.useCallback)((i) => {+function ci(e, t, n, r, i, a) {+ typeof e == "string" && (e = si(e));+ let o = (0, S.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [t,@@ -3504,77 +3527,81 @@ function ai(e, t, n, r, i, a) {r,a,e- ]), s = (0, x.useContext)(ri);+ ]), s = (0, S.useContext)(oi);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__*/ x.createElement(ri.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__*/ S.createElement(oi.Provider, { value: o }, i) : null;}- return /*#__PURE__*/ x.createElement(e.type, { ref: o }, i);+ return /*#__PURE__*/ S.createElement(e.type, { ref: o }, i);}-function oi(e, t) {- let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, x.forwardRef)((r, i) => {- let a = (0, x.useContext)(Lr);- if (!(0, x.useContext)(Xr)) {+function li(e, t) {+ let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, S.forwardRef)((r, i) => {+ let a = (0, S.useContext)(Br);+ if (!(0, S.useContext)($r)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return ai(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ x.createElement(Lr.Provider, { value: a }, /*#__PURE__*/ x.createElement(n, { node: e })));+ return ci(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ S.createElement(Br.Provider, { value: a }, /*#__PURE__*/ S.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function si(e) {- return xt({+function ui(e, t, n = di) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, S.forwardRef)((t, i) => ci(e, t, i, null, n(t), (e) => /*#__PURE__*/ S.createElement(r, { node: e })) ?? /*#__PURE__*/ S.createElement(S.Fragment, null));+ return i.displayName = t.name, i;+}+function di(e) {+ return bt({...e,addIdAndValue: !0});}-var ci = /*#__PURE__*/ (0, x.createContext)(null);-function li(e) {- let t = (0, x.useContext)(ci), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = si({+var fi = /*#__PURE__*/ (0, S.createContext)(null);+function pi(e) {+ let t = (0, S.useContext)(fi), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = di({...e,idScope: r,dependencies: n});- return (0, x.useContext)(Zr) && (i = /*#__PURE__*/ x.createElement(ui, null, i)), t = (0, x.useMemo)(() => ({+ return (0, S.useContext)(ei) && (i = /*#__PURE__*/ S.createElement(mi, null, i)), t = (0, S.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ x.createElement(ci.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ S.createElement(fi.Provider, { value: t }, i);}-function ui({ children: e }) {- let t = (0, x.useContext)(Zr), n = (0, x.useMemo)(() => /*#__PURE__*/ x.createElement(Zr.Provider, { value: null }, /*#__PURE__*/ x.createElement(Xr.Provider, { value: !0 }, e)), [e]);- return Mn() ? /*#__PURE__*/ x.createElement(ri.Provider, { value: t }, n) : /*#__PURE__*/ (0, Jr.createPortal)(n, t);+function mi({ children: e }) {+ let t = (0, S.useContext)(ei), n = (0, S.useMemo)(() => /*#__PURE__*/ S.createElement(ei.Provider, { value: null }, /*#__PURE__*/ S.createElement($r.Provider, { value: !0 }, e)), [e]);+ return Pn() ? /*#__PURE__*/ S.createElement(oi.Provider, { value: t }, n) : /*#__PURE__*/ (0, Zr.createPortal)(n, t);}//#endregion//#region node_modules/react-aria/dist/private/utils/constants.mjs-var di = "react-aria-clear-focus", fi = "react-aria-focus";+var hi = "react-aria-clear-focus", gi = "react-aria-focus";//#endregion//#region node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function pi(e) {- let t = gi(I(e));- t !== e && (t && mi(t, e), e && hi(e, t));+function _i(e) {+ let t = bi(R(e));+ t !== e && (t && vi(t, e), e && yi(e, t));}-function mi(e, t) {+function vi(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function hi(e, t) {+function yi(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function gi(e) {- let t = Lt(e), n = t?.getAttribute("aria-activedescendant");+function bi(e) {+ let t = It(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}//#endregion//#region node_modules/react-aria/dist/private/utils/keyboard.mjs-function _i(e) {- return rn() ? e.metaKey : e.ctrlKey;+function xi(e) {+ return an() ? e.metaKey : e.ctrlKey;}-var vi = /* @__PURE__ */ new Set([+var Si = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -3585,27 +3612,27 @@ var vi = /* @__PURE__ */ new Set(["submit","reset"]);-function yi(e) {- return e instanceof HTMLInputElement && !vi.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;+function Ci(e) {+ return e instanceof HTMLInputElement && !Si.has(e.type) || e instanceof HTMLTextAreaElement || e instanceof HTMLElement && e.isContentEditable;}//#endregion//#region node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var bi = x.useInsertionEffect ?? B;-function xi(e) {- let t = (0, x.useRef)(null);- return bi(() => {+var wi = S.useInsertionEffect ?? Yt;+function Ti(e) {+ let t = (0, S.useRef)(null);+ return wi(() => {t.current = e;- }, [e]), (0, x.useCallback)((...e) => {+ }, [e]), (0, S.useCallback)((...e) => {let n = t.current;return n?.(...e);}, []);}//#endregion//#region node_modules/react-aria/dist/private/utils/useEvent.mjs-function Si(e, t, n, r) {- let i = xi(n), a = n == null;- (0, x.useEffect)(() => {- if (!(a || e.current == null)) return Nt(e.current, t, i, r);+function Ei(e, t, n, r) {+ let i = Ti(n), a = n == null;+ (0, S.useEffect)(() => {+ if (!(a || e.current == null)) return Mt(e.current, t, i, r);}, [e,t,@@ -3615,9 +3642,9 @@ function Si(e, t, n, r) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useLabels.mjs-function Ci(e, t) {+function Di(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = pr(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 = gr(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@@ -3625,7 +3652,7 @@ function Ci(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/utils.mjs-var wi = /* @__PURE__ */ new Set([+var Oi = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -3636,7 +3663,7 @@ var wi = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), Ti = /* @__PURE__ */ new Set([+]), ki = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -3657,20 +3684,20 @@ var wi = /* @__PURE__ */ new Set(["ur","yi"]);-function Ei(e) {+function Ai(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 wi.has(t.script);+ if (t.script) return Oi.has(t.script);}let t = e.split("-")[0];- return Ti.has(t);+ return ki.has(t);}//#endregion//#region node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var Di = Symbol.for("react-aria.i18n.locale");-function Oi() {- let e = typeof window < "u" && window[Di] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var ji = Symbol.for("react-aria.i18n.locale");+function Mi() {+ let e = typeof window < "u" && window[ji] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -3678,33 +3705,33 @@ function Oi() {}return {locale: e,- direction: Ei(e) ? "rtl" : "ltr"+ direction: Ai(e) ? "rtl" : "ltr"};}-var ki = Oi(), Ai = /* @__PURE__ */ new Set();-function ji() {- ki = Oi();- for (let e of Ai) e(ki);+var Ni = Mi(), Pi = /* @__PURE__ */ new Set();+function Fi() {+ Ni = Mi();+ for (let e of Pi) e(Ni);}-function Mi() {- let e = Mn(), [t, n] = (0, x.useState)(ki);- return (0, x.useEffect)(() => (Ai.size === 0 && window.addEventListener("languagechange", ji), Ai.add(n), () => {- Ai.delete(n), Ai.size === 0 && window.removeEventListener("languagechange", ji);+function Ii() {+ let e = Pn(), [t, n] = (0, S.useState)(Ni);+ return (0, S.useEffect)(() => (Pi.size === 0 && window.addEventListener("languagechange", Fi), Pi.add(n), () => {+ Pi.delete(n), Pi.size === 0 && window.removeEventListener("languagechange", Fi);}), []), e ? {- locale: typeof window < "u" && window[Di] || "en-US",+ locale: typeof window < "u" && window[ji] || "en-US",direction: "ltr"} : t;}//#endregion//#region node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var Ni = /*#__PURE__*/ x.createContext(null);-function Pi() {- let e = Mi();- return (0, x.useContext)(Ni) || e;+var Li = /*#__PURE__*/ S.createContext(null);+function Ri() {+ let e = Ii();+ return (0, S.useContext)(Li) || e;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var Fi = Symbol.for("react-aria.i18n.locale"), Ii = Symbol.for("react-aria.i18n.strings"), Li = void 0, Ri = class e {+var zi = Symbol.for("react-aria.i18n.locale"), Bi = Symbol.for("react-aria.i18n.strings"), Vi = void 0, Hi = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -3715,39 +3742,39 @@ var Fi = Symbol.for("react-aria.i18n.locale"), Ii = Symbol.for("react-aria.i18n.}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = zi(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = Ui(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[Fi];- if (Li === void 0) {- let t = window[Ii];+ let n = window[zi];+ if (Vi === void 0) {+ let t = window[Bi];if (!t) return null;- Li = {};- for (let r in t) Li[r] = new e({ [n]: t[r] }, n);+ Vi = {};+ for (let r in t) Vi[r] = new e({ [n]: t[r] }, n);}- let r = Li?.[t];+ let r = Vi?.[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 zi(e, t, n = "en-US") {+function Ui(e, t, n = "en-US") {if (t[e]) return t[e];- let r = Bi(e), i = Vi(e);+ let r = Wi(e), i = Gi(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 Bi(e) {+function Wi(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function Vi(e) {+function Gi(e) {if (Intl.Locale) return new Intl.Locale(e).script;}//#endregion//#region node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var Hi = /* @__PURE__ */ new Map(), Ui = /* @__PURE__ */ new Map(), Wi = class {+var Ki = /* @__PURE__ */ new Map(), qi = /* @__PURE__ */ new Map(), Ji = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -3758,37 +3785,37 @@ var Hi = /* @__PURE__ */ new Map(), Ui = /* @__PURE__ */ new Map(), Wi = class {plural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = Hi.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Hi.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = Ki.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Ki.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = Ui.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), Ui.set(this.locale, t)), t.format(e);+ let t = qi.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), qi.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, Gi = /* @__PURE__ */ new WeakMap();-function Ki(e) {- let t = Gi.get(e);- return t || (t = new Ri(e), Gi.set(e, t)), t;+}, Yi = /* @__PURE__ */ new WeakMap();+function Xi(e) {+ let t = Yi.get(e);+ return t || (t = new Hi(e), Yi.set(e, t)), t;}-function qi(e, t) {- return t && Ri.getGlobalDictionaryForPackage(t) || Ki(e);+function Zi(e, t) {+ return t && Hi.getGlobalDictionaryForPackage(t) || Xi(e);}-function Ji(e, t) {- let { locale: n } = Pi(), r = qi(e, t);- return (0, x.useMemo)(() => new Wi(n, r), [n, r]);+function Qi(e, t) {+ let { locale: n } = Ri(), r = Zi(e, t);+ return (0, S.useMemo)(() => new Ji(n, r), [n, r]);}//#endregion//#region node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var Yi = /* @__PURE__ */ new Set(["id"]), Xi = /* @__PURE__ */ new Set([+var $i = /* @__PURE__ */ new Set(["id"]), ea = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), Zi = /* @__PURE__ */ new Set([+]), ta = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -3796,72 +3823,72 @@ var Yi = /* @__PURE__ */ new Set(["id"]), Xi = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), Qi = /* @__PURE__ */ new Set([+]), H = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate"-]), $i = /* @__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(".")), ea = /^(data-.*)$/;-function H(e, t = {}) {+]), na = /* @__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(".")), ra = /^(data-.*)$/;+function U(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) && (Yi.has(t) || n && Xi.has(t) || r && Zi.has(t) || i && Qi.has(t) || a && ($i.has(t) || t.endsWith("Capture") && $i.has(t.slice(0, -7))) || o?.has(t) || ea.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && ($i.has(t) || n && ea.has(t) || r && ta.has(t) || i && H.has(t) || a && (na.has(t) || t.endsWith("Capture") && na.has(t.slice(0, -7))) || o?.has(t) || ra.test(t)) && (s[t] = e[t]);return s;}//#endregion//#region node_modules/react-aria/dist/private/interactions/textSelection.mjs-var U = "default", ta = "", na = /* @__PURE__ */ new WeakMap();-function ra(e) {- if (sn() && ln()) {- if (U === "default") {- let t = I(e);- ta = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- U = "disabled";+var ia = "default", aa = "", oa = /* @__PURE__ */ new WeakMap();+function sa(e) {+ if (cn() && un()) {+ if (ia === "default") {+ let t = R(e);+ aa = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ ia = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- na.set(e, e.style[t]), e.style[t] = "none";+ oa.set(e, e.style[t]), e.style[t] = "none";}}-function ia(e) {- if (sn() && ln()) {- if (U !== "disabled") return;- U = "restoring", setTimeout(() => {- ar(() => {- if (U === "restoring") {- let t = I(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = ta || ""), ta = "", U = "default";+function ca(e) {+ if (cn() && un()) {+ if (ia !== "disabled") return;+ ia = "restoring", setTimeout(() => {+ cr(() => {+ if (ia === "restoring") {+ let t = R(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = aa || ""), aa = "", ia = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && na.has(e)) {- let t = na.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), na.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && oa.has(e)) {+ let t = oa.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), oa.delete(e);}}//#endregion//#region node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function aa(e, t) {- let n = Ot(t), r = I(t);+function la(e, t) {+ let n = Dt(t), r = R(t);if (r == null || n == null) return;let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;}//#endregion//#region node_modules/react-aria/dist/private/utils/getNonce.mjs-var oa = /* @__PURE__ */ new WeakMap();-function sa(e) {- let t = I(e), n = oa.get(t);- return n ??= aa("csp-nonce", t), n !== void 0 && oa.set(t, n), n;+var ua = /* @__PURE__ */ new WeakMap();+function da(e) {+ let t = R(e), n = ua.get(t);+ return n ??= la("csp-nonce", t), n !== void 0 && ua.set(t, n), n;}//#endregion//#region node_modules/react-aria/dist/private/interactions/context.mjs-var ca = x.createContext({ register: () => {} });-ca.displayName = "PressResponderContext";+var fa = S.createContext({ register: () => {} });+fa.displayName = "PressResponderContext";//#endregion//#region node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function la() {- let e = (0, x.useRef)(/* @__PURE__ */ new Map()), t = (0, x.useCallback)((t, n, r, i) => {+function pa() {+ let e = (0, S.useRef)(/* @__PURE__ */ new Map()), t = (0, S.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);} : r;@@ -3871,15 +3898,15 @@ function la() {fn: a,options: i}), t.addEventListener(n, a, i);- }, []), n = (0, x.useCallback)((t, n, r, i) => {+ }, []), n = (0, S.useCallback)((t, n, r, i) => {let a = e.current.get(r)?.fn || r;t.removeEventListener(n, a, i), e.current.delete(r);- }, []), r = (0, x.useCallback)(() => {+ }, []), r = (0, S.useCallback)(() => {e.current.forEach((e, t) => {n(e.eventTarget, e.type, t, e.options);});}, [n]);- return (0, x.useEffect)(() => r, [r]), {+ return (0, S.useEffect)(() => r, [r]), {addGlobalListener: t,removeGlobalListener: n,removeAllGlobalListeners: r@@ -3887,15 +3914,15 @@ function la() {}//#endregion//#region node_modules/react-aria/dist/private/interactions/usePress.mjs-function ua(e) {- let t = (0, x.useContext)(ca);+function ma(e) {+ let t = (0, S.useContext)(fa);if (t) {let { register: n, ref: r, ...i } = t;e = V(i, e), n();}- return Ir(t, e.ref), e;+ return zr(t, e.ref), e;}-var da = class {+var ha = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -3908,9 +3935,9 @@ var da = class {get shouldStopPropagation() {return this.#e;}-}, fa = Symbol("linkClicked"), pa = "react-aria-pressable-style", ma = "data-react-aria-pressable";-function ha(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 } = ua(e), [m, h] = (0, x.useState)(!1), g = (0, x.useRef)({+}, ga = Symbol("linkClicked"), _a = "react-aria-pressable-style", va = "data-react-aria-pressable";+function ya(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 } = ma(e), [m, h] = (0, S.useState)(!1), g = (0, S.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -3920,12 +3947,12 @@ function ha(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = la(), y = (0, x.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = pa(), y = (0, S.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new da("pressstart", t, e);+ let n = new ha("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -3933,17 +3960,17 @@ function ha(e) {s,r,n- ]), b = (0, x.useCallback)((e, r, a = !0) => {+ ]), b = (0, S.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 da("pressend", r, e);+ let t = new ha("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new da("press", r, e);+ let n = new ha("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -3952,19 +3979,19 @@ function ha(e) {i,n,t- ]), S = xi(b), C = xi((0, x.useCallback)((e, t) => {+ ]), x = Ti(b), C = Ti((0, S.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new da("pressup", t, e);+ let r = new ha("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;- }, [s, a])), w = (0, x.useCallback)((e) => {+ }, [s, a])), w = (0, S.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(va(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || ia(t.target);+ t.didFirePressStart && t.pointerType != null && b(Sa(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || ca(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -3972,8 +3999,8 @@ function ha(e) {d,v,b- ]), T = xi(w);- (0, x.useEffect)(() => {+ ]), T = Ti(w);+ (0, S.useEffect)(() => {s && g.current.isPressed && T({currentTarget: g.current.target,shiftKey: !1,@@ -3982,46 +4009,46 @@ function ha(e) {altKey: !1});}, [s]);- let E = (0, x.useCallback)((e) => {+ let E = (0, S.useCallback)((e) => {u && w(e);- }, [u, w]), D = (0, x.useCallback)((e) => {+ }, [u, w]), D = (0, S.useCallback)((e) => {s || o?.(e);- }, [s, o]), O = (0, x.useCallback)((e, t) => {+ }, [s, o]), O = (0, S.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- Xt(n, t), o(Yt(n));+ Zt(n, t), o(Xt(n));}- }, [s, o]), k = (0, x.useMemo)(() => {+ }, [s, o]), k = (0, S.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (_a(t.nativeEvent, t.currentTarget) && L(t.currentTarget, R(t))) {- ba(R(t), t.key) && t.preventDefault();+ if (xa(t.nativeEvent, t.currentTarget) && z(t.currentTarget, B(t))) {+ wa(B(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;- _(I(t.currentTarget), "keyup", sr((t) => {- _a(t, i) && !t.repeat && L(i, R(t)) && e.target && C(va(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && rn() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(R(t.currentTarget), "keyup", ur((t) => {+ xa(t, i) && !t.repeat && z(i, B(t)) && e.target && C(Sa(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && an() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if (!(t && !L(t.currentTarget, R(t))) && t && t.button === 0 && !e.isTriggeringEvent && !_n.isOpening) {+ if (!(t && !z(t.currentTarget, B(t))) && t && t.button === 0 && !e.isTriggeringEvent && !vn.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || pn(t.nativeEvent))) {- let e = y(t, "virtual"), r = C(t, "virtual"), i = S(t, "virtual");+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || mn(t.nativeEvent))) {+ let e = y(t, "virtual"), r = C(t, "virtual"), i = x(t, "virtual");D(t), n = e && r && i;} else if (e.isPressed && e.pointerType !== "keyboard") {- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C(va(t.currentTarget, t), r), a = S(va(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = C(Sa(t.currentTarget, t), r), a = x(Sa(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 && _a(t, e.target)) {- ba(R(t), t.key) && t.preventDefault();- let n = R(t), r = L(e.target, n);- S(va(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && ga(e.target) && L(e.target, n) && !t[fa] && (t[fa] = !0, _n(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && xa(t, e.target)) {+ wa(B(t), t.key) && t.preventDefault();+ let n = B(t), r = z(e.target, n);+ x(Sa(e.target, t), "keyboard", r), r && O(t, e.target), v(), t.key !== "Enter" && ba(e.target) && z(e.target, n) && !t[ga] && (t[ga] = !0, vn(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;@@ -4030,39 +4057,39 @@ function ha(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !L(t.currentTarget, R(t))) return;- if (mn(t.nativeEvent)) {+ if (t.button !== 0 || !z(t.currentTarget, B(t))) return;+ if (hn(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 || ra(e.target), i = y(t, e.pointerType);- let a = R(t);- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(I(t.currentTarget), "pointerup", n, !1), _(I(t.currentTarget), "pointercancel", r, !1);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || sa(e.target), i = y(t, e.pointerType);+ let a = B(t);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(R(t.currentTarget), "pointerup", n, !1), _(R(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (L(t.currentTarget, R(t)) && t.button === 0) {+ if (z(t.currentTarget, B(t)) && t.button === 0) {if (l) {- let n = $t(t.target);+ let n = en(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- !L(t.currentTarget, R(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && C(t, e.pointerType || t.pointerType);+ !z(t.currentTarget, B(t)) || e.pointerType === "virtual" || t.button === 0 && !e.isPressed && C(t, e.pointerType || t.pointerType);}, t.onPointerEnter = (t) => {- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(va(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(Sa(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, S(va(e.target, t), e.pointerType, !1), E(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(Sa(e.target, t), e.pointerType, !1), E(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (L(e.target, R(t)) && e.pointerType != null) {+ if (z(e.target, B(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (Ct(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? T(t) : (St(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else T(t);@@ -4072,7 +4099,7 @@ function ha(e) {T(e);};t.onDragStart = (e) => {- L(e.currentTarget, R(e)) && T(e);+ z(e.currentTarget, B(e)) && T(e);};}return t;@@ -4087,40 +4114,40 @@ function ha(e) {D,O]);- return (0, x.useEffect)(() => {+ return (0, S.useEffect)(() => {if (!f) return;- let e = I(f.current);- if (!e || !e.head || e.getElementById(pa)) return;+ let e = R(f.current);+ if (!e || !e.head || e.getElementById(_a)) return;let t = e.createElement("style");- t.id = pa;- let n = sa(e);+ t.id = _a;+ let n = da(e);n && (t.nonce = n), t.textContent = `@layer {- [${ma}] {+ [${va}] {touch-action: pan-x pan-y pinch-zoom;}}`.trim(), e.head.prepend(t);- }, [f]), (0, x.useEffect)(() => {+ }, [f]), (0, S.useEffect)(() => {let e = g.current;return () => {- d || ia(e.target ?? void 0);+ d || ca(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: V(p, k, { [ma]: !0 })+ pressProps: V(p, k, { [va]: !0 })};}-function ga(e) {+function ba(e) {return e.tagName === "A" && e.hasAttribute("href");}-function _a(e, t) {+function xa(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Ot(i).HTMLInputElement && !Sa(i, n) || i instanceof Ot(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && ga(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof Dt(i).HTMLInputElement && !Ea(i, n) || i instanceof Dt(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && ba(i)) && n !== "Enter");}-function va(e, t) {+function Sa(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -4133,13 +4160,13 @@ function va(e, t) {key: t.key};}-function ya(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !ga(e);+function Ca(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !ba(e);}-function ba(e, t) {- return rn() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Sa(e, t) : ya(e);+function wa(e, t) {+ return an() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !Ea(e, t) : Ca(e);}-var xa = /* @__PURE__ */ new Set([+var Ta = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -4150,12 +4177,12 @@ var xa = /* @__PURE__ */ new Set(["submit","reset"]);-function Sa(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : xa.has(e.type);+function Ea(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Ta.has(e.type);}//#endregion//#region node_modules/react-aria/dist/private/button/useButton.mjs-function Ca(e, t) {+function Da(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,@@ -4177,7 +4204,7 @@ function Ca(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = ha({+ let { pressProps: _, isPressed: v } = ya({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -4187,9 +4214,9 @@ function Ca(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = zr(e, t);+ }), { focusableProps: y } = Hr(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = V(y, _, H(e, { labelable: !0 }));+ let b = V(y, _, U(e, { labelable: !0 }));return {isPressed: v,buttonProps: V(g, b, {@@ -4204,7 +4231,7 @@ function Ca(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var wa = class {+var Oa = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -4229,7 +4256,7 @@ var wa = class {return this._currentNode;}set currentNode(e) {- if (!L(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!z(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t = [], n = e, r = e;for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });@@ -4243,7 +4270,7 @@ var wa = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return L(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return z(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -4307,202 +4334,202 @@ var wa = class {return null;}};-function Ta(e, t, n, r) {- return It() ? new wa(e, t, n, r) : e.createTreeWalker(t, n, r);+function ka(e, t, n, r) {+ return Ft() ? new Oa(e, t, n, r) : e.createTreeWalker(t, n, r);}//#endregion//#region node_modules/react-aria/dist/private/focus/FocusScope.mjs-var Ea = /*#__PURE__*/ x.createContext(null), Da = "react-aria-focus-scope-restore", Oa = null;-function ka(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, x.useRef)(null), o = (0, x.useRef)(null), s = (0, x.useRef)([]), { parentNode: c } = (0, x.useContext)(Ea) || {}, l = (0, x.useMemo)(() => new Za({ scopeRef: s }), [s]);- B(() => {- let e = c || Qa.root;- if (Qa.getTreeNode(e.scopeRef) && Oa && !Ba(Oa, e.scopeRef)) {- let t = Qa.getTreeNode(Oa);+var Aa = /*#__PURE__*/ S.createContext(null), ja = "react-aria-focus-scope-restore", Ma = null;+function Na(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useRef)([]), { parentNode: c } = (0, S.useContext)(Aa) || {}, l = (0, S.useMemo)(() => new to({ scopeRef: s }), [s]);+ Yt(() => {+ let e = c || no.root;+ if (no.getTreeNode(e.scopeRef) && Ma && !Wa(Ma, e.scopeRef)) {+ let t = no.getTreeNode(Ma);t && (e = t);}- e.addChild(l), Qa.addNode(l);- }, [l, c]), B(() => {- let e = Qa.getTreeNode(s);+ e.addChild(l), no.addNode(l);+ }, [l, c]), Yt(() => {+ let e = no.getTreeNode(s);e && (e.contain = !!n);- }, [n]), B(() => {+ }, [n]), Yt(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(Da, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(ja, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(Da, n);+ for (let e of t) e.removeEventListener(ja, n);};- }, [t]), Ga(s, r, n), Fa(s, n), qa(s, r, n), Wa(s, i), (0, x.useEffect)(() => {- let e = Lt(I(s.current ? s.current[0] : void 0)), t = null;- if (La(e, s.current)) {- for (let n of Qa.traverse()) n.scopeRef && La(e, n.scopeRef.current) && (t = n);- t === Qa.getTreeNode(s) && (Oa = t.scopeRef);- }- }, [s]), B(() => () => {- let e = Qa.getTreeNode(s)?.parent?.scopeRef ?? null;- (s === Oa || Ba(s, Oa)) && (!e || Qa.getTreeNode(e)) && (Oa = e), Qa.removeTreeNode(s);+ }, [t]), Ya(s, r, n), za(s, n), Za(s, r, n), Ja(s, i), (0, S.useEffect)(() => {+ let e = It(R(s.current ? s.current[0] : void 0)), t = null;+ if (Va(e, s.current)) {+ for (let n of no.traverse()) n.scopeRef && Va(e, n.scopeRef.current) && (t = n);+ t === no.getTreeNode(s) && (Ma = t.scopeRef);+ }+ }, [s]), Yt(() => () => {+ let e = no.getTreeNode(s)?.parent?.scopeRef ?? null;+ (s === Ma || Wa(s, Ma)) && (!e || no.getTreeNode(e)) && (Ma = e), no.removeTreeNode(s);}, [s]);- let u = (0, x.useMemo)(() => Aa(s), []), d = (0, x.useMemo)(() => ({+ let u = (0, S.useMemo)(() => Pa(s), []), d = (0, S.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ x.createElement(Ea.Provider, { value: d }, /*#__PURE__*/ x.createElement("span", {+ return /*#__PURE__*/ S.createElement(Aa.Provider, { value: d }, /*#__PURE__*/ S.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a- }), t, /*#__PURE__*/ x.createElement("span", {+ }), t, /*#__PURE__*/ S.createElement("span", {"data-focus-scope-end": !0,hidden: !0,ref: o}));}-function Aa(e) {+function Pa(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Lt(I(n[0] ?? void 0)), c = n[0].previousElementSibling, l = Ya(ja(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || It(R(n[0] ?? void 0)), c = n[0].previousElementSibling, l = $a(Fa(n), {tabbable: i,accept: o}, n);- l.currentNode = La(s, n) ? s : c;+ l.currentNode = Va(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && Va(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && Ga(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || Lt(I(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = Ya(ja(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || It(R(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = $a(Fa(n), {tabbable: i,accept: o}, n);- l.currentNode = La(s, n) ? s : c;+ l.currentNode = Va(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && Va(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && Ga(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = Ya(ja(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = $a(Fa(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && Va(o, !0), o;+ return o && Ga(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = Ya(ja(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = $a(Fa(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && Va(o, !0), o;+ return o && Ga(o, !0), o;}};}-function ja(e) {+function Fa(e) {return e[0].parentElement;}-function Ma(e) {- let t = Qa.getTreeNode(Oa);+function Ia(e) {+ let t = no.getTreeNode(Ma);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function Na(e) {- if (!e.form) return Array.from(I(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = Ot(e);+function La(e) {+ if (!e.form) return Array.from(R(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = Dt(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function Pa(e) {+function Ra(e) {if (e.checked) return !0;- let t = Na(e);+ let t = La(e);return t.length > 0 && !t.some((e) => e.checked);}-function Fa(e, t) {- let n = (0, x.useRef)(void 0), r = (0, x.useRef)(void 0);- B(() => {+function za(e, t) {+ let n = (0, S.useRef)(void 0), r = (0, S.useRef)(void 0);+ Yt(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = I(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ma(e) || t.isComposing) return;- let n = Lt(a), r = e.current;- if (!r || !La(n, r)) return;- let i = Ya(ja(r), { tabbable: !0 }, r);+ let a = R(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ia(e) || t.isComposing) return;+ let n = It(a), r = e.current;+ if (!r || !Va(n, r)) return;+ let i = $a(Fa(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 && (Va(o, !0), o instanceof Ot(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 && (Ga(o, !0), o instanceof Dt(o).HTMLInputElement && o.select());}, s = (t) => {- (!Oa || Ba(Oa, e)) && La(R(t), e.current) ? (Oa = e, n.current = R(t)) : Ma(e) && !Ra(R(t), e) ? n.current ? Va(n.current) : Oa && Oa.current && Ua(Oa.current) : Ma(e) && (n.current = R(t));+ (!Ma || Wa(Ma, e)) && Va(B(t), e.current) ? (Ma = e, n.current = B(t)) : Ia(e) && !Ha(B(t), e) ? n.current ? Ga(n.current) : Ma && Ma.current && qa(Ma.current) : Ia(e) && (n.current = B(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = Xn(), i = (r === "virtual" || r === null) && dn() && un(), o = Lt(a);- if (!i && o && Ma(e) && !Ra(o, e)) {- Oa = e;- let r = R(t);- r && r.isConnected ? (n.current = r, Va(n.current)) : Oa.current && Ua(Oa.current);+ let r = Qn(), i = (r === "virtual" || r === null) && fn() && dn(), o = It(a);+ if (!i && o && Ia(e) && !Ha(o, e)) {+ Ma = e;+ let r = B(t);+ r && r.isConnected ? (n.current = r, Ga(n.current)) : Ma.current && qa(Ma.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]), Yt(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function Ia(e) {- return Ra(e);+function Ba(e) {+ return Ha(e);}-function La(e, t) {- return !e || !t ? !1 : t.some((t) => L(t, e));+function Va(e, t) {+ return !e || !t ? !1 : t.some((t) => z(t, e));}-function Ra(e, t = null) {+function Ha(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of Qa.traverse(Qa.getTreeNode(t))) if (n && La(e, n.current)) return !0;+ for (let { scopeRef: n } of no.traverse(no.getTreeNode(t))) if (n && Va(e, n.current)) return !0;return !1;}-function za(e) {- return Ra(e, Oa);+function Ua(e) {+ return Ha(e, Ma);}-function Ba(e, t) {- let n = Qa.getTreeNode(t)?.parent;+function Wa(e, t) {+ let n = no.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function Va(e, t = !1) {+function Ga(e, t = !1) {if (e != null && !t) try {- or(e);+ lr(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function Ha(e, t = !0) {- let n = e[0].previousElementSibling, r = ja(e), i = Ya(r, { tabbable: t }, e);+function Ka(e, t = !0) {+ let n = e[0].previousElementSibling, r = Fa(e), i = $a(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = ja(e), i = Ya(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = Fa(e), i = $a(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function Ua(e, t = !0) {- Va(Ha(e, t));+function qa(e, t = !0) {+ Ga(Ka(e, t));}-function Wa(e, t) {- let n = x.useRef(t);- (0, x.useEffect)(() => {- n.current && (Oa = e, !La(Lt(I(e.current ? e.current[0] : void 0)), Oa.current) && e.current && Ua(e.current)), n.current = !1;+function Ja(e, t) {+ let n = S.useRef(t);+ (0, S.useEffect)(() => {+ n.current && (Ma = e, !Va(It(R(e.current ? e.current[0] : void 0)), Ma.current) && e.current && qa(e.current)), n.current = !1;}, [e]);}-function Ga(e, t, n) {- B(() => {+function Ya(e, t, n) {+ Yt(() => {if (t || n) return;- let r = e.current, i = I(r ? r[0] : void 0), a = (t) => {- let n = R(t);- La(n, e.current) ? Oa = e : Ia(n) || (Oa = null);+ let r = e.current, i = R(r ? r[0] : void 0), a = (t) => {+ let n = B(t);+ Va(n, e.current) ? Ma = e : Ba(n) || (Ma = 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));@@ -4513,43 +4540,43 @@ function Ga(e, t, n) {n]);}-function Ka(e) {- let t = Qa.getTreeNode(Oa);+function Xa(e) {+ let t = no.getTreeNode(Ma);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function qa(e, t, n) {- let r = (0, x.useRef)(typeof document < "u" ? Lt(I(e.current ? e.current[0] : void 0)) : null);- B(() => {- let r = e.current, i = I(r ? r[0] : void 0);+function Za(e, t, n) {+ let r = (0, S.useRef)(typeof document < "u" ? It(R(e.current ? e.current[0] : void 0)) : null);+ Yt(() => {+ let r = e.current, i = R(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!Oa || Ba(Oa, e)) && La(Lt(i), e.current) && (Oa = e);+ (!Ma || Wa(Ma, e)) && Va(It(i), e.current) && (Ma = 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(() => {- let r = I(e.current ? e.current[0] : void 0);+ }, [e, n]), Yt(() => {+ let r = R(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ma(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !Ia(e) || t.isComposing) return;let n = r.activeElement;- if (!Ra(n, e) || !Ka(e)) return;- let i = Qa.getTreeNode(e);+ if (!Ha(n, e) || !Xa(e)) return;+ let i = no.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = Ya(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = $a(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 || !Ra(s, e)) && a) {+ if ((!a || !a.isConnected || a === r.body) && (a = void 0, i.nodeToRestore = void 0), (!s || !Ha(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (Ra(s, e));- t.preventDefault(), t.stopPropagation(), s ? Va(s, !0) : Ia(a) ? Va(a, !0) : n.blur();+ while (Ha(s, e));+ t.preventDefault(), t.stopPropagation(), s ? Ga(s, !0) : Ba(a) ? Ga(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -4559,31 +4586,31 @@ function qa(e, t, n) {e,t,n- ]), B(() => {- let n = I(e.current ? e.current[0] : void 0);+ ]), Yt(() => {+ let n = R(e.current ? e.current[0] : void 0);if (!t) return;- let i = Qa.getTreeNode(e);+ let i = no.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = Qa.getTreeNode(e);+ let r = no.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = Lt(n);- if (t && i && (a && Ra(a, e) || a === n.body && Ka(e))) {- let t = Qa.clone();+ let i = r.nodeToRestore, a = It(n);+ if (t && i && (a && Ha(a, e) || a === n.body && Xa(e))) {+ let t = no.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- Ja(n.nodeToRestore);+ Qa(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && Qa.getTreeNode(n.scopeRef)) {- let e = Ha(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && no.getTreeNode(n.scopeRef)) {+ let e = Ka(n.scopeRef.current, !0);if (e) {- Ja(e);+ Qa(e);return;}}@@ -4595,21 +4622,21 @@ function qa(e, t, n) {};}, [e, t]);}-function Ja(e) {- e.dispatchEvent(new CustomEvent(Da, {+function Qa(e) {+ e.dispatchEvent(new CustomEvent(ja, {bubbles: !0,cancelable: !0- })) && Va(e);+ })) && Ga(e);}-function Ya(e, t, n) {- let r = t?.tabbable ? qt : Kt, i = I(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = Ta(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return L(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Pa(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || La(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function $a(e, t, n) {+ let r = t?.tabbable ? qt : Kt, i = R(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = ka(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return z(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Ra(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || Va(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var Xa = class e {+var eo = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new Za({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new to({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -4620,7 +4647,7 @@ var Xa = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new Za({ scopeRef: e });+ let i = new to({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -4631,7 +4658,7 @@ var Xa = 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 && La(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 && Va(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);}@@ -4643,7 +4670,7 @@ var Xa = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, Za = class {+}, to = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -4653,13 +4680,13 @@ var Xa = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, Qa = new Xa(), $a = 7e3, eo = null;-function to(e, t = "assertive", n = $a) {- eo ? eo.announce(e, t, n) : (eo = new no(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? eo.announce(e, t, n) : setTimeout(() => {- eo?.isAttached() && eo?.announce(e, t, n);+}, no = new eo(), ro = 7e3, io = null;+function ao(e, t = "assertive", n = ro) {+ io ? io.announce(e, t, n) : (io = new oo(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? io.announce(e, t, n) : setTimeout(() => {+ io?.isAttached() && io?.announce(e, t, n);}, 100));}-var no = class {+var oo = 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,@@ -4684,7 +4711,7 @@ var no = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = $a) {+ announce(e, t = "assertive", n = ro) {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(() => {@@ -4696,47 +4723,58 @@ var no = class {}};//#endregion+//#region node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs+function so(e, t) {+ let n = (0, S.useRef)(!0), r = (0, S.useRef)(null), i = Ti(e);+ (0, S.useEffect)(() => (n.current = !0, () => {+ n.current = !1;+ }), []), (0, S.useEffect)(() => {+ let e = r.current;+ n.current ? n.current = !1 : (!e || t.some((t, n) => !Object.is(t, e[n]))) && i(), r.current = t;+ }, t);+}+//#endregion//#region node_modules/react-aria/dist/private/utils/isScrollable.mjs-function ro(e, t) {+function co(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 io(e, t) {+function lo(e, t) {let n = e;- for (ro(n, t) && (n = n.parentElement); n && !ro(n, t);) n = n.parentElement;+ for (co(n, t) && (n = n.parentElement); n && !co(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}//#endregion//#region node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function ao(e, t) {+function uo(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (ro(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (co(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}//#endregion//#region node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function oo(e, t, n = {}) {- e !== t && so(e, t, t.getBoundingClientRect(), n);-}-function so(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, ee = n.left - y, j = n.right + b, te = e === d ? 0 : D + O, M = e === d ? 0 : T + E, ne = e === d ? 0 : e.offsetWidth - e.clientWidth - te, N = e === d ? 0 : e.offsetHeight - e.clientHeight - M, re = p + (f ? 0 : T) + x, ie = m - (f ? 0 : E) - S - N, ae = h + (f ? 0 : D) + C, oe = g - (f ? 0 : O) - w;- sn() && ln() || u.direction === "ltr" ? oe -= ne : u.direction === "rtl" && (ae += ne);- let se = k < re || A > ie, ce = ee < ae || j > oe;- if (se && i === "start") o += k - re;- else if (se && i === "center") o += (k + A) / 2 - (re + ie) / 2;- else if (se && i === "end") o += A - ie;- else if (se && i === "nearest") {- let e = k - re, t = A - ie;+function fo(e, t, n = {}) {+ e !== t && po(e, t, t.getBoundingClientRect(), n);+}+function po(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, P = e === d ? 0 : e.offsetWidth - e.clientWidth - N, F = e === d ? 0 : e.offsetHeight - e.clientHeight - ee, te = p + (f ? 0 : T) + x, ne = m - (f ? 0 : E) - S - F, re = h + (f ? 0 : D) + C, ie = g - (f ? 0 : O) - w;+ cn() && un() || u.direction === "ltr" ? ie -= P : u.direction === "rtl" && (re += P);+ let ae = k < te || A > ne, oe = j < re || M > ie;+ if (ae && i === "start") o += k - te;+ else if (ae && i === "center") o += (k + A) / 2 - (te + ne) / 2;+ else if (ae && i === "end") o += A - ne;+ else if (ae && i === "nearest") {+ let e = k - te, t = A - ne;o += Math.abs(e) <= Math.abs(t) ? e : t;}- if (ce && a === "start") s += ee - ae;- else if (ce && a === "center") s += (ee + j) / 2 - (ae + oe) / 2;- else if (ce && a === "end") s += j - oe;- else if (ce && a === "nearest") {- let e = ee - ae, t = j - oe;+ if (oe && a === "start") s += j - re;+ else if (oe && a === "center") s += (j + M) / 2 - (re + ie) / 2;+ else if (oe && a === "end") s += M - ie;+ else if (oe && a === "nearest") {+ let e = j - re, t = M - ie;s += Math.abs(e) <= Math.abs(t) ? e : t;}e.scrollTo({@@ -4744,7 +4782,7 @@ function so(e, t, n, r = {}) {top: o});}-function co(e, t = {}) {+function mo(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -4757,50 +4795,50 @@ function co(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = ao(e, !0);- for (let t of i) oo(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = uo(e, !0);+ for (let t of i) fo(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? ao(n, !0) : [];- for (let e of i) oo(e, n, {+ i = n ? uo(n, !0) : [];+ for (let e of i) fo(e, n, {block: "center",inline: "center"});- for (let t of ao(e, !0)) oo(t, e);+ for (let t of uo(e, !0)) fo(t, e);}}}}//#endregion//#region node_modules/react-aria/dist/private/utils/useDescription.mjs-var lo = 0, uo = /* @__PURE__ */ new Map();-function fo(e) {- let [t, n] = (0, x.useState)();- return B(() => {+var ho = 0, go = /* @__PURE__ */ new Map();+function _o(e) {+ let [t, n] = (0, S.useState)();+ return Yt(() => {if (!e) return;- let t = uo.get(e);+ let t = go.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${lo++}`;+ let r = `react-aria-description-${ho++}`;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- }, uo.set(e, t);+ }, go.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), uo.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), go.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}//#endregion//#region node_modules/react-aria/dist/private/utils/useFormReset.mjs-function po(e, t, n) {- let r = xi((e) => {+function vo(e, t, n) {+ let r = Ti((e) => {n && !e.defaultPrevented && n(t);});- (0, x.useEffect)(() => {+ (0, S.useEffect)(() => {let t = e?.current?.form;return t?.addEventListener("reset", r), () => {t?.removeEventListener("reset", r);@@ -4809,35 +4847,35 @@ function po(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/form/useFormValidation.mjs-function mo(e, t, n) {+function yo(e, t, n) {let { validationBehavior: r, focus: i } = e;- B(() => {+ Yt(() => {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(go(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(xo(n.current));}});- let a = (0, x.useRef)(!1), o = xi(() => {+ let a = (0, S.useRef)(!1), o = Ti(() => {a.current || t.resetValidation();- }), s = xi((e) => {+ }), s = Ti((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && _o(r) === n.current && (i ? i() : n.current?.focus(), Zn("keyboard")), e.preventDefault();- }), c = xi(() => {+ !e.defaultPrevented && n && r && So(r) === n.current && (i ? i() : n.current?.focus(), $n("keyboard")), e.preventDefault();+ }), c = Ti(() => {t.commitValidation();});- (0, x.useEffect)(() => {+ (0, S.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" && R(window.event) instanceof MessagePort, r?.call(t), a.current = !1;+ a.current = !window.event || window.event.type === "message" && B(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 ho(e) {+function bo(e) {let t = e.validity;return {badInput: t.badInput,@@ -4853,14 +4891,14 @@ function ho(e) {valid: t.valid};}-function go(e) {+function xo(e) {return {isInvalid: !e.validity.valid,- validationDetails: ho(e),+ validationDetails: bo(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function _o(e) {+function So(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -4869,16 +4907,16 @@ function _o(e) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useSlot.mjs-function vo(e = !0) {- let [t, n] = (0, x.useState)(e), r = (0, x.useRef)(!1), i = (0, x.useCallback)((e) => {+function Co(e = !0) {+ let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(!1), i = (0, S.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return B(() => {+ return Yt(() => {r.current || n(!1);}, []), [i, t];}-function yo(e = !0) {- let t = pr(), [n, r] = vo(e);+function wo(e = !0) {+ let t = gr(), [n, r] = Co(e);return {id: r ? t : void 0,ref: n@@ -4886,7 +4924,7 @@ function yo(e = !0) {}//#endregion//#region node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var bo = {+var To = {badInput: !1,customError: !1,patternMismatch: !1,@@ -4898,18 +4936,18 @@ var bo = {typeMismatch: !1,valueMissing: !1,valid: !0-}, xo = {- ...bo,+}, Eo = {+ ...To,customError: !0,valid: !1-}, So = {+}, Do = {isInvalid: !1,- validationDetails: bo,+ validationDetails: To,validationErrors: []-}, Co = (0, x.createContext)({}), wo = "__reactAriaFormValidationState";-function To(e) {+}, Oo = (0, S.createContext)({}), ko = "__reactAriaFormValidationState";+function Ao(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[wo];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[ko];return {realtimeValidation: t,displayValidation: n,@@ -4918,71 +4956,71 @@ function To(e) {commitValidation: a};}- return Eo(e);+ return jo(e);}-function Eo(e) {+function jo(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: xo- }, l = (0, x.useMemo)(() => !o || i == null ? null : ko(Oo(o, i)), [o, i]);+ validationDetails: Eo+ }, l = (0, S.useMemo)(() => !o || i == null ? null : Po(No(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, x.useContext)(Co), d = (0, x.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Do(u[e])) : Do(u[r]) : [], [u, r]), [f, p] = (0, x.useState)(u), [m, h] = (0, x.useState)(!1);+ let u = (0, S.useContext)(Oo), d = (0, S.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => Mo(u[e])) : Mo(u[r]) : [], [u, r]), [f, p] = (0, S.useState)(u), [m, h] = (0, S.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, x.useMemo)(() => ko(m ? [] : d), [m, d]), _ = (0, x.useRef)(So), [v, y] = (0, x.useState)(So), b = (0, x.useRef)(So), S = () => {+ let g = (0, S.useMemo)(() => Po(m ? [] : d), [m, d]), _ = (0, S.useRef)(Do), [v, y] = (0, S.useState)(Do), b = (0, S.useRef)(Do), x = () => {if (!C) return;w(!1);let e = l || a || _.current;- Ao(e, b.current) || (b.current = e, y(e));- }, [C, w] = (0, x.useState)(!1);- return (0, x.useEffect)(S), {- realtimeValidation: c || g || l || a || So,+ Fo(e, b.current) || (b.current = e, y(e));+ }, [C, w] = (0, S.useState)(!1);+ return (0, S.useEffect)(x), {+ realtimeValidation: c || g || l || a || Do,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {- s === "aria" && !Ao(v, e) ? y(e) : _.current = e;+ s === "aria" && !Fo(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = So;- Ao(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);+ let e = Do;+ Fo(e, b.current) || (b.current = e, y(e)), s === "native" && w(!1), h(!0);},commitValidation() {s === "native" && w(!0), h(!0);}};}-function Do(e) {+function Mo(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function Oo(e, t) {+function No(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return Do(n);+ if (n && typeof n != "boolean") return Mo(n);}return [];}-function ko(e) {+function Po(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: xo+ validationDetails: Eo} : null;}-function Ao(e, t) {+function Fo(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 jo(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 = To({+function Io(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 = Ao({...e,value: t.isSelected- }), { isInvalid: S, validationErrors: C, validationDetails: w } = b.displayValidation;- mo(e, b, n);+ }), { isInvalid: x, validationErrors: C, validationDetails: w } = b.displayValidation;+ yo(e, b, n);let T = (e) => {- e.stopPropagation(), t.setSelected(R(e).checked);- }, { pressProps: E, isPressed: D } = ha({+ e.stopPropagation(), t.setSelected(B(e).checked);+ }, { pressProps: E, isPressed: D } = ya({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -4990,7 +5028,7 @@ function jo(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [O, k] = (0, x.useState)(!1), { pressProps: A } = ha({+ }), [O, k] = (0, S.useState)(!1), { pressProps: A } = ya({onPressStart(e) {if (e.pointerType === "keyboard" || e.pointerType === "virtual") {e.continuePropagation();@@ -5019,26 +5057,26 @@ function jo(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [wo]: i } = e, { commitValidation: a } = i || b;+ let { [ko]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: ee } = zr(e, n), j = V(E, ee), te = H(e, { labelable: !0 });- po(n, t.defaultSelected, t.setSelected);- let M = yo(), ne = yo();+ }), { focusableProps: j } = Hr(e, n), M = V(E, j), N = U(e, { labelable: !0 });+ vo(n, t.defaultSelected, t.setSelected);+ let ee = wo(), P = wo();return {labelProps: V(A, { onClick: (e) => e.preventDefault() }),- inputProps: V(te, {+ inputProps: V(N, {checked: t.isSelected,"aria-required": l && u === "aria" || void 0,required: l && u === "native",- "aria-invalid": S || e.validationState === "invalid" || void 0,+ "aria-invalid": x || e.validationState === "invalid" || void 0,"aria-errormessage": e["aria-errormessage"],"aria-controls": e["aria-controls"],"aria-readonly": i || void 0,"aria-describedby": [- M.id,- ne.id,+ ee.id,+ P.id,p].filter(Boolean).join(" ") || void 0,onChange: T,@@ -5047,27 +5085,27 @@ function jo(e, t, n) {name: o,form: s,type: "checkbox",- ...j+ ...M}),- descriptionProps: M,- errorMessageProps: ne,+ descriptionProps: ee,+ errorMessageProps: P,isSelected: t.isSelected,isPressed: D || O,isDisabled: r,isReadOnly: i,- isInvalid: S || e.validationState === "invalid",+ isInvalid: x || e.validationState === "invalid",validationErrors: C,validationDetails: w};}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs-function Mo(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 } = jo(e, t, n), { isIndeterminate: m } = e;- return (0, x.useEffect)(() => {+function Lo(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 } = Io(e, t, n), { isIndeterminate: m } = e;+ return (0, S.useEffect)(() => {n.current && (n.current.indeterminate = !!m);}), {- labelProps: V(r, (0, x.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),+ labelProps: V(r, (0, S.useMemo)(() => ({ onMouseDown: (e) => e.preventDefault() }), [])),inputProps: i,descriptionProps: a,errorMessageProps: o,@@ -5082,18 +5120,18 @@ function Mo(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/utils.mjs-var No = /* @__PURE__ */ new WeakMap();+var Ro = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/label/useLabel.mjs-function Po(e) {+function W(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = pr(t);- let o = pr(), s = {};+ t = gr(t);+ let o = gr(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = Ci({+ let c = Di({id: t,"aria-label": i,"aria-labelledby": r@@ -5105,13 +5143,13 @@ function Po(e) {}//#endregion//#region node_modules/react-aria/dist/private/label/useField.mjs-function Fo(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = Po(e), s = hr([+function zo(e) {+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = W(e), s = vr([!!t,!!n,r,i- ]), c = hr([+ ]), c = vr([!!t,!!n,r,@@ -5130,26 +5168,26 @@ function Fo(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs-function Io(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, x.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = la(), c = (0, x.useCallback)((e) => {- L(e.currentTarget, R(e)) && a.current.isFocusWithin && !L(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+function Bo(e) {+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, S.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = pa(), c = (0, S.useCallback)((e) => {+ z(e.currentTarget, B(e)) && a.current.isFocusWithin && !z(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = Zt(c), u = (0, x.useCallback)((e) => {- if (!L(e.currentTarget, R(e))) return;- let t = R(e), n = I(t), s = Lt(n);+ ]), l = Qt(c), u = (0, S.useCallback)((e) => {+ if (!z(e.currentTarget, B(e))) return;+ let t = B(e), n = R(t), s = It(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 = R(e);- if (a.current.isFocusWithin && !L(t, r)) {+ let r = B(e);+ if (a.current.isFocusWithin && !z(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- Xt(e, t);- let i = Yt(e);+ Zt(e, t);+ let i = Xt(e);c(i);}}, { capture: !0 });@@ -5171,26 +5209,26 @@ function Io(e) {}//#endregion//#region node_modules/react-stately/dist/private/utils/useControlledState.mjs-var Lo = typeof document < "u" ? x.useInsertionEffect ?? x.useLayoutEffect : () => {};-function Ro(e, t, n) {- let [r, i] = (0, x.useState)(e || t), a = (0, x.useRef)(r), o = (0, x.useRef)(e !== void 0), s = e !== void 0;- (0, x.useEffect)(() => {+var Vo = typeof document < "u" ? S.useInsertionEffect ?? S.useLayoutEffect : () => {};+function Ho(e, t, n) {+ let [r, i] = (0, S.useState)(e || t), a = (0, S.useRef)(r), o = (0, S.useRef)(e !== void 0), s = e !== void 0;+ (0, S.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- Lo(() => {+ Vo(() => {a.current = c;});- let [, l] = (0, x.useReducer)(() => ({}), {});- return [c, (0, x.useCallback)((e, ...t) => {+ let [, l] = (0, S.useReducer)(() => ({}), {});+ return [c, (0, S.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 W(e = {}) {- let { isReadOnly: t } = e, [n, r] = Ro(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, x.useState)(n);+function Uo(e = {}) {+ let { isReadOnly: t } = e, [n, r] = Ho(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, S.useState)(n);function a(e) {t || r(e);}@@ -5206,26 +5244,26 @@ function W(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function zo(e, t, n) {- let r = W({+function Wo(e, t, n) {+ let r = Uo({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 } = No.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = Ro.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = To({+ let { realtimeValidation: l } = Ao({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, x.useRef)(So), d = () => {+ }), u = (0, S.useRef)(Do), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};- (0, x.useEffect)(d);- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = Mo({+ (0, S.useEffect)(d);+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = Lo({...e,isReadOnly: e.isReadOnly || t.isReadOnly,isDisabled: e.isDisabled || t.isDisabled,@@ -5233,7 +5271,7 @@ function zo(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [wo]: {+ [ko]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -5257,12 +5295,12 @@ function zo(e, t, n) {}//#endregion//#region node_modules/react-stately/dist/private/utils/number.mjs-function Bo(e, t = -Infinity, n = Infinity) {+function Go(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 Vo = {+var Ko = {border: 0,clip: "rect(0 0 0 0)",clipPath: "inset(50%)",@@ -5274,38 +5312,38 @@ var Vo = {width: "1px",whiteSpace: "nowrap"};-function Ho(e = {}) {- let { style: t, isFocusable: n } = e, [r, i] = (0, x.useState)(!1), { focusWithinProps: a } = Io({+function qo(e = {}) {+ let { style: t, isFocusable: n } = e, [r, i] = (0, S.useState)(!1), { focusWithinProps: a } = Bo({isDisabled: !n,onFocusWithinChange: (e) => i(e)- }), o = (0, x.useMemo)(() => r ? t : t ? {- ...Vo,+ }), o = (0, S.useMemo)(() => r ? t : t ? {+ ...Ko,...t- } : Vo, [r]);+ } : Ko, [r]);return { visuallyHiddenProps: {...a,style: o} };}-function Uo(e) {- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = Ho(e);- return /*#__PURE__*/ x.createElement(n, V(a, o), t);+function Jo(e) {+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = qo(e);+ return /*#__PURE__*/ S.createElement(n, V(a, o), t);}//#endregion//#region node_modules/react-aria/dist/private/textfield/useTextField.mjs-function Wo(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Ro(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = zr(e, t), d = To({+function Yo(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = Ho(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Hr(e, t), d = Ao({...e,value: c- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = Fo({+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = zo({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = H(e, { labelable: !0 }), b = {+ }), y = U(e, { labelable: !0 }), b = {type: o,pattern: e.pattern- }, [S] = (0, x.useState)(c);- return po(t, e.defaultValue ?? S, l), mo(e, d, t), {+ }, [x] = (0, S.useState)(c);+ return vo(t, e.defaultValue ?? x, l), yo(e, d, t), {labelProps: h,inputProps: V(y, n === "input" ? b : void 0, {disabled: r,@@ -5319,7 +5357,7 @@ function Wo(e, t) {"aria-haspopup": e["aria-haspopup"],"aria-controls": e["aria-controls"],value: c,- onChange: (e) => l(R(e).value),+ onChange: (e) => l(B(e).value),autoComplete: e.autoComplete,autoCapitalize: e.autoCapitalize,maxLength: e.maxLength,@@ -5352,42 +5390,42 @@ function Wo(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var Go = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;-function Ko(e) {+var Xo = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+function Zo(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}-var qo = /* @__PURE__ */ new WeakMap(), G = [];-function Jo(e, t) {- let n = Ot(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Go, 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 Qo = /* @__PURE__ */ new WeakMap(), $o = [];+function es(e, t) {+ let n = Dt(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Xo, 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 (It()) {+ if (Ft()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; Mt(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; jt(e) && e !== t;) u.add(e), e = e.host.getRootNode();}}let d = (e) => {for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);let t = (e) => {if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;- for (let t of o) if (L(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (z(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = Ta(I(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = ka(R(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 = qo.get(e) ?? 0;- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), qo.set(e, t + 1));+ let t = Qo.get(e) ?? 0;+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), Qo.set(e, t + 1));};- G.length && G[G.length - 1].disconnect(), d(i);+ $o.length && $o[$o.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) => L(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Ko(e) ? o.add(e) : e instanceof Element && d(e);- if (It()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => z(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Zo(e) ? o.add(e) : e instanceof Element && d(e);+ if (Ft()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -5400,11 +5438,11 @@ function Jo(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (It()) for (let e of u) {+ if (Ft()) 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) => L(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Ko(e) ? o.add(e) : e instanceof Element && d(e);- if (It()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => z(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && Zo(e) ? o.add(e) : e instanceof Element && d(e);+ if (Ft()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -5430,59 +5468,59 @@ function Jo(e, t) {p.disconnect();}};- return G.push(h), () => {- if (p.disconnect(), It()) for (let e of m) e.disconnect();+ return $o.push(h), () => {+ if (p.disconnect(), Ft()) for (let e of m) e.disconnect();for (let e of s) {- let t = qo.get(e);- t != null && (t === 1 ? (l(e, !1), qo.delete(e)) : qo.set(e, t - 1));+ let t = Qo.get(e);+ t != null && (t === 1 ? (l(e, !1), Qo.delete(e)) : Qo.set(e, t - 1));}- h === G[G.length - 1] ? (G.pop(), G.length && G[G.length - 1].observe()) : G.splice(G.indexOf(h), 1);+ h === $o[$o.length - 1] ? ($o.pop(), $o.length && $o[$o.length - 1].observe()) : $o.splice($o.indexOf(h), 1);};}-function Yo(e) {- let t = G[G.length - 1];+function ts(e) {+ let t = $o[$o.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 Xo = /* @__PURE__ */ new WeakMap();-function Zo(e) {+var ns = /* @__PURE__ */ new WeakMap();+function rs(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function Qo(e, t) {- let n = Xo.get(e);+function is(e, t) {+ let n = ns.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${Zo(t)}`;+ return `${n.id}-option-${rs(t)}`;}//#endregion//#region node_modules/react-aria/dist/private/selection/utils.mjs-function $o(e) {- return cn() ? e.altKey : e.ctrlKey;+function as(e) {+ return ln() ? e.altKey : e.ctrlKey;}-function es(e, t) {+function os(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 ts = /* @__PURE__ */ new WeakMap();-function ns(e) {- let t = pr();- return ts.set(e, t), t;+var ss = /* @__PURE__ */ new WeakMap();+function cs(e) {+ let t = gr();+ return ss.set(e, t), t;}-function rs(e) {- return ts.get(e);+function ls(e) {+ return ss.get(e);}//#endregion//#region node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs-var is = class {+var us = class {constructor(e) {this.ref = e;}getItemRect(e) {let t = this.ref.current;if (!t) return null;- let n = e == null ? null : es(this.ref, e);+ let n = e == null ? null : os(this.ref, e);if (!n) return null;let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();return {@@ -5508,12 +5546,12 @@ var is = class {height: e?.clientHeight ?? 0};}-}, as = class {+}, ds = 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 is(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 is(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 us(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 us(this.ref);this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);}isDisabled(e) {@@ -5553,14 +5591,14 @@ var is = class {return e.x === t.x || e.y !== t.y;}isReversed(e) {- let t = this.getNextKey(e), n = es(this.ref, e);+ let t = this.getNextKey(e), n = os(this.ref, e);if (t != null) {- let e = es(this.ref, t);+ let e = os(this.ref, t);return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;}let r = this.getPreviousKey(e);if (r != null) {- let e = es(this.ref, r);+ let e = os(this.ref, r);return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;}return !1;@@ -5594,7 +5632,7 @@ var is = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !ro(t)) return this.getFirstKey();+ if (t && !co(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -5609,7 +5647,7 @@ var is = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !ro(t)) return this.getLastKey();+ if (t && !co(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);@@ -5632,184 +5670,184 @@ var is = class {}return null;}-}, os = {};-os = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };+}, fs = {};+fs = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs-var ss = {};-ss = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };+var ps = {};+ps = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs-var cs = {};-cs = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };+var ms = {};+ms = { 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 ls = {};-ls = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };+var hs = {};+hs = { 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 us = {};-us = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };+var gs = {};+gs = { 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 ds = {};-ds = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };+var _s = {};+_s = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/en-US.mjs-var fs = {};-fs = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };+var vs = {};+vs = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/es-ES.mjs-var ps = {};-ps = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };+var ys = {};+ys = { 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 ms = {};-ms = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };+var bs = {};+bs = { 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 hs = {};-hs = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };+var xs = {};+xs = { 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 gs = {};-gs = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };+var Ss = {};+Ss = { 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 _s = {};-_s = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };+var Cs = {};+Cs = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs-var vs = {};-vs = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };+var ws = {};+ws = { 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 ys = {};-ys = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };+var Ts = {};+Ts = { 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 bs = {};-bs = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };+var Es = {};+Es = { 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 xs = {};-xs = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };+var Ds = {};+Ds = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs-var Ss = {};-Ss = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };+var Os = {};+Os = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs-var Cs = {};-Cs = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };+var ks = {};+ks = { 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 ws = {};-ws = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };+var As = {};+As = { 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 Ts = {};-Ts = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };+var js = {};+js = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs-var Es = {};-Es = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };+var Ms = {};+Ms = { 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 Ds = {};-Ds = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };+var Ns = {};+Ns = { 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 Os = {};-Os = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };+var Ps = {};+Ps = { 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 ks = {};-ks = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };+var Fs = {};+Fs = { 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 As = {};-As = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };+var Is = {};+Is = { 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 js = {};-js = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };+var Ls = {};+Ls = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs-var Ms = {};-Ms = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };+var Rs = {};+Rs = { 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 Ns = {};-Ns = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };+var zs = {};+zs = { 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 Ps = {};-Ps = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };+var Bs = {};+Bs = { 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 Fs = {};-Fs = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };+var Vs = {};+Vs = { 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 Is = {};-Is = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };+var Hs = {};+Hs = { 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 Ls = {};-Ls = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };+var Us = {};+Us = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs-var Rs = {};-Rs = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };+var Ws = {};+Ws = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };//#endregion//#region node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs-var zs = {};-zs = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };+var Gs = {};+Gs = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };//#endregion//#region node_modules/react-aria/dist/private/menu/intlStrings.mjs-var Bs = {};-Bs = {- "ar-AE": os,- "bg-BG": ss,- "cs-CZ": cs,- "da-DK": ls,- "de-DE": us,- "el-GR": ds,- "en-US": fs,- "es-ES": ps,- "et-EE": ms,- "fi-FI": hs,- "fr-FR": gs,- "he-IL": _s,- "hr-HR": vs,- "hu-HU": ys,- "it-IT": bs,- "ja-JP": xs,- "ko-KR": Ss,- "lt-LT": Cs,- "lv-LV": ws,- "nb-NO": Ts,- "nl-NL": Es,- "pl-PL": Ds,- "pt-BR": Os,- "pt-PT": ks,- "ro-RO": As,- "ru-RU": js,- "sk-SK": Ms,- "sl-SI": Ns,- "sr-SP": Ps,- "sv-SE": Fs,- "tr-TR": Is,- "uk-UA": Ls,- "zh-CN": Rs,- "zh-TW": zs+var Ks = {};+Ks = {+ "ar-AE": fs,+ "bg-BG": ps,+ "cs-CZ": ms,+ "da-DK": hs,+ "de-DE": gs,+ "el-GR": _s,+ "en-US": vs,+ "es-ES": ys,+ "et-EE": bs,+ "fi-FI": xs,+ "fr-FR": Ss,+ "he-IL": Cs,+ "hr-HR": ws,+ "hu-HU": Ts,+ "it-IT": Es,+ "ja-JP": Ds,+ "ko-KR": Os,+ "lt-LT": ks,+ "lv-LV": As,+ "nb-NO": js,+ "nl-NL": Ms,+ "pl-PL": Ns,+ "pt-BR": Ps,+ "pt-PT": Fs,+ "ro-RO": Is,+ "ru-RU": Ls,+ "sk-SK": Rs,+ "sl-SI": zs,+ "sr-SP": Bs,+ "sv-SE": Vs,+ "tr-TR": Hs,+ "uk-UA": Us,+ "zh-CN": Ws,+ "zh-TW": Gs};//#endregion//#region node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var Vs = 500;-function Hs(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Vs, accessibilityDescription: s } = e, c = (0, x.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = la(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = ha({+var qs = 500;+function Js(e) {+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = qs, accessibilityDescription: s } = e, c = (0, S.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = pa(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = ya({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -5817,12 +5855,12 @@ function Hs(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), I(e.target).activeElement !== e.target && Ct(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), R(e.target).activeElement !== e.target && St(e.target), a && a({...e,type: "longpress"}), c.current = void 0;}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });- let t = Ot(e.target);+ let t = Dt(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -5837,12 +5875,12 @@ function Hs(e) {});}});- return { longPressProps: V(f, fo(a && !t ? s : void 0)) };+ return { longPressProps: V(f, _o(a && !t ? s : void 0)) };}//#endregion//#region node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function Us(e) {- let { onContextMenu: t } = e, n = (0, x.useRef)(!1), { longPressProps: r } = Hs({+function Ys(e) {+ let { onContextMenu: t } = e, n = (0, S.useRef)(!1), { longPressProps: r } = Js({onLongPressStart() {n.current = !1;},@@ -5854,7 +5892,7 @@ function Us(e) {});}});- return t ? { contextMenuProps: V(sn() ? r : {}, {+ return t ? { contextMenuProps: V(cn() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -5865,7 +5903,7 @@ function Us(e) {});},onKeyDown(e) {- if (rn() && e.ctrlKey && e.key === "Enter") {+ if (an() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -5885,13 +5923,13 @@ function Us(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs-var Ws = /* @__PURE__ */ new WeakMap();-function Gs(e) {+var Xs = /* @__PURE__ */ new WeakMap();+function Zs(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, x.useEffect)(() => !n || r === null ? void 0 : Nt(Rt(t.current), "scroll", (e) => {- let n = R(e);- if (!t.current || n instanceof Node && !L(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;- let i = r || Ws.get(t.current);+ (0, S.useEffect)(() => !n || r === null ? void 0 : Mt(Lt(t.current), "scroll", (e) => {+ let n = B(e);+ if (!t.current || n instanceof Node && !z(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ let i = r || Xs.get(t.current);i && i();}, !0), [n,@@ -5901,14 +5939,14 @@ function Gs(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function Ks(e, t, n) {+function Qs(e, t, n) {let { type: r } = e, { isOpen: i } = t;- (0, x.useEffect)(() => {- n && n.current && Ws.set(n.current, t.close);+ (0, S.useEffect)(() => {+ n && n.current && Xs.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = pr();+ let o = gr();return {triggerProps: {"aria-haspopup": a,@@ -5921,14 +5959,14 @@ function Ks(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function qs(e) {+function $s(e) {return e && e.__esModule ? e.default : e;}-function Js(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = pr(), { triggerProps: s, overlayProps: c } = Ks({ type: r }, t, n), l = (e, n, r = "first") => {+function ec(e, t, n) {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = gr(), { triggerProps: s, overlayProps: c } = Qs({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = Pr({+ }, { keyboardProps: u } = Lr({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -5940,7 +5978,7 @@ function Js(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = Ji(qs(Bs), "@react-aria/menu"), { longPressProps: f } = Hs({+ }), d = Qi($s(Ks), "@react-aria/menu"), { longPressProps: f } = Js({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -5952,24 +5990,24 @@ function Js(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Ct(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (St(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (Ct(e.target), t.toggle());+ e.pointerType === "touch" && !i && (St(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = Us({ onContextMenu(e) {+ let { contextMenuProps: m } = Ys({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,y: n.y + e.y}), t.open();} });- (0, x.useEffect)(() => {+ (0, S.useEffect)(() => {if (t.isOpen && a === "contextMenu") {let e = (e) => {- (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && R(e) === document.body && t.close();+ (e.button === 2 || e.button === 0 && e.ctrlKey === !0) && B(e) === document.body && t.close();};return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);}@@ -6004,13 +6042,13 @@ function Js(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/selection/useTypeSelect.mjs-var Ys = 1e3;-function Xs(e) {- let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, x.useRef)({+var tc = 1e3;+function nc(e) {+ let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, S.useRef)({search: "",timeout: void 0});- return (0, x.useEffect)(() => {+ return (0, S.useEffect)(() => {let e = i.current.timeout;return () => {clearTimeout(e);@@ -6024,12 +6062,12 @@ function Xs(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, Ys);+ }, tc);}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = Zs(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !L(e.currentTarget, R(e)) || i.current.search.length === 0 && a === " ")) {+ let a = rc(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !z(e.currentTarget, B(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();@@ -6040,34 +6078,34 @@ function Xs(e) {}clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {i.current.search = "";- }, Ys);+ }, tc);}} : void 0} };}-function Zs(e) {+function rc(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}//#endregion//#region node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs-function Qs(e, t) {- let n = (0, x.useRef)(!0), r = (0, x.useRef)(null);- B(() => (n.current = !0, () => {+function ic(e, t) {+ let n = (0, S.useRef)(!0), r = (0, S.useRef)(null);+ Yt(() => (n.current = !0, () => {n.current = !1;- }), []), B(() => {+ }), []), Yt(() => {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 $s(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 } = Pi(), _ = gn(), v = (e, n, i) => {+function ac(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 } = Ri(), _ = _n(), v = (e, n, i) => {if (n != null) {- if (t.isLink(n) && m === "selection" && l && !$o(e)) {- (0, Jr.flushSync)(() => {+ if (t.isLink(n) && m === "selection" && l && !as(e)) {+ (0, Zr.flushSync)(() => {t.setFocusedKey(n, i);});- let a = es(r, n), o = t.getItemProps(n);+ let a = os(r, n), o = t.getItemProps(n);if (a) {_.open(a, e, o.href, o.routerOptions);return;@@ -6079,7 +6117,7 @@ function $s(e) {t.extendSelection(n);return;}- if (l && !$o(e)) {+ if (l && !as(e)) {t.replaceSelection(n);return;}@@ -6103,12 +6141,12 @@ function $s(e) {}}return !1;- }, S = (e) => {+ }, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, _i(e));+ let r = n.getFirstKey(t.focusedKey, xi(e));if (t.setFocusedKey(r), r != null) {- if (_i(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (xi(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -6140,9 +6178,9 @@ function $s(e) {}, T = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, _i(e));+ let r = n.getLastKey(t.focusedKey, xi(e));if (t.setFocusedKey(r), r != null) {- if (_i(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (xi(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -6179,59 +6217,59 @@ function $s(e) {return !1;}, A = () => {if (!f && r.current) {- let e = Ya(r.current, { tabbable: !0 }), t, n;+ let e = $a(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = Lt();- t && (!zt(t) || i && !qt(i)) && Ct(t);+ let i = It();+ t && (!Rt(t) || i && !qt(i)) && St(t);}return {shouldContinuePropagation: !0,shouldPreventDefault: !1};- }, ee = () => (!f && r.current && r.current.focus(), {+ }, j = () => (!f && r.current && r.current.focus(), {shouldContinuePropagation: !0,shouldPreventDefault: !1- }), j = (e, t) => ({- [rn() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ }), M = (e, t) => ({+ [an() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [rn() ? e + "+Alt" : e + "+Control"]: t,+ [an() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: te } = Pr({+ }), { keyboardProps: N } = Lr({shortcuts: {- ...j("ArrowDown", y),- ...j("ArrowUp", b),- ...j("ArrowLeft", C),- ...j("ArrowRight", w),- ...j("PageDown", E),- ...j("PageUp", D)+ ...M("ArrowDown", y),+ ...M("ArrowUp", b),+ ...M("ArrowLeft", C),+ ...M("ArrowRight", w),+ ...M("PageDown", E),+ ...M("PageUp", D)},allowRepeats: !0- }), { keyboardProps: M } = Pr({ shortcuts: {- ...j("Home", S),- ...j("End", T),+ }), { keyboardProps: ee } = Lr({ shortcuts: {+ ...M("Home", x),+ ...M("End", T),"Mod+A": O,Escape: k,Tab: A,- "Tab+Shift": ee- } }), ne = (0, x.useRef)({+ "Tab+Shift": j+ } }), P = (0, S.useRef)({top: 0,left: 0});- Si(p, "scroll", () => {- ne.current = {+ Ei(p, "scroll", () => {+ P.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0};});- let N = (e) => {+ let F = (e) => {if (t.isFocused) {- L(e.currentTarget, R(e)) || t.setFocused(!1);+ z(e.currentTarget, B(e)) || t.setFocused(!1);return;}- if (!L(e.currentTarget, R(e))) return;- let i = Xn();+ if (!z(e.currentTarget, B(e))) return;+ let i = Qn();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -6240,34 +6278,34 @@ function $s(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 = ne.current.top, p.current.scrollLeft = ne.current.left);+ } else p.current && (p.current.scrollTop = P.current.top, p.current.scrollLeft = P.current.left);if (t.focusedKey != null && p.current) {- let e = es(r, t.focusedKey);- e instanceof HTMLElement && (!zt(e) && !d && Ct(e), (i === "keyboard" || h && i === "virtual") && co(e, { containingElement: r.current }));+ let e = os(r, t.focusedKey);+ e instanceof HTMLElement && (!Rt(e) && !d && St(e), (i === "keyboard" || h && i === "virtual") && mo(e, { containingElement: r.current }));}- }, re = (e) => {- L(e.currentTarget, e.relatedTarget) || t.setFocused(!1);- }, ie = (0, x.useRef)(!1);- Si(r, fi, d ? (e) => {+ }, te = (e) => {+ z(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ }, ne = (0, S.useRef)(!1);+ Ei(r, gi, 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" && (ne.current = !0);} : void 0);- let ae = n.getFirstKey?.() ?? null;- Qs(() => {- if (ie.current) {- if (ae == null) {- let e = Lt();- pi(r.current), hi(e, null), t.collection.size > 0 && (ie.current = !1);- } else t.setFocusedKey(ae), ie.current = !1;- }- }, [ae, t.collection.size]), Qs(() => {- t.collection.size > 0 && (ie.current = !1);- }, [t.focusedKey]), Si(r, di, d ? (e) => {+ let re = n.getFirstKey?.() ?? null;+ ic(() => {+ if (ne.current) {+ if (re == null) {+ let e = It();+ _i(r.current), yi(e, null), t.collection.size > 0 && (ne.current = !1);+ } else t.setFocusedKey(re), ne.current = !1;+ }+ }, [re, t.collection.size]), ic(() => {+ t.collection.size > 0 && (ne.current = !1);+ }, [t.focusedKey]), Ei(r, hi, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);- let oe = (0, x.useRef)(i), se = (0, x.useRef)(!1);- (0, x.useEffect)(() => {- if (oe.current) {+ let ie = (0, S.useRef)(i), ae = (0, S.useRef)(!1);+ (0, S.useEffect)(() => {+ if (ie.current) {let e = null;i === "first" && (e = n.getFirstKey?.() ?? null), i === "last" && (e = n.getLastKey?.() ?? null);let a = t.selectedKeys;@@ -6277,53 +6315,53 @@ function $s(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && or(r.current), t.collection.size > 0 && (oe.current = !1, se.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && lr(r.current), t.collection.size > 0 && (ie.current = !1, ae.current = !0);}});- let ce = (0, x.useRef)(t.focusedKey), le = (0, x.useRef)(null);- (0, x.useEffect)(() => {- if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ce.current || se.current) && p.current && r.current) {- let e = Xn(), n = es(r, t.focusedKey);+ let oe = (0, S.useRef)(t.focusedKey), se = (0, S.useRef)(null);+ (0, S.useEffect)(() => {+ if (t.isFocused && t.focusedKey != null && (t.focusedKey !== oe.current || ae.current) && p.current && r.current) {+ let e = Qn(), n = os(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;- (e === "keyboard" || se.current) && (le.current && cancelAnimationFrame(le.current), le.current = requestAnimationFrame(() => {- p.current && (oo(p.current, n), e !== "virtual" && co(n, { containingElement: r.current }));+ (e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {+ p.current && (fo(p.current, n), e !== "virtual" && mo(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && ce.current != null && r.current && or(r.current), ce.current = t.focusedKey, se.current = !1;- }), (0, x.useEffect)(() => () => {- le.current && cancelAnimationFrame(le.current);- }, []), Si(r, "react-aria-focus-scope-restore", (e) => {+ !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && lr(r.current), oe.current = t.focusedKey, ae.current = !1;+ }), (0, S.useEffect)(() => () => {+ se.current && cancelAnimationFrame(se.current);+ }, []), Ei(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});- let ue = {- ...V(M, te),- onFocus: N,- onBlur: re,+ let ce = {+ ...V(ee, N),+ onFocus: F,+ onBlur: te,onMouseDown(e) {- p.current === R(e) && e.preventDefault();+ p.current === B(e) && e.preventDefault();}- }, { typeSelectProps: de } = Xs({+ }, { typeSelectProps: le } = nc({keyboardDelegate: n,selectionManager: t});- u || (ue = V(de, ue));- let fe;- d || (fe = t.focusedKey == null ? 0 : -1);- let pe = ns(t.collection);- return { collectionProps: V(ue, {- tabIndex: fe,- "data-collection": pe+ u || (ce = V(le, ce));+ let ue;+ d || (ue = t.focusedKey == null ? 0 : -1);+ let de = cs(t.collection);+ return { collectionProps: V(ce, {+ tabIndex: ue,+ "data-collection": de}) };}//#endregion//#region node_modules/react-stately/dist/private/collections/getChildNodes.mjs-function ec(e, t) {+function oc(e, t) {return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;}-function tc(e) {- return nc(e, 0);+function sc(e) {+ return cc(e, 0);}-function nc(e, t) {+function cc(e, t) {if (t < 0) return;let n = 0;for (let r of e) {@@ -6331,96 +6369,101 @@ function nc(e, t) {n++;}}-function rc(e, t, n) {+function lc(e) {+ let t;+ for (let n of e) t = n;+ return t;+}+function uc(e, t, n) {if (t.parentKey === n.parentKey) return t.index - n.index;- let r = [...ic(e, t), t], i = [...ic(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);+ let r = [...dc(e, t), t], i = [...dc(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 ic(e, t) {+function dc(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 ac = /* @__PURE__ */ new WeakMap();-function oc(e) {- let t = ac.get(e);+var fc = /* @__PURE__ */ new WeakMap();+function pc(e) {+ let t = fc.get(e);if (t != null) return t;let n = 0, r = (t) => {- for (let i of t) i.type === "section" ? r(ec(i, e)) : i.type === "item" && n++;+ for (let i of t) i.type === "section" ? r(oc(i, e)) : i.type === "item" && n++;};- return r(e), ac.set(e, n), n;+ return r(e), fc.set(e, n), n;}//#endregion//#region node_modules/react-aria/dist/private/i18n/useCollator.mjs-var sc = /* @__PURE__ */ new Map();-function cc(e) {- let { locale: t } = Pi(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");- if (sc.has(n)) return sc.get(n);+var mc = /* @__PURE__ */ new Map();+function hc(e) {+ let { locale: t } = Ri(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ if (mc.has(n)) return mc.get(n);let r = new Intl.Collator(t, e);- return sc.set(n, r), r;+ return mc.set(n, r), r;}//#endregion//#region node_modules/react-aria/dist/private/interactions/PressResponder.mjs-function lc({ children: e }) {- let t = (0, x.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ x.createElement(ca.Provider, { value: t }, e);+function gc({ children: e }) {+ let t = (0, S.useMemo)(() => ({ register: () => {} }), []);+ return /*#__PURE__*/ S.createElement(fa.Provider, { value: t }, e);}//#endregion//#region node_modules/react-aria/dist/private/overlays/PortalProvider.mjs-var uc = /*#__PURE__*/ (0, x.createContext)({});-function dc(e) {- let { getContainer: t } = e, { getContainer: n } = fc();- return /*#__PURE__*/ x.createElement(uc.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);+var _c = /*#__PURE__*/ (0, S.createContext)({});+function vc(e) {+ let { getContainer: t } = e, { getContainer: n } = yc();+ return /*#__PURE__*/ S.createElement(_c.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);}-function fc() {- return (0, x.useContext)(uc) ?? {};+function yc() {+ return (0, S.useContext)(_c) ?? {};}//#endregion//#region node_modules/react-aria/dist/private/overlays/Overlay.mjs-var pc = /*#__PURE__*/ x.createContext(null);-function mc(e) {- let t = Mn(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, x.useState)(!1), o = (0, x.useMemo)(() => ({+var bc = /*#__PURE__*/ S.createContext(null);+function xc(e) {+ let t = Pn(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, S.useState)(!1), o = (0, S.useMemo)(() => ({contain: i,setContain: a- }), [i, a]), { getContainer: s } = fc();+ }), [i, a]), { getContainer: s } = yc();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ x.createElement(ka, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ S.createElement(Na, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ x.createElement(pc.Provider, { value: o }, /*#__PURE__*/ x.createElement(lc, null, /*#__PURE__*/ x.createElement(Lr.Provider, { value: null }, c))), /*#__PURE__*/ Jr.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ S.createElement(bc.Provider, { value: o }, /*#__PURE__*/ S.createElement(gc, null, /*#__PURE__*/ S.createElement(Br.Provider, { value: null }, c))), /*#__PURE__*/ Zr.createPortal(c, n);}-function hc() {- let e = (0, x.useContext)(pc)?.setContain;- B(() => {+function Sc() {+ let e = (0, S.useContext)(bc)?.setContain;+ Yt(() => {e?.(!0);}, [e]);}//#endregion//#region node_modules/react-aria/dist/private/dialog/useDialog.mjs-function gc(e, t) {- let { role: n = "dialog" } = e, r = hr();+function Cc(e, t) {+ let { role: n = "dialog" } = e, r = vr();r = e["aria-label"] ? void 0 : r;- let i = hr();+ let i = vr();i = n === "alertdialog" && !e["aria-describedby"] ? i : void 0;- let a = (0, x.useRef)(!1);- (0, x.useEffect)(() => {- if (t.current && !zt(t.current)) {- or(t.current);+ let a = (0, S.useRef)(!1);+ (0, S.useEffect)(() => {+ if (t.current && !Rt(t.current)) {+ lr(t.current);let e = setTimeout(() => {- (Lt() === t.current || Lt() === document.body) && (a.current = !0, t.current && (t.current.blur(), or(t.current)), a.current = !1);+ (It() === t.current || It() === document.body) && (a.current = !0, t.current && (t.current.blur(), lr(t.current)), a.current = !1);}, 500);return () => {clearTimeout(e);};}- }, [t]), hc(), (0, x.useRef)(!1), (0, x.useEffect)(() => {});+ }, [t]), Sc(), (0, S.useRef)(!1), (0, S.useEffect)(() => {});let o = e["aria-describedby"] ?? i;return {dialogProps: {- ...H(e, { labelable: !0 }),+ ...U(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? r,@@ -6435,23 +6478,23 @@ function gc(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/focus/useFocusRing.mjs-function _c(e = {}) {- let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, x.useRef)({+function wc(e = {}) {+ let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, S.useRef)({isFocused: !1,- isFocusVisible: t || Yn()- }), [a, o] = (0, x.useState)(!1), [s, c] = (0, x.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, x.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, x.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = Yn(), o(e), l();+ isFocusVisible: t || Zn()+ }), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, S.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, S.useCallback)((e) => {+ i.current.isFocused = e, i.current.isFocusVisible = Zn(), o(e), l();}, [l]);- er((e) => {+ rr((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = br({+ let { focusProps: d } = Cr({isDisabled: r,onFocusChange: u- }), { focusWithinProps: f } = Io({+ }), { focusWithinProps: f } = Bo({isDisabled: !r,onFocusWithinChange: u});@@ -6463,42 +6506,42 @@ function _c(e = {}) {}//#endregion//#region node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function vc(e = {}) {- let { locale: t } = Pi();- return (0, x.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);+function Tc(e = {}) {+ let { locale: t } = Ri();+ return (0, S.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}//#endregion//#region node_modules/react-aria/dist/private/interactions/useHover.mjs-var yc = !1, bc = 0;-function xc() {- yc = !0, setTimeout(() => {- yc = !1;+var Ec = !1, Dc = 0;+function Oc() {+ Ec = !0, setTimeout(() => {+ Ec = !1;}, 500);}-function Sc(e) {- e.pointerType === "touch" && xc();+function kc(e) {+ e.pointerType === "touch" && Oc();}-function Cc() {- let e = I(null);- if (e !== void 0) return bc === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", Sc), bc++, () => {- bc--, !(bc > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", Sc);+function Ac() {+ let e = R(null);+ if (e !== void 0) return Dc === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", kc), Dc++, () => {+ Dc--, !(Dc > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", kc);};}-function wc(e) {- let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, x.useState)(!1), s = (0, x.useRef)({+function jc(e) {+ let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, S.useState)(!1), s = (0, S.useRef)({isHovered: !1,ignoreEmulatedMouseEvents: !1,pointerType: "",target: null}).current;- (0, x.useEffect)(Cc, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = la(), { hoverProps: u, triggerHoverEnd: d } = (0, x.useMemo)(() => {+ (0, S.useEffect)(Ac, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = pa(), { hoverProps: u, triggerHoverEnd: d } = (0, S.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !L(e.currentTarget, R(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !z(e.currentTarget, B(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(I(R(e)), "pointerover", (e) => {- s.isHovered && s.target && !L(s.target, R(e)) && a(e, e.pointerType);+ s.target = l, c(R(B(e)), "pointerover", (e) => {+ s.isHovered && s.target && !z(s.target, B(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -6513,9 +6556,9 @@ function wc(e) {}), n && n(!1), o(!1));}, u = {};return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {- yc && t.pointerType === "mouse" || e(t, t.pointerType);+ Ec && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && L(e.currentTarget, R(e)) && a(e, e.pointerType);+ !i && z(e.currentTarget, B(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -6529,7 +6572,7 @@ function wc(e) {c,l]);- return (0, x.useEffect)(() => {+ return (0, S.useEffect)(() => {i && d({ currentTarget: s.target }, s.pointerType);}, [i]), {hoverProps: u,@@ -6538,22 +6581,22 @@ function wc(e) {}//#endregion//#region node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function Tc(e) {- let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, x.useRef)({+function Mc(e) {+ let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, S.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = xi((e) => {- n && Ec(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = xi((e) => {+ }), o = Ti((e) => {+ n && Nc(e, t) && (i && i(e), a.current.isPointerDown = !0);+ }), s = Ti((e) => {n && n(e);});- (0, x.useEffect)(() => {+ (0, S.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = I(n);+ let n = t.current, i = R(n);if (typeof PointerEvent < "u") {let n = (n) => {- e.isPointerDown && Ec(n, t) && s(n), e.isPointerDown = !1;+ e.isPointerDown && Nc(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);@@ -6561,78 +6604,701 @@ function Tc(e) {}}, [t, r]);}-function Ec(e, t) {+function Nc(e, t) {if (e.button > 0) return !1;- let n = R(e);+ let n = B(e);if (n) {let e = n.ownerDocument;- if (!e || !L(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !z(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}//#endregion-//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs-function Dc(e, t) {- let n = t?.isDisabled, [r, i] = (0, x.useState)(!1);- return B(() => {- if (e?.current && !n) {- let t = () => {- if (e.current) {- let t = Ya(e.current, { tabbable: !0 });- i(!!t.nextNode());- }- };- t();- let n = new MutationObserver(t);- return n.observe(e.current, {- subtree: !0,- childList: !0,- attributes: !0,- attributeFilter: ["tabIndex", "disabled"]- }), () => {- n.disconnect();- };- }- }), !n && r;-}+//#region node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs+var Pc = {};+Pc = {+ deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,+ longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",+ select: "تحديد",+ selectedAll: "جميع العناصر المحددة.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "لم يتم تحديد عناصر",+ one: () => `${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`,+ other: () => `${t.number(e.count)} \u{639}\u{646}\u{635}\u{631} \u{645}\u{62D}\u{62F}\u{62F}`+ })}.`,+ selectedItem: (e) => `${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`+};//#endregion-//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs-function Oc(e) {- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = cc({- usage: "search",- sensitivity: "base"- }), l = t.disabledBehavior, u = (0, x.useMemo)(() => a || new as({- collection: n,- disabledKeys: r,- disabledBehavior: l,- ref: i,- collator: c,- layoutDelegate: o,- orientation: s- }), [- a,- o,- n,- r,- i,- c,- l,- s- ]), { collectionProps: d } = $s({- ...e,- ref: i,- selectionManager: t,- keyboardDelegate: u- });+//#region node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs+var Fc = {};+Fc = {+ deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,+ longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",+ select: "Изберете",+ selectedAll: "Всички елементи са избрани.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Няма избрани елементи",+ one: () => `${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}`,+ other: () => `${t.number(e.count)} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}\u{438} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{438}`+ })}.`,+ selectedItem: (e) => `${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs+var Ic = {};+Ic = {+ deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,+ longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",+ select: "Vybrat",+ selectedAll: "Vybrány všechny položky.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nevybrány žádné položky",+ one: () => `Vybr\xe1na ${t.number(e.count)} polo\u{17E}ka`,+ other: () => `Vybr\xe1no ${t.number(e.count)} polo\u{17E}ek`+ })}.`,+ selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/da-DK.mjs+var Lc = {};+Lc = {+ deselectedItem: (e) => `${e.item} ikke valgt.`,+ longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",+ select: "Vælg",+ selectedAll: "Alle elementer valgt.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Ingen elementer valgt",+ one: () => `${t.number(e.count)} element valgt`,+ other: () => `${t.number(e.count)} elementer valgt`+ })}.`,+ selectedItem: (e) => `${e.item} valgt.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/de-DE.mjs+var Rc = {};+Rc = {+ deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,+ longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",+ select: "Auswählen",+ selectedAll: "Alle Elemente ausgewählt.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Keine Elemente ausgewählt",+ one: () => `${t.number(e.count)} Element ausgew\xe4hlt`,+ other: () => `${t.number(e.count)} Elemente ausgew\xe4hlt`+ })}.`,+ selectedItem: (e) => `${e.item} ausgew\xe4hlt.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/el-GR.mjs+var zc = {};+zc = {+ deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,+ longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",+ select: "Επιλογή",+ selectedAll: "Επιλέχθηκαν όλα τα στοιχεία.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Δεν επιλέχθηκαν στοιχεία",+ one: () => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF}`,+ other: () => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B1}\u{3BD} ${t.number(e.count)} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3B1}`+ })}.`,+ selectedItem: (e) => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/en-US.mjs+var Bc = {};+Bc = {+ deselectedItem: (e) => `${e.item} not selected.`,+ select: "Select",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "No items selected",+ one: () => `${t.number(e.count)} item selected`,+ other: () => `${t.number(e.count)} items selected`+ })}.`,+ selectedAll: "All items selected.",+ selectedItem: (e) => `${e.item} selected.`,+ longPressToSelect: "Long press to enter selection mode."+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/es-ES.mjs+var Vc = {};+Vc = {+ deselectedItem: (e) => `${e.item} no seleccionado.`,+ longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",+ select: "Seleccionar",+ selectedAll: "Todos los elementos seleccionados.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Ningún elemento seleccionado",+ one: () => `${t.number(e.count)} elemento seleccionado`,+ other: () => `${t.number(e.count)} elementos seleccionados`+ })}.`,+ selectedItem: (e) => `${e.item} seleccionado.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/et-EE.mjs+var Hc = {};+Hc = {+ deselectedItem: (e) => `${e.item} pole valitud.`,+ longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",+ select: "Vali",+ selectedAll: "Kõik üksused valitud.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Üksusi pole valitud",+ one: () => `${t.number(e.count)} \xfcksus valitud`,+ other: () => `${t.number(e.count)} \xfcksust valitud`+ })}.`,+ selectedItem: (e) => `${e.item} valitud.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs+var Uc = {};+Uc = {+ deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,+ longPressToSelect: "Siirry valintatilaan painamalla pitkään.",+ select: "Valitse",+ selectedAll: "Kaikki kohteet valittu.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Ei yhtään kohdetta valittu",+ one: () => `${t.number(e.count)} kohde valittu`,+ other: () => `${t.number(e.count)} kohdetta valittu`+ })}.`,+ selectedItem: (e) => `${e.item} valittu.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs+var Wc = {};+Wc = {+ deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,+ longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",+ select: "Sélectionner",+ selectedAll: "Tous les éléments sélectionnés.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Aucun élément sélectionné",+ one: () => `${t.number(e.count)} \xe9l\xe9ment s\xe9lectionn\xe9`,+ other: () => `${t.number(e.count)} \xe9l\xe9ments s\xe9lectionn\xe9s`+ })}.`,+ selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/he-IL.mjs+var Gc = {};+Gc = {+ deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,+ longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",+ select: "בחר",+ selectedAll: "כל הפריטים נבחרו.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "לא נבחרו פריטים",+ one: () => `\u{5E4}\u{5E8}\u{5D9}\u{5D8} ${t.number(e.count)} \u{5E0}\u{5D1}\u{5D7}\u{5E8}`,+ other: () => `${t.number(e.count)} \u{5E4}\u{5E8}\u{5D9}\u{5D8}\u{5D9}\u{5DD} \u{5E0}\u{5D1}\u{5D7}\u{5E8}\u{5D5}`+ })}.`,+ selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs+var Kc = {};+Kc = {+ deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,+ longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",+ select: "Odaberite",+ selectedAll: "Odabrane su sve stavke.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nije odabrana nijedna stavka",+ one: () => `Odabrana je ${t.number(e.count)} stavka`,+ other: () => `Odabrano je ${t.number(e.count)} stavki`+ })}.`,+ selectedItem: (e) => `Stavka ${e.item} je odabrana.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs+var qc = {};+qc = {+ deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,+ longPressToSelect: "Nyomja hosszan a kijelöléshez.",+ select: "Kijelölés",+ selectedAll: "Az összes elem kijelölve.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Egy elem sincs kijelölve",+ one: () => `${t.number(e.count)} elem kijel\xf6lve`,+ other: () => `${t.number(e.count)} elem kijel\xf6lve`+ })}.`,+ selectedItem: (e) => `${e.item} kijel\xf6lve.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/it-IT.mjs+var Jc = {};+Jc = {+ deselectedItem: (e) => `${e.item} non selezionato.`,+ longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",+ select: "Seleziona",+ selectedAll: "Tutti gli elementi selezionati.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nessun elemento selezionato",+ one: () => `${t.number(e.count)} elemento selezionato`,+ other: () => `${t.number(e.count)} elementi selezionati`+ })}.`,+ selectedItem: (e) => `${e.item} selezionato.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs+var Yc = {};+Yc = {+ deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,+ longPressToSelect: "長押しして選択モードを開きます。",+ select: "選択",+ selectedAll: "すべての項目を選択しました。",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "項目が選択されていません",+ one: () => `${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`,+ other: () => `${t.number(e.count)} \u{9805}\u{76EE}\u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}`+ })}\u{3002}`,+ selectedItem: (e) => `${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs+var Xc = {};+Xc = {+ deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,+ longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",+ select: "선택",+ selectedAll: "모든 항목이 선택되었습니다.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "선택된 항목이 없습니다",+ one: () => `${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`,+ other: () => `${t.number(e.count)}\u{AC1C} \u{D56D}\u{BAA9}\u{C774} \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}`+ })}.`,+ selectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs+var Zc = {};+Zc = {+ deselectedItem: (e) => `${e.item} nepasirinkta.`,+ longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",+ select: "Pasirinkti",+ selectedAll: "Pasirinkti visi elementai.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nepasirinktas nė vienas elementas",+ one: () => `Pasirinktas ${t.number(e.count)} elementas`,+ other: () => `Pasirinkta element\u{173}: ${t.number(e.count)}`+ })}.`,+ selectedItem: (e) => `Pasirinkta: ${e.item}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs+var Qc = {};+Qc = {+ deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,+ longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",+ select: "Atlasīt",+ selectedAll: "Atlasīti visi vienumi.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nav atlasīts neviens vienums",+ one: () => `Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`,+ other: () => `Atlas\u{12B}to vienumu skaits: ${t.number(e.count)}`+ })}.`,+ selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs+var $c = {};+$c = {+ deselectedItem: (e) => `${e.item} er ikke valgt.`,+ longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",+ select: "Velg",+ selectedAll: "Alle elementer er valgt.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Ingen elementer er valgt",+ one: () => `${t.number(e.count)} element er valgt`,+ other: () => `${t.number(e.count)} elementer er valgt`+ })}.`,+ selectedItem: (e) => `${e.item} er valgt.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs+var el = {};+el = {+ deselectedItem: (e) => `${e.item} niet geselecteerd.`,+ longPressToSelect: "Druk lang om de selectiemodus te openen.",+ select: "Selecteren",+ selectedAll: "Alle items geselecteerd.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Geen items geselecteerd",+ one: () => `${t.number(e.count)} item geselecteerd`,+ other: () => `${t.number(e.count)} items geselecteerd`+ })}.`,+ selectedItem: (e) => `${e.item} geselecteerd.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs+var tl = {};+tl = {+ deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,+ longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",+ select: "Zaznacz",+ selectedAll: "Wszystkie zaznaczone elementy.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nie zaznaczono żadnych elementów",+ one: () => `${t.number(e.count)} zaznaczony element`,+ other: () => `${t.number(e.count)} zaznaczonych element\xf3w`+ })}.`,+ selectedItem: (e) => `Zaznaczono ${e.item}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs+var nl = {};+nl = {+ deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,+ longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",+ select: "Selecionar",+ selectedAll: "Todos os itens selecionados.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nenhum item selecionado",+ one: () => `${t.number(e.count)} item selecionado`,+ other: () => `${t.number(e.count)} itens selecionados`+ })}.`,+ selectedItem: (e) => `${e.item} selecionado.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs+var rl = {};+rl = {+ deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,+ longPressToSelect: "Prima continuamente para entrar no modo de seleção.",+ select: "Selecionar",+ selectedAll: "Todos os itens selecionados.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nenhum item selecionado",+ one: () => `${t.number(e.count)} item selecionado`,+ other: () => `${t.number(e.count)} itens selecionados`+ })}.`,+ selectedItem: (e) => `${e.item} selecionado.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs+var il = {};+il = {+ deselectedItem: (e) => `${e.item} neselectat.`,+ longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",+ select: "Selectare",+ selectedAll: "Toate elementele selectate.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Niciun element selectat",+ one: () => `${t.number(e.count)} element selectat`,+ other: () => `${t.number(e.count)} elemente selectate`+ })}.`,+ selectedItem: (e) => `${e.item} selectat.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs+var al = {};+al = {+ deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,+ longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",+ select: "Выбрать",+ selectedAll: "Выбраны все элементы.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Нет выбранных элементов",+ one: () => `${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}`,+ other: () => `${t.number(e.count)} \u{44D}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{43E}\u{432} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}`+ })}.`,+ selectedItem: (e) => `${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs+var ol = {};+ol = {+ deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,+ longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",+ select: "Vybrať",+ selectedAll: "Všetky vybraté položky.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Žiadne vybraté položky",+ one: () => `${t.number(e.count)} vybrat\xe1 polo\u{17E}ka`,+ other: () => `Po\u{10D}et vybrat\xfdch polo\u{17E}iek:${t.number(e.count)}`+ })}.`,+ selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs+var sl = {};+sl = {+ deselectedItem: (e) => `Element ${e.item} ni izbran.`,+ longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",+ select: "Izberite",+ selectedAll: "Vsi elementi so izbrani.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Noben element ni izbran",+ one: () => `${t.number(e.count)} element je izbran`,+ other: () => `${t.number(e.count)} elementov je izbranih`+ })}.`,+ selectedItem: (e) => `Element ${e.item} je izbran.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs+var cl = {};+cl = {+ deselectedItem: (e) => `${e.item} nije izabrano.`,+ longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",+ select: "Izaberite",+ selectedAll: "Izabrane su sve stavke.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Nije izabrana nijedna stavka",+ one: () => `Izabrana je ${t.number(e.count)} stavka`,+ other: () => `Izabrano je ${t.number(e.count)} stavki`+ })}.`,+ selectedItem: (e) => `${e.item} je izabrano.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs+var ll = {};+ll = {+ deselectedItem: (e) => `${e.item} ej markerat.`,+ longPressToSelect: "Tryck länge när du vill öppna väljarläge.",+ select: "Markera",+ selectedAll: "Alla markerade objekt.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Inga markerade objekt",+ one: () => `${t.number(e.count)} markerat objekt`,+ other: () => `${t.number(e.count)} markerade objekt`+ })}.`,+ selectedItem: (e) => `${e.item} markerat.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs+var ul = {};+ul = {+ deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,+ longPressToSelect: "Seçim moduna girmek için uzun basın.",+ select: "Seç",+ selectedAll: "Tüm ögeler seçildi.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Hiçbir öge seçilmedi",+ one: () => `${t.number(e.count)} \xf6ge se\xe7ildi`,+ other: () => `${t.number(e.count)} \xf6ge se\xe7ildi`+ })}.`,+ selectedItem: (e) => `${e.item} se\xe7ildi.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs+var dl = {};+dl = {+ deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,+ longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",+ select: "Вибрати",+ selectedAll: "Усі елементи вибрано.",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "Жодних елементів не вибрано",+ one: () => `${t.number(e.count)} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}`,+ other: () => `\u{412}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E} \u{435}\u{43B}\u{435}\u{43C}\u{435}\u{43D}\u{442}\u{456}\u{432}: ${t.number(e.count)}`+ })}.`,+ selectedItem: (e) => `${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs+var fl = {};+fl = {+ deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,+ longPressToSelect: "长按以进入选择模式。",+ select: "选择",+ selectedAll: "已选择所有项目。",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "未选择项目",+ one: () => `\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`,+ other: () => `\u{5DF2}\u{9009}\u{62E9} ${t.number(e.count)} \u{4E2A}\u{9879}\u{76EE}`+ })}\u{3002}`,+ selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs+var pl = {};+pl = {+ deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,+ longPressToSelect: "長按以進入選擇模式。",+ select: "選取",+ selectedAll: "已選取所有項目。",+ selectedCount: (e, t) => `${t.plural(e.count, {+ "=0": "未選取任何項目",+ one: () => `\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`,+ other: () => `\u{5DF2}\u{9078}\u{53D6} ${t.number(e.count)} \u{500B}\u{9805}\u{76EE}`+ })}\u{3002}`,+ selectedItem: (e) => `\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`+};+//#endregion+//#region node_modules/react-aria/dist/private/grid/intlStrings.mjs+var ml = {};+ml = {+ "ar-AE": Pc,+ "bg-BG": Fc,+ "cs-CZ": Ic,+ "da-DK": Lc,+ "de-DE": Rc,+ "el-GR": zc,+ "en-US": Bc,+ "es-ES": Vc,+ "et-EE": Hc,+ "fi-FI": Uc,+ "fr-FR": Wc,+ "he-IL": Gc,+ "hr-HR": Kc,+ "hu-HU": qc,+ "it-IT": Jc,+ "ja-JP": Yc,+ "ko-KR": Xc,+ "lt-LT": Zc,+ "lv-LV": Qc,+ "nb-NO": $c,+ "nl-NL": el,+ "pl-PL": tl,+ "pt-BR": nl,+ "pt-PT": rl,+ "ro-RO": il,+ "ru-RU": al,+ "sk-SK": ol,+ "sl-SI": sl,+ "sr-SP": cl,+ "sv-SE": ll,+ "tr-TR": ul,+ "uk-UA": dl,+ "zh-CN": fl,+ "zh-TW": pl+};+//#endregion+//#region node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs+function hl(e) {+ return e && e.__esModule ? e.default : e;+}+function gl(e, t) {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Qi(hl(ml), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, S.useRef)(i), o = (0, S.useCallback)(() => {+ if (!t.selectionManager.isFocused || i === a.current) {+ a.current = i;+ return;+ }+ let e = _l(i, a.current), o = _l(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];+ if (t.selectionManager.selectedKeys.size === 1 && s) {+ let e = t.selectionManager.selectedKeys.keys().next().value;+ if (e != null && t.collection.getItem(e)) {+ let t = n(e);+ t && c.push(r.format("selectedItem", { item: t }));+ }+ } else if (e.size === 1 && o.size === 0) {+ let t = e.keys().next().value;+ if (t != null) {+ let e = n(t);+ e && c.push(r.format("selectedItem", { item: e }));+ }+ } else if (o.size === 1 && e.size === 0) {+ let e = o.keys().next().value;+ if (e != null && t.collection.getItem(e)) {+ let t = n(e);+ t && c.push(r.format("deselectedItem", { item: t }));+ }+ }+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && ao(c.join(" ")), a.current = i;+ }, [+ i,+ t.selectionManager.selectedKeys,+ t.selectionManager.isFocused,+ t.selectionManager.selectionBehavior,+ t.selectionManager.selectionMode,+ t.collection,+ n,+ r+ ]);+ so(() => {+ if (t.selectionManager.isFocused) o();+ else {+ let e = requestAnimationFrame(o);+ return () => cancelAnimationFrame(e);+ }+ }, [i, t.selectionManager.isFocused]);+}+function _l(e, t) {+ let n = /* @__PURE__ */ new Set();+ if (e === "all" || t === "all") return n;+ for (let r of e.keys()) t.has(r) || n.add(r);+ return n;+}+//#endregion+//#region node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs+function vl(e, t) {+ let n = t?.isDisabled, [r, i] = (0, S.useState)(!1);+ return Yt(() => {+ if (e?.current && !n) {+ let t = () => {+ if (e.current) {+ let t = $a(e.current, { tabbable: !0 });+ i(!!t.nextNode());+ }+ };+ t();+ let n = new MutationObserver(t);+ return n.observe(e.current, {+ subtree: !0,+ childList: !0,+ attributes: !0,+ attributeFilter: ["tabIndex", "disabled"]+ }), () => {+ n.disconnect();+ };+ }+ }), !n && r;+}+//#endregion+//#region node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs+function yl(e) {+ return e && e.__esModule ? e.default : e;+}+function bl(e) {+ let t = Qi(yl(ml), "@react-aria/grid"), n = er(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return _o((0, S.useMemo)(() => {+ let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;+ return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;+ }, [+ e.selectionManager.selectionMode,+ e.selectionManager.selectionBehavior,+ e.hasItemActions,+ t,+ r+ ]));+}+//#endregion+//#region node_modules/react-aria/dist/private/selection/useSelectableList.mjs+function xl(e) {+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = hc({+ usage: "search",+ sensitivity: "base"+ }), l = t.disabledBehavior, u = (0, S.useMemo)(() => a || new ds({+ collection: n,+ disabledKeys: r,+ disabledBehavior: l,+ ref: i,+ collator: c,+ layoutDelegate: o,+ orientation: s+ }), [+ a,+ o,+ n,+ r,+ i,+ c,+ l,+ s+ ]), { collectionProps: d } = ac({+ ...e,+ ref: i,+ selectionManager: t,+ keyboardDelegate: u+ });return { listProps: d };}//#endregion//#region node_modules/react-aria/dist/private/selection/useSelectableItem.mjs-function kc(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 = gn();- t = pr(t);+function Sl(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 = _n();+ t = gr(t);let p = (e) => {- if (e.pointerType === "keyboard" && $o(e)) n.toggleSelection(r);+ if (e.pointerType === "keyboard" && as(e)) n.toggleSelection(r);else {if (n.selectionMode === "none") return;if (n.isLink(r)) {@@ -6643,11 +7309,11 @@ function kc(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 && (_i(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 && (xi(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};- (0, x.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? pi(i.current) : s ? s() : Lt() !== i.current && i.current && or(i.current));+ (0, S.useEffect)(() => {+ r === n.focusedKey && n.isFocused && (o ? _i(i.current) : s ? s() : It() !== i.current && i.current && lr(i.current));}, [i,r,@@ -6660,38 +7326,38 @@ function kc(e) {!o && !c ? m = {tabIndex: r === n.focusedKey ? 0 : -1,onFocus(e) {- R(e) === i.current && n.setFocusedKey(r);+ B(e) === i.current && n.setFocusedKey(r);}} : c && (m.onMouseDown = (e) => {e.preventDefault();- }), (0, x.useEffect)(() => {+ }), (0, S.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), S = y && v && n.selectionBehavior === "replace", C = b || S, w = (0, x.useRef)(null), T = C && v, E = (0, x.useRef)(!1), D = (0, x.useRef)(!1), O = n.getItemProps(r), k = (e) => {+ let h = n.isLink(r) && d === "override", g = l && e.UNSTABLE_itemBehavior === "action", _ = n.isLink(r) && d !== "selection" && d !== "none", v = !c && n.canSelectItem(r) && !h && !g, y = (l || _) && !c, b = y && (n.selectionBehavior === "replace" ? !v : !v || n.isEmpty), x = y && v && n.selectionBehavior === "replace", C = b || x, w = (0, S.useRef)(null), T = C && v, E = (0, S.useRef)(!1), D = (0, S.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" && (!C || jc(e.key)) && p(e);+ w.current = e.pointerType, E.current = T, e.pointerType === "keyboard" && (!C || wl(e.key)) && p(e);}, u ? (A.onPressUp = b ? void 0 : (e) => {e.pointerType === "mouse" && v && p(e);}, A.onPress = b ? k : (e) => {e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);}) : A.onPress = (e) => {- if (b || S && e.pointerType !== "mouse") {- if (e.pointerType === "keyboard" && !Ac(e.key)) return;+ if (b || x && e.pointerType !== "mouse") {+ if (e.pointerType === "keyboard" && !Cl(e.key)) return;k(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 || jc(e.key))) && p(e);+ w.current = e.pointerType, E.current = T, D.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || wl(e.key))) && p(e);}, A.onPress = (e) => {- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && Ac(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && C && Cl(e.key) || e.pointerType === "mouse" && D.current) && (C ? k(e) : v && p(e));});- let ee = rs(n.collection);- if (m["data-collection"] = ee, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = V(A, {+ let j = ls(n.collection);+ if (m["data-collection"] = j, m["data-key"] = r, A.preventFocusOnPress = o, o && (A = V(A, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));},@@ -6705,51 +7371,51 @@ function kc(e) {"onPress","onPressUp","onClick"- ]) O[e] && (A[e] = sr(A[e], O[e]));- let { pressProps: j, isPressed: te } = ha(A), M = S ? (e) => {+ ]) O[e] && (A[e] = ur(A[e], O[e]));+ let { pressProps: M, isPressed: N } = ya(A), ee = x ? (e) => {w.current === "mouse" && (e.stopPropagation(), e.preventDefault(), k(e));- } : void 0, { longPressProps: ne } = Hs({+ } : void 0, { longPressProps: P } = Js({isDisabled: !T,onLongPress(e) {e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));}- }), N = (e) => {+ }), F = (e) => {w.current === "touch" && E.current && e.preventDefault();- }, re = d !== "none" && n.isLink(r) ? (e) => {- _n.isOpening || e.preventDefault();- } : void 0, ie = V(m, v || b || o && !c ? j : {}, T ? ne : {}, {- onDoubleClick: M,- onDragStartCapture: N,- onClick: re,+ }, te = d !== "none" && n.isLink(r) ? (e) => {+ vn.isOpening || e.preventDefault();+ } : void 0, ne = V(m, v || b || o && !c ? M : {}, T ? P : {}, {+ onDoubleClick: ee,+ onDragStartCapture: F,+ onClick: te,id: t- }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), ae = (e) => {+ }, o ? { onMouseDown: (e) => e.preventDefault() } : void 0), re = (e) => {let t = e;for (; t && t !== i.current;) {let e = t.getAttribute("data-collection");- if (e != null) return e !== ee;+ if (e != null) return e !== j;t = t.parentElement;}return qt(e);- }, oe = ie.onPointerDown;- ie.onPointerDown = (e) => {- let t = R(e);- if (t && t !== i.current && ae(t)) {+ }, ie = ne.onPointerDown;+ ne.onPointerDown = (e) => {+ let t = B(e);+ if (t && t !== i.current && re(t)) {e.stopPropagation();return;}- oe?.(e);+ ie?.(e);};- let se = ie.onMouseDown;- return ie.onMouseDown = (e) => {- let t = R(e);- if (t && t !== i.current && ae(t)) {+ let ae = ne.onMouseDown;+ return ne.onMouseDown = (e) => {+ let t = B(e);+ if (t && t !== i.current && re(t)) {e.stopPropagation();return;}- se?.(e);+ ae?.(e);}, {- itemProps: ie,- isPressed: te,+ itemProps: ne,+ isPressed: N,isSelected: n.isSelected(r),isFocused: n.isFocused && n.focusedKey === r,isDisabled: c,@@ -6757,30 +7423,45 @@ function kc(e) {hasAction: C};}-function Ac(e) {+function Cl(e) {return e === "Enter";}-function jc(e) {+function wl(e) {return e === " ";}//#endregion+//#region node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs+function Tl(e) {+ return e && e.__esModule ? e.default : e;+}+function El(e, t) {+ let { key: n } = e, r = t.selectionManager, i = gr(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+ return { checkboxProps: {+ id: i,+ "aria-label": Qi(Tl(ml), "@react-aria/grid").format("select"),+ isSelected: o,+ isDisabled: a,+ onChange: () => r.toggleSelection(n)+ } };+}+//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBox.mjs-function Mc(e, t, n) {- let r = H(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function Dl(e, t, n) {+ let r = U(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 } = Oc({+ let { listProps: s } = xl({...e,ref: n,selectionManager: t.selectionManager,collection: t.collection,disabledKeys: t.disabledKeys,linkBehavior: o- }), { focusWithinProps: c } = Io({+ }), { focusWithinProps: c } = Bo({onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = pr(e.id);- Xo.set(t, {+ }), l = gr(e.id);+ ns.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,shouldSelectOnPressUp: e.shouldSelectOnPressUp,@@ -6790,7 +7471,7 @@ function Mc(e, t, n) {linkBehavior: o,UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior});- let { labelProps: u, fieldProps: d } = Po({+ let { labelProps: u, fieldProps: d } = W({...e,id: l,labelElementType: "span"@@ -6806,8 +7487,8 @@ function Mc(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function Nc(e) {- let { heading: t, "aria-label": n } = e, r = pr();+function Ol(e) {+ let { heading: t, "aria-label": n } = e, r = gr();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -6826,8 +7507,8 @@ function Nc(e) {}//#endregion//#region node_modules/react-aria/dist/private/listbox/useOption.mjs-function Pc(e, t, n) {- let { key: r } = e, i = Xo.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 = hr(), f = hr(), p = {+function kl(e, t, n) {+ let { key: r } = e, i = ns.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 = vr(), f = vr(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -6837,9 +7518,9 @@ function Pc(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"] = oc(t.collection);+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = pc(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Qo(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = kc({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = is(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = Sl({selectionManager: t.selectionManager,key: r,ref: n,@@ -6848,18 +7529,18 @@ function Pc(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? sr(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? ur(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g- }), { hoverProps: S } = wc({+ }), { hoverProps: S } = jc({isDisabled: a || !c,onHoverStart() {- Yn() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ Zn() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = H(m?.props);+ }), C = U(m?.props);delete C.id;- let w = bn(m?.props);+ let w = Sn(m?.props);return {optionProps: {...p,@@ -6869,7 +7550,7 @@ function Pc(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && Yn(),+ isFocusVisible: y && t.selectionManager.isFocused && Zn(),isSelected: o,isDisabled: a,isPressed: v,@@ -6879,15 +7560,15 @@ function Pc(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function Fc() {+function Al() {return window.ResizeObserver !== void 0;}-function Ic(e) {- let { ref: t, box: n, onResize: r } = e, i = xi(r);- (0, x.useEffect)(() => {+function jl(e) {+ let { ref: t, box: n, onResize: r } = e, i = Ti(r);+ (0, S.useEffect)(() => {let e = t?.current;if (e) {- if (Fc()) {+ if (Al()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -6903,189 +7584,189 @@ function Ic(e) {}//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs-var Lc = {};-Lc = { dismiss: "تجاهل" };+var Ml = {};+Ml = { dismiss: "تجاهل" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs-var Rc = {};-Rc = { dismiss: "Отхвърляне" };+var Nl = {};+Nl = { dismiss: "Отхвърляне" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs-var zc = {};-zc = { dismiss: "Odstranit" };+var Pl = {};+Pl = { dismiss: "Odstranit" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs-var Bc = {};-Bc = { dismiss: "Luk" };+var Fl = {};+Fl = { dismiss: "Luk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs-var Vc = {};-Vc = { dismiss: "Schließen" };+var Il = {};+Il = { dismiss: "Schließen" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs-var Hc = {};-Hc = { dismiss: "Απόρριψη" };+var Ll = {};+Ll = { dismiss: "Απόρριψη" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/en-US.mjs-var Uc = {};-Uc = { dismiss: "Dismiss" };+var Rl = {};+Rl = { dismiss: "Dismiss" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs-var Wc = {};-Wc = { dismiss: "Descartar" };+var zl = {};+zl = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs-var Gc = {};-Gc = { dismiss: "Lõpeta" };+var Bl = {};+Bl = { dismiss: "Lõpeta" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs-var Kc = {};-Kc = { dismiss: "Hylkää" };+var Vl = {};+Vl = { dismiss: "Hylkää" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs-var qc = {};-qc = { dismiss: "Rejeter" };+var Hl = {};+Hl = { dismiss: "Rejeter" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs-var Jc = {};-Jc = { dismiss: "התעלם" };+var Ul = {};+Ul = { dismiss: "התעלם" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs-var Yc = {};-Yc = { dismiss: "Odbaci" };+var Wl = {};+Wl = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs-var Xc = {};-Xc = { dismiss: "Elutasítás" };+var Gl = {};+Gl = { dismiss: "Elutasítás" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs-var Zc = {};-Zc = { dismiss: "Ignora" };+var Kl = {};+Kl = { dismiss: "Ignora" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs-var Qc = {};-Qc = { dismiss: "閉じる" };+var ql = {};+ql = { dismiss: "閉じる" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs-var $c = {};-$c = { dismiss: "무시" };+var Jl = {};+Jl = { dismiss: "무시" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs-var el = {};-el = { dismiss: "Atmesti" };+var Yl = {};+Yl = { dismiss: "Atmesti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs-var tl = {};-tl = { dismiss: "Nerādīt" };+var Xl = {};+Xl = { dismiss: "Nerādīt" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs-var nl = {};-nl = { dismiss: "Lukk" };+var Zl = {};+Zl = { dismiss: "Lukk" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs-var rl = {};-rl = { dismiss: "Negeren" };+var Ql = {};+Ql = { dismiss: "Negeren" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs-var il = {};-il = { dismiss: "Zignoruj" };+var $l = {};+$l = { dismiss: "Zignoruj" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs-var al = {};-al = { dismiss: "Descartar" };+var eu = {};+eu = { dismiss: "Descartar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs-var ol = {};-ol = { dismiss: "Dispensar" };+var tu = {};+tu = { dismiss: "Dispensar" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs-var sl = {};-sl = { dismiss: "Revocare" };+var nu = {};+nu = { dismiss: "Revocare" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs-var cl = {};-cl = { dismiss: "Пропустить" };+var ru = {};+ru = { dismiss: "Пропустить" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs-var ll = {};-ll = { dismiss: "Zrušiť" };+var iu = {};+iu = { dismiss: "Zrušiť" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs-var ul = {};-ul = { dismiss: "Opusti" };+var au = {};+au = { dismiss: "Opusti" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs-var dl = {};-dl = { dismiss: "Odbaci" };+var ou = {};+ou = { dismiss: "Odbaci" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs-var fl = {};-fl = { dismiss: "Avvisa" };+var su = {};+su = { dismiss: "Avvisa" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs-var pl = {};-pl = { dismiss: "Kapat" };+var cu = {};+cu = { dismiss: "Kapat" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs-var ml = {};-ml = { dismiss: "Скасувати" };+var lu = {};+lu = { dismiss: "Скасувати" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs-var hl = {};-hl = { dismiss: "取消" };+var uu = {};+uu = { dismiss: "取消" };//#endregion//#region node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs-var gl = {};-gl = { dismiss: "關閉" };+var du = {};+du = { dismiss: "關閉" };//#endregion//#region node_modules/react-aria/dist/private/overlays/intlStrings.mjs-var _l = {};-_l = {- "ar-AE": Lc,- "bg-BG": Rc,- "cs-CZ": zc,- "da-DK": Bc,- "de-DE": Vc,- "el-GR": Hc,- "en-US": Uc,- "es-ES": Wc,- "et-EE": Gc,- "fi-FI": Kc,- "fr-FR": qc,- "he-IL": Jc,- "hr-HR": Yc,- "hu-HU": Xc,- "it-IT": Zc,- "ja-JP": Qc,- "ko-KR": $c,- "lt-LT": el,- "lv-LV": tl,- "nb-NO": nl,- "nl-NL": rl,- "pl-PL": il,- "pt-BR": al,- "pt-PT": ol,- "ro-RO": sl,- "ru-RU": cl,- "sk-SK": ll,- "sl-SI": ul,- "sr-SP": dl,- "sv-SE": fl,- "tr-TR": pl,- "uk-UA": ml,- "zh-CN": hl,- "zh-TW": gl+var fu = {};+fu = {+ "ar-AE": Ml,+ "bg-BG": Nl,+ "cs-CZ": Pl,+ "da-DK": Fl,+ "de-DE": Il,+ "el-GR": Ll,+ "en-US": Rl,+ "es-ES": zl,+ "et-EE": Bl,+ "fi-FI": Vl,+ "fr-FR": Hl,+ "he-IL": Ul,+ "hr-HR": Wl,+ "hu-HU": Gl,+ "it-IT": Kl,+ "ja-JP": ql,+ "ko-KR": Jl,+ "lt-LT": Yl,+ "lv-LV": Xl,+ "nb-NO": Zl,+ "nl-NL": Ql,+ "pl-PL": $l,+ "pt-BR": eu,+ "pt-PT": tu,+ "ro-RO": nu,+ "ru-RU": ru,+ "sk-SK": iu,+ "sl-SI": au,+ "sr-SP": ou,+ "sv-SE": su,+ "tr-TR": cu,+ "uk-UA": lu,+ "zh-CN": uu,+ "zh-TW": du};//#endregion//#region node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function vl(e) {+function pu(e) {return e && e.__esModule ? e.default : e;}-function yl(e) {- let { onDismiss: t, ...n } = e, r = Ci(n, Ji(vl(_l), "@react-aria/overlays").format("dismiss")), i = () => {+function mu(e) {+ let { onDismiss: t, ...n } = e, r = Di(n, Qi(pu(fu), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};- return /*#__PURE__*/ x.createElement(Uo, null, /*#__PURE__*/ x.createElement("button", {+ return /*#__PURE__*/ S.createElement(Jo, null, /*#__PURE__*/ S.createElement("button", {...r,tabIndex: -1,onClick: i,@@ -7097,38 +7778,38 @@ function yl(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useOverlay.mjs-var bl = [];-function xl(e, t) {- let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, x.useRef)(void 0);- (0, x.useEffect)(() => {- if (i && !bl.includes(t)) return bl.push(t), () => {- let e = bl.indexOf(t);- e >= 0 && bl.splice(e, 1);+var hu = [];+function gu(e, t) {+ let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, S.useRef)(void 0);+ (0, S.useEffect)(() => {+ if (i && !hu.includes(t)) return hu.push(t), () => {+ let e = hu.indexOf(t);+ e >= 0 && hu.splice(e, 1);};}, [i, t]);let l = () => {- bl[bl.length - 1] === t && n && n();+ hu[hu.length - 1] === t && n && n();}, u = (e) => {- let n = bl[bl.length - 1];- c.current = n, (!s || s(R(e))) && n === t && e.stopPropagation();+ let n = hu[hu.length - 1];+ c.current = n, (!s || s(B(e))) && n === t && e.stopPropagation();}, d = (e) => {- (!s || s(R(e))) && (bl[bl.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = Pr({ shortcuts: { Escape: () => {+ (!s || s(B(e))) && (hu[hu.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;+ }, { keyboardProps: f } = Lr({ shortcuts: { Escape: () => {if (!o) {l();return;}return !1;} } });- Tc({+ Mc({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u});- let { focusWithinProps: p } = Io({+ let { focusWithinProps: p } = Bo({isDisabled: !r,onBlurWithin: (e) => {- !e.relatedTarget || za(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();+ !e.relatedTarget || Ua(e.relatedTarget) || (!s || s(e.relatedTarget)) && n?.();}});return {@@ -7141,26 +7822,26 @@ function xl(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs-var Sl = typeof document < "u" && window.visualViewport, Cl = 0, wl;-function Tl(e = {}) {+var _u = typeof document < "u" && window.visualViewport, vu = 0, yu;+function bu(e = {}) {let { isDisabled: t } = e;- B(() => {- if (!t) return Cl++, Cl === 1 && (wl = sn() && ln() ? Dl() : El()), () => {- Cl--, Cl === 0 && wl();+ Yt(() => {+ if (!t) return vu++, vu === 1 && (yu = cn() && un() ? Su() : xu()), () => {+ vu--, vu === 0 && yu();};}, [t]);}-function El() {+function xu() {let e = window.innerWidth - document.documentElement.clientWidth;- return sr(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Pt(document.documentElement, "scrollbar-gutter", "stable") : Pt(document.documentElement, "padding-right", `${e}px`)), Pt(document.documentElement, "overflow", "hidden"));+ return ur(e > 0 && ("scrollbarGutter" in document.documentElement.style ? Nt(document.documentElement, "scrollbar-gutter", "stable") : Nt(document.documentElement, "padding-right", `${e}px`)), Nt(document.documentElement, "overflow", "hidden"));}-function Dl() {- let e = Pt(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {- let r = R(e);- t = ro(r) ? r : io(r, !0), n = !1;+function Su() {+ let e = Nt(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+ let r = B(e);+ t = co(r) ? r : lo(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 = sa();+ }, i = document.createElement("style"), a = da();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)) {@@ -7171,27 +7852,27 @@ function Dl() {t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth && e.preventDefault();}}, s = (e) => {- let t = R(e), n = e.relatedTarget;- n && yi(n) ? (n.focus({ preventScroll: !0 }), Ol(n, yi(t))) : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ let t = B(e), n = e.relatedTarget;+ n && Ci(n) ? (n.focus({ preventScroll: !0 }), Cu(n, Ci(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 = Lt(), n = t != null && yi(t);+ let t = It(), n = t != null && Ci(t);c.call(this, {...e,preventScroll: !0- }), (!e || !e.preventScroll) && Ol(this, n);+ }), (!e || !e.preventScroll) && Cu(this, n);}});- let l = sr(Nt(document, "touchstart", r, {+ let l = ur(Mt(document, "touchstart", r, {passive: !1,capture: !0- }), Nt(document, "touchmove", o, {+ }), Mt(document, "touchmove", o, {passive: !1,capture: !0- }), Nt(document, "blur", s, !0));+ }), Mt(document, "blur", s, !0));return () => {e(), l(), i.remove(), Reflect.defineProperty(HTMLElement.prototype, "focus", {configurable: !0,@@ -7200,18 +7881,18 @@ function Dl() {});};}-function Ol(e, t) {- t || !Sl ? kl(e) : Sl.addEventListener("resize", () => kl(e), { once: !0 });+function Cu(e, t) {+ t || !_u ? wu(e) : _u.addEventListener("resize", () => wu(e), { once: !0 });}-function kl(e) {+function wu(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t;) {- let e = io(n);+ let e = lo(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;- Sl && (n = Math.min(n, Sl.offsetTop + Sl.height));+ _u && (n = Math.min(n, _u.offsetTop + _u.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)),@@ -7224,14 +7905,14 @@ function kl(e) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function Al(e, t, n) {- let { overlayProps: r, underlayProps: i } = xl({+function Tu(e, t, n) {+ let { overlayProps: r, underlayProps: i } = gu({...e,isOpen: t.isOpen,onClose: t.close}, n);- return Tl({ isDisabled: !t.isOpen }), hc(), (0, x.useEffect)(() => {- if (t.isOpen && n.current) return Jo([n.current], { shouldUseInert: !0 });+ return bu({ isDisabled: !t.isOpen }), Sc(), (0, S.useEffect)(() => {+ if (t.isOpen && n.current) return es([n.current], { shouldUseInert: !0 });}, [t.isOpen, n]), {modalProps: V(r),underlayProps: i@@ -7239,33 +7920,33 @@ function Al(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/overlays/calculatePosition.mjs-var jl = {+var Eu = {top: "top",bottom: "top",left: "left",right: "left"-}, Ml = {+}, Du = {top: "bottom",bottom: "top",left: "right",right: "left"-}, Nl = {+}, Ou = {top: "left",left: "top"-}, Pl = {+}, ku = {top: "height",left: "width"-}, Fl = {+}, Au = {width: "totalWidth",height: "totalHeight"-}, Il = {}, Ll = () => typeof document < "u" ? window.visualViewport : null;-function Rl(e, t) {+}, ju = {}, Mu = () => typeof document < "u" ? window.visualViewport : null;+function Nu(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} = Yl(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return ln() && (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} = Wu(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;+ return un() && (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,@@ -7275,7 +7956,7 @@ function Rl(e, t) {left: s};}-function zl(e) {+function Pu(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -7283,11 +7964,11 @@ function zl(e) {height: e.scrollHeight};}-function Bl(e, t, n, r, i, a, o) {- let s = i.scroll[e] ?? 0, c = r[Pl[e]], l = o[e] + r.scroll[jl[e]] + a, u = o[e] + r.scroll[jl[e]] + c - a, d = t - s + r.scroll[jl[e]] + o[e] - r[jl[e]], f = t - s + n + r.scroll[jl[e]] + o[e] - r[jl[e]];+function Fu(e, t, n, r, i, a, o) {+ let s = i.scroll[e] ?? 0, c = r[ku[e]], l = o[e] + r.scroll[Eu[e]] + a, u = o[e] + r.scroll[Eu[e]] + c - a, d = t - s + r.scroll[Eu[e]] + o[e] - r[Eu[e]], f = t - s + n + r.scroll[Eu[e]] + o[e] - r[Eu[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function Vl(e) {+function Iu(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -7296,58 +7977,58 @@ function Vl(e) {right: parseInt(t.marginRight, 10) || 0};}-function Hl(e) {- if (Il[e]) return Il[e];- let [t, n] = e.split(" "), r = jl[t] || "right", i = Nl[r];- jl[n] || (n = "center");- let a = Pl[r], o = Pl[i];- return Il[e] = {+function Lu(e) {+ if (ju[e]) return ju[e];+ let [t, n] = e.split(" "), r = Eu[t] || "right", i = Ou[r];+ Eu[n] || (n = "center");+ let a = ku[r], o = ku[i];+ return ju[e] = {placement: t,crossPlacement: n,axis: r,crossAxis: i,size: a,crossSize: o- }, Il[e];+ }, ju[e];}-function Ul(e, t, n, r, i, a, o, s, c, l, u) {+function Ru(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] = Bo(_[m], v, y), d === p) {- let t = s ? u[h] : u[Fl[h]];- _[Ml[p]] = Math.floor(t - e[p] + i);+ if (_[m] = Go(_[m], v, y), d === p) {+ let t = s ? u[h] : u[Au[h]];+ _[Du[p]] = Math.floor(t - e[p] + i);} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function Wl(e, t, n, r, i, a, o, s, c, l, u) {- let d = (e.top == null ? c[Fl.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {+function zu(e, t, n, r, i, a, o, s, c, l, u) {+ let d = (e.top == null ? c[Au.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 Gl(e, t, n, r, i, a, o, s) {+function Bu(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[Ml[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[Ml[l]] - i);+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Du[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[Du[l]] - i);}-function Kl(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {- let v = Hl(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Ul(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Gl(s, l, t, i, a + u, v, c, g);+function Vu(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+ let v = Lu(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Ru(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Bu(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {- let e = Hl(`${Ml[S]} ${C}`), r = Ul(t, s, n, e, u, d, l, f, m, h, c);- Gl(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);+ let e = Lu(`${Du[S]} ${C}`), r = Ru(t, s, n, e, u, d, l, f, m, h, c);+ Bu(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 = Bl(b, w[b], n[x], s, c, a, l);+ let O = Fu(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = Wl(w, s, l, f, i, a, n.height, D, c, g, _);- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Ul(t, s, n, v, T, d, l, f, m, h, c), O = Bl(b, w[b], n[x], s, c, a, l), w[b] += O;- let A = {}, ee = t[b] - w[b] - i[jl[b]], j = ee + .5 * t[x], te = m / 2 + h, M = jl[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - M - m / 2 - h;- A[b] = Bo(Bo(j, t[b] + m / 2 - (w[b] + i[jl[b]]), t[b] + t[x] - m / 2 - (w[b] + i[jl[b]])), te, ne), {placement: S, crossPlacement: C} = v, m ? ee = A[b] : C === "right" ? ee += t[x] : C === "center" && (ee += t[x] / 2);- let N = S === "left" || S === "top" ? n[y] : 0, re = {- x: S === "top" || S === "bottom" ? ee : N,- y: S === "left" || S === "right" ? ee : N+ let k = zu(w, s, l, f, i, a, n.height, D, c, g, _);+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Ru(t, s, n, v, T, d, l, f, m, h, c), O = Fu(b, w[b], n[x], s, c, a, l), w[b] += O;+ let A = {}, j = t[b] - w[b] - i[Eu[b]], M = j + .5 * t[x], N = m / 2 + h, ee = Eu[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), P = n[x] - ee - m / 2 - h;+ A[b] = Go(Go(M, t[b] + m / 2 - (w[b] + i[Eu[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Eu[b]])), N, P), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);+ let F = S === "left" || S === "top" ? n[y] : 0, te = {+ x: S === "top" || S === "bottom" ? j : F,+ y: S === "left" || S === "right" ? j : F};return {position: w,@@ -7355,20 +8036,20 @@ function Kl(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {arrowOffsetLeft: A.left,arrowOffsetTop: A.top,placement: S,- triggerAnchorPoint: re+ triggerAnchorPoint: te};}-function ql(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 = Ll(), h = r instanceof HTMLElement ? Zl(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Yl(n, !1, p) : Xl(n, h, !1, p);+function Hu(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 = Mu(), h = r instanceof HTMLElement ? Ku(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Wu(n, !1, p) : Gu(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 = Yl(r, !0), x = Vl(r);+ let b = Wu(r, !0), x = Iu(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = zl(i), C = Rl(s, m), w = Rl(h, m), T;+ let S = Pu(i), C = Nu(s, m), w = Nu(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {- let e = Jl(h, !1);+ let e = Uu(h, !1);T = {top: -(e.top - C.top),left: -(e.left - C.left),@@ -7380,11 +8061,11 @@ function ql(e) {left: 0,width: 0,height: 0- } : Xl(s, h, !1);- let E = L(s, h);- return Kl(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ } : Gu(s, h, !1);+ let E = z(s, h);+ return Vu(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}-function Jl(e, t) {+function Uu(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,@@ -7393,8 +8074,8 @@ function Jl(e, t) {height: a};}-function Yl(e, t, n) {- let { top: r, left: i, width: a, height: o } = n || Jl(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;+function Wu(e, t, n) {+ let { top: r, left: i, width: a, height: o } = n || Uu(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;return {top: r + s - l,left: i + c - u,@@ -7402,30 +8083,30 @@ function Yl(e, t, n) {height: o};}-function Xl(e, t, n, r) {+function Gu(e, t, n, r) {let i = window.getComputedStyle(e), a;- if (i.position === "fixed") a = r || Jl(e, n);+ if (i.position === "fixed") a = r || Uu(e, n);else {- a = Yl(e, n, r);- let i = Yl(t, n), o = window.getComputedStyle(t);+ a = Wu(e, n, r);+ let i = Wu(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 Zl(e) {+function Ku(e) {let t = e.offsetParent;- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Ql(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Ql(t);) t = t.parentElement;+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !qu(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !qu(t);) t = t.parentElement;return t || document.documentElement;}-function Ql(e) {+function qu(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 $l = typeof document < "u" ? window.visualViewport : null;-function eu(e) {- let { direction: t } = Pi(), { 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, x.useState)(null), S = [+var Ju = typeof document < "u" ? window.visualViewport : null;+function Yu(e) {+ let { direction: t } = Ri(), { 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, S.useState)(null), x = [p,s,i.current,@@ -7442,15 +8123,15 @@ function eu(e) {g,_,n- ], C = (0, x.useRef)($l?.scale);- (0, x.useEffect)(() => {- m && (C.current = $l?.scale);+ ], C = (0, S.useRef)(Ju?.scale);+ (0, S.useEffect)(() => {+ m && (C.current = Ju?.scale);}, [m]);- let w = (0, x.useCallback)(() => {- if (p === !1 || !m || !i.current || !r.current || !u || $l?.scale !== C.current) return;+ let w = (0, S.useCallback)(() => {+ if (p === !1 || !m || !i.current || !r.current || !u || Ju?.scale !== C.current) return;let e = null;- if (o.current && zt(o.current)) {- let t = Lt()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && Rt(o.current)) {+ let t = It()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -7458,8 +8139,8 @@ function eu(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 = ql({- placement: nu(s, t),+ let y = Hu({+ placement: Zu(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -7469,28 +8150,28 @@ function eu(e) {offset: d,crossOffset: f,maxHeight: g,- arrowSize: n ?? (a?.current ? Jl(a.current, !0).width : 0),+ arrowSize: n ?? (a?.current ? Uu(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 = Lt();+ let x = It();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);- }, S);- B(w, S), tu(w), Ic({+ }, x);+ Yt(w, x), Xu(w), jl({ref: i,onResize: w- }), Ic({+ }), jl({ref: r,onResize: w});- let T = (0, x.useRef)(!1);- B(() => {+ let T = (0, S.useRef)(!1);+ Yt(() => {let e, t = () => {T.current = !0, clearTimeout(e), e = setTimeout(() => {T.current = !1;@@ -7498,16 +8179,16 @@ function eu(e) {}, n = () => {T.current && t();};- $l?.addEventListener("resize", t), $l?.addEventListener("scroll", n);- let r = Nt(Rt(window), "scroll", n);+ Ju?.addEventListener("resize", t), Ju?.addEventListener("scroll", n);+ let r = Mt(Lt(window), "scroll", n);return () => {- $l?.removeEventListener("resize", t), $l?.removeEventListener("scroll", n), r();+ Ju?.removeEventListener("resize", t), Ju?.removeEventListener("scroll", n), r();};}, [w]);- let E = (0, x.useCallback)(() => {+ let E = (0, S.useCallback)(() => {T.current || h?.();}, [h, T]);- return Gs({+ return Zs({triggerRef: r,isOpen: m,onClose: h && E@@ -7533,25 +8214,25 @@ function eu(e) {updatePosition: w};}-function tu(e) {- B(() => (window.addEventListener("resize", e, !1), () => {+function Xu(e) {+ Yt(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function nu(e, t) {+function Zu(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 ru(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 } = xl({+function Qu(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 } = gu({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 } = eu({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Yu({...c,targetRef: n,overlayRef: r,@@ -7559,15 +8240,15 @@ function ru(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)});- Tl({ isDisabled: a || !t.isOpen }), (0, x.useEffect)(() => {- if (t.isOpen && r.current) return a ? Yo(i?.current ?? r.current) : Jo([i?.current ?? r.current], { shouldUseInert: !0 });+ bu({ isDisabled: a || !t.isOpen }), (0, S.useEffect)(() => {+ if (t.isOpen && r.current) return a ? ts(i?.current ?? r.current) : es([i?.current ?? r.current], { shouldUseInert: !0 });}, [a,t.isOpen,r,i]);- let { focusWithinProps: g } = Io(e);+ let { focusWithinProps: g } = Bo(e);return {popoverProps: V(u, f, g),arrowProps: p,@@ -7578,13 +8259,13 @@ function ru(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/radio/utils.mjs-var iu = /* @__PURE__ */ new WeakMap();+var $u = /* @__PURE__ */ new WeakMap();//#endregion//#region node_modules/react-aria/dist/private/radio/useRadio.mjs-function au(e, t, n) {+function ed(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: _ } = ha({+ }, { pressProps: g, isPressed: _ } = ya({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -7592,7 +8273,7 @@ function au(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = ha({+ }), { pressProps: v, isPressed: y } = ya({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -7602,18 +8283,18 @@ function au(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = zr(V(e, { onFocus: () => t.setLastFocusedValue(r) }), n), S = V(g, b), C = H(e, { labelable: !0 }), w = -1;+ }), { focusableProps: b } = Hr(V(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = V(g, b), C = U(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 } = iu.get(t);- po(n, t.defaultSelectedValue, t.setSelectedValue), mo({ validationBehavior: k }, t, n);- let A = yo();+ let { name: T, form: E, descriptionId: D, errorMessageId: O, validationBehavior: k } = $u.get(t);+ vo(n, t.defaultSelectedValue, t.setSelectedValue), yo({ validationBehavior: k }, t, n);+ let A = wo();return {- labelProps: V(v, (0, x.useMemo)(() => ({+ labelProps: V(v, (0, S.useMemo)(() => ({onClick: (e) => e.preventDefault(),onMouseDown: (e) => e.preventDefault()}), [])),inputProps: V(C, {- ...S,+ ...x,type: "radio",name: T,form: E,@@ -7638,13 +8319,13 @@ function au(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function ou(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Pi(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = Fo({+function td(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Ri(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = zo({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = H(e, { labelable: !0 }), { focusWithinProps: v } = Io({+ }), _ = U(e, { labelable: !0 }), { focusWithinProps: v } = Bo({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -7652,13 +8333,13 @@ function ou(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = Ya(n.currentTarget, {- from: R(n),- accept: (e) => e instanceof Ot(e).HTMLInputElement && e.type === "radio"+ let r = $a(n.currentTarget, {+ from: B(n),+ accept: (e) => e instanceof Dt(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 } = Pr({+ let { keyboardProps: b } = Lr({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -7666,8 +8347,8 @@ function ou(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = pr(n);- return iu.set(t, {+ }), x = gr(n);+ return $u.set(t, {name: x,form: r,descriptionId: h.id,@@ -7696,21 +8377,21 @@ function ou(e, t) {}//#endregion//#region node_modules/react-aria/dist/private/select/useSelect.mjs-var su = /* @__PURE__ */ new WeakMap();-function cu(e, t, n) {- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = cc({+var G = /* @__PURE__ */ new WeakMap();+function nd(e, t, n) {+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = hc({usage: "search",sensitivity: "base"- }), u = (0, x.useMemo)(() => r || new as(t.collection, t.disabledKeys, n, l), [+ }), u = (0, S.useMemo)(() => r || new ds(t.collection, t.disabledKeys, n, l), [r,t.collection,t.disabledKeys,l,n- ]), { menuTriggerProps: d, menuProps: f } = Js({+ ]), { menuTriggerProps: d, menuProps: f } = ec({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = Pr({+ }, t, n), { keyboardProps: p } = Lr({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -7726,21 +8407,21 @@ function cu(e, t, n) {allowRepeats: !0,onKeyDown: e.onKeyDown,onKeyUp: e.onKeyUp- }), { typeSelectProps: m } = Xs({+ }), { typeSelectProps: m } = nc({keyboardDelegate: u,selectionManager: t.selectionManager,onTypeSelect(e) {t.setSelectedKey(e);}- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: S } = Fo({+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = zo({...e,labelElementType: "span",isInvalid: h,errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let C = H(e, { labelable: !0 }), w = V(m, d, y), T = pr();- return su.set(t, {+ let C = U(e, { labelable: !0 }), w = V(m, d, y), T = gr();+ return G.set(t, {isDisabled: i,isRequired: a,name: o,@@ -7750,13 +8431,13 @@ function cu(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), Zn("keyboard"));+ e.isDisabled || (n.current?.focus(), $n("keyboard"));}},triggerProps: V(C, {...w,isDisabled: i,- onKeyDown: sr(w.onKeyDown, p.onKeyDown),+ onKeyDown: ur(w.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [T,@@ -7780,12 +8461,12 @@ function cu(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- L(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ z(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(" ")},descriptionProps: b,- errorMessageProps: S,+ errorMessageProps: x,isInvalid: h,validationErrors: g,validationDetails: _,@@ -7801,18 +8482,18 @@ function cu(e, t, n) {}//#endregion//#region node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function lu(e, t, n) {- let r = su.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = Ho({ style: {+function rd(e, t, n) {+ let r = G.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = qo({ style: {position: "fixed",top: 0,left: 0} });- po(e.selectRef, t.defaultValue, t.setValue), mo({+ vo(e.selectRef, t.defaultValue, t.setValue), yo({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);- let d = t.setValue, f = (0, x.useCallback)((e) => {- let t = R(e);+ let d = t.setValue, f = (0, S.useCallback)((e) => {+ let t = B(e);t.multiple ? d(Array.from(t.selectedOptions, (e) => e.value)) : d(e.currentTarget.value);}, [d]);return {@@ -7837,32 +8518,32 @@ function lu(e, t, n) {}};}-function uu(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, x.useRef)(null), c = (0, x.useRef)(null), { containerProps: l, selectProps: u } = lu({+function id(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, S.useRef)(null), c = (0, S.useRef)(null), { containerProps: l, selectProps: u } = rd({...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__*/ x.createElement("div", {+ if (t.collection.size <= 300) return /*#__PURE__*/ S.createElement("div", {...l,"data-testid": "hidden-select-container"- }, /*#__PURE__*/ x.createElement("label", null, r, /*#__PURE__*/ x.createElement("select", {+ }, /*#__PURE__*/ S.createElement("label", null, r, /*#__PURE__*/ S.createElement("select", {...u,ref: s- }, /*#__PURE__*/ x.createElement("option", {+ }, /*#__PURE__*/ S.createElement("option", {value: "",label: "\xA0"}, "\xA0"), [...t.collection.getKeys()].map((e) => {let n = t.collection.getItem(e);- if (n && n.type === "item") return /*#__PURE__*/ x.createElement("option", {+ if (n && n.type === "item") return /*#__PURE__*/ S.createElement("option", {key: n.key,value: n.key}, n.textValue);- }), t.collection.size === 0 && i && d.map((e, t) => /*#__PURE__*/ x.createElement("option", {+ }), t.collection.size === 0 && i && d.map((e, t) => /*#__PURE__*/ S.createElement("option", {key: t,value: e ?? ""})))));if (i) {- let { validationBehavior: e } = su.get(t) || {};+ let { validationBehavior: e } = G.get(t) || {};d.length === 0 && (d = [null]);let n = d.map((t, n) => {let r = {@@ -7873,7 +8554,7 @@ function uu(e) {disabled: o,value: t ?? ""};- return e === "native" ? /*#__PURE__*/ x.createElement("input", {+ return e === "native" ? /*#__PURE__*/ S.createElement("input", {key: n,...r,ref: n === 0 ? c : null,@@ -7881,20 +8562,20 @@ function uu(e) {type: "text",required: n === 0 && u.required,onChange: () => {}- }) : /*#__PURE__*/ x.createElement("input", {+ }) : /*#__PURE__*/ S.createElement("input", {key: n,...r,ref: n === 0 ? c : null});});- return /*#__PURE__*/ x.createElement(x.Fragment, null, n);+ return /*#__PURE__*/ S.createElement(S.Fragment, null, n);}return null;}//#endregion//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs-function du(e, t, n) {- let { labelProps: r, inputProps: i, isSelected: a, ...o } = jo(e, t, n);+function ad(e, t, n) {+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = Io(e, t, n);return {labelProps: r,inputProps: {@@ -7907,8855 +8588,10164 @@ function du(e, t, n) {};}//#endregion-//#region node_modules/react-aria/dist/private/tabs/utils.mjs-var fu = /* @__PURE__ */ new WeakMap();-function pu(e, t, n) {- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${fu.get(e)}-${n}-${t}`) : "";-}-//#endregion-//#region node_modules/react-aria/dist/private/tabs/useTab.mjs-function mu(e, t, n) {- let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = kc({- selectionManager: o,- key: r,- ref: n,- isDisabled: l,- shouldSelectOnPressUp: a ?? u?.props.href != null,- linkBehavior: "selection"- }), p = pu(t, r, "tab"), m = pu(t, r, "tabpanel"), { tabIndex: h } = d, g = H(u?.props, { labelable: !0 });- delete g.id;- let _ = bn(u?.props), { focusableProps: v } = zr({- ...u?.props,- isDisabled: l- }, n);- return {- tabProps: V(g, v, _, d, {- id: p,- "aria-selected": c,- "aria-disabled": l || void 0,- "aria-controls": c ? m : void 0,- tabIndex: l ? void 0 : h,- role: "tab"- }),- isSelected: c,- isDisabled: l,- isPressed: f- };-}-//#endregion-//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var hu = class {- constructor(e, t, n, r = /* @__PURE__ */ new Set()) {- this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";+//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs+var od = class {+ constructor(e) {+ if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new sd(e.layout) : new us(e.ref)), this.focusMode = e.focusMode ?? "row";}- getKeyLeftOf(e) {- return this.flipDirection ? this.getNextKey(e) : this.getPreviousKey(e);+ isCell(e) {+ return e.type === "cell";}- getKeyRightOf(e) {- return this.flipDirection ? this.getPreviousKey(e) : this.getNextKey(e);+ isRow(e) {+ return e.type === "row" || e.type === "item";}isDisabled(e) {- return this.disabledKeys.has(e) || !!this.collection.getItem(e)?.props?.isDisabled;+ return this.disabledBehavior === "all" && (e.props?.isDisabled || this.disabledKeys.has(e.key)) && e.props?.disabledBehavior !== "selection";}- getFirstKey() {- let e = this.collection.getFirstKey();- return e != null && this.isDisabled(e) && (e = this.getNextKey(e)), e;- }- getLastKey() {- let e = this.collection.getLastKey();- return e != null && this.isDisabled(e) && (e = this.getPreviousKey(e)), e;+ findPreviousKey(e, t, n = !1) {+ let r = e == null ? this.collection.getLastKey() : this.collection.getKeyBefore(e);+ for (; r != null;) {+ let e = this.collection.getItem(r);+ if (!e) return null;+ if ((n || !this.isDisabled(e)) && (!t || t(e))) return r;+ r = this.collection.getKeyBefore(r);+ }+ return null;}- getKeyAbove(e) {- return this.tabDirection ? null : this.getPreviousKey(e);+ findNextKey(e, t, n = !1) {+ let r = e == null ? this.collection.getFirstKey() : this.collection.getKeyAfter(e);+ for (; r != null;) {+ let e = this.collection.getItem(r);+ if (!e) return null;+ if ((n || !this.isDisabled(e)) && (!t || t(e))) return r;+ if (r = this.collection.getKeyAfter(r), r == null) return null;+ }+ return null;}- getKeyBelow(e) {- return this.tabDirection ? null : this.getNextKey(e);+ getKeyForItemInRowByIndex(e, t = 0) {+ if (t < 0) return null;+ let n = this.collection.getItem(e);+ if (!n) return null;+ let r = 0;+ for (let e of oc(n, this.collection)) {+ if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;+ r++;+ }+ return null;}- getNextKey(e) {- let t = e;- do- t = this.collection.getKeyAfter(t), t ??= this.collection.getFirstKey();- while (t != null && this.isDisabled(t) && t !== e);- return t;+ getKeyBelow(e, t) {+ let n = e, r = this.collection.getItem(n);+ if (!r || (this.isCell(r) && (n = r.parentKey ?? null), n == null)) return null;+ if (n = this.findNextKey(n, (e) => e.type === "item", t?.includeDisabled), n != null) {+ if (this.isCell(r)) {+ let e = r.colIndex ? r.colIndex : r.index;+ return this.getKeyForItemInRowByIndex(n, e);+ }+ if (this.focusMode === "row") return n;+ }+ return null;}- getPreviousKey(e) {- let t = e;- do- t = this.collection.getKeyBefore(t), t ??= this.collection.getLastKey();- while (t != null && this.isDisabled(t) && t !== e);- return t;+ getKeyAbove(e, t) {+ let n = e, r = this.collection.getItem(n);+ if (!r || (this.isCell(r) && (n = r.parentKey ?? null), n == null)) return null;+ if (n = this.findPreviousKey(n, (e) => e.type === "item", t?.includeDisabled), n != null) {+ if (this.isCell(r)) {+ let e = r.colIndex ? r.colIndex : r.index;+ return this.getKeyForItemInRowByIndex(n, e);+ }+ if (this.focusMode === "row") return n;+ }+ return null;}-};-//#endregion-//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs-function gu(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Pi(), { collectionProps: l } = $s({- ref: n,- selectionManager: o,- keyboardDelegate: (0, x.useMemo)(() => new hu(a, c, r, s), [- a,- s,- r,- c- ]),- selectOnFocus: i === "automatic",- disallowEmptySelection: !0,- scrollRef: n,- linkBehavior: "selection"- }), u = pr();- return fu.set(t, u), { tabListProps: {- ...V(l, Ci({- ...e,- id: u- })),- role: "tablist",- "aria-orientation": r,- tabIndex: void 0- } };-}-//#endregion-//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function _u(e, t, n) {- let r = Dc(n) ? void 0 : 0, i = pu(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: V(Ci({- ...e,- id: i,- "aria-labelledby": pu(t, t?.selectedKey, "tab")- }), {- tabIndex: r,- role: "tabpanel",- "aria-describedby": e["aria-describedby"],- "aria-details": e["aria-details"]- }) };-}-//#endregion-//#region node_modules/scheduler/cjs/scheduler.production.js-var vu = /* @__PURE__ */ m(((e) => {- function t(e, t) {- var n = e.length;- e.push(t);- a: for (; 0 < n;) {- var r = n - 1 >>> 1, a = e[r];- if (0 < i(a, t)) e[r] = t, e[n] = a, n = r;- else break a;+ getKeyRightOf(e) {+ let t = this.collection.getItem(e);+ if (!t) return null;+ if (this.isRow(t)) {+ let e = oc(t, this.collection);+ return (this.direction === "rtl" ? lc(e)?.key : sc(e)?.key) ?? null;}+ if (this.isCell(t) && t.parentKey != null) {+ let n = this.collection.getItem(t.parentKey);+ if (!n) return null;+ let r = oc(n, this.collection), i = (this.direction === "rtl" ? cc(r, t.index - 1) : cc(r, t.index + 1)) ?? null;+ return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;+ }+ return null;}- function n(e) {- return e.length === 0 ? null : e[0];+ getKeyLeftOf(e) {+ let t = this.collection.getItem(e);+ if (!t) return null;+ if (this.isRow(t)) {+ let e = oc(t, this.collection);+ return (this.direction === "rtl" ? sc(e)?.key : lc(e)?.key) ?? null;+ }+ if (this.isCell(t) && t.parentKey != null) {+ let n = this.collection.getItem(t.parentKey);+ if (!n) return null;+ let r = oc(n, this.collection), i = (this.direction === "rtl" ? cc(r, t.index + 1) : cc(r, t.index - 1)) ?? null;+ return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;+ }+ return null;}- function r(e) {- if (e.length === 0) return null;- var t = e[0], n = e.pop();- if (n !== t) {- e[0] = n;- a: for (var r = 0, a = e.length, o = a >>> 1; r < o;) {- var s = 2 * (r + 1) - 1, c = e[s], l = s + 1, u = e[l];- if (0 > i(c, n)) l < a && 0 > i(u, c) ? (e[r] = u, e[l] = n, r = l) : (e[r] = c, e[s] = n, r = s);- else if (l < a && 0 > i(u, n)) e[r] = u, e[l] = n, r = l;- else break a;+ getFirstKey(e, t) {+ let n = e ?? null, r;+ if (n != null) {+ if (r = this.collection.getItem(n), !r) return null;+ if (this.isCell(r) && !t && r.parentKey != null) {+ let e = this.collection.getItem(r.parentKey);+ return e ? sc(oc(e, this.collection))?.key ?? null : null;}}- return t;+ if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {+ let e = this.collection.getItem(n);+ if (!e) return null;+ n = sc(oc(e, this.collection))?.key ?? null;+ }+ return n;}- function i(e, t) {- var n = e.sortIndex - t.sortIndex;- return n === 0 ? e.id - t.id : n;+ getLastKey(e, t) {+ let n = e ?? null, r;+ if (n != null) {+ if (r = this.collection.getItem(n), !r) return null;+ if (this.isCell(r) && !t && r.parentKey != null) {+ let e = this.collection.getItem(r.parentKey);+ return e ? lc(oc(e, this.collection))?.key ?? null : null;+ }+ }+ if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {+ let e = this.collection.getItem(n);+ if (!e) return null;+ n = lc(oc(e, this.collection))?.key ?? null;+ }+ return n;}- if (e.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {- var a = performance;- e.unstable_now = function() {- return a.now();- };- } else {- var o = Date, s = o.now();- e.unstable_now = function() {- return o.now() - s;- };+ getKeyPageAbove(e) {+ let t = e, n = this.layoutDelegate.getItemRect(t);+ if (!n) return null;+ let r = Math.max(0, n.y + n.height - this.layoutDelegate.getVisibleRect().height);+ for (; n && n.y > r && t != null && (t = this.getKeyAbove(t) ?? null, t != null);) n = this.layoutDelegate.getItemRect(t);+ return t;}- var c = [], l = [], u = 1, d = null, f = 3, p = !1, m = !1, h = !1, g = !1, _ = typeof setTimeout == "function" ? setTimeout : null, v = typeof clearTimeout == "function" ? clearTimeout : null, y = typeof setImmediate < "u" ? setImmediate : null;- function b(e) {- for (var i = n(l); i !== null;) {- if (i.callback === null) r(l);- else if (i.startTime <= e) r(l), i.sortIndex = i.expirationTime, t(c, i);- else break;- i = n(l);+ getKeyPageBelow(e) {+ let t = e, n = this.layoutDelegate.getItemRect(t);+ if (!n) return null;+ let r = this.layoutDelegate.getVisibleRect().height, i = Math.min(this.layoutDelegate.getContentSize().height, n.y + r);+ for (; n && n.y + n.height < i;) {+ let e = this.getKeyBelow(t);+ if (e == null) break;+ n = this.layoutDelegate.getItemRect(e), t = e;}+ return t;}- function x(e) {- if (h = !1, b(e), !m) {- if (n(c) !== null) m = !0, S || (S = !0, O());- else {- var t = n(l);- t !== null && ee(x, t.startTime - e);+ getKeyForSearch(e, t) {+ let n = t ?? null;+ if (!this.collator) return null;+ let r = this.collection;+ if (n = t ?? this.getFirstKey(), n == null) return null;+ let i = r.getItem(n);+ if (!i) return null;+ i.type === "cell" && (n = i.parentKey ?? null);+ let a = !1;+ for (; n != null;) {+ let t = r.getItem(n);+ if (!t) return null;+ if (t.textValue) {+ let n = t.textValue.slice(0, e.length);+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? sc(oc(t, this.collection))?.key ?? null : t.key;}+ n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);}+ return null;}- var S = !1, C = -1, w = 5, T = -1;- function E() {- return g ? !0 : !(e.unstable_now() - T < w);+}, sd = class {+ constructor(e) {+ this.layout = e;}- function D() {- if (g = !1, S) {- var t = e.unstable_now();- T = t;- var i = !0;- try {- a: {- m = !1, h && (h = !1, v(C), C = -1), p = !0;- var a = f;- try {- b: {- for (b(t), d = n(c); d !== null && !(d.expirationTime > t && E());) {- var o = d.callback;- if (typeof o == "function") {- d.callback = null, f = d.priorityLevel;- var s = o(d.expirationTime <= t);- if (t = e.unstable_now(), typeof s == "function") {- d.callback = s, b(t), i = !0;- break b;- }- d === n(c) && r(c), b(t);- } else r(c);- d = n(c);- }- if (d !== null) i = !0;- else {- var u = n(l);- u !== null && ee(x, u.startTime - t), i = !1;- }- }- break a;- } finally {- d = null, f = a, p = !1;- }- i = void 0;- }- } finally {- i ? O() : S = !1;- }- }+ getContentSize() {+ return this.layout.getContentSize();}- var O;- if (typeof y == "function") O = function() {- y(D);- };- else if (typeof MessageChannel < "u") {- var k = new MessageChannel(), A = k.port2;- k.port1.onmessage = D, O = function() {- A.postMessage(null);- };- } else O = function() {- _(D, 0);- };- function ee(t, n) {- C = _(function() {- t(e.unstable_now());- }, n);+ getItemRect(e) {+ return this.layout.getLayoutInfo(e)?.rect || null;}- e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(e) {- e.callback = null;- }, e.unstable_forceFrameRate = function(e) {- 0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : w = 0 < e ? Math.floor(1e3 / e) : 5;- }, e.unstable_getCurrentPriorityLevel = function() {- return f;- }, e.unstable_next = function(e) {- switch (f) {- case 1:- case 2:- case 3:- var t = 3;- break;- default: t = f;+ getVisibleRect() {+ return this.layout.virtualizer.visibleRect;+ }+}, cd = /* @__PURE__ */ new WeakMap();+//#endregion+//#region node_modules/react-aria/dist/private/grid/useGrid.mjs+function ld(e, t, n) {+ let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;+ !e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");+ let h = hc({+ usage: "search",+ sensitivity: "base"+ }), { direction: g } = Ri(), _ = t.selectionManager.disabledBehavior, v = (0, S.useMemo)(() => a || new od({+ collection: t.collection,+ disabledKeys: t.disabledKeys,+ disabledBehavior: _,+ ref: n,+ direction: g,+ collator: h,+ focusMode: o+ }), [+ a,+ t.collection,+ t.disabledKeys,+ _,+ n,+ g,+ h,+ o+ ]), { collectionProps: y } = ac({+ ref: n,+ selectionManager: m,+ keyboardDelegate: v,+ isVirtualized: r,+ scrollRef: s,+ disallowTypeAhead: i,+ escapeKeyBehavior: d+ }), b = gr(e.id);+ cd.set(t, {+ keyboardDelegate: v,+ actions: {+ onRowAction: l,+ onCellAction: u+ },+ shouldSelectOnPressUp: f,+ keyboardNavigationBehavior: p+ });+ let x = bl({+ selectionManager: m,+ hasItemActions: !!(l || u)+ }), C = U(e, { labelable: !0 }), w = (0, S.useCallback)((e) => {+ if (m.isFocused) {+ z(e.currentTarget, B(e)) || m.setFocused(!1);+ return;}- var n = f;- f = t;- try {- return e();- } finally {- f = n;- }- }, e.unstable_requestPaint = function() {- g = !0;- }, e.unstable_runWithPriority = function(e, t) {- switch (e) {- case 1:- case 2:- case 3:- case 4:- case 5: break;- default: e = 3;- }- var n = f;- f = e;- try {- return t();- } finally {- f = n;- }- }, e.unstable_scheduleCallback = function(r, i, a) {- var o = e.unstable_now();- switch (typeof a == "object" && a ? (a = a.delay, a = typeof a == "number" && 0 < a ? o + a : o) : a = o, r) {- case 1:- var s = -1;- break;- case 2:- s = 250;- break;- case 5:- s = 1073741823;- break;- case 4:- s = 1e4;- break;- default: s = 5e3;- }- return s = a + s, r = {- id: u++,- callback: i,- priorityLevel: r,- 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, ee(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) {- var t = f;- return function() {- var n = f;- f = t;- try {- return e.apply(this, arguments);- } finally {- f = n;- }- };- };-})), yu = /* @__PURE__ */ m(((e, t) => {- t.exports = vu();-})), bu = /* @__PURE__ */ m(((e) => {- var t = yu(), n = v(), r = Gr();- function i(e) {- var t = "https://react.dev/errors/" + e;- if (1 < arguments.length) {- t += "?args[]=" + encodeURIComponent(arguments[1]);- for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);- }- return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";- }- function a(e) {- return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11);- }- function o(e) {- for (var t = e, n = t; n && !n.alternate;) t = n, t.flags & 4098 && (e = t.return), n = t.return;- for (; t.return;) t = t.return;- return t.tag === 3 ? e : null;+ z(e.currentTarget, B(e)) && m.setFocused(!0);+ }, [m]), T = (0, S.useMemo)(() => ({+ onBlur: y.onBlur,+ onFocus: w+ }), [w, y.onBlur]), E = vl(n, { isDisabled: t.collection.size !== 0 }), D = V(C, {+ role: "grid",+ id: b,+ "aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0+ }, t.isKeyboardNavigationDisabled ? T : y, t.collection.size === 0 && { tabIndex: E ? -1 : 0 } || void 0, x);+ return r && (D["aria-rowcount"] = t.collection.size, D["aria-colcount"] = t.collection.columnCount), gl({ getRowText: c }, t), { gridProps: D };+}+//#endregion+//#region node_modules/react-aria/dist/private/table/utils.mjs+var ud = /* @__PURE__ */ new WeakMap();+function dd(e) {+ return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;+}+function fd(e, t) {+ let n = ud.get(e);+ if (!n) throw Error("Unknown grid");+ return `${n}-${dd(t)}`;+}+function pd(e, t, n) {+ let r = ud.get(e);+ if (!r) throw Error("Unknown grid");+ return `${r}-${dd(t)}-${dd(n)}`;+}+function md(e, t) {+ return [...e.collection.rowHeaderColumnKeys].map((n) => pd(e, t, n)).join(" ");+}+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs+var hd = {};+hd = {+ ascending: "تصاعدي",+ ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,+ collapse: "طي",+ columnSize: (e) => `${e.value} \u{628}\u{627}\u{644}\u{628}\u{643}\u{633}\u{644}`,+ descending: "تنازلي",+ descendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{646}\u{627}\u{632}\u{644}\u{64A}`,+ expand: "تمديد",+ resizerDescription: "اضغط على مفتاح Enter لبدء تغيير الحجم",+ select: "تحديد",+ selectAll: "تحديد الكل",+ sortable: "عمود قابل للترتيب"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs+var gd = {};+gd = {+ ascending: "възходящ",+ ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,+ collapse: "Свиване",+ columnSize: (e) => `${e.value} \u{43F}\u{438}\u{43A}\u{441}\u{435}\u{43B}\u{430}`,+ descending: "низходящ",+ descendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432} \u{43D}\u{438}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,+ expand: "Разширяване",+ resizerDescription: "Натиснете „Enter“, за да започнете да преоразмерявате",+ select: "Изберете",+ selectAll: "Изберете всичко",+ sortable: "сортираща колона"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs+var _d = {};+_d = {+ ascending: "vzestupně",+ ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,+ collapse: "Sbalit",+ columnSize: (e) => `${e.value} pixel\u{16F}`,+ descending: "sestupně",+ descendingSort: (e) => `\u{159}azeno sestupn\u{11B} podle sloupce ${e.columnName}`,+ expand: "Roztáhnout",+ resizerDescription: "Stisknutím klávesy Enter začnete měnit velikost",+ select: "Vybrat",+ selectAll: "Vybrat vše",+ sortable: "sloupec s možností řazení"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs+var vd = {};+vd = {+ ascending: "stigende",+ ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,+ collapse: "Skjul",+ columnSize: (e) => `${e.value} pixels`,+ descending: "faldende",+ descendingSort: (e) => `sorteret efter kolonne ${e.columnName} i faldende r\xe6kkef\xf8lge`,+ expand: "Udvid",+ resizerDescription: "Tryk på Enter for at ændre størrelse",+ select: "Vælg",+ selectAll: "Vælg alle",+ sortable: "sorterbar kolonne"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs+var yd = {};+yd = {+ ascending: "aufsteigend",+ ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,+ collapse: "Reduzieren",+ columnSize: (e) => `${e.value} Pixel`,+ descending: "absteigend",+ descendingSort: (e) => `sortiert nach Spalte ${e.columnName} in absteigender Reihenfolge`,+ expand: "Erweitern",+ resizerDescription: "Eingabetaste zum Starten der Größenänderung drücken",+ select: "Auswählen",+ selectAll: "Alles auswählen",+ sortable: "sortierbare Spalte"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs+var bd = {};+bd = {+ ascending: "αύξουσα",+ ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,+ collapse: "Σύμπτυξη",+ columnSize: (e) => `${e.value} pixel`,+ descending: "φθίνουσα",+ descendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3C6}\u{3B8}\u{3AF}\u{3BD}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,+ expand: "Ανάπτυξη",+ resizerDescription: "Πατήστε Enter για έναρξη της αλλαγής μεγέθους",+ select: "Επιλογή",+ selectAll: "Επιλογή όλων",+ sortable: "Στήλη διαλογής"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs+var xd = {};+xd = {+ select: "Select",+ selectAll: "Select All",+ sortable: "sortable column",+ ascending: "ascending",+ descending: "descending",+ ascendingSort: (e) => `sorted by column ${e.columnName} in ascending order`,+ descendingSort: (e) => `sorted by column ${e.columnName} in descending order`,+ columnSize: (e) => `${e.value} pixels`,+ resizerDescription: "Press Enter to start resizing",+ expand: "Expand",+ collapse: "Collapse"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs+var Sd = {};+Sd = {+ ascending: "ascendente",+ ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,+ collapse: "Contraer",+ columnSize: (e) => `${e.value} p\xedxeles`,+ descending: "descendente",+ descendingSort: (e) => `ordenado por columna ${e.columnName} en orden descendente`,+ expand: "Ampliar",+ resizerDescription: "Pulse Intro para empezar a redimensionar",+ select: "Seleccionar",+ selectAll: "Seleccionar todos",+ sortable: "columna ordenable"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs+var Cd = {};+Cd = {+ ascending: "tõusev järjestus",+ ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,+ collapse: "Ahenda",+ columnSize: (e) => `${e.value} pikslit`,+ descending: "laskuv järjestus",+ descendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} laskuvas j\xe4rjestuses`,+ expand: "Laienda",+ resizerDescription: "Suuruse muutmise alustamiseks vajutage klahvi Enter",+ select: "Vali",+ selectAll: "Vali kõik",+ sortable: "sorditav veerg"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs+var wd = {};+wd = {+ ascending: "nouseva",+ ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,+ collapse: "Pienennä",+ columnSize: (e) => `${e.value} pikseli\xe4`,+ descending: "laskeva",+ descendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan laskevassa j\xe4rjestyksess\xe4`,+ expand: "Laajenna",+ resizerDescription: "Aloita koon muutos painamalla Enter-näppäintä",+ select: "Valitse",+ selectAll: "Valitse kaikki",+ sortable: "lajiteltava sarake"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs+var Td = {};+Td = {+ ascending: "croissant",+ ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,+ collapse: "Réduire",+ columnSize: (e) => `${e.value}\xa0pixels`,+ descending: "décroissant",+ descendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre d\xe9croissant`,+ expand: "Développer",+ resizerDescription: "Appuyez sur Entrée pour commencer le redimensionnement.",+ select: "Sélectionner",+ selectAll: "Sélectionner tout",+ sortable: "colonne triable"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs+var Ed = {};+Ed = {+ ascending: "עולה",+ ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,+ collapse: "כווץ",+ columnSize: (e) => `${e.value} \u{5E4}\u{5D9}\u{5E7}\u{5E1}\u{5DC}\u{5D9}\u{5DD}`,+ descending: "יורד",+ descendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5D9}\u{5D5}\u{5E8}\u{5D3}`,+ expand: "הרחב",+ resizerDescription: "הקש Enter כדי לשנות את הגודל",+ select: "בחר",+ selectAll: "בחר הכול",+ sortable: "עמודה שניתן למיין"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs+var Dd = {};+Dd = {+ ascending: "rastući",+ ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,+ collapse: "Sažmi",+ columnSize: (e) => `${e.value} piksela`,+ descending: "padajući",+ descendingSort: (e) => `razvrstano po stupcima ${e.columnName} padaju\u{107}im redoslijedom`,+ expand: "Proširi",+ resizerDescription: "Pritisnite Enter da biste započeli promenu veličine",+ select: "Odaberite",+ selectAll: "Odaberite sve",+ sortable: "stupac koji se može razvrstati"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs+var Od = {};+Od = {+ ascending: "növekvő",+ ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,+ collapse: "Összecsukás",+ columnSize: (e) => `${e.value} k\xe9ppont`,+ descending: "csökkenő",+ descendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, cs\xf6kken\u{151} sorrendben`,+ expand: "Kibontás",+ resizerDescription: "Nyomja le az Enter billentyűt az átméretezés megkezdéséhez",+ select: "Kijelölés",+ selectAll: "Összes kijelölése",+ sortable: "rendezendő oszlop"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs+var kd = {};+kd = {+ ascending: "crescente",+ ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,+ collapse: "Comprimi",+ columnSize: (e) => `${e.value} pixel`,+ descending: "decrescente",+ descendingSort: (e) => `in ordine decrescente in base alla colonna ${e.columnName}`,+ expand: "Espandi",+ resizerDescription: "Premi Invio per iniziare a ridimensionare",+ select: "Seleziona",+ selectAll: "Seleziona tutto",+ sortable: "colonna ordinabile"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs+var Ad = {};+Ad = {+ ascending: "昇順",+ ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,+ collapse: "折りたたむ",+ columnSize: (e) => `${e.value} \u{30D4}\u{30AF}\u{30BB}\u{30EB}`,+ descending: "降順",+ descendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{964D}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,+ expand: "展開",+ resizerDescription: "Enter キーを押してサイズ変更を開始",+ select: "選択",+ selectAll: "すべて選択",+ sortable: "並べ替え可能な列"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs+var jd = {};+jd = {+ ascending: "오름차순",+ ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,+ collapse: "접기",+ columnSize: (e) => `${e.value} \u{D53D}\u{C140}`,+ descending: "내림차순",+ descendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{B0B4}\u{B9BC}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,+ expand: "펼치기",+ resizerDescription: "크기 조정을 시작하려면 Enter를 누르세요.",+ select: "선택",+ selectAll: "모두 선택",+ sortable: "정렬 가능한 열"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs+var Md = {};+Md = {+ ascending: "didėjančia tvarka",+ ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,+ collapse: "Sutraukti",+ columnSize: (e) => `${e.value} piks.`,+ descending: "mažėjančia tvarka",+ descendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} ma\u{17E}\u{117}jan\u{10D}ia tvarka`,+ expand: "Išskleisti",+ resizerDescription: "Paspauskite „Enter“, kad pradėtumėte keisti dydį",+ select: "Pasirinkti",+ selectAll: "Pasirinkti viską",+ sortable: "rikiuojamas stulpelis"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs+var Nd = {};+Nd = {+ ascending: "augošā secībā",+ ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,+ collapse: "Sakļaut",+ columnSize: (e) => `${e.value} pikse\u{13C}i`,+ descending: "dilstošā secībā",+ descendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} dilsto\u{161}\u{101} sec\u{12B}b\u{101}`,+ expand: "Izvērst",+ resizerDescription: "Nospiediet Enter, lai sāktu izmēru mainīšanu",+ select: "Atlasīt",+ selectAll: "Atlasīt visu",+ sortable: "kārtojamā kolonna"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs+var Pd = {};+Pd = {+ ascending: "stigende",+ ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,+ collapse: "Skjul",+ columnSize: (e) => `${e.value} piksler`,+ descending: "synkende",+ descendingSort: (e) => `sortert etter kolonne ${e.columnName} i synkende rekkef\xf8lge`,+ expand: "Utvid",+ resizerDescription: "Trykk på Enter for å starte størrelsesendring",+ select: "Velg",+ selectAll: "Velg alle",+ sortable: "kolonne som kan sorteres"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs+var Fd = {};+Fd = {+ ascending: "oplopend",+ ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,+ collapse: "Samenvouwen",+ columnSize: (e) => `${e.value} pixels`,+ descending: "aflopend",+ descendingSort: (e) => `gesorteerd in aflopende volgorde in kolom ${e.columnName}`,+ expand: "Uitvouwen",+ resizerDescription: "Druk op Enter om het formaat te wijzigen",+ select: "Selecteren",+ selectAll: "Alles selecteren",+ sortable: "sorteerbare kolom"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs+var Id = {};+Id = {+ ascending: "rosnąco",+ ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,+ collapse: "Zwiń",+ columnSize: (e) => `Liczba pikseli: ${e.value}`,+ descending: "malejąco",+ descendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku malej\u{105}cym`,+ expand: "Rozwiń",+ resizerDescription: "Naciśnij Enter, aby rozpocząć zmienianie rozmiaru",+ select: "Zaznacz",+ selectAll: "Zaznacz wszystko",+ sortable: "kolumna z możliwością sortowania"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs+var Ld = {};+Ld = {+ ascending: "crescente",+ ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,+ collapse: "Recolher",+ columnSize: (e) => `${e.value} pixels`,+ descending: "decrescente",+ descendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem decrescente`,+ expand: "Expandir",+ resizerDescription: "Pressione Enter para começar a redimensionar",+ select: "Selecionar",+ selectAll: "Selecionar tudo",+ sortable: "coluna classificável"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs+var Rd = {};+Rd = {+ ascending: "ascendente",+ ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,+ collapse: "Colapsar",+ columnSize: (e) => `${e.value} pixels`,+ descending: "descendente",+ descendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem descendente`,+ expand: "Expandir",+ resizerDescription: "Prima Enter para iniciar o redimensionamento",+ select: "Selecionar",+ selectAll: "Selecionar tudo",+ sortable: "Coluna ordenável"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs+var zd = {};+zd = {+ ascending: "crescătoare",+ ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,+ collapse: "Restrângeți",+ columnSize: (e) => `${e.value} pixeli`,+ descending: "descrescătoare",+ descendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine descresc\u{103}toare`,+ expand: "Extindeți",+ resizerDescription: "Apăsați pe Enter pentru a începe redimensionarea",+ select: "Selectare",+ selectAll: "Selectare totală",+ sortable: "coloană sortabilă"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs+var Bd = {};+Bd = {+ ascending: "возрастание",+ ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,+ collapse: "Свернуть",+ columnSize: (e) => `${e.value} \u{43F}\u{438}\u{43A}\u{441}.`,+ descending: "убывание",+ descendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{443}\u{431}\u{44B}\u{432}\u{430}\u{43D}\u{438}\u{44F}`,+ expand: "Развернуть",+ resizerDescription: "Нажмите клавишу Enter для начала изменения размеров",+ select: "Выбрать",+ selectAll: "Выбрать все",+ sortable: "сортируемый столбец"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs+var Vd = {};+Vd = {+ ascending: "vzostupne",+ ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,+ collapse: "Zbaliť",+ columnSize: (e) => `Po\u{10D}et pixelov: ${e.value}`,+ descending: "zostupne",+ descendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,+ expand: "Rozbaliť",+ resizerDescription: "Stlačením klávesu Enter začnete zmenu veľkosti",+ select: "Vybrať",+ selectAll: "Vybrať všetko",+ sortable: "zoraditeľný stĺpec"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs+var Hd = {};+Hd = {+ ascending: "naraščajoče",+ ascendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v nara\u{161}\u{10D}ajo\u{10D}em vrstnem redu`,+ collapse: "Strni",+ columnSize: (e) => `${e.value} slikovnih pik`,+ descending: "padajoče",+ descendingSort: (e) => `razvr\u{161}\u{10D}eno po stolpcu ${e.columnName} v padajo\u{10D}em vrstnem redu`,+ expand: "Razširi",+ resizerDescription: "Pritisnite tipko Enter da začnete spreminjati velikost",+ select: "Izberite",+ selectAll: "Izberite vse",+ sortable: "razvrstljivi stolpec"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs+var Ud = {};+Ud = {+ ascending: "rastući",+ ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,+ collapse: "Skupi",+ columnSize: (e) => `${e.value} piksela`,+ descending: "padajući",+ descendingSort: (e) => `sortirano po kolonama ${e.columnName} padaju\u{107}im redosledom`,+ expand: "Proširi",+ resizerDescription: "Pritisnite Enter da biste započeli promenu veličine",+ select: "Izaberite",+ selectAll: "Izaberite sve",+ sortable: "kolona koja se može sortirati"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs+var Wd = {};+Wd = {+ ascending: "stigande",+ ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,+ collapse: "Dölj",+ columnSize: (e) => `${e.value} pixlar`,+ descending: "fallande",+ descendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i fallande ordning`,+ expand: "Expandera",+ resizerDescription: "Tryck på Retur för att börja ändra storlek",+ select: "Markera",+ selectAll: "Markera allt",+ sortable: "sorterbar kolumn"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs+var Gd = {};+Gd = {+ ascending: "artan sırada",+ ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,+ collapse: "Daralt",+ columnSize: (e) => `${e.value} piksel`,+ descending: "azalan sırada",+ descendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re azalan d\xfczende s\u{131}rala`,+ expand: "Genişlet",+ resizerDescription: "Yeniden boyutlandırmak için Enter'a basın",+ select: "Seç",+ selectAll: "Tümünü Seç",+ sortable: "Sıralanabilir sütun"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs+var Kd = {};+Kd = {+ ascending: "висхідний",+ ascendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{432}\u{438}\u{441}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,+ collapse: "Згорнути",+ columnSize: (e) => `${e.value} \u{43F}\u{456}\u{43A}\u{441}.`,+ descending: "низхідний",+ descendingSort: (e) => `\u{432}\u{456}\u{434}\u{441}\u{43E}\u{440}\u{442}\u{43E}\u{432}\u{430}\u{43D}\u{43E} \u{437}\u{430} \u{441}\u{442}\u{43E}\u{432}\u{43F}\u{446}\u{435}\u{43C} ${e.columnName} \u{443} \u{43D}\u{438}\u{437}\u{445}\u{456}\u{434}\u{43D}\u{43E}\u{43C}\u{443} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{443}`,+ expand: "Розгорнути",+ resizerDescription: "Натисніть Enter, щоб почати зміну розміру",+ select: "Вибрати",+ selectAll: "Вибрати все",+ sortable: "сортувальний стовпець"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs+var qd = {};+qd = {+ ascending: "升序",+ ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,+ collapse: "折叠",+ columnSize: (e) => `${e.value} \u{50CF}\u{7D20}`,+ descending: "降序",+ descendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{964D}\u{5E8F}\u{6392}\u{5E8F}`,+ expand: "扩展",+ resizerDescription: "按 Enter 开始调整大小。",+ select: "选择",+ selectAll: "全选",+ sortable: "可排序的列"+};+//#endregion+//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs+var Jd = {};+Jd = {+ ascending: "遞增",+ ascendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{589E}\u{6392}\u{5E8F}`,+ collapse: "收合",+ columnSize: (e) => `${e.value} \u{50CF}\u{7D20}`,+ descending: "遞減",+ descendingSort: (e) => `\u{5DF2}\u{4F9D}\u{64DA}\u{300C}${e.columnName}\u{300D}\u{6B04}\u{905E}\u{6E1B}\u{6392}\u{5E8F}`,+ expand: "展開",+ resizerDescription: "按 Enter 鍵以開始調整大小",+ select: "選取",+ selectAll: "全選",+ sortable: "可排序的欄"+};+//#endregion+//#region node_modules/react-aria/dist/private/table/intlStrings.mjs+var Yd = {};+Yd = {+ "ar-AE": hd,+ "bg-BG": gd,+ "cs-CZ": _d,+ "da-DK": vd,+ "de-DE": yd,+ "el-GR": bd,+ "en-US": xd,+ "es-ES": Sd,+ "et-EE": Cd,+ "fi-FI": wd,+ "fr-FR": Td,+ "he-IL": Ed,+ "hr-HR": Dd,+ "hu-HU": Od,+ "it-IT": kd,+ "ja-JP": Ad,+ "ko-KR": jd,+ "lt-LT": Md,+ "lv-LV": Nd,+ "nb-NO": Pd,+ "nl-NL": Fd,+ "pl-PL": Id,+ "pt-BR": Ld,+ "pt-PT": Rd,+ "ro-RO": zd,+ "ru-RU": Bd,+ "sk-SK": Vd,+ "sl-SI": Hd,+ "sr-SP": Ud,+ "sv-SE": Wd,+ "tr-TR": Gd,+ "uk-UA": Kd,+ "zh-CN": qd,+ "zh-TW": Jd+};+//#endregion+//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs+var Xd = class extends od {+ isCell(e) {+ return e.type === "cell" || e.type === "rowheader" || e.type === "column";}- function s(e) {- if (e.tag === 13) {- var t = e.memoizedState;- if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;+ getKeyBelow(e, t) {+ let n = this.collection.getItem(e);+ if (!n) return null;+ if (n.type === "column") {+ let e = sc(oc(n, this.collection));+ if (e) return e.key;+ let t = this.getFirstKey();+ return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);}+ return super.getKeyBelow(e, t);+ }+ getKeyAbove(e, t) {+ let n = this.collection.getItem(e);+ if (!n) return null;+ if (n.type === "column") {+ let e = n.parentKey == null ? null : this.collection.getItem(n.parentKey);+ return e && e.type === "column" ? e.key : null;+ }+ let r = super.getKeyAbove(e, t), i = r == null ? null : this.collection.getItem(r);+ return i && i.type !== "headerrow" ? r : this.isCell(n) ? this.collection.columns[n.index].key : this.collection.columns[0].key;+ }+ findNextColumnKey(e) {+ let t = this.findNextKey(e.key, (e) => e.type === "column");+ if (t != null) return t;+ let n = this.collection.headerRows[e.level];+ for (let e of oc(n, this.collection)) if (e.type === "column") return e.key;return null;}- function c(e) {- if (e.tag === 31) {- var t = e.memoizedState;- if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;+ findPreviousColumnKey(e) {+ let t = this.findPreviousKey(e.key, (e) => e.type === "column");+ if (t != null) return t;+ let n = this.collection.headerRows[e.level], r = [...oc(n, this.collection)];+ for (let e = r.length - 1; e >= 0; e--) {+ let t = r[e];+ if (t.type === "column") return t.key;}return null;}- function l(e) {- if (o(e) !== e) throw Error(i(188));+ getKeyRightOf(e) {+ let t = this.collection.getItem(e);+ return t ? t.type === "column" ? this.direction === "rtl" ? this.findPreviousColumnKey(t) : this.findNextColumnKey(t) : super.getKeyRightOf(e) : null;}- function u(e) {- var t = e.alternate;- if (!t) {- if (t = o(e), t === null) throw Error(i(188));- return t === e ? e : null;- }- for (var n = e, r = t;;) {- var a = n.return;- if (a === null) break;- var s = a.alternate;- if (s === null) {- if (r = a.return, r !== null) {- n = r;- continue;- }- break;+ getKeyLeftOf(e) {+ let t = this.collection.getItem(e);+ return t ? t.type === "column" ? this.direction === "rtl" ? this.findNextColumnKey(t) : this.findPreviousColumnKey(t) : super.getKeyLeftOf(e) : null;+ }+ getKeyForSearch(e, t) {+ if (!this.collator) return null;+ let n = this.collection, r = t ?? this.getFirstKey();+ if (r == null) return null;+ let i = n.getItem(r);+ i?.type === "cell" && (r = i.parentKey ?? null);+ let a = !1;+ for (; r != null;) {+ let o = n.getItem(r);+ if (!o) return null;+ if (o.textValue) {+ let t = o.textValue.slice(0, e.length);+ if (this.collator.compare(t, e) === 0) return o.key;}- if (a.child === s.child) {- for (s = a.child; s;) {- if (s === n) return l(a), e;- if (s === r) return l(a), t;- s = s.sibling;+ for (let r of oc(o, this.collection)) {+ let a = n.columns[r.index];+ if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {+ let a = r.textValue.slice(0, e.length);+ if (this.collator.compare(a, e) === 0) return (t == null ? i : n.getItem(t))?.type === "cell" ? r.key : o.key;}- throw Error(i(188));}- if (n.return !== r.return) n = a, r = s;- else {- for (var c = !1, u = a.child; u;) {- if (u === n) {- c = !0, n = a, r = s;- break;- }- if (u === r) {- c = !0, r = a, n = s;- break;- }- u = u.sibling;+ r = this.getKeyBelow(r), r == null && !a && (r = this.getFirstKey(), a = !0);+ }+ return null;+ }+};+//#endregion+//#region node_modules/react-aria/dist/private/table/useTable.mjs+function Zd(e) {+ return e && e.__esModule ? e.default : e;+}+function Qd(e, t, n) {+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = hc({+ usage: "search",+ sensitivity: "base"+ }), { direction: c } = Ri(), l = t.selectionManager.disabledBehavior, u = (0, S.useMemo)(() => r || new Xd({+ collection: t.collection,+ disabledKeys: t.disabledKeys,+ disabledBehavior: l,+ ref: n,+ direction: c,+ collator: s,+ layoutDelegate: a,+ layout: o+ }), [+ r,+ t.collection,+ t.disabledKeys,+ l,+ n,+ c,+ s,+ a,+ o+ ]), d = gr(e.id);+ ud.set(t, d);+ let { gridProps: f } = ld({+ ...e,+ id: d,+ keyboardDelegate: u+ }, t, n);+ i && (f["aria-rowcount"] = t.collection.size + t.collection.headerRows.length), t.treeColumn != null && (f.role = "treegrid");+ let { column: p, direction: m } = t.sortDescriptor || {}, h = Qi(Zd(Yd), "@react-aria/table"), g = (0, S.useMemo)(() => {+ let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";+ return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;+ }, [+ m,+ p,+ t.collection.columns+ ]), _ = _o(g);+ return so(() => {+ g && ao(g, "assertive", 500);+ }, [g]), { gridProps: V(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };+}+//#endregion+//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs+function $d(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Ri(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = cd.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, S.useRef)(null), h = () => {+ if (n.current) {+ let e = $a(n.current);+ if (p === "child") {+ if (Rt(n.current) && n.current !== It(R(n.current))) return;+ let r = t.selectionManager.childFocusStrategy === "last" ? ef(e) : e.firstChild();+ if (r) {+ lr(r);+ return;}- if (!c) {- for (u = s.child; u;) {- if (u === n) {- c = !0, n = s, r = a;+ }+ (m.current != null && r.key !== m.current || !Rt(n.current)) && lr(n.current);+ }+ }, { itemProps: g, isPressed: _ } = Sl({+ selectionManager: t.selectionManager,+ key: r.key,+ ref: n,+ isVirtualized: i,+ focus: h,+ shouldSelectOnPressUp: s,+ onAction: d ? () => d(r.key) : c,+ isDisabled: t.collection.size === 0+ }), v = V(g, {+ role: "gridcell",+ onKeyDownCapture: f !== "tab" || o ? (e) => {+ let i = It(R(n.current));+ if (!z(e.currentTarget, B(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = $a(n.current);+ switch (a.currentNode = i, e.key) {+ case "ArrowLeft": {+ let t = l === "rtl" ? a.nextNode() : a.previousNode();+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) lr(t), mo(t, { containingElement: lo(n.current) });+ else {+ if (u.getKeyLeftOf?.(r.key) !== r.key) {+ n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- if (u === r) {- c = !0, r = s, n = a;+ p === "cell" && l === "rtl" ? (lr(n.current), mo(n.current, { containingElement: lo(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : ef(a), t && (lr(t), mo(t, { containingElement: lo(n.current) })));+ }+ break;+ }+ case "ArrowRight": {+ let t = l === "rtl" ? a.previousNode() : a.nextNode();+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) lr(t), mo(t, { containingElement: lo(n.current) });+ else {+ if (u.getKeyRightOf?.(r.key) !== r.key) {+ n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- u = u.sibling;+ p === "cell" && l === "ltr" ? (lr(n.current), mo(n.current, { containingElement: lo(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? ef(a) : a.firstChild(), t && (lr(t), mo(t, { containingElement: lo(n.current) })));}- if (!c) throw Error(i(189));+ break;}+ case "ArrowUp":+ case "ArrowDown": !e.altKey && z(n.current, B(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}- if (n.alternate !== r) throw Error(i(190));- }- if (n.tag !== 3) throw Error(i(188));- return n.stateNode.current === n ? e : t;- }- function d(e) {- var t = e.tag;- if (t === 5 || t === 26 || t === 27 || t === 6) return e;- for (e = e.child; e !== null;) {- if (t = d(e), t !== null) return t;- e = e.sibling;- }- return null;+ } : void 0,+ onKeyDown: f === "tab" ? (e) => {+ let r = It(R(n.current));+ if (!(!z(e.currentTarget, B(e)) || t.isKeyboardNavigationDisabled || !n.current || !r)) {+ if (f === "tab" && B(e) !== n.current && e.key !== "Tab") {+ e.stopPropagation();+ return;+ }+ if (e.key === "Tab" && f === "tab") {+ let t = $a(n.current, { tabbable: !0 });+ t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();+ }+ }+ } : void 0,+ "aria-colspan": r.colSpan,+ "aria-colindex": r.colIndex == null ? void 0 : r.colIndex + 1,+ colSpan: i ? void 0 : r.colSpan,+ onFocus: (e) => {+ if (m.current = r.key, B(e) !== n.current) {+ Zn() || t.selectionManager.setFocusedKey(r.key);+ return;+ }+ p === "child" && e.relatedTarget && z(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && It(R(n.current)) === n.current && h();+ });+ },+ ...p === "child" && f === "tab" ? { tabIndex: -1 } : {}+ });+ return i && (v["aria-colindex"] = (r.colIndex ?? r.index) + 1), s && v.tabIndex != null && v.onPointerDown == null && (v.onPointerDown = (e) => {+ let t = e.currentTarget, n = t.getAttribute("tabindex");+ t.removeAttribute("tabindex"), requestAnimationFrame(() => {+ n != null && t.setAttribute("tabindex", n);+ });+ }), {+ gridCellProps: v,+ isPressed: _+ };+}+function ef(e) {+ let t = null, n = null;+ do+ n = e.lastChild(), n && (t = n);+ while (n);+ return t;+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableCell.mjs+function tf(e, t, n) {+ let { gridCellProps: r, isPressed: i } = $d(e, t, n), a = e.node.column?.key;+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = pd(t, e.node.parentKey, a)), {+ gridCellProps: r,+ isPressed: i+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs+function nf(e) {+ return e && e.__esModule ? e.default : e;+}+function rf(e, t, n) {+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = $d({+ focusMode: "child",+ ...e+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = ya({+ isDisabled: !i || o,+ onPress() {+ t.sort(r.key);+ },+ ref: n+ }), { focusableProps: l } = Hr({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !fn() && (u = d ? f : "none");+ let p = Qi(nf(Yd), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && fn() && (m = `${m}, ${p.format(f)}`));+ let h = _o(m), g = t.collection.size === 0;+ return (0, S.useEffect)(() => {+ g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);+ }, [+ g,+ t.selectionManager,+ r.key+ ]), {+ columnHeaderProps: {+ ...V(l, a, s, h, g ? { tabIndex: -1 } : null),+ role: "columnheader",+ id: fd(t, r.key),+ "aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,+ "aria-sort": u+ },+ isPressed: c+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs+function af(e, t, n) {+ let { node: r, isVirtualized: i } = e, a = { role: "row" };+ return i && t.treeColumn == null && (a["aria-rowindex"] = r.index + 1), { rowProps: a };+}+//#endregion+//#region node_modules/react-aria/dist/private/grid/useGridRow.mjs+function of(e, t, n) {+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = cd.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Sl({+ selectionManager: t.selectionManager,+ key: r.key,+ ref: n,+ isVirtualized: i,+ shouldSelectOnPressUp: c || a,+ onAction: l || r?.props?.onAction ? ur(r?.props?.onAction, l) : void 0,+ isDisabled: t.collection.size === 0+ }), f = t.selectionManager.isSelected(r.key), p = {+ role: "row",+ "aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : f,+ "aria-disabled": d.isDisabled || void 0,+ ...u+ };+ return i && (p["aria-rowindex"] = r.index + 1), {+ rowProps: p,+ ...d+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableRow.mjs+function sf(e) {+ return e && e.__esModule ? e.default : e;+}+var cf = {+ expand: {+ ltr: "ArrowRight",+ rtl: "ArrowLeft"+ },+ collapse: {+ ltr: "ArrowLeft",+ rtl: "ArrowRight"}- function f(e, t, n, r, i, a) {- for (; e !== null;) {- if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && n(e, r, i, a) || (e.tag !== 22 || e.memoizedState === null) && (t || e.tag !== 5 && e.tag !== 27) && f(e.child, t, n, r, i, a)) return !0;- e = e.sibling;+};+function lf(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = of(e, t, n), { direction: s } = Ri();+ i && t.treeColumn == null ? a["aria-rowindex"] = r.index + 1 + t.collection.headerRows.length : delete a["aria-rowindex"];+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = Qi(sf(Yd), "@react-aria/table"), u = Di({+ "aria-label": c ? l.format("collapse") : l.format("expand"),+ "aria-labelledby": md(t, r.key)+ }), d = {}, f = {};+ if (t.treeColumn != null) {+ let e = t.collection.getItem(r.key);+ if (e != null) {+ let n = uf(t.collection, r), i = e.props?.hasChildRows || e.props?.UNSTABLE_childItems || n?.type !== "cell", a = t.collection.getItem(r.parentKey), c = a.type === "tablebody" || a.type === "body", l = uf(t.collection, a);+ for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);+ d = {+ onKeyDown: (n) => {+ n.key === cf.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === cf.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));+ },+ "aria-expanded": i ? t.expandedKeys === "all" || t.expandedKeys.has(r.key) : void 0,+ "aria-level": e.level + 1,+ "aria-posinset": e.index - (c ? 0 : t.collection.columnCount) + 1,+ "aria-setsize": l.index - (c ? 0 : t.collection.columnCount) + 1+ }, f = {+ isDisabled: o.isDisabled,+ onPress: () => {+ o.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));+ },+ excludeFromTabOrder: !0,+ preventFocusOnPress: !0,+ "data-react-aria-prevent-focus": !0,+ ...u+ };}- return !1;}- function p(e) {- for (e = e.return; e !== null;) {- if (e.tag === 3 || e.tag === 5 || e.tag === 27) return e;- e = e.return;- }- return null;+ let p = xn(r.props), m = o.hasAction ? p : {};+ return {+ rowProps: {+ ...V(a, d, m),+ "aria-labelledby": md(t, r.key)+ },+ expandButtonProps: f,+ ...o+ };+}+function uf(e, t) {+ return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);+}+//#endregion+//#region node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs+function df() {+ return { rowGroupProps: { role: "rowgroup" } };+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs+function ff() {+ return df();+}+//#endregion+//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs+function pf(e) {+ return e && e.__esModule ? e.default : e;+}+function mf(e, t) {+ let { key: n } = e, { checkboxProps: r } = El(e, t);+ return { checkboxProps: {+ ...r,+ "aria-labelledby": `${r.id} ${md(t, n)}`+ } };+}+function hf(e) {+ let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;+ return { checkboxProps: {+ "aria-label": Qi(pf(Yd), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ isSelected: n,+ isDisabled: r !== "multiple" || e.collection.size === 0 || e.collection.rows.length === 1 && e.collection.rows[0].type === "loader",+ isIndeterminate: !t && !n,+ onChange: () => e.selectionManager.toggleSelectAll()+ } };+}+//#endregion+//#region node_modules/react-aria/dist/private/tabs/utils.mjs+var gf = /* @__PURE__ */ new WeakMap();+function _f(e, t, n) {+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${gf.get(e)}-${n}-${t}`) : "";+}+//#endregion+//#region node_modules/react-aria/dist/private/tabs/useTab.mjs+function vf(e, t, n) {+ let { key: r, isDisabled: i, shouldSelectOnPressUp: a } = e, { selectionManager: o, selectedKey: s } = t, c = r === s, l = i || t.isDisabled || t.selectionManager.isDisabled(r), u = t.collection.getItem(r), { itemProps: d, isPressed: f } = Sl({+ selectionManager: o,+ key: r,+ ref: n,+ isDisabled: l,+ shouldSelectOnPressUp: a ?? u?.props.href != null,+ linkBehavior: "selection"+ }), p = _f(t, r, "tab"), m = _f(t, r, "tabpanel"), { tabIndex: h } = d, g = U(u?.props, { labelable: !0 });+ delete g.id;+ let _ = Sn(u?.props), { focusableProps: v } = Hr({+ ...u?.props,+ isDisabled: l+ }, n);+ return {+ tabProps: V(g, v, _, d, {+ id: p,+ "aria-selected": c,+ "aria-disabled": l || void 0,+ "aria-controls": c ? m : void 0,+ tabIndex: l ? void 0 : h,+ role: "tab"+ }),+ isSelected: c,+ isDisabled: l,+ isPressed: f+ };+}+//#endregion+//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs+var yf = class {+ constructor(e, t, n, r = /* @__PURE__ */ new Set()) {+ this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}- function m(e) {- var t = !1;- for (e = e.return; e !== null && (e.tag === 4 && (t = !0), e.tag !== 3 && e.tag !== 5 && e.tag !== 27);) e = e.return;- return t;+ getKeyLeftOf(e) {+ return this.flipDirection ? this.getNextKey(e) : this.getPreviousKey(e);}- function h(e) {- var t = [null, null], n = p(e);- return n === null || g(t, e, n.child, { foundSelf: !1 }), t;+ getKeyRightOf(e) {+ return this.flipDirection ? this.getPreviousKey(e) : this.getNextKey(e);}- function g(e, t, n, r) {- for (; n !== null;) {- if (n === t) r.foundSelf = !0;- else if (n.tag === 5 || n.tag === 27 || n.tag === 6) {- if (r.foundSelf) return e[1] = n, !0;- e[0] = n;- } else if ((n.tag !== 22 || n.memoizedState === null) && g(e, t, n.child, r)) return !0;- n = n.sibling;- }- return !1;+ isDisabled(e) {+ return this.disabledKeys.has(e) || !!this.collection.getItem(e)?.props?.isDisabled;}- function _(e) {- switch (e.tag) {- case 5:- case 27:- case 6: return e.stateNode;- case 3: return e.stateNode.containerInfo;- default: throw Error(i(559));- }+ getFirstKey() {+ let e = this.collection.getFirstKey();+ return e != null && this.isDisabled(e) && (e = this.getNextKey(e)), e;}- var y = null, b = null;- function x(e, t, n) {- return e === n || e === t && (y = e, !0);+ getLastKey() {+ let e = this.collection.getLastKey();+ return e != null && this.isDisabled(e) && (e = this.getPreviousKey(e)), e;}- function S(e, t, n) {- return e === n ? (b = e, !1) : e === t && (b !== null && (y = e), !0);+ getKeyAbove(e) {+ return this.tabDirection ? null : this.getPreviousKey(e);}- function C(e) {- if (e === null) return null;- do- e = e === null ? null : e.return;- while (e && e.tag !== 5 && e.tag !== 27 && e.tag !== 3);- return e || null;+ getKeyBelow(e) {+ return this.tabDirection ? null : this.getNextKey(e);}- function w(e, t, n) {- for (var r = 0, i = e; i; i = n(i)) r++;- i = 0;- for (var a = t; a; a = n(a)) i++;- for (; 0 < r - i;) e = n(e), r--;- for (; 0 < i - r;) t = n(t), i--;- for (; r--;) {- if (e === t || t !== null && e === t.alternate) return e;- e = n(e), t = n(t);- }- return null;+ getNextKey(e) {+ let t = e;+ do+ t = this.collection.getKeyAfter(t), t ??= this.collection.getFirstKey();+ while (t != null && this.isDisabled(t) && t !== e);+ return t;}- 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"), ee = Symbol.for("react.profiler"), j = Symbol.for("react.consumer"), te = Symbol.for("react.context"), M = 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"), se = Symbol.for("react.memo_cache_sentinel"), ce = Symbol.for("react.view_transition"), le = Symbol.for("react.recoverable"), ue = Symbol.iterator;- function de(e) {- return typeof e != "object" || !e ? null : (e = ue && e[ue] || e["@@iterator"], typeof e == "function" ? e : null);+ getPreviousKey(e) {+ let t = e;+ do+ t = this.collection.getKeyBefore(t), t ??= this.collection.getLastKey();+ while (t != null && this.isDisabled(t) && t !== e);+ return t;}- var fe = Symbol.for("react.client.reference");- function pe(e) {- if (e == null) return null;- if (typeof e == "function") return e.$$typeof === fe ? null : e.displayName || e.name || null;- if (typeof e == "string") return e;- switch (e) {- case k: return "Fragment";- case ee: return "Profiler";- case A: return "StrictMode";- case ne: return "Suspense";- case N: return "SuspenseList";- case ae: return "Activity";- case ce: return "ViewTransition";- }- if (typeof e == "object") switch (e.$$typeof) {- case O: return "Portal";- case te: return e.displayName || "Context";- case j: return (e._context.displayName || "Context") + ".Consumer";- case M:- var t = e.render;- return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;- case re: return t = e.displayName || null, t === null ? pe(e.type) || "Memo" : t;- case ie:- t = e._payload, e = e._init;- try {- return pe(e(t));- } catch {}+};+//#endregion+//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs+function bf(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Ri(), { collectionProps: l } = ac({+ ref: n,+ selectionManager: o,+ keyboardDelegate: (0, S.useMemo)(() => new yf(a, c, r, s), [+ a,+ s,+ r,+ c+ ]),+ selectOnFocus: i === "automatic",+ disallowEmptySelection: !0,+ scrollRef: n,+ linkBehavior: "selection"+ }), u = gr();+ return gf.set(t, u), { tabListProps: {+ ...V(l, Di({+ ...e,+ id: u+ })),+ role: "tablist",+ "aria-orientation": r,+ tabIndex: void 0+ } };+}+//#endregion+//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs+function xf(e, t, n) {+ let r = vl(n) ? void 0 : 0, i = _f(t, e.id ?? t?.selectedKey, "tabpanel");+ return { tabPanelProps: V(Di({+ ...e,+ id: i,+ "aria-labelledby": _f(t, t?.selectedKey, "tab")+ }), {+ tabIndex: r,+ role: "tabpanel",+ "aria-describedby": e["aria-describedby"],+ "aria-details": e["aria-details"]+ }) };+}+//#endregion+//#region node_modules/scheduler/cjs/scheduler.production.js+var Sf = /* @__PURE__ */ h(((e) => {+ function t(e, t) {+ var n = e.length;+ e.push(t);+ a: for (; 0 < n;) {+ var r = n - 1 >>> 1, a = e[r];+ if (0 < i(a, t)) e[r] = t, e[n] = a, n = r;+ else break a;}- return null;- }- var me = Array.isArray, P = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, F = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, he = {- pending: !1,- data: null,- method: null,- action: null- }, ge = [], _e = -1;- function ve(e) {- return { current: e };- }- function ye(e) {- 0 > _e || (e.current = ge[_e], ge[_e] = null, _e--);}- function be(e, t) {- _e++, ge[_e] = e.current, e.current = t;+ function n(e) {+ return e.length === 0 ? null : e[0];}- var xe = ve(null), Se = ve(null), Ce = ve(null), we = ve(null);- function Te(e, t) {- switch (be(Ce, t), be(Se, e), be(xe, null), t.nodeType) {- case 9:- case 11:- e = (e = t.documentElement) && (e = e.namespaceURI) ? dp(e) : 0;- break;- default: if (e = t.tagName, t = t.namespaceURI) t = dp(t), e = fp(t, e);- else switch (e) {- case "svg":- e = 1;- break;- case "math":- e = 2;- break;- default: e = 0;+ function r(e) {+ if (e.length === 0) return null;+ var t = e[0], n = e.pop();+ if (n !== t) {+ e[0] = n;+ a: for (var r = 0, a = e.length, o = a >>> 1; r < o;) {+ var s = 2 * (r + 1) - 1, c = e[s], l = s + 1, u = e[l];+ if (0 > i(c, n)) l < a && 0 > i(u, c) ? (e[r] = u, e[l] = n, r = l) : (e[r] = c, e[s] = n, r = s);+ else if (l < a && 0 > i(u, n)) e[r] = u, e[l] = n, r = l;+ else break a;}}- ye(xe), be(xe, e);+ return t;}- function Ee() {- ye(xe), ye(Se), ye(Ce);+ function i(e, t) {+ var n = e.sortIndex - t.sortIndex;+ return n === 0 ? e.id - t.id : n;}- function De(e) {- var t = e.memoizedState;- t !== null && (ch._currentValue = t.memoizedState, be(we, e)), t = xe.current;- var n = fp(t, e.type);- t !== n && (be(Se, e), be(xe, n));+ if (e.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {+ var a = performance;+ e.unstable_now = function() {+ return a.now();+ };+ } else {+ var o = Date, s = o.now();+ e.unstable_now = function() {+ return o.now() - s;+ };}- function Oe(e) {- Se.current === e && (ye(xe), ye(Se)), we.current === e && (ye(we), ch._currentValue = he);+ var c = [], l = [], u = 1, d = null, f = 3, p = !1, m = !1, h = !1, g = !1, _ = typeof setTimeout == "function" ? setTimeout : null, v = typeof clearTimeout == "function" ? clearTimeout : null, y = typeof setImmediate < "u" ? setImmediate : null;+ function b(e) {+ for (var i = n(l); i !== null;) {+ if (i.callback === null) r(l);+ else if (i.startTime <= e) r(l), i.sortIndex = i.expirationTime, t(c, i);+ else break;+ i = n(l);+ }}- var ke, Ae;- function je(e) {- if (ke === void 0) try {- throw Error();- } catch (e) {- var t = e.stack.trim().match(/\n( *(at )?)/);- ke = t && t[1] || "", Ae = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";+ function x(e) {+ if (h = !1, b(e), !m) {+ if (n(c) !== null) m = !0, S || (S = !0, O());+ else {+ var t = n(l);+ t !== null && j(x, t.startTime - e);+ }}- return "\n" + ke + e + Ae;}- var Me = !1;- function Ne(e, t) {- if (!e || Me) return "";- Me = !0;- var n = Error.prepareStackTrace;- Error.prepareStackTrace = void 0;- try {- var r = { DetermineComponentFrameRoot: function() {- try {- if (t) {- var n = function() {- throw Error();- };- if (Object.defineProperty(n.prototype, "props", { set: function() {- throw Error();- } }), typeof Reflect == "object" && Reflect.construct) {- try {- Reflect.construct(n, []);- } catch (e) {- var r = e;- }- Reflect.construct(e, [], n);- } else {- try {- n.call();- } catch (e) {- r = e;- }- n = !1;- try {- var i = Object.getOwnPropertyDescriptor(e.prototype, "props");- Object.defineProperty(e.prototype, "props", {- configurable: !0,- set: function() {- throw Error();+ var S = !1, C = -1, w = 5, T = -1;+ function E() {+ return g ? !0 : !(e.unstable_now() - T < w);+ }+ function D() {+ if (g = !1, S) {+ var t = e.unstable_now();+ T = t;+ var i = !0;+ try {+ a: {+ m = !1, h && (h = !1, v(C), C = -1), p = !0;+ var a = f;+ try {+ b: {+ for (b(t), d = n(c); d !== null && !(d.expirationTime > t && E());) {+ var o = d.callback;+ if (typeof o == "function") {+ d.callback = null, f = d.priorityLevel;+ var s = o(d.expirationTime <= t);+ if (t = e.unstable_now(), typeof s == "function") {+ d.callback = s, b(t), i = !0;+ break b;}- }), n = !0, new e();- } finally {- n && (i === void 0 ? delete e.prototype.props : Object.defineProperty(e.prototype, "props", i));+ d === n(c) && r(c), b(t);+ } else r(c);+ d = n(c);+ }+ if (d !== null) i = !0;+ else {+ var u = n(l);+ u !== null && j(x, u.startTime - t), i = !1;}}- } else {- try {- throw Error();- } catch (e) {- r = e;- }- (n = e()) && typeof n.catch == "function" && n.catch(function() {});+ break a;+ } finally {+ d = null, f = a, p = !1;}- } catch (e) {- if (e && r && typeof e.stack == "string") return [e.stack, r.stack];- }- return [null, null];- } };- r.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";- var i = Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot, "name");- i && i.configurable && Object.defineProperty(r.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" });- var a = r.DetermineComponentFrameRoot(), o = a[0], s = a[1];- if (o && s) {- var c = o.split("\n"), l = s.split("\n");- for (i = r = 0; r < c.length && !c[r].includes("DetermineComponentFrameRoot");) r++;- for (; i < l.length && !l[i].includes("DetermineComponentFrameRoot");) i++;- if (r === c.length || i === l.length) for (r = c.length - 1, i = l.length - 1; 1 <= r && 0 <= i && c[r] !== l[i];) i--;- for (; 1 <= r && 0 <= i; r--, i--) if (c[r] !== l[i]) {- if (r !== 1 || i !== 1) do- if (r--, i--, 0 > i || c[r] !== l[i]) {- var u = "\n" + c[r].replace(" at new ", " at ");- return e.displayName && u.includes("<anonymous>") && (u = u.replace("<anonymous>", e.displayName)), u;- }- while (1 <= r && 0 <= i);- break;+ i = void 0;}+ } finally {+ i ? O() : S = !1;}- } finally {- Me = !1, Error.prepareStackTrace = n;}- return (n = e ? e.displayName || e.name : "") ? je(n) : "";}- function Pe(e, t) {- switch (e.tag) {- case 26:- case 27:- case 5: return je(e.type);- case 16: return je("Lazy");- case 13: return e.child !== t && t !== null ? je("Suspense Fallback") : je("Suspense");- case 19: return je("SuspenseList");- case 0:- case 15: return Ne(e.type, !1);- case 11: return Ne(e.type.render, !1);- case 1: return Ne(e.type, !0);- case 31: return je("Activity");- case 30: return je("ViewTransition");- default: return "";- }+ var O;+ if (typeof y == "function") O = function() {+ y(D);+ };+ else if (typeof MessageChannel < "u") {+ var k = new MessageChannel(), A = k.port2;+ k.port1.onmessage = D, O = function() {+ A.postMessage(null);+ };+ } else O = function() {+ _(D, 0);+ };+ function j(t, n) {+ C = _(function() {+ t(e.unstable_now());+ }, n);}- function Fe(e) {+ e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(e) {+ e.callback = null;+ }, e.unstable_forceFrameRate = function(e) {+ 0 > e || 125 < e ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : w = 0 < e ? Math.floor(1e3 / e) : 5;+ }, e.unstable_getCurrentPriorityLevel = function() {+ return f;+ }, e.unstable_next = function(e) {+ switch (f) {+ case 1:+ case 2:+ case 3:+ var t = 3;+ break;+ default: t = f;+ }+ var n = f;+ f = t;try {- var t = "", n = null;- do- t += Pe(e, n), n = e, e = e.return;- while (e);- return t;- } catch (e) {- return "\nError generating stack: " + e.message + "\n" + e.stack;+ return e();+ } finally {+ f = n;}- }- var Ie = Object.prototype.hasOwnProperty, Le = t.unstable_scheduleCallback, Re = t.unstable_cancelCallback, ze = t.unstable_shouldYield, Be = t.unstable_requestPaint, Ve = t.unstable_now, He = t.unstable_getCurrentPriorityLevel, Ue = t.unstable_ImmediatePriority, We = t.unstable_UserBlockingPriority, Ge = t.unstable_NormalPriority, Ke = t.unstable_LowPriority, qe = t.unstable_IdlePriority, Je = t.log, Ye = t.unstable_setDisableYieldValue, Xe = null, Ze = null;- function Qe(e) {- if (typeof Je == "function" && Ye(e), Ze && typeof Ze.setStrictMode == "function") try {- Ze.setStrictMode(Xe, e);- } catch {}- }- var $e = Math.clz32 ? Math.clz32 : nt, et = Math.log, tt = Math.LN2;- function nt(e) {- return e >>>= 0, e === 0 ? 32 : 31 - (et(e) / tt | 0) | 0;- }- var rt = 256, it = 262144, at = 4194304;- function ot(e) {- var t = e & 42;- if (t !== 0) return t;- switch (e & -e) {- case 1: return 1;- case 2: return 2;- case 4: return 4;- case 8: return 8;- case 16: return 16;- case 32: return 32;- case 64: return 64;- case 128: return 128;- case 256:- case 512:- case 1024:- case 2048:- case 4096:- case 8192:- case 16384:- case 32768:- case 65536:- case 131072: return e & -e;- case 262144:- case 524288:- case 1048576:- case 2097152: return e & 3932160;- case 4194304:- case 8388608:- case 16777216:- case 33554432: return e & 62914560;- case 67108864: return 67108864;- case 134217728: return 134217728;- case 268435456: return 268435456;- case 536870912: return 536870912;- case 1073741824: return 0;- default: return e;+ }, e.unstable_requestPaint = function() {+ g = !0;+ }, e.unstable_runWithPriority = function(e, t) {+ switch (e) {+ case 1:+ case 2:+ case 3:+ case 4:+ case 5: break;+ default: e = 3;}- }- function st(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 = ot(n))) : i = ot(o) : i = ot(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = ot(n))) : i = ot(o)) : i = ot(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 ct(e, t) {- return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;- }- function lt(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 - $e(n), i = 1 << r;- t |= e[r], n &= ~i;+ var n = f;+ f = e;+ try {+ return t();+ } finally {+ f = n;}- return t;- }- function ut(e, t) {- switch (e) {+ }, e.unstable_scheduleCallback = function(r, i, a) {+ var o = e.unstable_now();+ switch (typeof a == "object" && a ? (a = a.delay, a = typeof a == "number" && 0 < a ? o + a : o) : a = o, r) {case 1:+ var s = -1;+ break;case 2:+ s = 250;+ break;+ case 5:+ s = 1073741823;+ break;case 4:- case 8:- case 64: return t + 250;- case 16:- case 32:- case 128:- case 256:- case 512:- case 1024:- case 2048:- case 4096:- case 8192:- case 16384:- case 32768:- case 65536:- case 131072:- case 262144:- case 524288:- case 1048576:- case 2097152: return t + 5e3;- case 4194304:- case 8388608:- case 16777216:- case 33554432: return -1;- case 67108864:- case 134217728:- case 268435456:- case 536870912:- case 1073741824: return -1;- default: return -1;+ s = 1e4;+ break;+ default: s = 5e3;}- }- function dt() {- var e = at;- return at <<= 1, !(at & 62914560) && (at = 4194304), e;- }- function ft(e) {- for (var t = [], n = 0; 31 > n; n++) t.push(e);- return t;- }- function pt(e, t) {- e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);- }- function mt(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 - $e(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++) {- var p = f[u];- p !== null && (p.lane &= -536870913);+ return s = a + s, r = {+ id: u++,+ callback: i,+ priorityLevel: r,+ 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) {+ var t = f;+ return function() {+ var n = f;+ f = t;+ try {+ return e.apply(this, arguments);+ } finally {+ f = n;}- n &= ~d;+ };+ };+})), Cf = /* @__PURE__ */ h(((e, t) => {+ t.exports = Sf();+})), wf = /* @__PURE__ */ h(((e) => {+ var t = Cf(), n = y(), r = Jr();+ function i(e) {+ var t = "https://react.dev/errors/" + e;+ if (1 < arguments.length) {+ t += "?args[]=" + encodeURIComponent(arguments[1]);+ for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]);}- r !== 0 && ht(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));- }- function ht(e, t, n) {- e.pendingLanes |= t, e.suspendedLanes &= ~t;- var r = 31 - $e(t);- e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;+ return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";}- function gt(e, t) {- var n = e.entangledLanes |= t;- for (e = e.entanglements; n;) {- var r = 31 - $e(n), i = 1 << r;- i & t | e[r] & t && (e[r] |= t), n &= ~i;- }+ function a(e) {+ return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11);}- function _t(e, t) {- var n = t & -t;- return n = n & 42 ? 1 : vt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;+ function o(e) {+ for (var t = e, n = t; n && !n.alternate;) t = n, t.flags & 4098 && (e = t.return), n = t.return;+ for (; t.return;) t = t.return;+ return t.tag === 3 ? e : null;}- function vt(e) {- switch (e) {- case 2:- e = 1;- break;- case 8:- e = 4;- break;- case 32:- e = 16;- break;- case 256:- case 512:- case 1024:- case 2048:- case 4096:- case 8192:- case 16384:- case 32768:- case 65536:- case 131072:- case 262144:- case 524288:- case 1048576:- case 2097152:- case 4194304:- case 8388608:- case 16777216:- case 33554432:- e = 128;- break;- case 268435456:- e = 134217728;- break;- default: e = 0;+ function s(e) {+ if (e.tag === 13) {+ var t = e.memoizedState;+ if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;}- return e;- }- function yt(e) {- return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;- }- function bt() {- var e = F.p;- return e === 0 ? (e = window.event, e === void 0 ? 32 : wh(e.type)) : e;+ return null;}- function xt(e, t) {- var n = F.p;- try {- return F.p = e, t();- } finally {- F.p = n;+ function c(e) {+ if (e.tag === 31) {+ var t = e.memoizedState;+ if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;}+ return null;}- var St = Math.random().toString(36).slice(2), Ct = "__reactFiber$" + St, wt = "__reactProps$" + St, Tt = "__reactContainer$" + St, Et = "__reactEvents$" + St, Dt = "__reactListeners$" + St, I = "__reactHandles$" + St, Ot = "__reactResources$" + St, kt = "__reactMarker$" + St, At = "__reactLoad$" + St;- function jt(e) {- delete e[Ct], delete e[wt], delete e[Dt], delete e[I];+ function l(e) {+ if (o(e) !== e) throw Error(i(188));}- function Mt(e) {- var t;- if (t = e[Ct]) return t;- for (var n = e.parentNode; n;) {- if (t = n[Tt] || n[Ct]) {- if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = pm(e); e !== null;) {- if (n = e[Ct]) return n;- e = pm(e);+ function u(e) {+ var t = e.alternate;+ if (!t) {+ if (t = o(e), t === null) throw Error(i(188));+ return t === e ? e : null;+ }+ for (var n = e, r = t;;) {+ var a = n.return;+ if (a === null) break;+ var s = a.alternate;+ if (s === null) {+ if (r = a.return, r !== null) {+ n = r;+ continue;}- return t;+ break;}- e = n, n = e.parentNode;+ if (a.child === s.child) {+ for (s = a.child; s;) {+ if (s === n) return l(a), e;+ if (s === r) return l(a), t;+ s = s.sibling;+ }+ throw Error(i(188));+ }+ if (n.return !== r.return) n = a, r = s;+ else {+ for (var c = !1, u = a.child; u;) {+ if (u === n) {+ c = !0, n = a, r = s;+ break;+ }+ if (u === r) {+ c = !0, r = a, n = s;+ break;+ }+ u = u.sibling;+ }+ if (!c) {+ for (u = s.child; u;) {+ if (u === n) {+ c = !0, n = s, r = a;+ break;+ }+ if (u === r) {+ c = !0, r = s, n = a;+ break;+ }+ u = u.sibling;+ }+ if (!c) throw Error(i(189));+ }+ }+ if (n.alternate !== r) throw Error(i(190));}- return null;+ if (n.tag !== 3) throw Error(i(188));+ return n.stateNode.current === n ? e : t;}- function Nt(e) {- if (e = e[Ct] || e[Tt]) {- var t = e.tag;- if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;+ function d(e) {+ var t = e.tag;+ if (t === 5 || t === 26 || t === 27 || t === 6) return e;+ for (e = e.child; e !== null;) {+ if (t = d(e), t !== null) return t;+ e = e.sibling;}return null;}- function Pt(e) {- var t = e.tag;- if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;- throw Error(i(33));- }- function Ft(e) {- var t = e[Ot];- return t ||= e[Ot] = {- hoistableStyles: /* @__PURE__ */ new Map(),- hoistableScripts: /* @__PURE__ */ new Map()- }, t;+ function f(e, t, n, r, i, a) {+ for (; e !== null;) {+ if ((e.tag === 5 || e.tag === 27 || e.tag === 6) && n(e, r, i, a) || (e.tag !== 22 || e.memoizedState === null) && (t || e.tag !== 5 && e.tag !== 27) && f(e.child, t, n, r, i, a)) return !0;+ e = e.sibling;+ }+ return !1;}- function It(e) {- e[kt] = !0;+ function p(e) {+ for (e = e.return; e !== null;) {+ if (e.tag === 3 || e.tag === 5 || e.tag === 27) return e;+ e = e.return;+ }+ return null;}- function L(e) {- e[At] = void 0;- }- var Lt = /* @__PURE__ */ new Set(), R = {};- function Rt(e, t) {- zt(e, t), zt(e + "Capture", t);- }- function zt(e, t) {- for (R[e] = t, e = 0; e < t.length; e++) Lt.add(t[e]);- }- var Bt = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Vt = {}, Ht = {};- function Ut(e) {- return Ie.call(Ht, e) ? !0 : Ie.call(Vt, e) ? !1 : Bt.test(e) ? Ht[e] = !0 : (Vt[e] = !0, !1);- }- var z = !1;- function Wt() {- var e = z;- return z = !1, e;+ function m(e) {+ var t = !1;+ for (e = e.return; e !== null && (e.tag === 4 && (t = !0), e.tag !== 3 && e.tag !== 5 && e.tag !== 27);) e = e.return;+ return t;}- function Gt(e, t, n) {- if (Ut(t)) {- if (n === null) e.removeAttribute(t);- else {- switch (typeof n) {- case "undefined":- case "function":- case "symbol":- e.removeAttribute(t);- return;- case "boolean":- var r = t.toLowerCase().slice(0, 5);- if (r !== "data-" && r !== "aria-") {- e.removeAttribute(t);- return;- }- }- e.setAttribute(t, n);- }- }+ function h(e) {+ var t = [null, null], n = p(e);+ return n === null || g(t, e, n.child, { foundSelf: !1 }), t;}- function Kt(e, t, n) {- if (n === null) e.removeAttribute(t);- else {- switch (typeof n) {- case "undefined":- case "function":- case "symbol":- case "boolean":- e.removeAttribute(t);- return;- }- e.setAttribute(t, n);+ function g(e, t, n, r) {+ for (; n !== null;) {+ if (n === t) r.foundSelf = !0;+ else if (n.tag === 5 || n.tag === 27 || n.tag === 6) {+ if (r.foundSelf) return e[1] = n, !0;+ e[0] = n;+ } else if ((n.tag !== 22 || n.memoizedState === null) && g(e, t, n.child, r)) return !0;+ n = n.sibling;}+ return !1;}- function qt(e, t, n, r) {- if (r === null) e.removeAttribute(n);- else {- switch (typeof r) {- case "undefined":- case "function":- case "symbol":- case "boolean":- e.removeAttribute(n);- return;- }- e.setAttributeNS(t, n, r);+ function _(e) {+ switch (e.tag) {+ case 5:+ case 27:+ case 6: return e.stateNode;+ case 3: return e.stateNode.containerInfo;+ default: throw Error(i(559));}}- function Jt(e) {- switch (typeof e) {- case "bigint":- case "boolean":- case "number":- case "string":- case "undefined": return e;- case "object": return e;- default: return "";- }+ var v = null, b = null;+ function x(e, t, n) {+ return e === n || e === t && (v = e, !0);}- function B(e) {- var t = e.type;- return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");+ function S(e, t, n) {+ return e === n ? (b = e, !1) : e === t && (b !== null && (v = e), !0);}- function Yt(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;- return Object.defineProperty(e, t, {- configurable: !0,- get: function() {- return i.call(this);- },- set: function(e) {- n = "" + e, a.call(this, e);- }- }), Object.defineProperty(e, t, { enumerable: r.enumerable }), {- getValue: function() {- return n;- },- setValue: function(e) {- n = "" + e;- },- stopTracking: function() {- e._valueTracker = null, delete e[t];- }- };- }+ function C(e) {+ if (e === null) return null;+ do+ e = e === null ? null : e.return;+ while (e && e.tag !== 5 && e.tag !== 27 && e.tag !== 3);+ return e || null;}- function Xt(e) {- if (!e._valueTracker) {- var t = B(e) ? "checked" : "value";- e._valueTracker = Yt(e, t, "" + e[t]);+ function w(e, t, n) {+ for (var r = 0, i = e; i; i = n(i)) r++;+ i = 0;+ for (var a = t; a; a = n(a)) i++;+ for (; 0 < r - i;) e = n(e), r--;+ for (; 0 < i - r;) t = n(t), i--;+ for (; r--;) {+ if (e === t || t !== null && e === t.alternate) return e;+ e = n(e), t = n(t);}+ return null;}- function Zt(e) {- if (!e) return !1;- var t = e._valueTracker;- if (!t) return !0;- var n = t.getValue(), r = "";- return e && (r = B(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);- }- var Qt = /[\n"\\]/g;- function $t(e) {- return e.replace(Qt, function(e) {- return "\\" + e.charCodeAt(0).toString(16) + " ";- });- }- function en(e, t, n, r, i, a, o, s) {- e.name = "", o != null && typeof o != "function" && typeof o != "symbol" && typeof o != "boolean" ? e.type = o : e.removeAttribute("type"), t == null ? o !== "submit" && o !== "reset" || e.removeAttribute("value") : o === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + Jt(t)) : e.value !== "" + Jt(t) && (e.value = "" + Jt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : nn(e, Jt(n)) : o === "number" && e.value == t ? nn(e, Jt(e.value)) : nn(e, Jt(t)), i == null && a != null && (e.defaultChecked = !!a), i != null && (e.checked = i && typeof i != "function" && typeof i != "symbol"), s != null && typeof s != "function" && typeof s != "symbol" && typeof s != "boolean" ? e.name = "" + Jt(s) : e.removeAttribute("name");+ 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"), P = Symbol.for("react.suspense"), F = Symbol.for("react.suspense_list"), te = Symbol.for("react.memo"), ne = Symbol.for("react.lazy"), re = Symbol.for("react.activity"), ie = Symbol.for("react.legacy_hidden"), ae = Symbol.for("react.memo_cache_sentinel"), oe = Symbol.for("react.view_transition"), se = Symbol.for("react.recoverable"), ce = Symbol.iterator;+ function le(e) {+ return typeof e != "object" || !e ? null : (e = ce && e[ce] || e["@@iterator"], typeof e == "function" ? e : null);}- function tn(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)) {- Xt(e);- return;- }- n = n == null ? "" : "" + Jt(n), t = t == null ? n : "" + Jt(t), s || t === e.value || (e.value = t), e.defaultValue = t;+ var ue = Symbol.for("react.client.reference");+ function de(e) {+ if (e == null) return null;+ if (typeof e == "function") return e.$$typeof === ue ? 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 P: return "Suspense";+ case F: return "SuspenseList";+ case re: return "Activity";+ case oe: return "ViewTransition";}- 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), Xt(e);+ 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:+ var t = e.render;+ return e = e.displayName, e ||= (e = t.displayName || t.name || "", e === "" ? "ForwardRef" : "ForwardRef(" + e + ")"), e;+ case te: return t = e.displayName || null, t === null ? de(e.type) || "Memo" : t;+ case ne:+ t = e._payload, e = e._init;+ try {+ return de(e(t));+ } catch {}+ }+ return null;}- function nn(e, t) {- e.defaultValue !== "" + t && (e.defaultValue = "" + t);+ var fe = Array.isArray, I = n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, pe = {+ pending: !1,+ data: null,+ method: null,+ action: null+ }, me = [], he = -1;+ function ge(e) {+ return { current: e };}- function rn(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 = "" + Jt(n), t = null, i = 0; i < e.length; i++) {- if (e[i].value === n) {- e[i].selected = !0, r && (e[i].defaultSelected = !0);- return;- }- t !== null || e[i].disabled || (t = e[i]);- }- t !== null && (t.selected = !0);- }+ function _e(e) {+ 0 > he || (e.current = me[he], me[he] = null, he--);}- function an(e, t, n) {- if (t != null && (t = "" + Jt(t), t !== e.value && (e.value = t), n == null)) {- e.defaultValue !== t && (e.defaultValue = t);- return;- }- e.defaultValue = n == null ? "" : "" + Jt(n);+ function ve(e, t) {+ he++, me[he] = e.current, e.current = t;}- function on(e, t, n, r) {- if (t == null) {- if (r != null) {- if (n != null) throw Error(i(92));- if (me(r)) {- if (1 < r.length) throw Error(i(93));- r = r[0];- }- n = r;+ var ye = ge(null), be = ge(null), xe = ge(null), Se = ge(null);+ function Ce(e, t) {+ switch (ve(xe, t), ve(be, e), ve(ye, null), t.nodeType) {+ case 9:+ case 11:+ e = (e = t.documentElement) && (e = e.namespaceURI) ? vp(e) : 0;+ break;+ default: if (e = t.tagName, t = t.namespaceURI) t = vp(t), e = yp(t, e);+ else switch (e) {+ case "svg":+ e = 1;+ break;+ case "math":+ e = 2;+ break;+ default: e = 0;}- n ??= "", t = n;}- n = Jt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Xt(e);+ _e(ye), ve(ye, e);}- function sn(e, t) {- if (t) {- var n = e.firstChild;- if (n && n === e.lastChild && n.nodeType === 3) {- n.nodeValue = t;- return;- }- }- e.textContent = t;+ function we() {+ _e(ye), _e(be), _e(xe);}- var cn = 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 ln(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 || cn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";+ function Te(e) {+ var t = e.memoizedState;+ t !== null && (dh._currentValue = t.memoizedState, ve(Se, e)), t = ye.current;+ var n = yp(t, e.type);+ t !== n && (ve(be, e), ve(ye, n));}- function un(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] = "", z = !0);- for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (ln(e, a, r), z = !0);- } else for (var o in t) t.hasOwnProperty(o) && ln(e, o, t[o]);+ function Ee(e) {+ be.current === e && (_e(ye), _e(be)), Se.current === e && (_e(Se), dh._currentValue = pe);}- function dn(e) {- if (e.indexOf("-") === -1) return !1;- switch (e) {- case "annotation-xml":- case "color-profile":- case "font-face":- case "font-face-src":- case "font-face-uri":- case "font-face-format":- case "font-face-name":- case "missing-glyph": return !1;- default: return !0;+ var De, Oe;+ function ke(e) {+ if (De === void 0) try {+ throw Error();+ } catch (e) {+ var t = e.stack.trim().match(/\n( *(at )?)/);+ De = t && t[1] || "", Oe = -1 < e.stack.indexOf("\n at") ? " (<anonymous>)" : -1 < e.stack.indexOf("@") ? "@unknown:0:0" : "";}+ return "\n" + De + e + Oe;}- var fn = /* @__PURE__ */ new Map([- ["acceptCharset", "accept-charset"],- ["htmlFor", "for"],- ["httpEquiv", "http-equiv"],- ["crossOrigin", "crossorigin"],- ["accentHeight", "accent-height"],- ["alignmentBaseline", "alignment-baseline"],- ["arabicForm", "arabic-form"],- ["baselineShift", "baseline-shift"],- ["capHeight", "cap-height"],- ["clipPath", "clip-path"],- ["clipRule", "clip-rule"],- ["colorInterpolation", "color-interpolation"],- ["colorInterpolationFilters", "color-interpolation-filters"],- ["colorProfile", "color-profile"],- ["colorRendering", "color-rendering"],- ["dominantBaseline", "dominant-baseline"],- ["enableBackground", "enable-background"],- ["fillOpacity", "fill-opacity"],- ["fillRule", "fill-rule"],- ["floodColor", "flood-color"],- ["floodOpacity", "flood-opacity"],- ["fontFamily", "font-family"],- ["fontSize", "font-size"],- ["fontSizeAdjust", "font-size-adjust"],- ["fontStretch", "font-stretch"],- ["fontStyle", "font-style"],- ["fontVariant", "font-variant"],- ["fontWeight", "font-weight"],- ["glyphName", "glyph-name"],- ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],- ["glyphOrientationVertical", "glyph-orientation-vertical"],- ["horizAdvX", "horiz-adv-x"],- ["horizOriginX", "horiz-origin-x"],- ["imageRendering", "image-rendering"],- ["letterSpacing", "letter-spacing"],- ["lightingColor", "lighting-color"],- ["markerEnd", "marker-end"],- ["markerMid", "marker-mid"],- ["markerStart", "marker-start"],- ["maskType", "mask-type"],- ["overlinePosition", "overline-position"],- ["overlineThickness", "overline-thickness"],- ["paintOrder", "paint-order"],- ["panose-1", "panose-1"],- ["pointerEvents", "pointer-events"],- ["renderingIntent", "rendering-intent"],- ["shapeRendering", "shape-rendering"],- ["stopColor", "stop-color"],- ["stopOpacity", "stop-opacity"],- ["strikethroughPosition", "strikethrough-position"],- ["strikethroughThickness", "strikethrough-thickness"],- ["strokeDasharray", "stroke-dasharray"],- ["strokeDashoffset", "stroke-dashoffset"],- ["strokeLinecap", "stroke-linecap"],- ["strokeLinejoin", "stroke-linejoin"],- ["strokeMiterlimit", "stroke-miterlimit"],- ["strokeOpacity", "stroke-opacity"],- ["strokeWidth", "stroke-width"],- ["textAnchor", "text-anchor"],- ["textDecoration", "text-decoration"],- ["textRendering", "text-rendering"],- ["transformOrigin", "transform-origin"],- ["underlinePosition", "underline-position"],- ["underlineThickness", "underline-thickness"],- ["unicodeBidi", "unicode-bidi"],- ["unicodeRange", "unicode-range"],- ["unitsPerEm", "units-per-em"],- ["vAlphabetic", "v-alphabetic"],- ["vHanging", "v-hanging"],- ["vIdeographic", "v-ideographic"],- ["vMathematical", "v-mathematical"],- ["vectorEffect", "vector-effect"],- ["vertAdvY", "vert-adv-y"],- ["vertOriginX", "vert-origin-x"],- ["vertOriginY", "vert-origin-y"],- ["wordSpacing", "word-spacing"],- ["writingMode", "writing-mode"],- ["xmlnsXlink", "xmlns:xlink"],- ["xHeight", "x-height"]- ]), pn = /^[\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 mn(e) {- return pn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : 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 vn = null, yn = null;- function bn(e) {- var t = Nt(e);- if (t && (e = t.stateNode)) {- var n = e[wt] || null;- a: switch (e = t.stateNode, t.type) {- case "input":- if (en(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=\"" + $t("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {- var r = n[t];- if (r !== e && r.form === e.form) {- var a = r[wt] || null;- if (!a) throw Error(i(90));- en(r, a.value, a.defaultValue, a.defaultValue, a.checked, a.defaultChecked, a.type, a.name);+ var Ae = !1;+ function je(e, t) {+ if (!e || Ae) return "";+ Ae = !0;+ var n = Error.prepareStackTrace;+ Error.prepareStackTrace = void 0;+ try {+ var r = { DetermineComponentFrameRoot: function() {+ try {+ if (t) {+ var n = function() {+ throw Error();+ };+ if (Object.defineProperty(n.prototype, "props", { set: function() {+ throw Error();+ } }), typeof Reflect == "object" && Reflect.construct) {+ try {+ Reflect.construct(n, []);+ } catch (e) {+ var r = e;+ }+ Reflect.construct(e, [], n);+ } else {+ try {+ n.call();+ } catch (e) {+ r = e;+ }+ n = !1;+ try {+ var i = Object.getOwnPropertyDescriptor(e.prototype, "props");+ Object.defineProperty(e.prototype, "props", {+ configurable: !0,+ set: function() {+ throw Error();+ }+ }), n = !0, new e();+ } finally {+ n && (i === void 0 ? delete e.prototype.props : Object.defineProperty(e.prototype, "props", i));}}- for (t = 0; t < n.length; t++) r = n[t], r.form === e.form && Zt(r);+ } else {+ try {+ throw Error();+ } catch (e) {+ r = e;+ }+ (n = e()) && typeof n.catch == "function" && n.catch(function() {});}- break a;- case "textarea":- an(e, n.value, n.defaultValue);- break a;- case "select": t = n.value, t != null && rn(e, !!n.multiple, t, !1);+ } catch (e) {+ if (e && r && typeof e.stack == "string") return [e.stack, r.stack];+ }+ return [null, null];+ } };+ r.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";+ var i = Object.getOwnPropertyDescriptor(r.DetermineComponentFrameRoot, "name");+ i && i.configurable && Object.defineProperty(r.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" });+ var a = r.DetermineComponentFrameRoot(), o = a[0], s = a[1];+ if (o && s) {+ var c = o.split("\n"), l = s.split("\n");+ for (i = r = 0; r < c.length && !c[r].includes("DetermineComponentFrameRoot");) r++;+ for (; i < l.length && !l[i].includes("DetermineComponentFrameRoot");) i++;+ if (r === c.length || i === l.length) for (r = c.length - 1, i = l.length - 1; 1 <= r && 0 <= i && c[r] !== l[i];) i--;+ for (; 1 <= r && 0 <= i; r--, i--) if (c[r] !== l[i]) {+ if (r !== 1 || i !== 1) do+ if (r--, i--, 0 > i || c[r] !== l[i]) {+ var u = "\n" + c[r].replace(" at new ", " at ");+ return e.displayName && u.includes("<anonymous>") && (u = u.replace("<anonymous>", e.displayName)), u;+ }+ while (1 <= r && 0 <= i);+ break;+ }}- }- }- var xn = !1;- function Sn(e, t, n) {- if (xn) return e(t, n);- xn = !0;- try {- return e(t);} finally {- if (xn = !1, (vn !== null || yn !== null) && (Vd(), vn && (t = vn, e = yn, yn = vn = null, bn(t), e))) for (t = 0; t < e.length; t++) bn(e[t]);+ Ae = !1, Error.prepareStackTrace = n;}+ return (n = e ? e.displayName || e.name : "") ? ke(n) : "";}- function Cn(e, t) {- var n = e.stateNode;- if (n === null) return null;- var r = n[wt] || null;- if (r === null) return null;- n = r[t];- a: switch (t) {- case "onClick":- case "onClickCapture":- case "onDoubleClick":- case "onDoubleClickCapture":- case "onMouseDown":- case "onMouseDownCapture":- case "onMouseMove":- case "onMouseMoveCapture":- case "onMouseUp":- case "onMouseUpCapture":- case "onMouseEnter":- (r = !r.disabled) || (e = e.type, r = e !== "button" && e !== "input" && e !== "select" && e !== "textarea"), e = !r;- break a;- default: e = !1;+ function Me(e, t) {+ switch (e.tag) {+ case 26:+ case 27:+ case 5: return ke(e.type);+ case 16: return ke("Lazy");+ case 13: return e.child !== t && t !== null ? ke("Suspense Fallback") : ke("Suspense");+ case 19: return ke("SuspenseList");+ case 0:+ case 15: return je(e.type, !1);+ case 11: return je(e.type.render, !1);+ case 1: return je(e.type, !0);+ case 31: return ke("Activity");+ case 30: return ke("ViewTransition");+ default: return "";}- if (e) return null;- if (n && typeof n != "function") throw Error(i(231, t, typeof n));- return n;}- 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 {- Tn = !1;+ function Ne(e) {+ try {+ var t = "", n = null;+ do+ t += Me(e, n), n = e, e = e.return;+ while (e);+ return t;+ } catch (e) {+ return "\nError generating stack: " + e.message + "\n" + e.stack;+ }}- 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 kn = i.slice(e, 1 < r ? 1 - r : void 0);+ var Pe = Object.prototype.hasOwnProperty, Fe = t.unstable_scheduleCallback, Ie = t.unstable_cancelCallback, Le = t.unstable_shouldYield, Re = t.unstable_requestPaint, ze = t.unstable_now, Be = t.unstable_getCurrentPriorityLevel, Ve = t.unstable_ImmediatePriority, He = t.unstable_UserBlockingPriority, Ue = t.unstable_NormalPriority, We = t.unstable_LowPriority, Ge = t.unstable_IdlePriority, Ke = t.log, qe = t.unstable_setDisableYieldValue, Je = null, Ye = null;+ function Xe(e) {+ if (typeof Ke == "function" && qe(e), Ye && typeof Ye.setStrictMode == "function") try {+ Ye.setStrictMode(Je, e);+ } catch {}}- 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;+ var Ze = Math.clz32 ? Math.clz32 : et, Qe = Math.log, $e = Math.LN2;+ function et(e) {+ return e >>>= 0, e === 0 ? 32 : 31 - (Qe(e) / $e | 0) | 0;}- function Mn() {- return !0;+ var tt = 256, nt = 262144, rt = 4194304;+ function it(e) {+ var t = e & 42;+ if (t !== 0) return t;+ switch (e & -e) {+ case 1: return 1;+ case 2: return 2;+ case 4: return 4;+ case 8: return 8;+ case 16: return 16;+ case 32: return 32;+ case 64: return 64;+ case 128: return 128;+ case 256:+ case 512:+ case 1024:+ case 2048:+ case 4096:+ case 8192:+ case 16384:+ case 32768:+ case 65536:+ case 131072: return e & -e;+ case 262144:+ case 524288:+ case 1048576:+ case 2097152: return e & 3932160;+ case 4194304:+ case 8388608:+ case 16777216:+ case 33554432: return e & 62914560;+ case 67108864: return 67108864;+ case 134217728: return 134217728;+ case 268435456: return 268435456;+ case 536870912: return 536870912;+ case 1073741824: return 0;+ default: return e;+ }}- function Nn() {- return !1;+ function at(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 = it(n))) : i = it(o) : i = it(s)) : (r = s & ~a, r === 0 ? (o &= s, o === 0 ? n || (n = s & ~e, n !== 0 && (i = it(n))) : i = it(o)) : i = it(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 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) ? 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 = Mn);- },- stopPropagation: function() {- var e = this.nativeEvent;- e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Mn);- },- persist: function() {},- isPersistent: Mn- }), t;+ function ot(e, t) {+ return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;}- var Fn = {- eventPhase: 0,- bubbles: 0,- cancelable: 0,- timeStamp: function(e) {- return e.timeStamp || Date.now();- },- defaultPrevented: 0,- isTrusted: 0- }, In = Pn(Fn), Ln = T({}, Fn, {- view: 0,- detail: 0- }), Rn = Pn(Ln), zn, Bn, Vn, Hn = T({}, Ln, {- screenX: 0,- screenY: 0,- clientX: 0,- clientY: 0,- pageX: 0,- pageY: 0,- ctrlKey: 0,- shiftKey: 0,- altKey: 0,- metaKey: 0,- 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 !== 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 : Bn;+ function st(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 - Ze(n), i = 1 << r;+ t |= e[r], n &= ~i;}- }), 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- })), qn = Pn(T({}, Fn, { clipboardData: function(e) {- return "clipboardData" in e ? e.clipboardData : window.clipboardData;- } })), Jn = Pn(T({}, Fn, { data: 0 })), Yn = {- Esc: "Escape",- Spacebar: " ",- Left: "ArrowLeft",- Up: "ArrowUp",- Right: "ArrowRight",- Down: "ArrowDown",- Del: "Delete",- Win: "OS",- Menu: "ContextMenu",- Apps: "ContextMenu",- Scroll: "ScrollLock",- MozPrintableKey: "Unidentified"- }, Xn = {- 8: "Backspace",- 9: "Tab",- 12: "Clear",- 13: "Enter",- 16: "Shift",- 17: "Control",- 18: "Alt",- 19: "Pause",- 20: "CapsLock",- 27: "Escape",- 32: " ",- 33: "PageUp",- 34: "PageDown",- 35: "End",- 36: "Home",- 37: "ArrowLeft",- 38: "ArrowUp",- 39: "ArrowRight",- 40: "ArrowDown",- 45: "Insert",- 46: "Delete",- 112: "F1",- 113: "F2",- 114: "F3",- 115: "F4",- 116: "F5",- 117: "F6",- 118: "F7",- 119: "F8",- 120: "F9",- 121: "F10",- 122: "F11",- 123: "F12",- 144: "NumLock",- 145: "ScrollLock",- 224: "Meta"- }, Zn = {- Alt: "altKey",- Control: "ctrlKey",- Meta: "metaKey",- Shift: "shiftKey"- };- function Qn(e) {- var t = this.nativeEvent;- return t.getModifierState ? t.getModifierState(e) : (e = Zn[e]) ? !!t[e] : !1;- }- function $n() {- return Qn;+ return t;}- var er = Pn(T({}, Ln, {- key: function(e) {- if (e.key) {- var t = Yn[e.key] || e.key;- if (t !== "Unidentified") return t;- }- 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,- ctrlKey: 0,- shiftKey: 0,- altKey: 0,- metaKey: 0,- repeat: 0,- locale: 0,- getModifierState: $n,- charCode: function(e) {- 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" ? jn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;- }- })), tr = Pn(T({}, Hn, {- pointerId: 0,- width: 0,- height: 0,- pressure: 0,- tangentialPressure: 0,- tiltX: 0,- tiltY: 0,- twist: 0,- pointerType: 0,- isPrimary: 0- })), nr = Pn(T({}, Fn, { submitter: 0 })), rr = Pn(T({}, Ln, {- touches: 0,- targetTouches: 0,- changedTouches: 0,- altKey: 0,- metaKey: 0,- ctrlKey: 0,- shiftKey: 0,- getModifierState: $n- })), ir = Pn(T({}, Fn, {- propertyName: 0,- elapsedTime: 0,- pseudoElement: 0- })), ar = Pn(T({}, Hn, {- deltaX: function(e) {- return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;- },- deltaY: function(e) {- return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0;- },- deltaZ: 0,- deltaMode: 0- })), or = Pn(T({}, Fn, {- newState: 0,- oldState: 0,- source: 0- })), sr = [- 9,- 13,- 27,- 32- ], 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) {+ function ct(e, t) {switch (e) {- case "keyup": return sr.indexOf(t.keyCode) !== -1;- case "keydown": return t.keyCode !== 229;- case "keypress":- case "mousedown":- case "focusout": return !0;- default: return !1;+ case 1:+ case 2:+ case 4:+ case 8:+ case 64: return t + 250;+ case 16:+ case 32:+ case 128:+ case 256:+ case 512:+ case 1024:+ case 2048:+ case 4096:+ case 8192:+ case 16384:+ case 32768:+ case 65536:+ case 131072:+ case 262144:+ case 524288:+ case 1048576:+ case 2097152: return t + 5e3;+ case 4194304:+ case 8388608:+ case 16777216:+ case 33554432: return -1;+ case 67108864:+ case 134217728:+ case 268435456:+ case 536870912:+ case 1073741824: return -1;+ default: return -1;}}- function hr(e) {- return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;+ function lt() {+ var e = rt;+ return rt <<= 1, !(rt & 62914560) && (rt = 4194304), e;}- var gr = !1;- function _r(e, t) {- switch (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 ut(e) {+ for (var t = [], n = 0; 31 > n; n++) t.push(e);+ return t;}- 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":- if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) {- if (t.char && 1 < t.char.length) return t.char;- if (t.which) return String.fromCharCode(t.which);- }- return null;- case "compositionend": return dr && t.locale !== "ko" ? null : t.data;- default: return null;- }- }- var yr = {- color: !0,- date: !0,- datetime: !0,- "datetime-local": !0,- email: !0,- month: !0,- number: !0,- password: !0,- range: !0,- search: !0,- tel: !0,- text: !0,- time: !0,- url: !0,- week: !0- };- function V(e) {- var t = e && e.nodeName && e.nodeName.toLowerCase();- return t === "input" ? !!yr[e.type] : t === "textarea";- }- function br(e, t, n, r) {- vn ? yn ? yn.push(r) : yn = [r] : vn = r, t = Jf(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) {- Vf(e, 0);- }- function wr(e) {- if (Zt(Pt(e))) return e;- }- function Tr(e, t) {- if (e === "change") return t;+ function dt(e, t) {+ e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);}- var Er = !1;- if (wn) {- var Dr;- if (wn) {- var Or = "oninput" in document;- if (!Or) {- var kr = document.createElement("div");- kr.setAttribute("oninput", "return;"), Or = typeof kr.oninput == "function";+ function ft(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 - Ze(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++) {+ var p = f[u];+ p !== null && (p.lane &= -536870913);}- Dr = Or;- } else Dr = !1;- Er = Dr && (!document.documentMode || 9 < document.documentMode);- }- function Ar() {- xr && (xr.detachEvent("onpropertychange", jr), Sr = xr = null);- }- function jr(e) {- if (e.propertyName === "value" && wr(Sr)) {- var t = [];- br(t, Sr, e, _n(e)), Sn(Cr, t);+ n &= ~d;}+ r !== 0 && pt(e, r, 0), a !== 0 && i === 0 && e.tag !== 0 && (e.suspendedLanes |= a & ~(o & ~t));}- function Mr(e, t, n) {- e === "focusin" ? (Ar(), xr = t, Sr = n, xr.attachEvent("onpropertychange", jr)) : e === "focusout" && Ar();+ function pt(e, t, n) {+ e.pendingLanes |= t, e.suspendedLanes &= ~t;+ var r = 31 - Ze(t);+ e.entangledLanes |= t, e.entanglements[r] = e.entanglements[r] | 1073741824 | n & 261930;}- function Nr(e) {- if (e === "selectionchange" || e === "keyup" || e === "keydown") return wr(Sr);+ function mt(e, t) {+ var n = e.entangledLanes |= t;+ for (e = e.entanglements; n;) {+ var r = 31 - Ze(n), i = 1 << r;+ i & t | e[r] & t && (e[r] |= t), n &= ~i;+ }}- function Pr(e, t) {- if (e === "click") return wr(t);+ function ht(e, t) {+ var n = t & -t;+ return n = n & 42 ? 1 : gt(n), (n & (e.suspendedLanes | t)) === 0 ? n : 0;}- function Fr(e, t) {- if (e === "input" || e === "change") return wr(t);+ function gt(e) {+ switch (e) {+ case 2:+ e = 1;+ break;+ case 8:+ e = 4;+ break;+ case 32:+ e = 16;+ break;+ case 256:+ case 512:+ case 1024:+ case 2048:+ case 4096:+ case 8192:+ case 16384:+ case 32768:+ case 65536:+ case 131072:+ case 262144:+ case 524288:+ case 1048576:+ case 2097152:+ case 4194304:+ case 8388608:+ case 16777216:+ case 33554432:+ e = 128;+ break;+ case 268435456:+ e = 134217728;+ break;+ default: e = 0;+ }+ return e;}- function Ir(e, t) {- return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;+ function _t(e) {+ return e &= -e, 2 < e ? 8 < e ? e & 134217727 ? 32 : 268435456 : 8 : 2;}- var Lr = typeof Object.is == "function" ? Object.is : Ir;- function Rr(e, t) {- if (Lr(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 (!Ie.call(t, i) || !Lr(e[i], t[i])) return !1;- }- return !0;+ function vt() {+ var e = L.p;+ return e === 0 ? (e = window.event, e === void 0 ? 32 : Dh(e.type)) : e;}- function zr(e) {- if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;+ function yt(e, t) {+ var n = L.p;try {- return e.activeElement || e.body;- } catch {- return e.body;+ return L.p = e, t();+ } finally {+ L.p = n;}}- function Br(e) {- for (; e && e.firstChild;) e = e.firstChild;- return e;+ var bt = Math.random().toString(36).slice(2), xt = "__reactFiber$" + bt, St = "__reactProps$" + bt, Ct = "__reactContainer$" + bt, wt = "__reactEvents$" + bt, Tt = "__reactListeners$" + bt, Et = "__reactHandles$" + bt, R = "__reactResources$" + bt, Dt = "__reactMarker$" + bt, Ot = "__reactLoad$" + bt;+ function kt(e) {+ delete e[xt], delete e[St], delete e[Tt], delete e[Et];}- function Vr(e, t) {- var n = Br(e);- e = 0;- for (var r; n;) {- if (n.nodeType === 3) {- if (r = e + n.textContent.length, e <= t && r >= t) return {- node: n,- offset: t - e- };- e = r;- }- a: {- for (; n;) {- if (n.nextSibling) {- n = n.nextSibling;- break a;- }- n = n.parentNode;+ function At(e) {+ var t;+ if (t = e[xt]) return t;+ for (var n = e.parentNode; n;) {+ if (t = n[Ct] || n[xt]) {+ if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = _m(e); e !== null;) {+ if (n = e[xt]) return n;+ e = _m(e);}- n = void 0;+ return t;}- n = Br(n);+ e = n, n = e.parentNode;}+ return null;}- 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) {- e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;- for (var t = zr(e.document); t instanceof e.HTMLIFrameElement;) {- try {- var n = typeof t.contentWindow.location.href == "string";- } catch {- n = !1;- }- if (n) e = t.contentWindow;- else break;- t = zr(e.document);+ function jt(e) {+ if (e = e[xt] || e[Ct]) {+ var t = e.tag;+ if (t === 5 || t === 6 || t === 13 || t === 31 || t === 26 || t === 27 || t === 3) return e;}- return t;+ return null;}- function Wr(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");+ function Mt(e) {+ var t = e.tag;+ if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode;+ throw Error(i(33));}- 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;- Xr || qr == null || qr !== zr(r) || (r = qr, "selectionStart" in r && Wr(r) ? r = {- start: r.selectionStart,- end: r.selectionEnd- } : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {- anchorNode: r.anchorNode,- anchorOffset: r.anchorOffset,- focusNode: r.focusNode,- focusOffset: r.focusOffset- }), Yr && Rr(Yr, r) || (Yr = r, r = Jf(Jr, "onSelect"), 0 < r.length && (t = new In("onSelect", "select", null, t, n), e.push({- event: t,- listeners: r- }), t.target = qr)));+ function Nt(e) {+ var t = e[R];+ return t ||= e[R] = {+ hoistableStyles: /* @__PURE__ */ new Map(),+ hoistableScripts: /* @__PURE__ */ new Map()+ }, t;}- function Qr(e, t) {- var n = {};- return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;+ function Pt(e) {+ e[Dt] = !0;}- var $r = {- animationend: Qr("Animation", "AnimationEnd"),- animationiteration: Qr("Animation", "AnimationIteration"),- animationstart: Qr("Animation", "AnimationStart"),- transitionrun: Qr("Transition", "TransitionRun"),- transitionstart: Qr("Transition", "TransitionStart"),- transitioncancel: Qr("Transition", "TransitionCancel"),- transitionend: Qr("Transition", "TransitionEnd")- }, ei = {}, ti = {};- wn && (ti = document.createElement("div").style, "AnimationEvent" in window || (delete $r.animationend.animation, delete $r.animationiteration.animation, delete $r.animationstart.animation), "TransitionEvent" in window || delete $r.transitionend.transition);- function ni(e) {- if (ei[e]) return ei[e];- if (!$r[e]) return e;- var t = $r[e], n;- for (n in t) if (t.hasOwnProperty(n) && n in ti) return ei[e] = t[n];- return e;+ function Ft(e) {+ e[Ot] = void 0;}- var ri = ni("animationend"), ii = ni("animationiteration"), ai = ni("animationstart"), oi = ni("transitionrun"), si = ni("transitionstart"), ci = ni("transitioncancel"), li = ni("transitionend"), ui = /* @__PURE__ */ new Map(), di = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");- di.push("scrollEnd");- function fi(e, t) {- ui.set(e, t), Rt(t, [e]);+ var z = /* @__PURE__ */ new Set(), It = {};+ function B(e, t) {+ Lt(e, t), Lt(e + "Capture", t);}- var pi = 0;- function mi(e, t) {- if (e.name != null && e.name !== "auto") return e.name;- if (t.autoName !== null) return t.autoName;- e = Cd.identifierPrefix;- var n = pi++;- return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;+ function Lt(e, t) {+ for (It[e] = t, e = 0; e < t.length; e++) z.add(t[e]);}- function hi(e) {- if (e == null || typeof e == "string") return e;- var t = null, n = jd;- if (n !== null) for (var r = 0; r < n.length; r++) {- var i = e[n[r]];- if (i != null) {- if (i === "none") return "none";- t = t == null ? i : t + (" " + i);- }- }- return t ?? e.default;+ 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 = {}, Bt = {};+ function Vt(e) {+ return Pe.call(Bt, e) ? !0 : Pe.call(zt, e) ? !1 : Rt.test(e) ? Bt[e] = !0 : (zt[e] = !0, !1);}- function gi(e, t) {- return e = hi(e), t = hi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;+ var Ht = !1;+ function Ut() {+ var e = Ht;+ return Ht = !1, e;}- var _i = typeof reportError == "function" ? reportError : function(e) {- if (typeof window == "object" && typeof window.ErrorEvent == "function") {- var t = new window.ErrorEvent("error", {- bubbles: !0,- cancelable: !0,- message: typeof e == "object" && e && typeof e.message == "string" ? String(e.message) : String(e),- error: e- });- if (!window.dispatchEvent(t)) return;- } else if (typeof process == "object" && typeof process.emit == "function") {- process.emit("uncaughtException", e);- return;+ function Wt(e, t, n) {+ if (Vt(t)) {+ if (n === null) e.removeAttribute(t);+ else {+ switch (typeof n) {+ case "undefined":+ case "function":+ case "symbol":+ e.removeAttribute(t);+ return;+ case "boolean":+ var r = t.toLowerCase().slice(0, 5);+ if (r !== "data-" && r !== "aria-") {+ e.removeAttribute(t);+ return;+ }+ }+ e.setAttribute(t, n);+ }}- console.error(e);- }, vi = [], yi = 0, bi = 0;- function xi() {- for (var e = yi, t = bi = yi = 0; t < e;) {- var n = vi[t];- vi[t++] = null;- var r = vi[t];- vi[t++] = null;- var i = vi[t];- vi[t++] = null;- var a = vi[t];- if (vi[t++] = null, r !== null && i !== null) {- var o = r.pending;- o === null ? i.next = i : (i.next = o.next, o.next = i), r.pending = i;+ }+ function Gt(e, t, n) {+ if (n === null) e.removeAttribute(t);+ else {+ switch (typeof n) {+ case "undefined":+ case "function":+ case "symbol":+ case "boolean":+ e.removeAttribute(t);+ return;}- a !== 0 && Ti(n, i, a);+ e.setAttribute(t, n);}}- function Si(e, t, n, r) {- vi[yi++] = e, vi[yi++] = t, vi[yi++] = n, vi[yi++] = r, bi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);+ function Kt(e, t, n, r) {+ if (r === null) e.removeAttribute(n);+ else {+ switch (typeof r) {+ case "undefined":+ case "function":+ case "symbol":+ case "boolean":+ e.removeAttribute(n);+ return;+ }+ e.setAttributeNS(t, n, r);+ }}- function Ci(e, t, n, r) {- return Si(e, t, n, r), Ei(e);+ function qt(e) {+ switch (typeof e) {+ case "bigint":+ case "boolean":+ case "number":+ case "string":+ case "undefined": return e;+ case "object": return e;+ default: return "";+ }}- function wi(e, t) {- return Si(e, null, null, t), Ei(e);+ function Jt(e) {+ var t = e.type;+ return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");}- function Ti(e, t, n) {- e.lanes |= n;- var r = e.alternate;- r !== null && (r.lanes |= n);- for (var i = !1, a = e.return; a !== null;) a.childLanes |= n, r = a.alternate, r !== null && (r.childLanes |= n), a.tag === 22 && (e = a.stateNode, e === null || e._visibility & 1 || (i = !0)), e = a, a = a.return;- return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - $e(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;+ function Yt(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;+ return Object.defineProperty(e, t, {+ configurable: !0,+ get: function() {+ return i.call(this);+ },+ set: function(e) {+ n = "" + e, a.call(this, e);+ }+ }), Object.defineProperty(e, t, { enumerable: r.enumerable }), {+ getValue: function() {+ return n;+ },+ setValue: function(e) {+ n = "" + e;+ },+ stopTracking: function() {+ e._valueTracker = null, delete e[t];+ }+ };+ }}- function Ei(e) {- if (50 < Md) throw Md = 0, J = null, Error(i(185));- for (var t = e.return; t !== null;) e = t, t = e.return;- return e.tag === 3 ? e.stateNode : null;+ function Xt(e) {+ if (!e._valueTracker) {+ var t = Jt(e) ? "checked" : "value";+ e._valueTracker = Yt(e, t, "" + e[t]);+ }}- var Di = {};- function Oi(e, t, n, r) {- this.tag = e, this.key = n, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = r, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;+ function Zt(e) {+ if (!e) return !1;+ var t = e._valueTracker;+ if (!t) return !0;+ var n = t.getValue(), r = "";+ return e && (r = Jt(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n && (t.setValue(e), !0);}- function ki(e, t, n, r) {- return new Oi(e, t, n, r);+ var Qt = /[\n"\\]/g;+ function $t(e) {+ return e.replace(Qt, function(e) {+ return "\\" + e.charCodeAt(0).toString(16) + " ";+ });}- function Ai(e) {- return e = e.prototype, !(!e || !e.isReactComponent);+ function en(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 = "" + qt(t)) : e.value !== "" + qt(t) && (e.value = "" + qt(t)), t == null ? n == null ? r != null && e.removeAttribute("value") : nn(e, qt(n)) : o === "number" && e.value == t ? nn(e, qt(e.value)) : nn(e, qt(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 = "" + qt(s) : e.removeAttribute("name");}- function ji(e, t) {- var n = e.alternate;- return n === null ? (n = ki(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 1206910976, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {- lanes: t.lanes,- firstContext: t.firstContext- }, n.sibling = e.sibling, n.index = e.index, n.ref = e.ref, n.refCleanup = e.refCleanup, n;+ function tn(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)) {+ Xt(e);+ return;+ }+ n = n == null ? "" : "" + qt(n), t = t == null ? n : "" + qt(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), Xt(e);}- function Mi(e, t) {- e.flags &= 1206910978;- var n = e.alternate;- return n === null ? (e.childLanes = 0, e.lanes = t, e.child = null, e.subtreeFlags = 0, e.memoizedProps = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null, e.stateNode = null) : (e.childLanes = n.childLanes, e.lanes = n.lanes, e.child = n.child, e.subtreeFlags = 0, e.deletions = null, e.memoizedProps = n.memoizedProps, e.memoizedState = n.memoizedState, e.updateQueue = n.updateQueue, e.type = n.type, t = n.dependencies, e.dependencies = t === null ? null : {- lanes: t.lanes,- firstContext: t.firstContext- }), e;+ function nn(e, t) {+ e.defaultValue !== "" + t && (e.defaultValue = "" + t);}- function Ni(e, t, n, r, a, o) {- var s = 0;- if (r = e, typeof r == "function") Ai(r) && (s = 1);- else if (typeof r == "string") s = Jm(e, n, xe.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;- else a: switch (r) {- case ae: return e = ki(31, n, t, a), e.elementType = ae, e.lanes = o, e;- case k: return Pi(n.children, a, o, t);- case A:- s = 8, a |= 24;- break;- case ee: return e = ki(12, n, t, a | 2), e.elementType = ee, e.lanes = o, e;- case ne: return e = ki(13, n, t, a), e.elementType = ne, e.lanes = o, e;- case N: return e = ki(19, n, t, a), e.elementType = N, e.lanes = o, e;- case oe:- case ce: return e = a | 32, e = ki(30, n, t, e), e.elementType = ce, e.lanes = o, e.stateNode = {- autoName: null,- paired: null,- clones: null,- ref: null- }, e;- default:- if (typeof r == "object" && r) switch (r.$$typeof) {- case te:- s = 10;- break a;- case j:- s = 9;- break a;- case M:- s = 11;- break a;- case re:- s = 14;- break a;- case ie:- s = 16, r = null;- break a;+ function rn(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 = "" + qt(n), t = null, i = 0; i < e.length; i++) {+ if (e[i].value === n) {+ e[i].selected = !0, r && (e[i].defaultSelected = !0);+ return;}- s = 29, n = Error(i(130, e === null ? "null" : typeof e, "")), r = null;+ t !== null || e[i].disabled || (t = e[i]);+ }+ t !== null && (t.selected = !0);}- return t = ki(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;- }- function Pi(e, t, n, r) {- return e = ki(7, e, r, t), e.lanes = n, e;- }- function Fi(e, t, n) {- return e = ki(6, e, null, t), e.lanes = n, e;}- function Ii(e) {- var t = ki(18, null, null, 0);- return t.stateNode = e, t;+ function an(e, t, n) {+ if (t != null && (t = "" + qt(t), t !== e.value && (e.value = t), n == null)) {+ e.defaultValue !== t && (e.defaultValue = t);+ return;+ }+ e.defaultValue = n == null ? "" : "" + qt(n);}- function Li(e, t, n) {- return t = ki(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {- containerInfo: e.containerInfo,- pendingChildren: null,- implementation: e.implementation- }, t;+ function on(e, t, n, r) {+ if (t == null) {+ if (r != null) {+ if (n != null) throw Error(i(92));+ if (fe(r)) {+ if (1 < r.length) throw Error(i(93));+ r = r[0];+ }+ n = r;+ }+ n ??= "", t = n;+ }+ n = qt(t), e.defaultValue = n, r = e.textContent, r === n && r !== "" && r !== null && (e.value = r), Xt(e);}- var Ri = /* @__PURE__ */ new WeakMap();- function zi(e, t) {- if (typeof e == "object" && e) {- var n = Ri.get(e);- return n === void 0 ? (t = {- value: e,- source: t,- stack: Fe(t)- }, Ri.set(e, t), t) : n;+ function sn(e, t) {+ if (t) {+ var n = e.firstChild;+ if (n && n === e.lastChild && n.nodeType === 3) {+ n.nodeValue = t;+ return;+ }}- return {- value: e,- source: t,- stack: Fe(t)- };+ e.textContent = t;}- var Bi = [], Vi = 0, Hi = null, Ui = 0, Wi = [], Gi = 0, Ki = null, qi = 1, Ji = "";- function Yi(e, t) {- Bi[Vi++] = Ui, Bi[Vi++] = Hi, Hi = e, Ui = t;+ var cn = 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 ln(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 || cn.has(t) ? t === "float" ? e.cssFloat = n : e[t] = ("" + n).trim() : e[t] = n + "px";}- function Xi(e, t, n) {- Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, Ki = e;- var r = qi;- e = Ji;- var i = 32 - $e(r) - 1;- r &= ~(1 << i), n += 1;- var a = 32 - $e(t) + i;- if (30 < a) {- var o = i - i % 5;- a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, qi = 1 << 32 - $e(t) + i | n << i | r, Ji = a + e;- } else qi = 1 << a | n << i | r, Ji = e;- }- function Zi(e) {- e.return !== null && (Yi(e, 1), Xi(e, 1, 0));+ function un(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] = "", Ht = !0);+ for (var a in t) r = t[a], t.hasOwnProperty(a) && n[a] !== r && (ln(e, a, r), Ht = !0);+ } else for (var o in t) t.hasOwnProperty(o) && ln(e, o, t[o]);}- function Qi(e) {- for (; e === Hi;) Hi = Bi[--Vi], Bi[Vi] = null, Ui = Bi[--Vi], Bi[Vi] = null;- for (; e === Ki;) Ki = Wi[--Gi], Wi[Gi] = null, Ji = Wi[--Gi], Wi[Gi] = null, qi = Wi[--Gi], Wi[Gi] = null;+ function dn(e) {+ if (e.indexOf("-") === -1) return !1;+ switch (e) {+ case "annotation-xml":+ case "color-profile":+ case "font-face":+ case "font-face-src":+ case "font-face-uri":+ case "font-face-format":+ case "font-face-name":+ case "missing-glyph": return !1;+ default: return !0;+ }}- function $i(e, t) {- Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, qi = t.id, Ji = t.overflow, Ki = e;+ var fn = /* @__PURE__ */ new Map([+ ["acceptCharset", "accept-charset"],+ ["htmlFor", "for"],+ ["httpEquiv", "http-equiv"],+ ["crossOrigin", "crossorigin"],+ ["accentHeight", "accent-height"],+ ["alignmentBaseline", "alignment-baseline"],+ ["arabicForm", "arabic-form"],+ ["baselineShift", "baseline-shift"],+ ["capHeight", "cap-height"],+ ["clipPath", "clip-path"],+ ["clipRule", "clip-rule"],+ ["colorInterpolation", "color-interpolation"],+ ["colorInterpolationFilters", "color-interpolation-filters"],+ ["colorProfile", "color-profile"],+ ["colorRendering", "color-rendering"],+ ["dominantBaseline", "dominant-baseline"],+ ["enableBackground", "enable-background"],+ ["fillOpacity", "fill-opacity"],+ ["fillRule", "fill-rule"],+ ["floodColor", "flood-color"],+ ["floodOpacity", "flood-opacity"],+ ["fontFamily", "font-family"],+ ["fontSize", "font-size"],+ ["fontSizeAdjust", "font-size-adjust"],+ ["fontStretch", "font-stretch"],+ ["fontStyle", "font-style"],+ ["fontVariant", "font-variant"],+ ["fontWeight", "font-weight"],+ ["glyphName", "glyph-name"],+ ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],+ ["glyphOrientationVertical", "glyph-orientation-vertical"],+ ["horizAdvX", "horiz-adv-x"],+ ["horizOriginX", "horiz-origin-x"],+ ["imageRendering", "image-rendering"],+ ["letterSpacing", "letter-spacing"],+ ["lightingColor", "lighting-color"],+ ["markerEnd", "marker-end"],+ ["markerMid", "marker-mid"],+ ["markerStart", "marker-start"],+ ["maskType", "mask-type"],+ ["overlinePosition", "overline-position"],+ ["overlineThickness", "overline-thickness"],+ ["paintOrder", "paint-order"],+ ["panose-1", "panose-1"],+ ["pointerEvents", "pointer-events"],+ ["renderingIntent", "rendering-intent"],+ ["shapeRendering", "shape-rendering"],+ ["stopColor", "stop-color"],+ ["stopOpacity", "stop-opacity"],+ ["strikethroughPosition", "strikethrough-position"],+ ["strikethroughThickness", "strikethrough-thickness"],+ ["strokeDasharray", "stroke-dasharray"],+ ["strokeDashoffset", "stroke-dashoffset"],+ ["strokeLinecap", "stroke-linecap"],+ ["strokeLinejoin", "stroke-linejoin"],+ ["strokeMiterlimit", "stroke-miterlimit"],+ ["strokeOpacity", "stroke-opacity"],+ ["strokeWidth", "stroke-width"],+ ["textAnchor", "text-anchor"],+ ["textDecoration", "text-decoration"],+ ["textRendering", "text-rendering"],+ ["transformOrigin", "transform-origin"],+ ["underlinePosition", "underline-position"],+ ["underlineThickness", "underline-thickness"],+ ["unicodeBidi", "unicode-bidi"],+ ["unicodeRange", "unicode-range"],+ ["unitsPerEm", "units-per-em"],+ ["vAlphabetic", "v-alphabetic"],+ ["vHanging", "v-hanging"],+ ["vIdeographic", "v-ideographic"],+ ["vMathematical", "v-mathematical"],+ ["vectorEffect", "vector-effect"],+ ["vertAdvY", "vert-adv-y"],+ ["vertOriginX", "vert-origin-x"],+ ["vertOriginY", "vert-origin-y"],+ ["wordSpacing", "word-spacing"],+ ["writingMode", "writing-mode"],+ ["xmlnsXlink", "xmlns:xlink"],+ ["xHeight", "x-height"]+ ]), pn = /^[\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 mn(e) {+ return pn.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;}- var ea = null, H = null, U = !1, ta = null, na = !1, ra = Error(i(519));- function ia(e) {- throw ua(zi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), ra;+ 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;}- function aa(e) {- var t = e.stateNode, n = e.type, r = e.memoizedProps;- switch (t[Ct] = e, t[wt] = r, n) {- case "dialog":- Q("cancel", t), Q("close", t);- break;- case "iframe":- case "object":- case "embed":- Q("load", t);- break;- case "video":- case "audio":- for (n = 0; n < zf.length; n++) Q(zf[n], t);- break;- case "source":- Q("error", t);- break;- case "img":- case "image":- case "link":- Q("error", t), Q("load", t);- break;- case "details":- Q("toggle", t);- break;- case "input":- Q("invalid", t), tn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);- break;- case "select":- Q("invalid", t);- break;- case "textarea": Q("invalid", t), on(t, r.value, r.defaultValue, r.children);+ var vn = null, yn = null;+ function bn(e) {+ var t = jt(e);+ if (t && (e = t.stateNode)) {+ var n = e[St] || null;+ a: switch (e = t.stateNode, t.type) {+ case "input":+ if (en(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=\"" + $t("" + t) + "\"][type=\"radio\"]"), t = 0; t < n.length; t++) {+ var r = n[t];+ if (r !== e && r.form === e.form) {+ var a = r[St] || null;+ if (!a) throw Error(i(90));+ en(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 && Zt(r);+ }+ break a;+ case "textarea":+ an(e, n.value, n.defaultValue);+ break a;+ case "select": t = n.value, t != null && rn(e, !!n.multiple, t, !1);+ }}- n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || ep(t.textContent, n) ? (r.popover != null && (Q("beforetoggle", t), Q("toggle", t)), r.onScroll != null && Q("scroll", t), r.onScrollEnd != null && Q("scrollend", t), r.onClick != null && (t.onclick = hn), t = !0) : t = !1, t || ia(e, !0);}- function oa(e) {- for (ea = e.return; ea;) switch (ea.tag) {- case 5:- case 31:- case 13:- na = !1;- return;- case 27:- case 3:- na = !0;- return;- default: ea = ea.return;+ var xn = !1;+ function Sn(e, t, n) {+ if (xn) return e(t, n);+ xn = !0;+ try {+ return e(t);+ } finally {+ if (xn = !1, (vn !== null || yn !== null) && (Ud(), vn && (t = vn, e = yn, yn = vn = null, bn(t), e))) for (t = 0; t < e.length; t++) bn(e[t]);}}- function sa(e) {- if (e !== ea) return !1;- if (!U) return oa(e), U = !0, !1;- var t = e.tag, n;- if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || mp(e.type, e.memoizedProps)), n = !n), n && H && ia(e), oa(e), t === 13) {- if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- H = fm(e);- } else if (t === 31) {- if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));- H = fm(e);- } else t === 27 ? (t = H, Cp(e.type) ? (e = dm, dm = null, H = e) : H = t) : H = ea ? um(e.stateNode.nextSibling) : null;- return !0;+ function Cn(e, t) {+ var n = e.stateNode;+ if (n === null) return null;+ var r = n[St] || null;+ if (r === null) return null;+ n = r[t];+ a: switch (t) {+ case "onClick":+ case "onClickCapture":+ case "onDoubleClick":+ case "onDoubleClickCapture":+ case "onMouseDown":+ case "onMouseDownCapture":+ case "onMouseMove":+ case "onMouseMoveCapture":+ case "onMouseUp":+ case "onMouseUpCapture":+ case "onMouseEnter":+ (r = !r.disabled) || (e = e.type, r = e !== "button" && e !== "input" && e !== "select" && e !== "textarea"), e = !r;+ break a;+ default: e = !1;+ }+ if (e) return null;+ if (n && typeof n != "function") throw Error(i(231, t, typeof n));+ return n;}- function ca() {- H = ea = null, U = !1;+ 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 {+ Tn = !1;}- function la() {- var e = ta;- return e !== null && (hd === null ? hd = e : hd.push.apply(hd, e), ta = null), e;+ 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 kn = i.slice(e, 1 < r ? 1 - r : void 0);}- function ua(e) {- ta === null ? ta = [e] : ta.push(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;}- var da = ve(null), fa = null, pa = null;- function ma(e, t, n) {- be(da, t._currentValue), t._currentValue = n;+ function Mn() {+ return !0;}- function ha(e) {- e._currentValue = da.current, ye(da);+ function Nn() {+ return !1;}- function ga(e, t, n) {- for (; e !== null;) {- var r = e.alternate;- if ((e.childLanes & t) === t ? r !== null && (r.childLanes & t) !== t && (r.childLanes |= t) : (e.childLanes |= t, r !== null && (r.childLanes |= t)), e === n) break;- e = e.return;+ function 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) ? 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 = Mn);+ },+ stopPropagation: function() {+ var e = this.nativeEvent;+ e && (e.stopPropagation ? e.stopPropagation() : typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0), this.isPropagationStopped = Mn);+ },+ persist: function() {},+ isPersistent: Mn+ }), t;}- function _a(e, t, n, r) {- var a = e.child;- for (a !== null && (a.return = e); a !== null;) {- var o = a.dependencies;- if (o !== null) {- var s = a.child;- o = o.firstContext;- a: for (; o !== null;) {- var c = o;- o = a;- for (var l = 0; l < t.length; l++) if (c.context === t[l]) {- o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), ga(o.return, n, e), r || (s = null);- break a;- }- o = c.next;- }- } else if (a.tag === 18) {- if (s = a.return, s === null) throw Error(i(341));- s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), ga(s, n, e), s = null;- } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), ga(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;- if (s !== null) s.return = a;- else for (s = a; s !== null;) {- if (s === e) {- s = null;- break;- }- if (a = s.sibling, a !== null) {- a.return = s.return, s = a;- break;- }- s = s.return;- }- a = s;- }- }- function va(e, t, n, r) {- e = null;- for (var a = t, o = !1; a !== null;) {- if (!o) {- if (a.flags & 524288) o = !0;- else if (a.flags & 262144) break;- }- if (a.tag === 10) {- var s = a.alternate;- 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));- }- } else if (a === we.current) {- if (s = a.alternate, s === null) throw Error(i(387));- s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [ch] : e.push(ch));- }- a = a.return;- }- return e !== null && _a(t, e, n, r), t.flags |= 262144, e !== null;- }- function ya(e) {- for (e = e.firstContext; e !== null;) {- if (!Lr(e.context._currentValue, e.memoizedValue)) return !0;- e = e.next;+ var Fn = {+ eventPhase: 0,+ bubbles: 0,+ cancelable: 0,+ timeStamp: function(e) {+ return e.timeStamp || Date.now();+ },+ defaultPrevented: 0,+ isTrusted: 0+ }, In = Pn(Fn), Ln = T({}, Fn, {+ view: 0,+ detail: 0+ }), Rn = Pn(Ln), zn, Bn, Vn, Hn = T({}, Ln, {+ screenX: 0,+ screenY: 0,+ clientX: 0,+ clientY: 0,+ pageX: 0,+ pageY: 0,+ ctrlKey: 0,+ shiftKey: 0,+ altKey: 0,+ metaKey: 0,+ 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 !== 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 : Bn;}- return !1;- }- function ba(e) {- fa = e, pa = null, e = e.dependencies, e !== null && (e.firstContext = null);- }- function xa(e) {- return Ca(fa, e);- }- function Sa(e, t) {- return fa === null && ba(e), Ca(e, t);- }- function Ca(e, t) {- var n = t._currentValue;- if (t = {- context: t,- memoizedValue: n,- next: null- }, pa === null) {- if (e === null) throw Error(i(308));- pa = t, e.dependencies = {- lanes: 0,- firstContext: t- }, e.flags |= 524288;- } else pa = pa.next = t;- return n;- }- var wa = typeof AbortController < "u" ? AbortController : function() {- var e = [], t = this.signal = {- aborted: !1,- addEventListener: function(t, n) {- e.push(n);- }- };- this.abort = function() {- t.aborted = !0, e.forEach(function(e) {- return e();- });- };- }, Ta = t.unstable_scheduleCallback, Ea = t.unstable_NormalPriority, Da = {- $$typeof: te,- Consumer: null,- Provider: null,- _currentValue: null,- _currentValue2: null,- _threadCount: 0+ }), 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+ })), qn = Pn(T({}, Fn, { clipboardData: function(e) {+ return "clipboardData" in e ? e.clipboardData : window.clipboardData;+ } })), Jn = Pn(T({}, Fn, { data: 0 })), Yn = {+ Esc: "Escape",+ Spacebar: " ",+ Left: "ArrowLeft",+ Up: "ArrowUp",+ Right: "ArrowRight",+ Down: "ArrowDown",+ Del: "Delete",+ Win: "OS",+ Menu: "ContextMenu",+ Apps: "ContextMenu",+ Scroll: "ScrollLock",+ MozPrintableKey: "Unidentified"+ }, Xn = {+ 8: "Backspace",+ 9: "Tab",+ 12: "Clear",+ 13: "Enter",+ 16: "Shift",+ 17: "Control",+ 18: "Alt",+ 19: "Pause",+ 20: "CapsLock",+ 27: "Escape",+ 32: " ",+ 33: "PageUp",+ 34: "PageDown",+ 35: "End",+ 36: "Home",+ 37: "ArrowLeft",+ 38: "ArrowUp",+ 39: "ArrowRight",+ 40: "ArrowDown",+ 45: "Insert",+ 46: "Delete",+ 112: "F1",+ 113: "F2",+ 114: "F3",+ 115: "F4",+ 116: "F5",+ 117: "F6",+ 118: "F7",+ 119: "F8",+ 120: "F9",+ 121: "F10",+ 122: "F11",+ 123: "F12",+ 144: "NumLock",+ 145: "ScrollLock",+ 224: "Meta"+ }, Zn = {+ Alt: "altKey",+ Control: "ctrlKey",+ Meta: "metaKey",+ Shift: "shiftKey"};- function Oa() {- return {- controller: new wa(),- data: /* @__PURE__ */ new Map(),- refCount: 0- };+ function Qn(e) {+ var t = this.nativeEvent;+ return t.getModifierState ? t.getModifierState(e) : (e = Zn[e]) ? !!t[e] : !1;}- function ka(e) {- e.refCount--, e.refCount === 0 && Ta(Ea, function() {- e.controller.abort();- });+ function $n() {+ return Qn;}- function Aa(e, t) {- if (e.pendingLanes & 4194048) {- var n = e.transitionTypes;- for (n === null && (n = e.transitionTypes = []), e = 0; e < t.length; e++) {- var r = t[e];- n.indexOf(r) === -1 && n.push(r);+ var er = Pn(T({}, Ln, {+ key: function(e) {+ if (e.key) {+ var t = Yn[e.key] || e.key;+ if (t !== "Unidentified") return t;}+ 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,+ ctrlKey: 0,+ shiftKey: 0,+ altKey: 0,+ metaKey: 0,+ repeat: 0,+ locale: 0,+ getModifierState: $n,+ charCode: function(e) {+ 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" ? jn(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;}- }- var ja = null;- function Ma(e) {- var t = e.transitionTypes;- return e.transitionTypes = null, t;- }- var Na = null, Pa = 0, Fa = 0, Ia = null;- function La(e, t) {- if (Na === null) {- var n = Na = [];- Pa = 0, Fa = Pf(), Ia = {- status: "pending",- value: void 0,- then: function(e) {- n.push(e);- }- };+ })), tr = Pn(T({}, Hn, {+ pointerId: 0,+ width: 0,+ height: 0,+ pressure: 0,+ tangentialPressure: 0,+ tiltX: 0,+ tiltY: 0,+ twist: 0,+ pointerType: 0,+ isPrimary: 0+ })), nr = Pn(T({}, Fn, { submitter: 0 })), rr = Pn(T({}, Ln, {+ touches: 0,+ targetTouches: 0,+ changedTouches: 0,+ altKey: 0,+ metaKey: 0,+ ctrlKey: 0,+ shiftKey: 0,+ getModifierState: $n+ })), ir = Pn(T({}, Fn, {+ propertyName: 0,+ elapsedTime: 0,+ pseudoElement: 0+ })), ar = Pn(T({}, Hn, {+ deltaX: function(e) {+ return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;+ },+ deltaY: function(e) {+ return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0;+ },+ deltaZ: 0,+ deltaMode: 0+ })), or = Pn(T({}, Fn, {+ newState: 0,+ oldState: 0,+ source: 0+ })), sr = [+ 9,+ 13,+ 27,+ 32+ ], 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 sr.indexOf(t.keyCode) !== -1;+ case "keydown": return t.keyCode !== 229;+ case "keypress":+ case "mousedown":+ case "focusout": return !0;+ default: return !1;}- return Pa++, t.then(Ra, Ra), t;}- function Ra() {- if (--Pa === 0 && (ja = null, Na !== null)) {- Ia !== null && (Ia.status = "fulfilled");- var e = Na;- Na = null, Fa = 0, Ia = null;- for (var t = 0; t < e.length; t++) (0, e[t])();- }+ function hr(e) {+ return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;}- function za(e, t) {- var n = [], r = {- status: "pending",- value: null,- reason: null,- then: function(e) {- n.push(e);- }- };- return e.then(function() {- r.status = "fulfilled", r.value = t;- for (var e = 0; e < n.length; e++) (0, n[e])(t);- }, function(e) {- for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);- }), r;+ var gr = !1;+ function _r(e, t) {+ switch (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;+ }}- var Ba = P.S;- P.S = function(e, t) {- if (vd = Ve(), typeof t == "object" && t && typeof t.then == "function" && La(e, t), ja !== null) for (var n = xf; n !== null;) Aa(n, ja), n = n.next;- if (n = e.types, n !== null) {- for (var r = xf; r !== null;) Aa(r, n), r = r.next;- if (Fa !== 0) {- r = ja, r === null && (r = ja = []);- for (var i = 0; i < n.length; i++) {- var a = n[i];- r.indexOf(a) === -1 && r.push(a);+ 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":+ if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) {+ if (t.char && 1 < t.char.length) return t.char;+ if (t.which) return String.fromCharCode(t.which);}- }+ return null;+ case "compositionend": return dr && t.locale !== "ko" ? null : t.data;+ default: return null;}- Ba !== null && Ba(e, t);+ }+ var yr = {+ color: !0,+ date: !0,+ datetime: !0,+ "datetime-local": !0,+ email: !0,+ month: !0,+ number: !0,+ password: !0,+ range: !0,+ search: !0,+ tel: !0,+ text: !0,+ time: !0,+ url: !0,+ week: !0};- var Va = ve(null);- function Ha() {- var e = Va.current;- return e === null ? td.pooledCache : e;+ function br(e) {+ var t = e && e.nodeName && e.nodeName.toLowerCase();+ return t === "input" ? !!yr[e.type] : t === "textarea";}- function Ua(e, t) {- t === null ? be(Va, Va.current) : be(Va, t.pool);+ function xr(e, t, n, r) {+ vn ? yn ? yn.push(r) : yn = [r] : vn = r, t = tp(t, "onChange"), 0 < t.length && (n = new In("onChange", "change", null, n, r), e.push({+ event: n,+ listeners: t+ }));}- function Wa() {- var e = Ha();- return e === null ? null : {- parent: Da._currentValue,- pool: e- };+ var Sr = null, V = null;+ function Cr(e) {+ qf(e, 0);}- var Ga = Error(i(460)), Ka = Error(i(474)), qa = Error(i(542)), Ja = { then: function() {} };- function Ya(e) {- return e = e.status, e === "fulfilled" || e === "rejected";+ function wr(e) {+ if (Zt(Mt(e))) return e;}- function Xa(e, t, n) {- 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(hn, hn);- else {- if (e = td, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));- e = t, e.status = "pending", e.then(function(e) {- if (t.status === "pending") {- var n = t;- n.status = "fulfilled", n.value = e;- }- }, function(e) {- if (t.status === "pending") {- var n = t;- n.status = "rejected", n.reason = e;- }- });- }- switch (t.status) {- case "fulfilled": return t.value;- case "rejected": throw e = t.reason, eo(e), e;- }- throw Qa = t, Ga;- }+ function Tr(e, t) {+ if (e === "change") return t;}- function Za(e) {- try {- var t = e._init;- return t(e._payload);- } catch (e) {- throw typeof e == "object" && e && typeof e.then == "function" ? (Qa = e, Ga) : e;+ var Er = !1;+ if (wn) {+ var Dr;+ if (wn) {+ var Or = "oninput" in document;+ if (!Or) {+ var kr = document.createElement("div");+ kr.setAttribute("oninput", "return;"), Or = typeof kr.oninput == "function";+ }+ Dr = Or;+ } else Dr = !1;+ Er = Dr && (!document.documentMode || 9 < document.documentMode);+ }+ function Ar() {+ Sr && (Sr.detachEvent("onpropertychange", jr), V = Sr = null);+ }+ function jr(e) {+ if (e.propertyName === "value" && wr(V)) {+ var t = [];+ xr(t, V, e, _n(e)), Sn(Cr, t);}}- var Qa = null;- function $a() {- if (Qa === null) throw Error(i(459));- var e = Qa;- return Qa = null, e;+ function Mr(e, t, n) {+ e === "focusin" ? (Ar(), Sr = t, V = n, Sr.attachEvent("onpropertychange", jr)) : e === "focusout" && Ar();}- function eo(e) {- if (e === Ga || e === qa) throw Error(i(483));+ function Nr(e) {+ if (e === "selectionchange" || e === "keyup" || e === "keydown") return wr(V);}- var to = null, no = 0;- function ro(e) {- var t = no;- return no += 1, to === null && (to = []), Xa(to, e, t);+ function Pr(e, t) {+ if (e === "click") return wr(t);}- function io(e, t) {- t = t.props.ref, e.ref = t === void 0 ? null : t;+ function Fr(e, t) {+ if (e === "input" || e === "change") return wr(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)));+ function Ir(e, t) {+ return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}- function oo(e) {- function t(t, n) {- if (e) {- var r = t.deletions;- r === null ? (t.deletions = [n], t.flags |= 16) : r.push(n);- }- }- function n(n, r) {- if (!e) return null;- for (; r !== null;) t(n, r), r = r.sibling;- return null;+ var Lr = typeof Object.is == "function" ? Object.is : Ir;+ function Rr(e, t) {+ if (Lr(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 (!Pe.call(t, i) || !Lr(e[i], t[i])) return !1;}- function r(e) {- for (var t = /* @__PURE__ */ new Map(); e !== null;) e.key === null ? t.set(e.index, e) : t.set(e.key, e), e = e.sibling;- return t;+ return !0;+ }+ function zr(e) {+ if (e ||= typeof document < "u" ? document : void 0, e === void 0) return null;+ try {+ return e.activeElement || e.body;+ } catch {+ return e.body;}- function a(e, t) {- return e = ji(e, t), e.index = 0, e.sibling = null, e;- }- function o(t, n, r) {- return t.index = r, e ? (r = t.alternate, r === null ? (t.flags |= 134217730, n) : (r = r.index, r < n ? (t.flags |= 2, n) : r)) : (t.flags |= 1048576, n);- }- function s(t) {- return e && t.alternate === null && (t.flags |= 134217730), t;- }- function c(e, t, n, r) {- return t === null || t.tag !== 6 ? (t = Fi(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);- }- function l(e, t, n, r) {- var i = n.type;- return i === k ? (e = d(e, t, n.props.children, r, n.key), 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 = Ni(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 = Li(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);- }- function d(e, t, n, r, i) {- return t === null || t.tag !== 7 ? (t = Pi(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);- }- function f(e, t, n) {- if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Fi("" + t, e.mode, n), t.return = e, t;- if (typeof t == "object" && t) {- switch (t.$$typeof) {- case D: return n = Ni(t.type, t.key, t.props, null, e.mode, n), io(n, t), n.return = e, n;- case O: return t = Li(t, e.mode, n), t.return = e, t;- case ie: return t = Za(t), f(e, t, n);- }- if (me(t) || de(t)) return t = Pi(t, e.mode, n, null), t.return = e, t;- if (typeof t.then == "function") return f(e, ro(t), n);- if (t.$$typeof === te) return f(e, Sa(e, t), n);- ao(e, t);- }- return null;- }- function p(e, t, n, r) {- var i = t === null ? null : t.key;- 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 ie: return n = Za(n), p(e, t, n, r);- }- if (me(n) || de(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 === te) return p(e, t, Sa(e, n), r);- ao(e, n);- }- return null;- }- function m(e, t, n, r, i) {- 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 ie: return r = Za(r), m(e, t, n, r, i);- }- if (me(r) || de(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 === te) return m(e, t, n, Sa(t, r), i);- ao(t, r);- }- return null;- }- function h(i, a, s, c) {- for (var l = null, u = null, d = a, h = a = 0, g = null; d !== null && h < s.length; h++) {- d.index > h ? (g = d, d = null) : g = d.sibling;- var _ = p(i, d, s[h], c);- if (_ === null) {- d === null && (d = g);- break;- }- e && d && _.alternate === null && t(i, d), a = o(_, a, h), u === null ? l = _ : u.sibling = _, u = _, d = g;- }- if (h === s.length) return n(i, d), U && Yi(i, h), l;- if (d === null) {- for (; h < s.length; h++) d = f(i, s[h], c), d !== null && (a = o(d, a, h), u === null ? l = d : u.sibling = d, u = d);- return U && Yi(i, h), l;- }- for (d = r(d); h < s.length; h++) g = m(d, i, h, s[h], c), g !== null && (e && (_ = g.alternate, _ !== null && d.delete(_.key === null ? h : _.key)), a = o(g, a, h), u === null ? l = g : u.sibling = g, u = g);- return e && d.forEach(function(e) {- return t(i, e);- }), U && Yi(i, h), l;- }- function g(a, s, c, l) {- if (c == null) throw Error(i(151));- for (var u = null, d = null, h = s, g = s = 0, _ = null, v = c.next(); h !== null && !v.done; g++, v = c.next()) {- h.index > g ? (_ = h, h = null) : _ = h.sibling;- var y = p(a, h, v.value, l);- if (y === null) {- h === null && (h = _);- break;- }- e && h && y.alternate === null && t(a, h), s = o(y, s, g), d === null ? u = y : d.sibling = y, d = y, h = _;- }- if (v.done) return n(a, h), U && Yi(a, g), u;- if (h === null) {- for (; !v.done; g++, v = c.next()) v = f(a, v.value, l), v !== null && (s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);- return U && Yi(a, g), u;+ }+ function Br(e) {+ for (; e && e.firstChild;) e = e.firstChild;+ return e;+ }+ function Vr(e, t) {+ var n = Br(e);+ e = 0;+ for (var r; n;) {+ if (n.nodeType === 3) {+ if (r = e + n.textContent.length, e <= t && r >= t) return {+ node: n,+ offset: t - e+ };+ e = r;}- for (h = r(h); !v.done; g++, v = c.next()) v = m(h, a, g, v.value, l), v !== null && (e && (_ = v.alternate, _ !== null && h.delete(_.key === null ? g : _.key)), s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);- return e && h.forEach(function(e) {- return t(a, e);- }), U && Yi(a, g), u;- }- function _(e, r, o, c) {- if (typeof o == "object" && o && o.type === k && o.key === null && o.props.ref === void 0 && (o = o.props.children), typeof o == "object" && o) {- switch (o.$$typeof) {- case D:- a: {- for (var l = o.key; r !== null;) {- if (r.key === l) {- if (l = o.type, l === k) {- 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 === ie && Za(l) === r.type) {- n(e, r.sibling), c = a(r, o.props), io(c, o), c.return = e, e = c;- break a;- }- n(e, r);- break;- }- t(e, r), r = r.sibling;- }- o.type === k ? (c = Pi(o.props.children, e.mode, c, o.key), io(c, o), c.return = e, e = c) : (c = Ni(o.type, o.key, o.props, null, e.mode, c), io(c, o), c.return = e, e = c);- }- return s(e);- case O:- a: {- for (l = o.key; r !== null;) {- if (r.key === l) {- if (r.tag === 4 && r.stateNode.containerInfo === o.containerInfo && r.stateNode.implementation === o.implementation) {- n(e, r.sibling), c = a(r, o.children || []), c.return = e, e = c;- break a;- }- n(e, r);- break;- }- t(e, r), r = r.sibling;- }- c = Li(o, e.mode, c), c.return = e, e = c;- }- return s(e);- case ie: return o = Za(o), _(e, r, o, c);- }- if (me(o)) return h(e, r, o, c);- if (de(o)) {- if (l = de(o), typeof l != "function") throw Error(i(150));- return o = l.call(o), g(e, r, o, c);+ a: {+ for (; n;) {+ if (n.nextSibling) {+ n = n.nextSibling;+ break a;+ }+ n = n.parentNode;}- if (typeof o.then == "function") return _(e, r, ro(o), c);- if (o.$$typeof === te) return _(e, r, Sa(e, o), c);- ao(e, o);+ n = void 0;}- return typeof o == "string" && o !== "" || typeof o == "number" || typeof o == "bigint" ? (o = "" + o, r !== null && r.tag === 6 ? (n(e, r.sibling), c = a(r, o), c.return = e, e = c) : (n(e, r), c = Fi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);+ n = Br(n);}- return function(e, t, n, r) {+ }+ 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) {+ e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;+ for (var t = zr(e.document); t instanceof e.HTMLIFrameElement;) {try {- no = 0;- var i = _(e, t, n, r);- return to = null, i;- } catch (t) {- if (t === Ga || t === qa) throw t;- var a = ki(29, t, null, e.mode);- return a.lanes = r, a.return = e, a;+ var n = typeof t.contentWindow.location.href == "string";+ } catch {+ n = !1;}- };+ if (n) e = t.contentWindow;+ else break;+ t = zr(e.document);+ }+ return t;}- var so = oo(!0), co = oo(!1), lo = !1;- function uo(e) {- e.updateQueue = {- baseState: e.memoizedState,- firstBaseUpdate: null,- lastBaseUpdate: null,- shared: {- pending: null,- lanes: 0,- hiddenCallbacks: null- },- callbacks: null- };+ function Wr(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");}- function fo(e, t) {- e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {- baseState: e.baseState,- firstBaseUpdate: e.firstBaseUpdate,- lastBaseUpdate: e.lastBaseUpdate,- shared: e.shared,- callbacks: null- });+ var Gr = wn && "documentMode" in document && 11 >= document.documentMode, Kr = null, qr = null, Yr = null, Xr = !1;+ function Zr(e, t, n) {+ var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;+ Xr || Kr == null || Kr !== zr(r) || (r = Kr, "selectionStart" in r && Wr(r) ? r = {+ start: r.selectionStart,+ end: r.selectionEnd+ } : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = {+ anchorNode: r.anchorNode,+ anchorOffset: r.anchorOffset,+ focusNode: r.focusNode,+ focusOffset: r.focusOffset+ }), Yr && Rr(Yr, r) || (Yr = r, r = tp(qr, "onSelect"), 0 < r.length && (t = new In("onSelect", "select", null, t, n), e.push({+ event: t,+ listeners: r+ }), t.target = Kr)));}- function po(e) {- return {- lane: e,- tag: 0,- payload: null,- callback: null,- next: null- };+ function Qr(e, t) {+ var n = {};+ return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;}- function mo(e, t, n) {- var r = e.updateQueue;- if (r === null) return null;- if (r = r.shared, ed & 2) {- var i = r.pending;- return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Ei(e), Ti(e, null, n), t;- }- return Si(e, r, t, n), Ei(e);+ var $r = {+ animationend: Qr("Animation", "AnimationEnd"),+ animationiteration: Qr("Animation", "AnimationIteration"),+ animationstart: Qr("Animation", "AnimationStart"),+ transitionrun: Qr("Transition", "TransitionRun"),+ transitionstart: Qr("Transition", "TransitionStart"),+ transitioncancel: Qr("Transition", "TransitionCancel"),+ transitionend: Qr("Transition", "TransitionEnd")+ }, ei = {}, ti = {};+ wn && (ti = document.createElement("div").style, "AnimationEvent" in window || (delete $r.animationend.animation, delete $r.animationiteration.animation, delete $r.animationstart.animation), "TransitionEvent" in window || delete $r.transitionend.transition);+ function ni(e) {+ if (ei[e]) return ei[e];+ if (!$r[e]) return e;+ var t = $r[e], n;+ for (n in t) if (t.hasOwnProperty(n) && n in ti) return ei[e] = t[n];+ return e;}- 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, gt(e, n);- }+ var ri = ni("animationend"), ii = ni("animationiteration"), ai = ni("animationstart"), oi = ni("transitionrun"), si = ni("transitionstart"), ci = ni("transitioncancel"), li = ni("transitionend"), ui = /* @__PURE__ */ new Map(), di = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");+ di.push("scrollEnd");+ function fi(e, t) {+ ui.set(e, t), B(t, [e]);}- function go(e, t) {- var n = e.updateQueue, r = e.alternate;- if (r !== null && (r = r.updateQueue, n === r)) {- var i = null, a = null;- if (n = n.firstBaseUpdate, n !== null) {- do {- var o = {- lane: n.lane,- tag: n.tag,- payload: n.payload,- callback: null,- next: null- };- a === null ? i = a = o : a = a.next = o, n = n.next;- } while (n !== null);- a === null ? i = a = t : a = a.next = t;- } else i = a = t;- n = {- baseState: r.baseState,- firstBaseUpdate: i,- lastBaseUpdate: a,- shared: r.shared,- callbacks: r.callbacks- }, e.updateQueue = n;- return;- }- e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;+ var pi = 0;+ function mi(e, t) {+ if (e.name != null && e.name !== "auto") return e.name;+ if (t.autoName !== null) return t.autoName;+ e = wd.identifierPrefix;+ var n = pi++;+ return e = "_" + e + "t_" + n.toString(32) + "_", t.autoName = e;}- var _o = !1;- function vo() {- if (_o) {- var e = Ia;- if (e !== null) throw e;+ function hi(e) {+ if (e == null || typeof e == "string") return e;+ var t = null, n = Md;+ if (n !== null) for (var r = 0; r < n.length; r++) {+ var i = e[n[r]];+ if (i != null) {+ if (i === "none") return "none";+ t = t == null ? i : t + (" " + i);+ }}+ return t ?? e.default;}- function yo(e, t, n, r) {- _o = !1;- var i = e.updateQueue;- lo = !1;- var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;- if (s !== null) {- i.shared.pending = null;- var c = s, l = c.next;- c.next = null, o === null ? a = l : o.next = l, o = c;- var u = e.alternate;- u !== null && (u = u.updateQueue, s = u.lastBaseUpdate, s !== o && (s === null ? u.firstBaseUpdate = l : s.next = l, u.lastBaseUpdate = c));+ function gi(e, t) {+ return e = hi(e), t = hi(t), t == null ? e === "auto" ? null : e : t === "auto" ? null : t;+ }+ var _i = typeof reportError == "function" ? reportError : function(e) {+ if (typeof window == "object" && typeof window.ErrorEvent == "function") {+ var t = new window.ErrorEvent("error", {+ bubbles: !0,+ cancelable: !0,+ message: typeof e == "object" && e && typeof e.message == "string" ? String(e.message) : String(e),+ error: e+ });+ if (!window.dispatchEvent(t)) return;+ } else if (typeof process == "object" && typeof process.emit == "function") {+ process.emit("uncaughtException", e);+ return;}- if (a !== null) {- var d = i.baseState;- o = 0, u = l = c = null, s = a;- do {- var f = s.lane & -536870913, p = f !== s.lane;- if (p ? (q & f) === f : (r & f) === f) {- f !== 0 && f === Fa && (_o = !0), u !== null && (u = u.next = {- lane: 0,- tag: s.tag,- payload: s.payload,- callback: null,- next: null- });- a: {- var m = e, h = s;- f = t;- var g = n;- switch (h.tag) {- case 1:- if (m = h.payload, typeof m == "function") {- d = m.call(g, d, f);- break a;- }- d = m;- break a;- case 3: m.flags = m.flags & -65537 | 128;- case 0:- if (m = h.payload, f = typeof m == "function" ? m.call(g, d, f) : m, f == null) break a;- d = T({}, d, f);- break a;- case 2: lo = !0;- }- }- f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));- } else p = {- lane: f,- tag: s.tag,- payload: s.payload,- callback: s.callback,- next: null- }, u === null ? (l = u = p, c = d) : u = u.next = p, o |= f;- if (s = s.next, s === null) {- if (s = i.shared.pending, s === null) break;- p = s, s = p.next, p.next = null, i.lastBaseUpdate = p, i.shared.pending = null;- }- } while (1);- u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), ld |= o, e.lanes = o, e.memoizedState = d;+ console.error(e);+ }, vi = [], yi = 0, bi = 0;+ function xi() {+ for (var e = yi, t = bi = yi = 0; t < e;) {+ var n = vi[t];+ vi[t++] = null;+ var r = vi[t];+ vi[t++] = null;+ var i = vi[t];+ vi[t++] = null;+ var a = vi[t];+ if (vi[t++] = null, r !== null && i !== null) {+ var o = r.pending;+ o === null ? i.next = i : (i.next = o.next, o.next = i), r.pending = i;+ }+ a !== 0 && Ti(n, i, a);}}- function bo(e, t) {- if (typeof e != "function") throw Error(i(191, e));- e.call(t);- }- function xo(e, t) {- var n = e.callbacks;- if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) bo(n[e], t);- }- var So = ve(null), Co = ve(0);- function wo(e, t) {- e = sd, be(Co, e), be(So, t), sd = e | t.baseLanes;+ function Si(e, t, n, r) {+ vi[yi++] = e, vi[yi++] = t, vi[yi++] = n, vi[yi++] = r, bi |= r, e.lanes |= r, e = e.alternate, e !== null && (e.lanes |= r);}- function To() {- be(Co, sd), be(So, So.current);+ function Ci(e, t, n, r) {+ return Si(e, t, n, r), Ei(e);}- function Eo() {- sd = Co.current, ye(So), ye(Co);+ function wi(e, t) {+ return Si(e, null, null, t), Ei(e);}- var Do = ve(null), Oo = null;- function ko(e) {- var t = e.alternate;- be(Po, Po.current & 1), be(Do, e), Oo === null && (t === null || So.current !== null || t.memoizedState !== null) && (Oo = e);+ function Ti(e, t, n) {+ e.lanes |= n;+ var r = e.alternate;+ r !== null && (r.lanes |= n);+ for (var i = !1, a = e.return; a !== null;) a.childLanes |= n, r = a.alternate, r !== null && (r.childLanes |= n), a.tag === 22 && (e = a.stateNode, e === null || e._visibility & 1 || (i = !0)), e = a, a = a.return;+ return e.tag === 3 ? (a = e.stateNode, i && t !== null && (i = 31 - Ze(n), e = a.hiddenUpdates, r = e[i], r === null ? e[i] = [t] : r.push(t), t.lane = n | 536870912), a) : null;}- function Ao(e) {- be(Po, Po.current), be(Do, e), Oo === null && (Oo = e);+ function Ei(e) {+ if (50 < Nd) throw Nd = 0, Pd = null, Error(i(185));+ for (var t = e.return; t !== null;) e = t, t = e.return;+ return e.tag === 3 ? e.stateNode : null;}- function jo(e) {- e.tag === 22 ? (be(Po, Po.current), be(Do, e), Oo === null && (Oo = e)) : Mo();+ var Di = {};+ function Oi(e, t, n, r) {+ this.tag = e, this.key = n, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = r, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;}- function Mo() {- be(Po, Po.current), be(Do, Do.current);+ function ki(e, t, n, r) {+ return new Oi(e, t, n, r);}- function No(e) {- ye(Do), Oo === e && (Oo = null), ye(Po);+ function Ai(e) {+ return e = e.prototype, !(!e || !e.isReactComponent);}- var Po = ve(0);- function Fo(e, t) {- be(Do, Do.current), be(Po, t);+ function ji(e, t) {+ var n = e.alternate;+ return n === null ? (n = ki(e.tag, t, e.key, e.mode), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null), n.flags = e.flags & 1206910976, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {+ lanes: t.lanes,+ firstContext: t.firstContext+ }, n.sibling = e.sibling, n.index = e.index, n.ref = e.ref, n.refCleanup = e.refCleanup, n;}- function Io(e) {- ye(Po), ye(Do), Oo === e && (Oo = null);+ function Mi(e, t) {+ e.flags &= 1206910978;+ var n = e.alternate;+ return n === null ? (e.childLanes = 0, e.lanes = t, e.child = null, e.subtreeFlags = 0, e.memoizedProps = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null, e.stateNode = null) : (e.childLanes = n.childLanes, e.lanes = n.lanes, e.child = n.child, e.subtreeFlags = 0, e.deletions = null, e.memoizedProps = n.memoizedProps, e.memoizedState = n.memoizedState, e.updateQueue = n.updateQueue, e.type = n.type, t = n.dependencies, e.dependencies = t === null ? null : {+ lanes: t.lanes,+ firstContext: t.firstContext+ }), e;}- function Lo(e) {- for (var t = e; t !== null;) {- if (t.tag === 13) {- var n = t.memoizedState;- if (n !== null && (n = n.dehydrated, n === null || sm(n) || cm(n))) return t;- } else if (t.tag === 19 && t.memoizedProps.revealOrder !== "independent") {- if (t.flags & 128) return t;- } else if (t.child !== null) {- t.child.return = t, t = t.child;- continue;- }- if (t === e) break;- for (; t.sibling === null;) {- if (t.return === null || t.return === e) return null;- t = t.return;- }- t.sibling.return = t.return, t = t.sibling;+ function Ni(e, t, n, r, a, o) {+ var s = 0;+ if (r = e, typeof r == "function") Ai(r) && (s = 1);+ else if (typeof r == "string") s = Zm(e, n, ye.current) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;+ else a: switch (r) {+ case re: return e = ki(31, n, t, a), e.elementType = re, e.lanes = o, e;+ case k: return Pi(n.children, a, o, t);+ case A:+ s = 8, a |= 24;+ break;+ case j: return e = ki(12, n, t, a | 2), e.elementType = j, e.lanes = o, e;+ case P: return e = ki(13, n, t, a), e.elementType = P, e.lanes = o, e;+ case F: return e = ki(19, n, t, a), e.elementType = F, e.lanes = o, e;+ case ie:+ case oe: return e = a | 32, e = ki(30, n, t, e), e.elementType = oe, e.lanes = o, e.stateNode = {+ autoName: null,+ paired: null,+ clones: null,+ ref: null+ }, e;+ default:+ if (typeof r == "object" && r) switch (r.$$typeof) {+ case N:+ s = 10;+ break a;+ case M:+ s = 9;+ break a;+ case ee:+ s = 11;+ break a;+ case te:+ s = 14;+ break a;+ case ne:+ s = 16, r = null;+ break a;+ }+ s = 29, n = Error(i(130, e === null ? "null" : typeof e, "")), r = null;}- return null;- }- var Ro = 0, W = null, zo = null, Bo = null, Vo = !1, Ho = !1, Uo = !1, Wo = 0, Go = 0, Ko = null, qo = 0;- function G() {- throw Error(i(321));+ return t = ki(s, n, t, a), t.elementType = e, t.type = r, t.lanes = o, t;}- function Jo(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;- return !0;+ function Pi(e, t, n, r) {+ return e = ki(7, e, r, t), e.lanes = n, e;}- function Yo(e, t, n, r, i, a) {- return Ro = a, W = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, P.H = e === null || e.memoizedState === null ? fc : pc, Uo = !1, a = n(r, i), Uo = !1, Ho && (a = Zo(t, n, r, i)), Xo(e), a;+ function Fi(e, t, n) {+ return e = ki(6, e, null, t), e.lanes = n, e;}- function Xo(e) {- P.H = dc;- 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 || Ac || (e = e.dependencies, e !== null && ya(e) && (Ac = !0));+ function Ii(e) {+ var t = ki(18, null, null, 0);+ return t.stateNode = e, t;}- function Zo(e, t, n, r) {- W = e;- var a = 0;- do {- 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);- }- P.H = mc, o = t(n, r);- } while (Ho);- return o;- }- function Qo() {- var e = P.H, t = e.useState()[0];- return t = typeof t.then == "function" ? as(t) : t, e = e.useState()[0], (zo === null ? null : zo.memoizedState) !== e && (W.flags |= 1024), t;- }- function $o() {- var e = Wo !== 0;- return Wo = 0, e;- }- function es(e, t, n) {- t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;- }- function ts(e) {- if (Vo) {- for (e = e.memoizedState; e !== null;) {- var t = e.queue;- t !== null && (t.pending = null), e = e.next;- }- Vo = !1;- }- Ro = 0, Bo = zo = W = null, Ho = !1, Go = Wo = 0, Ko = null;- }- function ns() {- var e = {- memoizedState: null,- baseState: null,- baseQueue: null,- queue: null,- next: null- };- return Bo === null ? W.memoizedState = Bo = e : Bo = Bo.next = e, Bo;+ function Li(e, t, n) {+ return t = ki(4, e.children === null ? [] : e.children, e.key, t), t.lanes = n, t.stateNode = {+ containerInfo: e.containerInfo,+ pendingChildren: null,+ implementation: e.implementation+ }, t;}- function rs() {- if (zo === null) {- var e = W.alternate;- e = e === null ? null : e.memoizedState;- } 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));- zo = e, e = {- memoizedState: zo.memoizedState,- baseState: zo.baseState,- baseQueue: zo.baseQueue,- queue: zo.queue,- next: null- }, Bo === null ? W.memoizedState = Bo = e : Bo = Bo.next = e;+ var Ri = /* @__PURE__ */ new WeakMap();+ function zi(e, t) {+ if (typeof e == "object" && e) {+ var n = Ri.get(e);+ return n === void 0 ? (t = {+ value: e,+ source: t,+ stack: Ne(t)+ }, Ri.set(e, t), t) : n;}- return Bo;- }- function is() {return {- lastEffect: null,- events: null,- stores: null,- memoCache: null+ value: e,+ source: t,+ stack: Ne(t)};}- function as(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, P.H = t === null || t.memoizedState === null ? fc : pc), e;+ var Bi = [], Vi = 0, Hi = null, Ui = 0, Wi = [], Gi = 0, Ki = null, qi = 1, Ji = "";+ function Yi(e, t) {+ Bi[Vi++] = Ui, Bi[Vi++] = Hi, Hi = e, Ui = t;}- function os(e) {- if (typeof e == "object" && e) {- if (typeof e.then == "function") return as(e);- if (e.$$typeof === le) return;- if (e.$$typeof === te) return xa(e);- }- throw Error(i(438, String(e)));+ function Xi(e, t, n) {+ Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, Ki = e;+ var r = qi;+ e = Ji;+ var i = 32 - Ze(r) - 1;+ r &= ~(1 << i), n += 1;+ var a = 32 - Ze(t) + i;+ if (30 < a) {+ var o = i - i % 5;+ a = (r & (1 << o) - 1).toString(32), r >>= o, i -= o, qi = 1 << 32 - Ze(t) + i | n << i | r, Ji = a + e;+ } else qi = 1 << a | n << i | r, Ji = e;}- function ss(e) {- var t = null, n = W.updateQueue;- if (n !== null && (t = n.memoCache), t == null) {- var r = W.alternate;- r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {- data: r.data.map(function(e) {- return e.slice();- }),- index: 0- })));- }- 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] = se;- return t.index++, n;+ function Zi(e) {+ e.return !== null && (Yi(e, 1), Xi(e, 1, 0));}- function cs(e, t) {- return typeof t == "function" ? t(e) : t;+ function Qi(e) {+ for (; e === Hi;) Hi = Bi[--Vi], Bi[Vi] = null, Ui = Bi[--Vi], Bi[Vi] = null;+ for (; e === Ki;) Ki = Wi[--Gi], Wi[Gi] = null, Ji = Wi[--Gi], Wi[Gi] = null, qi = Wi[--Gi], Wi[Gi] = null;}- function ls(e) {- return us(rs(), zo, e);+ function $i(e, t) {+ Wi[Gi++] = qi, Wi[Gi++] = Ji, Wi[Gi++] = Ki, qi = t.id, Ji = t.overflow, Ki = e;}- function us(e, t, n) {- var r = e.queue;- if (r === null) throw Error(i(311));- r.lastRenderedReducer = n;- var a = e.baseQueue, o = r.pending;- if (o !== null) {- if (a !== null) {- var s = a.next;- a.next = o.next, o.next = s;- }- t.baseQueue = a = o, r.pending = null;- }- if (o = e.baseState, a === null) e.memoizedState = o;- else {- t = a.next;- var c = s = null, l = null, u = t, d = !1;- do {- var f = u.lane & -536870913;- if (f === u.lane ? (Ro & f) === f : (q & f) === f) {- var p = u.revertLane;- if (p === 0) l !== null && (l = l.next = {- lane: 0,- revertLane: 0,- gesture: null,- action: u.action,- hasEagerState: u.hasEagerState,- eagerState: u.eagerState,- next: null- }), f === Fa && (d = !0);- else if ((Ro & p) === p) {- u = u.next, p === Fa && (d = !0);- continue;- } else f = {- lane: 0,- revertLane: u.revertLane,- gesture: null,- action: u.action,- hasEagerState: u.hasEagerState,- eagerState: u.eagerState,- next: null- }, l === null ? (c = l = f, s = o) : l = l.next = f, W.lanes |= p, ld |= p;- f = u.action, Uo && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);- } else p = {- lane: f,- revertLane: u.revertLane,- gesture: u.gesture,- action: u.action,- hasEagerState: u.hasEagerState,- eagerState: u.eagerState,- next: null- }, l === null ? (c = l = p, s = o) : l = l.next = p, W.lanes |= f, ld |= 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;- e.memoizedState = o, e.baseState = s, e.baseQueue = l, r.lastRenderedState = o;- }- return a === null && (r.lanes = 0), [e.memoizedState, r.dispatch];+ var ea = null, ta = null, H = !1, na = null, ra = !1, U = Error(i(519));+ function ia(e) {+ throw ua(zi(Error(i(418, 1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML", "")), e)), U;}- function ds(e) {- var t = rs(), n = t.queue;- if (n === null) throw Error(i(311));- n.lastRenderedReducer = e;- var r = n.dispatch, a = n.pending, o = t.memoizedState;- if (a !== null) {- n.pending = null;- var s = a = a.next;- 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;+ function aa(e) {+ var t = e.stateNode, n = e.type, r = e.memoizedProps;+ switch (t[xt] = e, t[St] = r, n) {+ case "dialog":+ Jf("cancel", t), Jf("close", t);+ break;+ case "iframe":+ case "object":+ case "embed":+ Jf("load", t);+ break;+ case "video":+ case "audio":+ for (n = 0; n < Gf.length; n++) Jf(Gf[n], t);+ break;+ case "source":+ Jf("error", t);+ break;+ case "img":+ case "image":+ case "link":+ Jf("error", t), Jf("load", t);+ break;+ case "details":+ Jf("toggle", t);+ break;+ case "input":+ Jf("invalid", t), tn(t, r.value, r.defaultValue, r.checked, r.defaultChecked, r.type, r.name, !0);+ break;+ case "select":+ Jf("invalid", t);+ break;+ case "textarea": Jf("invalid", t), on(t, r.value, r.defaultValue, r.children);}- return [o, r];+ n = r.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || !0 === r.suppressHydrationWarning || sp(t.textContent, n) ? (r.popover != null && (Jf("beforetoggle", t), Jf("toggle", t)), r.onScroll != null && Jf("scroll", t), r.onScrollEnd != null && Jf("scrollend", t), r.onClick != null && (t.onclick = hn), t = !0) : t = !1, t || ia(e, !0);}- function fs(e, t, n) {- var r = W, a = rs(), o = U;- if (o) {- if (n === void 0) throw Error(i(407));- n = n();- } else n = t();- var s = !Lr((zo || 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 || Bo !== null && !!(Bo.memoizedState.tag & 1), Ms(e ? 9 : 8, { destroy: void 0 }, ms.bind(null, r, a, n, t), null), e) {- if (r.flags |= 2048, td === null) throw Error(i(349));- o || Ro & 127 || ps(r, t, n);+ function oa(e) {+ for (ea = e.return; ea;) switch (ea.tag) {+ case 5:+ case 31:+ case 13:+ ra = !1;+ return;+ case 27:+ case 3:+ ra = !0;+ return;+ default: ea = ea.return;}- return n;}- function ps(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));+ function sa(e) {+ if (e !== ea) return !1;+ if (!H) return oa(e), H = !0, !1;+ var t = e.tag, n;+ if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = n === "form" || n === "button" || xp(e.type, e.memoizedProps)), n = !n), n && ta && ia(e), oa(e), t === 13) {+ if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));+ ta = gm(e);+ } else if (t === 31) {+ if (e = e.memoizedState, e = e === null ? null : e.dehydrated, !e) throw Error(i(317));+ ta = gm(e);+ } else t === 27 ? (t = ta, Ap(e.type) ? (e = hm, hm = null, ta = e) : ta = t) : ta = ea ? mm(e.stateNode.nextSibling) : null;+ return !0;}- function ms(e, t, n, r) {- t.value = n, t.getSnapshot = r, gs(t) && _s(e);+ function ca() {+ ta = ea = null, H = !1;}- function hs(e, t, n) {- return n(function() {- gs(t) && _s(e);- });+ function la() {+ var e = na;+ return e !== null && (gd === null ? gd = e : gd.push.apply(gd, e), na = null), e;}- function gs(e) {- var t = e.getSnapshot;- e = e.value;- try {- var n = t();- return !Lr(e, n);- } catch {- return !0;- }+ function ua(e) {+ na === null ? na = [e] : na.push(e);}- function _s(e) {- var t = wi(e, 2);- t !== null && Id(t, e, 2);+ var da = ge(null), fa = null, pa = null;+ function ma(e, t, n) {+ ve(da, t._currentValue), t._currentValue = n;}- function vs(e) {- var t = ns();- if (typeof e == "function") {- var n = e;- if (e = n(), Uo) {- Qe(!0);- try {- n();- } finally {- Qe(!1);- }- }- }- return t.memoizedState = t.baseState = e, t.queue = {- pending: null,- lanes: 0,- dispatch: null,- lastRenderedReducer: cs,- lastRenderedState: e- }, t;- }- function ys(e, t, n, r) {- return e.baseState = n, us(e, zo, typeof r == "function" ? r : cs);+ function ha(e) {+ e._currentValue = da.current, _e(da);}- function bs(e, t, n, r, a) {- if (cc(e)) throw Error(i(485));- if (e = t.action, e !== null) {- var o = {- payload: a,- action: e,- next: null,- isTransition: !0,- status: "pending",- value: null,- reason: null,- listeners: [],- then: function(e) {- o.listeners.push(e);- }- };- P.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);+ function ga(e, t, n) {+ for (; e !== null;) {+ var r = e.alternate;+ if ((e.childLanes & t) === t ? r !== null && (r.childLanes & t) !== t && (r.childLanes |= t) : (e.childLanes |= t, r !== null && (r.childLanes |= t)), e === n) break;+ e = e.return;}}- function xs(e, t) {- var n = t.action, r = t.payload, i = e.state;- if (t.isTransition) {- var a = P.T, o = {};- o.types = a === null ? null : a.types, P.T = o;- try {- var s = n(i, r), c = P.S;- c !== null && c(o, s), Ss(e, t, s);- } catch (n) {- ws(e, t, n);- } finally {- a !== null && o.types !== null && (a.types = o.types), P.T = a;+ function _a(e, t, n, r) {+ var a = e.child;+ for (a !== null && (a.return = e); a !== null;) {+ var o = a.dependencies;+ if (o !== null) {+ var s = a.child;+ o = o.firstContext;+ a: for (; o !== null;) {+ var c = o;+ o = a;+ for (var l = 0; l < t.length; l++) if (c.context === t[l]) {+ o.lanes |= n, c = o.alternate, c !== null && (c.lanes |= n), ga(o.return, n, e), r || (s = null);+ break a;+ }+ o = c.next;+ }+ } else if (a.tag === 18) {+ if (s = a.return, s === null) throw Error(i(341));+ s.lanes |= n, o = s.alternate, o !== null && (o.lanes |= n), ga(s, n, e), s = null;+ } else a.tag === 13 && a.memoizedState !== null && a.memoizedState.dehydrated === null ? (a.lanes |= n, s = a.alternate, s !== null && (s.lanes |= n), ga(a.return, n, e), s = a.child, s = s === null ? null : s.sibling) : s = a.child;+ if (s !== null) s.return = a;+ else for (s = a; s !== null;) {+ if (s === e) {+ s = null;+ break;+ }+ if (a = s.sibling, a !== null) {+ a.return = s.return, s = a;+ break;+ }+ s = s.return;}- } else try {- a = n(i, r), Ss(e, t, a);- } catch (n) {- ws(e, t, n);- }- }- function Ss(e, t, n) {- typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {- Cs(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)));- }- function ws(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;- while (t !== r);+ a = s;}- e.action = null;- }- function Ts(e) {- e = e.listeners;- for (var t = 0; t < e.length; t++) (0, e[t])();}- function Es(e, t) {- return t;- }- function Ds(e, t) {- if (U) {- var n = td.formState;- if (n !== null) {- a: {- var r = W;- if (U) {- if (H) {- b: {- for (var i = H, a = na; i.nodeType !== 8;) {- if (!a) {- i = null;- break b;- }- if (i = um(i.nextSibling), i === null) {- i = null;- break b;- }- }- a = i.data, i = a === "F!" || a === "F" ? i : null;- }- if (i) {- H = um(i.nextSibling), r = i.data === "F!";- break a;- }- }- ia(r);- }- r = !1;+ function va(e, t, n, r) {+ e = null;+ for (var a = t, o = !1; a !== null;) {+ if (!o) {+ if (a.flags & 524288) o = !0;+ else if (a.flags & 262144) break;+ }+ if (a.tag === 10) {+ var s = a.alternate;+ 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));}- r && (t = n[0]);+ } else if (a === Se.current) {+ if (s = a.alternate, s === null) throw Error(i(387));+ s.memoizedState.memoizedState !== a.memoizedState.memoizedState && (e === null ? e = [dh] : e.push(dh));}+ a = a.return;}- return n = ns(), n.memoizedState = n.baseState = t, r = {- pending: null,- lanes: 0,- dispatch: null,- lastRenderedReducer: Es,- 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 = {- 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, [- t,- n,- !1- ];- }- function Os(e) {- return ks(rs(), zo, e);+ return e !== null && _a(t, e, n, r), t.flags |= 262144, e !== null;}- 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);- } catch (e) {- throw e === Ga ? qa : e;+ function ya(e) {+ for (e = e.firstContext; e !== null;) {+ if (!Lr(e.context._currentValue, e.memoizedValue)) return !0;+ e = e.next;}- else r = t;- t = rs();- 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)), [- r,- a,- e- ];+ return !1;}- function As(e, t) {- e.action = t;+ function ba(e) {+ fa = e, pa = null, e = e.dependencies, e !== null && (e.firstContext = null);}- function js(e) {- var t = rs(), n = zo;- if (n !== null) return ks(t, n, e);- rs(), t = t.memoizedState, n = rs();- var r = n.queue.dispatch;- return n.memoizedState = e, [- t,- r,- !1- ];+ function xa(e) {+ return Ca(fa, e);}- function Ms(e, t, n, r) {- return e = {- tag: e,- create: n,- deps: r,- inst: t,+ function Sa(e, t) {+ return fa === null && ba(e), Ca(e, t);+ }+ function Ca(e, t) {+ var n = t._currentValue;+ if (t = {+ context: t,+ memoizedValue: n,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;+ }, pa === null) {+ if (e === null) throw Error(i(308));+ pa = t, e.dependencies = {+ lanes: 0,+ firstContext: t+ }, e.flags |= 524288;+ } else pa = pa.next = t;+ return n;}- function Ns() {- return rs().memoizedState;+ var wa = typeof AbortController < "u" ? AbortController : function() {+ var e = [], t = this.signal = {+ aborted: !1,+ addEventListener: function(t, n) {+ e.push(n);+ }+ };+ this.abort = function() {+ t.aborted = !0, e.forEach(function(e) {+ return e();+ });+ };+ }, Ta = t.unstable_scheduleCallback, Ea = t.unstable_NormalPriority, Da = {+ $$typeof: N,+ Consumer: null,+ Provider: null,+ _currentValue: null,+ _currentValue2: null,+ _threadCount: 0+ };+ function Oa() {+ return {+ controller: new wa(),+ data: /* @__PURE__ */ new Map(),+ refCount: 0+ };}- 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 ka(e) {+ e.refCount--, e.refCount === 0 && Ta(Ea, function() {+ e.controller.abort();+ });}- function Fs(e, t, n, r) {- var i = rs();- r = r === void 0 ? null : r;- var a = i.memoizedState.inst;- zo !== null && r !== null && Jo(r, zo.memoizedState.deps) ? i.memoizedState = Ms(t, a, n, r) : (W.flags |= e, i.memoizedState = Ms(1 | t, a, n, r));+ function Aa(e, t) {+ if (e.pendingLanes & 4194048) {+ var n = e.transitionTypes;+ for (n === null && (n = e.transitionTypes = []), e = 0; e < t.length; e++) {+ var r = t[e];+ n.indexOf(r) === -1 && n.push(r);+ }+ }}- function Is(e, t) {- Ps(8390656, 8, e, t);+ var ja = null;+ function Ma(e) {+ var t = e.transitionTypes;+ return e.transitionTypes = null, t;}- function Ls(e, t) {- Fs(2048, 8, e, t);+ var Na = null, Pa = 0, Fa = 0, Ia = null;+ function La(e, t) {+ if (Na === null) {+ var n = Na = [];+ Pa = 0, Fa = Bf(), Ia = {+ status: "pending",+ value: void 0,+ then: function(e) {+ n.push(e);+ }+ };+ }+ return Pa++, t.then(Ra, Ra), t;}- function Rs(e) {- W.flags |= 4;- var t = W.updateQueue;- if (t === null) t = is(), W.updateQueue = t, t.events = [e];- else {- var n = t.events;- n === null ? t.events = [e] : n.push(e);+ function Ra() {+ if (--Pa === 0 && (ja = null, Na !== null)) {+ Ia !== null && (Ia.status = "fulfilled");+ var e = Na;+ Na = null, Fa = 0, Ia = null;+ for (var t = 0; t < e.length; t++) (0, e[t])();}}- function zs(e) {- var t = rs().memoizedState;- return Rs({- ref: t,- nextImpl: e- }), function() {- if (ed & 2) throw Error(i(440));- return t.impl.apply(void 0, arguments);- };+ function za(e, t) {+ var n = [], r = {+ status: "pending",+ value: null,+ reason: null,+ then: function(e) {+ n.push(e);+ }+ };+ return e.then(function() {+ r.status = "fulfilled", r.value = t;+ for (var e = 0; e < n.length; e++) (0, n[e])(t);+ }, function(e) {+ for (r.status = "rejected", r.reason = e, e = 0; e < n.length; e++) (0, n[e])(void 0);+ }), r;}- function Bs(e, t) {- return Fs(4, 2, e, t);+ var Ba = I.S;+ I.S = function(e, t) {+ if (yd = ze(), typeof t == "object" && t && typeof t.then == "function" && La(e, t), ja !== null) for (var n = Ef; n !== null;) Aa(n, ja), n = n.next;+ if (n = e.types, n !== null) {+ for (var r = Ef; r !== null;) Aa(r, n), r = r.next;+ if (Fa !== 0) {+ r = ja, r === null && (r = ja = []);+ for (var i = 0; i < n.length; i++) {+ var a = n[i];+ r.indexOf(a) === -1 && r.push(a);+ }+ }+ }+ Ba !== null && Ba(e, t);+ };+ var Va = ge(null);+ function Ha() {+ var e = Va.current;+ return e === null ? td.pooledCache : e;}- function Vs(e, t) {- return Fs(4, 4, e, t);+ function Ua(e, t) {+ t === null ? ve(Va, Va.current) : ve(Va, t.pool);}- function Hs(e, t) {- if (typeof t == "function") {- e = e();- var n = t(e);- return function() {- typeof n == "function" ? n() : t(null);- };- }- if (t != null) return e = e(), t.current = e, function() {- t.current = null;+ function Wa() {+ var e = Ha();+ return e === null ? null : {+ parent: Da._currentValue,+ pool: e};}- function Us(e, t, n) {- n = n == null ? null : n.concat([e]), Fs(4, 4, Hs.bind(null, t, e), n);- }- function Ws() {}- function Gs(e, t) {- var n = rs();- t = t === void 0 ? null : t;- var r = n.memoizedState;- return t !== null && Jo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);+ var Ga = Error(i(460)), Ka = Error(i(474)), qa = Error(i(542)), Ja = { then: function() {} };+ function Ya(e) {+ return e = e.status, e === "fulfilled" || e === "rejected";}- function Ks(e, t) {- var n = rs();- t = t === void 0 ? null : t;- var r = n.memoizedState;- if (t !== null && Jo(t, r[1])) return r[0];- if (r = e(), Uo) {- Qe(!0);- try {- e();- } finally {- Qe(!1);- }+ function Xa(e, t, n) {+ 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(hn, hn);+ else {+ if (e = td, e !== null && 100 < e.shellSuspendCounter) throw Error(i(482));+ e = t, e.status = "pending", e.then(function(e) {+ if (t.status === "pending") {+ var n = t;+ n.status = "fulfilled", n.value = e;+ }+ }, function(e) {+ if (t.status === "pending") {+ var n = t;+ n.status = "rejected", n.reason = e;+ }+ });+ }+ switch (t.status) {+ case "fulfilled": return t.value;+ case "rejected": throw e = t.reason, eo(e), e;+ }+ throw Qa = t, Ga;}- return n.memoizedState = [r, t], r;- }- function qs(e, t, n) {- return n === void 0 || Ro & 1073741824 && !(q & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Pd(), W.lanes |= e, ld |= 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 = Pd(), W.lanes |= e, ld |= e, t) : (e = qs(e, n, r), Lr(e, t) || (Ac = !0), e);}- function Ys(e, t, n, r, i) {- var a = F.p;- F.p = a !== 0 && 8 > a ? a : 8;- var o = P.T, s = {};- s.types = o === null ? null : o.types, P.T = s, sc(e, !1, t, n);+ function Za(e) {try {- var c = i(), l = P.S;- l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? oc(e, t, za(c, r), Nd(e)) : oc(e, t, r, Nd(e));- } catch (n) {- oc(e, t, {- then: function() {},- status: "rejected",- reason: n- }, Nd());- } finally {- F.p = a, o !== null && s.types !== null && (o.types = s.types), P.T = o;+ var t = e._init;+ return t(e._payload);+ } catch (e) {+ throw typeof e == "object" && e && typeof e.then == "function" ? (Qa = e, Ga) : e;}}- function Xs() {}- function Zs(e, t, n, r) {- if (e.tag !== 5) throw Error(i(476));- var a = Qs(e).queue;- Ys(e, a, t, he, n === null ? Xs : function() {- return $s(e), n(r);- });- }- function Qs(e) {- var t = e.memoizedState;- if (t !== null) return t;- t = {- memoizedState: he,- baseState: he,- baseQueue: null,- queue: {- pending: null,- lanes: 0,- dispatch: null,- lastRenderedReducer: cs,- lastRenderedState: he- },- next: null- };- var n = {};- return t.next = {- memoizedState: n,- baseState: n,- baseQueue: null,- queue: {- pending: null,- lanes: 0,- dispatch: null,- lastRenderedReducer: cs,- lastRenderedState: n- },- next: null- }, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;+ var Qa = null;+ function $a() {+ if (Qa === null) throw Error(i(459));+ var e = Qa;+ return Qa = null, e;}- function $s(e) {- var t = Qs(e);- t.next === null && (t = e.alternate.memoizedState), oc(e, t.next.queue, {}, Nd());+ function eo(e) {+ if (e === Ga || e === qa) throw Error(i(483));}- function ec() {- return xa(ch);+ var to = null, no = 0;+ function ro(e) {+ var t = no;+ return no += 1, to === null && (to = []), Xa(to, e, t);}- function tc() {- return rs().memoizedState;+ function io(e, t) {+ t = t.props.ref, e.ref = t === void 0 ? null : t;}- function nc() {- return rs().memoizedState;+ 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)));}- function rc(e) {- for (var t = e.return; t !== null;) {- switch (t.tag) {- case 24:- case 3:- var n = Nd();- e = po(n);- var r = mo(t, e, n);- r !== null && (Id(r, t, n), ho(r, t, n)), t = { cache: Oa() }, e.payload = t;- return;+ function oo(e) {+ function t(t, n) {+ if (e) {+ var r = t.deletions;+ r === null ? (t.deletions = [n], t.flags |= 16) : r.push(n);}- t = t.return;}- }- function ic(e, t, n) {- var r = Nd();- n = {- lane: r,- revertLane: 0,- gesture: null,- action: n,- hasEagerState: !1,- eagerState: null,- next: null- }, cc(e) ? lc(t, n) : (n = Ci(e, t, n, r), n !== null && (Id(n, e, r), uc(n, t, r)));- }- function ac(e, t, n) {- oc(e, t, n, Nd());- }- function oc(e, t, n, r) {- var i = {- lane: r,- revertLane: 0,- gesture: null,- action: n,- hasEagerState: !1,- eagerState: null,- next: null- };- if (cc(e)) lc(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 Si(e, t, i, 0), td === null && xi(), !1;- } catch {}- if (n = Ci(e, t, i, r), n !== null) return Id(n, e, r), uc(n, t, r), !0;+ function n(n, r) {+ if (!e) return null;+ for (; r !== null;) t(n, r), r = r.sibling;+ return null;}- return !1;- }- function sc(e, t, n, r) {- if (r = {- lane: 2,- revertLane: Pf(),- gesture: null,- action: r,- hasEagerState: !1,- eagerState: null,- next: null- }, cc(e)) {- if (t) throw Error(i(479));- } else t = Ci(e, n, r, 2), t !== null && Id(t, e, 2);- }- function cc(e) {- var t = e.alternate;- return e === W || t !== null && t === W;- }- function lc(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) {- if (n & 4194048) {- var r = t.lanes;- r &= e.pendingLanes, n |= r, t.lanes = n, gt(e, n);+ function r(e) {+ for (var t = /* @__PURE__ */ new Map(); e !== null;) e.key === null ? t.set(e.index, e) : t.set(e.key, e), e = e.sibling;+ return t;}- }- var dc = {- readContext: xa,- use: os,- useCallback: G,- useContext: G,- useEffect: G,- useImperativeHandle: G,- useLayoutEffect: G,- useInsertionEffect: G,- useMemo: G,- useReducer: G,- useRef: G,- useState: G,- useDebugValue: G,- useDeferredValue: G,- useTransition: G,- useSyncExternalStore: G,- useId: G,- useHostTransitionStatus: G,- useFormState: G,- useActionState: G,- useOptimistic: G,- useMemoCache: G,- useCacheRefresh: G,- useEffectEvent: G- }, fc = {- readContext: xa,- use: os,- useCallback: function(e, t) {- return ns().memoizedState = [e, t === void 0 ? null : t], e;- },- useContext: xa,- useEffect: Is,- useImperativeHandle: function(e, t, n) {- n = n == null ? null : n.concat([e]), Ps(4194308, 4, Hs.bind(null, t, e), n);- },- useLayoutEffect: function(e, t) {- return Ps(4194308, 4, e, t);- },- useInsertionEffect: function(e, t) {- Ps(4, 2, e, t);- },- useMemo: function(e, t) {- var n = ns();- t = t === void 0 ? null : t;- var r = e();- if (Uo) {- Qe(!0);- try {- e();- } finally {- Qe(!1);- }- }- return n.memoizedState = [r, t], r;- },- useReducer: function(e, t, n) {- var r = ns();- if (n !== void 0) {- var i = n(t);- if (Uo) {- Qe(!0);- try {- n(t);- } finally {- Qe(!1);- }- }- } else i = t;- return r.memoizedState = r.baseState = i, e = {- pending: null,- lanes: 0,- dispatch: null,- lastRenderedReducer: e,- lastRenderedState: i- }, r.queue = e, e = e.dispatch = ic.bind(null, W, e), [r.memoizedState, e];- },- useRef: function(e) {- var t = ns();- return e = { current: e }, t.memoizedState = e;- },- useState: function(e) {- e = vs(e);- var t = e.queue, n = ac.bind(null, W, t);- return t.dispatch = n, [e.memoizedState, n];- },- useDebugValue: Ws,- useDeferredValue: function(e, t) {- return qs(ns(), e, t);- },- useTransition: function() {- var e = vs(!1);- return e = Ys.bind(null, W, e.queue, !0, !1), ns().memoizedState = e, [!1, e];- },- useSyncExternalStore: function(e, t, n) {- var r = W, a = ns();- if (U) {- if (n === void 0) throw Error(i(407));- n = n();- } else {- if (n = t(), td === null) throw Error(i(349));- q & 127 || ps(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;- },- useId: function() {- var e = ns(), t = td.identifierPrefix;- if (U) {- var n = Ji, r = qi;- n = (r & ~(1 << 32 - $e(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,- useOptimistic: function(e) {- var t = ns();- t.memoizedState = t.baseState = e;- var n = {- pending: null,- lanes: 0,- dispatch: null,- lastRenderedReducer: null,- lastRenderedState: null- };- return t.queue = n, t = sc.bind(null, W, !0, n), n.dispatch = t, [e, t];- },- useMemoCache: ss,- useCacheRefresh: function() {- return ns().memoizedState = rc.bind(null, W);- },- useEffectEvent: function(e) {- var t = ns(), n = { impl: e };- return t.memoizedState = n, function() {- if (ed & 2) throw Error(i(440));- return n.impl.apply(void 0, arguments);- };+ function a(e, t) {+ return e = ji(e, t), e.index = 0, e.sibling = null, e;}- }, pc = {- readContext: xa,- use: os,- useCallback: Gs,- useContext: xa,- useEffect: Ls,- useImperativeHandle: Us,- useInsertionEffect: Bs,- useLayoutEffect: Vs,- useMemo: Ks,- useReducer: ls,- useRef: Ns,- useState: function() {- return ls(cs);- },- useDebugValue: Ws,- useDeferredValue: function(e, t) {- return Js(rs(), zo.memoizedState, e, t);- },- useTransition: function() {- var e = ls(cs)[0], t = rs().memoizedState;- return [typeof e == "boolean" ? e : as(e), t];- },- useSyncExternalStore: fs,- useId: tc,- useHostTransitionStatus: ec,- useFormState: Os,- useActionState: Os,- useOptimistic: function(e, t) {- return ys(rs(), zo, e, t);- },- useMemoCache: ss,- useCacheRefresh: nc,- useEffectEvent: zs- }, mc = {- readContext: xa,- use: os,- useCallback: Gs,- useContext: xa,- useEffect: Ls,- useImperativeHandle: Us,- useInsertionEffect: Bs,- useLayoutEffect: Vs,- useMemo: Ks,- useReducer: ds,- useRef: Ns,- useState: function() {- return ds(cs);- },- useDebugValue: Ws,- useDeferredValue: function(e, t) {- var n = rs();- return zo === null ? qs(n, e, t) : Js(n, zo.memoizedState, e, t);- },- useTransition: function() {- var e = ds(cs)[0], t = rs().memoizedState;- return [typeof e == "boolean" ? e : as(e), t];- },- useSyncExternalStore: fs,- useId: tc,- useHostTransitionStatus: ec,- useFormState: js,- useActionState: js,- useOptimistic: function(e, t) {- var n = rs();- return zo === null ? (n.baseState = e, [e, n.queue.dispatch]) : ys(n, zo, e, t);- },- useMemoCache: ss,- useCacheRefresh: nc,- useEffectEvent: zs- };- function hc(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 = {- enqueueSetState: function(e, t, n) {- e = e._reactInternals;- var r = Nd(), i = po(r);- i.payload = t, n != null && (i.callback = n), t = mo(e, i, r), t !== null && (Id(t, e, r), ho(t, e, r));- },- enqueueReplaceState: function(e, t, n) {- e = e._reactInternals;- var r = Nd(), i = po(r);- i.tag = 1, i.payload = t, n != null && (i.callback = n), t = mo(e, i, r), t !== null && (Id(t, e, r), ho(t, e, r));- },- enqueueForceUpdate: function(e, t) {- e = e._reactInternals;- var n = Nd(), r = po(n);- r.tag = 2, t != null && (r.callback = t), t = mo(e, r, n), t !== null && (Id(t, e, n), ho(t, e, n));+ function o(t, n, r) {+ return t.index = r, e ? (r = t.alternate, r === null ? (t.flags |= 134217730, n) : (r = r.index, r < n ? (t.flags |= 2, n) : r)) : (t.flags |= 1048576, n);}- };- 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) {- 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) {- 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) {- _i(e);- }- function xc(e) {- console.error(e);- }- function Sc(e) {- _i(e);- }- function Cc(e, t) {- try {- var n = e.onUncaughtError;- n(t.value, { componentStack: t.stack });- } catch (e) {- setTimeout(function() {- throw e;- });+ function s(t) {+ return e && t.alternate === null && (t.flags |= 134217730), t;}- }- function wc(e, t, n) {- try {- var r = e.onCaughtError;- r(n.value, {- componentStack: n.stack,- errorBoundary: t.tag === 1 ? t.stateNode : null- });- } catch (e) {- setTimeout(function() {- throw e;- });+ function c(e, t, n, r) {+ return t === null || t.tag !== 6 ? (t = Fi(n, e.mode, r), t.return = e, t) : (t = a(t, n), t.return = e, t);}- }- function Tc(e, t, n) {- return n = po(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {- Cc(e, t);- }, n;- }- function Ec(e) {- return e = po(e), e.tag = 3, e;- }- function Dc(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);- };+ 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 === ne && Za(i) === t.type) ? (t = a(t, n.props), io(t, n), t.return = e, t) : (t = Ni(n.type, n.key, n.props, null, e.mode, r), io(t, n), t.return = e, t);}- var o = n.stateNode;- o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {- wc(t, n, r), typeof i != "function" && (xd === null ? xd = /* @__PURE__ */ new Set([this]) : xd.add(this));- var e = r.stack;- this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });- });- }- function Oc(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) {- case 31:- case 13:- case 19: return Oo === null ? qd() : n.alternate === null && cd === 0 && (cd = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ja ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), hf(e, r, a)), !1;- case 22: return n.flags |= 65536, r === Ja ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {- transitions: null,- markerInstances: null,- retryQueue: /* @__PURE__ */ new Set([r])- }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), hf(e, r, a)), !1;+ function u(e, t, n, r) {+ return t === null || t.tag !== 4 || t.stateNode.containerInfo !== n.containerInfo || t.stateNode.implementation !== n.implementation ? (t = Li(n, e.mode, r), t.return = e, t) : (t = a(t, n.children || []), t.return = e, t);+ }+ function d(e, t, n, r, i) {+ return t === null || t.tag !== 7 ? (t = Pi(n, e.mode, r, i), t.return = e, t) : (t = a(t, n), t.return = e, t);+ }+ function f(e, t, n) {+ if (typeof t == "string" && t !== "" || typeof t == "number" || typeof t == "bigint") return t = Fi("" + t, e.mode, n), t.return = e, t;+ if (typeof t == "object" && t) {+ switch (t.$$typeof) {+ case D: return n = Ni(t.type, t.key, t.props, null, e.mode, n), io(n, t), n.return = e, n;+ case O: return t = Li(t, e.mode, n), t.return = e, t;+ case ne: return t = Za(t), f(e, t, n);}- throw Error(i(435, n.tag));+ if (fe(t) || le(t)) return t = Pi(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);+ ao(e, t);}- return hf(e, r, a), qd(), !1;+ return null;}- if (U) return t = Do.current, t === null ? (r !== ra && (t = Error(i(423), { cause: r }), ua(zi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = zi(r, n), a = Tc(e.stateNode, r, a), go(e, a), cd !== 4 && (cd = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== ra && (e = Error(i(422), { cause: r }), ua(zi(e, n)))), !1;- var o = Error(i(520), { cause: r });- if (o = zi(o, n), md === null ? md = [o] : md.push(o), cd !== 4 && (cd = 2), t === null) return !0;- r = zi(r, n), n = t;- do {- switch (n.tag) {- case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = Tc(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" && (xd === null || !xd.has(o)))) return n.flags |= 65536, a &= -a, n.lanes |= a, a = Ec(a), Dc(a, e, n, r), go(n, a), !1;- break;- case 22: if (n.memoizedState !== null) return n.flags |= 65536, !1;+ function p(e, t, n, r) {+ var i = t === null ? null : t.key;+ 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 ne: return n = Za(n), p(e, t, n, r);+ }+ if (fe(n) || le(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);+ ao(e, n);}- n = n.return;- } while (n !== null);- return !1;- }- var kc = Error(i(461)), Ac = !1;- function jc(e, t, n, r) {- t.child = e === null ? co(t, null, n, r) : so(t, e.child, n, r);- }- function Mc(e, t, n, r, i) {- n = n.render;- var a = t.ref;- if ("ref" in r) {- var o = {};- for (var s in r) s !== "ref" && (o[s] = r[s]);- } else o = r;- return ba(t), r = Yo(e, t, n, o, a, i), s = $o(), e !== null && !Ac ? (es(e, t, i), ol(e, t, i)) : (U && s && Zi(t), t.flags |= 1, jc(e, t, r, i), t.child);- }- function Nc(e, t, n, r, i) {- if (e === null) {- var a = n.type;- return typeof a == "function" && !Ai(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Pc(e, t, a, r, i)) : (e = Ni(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);- }- if (a = e.child, !sl(e, i)) {- var o = a.memoizedProps;- if (n = n.compare, n = n === null ? Rr : n, n(o, r) && e.ref === t.ref) return ol(e, t, i);+ return null;}- return t.flags |= 1, e = ji(a, r), e.ref = t.ref, e.return = t, t.child = e;- }- function Pc(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, sl(e, i)) e.flags & 131072 && (Ac = !0);- else return t.lanes = e.lanes, ol(e, t, i);+ function m(e, t, n, r, i) {+ 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 ne: return r = Za(r), m(e, t, n, r, i);+ }+ if (fe(r) || le(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);+ ao(t, r);}+ return null;}- return Hc(e, t, n, r, i);- }- function Fc(e, t, n, r) {- var i = r.children, a = e === null ? null : e.memoizedState;- if (e === null && t.stateNode === null && (t.stateNode = {- _visibility: 1,- _pendingMarkers: null,- _retryCache: null,- _transitions: null- }), r.mode === "hidden") {- if (t.flags & 128) {- if (a = a === null ? n : a.baseLanes | n, e !== null) {- 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 Lc(e, t, a, n, r);+ function h(i, a, s, c) {+ for (var l = null, u = null, d = a, h = a = 0, g = null; d !== null && h < s.length; h++) {+ d.index > h ? (g = d, d = null) : g = d.sibling;+ var _ = p(i, d, s[h], c);+ if (_ === null) {+ d === null && (d = g);+ break;+ }+ e && d && _.alternate === null && t(i, d), a = o(_, a, h), u === null ? l = _ : u.sibling = _, u = _, d = g;}- 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, Lc(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;- }- function Ic(e, t) {- return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {- _visibility: 1,- _pendingMarkers: null,- _retryCache: null,- _transitions: null- }), t.sibling;- }- function Lc(e, t, n, r, i) {- var a = Ha();- return a = a === null ? null : {- parent: Da._currentValue,- pool: a- }, t.memoizedState = {- baseLanes: n,- cachePool: a- }, e !== null && Ua(t, null), To(), jo(t), e !== null && va(e, t, r, !0), t.childLanes = i, null;- }- function Rc(e, t) {- return t = Zc({- mode: t.mode,- children: t.children- }, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;- }- function zc(e, t, n) {- return so(t, e.child, null, n), e = Rc(t, t.pendingProps), e.flags |= 2, No(t), t.memoizedState = null, e;- }- function Bc(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 = Rc(t, r), t.lanes = 536870912, e.memoizedState = {- baseLanes: 0,- cachePool: null- }, Ic(null, e);- if (Ao(t), (e = H) ? (e = om(e, na), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {- dehydrated: e,- treeContext: Ki === null ? null : {- id: qi,- overflow: Ji- },- retryLane: 536870912,- hydrationErrors: null- }, n = Ii(e), n.return = t, t.child = n, ea = t, H = null)) : e = null, e === null) throw ia(t);- return t.lanes = 536870912, null;+ if (h === s.length) return n(i, d), H && Yi(i, h), l;+ if (d === null) {+ for (; h < s.length; h++) d = f(i, s[h], c), d !== null && (a = o(d, a, h), u === null ? l = d : u.sibling = d, u = d);+ return H && Yi(i, h), l;}- return Rc(t, r);+ for (d = r(d); h < s.length; h++) g = m(d, i, h, s[h], c), g !== null && (e && (_ = g.alternate, _ !== null && d.delete(_.key === null ? h : _.key)), a = o(g, a, h), u === null ? l = g : u.sibling = g, u = g);+ return e && d.forEach(function(e) {+ return t(i, e);+ }), H && Yi(i, h), l;}- var o = e.memoizedState;- if (o !== null) {- var s = o.dehydrated;- if (Ao(t), a) {- if (t.flags & 256) t.flags &= -257, t = zc(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) {- if (So.current === null) {- if (r = td, r !== null && (s = _t(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, wi(e, s), Id(r, e, s), kc;- qd();+ function g(a, s, c, l) {+ if (c == null) throw Error(i(151));+ for (var u = null, d = null, h = s, g = s = 0, _ = null, v = c.next(); h !== null && !v.done; g++, v = c.next()) {+ h.index > g ? (_ = h, h = null) : _ = h.sibling;+ var y = p(a, h, v.value, l);+ if (y === null) {+ h === null && (h = _);+ break;}- t = zc(e, t, n);- } else e = o.treeContext, H = um(s.nextSibling), ea = t, U = !0, ta = null, na = !1, e !== null && $i(t, e), t = Rc(t, r), t.flags |= 134221824;- return t;+ e && h && y.alternate === null && t(a, h), s = o(y, s, g), d === null ? u = y : d.sibling = y, d = y, h = _;+ }+ if (v.done) return n(a, h), H && Yi(a, g), u;+ if (h === null) {+ for (; !v.done; g++, v = c.next()) v = f(a, v.value, l), v !== null && (s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);+ return H && Yi(a, g), u;+ }+ for (h = r(h); !v.done; g++, v = c.next()) v = m(h, a, g, v.value, l), v !== null && (e && (_ = v.alternate, _ !== null && h.delete(_.key === null ? g : _.key)), s = o(v, s, g), d === null ? u = v : d.sibling = v, d = v);+ return e && h.forEach(function(e) {+ return t(a, e);+ }), H && Yi(a, g), u;}- return e = ji(e.child, {- mode: r.mode,- children: r.children- }), e.ref = t.ref, t.child = e, e.return = t, e;- }- function Vc(e, t) {- var n = t.ref;- if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);- else {- if (typeof n != "function" && typeof n != "object") throw Error(i(284));- (e === null || e.ref !== n) && (t.flags |= 4194816);+ 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) {+ switch (o.$$typeof) {+ case D:+ a: {+ for (var l = o.key; r !== null;) {+ if (r.key === l) {+ if (l = o.type, l === k) {+ 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 === ne && Za(l) === r.type) {+ n(e, r.sibling), c = a(r, o.props), io(c, o), c.return = e, e = c;+ break a;+ }+ n(e, r);+ break;+ }+ t(e, r), r = r.sibling;+ }+ o.type === k ? (c = Pi(o.props.children, e.mode, c, o.key), io(c, o), c.return = e, e = c) : (c = Ni(o.type, o.key, o.props, null, e.mode, c), io(c, o), c.return = e, e = c);+ }+ return s(e);+ case O:+ a: {+ for (l = o.key; r !== null;) {+ if (r.key === l) {+ if (r.tag === 4 && r.stateNode.containerInfo === o.containerInfo && r.stateNode.implementation === o.implementation) {+ n(e, r.sibling), c = a(r, o.children || []), c.return = e, e = c;+ break a;+ }+ n(e, r);+ break;+ }+ t(e, r), r = r.sibling;+ }+ c = Li(o, e.mode, c), c.return = e, e = c;+ }+ return s(e);+ case ne: return o = Za(o), _(e, r, o, c);+ }+ if (fe(o)) return h(e, r, o, c);+ if (le(o)) {+ if (l = le(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);+ 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 = Fi(o, e.mode, c), c.return = e, e = c), s(e)) : n(e, r);}+ return function(e, t, n, r) {+ try {+ no = 0;+ var i = _(e, t, n, r);+ return to = null, i;+ } catch (t) {+ if (t === Ga || t === qa) throw t;+ var a = ki(29, t, null, e.mode);+ return a.lanes = r, a.return = e, a;+ }+ };}- function Hc(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), ol(e, t, i)) : (U && r && Zi(t), t.flags |= 1, jc(e, t, n, i), t.child);- }- function Uc(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), ol(e, t, a)) : (U && r && Zi(t), t.flags |= 1, jc(e, t, n, a), t.child);- }- function Wc(e, t, n, r, i) {- if (ba(t), t.stateNode === null) {- var a = Di, 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) : Di, 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;- } else if (e === null) {- a = t.stateNode;- var s = t.memoizedProps, c = yc(n, s);- a.props = c;- var l = a.context, u = n.contextType;- o = Di, 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;- 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);- } 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 = Di, 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();- 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);- }- return a = r, Vc(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 = ol(e, t, i), e;+ var so = oo(!0), co = oo(!1), lo = !1;+ function uo(e) {+ e.updateQueue = {+ baseState: e.memoizedState,+ firstBaseUpdate: null,+ lastBaseUpdate: null,+ shared: {+ pending: null,+ lanes: 0,+ hiddenCallbacks: null+ },+ callbacks: null+ };}- function Gc(e, t, n, r) {- return ca(), t.flags |= 256, jc(e, t, n, r), t.child;+ function fo(e, t) {+ e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {+ baseState: e.baseState,+ firstBaseUpdate: e.firstBaseUpdate,+ lastBaseUpdate: e.lastBaseUpdate,+ shared: e.shared,+ callbacks: null+ });}- var Kc = {- dehydrated: null,- treeContext: null,- retryLane: 0,- hydrationErrors: null- };- function qc(e) {+ function po(e) {return {- baseLanes: e,- cachePool: Wa()+ lane: e,+ tag: 0,+ payload: null,+ callback: null,+ next: null};}- function Jc(e, t, n) {- return e = e === null ? 0 : e.childLanes & ~n, t && (e |= fd), e;- }- function Yc(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) {- if (i ? ko(t) : Mo(), (e = H) ? (e = om(e, na), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {- dehydrated: e,- treeContext: Ki === null ? null : {- id: qi,- overflow: Ji- },- retryLane: 536870912,- hydrationErrors: null- }, n = Ii(e), n.return = t, t.child = n, ea = t, H = null)) : e = null, e === null) throw ia(t);- return t.lanes = cm(e) ? 32 : 536870912, null;- }- return a = r.children, r = r.fallback, i ? (Mo(), i = t.mode, a = Zc({- mode: "hidden",- children: a- }, i), r = Pi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = qc(n), r.childLanes = Jc(e, o, n), t.memoizedState = Kc, Ic(null, r)) : (ko(t), Xc(t, a));- }- var s = e.memoizedState;- if (s !== null) {- var c = s.dehydrated;- if (c !== null) return $c(e, t, a, o, r, c, s, n);+ function mo(e, t, n) {+ var r = e.updateQueue;+ if (r === null) return null;+ if (r = r.shared, ed & 2) {+ var i = r.pending;+ return i === null ? t.next = t : (t.next = i.next, i.next = t), r.pending = t, t = Ei(e), Ti(e, null, n), t;}- return i ? (Mo(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = ji(s, {- mode: "hidden",- children: r.children- }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Pi(i, a, n, null), i.flags |= 2) : i = ji(c, i), i.return = t, r.return = t, r.sibling = i, t.child = r, Ic(null, r), r = t.child, i = e.child.memoizedState, i === null ? i = qc(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 = Jc(e, o, n), t.memoizedState = Kc, Ic(e.child, r)) : (ko(t), n = e.child, e = n.sibling, n = ji(n, {- mode: "visible",- children: r.children- }), n.return = t, n.sibling = null, e !== null && (o = t.deletions, o === null ? (t.deletions = [e], t.flags |= 16) : o.push(e)), t.child = n, t.memoizedState = null, n);- }- function Xc(e, t) {- return t = Zc({- mode: "visible",- children: t- }, e.mode), t.return = e, e.child = t;- }- function Zc(e, t) {- return e = ki(22, e, null, t), e.lanes = 0, e;+ return Si(e, r, t, n), Ei(e);}- function Qc(e, t, n) {- return so(t, e.child, null, n), e = Xc(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, 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, mt(e, n);+ }}- function $c(e, t, n, r, a, o, s, c) {- if (n) return t.flags & 256 ? (ko(t), t.flags &= -257, Qc(e, t, c)) : t.memoizedState === null ? (Mo(), o = a.fallback, s = t.mode, a = Zc({- mode: "visible",- children: a.children- }, s), o = Pi(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 = qc(c), a.childLanes = Jc(e, r, c), t.memoizedState = Kc, Ic(null, a)) : (Mo(), t.child = e.child, t.flags |= 128, null);- if (ko(t), cm(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- })), Qc(e, t, c);+ function go(e, t) {+ var n = e.updateQueue, r = e.alternate;+ if (r !== null && (r = r.updateQueue, n === r)) {+ var i = null, a = null;+ if (n = n.firstBaseUpdate, n !== null) {+ do {+ var o = {+ lane: n.lane,+ tag: n.tag,+ payload: n.payload,+ callback: null,+ next: null+ };+ a === null ? i = a = o : a = a.next = o, n = n.next;+ } while (n !== null);+ a === null ? i = a = t : a = a.next = t;+ } else i = a = t;+ n = {+ baseState: r.baseState,+ firstBaseUpdate: i,+ lastBaseUpdate: a,+ shared: r.shared,+ callbacks: r.callbacks+ }, e.updateQueue = n;+ return;}- if (Ac || va(e, t, c, !1), r = (c & e.childLanes) !== 0, Ac || r) {- if (So.current !== null) return Qc(e, t, c);- if (r = td, r !== null && (a = _t(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, wi(e, a), Id(r, e, a), kc;- return sm(o) || qd(), Qc(e, t, c);+ e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;+ }+ var _o = !1;+ function vo() {+ if (_o) {+ var e = Ia;+ if (e !== null) throw e;}- return sm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, H = um(o.nextSibling), ea = t, U = !0, ta = null, na = !1, e !== null && $i(t, e), t = Xc(t, a.children), t.flags |= 134221824, t);}- function el(e, t, n) {- e.lanes |= t;- var r = e.alternate;- r !== null && (r.lanes |= t), ga(e.return, t, n);- }- function tl(e) {- for (var t = null; e !== null;) {- var n = e.alternate;- n !== null && Lo(n) === null && (t = e), e = e.sibling;+ function yo(e, t, n, r) {+ _o = !1;+ var i = e.updateQueue;+ lo = !1;+ var a = i.firstBaseUpdate, o = i.lastBaseUpdate, s = i.shared.pending;+ if (s !== null) {+ i.shared.pending = null;+ var c = s, l = c.next;+ c.next = null, o === null ? a = l : o.next = l, o = c;+ var u = e.alternate;+ u !== null && (u = u.updateQueue, s = u.lastBaseUpdate, s !== o && (s === null ? u.firstBaseUpdate = l : s.next = l, u.lastBaseUpdate = c));+ }+ if (a !== null) {+ var d = i.baseState;+ o = 0, u = l = c = null, s = a;+ do {+ var f = s.lane & -536870913, p = f !== s.lane;+ if (p ? (nd & f) === f : (r & f) === f) {+ f !== 0 && f === Fa && (_o = !0), u !== null && (u = u.next = {+ lane: 0,+ tag: s.tag,+ payload: s.payload,+ callback: null,+ next: null+ });+ a: {+ var m = e, h = s;+ f = t;+ var g = n;+ switch (h.tag) {+ case 1:+ if (m = h.payload, typeof m == "function") {+ d = m.call(g, d, f);+ break a;+ }+ d = m;+ break a;+ case 3: m.flags = m.flags & -65537 | 128;+ case 0:+ if (m = h.payload, f = typeof m == "function" ? m.call(g, d, f) : m, f == null) break a;+ d = T({}, d, f);+ break a;+ case 2: lo = !0;+ }+ }+ f = s.callback, f !== null && (e.flags |= 64, p && (e.flags |= 8192), p = i.callbacks, p === null ? i.callbacks = [f] : p.push(f));+ } else p = {+ lane: f,+ tag: s.tag,+ payload: s.payload,+ callback: s.callback,+ next: null+ }, u === null ? (l = u = p, c = d) : u = u.next = p, o |= f;+ if (s = s.next, s === null) {+ if (s = i.shared.pending, s === null) break;+ p = s, s = p.next, p.next = null, i.lastBaseUpdate = p, i.shared.pending = null;+ }+ } while (1);+ u === null && (c = d), i.baseState = c, i.firstBaseUpdate = l, i.lastBaseUpdate = u, a === null && (i.shared.lanes = 0), ud |= o, e.lanes = o, e.memoizedState = d;}- return t;}- function nl(e, t, n, r, i, a) {- var o = e.memoizedState;- o === null ? e.memoizedState = {- isBackwards: t,- rendering: null,- renderingStartTime: 0,- last: r,- tail: n,- tailMode: i,- treeForkCount: a- } : (o.isBackwards = t, o.rendering = null, o.renderingStartTime = 0, o.last = r, o.tail = n, o.tailMode = i, o.treeForkCount = a);+ function bo(e, t) {+ if (typeof e != "function") throw Error(i(191, e));+ e.call(t);}- function rl(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 xo(e, t) {+ var n = e.callbacks;+ if (n !== null) for (e.callbacks = null, e = 0; e < n.length; e++) bo(n[e], t);}- function il(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 ? (rl(e), jc(e, t, r, n), rl(e)) : jc(e, t, r, n), r = U ? Ui : 0, !s && e !== null && e.flags & 128) a: for (e = t.child; e !== null;) {- if (e.tag === 13) e.memoizedState !== null && el(e, n, t);- else if (e.tag === 19) el(e, n, t);- else if (e.child !== null) {- e.child.return = e, e = e.child;+ var So = ge(null), Co = ge(0);+ function wo(e, t) {+ e = cd, ve(Co, e), ve(So, t), cd = e | t.baseLanes;+ }+ function To() {+ ve(Co, cd), ve(So, So.current);+ }+ function Eo() {+ cd = Co.current, _e(So), _e(Co);+ }+ var Do = ge(null), Oo = null;+ function ko(e) {+ var t = e.alternate;+ ve(Po, Po.current & 1), ve(Do, e), Oo === null && (t === null || So.current !== null || t.memoizedState !== null) && (Oo = e);+ }+ function Ao(e) {+ ve(Po, Po.current), ve(Do, e), Oo === null && (Oo = e);+ }+ function jo(e) {+ e.tag === 22 ? (ve(Po, Po.current), ve(Do, e), Oo === null && (Oo = e)) : Mo();+ }+ function Mo() {+ ve(Po, Po.current), ve(Do, Do.current);+ }+ function No(e) {+ _e(Do), Oo === e && (Oo = null), _e(Po);+ }+ var Po = ge(0);+ function Fo(e, t) {+ ve(Do, Do.current), ve(Po, t);+ }+ function Io(e) {+ _e(Po), _e(Do), Oo === e && (Oo = null);+ }+ function Lo(e) {+ for (var t = e; t !== null;) {+ if (t.tag === 13) {+ var n = t.memoizedState;+ if (n !== null && (n = n.dehydrated, n === null || fm(n) || J(n))) return t;+ } else if (t.tag === 19 && t.memoizedProps.revealOrder !== "independent") {+ if (t.flags & 128) return t;+ } else if (t.child !== null) {+ t.child.return = t, t = t.child;continue;}- if (e === t) break a;- for (; e.sibling === null;) {- if (e.return === null || e.return === t) break a;- e = e.return;+ if (t === e) break;+ for (; t.sibling === null;) {+ if (t.return === null || t.return === e) return null;+ t = t.return;}- e.sibling.return = e.return, e = e.sibling;- }- switch (i) {- case "backwards":- n = tl(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null, rl(t)), nl(t, !0, i, null, a, r);- break;- case "unstable_legacy-backwards":- for (n = null, i = t.child, t.child = null; i !== null;) {- if (e = i.alternate, e !== null && Lo(e) === null) {- t.child = i;- break;- }- e = i.sibling, i.sibling = n, n = i, i = e;- }- nl(t, !0, n, null, a, r);- break;- case "together":- nl(t, !1, null, null, void 0, r);- break;- case "independent":- t.memoizedState = null;- break;- default: n = tl(t.child), n === null ? (i = t.child, t.child = null) : (i = n.sibling, n.sibling = null), nl(t, !1, i, n, a, r);+ t.sibling.return = t.return, t = t.sibling;}- return t.child;+ return null;}- function al(e, t, n) {- var r = t.pendingProps;- return ma(t, t.type, r.value), jc(e, t, r.children, n), t.child;+ 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 ol(e, t, n) {- if (e !== null && (t.dependencies = e.dependencies), ld |= t.lanes, (n & t.childLanes) === 0) {- if (e !== null) {- if (va(e, t, n, !1), (n & t.childLanes) === 0) return null;- } else return null;- }- if (e !== null && t.child !== e.child) throw Error(i(153));- if (t.child !== null) {- for (e = t.child, n = ji(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = ji(e, e.pendingProps), n.return = t;- n.sibling = null;+ 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;+ return !0;+ }+ function Xo(e, t, n, r, i, a) {+ return Ro = a, W = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, I.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 Zo(e) {+ I.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 Qo(e, t, n, r) {+ W = e;+ var a = 0;+ do {+ 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);+ }+ I.H = hc, o = t(n, r);+ } while (Ho);+ return o;+ }+ function $o() {+ var e = I.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 ts(e, t, n) {+ t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~n;+ }+ function ns(e) {+ if (Vo) {+ for (e = e.memoizedState; e !== null;) {+ var t = e.queue;+ t !== null && (t.pending = null), e = e.next;+ }+ Vo = !1;}- return t.child;+ Ro = 0, Bo = zo = W = null, Ho = !1, Go = Wo = 0, Ko = null;}- function sl(e, t) {- return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && ya(e)));+ function rs() {+ var e = {+ memoizedState: null,+ baseState: null,+ baseQueue: null,+ queue: null,+ next: null+ };+ return Bo === null ? W.memoizedState = Bo = e : Bo = Bo.next = e, Bo;}- function cl(e, t, n) {- switch (t.tag) {- case 3:- Te(t, t.stateNode.containerInfo), ma(t, Da, e.memoizedState.cache), ca();- break;- case 27:- case 5:- De(t);- break;- case 4:- Te(t, t.stateNode.containerInfo);- break;- case 10:- ma(t, t.type, t.memoizedProps.value);- break;- case 31:- if (t.memoizedState !== null) return t.flags |= 128, Ao(t), null;- break;- case 13:- var r = t.memoizedState;- if (r !== null) {- 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 ? Yc(e, t, n) : (ko(t), e = ol(e, t, n), e === null ? null : e.sibling);- }- ko(t);- break;- case 19:- if (t.flags & 128) return il(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 il(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, Fc(e, t, n, t.pendingProps);- case 24: ma(t, Da, e.memoizedState.cache);+ function is() {+ if (zo === null) {+ var e = W.alternate;+ e = e === null ? null : e.memoizedState;+ } 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));+ zo = e, e = {+ memoizedState: zo.memoizedState,+ baseState: zo.baseState,+ baseQueue: zo.baseQueue,+ queue: zo.queue,+ next: null+ }, Bo === null ? W.memoizedState = Bo = e : Bo = Bo.next = e;}- return ol(e, t, n);+ return Bo;}- function ll(e, t, n) {- if (e !== null) {- if (e.memoizedProps !== t.pendingProps) Ac = !0;- else {- if (!sl(e, n) && !(t.flags & 128)) return Ac = !1, cl(e, t, n);- Ac = !!(e.flags & 131072);- }- } else Ac = !1, U && t.flags & 1048576 && Xi(t, Ui, 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") Ai(e) ? (r = yc(e, r), t.tag = 1, t = Wc(null, t, e, r, n)) : (t.tag = 0, t = Hc(null, t, e, r, n));- else {- if (e != null) {- var a = e.$$typeof;- if (a === M) {- t.tag = 11, t = Mc(null, t, e, r, n);- break a;- }- if (a === re) {- t.tag = 14, t = Nc(null, t, e, r, n);- break a;- }- if (a === te) {- t.tag = 10, t.type = e, t = al(null, t, n);- break a;- }- }- throw t = pe(e) || e, Error(i(306, t, ""));- }- }- return t;- case 0: return Hc(e, t, t.type, t.pendingProps, n);- case 1: return r = t.type, a = yc(r, t.pendingProps), Wc(e, t, r, a, n);- case 3:- a: {- if (Te(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);- var s = t.memoizedState;- if (r = s.cache, ma(t, Da, r), r !== o.cache && _a(t, [Da], n, !0), vo(), r = s.element, o.isDehydrated) {- if (o = {- element: r,- isDehydrated: !1,- cache: s.cache- }, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {- t = Gc(e, t, r, n);- break a;- }- if (r !== a) {- a = zi(Error(i(424)), t), ua(a), t = Gc(e, t, r, n);- break a;- }- switch (e = t.stateNode.containerInfo, e.nodeType) {- case 9:- e = e.body;- break;- default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;- }- for (H = um(e.firstChild), ea = 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 = ol(e, t, n);- break a;- }- jc(e, t, r, n);- }- t = t.child;- }- return t;- case 26: return Vc(e, t), e === null ? (n = Pm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : U || (t.stateNode = pp(t.type, t.pendingProps, Ce.current, t)) : t.memoizedState = Pm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;- case 27: return De(t), e === null && U && (r = t.stateNode = gm(t.type, t.pendingProps, Ce.current), ea = t, na = !0, a = H, Cp(t.type) ? (dm = a, H = um(r.firstChild)) : H = a), jc(e, t, t.pendingProps.children, n), Vc(e, t), e === null && (t.flags |= 4194304), t.child;- case 5: return e === null && U && ((a = r = H) && (r = im(r, t.type, t.pendingProps, na), r === null ? a = !1 : (t.stateNode = r, ea = t, H = um(r.firstChild), na = !1, a = !0)), a || ia(t)), De(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, mp(a, o) ? r = null : s !== null && mp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Yo(e, t, Qo, null, null, n), ch._currentValue = a), Vc(e, t), jc(e, t, r, n), t.child;- case 6: return e === null && U && ((e = n = H) && (n = am(n, t.pendingProps, na), n === null ? e = !1 : (t.stateNode = n, ea = t, H = null, e = !0)), e || ia(t)), null;- case 13: return Yc(e, t, n);- case 4: return Te(t, t.stateNode.containerInfo), r = t.pendingProps, e === null ? t.child = so(t, null, r, n) : jc(e, t, r, n), t.child;- case 11: return Mc(e, t, t.type, t.pendingProps, n);- case 7: return r = t.pendingProps, Vc(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 al(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 Nc(e, t, t.type, t.pendingProps, n);- case 15: return Pc(e, t, t.type, t.pendingProps, n);- case 19: return il(e, t, n);- case 31: return Bc(e, t, n);- case 22: return Fc(e, t, n, t.pendingProps);- case 24: return ba(t), r = xa(Da), e === null ? (a = Ha(), a === null && (a = td, 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;- 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 && Zi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Vc(e, t), jc(e, t, r.children, n), t.child;- case 29: throw t.pendingProps;+ function as() {+ return {+ lastEffect: null,+ events: null,+ stores: null,+ memoCache: null+ };+ }+ 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, I.H = t === null || t.memoizedState === null ? pc : mc), e;+ }+ function ss(e) {+ if (typeof e == "object" && e) {+ if (typeof e.then == "function") return os(e);+ if (e.$$typeof === se) return;+ if (e.$$typeof === N) return xa(e);}- throw Error(i(156, t.tag));+ throw Error(i(438, String(e)));}- function ul(e) {- e.flags |= 4;+ function cs(e) {+ var t = null, n = W.updateQueue;+ if (n !== null && (t = n.memoCache), t == null) {+ var r = W.alternate;+ r !== null && (r = r.updateQueue, r !== null && (r = r.memoCache, r != null && (t = {+ data: r.data.map(function(e) {+ return e.slice();+ }),+ index: 0+ })));+ }+ if (t ??= {+ data: [],+ index: 0+ }, 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] = ae;+ return t.index++, n;}- function dl(e, t, n, r, i) {- var a;- if ((a = !!(e.mode & 32)) && (a = n === null ? Ym(t, r) : Ym(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {- if (e.flags |= 16777216, (i & 335544128) === i) {- if (e.stateNode.complete) e.flags |= 8192;- else if (Wd()) e.flags |= 8192;- else throw Qa = Ja, Ka;+ function ls(e, t) {+ return typeof t == "function" ? t(e) : t;+ }+ function us(e) {+ return ds(is(), zo, e);+ }+ function ds(e, t, n) {+ var r = e.queue;+ if (r === null) throw Error(i(311));+ r.lastRenderedReducer = n;+ var a = e.baseQueue, o = r.pending;+ if (o !== null) {+ if (a !== null) {+ var s = a.next;+ a.next = o.next, o.next = s;}- } else e.flags &= -16777217;+ t.baseQueue = a = o, r.pending = null;+ }+ if (o = e.baseState, a === null) e.memoizedState = o;+ else {+ t = a.next;+ var c = s = null, l = null, u = t, d = !1;+ do {+ var f = u.lane & -536870913;+ if (f === u.lane ? (Ro & f) === f : (nd & f) === f) {+ var p = u.revertLane;+ if (p === 0) l !== null && (l = l.next = {+ lane: 0,+ revertLane: 0,+ gesture: null,+ action: u.action,+ hasEagerState: u.hasEagerState,+ eagerState: u.eagerState,+ next: null+ }), f === Fa && (d = !0);+ else if ((Ro & p) === p) {+ u = u.next, p === Fa && (d = !0);+ continue;+ } else f = {+ lane: 0,+ revertLane: u.revertLane,+ gesture: null,+ action: u.action,+ hasEagerState: u.hasEagerState,+ eagerState: u.eagerState,+ next: null+ }, l === null ? (c = l = f, s = o) : l = l.next = f, W.lanes |= p, ud |= p;+ f = u.action, Uo && n(o, f), o = u.hasEagerState ? u.eagerState : n(o, f);+ } else p = {+ lane: f,+ revertLane: u.revertLane,+ gesture: u.gesture,+ action: u.action,+ hasEagerState: u.hasEagerState,+ eagerState: u.eagerState,+ next: null+ }, l === null ? (c = l = p, s = o) : l = l.next = p, W.lanes |= f, ud |= f;+ u = u.next;+ } while (u !== null && u !== t);+ if (l === null ? s = o : l.next = c, !Lr(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 fl(e, t) {- if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;- else if (e.flags |= 16777216, !Xm(t)) {- if (Wd()) e.flags |= 8192;- else throw Qa = Ja, Ka;+ 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;+ if (a !== null) {+ n.pending = null;+ var s = a = a.next;+ do+ o = e(o, s.action), s = s.next;+ while (s !== a);+ Lr(o, t.memoizedState) || (jc = !0), t.memoizedState = o, t.baseQueue === null && (t.baseState = o), n.lastRenderedState = o;}+ return [o, r];}- function pl(e, t) {- t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : dt(), e.lanes |= t, pd |= t);+ function ps(e, t, n) {+ var r = W, a = is(), o = H;+ if (o) {+ if (n === void 0) throw Error(i(407));+ n = n();+ } else n = t();+ var s = !Lr((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, td === null) throw Error(i(349));+ o || Ro & 127 || ms(r, t, n);+ }+ return n;}- function ml(e, t) {- if (!U) switch (e.tailMode) {- case "visible": break;- case "collapsed":- for (var n = e.tail, r = null; n !== null;) n.alternate !== null && (r = n), n = n.sibling;- r === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : r.sibling = null;- break;- default:- for (t = e.tail, n = null; t !== null;) t.alternate !== null && (n = t), t = t.sibling;- n === null ? e.tail = null : n.sibling = null;+ function ms(e, t, n) {+ e.flags |= 16384, e = {+ getSnapshot: t,+ value: n+ }, 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 hs(e, t, n, r) {+ t.value = n, t.getSnapshot = r, _s(t) && vs(e);+ }+ function gs(e, t, n) {+ return n(function() {+ _s(t) && vs(e);+ });+ }+ function _s(e) {+ var t = e.getSnapshot;+ e = e.value;+ try {+ var n = t();+ return !Lr(e, n);+ } catch {+ return !0;}}- function hl(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 vs(e) {+ var t = wi(e, 2);+ t !== null && Rd(t, e, 2);}- function gl(e, t, n) {- var r = t.pendingProps;- switch (Qi(t), t.tag) {- case 16:- case 15:- case 0:- case 11:- case 7:- case 8:- case 12:- case 9:- case 14: return hl(t), null;- case 1: return hl(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), Ee(), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (sa(t) ? ul(t) : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, la())), hl(t), null;- case 26:- var a = t.type, o = t.memoizedState;- return e === null ? (ul(t), o === null ? (hl(t), dl(t, a, null, r, n)) : (hl(t), fl(t, o))) : o ? o === e.memoizedState ? (hl(t), t.flags &= -16777217) : (ul(t), hl(t), fl(t, o)) : (e = e.memoizedProps, e !== r && ul(t), hl(t), dl(t, a, e, r, n)), null;- case 27:- if (Oe(t), n = Ce.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ul(t);- else {- if (!r) {- if (t.stateNode === null) throw Error(i(166));- return hl(t), t.subtreeFlags &= -33554433, null;- }- e = xe.current, sa(t) ? aa(t, e) : (e = gm(a, r, n), t.stateNode = e, ul(t));+ function ys(e) {+ var t = rs();+ if (typeof e == "function") {+ var n = e;+ if (e = n(), Uo) {+ Xe(!0);+ try {+ n();+ } finally {+ Xe(!1);}- return hl(t), t.subtreeFlags &= -33554433, null;- case 5:- if (Oe(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && ul(t);- else {- if (!r) {- if (t.stateNode === null) throw Error(i(166));- return hl(t), t.subtreeFlags &= -33554433, null;- }- if (o = xe.current, sa(t)) aa(t, o);- else {- var s = up(Ce.current);- switch (o) {- case 1:- o = s.createElementNS("http://www.w3.org/2000/svg", a);- break;- case 2:- o = s.createElementNS("http://www.w3.org/1998/Math/MathML", a);- break;- default: switch (a) {- case "svg":- o = s.createElementNS("http://www.w3.org/2000/svg", a);- break;- case "math":- o = s.createElementNS("http://www.w3.org/1998/Math/MathML", a);- break;- case "script":- o = s.createElement("div"), o.innerHTML = "<script><\/script>", o = o.removeChild(o.firstChild);- break;- case "select":- o = typeof r.is == "string" ? s.createElement("select", { is: r.is }) : s.createElement("select"), r.multiple ? o.multiple = !0 : r.size && (o.size = r.size);- break;- default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);- }- }- o[Ct] = t, o[wt] = 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) {- s.child.return = s, s = s.child;- continue;- }- if (s === t) break a;- for (; s.sibling === null;) {- if (s.return === null || s.return === t) break a;- s = s.return;- }- s.sibling.return = s.return, s = s.sibling;- }- t.stateNode = o;- a: switch (rp(o, a, r), a) {- case "button":- case "input":- case "select":- case "textarea":- r = !!r.autoFocus;- break a;- case "img":- r = !0;- break a;- default: r = !1;- }- r && ul(t);- }- }- return hl(t), t.subtreeFlags &= -33554433, dl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;- case 6:- if (e && t.stateNode != null) e.memoizedProps !== r && ul(t);- else {- if (typeof r != "string" && t.stateNode === null) throw Error(i(166));- if (e = Ce.current, sa(t)) {- if (e = t.stateNode, n = t.memoizedProps, r = null, a = ea, a !== null) switch (a.tag) {- case 27:- case 5: r = a.memoizedProps;- }- e[Ct] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || ep(e.nodeValue, n)), e || ia(t, !0);- } else e = up(e).createTextNode(r), e[Ct] = t, t.stateNode = e;- }- return hl(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[Ct] = t;- } else ca(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;- hl(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 hl(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[Ct] = t;- } else ca(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;- hl(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), pl(t, t.updateQueue), hl(t), null);- case 4: return Ee(), e === null && Wf(t.stateNode.containerInfo), t.flags |= 67108864, hl(t), null;- case 10: return ha(t.type), hl(t), null;- case 19:- if (Io(t), r = t.memoizedState, r === null) return hl(t), null;- if (a = !!(t.flags & 128), o = r.rendering, o === null) {- if (a) ml(r, !1);- else {- if (cd !== 0 || e !== null && e.flags & 128) for (e = t.child; e !== null;) {- if (o = Lo(e), o !== null) {- for (t.flags |= 128, ml(r, !1), e = o.updateQueue, t.updateQueue = e, pl(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null;) Mi(n, e), n = n.sibling;- return Fo(t, Po.current & 1 | 2), U && Yi(t, r.treeForkCount), t.child;- }- e = e.sibling;- }- r.tail !== null && Ve() > yd && (t.flags |= 128, a = !0, ml(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, pl(t, e), ml(r, !0), r.tail === null && r.tailMode !== "collapsed" && r.tailMode !== "visible" && !o.alternate && !U) return hl(t), null;- } else 2 * Ve() - r.renderingStartTime > yd && n !== 536870912 && (t.flags |= 128, a = !0, ml(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);- }- if (r.tail !== null) {- e = r.tail;- a: {- for (n = e; n !== null;) {- if (n.alternate !== null) {- n = !1;- break a;- }- n = n.sibling;- }- n = !0;- }- return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = Ve(), 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, be(Do, t), be(Po, n), Oo === null && (Oo = t)), U && Yi(t, r.treeForkCount), e;- }- return hl(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) && (hl(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : hl(t), n = t.updateQueue, n !== null && pl(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 && ye(Va), null;- case 24: return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), ha(Da), hl(t), null;- case 25: return null;- case 30: return t.flags |= 33554432, hl(t), null;+ }}- throw Error(i(156, t.tag));+ return t.memoizedState = t.baseState = e, t.queue = {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: ls,+ lastRenderedState: e+ }, t;}- function _l(e, t) {- switch (Qi(t), t.tag) {- case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 3: return ha(Da), Ee(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;- case 26:- case 27:- case 5: return Oe(t), null;- case 31:- if (t.memoizedState !== null) {- if (No(t), t.alternate === null) throw Error(i(340));- ca();- }- return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;- case 13:- if (No(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {- if (t.alternate === null) throw Error(i(340));- ca();+ function bs(e, t, n, r) {+ return e.baseState = n, ds(e, zo, typeof r == "function" ? r : ls);+ }+ function xs(e, t, n, r, a) {+ if (lc(e)) throw Error(i(485));+ if (e = t.action, e !== null) {+ var o = {+ payload: a,+ action: e,+ next: null,+ isTransition: !0,+ status: "pending",+ value: null,+ reason: null,+ listeners: [],+ then: function(e) {+ o.listeners.push(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 Ee(), null;- case 10: return ha(t.type), null;- case 22:- case 23: return No(t), Eo(), e !== null && ye(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;+ };+ I.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 vl(e, t) {- switch (Qi(t), t.tag) {- case 3:- ha(Da), Ee();- break;- case 26:- case 27:- case 5:- Oe(t);- break;- case 4:- Ee();- break;- case 31:- t.memoizedState !== null && No(t);- break;- case 13:- No(t);- break;- case 19:- Io(t);- break;- case 10:- ha(t.type);- break;- case 22:- case 23:- No(t), Eo(), e !== null && ye(Va);- break;- case 24: ha(Da);+ function Ss(e, t) {+ var n = t.action, r = t.payload, i = e.state;+ if (t.isTransition) {+ var a = I.T, o = {};+ o.types = a === null ? null : a.types, I.T = o;+ try {+ var s = n(i, r), c = I.S;+ c !== null && c(o, s), Cs(e, t, s);+ } catch (n) {+ Ts(e, t, n);+ } finally {+ a !== null && o.types !== null && (a.types = o.types), I.T = a;+ }+ } else try {+ a = n(i, r), Cs(e, t, a);+ } catch (n) {+ Ts(e, t, n);}}- function yl(e, t) {- try {- var n = t.updateQueue, r = n === null ? null : n.lastEffect;- if (r !== null) {- var i = r.next;- n = i;- do {- if ((n.tag & e) === e) {- r = void 0;- var a = n.create, o = n.inst;- r = a(), o.destroy = r;- }- n = n.next;- } while (n !== i);- }- } catch (e) {- mf(t, t.return, e);+ function Cs(e, t, n) {+ typeof n == "object" && n && typeof n.then == "function" ? n.then(function(n) {+ ws(e, t, n);+ }, function(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, Es(t), t = t.next;+ while (t !== r);}+ e.action = null;}- function bl(e, t, n) {- try {- var r = t.updateQueue, i = r === null ? null : r.lastEffect;- if (i !== null) {- var a = i.next;- r = a;- do {- if ((r.tag & e) === e) {- var o = r.inst, s = o.destroy;- if (s !== void 0) {- o.destroy = void 0, i = t;- var c = n, l = s;- try {- l();- } catch (e) {- mf(i, c, e);+ function Es(e) {+ e = e.listeners;+ for (var t = 0; t < e.length; t++) (0, e[t])();+ }+ function Ds(e, t) {+ return t;+ }+ function Os(e, t) {+ if (H) {+ var n = td.formState;+ if (n !== null) {+ a: {+ var r = W;+ if (H) {+ if (ta) {+ b: {+ for (var i = ta, a = ra; i.nodeType !== 8;) {+ if (!a) {+ i = null;+ break b;+ }+ if (i = mm(i.nextSibling), i === null) {+ i = null;+ break b;+ }+ }+ a = i.data, i = a === "F!" || a === "F" ? i : null;+ }+ if (i) {+ ta = mm(i.nextSibling), r = i.data === "F!";+ break a;}}+ ia(r);}- r = r.next;- } while (r !== a);+ r = !1;+ }+ r && (t = n[0]);}- } catch (e) {- mf(t, t.return, e);}+ return n = rs(), n.memoizedState = n.baseState = t, r = {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: Ds,+ lastRenderedState: t+ }, 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 = xs.bind(null, W, i, a, n), i.dispatch = n, r.memoizedState = e, [+ t,+ n,+ !1+ ];}- function xl(e) {- var t = e.updateQueue;- if (t !== null) {- var n = e.stateNode;- try {- xo(t, n);- } catch (t) {- mf(e, e.return, t);- }- }+ function ks(e) {+ return As(is(), zo, e);}- function Sl(e, t, n) {- n.props = yc(e.type, e.memoizedProps), n.state = e.memoizedState;- try {- n.componentWillUnmount();- } catch (n) {- mf(e, t, n);+ 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 = is();+ var i = t.queue, a = i.dispatch;+ return n !== t.memoizedState && (W.flags |= 2048, Ns(9, { destroy: void 0 }, js.bind(null, i, n), null)), [+ r,+ a,+ e+ ];}- function Cl(e, t) {- try {- var n = e.ref;- if (n !== null) {- switch (e.tag) {- case 26:- case 27:- case 5:- var r = e.stateNode;- break;- case 30:- var i = e.stateNode, a = mi(e.memoizedProps, i);- (i.ref === null || i.ref.name !== a) && (i.ref = Fp(a)), r = i.ref;- break;- case 7:- if (e.stateNode === null) {- var o = new Ip(e);- f(e.child, !1, $p, o, void 0, void 0), e.stateNode = o;- }- r = e.stateNode;- break;- default: r = e.stateNode;- }- typeof n == "function" ? e.refCleanup = n(r) : n.current = r;- }- } catch (n) {- mf(e, t, n);- }+ function js(e, t) {+ e.action = t;}- function wl(e, t) {- var n = e.ref, r = e.refCleanup;- if (n !== null) {- if (typeof r == "function") try {- r();- } catch (n) {- mf(e, t, n);- } finally {- e.refCleanup = null, e = e.alternate, e != null && (e.refCleanup = null);- }- else if (typeof n == "function") try {- n(null);- } catch (n) {- mf(e, t, n);- }- else n.current = null;- }+ 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,+ r,+ !1+ ];}- function Tl(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++) tm(e.stateNode, t[n]);+ function Ns(e, t, n, r) {+ return e = {+ tag: e,+ create: n,+ deps: r,+ inst: t,+ next: null+ }, 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 El(e) {- for (var t = e.return; t !== null && (kl(t) && tm(e.stateNode, t.stateNode), !Ol(t));) t = t.return;+ function Ps() {+ return is().memoizedState;}- function Dl(e) {- for (var t = e.return; t !== null && (kl(t) && nm(e.stateNode, t.stateNode), !Ol(t));) t = t.return;+ 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 Ol(e) {- return e.tag === 5 || e.tag === 3 || e.tag === 27;+ function Is(e, t, n, r) {+ var i = is();+ r = r === void 0 ? null : r;+ var a = i.memoizedState.inst;+ 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 kl(e) {- return e && e.tag === 7 && e.stateNode !== null;+ function Ls(e, t) {+ Fs(8390656, 8, e, t);}- function Al(e) {- var t = e.type, n = e.memoizedProps, r = e.stateNode;- try {- a: switch (t) {- case "button":- case "input":- case "select":- case "textarea":- n.autoFocus && r.focus();- break a;- case "img": n.src ? r.src = n.src : n.srcSet && (r.srcset = n.srcSet);- }- } catch (t) {- mf(e, e.return, t);- }+ function Rs(e, t) {+ Is(2048, 8, e, t);}- function jl(e, t, n) {- try {- var r = e.stateNode;- ap(r, e.type, n, t), r[wt] = t;- } catch (t) {- mf(e, e.return, t);+ function zs(e) {+ W.flags |= 4;+ var t = W.updateQueue;+ 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 Ml(e) {- return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Cp(e.type) || e.tag === 4;+ function Bs(e) {+ var t = is().memoizedState;+ return zs({+ ref: t,+ nextImpl: e+ }), function() {+ if (ed & 2) throw Error(i(440));+ return t.impl.apply(void 0, arguments);+ };}- function Nl(e) {- a: for (;;) {- for (; e.sibling === null;) {- if (e.return === null || Ml(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;) {- if (e.tag === 27 && Cp(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;- e.child.return = e, e = e.child;- }- if (!(e.flags & 2)) return e.stateNode;+ function Vs(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);+ return function() {+ typeof n == "function" ? n() : t(null);+ };}+ if (t != null) return e = e(), t.current = e, function() {+ t.current = null;+ };}- function Pl(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 = hn)), Tl(e, r), z = !0;- else if (i !== 4 && (i === 27 && (Tl(e, r), r = null, Cp(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;+ function Ws(e, t, n) {+ n = n == null ? null : n.concat([e]), Is(4, 4, Us.bind(null, t, e), n);}- function Fl(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), z = !0;- else if (i !== 4 && (i === 27 && (Tl(e, r), r = null, Cp(e.type) && (n = e.stateNode)), 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 Gs() {}+ function Ks(e, t) {+ var n = is();+ t = t === void 0 ? null : t;+ var r = n.memoizedState;+ return t !== null && Yo(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e);}- function Il(e) {- var t = e.stateNode, n = e.memoizedProps;- try {- for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);- rp(t, r, n), t[Ct] = e, t[wt] = n;- } catch (t) {- mf(e, e.return, t);+ function qs(e, t) {+ var n = is();+ t = t === void 0 ? null : t;+ var r = n.memoizedState;+ if (t !== null && Yo(t, r[1])) return r[0];+ if (r = e(), Uo) {+ Xe(!0);+ try {+ e();+ } finally {+ Xe(!1);+ }}+ return n.memoizedState = [r, t], r;}- var Ll = !1, Rl = null;- function zl(e) {- (e.tag === 30 || e.subtreeFlags & 33554432) && (Ll = !0);- }- var Bl = null;- function Vl() {- var e = Bl;- return Bl = null, e;+ function Js(e, t, n) {+ return n === void 0 || Ro & 1073741824 && !(nd & 261930) ? e.memoizedState = t : (e.memoizedState = n, e = Id(), W.lanes |= e, ud |= e, n);}- var Hl = 0;- function Ul(e, t, n, r, i) {- return Hl = 0, Wl(e.child, t, n, r, i);+ function Ys(e, t, n, r) {+ return Lr(n, t) ? n : So.current === null ? !(Ro & 106) || Ro & 1073741824 && !(nd & 261930) ? (jc = !0, e.memoizedState = n) : (e = Id(), W.lanes |= e, ud |= e, t) : (e = Js(e, n, r), Lr(e, t) || (jc = !0), e);}- function Wl(e, t, n, r, i) {- for (var a = !1; e !== null;) {- if (e.tag === 5) {- var o = e.stateNode;- if (r !== null) {- var s = kp(o);- r.push(s), s.view && (a = !0);- } else a || kp(o).view && (a = !0);- Ll = !0, Ep(o, Hl === 0 ? t : t + "_" + Hl, n), Hl++;- } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Wl(e.child, t, n, r, i) && (a = !0));- e = e.sibling;+ function Xs(e, t, n, r, i) {+ var a = L.p;+ L.p = a !== 0 && 8 > a ? a : 8;+ var o = I.T, s = {};+ s.types = o === null ? null : o.types, I.T = s, cc(e, !1, t, n);+ try {+ var c = i(), l = I.S;+ l !== null && l(s, c), typeof c == "object" && c && typeof c.then == "function" ? sc(e, t, za(c, r), Fd(e)) : sc(e, t, r, Fd(e));+ } catch (n) {+ sc(e, t, {+ then: function() {},+ status: "rejected",+ reason: n+ }, Fd());+ } finally {+ L.p = a, o !== null && s.types !== null && (o.types = s.types), I.T = o;}- return a;}- function Gl(e, t) {- for (; e !== null;) e.tag === 5 ? Dp(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Gl(e.child, t)), e = e.sibling;+ function Zs() {}+ function Qs(e, t, n, r) {+ if (e.tag !== 5) throw Error(i(476));+ var a = $s(e).queue;+ Xs(e, a, t, pe, n === null ? Zs : function() {+ return ec(e), n(r);+ });}- function Kl(e) {- if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {- if ((e.tag !== 22 || e.memoizedState === null) && (Kl(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 = gi(t.default, t.share), t !== "none" && (Ul(e, n, t, null, !1) || Gl(e.child, !1));- }- e = e.sibling;- }+ function $s(e) {+ var t = e.memoizedState;+ if (t !== null) return t;+ t = {+ memoizedState: pe,+ baseState: pe,+ baseQueue: null,+ queue: {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: ls,+ lastRenderedState: pe+ },+ next: null+ };+ var n = {};+ return t.next = {+ memoizedState: n,+ baseState: n,+ baseQueue: null,+ queue: {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: ls,+ lastRenderedState: n+ },+ next: null+ }, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;}- function ql(e, t) {- if (e.tag === 30) {- var n = e.stateNode, r = e.memoizedProps, i = mi(r, n), a = gi(r.default, n.paired ? r.share : r.enter);- a === "none" ? Kl(e) : Ul(e, i, a, null, !1) ? (Kl(e), n.paired || t || Fd(e, r.onEnter)) : Gl(e.child, !1);- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) ql(e, t), e = e.sibling;- else Kl(e);+ function ec(e) {+ var t = $s(e);+ t.next === null && (t = e.alternate.memoizedState), sc(e, t.next.queue, {}, Fd());}- function Jl(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) {- var n = e.memoizedProps, r = n.name;- if (r != null && r !== "auto") {- var i = t.get(r);- if (i !== void 0) {- var a = gi(n.default, n.share);- if (a !== "none" && (Ul(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Fd(e, n.onShare)) : Gl(e.child, !1)), t.delete(r), t.size === 0) break;- }- }- }- Jl(e);- }- e = e.sibling;- }- }+ function tc() {+ return xa(dh);}- function Yl(e) {- if (e.tag === 30) {- var t = e.memoizedProps, n = mi(t, e.stateNode), r = Rl === null ? void 0 : Rl.get(n), i = gi(t.default, r === void 0 ? t.exit : t.share);- i !== "none" && (Ul(e, n, i, null, !1) ? r === void 0 ? Fd(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, Rl.delete(n), Fd(e, t.onShare)) : Gl(e.child, !1)), Rl !== null && Jl(e);- } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Yl(e), e = e.sibling;- else Rl !== null && Jl(e);+ function nc() {+ return is().memoizedState;}- function Xl(e) {- for (e = e.child; e !== null;) {- if (e.tag === 30) {- var t = e.memoizedProps, n = mi(t, e.stateNode);- t = gi(t.default, t.update), e.flags &= -5, t !== "none" && Ul(e, n, t, e.memoizedState = [], !1);- } else e.subtreeFlags & 33554432 && Xl(e);- e = e.sibling;- }+ function rc() {+ return is().memoizedState;}- function Zl(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, Gl(e.child, !1));- }- Zl(e);+ function ic(e) {+ for (var t = e.return; t !== null;) {+ switch (t.tag) {+ case 24:+ case 3:+ var n = Fd();+ e = po(n);+ var r = mo(t, e, n);+ r !== null && (Rd(r, t, n), ho(r, t, n)), t = { cache: Oa() }, e.payload = t;+ return;}- e = e.sibling;+ t = t.return;}}- function Ql(e) {- if (e.tag === 30) e.stateNode.paired = null, Gl(e.child, !1), Zl(e);- else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Ql(e), e = e.sibling;- else Zl(e);+ function ac(e, t, n) {+ var r = Fd();+ n = {+ lane: r,+ revertLane: 0,+ gesture: null,+ action: n,+ hasEagerState: !1,+ eagerState: null,+ next: null+ }, lc(e) ? uc(t, n) : (n = Ci(e, t, n, r), n !== null && (Rd(n, e, r), dc(n, t, r)));}- function $l(e) {- for (e = e.child; e !== null;) e.tag === 30 ? Gl(e.child, !1) : e.subtreeFlags & 33554432 && $l(e), e = e.sibling;+ function oc(e, t, n) {+ sc(e, t, n, Fd());}- function eu(e, t, n, r, i, a, o) {- for (var s = !1; t !== null;) {- if (t.tag === 5) {- var c = t.stateNode;- if (a !== null && Hl < a.length) {- var l = a[Hl], u = kp(c);- (l.view || u.view) && (s = !0);- var d;- if (d = !(e.flags & 4)) {- if (u.clip) d = !0;- else {- d = l.rect;- var f = u.rect;- d = d.y !== f.y || d.x !== f.x || d.height !== f.height || d.width !== f.width;- }- }- 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 && Ep(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 : eu(e, t.child, n, r, i, a, o) && (s = !0));- t = t.sibling;+ function sc(e, t, n, r) {+ var i = {+ lane: r,+ revertLane: 0,+ gesture: null,+ action: n,+ hasEagerState: !1,+ eagerState: null,+ next: null+ };+ 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 Si(e, t, i, 0), td === null && xi(), !1;+ } catch {}+ if (n = Ci(e, t, i, r), n !== null) return Rd(n, e, r), dc(n, t, r), !0;}- return s;+ return !1;}- function tu(e, t) {- for (e = e.child; e !== null;) {- if (e.tag === 30) {- var n = e.memoizedProps, r = e.stateNode, i = mi(n, r), a = gi(n.default, n.update);- if (t) {- r = r.clones;- var o = r === null ? null : r.map(Ap);- } else o = e.memoizedState, e.memoizedState = null;- r = e;- var s = e.child;- Hl = 0, i = eu(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Fd(e, n.onUpdate));- } else e.subtreeFlags & 33554432 && tu(e, t);- e = e.sibling;+ function cc(e, t, n, r) {+ if (r = {+ lane: 2,+ revertLane: Bf(),+ gesture: null,+ action: r,+ hasEagerState: !1,+ eagerState: null,+ next: null+ }, lc(e)) {+ if (t) throw Error(i(479));+ } else t = Ci(e, n, r, 2), t !== null && Rd(t, e, 2);+ }+ function lc(e) {+ var t = e.alternate;+ return e === W || t !== null && t === W;+ }+ 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 dc(e, t, n) {+ if (n & 4194048) {+ var r = t.lanes;+ r &= e.pendingLanes, n |= r, t.lanes = n, mt(e, n);}}- var nu = !1, ru = !1, iu = !1, au = !1, ou = typeof WeakSet == "function" ? WeakSet : Set, su = null, cu = !1, lu = !1, uu = !1, du = !1;- function fu(e, t, n) {- if (e = e.containerInfo, cp = _h, e = Ur(e), Wr(e)) {- if ("selectionStart" in e) var r = {- start: e.selectionStart,- end: e.selectionEnd- };- else a: {- r = (r = e.ownerDocument) && r.defaultView || window;- var i = r.getSelection && r.getSelection();- if (i && i.rangeCount !== 0) {- r = i.anchorNode;- var a = i.anchorOffset, o = i.focusNode;- i = i.focusOffset;- try {- r.nodeType, o.nodeType;- } catch {- r = null;- break a;- }- var s = 0, c = -1, l = -1, u = 0, d = 0, f = e, p = null;- b: for (;;) {- for (var m; f !== r || a !== 0 && f.nodeType !== 3 || (c = s + a), f !== o || i !== 0 && f.nodeType !== 3 || (l = s + i), f.nodeType === 3 && (s += f.nodeValue.length), (m = f.firstChild) !== null;) p = f, f = m;- for (;;) {- if (f === e) break b;- if (p === r && ++u === a && (c = s), p === o && ++d === i && (l = s), (m = f.nextSibling) !== null) break;- f = p, p = f.parentNode;- }- f = m;- }- r = c === -1 || l === -1 ? null : {- start: c,- end: l- };- } else r = null;+ var fc = {+ readContext: xa,+ 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: ss,+ useCallback: function(e, t) {+ return rs().memoizedState = [e, t === void 0 ? null : t], e;+ },+ useContext: xa,+ useEffect: Ls,+ useImperativeHandle: function(e, t, n) {+ n = n == null ? null : n.concat([e]), Fs(4194308, 4, Us.bind(null, t, e), n);+ },+ useLayoutEffect: function(e, t) {+ return Fs(4194308, 4, e, t);+ },+ useInsertionEffect: function(e, t) {+ Fs(4, 2, e, t);+ },+ useMemo: function(e, t) {+ var n = rs();+ t = t === void 0 ? null : t;+ var r = e();+ if (Uo) {+ Xe(!0);+ try {+ e();+ } finally {+ Xe(!1);+ }}- r ||= {- start: 0,- end: 0- };- } else r = null;- for (lp = {- focusedElem: e,- selectionRange: r- }, _h = !1, n = (n & 335544064) === n, su = t, t = n ? 9270 : 1024; su !== null;) {- if (e = su, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Yl(r[a]);- if (e.alternate === null && e.flags & 2) n && zl(e), pu(n);- else {- if (e.tag === 22) {- if (r = e.alternate, e.memoizedState !== null) {- r !== null && r.memoizedState === null && n && Yl(r), pu(n);- continue;- }- if (r !== null && r.memoizedState !== null) {- n && zl(e), pu(n);- continue;+ return n.memoizedState = [r, t], r;+ },+ useReducer: function(e, t, n) {+ var r = rs();+ if (n !== void 0) {+ var i = n(t);+ if (Uo) {+ Xe(!0);+ try {+ n(t);+ } finally {+ Xe(!1);}}- r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, su = r) : (n && Xl(e), pu(n));+ } else i = t;+ return r.memoizedState = r.baseState = i, e = {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: e,+ lastRenderedState: i+ }, r.queue = e, e = e.dispatch = ac.bind(null, W, e), [r.memoizedState, e];+ },+ useRef: function(e) {+ var t = rs();+ return e = { current: e }, t.memoizedState = e;+ },+ useState: function(e) {+ e = ys(e);+ var t = e.queue, n = oc.bind(null, W, t);+ return t.dispatch = n, [e.memoizedState, n];+ },+ useDebugValue: Gs,+ useDeferredValue: function(e, t) {+ return Js(rs(), e, t);+ },+ useTransition: function() {+ 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 = rs();+ if (H) {+ if (n === void 0) throw Error(i(407));+ n = n();+ } else {+ if (n = t(), td === null) throw Error(i(349));+ nd & 127 || ms(r, t, n);}+ a.memoizedState = n;+ var o = {+ value: n,+ getSnapshot: t+ };+ 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 = rs(), t = td.identifierPrefix;+ if (H) {+ var n = Ji, r = qi;+ n = (r & ~(1 << 32 - Ze(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: tc,+ useFormState: Os,+ useActionState: Os,+ useOptimistic: function(e) {+ var t = rs();+ t.memoizedState = t.baseState = e;+ var n = {+ pending: null,+ lanes: 0,+ dispatch: null,+ lastRenderedReducer: null,+ lastRenderedState: null+ };+ return t.queue = n, t = cc.bind(null, W, !0, n), n.dispatch = t, [e, t];+ },+ useMemoCache: cs,+ useCacheRefresh: function() {+ return rs().memoizedState = ic.bind(null, W);+ },+ useEffectEvent: function(e) {+ var t = rs(), n = { impl: e };+ return t.memoizedState = n, function() {+ if (ed & 2) throw Error(i(440));+ return n.impl.apply(void 0, arguments);+ };}- Rl = null;+ }, mc = {+ readContext: xa,+ use: ss,+ useCallback: Ks,+ useContext: xa,+ useEffect: Rs,+ useImperativeHandle: Ws,+ useInsertionEffect: Vs,+ useLayoutEffect: Hs,+ useMemo: qs,+ useReducer: us,+ useRef: Ps,+ useState: function() {+ return us(ls);+ },+ useDebugValue: Gs,+ useDeferredValue: function(e, t) {+ return Ys(is(), zo.memoizedState, e, t);+ },+ useTransition: function() {+ var e = us(ls)[0], t = is().memoizedState;+ return [typeof e == "boolean" ? e : os(e), t];+ },+ useSyncExternalStore: ps,+ useId: nc,+ useHostTransitionStatus: tc,+ useFormState: ks,+ useActionState: ks,+ useOptimistic: function(e, t) {+ return bs(is(), zo, e, t);+ },+ useMemoCache: cs,+ useCacheRefresh: rc,+ useEffectEvent: Bs+ }, hc = {+ readContext: xa,+ use: ss,+ useCallback: Ks,+ useContext: xa,+ useEffect: Rs,+ useImperativeHandle: Ws,+ useInsertionEffect: Vs,+ useLayoutEffect: Hs,+ useMemo: qs,+ useReducer: fs,+ useRef: Ps,+ useState: function() {+ return fs(ls);+ },+ useDebugValue: Gs,+ useDeferredValue: function(e, t) {+ var n = is();+ return zo === null ? Js(n, e, t) : Ys(n, zo.memoizedState, e, t);+ },+ useTransition: function() {+ var e = fs(ls)[0], t = is().memoizedState;+ return [typeof e == "boolean" ? e : os(e), t];+ },+ useSyncExternalStore: ps,+ useId: nc,+ useHostTransitionStatus: tc,+ useFormState: Ms,+ useActionState: Ms,+ useOptimistic: function(e, t) {+ var n = is();+ return zo === null ? (n.baseState = e, [e, n.queue.dispatch]) : bs(n, zo, e, t);+ },+ useMemoCache: cs,+ useCacheRefresh: rc,+ useEffectEvent: Bs+ };+ 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);}- function pu(e) {- for (; su !== null;) {- var t = su, n = e, r = t.alternate, a = t.flags;- switch (t.tag) {- case 0:- case 11:- case 15: break;- case 1:- if (a & 1024 && r !== null) {- n = void 0, a = r.memoizedProps, r = r.memoizedState;- var o = t.stateNode;- try {- var s = yc(t.type, a);- n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;- } catch (e) {- mf(t, t.return, e);- }- }- break;- case 3:- if (a & 1024) {- if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) rm(r);- else if (n === 1) switch (r.nodeName) {- case "HEAD":- case "HTML":- case "BODY":- rm(r);- break;- default: r.textContent = "";- }- }- break;- case 5:- case 26:- case 27:- case 6:- case 4:- case 17: break;- case 30:- n && r !== null && (n = mi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = gi(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, su = r;- break;- }- su = t.return;+ var _c = {+ enqueueSetState: function(e, t, n) {+ e = e._reactInternals;+ var r = Fd(), i = po(r);+ i.payload = t, n != null && (i.callback = n), t = mo(e, i, r), t !== null && (Rd(t, e, r), ho(t, e, r));+ },+ enqueueReplaceState: function(e, t, n) {+ e = e._reactInternals;+ var r = Fd(), i = po(r);+ i.tag = 1, i.payload = t, n != null && (i.callback = n), t = mo(e, i, r), t !== null && (Rd(t, e, r), ho(t, e, r));+ },+ enqueueForceUpdate: function(e, t) {+ e = e._reactInternals;+ var n = Fd(), r = po(n);+ r.tag = 2, t != null && (r.callback = t), t = mo(e, r, n), t !== null && (Rd(t, e, n), ho(t, e, n));}+ };+ 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 ? !Rr(n, r) || !Rr(i, a) : !0;}- function mu(e, t, n) {- var r = n.flags;- switch (n.tag) {- case 0:- case 11:- case 15:- Fu(e, n), r & 4 && yl(5, n);- break;- case 1:- if (Fu(e, n), r & 4) {- if (e = n.stateNode, t === null) try {- e.componentDidMount();- } catch (e) {- mf(n, n.return, e);- }- else {- var i = yc(n.type, t.memoizedProps);- t = t.memoizedState;- try {- e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);- } catch (e) {- mf(n, n.return, e);- }- }- }- r & 64 && xl(n), r & 512 && Cl(n, n.return);- break;- case 3:- if (Fu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {- if (t = null, n.child !== null) switch (n.child.tag) {- case 27:- case 5:- t = n.child.stateNode;- break;- case 1: t = n.child.stateNode;- }- try {- xo(e, t);- } catch (e) {- mf(n, n.return, e);- }- }- break;- case 27: t === null && r & 4 && Il(n);- case 26:- case 5:- Fu(e, n), t === null && r & 4 && Al(n), r & 512 && Cl(n, n.return);- break;- case 12:- Fu(e, n);- break;- case 31:- Fu(e, n), r & 4 && wu(e, n);- break;- case 13:- Fu(e, n), r & 4 && Tu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = vf.bind(null, n), lm(e, n))));- break;- case 22:- if (r = n.memoizedState !== null || nu, !r) {- var a = t !== null && t.memoizedState !== null || ru;- t = nu, i = ru, nu = r, (ru = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Lu(e, n, r)) : Fu(e, n), nu = t, ru = i;- }- break;- case 30:- Fu(e, n), r & 512 && Cl(n, n.return);- break;- case 7: r & 512 && Cl(n, n.return);- default: Fu(e, n);- }+ 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 hu(e, t) {- for (e = e.child; e !== null;) gu(e, t), e = e.sibling;+ 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 gu(e, t) {- switch (e.tag) {- case 5:- case 26:- try {- var n = e.stateNode;- if (t) {- var r = n.style;- typeof r.setProperty == "function" ? r.setProperty("display", "none", "important") : r.display = "none";- } else {- var i = e.stateNode, a = e.memoizedProps.style, o = a != null && a.hasOwnProperty("display") ? a.display : null;- i.style.display = o == null || typeof o == "boolean" ? "" : ("" + o).trim();- }- } catch (t) {- mf(e, e.return, t);- }- _u(e, t);- break;- case 6:- try {- e.stateNode.nodeValue = t ? "" : e.memoizedProps, z = !0;- } catch (t) {- mf(e, e.return, t);- }- break;- case 18:- try {- var s = e.stateNode;- t ? Tp(s, !0) : Tp(e.stateNode, !1);- } catch (t) {- mf(e, e.return, t);- }- break;- case 22:- case 23:- e.memoizedState === null && hu(e, t);- break;- default: hu(e, t);+ function xc(e) {+ _i(e);+ }+ function Sc(e) {+ console.error(e);+ }+ function Cc(e) {+ _i(e);+ }+ function wc(e, t) {+ try {+ var n = e.onUncaughtError;+ n(t.value, { componentStack: t.stack });+ } catch (e) {+ setTimeout(function() {+ throw e;+ });}}- function _u(e, t) {- if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {- a: {- var n = e, r = t;- switch (n.tag) {- case 4:- gu(n, r);- break a;- case 22:- n.memoizedState === null && _u(n, r);- break a;- default: _u(n, r);- }- }- e = e.sibling;+ function Tc(e, t, n) {+ try {+ var r = e.onCaughtError;+ r(n.value, {+ componentStack: n.stack,+ errorBoundary: t.tag === 1 ? t.stateNode : null+ });+ } catch (e) {+ setTimeout(function() {+ throw e;+ });}}- function vu(e) {- var t = e.alternate;- t !== null && (e.alternate = null, vu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && jt(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;+ function Ec(e, t, n) {+ return n = po(n), n.tag = 3, n.payload = { element: null }, n.callback = function() {+ wc(e, t);+ }, n;}- var bu = null, xu = !1;- function Su(e, t, n) {- for (n = n.child; n !== null;) Cu(e, t, n), n = n.sibling;+ function Dc(e) {+ return e = po(e), e.tag = 3, e;}- function Cu(e, t, n) {- if (Ze && typeof Ze.onCommitFiberUnmount == "function") try {- Ze.onCommitFiberUnmount(Xe, n);- } catch {}- switch (n.tag) {- case 26:- ru || wl(n, t), Su(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !ru && (n = n.stateNode, n.parentNode.removeChild(n));- break;- case 27:- ru || wl(n, t), Dl(n);- var r = bu, i = xu;- Cp(n.type) && (bu = n.stateNode, xu = !1), Su(e, t, n), _m(n.stateNode, n.type, n.memoizedProps), bu = r, xu = i;- break;- case 5: ru || wl(n, t), Dl(n);- case 6:- if (n.tag === 6 && Dl(n), r = bu, i = xu, bu = null, Su(e, t, n), bu = r, xu = i, bu !== null) {- if (xu) try {- (bu.nodeType === 9 ? bu.body : bu.nodeName === "HTML" ? bu.ownerDocument.body : bu).removeChild(n.stateNode), z = !0;- } catch (e) {- mf(n, t, e);- }- else try {- bu.removeChild(n.stateNode), z = !0;- } catch (e) {- mf(n, t, e);- }- }- break;- case 18:- bu !== null && (xu ? (e = bu, wp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Uh(e)) : wp(bu, n.stateNode));- break;- case 4:- r = bu, i = xu, bu = n.stateNode.containerInfo, xu = !0, Su(e, t, n), bu = r, xu = i;- break;- case 0:- case 11:- case 14:- case 15:- bl(2, n, t), ru || bl(4, n, t), Su(e, t, n);- break;- case 1:- ru || (wl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Sl(n, t, r)), Su(e, t, n);- break;- case 21:- Su(e, t, n);- break;- case 22:- ru = (r = ru) || n.memoizedState !== null, Su(e, t, n), ru = r;- break;- case 30:- wl(n, t), Su(e, t, n);- break;- case 7:- ru || wl(n, t), Su(e, t, n);- break;- default: Su(e, t, n);+ 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() {+ Tc(t, n, r);+ };}+ var o = n.stateNode;+ o !== null && typeof o.componentDidCatch == "function" && (e.callback = function() {+ Tc(t, n, r), typeof i != "function" && (Sd === null ? Sd = /* @__PURE__ */ new Set([this]) : Sd.add(this));+ var e = r.stack;+ this.componentDidCatch(r.value, { componentStack: e === null ? "" : e });+ });}- function wu(e, t) {- if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {- e = e.dehydrated;- try {- Uh(e);- } catch (e) {- mf(t, t.return, e);+ 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) {+ case 31:+ case 13:+ case 19: return Oo === null ? Xd() : n.alternate === null && ld === 0 && (ld = 3), n.flags &= -257, n.flags |= 65536, n.lanes = a, r === Ja ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([r]) : t.add(r), yf(e, r, a)), !1;+ case 22: return n.flags |= 65536, r === Ja ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {+ transitions: null,+ markerInstances: null,+ retryQueue: /* @__PURE__ */ new Set([r])+ }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([r]) : n.add(r)), yf(e, r, a)), !1;+ }+ throw Error(i(435, n.tag));}+ return yf(e, r, a), Xd(), !1;}+ if (H) return t = Do.current, t === null ? (r !== U && (t = Error(i(423), { cause: r }), ua(zi(t, n))), e = e.current.alternate, e.flags |= 65536, a &= -a, e.lanes |= a, r = zi(r, n), a = Ec(e.stateNode, r, a), go(e, a), ld !== 4 && (ld = 2)) : (!(t.flags & 65536) && (t.flags |= 256), t.flags |= 65536, t.lanes = a, r !== U && (e = Error(i(422), { cause: r }), ua(zi(e, n)))), !1;+ var o = Error(i(520), { cause: r });+ if (o = zi(o, n), hd === null ? hd = [o] : hd.push(o), ld !== 4 && (ld = 2), t === null) return !0;+ r = zi(r, n), n = t;+ do {+ switch (n.tag) {+ case 3: return n.flags |= 65536, e = a & -a, n.lanes |= e, e = 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" && (Sd === null || !Sd.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;+ }+ n = n.return;+ } while (n !== null);+ return !1;}- function Tu(e, t) {- if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {- Uh(e);- } catch (e) {- mf(t, t.return, e);- }+ 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 Eu(e) {- switch (e.tag) {- case 31:- case 13:- case 19:- var t = e.stateNode;- return t === null && (t = e.stateNode = new ou()), t;- case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new ou()), t;- default: throw Error(i(435, e.tag));+ function Nc(e, t, n, r, i) {+ n = n.render;+ var a = t.ref;+ if ("ref" in r) {+ var o = {};+ for (var s in r) s !== "ref" && (o[s] = r[s]);+ } else o = r;+ return ba(t), r = Xo(e, t, n, o, a, i), s = es(), e !== null && !jc ? (ts(e, t, i), sl(e, t, i)) : (H && s && Zi(t), t.flags |= 1, Mc(e, t, r, i), t.child);+ }+ function Pc(e, t, n, r, i) {+ if (e === null) {+ var a = n.type;+ return typeof a == "function" && !Ai(a) && a.defaultProps === void 0 && n.compare === null ? (t.tag = 15, t.type = a, Fc(e, t, a, r, i)) : (e = Ni(n.type, null, r, t, t.mode, i), e.ref = t.ref, e.return = t, t.child = e);+ }+ if (a = e.child, !cl(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);}+ return t.flags |= 1, e = ji(a, r), e.ref = t.ref, e.return = t, t.child = e;}- function Du(e, t) {- var n = Eu(e);- t.forEach(function(t) {- if (!n.has(t)) {- n.add(t);- var r = yf.bind(null, e, t);- t.then(r, r);+ function Fc(e, t, n, r, i) {+ if (e !== null) {+ var a = e.memoizedProps;+ if (Rr(a, r) && e.ref === t.ref) {+ if (jc = !1, t.pendingProps = r = a, cl(e, i)) e.flags & 131072 && (jc = !0);+ else return t.lanes = e.lanes, sl(e, t, i);}- });+ }+ return Uc(e, t, n, r, i);}- function Ou(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;- a: for (; l !== null;) {- switch (l.tag) {- case 27:- if (Cp(l.type)) {- bu = l.stateNode, xu = !1;- break a;- }- break;- case 5:- bu = l.stateNode, xu = !1;- break a;- case 3:- case 4:- bu = l.stateNode.containerInfo, xu = !0;- break a;- }- l = l.return;+ function Ic(e, t, n, r) {+ var i = r.children, a = e === null ? null : e.memoizedState;+ if (e === null && t.stateNode === null && (t.stateNode = {+ _visibility: 1,+ _pendingMarkers: null,+ _retryCache: null,+ _transitions: null+ }), r.mode === "hidden") {+ if (t.flags & 128) {+ if (a = a === null ? n : a.baseLanes | n, e !== null) {+ 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);}- if (bu === null) throw Error(i(160));- Cu(s, c, o), bu = null, xu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;- }- if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Au(t, e, n), t = t.sibling;+ 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 a === null ? (e !== null && Ua(t, null), To(), Mo()) : (Ua(t, a.cachePool), wo(t, a), Mo(), t.memoizedState = null);+ return Mc(e, t, i, n), t.child;}- var ku = null;- function Au(e, t, n) {- var r = e.alternate, a = e.flags;- switch (e.tag) {- case 0:- case 11:- case 14:- case 15:- if (a & 4 && (r = e.updateQueue, r = r === null ? null : r.events, r !== null)) for (var o = 0; o < r.length; o++) {- var s = r[o];- s.ref.impl = s.nextImpl;- }- Ou(t, e, n), ju(e), a & 4 && (bl(3, e, e.return), yl(3, e), bl(5, e, e.return));- break;- case 1:- Ou(t, e, n), ju(e), a & 512 && (ru || r === null || wl(r, r.return)), a & 64 && nu && (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 = ku, Ou(t, e, n), ju(e), a & 512 && (ru || r === null || wl(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 (nu) e.stateNode = pp(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[kt] || r[Ct] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), rp(r, t, n), r[Ct] = e, It(r), t = r;- break a;- case "link":- if (o = Km("link", "href", a).get(t + (n.href || ""))) {- for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("href") === (n.href == null || n.href === "" ? null : n.href) && r.getAttribute("rel") === (n.rel == null ? null : n.rel) && r.getAttribute("title") === (n.title == null ? null : n.title) && r.getAttribute("crossorigin") === (n.crossOrigin == null ? null : n.crossOrigin)) {- o.splice(s, 1);- break b;- }- }- r = a.createElement(t), rp(r, t, n), a.head.appendChild(r);- break;- case "meta":- if (o = Km("meta", "content", a).get(t + (n.content || ""))) {- for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("content") === (n.content == null ? null : "" + n.content) && r.getAttribute("name") === (n.name == null ? null : n.name) && r.getAttribute("property") === (n.property == null ? null : n.property) && r.getAttribute("http-equiv") === (n.httpEquiv == null ? null : n.httpEquiv) && r.getAttribute("charset") === (n.charSet == null ? null : n.charSet)) {- o.splice(s, 1);- break b;- }- }- r = a.createElement(t), rp(r, t, n), a.head.appendChild(r);- break;- default: throw Error(i(468, t));- }- r[Ct] = e, It(r), t = r;- }- e.stateNode = t;- }- } else nu || qm(o, e.type, e.stateNode);- } else e.stateNode = Vm(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 || ru || t.parentNode.removeChild(t)) : a.count--, n === null ? nu || qm(o, e.type, e.stateNode) : Vm(o, n, e.memoizedProps));- }- break;- case 27:- Ou(t, e, n), ju(e), a & 512 && (ru || r === null || wl(r, r.return)), r !== null && a & 4 && jl(e, e.memoizedProps, r.memoizedProps);- break;- case 5:- if (o = iu, iu = !1, Ou(t, e, n), iu = o, ju(e), a & 512 && (ru || r === null || wl(r, r.return)), e.flags & 32) {- t = e.stateNode;- try {- sn(t, ""), z = !0;- } catch (t) {- mf(e, e.return, t);- }- }- a & 4 && e.stateNode != null && (t = e.memoizedProps, jl(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (au = !0);- break;- case 6:- if (Ou(t, e, n), ju(e), a & 4) {- if (e.stateNode === null) throw Error(i(162));- t = e.memoizedProps, n = e.stateNode;- try {- n.nodeValue = t, z = !0;- } catch (t) {- mf(e, e.return, t);- }- }- break;- case 3:- if (z = !1, Gm = null, o = ku, ku = xm(t.containerInfo), Ou(t, e, n), ku = o, ju(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {- Uh(t.containerInfo);- } catch (t) {- mf(e, e.return, t);- }- au && (au = !1, Mu(e)), z = !1;- break;- case 4:- a = iu, iu = nu, r = Wt(), o = ku, ku = xm(e.stateNode.containerInfo), Ou(t, e, n), ju(e), ku = o, z && lu && (uu = !0), z = r, iu = a;- break;- case 12:- Ou(t, e, n), ju(e);- break;- case 31:- Ou(t, e, n), ju(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));- break;- case 13:- Ou(t, e, n), ju(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (_d = Ve()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));- break;- case 22:- o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;- var c = nu, l = ru, u = iu;- nu = c || o, iu = u || o, ru = l || s, Ou(t, e, n), ru = l, iu = u, nu = c, ju(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || nu || ru || (t = s || ru, n = nu, r = ru, nu = o || nu, ru = t, Iu(e, 2), nu = n, ru = r), !o && iu || hu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Du(e, n))));- break;- case 19:- Ou(t, e, n), ju(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));- break;- case 30:- a & 512 && (ru || r === null || wl(r, r.return)), a = Wt(), o = lu, s = (n & 335544064) === n, c = e.memoizedProps, lu = s && gi(c.default, c.update) !== "none", Ou(t, e, n), ju(e), s && r !== null && z && (e.flags |= 4), lu = o, z = a;- break;- case 21: break;- case 7: a & 512 && (ru || r === null || wl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);- default: Ou(t, e, n), ju(e);- }+ function Lc(e, t) {+ return e !== null && e.tag === 22 || t.stateNode !== null || (t.stateNode = {+ _visibility: 1,+ _pendingMarkers: null,+ _retryCache: null,+ _transitions: null+ }), t.sibling;}- function ju(e) {- var t = e.flags;- if (t & 2) {- try {- for (var n, r = e.return; r !== null;) {- if (Ml(r)) {- n = r;- break;- }- r = r.return;- }- r = null;- for (var a = e.return; a !== null;) {- if (kl(a)) {- var o = a.stateNode;- r === null ? r = [o] : r.push(o);- }- if (Ol(a)) break;- a = a.return;- }- var s = r;- if (n == null) throw Error(i(160));- switch (n.tag) {- case 27:- var c = n.stateNode;- Fl(e, Nl(e), c, s);- break;- case 5:- var l = n.stateNode;- n.flags & 32 && (sn(l, ""), n.flags &= -33), Fl(e, Nl(e), l, s);- break;- case 3:- case 4:- var u = n.stateNode.containerInfo;- Pl(e, Nl(e), u, s);- break;- default: throw Error(i(161));- }- } catch (t) {- mf(e, e.return, t);- }- e.flags &= -3;- }- t & 4096 && (e.flags &= -4097);+ function Rc(e, t, n, r, i) {+ var a = Ha();+ return a = a === null ? null : {+ parent: Da._currentValue,+ pool: a+ }, t.memoizedState = {+ baseLanes: n,+ cachePool: a+ }, e !== null && Ua(t, null), To(), jo(t), e !== null && va(e, t, r, !0), t.childLanes = i, null;}- function Mu(e) {- if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {- var t = e;- Mu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, _h = !0, t.reset(), _h = !1), e = e.sibling;- }+ function zc(e, t) {+ return t = Qc({+ mode: t.mode,+ children: t.children+ }, e.mode), t.ref = e.ref, e.child = t, t.return = e, t;}- function Nu(e, t) {- if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Pu(t, e), t = t.sibling;- else tu(t, !1);+ 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 Pu(e, t) {- var n = e.alternate;- if (n === null) ql(e, !1);- else switch (e.tag) {- case 3:- if (du = cu = !1, Vl(), Nu(t, e), !cu && !uu) {- if (e = Bl, e !== null) for (var r = 0; r < e.length; r += 3) {- n = e[r];- var i = e[r + 1];- Dp(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({- opacity: [0, 0],- pointerEvents: ["none", "none"]- }, {- duration: 0,- fill: "forwards",- pseudoElement: "::view-transition-group(" + i + ")"- });- }- e = t.containerInfo, e = e.nodeType === 9 ? e.documentElement : e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "" && (e.style.viewTransitionName = "none", e.animate({- opacity: [0, 0],- pointerEvents: ["none", "none"]- }, {- duration: 0,- fill: "forwards",- pseudoElement: "::view-transition-group(root)"- }), e.animate({- width: [0, 0],- height: [0, 0]- }, {- duration: 0,- fill: "forwards",- pseudoElement: "::view-transition"- })), du = !0;+ function Vc(e, t, n) {+ var r = t.pendingProps, a = !!(t.flags & 128);+ if (t.flags &= -129, e === null) {+ if (H) {+ if (r.mode === "hidden") return e = zc(t, r), t.lanes = 536870912, e.memoizedState = {+ baseLanes: 0,+ cachePool: null+ }, Lc(null, e);+ if (Ao(t), (e = ta) ? (e = dm(e, ra), e = e !== null && e.data === "&" ? e : null, e !== null && (t.memoizedState = {+ dehydrated: e,+ treeContext: Ki === null ? null : {+ id: qi,+ overflow: Ji+ },+ retryLane: 536870912,+ hydrationErrors: null+ }, n = Ii(e), n.return = t, t.child = n, ea = t, ta = null)) : e = null, e === null) throw ia(t);+ return t.lanes = 536870912, null;+ }+ return zc(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);+ else if (t.memoizedState !== null) t.child = e.child, t.flags |= 128, t = null;+ else throw Error(i(558));+ } else if (jc || va(e, t, n, !1), a = (n & e.childLanes) !== 0, jc || a) {+ if (So.current === null) {+ if (r = td, r !== null && (s = ht(r, n), s !== 0 && s !== o.retryLane)) throw o.retryLane = s, wi(e, s), Rd(r, e, s), Ac;+ Xd();}- Bl = null;- break;- case 5:- Nu(t, e);- break;- case 4:- r = cu, cu = !1, Nu(t, e), cu && (uu = !0), cu = r;- break;- case 22:- e.memoizedState === null && (n.memoizedState === null ? Nu(t, e) : ql(e, !1));- break;- case 30:- r = cu, i = Vl(), cu = !1, Nu(t, e), cu && (e.flags |= 4);- var a = e.memoizedProps, o = e.stateNode;- t = mi(a, o), o = mi(n.memoizedProps, o);- var s = gi(a.default, a.update);- s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Hl = 0, t = eu(e, n, t, o, s, a, !0), Hl !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Fd(e, e.memoizedProps.onUpdate), Bl = i) : i !== null && (i.push.apply(i, Bl), Bl = i), cu = e.flags & 32 ? !0 : r;- break;- default: Nu(t, e);+ t = Bc(e, t, n);+ } else e = o.treeContext, ta = mm(s.nextSibling), ea = t, H = !0, na = null, ra = !1, e !== null && $i(t, e), t = zc(t, r), t.flags |= 134221824;+ return t;}+ return e = ji(e.child, {+ mode: r.mode,+ children: r.children+ }), e.ref = t.ref, t.child = e, e.return = t, e;}- function Fu(e, t) {- if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) mu(e, t.alternate, t), t = t.sibling;+ function Hc(e, t) {+ var n = t.ref;+ if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816);+ else {+ if (typeof n != "function" && typeof n != "object") throw Error(i(284));+ (e === null || e.ref !== n) && (t.flags |= 4194816);+ }}- function Iu(e, t) {- for (e = e.child; e !== null;) {- var n = e, r = t;- switch (n.tag) {- case 0:- case 11:- case 14:- case 15:- bl(4, n, n.return), Iu(n, r);- break;- case 1:- wl(n, n.return);- var i = n.stateNode;- typeof i.componentWillUnmount == "function" && Sl(n, n.return, i), Iu(n, r);- break;- case 27: r & 2 && _m(n.stateNode, n.type, n.memoizedProps);- case 5:- wl(n, n.return), n.tag !== 5 && n.tag !== 27 || Dl(n), Iu(n, r);- break;- case 6:- Dl(n);- break;- case 26:- wl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || ru || i.parentNode.removeChild(i), Iu(n, r);- break;- case 22:- n.memoizedState === null && Iu(n, r);- break;- case 30:- wl(n, n.return), Iu(n, r);- break;- case 7: wl(n, n.return);- default: Iu(n, r);+ function Uc(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), sl(e, t, i)) : (H && r && Zi(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 = Qo(t, r, n, i), Zo(e), r = es(), e !== null && !jc ? (ts(e, t, a), sl(e, t, a)) : (H && r && Zi(t), t.flags |= 1, Mc(e, t, n, a), t.child);+ }+ function Gc(e, t, n, r, i) {+ if (ba(t), t.stateNode === null) {+ var a = Di, 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 = _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) : Di, 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 = bc(n, s);+ a.props = c;+ var l = a.context, u = n.contextType;+ o = Di, 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) && 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" && (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 = bc(n, o), a.props = u, d = t.pendingProps, f = a.context, l = n.contextType, c = Di, 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" && (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)) : Mc(e, t, n, i), t.memoizedState = a.state, e = t.child) : e = sl(e, t, i), e;+ }+ function Kc(e, t, n, r) {+ return ca(), t.flags |= 256, Mc(e, t, n, r), t.child;+ }+ var qc = {+ dehydrated: null,+ treeContext: null,+ retryLane: 0,+ hydrationErrors: null+ };+ function Jc(e) {+ return {+ baseLanes: e,+ cachePool: Wa()+ };+ }+ function Yc(e, t, n) {+ return e = e === null ? 0 : e.childLanes & ~n, t && (e |= pd), e;+ }+ function Xc(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 (H) {+ if (i ? ko(t) : Mo(), (e = ta) ? (e = dm(e, ra), e = e !== null && e.data !== "&" ? e : null, e !== null && (t.memoizedState = {+ dehydrated: e,+ treeContext: Ki === null ? null : {+ id: qi,+ overflow: Ji+ },+ retryLane: 536870912,+ hydrationErrors: null+ }, n = Ii(e), n.return = t, t.child = n, ea = t, ta = null)) : e = null, e === null) throw ia(t);+ return t.lanes = J(e) ? 32 : 536870912, null;}- e = e.sibling;+ return a = r.children, r = r.fallback, i ? (Mo(), i = t.mode, a = Qc({+ mode: "hidden",+ children: a+ }, i), r = Pi(r, i, n, null), a.return = t, r.return = t, a.sibling = r, t.child = a, r = t.child, r.memoizedState = Jc(n), r.childLanes = Yc(e, o, n), t.memoizedState = qc, Lc(null, r)) : (ko(t), Zc(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);}+ return i ? (Mo(), i = r.fallback, a = t.mode, s = e.child, c = s.sibling, r = ji(s, {+ mode: "hidden",+ children: r.children+ }), r.subtreeFlags = s.subtreeFlags & 1206910976, c === null ? (i = Pi(i, a, n, null), i.flags |= 2) : i = ji(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 : {+ 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 = ji(n, {+ mode: "visible",+ children: r.children+ }), n.return = t, n.sibling = null, e !== null && (o = t.deletions, o === null ? (t.deletions = [e], t.flags |= 16) : o.push(e)), t.child = n, t.memoizedState = null, n);}- function Lu(e, t, n) {- for (n = t.subtreeFlags & 8772 ? n : n & -2, t = t.child; t !== null;) {- var r = t.alternate, i = e, a = t, o = a.flags, s = !!(n & 1);- switch (a.tag) {- case 0:- case 11:- case 15:- Lu(i, a, n), yl(4, a);- break;- case 1:- if (Lu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {- i.componentDidMount();- } catch (e) {- mf(r, r.return, e);- }- if (r = a, i = r.updateQueue, i !== null) {- var c = r.stateNode;- try {- var l = i.shared.hiddenCallbacks;- if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) bo(l[i], c);- } catch (e) {- mf(r, r.return, e);- }- }- s && o & 64 && xl(a), Cl(a, a.return);- break;- case 27: n & 2 && Il(a);- case 5:- a.tag !== 5 && a.tag !== 27 || El(a), Lu(i, a, n), s && r === null && o & 4 && Al(a), Cl(a, a.return);- break;- case 6:- El(a);- break;- case 26:- c = a.stateNode, a.memoizedState !== null || c === null || nu || qm(xm(c.ownerDocument), a.type, c), Lu(i, a, n), s && r === null && o & 4 && Al(a), Cl(a, a.return);- break;- case 12:- Lu(i, a, n);- break;- case 31:- Lu(i, a, n), s && o & 4 && wu(i, a);- break;- case 13:- Lu(i, a, n), s && o & 4 && Tu(i, a);- break;- case 22:- a.memoizedState === null && Lu(i, a, n), Cl(a, a.return);- break;- case 30:- Lu(i, a, n), Cl(a, a.return);- break;- case 7: Cl(a, a.return);- default: Lu(i, a, n);+ function Zc(e, t) {+ return t = Qc({+ mode: "visible",+ children: t+ }, e.mode), t.return = e, e.child = t;+ }+ function Qc(e, t) {+ return e = ki(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, 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({+ mode: "visible",+ children: a.children+ }, s), o = Pi(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);+ if (ko(t), J(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);+ }+ if (jc || va(e, t, c, !1), r = (c & e.childLanes) !== 0, jc || r) {+ if (So.current !== null) return $c(e, t, c);+ if (r = td, r !== null && (a = ht(r, c), a !== 0 && a !== s.retryLane)) throw s.retryLane = a, wi(e, a), Rd(r, e, a), Ac;+ return fm(o) || Xd(), $c(e, t, c);+ }+ return fm(o) ? (t.flags |= 192, t.child = e.child, null) : (e = s.treeContext, ta = mm(o.nextSibling), ea = t, H = !0, na = null, ra = !1, e !== null && $i(t, e), t = Zc(t, a.children), t.flags |= 134221824, t);+ }+ function tl(e, t, n) {+ e.lanes |= t;+ var r = e.alternate;+ r !== null && (r.lanes |= t), ga(e.return, t, n);+ }+ function nl(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) {+ var o = e.memoizedState;+ o === null ? e.memoizedState = {+ isBackwards: t,+ rendering: null,+ renderingStartTime: 0,+ last: r,+ tail: n,+ tailMode: i,+ 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) {+ 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) {+ 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), Mc(e, t, r, n), il(e)) : Mc(e, t, r, n), r = H ? Ui : 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);+ else if (e.child !== null) {+ e.child.return = e, e = e.child;+ continue;}- t = t.sibling;+ if (e === t) break a;+ for (; e.sibling === null;) {+ if (e.return === null || e.return === t) break a;+ e = e.return;+ }+ e.sibling.return = e.return, e = e.sibling;+ }+ 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);+ break;+ case "unstable_legacy-backwards":+ for (n = null, i = t.child, t.child = null; i !== null;) {+ if (e = i.alternate, e !== null && Lo(e) === null) {+ t.child = i;+ break;+ }+ e = i.sibling, i.sibling = n, n = i, i = e;+ }+ rl(t, !0, n, null, a, r);+ break;+ case "together":+ rl(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);}+ return t.child;}- function Ru(e, t) {- var n = null;- e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && ka(n));+ function ol(e, t, n) {+ var r = t.pendingProps;+ return ma(t, t.type, r.value), Mc(e, t, r.children, n), t.child;}- function zu(e, t) {- e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && ka(e));+ function sl(e, t, n) {+ if (e !== null && (t.dependencies = e.dependencies), ud |= t.lanes, (n & t.childLanes) === 0) {+ if (e !== null) {+ if (va(e, t, n, !1), (n & t.childLanes) === 0) return null;+ } else return null;+ }+ if (e !== null && t.child !== e.child) throw Error(i(153));+ if (t.child !== null) {+ for (e = t.child, n = ji(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null;) e = e.sibling, n = n.sibling = ji(e, e.pendingProps), n.return = t;+ n.sibling = null;+ }+ return t.child;}- function Bu(e, t, n, r) {- var i = (n & 335544064) === n;- if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Vu(e, t, n, r), t = t.sibling;- else i && $l(t);+ function cl(e, t) {+ return (e.lanes & t) !== 0 || (e = e.dependencies, !!(e !== null && ya(e)));}- function Vu(e, t, n, r) {- var i = (n & 335544064) === n;- i && t.alternate === null && t.return !== null && t.return.alternate !== null && Ql(t);- var a = t.flags;+ function ll(e, t, n) {switch (t.tag) {- case 0:- case 11:- case 15:- Bu(e, t, n, r), a & 2048 && yl(9, t);+ case 3:+ Ce(t, t.stateNode.containerInfo), ma(t, Da, e.memoizedState.cache), ca();break;- case 1:- Bu(e, t, n, r);+ case 27:+ case 5:+ Te(t);break;- case 3:- Bu(e, t, n, r), i && du && (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)));+ case 4:+ Ce(t, t.stateNode.containerInfo);break;- case 12:- if (a & 2048) {- Bu(e, t, n, r), a = t.stateNode;- try {- var o = t.memoizedProps, s = o.id, c = o.onPostCommit;- typeof c == "function" && c(s, t.alternate === null ? "mount" : "update", a.passiveEffectDuration, -0);- } catch (e) {- mf(t, t.return, e);- }- } else Bu(e, t, n, r);+ case 10:+ ma(t, t.type, t.memoizedProps.value);break;case 31:- Bu(e, t, n, r);+ if (t.memoizedState !== null) return t.flags |= 128, Ao(t), null;break;case 13:- Bu(e, t, n, r);+ var r = t.memoizedState;+ if (r !== null) {+ 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);+ }+ ko(t);break;- case 23: break;- case 22:- o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && Ql(t), o._visibility & 2 ? Bu(e, t, n, r) : (o._visibility |= 2, Hu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && Ql(s), o._visibility & 2 ? Bu(e, t, n, r) : Uu(e, t)), a & 2048 && Ru(s, t);- break;- case 24:- Bu(e, t, n, r), a & 2048 && zu(t.alternate, t);- break;- case 30:- i && (a = t.alternate, a !== null && (Gl(a.child, !0), Gl(t.child, !0))), Bu(e, t, n, r);- break;- default: Bu(e, t, n, r);+ case 19:+ if (t.flags & 128) return al(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);+ 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 24: ma(t, Da, e.memoizedState.cache);}+ return sl(e, t, n);}- function Hu(e, t, n, r, i) {- for (i &&= !!(t.subtreeFlags & 10256) || !1, t = t.child; t !== null;) {- var a = e, o = t, s = n, c = r, l = o.flags;- switch (o.tag) {- case 0:- case 11:- case 15:- Hu(a, o, s, c, i), yl(8, o);- break;- case 23: break;- case 22:- var u = o.stateNode;- o.memoizedState === null ? (u._visibility |= 2, Hu(a, o, s, c, i)) : u._visibility & 2 ? Hu(a, o, s, c, i) : Uu(a, o), i && l & 2048 && Ru(o.alternate, o);- break;- case 24:- Hu(a, o, s, c, i), i && l & 2048 && zu(o.alternate, o);- break;- default: Hu(a, o, s, c, i);+ function ul(e, t, n) {+ if (e !== null) {+ if (e.memoizedProps !== t.pendingProps) jc = !0;+ else {+ if (!cl(e, n) && !(t.flags & 128)) return jc = !1, ll(e, t, n);+ jc = !!(e.flags & 131072);}- t = t.sibling;+ } else jc = !1, H && t.flags & 1048576 && Xi(t, Ui, 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") Ai(e) ? (r = bc(e, r), t.tag = 1, t = Gc(null, t, e, r, n)) : (t.tag = 0, t = Uc(null, t, e, r, n));+ else {+ if (e != null) {+ var a = e.$$typeof;+ if (a === ee) {+ t.tag = 11, t = Nc(null, t, e, r, n);+ break a;+ }+ if (a === te) {+ t.tag = 14, t = Pc(null, t, e, r, n);+ break a;+ }+ if (a === N) {+ t.tag = 10, t.type = e, t = ol(null, t, n);+ break a;+ }+ }+ throw t = de(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 = bc(r, t.pendingProps), Gc(e, t, r, a, n);+ case 3:+ a: {+ if (Ce(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);+ var s = t.memoizedState;+ if (r = s.cache, ma(t, Da, r), r !== o.cache && _a(t, [Da], n, !0), vo(), r = s.element, o.isDehydrated) {+ if (o = {+ element: r,+ isDehydrated: !1,+ cache: s.cache+ }, t.updateQueue.baseState = o, t.memoizedState = o, t.flags & 256) {+ t = Kc(e, t, r, n);+ break a;+ }+ if (r !== a) {+ a = zi(Error(i(424)), t), ua(a), t = Kc(e, t, r, n);+ break a;+ }+ switch (e = t.stateNode.containerInfo, e.nodeType) {+ case 9:+ e = e.body;+ break;+ default: e = e.nodeName === "HTML" ? e.ownerDocument.body : e;+ }+ for (ta = mm(e.firstChild), ea = t, H = !0, na = null, ra = !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);+ break a;+ }+ Mc(e, t, r, n);+ }+ t = t.child;+ }+ return t;+ case 26: return Hc(e, t), e === null ? (n = Rm(t.type, null, t.pendingProps, null)) ? t.memoizedState = n : H || (t.stateNode = bp(t.type, t.pendingProps, xe.current, t)) : t.memoizedState = Rm(t.type, e.memoizedProps, t.pendingProps, e.memoizedState), null;+ case 27: return Te(t), e === null && H && (r = t.stateNode = bm(t.type, t.pendingProps, xe.current), ea = t, ra = !0, a = ta, Ap(t.type) ? (hm = a, ta = mm(r.firstChild)) : ta = a), Mc(e, t, t.pendingProps.children, n), Hc(e, t), e === null && (t.flags |= 4194304), t.child;+ case 5: return e === null && H && ((a = r = ta) && (r = lm(r, t.type, t.pendingProps, ra), r === null ? a = !1 : (t.stateNode = r, ea = t, ta = mm(r.firstChild), ra = !1, a = !0)), a || ia(t)), Te(t), a = t.type, o = t.pendingProps, s = e === null ? null : e.memoizedProps, r = o.children, xp(a, o) ? r = null : s !== null && xp(a, s) && (t.flags |= 32), t.memoizedState !== null && (a = Xo(e, t, $o, null, null, n), dh._currentValue = a), Hc(e, t), Mc(e, t, r, n), t.child;+ case 6: return e === null && H && ((e = n = ta) && (n = um(n, t.pendingProps, ra), n === null ? e = !1 : (t.stateNode = n, ea = t, ta = null, e = !0)), e || ia(t)), null;+ case 13: return Xc(e, t, n);+ case 4: return Ce(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), 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 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, Mc(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 24: return ba(t), r = xa(Da), e === null ? (a = Ha(), a === null && (a = td, 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))), 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 : H && Zi(t), e !== null && e.memoizedProps.name !== r.name ? t.flags |= 4194816 : Hc(e, t), Mc(e, t, r.children, n), t.child;+ case 29: throw t.pendingProps;}+ throw Error(i(156, t.tag));}- function Uu(e, t) {- if (t.subtreeFlags & 10256) for (t = t.child; t !== null;) {- var n = e, r = t, i = r.flags;- switch (r.tag) {- case 22:- Uu(n, r), i & 2048 && Ru(r.alternate, r);- break;- case 24:- Uu(n, r), i & 2048 && zu(r.alternate, r);- break;- default: Uu(n, r);+ function dl(e) {+ e.flags |= 4;+ }+ function fl(e, t, n, r, i) {+ var a;+ if ((a = !!(e.mode & 32)) && (a = n === null ? Qm(t, r) : Qm(t, r) && (r.src !== n.src || r.srcSet !== n.srcSet)), a) {+ if (e.flags |= 16777216, (i & 335544128) === i) {+ if (e.stateNode.complete) e.flags |= 8192;+ else if (qd()) e.flags |= 8192;+ else throw Qa = Ja, Ka;}- t = t.sibling;+ } else e.flags &= -16777217;+ }+ function pl(e, t) {+ if (t.type !== "stylesheet" || t.state.loading & 4) e.flags &= -16777217;+ else if (e.flags |= 16777216, !$m(t)) {+ if (qd()) e.flags |= 8192;+ else throw Qa = Ja, Ka;}}- var Wu = 8192;- function Gu(e, t, n) {- if (e.subtreeFlags & Wu) for (e = e.child; e !== null;) Ku(e, t, n), e = e.sibling;+ function ml(e, t) {+ t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag === 22 ? 536870912 : lt(), e.lanes |= t, md |= t);}- function Ku(e, t, n) {- switch (e.tag) {- case 26:- Gu(e, t, n), e.flags & Wu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && Qm(n, e)) : $m(n, ku, e.memoizedState, e.memoizedProps));- break;- case 5:- Gu(e, t, n), e.flags & Wu && (e = e.stateNode, (t & 335544128) === t && Qm(n, e));- break;- case 3:- case 4:- var r = ku;- ku = xm(e.stateNode.containerInfo), Gu(e, t, n), ku = r;- break;- case 22:- e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Wu, Wu = 16777216, Gu(e, t, n), Wu = r) : Gu(e, t, n));- break;- case 30:- if ((e.flags & Wu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {- var i = e.stateNode;- i.paired = null, Rl === null && (Rl = /* @__PURE__ */ new Map()), Rl.set(r, i);- }- Gu(e, t, n);+ function hl(e, t) {+ if (!H) switch (e.tailMode) {+ case "visible": break;+ case "collapsed":+ for (var n = e.tail, r = null; n !== null;) n.alternate !== null && (r = n), n = n.sibling;+ r === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : r.sibling = null;break;- default: Gu(e, t, n);- }- }- function qu(e) {- var t = e.alternate;- if (t !== null && (e = t.child, e !== null)) {- t.child = null;- do- t = e.sibling, e.sibling = null, e = t;- while (e !== null);+ default:+ for (t = e.tail, n = null; t !== null;) t.alternate !== null && (n = t), t = t.sibling;+ n === null ? e.tail = null : n.sibling = null;}}- function Ju(e) {- var t = e.deletions;- if (e.flags & 16) {- if (t !== null) for (var n = 0; n < t.length; n++) {- var r = t[n];- su = r, Zu(r, e);- }- qu(e);- }- if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Yu(e), e = e.sibling;+ function gl(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 Yu(e) {- switch (e.tag) {+ function _l(e, t, n) {+ var r = t.pendingProps;+ switch (Qi(t), t.tag) {+ case 16:+ case 15:case 0:case 11:- case 15:- Ju(e), e.flags & 2048 && bl(9, e, e.return);- break;- case 3:- Ju(e);- break;+ case 7:+ case 8:case 12:- Ju(e);- break;- case 22:- var t = e.stateNode;- e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Xu(e)) : Ju(e);- break;- default: Ju(e);- }- }- function Xu(e) {- var t = e.deletions;- if (e.flags & 16) {- if (t !== null) for (var n = 0; n < t.length; n++) {- var r = t[n];- su = r, Zu(r, e);- }- qu(e);- }- for (e = e.child; e !== null;) {- switch (t = e, t.tag) {- case 0:- case 11:- case 15:- bl(8, t, t.return), Xu(t);- break;- case 22:- n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Xu(t));- break;- default: Xu(t);- }- e = e.sibling;- }- }- function Zu(e, t) {- for (; su !== null;) {- var n = su;- switch (n.tag) {- case 0:- case 11:- case 15:- bl(8, n, t);- break;- case 23:- case 22:- if (n.memoizedState !== null && n.memoizedState.cachePool !== null) {- var r = n.memoizedState.cachePool.pool;- r != null && r.refCount++;+ 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), we(), 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 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;+ case 27:+ if (Ee(t), n = xe.current, a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && dl(t);+ else {+ if (!r) {+ if (t.stateNode === null) throw Error(i(166));+ return gl(t), t.subtreeFlags &= -33554433, null;}- break;- case 24: ka(n.memoizedState.cache);- }- if (r = n.child, r !== null) r.return = n, su = r;- else a: for (n = e; su !== null;) {- r = su;- var i = r.sibling, a = r.return;- if (vu(r), r === n) {- su = null;- break a;- }- if (i !== null) {- i.return = a, su = i;- break a;+ e = ye.current, sa(t) ? aa(t, e) : (e = bm(a, r, n), t.stateNode = e, dl(t));}- su = a;- }- }- }- var Qu = {- getCacheForType: function(e) {- var t = xa(Da), n = t.data.get(e);- return n === void 0 && (n = e(), t.data.set(e, n)), n;- },- cacheSignal: function() {- return xa(Da).controller.signal;- }- }, $u = typeof WeakMap == "function" ? WeakMap : Map, ed = 0, td = null, K = null, q = 0, nd = 0, rd = null, id = !1, ad = !1, od = !1, sd = 0, cd = 0, ld = 0, ud = 0, dd = 0, fd = 0, pd = 0, md = null, hd = null, gd = !1, _d = 0, vd = 0, yd = Infinity, bd = null, xd = null, Sd = 0, Cd = null, wd = null, Td = 0, Ed = 0, Dd = null, Od = null, kd = null, Ad = null, jd = null, Md = 0, J = null;- function Nd() {- return ed & 2 && q !== 0 ? q & -q : P.T === null ? bt() : Pf();- }- function Pd() {- if (fd === 0) {- if (!(q & 536870912) || U) {- var e = it;- it <<= 1, !(it & 3932160) && (it = 262144), fd = e;- } else fd = 536870912;- }- return e = Do.current, e !== null && (e.flags |= 32), fd;- }- function Fd(e, t) {- if (t != null) {- var n = e.stateNode, r = n.ref;- r === null && (r = n.ref = Fp(mi(e.memoizedProps, n))), Ad === null && (Ad = []), Ad.push(t.bind(null, r));- }- }- function Id(e, t, n) {- (e === td && (nd === 2 || nd === 9) || e.cancelPendingCommit !== null) && (Ud(e, 0), Bd(e, q, fd, !1)), pt(e, n), (!(ed & 2) || e !== td) && (e === td && (!(ed & 2) && (ud |= n), cd === 4 && Bd(e, q, fd, !1)), Ef(e));- }- function Ld(e, t, n) {- if (ed & 6) throw Error(i(327));- var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || ct(e, t), a = r ? Xd(e, t) : Jd(e, t, !0), o = r;- do {- if (a === 0) {- ad && !r && Bd(e, t, 0, !1);- break;- }- if (n = e.current.alternate, o && !zd(n)) {- a = Jd(e, t, !1), o = !1;- continue;- }- if (a === 2) {- if (o = t, e.errorRecoveryDisabledLanes & o) var s = 0;- else s = e.pendingLanes & -536870913, s = s === 0 ? s & 536870912 ? 536870912 : 0 : s;- if (s !== 0) {- t = s;- a: {- var c = e;- a = md;- var l = c.current.memoizedState.isDehydrated;- if (l && (Ud(c, s).flags |= 256), s = Jd(c, s, !1), s !== 2 && s !== 6) {- if (od && !l) {- c.errorRecoveryDisabledLanes |= o, ud |= o, a = 4;- break a;+ return gl(t), t.subtreeFlags &= -33554433, null;+ case 5:+ if (Ee(t), a = t.type, e !== null && t.stateNode != null) e.memoizedProps !== r && dl(t);+ else {+ if (!r) {+ if (t.stateNode === null) throw Error(i(166));+ return gl(t), t.subtreeFlags &= -33554433, null;+ }+ if (o = ye.current, sa(t)) aa(t, o);+ else {+ var s = _p(xe.current);+ switch (o) {+ case 1:+ o = s.createElementNS("http://www.w3.org/2000/svg", a);+ break;+ case 2:+ o = s.createElementNS("http://www.w3.org/1998/Math/MathML", a);+ break;+ default: switch (a) {+ case "svg":+ o = s.createElementNS("http://www.w3.org/2000/svg", a);+ break;+ case "math":+ o = s.createElementNS("http://www.w3.org/1998/Math/MathML", a);+ break;+ case "script":+ o = s.createElement("div"), o.innerHTML = "<script><\/script>", o = o.removeChild(o.firstChild);+ break;+ case "select":+ o = typeof r.is == "string" ? s.createElement("select", { is: r.is }) : s.createElement("select"), r.multiple ? o.multiple = !0 : r.size && (o.size = r.size);+ break;+ default: o = typeof r.is == "string" ? s.createElement(a, { is: r.is }) : s.createElement(a);}- o = hd, hd = a, o !== null && (hd === null ? hd = o : hd.push.apply(hd, o));}- a = s;+ o[xt] = t, o[St] = 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) {+ s.child.return = s, s = s.child;+ continue;+ }+ if (s === t) break a;+ for (; s.sibling === null;) {+ if (s.return === null || s.return === t) break a;+ s = s.return;+ }+ s.sibling.return = s.return, s = s.sibling;+ }+ t.stateNode = o;+ a: switch (up(o, a, r), a) {+ case "button":+ case "input":+ case "select":+ case "textarea":+ r = !!r.autoFocus;+ break a;+ case "img":+ r = !0;+ break a;+ default: r = !1;+ }+ r && dl(t);}- if (o = !1, a !== 2) continue;}- }- if (a === 1) {- Ud(e, 0), Bd(e, t, 0, !0);- break;- }- a: {- switch (r = e, o = a, o) {- case 0:- case 1: throw Error(i(345));- case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;- case 6:- Bd(r, t, fd, !id);- break a;- case 2:- hd = null;- break;- case 3:- case 5: break;- default: throw Error(i(329));+ return gl(t), t.subtreeFlags &= -33554433, fl(t, t.type, e === null ? null : e.memoizedProps, t.pendingProps, n), null;+ case 6:+ if (e && t.stateNode != null) e.memoizedProps !== r && dl(t);+ else {+ if (typeof r != "string" && t.stateNode === null) throw Error(i(166));+ if (e = xe.current, sa(t)) {+ if (e = t.stateNode, n = t.memoizedProps, r = null, a = ea, a !== null) switch (a.tag) {+ case 27:+ case 5: r = a.memoizedProps;+ }+ e[xt] = t, e = !!(e.nodeValue === n || r !== null && !0 === r.suppressHydrationWarning || sp(e.nodeValue, n)), e || ia(t, !0);+ } else e = _p(e).createTextNode(r), e[xt] = t, t.stateNode = e;}- if ((t & 62914560) === t && (a = _d + 300 - Ve(), 10 < a)) {- if (Bd(r, t, fd, !id), st(r, 0, !0) !== 0) break a;- Td = t, r.timeoutHandle = _p(Rd.bind(null, r, n, hd, bd, gd, t, fd, ud, pd, id, o, "Throttled", -0, 0), a);- break a;+ return gl(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[xt] = t;+ } else ca(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ gl(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));}- Rd(r, n, hd, bd, gd, t, fd, ud, pd, id, o, null, -0, 0);- }- break;- } while (1);- Ef(e);- }- function Rd(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {- e.timeoutHandle = -1;- var m = t.subtreeFlags, h = (a & 335544064) === a;- if (d = null, (h || m & 8192 || (m & 16785408) == 16785408) && (d = {- stylesheets: null,- count: 0,- imgCount: 0,- imgBytes: 0,- suspenseyImages: [],- waitingForImages: !0,- waitingForViewTransition: !1,- unsuspend: hn- }, Rl = null, Ku(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 = rh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? _d - Ve() : (a & 4194048) === a ? vd - Ve() : 0, m = th(d, m), m !== null)) {- Td = a, e.cancelPendingCommit = m(nf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Bd(e, a, o, !l);- return;+ return gl(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[xt] = t;+ } else ca(), !(t.flags & 128) && (t.memoizedState = null), t.flags |= 4;+ gl(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 we(), e === null && Zf(t.stateNode.containerInfo), t.flags |= 67108864, gl(t), null;+ case 10: return ha(t.type), gl(t), null;+ case 19:+ if (Io(t), r = t.memoizedState, r === null) return gl(t), null;+ if (a = !!(t.flags & 128), o = r.rendering, o === null) {+ if (a) hl(r, !1);+ else {+ if (ld !== 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;) Mi(n, e), n = n.sibling;+ return Fo(t, Po.current & 1 | 2), H && Yi(t, r.treeForkCount), t.child;+ }+ e = e.sibling;+ }+ r.tail !== null && ze() > bd && (t.flags |= 128, a = !0, hl(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 && !H) return gl(t), null;+ } else 2 * ze() - r.renderingStartTime > bd && n !== 536870912 && (t.flags |= 128, a = !0, hl(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);+ }+ if (r.tail !== null) {+ e = r.tail;+ a: {+ for (n = e; n !== null;) {+ if (n.alternate !== null) {+ n = !1;+ break a;+ }+ n = n.sibling;+ }+ n = !0;+ }+ return r.rendering = e, r.tail = e.sibling, r.renderingStartTime = ze(), e.sibling = null, o = Po.current, o = a ? o & 1 | 2 : o & 1, r.tailMode === "visible" || r.tailMode === "collapsed" || !n || H ? Fo(t, o) : (n = o, ve(Do, t), ve(Po, n), Oo === null && (Oo = t)), H && Yi(t, r.treeForkCount), e;+ }+ return gl(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 && _e(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 25: return null;+ case 30: return t.flags |= 33554432, gl(t), null;}- nf(e, t, a, n, r, i, o, s, c, l, u, d);+ throw Error(i(156, t.tag));}- function zd(e) {- for (var t = e;;) {- var n = t.tag;- if ((n === 0 || n === 11 || n === 15) && t.flags & 16384 && (n = t.updateQueue, n !== null && (n = n.stores, n !== null))) for (var r = 0; r < n.length; r++) {- var i = n[r], a = i.getSnapshot;- i = i.value;- try {- if (!Lr(a(), i)) return !1;- } catch {- return !1;+ function vl(e, t) {+ switch (Qi(t), t.tag) {+ case 1: return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 3: return ha(Da), we(), e = t.flags, e & 65536 && !(e & 128) ? (t.flags = e & -65537 | 128, t) : null;+ case 26:+ case 27:+ case 5: return Ee(t), null;+ case 31:+ if (t.memoizedState !== null) {+ if (No(t), t.alternate === null) throw Error(i(340));+ ca();}- }- if (n = t.child, t.subtreeFlags & 16384 && n !== null) n.return = t, t = n;- else {- if (t === e) break;- for (; t.sibling === null;) {- if (t.return === null || t.return === e) return !0;- t = t.return;+ return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, t) : null;+ case 13:+ if (No(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {+ if (t.alternate === null) throw Error(i(340));+ ca();}- t.sibling.return = t.return, t = t.sibling;- }+ 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 we(), null;+ case 10: return ha(t.type), null;+ case 22:+ case 23: return No(t), Eo(), e !== null && _e(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;}- return !0;}- function Bd(e, t, n, r) {- t = lt(e, t), t &= ~dd, t &= ~ud, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;- for (var i = t; 0 < i;) {- var a = 31 - $e(i), o = 1 << a;- r[a] = -1, i &= ~o;+ function yl(e, t) {+ switch (Qi(t), t.tag) {+ case 3:+ ha(Da), we();+ break;+ case 26:+ case 27:+ case 5:+ Ee(t);+ break;+ case 4:+ we();+ break;+ case 31:+ t.memoizedState !== null && No(t);+ break;+ case 13:+ No(t);+ break;+ case 19:+ Io(t);+ break;+ case 10:+ ha(t.type);+ break;+ case 22:+ case 23:+ No(t), Eo(), e !== null && _e(Va);+ break;+ case 24: ha(Da);}- n !== 0 && ht(e, n, t);}- function Vd() {- return ed & 6 ? !0 : (Df(0, !1), !1);- }- function Hd() {- if (K !== null) {- if (nd === 0) var e = K.return;- else e = K, pa = fa = null, ts(e), to = null, no = 0, e = K;- for (; e !== null;) vl(e.alternate, e), e = e.return;- K = null;+ function bl(e, t) {+ try {+ var n = t.updateQueue, r = n === null ? null : n.lastEffect;+ if (r !== null) {+ var i = r.next;+ n = i;+ do {+ if ((n.tag & e) === e) {+ r = void 0;+ var a = n.create, o = n.inst;+ r = a(), o.destroy = r;+ }+ n = n.next;+ } while (n !== i);+ }+ } catch (e) {+ vf(t, t.return, e);}}- function Ud(e, t) {- var n = e.timeoutHandle;- return n !== -1 && (e.timeoutHandle = -1, vp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Td = 0, Hd(), td = e, K = n = ji(e.current, null), q = t, nd = 0, rd = null, id = !1, ad = ct(e, t), od = !1, pd = fd = dd = ud = ld = cd = 0, hd = md = null, gd = !1, sd = lt(e, t), xi(), n;- }- function Y(e, t) {- W = null, P.H = dc, t === Ga || t === qa ? (t = $a(), nd = 3) : t === Ka ? (t = $a(), nd = 4) : nd = t === kc ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, rd = t, K === null && (cd = 1, Cc(e, zi(t, e.current)));- }- function Wd() {- var e = Do.current;- return e === null ? !0 : (q & 4194048) === q ? Oo === null : (q & 62914560) === q || q & 536870912 ? e === Oo : !1;- }- function Gd() {- var e = P.H;- return P.H = dc, e === null ? dc : e;- }- function Kd() {- var e = P.A;- return P.A = Qu, e;- }- function qd() {- cd = 4, id || (q & 4194048) !== q && Do.current !== null || (ad = !0), !(ld & 134217727) && !(ud & 134217727) || td === null || Bd(td, q, fd, !1);- }- function Jd(e, t, n) {- var r = ed;- ed |= 2;- var i = Gd(), a = Kd();- (td !== e || q !== t) && (bd = null, Ud(e, t)), t = !1;- var o = cd;- a: do- try {- if (nd !== 0 && K !== null) {- var s = K, c = rd;- switch (nd) {- case 8:- Hd(), o = 6;- break a;- case 3:- case 2:- case 9:- case 6:- Do.current === null && (t = !0);- var l = nd;- if (nd = 0, rd = null, $d(e, s, c, l), n && ad) {- o = 0;- break a;+ function xl(e, t, n) {+ try {+ var r = t.updateQueue, i = r === null ? null : r.lastEffect;+ if (i !== null) {+ var a = i.next;+ r = a;+ do {+ if ((r.tag & e) === e) {+ var o = r.inst, s = o.destroy;+ if (s !== void 0) {+ o.destroy = void 0, i = t;+ var c = n, l = s;+ try {+ l();+ } catch (e) {+ vf(i, c, e);}- break;- default: l = nd, nd = 0, rd = null, $d(e, s, c, l);+ }}- }- Yd(), o = cd;- break;- } catch (t) {- Y(e, t);+ r = r.next;+ } while (r !== a);}- while (1);- return t && e.shellSuspendCounter++, pa = fa = null, ed = r, P.H = i, P.A = a, K === null && (td = null, q = 0, xi()), o;- }- function Yd() {- for (; K !== null;) Zd(K);+ } catch (e) {+ vf(t, t.return, e);+ }}- function Xd(e, t) {- var n = ed;- ed |= 2;- var r = Gd(), a = Kd();- td !== e || q !== t ? (bd = null, yd = Ve() + 500, Ud(e, t)) : ad = ct(e, t);- a: do+ function Sl(e) {+ var t = e.updateQueue;+ if (t !== null) {+ var n = e.stateNode;try {- if (nd !== 0 && K !== null) {- t = K;- var o = rd;- b: switch (nd) {- case 1:- nd = 0, rd = null, $d(e, t, o, 1);- break;- case 2:- case 9:- if (Ya(o)) {- nd = 0, rd = null, Qd(t);- break;- }- t = function() {- nd !== 2 && nd !== 9 || td !== e || (nd = 7), Ef(e);- }, o.then(t, t);- break a;- case 3:- nd = 7;- break a;- case 4:- nd = 5;- break a;- case 7:- Ya(o) ? (nd = 0, rd = null, Qd(t)) : (nd = 0, rd = null, $d(e, t, o, 7));- break;- case 5:- var s = null;- switch (K.tag) {- case 26: s = K.memoizedState;- case 5:- case 27:- var c = K;- if (s ? Xm(s) : c.stateNode.complete) {- nd = 0, rd = null;- var l = c.sibling;- if (l !== null) K = l;- else {- var u = c.return;- u === null ? K = null : (K = u, ef(u));- }- break b;- }- }- nd = 0, rd = null, $d(e, t, o, 5);- break;- case 6:- nd = 0, rd = null, $d(e, t, o, 6);- break;- case 8:- Hd(), cd = 6;- break a;- default: throw Error(i(462));- }- }- X();- break;+ xo(t, n);} catch (t) {- Y(e, t);+ vf(e, e.return, t);}- while (1);- return pa = fa = null, P.H = r, P.A = a, ed = n, K === null ? (td = null, q = 0, xi(), cd) : 0;- }- function X() {- for (; K !== null && !ze();) Zd(K);- }- function Zd(e) {- var t = ll(e.alternate, e, sd);- e.memoizedProps = e.pendingProps, t === null ? ef(e) : K = t;- }- function Qd(e) {- var t = e, n = t.alternate;- switch (t.tag) {- case 15:- case 0:- t = Uc(n, t, t.pendingProps, t.type, void 0, q);- break;- case 11:- t = Uc(n, t, t.pendingProps, t.type.render, t.ref, q);- break;- case 5:- ts(t);- var r = t;- r === ea && (U ? (oa(r), r.tag === 5 && r.stateNode != null && (H = r.stateNode)) : (oa(r), U = !0));- default: vl(n, t), t = K = Mi(t, sd), t = ll(n, t, sd);}- e.memoizedProps = e.pendingProps, t === null ? ef(e) : K = t;}- function $d(e, t, n, r) {- pa = fa = null, ts(t), to = null, no = 0;- var i = t.return;+ function Cl(e, t, n) {+ n.props = bc(e.type, e.memoizedProps), n.state = e.memoizedState;try {- if (Oc(e, i, t, n, q)) {- cd = 1, Cc(e, zi(n, e.current)), K = null;- return;- }- } catch (t) {- if (i !== null) throw K = i, t;- cd = 1, Cc(e, zi(n, e.current)), K = null;- return;+ n.componentWillUnmount();+ } catch (n) {+ vf(e, t, n);}- t.flags & 32768 ? (U || r === 1 ? e = !0 : ad || q & 536870912 ? e = !1 : (id = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Do.current, r !== null && r.tag === 13 && (r.flags |= 16384))), tf(t, e)) : ef(t);- }- function ef(e) {- var t = e;- do {- if (t.flags & 32768) {- tf(t, id);- return;- }- e = t.return;- var n = gl(t.alternate, t, sd);- if (n !== null) {- K = n;- return;- }- if (t = t.sibling, t !== null) {- K = t;- return;- }- K = t = e;- } while (t !== null);- cd === 0 && (cd = 5);}- function tf(e, t) {- do {- var n = _l(e.alternate, e);+ function wl(e, t) {+ try {+ var n = e.ref;if (n !== null) {- n.flags &= 32767, K = n;- return;- }- if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {- K = e;- return;+ switch (e.tag) {+ case 26:+ case 27:+ case 5:+ var r = e.stateNode;+ break;+ case 30:+ var i = e.stateNode, a = mi(e.memoizedProps, i);+ (i.ref === null || i.ref.name !== a) && (i.ref = Hp(a)), r = i.ref;+ break;+ case 7:+ if (e.stateNode === null) {+ var o = new Up(e);+ f(e.child, !1, am, o, void 0, void 0), e.stateNode = o;+ }+ r = e.stateNode;+ break;+ default: r = e.stateNode;+ }+ typeof n == "function" ? e.refCleanup = n(r) : n.current = r;}- K = e = n;- } while (e !== null);- cd = 6, K = null;- }- function nf(e, t, n, r, a, o, s, c, l, u, d, f) {- e.cancelPendingCommit = null;- do- df();- while (Sd !== 0);- if (ed & 6) throw Error(i(327));- if (t !== null) {- if (t === e.current) throw Error(i(177));- e === td && (K = td = null, q = 0), wd = t, Cd = e, Td = n, Dd = a, Od = r, rf(e, t, n, s, c, l, f);+ } catch (n) {+ vf(e, t, n);}}- function rf(e, t, n, r, i, a, o) {- var s = t.lanes | t.childLanes;- if (Ed = s, s |= bi, mt(e, n, s, r, i, a), Ad = null, (n & 335544064) === n ? (jd = Ma(e), r = 10262) : (jd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, bf(Ge, function() {- return ff(), null;- })) : (e.callbackNode = null, e.callbackPriority = 0), Ll = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {- r = P.T, P.T = null, i = F.p, F.p = 2, a = ed, ed |= 4;- try {- fu(e, t, n);+ function Tl(e, t) {+ var n = e.ref, r = e.refCleanup;+ if (n !== null) {+ if (typeof r == "function") try {+ r();+ } catch (n) {+ vf(e, t, n);} finally {- ed = a, F.p = i, P.T = r;+ e.refCleanup = null, e = e.alternate, e != null && (e.refCleanup = null);}+ else if (typeof n == "function") try {+ n(null);+ } catch (n) {+ vf(e, t, n);+ }+ else n.current = null;}- Sd = 1, Ll ? kd = Np(o, e.containerInfo, jd, sf, cf, of, lf, ff, af, null, null) : (sf(), cf(), lf());}- function af(e) {- if (Sd !== 0) {- var t = Cd.onRecoverableError;- t(e, { componentStack: null });- }+ 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++) om(e.stateNode, t[n]);}- function of() {- Sd === 3 && (Sd = 0, Pu(wd, Cd), Sd = 4);+ function Dl(e) {+ for (var t = e.return; t !== null && (Al(t) && om(e.stateNode, t.stateNode), !kl(t));) t = t.return;}- function sf() {- if (Sd === 1) {- Sd = 0;- var e = Cd, t = wd, n = Td, r = !!(t.flags & 13878);- if (t.subtreeFlags & 13878 || r) {- r = P.T, P.T = null;- var i = F.p;- F.p = 2;- var a = ed;- ed |= 4;- try {- lu = uu = !1, Au(t, e, n), n = lp;- 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)) {- 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 {- var d = s.ownerDocument || document, f = d && d.defaultView || window;- 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);- 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));- }- }- }- }- for (d = [], p = s; p = p.parentNode;) p.nodeType === 1 && d.push({- element: p,- left: p.scrollLeft,- top: p.scrollTop- });- for (typeof s.focus == "function" && s.focus(), s = 0; s < d.length; s++) {- var b = d[s];- b.element.scrollLeft = b.left, b.element.scrollTop = b.top;- }- }- _h = !!cp, lp = cp = null;- } finally {- ed = a, F.p = i, P.T = r;- }+ function Ol(e) {+ for (var t = e.return; t !== null && (Al(t) && sm(e.stateNode, t.stateNode), !kl(t));) t = t.return;+ }+ function kl(e) {+ 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) {+ case "button":+ case "input":+ case "select":+ case "textarea":+ n.autoFocus && r.focus();+ break a;+ case "img": n.src ? r.src = n.src : n.srcSet && (r.srcset = n.srcSet);}- e.current = t, Sd = 2;+ } catch (t) {+ vf(e, e.return, t);}}- function cf() {- if (Sd === 2) {- Sd = 0;- var e = Cd, t = wd, n = !!(t.flags & 8772);- if (t.subtreeFlags & 8772 || n) {- n = P.T, P.T = null;- var r = F.p;- F.p = 2;- var i = ed;- ed |= 4;- try {- mu(e, t.alternate, t);- } finally {- ed = i, F.p = r, P.T = n;- }- }- Sd = 3;+ function Ml(e, t, n) {+ try {+ var r = e.stateNode;+ fp(r, e.type, n, t), r[St] = t;+ } catch (t) {+ vf(e, e.return, t);}}- function lf() {- if (Sd === 4 || Sd === 3) {- Sd = 0;- var e = kd;- kd = null, Be();- var t = Cd, n = wd, r = Td, i = Od, a = (r & 335544064) === r ? 10262 : 10256;- if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Sd = 5 : (Sd = 0, wd = Cd = null, uf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (xd = null), yt(r), n = n.stateNode, Ze && typeof Ze.onCommitFiberRoot == "function") try {- Ze.onCommitFiberRoot(Xe, n, void 0, (n.current.flags & 128) == 128);- } catch {}- if (i !== null) {- n = P.T, a = F.p, F.p = 2, P.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 {- P.T = n, F.p = a;- }+ function Nl(e) {+ return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Ap(e.type) || e.tag === 4;+ }+ function Pl(e) {+ a: for (;;) {+ for (; e.sibling === 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;) {+ if (e.tag === 27 && Ap(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue a;+ e.child.return = e, e = e.child;}- if (i = Ad, o = jd, jd = null, i !== null && (Ad = 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);- Td & 3 && df(), Ef(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === J ? Md++ : (Md = 0, J = t) : (Md = 0, J = null), Df(0, !1);+ if (!(e.flags & 2)) return e.stateNode;}}- function uf(e, t) {- (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, ka(t)));+ 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 = hn)), El(e, r), Ht = !0;+ else if (i !== 4 && (i === 27 && (El(e, r), r = null, Ap(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 df() {- return kd !== null && (kd.skipTransition(), kd = null), sf(), cf(), lf(), ff();+ 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), El(e, r), Ht = !0;+ else if (i !== 4 && (i === 27 && (El(e, r), r = null, Ap(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 ff() {- if (Sd !== 5) return !1;- var e = Cd, t = Ed;- Ed = 0;- var n = yt(Td), r = P.T, a = F.p;+ function Ll(e) {+ var t = e.stateNode, n = e.memoizedProps;try {- F.p = 32 > n ? 32 : n, P.T = null, n = Dd, Dd = null;- var o = Cd, s = Td;- if (Sd = 0, wd = Cd = null, Td = 0, ed & 6) throw Error(i(331));- var c = ed;- if (ed |= 4, Yu(o.current), Vu(o, o.current, s, n), ed = c, Df(0, !1), Ze && typeof Ze.onPostCommitFiberRoot == "function") try {- Ze.onPostCommitFiberRoot(Xe, o);- } catch {}- return !0;- } finally {- F.p = a, P.T = r, uf(e, t);+ for (var r = e.type, i = t.attributes; i.length;) t.removeAttributeNode(i[0]);+ up(t, r, n), t[xt] = e, t[St] = n;+ } catch (t) {+ vf(e, e.return, t);}}- function pf(e, t, n) {- t = zi(n, t), t = Tc(e.stateNode, t, 2), e = mo(e, t, 2), e !== null && (pt(e, 2), Ef(e));- }- function mf(e, t, n) {- if (e.tag === 3) pf(e, e, n);- else for (; t !== null;) {- if (t.tag === 3) {- pf(t, e, n);- break;- }- if (t.tag === 1) {- var r = t.stateNode;- if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (xd === null || !xd.has(r))) {- e = zi(n, e), n = Ec(2), r = mo(t, n, 2), r !== null && (Dc(n, r, t, e), pt(r, 2), Ef(r));- break;- }- }- t = t.return;- }+ var Rl = !1, zl = null;+ function Bl(e) {+ (e.tag === 30 || e.subtreeFlags & 33554432) && (Rl = !0);}- function hf(e, t, n) {- var r = e.pingCache;- if (r === null) {- r = e.pingCache = new $u();- var i = /* @__PURE__ */ new Set();- r.set(t, i);- } else i = r.get(t), i === void 0 && (i = /* @__PURE__ */ new Set(), r.set(t, i));- i.has(n) || (od = !0, i.add(n), e = gf.bind(null, e, t, n), t.then(e, e));+ var Vl = null;+ function Hl() {+ var e = Vl;+ return Vl = null, e;}- function gf(e, t, n) {- var r = e.pingCache;- r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, td === e && (q & n) === n && (cd === 4 || cd === 3 && (q & 62914560) === q && 300 > Ve() - _d ? ed & 2 ? dd |= n : Ud(e, 0) : dd |= n, pd === q && (pd = 0)), Ef(e);+ var Ul = 0;+ function Wl(e, t, n, r, i) {+ return Ul = 0, Gl(e.child, t, n, r, i);}- function _f(e, t) {- t === 0 && (t = dt()), e = wi(e, t), e !== null && (pt(e, t), Ef(e));+ function Gl(e, t, n, r, i) {+ for (var a = !1; e !== null;) {+ if (e.tag === 5) {+ var o = e.stateNode;+ if (r !== null) {+ var s = Ip(o);+ r.push(s), s.view && (a = !0);+ } else a || Ip(o).view && (a = !0);+ Rl = !0, Np(o, Ul === 0 ? t : t + "_" + Ul, n), Ul++;+ } else (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && i || Gl(e.child, t, n, r, i) && (a = !0));+ e = e.sibling;+ }+ return a;}- function vf(e) {- var t = e.memoizedState, n = 0;- t !== null && (n = t.retryLane), _f(e, n);+ function Kl(e, t) {+ for (; e !== null;) e.tag === 5 ? Pp(e.stateNode, e.memoizedProps) : (e.tag !== 22 || e.memoizedState === null) && (e.tag === 30 && t || Kl(e.child, t)), e = e.sibling;}- function yf(e, t) {- var n = 0;- switch (e.tag) {- case 31:- case 13:- var r = e.stateNode, a = e.memoizedState;- a !== null && (n = a.retryLane);- break;- case 19:- r = e.stateNode;- break;- case 22:- r = e.stateNode._retryCache;- break;- default: throw Error(i(314));+ function ql(e) {+ if (e.subtreeFlags & 18874368) for (e = e.child; e !== null;) {+ if ((e.tag !== 22 || e.memoizedState === null) && (ql(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 = gi(t.default, t.share), t !== "none" && (Wl(e, n, t, null, !1) || Kl(e.child, !1));+ }+ e = e.sibling;}- r !== null && r.delete(t), _f(e, n);}- function bf(e, t) {- return Le(e, t);- }- var xf = null, Sf = null, Cf = !1, Z = !1, wf = !1, Tf = 0;- function Ef(e) {- e !== Sf && e.next === null && (Sf === null ? xf = Sf = e : Sf = Sf.next = e), Z = !0, Cf || (Cf = !0, Nf());+ function Jl(e, t) {+ if (e.tag === 30) {+ var n = e.stateNode, r = e.memoizedProps, i = mi(r, n), a = gi(r.default, n.paired ? r.share : r.enter);+ a === "none" ? ql(e) : Wl(e, i, a, null, !1) ? (ql(e), n.paired || t || Ld(e, r.onEnter)) : Kl(e.child, !1);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Jl(e, t), e = e.sibling;+ else ql(e);}- function Df(e, t) {- if (!wf && Z) {- wf = !0;- do- for (var n = !1, r = xf; r !== null;) {- if (!t) {- if (e !== 0) {- var i = r.pendingLanes;- if (i === 0) var a = 0;- else {- var o = r.suspendedLanes, s = r.pingedLanes;- a = (1 << 31 - $e(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;+ function Yl(e) {+ if (zl !== null && zl.size !== 0) {+ var t = zl;+ 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 n = e.memoizedProps, r = n.name;+ if (r != null && r !== "auto") {+ var i = t.get(r);+ if (i !== void 0) {+ var a = gi(n.default, n.share);+ if (a !== "none" && (Wl(e, r, a, null, !1) ? (a = e.stateNode, i.paired = a, a.paired = i, Ld(e, n.onShare)) : Kl(e.child, !1)), t.delete(r), t.size === 0) break;}- a !== 0 && (n = !0, Mf(r, a));- } else a = q, a = st(r, r === td ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || ct(r, a) || (n = !0, Mf(r, a));+ }}- r = r.next;+ Yl(e);}- while (n);- wf = !1;+ e = e.sibling;+ }}}- function Of() {- kf();+ function Xl(e) {+ if (e.tag === 30) {+ var t = e.memoizedProps, n = mi(t, e.stateNode), r = zl === null ? void 0 : zl.get(n), i = gi(t.default, r === void 0 ? t.exit : t.share);+ i !== "none" && (Wl(e, n, i, null, !1) ? r === void 0 ? Ld(e, t.onExit) : (i = e.stateNode, r.paired = i, i.paired = r, zl.delete(n), Ld(e, t.onShare)) : Kl(e.child, !1)), zl !== null && Yl(e);+ } else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) Xl(e), e = e.sibling;+ else zl !== null && Yl(e);}- function kf() {- Z = Cf = !1;- var e = 0;- Tf !== 0 && gp() && (e = Tf);- for (var t = Ve(), n = null, r = xf; r !== null;) {- var i = r.next, a = Af(r, t);- a === 0 ? (r.next = null, n === null ? xf = i : n.next = i, i === null && (Sf = n)) : (n = r, (e !== 0 || a & 3) && (Z = !0)), r = i;+ function Zl(e) {+ for (e = e.child; e !== null;) {+ if (e.tag === 30) {+ var t = e.memoizedProps, n = mi(t, e.stateNode);+ t = gi(t.default, t.update), e.flags &= -5, t !== "none" && Wl(e, n, t, e.memoizedState = [], !1);+ } else e.subtreeFlags & 33554432 && Zl(e);+ e = e.sibling;}- Sd !== 0 && Sd !== 5 || Df(e, !1), Tf !== 0 && (Tf = 0);}- function Af(e, t) {- for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {- var o = 31 - $e(a), s = 1 << o, c = i[o];- c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = ut(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;- }- if (t = td, n = q, n = st(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (nd === 2 || nd === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Re(r), e.callbackNode = null, e.callbackPriority = 0;- if (!(n & 3) || ct(e, n)) {- if (t = n & -n, t === e.callbackPriority) return t;- switch (r !== null && Re(r), yt(n)) {- case 2:- case 8:- n = We;- break;- case 32:- n = Ge;- break;- case 268435456:- n = qe;- break;- default: n = Ge;+ function Ql(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, Kl(e.child, !1));+ }+ Ql(e);}- return r = jf.bind(null, e), n = Le(n, r), e.callbackPriority = t, e.callbackNode = n, t;+ e = e.sibling;}- return r !== null && r !== null && Re(r), e.callbackPriority = 2, e.callbackNode = null, 2;- }- function jf(e, t) {- if (Sd !== 0 && Sd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;- var n = e.callbackNode;- if (df() && e.callbackNode !== n) return null;- var r = q;- return r = st(e, e === td ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (Ld(e, r, t), Af(e, Ve()), e.callbackNode != null && e.callbackNode === n ? jf.bind(null, e) : null);}- function Mf(e, t) {- if (df()) return null;- Ld(e, t, !0);+ function $l(e) {+ if (e.tag === 30) e.stateNode.paired = null, Kl(e.child, !1), Ql(e);+ else if (e.subtreeFlags & 33554432) for (e = e.child; e !== null;) $l(e), e = e.sibling;+ else Ql(e);}- function Nf() {- xp(function() {- ed & 6 ? Le(Ue, Of) : kf();- });+ function eu(e) {+ for (e = e.child; e !== null;) e.tag === 30 ? Kl(e.child, !1) : e.subtreeFlags & 33554432 && eu(e), e = e.sibling;}- function Pf() {- if (Tf === 0) {- var e = Fa;- e === 0 && (e = rt, rt <<= 1, !(rt & 261888) && (rt = 256)), Tf = e;+ function tu(e, t, n, r, i, a, o) {+ for (var s = !1; t !== null;) {+ if (t.tag === 5) {+ var c = t.stateNode;+ if (a !== null && Ul < a.length) {+ var l = a[Ul], u = Ip(c);+ (l.view || u.view) && (s = !0);+ var d;+ if (d = !(e.flags & 4)) {+ if (u.clip) d = !0;+ else {+ d = l.rect;+ var f = u.rect;+ d = d.y !== f.y || d.x !== f.x || d.height !== f.height || d.width !== f.width;+ }+ }+ 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 && Np(c, Ul === 0 ? n : n + "_" + Ul, i), s && e.flags & 4 || (Vl === null && (Vl = []), Vl.push(c, Ul === 0 ? r : r + "_" + Ul, t.memoizedProps)), Ul++;+ } else (t.tag !== 22 || t.memoizedState === null) && (t.tag === 30 && o ? e.flags |= t.flags & 32 : tu(e, t.child, n, r, i, a, o) && (s = !0));+ t = t.sibling;}- return Tf;- }- function Ff(e) {- return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : mn(e);+ return s;}- function If(e, t, n, r, i) {- if (t === "submit" && n && n.stateNode === i) {- var a = Ff((i[wt] || null).action), o = r.submitter;- o && (t = (t = o[wt] || null) ? Ff(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: [{- instance: null,- listener: function() {- if (r.defaultPrevented) {- if (Tf !== 0) {- var e = new FormData(i, o);- Zs(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, {- pending: !0,- data: e,- method: i.method,- action: a- }, a, e));- },- currentTarget: i- }]- });+ function nu(e, t) {+ for (e = e.child; e !== null;) {+ if (e.tag === 30) {+ var n = e.memoizedProps, r = e.stateNode, i = mi(n, r), a = gi(n.default, n.update);+ if (t) {+ r = r.clones;+ var o = r === null ? null : r.map(Lp);+ } else o = e.memoizedState, e.memoizedState = null;+ r = e;+ var s = e.child;+ Ul = 0, i = tu(r, s, i, i, a, o, !1), e.flags & 4 && i && (t || Ld(e, n.onUpdate));+ } else e.subtreeFlags & 33554432 && nu(e, t);+ e = e.sibling;}}- for (var Lf = 0; Lf < di.length; Lf++) {- var Rf = di[Lf];- fi(Rf.toLowerCase(), "on" + (Rf[0].toUpperCase() + Rf.slice(1)));- }- fi(ri, "onAnimationEnd"), fi(ii, "onAnimationIteration"), fi(ai, "onAnimationStart"), fi("dblclick", "onDoubleClick"), fi("focusin", "onFocus"), fi("focusout", "onBlur"), fi(oi, "onTransitionRun"), fi(si, "onTransitionStart"), fi(ci, "onTransitionCancel"), fi(li, "onTransitionEnd"), zt("onMouseEnter", ["mouseout", "mouseover"]), zt("onMouseLeave", ["mouseout", "mouseover"]), zt("onPointerEnter", ["pointerout", "pointerover"]), zt("onPointerLeave", ["pointerout", "pointerover"]), Rt("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), Rt("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), Rt("onBeforeInput", [- "compositionend",- "keypress",- "textInput",- "paste"- ]), Rt("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), Rt("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), Rt("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));- var zf = "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(" "), Bf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(zf));- function Vf(e, t) {- t = !!(t & 4);- for (var n = 0; n < e.length; n++) {- var r = e[n], i = r.event;- r = r.listeners;- a: {- var a = void 0;- if (t) for (var o = r.length - 1; 0 <= o; o--) {- var s = r[o], c = s.instance, l = s.currentTarget;- if (s = s.listener, c !== a && i.isPropagationStopped()) break a;- a = s, i.currentTarget = l;+ var ru = !1, iu = !1, au = !1, ou = !1, su = typeof WeakSet == "function" ? WeakSet : Set, cu = null, lu = !1, uu = !1, du = !1, fu = !1;+ function pu(e, t, n) {+ if (e = e.containerInfo, hp = bh, e = Ur(e), Wr(e)) {+ if ("selectionStart" in e) var r = {+ start: e.selectionStart,+ end: e.selectionEnd+ };+ else a: {+ r = (r = e.ownerDocument) && r.defaultView || window;+ var i = r.getSelection && r.getSelection();+ if (i && i.rangeCount !== 0) {+ r = i.anchorNode;+ var a = i.anchorOffset, o = i.focusNode;+ i = i.focusOffset;try {- a(i);- } catch (e) {- _i(e);+ r.nodeType, o.nodeType;+ } catch {+ r = null;+ break a;}- i.currentTarget = null, a = c;- }- else for (o = 0; o < r.length; o++) {- if (s = r[o], c = s.instance, l = s.currentTarget, s = s.listener, c !== a && i.isPropagationStopped()) break a;- a = s, i.currentTarget = l;- try {- a(i);- } catch (e) {- _i(e);+ var s = 0, c = -1, l = -1, u = 0, d = 0, f = e, p = null;+ b: for (;;) {+ for (var m; f !== r || a !== 0 && f.nodeType !== 3 || (c = s + a), f !== o || i !== 0 && f.nodeType !== 3 || (l = s + i), f.nodeType === 3 && (s += f.nodeValue.length), (m = f.firstChild) !== null;) p = f, f = m;+ for (;;) {+ if (f === e) break b;+ if (p === r && ++u === a && (c = s), p === o && ++d === i && (l = s), (m = f.nextSibling) !== null) break;+ f = p, p = f.parentNode;+ }+ f = m;+ }+ r = c === -1 || l === -1 ? null : {+ start: c,+ end: l+ };+ } else r = null;+ }+ r ||= {+ start: 0,+ end: 0+ };+ } else r = null;+ for (gp = {+ focusedElem: e,+ selectionRange: r+ }, bh = !1, n = (n & 335544064) === n, cu = t, t = n ? 9270 : 1024; cu !== null;) {+ if (e = cu, n && (r = e.deletions, r !== null)) for (a = 0; a < r.length; a++) n && Xl(r[a]);+ if (e.alternate === null && e.flags & 2) n && Bl(e), mu(n);+ else {+ if (e.tag === 22) {+ if (r = e.alternate, e.memoizedState !== null) {+ r !== null && r.memoizedState === null && n && Xl(r), mu(n);+ continue;+ }+ if (r !== null && r.memoizedState !== null) {+ n && Bl(e), mu(n);+ continue;}- i.currentTarget = null, a = c;}+ r = e.child, (e.subtreeFlags & t) !== 0 && r !== null ? (r.return = e, cu = r) : (n && Zl(e), mu(n));}}+ zl = null;}- function Q(e, t) {- var n = t[Et];- n === void 0 && (n = t[Et] = /* @__PURE__ */ new Set());- var r = e + "__bubble";- n.has(r) || (Gf(t, e, 2, !1), n.add(r));- }- function Hf(e, t, n) {- var r = 0;- t && (r |= 4), Gf(n, e, r, t);- }- var Uf = "_reactListening" + Math.random().toString(36).slice(2);- function Wf(e) {- if (!e[Uf]) {- e[Uf] = !0, Lt.forEach(function(t) {- t !== "selectionchange" && (Bf.has(t) || Hf(t, !1, e), Hf(t, !0, e));- });- var t = e.nodeType === 9 ? e : e.ownerDocument;- t === null || t[Uf] || (t[Uf] = !0, Hf("selectionchange", !1, t));- }- }- function Gf(e, t, n, r) {- switch (wh(t)) {- case 2:- var i = vh;- break;- case 8:- i = yh;- break;- default: i = bh;- }- 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 });- }- function Kf(e, t, n, r, i) {- var a = r;- if (!(t & 1) && !(t & 2) && r !== null) a: for (;;) {- if (r === null) return;- var s = r.tag;- if (s === 3 || s === 4) {- var c = r.stateNode.containerInfo;- if (c === i) break;- if (s === 4) for (s = r.return; s !== null;) {- var l = s.tag;- if ((l === 3 || l === 4) && s.stateNode.containerInfo === i) return;- s = s.return;- }- for (; c !== null;) {- if (s = Mt(c), s === null) return;- if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {- r = a = s;- continue a;+ function mu(e) {+ for (; cu !== null;) {+ var t = cu, n = e, r = t.alternate, a = t.flags;+ switch (t.tag) {+ case 0:+ case 11:+ case 15: break;+ case 1:+ if (a & 1024 && r !== null) {+ n = void 0, a = r.memoizedProps, r = r.memoizedState;+ var o = t.stateNode;+ try {+ var s = bc(t.type, a);+ n = o.getSnapshotBeforeUpdate(s, r), o.__reactInternalSnapshotBeforeUpdate = n;+ } catch (e) {+ vf(t, t.return, e);+ }}- c = c.parentNode;- }+ break;+ case 3:+ if (a & 1024) {+ if (r = t.stateNode.containerInfo, n = r.nodeType, n === 9) cm(r);+ else if (n === 1) switch (r.nodeName) {+ case "HEAD":+ case "HTML":+ case "BODY":+ cm(r);+ break;+ default: r.textContent = "";+ }+ }+ break;+ case 5:+ case 26:+ case 27:+ case 6:+ case 4:+ case 17: break;+ case 30:+ n && r !== null && (n = mi(r.memoizedProps, r.stateNode), a = t.memoizedProps, a = gi(a.default, a.update), a !== "none" && Wl(r, n, a, r.memoizedState = [], !0));+ break;+ default: if (a & 1024) throw Error(i(163));}- r = r.return;+ if (r = t.sibling, r !== null) {+ r.return = t.return, cu = r;+ break;+ }+ cu = t.return;}- Sn(function() {- var r = a, i = _n(n), s = [];- a: {- var c = ui.get(e);- if (c !== void 0) {- var l = In, u = e;- switch (e) {- case "keypress": if (jn(n) === 0) break a;- case "keydown":- case "keyup":- l = er;- break;- case "focusin":- u = "focus", l = Gn;- break;- case "focusout":- u = "blur", l = Gn;- break;- case "beforeblur":- case "afterblur":- l = Gn;- break;- case "click": if (n.button === 2) break a;- case "auxclick":- case "dblclick":- case "mousedown":- case "mousemove":- case "mouseup":- case "mouseout":- case "mouseover":- case "contextmenu":- l = Un;- break;- case "drag":- case "dragend":- case "dragenter":- case "dragexit":- case "dragleave":- case "dragover":- case "dragstart":- case "drop":- l = Wn;- break;- case "touchcancel":- case "touchend":- case "touchmove":- case "touchstart":- l = rr;- break;- case ri:- case ii:- case ai:- l = Kn;- break;- case li:- l = ir;- break;- case "scroll":- case "scrollend":- l = Rn;- break;- case "wheel":- l = ar;- break;- case "copy":- case "cut":- case "paste":- l = qn;- break;- case "gotpointercapture":- case "lostpointercapture":- case "pointercancel":- case "pointerdown":- case "pointermove":- case "pointerout":- case "pointerover":- case "pointerup":- l = tr;- break;- case "submit":- l = nr;- break;- case "toggle":- 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 = Cn(m, p), g != null && d.push(qf(m, g, h))), f) break;- m = m.return;+ }+ function hu(e, t, n) {+ var r = n.flags;+ switch (n.tag) {+ case 0:+ case 11:+ case 15:+ Fu(e, n), r & 4 && bl(5, n);+ break;+ case 1:+ if (Fu(e, n), r & 4) {+ if (e = n.stateNode, t === null) try {+ e.componentDidMount();+ } catch (e) {+ vf(n, n.return, e);}- 0 < d.length && (c = new l(c, u, null, n, i), s.push({- event: c,- listeners: d- }));- }- }- if (!(t & 7)) {- a: {- if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== gn && (u = n.relatedTarget || n.fromElement) && (Mt(u) || u[Tt])) 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 ? Mt(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 : Pt(c), h = l == null ? u : Pt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, Mt(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, Yf) : null, c !== null && Xf(s, u, c, d, !1), l !== null && f !== null && Xf(s, f, l, d, !0)));- }- a: {- if (c = r ? Pt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Tr;- else if (V(c)) {- if (Er) _ = Fr;- else {- _ = Nr;- var v = Mr;+ else {+ var i = bc(n.type, t.memoizedProps);+ t = t.memoizedState;+ try {+ e.componentDidUpdate(i, t, e.__reactInternalSnapshotBeforeUpdate);+ } catch (e) {+ vf(n, n.return, e);}- } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && dn(r.elementType) && (_ = Tr) : _ = Pr;- if (_ &&= _(e, r)) {- br(s, _, n, i);- break a;}- v && v(e, c, r);- }- switch (v = r ? Pt(r) : window, e) {- case "focusin":- (V(v) || v.contentEditable === "true") && (qr = v, Jr = r, Yr = null);- break;- case "focusout":- Yr = Jr = qr = null;- break;- case "mousedown":- Xr = !0;- break;- case "contextmenu":- case "mouseup":- case "dragend":- Xr = !1, Zr(s, n, i);- break;- case "selectionchange": if (Kr) break;- case "keydown":- case "keyup": Zr(s, n, i);}- var y;- if (cr) b: {- switch (e) {- case "compositionstart":- var b = "onCompositionStart";- break b;- case "compositionend":- b = "onCompositionEnd";- break b;- case "compositionupdate":- b = "onCompositionUpdate";- break b;+ r & 64 && Sl(n), r & 512 && wl(n, n.return);+ break;+ case 3:+ if (Fu(e, n), r & 64 && (e = n.updateQueue, e !== null)) {+ if (t = null, n.child !== null) switch (n.child.tag) {+ case 27:+ case 5:+ t = n.child.stateNode;+ break;+ case 1: t = n.child.stateNode;+ }+ try {+ xo(e, t);+ } catch (e) {+ vf(n, n.return, e);}- b = void 0;}- 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 = Jf(r, b), 0 < v.length && (b = new Jn(b, e, null, n, i), s.push({- event: b,- listeners: v- }), y ? b.data = y : (y = hr(n), y !== null && (b.data = y)))), (y = ur ? _r(e, n) : vr(e, n)) && (b = Jf(r, "onBeforeInput"), 0 < b.length && (v = new Jn("onBeforeInput", "beforeinput", null, n, i), s.push({- event: v,- listeners: b- }), v.data = y)), If(s, e, r, n, i);- }- Vf(s, t);- });+ break;+ case 27: t === null && r & 4 && Ll(n);+ case 26:+ case 5:+ Fu(e, n), t === null && r & 4 && jl(n), r & 512 && wl(n, n.return);+ break;+ case 12:+ Fu(e, n);+ break;+ case 31:+ Fu(e, n), r & 4 && wu(e, n);+ break;+ case 13:+ Fu(e, n), r & 4 && Tu(e, n), r & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = Sf.bind(null, n), pm(e, n))));+ break;+ case 22:+ if (r = n.memoizedState !== null || ru, !r) {+ var a = t !== null && t.memoizedState !== null || iu;+ t = ru, i = iu, ru = r, (iu = a) && !i ? (r = 2, n.subtreeFlags & 8772 && (r |= 1), Lu(e, n, r)) : Fu(e, n), ru = t, iu = i;+ }+ break;+ case 30:+ Fu(e, n), r & 512 && wl(n, n.return);+ break;+ case 7: r & 512 && wl(n, n.return);+ default: Fu(e, n);+ }}- function qf(e, t, n) {- return {- instance: e,- listener: t,- currentTarget: n- };+ function gu(e, t) {+ for (e = e.child; e !== null;) _u(e, t), e = e.sibling;}- function Jf(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 = Cn(e, n), i != null && r.unshift(qf(e, i, a)), i = Cn(e, t), i != null && r.push(qf(e, i, a))), e.tag === 3) return r;- e = e.return;- }- return [];- }- function Yf(e) {- if (e === null) return null;- do- e = e.return;- while (e && e.tag !== 5 && e.tag !== 27);- return e || null;- }- function Xf(e, t, n, r, i) {- 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 = Cn(n, a), l != null && o.unshift(qf(n, l, c))) : i || (l = Cn(n, a), l != null && o.push(qf(n, l, c)))), n = n.return;- }- o.length !== 0 && e.push({- event: t,- listeners: o- });- }- var Zf = /\r\n?/g, Qf = /\u0000|\uFFFD/g;- function $f(e) {- return (typeof e == "string" ? e : "" + e).replace(Zf, "\n").replace(Qf, "");- }- function ep(e, t) {- return t = $f(t), $f(e) === t;- }- function tp(e, t, n, r, a, o) {- switch (n) {- case "children":- if (typeof r == "string") t === "body" || t === "textarea" && r === "" || sn(e, r);- else if (typeof r == "number" || typeof r == "bigint") t !== "body" && sn(e, "" + r);- else return;- break;- case "className":- Kt(e, "class", r);- break;- case "tabIndex":- Kt(e, "tabindex", r);- break;- case "dir":- case "role":- case "viewBox":- case "width":- case "height":- Kt(e, n, r);- break;- case "style":- un(e, r, o);- return;- case "data": if (t !== "object") {- Kt(e, "data", r);- break;- }- case "src":- case "href":- if (r === "" && (t !== "a" || n !== "href")) {- e.removeAttribute(n);- break;- }- if (r == null || typeof r == "function" || typeof r == "symbol" || typeof r == "boolean") {- e.removeAttribute(n);- break;+ function _u(e, t) {+ switch (e.tag) {+ case 5:+ case 26:+ try {+ var n = e.stateNode;+ if (t) {+ var r = n.style;+ typeof r.setProperty == "function" ? r.setProperty("display", "none", "important") : r.display = "none";+ } else {+ var i = e.stateNode, a = e.memoizedProps.style, o = a != null && a.hasOwnProperty("display") ? a.display : null;+ i.style.display = o == null || typeof o == "boolean" ? "" : ("" + o).trim();+ }+ } catch (t) {+ vf(e, e.return, t);}- r = mn(r), e.setAttribute(n, r);+ vu(e, t);break;- case "action":- case "formAction":- if (typeof r == "function") {- e.setAttribute(n, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");- break;- }- if (typeof o == "function" && (n === "formAction" ? (t !== "input" && tp(e, t, "name", a.name, a, null), tp(e, t, "formEncType", a.formEncType, a, null), tp(e, t, "formMethod", a.formMethod, a, null), tp(e, t, "formTarget", a.formTarget, a, null)) : (tp(e, t, "encType", a.encType, a, null), tp(e, t, "method", a.method, a, null), tp(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {- e.removeAttribute(n);- break;+ case 6:+ try {+ e.stateNode.nodeValue = t ? "" : e.memoizedProps, Ht = !0;+ } catch (t) {+ vf(e, e.return, t);}- r = mn(r), e.setAttribute(n, r);break;- case "onClick":- r != null && (e.onclick = hn);- return;- case "onScroll":- r != null && Q("scroll", e);- return;- case "onScrollEnd":- r != null && Q("scrollend", e);- return;- case "dangerouslySetInnerHTML":- if (r != null) {- if (typeof r != "object" || !("__html" in r)) throw Error(i(61));- if (n = r.__html, n != null) {- if (a.children != null) throw Error(i(60));- o?.__html !== n && (e.innerHTML = n);- }+ case 18:+ try {+ var s = e.stateNode;+ t ? Mp(s, !0) : Mp(e.stateNode, !1);+ } catch (t) {+ vf(e, e.return, t);}break;- case "multiple":- e.multiple = r && typeof r != "function" && typeof r != "symbol";- break;- case "muted":- e.muted = r && typeof r != "function" && typeof r != "symbol";+ case 22:+ case 23:+ e.memoizedState === null && gu(e, t);break;- case "suppressContentEditableWarning":- case "suppressHydrationWarning":- case "defaultValue":- case "defaultChecked":- case "innerHTML":- case "ref": break;- case "autoFocus": break;- case "xlinkHref":- if (r == null || typeof r == "function" || typeof r == "boolean" || typeof r == "symbol") {- e.removeAttribute("xlink:href");- break;+ default: gu(e, t);+ }+ }+ function vu(e, t) {+ if (e.subtreeFlags & 67108864) for (e = e.child; e !== null;) {+ a: {+ var n = e, r = t;+ switch (n.tag) {+ case 4:+ _u(n, r);+ break a;+ case 22:+ n.memoizedState === null && vu(n, r);+ break a;+ default: vu(n, r);}- n = mn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);- break;- case "contentEditable":- case "spellCheck":- case "draggable":- case "value":- case "autoReverse":- case "externalResourcesRequired":- case "focusable":- case "preserveAlpha":- r != null && typeof r != "function" && typeof r != "symbol" ? e.setAttribute(n, r) : e.removeAttribute(n);- break;- case "inert":- case "allowFullScreen":- case "async":- case "autoPlay":- case "controls":- case "credentialless":- case "default":- case "defer":- case "disabled":- case "disablePictureInPicture":- case "disableRemotePlayback":- case "formNoValidate":- case "hidden":- case "loop":- case "noModule":- case "noValidate":- case "open":- case "playsInline":- case "readOnly":- case "required":- case "reversed":- case "scoped":- case "seamless":- case "itemScope":- r && typeof r != "function" && typeof r != "symbol" ? e.setAttribute(n, "") : e.removeAttribute(n);- break;- case "capture":- case "download":- !0 === r ? e.setAttribute(n, "") : !1 !== r && r != null && typeof r != "function" && typeof r != "symbol" ? e.setAttribute(n, r) : e.removeAttribute(n);- break;- case "cols":- case "rows":- case "size":- case "span":- r != null && typeof r != "function" && typeof r != "symbol" && !isNaN(r) && 1 <= r ? e.setAttribute(n, r) : e.removeAttribute(n);- break;- case "rowSpan":- case "start":- r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);- break;- case "popover":- Q("beforetoggle", e), Q("toggle", e), Gt(e, "popover", r);+ }+ e = e.sibling;+ }+ }+ function yu(e) {+ var t = e.alternate;+ t !== null && (e.alternate = null, yu(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && kt(t)), e.stateNode = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;+ }+ var bu = null, xu = !1;+ function Su(e, t, n) {+ for (n = n.child; n !== null;) Cu(e, t, n), n = n.sibling;+ }+ function Cu(e, t, n) {+ if (Ye && typeof Ye.onCommitFiberUnmount == "function") try {+ Ye.onCommitFiberUnmount(Je, n);+ } catch {}+ switch (n.tag) {+ case 26:+ iu || Tl(n, t), Su(e, t, n), n.memoizedState ? n.memoizedState.count-- : n.stateNode && !iu && (n = n.stateNode, n.parentNode.removeChild(n));break;- case "xlinkActuate":- qt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);+ case 27:+ iu || Tl(n, t), Ol(n);+ var r = bu, i = xu;+ Ap(n.type) && (bu = n.stateNode, xu = !1), Su(e, t, n), xm(n.stateNode, n.type, n.memoizedProps), bu = r, xu = i;break;- case "xlinkArcrole":- qt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);+ case 5: iu || Tl(n, t), Ol(n);+ case 6:+ if (n.tag === 6 && Ol(n), r = bu, i = xu, bu = null, Su(e, t, n), bu = r, xu = i, bu !== null) {+ if (xu) try {+ (bu.nodeType === 9 ? bu.body : bu.nodeName === "HTML" ? bu.ownerDocument.body : bu).removeChild(n.stateNode), Ht = !0;+ } catch (e) {+ vf(n, t, e);+ }+ else try {+ bu.removeChild(n.stateNode), Ht = !0;+ } catch (e) {+ vf(n, t, e);+ }+ }break;- case "xlinkRole":- qt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);+ case 18:+ bu !== null && (xu ? (e = bu, jp(e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e, n.stateNode), Gh(e)) : jp(bu, n.stateNode));break;- case "xlinkShow":- qt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);+ case 4:+ r = bu, i = xu, bu = n.stateNode.containerInfo, xu = !0, Su(e, t, n), bu = r, xu = i;break;- case "xlinkTitle":- qt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);+ case 0:+ case 11:+ case 14:+ case 15:+ xl(2, n, t), iu || xl(4, n, t), Su(e, t, n);break;- case "xlinkType":- qt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);+ case 1:+ iu || (Tl(n, t), r = n.stateNode, typeof r.componentWillUnmount == "function" && Cl(n, t, r)), Su(e, t, n);break;- case "xmlBase":- qt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);+ case 21:+ Su(e, t, n);break;- case "xmlLang":- qt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);+ case 22:+ iu = (r = iu) || n.memoizedState !== null, Su(e, t, n), iu = r;break;- case "xmlSpace":- qt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);+ case 30:+ Tl(n, t), Su(e, t, n);break;- case "is":- Gt(e, "is", r);+ case 7:+ iu || Tl(n, t), Su(e, t, n);break;- case "innerText":- case "textContent": return;- default: if (!(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N") n = fn.get(n) || n, Gt(e, n, r);- else return;+ default: Su(e, t, n);}- z = !0;}- function np(e, t, n, r, a, o) {- switch (n) {- case "style":- un(e, r, o);- return;- case "dangerouslySetInnerHTML":- if (r != null) {- if (typeof r != "object" || !("__html" in r)) throw Error(i(61));- if (n = r.__html, n != null) {- if (a.children != null) throw Error(i(60));- o?.__html !== n && (e.innerHTML = n);- }- }- break;- case "children":- if (typeof r == "string") sn(e, r);- else if (typeof r == "number" || typeof r == "bigint") sn(e, "" + r);- else return;- break;- case "onScroll":- r != null && Q("scroll", e);- return;- case "onScrollEnd":- r != null && Q("scrollend", e);- return;- case "onClick":- r != null && (e.onclick = hn);- return;- case "suppressContentEditableWarning":- case "suppressHydrationWarning":- case "innerHTML":- case "ref": return;- case "innerText":- case "textContent": return;- default:- if (!R.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[wt] || 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);+ function wu(e, t) {+ if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null))) {+ e = e.dehydrated;+ try {+ Gh(e);+ } catch (e) {+ vf(t, t.return, e);+ }+ }+ }+ function Tu(e, t) {+ if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null)))) try {+ Gh(e);+ } catch (e) {+ vf(t, t.return, e);+ }+ }+ function Eu(e) {+ switch (e.tag) {+ case 31:+ case 13:+ case 19:+ var t = e.stateNode;+ return t === null && (t = e.stateNode = new su()), t;+ case 22: return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new su()), t;+ default: throw Error(i(435, e.tag));+ }+ }+ function Du(e, t) {+ var n = Eu(e);+ t.forEach(function(t) {+ if (!n.has(t)) {+ n.add(t);+ var r = wf.bind(null, e, t);+ t.then(r, r);+ }+ });+ }+ function Ou(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;+ a: for (; l !== null;) {+ switch (l.tag) {+ case 27:+ if (Ap(l.type)) {+ bu = l.stateNode, xu = !1;+ break a;+ }+ break;+ case 5:+ bu = l.stateNode, xu = !1;+ break a;+ case 3:+ case 4:+ bu = l.stateNode.containerInfo, xu = !0;break a;- }- z = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Gt(e, n, r);}- return;+ l = l.return;+ }+ if (bu === null) throw Error(i(160));+ Cu(s, c, o), bu = null, xu = !1, s = o.alternate, s !== null && (s.return = null), o.return = null;}- z = !0;+ if (t.subtreeFlags & 13886) for (t = t.child; t !== null;) Au(t, e, n), t = t.sibling;}- function rp(e, t, n) {- switch (t) {- case "div":- case "span":- case "svg":- case "path":- case "a":- case "g":- case "p":- case "li": break;- case "img":- Q("error", e), Q("load", e);- var r = !1, a = !1, o;- for (o in n) if (n.hasOwnProperty(o)) {- var s = n[o];- if (s != null) switch (o) {- case "src":- r = !0;- break;- case "srcSet":- a = !0;- break;- case "children":- case "dangerouslySetInnerHTML": throw Error(i(137, t));- default: tp(e, t, o, s, n, null);- }+ var ku = null;+ function Au(e, t, n) {+ var r = e.alternate, a = e.flags;+ switch (e.tag) {+ case 0:+ case 11:+ case 14:+ case 15:+ if (a & 4 && (r = e.updateQueue, r = r === null ? null : r.events, r !== null)) for (var o = 0; o < r.length; o++) {+ var s = r[o];+ s.ref.impl = s.nextImpl;}- a && tp(e, t, "srcSet", n.srcSet, n, null), r && tp(e, t, "src", n.src, n, null);- return;- case "input":- Q("invalid", e);- var c = o = s = a = null, l = null, u = null;- for (r in n) if (n.hasOwnProperty(r)) {- var d = n[r];- if (d != null) switch (r) {- case "name":- a = d;- break;- case "type":- s = d;- break;- case "checked":- l = d;- break;- case "defaultChecked":- u = d;- break;- case "value":- o = d;- break;- case "defaultValue":- c = d;- break;- case "children":- case "dangerouslySetInnerHTML":- if (d != null) throw Error(i(137, t));- break;- default: tp(e, t, r, d, n, null);- }+ Ou(t, e, n), ju(e), a & 4 && (xl(3, e, e.return), bl(3, e), xl(5, e, e.return));+ break;+ case 1:+ Ou(t, e, n), ju(e), a & 512 && (iu || r === null || Tl(r, r.return)), a & 64 && ru && (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 = ku, Ou(t, e, n), ju(e), a & 512 && (iu || r === null || Tl(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 (ru) e.stateNode = bp(e.type, e.memoizedProps, t.containerInfo, e);+ else {+ a: {+ t = e.type, n = e.memoizedProps, a = o.ownerDocument || o;+ b: switch (t) {+ case "title":+ r = a.getElementsByTagName("title")[0], (!r || r[Dt] || r[xt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = a.createElement(t), a.head.insertBefore(r, a.querySelector("head > title"))), up(r, t, n), r[xt] = e, Pt(r), t = r;+ break a;+ case "link":+ if (o = Ym("link", "href", a).get(t + (n.href || ""))) {+ for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("href") === (n.href == null || n.href === "" ? null : n.href) && r.getAttribute("rel") === (n.rel == null ? null : n.rel) && r.getAttribute("title") === (n.title == null ? null : n.title) && r.getAttribute("crossorigin") === (n.crossOrigin == null ? null : n.crossOrigin)) {+ o.splice(s, 1);+ break b;+ }+ }+ r = a.createElement(t), up(r, t, n), a.head.appendChild(r);+ break;+ case "meta":+ if (o = Ym("meta", "content", a).get(t + (n.content || ""))) {+ for (s = 0; s < o.length; s++) if (r = o[s], r.getAttribute("content") === (n.content == null ? null : "" + n.content) && r.getAttribute("name") === (n.name == null ? null : n.name) && r.getAttribute("property") === (n.property == null ? null : n.property) && r.getAttribute("http-equiv") === (n.httpEquiv == null ? null : n.httpEquiv) && r.getAttribute("charset") === (n.charSet == null ? null : n.charSet)) {+ o.splice(s, 1);+ break b;+ }+ }+ r = a.createElement(t), up(r, t, n), a.head.appendChild(r);+ break;+ default: throw Error(i(468, t));+ }+ r[xt] = e, Pt(r), t = r;+ }+ e.stateNode = t;+ }+ } else ru || Xm(o, e.type, e.stateNode);+ } else e.stateNode = Wm(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 || iu || t.parentNode.removeChild(t)) : a.count--, n === null ? ru || Xm(o, e.type, e.stateNode) : Wm(o, n, e.memoizedProps));}- tn(e, o, c, l, u, s, a, !1);- return;- case "select":- for (a in Q("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {- case "value":- o = c;- break;- case "defaultValue":- s = c;- break;- case "multiple": r = c;- default: tp(e, t, a, c, n, null);+ break;+ case 27:+ Ou(t, e, n), ju(e), a & 512 && (iu || r === null || Tl(r, r.return)), r !== null && a & 4 && Ml(e, e.memoizedProps, r.memoizedProps);+ break;+ case 5:+ if (o = au, au = !1, Ou(t, e, n), au = o, ju(e), a & 512 && (iu || r === null || Tl(r, r.return)), e.flags & 32) {+ t = e.stateNode;+ try {+ sn(t, ""), Ht = !0;+ } catch (t) {+ vf(e, e.return, t);+ }}- t = o, n = s, e.multiple = !!r, t == null ? n != null && rn(e, !!r, n, !0) : rn(e, !!r, t, !1);- return;- case "textarea":- for (s in Q("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {- case "value":- r = c;- break;- case "defaultValue":- a = c;- break;- case "children":- o = c;- break;- case "dangerouslySetInnerHTML":- if (c != null) throw Error(i(91));- break;- default: tp(e, t, s, c, n, null);+ a & 4 && e.stateNode != null && (t = e.memoizedProps, Ml(e, t, r === null ? t : r.memoizedProps)), a & 1024 && (ou = !0);+ break;+ case 6:+ if (Ou(t, e, n), ju(e), a & 4) {+ if (e.stateNode === null) throw Error(i(162));+ t = e.memoizedProps, n = e.stateNode;+ try {+ n.nodeValue = t, Ht = !0;+ } catch (t) {+ vf(e, e.return, t);+ }}- on(e, r, a, o);- return;- case "option":- for (l in n) if (n.hasOwnProperty(l) && (r = n[l], r != null)) switch (l) {- case "selected":- e.selected = r && typeof r != "function" && typeof r != "symbol";- break;- default: tp(e, t, l, r, n, null);+ break;+ case 3:+ if (Ht = !1, Jm = null, o = ku, ku = Tm(t.containerInfo), Ou(t, e, n), ku = o, ju(e), a & 4 && r !== null && r.memoizedState.isDehydrated) try {+ Gh(t.containerInfo);+ } catch (t) {+ vf(e, e.return, t);}- return;- case "dialog":- Q("beforetoggle", e), Q("toggle", e), Q("cancel", e), Q("close", e);+ ou && (ou = !1, Mu(e)), Ht = !1;break;- case "iframe":- case "object":- Q("load", e);+ case 4:+ a = au, au = ru, r = Ut(), o = ku, ku = Tm(e.stateNode.containerInfo), Ou(t, e, n), ju(e), ku = o, Ht && uu && (du = !0), Ht = r, au = a;break;- case "video":- case "audio":- for (r = 0; r < zf.length; r++) Q(zf[r], e);+ case 12:+ Ou(t, e, n), ju(e);break;- case "image":- Q("error", e), Q("load", e);+ case 31:+ Ou(t, e, n), ju(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));break;- case "details":- Q("toggle", e);+ case 13:+ Ou(t, e, n), ju(e), e.child.flags & 8192 && e.memoizedState !== null != (r !== null && r.memoizedState !== null) && (vd = ze()), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));break;- case "embed":- case "source":- case "link": Q("error", e), Q("load", e);- case "area":- case "base":- case "br":- case "col":- case "hr":- case "keygen":- case "meta":- case "param":- case "track":- case "wbr":- case "menuitem":- for (u in n) if (n.hasOwnProperty(u) && (r = n[u], r != null)) switch (u) {- case "children":- case "dangerouslySetInnerHTML": throw Error(i(137, t));- default: tp(e, t, u, r, n, null);- }- return;- default: if (dn(t)) {- for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && np(e, t, d, r, n, void 0));- return;- }+ case 22:+ o = e.memoizedState !== null, s = r !== null && r.memoizedState !== null;+ var c = ru, l = iu, u = au;+ ru = c || o, au = u || o, iu = l || s, Ou(t, e, n), iu = l, au = u, ru = c, ju(e), a & 8192 && (t = e.stateNode, t._visibility = o ? t._visibility & -2 : t._visibility | 1, !o || r === null || s || ru || iu || (t = s || iu, n = ru, r = iu, ru = o || ru, iu = t, Iu(e, 2), ru = n, iu = r), !o && au || gu(e, o)), a & 4 && (t = e.updateQueue, t !== null && (n = t.retryQueue, n !== null && (t.retryQueue = null, Du(e, n))));+ break;+ case 19:+ Ou(t, e, n), ju(e), a & 4 && (t = e.updateQueue, t !== null && (e.updateQueue = null, Du(e, t)));+ break;+ case 30:+ a & 512 && (iu || r === null || Tl(r, r.return)), a = Ut(), o = uu, s = (n & 335544064) === n, c = e.memoizedProps, uu = s && gi(c.default, c.update) !== "none", Ou(t, e, n), ju(e), s && r !== null && Ht && (e.flags |= 4), uu = o, Ht = a;+ break;+ case 21: break;+ case 7: a & 512 && (iu || r === null || Tl(r, r.return)), r && r.stateNode !== null && (r.stateNode._fragmentFiber = e);+ default: Ou(t, e, n), ju(e);}- for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && tp(e, t, c, r, n, null));}- var ip = {};- function ap(e, t, n, r) {- switch (t) {- case "div":- case "span":- case "svg":- case "path":- case "a":- case "g":- case "p":- case "li": break;- case "input":- var a = null, o = null, s = null, c = null, l = null, u = null, d = null;- for (m in n) {- var f = n[m];- if (n.hasOwnProperty(m) && f != null) switch (m) {- case "checked": break;- case "value": break;- case "defaultValue": l = f;- default: r.hasOwnProperty(m) || tp(e, t, m, null, r, f);+ function ju(e) {+ var t = e.flags;+ if (t & 2) {+ try {+ for (var n, r = e.return; r !== null;) {+ if (Nl(r)) {+ n = r;+ break;}+ r = r.return;}- for (var p in r) {- var m = r[p];- if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {- case "type":- m !== f && (z = !0), o = m;- break;- case "name":- m !== f && (z = !0), a = m;- break;- case "checked":- m !== f && (z = !0), u = m;- break;- case "defaultChecked":- m !== f && (z = !0), d = m;- break;- case "value":- m !== f && (z = !0), s = m;- break;- case "defaultValue":- m !== f && (z = !0), c = m;- break;- case "children":- case "dangerouslySetInnerHTML":- if (m != null) throw Error(i(137, t));- break;- default: m !== f && tp(e, t, p, m, r, f);+ r = null;+ for (var a = e.return; a !== null;) {+ if (Al(a)) {+ var o = a.stateNode;+ r === null ? r = [o] : r.push(o);}+ if (kl(a)) break;+ a = a.return;}- en(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) {- case "value": break;- case "multiple": m = l;- default: r.hasOwnProperty(o) || tp(e, t, o, null, r, l);- }- for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {- case "value":- o !== l && (z = !0), p = o;- break;- case "defaultValue":- o !== l && (z = !0), c = o;- break;- case "multiple": o !== l && (z = !0), s = o;- default: o !== l && tp(e, t, a, o, r, l);- }- t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? rn(e, !!n, n ? [] : "", !1) : rn(e, !!n, t, !0)) : rn(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) {- case "value": break;- case "children": break;- default: tp(e, t, c, null, r, a);- }- for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {- case "value":- a !== o && (z = !0), p = a;- break;- case "defaultValue":- a !== o && (z = !0), m = a;- break;- case "children": break;- case "dangerouslySetInnerHTML":- if (a != null) throw Error(i(91));- break;- default: a !== o && tp(e, t, s, a, r, o);- }- an(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) {- case "selected":- e.selected = !1;+ var s = r;+ if (n == null) throw Error(i(160));+ switch (n.tag) {+ case 27:+ var c = n.stateNode;+ Il(e, Pl(e), c, s);break;- default: tp(e, t, h, null, r, p);- }- 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 && (z = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";+ case 5:+ var l = n.stateNode;+ n.flags & 32 && (sn(l, ""), n.flags &= -33), Il(e, Pl(e), l, s);break;- default: tp(e, t, l, p, r, m);- }- return;- case "img":- case "link":- case "area":- case "base":- case "br":- case "col":- case "embed":- case "hr":- case "keygen":- case "meta":- case "param":- case "source":- case "track":- case "wbr":- case "menuitem":- for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && tp(e, t, g, null, r, p);- for (u in r) if (p = r[u], m = n[u], r.hasOwnProperty(u) && p !== m && (p != null || m != null)) switch (u) {- case "children":- case "dangerouslySetInnerHTML":- if (p != null) throw Error(i(137, t));+ case 3:+ case 4:+ var u = n.stateNode.containerInfo;+ Fl(e, Pl(e), u, s);break;- default: tp(e, t, u, p, r, m);+ default: throw Error(i(161));}- return;- default: if (dn(t)) {- for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && np(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 || np(e, t, d, p, r, m);- return;+ } catch (t) {+ vf(e, e.return, t);}+ e.flags &= -3;}- for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && tp(e, t, v, null, r, p);- for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || tp(e, t, f, p, r, m);+ t & 4096 && (e.flags &= -4097);}- function op(e) {- switch (e) {- case "css":- case "script":- case "font":- case "img":- case "image":- case "input":- case "link": return !0;- default: return !1;+ function Mu(e) {+ if (e.subtreeFlags & 1024) for (e = e.child; e !== null;) {+ var t = e;+ Mu(t), t.tag === 5 && t.flags & 1024 && (t = t.stateNode, bh = !0, t.reset(), bh = !1), e = e.sibling;}}- function sp() {- if (typeof performance.getEntriesByType == "function") {- for (var e = 0, t = 0, n = performance.getEntriesByType("resource"), r = 0; r < n.length; r++) {- var i = n[r], a = i.transferSize, o = i.initiatorType, s = i.duration;- if (a && s && op(o)) {- for (o = 0, s = i.responseEnd, r += 1; r < n.length; r++) {- var c = n[r], l = c.startTime;- if (l > s) break;- var u = c.transferSize, d = c.initiatorType;- u && op(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));+ function Nu(e, t) {+ if (t.subtreeFlags & 9270) for (t = t.child; t !== null;) Pu(t, e), t = t.sibling;+ else nu(t, !1);+ }+ function Pu(e, t) {+ var n = e.alternate;+ if (n === null) Jl(e, !1);+ else switch (e.tag) {+ case 3:+ if (fu = lu = !1, Hl(), Nu(t, e), !lu && !du) {+ if (e = Vl, e !== null) for (var r = 0; r < e.length; r += 3) {+ n = e[r];+ var i = e[r + 1];+ Pp(n, e[r + 2]), n = n.ownerDocument.documentElement, n !== null && n.animate({+ opacity: [0, 0],+ pointerEvents: ["none", "none"]+ }, {+ duration: 0,+ fill: "forwards",+ pseudoElement: "::view-transition-group(" + i + ")"+ });}- if (--r, t += 8 * (a + o) / (i.duration / 1e3), e++, 10 < e) break;+ e = t.containerInfo, e = e.nodeType === 9 ? e.documentElement : e.ownerDocument.documentElement, e !== null && e.style.viewTransitionName === "" && (e.style.viewTransitionName = "none", e.animate({+ opacity: [0, 0],+ pointerEvents: ["none", "none"]+ }, {+ duration: 0,+ fill: "forwards",+ pseudoElement: "::view-transition-group(root)"+ }), e.animate({+ width: [0, 0],+ height: [0, 0]+ }, {+ duration: 0,+ fill: "forwards",+ pseudoElement: "::view-transition"+ })), fu = !0;}- }- if (0 < e) return t / e / 1e6;+ Vl = null;+ break;+ case 5:+ Nu(t, e);+ break;+ case 4:+ r = lu, lu = !1, Nu(t, e), lu && (du = !0), lu = r;+ break;+ case 22:+ e.memoizedState === null && (n.memoizedState === null ? Nu(t, e) : Jl(e, !1));+ break;+ case 30:+ r = lu, i = Hl(), lu = !1, Nu(t, e), lu && (e.flags |= 4);+ var a = e.memoizedProps, o = e.stateNode;+ t = mi(a, o), o = mi(n.memoizedProps, o);+ var s = gi(a.default, a.update);+ s === "none" ? t = !1 : (a = n.memoizedState, n.memoizedState = null, n = e.child, Ul = 0, t = tu(e, n, t, o, s, a, !0), Ul !== (a === null ? 0 : a.length) && (e.flags |= 32)), e.flags & 4 && t ? (Ld(e, e.memoizedProps.onUpdate), Vl = i) : i !== null && (i.push.apply(i, Vl), Vl = i), lu = e.flags & 32 ? !0 : r;+ break;+ default: Nu(t, e);}- return navigator.connection && (e = navigator.connection.downlink, typeof e == "number") ? e : 5;- }- var cp = null, lp = null;- function up(e) {- return e.nodeType === 9 ? e : e.ownerDocument;}- function dp(e) {- switch (e) {- case "http://www.w3.org/2000/svg": return 1;- case "http://www.w3.org/1998/Math/MathML": return 2;- default: return 0;- }+ function Fu(e, t) {+ if (t.subtreeFlags & 8772) for (t = t.child; t !== null;) hu(e, t.alternate, t), t = t.sibling;}- function fp(e, t) {- if (e === 0) switch (t) {- case "svg": return 1;- case "math": return 2;- default: return 0;+ function Iu(e, t) {+ for (e = e.child; e !== null;) {+ var n = e, r = t;+ switch (n.tag) {+ case 0:+ case 11:+ case 14:+ case 15:+ xl(4, n, n.return), Iu(n, r);+ break;+ case 1:+ Tl(n, n.return);+ var i = n.stateNode;+ typeof i.componentWillUnmount == "function" && Cl(n, n.return, i), Iu(n, r);+ break;+ case 27: r & 2 && xm(n.stateNode, n.type, n.memoizedProps);+ case 5:+ Tl(n, n.return), n.tag !== 5 && n.tag !== 27 || Ol(n), Iu(n, r);+ break;+ case 6:+ Ol(n);+ break;+ case 26:+ Tl(n, n.return), i = n.stateNode, n.memoizedState !== null || i === null || iu || i.parentNode.removeChild(i), Iu(n, r);+ break;+ case 22:+ n.memoizedState === null && Iu(n, r);+ break;+ case 30:+ Tl(n, n.return), Iu(n, r);+ break;+ case 7: Tl(n, n.return);+ default: Iu(n, r);+ }+ e = e.sibling;}- return e === 1 && t === "foreignObject" ? 0 : e;- }- function pp(e, t, n, r) {- return n = up(n).createElement(e), n[Ct] = r, n[wt] = t, rp(n, e, t), It(n), n;- }- function mp(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;- }- var hp = null;- function gp() {- var e = window.event;- return e && e.type === "popstate" ? e !== hp && (hp = e, !0) : (hp = null, !1);- }- var _p = typeof setTimeout == "function" ? setTimeout : void 0, vp = typeof clearTimeout == "function" ? clearTimeout : void 0, yp = typeof Promise == "function" ? Promise : void 0, bp = typeof requestAnimationFrame == "function" ? requestAnimationFrame : _p, xp = typeof queueMicrotask == "function" ? queueMicrotask : yp === void 0 ? _p : function(e) {- return yp.resolve(null).then(e).catch(Sp);- };- function Sp(e) {- setTimeout(function() {- throw e;- });- }- function Cp(e) {- return e === "head";}- function wp(e, t) {- var n = t, r = 0;- do {- var i = n.nextSibling;- if (e.removeChild(n), i && i.nodeType === 8) {- if (n = i.data, n === "/$" || n === "/&") {- if (r === 0) {- e.removeChild(i), Uh(t);- return;- }- r--;- } else if (n === "$" || n === "$?" || n === "$~" || n === "$!" || n === "&") r++;- else if (n === "html") vm(e.ownerDocument.documentElement);- else if (n === "head") {- n = e.ownerDocument.head, vm(n);- for (var a = n.firstChild; a;) {- var o = a.nextSibling, s = a.nodeName;- a[kt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;- }- } else n === "body" && vm(e.ownerDocument.body);- }- n = i;- } while (n);- Uh(t);- }- function Tp(e, t) {- var n = e;- e = 0;- do {- var r = n.nextSibling;- if (n.nodeType === 1 ? t ? (n._stashedDisplay = n.style.display, n.style.display = "none") : (n.style.display = n._stashedDisplay || "", n.getAttribute("style") === "" && n.removeAttribute("style")) : n.nodeType === 3 && (t ? (n._stashedText = n.nodeValue, n.nodeValue = "") : n.nodeValue = n._stashedText || ""), r && r.nodeType === 8) {- if (n = r.data, n === "/$") {- if (e === 0) break;- e--;- } else n !== "$" && n !== "$?" && n !== "$~" && n !== "$!" || e++;- }- n = r;- } while (n);- }- function Ep(e, t, n) {- if (t = CSS.escape(t) === t ? t : "r-" + btoa(t).replace(/=/g, ""), e.style.viewTransitionName = t, n != null && (e.style.viewTransitionClass = n), n = getComputedStyle(e), n.display === "inline") {- if (t = e.getClientRects(), t.length === 1) var r = 1;- else for (var i = r = 0; i < t.length; i++) {- var a = t[i];- 0 < a.width && 0 < a.height && r++;+ function Lu(e, t, n) {+ for (n = t.subtreeFlags & 8772 ? n : n & -2, t = t.child; t !== null;) {+ var r = t.alternate, i = e, a = t, o = a.flags, s = !!(n & 1);+ switch (a.tag) {+ case 0:+ case 11:+ case 15:+ Lu(i, a, n), bl(4, a);+ break;+ case 1:+ if (Lu(i, a, n), r = a, i = r.stateNode, typeof i.componentDidMount == "function") try {+ i.componentDidMount();+ } catch (e) {+ vf(r, r.return, e);+ }+ if (r = a, i = r.updateQueue, i !== null) {+ var c = r.stateNode;+ try {+ var l = i.shared.hiddenCallbacks;+ if (l !== null) for (i.shared.hiddenCallbacks = null, i = 0; i < l.length; i++) bo(l[i], c);+ } catch (e) {+ vf(r, r.return, e);+ }+ }+ s && o & 64 && Sl(a), wl(a, a.return);+ break;+ case 27: n & 2 && Ll(a);+ case 5:+ a.tag !== 5 && a.tag !== 27 || Dl(a), Lu(i, a, n), s && r === null && o & 4 && jl(a), wl(a, a.return);+ break;+ case 6:+ Dl(a);+ break;+ case 26:+ c = a.stateNode, a.memoizedState !== null || c === null || ru || Xm(Tm(c.ownerDocument), a.type, c), Lu(i, a, n), s && r === null && o & 4 && jl(a), wl(a, a.return);+ break;+ case 12:+ Lu(i, a, n);+ break;+ case 31:+ Lu(i, a, n), s && o & 4 && wu(i, a);+ break;+ case 13:+ Lu(i, a, n), s && o & 4 && Tu(i, a);+ break;+ case 22:+ a.memoizedState === null && Lu(i, a, n), wl(a, a.return);+ break;+ case 30:+ Lu(i, a, n), wl(a, a.return);+ break;+ case 7: wl(a, a.return);+ default: Lu(i, a, n);}- r === 1 && (e = e.style, e.display = t.length === 1 ? "inline-block" : "block", e.marginTop = "-" + n.paddingTop, e.marginBottom = "-" + n.paddingBottom);+ t = t.sibling;}}- function Dp(e, t) {- e = e.style, t = t.style;- var n = t == null ? null : t.hasOwnProperty("viewTransitionName") ? t.viewTransitionName : t.hasOwnProperty("view-transition-name") ? t["view-transition-name"] : null;- e.viewTransitionName = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), n = t == null ? null : t.hasOwnProperty("viewTransitionClass") ? t.viewTransitionClass : t.hasOwnProperty("view-transition-class") ? t["view-transition-class"] : null, e.viewTransitionClass = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), e.display === "inline-block" && (t == null ? e.display = e.margin = "" : (n = t.display, e.display = n == null || typeof n == "boolean" ? "" : n, n = t.margin, n == null ? (n = t.hasOwnProperty("marginTop") ? t.marginTop : t["margin-top"], e.marginTop = n == null || typeof n == "boolean" ? "" : n, t = t.hasOwnProperty("marginBottom") ? t.marginBottom : t["margin-bottom"], e.marginBottom = t == null || typeof t == "boolean" ? "" : t) : e.margin = n));- }- function Op(e, t, n) {- return n = n.ownerDocument.defaultView, {- rect: e,- abs: t.position === "absolute" || t.position === "fixed",- clip: t.clipPath !== "none" || t.overflow !== "visible" || t.filter !== "none" || t.mask !== "none" || t.mask !== "none" || t.borderRadius !== "0px",- view: 0 <= e.bottom && 0 <= e.right && e.top <= n.innerHeight && e.left <= n.innerWidth- };- }- function kp(e) {- return Op(e.getBoundingClientRect(), getComputedStyle(e), e);- }- function Ap(e) {- var t = e.getBoundingClientRect();- t = new DOMRect(t.x + 2e4, t.y + 2e4, t.width, t.height);- var n = getComputedStyle(e);- return Op(t, n, e);+ function Ru(e, t) {+ var n = null;+ e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && e.refCount++, n != null && ka(n));}- function jp(e) {- return e.documentElement.clientHeight;+ function zu(e, t) {+ e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (t.refCount++, e != null && ka(e));}- function Mp(e) {- this.addEventListener("load", e), this.addEventListener("error", e);+ function Bu(e, t, n, r) {+ var i = (n & 335544064) === n;+ if (t.subtreeFlags & (i ? 10262 : 10256)) for (t = t.child; t !== null;) Vu(e, t, n, r), t = t.sibling;+ else i && eu(t);}- function Np(e, t, n, r, i, a, o, s, c) {- var l = t.nodeType === 9 ? t : t.ownerDocument;- try {- var u = l.startViewTransition({- update: function() {- var t = l.defaultView, n = t.navigation && t.navigation.transition, o = l.fonts.status;- r();- var s = [];- if (o === "loaded" && (jp(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {- var f = c[d];- if (!f.complete) {- var p = f.getBoundingClientRect();- if (0 < p.bottom && 0 < p.right && p.top < t.innerHeight && p.left < t.innerWidth) {- if (u += Zm(f), u > eh) {- s.length = o;- break;- }- f = new Promise(Mp.bind(f)), s.push(f);- }- }- }- if (0 < s.length) return t = Promise.race([Promise.all(s), new Promise(function(e) {- return setTimeout(e, 500);- })]).then(i, i), (n ? Promise.allSettled([n.finished, t]) : t).then(a, a);- if (i(), n) return n.finished.then(a, a);- a();- },- types: n- });- l.__reactViewTransition = u;- var d = [];- return u.ready.then(function() {- for (var e = l.documentElement.getAnimations({ subtree: !0 }), t = 0; t < e.length; t++) {- var n = e[t], r = n.effect, i = r.pseudoElement;- if (i != null && i.startsWith("::view-transition")) {- d.push(n), n = r.getKeyframes();- for (var a = i = void 0, s = !0, c = 0; c < n.length; c++) {- var u = n[c], f = u.width;- if (i === void 0) i = f;- else if (i !== f) {- s = !1;- break;- }- if (f = u.height, a === void 0) a = f;- else if (a !== f) {- s = !1;- break;- }- delete u.width, delete u.height, u.transform === "none" && delete u.transform;- }- s && i !== void 0 && a !== void 0 && (r.setKeyframes(n), s = getComputedStyle(r.target, r.pseudoElement), s.width !== i || s.height !== a) && (s = n[0], s.width = i, s.height = a, s = n[n.length - 1], s.width = i, s.height = a, r.setKeyframes(n));- }- }- o();- }, function(e) {- l.__reactViewTransition === u && (l.__reactViewTransition = null);- try {- if (typeof e == "object" && e) switch (e.name) {- case "InvalidStateError": (e.message === "View transition was skipped because document visibility state is hidden." || e.message === "Skipping view transition because document visibility state has become hidden." || e.message === "Skipping view transition because viewport size changed." || e.message === "Transition was aborted because of invalid state") && (e = null);+ function Vu(e, t, n, r) {+ var i = (n & 335544064) === n;+ i && t.alternate === null && t.return !== null && t.return.alternate !== null && $l(t);+ var a = t.flags;+ switch (t.tag) {+ case 0:+ case 11:+ case 15:+ Bu(e, t, n, r), a & 2048 && bl(9, t);+ break;+ case 1:+ Bu(e, t, n, r);+ break;+ case 3:+ Bu(e, t, n, r), i && fu && (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) {+ Bu(e, t, n, r), a = t.stateNode;+ try {+ var o = t.memoizedProps, s = o.id, c = o.onPostCommit;+ typeof c == "function" && c(s, t.alternate === null ? "mount" : "update", a.passiveEffectDuration, -0);+ } catch (e) {+ vf(t, t.return, e);}- e !== null && c(e);- } finally {- r(), i(), o();- }- }), u.finished.finally(function() {- for (var e = 0; e < d.length; e++) d[e].cancel();- l.__reactViewTransition === u && (l.__reactViewTransition = null), s();- }), u;- } catch {- return r(), i(), o(), null;+ } else Bu(e, t, n, r);+ break;+ case 31:+ Bu(e, t, n, r);+ break;+ case 13:+ Bu(e, t, n, r);+ break;+ case 23: break;+ case 22:+ o = t.stateNode, s = t.alternate, t.memoizedState === null ? (i && s !== null && s.memoizedState !== null && $l(t), o._visibility & 2 ? Bu(e, t, n, r) : (o._visibility |= 2, Hu(e, t, n, r, !!(t.subtreeFlags & 10256) || !1))) : (i && s !== null && s.memoizedState === null && $l(s), o._visibility & 2 ? Bu(e, t, n, r) : Uu(e, t)), a & 2048 && Ru(s, t);+ break;+ case 24:+ Bu(e, t, n, r), a & 2048 && zu(t.alternate, t);+ break;+ case 30:+ i && (a = t.alternate, a !== null && (Kl(a.child, !0), Kl(t.child, !0))), Bu(e, t, n, r);+ break;+ default: Bu(e, t, n, r);}}- function Pp(e, t) {- this._scope = document.documentElement, this._selector = "::view-transition-" + e + "(" + t + ")";- }- Pp.prototype.animate = function(e, t) {- return t = typeof t == "number" ? { duration: t } : T({}, t), t.pseudoElement = this._selector, this._scope.animate(e, t);- }, Pp.prototype.getAnimations = function() {- for (var e = this._scope, t = this._selector, n = e.getAnimations({ subtree: !0 }), r = [], i = 0; i < n.length; i++) {- var a = n[i].effect;- a !== null && a.target === e && a.pseudoElement === t && r.push(n[i]);+ function Hu(e, t, n, r, i) {+ for (i &&= !!(t.subtreeFlags & 10256) || !1, t = t.child; t !== null;) {+ var a = e, o = t, s = n, c = r, l = o.flags;+ switch (o.tag) {+ case 0:+ case 11:+ case 15:+ Hu(a, o, s, c, i), bl(8, o);+ break;+ case 23: break;+ case 22:+ var u = o.stateNode;+ o.memoizedState === null ? (u._visibility |= 2, Hu(a, o, s, c, i)) : u._visibility & 2 ? Hu(a, o, s, c, i) : Uu(a, o), i && l & 2048 && Ru(o.alternate, o);+ break;+ case 24:+ Hu(a, o, s, c, i), i && l & 2048 && zu(o.alternate, o);+ break;+ default: Hu(a, o, s, c, i);+ }+ t = t.sibling;}- return r;- }, Pp.prototype.getComputedStyle = function() {- return getComputedStyle(this._scope, this._selector);- };- function Fp(e) {- return {- name: e,- group: new Pp("group", e),- imagePair: new Pp("image-pair", e),- old: new Pp("old", e),- new: new Pp("new", e)- };- }- function Ip(e) {- this._fragmentFiber = e, this._observers = this._eventListeners = null;}- Ip.prototype.addEventListener = function(e, t, n) {- var r = null, i = null;- if (!(n != null && typeof n != "boolean" && (r = n.signal || null, r !== null && r.aborted))) {- this._eventListeners === null && (this._eventListeners = []);- var a = this._eventListeners;- if (Vp(a, e, t, n) === -1) {- var o = this, s = t;- n != null && typeof n != "boolean" && !0 === n.once && (s = function(r) {- o.removeEventListener(e, t, n), typeof t == "function" ? t.call(this, r) : t.handleEvent(r);- }), r !== null && (i = o.removeEventListener.bind(o, e, t, n), r.addEventListener("abort", i, { once: !0 }), i = r.removeEventListener.bind(r, "abort", i)), r = zp(n), a.push({- type: e,- listener: t,- optionsOrUseCapture: n,- attachedListener: s,- cleanup: i- }), f(this._fragmentFiber.child, !1, Lp, e, s, r);+ function Uu(e, t) {+ if (t.subtreeFlags & 10256) for (t = t.child; t !== null;) {+ var n = e, r = t, i = r.flags;+ switch (r.tag) {+ case 22:+ Uu(n, r), i & 2048 && Ru(r.alternate, r);+ break;+ case 24:+ Uu(n, r), i & 2048 && zu(r.alternate, r);+ break;+ default: Uu(n, r);}- this._eventListeners = a;+ t = t.sibling;}- };- function Lp(e, t, n, r) {- return _(e).addEventListener(t, n, r), !1;}- Ip.prototype.removeEventListener = function(e, t, n) {- var r = this._eventListeners;- if (r !== null && (t = Vp(r, e, t, n), t !== -1)) {- var i = r[t];- n = i.attachedListener;- var a = i.cleanup;- i = zp(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, Rp, e, n, i), r.splice(t, 1), a !== null && a();- }- };- function Rp(e, t, n, r) {- return _(e).removeEventListener(t, n, r), !1;- }- function zp(e) {- return e != null && typeof e != "boolean" && (!0 === e.once || e.signal instanceof AbortSignal) ? {- capture: e.capture,- passive: e.passive- } : e;+ var Wu = 8192;+ function Gu(e, t, n) {+ if (e.subtreeFlags & Wu) for (e = e.child; e !== null;) Ku(e, t, n), e = e.sibling;}- function Bp(e) {- return e == null ? "c=0" : typeof e == "boolean" ? "c=" + (e ? "1" : "0") : "c=" + (e.capture ? "1" : "0");+ function Ku(e, t, n) {+ switch (e.tag) {+ case 26:+ Gu(e, t, n), e.flags & Wu && (e.memoizedState === null ? (e = e.stateNode, (t & 335544128) === t && th(n, e)) : nh(n, ku, e.memoizedState, e.memoizedProps));+ break;+ case 5:+ Gu(e, t, n), e.flags & Wu && (e = e.stateNode, (t & 335544128) === t && th(n, e));+ break;+ case 3:+ case 4:+ var r = ku;+ ku = Tm(e.stateNode.containerInfo), Gu(e, t, n), ku = r;+ break;+ case 22:+ e.memoizedState === null && (r = e.alternate, r !== null && r.memoizedState !== null ? (r = Wu, Wu = 16777216, Gu(e, t, n), Wu = r) : Gu(e, t, n));+ break;+ case 30:+ if ((e.flags & Wu) !== 0 && (r = e.memoizedProps.name, r != null && r !== "auto")) {+ var i = e.stateNode;+ i.paired = null, zl === null && (zl = /* @__PURE__ */ new Map()), zl.set(r, i);+ }+ Gu(e, t, n);+ break;+ default: Gu(e, t, n);+ }}- function Vp(e, t, n, r) {- if (e.length === 0) return -1;- r = Bp(r);- for (var i = 0; i < e.length; i++) {- var a = e[i];- if (a.type === t && a.listener === n && Bp(a.optionsOrUseCapture) === r) return i;+ function qu(e) {+ var t = e.alternate;+ if (t !== null && (e = t.child, e !== null)) {+ t.child = null;+ do+ t = e.sibling, e.sibling = null, e = t;+ while (e !== null);}- return -1;}- Ip.prototype.dispatchEvent = function(e) {- var t = p(this._fragmentFiber);- if (t === null) return !0;- t = _(t);- var n = this._eventListeners;- if (n !== null && 0 < n.length || !e.bubbles) {- var r = t.nodeType === 9 ? t.createComment("") : document.createTextNode("");- if (n) for (var i = 0; i < n.length; i++) {- var a = n[i];- r.addEventListener(a.type, a.attachedListener, zp(a.optionsOrUseCapture));+ function Ju(e) {+ var t = e.deletions;+ if (e.flags & 16) {+ if (t !== null) for (var n = 0; n < t.length; n++) {+ var r = t[n];+ cu = r, Zu(r, e);}- if (t.appendChild(r), e = r.dispatchEvent(e), n) for (i = 0; i < n.length; i++) a = n[i], r.removeEventListener(a.type, a.attachedListener, zp(a.optionsOrUseCapture));- return t.removeChild(r), e;+ qu(e);}- return t.dispatchEvent(e);- }, Ip.prototype.focus = function(e) {- f(this._fragmentFiber.child, !0, Hp, e, void 0, void 0);- };- function Hp(e, t) {- return e.tag !== 6 && (e = _(e), mm(e, t));- }- Ip.prototype.focusLast = function(e) {- var t = [];- f(this._fragmentFiber.child, !0, Up, t, void 0, void 0);- for (var n = t.length - 1; 0 <= n && !Hp(t[n], e); n--);- };- function Up(e, t) {- return t.push(e), !1;- }- Ip.prototype.blur = function() {- var e = p(this._fragmentFiber);- e !== null && (e = _(e), e = up(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, Wp, e, void 0, void 0));- };- function Wp(e, t) {- return e.tag !== 6 && (e = _(e), e === t || e.contains(t) ? (t.blur(), !0) : !1);+ if (e.subtreeFlags & 10256) for (e = e.child; e !== null;) Yu(e), e = e.sibling;}- Ip.prototype.observeUsing = function(e) {- this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), f(this._fragmentFiber.child, !1, Gp, e, void 0, void 0);- };- function Gp(e, t) {- return e.tag !== 6 && (e = _(e), t.observe(e), !1);+ function Yu(e) {+ switch (e.tag) {+ case 0:+ case 11:+ case 15:+ Ju(e), e.flags & 2048 && xl(9, e, e.return);+ break;+ case 3:+ Ju(e);+ break;+ case 12:+ Ju(e);+ break;+ case 22:+ var t = e.stateNode;+ e.memoizedState !== null && t._visibility & 2 && (e.return === null || e.return.tag !== 13) ? (t._visibility &= -3, Xu(e)) : Ju(e);+ break;+ default: Ju(e);+ }}- Ip.prototype.unobserveUsing = function(e) {- var t = this._observers;- if (t !== null && t.has(e)) {- t.delete(e), f(this._fragmentFiber.child, !1, Kp, e, void 0, void 0);- for (var n = t = 0; n < qp.length; n++) {- var r = qp[n];- r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : qp[t++] = r;+ function Xu(e) {+ var t = e.deletions;+ if (e.flags & 16) {+ if (t !== null) for (var n = 0; n < t.length; n++) {+ var r = t[n];+ cu = r, Zu(r, e);}- qp.length = t;+ qu(e);}- };- function Kp(e, t) {- return e.tag !== 6 && (e = _(e), t.unobserve(e), !1);- }- var qp = [], Jp = !1;- function Yp(e, t, n) {- qp.push({- fragmentInstance: e,- observer: t,- instance: n- }), Jp || (Jp = !0, hm(function() {- Jp = !1;- var e = qp;- qp = [];- for (var t = 0; t < e.length; t++) {- var n = e[t];- n.observer.unobserve(n.instance);+ for (e = e.child; e !== null;) {+ switch (t = e, t.tag) {+ case 0:+ case 11:+ case 15:+ xl(8, t, t.return), Xu(t);+ break;+ case 22:+ n = t.stateNode, n._visibility & 2 && (n._visibility &= -3, Xu(t));+ break;+ default: Xu(t);}- }));- }- Ip.prototype.getClientRects = function() {- var e = [];- return f(this._fragmentFiber.child, !1, Xp, e, void 0, void 0), e;- };- function Xp(e, t) {- if (e.tag === 6) {- e = e.stateNode;- var n = e.ownerDocument.createRange();- n.selectNodeContents(e), t.push.apply(t, n.getClientRects());- } else e = _(e), t.push.apply(t, e.getClientRects());- return !1;+ e = e.sibling;+ }}- Ip.prototype.getRootNode = function(e) {- var t = p(this._fragmentFiber);- return t === null ? this : _(t).getRootNode(e);- }, Ip.prototype.compareDocumentPosition = function(e) {- var t = p(this._fragmentFiber);- if (t === null) return Node.DOCUMENT_POSITION_DISCONNECTED;- var n = [];- f(this._fragmentFiber.child, !1, Up, n, void 0, void 0);- var r = _(t);- if (n.length === 0) {- if (n = r, m(this._fragmentFiber)) {- a: {- for (t = this._fragmentFiber.return; t !== null;) {- if (t.tag === 4) {- t = t.stateNode.containerInfo;- break a;- }- if (t.tag === 3 || t.tag === 5 || t.tag === 27) break;- t = t.return;+ function Zu(e, t) {+ for (; cu !== null;) {+ var n = cu;+ switch (n.tag) {+ case 0:+ case 11:+ case 15:+ xl(8, n, t);+ break;+ case 23:+ case 22:+ if (n.memoizedState !== null && n.memoizedState.cachePool !== null) {+ var r = n.memoizedState.cachePool.pool;+ r != null && r.refCount++;}- t = null;- }- t != null && (n = t);+ break;+ case 24: ka(n.memoizedState.cache);}- t = this._fragmentFiber;- var i = r = n.compareDocumentPosition(e);- return n === e ? i = Node.DOCUMENT_POSITION_CONTAINS : r & Node.DOCUMENT_POSITION_CONTAINED_BY && (n = h(t)[1], n === null ? i = Node.DOCUMENT_POSITION_PRECEDING : (e = _(n).compareDocumentPosition(e), i = e === 0 || e & Node.DOCUMENT_POSITION_FOLLOWING ? Node.DOCUMENT_POSITION_FOLLOWING : Node.DOCUMENT_POSITION_PRECEDING)), i |= Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;- }- t = _(n[0]), i = _(n[n.length - 1]);- var a = m(this._fragmentFiber) ? t.parentElement : r;- if (a == null) return Node.DOCUMENT_POSITION_DISCONNECTED;- r = a.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_CONTAINED_BY, a = a.compareDocumentPosition(i) & Node.DOCUMENT_POSITION_CONTAINED_BY;- var o = t.compareDocumentPosition(e), s = i.compareDocumentPosition(e), c = o & Node.DOCUMENT_POSITION_CONTAINED_BY || s & Node.DOCUMENT_POSITION_CONTAINED_BY;- 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 || Zp(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;- };- function Zp(e, t, n, r, i) {- var a = Mt(i);- if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {- if (n = !!a) a: {- for (; a !== null;) {- if (a.tag === 7 && (a === t || a.alternate === t)) {- n = !0;- break a;- }- a = a.return;+ if (r = n.child, r !== null) r.return = n, cu = r;+ else a: for (n = e; cu !== null;) {+ r = cu;+ var i = r.sibling, a = r.return;+ if (yu(r), r === n) {+ cu = null;+ break a;}- n = !1;- }- return n;- }- if (e & Node.DOCUMENT_POSITION_CONTAINS) {- if (a === null) return a = i.ownerDocument, i === a || i === a.documentElement || i === a.body;- a: {- for (a = t, t = p(t); a !== null;) {- if (!(a.tag !== 5 && a.tag !== 3 && a.tag !== 27 || a !== t && a.alternate !== t)) {- a = !0;- break a;- }- a = a.return;+ if (i !== null) {+ i.return = a, cu = i;+ break a;}- a = !1;+ cu = a;}- 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, x, a, n), a = y, y = 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, S, a, r), a = y, b = y = null, t = a !== null)), t) : !1;- }- function Qp(e, t) {- var n = e.ownerDocument.createRange();- n.selectNodeContents(e), e = n.getBoundingClientRect(), window.scrollTo(window.scrollX + e.left, t ? window.scrollY + e.top : window.scrollY + e.bottom - window.innerHeight);}- Ip.prototype.scrollIntoView = function(e) {- if (typeof e == "object") throw Error(i(566));- var t = [];- f(this._fragmentFiber.child, !1, Up, t, void 0, void 0);- var n = !1 !== e;- if (t.length === 0) {- var r = h(this._fragmentFiber);- if (r = n ? r[1] || r[0] || p(this._fragmentFiber) : r[0] || r[1], r === null) return;- if (r.tag === 6) {- e = _(r), Qp(e, n);- return;- }- if (r = _(r), r.nodeType !== 9) {- if (r.nodeType === 11) {- n = "host" in r ? r.host : null, n !== null && n.scrollIntoView(e);- return;- }- r.scrollIntoView(e);- }- }- for (r = n ? t.length - 1 : 0; r !== (n ? -1 : t.length);) {- var a = t[r];- a.tag === 6 ? (a = _(a), Qp(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;+ var Qu = {+ getCacheForType: function(e) {+ var t = xa(Da), n = t.data.get(e);+ return n === void 0 && (n = e(), t.data.set(e, n)), n;+ },+ cacheSignal: function() {+ return xa(Da).controller.signal;}- };- function $p(e, t) {- return e = _(e), em(e, t), !1;- }- function em(e, t) {- e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(t);+ }, $u = typeof WeakMap == "function" ? WeakMap : Map, ed = 0, td = null, G = null, nd = 0, rd = 0, id = null, ad = !1, od = !1, sd = !1, cd = 0, ld = 0, ud = 0, dd = 0, fd = 0, pd = 0, md = 0, hd = null, gd = null, _d = !1, vd = 0, yd = 0, bd = Infinity, xd = null, Sd = null, Cd = 0, wd = null, Td = null, Ed = 0, Dd = 0, Od = null, kd = null, Ad = null, jd = null, Md = null, Nd = 0, Pd = null;+ function Fd() {+ return ed & 2 && nd !== 0 ? nd & -nd : I.T === null ? vt() : Bf();}- function tm(e, t) {- var n = t._eventListeners;- if (n !== null) for (var r = 0; r < n.length; r++) {- var i = n[r];- e.addEventListener(i.type, i.attachedListener, zp(i.optionsOrUseCapture));+ function Id() {+ if (pd === 0) {+ if (!(nd & 536870912) || H) {+ var e = nt;+ nt <<= 1, !(nt & 3932160) && (nt = 262144), pd = e;+ } else pd = 536870912;}- e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {- for (var r = 0, i = 0; i < qp.length; i++) {- var a = qp[i];- (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && (qp[r++] = a);- }- qp.length = r, n.observe(e);- }), em(e, t));+ return e = Do.current, e !== null && (e.flags |= 32), pd;}- function nm(e, t) {- var n = t._eventListeners;- if (n !== null) for (var r = 0; r < n.length; r++) {- var i = n[r];- e.removeEventListener(i.type, i.attachedListener, zp(i.optionsOrUseCapture));+ function Ld(e, t) {+ if (t != null) {+ var n = e.stateNode, r = n.ref;+ r === null && (r = n.ref = Hp(mi(e.memoizedProps, n))), jd === null && (jd = []), jd.push(t.bind(null, r));}- e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {- typeof n.rootMargin == "string" ? Yp(t, n, e) : n.unobserve(e);- }), e.reactFragments != null && e.reactFragments.delete(t));}- function rm(e) {- var t = e.firstChild;- for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {- var n = t;- switch (t = t.nextSibling, n.nodeName) {- case "HTML":- case "HEAD":- case "BODY":- rm(n), jt(n);- continue;- case "SCRIPT":- case "STYLE": continue;- case "LINK": if (n.rel.toLowerCase() === "stylesheet") continue;- }- e.removeChild(n);- }+ function Rd(e, t, n) {+ (e === td && (rd === 2 || rd === 9) || e.cancelPendingCommit !== null) && (Gd(e, 0), Hd(e, nd, pd, !1)), dt(e, n), (!(ed & 2) || e !== td) && (e === td && (!(ed & 2) && (dd |= n), ld === 4 && Hd(e, nd, pd, !1)), Mf(e));}- function im(e, t, n, r) {- for (; e.nodeType === 1;) {- var i = n;- if (e.nodeName.toLowerCase() !== t.toLowerCase()) {- if (!r && (e.nodeName !== "INPUT" || e.type !== "hidden")) break;- } else if (!r) {- if (t === "input" && e.type === "hidden") {- var a = i.name == null ? null : "" + i.name;- if (i.type === "hidden" && e.getAttribute("name") === a) return e;- } else return e;- } else if (!e[kt]) switch (t) {- case "meta":- if (!e.hasAttribute("itemprop")) break;- return e;- case "link":- if (a = e.getAttribute("rel"), a === "stylesheet" && e.hasAttribute("data-precedence") || a !== i.rel || e.getAttribute("href") !== (i.href == null || i.href === "" ? null : i.href) || e.getAttribute("crossorigin") !== (i.crossOrigin == null ? null : i.crossOrigin) || e.getAttribute("title") !== (i.title == null ? null : i.title)) break;- return e;- case "style":- if (e.hasAttribute("data-precedence")) break;- return e;- case "script":- if (a = e.getAttribute("src"), (a !== (i.src == null ? null : i.src) || e.getAttribute("type") !== (i.type == null ? null : i.type) || e.getAttribute("crossorigin") !== (i.crossOrigin == null ? null : i.crossOrigin)) && a && e.hasAttribute("async") && !e.hasAttribute("itemprop")) break;- return e;- default: return e;+ function zd(e, t, n) {+ if (ed & 6) throw Error(i(327));+ var r = !n && !(t & 127) && (t & e.expiredLanes) === 0 || ot(e, t), a = r ? $d(e, t) : Zd(e, t, !0), o = r;+ do {+ if (a === 0) {+ od && !r && Hd(e, t, 0, !1);+ break;}- if (e = um(e.nextSibling), e === null) break;- }- return null;- }- function am(e, t, n) {- if (t === "") return null;- for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = um(e.nextSibling), e === null)) return null;- return e;- }- function om(e, t) {- for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = um(e.nextSibling), e === null)) return null;- return e;- }- function sm(e) {- return e.data === "$?" || e.data === "$~";- }- function cm(e) {- return e.data === "$!" || e.data === "$?" && e.ownerDocument.readyState !== "loading";- }- function lm(e, t) {- var n = e.ownerDocument;- if (e.data === "$~") e._reactRetry = t;- else if (e.data !== "$?" || n.readyState !== "loading") t();- else {- var r = function() {- t(), n.removeEventListener("DOMContentLoaded", r);- };- n.addEventListener("DOMContentLoaded", r), e._reactRetry = r;- }- }- function um(e) {- for (; e != null; e = e.nextSibling) {- var t = e.nodeType;- if (t === 1 || t === 3) break;- if (t === 8) {- if (t = e.data, t === "$" || t === "$!" || t === "$?" || t === "$~" || t === "&" || t === "F!" || t === "F") break;- if (t === "/$" || t === "/&") return null;+ if (n = e.current.alternate, o && !Vd(n)) {+ a = Zd(e, t, !1), o = !1;+ continue;}- }- return e;- }- var dm = null;- function fm(e) {- e = e.nextSibling;- for (var t = 0; e;) {- if (e.nodeType === 8) {- var n = e.data;- if (n === "/$" || n === "/&") {- if (t === 0) return um(e.nextSibling);- t--;- } else n !== "$" && n !== "$!" && n !== "$?" && n !== "$~" && n !== "&" || t++;+ if (a === 2) {+ if (o = t, e.errorRecoveryDisabledLanes & o) var s = 0;+ else s = e.pendingLanes & -536870913, s = s === 0 ? s & 536870912 ? 536870912 : 0 : s;+ if (s !== 0) {+ t = s;+ a: {+ var c = e;+ a = hd;+ var l = c.current.memoizedState.isDehydrated;+ if (l && (Gd(c, s).flags |= 256), s = Zd(c, s, !1), s !== 2 && s !== 6) {+ if (sd && !l) {+ c.errorRecoveryDisabledLanes |= o, dd |= o, a = 4;+ break a;+ }+ o = gd, gd = a, o !== null && (gd === null ? gd = o : gd.push.apply(gd, o));+ }+ a = s;+ }+ if (o = !1, a !== 2) continue;+ }}- e = e.nextSibling;- }- return null;- }- function pm(e) {- e = e.previousSibling;- for (var t = 0; e;) {- if (e.nodeType === 8) {- var n = e.data;- if (n === "$" || n === "$!" || n === "$?" || n === "$~" || n === "&") {- if (t === 0) return e;- t--;- } else n !== "/$" && n !== "/&" || t++;+ if (a === 1) {+ Gd(e, 0), Hd(e, t, 0, !0);+ break;}- e = e.previousSibling;- }- return null;+ a: {+ switch (r = e, o = a, o) {+ case 0:+ case 1: throw Error(i(345));+ case 4: if ((t & 4194048) !== t && (t & 62914560) !== t) break;+ case 6:+ Hd(r, t, pd, !ad);+ break a;+ case 2:+ gd = null;+ break;+ case 3:+ case 5: break;+ default: throw Error(i(329));+ }+ if ((t & 62914560) === t && (a = vd + 300 - ze(), 10 < a)) {+ if (Hd(r, t, pd, !ad), at(r, 0, !0) !== 0) break a;+ Ed = t, r.timeoutHandle = wp(Bd.bind(null, r, n, gd, xd, _d, t, pd, dd, md, ad, o, "Throttled", -0, 0), a);+ break a;+ }+ Bd(r, n, gd, xd, _d, t, pd, dd, md, ad, o, null, -0, 0);+ }+ break;+ } while (1);+ Mf(e);}- function mm(e, t) {- function n() {- r = !0;- }- if (e.ownerDocument.activeElement === e) return !0;- var r = !1;- try {- e.ownerDocument.addEventListener("focus", n, !0), (e.focus || HTMLElement.prototype.focus).call(e, t);- } finally {- e.ownerDocument.removeEventListener("focus", n, !0);+ function Bd(e, t, n, r, i, a, o, s, c, l, u, d, f, p) {+ e.timeoutHandle = -1;+ var m = t.subtreeFlags, h = (a & 335544064) === a;+ if (d = null, (h || m & 8192 || (m & 16785408) == 16785408) && (d = {+ stylesheets: null,+ count: 0,+ imgCount: 0,+ imgBytes: 0,+ suspenseyImages: [],+ waitingForImages: !0,+ waitingForViewTransition: !1,+ unsuspend: hn+ }, zl = null, Ku(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 = oh.bind(m), h.finished.then(m, m))), m = (a & 62914560) === a ? vd - ze() : (a & 4194048) === a ? yd - ze() : 0, m = ih(d, m), m !== null)) {+ Ed = a, e.cancelPendingCommit = m(sf.bind(null, e, t, a, n, r, i, o, s, c, l, u, d, null, f, p)), Hd(e, a, o, !l);+ return;}- return r;- }- function hm(e) {- bp(function() {- bp(function(t) {- return e(t);- });- });+ sf(e, t, a, n, r, i, o, s, c, l, u, d);}- function gm(e, t, n) {- switch (t = up(n), e) {- case "html":- if (e = t.documentElement, !e) throw Error(i(452));- return e;- case "head":- if (e = t.head, !e) throw Error(i(453));- return e;- case "body":- if (e = t.body, !e) throw Error(i(454));- return e;- default: throw Error(i(451));+ function Vd(e) {+ for (var t = e;;) {+ var n = t.tag;+ if ((n === 0 || n === 11 || n === 15) && t.flags & 16384 && (n = t.updateQueue, n !== null && (n = n.stores, n !== null))) for (var r = 0; r < n.length; r++) {+ var i = n[r], a = i.getSnapshot;+ i = i.value;+ try {+ if (!Lr(a(), i)) return !1;+ } catch {+ return !1;+ }+ }+ if (n = t.child, t.subtreeFlags & 16384 && n !== null) n.return = t, t = n;+ else {+ if (t === e) break;+ for (; t.sibling === null;) {+ if (t.return === null || t.return === e) return !0;+ t = t.return;+ }+ t.sibling.return = t.return, t = t.sibling;+ }}+ return !0;}- function _m(e, t, n) {- for (var r in n) {- var i = n[r];- n.hasOwnProperty(r) && i != null && tp(e, t, r, null, ip, i);+ function Hd(e, t, n, r) {+ t = st(e, t), t &= ~fd, t &= ~dd, e.suspendedLanes |= t, e.pingedLanes &= ~t, r && (e.warmLanes |= t), r = e.expirationTimes;+ for (var i = t; 0 < i;) {+ var a = 31 - Ze(i), o = 1 << a;+ r[a] = -1, i &= ~o;}- n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === hn && (e.onclick = null), jt(e);+ n !== 0 && pt(e, n, t);}- function vm(e) {- for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);- jt(e);+ function Ud() {+ return ed & 6 ? !0 : (Nf(0, !1), !1);}- var ym = /* @__PURE__ */ new Map(), bm = /* @__PURE__ */ new Set();- function xm(e) {- if (typeof e.getRootNode == "function") {- var t = e.getRootNode();- if (t.nodeType === 9 || t.nodeType === 11) return t;+ function Wd() {+ if (G !== null) {+ if (rd === 0) var e = G.return;+ else e = G, pa = fa = null, ns(e), to = null, no = 0, e = G;+ for (; e !== null;) yl(e.alternate, e), e = e.return;+ G = null;}- return e.nodeType === 9 ? e : e.ownerDocument;}- var Sm = F.d;- F.d = {- f: Cm,- r: wm,- D: Dm,- C: Om,- L: km,- m: Am,- X: Mm,- S: jm,- M: Nm- };- function Cm() {- var e = Sm.f(), t = Vd();- return e || t;+ function Gd(e, t) {+ var n = e.timeoutHandle;+ return n !== -1 && (e.timeoutHandle = -1, Tp(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), Ed = 0, Wd(), td = e, G = n = ji(e.current, null), nd = t, rd = 0, id = null, ad = !1, od = ot(e, t), sd = !1, md = pd = fd = dd = ud = ld = 0, gd = hd = null, _d = !1, cd = st(e, t), xi(), n;}- function wm(e) {- var t = Nt(e);- t !== null && t.tag === 5 && t.type === "form" ? $s(t) : Sm.r(e);+ function Kd(e, t) {+ W = null, I.H = fc, t === Ga || t === qa ? (t = $a(), rd = 3) : t === Ka ? (t = $a(), rd = 4) : rd = t === Ac ? 8 : typeof t == "object" && t && typeof t.then == "function" ? 6 : 1, id = t, G === null && (ld = 1, wc(e, zi(t, e.current)));}- var Tm = typeof document > "u" ? null : document;- function Em(e, t, n) {- var r = Tm;- if (r && typeof t == "string" && t) {- var i = $t(t);- i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), bm.has(i) || (bm.add(i), e = {- rel: e,- crossOrigin: n,- href: t- }, r.querySelector(i) === null && (t = r.createElement("link"), rp(t, "link", e), It(t), r.head.appendChild(t)));- }+ function qd() {+ var e = Do.current;+ return e === null ? !0 : (nd & 4194048) === nd ? Oo === null : (nd & 62914560) === nd || nd & 536870912 ? e === Oo : !1;}- function Dm(e) {- Sm.D(e), Em("dns-prefetch", e, null);+ function Jd() {+ var e = I.H;+ return I.H = fc, e === null ? fc : e;}- function Om(e, t) {- Sm.C(e, t), Em("preconnect", e, t);+ function Yd() {+ var e = I.A;+ return I.A = Qu, e;}- function km(e, t, n) {- Sm.L(e, t, n);- var r = Tm;- if (r && e && t) {- var i = "link[rel=\"preload\"][as=\"" + $t(t) + "\"]";- t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + $t(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + $t(n.imageSizes) + "\"]")) : i += "[href=\"" + $t(e) + "\"]";- var a = i;- switch (t) {- case "style":- a = Fm(e);- break;- case "script": a = zm(e);- }- if (!(ym.has(a) || (e = T({- rel: "preload",- href: t === "image" && n && n.imageSrcSet ? void 0 : e,- as: t- }, n), ym.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(Im(a)) || t === "script" && r.querySelector(Bm(a))))) {- var o = r.createElement("link");- rp(o, "link", e), t === "style" && (o[At] = !0, o.onload = o.onerror = function() {- L(o);- }), It(o), r.head.appendChild(o);- }- }+ function Xd() {+ ld = 4, ad || (nd & 4194048) !== nd && Do.current !== null || (od = !0), !(ud & 134217727) && !(dd & 134217727) || td === null || Hd(td, nd, pd, !1);}- function Am(e, t) {- Sm.m(e, t);- var n = Tm;- if (n && e) {- var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + $t(r) + "\"][href=\"" + $t(e) + "\"]", a = i;- switch (r) {- case "audioworklet":- case "paintworklet":- case "serviceworker":- case "sharedworker":- case "worker":- case "script": a = zm(e);- }- if (!ym.has(a) && (e = T({- rel: "modulepreload",- href: e- }, t), ym.set(a, e), n.querySelector(i) === null)) {- switch (r) {- case "audioworklet":- case "paintworklet":- case "serviceworker":- case "sharedworker":- case "worker":- case "script": if (n.querySelector(Bm(a))) return;+ function Zd(e, t, n) {+ var r = ed;+ ed |= 2;+ var i = Jd(), a = Yd();+ (td !== e || nd !== t) && (xd = null, Gd(e, t)), t = !1;+ var o = ld;+ a: do+ try {+ if (rd !== 0 && G !== null) {+ var s = G, c = id;+ switch (rd) {+ case 8:+ Wd(), o = 6;+ break a;+ case 3:+ case 2:+ case 9:+ case 6:+ Do.current === null && (t = !0);+ var l = rd;+ if (rd = 0, id = null, rf(e, s, c, l), n && od) {+ o = 0;+ break a;+ }+ break;+ default: l = rd, rd = 0, id = null, rf(e, s, c, l);+ }}- r = n.createElement("link"), rp(r, "link", e), It(r), n.head.appendChild(r);+ Qd(), o = ld;+ break;+ } catch (t) {+ Kd(e, t);}- }+ while (1);+ return t && e.shellSuspendCounter++, pa = fa = null, ed = r, I.H = i, I.A = a, G === null && (td = null, nd = 0, xi()), o;}- function jm(e, t, n) {- Sm.S(e, t, n);- var r = Tm;- if (r && e) {- var i = Ft(r).hoistableStyles, a = Fm(e);- t ||= "default";- var o = i.get(a);- if (!o) {- var s = {- loading: 0,- preload: null- };- if (o = r.querySelector(Im(a))) s.loading = 5;- else {- e = T({- rel: "stylesheet",- href: e,- "data-precedence": t- }, n), (n = ym.get(a)) && Um(e, n);- var c = o = r.createElement("link");- It(c), rp(c, "link", e), c._p = new Promise(function(e, t) {- c.onload = e, c.onerror = t;- }), c.addEventListener("load", function() {- s.loading |= 1;- }), c.addEventListener("error", function() {- s.loading |= 2;- }), s.loading |= 4, Hm(o, t, r);+ function Qd() {+ for (; G !== null;) tf(G);+ }+ function $d(e, t) {+ var n = ed;+ ed |= 2;+ var r = Jd(), a = Yd();+ td !== e || nd !== t ? (xd = null, bd = ze() + 500, Gd(e, t)) : od = ot(e, t);+ a: do+ try {+ if (rd !== 0 && G !== null) {+ t = G;+ var o = id;+ b: switch (rd) {+ case 1:+ rd = 0, id = null, rf(e, t, o, 1);+ break;+ case 2:+ case 9:+ if (Ya(o)) {+ rd = 0, id = null, nf(t);+ break;+ }+ t = function() {+ rd !== 2 && rd !== 9 || td !== e || (rd = 7), Mf(e);+ }, o.then(t, t);+ break a;+ case 3:+ rd = 7;+ break a;+ case 4:+ rd = 5;+ break a;+ case 7:+ Ya(o) ? (rd = 0, id = null, nf(t)) : (rd = 0, id = null, rf(e, t, o, 7));+ break;+ case 5:+ var s = null;+ switch (G.tag) {+ case 26: s = G.memoizedState;+ case 5:+ case 27:+ var c = G;+ if (s ? $m(s) : c.stateNode.complete) {+ rd = 0, id = null;+ var l = c.sibling;+ if (l !== null) G = l;+ else {+ var u = c.return;+ u === null ? G = null : (G = u, af(u));+ }+ break b;+ }+ }+ rd = 0, id = null, rf(e, t, o, 5);+ break;+ case 6:+ rd = 0, id = null, rf(e, t, o, 6);+ break;+ case 8:+ Wd(), ld = 6;+ break a;+ default: throw Error(i(462));+ }}- o = {- type: "stylesheet",- instance: o,- count: 1,- state: s- }, i.set(a, o);+ ef();+ break;+ } catch (t) {+ Kd(e, t);}- }+ while (1);+ return pa = fa = null, I.H = r, I.A = a, ed = n, G === null ? (td = null, nd = 0, xi(), ld) : 0;}- function Mm(e, t) {- Sm.X(e, t);- var n = Tm;- if (n && e) {- var r = Ft(n).hoistableScripts, i = zm(e), a = r.get(i);- a || (a = n.querySelector(Bm(i)), a || (e = T({- src: e,- async: !0- }, t), (t = ym.get(i)) && Wm(e, t), a = n.createElement("script"), It(a), rp(a, "link", e), n.head.appendChild(a)), a = {- type: "script",- instance: a,- count: 1,- state: null- }, r.set(i, a));- }+ function ef() {+ for (; G !== null && !Le();) tf(G);}- function Nm(e, t) {- Sm.M(e, t);- var n = Tm;- if (n && e) {- var r = Ft(n).hoistableScripts, i = zm(e), a = r.get(i);- a || (a = n.querySelector(Bm(i)), a || (e = T({- src: e,- async: !0,- type: "module"- }, t), (t = ym.get(i)) && Wm(e, t), a = n.createElement("script"), It(a), rp(a, "link", e), n.head.appendChild(a)), a = {- type: "script",- instance: a,- count: 1,- state: null- }, r.set(i, a));- }+ function tf(e) {+ var t = ul(e.alternate, e, cd);+ e.memoizedProps = e.pendingProps, t === null ? af(e) : G = t;}- function Pm(e, t, n, r) {- var a = (a = Ce.current) ? xm(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 = Fm(n.href), t = Ft(a).hoistableStyles, r = t.get(n), r || (r = {- type: "style",- instance: null,- count: 0,- state: null- }, t.set(n, r)), r) : {- type: "void",- instance: null,- count: 0,- state: null- };- case "link":- if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {- e = Fm(n.href);- var o = Ft(a).hoistableStyles, s = o.get(e);- if (s || (a = a.ownerDocument || a, s = {- type: "stylesheet",- instance: null,- count: 0,- state: {- loading: 0,- preload: null- }- }, o.set(e, s), (o = a.querySelector(Im(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = ym.get(e), o || (o = {- rel: "preload",- as: "style",- href: n.href,- crossOrigin: n.crossOrigin,- integrity: n.integrity,- media: n.media,- hrefLang: n.hrefLang,- referrerPolicy: n.referrerPolicy- }, ym.set(e, o)), Rm(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));- return s;- }- if (t && r !== null) throw Error(i(529, ""));- return null;- case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = zm(n), t = Ft(a).hoistableScripts, r = t.get(n), r || (r = {- type: "script",- instance: null,- count: 0,- state: null- }, t.set(n, r)), r) : {- type: "void",- instance: null,- count: 0,- state: null- };- default: throw Error(i(444, e));+ function nf(e) {+ var t = e, n = t.alternate;+ switch (t.tag) {+ case 15:+ case 0:+ t = Wc(n, t, t.pendingProps, t.type, void 0, nd);+ break;+ case 11:+ t = Wc(n, t, t.pendingProps, t.type.render, t.ref, nd);+ break;+ case 5:+ ns(t);+ var r = t;+ r === ea && (H ? (oa(r), r.tag === 5 && r.stateNode != null && (ta = r.stateNode)) : (oa(r), H = !0));+ default: yl(n, t), t = G = Mi(t, cd), t = ul(n, t, cd);}+ e.memoizedProps = e.pendingProps, t === null ? af(e) : G = t;}- function Fm(e) {- return "href=\"" + $t(e) + "\"";- }- function Im(e) {- return "link[rel=\"stylesheet\"][" + e + "]";- }- function Lm(e) {- return T({}, e, {- "data-precedence": e.precedence,- precedence: null- });- }- function Rm(e, t, n, r) {- if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {- if (!0 !== t[At]) {- r.loading = 1;+ function rf(e, t, n, r) {+ pa = fa = null, ns(t), to = null, no = 0;+ var i = t.return;+ try {+ if (kc(e, i, t, n, nd)) {+ ld = 1, wc(e, zi(n, e.current)), G = null;return;}- } else t = e.createElement("link"), t[At] = !0, t.onload = t.onerror = L.bind(null, t), rp(t, "link", n), It(t), e.head.appendChild(t);- r.preload = t, t.addEventListener("load", function() {- return r.loading |= 1;- }), t.addEventListener("error", function() {- return r.loading |= 2;- });- }- function zm(e) {- return "[src=\"" + $t(e) + "\"]";- }- function Bm(e) {- return "script[async]" + e;- }- function Vm(e, t, n) {- if (t.count++, t.instance === null) switch (t.type) {- case "style":- var r = e.querySelector("style[data-href~=\"" + $t(n.href) + "\"]");- if (r) return t.instance = r, It(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"), It(r), rp(r, "style", a), Hm(r, n.precedence, e), t.instance = r;- case "stylesheet":- a = Fm(n.href);- var o = e.querySelector(Im(a));- if (o) return t.state.loading |= 4, t.instance = o, It(o), o;- r = Lm(n), (a = ym.get(a)) && Um(r, a), o = (e.ownerDocument || e).createElement("link"), It(o);- var s = o;- return s._p = new Promise(function(e, t) {- s.onload = e, s.onerror = t;- }), rp(o, "link", r), t.state.loading |= 4, Hm(o, n.precedence, e), t.instance = o;- case "script": return o = zm(n.src), (a = e.querySelector(Bm(o))) ? (t.instance = a, It(a), a) : (r = n, (a = ym.get(o)) && (r = T({}, n), Wm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), It(a), rp(a, "link", r), e.head.appendChild(a), t.instance = a);- case "void": return null;- default: throw Error(i(443, t.type));+ } catch (t) {+ if (i !== null) throw G = i, t;+ ld = 1, wc(e, zi(n, e.current)), G = null;+ return;}- else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Hm(r, n.precedence, e));- return t.instance;+ t.flags & 32768 ? (H || r === 1 ? e = !0 : od || nd & 536870912 ? e = !1 : (ad = e = !0, (r === 2 || r === 9 || r === 3 || r === 6) && (r = Do.current, r !== null && r.tag === 13 && (r.flags |= 16384))), of(t, e)) : af(t);}- function Hm(e, t, n) {- for (var r = n.querySelectorAll("link[rel=\"stylesheet\"][data-precedence],style[data-precedence]"), i = r.length ? r[r.length - 1] : null, a = i, o = 0; o < r.length; o++) {- var s = r[o];- if (s.dataset.precedence === t) a = s;- else if (a !== i) break;- }- a ? a.parentNode.insertBefore(e, a.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));+ function af(e) {+ var t = e;+ do {+ if (t.flags & 32768) {+ of(t, ad);+ return;+ }+ e = t.return;+ var n = _l(t.alternate, t, cd);+ if (n !== null) {+ G = n;+ return;+ }+ if (t = t.sibling, t !== null) {+ G = t;+ return;+ }+ G = t = e;+ } while (t !== null);+ ld === 0 && (ld = 5);}- function Um(e, t) {- e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;+ function of(e, t) {+ do {+ var n = vl(e.alternate, e);+ if (n !== null) {+ n.flags &= 32767, G = n;+ return;+ }+ if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {+ G = e;+ return;+ }+ G = e = n;+ } while (e !== null);+ ld = 6, G = null;}- function Wm(e, t) {- e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;+ function sf(e, t, n, r, a, o, s, c, l, u, d, f) {+ e.cancelPendingCommit = null;+ do+ hf();+ while (Cd !== 0);+ if (ed & 6) throw Error(i(327));+ if (t !== null) {+ if (t === e.current) throw Error(i(177));+ e === td && (G = td = null, nd = 0), Td = t, wd = e, Ed = n, Od = a, kd = r, cf(e, t, n, s, c, l, f);+ }}- var Gm = null;- function Km(e, t, n) {- if (Gm === null) {- var r = /* @__PURE__ */ new Map(), i = Gm = /* @__PURE__ */ new Map();- i.set(n, r);- } else i = Gm, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));- 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[kt] || a[Ct] || 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);- s ? s.push(a) : r.set(o, [a]);+ function cf(e, t, n, r, i, a, o) {+ var s = t.lanes | t.childLanes;+ if (Dd = s, s |= bi, ft(e, n, s, r, i, a), jd = null, (n & 335544064) === n ? (Md = Ma(e), r = 10262) : (Md = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Tf(Ue, function() {+ return gf(), null;+ })) : (e.callbackNode = null, e.callbackPriority = 0), Rl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {+ r = I.T, I.T = null, i = L.p, L.p = 2, a = ed, ed |= 4;+ try {+ pu(e, t, n);+ } finally {+ ed = a, L.p = i, I.T = r;}}- return r;- }- function qm(e, t, n) {- e = e.ownerDocument || e, e.head.insertBefore(n, t === "title" ? e.querySelector("head > title") : null);+ Cd = 1, Rl ? Ad = Bp(o, e.containerInfo, Md, df, ff, uf, pf, gf, lf, null, null) : (df(), ff(), pf());}- function Jm(e, t, n) {- if (n === 1 || t.itemProp != null) return !1;- switch (e) {- case "meta":- case "title": return !0;- case "style":- if (typeof t.precedence != "string" || typeof t.href != "string" || t.href === "") break;- return !0;- case "link":- if (typeof t.rel != "string" || typeof t.href != "string" || t.href === "" || t.onLoad || t.onError) break;- switch (t.rel) {- case "stylesheet": return e = t.disabled, typeof t.precedence == "string" && e == null;- default: return !0;- }- case "script": if (t.async && typeof t.async != "function" && typeof t.async != "symbol" && !t.onLoad && !t.onError && t.src && typeof t.src == "string") return !0;+ function lf(e) {+ if (Cd !== 0) {+ var t = wd.onRecoverableError;+ t(e, { componentStack: null });}- return !1;- }- function Ym(e, t) {- return e === "img" && t.src != null && t.src !== "" && t.onLoad == null && t.loading !== "lazy";}- function Xm(e) {- return !(e.type === "stylesheet" && !(e.state.loading & 3));+ function uf() {+ Cd === 3 && (Cd = 0, Pu(Td, wd), Cd = 4);}- function Zm(e) {- return (e.width || 100) * (e.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * .25;- }- function Qm(e, t) {- typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += Zm(t), e.suspenseyImages.push(t)), e = ih.bind(e), t.decode().then(e, e));- }- function $m(e, t, n, r) {- if (n.type === "stylesheet" && (typeof r.media != "string" || !1 !== matchMedia(r.media).matches) && !(n.state.loading & 4)) {- if (n.instance === null) {- var i = Fm(r.href), a = t.querySelector(Im(i));- if (a) {- t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = rh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, It(a);- return;+ function df() {+ if (Cd === 1) {+ Cd = 0;+ var e = wd, t = Td, n = Ed, r = !!(t.flags & 13878);+ if (t.subtreeFlags & 13878 || r) {+ r = I.T, I.T = null;+ var i = L.p;+ L.p = 2;+ var a = ed;+ ed |= 4;+ try {+ uu = du = !1, Au(t, e, n), n = gp;+ 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)) {+ 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 {+ var d = s.ownerDocument || document, f = d && d.defaultView || window;+ 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);+ 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));+ }+ }+ }+ }+ for (d = [], p = s; p = p.parentNode;) p.nodeType === 1 && d.push({+ element: p,+ left: p.scrollLeft,+ top: p.scrollTop+ });+ for (typeof s.focus == "function" && s.focus(), s = 0; s < d.length; s++) {+ var b = d[s];+ b.element.scrollLeft = b.left, b.element.scrollTop = b.top;+ }+ }+ bh = !!hp, gp = hp = null;+ } finally {+ ed = a, L.p = i, I.T = r;}- a = t.ownerDocument || t, r = Lm(r), (i = ym.get(i)) && Um(r, i), a = a.createElement("link"), It(a);- var o = a;- o._p = new Promise(function(e, t) {- o.onload = e, o.onerror = t;- }), rp(a, "link", r), n.instance = a;}- e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = rh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));+ e.current = t, Cd = 2;}}- var eh = 0;- function th(e, t) {- return e.stylesheets && e.count === 0 && oh(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {- var r = setTimeout(function() {- if (e.stylesheets && oh(e, e.stylesheets), e.unsuspend) {- var t = e.unsuspend;- e.unsuspend = null, t();- }- }, 6e4 + t);- 0 < e.imgBytes && eh === 0 && (eh = 62500 * sp());- var i = setTimeout(function() {- if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && oh(e, e.stylesheets), e.unsuspend)) {- var t = e.unsuspend;- e.unsuspend = null, t();+ function ff() {+ if (Cd === 2) {+ Cd = 0;+ var e = wd, t = Td, n = !!(t.flags & 8772);+ if (t.subtreeFlags & 8772 || n) {+ n = I.T, I.T = null;+ var r = L.p;+ L.p = 2;+ var i = ed;+ ed |= 4;+ try {+ hu(e, t.alternate, t);+ } finally {+ ed = i, L.p = r, I.T = n;}- }, (e.imgBytes > eh ? 50 : 800) + t);- return e.unsuspend = n, function() {- e.unsuspend = null, clearTimeout(r), clearTimeout(i);- };- } : null;+ }+ Cd = 3;+ }}- function nh(e) {- if (e.count === 0 && (e.imgCount === 0 || !e.waitingForImages)) {- if (e.stylesheets) oh(e, e.stylesheets);- else if (e.unsuspend) {- var t = e.unsuspend;- e.unsuspend = null, t();+ function pf() {+ if (Cd === 4 || Cd === 3) {+ Cd = 0;+ var e = Ad;+ Ad = null, Re();+ var t = wd, n = Td, r = Ed, i = kd, a = (r & 335544064) === r ? 10262 : 10256;+ if ((n.subtreeFlags & a) !== 0 || (n.flags & a) !== 0 ? Cd = 5 : (Cd = 0, Td = wd = null, mf(t, t.pendingLanes)), a = t.pendingLanes, a === 0 && (Sd = null), _t(r), n = n.stateNode, Ye && typeof Ye.onCommitFiberRoot == "function") try {+ Ye.onCommitFiberRoot(Je, n, void 0, (n.current.flags & 128) == 128);+ } catch {}+ if (i !== null) {+ n = I.T, a = L.p, L.p = 2, I.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 {+ I.T = n, L.p = a;+ }}+ if (i = jd, o = Md, Md = null, i !== null && (jd = 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);+ Ed & 3 && hf(), Mf(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Pd ? Nd++ : (Nd = 0, Pd = t) : (Nd = 0, Pd = null), Nf(0, !1);}}- function rh() {- this.count--, nh(this);+ function mf(e, t) {+ (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, ka(t)));+ }+ function hf() {+ return Ad !== null && (Ad.skipTransition(), Ad = null), df(), ff(), pf(), gf();}- function ih() {- this.imgCount--, nh(this);+ function gf() {+ if (Cd !== 5) return !1;+ var e = wd, t = Dd;+ Dd = 0;+ var n = _t(Ed), r = I.T, a = L.p;+ try {+ L.p = 32 > n ? 32 : n, I.T = null, n = Od, Od = null;+ var o = wd, s = Ed;+ if (Cd = 0, Td = wd = null, Ed = 0, ed & 6) throw Error(i(331));+ var c = ed;+ if (ed |= 4, Yu(o.current), Vu(o, o.current, s, n), ed = c, Nf(0, !1), Ye && typeof Ye.onPostCommitFiberRoot == "function") try {+ Ye.onPostCommitFiberRoot(Je, o);+ } catch {}+ return !0;+ } finally {+ L.p = a, I.T = r, mf(e, t);+ }}- var ah = null;- function oh(e, t) {- e.stylesheets = null, e.unsuspend !== null && (e.count++, ah = /* @__PURE__ */ new Map(), t.forEach(sh, e), ah = null, rh.call(e));+ function _f(e, t, n) {+ t = zi(n, t), t = Ec(e.stateNode, t, 2), e = mo(e, t, 2), e !== null && (dt(e, 2), Mf(e));}- function sh(e, t) {- if (!(t.state.loading & 4)) {- var n = ah.get(e);- if (n) var r = n.get(null);- else {- n = /* @__PURE__ */ new Map(), ah.set(e, n);- for (var i = e.querySelectorAll("link[data-precedence],style[data-precedence]"), a = 0; a < i.length; a++) {- var o = i[a];- (o.nodeName === "LINK" || o.getAttribute("media") !== "not all") && (n.set(o.dataset.precedence, o), r = o);+ function vf(e, t, n) {+ if (e.tag === 3) _f(e, e, n);+ else for (; t !== null;) {+ if (t.tag === 3) {+ _f(t, e, n);+ break;+ }+ if (t.tag === 1) {+ var r = t.stateNode;+ if (typeof t.type.getDerivedStateFromError == "function" || typeof r.componentDidCatch == "function" && (Sd === null || !Sd.has(r))) {+ e = zi(n, e), n = Dc(2), r = mo(t, n, 2), r !== null && (Oc(n, r, t, e), dt(r, 2), Mf(r));+ break;}- r && n.set(null, r);}- i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = rh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;+ t = t.return;}}- var ch = {- $$typeof: te,- Provider: null,- Consumer: null,- _currentValue: he,- _currentValue2: he,- _threadCount: 0- };- function lh(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 = ft(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = ft(0), this.hiddenUpdates = ft(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 yf(e, t, n) {+ var r = e.pingCache;+ if (r === null) {+ r = e.pingCache = new $u();+ var i = /* @__PURE__ */ new Set();+ r.set(t, i);+ } else i = r.get(t), i === void 0 && (i = /* @__PURE__ */ new Set(), r.set(t, i));+ i.has(n) || (sd = !0, i.add(n), e = bf.bind(null, e, t, n), t.then(e, e));}- function uh(e, t, n, r, i, a, o, s, c, l, u, d) {- return e = new lh(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = ki(3, null, null, t), e.current = a, a.stateNode = e, t = Oa(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {- element: r,- isDehydrated: n,- cache: t- }, uo(a), e;+ function bf(e, t, n) {+ var r = e.pingCache;+ r !== null && r.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, td === e && (nd & n) === n && (ld === 4 || ld === 3 && (nd & 62914560) === nd && 300 > ze() - vd ? ed & 2 ? fd |= n : Gd(e, 0) : fd |= n, md === nd && (md = 0)), Mf(e);}- function dh(e) {- return e ? (e = Di, e) : Di;+ function xf(e, t) {+ t === 0 && (t = lt()), e = wi(e, t), e !== null && (dt(e, t), Mf(e));}- function fh(e, t, n, r, i, a) {- i = dh(i), r.context === null ? r.context = i : r.pendingContext = i, r = po(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = mo(e, r, t), n !== null && (Id(n, e, t), ho(n, e, t));+ function Sf(e) {+ var t = e.memoizedState, n = 0;+ t !== null && (n = t.retryLane), xf(e, n);}- function ph(e, t) {- if (e = e.memoizedState, e !== null && e.dehydrated !== null) {- var n = e.retryLane;- e.retryLane = n !== 0 && n < t ? n : t;+ function wf(e, t) {+ var n = 0;+ switch (e.tag) {+ case 31:+ case 13:+ var r = e.stateNode, a = e.memoizedState;+ a !== null && (n = a.retryLane);+ break;+ case 19:+ r = e.stateNode;+ break;+ case 22:+ r = e.stateNode._retryCache;+ break;+ default: throw Error(i(314));}+ r !== null && r.delete(t), xf(e, n);}- function mh(e, t) {- ph(e, t), (e = e.alternate) && ph(e, t);+ function Tf(e, t) {+ return Fe(e, t);}- function hh(e) {- if (e.tag === 13 || e.tag === 31) {- var t = wi(e, 67108864);- t !== null && Id(t, e, 67108864), mh(e, 67108864);+ var Ef = null, Df = null, Of = !1, kf = !1, Af = !1, jf = 0;+ function Mf(e) {+ e !== Df && e.next === null && (Df === null ? Ef = Df = e : Df = Df.next = e), kf = !0, Of || (Of = !0, zf());+ }+ function Nf(e, t) {+ if (!Af && kf) {+ Af = !0;+ do+ for (var n = !1, r = Ef; r !== null;) {+ if (!t) {+ if (e !== 0) {+ var i = r.pendingLanes;+ if (i === 0) var a = 0;+ else {+ var o = r.suspendedLanes, s = r.pingedLanes;+ a = (1 << 31 - Ze(42 | e) + 1) - 1, a &= i & ~(o & ~s), a = a & 201326741 ? a & 201326741 | 1 : a ? a | 2 : 0;+ }+ a !== 0 && (n = !0, Rf(r, a));+ } else a = nd, a = at(r, r === td ? a : 0, r.cancelPendingCommit !== null || r.timeoutHandle !== -1), !(a & 3) || ot(r, a) || (n = !0, Rf(r, a));+ }+ r = r.next;+ }+ while (n);+ Af = !1;}}- function gh(e) {- if (e.tag === 13 || e.tag === 31) {- var t = Nd();- t = vt(t);- var n = wi(e, t);- n !== null && Id(n, e, t), mh(e, t);+ function Pf() {+ Ff();+ }+ function Ff() {+ kf = Of = !1;+ var e = 0;+ jf !== 0 && Cp() && (e = jf);+ for (var t = ze(), n = null, r = Ef; r !== null;) {+ var i = r.next, a = If(r, t);+ a === 0 ? (r.next = null, n === null ? Ef = i : n.next = i, i === null && (Df = n)) : (n = r, (e !== 0 || a & 3) && (kf = !0)), r = i;}+ Cd !== 0 && Cd !== 5 || Nf(e, !1), jf !== 0 && (jf = 0);}- var _h = !0;- function vh(e, t, n, r) {- var i = P.T;- P.T = null;- var a = F.p;- try {- F.p = 2, bh(e, t, n, r);- } finally {- F.p = a, P.T = i;+ function If(e, t) {+ for (var n = e.suspendedLanes, r = e.pingedLanes, i = e.expirationTimes, a = e.pendingLanes & -62914561; 0 < a;) {+ var o = 31 - Ze(a), s = 1 << o, c = i[o];+ c === -1 ? ((s & n) === 0 || (s & r) !== 0) && (i[o] = ct(s, t)) : c <= t && (e.expiredLanes |= s), a &= ~s;+ }+ if (t = td, n = nd, n = at(e, e === t ? n : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r = e.callbackNode, n === 0 || e === t && (rd === 2 || rd === 9) || e.cancelPendingCommit !== null) return r !== null && r !== null && Ie(r), e.callbackNode = null, e.callbackPriority = 0;+ if (!(n & 3) || ot(e, n)) {+ if (t = n & -n, t === e.callbackPriority) return t;+ switch (r !== null && Ie(r), _t(n)) {+ case 2:+ case 8:+ n = He;+ break;+ case 32:+ n = Ue;+ break;+ case 268435456:+ n = Ge;+ break;+ default: n = Ue;+ }+ return r = Lf.bind(null, e), n = Fe(n, r), e.callbackPriority = t, e.callbackNode = n, t;}+ return r !== null && r !== null && Ie(r), e.callbackPriority = 2, e.callbackNode = null, 2;}- function yh(e, t, n, r) {- var i = P.T;- P.T = null;- var a = F.p;- try {- F.p = 8, bh(e, t, n, r);- } finally {- F.p = a, P.T = i;+ function Lf(e, t) {+ if (Cd !== 0 && Cd !== 5) return e.callbackNode = null, e.callbackPriority = 0, null;+ var n = e.callbackNode;+ if (hf() && e.callbackNode !== n) return null;+ var r = nd;+ return r = at(e, e === td ? r : 0, e.cancelPendingCommit !== null || e.timeoutHandle !== -1), r === 0 ? null : (zd(e, r, t), If(e, ze()), e.callbackNode != null && e.callbackNode === n ? Lf.bind(null, e) : null);+ }+ function Rf(e, t) {+ if (hf()) return null;+ zd(e, t, !0);+ }+ function zf() {+ Op(function() {+ ed & 6 ? Fe(Ve, Pf) : Ff();+ });+ }+ function Bf() {+ if (jf === 0) {+ var e = Fa;+ e === 0 && (e = tt, tt <<= 1, !(tt & 261888) && (tt = 256)), jf = e;}+ return jf;}- function bh(e, t, n, r) {- if (_h) {- var i = xh(r);- if (i === null) Kf(e, t, r, Sh, n), Nh(e, r);- else if (Fh(i, e, t, n, r)) r.stopPropagation();- else if (Nh(e, r), t & 4 && -1 < Mh.indexOf(e)) {- for (; i !== null;) {- var a = Nt(i);- if (a !== null) switch (a.tag) {- case 3:- if (a = a.stateNode, a.current.memoizedState.isDehydrated) {- var o = ot(a.pendingLanes);- if (o !== 0) {- var s = a;- for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {- var c = 1 << 31 - $e(o);- s.entanglements[1] |= c, o &= ~c;- }- Ef(a), !(ed & 6) && (yd = Ve() + 500, Df(0, !1));- }+ function Vf(e) {+ return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : mn(e);+ }+ function Hf(e, t, n, r, i) {+ if (t === "submit" && n && n.stateNode === i) {+ var a = Vf((i[St] || null).action), o = r.submitter;+ o && (t = (t = o[St] || null) ? Vf(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: [{+ instance: null,+ listener: function() {+ if (r.defaultPrevented) {+ if (jf !== 0) {+ var e = new FormData(i, o);+ Qs(n, {+ pending: !0,+ data: e,+ method: i.method,+ action: a+ }, null, e);}- break;- case 31:- case 13: s = wi(a, 2), s !== null && Id(s, a, 2), Vd(), mh(a, 2);+ } else typeof a == "function" && (s.preventDefault(), e = new FormData(i, o), Qs(n, {+ pending: !0,+ data: e,+ method: i.method,+ action: a+ }, a, e));+ },+ currentTarget: i+ }]+ });+ }+ }+ for (var Uf = 0; Uf < di.length; Uf++) {+ var Wf = di[Uf];+ fi(Wf.toLowerCase(), "on" + (Wf[0].toUpperCase() + Wf.slice(1)));+ }+ fi(ri, "onAnimationEnd"), fi(ii, "onAnimationIteration"), fi(ai, "onAnimationStart"), fi("dblclick", "onDoubleClick"), fi("focusin", "onFocus"), fi("focusout", "onBlur"), fi(oi, "onTransitionRun"), fi(si, "onTransitionStart"), fi(ci, "onTransitionCancel"), fi(li, "onTransitionEnd"), Lt("onMouseEnter", ["mouseout", "mouseover"]), Lt("onMouseLeave", ["mouseout", "mouseover"]), Lt("onPointerEnter", ["pointerout", "pointerover"]), Lt("onPointerLeave", ["pointerout", "pointerover"]), B("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), B("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), B("onBeforeInput", [+ "compositionend",+ "keypress",+ "textInput",+ "paste"+ ]), B("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), B("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), B("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" "));+ var Gf = "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(" "), Kf = new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Gf));+ function qf(e, t) {+ t = !!(t & 4);+ for (var n = 0; n < e.length; n++) {+ var r = e[n], i = r.event;+ r = r.listeners;+ a: {+ var a = void 0;+ if (t) for (var o = r.length - 1; 0 <= o; o--) {+ var s = r[o], c = s.instance, l = s.currentTarget;+ if (s = s.listener, c !== a && i.isPropagationStopped()) break a;+ a = s, i.currentTarget = l;+ try {+ a(i);+ } catch (e) {+ _i(e);}- if (a = xh(r), a === null && Kf(e, t, r, Sh, n), a === i) break;- i = a;+ i.currentTarget = null, a = c;}- i !== null && r.stopPropagation();- } else Kf(e, t, r, null, n);+ else for (o = 0; o < r.length; o++) {+ if (s = r[o], c = s.instance, l = s.currentTarget, s = s.listener, c !== a && i.isPropagationStopped()) break a;+ a = s, i.currentTarget = l;+ try {+ a(i);+ } catch (e) {+ _i(e);+ }+ i.currentTarget = null, a = c;+ }+ }}}- function xh(e) {- return e = _n(e), Ch(e);+ function Jf(e, t) {+ var n = t[wt];+ n === void 0 && (n = t[wt] = /* @__PURE__ */ new Set());+ var r = e + "__bubble";+ n.has(r) || (Qf(t, e, 2, !1), n.add(r));}- var Sh = null;- function Ch(e) {- if (Sh = null, e = Mt(e), e !== null) {- var t = o(e);- if (t === null) e = null;- else {- var n = t.tag;- if (n === 13) {- if (e = s(t), e !== null) return e;- e = null;- } else if (n === 31) {- if (e = c(t), e !== null) return e;- e = null;- } else if (n === 3) {- if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null;- e = null;- } else t !== e && (e = null);- }- }- return Sh = e, null;+ function Yf(e, t, n) {+ var r = 0;+ t && (r |= 4), Qf(n, e, r, t);}- function wh(e) {- switch (e) {- case "beforetoggle":- case "cancel":- case "click":- case "close":- case "contextmenu":- case "copy":- case "cut":- case "auxclick":- case "dblclick":- case "dragend":- case "dragstart":- case "drop":- case "focusin":- case "focusout":- case "input":- case "invalid":- case "keydown":- case "keypress":- case "keyup":- case "mousedown":- case "mouseup":- case "paste":- case "pause":- case "play":- case "pointercancel":- case "pointerdown":- case "pointerup":- case "ratechange":- case "reset":- case "seeked":- case "submit":- case "toggle":- case "touchcancel":- case "touchend":- case "touchstart":- case "volumechange":- case "change":- case "selectionchange":- case "textInput":- case "compositionstart":- case "compositionend":- case "compositionupdate":- case "beforeblur":- case "afterblur":- case "beforeinput":- case "blur":- case "fullscreenchange":- case "fullscreenerror":- case "focus":- case "hashchange":- case "popstate":- case "select":- case "selectstart": return 2;- case "drag":- case "dragenter":- case "dragexit":- case "dragleave":- case "dragover":- case "mousemove":- case "mouseout":- case "mouseover":- case "pointermove":- case "pointerout":- case "pointerover":- case "resize":- case "scroll":- case "touchmove":- case "wheel":- case "mouseenter":- case "mouseleave":- case "pointerenter":- case "pointerleave": return 8;- case "message": switch (He()) {- case Ue: return 2;- case We: return 8;- case Ge:- case Ke: return 32;- case qe: return 268435456;- default: return 32;- }- default: return 32;+ var Xf = "_reactListening" + Math.random().toString(36).slice(2);+ function Zf(e) {+ if (!e[Xf]) {+ e[Xf] = !0, z.forEach(function(t) {+ t !== "selectionchange" && (Kf.has(t) || Yf(t, !1, e), Yf(t, !0, e));+ });+ var t = e.nodeType === 9 ? e : e.ownerDocument;+ t === null || t[Xf] || (t[Xf] = !0, Yf("selectionchange", !1, t));}}- var Th = !1, Eh = null, Dh = null, Oh = null, kh = /* @__PURE__ */ new Map(), Ah = /* @__PURE__ */ new Map(), jh = [], Mh = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");- function Nh(e, t) {- switch (e) {- case "focusin":- case "focusout":- Eh = null;- break;- case "dragenter":- case "dragleave":- Dh = null;- break;- case "mouseover":- case "mouseout":- Oh = null;+ function Qf(e, t, n, r) {+ switch (Dh(t)) {+ case 2:+ var i = xh;break;- case "pointerover":- case "pointerout":- kh.delete(t.pointerId);+ case 8:+ i = Sh;break;- case "gotpointercapture":- case "lostpointercapture": Ah.delete(t.pointerId);+ default: i = Ch;}+ 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 });}- function Ph(e, t, n, r, i, a) {- return e === null || e.nativeEvent !== a ? (e = {- blockedOn: t,- domEventName: n,- eventSystemFlags: r,- nativeEvent: a,- targetContainers: [i]- }, t !== null && (t = Nt(t), t !== null && hh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);- }- function Fh(e, t, n, r, i) {- switch (t) {- case "focusin": return Eh = Ph(Eh, e, t, n, r, i), !0;- case "dragenter": return Dh = Ph(Dh, e, t, n, r, i), !0;- case "mouseover": return Oh = Ph(Oh, e, t, n, r, i), !0;- case "pointerover":- var a = i.pointerId;- return kh.set(a, Ph(kh.get(a) || null, e, t, n, r, i)), !0;- case "gotpointercapture": return a = i.pointerId, Ah.set(a, Ph(Ah.get(a) || null, e, t, n, r, i)), !0;+ function $f(e, t, n, r, i) {+ var a = r;+ if (!(t & 1) && !(t & 2) && r !== null) a: for (;;) {+ if (r === null) return;+ var s = r.tag;+ if (s === 3 || s === 4) {+ var c = r.stateNode.containerInfo;+ if (c === i) break;+ if (s === 4) for (s = r.return; s !== null;) {+ var l = s.tag;+ if ((l === 3 || l === 4) && s.stateNode.containerInfo === i) return;+ s = s.return;+ }+ for (; c !== null;) {+ if (s = At(c), s === null) return;+ if (l = s.tag, l === 5 || l === 6 || l === 26 || l === 27) {+ r = a = s;+ continue a;+ }+ c = c.parentNode;+ }+ }+ r = r.return;}- return !1;- }- function Ih(e) {- var t = Mt(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, xt(e.priority, function() {- gh(n);- });- return;+ Sn(function() {+ var r = a, i = _n(n), s = [];+ a: {+ var c = ui.get(e);+ if (c !== void 0) {+ var l = In, u = e;+ switch (e) {+ case "keypress": if (jn(n) === 0) break a;+ case "keydown":+ case "keyup":+ l = er;+ break;+ case "focusin":+ u = "focus", l = Gn;+ break;+ case "focusout":+ u = "blur", l = Gn;+ break;+ case "beforeblur":+ case "afterblur":+ l = Gn;+ break;+ case "click": if (n.button === 2) break a;+ case "auxclick":+ case "dblclick":+ case "mousedown":+ case "mousemove":+ case "mouseup":+ case "mouseout":+ case "mouseover":+ case "contextmenu":+ l = Un;+ break;+ case "drag":+ case "dragend":+ case "dragenter":+ case "dragexit":+ case "dragleave":+ case "dragover":+ case "dragstart":+ case "drop":+ l = Wn;+ break;+ case "touchcancel":+ case "touchend":+ case "touchmove":+ case "touchstart":+ l = rr;+ break;+ case ri:+ case ii:+ case ai:+ l = Kn;+ break;+ case li:+ l = ir;+ break;+ case "scroll":+ case "scrollend":+ l = Rn;+ break;+ case "wheel":+ l = ar;+ break;+ case "copy":+ case "cut":+ case "paste":+ l = qn;+ break;+ case "gotpointercapture":+ case "lostpointercapture":+ case "pointercancel":+ case "pointerdown":+ case "pointermove":+ case "pointerout":+ case "pointerover":+ case "pointerup":+ l = tr;+ break;+ case "submit":+ l = nr;+ break;+ case "toggle":+ case "beforetoggle": l = or;}- } else if (t === 31) {- if (t = c(n), t !== null) {- e.blockedOn = t, xt(e.priority, function() {- gh(n);- });- return;+ 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 = Cn(m, p), g != null && d.push(ep(m, g, h))), f) break;+ m = m.return;}- } else if (t === 3 && n.stateNode.current.memoizedState.isDehydrated) {- e.blockedOn = n.tag === 3 ? n.stateNode.containerInfo : null;- return;+ 0 < d.length && (c = new l(c, u, null, n, i), s.push({+ event: c,+ listeners: d+ }));}}- }- e.blockedOn = null;- }- function Lh(e) {- if (e.blockedOn !== null) return !1;- for (var t = e.targetContainers; 0 < t.length;) {- var n = xh(e.nativeEvent);- if (n === null) {- n = e.nativeEvent;- var r = new n.constructor(n.type, n);- gn = r, n.target.dispatchEvent(r), gn = null;- } else return t = Nt(n), t !== null && hh(t), e.blockedOn = n, !1;- t.shift();- }- return !0;- }- function Rh(e, t, n) {- Lh(e) && n.delete(t);- }- function zh() {- Th = !1, Eh !== null && Lh(Eh) && (Eh = null), Dh !== null && Lh(Dh) && (Dh = null), Oh !== null && Lh(Oh) && (Oh = null), kh.forEach(Rh), Ah.forEach(Rh);- }- function Bh(e, n) {- e.blockedOn === n && (e.blockedOn = null, Th || (Th = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, zh)));- }- var Vh = null;- function Hh(e) {- Vh !== e && (Vh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {- Vh === e && (Vh = null);- for (var t = 0; t < e.length; t += 3) {- var n = e[t], r = e[t + 1], i = e[t + 2];- if (typeof r != "function") {- if (Ch(r || n) === null) continue;- break;+ if (!(t & 7)) {+ a: {+ if (l = e === "mouseover" || e === "pointerover", c = e === "mouseout" || e === "pointerout", l && n !== gn && (u = n.relatedTarget || n.fromElement) && (At(u) || u[Ct])) break a;+ (c || l) && (u = i.window === i ? i : (l = i.ownerDocument) ? l.defaultView || l.parentWindow : window, c ? (l = n.relatedTarget || n.toElement, c = r, l = l ? At(l) : null, l !== null && (f = o(l), d = l.tag, l !== f || d !== 5 && d !== 27 && d !== 6) && (l = null)) : (c = null, l = r), c !== l && (d = Un, g = "onMouseLeave", p = "onMouseEnter", m = "mouse", (e === "pointerout" || e === "pointerover") && (d = tr, g = "onPointerLeave", p = "onPointerEnter", m = "pointer"), f = c == null ? u : Mt(c), h = l == null ? u : Mt(l), u = new d(g, m + "leave", c, n, i), u.target = f, u.relatedTarget = h, g = null, At(i) === r && (d = new d(p, m + "enter", l, n, i), d.target = h, d.relatedTarget = f, g = d), f = g, d = c && l ? w(c, l, np) : null, c !== null && rp(s, u, c, d, !1), l !== null && f !== null && rp(s, f, l, d, !0)));}- var a = Nt(n);- a !== null && (e.splice(t, 3), t -= 3, Zs(a, {- pending: !0,- data: i,- method: n.method,- action: r- }, r, i));+ a: {+ if (c = r ? Mt(r) : window, l = c.nodeName && c.nodeName.toLowerCase(), l === "select" || l === "input" && c.type === "file") var _ = Tr;+ else if (br(c)) {+ if (Er) _ = Fr;+ else {+ _ = Nr;+ var v = Mr;+ }+ } else l = c.nodeName, !l || l.toLowerCase() !== "input" || c.type !== "checkbox" && c.type !== "radio" ? r && dn(r.elementType) && (_ = Tr) : _ = Pr;+ if (_ &&= _(e, r)) {+ xr(s, _, n, i);+ break a;+ }+ v && v(e, c, r);+ }+ switch (v = r ? Mt(r) : window, e) {+ case "focusin":+ (br(v) || v.contentEditable === "true") && (Kr = v, qr = r, Yr = null);+ break;+ case "focusout":+ Yr = qr = Kr = null;+ break;+ case "mousedown":+ Xr = !0;+ break;+ case "contextmenu":+ case "mouseup":+ case "dragend":+ Xr = !1, Zr(s, n, i);+ break;+ case "selectionchange": if (Gr) break;+ case "keydown":+ case "keyup": Zr(s, n, i);+ }+ var y;+ if (cr) b: {+ switch (e) {+ case "compositionstart":+ var b = "onCompositionStart";+ break b;+ case "compositionend":+ b = "onCompositionEnd";+ break b;+ case "compositionupdate":+ b = "onCompositionUpdate";+ break b;+ }+ b = void 0;+ }+ 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 = tp(r, b), 0 < v.length && (b = new Jn(b, e, null, n, i), s.push({+ event: b,+ listeners: v+ }), y ? b.data = y : (y = hr(n), y !== null && (b.data = y)))), (y = ur ? _r(e, n) : vr(e, n)) && (b = tp(r, "onBeforeInput"), 0 < b.length && (v = new Jn("onBeforeInput", "beforeinput", null, n, i), s.push({+ event: v,+ listeners: b+ }), v.data = y)), Hf(s, e, r, n, i);}- }));+ qf(s, t);+ });}- function Uh(e) {- function t(t) {- return Bh(t, e);- }- Eh !== null && Bh(Eh, e), Dh !== null && Bh(Dh, e), Oh !== null && Bh(Oh, e), kh.forEach(t), Ah.forEach(t);- for (var n = 0; n < jh.length; n++) {- var r = jh[n];- r.blockedOn === e && (r.blockedOn = null);- }- for (; 0 < jh.length && (n = jh[0], n.blockedOn === null);) Ih(n), n.blockedOn === null && jh.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[wt] || null;- if (typeof a == "function") o || Hh(n);- else if (o) {- var s = null;- if (a && a.hasAttribute("formAction")) {- if (i = a, o = a[wt] || null) s = o.formAction;- else if (Ch(i) !== null) continue;- } else s = o.action;- typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Hh(n);- }- }+ function ep(e, t, n) {+ return {+ instance: e,+ listener: t,+ currentTarget: n+ };}- function Wh() {- function e(e) {- e.canIntercept && e.info === "react-transition" && e.intercept({- handler: function() {- return new Promise(function(e) {- return i = e;- });- },- focusReset: "manual",- scroll: "manual"- });- }- function t() {- i !== null && (i(), i = null), r || setTimeout(n, 20);- }- function n() {- if (!r && !navigation.transition) {- var e = navigation.currentEntry;- e && e.url != null && navigation.navigate(e.url, {- state: e.getState(),- info: "react-transition",- history: "replace"- });- }- }- if (typeof navigation == "object") {- var r = !1, i = null;- return navigation.addEventListener("navigate", e), navigation.addEventListener("navigatesuccess", t), navigation.addEventListener("navigateerror", t), setTimeout(n, 100), function() {- r = !0, navigation.removeEventListener("navigate", e), navigation.removeEventListener("navigatesuccess", t), navigation.removeEventListener("navigateerror", t), i !== null && (i(), i = null);- };+ function tp(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 = Cn(e, n), i != null && r.unshift(ep(e, i, a)), i = Cn(e, t), i != null && r.push(ep(e, i, a))), e.tag === 3) return r;+ e = e.return;}+ return [];}- function Gh(e) {- this._internalRoot = e;+ function np(e) {+ if (e === null) return null;+ do+ e = e.return;+ while (e && e.tag !== 5 && e.tag !== 27);+ return e || null;}- Kh.prototype.render = Gh.prototype.render = function(e) {- var t = this._internalRoot;- if (t === null) throw Error(i(409));- var n = t.current;- fh(n, Nd(), e, t, null, null);- }, Kh.prototype.unmount = Gh.prototype.unmount = function() {- var e = this._internalRoot;- if (e !== null) {- this._internalRoot = null;- var t = e.containerInfo;- fh(e.current, 2, null, e, null, null), Vd(), t[Tt] = null;+ function rp(e, t, n, r, i) {+ 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 = Cn(n, a), l != null && o.unshift(ep(n, l, c))) : i || (l = Cn(n, a), l != null && o.push(ep(n, l, c)))), n = n.return;}- };- function Kh(e) {- this._internalRoot = e;+ o.length !== 0 && e.push({+ event: t,+ listeners: o+ });}- Kh.prototype.unstable_scheduleHydration = function(e) {- if (e) {- var t = bt();- e = {- blockedOn: null,- target: e,- priority: t- };- for (var n = 0; n < jh.length && t !== 0 && t < jh[n].priority; n++);- jh.splice(n, 0, e), n === 0 && Ih(e);- }- };- var qh = n.version;- if (qh !== "19.3.0") throw Error(i(527, qh, "19.3.0"));- F.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;- };- var Jh = {- bundleType: 0,- version: "19.3.0",- rendererPackageName: "react-dom",- currentDispatcherRef: P,- reconcilerVersion: "19.3.0"- };- if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {- var Yh = __REACT_DEVTOOLS_GLOBAL_HOOK__;- if (!Yh.isDisabled && Yh.supportsFiber) try {- Xe = Yh.inject(Jh), Ze = Yh;- } catch {}+ var ip = /\r\n?/g, ap = /\u0000|\uFFFD/g;+ function op(e) {+ return (typeof e == "string" ? e : "" + e).replace(ip, "\n").replace(ap, "");}- 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 = uh(e, 1, !1, null, null, n, r, null, o, s, c, Wh), e[Tt] = t.current, Wf(e), new Gh(t);- };-})), xu = (/* @__PURE__ */ m(((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);- } catch (e) {- console.error(e);- }+ function sp(e, t) {+ return t = op(t), op(e) === t;}- n(), t.exports = bu();-})))(), Su = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Cu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), wu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), Tu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.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" })), Eu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.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" })), Du = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), Ou = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), ku = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Au = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), ju = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.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" })), Mu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Nu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",- xmlns: "http://www.w3.org/2000/svg",- width: t,- height: t,- fill: e,- ...r,- className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Pu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {- viewBox: "0 0 24 24",+ function cp(e, t, n, r, a, o) {+ switch (n) {+ case "children":+ if (typeof r == "string") t === "body" || t === "textarea" && r === "" || sn(e, r);+ else if (typeof r == "number" || typeof r == "bigint") t !== "body" && sn(e, "" + r);+ else return;+ break;+ case "className":+ Gt(e, "class", r);+ break;+ case "tabIndex":+ Gt(e, "tabindex", r);+ break;+ case "dir":+ case "role":+ case "viewBox":+ case "width":+ case "height":+ Gt(e, n, r);+ break;+ case "style":+ un(e, r, o);+ return;+ case "data": if (t !== "object") {+ Gt(e, "data", r);+ break;+ }+ case "src":+ case "href":+ if (r === "" && (t !== "a" || n !== "href")) {+ e.removeAttribute(n);+ break;+ }+ if (r == null || typeof r == "function" || typeof r == "symbol" || typeof r == "boolean") {+ e.removeAttribute(n);+ break;+ }+ r = mn(r), e.setAttribute(n, r);+ break;+ case "action":+ case "formAction":+ if (typeof r == "function") {+ e.setAttribute(n, "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");+ break;+ }+ if (typeof o == "function" && (n === "formAction" ? (t !== "input" && cp(e, t, "name", a.name, a, null), cp(e, t, "formEncType", a.formEncType, a, null), cp(e, t, "formMethod", a.formMethod, a, null), cp(e, t, "formTarget", a.formTarget, a, null)) : (cp(e, t, "encType", a.encType, a, null), cp(e, t, "method", a.method, a, null), cp(e, t, "target", a.target, a, null))), r == null || typeof r == "symbol" || typeof r == "boolean") {+ e.removeAttribute(n);+ break;+ }+ r = mn(r), e.setAttribute(n, r);+ break;+ case "onClick":+ r != null && (e.onclick = hn);+ return;+ case "onScroll":+ r != null && Jf("scroll", e);+ return;+ case "onScrollEnd":+ r != null && Jf("scrollend", e);+ return;+ case "dangerouslySetInnerHTML":+ if (r != null) {+ if (typeof r != "object" || !("__html" in r)) throw Error(i(61));+ if (n = r.__html, n != null) {+ if (a.children != null) throw Error(i(60));+ o?.__html !== n && (e.innerHTML = n);+ }+ }+ break;+ case "multiple":+ e.multiple = r && typeof r != "function" && typeof r != "symbol";+ break;+ case "muted":+ e.muted = r && typeof r != "function" && typeof r != "symbol";+ break;+ case "suppressContentEditableWarning":+ case "suppressHydrationWarning":+ case "defaultValue":+ case "defaultChecked":+ case "innerHTML":+ case "ref": break;+ case "autoFocus": break;+ case "xlinkHref":+ if (r == null || typeof r == "function" || typeof r == "boolean" || typeof r == "symbol") {+ e.removeAttribute("xlink:href");+ break;+ }+ n = mn(r), e.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", n);+ break;+ case "contentEditable":+ case "spellCheck":+ case "draggable":+ case "value":+ case "autoReverse":+ case "externalResourcesRequired":+ case "focusable":+ case "preserveAlpha":+ r != null && typeof r != "function" && typeof r != "symbol" ? e.setAttribute(n, r) : e.removeAttribute(n);+ break;+ case "inert":+ case "allowFullScreen":+ case "async":+ case "autoPlay":+ case "controls":+ case "credentialless":+ case "default":+ case "defer":+ case "disabled":+ case "disablePictureInPicture":+ case "disableRemotePlayback":+ case "formNoValidate":+ case "hidden":+ case "loop":+ case "noModule":+ case "noValidate":+ case "open":+ case "playsInline":+ case "readOnly":+ case "required":+ case "reversed":+ case "scoped":+ case "seamless":+ case "itemScope":+ r && typeof r != "function" && typeof r != "symbol" ? e.setAttribute(n, "") : e.removeAttribute(n);+ break;+ case "capture":+ case "download":+ !0 === r ? e.setAttribute(n, "") : !1 !== r && r != null && typeof r != "function" && typeof r != "symbol" ? e.setAttribute(n, r) : e.removeAttribute(n);+ break;+ case "cols":+ case "rows":+ case "size":+ case "span":+ r != null && typeof r != "function" && typeof r != "symbol" && !isNaN(r) && 1 <= r ? e.setAttribute(n, r) : e.removeAttribute(n);+ break;+ case "rowSpan":+ case "start":+ r == null || typeof r == "function" || typeof r == "symbol" || isNaN(r) ? e.removeAttribute(n) : e.setAttribute(n, r);+ break;+ case "popover":+ Jf("beforetoggle", e), Jf("toggle", e), Wt(e, "popover", r);+ break;+ case "xlinkActuate":+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:actuate", r);+ break;+ case "xlinkArcrole":+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:arcrole", r);+ break;+ case "xlinkRole":+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:role", r);+ break;+ case "xlinkShow":+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:show", r);+ break;+ case "xlinkTitle":+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:title", r);+ break;+ case "xlinkType":+ Kt(e, "http://www.w3.org/1999/xlink", "xlink:type", r);+ break;+ case "xmlBase":+ Kt(e, "http://www.w3.org/XML/1998/namespace", "xml:base", r);+ break;+ case "xmlLang":+ Kt(e, "http://www.w3.org/XML/1998/namespace", "xml:lang", r);+ break;+ case "xmlSpace":+ Kt(e, "http://www.w3.org/XML/1998/namespace", "xml:space", r);+ break;+ case "is":+ Wt(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 = fn.get(n) || n, Wt(e, n, r);+ else return;+ }+ Ht = !0;+ }+ function lp(e, t, n, r, a, o) {+ switch (n) {+ case "style":+ un(e, r, o);+ return;+ case "dangerouslySetInnerHTML":+ if (r != null) {+ if (typeof r != "object" || !("__html" in r)) throw Error(i(61));+ if (n = r.__html, n != null) {+ if (a.children != null) throw Error(i(60));+ o?.__html !== n && (e.innerHTML = n);+ }+ }+ break;+ case "children":+ if (typeof r == "string") sn(e, r);+ else if (typeof r == "number" || typeof r == "bigint") sn(e, "" + r);+ else return;+ break;+ case "onScroll":+ r != null && Jf("scroll", e);+ return;+ case "onScrollEnd":+ r != null && Jf("scrollend", e);+ return;+ case "onClick":+ r != null && (e.onclick = hn);+ return;+ case "suppressContentEditableWarning":+ case "suppressHydrationWarning":+ case "innerHTML":+ case "ref": return;+ case "innerText":+ case "textContent": return;+ default:+ 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[St] || 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;+ }+ Ht = !0, n in e ? e[n] = r : !0 === r ? e.setAttribute(n, "") : Wt(e, n, r);+ }+ return;+ }+ Ht = !0;+ }+ function up(e, t, n) {+ switch (t) {+ case "div":+ case "span":+ case "svg":+ case "path":+ case "a":+ case "g":+ case "p":+ case "li": break;+ case "img":+ Jf("error", e), Jf("load", e);+ var r = !1, a = !1, o;+ for (o in n) if (n.hasOwnProperty(o)) {+ var s = n[o];+ if (s != null) switch (o) {+ case "src":+ r = !0;+ break;+ case "srcSet":+ a = !0;+ break;+ case "children":+ case "dangerouslySetInnerHTML": throw Error(i(137, t));+ default: cp(e, t, o, s, n, null);+ }+ }+ a && cp(e, t, "srcSet", n.srcSet, n, null), r && cp(e, t, "src", n.src, n, null);+ return;+ case "input":+ Jf("invalid", e);+ var c = o = s = a = null, l = null, u = null;+ for (r in n) if (n.hasOwnProperty(r)) {+ var d = n[r];+ if (d != null) switch (r) {+ case "name":+ a = d;+ break;+ case "type":+ s = d;+ break;+ case "checked":+ l = d;+ break;+ case "defaultChecked":+ u = d;+ break;+ case "value":+ o = d;+ break;+ case "defaultValue":+ c = d;+ break;+ case "children":+ case "dangerouslySetInnerHTML":+ if (d != null) throw Error(i(137, t));+ break;+ default: cp(e, t, r, d, n, null);+ }+ }+ tn(e, o, c, l, u, s, a, !1);+ return;+ case "select":+ for (a in Jf("invalid", e), r = s = o = null, n) if (n.hasOwnProperty(a) && (c = n[a], c != null)) switch (a) {+ case "value":+ o = c;+ break;+ case "defaultValue":+ s = c;+ break;+ case "multiple": r = c;+ default: cp(e, t, a, c, n, null);+ }+ t = o, n = s, e.multiple = !!r, t == null ? n != null && rn(e, !!r, n, !0) : rn(e, !!r, t, !1);+ return;+ case "textarea":+ for (s in Jf("invalid", e), o = a = r = null, n) if (n.hasOwnProperty(s) && (c = n[s], c != null)) switch (s) {+ case "value":+ r = c;+ break;+ case "defaultValue":+ a = c;+ break;+ case "children":+ o = c;+ break;+ case "dangerouslySetInnerHTML":+ if (c != null) throw Error(i(91));+ break;+ default: cp(e, t, s, c, n, null);+ }+ on(e, r, a, o);+ return;+ case "option":+ for (l in n) if (n.hasOwnProperty(l) && (r = n[l], r != null)) switch (l) {+ case "selected":+ e.selected = r && typeof r != "function" && typeof r != "symbol";+ break;+ default: cp(e, t, l, r, n, null);+ }+ return;+ case "dialog":+ Jf("beforetoggle", e), Jf("toggle", e), Jf("cancel", e), Jf("close", e);+ break;+ case "iframe":+ case "object":+ Jf("load", e);+ break;+ case "video":+ case "audio":+ for (r = 0; r < Gf.length; r++) Jf(Gf[r], e);+ break;+ case "image":+ Jf("error", e), Jf("load", e);+ break;+ case "details":+ Jf("toggle", e);+ break;+ case "embed":+ case "source":+ case "link": Jf("error", e), Jf("load", e);+ case "area":+ case "base":+ case "br":+ case "col":+ case "hr":+ case "keygen":+ case "meta":+ case "param":+ case "track":+ case "wbr":+ case "menuitem":+ for (u in n) if (n.hasOwnProperty(u) && (r = n[u], r != null)) switch (u) {+ case "children":+ case "dangerouslySetInnerHTML": throw Error(i(137, t));+ default: cp(e, t, u, r, n, null);+ }+ return;+ default: if (dn(t)) {+ for (d in n) n.hasOwnProperty(d) && (r = n[d], r !== void 0 && lp(e, t, d, r, n, void 0));+ return;+ }+ }+ for (c in n) n.hasOwnProperty(c) && (r = n[c], r != null && cp(e, t, c, r, n, null));+ }+ var dp = {};+ function fp(e, t, n, r) {+ switch (t) {+ case "div":+ case "span":+ case "svg":+ case "path":+ case "a":+ case "g":+ case "p":+ case "li": break;+ case "input":+ var a = null, o = null, s = null, c = null, l = null, u = null, d = null;+ for (m in n) {+ var f = n[m];+ if (n.hasOwnProperty(m) && f != null) switch (m) {+ case "checked": break;+ case "value": break;+ case "defaultValue": l = f;+ default: r.hasOwnProperty(m) || cp(e, t, m, null, r, f);+ }+ }+ for (var p in r) {+ var m = r[p];+ if (f = n[p], r.hasOwnProperty(p) && (m != null || f != null)) switch (p) {+ case "type":+ m !== f && (Ht = !0), o = m;+ break;+ case "name":+ m !== f && (Ht = !0), a = m;+ break;+ case "checked":+ m !== f && (Ht = !0), u = m;+ break;+ case "defaultChecked":+ m !== f && (Ht = !0), d = m;+ break;+ case "value":+ m !== f && (Ht = !0), s = m;+ break;+ case "defaultValue":+ m !== f && (Ht = !0), c = m;+ break;+ case "children":+ case "dangerouslySetInnerHTML":+ if (m != null) throw Error(i(137, t));+ break;+ default: m !== f && cp(e, t, p, m, r, f);+ }+ }+ en(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) {+ case "value": break;+ case "multiple": m = l;+ default: r.hasOwnProperty(o) || cp(e, t, o, null, r, l);+ }+ for (a in r) if (o = r[a], l = n[a], r.hasOwnProperty(a) && (o != null || l != null)) switch (a) {+ case "value":+ o !== l && (Ht = !0), p = o;+ break;+ case "defaultValue":+ o !== l && (Ht = !0), c = o;+ break;+ case "multiple": o !== l && (Ht = !0), s = o;+ default: o !== l && cp(e, t, a, o, r, l);+ }+ t = c, n = s, r = m, p == null ? !!r != !!n && (t == null ? rn(e, !!n, n ? [] : "", !1) : rn(e, !!n, t, !0)) : rn(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) {+ case "value": break;+ case "children": break;+ default: cp(e, t, c, null, r, a);+ }+ for (s in r) if (a = r[s], o = n[s], r.hasOwnProperty(s) && (a != null || o != null)) switch (s) {+ case "value":+ a !== o && (Ht = !0), p = a;+ break;+ case "defaultValue":+ a !== o && (Ht = !0), m = a;+ break;+ case "children": break;+ case "dangerouslySetInnerHTML":+ if (a != null) throw Error(i(91));+ break;+ default: a !== o && cp(e, t, s, a, r, o);+ }+ an(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) {+ case "selected":+ e.selected = !1;+ break;+ default: cp(e, t, h, null, r, p);+ }+ 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 && (Ht = !0), e.selected = p && typeof p != "function" && typeof p != "symbol";+ break;+ default: cp(e, t, l, p, r, m);+ }+ return;+ case "img":+ case "link":+ case "area":+ case "base":+ case "br":+ case "col":+ case "embed":+ case "hr":+ case "keygen":+ case "meta":+ case "param":+ case "source":+ case "track":+ case "wbr":+ case "menuitem":+ for (var g in n) p = n[g], n.hasOwnProperty(g) && p != null && !r.hasOwnProperty(g) && cp(e, t, g, null, r, p);+ for (u in r) if (p = r[u], m = n[u], r.hasOwnProperty(u) && p !== m && (p != null || m != null)) switch (u) {+ case "children":+ case "dangerouslySetInnerHTML":+ if (p != null) throw Error(i(137, t));+ break;+ default: cp(e, t, u, p, r, m);+ }+ return;+ default: if (dn(t)) {+ for (var _ in n) p = n[_], n.hasOwnProperty(_) && p !== void 0 && !r.hasOwnProperty(_) && lp(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 || lp(e, t, d, p, r, m);+ return;+ }+ }+ for (var v in n) p = n[v], n.hasOwnProperty(v) && p != null && !r.hasOwnProperty(v) && cp(e, t, v, null, r, p);+ for (f in r) p = r[f], m = n[f], !r.hasOwnProperty(f) || p === m || p == null && m == null || cp(e, t, f, p, r, m);+ }+ function pp(e) {+ switch (e) {+ case "css":+ case "script":+ case "font":+ case "img":+ case "image":+ case "input":+ case "link": return !0;+ default: return !1;+ }+ }+ function mp() {+ if (typeof performance.getEntriesByType == "function") {+ for (var e = 0, t = 0, n = performance.getEntriesByType("resource"), r = 0; r < n.length; r++) {+ var i = n[r], a = i.transferSize, o = i.initiatorType, s = i.duration;+ if (a && s && pp(o)) {+ for (o = 0, s = i.responseEnd, r += 1; r < n.length; r++) {+ var c = n[r], l = c.startTime;+ if (l > s) break;+ var u = c.transferSize, d = c.initiatorType;+ u && pp(d) && (c = c.responseEnd, o += u * (c < s ? 1 : (s - l) / (c - l)));+ }+ if (--r, t += 8 * (a + o) / (i.duration / 1e3), e++, 10 < e) break;+ }+ }+ if (0 < e) return t / e / 1e6;+ }+ return navigator.connection && (e = navigator.connection.downlink, typeof e == "number") ? e : 5;+ }+ var hp = null, gp = null;+ function _p(e) {+ return e.nodeType === 9 ? e : e.ownerDocument;+ }+ function vp(e) {+ switch (e) {+ case "http://www.w3.org/2000/svg": return 1;+ case "http://www.w3.org/1998/Math/MathML": return 2;+ default: return 0;+ }+ }+ function yp(e, t) {+ if (e === 0) switch (t) {+ case "svg": return 1;+ case "math": return 2;+ default: return 0;+ }+ return e === 1 && t === "foreignObject" ? 0 : e;+ }+ function bp(e, t, n, r) {+ return n = _p(n).createElement(e), n[xt] = r, n[St] = t, up(n, e, t), Pt(n), n;+ }+ function xp(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;+ }+ var Sp = null;+ function Cp() {+ var e = window.event;+ return e && e.type === "popstate" ? e !== Sp && (Sp = e, !0) : (Sp = null, !1);+ }+ var wp = typeof setTimeout == "function" ? setTimeout : void 0, Tp = typeof clearTimeout == "function" ? clearTimeout : void 0, Ep = typeof Promise == "function" ? Promise : void 0, Dp = typeof requestAnimationFrame == "function" ? requestAnimationFrame : wp, Op = typeof queueMicrotask == "function" ? queueMicrotask : Ep === void 0 ? wp : function(e) {+ return Ep.resolve(null).then(e).catch(kp);+ };+ function kp(e) {+ setTimeout(function() {+ throw e;+ });+ }+ function Ap(e) {+ return e === "head";+ }+ function jp(e, t) {+ var n = t, r = 0;+ do {+ var i = n.nextSibling;+ if (e.removeChild(n), i && i.nodeType === 8) {+ if (n = i.data, n === "/$" || n === "/&") {+ if (r === 0) {+ e.removeChild(i), Gh(t);+ return;+ }+ r--;+ } else if (n === "$" || n === "$?" || n === "$~" || n === "$!" || n === "&") r++;+ else if (n === "html") Sm(e.ownerDocument.documentElement);+ else if (n === "head") {+ n = e.ownerDocument.head, Sm(n);+ for (var a = n.firstChild; a;) {+ var o = a.nextSibling, s = a.nodeName;+ a[Dt] || s === "SCRIPT" || s === "STYLE" || s === "LINK" && a.rel.toLowerCase() === "stylesheet" || n.removeChild(a), a = o;+ }+ } else n === "body" && Sm(e.ownerDocument.body);+ }+ n = i;+ } while (n);+ Gh(t);+ }+ function Mp(e, t) {+ var n = e;+ e = 0;+ do {+ var r = n.nextSibling;+ if (n.nodeType === 1 ? t ? (n._stashedDisplay = n.style.display, n.style.display = "none") : (n.style.display = n._stashedDisplay || "", n.getAttribute("style") === "" && n.removeAttribute("style")) : n.nodeType === 3 && (t ? (n._stashedText = n.nodeValue, n.nodeValue = "") : n.nodeValue = n._stashedText || ""), r && r.nodeType === 8) {+ if (n = r.data, n === "/$") {+ if (e === 0) break;+ e--;+ } else n !== "$" && n !== "$?" && n !== "$~" && n !== "$!" || e++;+ }+ n = r;+ } while (n);+ }+ function Np(e, t, n) {+ if (t = CSS.escape(t) === t ? t : "r-" + btoa(t).replace(/=/g, ""), e.style.viewTransitionName = t, n != null && (e.style.viewTransitionClass = n), n = getComputedStyle(e), n.display === "inline") {+ if (t = e.getClientRects(), t.length === 1) var r = 1;+ else for (var i = r = 0; i < t.length; i++) {+ var a = t[i];+ 0 < a.width && 0 < a.height && r++;+ }+ r === 1 && (e = e.style, e.display = t.length === 1 ? "inline-block" : "block", e.marginTop = "-" + n.paddingTop, e.marginBottom = "-" + n.paddingBottom);+ }+ }+ function Pp(e, t) {+ e = e.style, t = t.style;+ var n = t == null ? null : t.hasOwnProperty("viewTransitionName") ? t.viewTransitionName : t.hasOwnProperty("view-transition-name") ? t["view-transition-name"] : null;+ e.viewTransitionName = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), n = t == null ? null : t.hasOwnProperty("viewTransitionClass") ? t.viewTransitionClass : t.hasOwnProperty("view-transition-class") ? t["view-transition-class"] : null, e.viewTransitionClass = n == null || typeof n == "boolean" ? "" : ("" + n).trim(), e.display === "inline-block" && (t == null ? e.display = e.margin = "" : (n = t.display, e.display = n == null || typeof n == "boolean" ? "" : n, n = t.margin, n == null ? (n = t.hasOwnProperty("marginTop") ? t.marginTop : t["margin-top"], e.marginTop = n == null || typeof n == "boolean" ? "" : n, t = t.hasOwnProperty("marginBottom") ? t.marginBottom : t["margin-bottom"], e.marginBottom = t == null || typeof t == "boolean" ? "" : t) : e.margin = n));+ }+ function Fp(e, t, n) {+ return n = n.ownerDocument.defaultView, {+ rect: e,+ abs: t.position === "absolute" || t.position === "fixed",+ clip: t.clipPath !== "none" || t.overflow !== "visible" || t.filter !== "none" || t.mask !== "none" || t.mask !== "none" || t.borderRadius !== "0px",+ view: 0 <= e.bottom && 0 <= e.right && e.top <= n.innerHeight && e.left <= n.innerWidth+ };+ }+ function Ip(e) {+ return Fp(e.getBoundingClientRect(), getComputedStyle(e), e);+ }+ function Lp(e) {+ var t = e.getBoundingClientRect();+ t = new DOMRect(t.x + 2e4, t.y + 2e4, t.width, t.height);+ var n = getComputedStyle(e);+ return Fp(t, n, e);+ }+ function Rp(e) {+ return e.documentElement.clientHeight;+ }+ function zp(e) {+ this.addEventListener("load", e), this.addEventListener("error", e);+ }+ function Bp(e, t, n, r, i, a, o, s, c) {+ var l = t.nodeType === 9 ? t : t.ownerDocument;+ try {+ var u = l.startViewTransition({+ update: function() {+ var t = l.defaultView, n = t.navigation && t.navigation.transition, o = l.fonts.status;+ r();+ var s = [];+ if (o === "loaded" && (Rp(l), l.fonts.status === "loading" && s.push(l.fonts.ready)), o = s.length, e !== null) for (var c = e.suspenseyImages, u = 0, d = 0; d < c.length; d++) {+ var f = c[d];+ if (!f.complete) {+ var p = f.getBoundingClientRect();+ if (0 < p.bottom && 0 < p.right && p.top < t.innerHeight && p.left < t.innerWidth) {+ if (u += eh(f), u > rh) {+ s.length = o;+ break;+ }+ f = new Promise(zp.bind(f)), s.push(f);+ }+ }+ }+ if (0 < s.length) return t = Promise.race([Promise.all(s), new Promise(function(e) {+ return setTimeout(e, 500);+ })]).then(i, i), (n ? Promise.allSettled([n.finished, t]) : t).then(a, a);+ if (i(), n) return n.finished.then(a, a);+ a();+ },+ types: n+ });+ l.__reactViewTransition = u;+ var d = [];+ return u.ready.then(function() {+ for (var e = l.documentElement.getAnimations({ subtree: !0 }), t = 0; t < e.length; t++) {+ var n = e[t], r = n.effect, i = r.pseudoElement;+ if (i != null && i.startsWith("::view-transition")) {+ d.push(n), n = r.getKeyframes();+ for (var a = i = void 0, s = !0, c = 0; c < n.length; c++) {+ var u = n[c], f = u.width;+ if (i === void 0) i = f;+ else if (i !== f) {+ s = !1;+ break;+ }+ if (f = u.height, a === void 0) a = f;+ else if (a !== f) {+ s = !1;+ break;+ }+ delete u.width, delete u.height, u.transform === "none" && delete u.transform;+ }+ s && i !== void 0 && a !== void 0 && (r.setKeyframes(n), s = getComputedStyle(r.target, r.pseudoElement), s.width !== i || s.height !== a) && (s = n[0], s.width = i, s.height = a, s = n[n.length - 1], s.width = i, s.height = a, r.setKeyframes(n));+ }+ }+ o();+ }, function(e) {+ l.__reactViewTransition === u && (l.__reactViewTransition = null);+ try {+ if (typeof e == "object" && e) switch (e.name) {+ case "InvalidStateError": (e.message === "View transition was skipped because document visibility state is hidden." || e.message === "Skipping view transition because document visibility state has become hidden." || e.message === "Skipping view transition because viewport size changed." || e.message === "Transition was aborted because of invalid state") && (e = null);+ }+ e !== null && c(e);+ } finally {+ r(), i(), o();+ }+ }), u.finished.finally(function() {+ for (var e = 0; e < d.length; e++) d[e].cancel();+ l.__reactViewTransition === u && (l.__reactViewTransition = null), s();+ }), u;+ } catch {+ return r(), i(), o(), null;+ }+ }+ function Vp(e, t) {+ this._scope = document.documentElement, this._selector = "::view-transition-" + e + "(" + t + ")";+ }+ Vp.prototype.animate = function(e, t) {+ return t = typeof t == "number" ? { duration: t } : T({}, t), t.pseudoElement = this._selector, this._scope.animate(e, t);+ }, Vp.prototype.getAnimations = function() {+ for (var e = this._scope, t = this._selector, n = e.getAnimations({ subtree: !0 }), r = [], i = 0; i < n.length; i++) {+ var a = n[i].effect;+ a !== null && a.target === e && a.pseudoElement === t && r.push(n[i]);+ }+ return r;+ }, Vp.prototype.getComputedStyle = function() {+ return getComputedStyle(this._scope, this._selector);+ };+ function Hp(e) {+ return {+ name: e,+ group: new Vp("group", e),+ imagePair: new Vp("image-pair", e),+ old: new Vp("old", e),+ new: new Vp("new", e)+ };+ }+ function Up(e) {+ this._fragmentFiber = e, this._observers = this._eventListeners = null;+ }+ Up.prototype.addEventListener = function(e, t, n) {+ var r = null, i = null;+ if (!(n != null && typeof n != "boolean" && (r = n.signal || null, r !== null && r.aborted))) {+ this._eventListeners === null && (this._eventListeners = []);+ var a = this._eventListeners;+ if (Jp(a, e, t, n) === -1) {+ var o = this, s = t;+ n != null && typeof n != "boolean" && !0 === n.once && (s = function(r) {+ o.removeEventListener(e, t, n), typeof t == "function" ? t.call(this, r) : t.handleEvent(r);+ }), r !== null && (i = o.removeEventListener.bind(o, e, t, n), r.addEventListener("abort", i, { once: !0 }), i = r.removeEventListener.bind(r, "abort", i)), r = Kp(n), a.push({+ type: e,+ listener: t,+ optionsOrUseCapture: n,+ attachedListener: s,+ cleanup: i+ }), f(this._fragmentFiber.child, !1, Wp, e, s, r);+ }+ this._eventListeners = a;+ }+ };+ function Wp(e, t, n, r) {+ return _(e).addEventListener(t, n, r), !1;+ }+ Up.prototype.removeEventListener = function(e, t, n) {+ var r = this._eventListeners;+ if (r !== null && (t = Jp(r, e, t, n), t !== -1)) {+ var i = r[t];+ n = i.attachedListener;+ var a = i.cleanup;+ i = Kp(i.optionsOrUseCapture), f(this._fragmentFiber.child, !1, Gp, e, n, i), r.splice(t, 1), a !== null && a();+ }+ };+ function Gp(e, t, n, r) {+ return _(e).removeEventListener(t, n, r), !1;+ }+ function Kp(e) {+ return e != null && typeof e != "boolean" && (!0 === e.once || e.signal instanceof AbortSignal) ? {+ capture: e.capture,+ passive: e.passive+ } : e;+ }+ function qp(e) {+ return e == null ? "c=0" : typeof e == "boolean" ? "c=" + (e ? "1" : "0") : "c=" + (e.capture ? "1" : "0");+ }+ function Jp(e, t, n, r) {+ if (e.length === 0) return -1;+ r = qp(r);+ for (var i = 0; i < e.length; i++) {+ var a = e[i];+ if (a.type === t && a.listener === n && qp(a.optionsOrUseCapture) === r) return i;+ }+ return -1;+ }+ Up.prototype.dispatchEvent = function(e) {+ var t = p(this._fragmentFiber);+ if (t === null) return !0;+ t = _(t);+ var n = this._eventListeners;+ if (n !== null && 0 < n.length || !e.bubbles) {+ var r = t.nodeType === 9 ? t.createComment("") : document.createTextNode("");+ if (n) for (var i = 0; i < n.length; i++) {+ var a = n[i];+ r.addEventListener(a.type, a.attachedListener, Kp(a.optionsOrUseCapture));+ }+ if (t.appendChild(r), e = r.dispatchEvent(e), n) for (i = 0; i < n.length; i++) a = n[i], r.removeEventListener(a.type, a.attachedListener, Kp(a.optionsOrUseCapture));+ return t.removeChild(r), e;+ }+ return t.dispatchEvent(e);+ }, Up.prototype.focus = function(e) {+ f(this._fragmentFiber.child, !0, K, e, void 0, void 0);+ };+ function K(e, t) {+ return e.tag !== 6 && (e = _(e), vm(e, t));+ }+ Up.prototype.focusLast = function(e) {+ var t = [];+ f(this._fragmentFiber.child, !0, Yp, t, void 0, void 0);+ for (var n = t.length - 1; 0 <= n && !K(t[n], e); n--);+ };+ function Yp(e, t) {+ return t.push(e), !1;+ }+ Up.prototype.blur = function() {+ var e = p(this._fragmentFiber);+ e !== null && (e = _(e), e = _p(e).activeElement, e !== null && f(this._fragmentFiber.child, !1, Xp, e, void 0, void 0));+ };+ function Xp(e, t) {+ return e.tag !== 6 && (e = _(e), e === t || e.contains(t) ? (t.blur(), !0) : !1);+ }+ Up.prototype.observeUsing = function(e) {+ this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(e), f(this._fragmentFiber.child, !1, Zp, e, void 0, void 0);+ };+ function Zp(e, t) {+ return e.tag !== 6 && (e = _(e), t.observe(e), !1);+ }+ Up.prototype.unobserveUsing = function(e) {+ var t = this._observers;+ if (t !== null && t.has(e)) {+ t.delete(e), f(this._fragmentFiber.child, !1, Qp, e, void 0, void 0);+ for (var n = t = 0; n < $p.length; n++) {+ var r = $p[n];+ r.fragmentInstance === this && r.observer === e ? e.unobserve(r.instance) : $p[t++] = r;+ }+ $p.length = t;+ }+ };+ function Qp(e, t) {+ return e.tag !== 6 && (e = _(e), t.unobserve(e), !1);+ }+ var $p = [], em = !1;+ function tm(e, t, n) {+ $p.push({+ fragmentInstance: e,+ observer: t,+ instance: n+ }), em || (em = !0, ym(function() {+ em = !1;+ var e = $p;+ $p = [];+ for (var t = 0; t < e.length; t++) {+ var n = e[t];+ n.observer.unobserve(n.instance);+ }+ }));+ }+ Up.prototype.getClientRects = function() {+ var e = [];+ return f(this._fragmentFiber.child, !1, nm, e, void 0, void 0), e;+ };+ function nm(e, t) {+ if (e.tag === 6) {+ e = e.stateNode;+ var n = e.ownerDocument.createRange();+ n.selectNodeContents(e), t.push.apply(t, n.getClientRects());+ } else e = _(e), t.push.apply(t, e.getClientRects());+ return !1;+ }+ Up.prototype.getRootNode = function(e) {+ var t = p(this._fragmentFiber);+ return t === null ? this : _(t).getRootNode(e);+ }, Up.prototype.compareDocumentPosition = function(e) {+ var t = p(this._fragmentFiber);+ if (t === null) return Node.DOCUMENT_POSITION_DISCONNECTED;+ var n = [];+ f(this._fragmentFiber.child, !1, Yp, n, void 0, void 0);+ var r = _(t);+ if (n.length === 0) {+ if (n = r, m(this._fragmentFiber)) {+ a: {+ for (t = this._fragmentFiber.return; t !== null;) {+ if (t.tag === 4) {+ t = t.stateNode.containerInfo;+ break a;+ }+ if (t.tag === 3 || t.tag === 5 || t.tag === 27) break;+ t = t.return;+ }+ t = null;+ }+ t != null && (n = t);+ }+ t = this._fragmentFiber;+ var i = r = n.compareDocumentPosition(e);+ return n === e ? i = Node.DOCUMENT_POSITION_CONTAINS : r & Node.DOCUMENT_POSITION_CONTAINED_BY && (n = h(t)[1], n === null ? i = Node.DOCUMENT_POSITION_PRECEDING : (e = _(n).compareDocumentPosition(e), i = e === 0 || e & Node.DOCUMENT_POSITION_FOLLOWING ? Node.DOCUMENT_POSITION_FOLLOWING : Node.DOCUMENT_POSITION_PRECEDING)), i |= Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;+ }+ t = _(n[0]), i = _(n[n.length - 1]);+ var a = m(this._fragmentFiber) ? t.parentElement : r;+ if (a == null) return Node.DOCUMENT_POSITION_DISCONNECTED;+ r = a.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_CONTAINED_BY, a = a.compareDocumentPosition(i) & Node.DOCUMENT_POSITION_CONTAINED_BY;+ var o = t.compareDocumentPosition(e), s = i.compareDocumentPosition(e), c = o & Node.DOCUMENT_POSITION_CONTAINED_BY || s & Node.DOCUMENT_POSITION_CONTAINED_BY;+ 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 || rm(t, this._fragmentFiber, n[0], n[n.length - 1], e) ? t : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;+ };+ function rm(e, t, n, r, i) {+ var a = At(i);+ if (e & Node.DOCUMENT_POSITION_CONTAINED_BY) {+ if (n = !!a) a: {+ for (; a !== null;) {+ if (a.tag === 7 && (a === t || a.alternate === t)) {+ n = !0;+ break a;+ }+ a = a.return;+ }+ n = !1;+ }+ return n;+ }+ if (e & Node.DOCUMENT_POSITION_CONTAINS) {+ if (a === null) return a = i.ownerDocument, i === a || i === a.documentElement || i === a.body;+ a: {+ for (a = t, t = p(t); a !== null;) {+ if (!(a.tag !== 5 && a.tag !== 3 && a.tag !== 27 || a !== t && a.alternate !== t)) {+ a = !0;+ break a;+ }+ a = a.return;+ }+ a = !1;+ }+ 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, x, 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, S, a, r), a = v, b = v = null, t = a !== null)), t) : !1;+ }+ function im(e, t) {+ var n = e.ownerDocument.createRange();+ n.selectNodeContents(e), e = n.getBoundingClientRect(), window.scrollTo(window.scrollX + e.left, t ? window.scrollY + e.top : window.scrollY + e.bottom - window.innerHeight);+ }+ Up.prototype.scrollIntoView = function(e) {+ if (typeof e == "object") throw Error(i(566));+ var t = [];+ f(this._fragmentFiber.child, !1, Yp, t, void 0, void 0);+ var n = !1 !== e;+ if (t.length === 0) {+ var r = h(this._fragmentFiber);+ if (r = n ? r[1] || r[0] || p(this._fragmentFiber) : r[0] || r[1], r === null) return;+ if (r.tag === 6) {+ e = _(r), im(e, n);+ return;+ }+ if (r = _(r), r.nodeType !== 9) {+ if (r.nodeType === 11) {+ n = "host" in r ? r.host : null, n !== null && n.scrollIntoView(e);+ return;+ }+ r.scrollIntoView(e);+ }+ }+ for (r = n ? t.length - 1 : 0; r !== (n ? -1 : t.length);) {+ var a = t[r];+ a.tag === 6 ? (a = _(a), im(a, n)) : _(a).scrollIntoView(e), r += n ? -1 : 1;+ }+ };+ function am(e, t) {+ return e = _(e), q(e, t), !1;+ }+ function q(e, t) {+ e.reactFragments ??= /* @__PURE__ */ new Set(), e.reactFragments.add(t);+ }+ function om(e, t) {+ var n = t._eventListeners;+ if (n !== null) for (var r = 0; r < n.length; r++) {+ var i = n[r];+ e.addEventListener(i.type, i.attachedListener, Kp(i.optionsOrUseCapture));+ }+ e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {+ for (var r = 0, i = 0; i < $p.length; i++) {+ var a = $p[i];+ (a.fragmentInstance !== t || a.observer !== n || a.instance !== e) && ($p[r++] = a);+ }+ $p.length = r, n.observe(e);+ }), q(e, t));+ }+ function sm(e, t) {+ var n = t._eventListeners;+ if (n !== null) for (var r = 0; r < n.length; r++) {+ var i = n[r];+ e.removeEventListener(i.type, i.attachedListener, Kp(i.optionsOrUseCapture));+ }+ e.nodeType !== 3 && (n = t._observers, n !== null && n.forEach(function(n) {+ typeof n.rootMargin == "string" ? tm(t, n, e) : n.unobserve(e);+ }), e.reactFragments != null && e.reactFragments.delete(t));+ }+ function cm(e) {+ var t = e.firstChild;+ for (t && t.nodeType === 10 && (t = t.nextSibling); t;) {+ var n = t;+ switch (t = t.nextSibling, n.nodeName) {+ case "HTML":+ case "HEAD":+ case "BODY":+ cm(n), kt(n);+ continue;+ case "SCRIPT":+ case "STYLE": continue;+ case "LINK": if (n.rel.toLowerCase() === "stylesheet") continue;+ }+ e.removeChild(n);+ }+ }+ function lm(e, t, n, r) {+ for (; e.nodeType === 1;) {+ var i = n;+ if (e.nodeName.toLowerCase() !== t.toLowerCase()) {+ if (!r && (e.nodeName !== "INPUT" || e.type !== "hidden")) break;+ } else if (!r) {+ if (t === "input" && e.type === "hidden") {+ var a = i.name == null ? null : "" + i.name;+ if (i.type === "hidden" && e.getAttribute("name") === a) return e;+ } else return e;+ } else if (!e[Dt]) switch (t) {+ case "meta":+ if (!e.hasAttribute("itemprop")) break;+ return e;+ case "link":+ if (a = e.getAttribute("rel"), a === "stylesheet" && e.hasAttribute("data-precedence") || a !== i.rel || e.getAttribute("href") !== (i.href == null || i.href === "" ? null : i.href) || e.getAttribute("crossorigin") !== (i.crossOrigin == null ? null : i.crossOrigin) || e.getAttribute("title") !== (i.title == null ? null : i.title)) break;+ return e;+ case "style":+ if (e.hasAttribute("data-precedence")) break;+ return e;+ case "script":+ if (a = e.getAttribute("src"), (a !== (i.src == null ? null : i.src) || e.getAttribute("type") !== (i.type == null ? null : i.type) || e.getAttribute("crossorigin") !== (i.crossOrigin == null ? null : i.crossOrigin)) && a && e.hasAttribute("async") && !e.hasAttribute("itemprop")) break;+ return e;+ default: return e;+ }+ if (e = mm(e.nextSibling), e === null) break;+ }+ return null;+ }+ function um(e, t, n) {+ if (t === "") return null;+ for (; e.nodeType !== 3;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = mm(e.nextSibling), e === null)) return null;+ return e;+ }+ function dm(e, t) {+ for (; e.nodeType !== 8;) if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !t || (e = mm(e.nextSibling), e === null)) return null;+ return e;+ }+ function fm(e) {+ return e.data === "$?" || e.data === "$~";+ }+ function J(e) {+ return e.data === "$!" || e.data === "$?" && e.ownerDocument.readyState !== "loading";+ }+ function pm(e, t) {+ var n = e.ownerDocument;+ if (e.data === "$~") e._reactRetry = t;+ else if (e.data !== "$?" || n.readyState !== "loading") t();+ else {+ var r = function() {+ t(), n.removeEventListener("DOMContentLoaded", r);+ };+ n.addEventListener("DOMContentLoaded", r), e._reactRetry = r;+ }+ }+ function mm(e) {+ for (; e != null; e = e.nextSibling) {+ var t = e.nodeType;+ if (t === 1 || t === 3) break;+ if (t === 8) {+ if (t = e.data, t === "$" || t === "$!" || t === "$?" || t === "$~" || t === "&" || t === "F!" || t === "F") break;+ if (t === "/$" || t === "/&") return null;+ }+ }+ return e;+ }+ var hm = null;+ function gm(e) {+ e = e.nextSibling;+ for (var t = 0; e;) {+ if (e.nodeType === 8) {+ var n = e.data;+ if (n === "/$" || n === "/&") {+ if (t === 0) return mm(e.nextSibling);+ t--;+ } else n !== "$" && n !== "$!" && n !== "$?" && n !== "$~" && n !== "&" || t++;+ }+ e = e.nextSibling;+ }+ return null;+ }+ function _m(e) {+ e = e.previousSibling;+ for (var t = 0; e;) {+ if (e.nodeType === 8) {+ var n = e.data;+ if (n === "$" || n === "$!" || n === "$?" || n === "$~" || n === "&") {+ if (t === 0) return e;+ t--;+ } else n !== "/$" && n !== "/&" || t++;+ }+ e = e.previousSibling;+ }+ return null;+ }+ function vm(e, t) {+ function n() {+ r = !0;+ }+ if (e.ownerDocument.activeElement === e) return !0;+ var r = !1;+ try {+ e.ownerDocument.addEventListener("focus", n, !0), (e.focus || HTMLElement.prototype.focus).call(e, t);+ } finally {+ e.ownerDocument.removeEventListener("focus", n, !0);+ }+ return r;+ }+ function ym(e) {+ Dp(function() {+ Dp(function(t) {+ return e(t);+ });+ });+ }+ function bm(e, t, n) {+ switch (t = _p(n), e) {+ case "html":+ if (e = t.documentElement, !e) throw Error(i(452));+ return e;+ case "head":+ if (e = t.head, !e) throw Error(i(453));+ return e;+ case "body":+ if (e = t.body, !e) throw Error(i(454));+ return e;+ default: throw Error(i(451));+ }+ }+ function xm(e, t, n) {+ for (var r in n) {+ var i = n[r];+ n.hasOwnProperty(r) && i != null && cp(e, t, r, null, dp, i);+ }+ n.dangerouslySetInnerHTML != null && (e.textContent = ""), e.onclick === hn && (e.onclick = null), kt(e);+ }+ function Sm(e) {+ for (var t = e.attributes; t.length;) e.removeAttributeNode(t[0]);+ kt(e);+ }+ var Cm = /* @__PURE__ */ new Map(), wm = /* @__PURE__ */ new Set();+ function Tm(e) {+ if (typeof e.getRootNode == "function") {+ var t = e.getRootNode();+ if (t.nodeType === 9 || t.nodeType === 11) return t;+ }+ return e.nodeType === 9 ? e : e.ownerDocument;+ }+ var Em = L.d;+ L.d = {+ f: Dm,+ r: Om,+ D: jm,+ C: Mm,+ L: Nm,+ m: Pm,+ X: Im,+ S: Fm,+ M: Lm+ };+ function Dm() {+ var e = Em.f(), t = Ud();+ return e || t;+ }+ function Om(e) {+ var t = jt(e);+ t !== null && t.tag === 5 && t.type === "form" ? ec(t) : Em.r(e);+ }+ var km = typeof document > "u" ? null : document;+ function Am(e, t, n) {+ var r = km;+ if (r && typeof t == "string" && t) {+ var i = $t(t);+ i = "link[rel=\"" + e + "\"][href=\"" + i + "\"]", typeof n == "string" && (i += "[crossorigin=\"" + n + "\"]"), wm.has(i) || (wm.add(i), e = {+ rel: e,+ crossOrigin: n,+ href: t+ }, r.querySelector(i) === null && (t = r.createElement("link"), up(t, "link", e), Pt(t), r.head.appendChild(t)));+ }+ }+ function jm(e) {+ Em.D(e), Am("dns-prefetch", e, null);+ }+ function Mm(e, t) {+ Em.C(e, t), Am("preconnect", e, t);+ }+ function Nm(e, t, n) {+ Em.L(e, t, n);+ var r = km;+ if (r && e && t) {+ var i = "link[rel=\"preload\"][as=\"" + $t(t) + "\"]";+ t === "image" && n && n.imageSrcSet ? (i += "[imagesrcset=\"" + $t(n.imageSrcSet) + "\"]", typeof n.imageSizes == "string" && (i += "[imagesizes=\"" + $t(n.imageSizes) + "\"]")) : i += "[href=\"" + $t(e) + "\"]";+ var a = i;+ switch (t) {+ case "style":+ a = Y(e);+ break;+ case "script": a = Hm(e);+ }+ if (!(Cm.has(a) || (e = T({+ rel: "preload",+ href: t === "image" && n && n.imageSrcSet ? void 0 : e,+ as: t+ }, n), Cm.set(a, e), r.querySelector(i) !== null || t === "style" && r.querySelector(zm(a)) || t === "script" && r.querySelector(Um(a))))) {+ var o = r.createElement("link");+ up(o, "link", e), t === "style" && (o[Ot] = !0, o.onload = o.onerror = function() {+ Ft(o);+ }), Pt(o), r.head.appendChild(o);+ }+ }+ }+ function Pm(e, t) {+ Em.m(e, t);+ var n = km;+ if (n && e) {+ var r = t && typeof t.as == "string" ? t.as : "script", i = "link[rel=\"modulepreload\"][as=\"" + $t(r) + "\"][href=\"" + $t(e) + "\"]", a = i;+ switch (r) {+ case "audioworklet":+ case "paintworklet":+ case "serviceworker":+ case "sharedworker":+ case "worker":+ case "script": a = Hm(e);+ }+ if (!Cm.has(a) && (e = T({+ rel: "modulepreload",+ href: e+ }, t), Cm.set(a, e), n.querySelector(i) === null)) {+ switch (r) {+ case "audioworklet":+ case "paintworklet":+ case "serviceworker":+ case "sharedworker":+ case "worker":+ case "script": if (n.querySelector(Um(a))) return;+ }+ r = n.createElement("link"), up(r, "link", e), Pt(r), n.head.appendChild(r);+ }+ }+ }+ function Fm(e, t, n) {+ Em.S(e, t, n);+ var r = km;+ if (r && e) {+ var i = Nt(r).hoistableStyles, a = Y(e);+ t ||= "default";+ var o = i.get(a);+ if (!o) {+ var s = {+ loading: 0,+ preload: null+ };+ if (o = r.querySelector(zm(a))) s.loading = 5;+ else {+ e = T({+ rel: "stylesheet",+ href: e,+ "data-precedence": t+ }, n), (n = Cm.get(a)) && Km(e, n);+ var c = o = r.createElement("link");+ Pt(c), up(c, "link", e), c._p = new Promise(function(e, t) {+ c.onload = e, c.onerror = t;+ }), c.addEventListener("load", function() {+ s.loading |= 1;+ }), c.addEventListener("error", function() {+ s.loading |= 2;+ }), s.loading |= 4, Gm(o, t, r);+ }+ o = {+ type: "stylesheet",+ instance: o,+ count: 1,+ state: s+ }, i.set(a, o);+ }+ }+ }+ function Im(e, t) {+ Em.X(e, t);+ var n = km;+ if (n && e) {+ var r = Nt(n).hoistableScripts, i = Hm(e), a = r.get(i);+ a || (a = n.querySelector(Um(i)), a || (e = T({+ src: e,+ async: !0+ }, t), (t = Cm.get(i)) && qm(e, t), a = n.createElement("script"), Pt(a), up(a, "link", e), n.head.appendChild(a)), a = {+ type: "script",+ instance: a,+ count: 1,+ state: null+ }, r.set(i, a));+ }+ }+ function Lm(e, t) {+ Em.M(e, t);+ var n = km;+ if (n && e) {+ var r = Nt(n).hoistableScripts, i = Hm(e), a = r.get(i);+ a || (a = n.querySelector(Um(i)), a || (e = T({+ src: e,+ async: !0,+ type: "module"+ }, t), (t = Cm.get(i)) && qm(e, t), a = n.createElement("script"), Pt(a), up(a, "link", e), n.head.appendChild(a)), a = {+ type: "script",+ instance: a,+ count: 1,+ state: null+ }, r.set(i, a));+ }+ }+ function Rm(e, t, n, r) {+ var a = (a = xe.current) ? Tm(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 = Y(n.href), t = Nt(a).hoistableStyles, r = t.get(n), r || (r = {+ type: "style",+ instance: null,+ count: 0,+ state: null+ }, t.set(n, r)), r) : {+ type: "void",+ instance: null,+ count: 0,+ state: null+ };+ case "link":+ if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {+ e = Y(n.href);+ var o = Nt(a).hoistableStyles, s = o.get(e);+ if (s || (a = a.ownerDocument || a, s = {+ type: "stylesheet",+ instance: null,+ count: 0,+ state: {+ loading: 0,+ preload: null+ }+ }, o.set(e, s), (o = a.querySelector(zm(e))) ? o._p || (s.instance = o, s.state.loading = 5) : (o = Cm.get(e), o || (o = {+ rel: "preload",+ as: "style",+ href: n.href,+ crossOrigin: n.crossOrigin,+ integrity: n.integrity,+ media: n.media,+ hrefLang: n.hrefLang,+ referrerPolicy: n.referrerPolicy+ }, Cm.set(e, o)), Vm(a, e, o, s.state))), t && r === null) throw Error(i(528, ""));+ return s;+ }+ if (t && r !== null) throw Error(i(529, ""));+ return null;+ case "script": return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Hm(n), t = Nt(a).hoistableScripts, r = t.get(n), r || (r = {+ type: "script",+ instance: null,+ count: 0,+ state: null+ }, t.set(n, r)), r) : {+ type: "void",+ instance: null,+ count: 0,+ state: null+ };+ default: throw Error(i(444, e));+ }+ }+ function Y(e) {+ return "href=\"" + $t(e) + "\"";+ }+ function zm(e) {+ return "link[rel=\"stylesheet\"][" + e + "]";+ }+ function Bm(e) {+ return T({}, e, {+ "data-precedence": e.precedence,+ precedence: null+ });+ }+ function Vm(e, t, n, r) {+ if (t = e.querySelector("link[rel=\"preload\"][as=\"style\"][" + t + "]")) {+ if (!0 !== t[Ot]) {+ r.loading = 1;+ return;+ }+ } else t = e.createElement("link"), t[Ot] = !0, t.onload = t.onerror = Ft.bind(null, t), up(t, "link", n), Pt(t), e.head.appendChild(t);+ r.preload = t, t.addEventListener("load", function() {+ return r.loading |= 1;+ }), t.addEventListener("error", function() {+ return r.loading |= 2;+ });+ }+ function Hm(e) {+ return "[src=\"" + $t(e) + "\"]";+ }+ function Um(e) {+ return "script[async]" + e;+ }+ function Wm(e, t, n) {+ if (t.count++, t.instance === null) switch (t.type) {+ case "style":+ var r = e.querySelector("style[data-href~=\"" + $t(n.href) + "\"]");+ if (r) return t.instance = r, Pt(r), r;+ var a = T({}, n, {+ "data-href": n.href,+ "data-precedence": n.precedence,+ href: null,+ precedence: null+ });+ return r = (e.ownerDocument || e).createElement("style"), Pt(r), up(r, "style", a), Gm(r, n.precedence, e), t.instance = r;+ case "stylesheet":+ a = Y(n.href);+ var o = e.querySelector(zm(a));+ if (o) return t.state.loading |= 4, t.instance = o, Pt(o), o;+ r = Bm(n), (a = Cm.get(a)) && Km(r, a), o = (e.ownerDocument || e).createElement("link"), Pt(o);+ var s = o;+ return s._p = new Promise(function(e, t) {+ s.onload = e, s.onerror = t;+ }), up(o, "link", r), t.state.loading |= 4, Gm(o, n.precedence, e), t.instance = o;+ case "script": return o = Hm(n.src), (a = e.querySelector(Um(o))) ? (t.instance = a, Pt(a), a) : (r = n, (a = Cm.get(o)) && (r = T({}, n), qm(r, a)), e = e.ownerDocument || e, a = e.createElement("script"), Pt(a), up(a, "link", r), e.head.appendChild(a), t.instance = a);+ case "void": return null;+ default: throw Error(i(443, t.type));+ }+ else t.type === "stylesheet" && !(t.state.loading & 4) && (r = t.instance, t.state.loading |= 4, Gm(r, n.precedence, e));+ return t.instance;+ }+ function Gm(e, t, n) {+ for (var r = n.querySelectorAll("link[rel=\"stylesheet\"][data-precedence],style[data-precedence]"), i = r.length ? r[r.length - 1] : null, a = i, o = 0; o < r.length; o++) {+ var s = r[o];+ if (s.dataset.precedence === t) a = s;+ else if (a !== i) break;+ }+ a ? a.parentNode.insertBefore(e, a.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));+ }+ function Km(e, t) {+ e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.title ??= t.title;+ }+ function qm(e, t) {+ e.crossOrigin ??= t.crossOrigin, e.referrerPolicy ??= t.referrerPolicy, e.integrity ??= t.integrity;+ }+ var Jm = null;+ function Ym(e, t, n) {+ if (Jm === null) {+ var r = /* @__PURE__ */ new Map(), i = Jm = /* @__PURE__ */ new Map();+ i.set(n, r);+ } else i = Jm, r = i.get(n), r || (r = /* @__PURE__ */ new Map(), i.set(n, r));+ if (r.has(e)) return r;+ for (r.set(e, null), n = n.getElementsByTagName(e), i = 0; i < n.length; i++) {+ var a = n[i];+ if (!(a[Dt] || a[xt] || 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);+ s ? s.push(a) : r.set(o, [a]);+ }+ }+ return r;+ }+ function Xm(e, t, n) {+ e = e.ownerDocument || e, e.head.insertBefore(n, t === "title" ? e.querySelector("head > title") : null);+ }+ function Zm(e, t, n) {+ if (n === 1 || t.itemProp != null) return !1;+ switch (e) {+ case "meta":+ case "title": return !0;+ case "style":+ if (typeof t.precedence != "string" || typeof t.href != "string" || t.href === "") break;+ return !0;+ case "link":+ if (typeof t.rel != "string" || typeof t.href != "string" || t.href === "" || t.onLoad || t.onError) break;+ switch (t.rel) {+ case "stylesheet": return e = t.disabled, typeof t.precedence == "string" && e == null;+ default: return !0;+ }+ case "script": if (t.async && typeof t.async != "function" && typeof t.async != "symbol" && !t.onLoad && !t.onError && t.src && typeof t.src == "string") return !0;+ }+ return !1;+ }+ function Qm(e, t) {+ return e === "img" && t.src != null && t.src !== "" && t.onLoad == null && t.loading !== "lazy";+ }+ function $m(e) {+ return !(e.type === "stylesheet" && !(e.state.loading & 3));+ }+ function eh(e) {+ return (e.width || 100) * (e.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * .25;+ }+ function th(e, t) {+ typeof t.decode == "function" && (e.imgCount++, t.complete || (e.imgBytes += eh(t), e.suspenseyImages.push(t)), e = sh.bind(e), t.decode().then(e, e));+ }+ function nh(e, t, n, r) {+ if (n.type === "stylesheet" && (typeof r.media != "string" || !1 !== matchMedia(r.media).matches) && !(n.state.loading & 4)) {+ if (n.instance === null) {+ var i = Y(r.href), a = t.querySelector(zm(i));+ if (a) {+ t = a._p, typeof t == "object" && t && typeof t.then == "function" && (e.count++, e = oh.bind(e), t.then(e, e)), n.state.loading |= 4, n.instance = a, Pt(a);+ return;+ }+ a = t.ownerDocument || t, r = Bm(r), (i = Cm.get(i)) && Km(r, i), a = a.createElement("link"), Pt(a);+ var o = a;+ o._p = new Promise(function(e, t) {+ o.onload = e, o.onerror = t;+ }), up(a, "link", r), n.instance = a;+ }+ e.stylesheets === null && (e.stylesheets = /* @__PURE__ */ new Map()), e.stylesheets.set(n, t), (t = n.state.preload) && !(n.state.loading & 3) && (e.count++, n = oh.bind(e), t.addEventListener("load", n), t.addEventListener("error", n));+ }+ }+ var rh = 0;+ function ih(e, t) {+ return e.stylesheets && e.count === 0 && lh(e, e.stylesheets), 0 < e.count || 0 < e.imgCount ? function(n) {+ var r = setTimeout(function() {+ if (e.stylesheets && lh(e, e.stylesheets), e.unsuspend) {+ var t = e.unsuspend;+ e.unsuspend = null, t();+ }+ }, 6e4 + t);+ 0 < e.imgBytes && rh === 0 && (rh = 62500 * mp());+ var i = setTimeout(function() {+ if (e.waitingForImages = !1, e.count === 0 && (e.stylesheets && lh(e, e.stylesheets), e.unsuspend)) {+ var t = e.unsuspend;+ e.unsuspend = null, t();+ }+ }, (e.imgBytes > rh ? 50 : 800) + t);+ return e.unsuspend = n, function() {+ e.unsuspend = null, clearTimeout(r), clearTimeout(i);+ };+ } : null;+ }+ function ah(e) {+ if (e.count === 0 && (e.imgCount === 0 || !e.waitingForImages)) {+ if (e.stylesheets) lh(e, e.stylesheets);+ else if (e.unsuspend) {+ var t = e.unsuspend;+ e.unsuspend = null, t();+ }+ }+ }+ function oh() {+ this.count--, ah(this);+ }+ function sh() {+ this.imgCount--, ah(this);+ }+ var ch = null;+ function lh(e, t) {+ e.stylesheets = null, e.unsuspend !== null && (e.count++, ch = /* @__PURE__ */ new Map(), t.forEach(uh, e), ch = null, oh.call(e));+ }+ function uh(e, t) {+ if (!(t.state.loading & 4)) {+ var n = ch.get(e);+ if (n) var r = n.get(null);+ else {+ n = /* @__PURE__ */ new Map(), ch.set(e, n);+ for (var i = e.querySelectorAll("link[data-precedence],style[data-precedence]"), a = 0; a < i.length; a++) {+ var o = i[a];+ (o.nodeName === "LINK" || o.getAttribute("media") !== "not all") && (n.set(o.dataset.precedence, o), r = o);+ }+ r && n.set(null, r);+ }+ i = t.instance, o = i.getAttribute("data-precedence"), a = n.get(o) || r, a === r && n.set(null, i), n.set(o, i), this.count++, r = oh.bind(this), i.addEventListener("load", r), i.addEventListener("error", r), a ? a.parentNode.insertBefore(i, a.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(i, e.firstChild)), t.state.loading |= 4;+ }+ }+ var dh = {+ $$typeof: N,+ Provider: null,+ Consumer: null,+ _currentValue: pe,+ _currentValue2: pe,+ _threadCount: 0+ };+ function fh(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 = ut(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = ut(0), this.hiddenUpdates = ut(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 ph(e, t, n, r, i, a, o, s, c, l, u, d) {+ return e = new fh(e, t, n, o, c, l, u, d, s), t = 1, !0 === a && (t |= 24), a = ki(3, null, null, t), e.current = a, a.stateNode = e, t = Oa(), t.refCount++, e.pooledCache = t, t.refCount++, a.memoizedState = {+ element: r,+ isDehydrated: n,+ cache: t+ }, uo(a), e;+ }+ function mh(e) {+ return e ? (e = Di, e) : Di;+ }+ function hh(e, t, n, r, i, a) {+ i = mh(i), r.context === null ? r.context = i : r.pendingContext = i, r = po(t), r.payload = { element: n }, a = a === void 0 ? null : a, a !== null && (r.callback = a), n = mo(e, r, t), n !== null && (Rd(n, e, t), ho(n, e, t));+ }+ function gh(e, t) {+ if (e = e.memoizedState, e !== null && e.dehydrated !== null) {+ var n = e.retryLane;+ e.retryLane = n !== 0 && n < t ? n : t;+ }+ }+ function _h(e, t) {+ gh(e, t), (e = e.alternate) && gh(e, t);+ }+ function vh(e) {+ if (e.tag === 13 || e.tag === 31) {+ var t = wi(e, 67108864);+ t !== null && Rd(t, e, 67108864), _h(e, 67108864);+ }+ }+ function yh(e) {+ if (e.tag === 13 || e.tag === 31) {+ var t = Fd();+ t = gt(t);+ var n = wi(e, t);+ n !== null && Rd(n, e, t), _h(e, t);+ }+ }+ var bh = !0;+ function xh(e, t, n, r) {+ var i = I.T;+ I.T = null;+ var a = L.p;+ try {+ L.p = 2, Ch(e, t, n, r);+ } finally {+ L.p = a, I.T = i;+ }+ }+ function Sh(e, t, n, r) {+ var i = I.T;+ I.T = null;+ var a = L.p;+ try {+ L.p = 8, Ch(e, t, n, r);+ } finally {+ L.p = a, I.T = i;+ }+ }+ function Ch(e, t, n, r) {+ if (bh) {+ var i = wh(r);+ if (i === null) $f(e, t, r, Th, n), Fh(e, r);+ else if (Lh(i, e, t, n, r)) r.stopPropagation();+ else if (Fh(e, r), t & 4 && -1 < Ph.indexOf(e)) {+ for (; i !== null;) {+ var a = jt(i);+ if (a !== null) switch (a.tag) {+ case 3:+ if (a = a.stateNode, a.current.memoizedState.isDehydrated) {+ var o = it(a.pendingLanes);+ if (o !== 0) {+ var s = a;+ for (s.pendingLanes |= 2, s.entangledLanes |= 2; o;) {+ var c = 1 << 31 - Ze(o);+ s.entanglements[1] |= c, o &= ~c;+ }+ Mf(a), !(ed & 6) && (bd = ze() + 500, Nf(0, !1));+ }+ }+ break;+ case 31:+ case 13: s = wi(a, 2), s !== null && Rd(s, a, 2), Ud(), _h(a, 2);+ }+ if (a = wh(r), a === null && $f(e, t, r, Th, n), a === i) break;+ i = a;+ }+ i !== null && r.stopPropagation();+ } else $f(e, t, r, null, n);+ }+ }+ function wh(e) {+ return e = _n(e), Eh(e);+ }+ var Th = null;+ function Eh(e) {+ if (Th = null, e = At(e), e !== null) {+ var t = o(e);+ if (t === null) e = null;+ else {+ var n = t.tag;+ if (n === 13) {+ if (e = s(t), e !== null) return e;+ e = null;+ } else if (n === 31) {+ if (e = c(t), e !== null) return e;+ e = null;+ } else if (n === 3) {+ if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null;+ e = null;+ } else t !== e && (e = null);+ }+ }+ return Th = e, null;+ }+ function Dh(e) {+ switch (e) {+ case "beforetoggle":+ case "cancel":+ case "click":+ case "close":+ case "contextmenu":+ case "copy":+ case "cut":+ case "auxclick":+ case "dblclick":+ case "dragend":+ case "dragstart":+ case "drop":+ case "focusin":+ case "focusout":+ case "input":+ case "invalid":+ case "keydown":+ case "keypress":+ case "keyup":+ case "mousedown":+ case "mouseup":+ case "paste":+ case "pause":+ case "play":+ case "pointercancel":+ case "pointerdown":+ case "pointerup":+ case "ratechange":+ case "reset":+ case "seeked":+ case "submit":+ case "toggle":+ case "touchcancel":+ case "touchend":+ case "touchstart":+ case "volumechange":+ case "change":+ case "selectionchange":+ case "textInput":+ case "compositionstart":+ case "compositionend":+ case "compositionupdate":+ case "beforeblur":+ case "afterblur":+ case "beforeinput":+ case "blur":+ case "fullscreenchange":+ case "fullscreenerror":+ case "focus":+ case "hashchange":+ case "popstate":+ case "select":+ case "selectstart": return 2;+ case "drag":+ case "dragenter":+ case "dragexit":+ case "dragleave":+ case "dragover":+ case "mousemove":+ case "mouseout":+ case "mouseover":+ case "pointermove":+ case "pointerout":+ case "pointerover":+ case "resize":+ case "scroll":+ case "touchmove":+ case "wheel":+ case "mouseenter":+ case "mouseleave":+ case "pointerenter":+ case "pointerleave": return 8;+ case "message": switch (Be()) {+ case Ve: return 2;+ case He: return 8;+ case Ue:+ case We: return 32;+ case Ge: return 268435456;+ default: return 32;+ }+ default: return 32;+ }+ }+ var Oh = !1, kh = null, X = null, Ah = null, jh = /* @__PURE__ */ new Map(), Mh = /* @__PURE__ */ new Map(), Nh = [], Ph = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");+ function Fh(e, t) {+ switch (e) {+ case "focusin":+ case "focusout":+ kh = null;+ break;+ case "dragenter":+ case "dragleave":+ X = null;+ break;+ case "mouseover":+ case "mouseout":+ Ah = null;+ break;+ case "pointerover":+ case "pointerout":+ jh.delete(t.pointerId);+ break;+ case "gotpointercapture":+ case "lostpointercapture": Mh.delete(t.pointerId);+ }+ }+ function Ih(e, t, n, r, i, a) {+ return e === null || e.nativeEvent !== a ? (e = {+ blockedOn: t,+ domEventName: n,+ eventSystemFlags: r,+ nativeEvent: a,+ targetContainers: [i]+ }, t !== null && (t = jt(t), t !== null && vh(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, i !== null && t.indexOf(i) === -1 && t.push(i), e);+ }+ function Lh(e, t, n, r, i) {+ switch (t) {+ case "focusin": return kh = Ih(kh, e, t, n, r, i), !0;+ case "dragenter": return X = Ih(X, e, t, n, r, i), !0;+ case "mouseover": return Ah = Ih(Ah, e, t, n, r, i), !0;+ case "pointerover":+ var a = i.pointerId;+ return jh.set(a, Ih(jh.get(a) || null, e, t, n, r, i)), !0;+ case "gotpointercapture": return a = i.pointerId, Mh.set(a, Ih(Mh.get(a) || null, e, t, n, r, i)), !0;+ }+ return !1;+ }+ function Rh(e) {+ var t = At(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, yt(e.priority, function() {+ yh(n);+ });+ return;+ }+ } else if (t === 31) {+ if (t = c(n), t !== null) {+ e.blockedOn = t, yt(e.priority, function() {+ yh(n);+ });+ return;+ }+ } else if (t === 3 && n.stateNode.current.memoizedState.isDehydrated) {+ e.blockedOn = n.tag === 3 ? n.stateNode.containerInfo : null;+ return;+ }+ }+ }+ e.blockedOn = null;+ }+ function zh(e) {+ if (e.blockedOn !== null) return !1;+ for (var t = e.targetContainers; 0 < t.length;) {+ var n = wh(e.nativeEvent);+ if (n === null) {+ n = e.nativeEvent;+ var r = new n.constructor(n.type, n);+ gn = r, n.target.dispatchEvent(r), gn = null;+ } else return t = jt(n), t !== null && vh(t), e.blockedOn = n, !1;+ t.shift();+ }+ return !0;+ }+ function Bh(e, t, n) {+ zh(e) && n.delete(t);+ }+ function Vh() {+ Oh = !1, kh !== null && zh(kh) && (kh = null), X !== null && zh(X) && (X = null), Ah !== null && zh(Ah) && (Ah = null), jh.forEach(Bh), Mh.forEach(Bh);+ }+ function Hh(e, n) {+ e.blockedOn === n && (e.blockedOn = null, Oh || (Oh = !0, t.unstable_scheduleCallback(t.unstable_NormalPriority, Vh)));+ }+ var Uh = null;+ function Wh(e) {+ Uh !== e && (Uh = e, t.unstable_scheduleCallback(t.unstable_NormalPriority, function() {+ Uh === e && (Uh = null);+ for (var t = 0; t < e.length; t += 3) {+ var n = e[t], r = e[t + 1], i = e[t + 2];+ if (typeof r != "function") {+ if (Eh(r || n) === null) continue;+ break;+ }+ var a = jt(n);+ a !== null && (e.splice(t, 3), t -= 3, Qs(a, {+ pending: !0,+ data: i,+ method: n.method,+ action: r+ }, r, i));+ }+ }));+ }+ function Gh(e) {+ function t(t) {+ return Hh(t, e);+ }+ kh !== null && Hh(kh, e), X !== null && Hh(X, e), Ah !== null && Hh(Ah, e), jh.forEach(t), Mh.forEach(t);+ for (var n = 0; n < Nh.length; n++) {+ var r = Nh[n];+ r.blockedOn === e && (r.blockedOn = null);+ }+ for (; 0 < Nh.length && (n = Nh[0], n.blockedOn === null);) Rh(n), n.blockedOn === null && Nh.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[St] || null;+ if (typeof a == "function") o || Wh(n);+ else if (o) {+ var s = null;+ if (a && a.hasAttribute("formAction")) {+ if (i = a, o = a[St] || null) s = o.formAction;+ else if (Eh(i) !== null) continue;+ } else s = o.action;+ typeof s == "function" ? n[r + 1] = s : (n.splice(r, 3), r -= 3), Wh(n);+ }+ }+ }+ function Kh() {+ function e(e) {+ e.canIntercept && e.info === "react-transition" && e.intercept({+ handler: function() {+ return new Promise(function(e) {+ return i = e;+ });+ },+ focusReset: "manual",+ scroll: "manual"+ });+ }+ function t() {+ i !== null && (i(), i = null), r || setTimeout(n, 20);+ }+ function n() {+ if (!r && !navigation.transition) {+ var e = navigation.currentEntry;+ e && e.url != null && navigation.navigate(e.url, {+ state: e.getState(),+ info: "react-transition",+ history: "replace"+ });+ }+ }+ if (typeof navigation == "object") {+ var r = !1, i = null;+ return navigation.addEventListener("navigate", e), navigation.addEventListener("navigatesuccess", t), navigation.addEventListener("navigateerror", t), setTimeout(n, 100), function() {+ r = !0, navigation.removeEventListener("navigate", e), navigation.removeEventListener("navigatesuccess", t), navigation.removeEventListener("navigateerror", t), i !== null && (i(), i = null);+ };+ }+ }+ function qh(e) {+ this._internalRoot = e;+ }+ Jh.prototype.render = qh.prototype.render = function(e) {+ var t = this._internalRoot;+ if (t === null) throw Error(i(409));+ var n = t.current;+ hh(n, Fd(), e, t, null, null);+ }, Jh.prototype.unmount = qh.prototype.unmount = function() {+ var e = this._internalRoot;+ if (e !== null) {+ this._internalRoot = null;+ var t = e.containerInfo;+ hh(e.current, 2, null, e, null, null), Ud(), t[Ct] = null;+ }+ };+ function Jh(e) {+ this._internalRoot = e;+ }+ Jh.prototype.unstable_scheduleHydration = function(e) {+ if (e) {+ var t = vt();+ e = {+ blockedOn: null,+ target: e,+ priority: t+ };+ for (var n = 0; n < Nh.length && t !== 0 && t < Nh[n].priority; n++);+ Nh.splice(n, 0, e), n === 0 && Rh(e);+ }+ };+ var Yh = n.version;+ if (Yh !== "19.3.0") throw Error(i(527, Yh, "19.3.0"));+ L.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;+ };+ var Xh = {+ bundleType: 0,+ version: "19.3.0",+ rendererPackageName: "react-dom",+ currentDispatcherRef: I,+ reconcilerVersion: "19.3.0"+ };+ if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {+ var Zh = __REACT_DEVTOOLS_GLOBAL_HOOK__;+ if (!Zh.isDisabled && Zh.supportsFiber) try {+ Je = Zh.inject(Xh), Ye = Zh;+ } catch {}+ }+ e.createRoot = function(e, t) {+ if (!a(e)) throw Error(i(299));+ 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 = ph(e, 1, !1, null, null, n, r, null, o, s, c, Kh), e[Ct] = t.current, Zf(e), new qh(t);+ };+})), Tf = (/* @__PURE__ */ h(((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);+ } catch (e) {+ console.error(e);+ }+ }+ n(), t.exports = wf();+})))(), Ef = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Df = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M13.0001 16.1716L18.3641 10.8076L19.7783 12.2218L12.0001 20L4.22192 12.2218L5.63614 10.8076L11.0001 16.1716V4H13.0001V16.1716Z" })), Of = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" })), kf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z" })), Af = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.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" })), jf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M13.0001 7.82843V20H11.0001V7.82843L5.63614 13.1924L4.22192 11.7782L12.0001 4L19.7783 11.7782L18.3641 13.1924L13.0001 7.82843Z" })), Mf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Nf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M11.602 13.7599L13.014 15.1719L21.4795 6.7063L22.8938 8.12051L13.014 18.0003L6.65 11.6363L8.06421 10.2221L10.189 12.3469L11.6025 13.7594L11.602 13.7599ZM11.6037 10.9322L16.5563 5.97949L17.9666 7.38977L13.014 12.3424L11.6037 10.9322ZM8.77698 16.5873L7.36396 18.0003L1 11.6363L2.41421 10.2221L3.82723 11.6352L3.82604 11.6363L8.77698 16.5873Z" })), Pf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.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" })), Ff = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM15.5 8.5L13.5 13.5L8.5 15.5L10.5 10.5L15.5 8.5Z" })), If = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M5 12.5C5 12.8134 5.46101 13.3584 6.53047 13.8931C7.91405 14.5849 9.87677 15 12 15C14.1232 15 16.0859 14.5849 17.4695 13.8931C18.539 13.3584 19 12.8134 19 12.5V10.3287C17.35 11.3482 14.8273 12 12 12C9.17273 12 6.64996 11.3482 5 10.3287V12.5ZM19 15.3287C17.35 16.3482 14.8273 17 12 17C9.17273 17 6.64996 16.3482 5 15.3287V17.5C5 17.8134 5.46101 18.3584 6.53047 18.8931C7.91405 19.5849 9.87677 20 12 20C14.1232 20 16.0859 19.5849 17.4695 18.8931C18.539 18.3584 19 17.8134 19 17.5V15.3287ZM3 17.5V7.5C3 5.01472 7.02944 3 12 3C16.9706 3 21 5.01472 21 7.5V17.5C21 19.9853 16.9706 22 12 22C7.02944 22 3 19.9853 3 17.5ZM12 10C14.1232 10 16.0859 9.58492 17.4695 8.89313C18.539 8.3584 19 7.81342 19 7.5C19 7.18658 18.539 6.6416 17.4695 6.10687C16.0859 5.41508 14.1232 5 12 5C9.87677 5 7.91405 5.41508 6.53047 6.10687C5.46101 6.6416 5 7.18658 5 7.5C5 7.81342 5.46101 8.3584 6.53047 8.89313C7.91405 9.58492 9.87677 10 12 10Z" })), Lf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M17 6H22V8H20V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V8H2V6H7V3C7 2.44772 7.44772 2 8 2H16C16.5523 2 17 2.44772 17 3V6ZM18 8H6V20H18V8ZM9 11H11V17H9V11ZM13 11H15V17H13V11ZM9 4V6H15V4H9Z" })), Rf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z" })), zf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.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" })), Bf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M12.0003 3C17.3924 3 21.8784 6.87976 22.8189 12C21.8784 17.1202 17.3924 21 12.0003 21C6.60812 21 2.12215 17.1202 1.18164 12C2.12215 6.87976 6.60812 3 12.0003 3ZM12.0003 19C16.2359 19 19.8603 16.052 20.7777 12C19.8603 7.94803 16.2359 5 12.0003 5C7.7646 5 4.14022 7.94803 3.22278 12C4.14022 16.052 7.7646 19 12.0003 19ZM12.0003 16.5C9.51498 16.5 7.50026 14.4853 7.50026 12C7.50026 9.51472 9.51498 7.5 12.0003 7.5C14.4855 7.5 16.5003 9.51472 16.5003 12C16.5003 14.4853 14.4855 16.5 12.0003 16.5ZM12.0003 14.5C13.381 14.5 14.5003 13.3807 14.5003 12C14.5003 10.6193 13.381 9.5 12.0003 9.5C10.6196 9.5 9.50026 10.6193 9.50026 12C9.50026 13.3807 10.6196 14.5 12.0003 14.5Z" })), Vf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), Hf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM9.71002 19.6674C8.74743 17.6259 8.15732 15.3742 8.02731 13H4.06189C4.458 16.1765 6.71639 18.7747 9.71002 19.6674ZM10.0307 13C10.1811 15.4388 10.8778 17.7297 12 19.752C13.1222 17.7297 13.8189 15.4388 13.9693 13H10.0307ZM19.9381 13H15.9727C15.8427 15.3742 15.2526 17.6259 14.29 19.6674C17.2836 18.7747 19.542 16.1765 19.9381 13ZM4.06189 11H8.02731C8.15732 8.62577 8.74743 6.37407 9.71002 4.33256C6.71639 5.22533 4.458 7.8235 4.06189 11ZM10.0307 11H13.9693C13.8189 8.56122 13.1222 6.27025 12 4.24799C10.8778 6.27025 10.1811 8.56122 10.0307 11ZM14.29 4.33256C15.2526 6.37407 15.8427 8.62577 15.9727 11H19.9381C19.542 7.8235 17.2836 5.22533 14.29 4.33256Z" })), Uf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Wf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Gf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.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" })), Kf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,height: t,fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M5 14H19V4H5V14ZM5 16V20H19V16H5ZM4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2ZM15 17H17V19H15V17Z" })), Fu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, S.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), qf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16763,7 +18753,7 @@ var vu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12H4C4 16.4183 7.58172 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C9.25022 4 6.82447 5.38734 5.38451 7.50024L8 7.5V9.5H2V3.5H4L3.99989 5.99918C5.82434 3.57075 8.72873 2 12 2ZM13 7L12.9998 11.585L16.2426 14.8284L14.8284 16.2426L10.9998 12.413L11 7H13Z" })), Iu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, S.createElement("path", { d: "M10.7577 11.8281L18.6066 3.97919L20.0208 5.3934L18.6066 6.80761L21.0815 9.28249L19.6673 10.6967L17.1924 8.22183L15.7782 9.63604L17.8995 11.7574L16.4853 13.1716L14.364 11.0503L12.1719 13.2423C13.4581 15.1837 13.246 17.8251 11.5355 19.5355C9.58291 21.4882 6.41709 21.4882 4.46447 19.5355C2.51184 17.5829 2.51184 14.4171 4.46447 12.4645C6.17493 10.754 8.81633 10.5419 10.7577 11.8281ZM10.1213 18.1213C11.2929 16.9497 11.2929 15.0503 10.1213 13.8787C8.94975 12.7071 7.05025 12.7071 5.87868 13.8787C4.70711 15.0503 4.70711 16.9497 5.87868 18.1213C7.05025 19.2929 8.94975 19.2929 10.1213 18.1213Z" })), Jf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16771,7 +18761,7 @@ var vu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.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" })), Lu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, S.createElement("path", { d: "M21 3C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H21ZM11 13H4V19H11V13ZM20 13H13V19H20V13ZM11 5H4V11H11V5ZM20 5H13V11H20V5Z" })), Yf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16779,7 +18769,7 @@ var vu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z" })), Ru = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, S.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), Xf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16787,7 +18777,7 @@ var vu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M10.9042 2.10025L20.8037 3.51446L22.2179 13.414L13.0255 22.6063C12.635 22.9969 12.0019 22.9969 11.6113 22.6063L1.71184 12.7069C1.32131 12.3163 1.32131 11.6832 1.71184 11.2926L10.9042 2.10025ZM11.6113 4.22157L3.83316 11.9997L12.3184 20.485L20.0966 12.7069L19.036 5.28223L11.6113 4.22157ZM13.7327 10.5855C12.9516 9.80448 12.9516 8.53815 13.7327 7.7571C14.5137 6.97606 15.78 6.97606 16.5611 7.7571C17.3421 8.53815 17.3421 9.80448 16.5611 10.5855C15.78 11.3666 14.5137 11.3666 13.7327 10.5855Z" })), zu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, S.createElement("path", { d: "M5.46257 4.43262C7.21556 2.91688 9.5007 2 12 2C17.5228 2 22 6.47715 22 12C22 14.1361 21.3302 16.1158 20.1892 17.7406L17 12H20C20 7.58172 16.4183 4 12 4C9.84982 4 7.89777 4.84827 6.46023 6.22842L5.46257 4.43262ZM18.5374 19.5674C16.7844 21.0831 14.4993 22 12 22C6.47715 22 2 17.5228 2 12C2 9.86386 2.66979 7.88416 3.8108 6.25944L7 12H4C4 16.4183 7.58172 20 12 20C14.1502 20 16.1022 19.1517 17.5398 17.7716L18.5374 19.5674Z" })), Zf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16795,7 +18785,7 @@ var vu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), Bu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, S.createElement("path", { d: "M3 17C5.20914 17 7 18.7909 7 21H3V17ZM3 10C9.07513 10 14 14.9249 14 21H12C12 16.0294 7.97056 12 3 12V10ZM3 3C12.9411 3 21 11.0589 21 21H19C19 12.1634 11.8366 5 3 5V3Z" })), Qf = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16803,7 +18793,7 @@ var vu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), Vu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, S.createElement("path", { d: "M18.031 16.6168L22.3137 20.8995L20.8995 22.3137L16.6168 18.031C15.0769 19.263 13.124 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2C15.968 2 20 6.032 20 11C20 13.124 19.263 15.0769 18.031 16.6168ZM16.0247 15.8748C17.2475 14.6146 18 12.8956 18 11C18 7.1325 14.8675 4 11 4C7.1325 4 4 7.1325 4 11C4 14.8675 7.1325 18 11 18C12.8956 18 14.6146 17.2475 15.8748 16.0247L16.0247 15.8748Z" })), $f = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16811,7 +18801,7 @@ var vu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), Hu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, S.createElement("path", { d: "M4 8H20V5H4V8ZM14 19V10H10V19H14ZM16 19H20V10H16V19ZM8 19V10H4V19H8ZM3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3Z" })), ep = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16819,7 +18809,7 @@ var vu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Uu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, S.createElement("path", { d: "M9.40017 16H3C1.89543 16 1 15.1046 1 14V11.8957C1 11.6344 1.05118 11.3757 1.15064 11.1342L4.24501 3.61925C4.3993 3.24455 4.76447 3 5.16969 3H22C22.5523 3 23 3.44772 23 4V14C23 14.5523 22.5523 15 22 15H18.5182C18.1932 15 17.8886 15.1579 17.7012 15.4233L12.2478 23.149C12.1053 23.3508 11.8367 23.4184 11.6157 23.3078L9.80163 22.4008C8.74998 21.875 8.20687 20.6874 8.49694 19.548L9.40017 16ZM17 13.4125V5H5.83939L3 11.8957V14H9.40017C10.7049 14 11.6602 15.229 11.3384 16.4934L10.4351 20.0414C10.3771 20.2693 10.4857 20.5068 10.6961 20.612L11.3572 20.9425L16.0673 14.27C16.3172 13.9159 16.6366 13.6257 17 13.4125ZM19 13H21V5H19V13Z" })), tp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16827,7 +18817,7 @@ var vu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), Wu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, S.createElement("path", { d: "M14.5998 8.00033H21C22.1046 8.00033 23 8.89576 23 10.0003V12.1047C23 12.3659 22.9488 12.6246 22.8494 12.8662L19.755 20.3811C19.6007 20.7558 19.2355 21.0003 18.8303 21.0003H2C1.44772 21.0003 1 20.5526 1 20.0003V10.0003C1 9.44804 1.44772 9.00033 2 9.00033H5.48184C5.80677 9.00033 6.11143 8.84246 6.29881 8.57701L11.7522 0.851355C11.8947 0.649486 12.1633 0.581978 12.3843 0.692483L14.1984 1.59951C15.25 2.12534 15.7931 3.31292 15.5031 4.45235L14.5998 8.00033ZM7 10.5878V19.0003H18.1606L21 12.1047V10.0003H14.5998C13.2951 10.0003 12.3398 8.77128 12.6616 7.50691L13.5649 3.95894C13.6229 3.73105 13.5143 3.49353 13.3039 3.38837L12.6428 3.0578L7.93275 9.73038C7.68285 10.0844 7.36341 10.3746 7 10.5878ZM5 11.0003H3V19.0003H5V11.0003Z" })), np = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16835,7 +18825,7 @@ var vu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), Gu = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => x.createElement("svg", {+}, S.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), rp = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -16843,100 +18833,116 @@ var vu = /* @__PURE__ */ m(((e) => {fill: e,...r,className: "remixicon " + (n || "")-}, x.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), Ku = (e, t) => {+}, S.createElement("path", { d: "M4 22C4 17.5817 7.58172 14 12 14C16.4183 14 20 17.5817 20 22H18C18 18.6863 15.3137 16 12 16C8.68629 16 6 18.6863 6 22H4ZM12 13C8.685 13 6 10.315 6 7C6 3.685 8.685 1 12 1C15.315 1 18 3.685 18 7C18 10.315 15.315 13 12 13ZM12 11C14.21 11 16 9.21 16 7C16 4.79 14.21 3 12 3C9.79 3 8 4.79 8 7C8 9.21 9.79 11 12 11Z" })), ip = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M3 3.9934C3 3.44476 3.44495 3 3.9934 3H20.0066C20.5552 3 21 3.44495 21 3.9934V20.0066C21 20.5552 20.5551 21 20.0066 21H3.9934C3.44476 21 3 20.5551 3 20.0066V3.9934ZM5 5V19H19V5H5ZM10.6219 8.41459L15.5008 11.6672C15.6846 11.7897 15.7343 12.0381 15.6117 12.2219C15.5824 12.2658 15.5447 12.3035 15.5008 12.3328L10.6219 15.5854C10.4381 15.708 10.1897 15.6583 10.0672 15.4745C10.0234 15.4088 10 15.3316 10 15.2526V8.74741C10 8.52649 10.1791 8.34741 10.4 8.34741C10.479 8.34741 10.5562 8.37078 10.6219 8.41459Z" })), ap = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => S.createElement("svg", {+ viewBox: "0 0 24 24",+ xmlns: "http://www.w3.org/2000/svg",+ width: t,+ height: t,+ fill: e,+ ...r,+ className: "remixicon " + (n || "")+}, S.createElement("path", { d: "M14 4.4375C15.3462 4.4375 16.4375 3.34619 16.4375 2H17.5625C17.5625 3.34619 18.6538 4.4375 20 4.4375V5.5625C18.6538 5.5625 17.5625 6.65381 17.5625 8H16.4375C16.4375 6.65381 15.3462 5.5625 14 5.5625V4.4375ZM1 11C4.31371 11 7 8.31371 7 5H9C9 8.31371 11.6863 11 15 11V13C11.6863 13 9 15.6863 9 19H7C7 15.6863 4.31371 13 1 13V11ZM4.87601 12C6.18717 12.7276 7.27243 13.8128 8 15.124 8.72757 13.8128 9.81283 12.7276 11.124 12 9.81283 11.2724 8.72757 10.1872 8 8.87601 7.27243 10.1872 6.18717 11.2724 4.87601 12ZM17.25 14C17.25 15.7949 15.7949 17.25 14 17.25V18.75C15.7949 18.75 17.25 20.2051 17.25 22H18.75C18.75 20.2051 20.2051 18.75 22 18.75V17.25C20.2051 17.25 18.75 15.7949 18.75 14H17.25Z" })), op = (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;-}, qu = (e, t) => ({+}, sp = (e, t) => ({classGroupId: e,validator: t-}), Ju = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), cp = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), Yu = "-", Xu = [], Zu = "arbitrary..", Qu = (e) => {- let t = td(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), lp = "-", up = [], dp = "arbitrary..", fp = (e) => {+ let t = hp(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return ed(e);- let n = e.split(Yu);- return $u(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return mp(e);+ let n = e.split(lp);+ return pp(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Ku(i, t) : t : i || Xu;+ return t ? i ? op(i, t) : t : i || up;}- return n[e] || Xu;+ return n[e] || up;}};-}, $u = (e, t, n) => {+}, pp = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = $u(e, t + 1, i);+ let n = pp(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(Yu) : e.slice(t).join(Yu), s = a.length;+ let o = t === 0 ? e.join(lp) : e.slice(t).join(lp), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, ed = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, mp = (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 ? Zu + r : void 0;-})(), td = (e) => {+ return r ? dp + r : void 0;+})(), hp = (e) => {let { theme: t, classGroups: n } = e;- return K(n, t);-}, K = (e, t) => {- let n = Ju();+ return gp(n, t);+}, gp = (e, t) => {+ let n = cp();for (let r in e) {let i = e[r];- q(i, n, r, t);+ _p(i, n, r, t);}return n;-}, q = (e, t, n, r) => {+}, _p = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- nd(i, t, n, r);+ vp(i, t, n, r);}-}, nd = (e, t, n, r) => {+}, vp = (e, t, n, r) => {if (typeof e == "string") {- rd(e, t, n);+ yp(e, t, n);return;}if (typeof e == "function") {- id(e, t, n, r);+ bp(e, t, n, r);return;}- ad(e, t, n, r);-}, rd = (e, t, n) => {- let r = e === "" ? t : od(t, e);+ xp(e, t, n, r);+}, yp = (e, t, n) => {+ let r = e === "" ? t : Sp(t, e);r.classGroupId = n;-}, id = (e, t, n, r) => {- if (sd(e)) {- q(e(r), t, n, r);+}, bp = (e, t, n, r) => {+ if (Cp(e)) {+ _p(e(r), t, n, r);return;}- t.validators === null && (t.validators = []), t.validators.push(qu(n, e));-}, ad = (e, t, n, r) => {+ t.validators === null && (t.validators = []), t.validators.push(sp(n, e));+}, xp = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- q(o, od(t, a), n, r);+ _p(o, Sp(t, a), n, r);}-}, od = (e, t) => {- let n = e, r = t.split(Yu), i = r.length;+}, Sp = (e, t) => {+ let n = e, r = t.split(lp), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = Ju(), n.nextPart.set(t, i)), n = i;+ i || (i = cp(), n.nextPart.set(t, i)), n = i;}return n;-}, sd = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, cd = (e) => {+}, Cp = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, wp = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -16954,19 +18960,19 @@ var vu = /* @__PURE__ */ m(((e) => {e in n ? n[e] = t : i(e, t);}};-}, ld = "!", ud = ":", dd = [], fd = (e, t, n, r, i) => ({+}, Tp = "!", Ep = ":", Dp = [], Op = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), pd = (e) => {+}), kp = (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 === ud) {+ if (o === Ep) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -16978,13 +18984,13 @@ var vu = /* @__PURE__ */ m(((e) => {o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(ld) ? (c = s.slice(0, -1), l = !0) : s.startsWith(ld) && (c = s.slice(1), l = !0);+ s.endsWith(Tp) ? (c = s.slice(0, -1), l = !0) : s.startsWith(Tp) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return fd(t, l, c, u);+ return Op(t, l, c, u);};if (t) {- let e = t + ud, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : fd(dd, !1, t, void 0, !0);+ let e = t + Ep, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : Op(Dp, !1, t, void 0, !0);}if (n) {let e = r;@@ -16994,7 +19000,7 @@ var vu = /* @__PURE__ */ m(((e) => {});}return r;-}, md = (e) => {+}, Ap = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -17006,18 +19012,18 @@ var vu = /* @__PURE__ */ m(((e) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, hd = (e) => ({- cache: cd(e.cacheSize),- parseClassName: pd(e),- sortModifiers: md(e),- postfixLookupClassGroupIds: gd(e),- ...Qu(e)-}), gd = (e) => {+}, jp = (e) => ({+ cache: wp(e.cacheSize),+ parseClassName: kp(e),+ sortModifiers: Ap(e),+ postfixLookupClassGroupIds: Mp(e),+ ...fp(e)+}), Mp = (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;-}, _d = /\s+/, vd = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(_d), l = "";+}, Np = /\s+/, Pp = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Np), 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) {@@ -17041,7 +19047,7 @@ var vu = /* @__PURE__ */ m(((e) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + ld : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + Tp : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -17052,34 +19058,34 @@ var vu = /* @__PURE__ */ m(((e) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, yd = (...e) => {+}, Fp = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = bd(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = Ip(n)) && (i && (i += " "), i += r);return i;-}, bd = (e) => {+}, Ip = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = bd(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = Ip(e[r])) && (n && (n += " "), n += t);return n;-}, xd = (e, ...t) => {- let n, r, i, a, o = (o) => (n = hd(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, Lp = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = jp(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 = vd(e, n);+ let a = Pp(e, n);return i(e, a), a;};- return a = o, (...e) => a(yd(...e));-}, Sd = [], Cd = (e) => {- let t = (t) => t[e] || Sd;+ return a = o, (...e) => a(Fp(...e));+}, Rp = [], zp = (e) => {+ let t = (t) => t[e] || Rp;return t.isThemeGetter = !0, t.themeKey = e, t;-}, wd = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Td = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ed = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Dd = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Od = /\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$/, kd = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Ad = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, jd = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Md = (e) => Ed.test(e), J = (e) => !!e && !Number.isNaN(Number(e)), Nd = (e) => !!e && Number.isInteger(Number(e)), Pd = (e) => e.endsWith("%") && J(e.slice(0, -1)), Fd = (e) => Dd.test(e), Id = () => !0, Ld = (e) => Od.test(e) && !kd.test(e), Rd = () => !1, zd = (e) => Ad.test(e), Bd = (e) => jd.test(e), Vd = (e) => !Y(e) && !X(e), Hd = (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)), Ud = (e) => af(e, lf, Rd), Y = (e) => wd.test(e), Wd = (e) => af(e, uf, Ld), Gd = (e) => af(e, df, J), Kd = (e) => af(e, pf, Id), qd = (e) => af(e, ff, Rd), Jd = (e) => af(e, sf, Rd), Yd = (e) => af(e, cf, Bd), Xd = (e) => af(e, mf, zd), X = (e) => Td.test(e), Zd = (e) => of(e, uf), Qd = (e) => of(e, ff), $d = (e) => of(e, sf), ef = (e) => of(e, lf), tf = (e) => of(e, cf), nf = (e) => of(e, mf, !0), rf = (e) => of(e, pf, !0), af = (e, t, n) => {- let r = wd.exec(e);+}, Bp = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Vp = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Hp = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Up = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Wp = /\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$/, Gp = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Kp = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qp = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Jp = (e) => Hp.test(e), K = (e) => !!e && !Number.isNaN(Number(e)), Yp = (e) => !!e && Number.isInteger(Number(e)), Xp = (e) => e.endsWith("%") && K(e.slice(0, -1)), Zp = (e) => Up.test(e), Qp = () => !0, $p = (e) => Wp.test(e) && !Gp.test(e), em = () => !1, tm = (e) => Kp.test(e), nm = (e) => qp.test(e), rm = (e) => !q(e) && !J(e), im = (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)), am = (e) => bm(e, wm, em), q = (e) => Bp.test(e), om = (e) => bm(e, Tm, $p), sm = (e) => bm(e, Em, K), cm = (e) => bm(e, Om, Qp), lm = (e) => bm(e, Dm, em), um = (e) => bm(e, Sm, em), dm = (e) => bm(e, Cm, nm), fm = (e) => bm(e, km, tm), J = (e) => Vp.test(e), pm = (e) => xm(e, Tm), mm = (e) => xm(e, Dm), hm = (e) => xm(e, Sm), gm = (e) => xm(e, wm), _m = (e) => xm(e, Cm), vm = (e) => xm(e, km, !0), ym = (e) => xm(e, Om, !0), bm = (e, t, n) => {+ let r = Bp.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, of = (e, t, n = !1) => {- let r = Td.exec(e);+}, xm = (e, t, n = !1) => {+ let r = Vp.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, sf = (e) => e === "position" || e === "percentage", cf = (e) => e === "image" || e === "url", lf = (e) => e === "length" || e === "size" || e === "bg-size", uf = (e) => e === "length", df = (e) => e === "number", ff = (e) => e === "family-name", pf = (e) => e === "number" || e === "weight", mf = (e) => e === "shadow", hf = () => {- let e = Cd("color"), t = Cd("font"), n = Cd("text"), r = Cd("font-weight"), i = Cd("tracking"), a = Cd("leading"), o = Cd("breakpoint"), s = Cd("container"), c = Cd("spacing"), l = Cd("radius"), u = Cd("shadow"), d = Cd("inset-shadow"), f = Cd("text-shadow"), p = Cd("drop-shadow"), m = Cd("blur"), h = Cd("perspective"), g = Cd("aspect"), _ = Cd("ease"), v = Cd("animate"), y = () => [+}, Sm = (e) => e === "position" || e === "percentage", Cm = (e) => e === "image" || e === "url", wm = (e) => e === "length" || e === "size" || e === "bg-size", Tm = (e) => e === "length", Em = (e) => e === "number", Dm = (e) => e === "family-name", Om = (e) => e === "number" || e === "weight", km = (e) => e === "shadow", Am = () => {+ let e = zp("color"), t = zp("font"), n = zp("text"), r = zp("font-weight"), i = zp("tracking"), a = zp("leading"), o = zp("breakpoint"), s = zp("container"), c = zp("spacing"), l = zp("radius"), u = zp("shadow"), d = zp("inset-shadow"), f = zp("text-shadow"), p = zp("drop-shadow"), m = zp("blur"), h = zp("perspective"), g = zp("aspect"), _ = zp("ease"), v = zp("animate"), y = () => ["auto","avoid","all",@@ -17104,8 +19110,8 @@ var vu = /* @__PURE__ */ m(((e) => {"left-bottom"], x = () => [...b(),- X,- Y+ J,+ q], S = () => ["auto","hidden",@@ -17117,43 +19123,43 @@ var vu = /* @__PURE__ */ m(((e) => {"contain","none"], w = () => [- X,- Y,+ J,+ q,c], T = () => [- Md,+ Jp,"full","auto",...w()], E = () => [- Nd,+ Yp,"none","subgrid",- X,- Y+ J,+ q], D = () => ["auto",{ span: ["full",- Nd,- X,- Y+ Yp,+ J,+ q] },- Nd,- X,- Y+ Yp,+ J,+ q], O = () => [- Nd,+ Yp,"auto",- X,- Y+ J,+ q], k = () => ["auto","min","max","fr",- X,- Y+ J,+ q], A = () => ["start","end",@@ -17165,15 +19171,15 @@ var vu = /* @__PURE__ */ m(((e) => {"baseline","center-safe","end-safe"- ], ee = () => [+ ], j = () => ["start","end","center","stretch","center-safe","end-safe"- ], j = () => ["auto", ...w()], te = () => [- Md,+ ], M = () => ["auto", ...w()], N = () => [+ Jp,"auto","full","dvw",@@ -17186,9 +19192,9 @@ var vu = /* @__PURE__ */ m(((e) => {"max","fit",...w()- ], M = () => [+ ], ee = () => [s,- Md,+ Jp,"screen","full","dvw",@@ -17198,8 +19204,8 @@ var vu = /* @__PURE__ */ m(((e) => {"max","fit",...w()- ], ne = () => [- Md,+ ], P = () => [+ Jp,"screen","full","lh",@@ -17210,50 +19216,50 @@ var vu = /* @__PURE__ */ m(((e) => {"max","fit",...w()- ], N = () => [+ ], F = () => [e,- X,- Y- ], re = () => [+ J,+ q+ ], te = () => [...b(),- $d,- Jd,- { position: [X, Y] }- ], ie = () => ["no-repeat", { repeat: [+ hm,+ um,+ { position: [J, q] }+ ], ne = () => ["no-repeat", { repeat: ["","x","y","space","round"- ] }], ae = () => [+ ] }], re = () => ["auto","cover","contain",- ef,- Ud,- { size: [X, Y] }- ], oe = () => [- Pd,- Zd,- Wd- ], se = () => [+ gm,+ am,+ { size: [J, q] }+ ], ie = () => [+ Xp,+ pm,+ om+ ], ae = () => ["","none","full",l,- X,- Y- ], ce = () => [- "",J,- Zd,- Wd- ], le = () => [+ q+ ], oe = () => [+ "",+ K,+ pm,+ om+ ], se = () => ["solid","dashed","dotted","double"- ], ue = () => [+ ], ce = () => ["normal","multiply","screen",@@ -17270,33 +19276,33 @@ var vu = /* @__PURE__ */ m(((e) => {"saturation","color","luminosity"- ], de = () => [- J,- Pd,- $d,- Jd- ], fe = () => [+ ], le = () => [+ K,+ Xp,+ hm,+ um+ ], ue = () => ["","none",m,- X,- Y- ], pe = () => [+ J,+ q+ ], de = () => ["none",+ K,J,- X,- Y- ], me = () => [+ q+ ], fe = () => ["none",+ K,J,- X,- Y- ], P = () => [+ q+ ], I = () => [+ K,J,- X,- Y- ], F = () => [- Md,+ q+ ], L = () => [+ Jp,"full",...w()];@@ -17310,17 +19316,17 @@ var vu = /* @__PURE__ */ m(((e) => {"bounce"],aspect: ["video"],- blur: [Fd],- breakpoint: [Fd],- color: [Id],- container: [Fd],- "drop-shadow": [Fd],+ blur: [Zp],+ breakpoint: [Zp],+ color: [Qp],+ container: [Zp],+ "drop-shadow": [Zp],ease: ["in","out","in-out"],- font: [Vd],+ font: [rm],"font-weight": ["thin","extralight",@@ -17332,7 +19338,7 @@ var vu = /* @__PURE__ */ m(((e) => {"extrabold","black"],- "inset-shadow": [Fd],+ "inset-shadow": [Zp],leading: ["none","tight",@@ -17349,11 +19355,11 @@ var vu = /* @__PURE__ */ m(((e) => {"distant","none"],- radius: [Fd],- shadow: [Fd],- spacing: ["px", J],- text: [Fd],- "text-shadow": [Fd],+ radius: [Zp],+ shadow: [Zp],+ spacing: ["px", K],+ text: [Zp],+ "text-shadow": [Zp],tracking: ["tighter","tight",@@ -17367,9 +19373,9 @@ var vu = /* @__PURE__ */ m(((e) => {aspect: [{ aspect: ["auto","square",- Md,- Y,- X,+ Jp,+ q,+ J,g] }],container: ["container"],@@ -17377,15 +19383,15 @@ var vu = /* @__PURE__ */ m(((e) => {"","normal","size",- X,- Y+ J,+ q] }],- "container-named": [Hd],+ "container-named": [im],columns: [{ columns: [- J,+ K,"auto",- Y,- X,+ q,+ J,s] }],"break-after": [{ "break-after": y() }],@@ -17482,13 +19488,13 @@ var vu = /* @__PURE__ */ m(((e) => {"collapse"],z: [{ z: [- Nd,+ Yp,"auto",- X,- Y+ J,+ q] }],basis: [{ basis: [- Md,+ Jp,"full","auto",s,@@ -17506,32 +19512,32 @@ var vu = /* @__PURE__ */ m(((e) => {"wrap-reverse"] }],flex: [{ flex: [- J,- Md,+ K,+ Jp,"auto","initial","none",- Y+ q] }],grow: [{ grow: ["",+ K,J,- X,- Y+ q] }],shrink: [{ shrink: ["",+ K,J,- X,- Y+ q] }],order: [{ order: [- Nd,+ Yp,"first","last","none",- X,- Y+ J,+ q] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -17554,18 +19560,18 @@ var vu = /* @__PURE__ */ m(((e) => {"gap-x": [{ "gap-x": w() }],"gap-y": [{ "gap-y": w() }],"justify-content": [{ justify: [...A(), "normal"] }],- "justify-items": [{ "justify-items": [...ee(), "normal"] }],- "justify-self": [{ "justify-self": ["auto", ...ee()] }],+ "justify-items": [{ "justify-items": [...j(), "normal"] }],+ "justify-self": [{ "justify-self": ["auto", ...j()] }],"align-content": [{ content: ["normal", ...A()] }],- "align-items": [{ items: [...ee(), { baseline: ["", "last"] }] }],+ "align-items": [{ items: [...j(), { baseline: ["", "last"] }] }],"align-self": [{ self: ["auto",- ...ee(),+ ...j(),{ baseline: ["", "last"] }] }],"place-content": [{ "place-content": A() }],- "place-items": [{ "place-items": [...ee(), "baseline"] }],- "place-self": [{ "place-self": ["auto", ...ee()] }],+ "place-items": [{ "place-items": [...j(), "baseline"] }],+ "place-self": [{ "place-self": ["auto", ...j()] }],p: [{ p: w() }],px: [{ px: w() }],py: [{ py: w() }],@@ -17577,38 +19583,38 @@ var vu = /* @__PURE__ */ m(((e) => {pr: [{ pr: w() }],pb: [{ pb: w() }],pl: [{ pl: w() }],- 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() }],+ 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() }],"space-x": [{ "space-x": w() }],"space-x-reverse": ["space-x-reverse"],"space-y": [{ "space-y": w() }],"space-y-reverse": ["space-y-reverse"],- size: [{ size: te() }],- "inline-size": [{ inline: ["auto", ...M()] }],- "min-inline-size": [{ "min-inline": ["auto", ...M()] }],- "max-inline-size": [{ "max-inline": ["none", ...M()] }],- "block-size": [{ block: ["auto", ...ne()] }],- "min-block-size": [{ "min-block": ["auto", ...ne()] }],- "max-block-size": [{ "max-block": ["none", ...ne()] }],+ 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", ...P()] }],+ "min-block-size": [{ "min-block": ["auto", ...P()] }],+ "max-block-size": [{ "max-block": ["none", ...P()] }],w: [{ w: [s,"screen",- ...te()+ ...N()] }],"min-w": [{ "min-w": [s,"screen","none",- ...te()+ ...N()] }],"max-w": [{ "max-w": [s,@@ -17616,37 +19622,37 @@ var vu = /* @__PURE__ */ m(((e) => {"none","prose",{ screen: [o] },- ...te()+ ...N()] }],h: [{ h: ["screen","lh",- ...te()+ ...N()] }],"min-h": [{ "min-h": ["screen","lh","none",- ...te()+ ...N()] }],"max-h": [{ "max-h": ["screen","lh","none",- ...te()+ ...N()] }],"font-size": [{ text: ["base",n,- Zd,- Wd+ pm,+ om] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- rf,- Kd+ ym,+ cm] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -17658,15 +19664,15 @@ var vu = /* @__PURE__ */ m(((e) => {"expanded","extra-expanded","ultra-expanded",- Pd,- Y+ Xp,+ q] }],"font-family": [{ font: [- Qd,- qd,+ mm,+ lm,t] }],- "font-features": [{ "font-features": [Y] }],+ "font-features": [{ "font-features": [q] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -17675,14 +19681,14 @@ var vu = /* @__PURE__ */ m(((e) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- X,- Y+ J,+ q] }],"line-clamp": [{ "line-clamp": [- J,+ K,"none",- X,- Gd+ J,+ sm] }],leading: [{ leading: ["none",@@ -17691,16 +19697,16 @@ var vu = /* @__PURE__ */ m(((e) => {] }],"list-image": [{ "list-image": ["none",- X,- Y+ J,+ q] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- X,- Y+ J,+ q] }],"text-alignment": [{ text: ["left",@@ -17710,28 +19716,28 @@ var vu = /* @__PURE__ */ m(((e) => {"start","end"] }],- "placeholder-color": [{ placeholder: N() }],- "text-color": [{ text: N() }],+ "placeholder-color": [{ placeholder: F() }],+ "text-color": [{ text: F() }],"text-decoration": ["underline","overline","line-through","no-underline"],- "text-decoration-style": [{ decoration: [...le(), "wavy"] }],+ "text-decoration-style": [{ decoration: [...se(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- J,+ K,"from-font","auto",- X,- Wd+ J,+ om] }],- "text-decoration-color": [{ decoration: N() }],+ "text-decoration-color": [{ decoration: F() }],"underline-offset": [{ "underline-offset": [- J,+ K,"auto",- X,- Y+ J,+ q] }],"text-transform": ["uppercase",@@ -17752,9 +19758,9 @@ var vu = /* @__PURE__ */ m(((e) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- Nd,- X,- Y+ Yp,+ J,+ q] }],"vertical-align": [{ align: ["baseline",@@ -17765,8 +19771,8 @@ var vu = /* @__PURE__ */ m(((e) => {"text-bottom","sub","super",- X,- Y+ J,+ q] }],whitespace: [{ whitespace: ["normal",@@ -17794,8 +19800,8 @@ var vu = /* @__PURE__ */ m(((e) => {] }],content: [{ content: ["none",- X,- Y+ J,+ q] }],"bg-attachment": [{ bg: ["fixed",@@ -17813,9 +19819,9 @@ var vu = /* @__PURE__ */ m(((e) => {"padding","content"] }],- "bg-position": [{ bg: re() }],- "bg-repeat": [{ bg: ie() }],- "bg-size": [{ bg: ae() }],+ "bg-position": [{ bg: te() }],+ "bg-repeat": [{ bg: ne() }],+ "bg-size": [{ bg: re() }],"bg-image": [{ bg: ["none",{@@ -17830,142 +19836,142 @@ var vu = /* @__PURE__ */ m(((e) => {"l","tl"] },- Nd,- X,- Y+ Yp,+ J,+ q],radial: ["",- X,- Y+ J,+ q],conic: ["",- Nd,- X,- Y+ Yp,+ J,+ q]},- tf,- Yd+ _m,+ dm] }],- "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: se() }],- "rounded-s": [{ "rounded-s": se() }],- "rounded-e": [{ "rounded-e": se() }],- "rounded-t": [{ "rounded-t": se() }],- "rounded-r": [{ "rounded-r": se() }],- "rounded-b": [{ "rounded-b": se() }],- "rounded-l": [{ "rounded-l": se() }],- "rounded-ss": [{ "rounded-ss": se() }],- "rounded-se": [{ "rounded-se": se() }],- "rounded-ee": [{ "rounded-ee": se() }],- "rounded-es": [{ "rounded-es": se() }],- "rounded-tl": [{ "rounded-tl": se() }],- "rounded-tr": [{ "rounded-tr": se() }],- "rounded-br": [{ "rounded-br": se() }],- "rounded-bl": [{ "rounded-bl": se() }],- "border-w": [{ border: ce() }],- "border-w-x": [{ "border-x": ce() }],- "border-w-y": [{ "border-y": ce() }],- "border-w-s": [{ "border-s": ce() }],- "border-w-e": [{ "border-e": ce() }],- "border-w-bs": [{ "border-bs": ce() }],- "border-w-be": [{ "border-be": ce() }],- "border-w-t": [{ "border-t": ce() }],- "border-w-r": [{ "border-r": ce() }],- "border-w-b": [{ "border-b": ce() }],- "border-w-l": [{ "border-l": ce() }],- "divide-x": [{ "divide-x": ce() }],+ "bg-color": [{ bg: F() }],+ "gradient-from-pos": [{ from: ie() }],+ "gradient-via-pos": [{ via: ie() }],+ "gradient-to-pos": [{ to: ie() }],+ "gradient-from": [{ from: F() }],+ "gradient-via": [{ via: F() }],+ "gradient-to": [{ to: F() }],+ rounded: [{ rounded: ae() }],+ "rounded-s": [{ "rounded-s": ae() }],+ "rounded-e": [{ "rounded-e": ae() }],+ "rounded-t": [{ "rounded-t": ae() }],+ "rounded-r": [{ "rounded-r": ae() }],+ "rounded-b": [{ "rounded-b": ae() }],+ "rounded-l": [{ "rounded-l": ae() }],+ "rounded-ss": [{ "rounded-ss": ae() }],+ "rounded-se": [{ "rounded-se": ae() }],+ "rounded-ee": [{ "rounded-ee": ae() }],+ "rounded-es": [{ "rounded-es": ae() }],+ "rounded-tl": [{ "rounded-tl": ae() }],+ "rounded-tr": [{ "rounded-tr": ae() }],+ "rounded-br": [{ "rounded-br": ae() }],+ "rounded-bl": [{ "rounded-bl": ae() }],+ "border-w": [{ border: oe() }],+ "border-w-x": [{ "border-x": oe() }],+ "border-w-y": [{ "border-y": oe() }],+ "border-w-s": [{ "border-s": oe() }],+ "border-w-e": [{ "border-e": oe() }],+ "border-w-bs": [{ "border-bs": oe() }],+ "border-w-be": [{ "border-be": oe() }],+ "border-w-t": [{ "border-t": oe() }],+ "border-w-r": [{ "border-r": oe() }],+ "border-w-b": [{ "border-b": oe() }],+ "border-w-l": [{ "border-l": oe() }],+ "divide-x": [{ "divide-x": oe() }],"divide-x-reverse": ["divide-x-reverse"],- "divide-y": [{ "divide-y": ce() }],+ "divide-y": [{ "divide-y": oe() }],"divide-y-reverse": ["divide-y-reverse"],"border-style": [{ border: [- ...le(),+ ...se(),"hidden","none"] }],"divide-style": [{ divide: [- ...le(),+ ...se(),"hidden","none"] }],- "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() }],+ "border-color": [{ border: F() }],+ "border-color-x": [{ "border-x": F() }],+ "border-color-y": [{ "border-y": F() }],+ "border-color-s": [{ "border-s": F() }],+ "border-color-e": [{ "border-e": F() }],+ "border-color-bs": [{ "border-bs": F() }],+ "border-color-be": [{ "border-be": F() }],+ "border-color-t": [{ "border-t": F() }],+ "border-color-r": [{ "border-r": F() }],+ "border-color-b": [{ "border-b": F() }],+ "border-color-l": [{ "border-l": F() }],+ "divide-color": [{ divide: F() }],"outline-style": [{ outline: [- ...le(),+ ...se(),"none","hidden"] }],"outline-offset": [{ "outline-offset": [+ K,J,- X,- Y+ q] }],"outline-w": [{ outline: ["",- J,- Zd,- Wd+ K,+ pm,+ om] }],- "outline-color": [{ outline: N() }],+ "outline-color": [{ outline: F() }],shadow: [{ shadow: ["","inner","none",u,- nf,- Xd+ vm,+ fm] }],- "shadow-color": [{ shadow: N() }],+ "shadow-color": [{ shadow: F() }],"inset-shadow": [{ "inset-shadow": ["none",d,- nf,- Xd+ vm,+ fm] }],- "inset-shadow-color": [{ "inset-shadow": N() }],- "ring-w": [{ ring: ce() }],+ "inset-shadow-color": [{ "inset-shadow": F() }],+ "ring-w": [{ ring: oe() }],"ring-w-inset": ["ring-inset"],- "ring-color": [{ ring: N() }],- "ring-offset-w": [{ "ring-offset": [J, Wd] }],- "ring-offset-color": [{ "ring-offset": N() }],- "inset-ring-w": [{ "inset-ring": ce() }],- "inset-ring-color": [{ "inset-ring": N() }],+ "ring-color": [{ ring: F() }],+ "ring-offset-w": [{ "ring-offset": [K, om] }],+ "ring-offset-color": [{ "ring-offset": F() }],+ "inset-ring-w": [{ "inset-ring": oe() }],+ "inset-ring-color": [{ "inset-ring": F() }],"text-shadow": [{ "text-shadow": ["none",f,- nf,- Xd+ vm,+ fm] }],- "text-shadow-color": [{ "text-shadow": N() }],+ "text-shadow-color": [{ "text-shadow": F() }],opacity: [{ opacity: [+ K,J,- X,- Y+ q] }],"mix-blend": [{ "mix-blend": [- ...ue(),+ ...ce(),"plus-darker","plus-lighter"] }],- "bg-blend": [{ "bg-blend": ue() }],+ "bg-blend": [{ "bg-blend": ce() }],"mask-clip": [{ "mask-clip": ["border","padding",@@ -17980,51 +19986,51 @@ var vu = /* @__PURE__ */ m(((e) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [J] }],- "mask-image-linear-from-pos": [{ "mask-linear-from": de() }],- "mask-image-linear-to-pos": [{ "mask-linear-to": de() }],- "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": de() }],- "mask-image-t-to-pos": [{ "mask-t-to": de() }],- "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": de() }],- "mask-image-r-to-pos": [{ "mask-r-to": de() }],- "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": de() }],- "mask-image-b-to-pos": [{ "mask-b-to": de() }],- "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": de() }],- "mask-image-l-to-pos": [{ "mask-l-to": de() }],- "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": de() }],- "mask-image-x-to-pos": [{ "mask-x-to": de() }],- "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": de() }],- "mask-image-y-to-pos": [{ "mask-y-to": de() }],- "mask-image-y-from-color": [{ "mask-y-from": N() }],- "mask-image-y-to-color": [{ "mask-y-to": N() }],- "mask-image-radial": [{ "mask-radial": [X, Y] }],- "mask-image-radial-from-pos": [{ "mask-radial-from": de() }],- "mask-image-radial-to-pos": [{ "mask-radial-to": de() }],- "mask-image-radial-from-color": [{ "mask-radial-from": N() }],- "mask-image-radial-to-color": [{ "mask-radial-to": N() }],+ "mask-image-linear-pos": [{ "mask-linear": [K] }],+ "mask-image-linear-from-pos": [{ "mask-linear-from": le() }],+ "mask-image-linear-to-pos": [{ "mask-linear-to": le() }],+ "mask-image-linear-from-color": [{ "mask-linear-from": F() }],+ "mask-image-linear-to-color": [{ "mask-linear-to": F() }],+ "mask-image-t-from-pos": [{ "mask-t-from": le() }],+ "mask-image-t-to-pos": [{ "mask-t-to": le() }],+ "mask-image-t-from-color": [{ "mask-t-from": F() }],+ "mask-image-t-to-color": [{ "mask-t-to": F() }],+ "mask-image-r-from-pos": [{ "mask-r-from": le() }],+ "mask-image-r-to-pos": [{ "mask-r-to": le() }],+ "mask-image-r-from-color": [{ "mask-r-from": F() }],+ "mask-image-r-to-color": [{ "mask-r-to": F() }],+ "mask-image-b-from-pos": [{ "mask-b-from": le() }],+ "mask-image-b-to-pos": [{ "mask-b-to": le() }],+ "mask-image-b-from-color": [{ "mask-b-from": F() }],+ "mask-image-b-to-color": [{ "mask-b-to": F() }],+ "mask-image-l-from-pos": [{ "mask-l-from": le() }],+ "mask-image-l-to-pos": [{ "mask-l-to": le() }],+ "mask-image-l-from-color": [{ "mask-l-from": F() }],+ "mask-image-l-to-color": [{ "mask-l-to": F() }],+ "mask-image-x-from-pos": [{ "mask-x-from": le() }],+ "mask-image-x-to-pos": [{ "mask-x-to": le() }],+ "mask-image-x-from-color": [{ "mask-x-from": F() }],+ "mask-image-x-to-color": [{ "mask-x-to": F() }],+ "mask-image-y-from-pos": [{ "mask-y-from": le() }],+ "mask-image-y-to-pos": [{ "mask-y-to": le() }],+ "mask-image-y-from-color": [{ "mask-y-from": F() }],+ "mask-image-y-to-color": [{ "mask-y-to": F() }],+ "mask-image-radial": [{ "mask-radial": [J, q] }],+ "mask-image-radial-from-pos": [{ "mask-radial-from": le() }],+ "mask-image-radial-to-pos": [{ "mask-radial-to": le() }],+ "mask-image-radial-from-color": [{ "mask-radial-from": F() }],+ "mask-image-radial-to-color": [{ "mask-radial-to": F() }],"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": [J] }],- "mask-image-conic-from-pos": [{ "mask-conic-from": de() }],- "mask-image-conic-to-pos": [{ "mask-conic-to": de() }],- "mask-image-conic-from-color": [{ "mask-conic-from": N() }],- "mask-image-conic-to-color": [{ "mask-conic-to": N() }],+ "mask-image-conic-pos": [{ "mask-conic": [K] }],+ "mask-image-conic-from-pos": [{ "mask-conic-from": le() }],+ "mask-image-conic-to-pos": [{ "mask-conic-to": le() }],+ "mask-image-conic-from-color": [{ "mask-conic-from": F() }],+ "mask-image-conic-to-color": [{ "mask-conic-to": F() }],"mask-mode": [{ mask: ["alpha","luminance",@@ -18038,117 +20044,117 @@ var vu = /* @__PURE__ */ m(((e) => {"stroke","view"] }],- "mask-position": [{ mask: re() }],- "mask-repeat": [{ mask: ie() }],- "mask-size": [{ mask: ae() }],+ "mask-position": [{ mask: te() }],+ "mask-repeat": [{ mask: ne() }],+ "mask-size": [{ mask: re() }],"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- X,- Y+ J,+ q] }],filter: [{ filter: ["","none",- X,- Y+ J,+ q] }],- blur: [{ blur: fe() }],+ blur: [{ blur: ue() }],brightness: [{ brightness: [+ K,J,- X,- Y+ q] }],contrast: [{ contrast: [+ K,J,- X,- Y+ q] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- nf,- Xd+ vm,+ fm] }],- "drop-shadow-color": [{ "drop-shadow": N() }],+ "drop-shadow-color": [{ "drop-shadow": F() }],grayscale: [{ grayscale: ["",+ K,J,- X,- Y+ q] }],"hue-rotate": [{ "hue-rotate": [+ K,J,- X,- Y+ q] }],invert: [{ invert: ["",+ K,J,- X,- Y+ q] }],saturate: [{ saturate: [+ K,J,- X,- Y+ q] }],sepia: [{ sepia: ["",+ K,J,- X,- Y+ q] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- X,- Y+ J,+ q] }],- "backdrop-blur": [{ "backdrop-blur": fe() }],+ "backdrop-blur": [{ "backdrop-blur": ue() }],"backdrop-brightness": [{ "backdrop-brightness": [+ K,J,- X,- Y+ q] }],"backdrop-contrast": [{ "backdrop-contrast": [+ K,J,- X,- Y+ q] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",+ K,J,- X,- Y+ q] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [+ K,J,- X,- Y+ q] }],"backdrop-invert": [{ "backdrop-invert": ["",+ K,J,- X,- Y+ q] }],"backdrop-opacity": [{ "backdrop-opacity": [+ K,J,- X,- Y+ q] }],"backdrop-saturate": [{ "backdrop-saturate": [+ K,J,- X,- Y+ q] }],"backdrop-sepia": [{ "backdrop-sepia": ["",+ K,J,- X,- Y+ q] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -18164,56 +20170,56 @@ var vu = /* @__PURE__ */ m(((e) => {"shadow","transform","none",- X,- Y+ J,+ q] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- J,+ K,"initial",- X,- Y+ J,+ q] }],ease: [{ ease: ["linear","initial",_,- X,- Y+ J,+ q] }],delay: [{ delay: [+ K,J,- X,- Y+ q] }],animate: [{ animate: ["none",v,- X,- Y+ J,+ q] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- X,- Y+ J,+ q] }],"perspective-origin": [{ "perspective-origin": x() }],- rotate: [{ rotate: pe() }],- "rotate-x": [{ "rotate-x": pe() }],- "rotate-y": [{ "rotate-y": pe() }],- "rotate-z": [{ "rotate-z": pe() }],- scale: [{ scale: me() }],- "scale-x": [{ "scale-x": me() }],- "scale-y": [{ "scale-y": me() }],- "scale-z": [{ "scale-z": me() }],+ rotate: [{ rotate: de() }],+ "rotate-x": [{ "rotate-x": de() }],+ "rotate-y": [{ "rotate-y": de() }],+ "rotate-z": [{ "rotate-z": de() }],+ scale: [{ scale: fe() }],+ "scale-x": [{ "scale-x": fe() }],+ "scale-y": [{ "scale-y": fe() }],+ "scale-z": [{ "scale-z": fe() }],"scale-3d": ["scale-3d"],- skew: [{ skew: P() }],- "skew-x": [{ "skew-x": P() }],- "skew-y": [{ "skew-y": P() }],+ skew: [{ skew: I() }],+ "skew-x": [{ "skew-x": I() }],+ "skew-y": [{ "skew-y": I() }],transform: [{ transform: [- X,- Y,+ J,+ q,"","none","gpu",@@ -18221,19 +20227,19 @@ var vu = /* @__PURE__ */ m(((e) => {] }],"transform-origin": [{ origin: x() }],"transform-style": [{ transform: ["3d", "flat"] }],- translate: [{ translate: F() }],- "translate-x": [{ "translate-x": F() }],- "translate-y": [{ "translate-y": F() }],- "translate-z": [{ "translate-z": F() }],+ translate: [{ translate: L() }],+ "translate-x": [{ "translate-x": L() }],+ "translate-y": [{ "translate-y": L() }],+ "translate-z": [{ "translate-z": L() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- Nd,- X,- Y+ Yp,+ J,+ q] }],- accent: [{ accent: N() }],+ accent: [{ accent: F() }],appearance: [{ appearance: ["none", "auto"] }],- "caret-color": [{ caret: N() }],+ "caret-color": [{ caret: F() }],"color-scheme": [{ scheme: ["normal","dark",@@ -18279,8 +20285,8 @@ var vu = /* @__PURE__ */ m(((e) => {"nwse-resize","zoom-in","zoom-out",- X,- Y+ J,+ q] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -18291,8 +20297,8 @@ var vu = /* @__PURE__ */ m(((e) => {"x"] }],"scroll-behavior": [{ scroll: ["auto", "smooth"] }],- "scrollbar-thumb-color": [{ "scrollbar-thumb": N() }],- "scrollbar-track-color": [{ "scrollbar-track": N() }],+ "scrollbar-thumb-color": [{ "scrollbar-thumb": F() }],+ "scrollbar-track-color": [{ "scrollbar-track": F() }],"scrollbar-gutter": [{ "scrollbar-gutter": ["auto","stable",@@ -18366,17 +20372,17 @@ var vu = /* @__PURE__ */ m(((e) => {"scroll","contents","transform",- X,- Y+ J,+ q] }],- fill: [{ fill: ["none", ...N()] }],+ fill: [{ fill: ["none", ...F()] }],"stroke-w": [{ stroke: [- J,- Zd,- Wd,- Gd+ K,+ pm,+ om,+ sm] }],- stroke: [{ stroke: ["none", ...N()] }],+ stroke: [{ stroke: ["none", ...F()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]},conflictingClassGroups: {@@ -18632,16 +20638,16 @@ var vu = /* @__PURE__ */ m(((e) => {"selection"]};-}, gf = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (_f(e, "cacheSize", t), _f(e, "prefix", n), _f(e, "experimentalParseClassName", r), vf(e.theme, a.theme), vf(e.classGroups, a.classGroups), vf(e.conflictingClassGroups, a.conflictingClassGroups), vf(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), _f(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), _f(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), yf(e.theme, i.theme), yf(e.classGroups, i.classGroups), yf(e.conflictingClassGroups, i.conflictingClassGroups), yf(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), bf(e, i, "postfixLookupClassGroups"), bf(e, i, "orderSensitiveModifiers"), e), _f = (e, t, n) => {+}, jm = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Mm(e, "cacheSize", t), Mm(e, "prefix", n), Mm(e, "experimentalParseClassName", r), Nm(e.theme, a.theme), Nm(e.classGroups, a.classGroups), Nm(e.conflictingClassGroups, a.conflictingClassGroups), Nm(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Mm(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Mm(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Pm(e.theme, i.theme), Pm(e.classGroups, i.classGroups), Pm(e.conflictingClassGroups, i.conflictingClassGroups), Pm(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Fm(e, i, "postfixLookupClassGroups"), Fm(e, i, "orderSensitiveModifiers"), e), Mm = (e, t, n) => {n !== void 0 && (e[t] = n);-}, vf = (e, t) => {- if (t) for (let n in t) _f(e, n, t[n]);-}, yf = (e, t) => {- if (t) for (let n in t) bf(e, t, n);-}, bf = (e, t, n) => {+}, Nm = (e, t) => {+ if (t) for (let n in t) Mm(e, n, t[n]);+}, Pm = (e, t) => {+ if (t) for (let n in t) Fm(e, t, n);+}, Fm = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, xf = (e, ...t) => typeof e == "function" ? xd(hf, e, ...t) : xd(() => gf(hf(), e), ...t), Sf = [+}, Im = (e, ...t) => typeof e == "function" ? Lp(Am, e, ...t) : Lp(() => jm(Am(), e), ...t), Lm = ["large-title","display-1","display-2",@@ -18655,18 +20661,18 @@ var vu = /* @__PURE__ */ m(((e) => {"body-2","caption-1","caption-2"-], Cf = [+], Rm = ["regular","medium","semibold","bold"-], Z = xf({ extend: { classGroups: { "font-size": [{ text: Sf.flatMap((e) => Cf.map((t) => `${e}-${t}`)) }] } } });-function wf(e) {+], Y = Im({ extend: { classGroups: { "font-size": [{ text: Lm.flatMap((e) => Rm.map((t) => `${e}-${t}`)) }] } } });+function zm(e) {return e;}//#endregion//#region src/react/boardui/components/base/badges/chip.tsx-var Tf = wf({+var Bm = zm({base: "inline-flex items-center justify-center rounded-md px-1.5 whitespace-nowrap transition-[padding,font-size] duration-200 ease",variant: {bold: "py-0.5 text-body-medium",@@ -18685,22 +20691,22 @@ var Tf = wf({soft: "bg-background-secondary-default text-text-secondary"}});-function Ef({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {- return /* @__PURE__ */ (0, S.jsx)("span", {+function Vm({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+ return /* @__PURE__ */ (0, C.jsx)("span", {ref: r,- className: Z(Tf.base, Tf.variant[e], Tf.color[t], n),+ className: Y(Bm.base, Bm.variant[e], Bm.color[t], n),...i});}//#endregion//#region src/api.ts-var Df = class extends Error {+var Hm = class extends Error {status;body;constructor(e, t, n = null) {- super(r(e, t)), this.name = "ApiError", this.status = t, this.body = n;+ super(i(e, t)), this.name = "ApiError", this.status = t, this.body = n;}-}, Of = (e) => {+}, Um = (e) => {if (!e || typeof e != "object") return "";let t = e;for (let e of [@@ -18712,8 +20718,8 @@ var Df = class extends Error {if (typeof n == "string" && n) return n;}return "";-}, kf = (e) => r(e);-async function Af(e, t) {+}, Wm = (e) => i(e);+async function Gm(e, t) {let n = await fetch(e, {headers: { Accept: "application/json" },credentials: "same-origin",@@ -18722,10 +20728,10 @@ async function Af(e, t) {try {r = await n.json();} catch {}- if (!n.ok) throw new Df(Of(r) || `请求失败(${n.status})`, n.status);+ if (!n.ok) throw new Hm(Um(r) || `请求失败(${n.status})`, n.status);return r;}-async function jf(e, t, n = "POST", r) {+async function Km(e, t, n = "POST", r) {let i = await fetch(e, {method: n,...r ? { signal: r } : {},@@ -18739,28 +20745,28 @@ async function jf(e, t, n = "POST", r) {try {a = await i.json();} catch {}- if (!i.ok) throw new Df(Of(a) || `请求失败(${i.status})`, i.status, a);+ if (!i.ok) throw new Hm(Um(a) || `请求失败(${i.status})`, i.status, a);return a;}//#endregion//#region src/react/components/empty-state.tsx-function Mf({ icon: e, title: t, actions: n, children: r }) {- return /* @__PURE__ */ (0, S.jsxs)("div", {+function qm({ icon: e, title: t, actions: n, children: r }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col items-center gap-2 rounded-2xl border border-separator-border px-6 py-12 text-center",children: [- /* @__PURE__ */ (0, S.jsx)(e, {+ /* @__PURE__ */ (0, C.jsx)(e, {"aria-hidden": !0,className: "size-6 text-text-tertiary"}),- /* @__PURE__ */ (0, S.jsx)("h3", {+ /* @__PURE__ */ (0, C.jsx)("h3", {className: "text-headline-medium text-text-primary",children: t}),- /* @__PURE__ */ (0, S.jsx)("p", {+ /* @__PURE__ */ (0, C.jsx)("p", {className: "max-w-prose text-body-2-regular text-text-secondary",children: r}),- n ? /* @__PURE__ */ (0, S.jsx)("div", {+ n ? /* @__PURE__ */ (0, C.jsx)("div", {className: "mt-2 flex flex-wrap justify-center gap-2",children: n}) : null@@ -18769,57 +20775,57 @@ function Mf({ icon: e, title: t, actions: n, children: r }) {}//#endregion//#region src/react/components/loading-dots.tsx-function Nf({ label: e }) {- return /* @__PURE__ */ (0, S.jsxs)("p", {+function Jm({ label: e }) {+ return /* @__PURE__ */ (0, C.jsxs)("p", {role: "status",className: "flex items-center gap-2 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, S.jsxs)("span", {+ children: [/* @__PURE__ */ (0, C.jsxs)("span", {"aria-hidden": !0,className: "inline-flex items-center gap-1",children: [- /* @__PURE__ */ (0, S.jsx)("i", { className: "dot-wave-0 size-1 rounded-full bg-current" }),- /* @__PURE__ */ (0, S.jsx)("i", { className: "dot-wave-1 size-1 rounded-full bg-current" }),- /* @__PURE__ */ (0, S.jsx)("i", { className: "dot-wave-2 size-1 rounded-full bg-current" })+ /* @__PURE__ */ (0, C.jsx)("i", { className: "dot-wave-0 size-1 rounded-full bg-current" }),+ /* @__PURE__ */ (0, C.jsx)("i", { className: "dot-wave-1 size-1 rounded-full bg-current" }),+ /* @__PURE__ */ (0, C.jsx)("i", { className: "dot-wave-2 size-1 rounded-full bg-current" })]}), e]});}//#endregion//#region src/react/components/note.tsx-function Pf({ tone: e, title: t, extra: n, children: r }) {- let i = /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [- t ? /* @__PURE__ */ (0, S.jsx)("p", {+function Ym({ tone: e, title: t, extra: n, children: r }) {+ let i = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [+ t ? /* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-medium",children: t}) : null,- /* @__PURE__ */ (0, S.jsx)("p", {+ /* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-2-regular",children: r}),n] });switch (e) {- case "info": return /* @__PURE__ */ (0, S.jsx)("div", {+ case "info": return /* @__PURE__ */ (0, C.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: i});- case "success": return /* @__PURE__ */ (0, S.jsx)("div", {+ case "success": return /* @__PURE__ */ (0, C.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: i});- case "warning": return /* @__PURE__ */ (0, S.jsx)("div", {+ case "warning": return /* @__PURE__ */ (0, C.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: i});- case "error": return /* @__PURE__ */ (0, S.jsx)("div", {+ case "error": return /* @__PURE__ */ (0, C.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: i});- default: return /* @__PURE__ */ (0, S.jsx)("div", {+ default: return /* @__PURE__ */ (0, C.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: i@@ -18828,17 +20834,17 @@ function Pf({ tone: e, title: t, extra: n, children: r }) {}//#endregion//#region src/react/components/page.tsx-function Ff({ children: e }) {- return /* @__PURE__ */ (0, S.jsx)("div", {+function Xm({ children: e }) {+ return /* @__PURE__ */ (0, C.jsx)("div", {className: "mx-auto flex w-full max-w-board flex-col gap-8",children: e});}//#endregion//#region src/react/components/progress.tsx-function If({ label: e, value: t, max: n = 100, stops: r = [] }) {+function Zm({ label: e, value: t, max: n = 100, stops: r = [] }) {let i = Math.min(Math.max(t, 0), n);- return /* @__PURE__ */ (0, S.jsxs)("svg", {+ return /* @__PURE__ */ (0, C.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,@@ -18848,17 +20854,17 @@ function If({ label: e, value: t, max: n = 100, stops: r = [] }) {preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [- /* @__PURE__ */ (0, S.jsx)("rect", {+ /* @__PURE__ */ (0, C.jsx)("rect", {width: n,height: 1,className: "fill-background-tertiary-default"}),- /* @__PURE__ */ (0, S.jsx)("rect", {+ /* @__PURE__ */ (0, C.jsx)("rect", {width: i,height: 1,className: "fill-border-focus-ring"}),- r.map((e) => /* @__PURE__ */ (0, S.jsx)("rect", {+ r.map((e) => /* @__PURE__ */ (0, C.jsx)("rect", {x: e,width: .4,height: 1,@@ -18869,32 +20875,32 @@ function If({ label: e, value: t, max: n = 100, stops: r = [] }) {}//#endregion//#region src/react/query.ts-var Lf = new Ze({ defaultOptions: { queries: {+var Qm = new Xe({ defaultOptions: { queries: {networkMode: "always",retry: 0,refetchOnWindowFocus: !1,refetchOnMount: !1,retryOnMount: !1-} } }), Rf = "/api/tasks", zf = ["tasks"], Bf = 2e3, Vf = 1e4, Q = (e) => e?.running.length ? Bf : Vf, Hf = (e) => Af(Rf, e);-async function Uf(e) {- await Lf.fetchQuery({- queryKey: zf,- queryFn: () => Hf(e)+} } }), $m = "/api/tasks", eh = ["tasks"], th = 2e3, nh = 1e4, rh = (e) => e?.running.length ? th : nh, ih = (e) => Gm($m, e);+async function ah(e) {+ await Qm.fetchQuery({+ queryKey: eh,+ queryFn: () => ih(e)});}-var Wf = {+var oh = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, Gf = {+}, sh = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "被打断"-}, Kf = (e) => Gf[e] || e, qf = {+}, ch = (e) => sh[e] || e, lh = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -18914,14 +20920,14 @@ var Wf = {exit_code: "退出码",issue_count: "问题"};-function Jf(e) {+function uh(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;let n = Math.floor(t / 60);return n < 60 ? `${n} 分 ${t % 60} 秒` : `${Math.floor(n / 60)} 小时 ${n % 60} 分`;}-function Yf(e) {+function dh(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -18931,65 +20937,65 @@ function Yf(e) {minute: "2-digit"});}-function Xf(e) {- return Object.entries(e || {}).filter(([e, t]) => e !== "blocked_by" && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${qf[e] || e} ${t}`).join(" · ");+function fh(e) {+ return Object.entries(e || {}).filter(([e, t]) => e !== "blocked_by" && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${lh[e] || e} ${t}`).join(" · ");}//#endregion//#region src/react/activity/activity-page.tsx-var Zf = {+var ph = {succeeded: "lime",failed: "rose",cancelled: "yellow",interrupted: "yellow"};-function Qf({ status: e }) {- return /* @__PURE__ */ (0, S.jsx)(Ef, {- color: Zf[e] ?? "neutral",- children: Kf(e)+function mh({ status: e }) {+ return /* @__PURE__ */ (0, C.jsx)(Vm, {+ color: ph[e] ?? "neutral",+ children: ch(e)});}-function $f({ run: e, meta: t, children: n, footer: r }) {- return /* @__PURE__ */ (0, S.jsxs)("li", {+function hh({ run: e, meta: t, children: n, footer: r }) {+ return /* @__PURE__ */ (0, C.jsxs)("li", {"data-status": e.status,"data-task-key": e.task_key,className: e.status === "failed" ? "flex flex-col rounded-2xl border border-border-error-default" : "flex flex-col rounded-2xl border border-separator-border",- children: [/* @__PURE__ */ (0, S.jsxs)("div", {+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-1.5 px-5 pt-5 pb-4",children: [- /* @__PURE__ */ (0, S.jsxs)("div", {+ /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, S.jsx)("strong", {+ children: [/* @__PURE__ */ (0, C.jsx)("strong", {className: "min-w-0 break-words text-title-1-medium text-text-primary",children: e.task_label- }), /* @__PURE__ */ (0, S.jsx)(Qf, { status: e.status })]+ }), /* @__PURE__ */ (0, C.jsx)(mh, { status: e.status })]}),- /* @__PURE__ */ (0, S.jsx)("p", {+ /* @__PURE__ */ (0, C.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: t}),n]- }), r ? /* @__PURE__ */ (0, S.jsx)("div", {+ }), r ? /* @__PURE__ */ (0, C.jsx)("div", {className: "border-t border-separator-border px-5 py-3",- children: /* @__PURE__ */ (0, S.jsx)("p", {+ children: /* @__PURE__ */ (0, C.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: r})}) : null]});}-function ep({ run: e }) {- let t = e.progress_total || 0, n = e.progress_current || 0, r = e.progress_label || "正在进行", i = Jf(e.elapsed_seconds), a = [Wf[e.trigger] || e.trigger, i && `已跑 ${i}`].filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, S.jsx)($f, {+function gh({ run: e }) {+ let t = e.progress_total || 0, n = e.progress_current || 0, r = e.progress_label || "正在进行", i = uh(e.elapsed_seconds), a = [oh[e.trigger] || e.trigger, i && `已跑 ${i}`].filter(Boolean).join(" · ");+ return /* @__PURE__ */ (0, C.jsx)(hh, {run: e,meta: a,- children: t > 0 ? /* @__PURE__ */ (0, S.jsxs)("div", {+ children: t > 0 ? /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, S.jsx)(If, {+ children: [/* @__PURE__ */ (0, C.jsx)(Zm, {label: r,value: n,max: t- }), /* @__PURE__ */ (0, S.jsxs)("p", {+ }), /* @__PURE__ */ (0, C.jsxs)("p", {className: "text-caption-1-regular text-text-secondary",children: [r,@@ -19000,100 +21006,100 @@ function ep({ run: e }) {" 项"]})]- }) : /* @__PURE__ */ (0, S.jsx)(Nf, { label: r })+ }) : /* @__PURE__ */ (0, C.jsx)(Jm, { label: r })});}-function tp({ run: e }) {- let t = Xf(e.result_summary), n = Jf(e.elapsed_seconds), r = [- Wf[e.trigger] || e.trigger,- Yf(e.finished_at),+function _h({ run: e }) {+ let t = fh(e.result_summary), n = uh(e.elapsed_seconds), r = [+ oh[e.trigger] || e.trigger,+ dh(e.finished_at),n && `用时 ${n}`].filter(Boolean).join(" · ");- return /* @__PURE__ */ (0, S.jsx)($f, {+ return /* @__PURE__ */ (0, C.jsx)(hh, {run: e,meta: r,footer: e.error,- children: t ? /* @__PURE__ */ (0, S.jsx)("p", {+ children: t ? /* @__PURE__ */ (0, C.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: t}) : null});}-function np({ title: e, children: t }) {- let n = (0, x.useId)();- return /* @__PURE__ */ (0, S.jsxs)("section", {+function vh({ title: e, children: t }) {+ let n = (0, S.useId)();+ return /* @__PURE__ */ (0, C.jsxs)("section", {"aria-labelledby": n,className: "flex min-w-0 flex-col gap-3",- children: [/* @__PURE__ */ (0, S.jsx)("h3", {+ children: [/* @__PURE__ */ (0, C.jsx)("h3", {id: n,className: "text-title-2-semibold text-text-primary",children: e}), t]});}-function rp({ live: e = !1, children: t }) {- return /* @__PURE__ */ (0, S.jsx)("ul", {+function yh({ live: e = !1, children: t }) {+ return /* @__PURE__ */ (0, C.jsx)("ul", {"aria-live": e ? "polite" : void 0,className: "flex min-w-0 flex-col gap-3",children: t});}-function ip(e) {- let t = ut({- queryKey: zf,- queryFn: ({ signal: e }) => Hf(e),- refetchInterval: (e) => Q(e.state.data)- }), n = t.data, r = t.error ? kf(t.error) : "";- if (!n) return /* @__PURE__ */ (0, S.jsx)(Ff, { children: /* @__PURE__ */ (0, S.jsx)(Pf, {+function bh(e) {+ let t = lt({+ queryKey: eh,+ queryFn: ({ signal: e }) => ih(e),+ refetchInterval: (e) => rh(e.state.data)+ }), n = t.data, r = t.error ? Wm(t.error) : "";+ if (!n) return /* @__PURE__ */ (0, C.jsx)(Xm, { children: /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",children: r || "读取任务中心失败"}) });let i = n.running || [], a = n.skipped || [], o = (n.finished || []).filter((e) => !a.some((t) => t.id === e.id)), s = !i.length && !a.length && !o.length;- return /* @__PURE__ */ (0, S.jsxs)(Ff, { children: [- r ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ return /* @__PURE__ */ (0, C.jsxs)(Xm, { children: [+ r ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",children: r}) : null,- n.available === !1 ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ n.available === !1 ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "warning",children: n.message || "账本上还没有任务中心的表"}) : null,- s ? /* @__PURE__ */ (0, S.jsx)(Mf, {- icon: Fu,+ s ? /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: Wf,title: "还没有任务记录",children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"- }) : /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [- /* @__PURE__ */ (0, S.jsx)(np, {+ }) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [+ /* @__PURE__ */ (0, C.jsx)(vh, {title: "正在进行",- children: i.length ? /* @__PURE__ */ (0, S.jsx)(rp, {+ children: i.length ? /* @__PURE__ */ (0, C.jsx)(yh, {live: !0,- children: i.map((e) => /* @__PURE__ */ (0, S.jsx)(ep, { run: e }, e.id))- }) : /* @__PURE__ */ (0, S.jsx)("p", {+ children: i.map((e) => /* @__PURE__ */ (0, C.jsx)(gh, { run: e }, e.id))+ }) : /* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "没有任务在跑。"})}),- a.length ? /* @__PURE__ */ (0, S.jsx)(np, {+ a.length ? /* @__PURE__ */ (0, C.jsx)(vh, {title: "被挡下的",- children: /* @__PURE__ */ (0, S.jsx)(rp, { children: a.map((e) => /* @__PURE__ */ (0, S.jsx)(tp, { run: e }, e.id)) })+ children: /* @__PURE__ */ (0, C.jsx)(yh, { children: a.map((e) => /* @__PURE__ */ (0, C.jsx)(_h, { run: e }, e.id)) })}) : null,- o.length ? /* @__PURE__ */ (0, S.jsx)(np, {+ o.length ? /* @__PURE__ */ (0, C.jsx)(vh, {title: "最近完成",- children: /* @__PURE__ */ (0, S.jsx)(rp, { children: o.map((e) => /* @__PURE__ */ (0, S.jsx)(tp, { run: e }, e.id)) })+ children: /* @__PURE__ */ (0, C.jsx)(yh, { children: o.map((e) => /* @__PURE__ */ (0, C.jsx)(_h, { run: e }, e.id)) })}) : null] })] });}//#endregion//#region node_modules/react-aria-components/dist/private/utils.mjs-var ap = Symbol("default");-function op({ values: e, children: t }) {- for (let [n, r] of e) t = /*#__PURE__*/ x.createElement(n.Provider, { value: r }, t);+var xh = Symbol("default");+function Sh({ values: e, children: t }) {+ for (let [n, r] of e) t = /*#__PURE__*/ S.createElement(n.Provider, { value: r }, t);return t;}-function sp(e) {+function Ch(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;- return (0, x.useMemo)(() => {+ return (0, S.useMemo)(() => {let e, l, u;return e = typeof t == "function" ? t({...s,@@ -19125,11 +21131,11 @@ function sp(e) {c]);}-function cp(e, t) {- let n = (0, x.useContext)(e);+function wh(e, t) {+ let n = (0, S.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || ap;+ let e = t || xh;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}.`);@@ -19138,8 +21144,8 @@ function cp(e, t) {}return n;}-function lp(e, t, n) {- let { ref: r, ...i } = cp(n, e.slot) || {}, a = Fr((0, x.useMemo)(() => gr(t, r), [t, r])), o = V(i, e);+function Th(e, t, n) {+ let { ref: r, ...i } = wh(n, e.slot) || {}, a = Rr((0, S.useMemo)(() => yr(t, r), [t, r])), o = V(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,@@ -19157,56 +21163,56 @@ function lp(e, t, n) {...e.style}), [o, a];}-function up(e = !0) {- let [t, n] = (0, x.useState)(e), r = (0, x.useRef)(!1), i = (0, x.useCallback)((e) => {+function Eh(e = !0) {+ let [t, n] = (0, S.useState)(e), r = (0, S.useRef)(!1), i = (0, S.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return B(() => {+ return Yt(() => {r.current || n(!1);}, []), [i, t];}-function dp(e) {+function Dh(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function fp(e, t, n) {- let { render: r, ...i } = t, a = (0, x.useRef)(null), o = (0, x.useMemo)(() => gr(n, a), [n, a]);- B(() => {}, [e, r]);+function Oh(e, t, n) {+ let { render: r, ...i } = t, a = (0, S.useRef)(null), o = (0, S.useMemo)(() => yr(n, a), [n, a]);+ Yt(() => {}, [e, r]);let s = {...i,ref: o};- return r ? r(s, void 0) : /*#__PURE__*/ x.createElement(e, s);+ return r ? r(s, void 0) : /*#__PURE__*/ S.createElement(e, s);}-var pp = {}, mp = new Proxy({}, { get(e, t) {+var kh = {}, X = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = pp[t];- return n || (n = /*#__PURE__*/ (0, x.forwardRef)(fp.bind(null, t)), pp[t] = n), n;-} }), hp = /*#__PURE__*/ (0, x.createContext)(null), gp = /*#__PURE__*/ (0, x.createContext)(null), _p = /*#__PURE__*/ (0, x.createContext)(null), vp = {+ let n = kh[t];+ return n || (n = /*#__PURE__*/ (0, S.forwardRef)(Oh.bind(null, t)), kh[t] = n), n;+} }), Ah = /*#__PURE__*/ (0, S.createContext)(null), jh = /*#__PURE__*/ (0, S.createContext)(null), Mh = /*#__PURE__*/ (0, S.createContext)(null), Nh = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return yp(e, null, t);+ return Ph(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return yp(e, t, n);+ return Ph(e, t, n);}};-function yp(e, t, n) {- return xt({+function Ph(e, t, n) {+ return bt({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {- if (t.type === "content") return /*#__PURE__*/ x.createElement(x.Fragment, null);+ if (t.type === "content") return /*#__PURE__*/ S.createElement(S.Fragment, null);let r = t.render(t);- return !n || t.type !== "item" ? r : /*#__PURE__*/ x.createElement(x.Fragment, null, n({+ return !n || t.type !== "item" ? r : /*#__PURE__*/ S.createElement(S.Fragment, null, n({type: "item",key: t.key,dropPosition: "before"- }), r, bp(e, t, n));+ }), r, Fh(e, t, n));}});}-function bp(e, t, n) {+function Fh(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);@@ -19220,30 +21226,30 @@ function bp(e, t, n) {key: r.key,dropPosition: "after"});- /*#__PURE__*/ (0, x.isValidElement)(t) && s.push(/*#__PURE__*/ (0, x.cloneElement)(t, { key: `${r.key}-after` })), r = r.parentKey == null ? null : e.getItem(r.parentKey);+ /*#__PURE__*/ (0, S.isValidElement)(t) && s.push(/*#__PURE__*/ (0, S.cloneElement)(t, { key: `${r.key}-after` })), r = r.parentKey == null ? null : e.getItem(r.parentKey);}}return s;}-var xp = /*#__PURE__*/ (0, x.createContext)(vp);-function Sp(e) {- return (0, x.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);+var Ih = /*#__PURE__*/ (0, S.createContext)(Nh);+function Lh(e) {+ return (0, S.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}//#endregion//#region node_modules/react-aria-components/dist/private/Label.mjs-var Cp = /*#__PURE__*/ (0, x.createContext)({}), wp = /*#__PURE__*/ Hr(function(e, t) {- [e, t] = lp(e, t, Cp);- let { elementType: n = "label", ...r } = e, i = mp[n];- return /*#__PURE__*/ x.createElement(i, {+var Rh = /*#__PURE__*/ (0, S.createContext)({}), zh = /*#__PURE__*/ Gr(function(e, t) {+ [e, t] = Th(e, t, Rh);+ let { elementType: n = "label", ...r } = e, i = X[n];+ return /*#__PURE__*/ S.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), Tp = /*#__PURE__*/ (0, x.createContext)(null), Ep = /*#__PURE__*/ (0, x.createContext)({}), Dp = /*#__PURE__*/ Hr(function(e, t) {- [e, t] = lp(e, t, Ep);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Ca(e, t);- i = kp(i, r);- let { focusProps: o, isFocused: s, isFocusVisible: c } = _c(e), { hoverProps: l, isHovered: u } = wc({+}), Bh = /*#__PURE__*/ (0, S.createContext)(null), Vh = /*#__PURE__*/ (0, S.createContext)({}), Hh = /*#__PURE__*/ Gr(function(e, t) {+ [e, t] = Th(e, t, Vh);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Da(e, t);+ i = Wh(i, r);+ let { focusProps: o, isFocused: s, isFocusVisible: c } = wc(e), { hoverProps: l, isHovered: u } = jc({...e,isDisabled: e.isDisabled || r}), d = {@@ -19253,24 +21259,24 @@ var Cp = /*#__PURE__*/ (0, x.createContext)({}), wp = /*#__PURE__*/ Hr(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = sp({+ }, f = Ch({...e,values: d,defaultClassName: "react-aria-Button"- }), p = pr(i.id), m = pr(), h = i["aria-labelledby"];+ }), p = gr(i.id), m = gr(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));- let g = (0, x.useRef)(r);- (0, x.useEffect)(() => {+ let g = (0, S.useRef)(r);+ (0, S.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && to(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && ao(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = H(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ x.createElement(mp.button, {+ let _ = U(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ S.createElement(X.button, {...V(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -19284,62 +21290,62 @@ var Cp = /*#__PURE__*/ (0, x.createContext)({}), wp = /*#__PURE__*/ Hr(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ x.createElement(Tp.Provider, { value: { id: m } }, f.children));-}), Op = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function kp(e, t) {+ }, /*#__PURE__*/ S.createElement(Bh.Provider, { value: { id: m } }, f.children));+}), Uh = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function Wh(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !Op.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !Uh.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 Ap = /*#__PURE__*/ (0, x.createContext)({}), jp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- [e, t] = lp(e, t, Ap);- let { children: n, level: r = 3, className: i, ...a } = e, o = mp[`h${r}`];- return /*#__PURE__*/ x.createElement(o, {+var Gh = /*#__PURE__*/ (0, S.createContext)({}), Kh = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ [e, t] = Th(e, t, Gh);+ let { children: n, level: r = 3, className: i, ...a } = e, o = X[`h${r}`];+ return /*#__PURE__*/ S.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), Mp = /*#__PURE__*/ (0, x.createContext)({}), Np = /*#__PURE__*/ Hr(function(e, t) {- [e, t] = lp(e, t, Mp);- let { elementType: n = "span", ...r } = e, i = mp[n];- return /*#__PURE__*/ x.createElement(i, {+}), qh = /*#__PURE__*/ (0, S.createContext)({}), Jh = /*#__PURE__*/ Gr(function(e, t) {+ [e, t] = Th(e, t, qh);+ let { elementType: n = "span", ...r } = e, i = X[n];+ return /*#__PURE__*/ S.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), Pp = /*#__PURE__*/ (0, x.createContext)(null), Fp = /*#__PURE__*/ (0, x.createContext)(null), Ip = /*#__PURE__*/ (0, x.createContext)(null), Lp = /*#__PURE__*/ (0, x.createContext)(null), Rp = /*#__PURE__*/ (0, x.createContext)(null);-function zp(e, t) {- let { validationBehavior: n } = cp(Fp) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, x.useContext)(Lp), a = Fr((0, x.useMemo)(() => gr(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...dp(e),+}), Yh = /*#__PURE__*/ (0, S.createContext)(null), Xh = /*#__PURE__*/ (0, S.createContext)(null), Zh = /*#__PURE__*/ (0, S.createContext)(null), Qh = /*#__PURE__*/ (0, S.createContext)(null), $h = /*#__PURE__*/ (0, S.createContext)(null), eg = /*#__PURE__*/ (0, S.createContext)(null);+function tg(e, t) {+ let { validationBehavior: n } = wh(Xh) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useContext)($h), a = Rr((0, S.useMemo)(() => yr(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...Dh(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? zo(o, i, a) : Mo(o, W(e), a), a];+ return [i ? Wo(o, i, a) : Lo(o, Uo(e), a), a];}-var Bp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {+var ng = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = lp(r, t, Ip);- let [i, a] = zp(e, n);- return /*#__PURE__*/ x.createElement(Rp.Provider, { value: {+ [e, t] = Th(r, t, Zh);+ let [i, a] = tg(e, n);+ return /*#__PURE__*/ S.createElement(eg.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ x.createElement(Vp, {+ } }, /*#__PURE__*/ S.createElement(rg, {...e,ref: t}));-}), Vp = /*#__PURE__*/ (0, x.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, x.useContext)(Rp), { isFocused: p, isFocusVisible: m, focusProps: h } = _c(), g = a || o, { hoverProps: _, isHovered: v } = wc({+}), rg = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isIndeterminate: d, isRequired: f } = (0, S.useContext)(eg), { isFocused: p, isFocusVisible: m, focusProps: h } = wc(), g = a || o, { hoverProps: _, isHovered: v } = jc({...e,isDisabled: g- }), y = sp({+ }), y = Ch({...e,defaultClassName: u,values: {@@ -19354,8 +21360,8 @@ var Bp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = H(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ x.createElement(mp.label, {+ }), b = U(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(X.label, {...V(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -19369,20 +21375,20 @@ var Bp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {"data-readonly": o || void 0,"data-invalid": c || void 0,"data-required": f || void 0- }, /*#__PURE__*/ x.createElement(Uo, { elementType: "span" }, /*#__PURE__*/ x.createElement("input", {+ }, /*#__PURE__*/ S.createElement(Jo, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {...V(r, h),ref: l})), y.children);-}), Hp = /*#__PURE__*/ (0, x.createContext)({}), Up = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- [e, t] = lp(e, t, Hp);+}), ig = /*#__PURE__*/ (0, S.createContext)({}), ag = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ [e, t] = Th(e, t, ig);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 } = wc({+ let { hoverProps: l, isHovered: u } = jc({onHoverStart: a,onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = _c({ within: !0 }), m = sp({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = wc({ within: !0 }), m = Ch({...e,values: {isHovered: u,@@ -19393,7 +21399,7 @@ var Bp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ x.createElement(mp.div, {+ return /*#__PURE__*/ S.createElement(X.div, {...V(c, p, l),...m,ref: t,@@ -19406,18 +21412,18 @@ var Bp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), Wp = /*#__PURE__*/ (0, x.createContext)({}), Gp = (e) => {+}), og = /*#__PURE__*/ (0, S.createContext)({}), sg = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Kp = /*#__PURE__*/ Hr(function(e, t) {- [e, t] = lp(e, t, Wp);- let { hoverProps: n, isHovered: r } = wc({+}, cg = /*#__PURE__*/ Gr(function(e, t) {+ [e, t] = Th(e, t, og);+ let { hoverProps: n, isHovered: r } = jc({...e,isDisabled: e.disabled- }), { isFocused: i, isFocusVisible: a, focusProps: o } = _c({+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = wc({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = sp({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = Ch({...e,values: {isHovered: r,@@ -19428,8 +21434,8 @@ var Bp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ x.createElement(mp.input, {- ...V(Gp(e), o, n),+ return /*#__PURE__*/ S.createElement(X.input, {+ ...V(sg(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -19438,8 +21444,8 @@ var Bp = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), qp = {};-qp = {+}), lg = {};+lg = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",@@ -19447,8 +21453,8 @@ qp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var Jp = {};-Jp = {+var ug = {};+ug = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",@@ -19456,8 +21462,8 @@ Jp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var Yp = {};-Yp = {+var dg = {};+dg = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",@@ -19465,8 +21471,8 @@ Yp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var Xp = {};-Xp = {+var fg = {};+fg = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",@@ -19474,8 +21480,8 @@ Xp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var Zp = {};-Zp = {+var pg = {};+pg = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",@@ -19483,8 +21489,8 @@ Zp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var Qp = {};-Qp = {+var mg = {};+mg = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",@@ -19492,8 +21498,8 @@ Qp = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs-var $p = {};-$p = {+var hg = {};+hg = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",@@ -19501,8 +21507,8 @@ $p = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var em = {};-em = {+var gg = {};+gg = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",@@ -19510,8 +21516,8 @@ em = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var tm = {};-tm = {+var _g = {};+_g = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",@@ -19519,8 +21525,8 @@ tm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var nm = {};-nm = {+var vg = {};+vg = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",@@ -19528,8 +21534,8 @@ nm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var rm = {};-rm = {+var yg = {};+yg = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",@@ -19537,8 +21543,8 @@ rm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var im = {};-im = {+var bg = {};+bg = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",@@ -19546,8 +21552,8 @@ im = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var am = {};-am = {+var xg = {};+xg = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",@@ -19555,8 +21561,8 @@ am = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var om = {};-om = {+var Sg = {};+Sg = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",@@ -19564,8 +21570,8 @@ om = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var sm = {};-sm = {+var Cg = {};+Cg = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",@@ -19573,8 +21579,8 @@ sm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var cm = {};-cm = {+var wg = {};+wg = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",@@ -19582,8 +21588,8 @@ cm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var lm = {};-lm = {+var Tg = {};+Tg = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",@@ -19591,8 +21597,8 @@ lm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var um = {};-um = {+var Eg = {};+Eg = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",@@ -19600,8 +21606,8 @@ um = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var dm = {};-dm = {+var Dg = {};+Dg = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",@@ -19609,262 +21615,1942 @@ dm = {};//#endregion//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var fm = {};-fm = {+var Og = {};+Og = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",tableResizer: "Størrelsesendrer"};//#endregion-//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var pm = {};-pm = {- colorSwatchPicker: "kleurstalen",- dropzoneLabel: "DropZone",- selectPlaceholder: "Selecteer een item",- tableResizer: "Resizer"-};+//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs+var kg = {};+kg = {+ colorSwatchPicker: "kleurstalen",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Selecteer een item",+ tableResizer: "Resizer"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs+var Ag = {};+Ag = {+ colorSwatchPicker: "Próbki kolorów",+ dropzoneLabel: "Strefa upuszczania",+ selectPlaceholder: "Wybierz element",+ tableResizer: "Zmiana rozmiaru"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs+var jg = {};+jg = {+ colorSwatchPicker: "Amostras de cores",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Selecione um item",+ tableResizer: "Redimensionador"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs+var Mg = {};+Mg = {+ colorSwatchPicker: "Amostras de cores",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Selecione um item",+ tableResizer: "Redimensionador"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs+var Ng = {};+Ng = {+ colorSwatchPicker: "Specimene de culoare",+ dropzoneLabel: "Zonă de plasare",+ selectPlaceholder: "Selectați un element",+ tableResizer: "Instrument de redimensionare"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs+var Pg = {};+Pg = {+ colorSwatchPicker: "Цветовые образцы",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Выберите элемент",+ tableResizer: "Средство изменения размера"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs+var Fg = {};+Fg = {+ colorSwatchPicker: "Vzorkovníky farieb",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Vyberte položku",+ tableResizer: "Nástroj na zmenu veľkosti"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs+var Ig = {};+Ig = {+ colorSwatchPicker: "Barvne palete",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Izberite element",+ tableResizer: "Spreminjanje velikosti"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs+var Lg = {};+Lg = {+ colorSwatchPicker: "Uzorci boje",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Izaberite stavku",+ tableResizer: "Promena veličine"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs+var Rg = {};+Rg = {+ colorSwatchPicker: "Färgrutor",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Välj en artikel",+ tableResizer: "Storleksändrare"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs+var zg = {};+zg = {+ colorSwatchPicker: "Renk örnekleri",+ dropzoneLabel: "Bırakma Bölgesi",+ selectPlaceholder: "Bir öğe seçin",+ tableResizer: "Yeniden boyutlandırıcı"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs+var Bg = {};+Bg = {+ colorSwatchPicker: "Зразки кольорів",+ dropzoneLabel: "DropZone",+ selectPlaceholder: "Виберіть елемент",+ tableResizer: "Засіб змінення розміру"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs+var Vg = {};+Vg = {+ colorSwatchPicker: "颜色色板",+ dropzoneLabel: "放置区域",+ selectPlaceholder: "选择一个项目",+ tableResizer: "尺寸调整器"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs+var Hg = {};+Hg = {+ colorSwatchPicker: "色票",+ dropzoneLabel: "放置區",+ selectPlaceholder: "選取項目",+ tableResizer: "大小調整器"+};+//#endregion+//#region node_modules/react-aria-components/dist/private/intlStrings.mjs+var Ug = {};+Ug = {+ "ar-AE": lg,+ "bg-BG": ug,+ "cs-CZ": dg,+ "da-DK": fg,+ "de-DE": pg,+ "el-GR": mg,+ "en-US": hg,+ "es-ES": gg,+ "et-EE": _g,+ "fi-FI": vg,+ "fr-FR": yg,+ "he-IL": bg,+ "hr-HR": xg,+ "hu-HU": Sg,+ "it-IT": Cg,+ "ja-JP": wg,+ "ko-KR": Tg,+ "lt-LT": Eg,+ "lv-LV": Dg,+ "nb-NO": Og,+ "nl-NL": kg,+ "pl-PL": Ag,+ "pt-BR": jg,+ "pt-PT": Mg,+ "ro-RO": Ng,+ "ru-RU": Pg,+ "sk-SK": Fg,+ "sl-SI": Ig,+ "sr-SP": Lg,+ "sv-SE": Rg,+ "tr-TR": zg,+ "uk-UA": Bg,+ "zh-CN": Vg,+ "zh-TW": Hg+};+//#endregion+//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs+var Wg = /*#__PURE__*/ (0, S.createContext)({}), Gg = /*#__PURE__*/ (0, S.createContext)(null), Kg = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { render: n } = (0, S.useContext)(Gg);+ return /*#__PURE__*/ S.createElement(S.Fragment, null, n(e, t));+});+function qg(e, t) {+ let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, S.useCallback)((e) => {+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ S.createElement(Kg, { target: e });+ }, [+ t?.target,+ r,+ n+ ]);+ return e?.useDropIndicator ? i : void 0;+}+function Jg(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;+ if (e != null) {+ let r = n.collection.getItem(i)?.level ?? 0;+ for (; e != null;) {+ let i = n.collection.getItem(e);+ if (!i) break;+ if (i.type !== "item") {+ e = n.collection.getKeyAfter(e);+ continue;+ }+ if ((i.level ?? 0) <= r) break;+ t = e, e = n.collection.getKeyAfter(e);+ }+ }+ i = e ?? t ?? i;+ }+ return (0, S.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Header.mjs+var Yg = /*#__PURE__*/ (0, S.createContext)({}), Xg = /*#__PURE__*/ (0, S.createContext)(null);+function Zg(e) {+ let t = (0, S.useRef)({});+ return /*#__PURE__*/ S.createElement(Xg.Provider, { value: t }, e.children);+}+//#endregion+//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs+var Qg = /*#__PURE__*/ (0, S.createContext)({ isSelected: !1 }), $g = /*#__PURE__*/ (0, S.createContext)({});+(class extends dt {+ static {+ this.type = "separator";+ }+ filter(e, t) {+ let n = t.getItem(this.prevKey);+ if (n && n.type !== "separator") {+ let n = this.clone();+ return t.addDescendants(n, e), n;+ }+ return null;+ }+});+//#endregion+//#region node_modules/react-aria/dist/private/utils/inertValue.mjs+function e_(e) {+ let t = S.version.split(".");+ return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;+}+//#endregion+//#region node_modules/react-stately/dist/private/list/ListCollection.mjs+var t_ = class {+ constructor(e) {+ this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;+ let t = (e) => {+ if (this.keyMap.set(e.key, e), e.childNodes && e.type === "section") for (let n of e.childNodes) t(n);+ };+ for (let n of e) t(n);+ let n = null, r = 0, i = 0;+ for (let [e, t] of this.keyMap) n ? (n.nextKey = e, t.prevKey = n.key) : (this.firstKey = e, t.prevKey = void 0), t.type === "item" && (t.index = r++), (t.type === "section" || t.type === "item") && i++, n = t, n.nextKey = void 0;+ this._size = i, this.lastKey = n?.key ?? null;+ }+ *[Symbol.iterator]() {+ yield* this.iterable;+ }+ get size() {+ return this._size;+ }+ getKeys() {+ return this.keyMap.keys();+ }+ getKeyBefore(e) {+ let t = this.keyMap.get(e);+ return t ? t.prevKey ?? null : null;+ }+ getKeyAfter(e) {+ let t = this.keyMap.get(e);+ return t ? t.nextKey ?? null : null;+ }+ getFirstKey() {+ return this.firstKey;+ }+ getLastKey() {+ return this.lastKey;+ }+ getItem(e) {+ return this.keyMap.get(e) ?? null;+ }+ at(e) {+ let t = [...this.getKeys()];+ return this.getItem(t[e]);+ }+ getChildren(e) {+ return this.keyMap.get(e)?.childNodes || [];+ }+}, n_ = 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 r_(e, t) {+ if (e.size !== t.size) return !1;+ for (let n of e) if (!t.has(n)) return !1;+ return !0;+}+function i_(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, S.useRef)(!1), [, s] = (0, S.useState)(!1), c = (0, S.useRef)(null), l = (0, S.useRef)(null), [, u] = (0, S.useState)(null), [d, f] = Ho((0, S.useMemo)(() => a_(e.selectedKeys), [e.selectedKeys]), (0, S.useMemo)(() => a_(e.defaultSelectedKeys, new n_()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, S.useState)(i);+ i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");+ let g = (0, S.useRef)(i);+ return (0, S.useEffect)(() => {+ i !== g.current && (h(i), g.current = i);+ }, [i]), {+ selectionMode: t,+ disallowEmptySelection: n,+ selectionBehavior: m,+ setSelectionBehavior: h,+ get isFocused() {+ return o.current;+ },+ setFocused(e) {+ o.current = e, s(e);+ },+ get focusedKey() {+ return c.current;+ },+ get childFocusStrategy() {+ return l.current;+ },+ setFocusedKey(e, t = "first") {+ c.current = e, l.current = t, u(e);+ },+ selectedKeys: d,+ setSelectedKeys(e) {+ (r || !r_(e, d)) && f(e);+ },+ disabledKeys: p,+ disabledBehavior: a+ };+}+function a_(e, t) {+ return e ? e === "all" ? "all" : new n_(e) : t;+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var mm = {};-mm = {- colorSwatchPicker: "Próbki kolorów",- dropzoneLabel: "Strefa upuszczania",- selectPlaceholder: "Wybierz element",- tableResizer: "Zmiana rozmiaru"+//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs+var o_ = 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;+ }+ get selectionMode() {+ return this.state.selectionMode;+ }+ get disallowEmptySelection() {+ return this.state.disallowEmptySelection;+ }+ get selectionBehavior() {+ return this.state.selectionBehavior;+ }+ setSelectionBehavior(e) {+ this.state.setSelectionBehavior(e);+ }+ get isFocused() {+ return this.state.isFocused;+ }+ setFocused(e) {+ this.state.setFocused(e);+ }+ get focusedKey() {+ return this.state.focusedKey;+ }+ get childFocusStrategy() {+ return this.state.childFocusStrategy;+ }+ setFocusedKey(e, t) {+ (e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);+ }+ get selectedKeys() {+ return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;+ }+ get rawSelection() {+ return this.state.selectedKeys;+ }+ isSelected(e) {+ if (this.state.selectionMode === "none") return !1;+ let t = this.getKey(e);+ return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);+ }+ get isEmpty() {+ return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;+ }+ get isSelectAll() {+ if (this.isEmpty) return !1;+ if (this.state.selectedKeys === "all") return !0;+ if (this._isSelectAll != null) return this._isSelectAll;+ let e = this.getSelectAllKeys(), t = this.state.selectedKeys;+ return this._isSelectAll = e.every((e) => t.has(e)), this._isSelectAll;+ }+ get firstSelectedKey() {+ let e = null;+ for (let t of this.state.selectedKeys) {+ let n = this.collection.getItem(t);+ (!e || n && uc(this.collection, n, e) < 0) && (e = n);+ }+ return e?.key ?? null;+ }+ get lastSelectedKey() {+ let e = null;+ for (let t of this.state.selectedKeys) {+ let n = this.collection.getItem(t);+ (!e || n && uc(this.collection, n, e) > 0) && (e = n);+ }+ return e?.key ?? null;+ }+ get disabledKeys() {+ return this.state.disabledKeys;+ }+ get disabledBehavior() {+ return this.state.disabledBehavior;+ }+ extendSelection(e) {+ if (this.selectionMode === "none") return;+ if (this.selectionMode === "single") {+ this.replaceSelection(e);+ return;+ }+ let t = this.getKey(e);+ if (t == null) return;+ let n;+ if (this.state.selectedKeys === "all") n = new n_([t], t, t);+ else {+ let e = this.state.selectedKeys, r = e.anchorKey ?? t;+ n = new n_(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);+ }+ this.state.setSelectedKeys(n);+ }+ getKeyRange(e, t) {+ let n = this.collection.getItem(e), r = this.collection.getItem(t);+ return n && r ? uc(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);+ let n = [], r = e;+ for (; r != null;) {+ let e = this.collection.getItem(r);+ if (e && (e.type === "item" || e.type === "cell" && this.allowsCellSelection) && n.push(r), r === t) return n;+ r = this.collection.getKeyAfter(r);+ }+ return [];+ }+ getKey(e) {+ let t = this.collection.getItem(e);+ if (!t || t.type === "cell" && this.allowsCellSelection) return e;+ for (; t && t.type !== "item" && t.parentKey != null;) t = this.collection.getItem(t.parentKey);+ return !t || t.type !== "item" ? null : t.key;+ }+ toggleSelection(e) {+ if (this.selectionMode === "none") return;+ if (this.selectionMode === "single" && !this.isSelected(e)) {+ this.replaceSelection(e);+ return;+ }+ let t = this.getKey(e);+ if (t == null) return;+ let n = new n_(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 n_([t], t, t) : new n_();+ this.state.setSelectedKeys(n);+ }+ setSelectedKeys(e) {+ if (this.selectionMode === "none") return;+ let t = new n_();+ for (let n of e) {+ let e = this.getKey(n);+ if (e != null && (t.add(e), this.selectionMode === "single")) break;+ }+ this.state.setSelectedKeys(t);+ }+ getSelectAllKeys() {+ let e = this.fullCollection ?? this.collection, t = [], n = (r) => {+ 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(sc(oc(i, e))?.key ?? null);+ }+ r = e.getKeyAfter(r);+ }+ };+ return n(e.getFirstKey()), t;+ }+ selectAll() {+ !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 n_());+ }+ toggleSelectAll() {+ this.isSelectAll ? this.clearSelection() : this.selectAll();+ }+ select(e, t) {+ this.selectionMode !== "none" && (this.selectionMode === "single" ? this.isSelected(e) && !this.disallowEmptySelection ? this.toggleSelection(e) : this.replaceSelection(e) : this.selectionBehavior === "toggle" || t && (t.pointerType === "touch" || t.pointerType === "virtual") ? this.toggleSelection(e) : this.replaceSelection(e));+ }+ isSelectionEqual(e) {+ if (e === this.state.selectedKeys) return !0;+ let t = this.selectedKeys;+ if (e.size !== t.size) return !1;+ for (let n of e) if (!t.has(n)) return !1;+ for (let n of t) if (!e.has(n)) return !1;+ return !0;+ }+ canSelectItem(e) {+ return this.canSelectItemIn(e, this.collection);+ }+ canSelectItemIn(e, t) {+ if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;+ let n = t.getItem(e);+ return !(!n || n?.props?.isDisabled || n.type === "cell" && !this.allowsCellSelection);+ }+ isDisabled(e) {+ let t = this.collection.getItem(e);+ return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!t?.props?.isDisabled) && t?.props?.disabledBehavior !== "selection";+ }+ isLink(e) {+ return !!this.collection.getItem(e)?.props?.href;+ }+ getItemProps(e) {+ return this.collection.getItem(e)?.props;+ }+ withCollection(t) {+ return new e(t, this.state, {+ allowsCellSelection: this.allowsCellSelection,+ layoutDelegate: this.layoutDelegate || void 0,+ fullCollection: this.fullCollection ?? this.collection+ });+ }+}, s_ = class {+ build(e, t) {+ return this.context = t, c_(() => this.iterateCollection(e));+ }+ *iterateCollection(e) {+ let { children: t, items: n } = e;+ if (S.isValidElement(t) && t.type === S.Fragment) yield* this.iterateCollection({+ children: t.props.children,+ items: n+ });+ else if (typeof t == "function") {+ if (!n) throw Error("props.children was a function but props.items is missing");+ let e = 0;+ for (let r of n) yield* this.getFullNode({+ value: r,+ index: e+ }, { renderer: t }), e++;+ } else {+ let e = [];+ S.Children.forEach(t, (t) => {+ t && e.push(t);+ });+ let n = 0;+ for (let t of e) {+ let e = this.getFullNode({+ element: t,+ index: n+ }, {});+ for (let t of e) n++, yield t;+ }+ }+ }+ getKey(e, t, n, r) {+ if (e.key != null) return e.key;+ if (t.type === "cell" && t.key != null) return `${r}${t.key}`;+ let i = t.value;+ if (i != null) {+ let e = i.key ?? i.id;+ if (e == null) throw Error("No key found for item");+ return e;+ }+ return r ? `${r}.${t.index}` : `$.${t.index}`;+ }+ getChildState(e, t) {+ return { renderer: t.renderer || e.renderer };+ }+ *getFullNode(e, t, n, r) {+ if (S.isValidElement(e.element) && e.element.type === S.Fragment) {+ let i = [];+ S.Children.forEach(e.element.props.children, (e) => {+ i.push(e);+ });+ let a = e.index ?? 0;+ for (let e of i) yield* this.getFullNode({+ element: e,+ index: a+++ }, t, n, r);+ return;+ }+ let i = e.element;+ if (!i && e.value && t && t.renderer) {+ let n = this.cache.get(e.value);+ if (n && (!n.shouldInvalidate || !n.shouldInvalidate(this.context))) {+ n.index = e.index, n.parentKey = r ? r.key : null, yield n;+ return;+ }+ i = t.renderer(e.value);+ }+ if (S.isValidElement(i)) {+ let a = i.type;+ if (typeof a != "function" && typeof a.getCollectionNode != "function") {+ let e = i.type;+ throw Error(`Unknown element <${e}> in collection.`);+ }+ let o = a.getCollectionNode(i.props, this.context), s = e.index ?? 0, c = o.next();+ for (; !c.done && c.value;) {+ let a = c.value;+ e.index = s;+ let l = a.key ?? null;+ l ??= a.element ? null : this.getKey(i, e, t, n);+ let u = [...this.getFullNode({+ ...a,+ key: l,+ index: s,+ wrapper: l_(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 <${u_(t.type)}> in <${u_(r?.type ?? "unknown parent type")}>. Only <${u_(e.type)}> is supported.`);+ s++, yield t;+ }+ c = o.next(u);+ }+ return;+ }+ if (e.key == null || e.type == null) return;+ let a = this, o = {+ type: e.type,+ props: e.props,+ key: e.key,+ parentKey: r ? r.key : null,+ value: e.value ?? null,+ level: (r?.level ?? 0) + +(r?.type === "item"),+ index: e.index,+ rendered: e.rendered,+ textValue: e.textValue ?? "",+ "aria-label": e["aria-label"],+ wrapper: e.wrapper,+ shouldInvalidate: e.shouldInvalidate,+ hasChildNodes: e.hasChildNodes || !1,+ childNodes: c_(function* () {+ if (!e.hasChildNodes || !e.childNodes) return;+ let n = 0;+ for (let r of e.childNodes()) {+ r.key != null && (r.key = `${o.key}${r.key}`);+ let e = a.getFullNode({+ ...r,+ index: n+ }, a.getChildState(t, r), o.key, o);+ for (let t of e) n++, yield t;+ }+ })+ };+ yield o;+ }+ constructor() {+ this.cache = /* @__PURE__ */ new WeakMap();+ }};+function c_(e) {+ let t = [], n = null;+ return { *[Symbol.iterator]() {+ for (let e of t) yield e;+ n ||= e();+ for (let e of n) t.push(e), yield e;+ } };+}+function l_(e, t) {+ if (e && t) return (n) => e(t(n));+ if (e) return e;+ if (t) return t;+}+function u_(e) {+ return e[0].toUpperCase() + e.slice(1);+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var hm = {};-hm = {- colorSwatchPicker: "Amostras de cores",- dropzoneLabel: "DropZone",- selectPlaceholder: "Selecione um item",- tableResizer: "Redimensionador"-};+//#region node_modules/react-stately/dist/private/collections/useCollection.mjs+function d_(e, t, n) {+ let r = (0, S.useMemo)(() => new s_(), []), { children: i, items: a, collection: o } = e;+ return (0, S.useMemo)(() => o || t(r.build({+ children: i,+ items: a+ }, n)), [+ r,+ i,+ a,+ o,+ n,+ t+ ]);+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var gm = {};-gm = {- colorSwatchPicker: "Amostras de cores",- dropzoneLabel: "DropZone",- selectPlaceholder: "Selecione um item",- tableResizer: "Redimensionador"-};+//#region node_modules/react-stately/dist/private/list/useListState.mjs+function f_(e) {+ let { filter: t, layoutDelegate: n } = e, r = i_(e), i = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = d_(e, (0, S.useCallback)((e) => t ? new t_(t(e)) : new t_(e), [t]), (0, S.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, S.useMemo)(() => new o_(a, r, { layoutDelegate: n }), [+ a,+ r,+ n+ ]);+ return m_(a, o), {+ collection: a,+ disabledKeys: i,+ selectionManager: o+ };+}+function p_(e, t) {+ let n = (0, S.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);+ return m_(n, r), {+ collection: n,+ selectionManager: r,+ disabledKeys: e.disabledKeys+ };+}+function m_(e, t) {+ let n = (0, S.useRef)(null);+ (0, S.useEffect)(() => {+ if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {+ let r = n.current.getKeyAfter(t.focusedKey), i = null;+ for (; r != null;) {+ let a = e.getItem(r);+ if (a && a.type === "item" && !t.isDisabled(r)) {+ i = r;+ break;+ }+ r = n.current.getKeyAfter(r);+ }+ if (i == null) for (r = n.current.getKeyBefore(t.focusedKey); r != null;) {+ let a = e.getItem(r);+ if (a && a.type === "item" && !t.isDisabled(r)) {+ i = r;+ break;+ }+ r = n.current.getKeyBefore(r);+ }+ t.setFocusedKey(i);+ }+ n.current = e;+ }, [e, t]);+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var _m = {};-_m = {- colorSwatchPicker: "Specimene de culoare",- dropzoneLabel: "Zonă de plasare",- selectPlaceholder: "Selectați un element",- tableResizer: "Instrument de redimensionare"-};+//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs+function h_(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, S.useRef)(null), s = Ti((e) => {+ for (let t of e) t.isIntersecting && r && r();+ });+ Yt(() => {+ if (t.current) {+ let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;+ o.current = new IntersectionObserver(s, {+ root: lo(t?.current),+ rootMargin: n+ }), o.current.observe(t.current);+ }+ return () => {+ o.current && o.current.disconnect();+ };+ }, [+ n,+ t,+ i,+ a+ ]);+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var vm = {};-vm = {- colorSwatchPicker: "Цветовые образцы",- dropzoneLabel: "DropZone",- selectPlaceholder: "Выберите элемент",- tableResizer: "Средство изменения размера"-};+//#region node_modules/react-aria-components/dist/private/ListBox.mjs+var g_ = /*#__PURE__*/ (0, S.createContext)(null), __ = /*#__PURE__*/ (0, S.createContext)(null), v_ = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ [e, t] = Th(e, t, g_);+ let n = (0, S.useContext)(__);+ return n ? /*#__PURE__*/ S.createElement(b_, {+ state: n,+ props: e,+ listBoxRef: t+ }) : /*#__PURE__*/ S.createElement(ti, { content: /*#__PURE__*/ S.createElement(pi, e) }, (n) => /*#__PURE__*/ S.createElement(y_, {+ props: e,+ listBoxRef: t,+ collection: n+ }));+});+function y_({ props: e, listBoxRef: t, collection: n }) {+ e = {+ ...e,+ collection: n,+ children: null,+ items: null+ };+ let { layoutDelegate: r } = (0, S.useContext)(Ih), i = f_({+ ...e,+ layoutDelegate: r+ });+ return /*#__PURE__*/ S.createElement(b_, {+ state: i,+ props: e,+ listBoxRef: t+ });+}+function b_({ state: e, props: t, listBoxRef: n }) {+ [t, n] = Th(t, n, Ah);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = p_(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Ri(), { disabledBehavior: p, disabledKeys: m } = l, h = hc({+ usage: "search",+ sensitivity: "base"+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, S.useContext)(Ih), b = (0, S.useMemo)(() => t.keyboardDelegate || new ds({+ collection: c,+ collator: h,+ ref: n,+ disabledKeys: m,+ disabledBehavior: p,+ layout: i,+ orientation: a,+ direction: f,+ layoutDelegate: _+ }), [+ c,+ h,+ n,+ p,+ m,+ a,+ f,+ t.keyboardDelegate,+ i,+ _+ ]), { listBoxProps: x } = Dl({+ ...t,+ shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,+ keyboardDelegate: b,+ isVirtualized: g+ }, s, n);+ (0, S.useRef)(u), (0, S.useRef)(d), (0, S.useEffect)(() => {}, [u, d]);+ let C, w, T, E = !1, D = null, O = (0, S.useRef)(null);+ if (u && r) {+ C = r.useDraggableCollectionState({+ collection: c,+ selectionManager: l,+ preview: r.renderDragPreview ? O : void 0+ }), r.useDraggableCollection({}, C, n);+ let e = r.DragPreview;+ D = r.renderDragPreview ? /*#__PURE__*/ S.createElement(e, { ref: O }, r.renderDragPreview) : null;+ }+ if (d && r) {+ w = r.useDroppableCollectionState({+ collection: c,+ selectionManager: l+ });+ let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(c, n, {+ orientation: a,+ layout: i,+ direction: f+ });+ T = r.useDroppableCollection({+ keyboardDelegate: b,+ dropTargetDelegate: e+ }, w, n), E = w.isDropTarget({ type: "root" });+ }+ let { focusProps: k, isFocused: A, isFocusVisible: j } = wc(), M = s.collection.size === 0, N = {+ isDropTarget: E,+ isEmpty: M,+ isFocused: A,+ isFocusVisible: j,+ layout: t.layout || "stack",+ orientation: a,+ state: s+ }, ee = Ch({+ ...t,+ children: void 0,+ defaultClassName: "react-aria-ListBox",+ values: N+ }), P = null;+ M && t.renderEmptyState && (P = /*#__PURE__*/ S.createElement("div", {+ role: "option",+ style: { display: "contents" }+ }, t.renderEmptyState(N)));+ let F = U(t, { global: !0 });+ return /*#__PURE__*/ S.createElement(Na, null, /*#__PURE__*/ S.createElement(X.div, {+ ...V(F, ee, x, k, 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-layout": t.layout || "stack",+ "data-orientation": a+ }, /*#__PURE__*/ S.createElement(Sh, { values: [+ [g_, t],+ [__, s],+ [Wg, {+ dragAndDropHooks: r,+ dragState: C,+ dropState: w+ }],+ [$g, { elementType: "div" }],+ [Gg, { render: C_ }],+ [Mh, {+ name: "ListBoxSection",+ render: x_+ }]+ ] }, /*#__PURE__*/ S.createElement(Zg, null, /*#__PURE__*/ S.createElement(y, {+ collection: c,+ scrollRef: n,+ persistedKeys: Jg(l, r, w),+ renderDropIndicator: qg(r, w)+ }))), P, D));+}+function x_(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, S.useContext)(__), { dragAndDropHooks: a, dropState: o } = (0, S.useContext)(Wg), { CollectionBranch: s } = (0, S.useContext)(Ih), [c, l] = Eh(), { headingProps: u, groupProps: d } = Ol({+ heading: l,+ "aria-label": e["aria-label"] ?? void 0+ }), f = Ch({+ ...e,+ id: void 0,+ children: void 0,+ defaultClassName: r,+ values: void 0+ }), p = U(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ S.createElement(X.section, {+ ...V(p, f, d),+ ref: t+ }, /*#__PURE__*/ S.createElement(Yg.Provider, { value: {+ ...u,+ ref: c+ } }, /*#__PURE__*/ S.createElement(s, {+ collection: i.collection,+ parent: n,+ renderDropIndicator: qg(a, o)+ })));+}+var S_ = /*#__PURE__*/ li(mt, function(e, t, n) {+ let r = Rr(t), i = (0, S.useContext)(__), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(Wg), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = kl({+ key: n.key,+ "aria-label": e?.["aria-label"]+ }, i, r), { hoverProps: p, isHovered: m } = jc({+ isDisabled: !f.allowsSelection && !f.hasAction && !c,+ onHoverStart: n.props.onHoverStart,+ onHoverChange: n.props.onHoverChange,+ onHoverEnd: n.props.onHoverEnd+ }), { keyboardProps: h } = Lr(e), { focusProps: g } = Cr(e), _ = null;+ o && a && (_ = a.useDraggableItem({+ key: n.key,+ hasAction: f.hasAction+ }, o));+ let v = null;+ s && a && (v = a.useDroppableItem({ target: {+ type: "item",+ key: n.key,+ dropPosition: "on"+ } }, s, r));+ let y = o && o.isDragging(n.key), b = Ch({+ ...e,+ id: void 0,+ children: e.children,+ defaultClassName: "react-aria-ListBoxItem",+ values: {+ ...f,+ isHovered: m,+ selectionMode: i.selectionManager.selectionMode,+ selectionBehavior: i.selectionManager.selectionBehavior,+ allowsDragging: !!o,+ isDragging: y,+ isDropTarget: v?.isDropTarget+ }+ });+ (0, S.useEffect)(() => {+ n.textValue;+ }, [n.textValue]);+ let x = e.href ? X.a : X.div, C = U(e, { global: !0 });+ return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ S.createElement(x, {+ ...V(C, b, l, p, h, g, _?.dragProps, v?.dropProps),+ ref: r,+ "data-allows-dragging": !!o || void 0,+ "data-selected": f.isSelected || void 0,+ "data-disabled": f.isDisabled || void 0,+ "data-hovered": m || void 0,+ "data-focused": f.isFocused || void 0,+ "data-focus-visible": f.isFocusVisible || void 0,+ "data-pressed": f.isPressed || void 0,+ "data-dragging": y || void 0,+ "data-drop-target": v?.isDropTarget || void 0,+ "data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode+ }, /*#__PURE__*/ S.createElement(Sh, { values: [[qh, { slots: {+ [xh]: u,+ label: u,+ description: d+ } }], [Qg, { isSelected: f.isSelected }]] }, b.children));+});+function C_(e, t) {+ t = Rr(t);+ let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(Wg), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ S.createElement(T_, {+ ...e,+ dropIndicatorProps: i,+ isDropTarget: o,+ ref: t+ });+}+function w_(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = Ch({+ ...i,+ defaultClassName: "react-aria-DropIndicator",+ values: { isDropTarget: r }+ });+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(X.div, {+ ...n,+ ...a,+ role: "option",+ ref: t,+ "data-drop-target": r || void 0+ }));+}+var T_ = /*#__PURE__*/ (0, S.forwardRef)(w_);+li(pt, function(e, t, n) {+ let r = (0, S.useContext)(__), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, S.useRef)(null);+ h_((0, S.useMemo)(() => ({+ onLoadMore: a,+ collection: r?.collection,+ sentinelRef: c,+ scrollOffset: o+ }), [+ a,+ o,+ r?.collection+ ]), c);+ let l = Ch({+ ...s,+ id: void 0,+ children: n.rendered,+ defaultClassName: "react-aria-ListBoxLoadingIndicator",+ values: void 0+ });+ return /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement("div", {+ style: {+ position: "relative",+ width: 0,+ height: 0+ },+ inert: e_(!0)+ }, /*#__PURE__*/ S.createElement("div", {+ "data-testid": "loadMoreSentinel",+ ref: c,+ style: {+ position: "absolute",+ height: 1,+ width: 1+ }+ })), i && l.children && /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(X.div, {+ ...V(U(e, { global: !0 }), { tabIndex: -1 }),+ ...l,+ role: "option",+ ref: t+ }, l.children)));+});//#endregion-//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var ym = {};-ym = {- colorSwatchPicker: "Vzorkovníky farieb",- dropzoneLabel: "DropZone",- selectPlaceholder: "Vyberte položku",- tableResizer: "Nástroj na zmenu veľkosti"-};+//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs+var E_ = /*#__PURE__*/ (0, S.createContext)({ placement: "bottom" });//#endregion-//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var bm = {};-bm = {- colorSwatchPicker: "Barvne palete",- dropzoneLabel: "DropZone",- selectPlaceholder: "Izberite element",- tableResizer: "Spreminjanje velikosti"-};+//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs+function D_(e) {+ let [t, n] = Ho(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, S.useState)(null);+ return {+ isOpen: t,+ setOpen: n,+ open: (0, S.useCallback)(() => {+ n(!0);+ }, [n]),+ close: (0, S.useCallback)(() => {+ n(!1);+ }, [n]),+ toggle: (0, S.useCallback)(() => {+ n(!t);+ }, [n, t]),+ point: r,+ setPoint: i+ };+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var xm = {};-xm = {- colorSwatchPicker: "Uzorci boje",- dropzoneLabel: "DropZone",- selectPlaceholder: "Izaberite stavku",- tableResizer: "Promena veličine"-};+//#region node_modules/react-aria/dist/private/utils/animation.mjs+function O_(e, t = !0) {+ let [n, r] = (0, S.useState)(!0), i = n && t;+ return Yt(() => {+ if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();+ }, [e, i]), A_(e, i, (0, S.useCallback)(() => r(!1), [])), i;+}+function k_(e, t) {+ let [n, r] = (0, S.useState)(t ? "open" : "closed");+ switch (n) {+ case "open":+ t || r("exiting");+ break;+ case "closed":+ case "exiting": t && r("open");+ }+ let i = n === "exiting";+ return A_(e, i, (0, S.useCallback)(() => {+ r((e) => e === "exiting" ? "closed" : e);+ }, [])), i;+}+function A_(e, t, n) {+ Yt(() => {+ if (t && e.current) {+ if (!("getAnimations" in e.current)) {+ n();+ return;+ }+ let t = e.current.getAnimations();+ if (t.length === 0) {+ n();+ return;+ }+ let r = !1;+ return Promise.allSettled(t.map((e) => e.finished)).then(() => {+ r || (0, Zr.flushSync)(() => {+ n();+ });+ }), () => {+ r = !0;+ };+ }+ }, [+ e,+ t,+ n+ ]);+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var Sm = {};-Sm = {- colorSwatchPicker: "Färgrutor",- dropzoneLabel: "DropZone",- selectPlaceholder: "Välj en artikel",- tableResizer: "Storleksändrare"-};+//#region node_modules/react-aria-components/dist/private/Popover.mjs+var j_ = /*#__PURE__*/ (0, S.createContext)(null), M_ = /*#__PURE__*/ (0, S.createContext)(null), N_ = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ [e, t] = Th(e, t, j_);+ let n = (0, S.useContext)(I_), r = D_(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = k_(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Kr(), { direction: c } = Ri();+ if (s) {+ let t = e.children;+ return typeof t == "function" && (t = t({+ trigger: e.trigger || null,+ placement: "bottom",+ isEntering: !1,+ isExiting: !1,+ defaultChildren: null+ })), /*#__PURE__*/ S.createElement(S.Fragment, null, t);+ }+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ S.createElement(P_, {+ ...e,+ triggerRef: e.triggerRef,+ state: i,+ popoverRef: t,+ isExiting: o,+ dir: c+ });+});+function P_({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, S.useRef)(null), o = (0, S.useRef)(null), s = (0, S.useContext)(M_), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Qu({+ ...i,+ offset: i.offset ?? 8,+ arrowRef: a,+ groupRef: c ? s : o+ }, e), m = i.popoverRef, h = O_(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = Ch({+ ...i,+ defaultClassName: "react-aria-Popover",+ values: {+ trigger: i.trigger || null,+ placement: f,+ isEntering: g,+ isExiting: t+ }+ }), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, S.useState)(i.trigger === "PreviewTrigger");+ Yt(() => {+ m.current && b(v && !m.current.querySelector("[role=dialog]"));+ }, [m, v]), (0, S.useEffect)(() => {+ y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Qn() !== "pointer") && m.current && !Rt(m.current) && lr(m.current);+ }, [+ y,+ m,+ i.trigger+ ]);+ let x = (0, S.useMemo)(() => {+ let e = _.children;+ if (r) for (let t of r) e = /*#__PURE__*/ S.createElement(t.Provider, { value: null }, e);+ return e;+ }, [_.children, r]), [C, w] = (0, S.useState)(null), T = (0, S.useCallback)(() => {+ i.triggerRef.current && w(i.triggerRef.current.getBoundingClientRect().width + "px");+ }, [i.triggerRef]);+ Yt(T, [T]), jl({+ ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,+ onResize: T+ });+ let E = {+ ...l.style,+ "--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,+ ..._.style,+ "--trigger-width": _.style?.["--trigger-width"] || C+ }, D = /*#__PURE__*/ S.createElement(X.div, {+ ...V(U(i, { global: !0 }), l),+ ..._,+ id: y ? i.id : void 0,+ role: y ? "dialog" : void 0,+ tabIndex: y ? -1 : void 0,+ "aria-label": i["aria-label"],+ "aria-labelledby": i["aria-labelledby"],+ ref: m,+ slot: i.slot || void 0,+ style: E,+ dir: i.dir,+ "data-trigger": i.trigger,+ "data-placement": f,+ "data-entering": g || void 0,+ "data-exiting": t || void 0+ }, !i.isNonModal && /*#__PURE__*/ S.createElement(mu, { onDismiss: e.close }), /*#__PURE__*/ S.createElement(E_.Provider, { value: {+ ...d,+ placement: f,+ ref: a+ } }, x), /*#__PURE__*/ S.createElement(mu, { onDismiss: e.close }));+ return c ? /*#__PURE__*/ S.createElement(xc, {+ ...i,+ shouldContainFocus: y && i.trigger !== "PreviewTrigger",+ isExiting: t,+ portalContainer: n ?? s?.current ?? void 0+ }, D) : /*#__PURE__*/ S.createElement(xc, {+ ...i,+ shouldContainFocus: y && i.trigger !== "PreviewTrigger",+ isExiting: t,+ portalContainer: n+ }, !i.isNonModal && e.isOpen && /*#__PURE__*/ S.createElement("div", {+ "data-testid": "underlay",+ ...u,+ style: {+ position: "fixed",+ inset: 0+ }+ }), /*#__PURE__*/ S.createElement("div", {+ ref: o,+ style: { display: "contents" }+ }, /*#__PURE__*/ S.createElement(M_.Provider, { value: o }, D)));+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var Cm = {};-Cm = {- colorSwatchPicker: "Renk örnekleri",- dropzoneLabel: "Bırakma Bölgesi",- selectPlaceholder: "Bir öğe seçin",- tableResizer: "Yeniden boyutlandırıcı"-};+//#region node_modules/react-aria-components/dist/private/Dialog.mjs+var F_ = /*#__PURE__*/ (0, S.createContext)(null), I_ = /*#__PURE__*/ (0, S.createContext)(null), L_ = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let n = e["aria-labelledby"];+ [e, t] = Th(e, t, F_);+ let { dialogProps: r, titleProps: i, contentProps: a } = Cc({+ ...e,+ "aria-labelledby": n+ }, t), o = (0, S.useContext)(I_);+ !r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);+ let s = Ch({+ defaultClassName: "react-aria-Dialog",+ className: e.className,+ style: e.style,+ children: e.children,+ values: { close: o?.close || (() => {}) }+ }), c = U(e, { global: !0 });+ return /*#__PURE__*/ S.createElement(X.section, {+ ...V(c, s, r),+ render: e.render,+ ref: t,+ slot: e.slot || void 0+ }, /*#__PURE__*/ S.createElement(Sh, { values: [+ [Gh, { slots: {+ [xh]: {},+ title: {+ ...i,+ level: 2+ }+ } }],+ [qh, { slots: {+ [xh]: {},+ description: a+ } }],+ [Vh, { slots: {+ [xh]: {},+ close: { onPress: () => o?.close() }+ } }]+ ] }, s.children));+}), R_ = typeof document < "u" && window.visualViewport;+function z_() {+ let e = Pn(), [t, n] = (0, S.useState)(() => e ? {+ width: 0,+ height: 0+ } : B_());+ return (0, S.useEffect)(() => {+ let e = (e) => {+ n((t) => e.width === t.width && e.height === t.height ? t : e);+ }, t = () => {+ R_ && R_.scale > 1 || e(B_());+ }, r, i = (t) => {+ R_ && R_.scale > 1 || Ci(B(t)) && (r = requestAnimationFrame(() => {+ let t = It();+ (!t || !Ci(t)) && e({+ width: document.documentElement.clientWidth,+ height: document.documentElement.clientHeight+ });+ }));+ };+ return e(B_()), cn() && un() && window.addEventListener("blur", i, !0), R_ ? R_.addEventListener("resize", t) : window.addEventListener("resize", t), () => {+ cancelAnimationFrame(r), cn() && un() && window.removeEventListener("blur", i, !0), R_ ? R_.removeEventListener("resize", t) : window.removeEventListener("resize", t);+ };+ }, []), t;+}+function B_() {+ return {+ width: R_ ? Math.min(R_.width * R_.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: R_ ? R_.height * R_.scale : document.documentElement.clientHeight+ };+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var wm = {};-wm = {- colorSwatchPicker: "Зразки кольорів",- dropzoneLabel: "DropZone",- selectPlaceholder: "Виберіть елемент",- tableResizer: "Засіб змінення розміру"-};+//#region node_modules/react-aria-components/dist/private/Modal.mjs+var V_ = /*#__PURE__*/ (0, S.createContext)(null), H_ = /*#__PURE__*/ (0, S.createContext)(null), U_ = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ if ((0, S.useContext)(H_)) return /*#__PURE__*/ S.createElement(q_, {+ ...e,+ modalRef: t+ }, e.children);+ let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;+ return /*#__PURE__*/ S.createElement(G_, {+ isDismissable: n,+ isKeyboardDismissDisabled: r,+ isOpen: i,+ defaultOpen: a,+ onOpenChange: o,+ isEntering: c,+ isExiting: l,+ UNSTABLE_portalContainer: u,+ shouldCloseOnInteractOutside: d+ }, /*#__PURE__*/ S.createElement(q_, {+ ...f,+ modalRef: t+ }, s));+});+function W_(e, t) {+ [e, t] = Th(e, t, V_);+ let n = (0, S.useContext)(I_), r = D_(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Rr(t), o = (0, S.useRef)(null), s = k_(a, i.isOpen), c = k_(o, i.isOpen), l = s || c || e.isExiting || !1, u = Pn();+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ S.createElement(K_, {+ ...e,+ state: i,+ isExiting: l,+ overlayRef: a,+ modalRef: o+ });+}+var G_ = /*#__PURE__*/ (0, S.forwardRef)(W_);+function K_({ UNSTABLE_portalContainer: e, ...t }) {+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Tu(t, r, n), o = O_(t.overlayRef) || t.isEntering || !1, s = Ch({+ ...t,+ defaultClassName: "react-aria-ModalOverlay",+ values: {+ isEntering: o,+ isExiting: t.isExiting,+ state: r+ }+ }), c = z_(), l, u;+ if (typeof document < "u") {+ let e = co(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ l = e.scrollWidth - t, u = e.scrollHeight - n;+ }+ let d = {+ ...s.style,+ "--visual-viewport-width": c.width + "px",+ "--visual-viewport-height": c.height + "px",+ "--page-width": l === void 0 ? void 0 : l + "px",+ "--page-height": u === void 0 ? void 0 : u + "px"+ };+ return /*#__PURE__*/ S.createElement(xc, {+ isExiting: t.isExiting,+ portalContainer: e+ }, /*#__PURE__*/ S.createElement(X.div, {+ ...V(U(t, { global: !0 }), a),+ ...s,+ style: d,+ ref: t.overlayRef,+ "data-entering": o || void 0,+ "data-exiting": t.isExiting || void 0+ }, /*#__PURE__*/ S.createElement(Sh, { values: [[H_, {+ modalProps: i,+ modalRef: n,+ isExiting: t.isExiting,+ isDismissable: t.isDismissable+ }], [I_, r]] }, s.children)));+}+function q_(e) {+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, S.useContext)(H_), a = (0, S.useContext)(I_), o = Rr((0, S.useMemo)(() => yr(e.modalRef, n), [e.modalRef, n])), s = O_(o), c = Ch({+ ...e,+ defaultClassName: "react-aria-Modal",+ values: {+ isEntering: s,+ isExiting: r,+ state: a+ }+ });+ return /*#__PURE__*/ S.createElement(X.div, {+ ...V(U(e, { global: !0 }), t),+ ...c,+ ref: o,+ "data-entering": s || void 0,+ "data-exiting": r || void 0+ }, i && /*#__PURE__*/ S.createElement(mu, { onDismiss: a.close }), c.children);+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var Tm = {};-Tm = {- colorSwatchPicker: "颜色色板",- dropzoneLabel: "放置区域",- selectPlaceholder: "选择一个项目",- tableResizer: "尺寸调整器"-};+//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs+var J_ = Math.round(Math.random() * 1e10), Y_ = 0;+function X_(e) {+ let t = (0, S.useMemo)(() => e.name || `radio-group-${J_}-${++Y_}`, [e.name]), [n, r] = Ho(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, S.useState)(n), [a, o] = (0, S.useState)(null), s = Ao({+ ...e,+ value: n+ }), c = (t) => {+ !e.isReadOnly && !e.isDisabled && (r(t), s.commitValidation());+ }, l = s.displayValidation.isInvalid;+ return {+ ...s,+ name: t,+ selectedValue: n,+ defaultSelectedValue: e.value === void 0 ? e.defaultValue ?? null : i,+ setSelectedValue: c,+ lastFocusedValue: a,+ setLastFocusedValue: o,+ isDisabled: e.isDisabled || !1,+ isReadOnly: e.isReadOnly || !1,+ isRequired: e.isRequired || !1,+ validationState: e.validationState || (l ? "invalid" : null),+ isInvalid: l+ };+}//#endregion-//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var Em = {};-Em = {- colorSwatchPicker: "色票",- dropzoneLabel: "放置區",- selectPlaceholder: "選取項目",- tableResizer: "大小調整器"-};+//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs+var Z_ = /*#__PURE__*/ (0, S.createContext)(null), Q_ = /*#__PURE__*/ (0, S.createContext)(null), $_ = /*#__PURE__*/ (0, S.createContext)(null), ev = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ [e, t] = Th(e, t, Z_);+ let { validationBehavior: n } = wh(Xh) || {}, r = e.validationBehavior ?? n ?? "native", i = X_({+ ...e,+ validationBehavior: r+ }), [a, o] = Eh(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = td({+ ...e,+ label: o,+ validationBehavior: r+ }, i), f = Ch({+ ...e,+ values: {+ orientation: e.orientation || "vertical",+ isDisabled: i.isDisabled,+ isReadOnly: i.isReadOnly,+ isRequired: i.isRequired,+ isInvalid: i.isInvalid,+ state: i+ },+ defaultClassName: "react-aria-RadioGroup"+ }), p = U(e, { global: !0 });+ return /*#__PURE__*/ S.createElement(X.div, {+ ...V(p, f, s),+ ref: t,+ slot: e.slot || void 0,+ "data-orientation": e.orientation || "vertical",+ "data-invalid": i.isInvalid || void 0,+ "data-disabled": i.isDisabled || void 0,+ "data-readonly": i.isReadOnly || void 0,+ "data-required": i.isRequired || void 0+ }, /*#__PURE__*/ S.createElement(Sh, { values: [+ [$_, i],+ [Rh, {+ ...c,+ ref: a,+ elementType: "span"+ }],+ [qh, { slots: {+ description: l,+ errorMessage: u+ } }],+ [Yh, d]+ ] }, /*#__PURE__*/ S.createElement(Zg, null, f.children)));+}), tv = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { inputRef: n = null, ...r } = e;+ [e, t] = Th(r, t, Q_);+ let i = S.useContext($_), a = Rr((0, S.useMemo)(() => yr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = ed({+ ...Dh(e),+ children: typeof e.children == "function" || e.children+ }, i, a);+ return /*#__PURE__*/ S.createElement(nv.Provider, { value: {+ ...o,+ inputRef: a,+ defaultClassName: "react-aria-Radio"+ } }, /*#__PURE__*/ S.createElement(rv, {+ ...e,+ ref: t+ }));+}), nv = /*#__PURE__*/ (0, S.createContext)(null), rv = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, S.useContext)(nv), l = S.useContext($_), { isFocused: u, isFocusVisible: d, focusProps: f } = wc(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = jc({+ ...e,+ isDisabled: p+ }), g = Ch({+ ...e,+ defaultClassName: s,+ values: {+ isSelected: i,+ isPressed: o,+ isHovered: h,+ isFocused: u,+ isFocusVisible: d,+ isDisabled: a,+ isReadOnly: l.isReadOnly,+ isInvalid: l.isInvalid,+ isRequired: l.isRequired+ }+ }), _ = U(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ S.createElement(X.label, {+ ...V(_, n, m, g),+ ref: t,+ "data-selected": i || void 0,+ "data-pressed": o || void 0,+ "data-hovered": h || void 0,+ "data-focused": u || void 0,+ "data-focus-visible": d || void 0,+ "data-disabled": a || void 0,+ "data-readonly": l.isReadOnly || void 0,+ "data-invalid": l.isInvalid || void 0,+ "data-required": l.isRequired || void 0+ }, /*#__PURE__*/ S.createElement(Jo, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {+ ...V(r, f),+ ref: c+ })), g.children);+});//#endregion-//#region node_modules/react-aria-components/dist/private/intlStrings.mjs-var Dm = {};-Dm = {- "ar-AE": qp,- "bg-BG": Jp,- "cs-CZ": Yp,- "da-DK": Xp,- "de-DE": Zp,- "el-GR": Qp,- "en-US": $p,- "es-ES": em,- "et-EE": tm,- "fi-FI": nm,- "fr-FR": rm,- "he-IL": im,- "hr-HR": am,- "hu-HU": om,- "it-IT": sm,- "ja-JP": cm,- "ko-KR": lm,- "lt-LT": um,- "lv-LV": dm,- "nb-NO": fm,- "nl-NL": pm,- "pl-PL": mm,- "pt-BR": hm,- "pt-PT": gm,- "ro-RO": _m,- "ru-RU": vm,- "sk-SK": ym,- "sl-SI": bm,- "sr-SP": xm,- "sv-SE": Sm,- "tr-TR": Cm,- "uk-UA": wm,- "zh-CN": Tm,- "zh-TW": Em-};+//#region node_modules/react-stately/dist/private/select/useSelectState.mjs+function iv(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = D_(e), [i, a] = (0, S.useState)(null), o = (0, S.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+ e.defaultValue,+ e.defaultSelectedKey,+ t+ ]), [s, c] = Ho((0, S.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [+ e.value,+ e.selectedKey,+ t+ ]), o, e.onChange), l = t === "single" && Array.isArray(s) ? s[0] : s, u = (n) => {+ if (t === "single") {+ let t = Array.isArray(n) ? n[0] ?? null : n;+ c(t), t !== l && e.onSelectionChange?.(t);+ } else {+ let e = [];+ Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);+ }+ }, d = f_({+ ...e,+ selectionMode: t,+ disallowEmptySelection: t === "single",+ allowDuplicateSelectionEvents: !0,+ selectedKeys: (0, S.useMemo)(() => av(l), [l]),+ onSelectionChange: (e) => {+ if (e !== "all") {+ if (t === "single") {+ let t = e.values().next().value ?? null;+ u(t);+ } else u([...e]);+ n && r.close(), m.commitValidation();+ }+ }+ }), f = d.selectionManager.firstSelectedKey, p = (0, S.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = Ao({+ ...e,+ value: Array.isArray(l) && l.length === 0 ? null : l+ }), [h, g] = (0, S.useState)(!1), [_] = (0, S.useState)(l);+ return {+ ...m,+ ...d,+ ...r,+ value: l,+ defaultValue: o ?? _,+ setValue: u,+ selectedKey: f,+ setSelectedKey: u,+ selectedItem: p[0] ?? null,+ selectedItems: p,+ defaultSelectedKey: e.defaultSelectedKey ?? (e.selectionMode === "single" ? _ : null),+ focusStrategy: i,+ open(t = null) {+ (d.collection.size !== 0 || e.allowsEmptyCollection) && (a(t), r.open());+ },+ toggle(t = null) {+ (d.collection.size !== 0 || e.allowsEmptyCollection) && (a(t), r.toggle());+ },+ isFocused: h,+ setFocused: g+ };+}+function av(e) {+ if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];+}//#endregion-//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var Om = /*#__PURE__*/ (0, x.createContext)({}), km = /*#__PURE__*/ (0, x.createContext)(null), Am = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- let { render: n } = (0, x.useContext)(km);- return /*#__PURE__*/ x.createElement(x.Fragment, null, n(e, t));-});-function jm(e, t) {- let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, x.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ x.createElement(Am, { target: e });- }, [- t?.target,+//#region node_modules/react-aria-components/dist/private/Select.mjs+function ov(e) {+ return e && e.__esModule ? e.default : e;+}+var sv = /*#__PURE__*/ (0, S.createContext)(null), cv = /*#__PURE__*/ (0, S.createContext)(null), lv = /*#__PURE__*/ Gr(function(e, t) {+ [e, t] = Th(e, t, sv);+ let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, S.useMemo)(() => typeof n == "function" ? n({+ isOpen: !1,+ isDisabled: r,+ isInvalid: i,+ isRequired: a,+ isFocused: !1,+ isFocusVisible: !1,+ defaultChildren: null+ }) : n, [+ n,r,- n+ i,+ a]);- return e?.useDropIndicator ? i : void 0;+ return /*#__PURE__*/ S.createElement(ti, { content: o }, (n) => /*#__PURE__*/ S.createElement(dv, {+ props: e,+ collection: n,+ selectRef: t+ }));+}), uv = [+ Rh,+ Vh,+ qh+];+function dv({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = wh(Xh) || {}, i = e.validationBehavior ?? r ?? "native", a = iv({+ ...e,+ collection: n,+ children: void 0,+ validationBehavior: i+ }), { isFocusVisible: o, focusProps: s } = wc({ within: !0 }), c = (0, S.useRef)(null), [l, u] = Eh(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = nd({+ ...Dh(e),+ label: u,+ validationBehavior: i+ }, a, c), y = (0, S.useMemo)(() => ({+ isOpen: a.isOpen,+ isFocused: a.isFocused,+ isFocusVisible: o,+ isDisabled: e.isDisabled || !1,+ isInvalid: v.isInvalid || !1,+ isRequired: e.isRequired || !1+ }), [+ a.isOpen,+ a.isFocused,+ o,+ e.isDisabled,+ v.isInvalid,+ e.isRequired+ ]), b = Ch({+ ...e,+ values: y,+ defaultClassName: "react-aria-Select"+ }), x = U(e, { global: !0 });+ delete x.id;+ let C = (0, S.useRef)(null);+ return /*#__PURE__*/ S.createElement(Sh, { values: [+ [sv, e],+ [cv, a],+ [fv, p],+ [Rh, {+ ...d,+ ref: l,+ elementType: "span"+ }],+ [Vh, {+ ...f,+ ref: c,+ isPressed: a.isOpen,+ autoFocus: e.autoFocus+ }],+ [I_, a],+ [j_, {+ trigger: "Select",+ triggerRef: c,+ scrollRef: C,+ placement: "bottom start",+ "aria-labelledby": m["aria-labelledby"],+ clearContexts: uv+ }],+ [g_, {+ ...m,+ ref: C+ }],+ [__, a],+ [qh, { slots: {+ description: h,+ errorMessage: g+ } }],+ [Yh, v]+ ] }, /*#__PURE__*/ S.createElement(X.div, {+ ...V(x, b, s),+ ref: t,+ slot: e.slot || void 0,+ "data-focused": a.isFocused || void 0,+ "data-focus-visible": o || void 0,+ "data-open": a.isOpen || void 0,+ "data-disabled": e.isDisabled || void 0,+ "data-invalid": v.isInvalid || void 0,+ "data-required": e.isRequired || void 0+ }, b.children, /*#__PURE__*/ S.createElement(id, {+ ..._,+ autoComplete: e.autoComplete+ })));}-function Mm(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;- if (e != null) {- let r = n.collection.getItem(i)?.level ?? 0;- for (; e != null;) {- let i = n.collection.getItem(e);- if (!i) break;- if (i.type !== "item") {- e = n.collection.getKeyAfter(e);- continue;+for (var fv = /*#__PURE__*/ (0, S.createContext)(null), pv = /*#__PURE__*/ Gr(function(e, t) {+ [e, t] = Th(e, t, fv);+ let n = (0, S.useContext)(cv), { placeholder: r } = wh(sv), i = n.selectedItems.map((e) => {+ let t = e.props?.children;+ return typeof t == "function" && (t = t({+ isHovered: !1,+ isPressed: !1,+ isSelected: !1,+ isFocused: !1,+ isFocusVisible: !1,+ isDisabled: !1,+ selectionMode: "single",+ selectionBehavior: "toggle"+ })), t;+ }), a = Tc(), o = (0, S.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, S.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ s,+ a,+ o+ ]), l = (0, S.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__*/ S.createElement(S.Fragment, { key: t }, i[t++]) : e.value);+ }, [+ s,+ a,+ o,+ i+ ]), u = Qi(ov(Ug), "react-aria-components"), d = Ch({+ ...e,+ defaultChildren: l ?? r ?? u.format("selectPlaceholder"),+ defaultClassName: "react-aria-SelectValue",+ values: {+ selectedItem: n.selectedItems[0]?.value ?? null,+ selectedItems: (0, S.useMemo)(() => n.selectedItems.map((e) => e.value ?? null), [n.selectedItems]),+ selectedText: c,+ isPlaceholder: n.selectedItems.length === 0,+ state: n+ }+ }), f = U(e, { global: !0 });+ return /*#__PURE__*/ S.createElement(X.span, {+ ref: t,+ ...f,+ ...d,+ "data-placeholder": n.selectedItems.length === 0 || void 0+ }, /*#__PURE__*/ S.createElement(qh.Provider, { value: void 0 }, d.children));+}), mv = /*#__PURE__*/ (0, S.createContext)(null), hv = /*#__PURE__*/ (0, S.createContext)(null), gv = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { inputRef: n = null, ...r } = e;+ [e, t] = Th(r, t, mv);+ let i = Rr((0, S.useMemo)(() => yr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = Uo(e), o = ad({+ ...Dh(e),+ children: typeof e.children == "function" || e.children+ }, a, i);+ return /*#__PURE__*/ S.createElement(Sh, { values: [[hv, a], [_v, {+ ...o,+ inputRef: i,+ defaultClassName: "react-aria-Switch"+ }]] }, /*#__PURE__*/ S.createElement(vv, {+ ...e,+ ref: t+ }));+}), _v = /*#__PURE__*/ (0, S.createContext)(null), vv = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isReadOnly: o, isPressed: s, isInvalid: c, inputRef: l, defaultClassName: u, isRequired: d } = (0, S.useContext)(_v), { isFocused: f, isFocusVisible: p, focusProps: m } = wc(), h = a || o, g = (0, S.useContext)(hv), { hoverProps: _, isHovered: v } = jc({+ ...e,+ isDisabled: h+ }), y = Ch({+ ...e,+ defaultClassName: u,+ values: {+ isSelected: i,+ isPressed: s,+ isHovered: v,+ isFocused: f,+ isFocusVisible: p,+ isDisabled: a,+ isReadOnly: o,+ isInvalid: c,+ isRequired: d || !1,+ state: g+ }+ }), b = U(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ S.createElement(X.label, {+ ...V(b, n, _, y),+ ref: t,+ slot: e.slot || void 0,+ "data-selected": i || void 0,+ "data-pressed": s || void 0,+ "data-hovered": v || void 0,+ "data-focused": f || void 0,+ "data-focus-visible": p || void 0,+ "data-disabled": a || void 0,+ "data-readonly": o || void 0,+ "data-invalid": c || void 0,+ "data-required": d || void 0+ }, /*#__PURE__*/ S.createElement(Jo, { elementType: "span" }, /*#__PURE__*/ S.createElement("input", {+ ...V(r, m),+ ref: l+ })), y.children);+}), yv = 10, bv = 5, xv = class {+ setup(e, t, n) {+ this.delegate = e, this.state = t, this.direction = n;+ }+ getDropTargetFromPoint(e, t, n) {+ let r = this.delegate.getDropTargetFromPoint(e, t, n);+ return !r || r.type === "root" ? r : this.resolveDropTarget(r, e, t, n);+ }+ resolveDropTarget(e, t, n, r) {+ let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;+ if (Math.abs(a) > bv && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > yv && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ let t = this.state.collection.getKeyBefore(e.key);+ for (; t != null;) {+ let e = this.state.collection.getItem(t);+ if (e?.type === "item") break;+ t = e?.parentKey ?? null;+ }+ if (t != null) {+ let n = {+ type: "item",+ key: t,+ dropPosition: "after"+ };+ r(n) && (e = n);+ }+ }+ let l = this.getPotentialTargets(e, r);+ if (l.length === 0) return { type: "root" };+ let u;+ return l.length > 1 ? u = this.selectTarget(l, e, t, n, s, c) : (u = l[0], i.boundaryContext = null), u;+ }+ getPotentialTargets(e, t) {+ if (e.dropPosition === "on") return [e];+ let n = e, r = this.state.collection, i = r.getItem(n.key);+ for (; i && i?.type !== "item" && i.nextKey != null;) n.key = i.nextKey, i = r.getItem(i.nextKey);+ let a = [n];+ if (i && i.hasChildNodes && this.state.expandedKeys.has(i.key) && r.getChildren && n.dropPosition === "after") {+ let e = i.firstChildKey == null ? null : r.getItem(i.firstChildKey);+ for (; e && e.type !== "item";) e = e.nextKey == null ? null : r.getItem(e.nextKey);+ if (e?.type === "item") {+ let n = {+ type: "item",+ key: e.key,+ dropPosition: "before"+ };+ return t(n) ? [n] : [];+ }+ }+ if (i?.nextKey != null) return [e];+ let o = i?.parentKey, s = [];+ for (; o != null;) {+ let e = r.getItem(o), n = e?.nextKey == null ? null : r.getItem(e.nextKey);+ if (!n || n.parentKey !== o) {+ if (e?.type === "item") {+ let e = {+ type: "item",+ key: o,+ dropPosition: "after"+ };+ t(e) && s.push(e);}- if ((i.level ?? 0) <= r) break;- t = e, e = n.collection.getKeyAfter(e);+ if (n) break;+ }+ o = e?.parentKey;+ }+ if (s.length > 0 && a.push(...s), a.length === 1) {+ let e = r.getKeyAfter(n.key), a = e == null ? null : r.getItem(e);+ if (e != null && a && i && a.level != null && i.level != null && a.level > i.level) {+ let n = {+ type: "item",+ key: e,+ dropPosition: "before"+ };+ if (t(n)) return [n];}}- i = e ?? t ?? i;- }- return (0, x.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);-}-//#endregion-//#region node_modules/react-aria-components/dist/private/Header.mjs-var Nm = /*#__PURE__*/ (0, x.createContext)({}), Pm = /*#__PURE__*/ (0, x.createContext)(null);-function Fm(e) {- let t = (0, x.useRef)({});- return /*#__PURE__*/ x.createElement(Pm.Provider, { value: t }, e.children);-}-//#endregion-//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var Im = /*#__PURE__*/ (0, x.createContext)({ isSelected: !1 }), Lm = /*#__PURE__*/ (0, x.createContext)({});-(class extends ft {- static {- this.type = "separator";- }- filter(e, t) {- let n = t.getItem(this.prevKey);- if (n && n.type !== "separator") {- let n = this.clone();- return t.addDescendants(n, e), n;+ return a.filter(t);+ }+ selectTarget(e, t, n, r, i, a) {+ if (e.length < 2) return e[0];+ let o = this.pointerTracking, s = this.state.collection.getItem(t.key)?.parentKey;+ if (s == null) return e[0];+ (!o.boundaryContext || o.boundaryContext.parentKey !== s) && (o.boundaryContext = {+ parentKey: s,+ preferredTargetIndex: o.yDirection === "up" ? e.length - 1 : 0,+ lastSwitchY: r,+ lastSwitchX: n+ });+ let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);+ if (Math.abs(r - c.lastSwitchY) > bv && i) {+ let t = c.preferredTargetIndex || 0;+ i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;}- return null;+ if (l > yv && a) {+ let t = c.preferredTargetIndex || 0;+ a === "left" ? this.direction === "ltr" ? t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n) : t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : a === "right" && (this.direction === "ltr" ? t > 0 && (c.preferredTargetIndex = t - 1, c.lastSwitchX = n) : t < e.length - 1 && (c.preferredTargetIndex = t + 1, c.lastSwitchX = n)), o.yDirection = null;+ }+ return e[Math.max(0, Math.min(c.preferredTargetIndex || 0, e.length - 1))];}-});-//#endregion-//#region node_modules/react-aria/dist/private/utils/inertValue.mjs-function Rm(e) {- let t = x.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 zm = class {- constructor(e) {- this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;- let t = (e) => {- if (this.keyMap.set(e.key, e), e.childNodes && e.type === "section") for (let n of e.childNodes) t(n);+ constructor() {+ this.delegate = null, this.state = null, this.direction = "ltr", this.pointerTracking = {+ lastY: 0,+ lastX: 0,+ yDirection: null,+ xDirection: null,+ boundaryContext: null};- for (let n of e) t(n);- let n = null, r = 0, i = 0;- for (let [e, t] of this.keyMap) n ? (n.nextKey = e, t.prevKey = n.key) : (this.firstKey = e, t.prevKey = void 0), t.type === "item" && (t.index = r++), (t.type === "section" || t.type === "item") && i++, n = t, n.nextKey = void 0;- this._size = i, this.lastKey = n?.key ?? null;+ }+}, Sv = class {+ constructor(e) {+ this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];+ let t = (r) => {+ let i = this.keyMap.get(r.key);+ e.visitNode && (r = e.visitNode(r)), this.keyMap.set(r.key, r);+ let a = /* @__PURE__ */ new Set(), o = null, s = !1;+ if (r.type === "item") {+ for (let e of r.childNodes) if (e.props?.colSpan !== void 0) {+ s = !0;+ break;+ }+ }+ for (let e of r.childNodes) e.type === "cell" && s && (e.colspan = e.props?.colSpan, e.colSpan = e.props?.colSpan, e.colIndex = o ? (o.colIndex ?? o.index) + (o.colSpan ?? 1) : e.index), e.type === "cell" && e.parentKey == null && (e.parentKey = r.key), a.add(e.key), o ? (o.nextKey = e.key, e.prevKey = o.key) : e.prevKey = null, t(e), o = e;+ if (o && (o.nextKey = null), i) for (let e of i.childNodes) a.has(e.key) || n(e);+ }, n = (e) => {+ this.keyMap.delete(e.key);+ for (let t of e.childNodes) this.keyMap.get(t.key) === t && n(t);+ }, r = null;+ for (let [n, i] of e.items.entries()) {+ let e = {+ ...i,+ level: i.level ?? 0,+ key: i.key ?? "row-" + n,+ type: i.type ?? "row",+ value: i.value ?? null,+ hasChildNodes: !0,+ childNodes: [...i.childNodes],+ rendered: i.rendered,+ textValue: i.textValue ?? "",+ index: i.index ?? n+ };+ r ? (r.nextKey = e.key, e.prevKey = r.key) : e.prevKey = null, this.rows.push(e), t(e), r = e;+ }+ r && (r.nextKey = null);}*[Symbol.iterator]() {- yield* this.iterable;+ yield* [...this.rows];}get size() {- return this._size;+ return [...this.rows].length;}getKeys() {return this.keyMap.keys();@@ -19878,10 +23564,11 @@ var zm = class {return t ? t.nextKey ?? null : null;}getFirstKey() {- return this.firstKey;+ return [...this.rows][0]?.key;}getLastKey() {- return this.lastKey;+ let e = [...this.rows];+ return e[e.length - 1]?.key;}getItem(e) {return this.keyMap.get(e) ?? null;@@ -19893,2564 +23580,5642 @@ var zm = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, Bm = 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);+}, Cv = "row-header-column-" + Math.random().toString(36).slice(2), wv = "row-header-column-" + Math.random().toString(36).slice(2); Cv === wv;) wv = "row-header-column-" + Math.random().toString(36).slice(2);+function Tv(e, t) {+ if (t.length === 0) return [];+ let n = [], r = /* @__PURE__ */ new Map();+ for (let i of t) {+ let t = i.parentKey, a = [i];+ for (; t != null;) {+ let n = e.get(t);+ if (!n) break;+ if (r.has(n)) {+ n.colSpan ??= 0, n.colSpan++, n.colspan = n.colSpan;+ let { column: e, index: t } = r.get(n);+ if (t > a.length) break;+ for (let n = t; n < a.length; n++) e.splice(n, 0, null);+ for (let t = a.length; t < e.length; t++) e[t] && r.has(e[t]) && (r.get(e[t]).index = t);+ } else n.colSpan = 1, n.colspan = 1, a.push(n), r.set(n, {+ column: a,+ index: a.length - 1+ });+ t = n.parentKey;+ }+ n.push(a), i.index = n.length - 1;}-};-//#endregion-//#region node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function Vm(e, t) {- if (e.size !== t.size) return !1;- for (let n of e) if (!t.has(n)) return !1;- return !0;-}-function Hm(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, x.useRef)(!1), [, s] = (0, x.useState)(!1), c = (0, x.useRef)(null), l = (0, x.useRef)(null), [, u] = (0, x.useState)(null), [d, f] = Ro((0, x.useMemo)(() => Um(e.selectedKeys), [e.selectedKeys]), (0, x.useMemo)(() => Um(e.defaultSelectedKeys, new Bm()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, x.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, x.useState)(i);- i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");- let g = (0, x.useRef)(i);- return (0, x.useEffect)(() => {- i !== g.current && (h(i), g.current = i);- }, [i]), {- selectionMode: t,- disallowEmptySelection: n,- selectionBehavior: m,- setSelectionBehavior: h,- get isFocused() {- return o.current;- },- setFocused(e) {- o.current = e, s(e);- },- get focusedKey() {- return c.current;- },- get childFocusStrategy() {- return l.current;- },- setFocusedKey(e, t = "first") {- c.current = e, l.current = t, u(e);- },- selectedKeys: d,- setSelectedKeys(e) {- (r || !Vm(e, d)) && f(e);- },- disabledKeys: p,- disabledBehavior: a- };-}-function Um(e, t) {- return e ? e === "all" ? "all" : new Bm(e) : t;+ let i = Math.max(...n.map((e) => e.length)), a = Array(i).fill(0).map(() => []), o = 0;+ for (let e of n) {+ let t = i - 1;+ for (let n of e) {+ if (n) {+ let e = a[t], r = e.reduce((e, t) => e + (t.colSpan ?? 1), 0);+ if (r < o) {+ let i = {+ type: "placeholder",+ key: "placeholder-" + n.key,+ colspan: o - r,+ colSpan: o - r,+ index: r,+ value: null,+ rendered: null,+ level: t,+ hasChildNodes: !1,+ childNodes: [],+ textValue: ""+ };+ e.length > 0 && (e[e.length - 1].nextKey = i.key, i.prevKey = e[e.length - 1].key), e.push(i);+ }+ e.length > 0 && (e[e.length - 1].nextKey = n.key, n.prevKey = e[e.length - 1].key), n.level = t, n.colIndex = o, e.push(n);+ }+ t--;+ }+ o++;+ }+ let s = 0;+ for (let e of a) {+ let n = e.reduce((e, t) => e + (t.colSpan ?? 1), 0);+ if (n < t.length) {+ let r = {+ type: "placeholder",+ key: "placeholder-" + e[e.length - 1].key,+ colSpan: t.length - n,+ colspan: t.length - n,+ index: n,+ value: null,+ rendered: null,+ level: s,+ hasChildNodes: !1,+ childNodes: [],+ textValue: "",+ prevKey: e[e.length - 1].key+ };+ e.push(r);+ }+ s++;+ }+ return a.map((e, t) => ({+ type: "headerrow",+ key: "headerrow-" + t,+ index: t,+ value: null,+ rendered: null,+ level: 0,+ hasChildNodes: !0,+ childNodes: e,+ textValue: ""+ }));}-//#endregion-//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var Wm = class e {+var Ev = class extends Sv {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;- }- get selectionMode() {- return this.state.selectionMode;- }- get disallowEmptySelection() {- return this.state.disallowEmptySelection;- }- get selectionBehavior() {- return this.state.selectionBehavior;- }- setSelectionBehavior(e) {- this.state.setSelectionBehavior(e);- }- get isFocused() {- return this.state.isFocused;- }- setFocused(e) {- this.state.setFocused(e);- }- get focusedKey() {- return this.state.focusedKey;- }- get childFocusStrategy() {- return this.state.childFocusStrategy;- }- setFocusedKey(e, t) {- (e == null || this.collection.getItem(e)) && this.state.setFocusedKey(e, t);- }- get selectedKeys() {- return this.state.selectedKeys === "all" ? new Set(this.getSelectAllKeys()) : this.state.selectedKeys;- }- get rawSelection() {- return this.state.selectedKeys;- }- isSelected(e) {- if (this.state.selectionMode === "none") return !1;- let t = this.getKey(e);- return t == null ? !1 : this.state.selectedKeys === "all" ? this.canSelectItem(t) : this.state.selectedKeys.has(t);+ let r = /* @__PURE__ */ new Set(), i = null, a = [];+ if (n?.showSelectionCheckboxes) {+ let e = {+ type: "column",+ key: Cv,+ value: null,+ textValue: "",+ level: 0,+ index: +!!n?.showDragButtons,+ hasChildNodes: !1,+ rendered: null,+ childNodes: [],+ props: { isSelectionCell: !0 }+ };+ a.unshift(e);+ }+ if (n?.showDragButtons) {+ let e = {+ type: "column",+ key: wv,+ value: null,+ textValue: "",+ level: 0,+ index: 0,+ hasChildNodes: !1,+ rendered: null,+ childNodes: [],+ props: { isDragButtonCell: !0 }+ };+ a.unshift(e);+ }+ let o = [], s = /* @__PURE__ */ new Map(), c = (e) => {+ switch (e.type) {+ case "body":+ i = e;+ break;+ case "column":+ s.set(e.key, e), e.hasChildNodes || (a.push(e), e.props.isRowHeader && r.add(e.key));+ break;+ case "item":+ o.push(e);+ return;+ }+ for (let t of e.childNodes) c(t);+ };+ for (let t of e) c(t);+ let l = Tv(s, a);+ if (l.forEach((e, t) => o.splice(t, 0, e)), super({+ columnCount: a.length,+ items: o,+ visitNode: (e) => (e.column = a[e.index], e)+ }), this._size = 0, this.columns = a, this.rowHeaderColumnKeys = r, this.body = i, this.headerRows = l, this._size = [...i.childNodes].length, this.rowHeaderColumnKeys.size === 0) {+ let e = this.columns.find((e) => !e.props?.isDragButtonCell && !e.props?.isSelectionCell);+ e && this.rowHeaderColumnKeys.add(e.key);+ }}- get isEmpty() {- return this.state.selectedKeys !== "all" && this.state.selectedKeys.size === 0;+ *[Symbol.iterator]() {+ yield* this.body.childNodes;}- get isSelectAll() {- if (this.isEmpty) return !1;- if (this.state.selectedKeys === "all") return !0;- if (this._isSelectAll != null) return this._isSelectAll;- let e = this.getSelectAllKeys(), t = this.state.selectedKeys;- return this._isSelectAll = e.every((e) => t.has(e)), this._isSelectAll;+ get size() {+ return this._size;}- get firstSelectedKey() {- let e = null;- for (let t of this.state.selectedKeys) {- let n = this.collection.getItem(t);- (!e || n && rc(this.collection, n, e) < 0) && (e = n);- }- return e?.key ?? null;+ getKeys() {+ return this.keyMap.keys();}- get lastSelectedKey() {- let e = null;- for (let t of this.state.selectedKeys) {- let n = this.collection.getItem(t);- (!e || n && rc(this.collection, n, e) > 0) && (e = n);- }- return e?.key ?? null;+ getKeyBefore(e) {+ return this.keyMap.get(e)?.prevKey ?? null;}- get disabledKeys() {- return this.state.disabledKeys;+ getKeyAfter(e) {+ return this.keyMap.get(e)?.nextKey ?? null;}- get disabledBehavior() {- return this.state.disabledBehavior;+ getFirstKey() {+ return sc(this.body.childNodes)?.key ?? null;}- extendSelection(e) {- if (this.selectionMode === "none") return;- if (this.selectionMode === "single") {- this.replaceSelection(e);- return;- }- let t = this.getKey(e);- if (t == null) return;- let n;- if (this.state.selectedKeys === "all") n = new Bm([t], t, t);- else {- let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new Bm(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);- }- this.state.setSelectedKeys(n);+ getLastKey() {+ return lc(this.body.childNodes)?.key ?? null;}- getKeyRange(e, t) {- let n = this.collection.getItem(e), r = this.collection.getItem(t);- return n && r ? rc(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];+ getItem(e) {+ return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;}- getKeyRangeInternal(e, t) {- if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);- let n = [], r = e;- for (; r != null;) {- let e = this.collection.getItem(r);- if (e && (e.type === "item" || e.type === "cell" && this.allowsCellSelection) && n.push(r), r === t) return n;- r = this.collection.getKeyAfter(r);- }- return [];+ at(e) {+ let t = [...this.getKeys()];+ return this.getItem(t[e]);}- getKey(e) {- let t = this.collection.getItem(e);- if (!t || t.type === "cell" && this.allowsCellSelection) return e;- for (; t && t.type !== "item" && t.parentKey != null;) t = this.collection.getItem(t.parentKey);- return !t || t.type !== "item" ? null : t.key;+ getChildren(e) {+ if (e === this.body.key) return this.body.childNodes;+ let t = this.getItem(e);+ return t?.type === "item" ? [...t.childNodes].filter((e) => e.type === "cell") : super.getChildren(e);+ }+ getTextValue(e) {+ let t = this.getItem(e);+ if (!t) return "";+ if (t.textValue) return t.textValue;+ let n = this.rowHeaderColumnKeys;+ if (n) {+ let e = [];+ for (let r of t.childNodes) {+ let t = this.columns[r.index];+ if (n.has(t.key) && r.textValue && e.push(r.textValue), e.length === n.size) break;+ }+ return e.join(" ");+ }+ return "";}- toggleSelection(e) {- if (this.selectionMode === "none") return;- if (this.selectionMode === "single" && !this.isSelected(e)) {- this.replaceSelection(e);- return;+};+//#endregion+//#region node_modules/react-stately/dist/private/grid/useGridState.mjs+function Dv(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || i_(e), i = (0, S.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+ r.setFocusedKey = (e, r) => {+ if (n === "cell" && e != null) {+ let n = t.getItem(e);+ if (n?.type === "item") {+ let i = oc(n, t);+ e = r === "last" ? lc(i)?.key ?? null : sc(i)?.key ?? null;+ }}- let t = this.getKey(e);- if (t == null) return;- let n = new Bm(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);+ a(e, r);+ };+ let o = (0, S.useMemo)(() => new o_(t, r), [t, r]), s = (0, S.useRef)(null);+ return (0, S.useEffect)(() => {+ if (r.focusedKey != null && s.current && !t.getItem(r.focusedKey)) {+ let e = s.current.getItem(r.focusedKey), n = e?.parentKey != null && (e.type === "cell" || e.type === "rowheader" || e.type === "column") ? s.current.getItem(e.parentKey) : e;+ if (!n) {+ r.setFocusedKey(null);+ return;+ }+ let i = s.current.rows, a = t.rows, c = i.length - a.length, l = Math.min(c > 1 ? Math.max(n.index - c + 1, 0) : n.index, a.length - 1), u = null;+ for (let e = Math.max(0, l); e < a.length; e++) if (!o.isDisabled(a[e].key) && a[e].type !== "headerrow") {+ u = a[e];+ break;+ }+ if (u === null) {+ for (let e = l - 1; e >= 0; e--) if (!o.isDisabled(a[e].key) && a[e].type !== "headerrow") {+ u = a[e];+ break;+ }+ }+ if (u) {+ let i = u.hasChildNodes ? [...oc(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;+ r.setFocusedKey(a);+ } else r.setFocusedKey(null);+ }+ s.current = t;+ }, [+ t,+ o,+ r,+ r.focusedKey+ ]), {+ collection: t,+ disabledKeys: i,+ isKeyboardNavigationDisabled: !1,+ selectionManager: o+ };+}+//#endregion+//#region node_modules/react-stately/dist/private/table/useTableState.mjs+var Ov = {+ ascending: "descending",+ descending: "ascending"+};+function kv(e) {+ let [t, n] = (0, S.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, S.useMemo)(() => ({+ showSelectionCheckboxes: i && r !== "none",+ showDragButtons: a,+ selectionMode: r,+ columns: []+ }), [+ e.children,+ i,+ r,+ a+ ]), c = d_(e, (0, S.useCallback)((e) => new Ev(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Dv({+ ...e,+ collection: c,+ disabledBehavior: e.disabledBehavior || "selection"+ }), [d, f] = Ho(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ return {+ collection: c,+ disabledKeys: l,+ selectionManager: u,+ showSelectionCheckboxes: e.showSelectionCheckboxes || !1,+ sortDescriptor: e.sortDescriptor ?? null,+ isKeyboardNavigationDisabled: c.size === 0 || t,+ setKeyboardNavigationDisabled: n,+ sort(t, n) {+ e.onSortChange?.({+ column: t,+ direction: n ?? (e.sortDescriptor?.column === t ? Ov[e.sortDescriptor.direction] : "ascending")+ });+ },+ expandedKeys: d,+ toggleKey(e) {+ f((t) => {+ let n = new Set(t);+ return n.has(e) ? n.delete(e) : n.add(e), n;+ });+ },+ treeColumn: o+ };+}+function Av(e, t) {+ let n = (0, S.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);+ return {+ ...e,+ collection: n,+ selectionManager: r+ };+}+//#endregion+//#region node_modules/react-aria-components/dist/private/Table.mjs+var jv = class extends ht {+ withExpandedKeys(e) {+ let t = this.clone();+ return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;}- replaceSelection(e) {- if (this.selectionMode === "none") return;- let t = this.getKey(e);- if (t == null) return;- let n = this.canSelectItem(t) ? new Bm([t], t, t) : new Bm();- this.state.setSelectedKeys(n);+ addNode(e) {+ super.addNode(e), this.columnsDirty ||= e.type === "column", e.type === "tableheader" && (this.head = e);}- setSelectedKeys(e) {- if (this.selectionMode === "none") return;- let t = new Bm();- for (let n of e) {- let e = this.getKey(n);- if (e != null && (t.add(e), this.selectionMode === "single")) break;- }- this.state.setSelectedKeys(t);+ getRows() {+ let e = [];+ for (let t of this) (t.type === "tablebody" || t.type === "tablefooter") && e.push(...this.getChildren(t.key));+ return e;}- getSelectAllKeys() {- let e = this.fullCollection ?? this.collection, t = [], n = (r) => {- 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(tc(ec(i, e))?.key ?? null);+ get body() {+ for (let e of this) if (e.type === "tablebody") return e;+ return new Xv(-2);+ }+ commit(e, t, n = !1) {+ this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];+ for (let e of this.getRows()) {+ let t = e.lastChildKey;+ if (t != null) {+ let e = this.getItem(t);+ for (; e && e.type !== "cell";) e = e.prevKey == null ? null : this.getItem(e.prevKey);+ if (e) {+ let t = (e.colIndex ?? e.index) + (e.colSpan ?? 1);+ if (t !== this.columns.length && !n) throw Error(`Cell count must match column count. Found ${t} cells and ${this.columns.length} columns.`);}- r = e.getKeyAfter(r);}+ this.rows.push(e);+ }+ super.commit(e, t, n);+ }+ updateColumns(e) {+ if (!this.columnsDirty) return;+ this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.columns = [];+ let t = /* @__PURE__ */ new Map(), n = (e) => {+ e.type === "column" && (t.set(e.key, e), e.hasChildNodes || (e.index = this.columns.length, this.columns.push(e), e.props.isRowHeader && this.rowHeaderColumnKeys.add(e.key)));+ for (let t of this.getChildren(e.key)) n(t);};- return n(e.getFirstKey()), t;+ for (let e of this.getChildren(this.head.key)) n(e);+ if (this.headerRows = Tv(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");}- selectAll() {- !this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");+ get columnCount() {+ return this.columns.length;}- clearSelection() {- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new Bm());+ *[Symbol.iterator]() {+ let e = this.firstKey;+ for (; e != null;) {+ let t = this.getItem(e);+ t && (yield t), e = t?.nextKey ?? null;+ }}- toggleSelectAll() {- this.isSelectAll ? this.clearSelection() : this.selectAll();+ getFirstKey() {+ for (let e of this) if (e.type === "tablebody") return e.firstChildKey ?? null;+ return null;}- select(e, t) {- this.selectionMode !== "none" && (this.selectionMode === "single" ? this.isSelected(e) && !this.disallowEmptySelection ? this.toggleSelection(e) : this.replaceSelection(e) : this.selectionBehavior === "toggle" || t && (t.pointerType === "touch" || t.pointerType === "virtual") ? this.toggleSelection(e) : this.replaceSelection(e));+ getLastKey() {+ let e = this.lastKey;+ if (e == null) return null;+ let t = this.getItem(e);+ for (; t?.lastChildKey != null && (t.type !== "item" || this.expandedKeys.has(t.key));) t = this.getItem(t.lastChildKey);+ return t?.key;}- isSelectionEqual(e) {- if (e === this.state.selectedKeys) return !0;- let t = this.selectedKeys;- if (e.size !== t.size) return !1;- for (let n of e) if (!t.has(n)) return !1;- for (let n of t) if (!e.has(n)) return !1;- return !0;+ getKeyAfter(e) {+ let t = this.getItem(e);+ if (t?.type === "column") return t.nextKey ?? null;+ if (!t) return null;+ if (t.type === "item" && t.firstChildKey != null && this.expandedKeys.has(t.key)) {+ let e = this.getItem(t.firstChildKey);+ for (; e;) {+ if (e.type === "item") return e.key;+ e = e.nextKey == null ? null : this.getItem(e.nextKey);+ }+ }+ return super.getKeyAfter(e);}- canSelectItem(e) {- return this.canSelectItemIn(e, this.collection);+ getKeyBefore(e) {+ let t = this.getItem(e);+ if (t?.type === "column") return t.prevKey ?? null;+ if (!t) return null;+ let n = null;+ if (t.prevKey != null) {+ for (t = this.getItem(t.prevKey); t && (t.type !== "item" || this.expandedKeys.has(t.key)) && t.lastChildKey != null;) t = this.getItem(t.lastChildKey);+ n = t?.key ?? null;+ }+ return n ??= t.parentKey, n != null && this.getItem(n)?.type === "tableheader" ? null : n;}- canSelectItemIn(e, t) {- if (this.state.selectionMode === "none" || this.state.disabledKeys.has(e)) return !1;- let n = t.getItem(e);- return !(!n || n?.props?.isDisabled || n.type === "cell" && !this.allowsCellSelection);+ getChildren(e) {+ let t = this.getItem(e);+ if (!t) {+ for (let t of this.headerRows) if (t.key === e) return t.childNodes;+ }+ let n = this;+ return t?.type === "tablebody" || t?.type === "tablefooter" ? { *[Symbol.iterator]() {+ let e = t.firstChildKey, r = e == null ? null : n.getItem(e);+ for (; r;) {+ yield r;+ let e = n.getKeyAfter(r.key);+ if (r = e == null ? null : n.getItem(e), r && r.parentKey === t.parentKey) break;+ }+ } } : { *[Symbol.iterator]() {+ let t = n.getItem(e), r = t?.firstChildKey == null ? null : n.getItem(t.firstChildKey);+ for (; r && (yield r, r = r.nextKey == null ? null : n.getItem(r.nextKey), t?.type !== "item" || r?.type === "cell"););+ } };}- isDisabled(e) {- let t = this.collection.getItem(e);- return this.state.disabledBehavior === "all" && (this.state.disabledKeys.has(e) || !!t?.props?.isDisabled) && t?.props?.disabledBehavior !== "selection";+ clone() {+ let e = super.clone();+ return e.headerRows = this.headerRows, e.columns = this.columns, e.rows = this.rows, e.rowHeaderColumnKeys = this.rowHeaderColumnKeys, e.head = this.head, e;}- isLink(e) {- return !!this.collection.getItem(e)?.props?.href;+ getTextValue(e) {+ let t = this.getItem(e);+ if (!t) return "";+ if (t.textValue) return t.textValue;+ let n = this.rowHeaderColumnKeys, r = [];+ for (let t of this.getChildren(e)) {+ let e = this.columns[t.index];+ if (n.has(e.key) && t.textValue && r.push(t.textValue), r.length === n.size) break;+ }+ return r.join(" ");}- getItemProps(e) {- return this.collection.getItem(e)?.props;+ constructor(...e) {+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new Vv(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();+ }+}, Mv = /*#__PURE__*/ (0, S.createContext)(null), Nv = /*#__PURE__*/ (0, S.createContext)(null), Pv = /*#__PURE__*/ (0, S.createContext)(null), Fv = /*#__PURE__*/ (0, S.createContext)(null), Iv = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ [e, t] = Th(e, t, Nv);+ let n = i_(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, S.useMemo)(() => ({+ selectionBehavior: i === "none" ? null : r,+ selectionMode: i,+ disallowEmptySelection: a,+ allowsDragging: o+ }), [+ r,+ i,+ a,+ o+ ]), c = /*#__PURE__*/ S.createElement(Bv.Provider, { value: s }, /*#__PURE__*/ S.createElement(pi, e));+ return /*#__PURE__*/ S.createElement(ti, {+ content: c,+ createCollection: () => new jv()+ }, (r) => /*#__PURE__*/ S.createElement(zv, {+ props: e,+ forwardedRef: t,+ selectionState: n,+ collection: r+ }));+}), Lv = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, S.useContext)(Ih);+ return n ? /*#__PURE__*/ S.createElement(X.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ S.createElement(X.table, {+ ...e,+ ref: t+ });+}), Rv = {+ expand: {+ ltr: "ArrowRight",+ rtl: "ArrowLeft"+ },+ collapse: {+ ltr: "ArrowLeft",+ rtl: "ArrowRight"}- withCollection(t) {- return new e(t, this.state, {- allowsCellSelection: this.allowsCellSelection,- layoutDelegate: this.layoutDelegate || void 0,- fullCollection: this.fullCollection ?? this.collection+};+function zv({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = Th(e, t, Ah);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, S.useContext)(Mv);+ t = Rr((0, S.useMemo)(() => yr(t, c?.tableRef), [t, c?.tableRef]));+ let [l, u] = Ho(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);+ r = (0, S.useMemo)(() => r.withExpandedKeys(l), [r, l]);+ let d = kv({+ ...s,+ collection: r,+ children: void 0,+ UNSAFE_selectionState: n,+ expandedKeys: l,+ onExpandedChange: u+ }), f = Av(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, S.useContext)(Ih), { dragAndDropHooks: _ } = e, { gridProps: v } = Qd({+ ...s,+ layoutDelegate: m,+ isVirtualized: p+ }, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;+ (0, S.useRef)(b), (0, S.useRef)(x), (0, S.useEffect)(() => {}, [b, x]);+ let C, w, T, E = !1, D = null, O = (0, S.useRef)(null), { direction: k } = Ri(), [A] = (0, S.useState)(() => new xv());+ if (b && _) {+ C = _.useDraggableCollectionState({+ collection: f.collection,+ selectionManager: y,+ preview: _.renderDragPreview ? O : void 0+ }), _.useDraggableCollection({}, C, t);+ let e = _.DragPreview;+ D = _.renderDragPreview ? /*#__PURE__*/ S.createElement(e, { ref: O }, _.renderDragPreview) : null;+ }+ if (x && _) {+ w = _.useDroppableCollectionState({+ collection: f.collection,+ selectionManager: y});+ let e = new ds({+ collection: f.collection,+ disabledKeys: y.disabledKeys,+ disabledBehavior: y.disabledBehavior,+ ref: t,+ layoutDelegate: m+ }), n = _.dropTargetDelegate || h || new _.ListDropTargetDelegate(r.rows, t);+ A.setup(n, d, k), T = _.useDroppableCollection({+ keyboardDelegate: e,+ dropTargetDelegate: A,+ onDropActivate: (e) => {+ if (e.target.type === "item") {+ let t = e.target.key, n = d.collection.getItem(t), r = l.has(t);+ n && n.hasChildNodes && (!r || _?.isVirtualDragging?.()) && d.toggleKey(t);+ }+ },+ onKeyDown: (e) => {+ let t = w?.target;+ if (t && t.type === "item" && t.dropPosition === "on") {+ let n = d.collection.getItem(t.key);+ (e.key === Rv.expand[k] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === Rv.collapse[k] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ }+ }+ }, w, t), E = w.isDropTarget({ type: "root" });}-}, Gm = class {- build(e, t) {- return this.context = t, Km(() => this.iterateCollection(e));+ let { focusProps: j, isFocused: M, isFocusVisible: N } = wc(), ee = Ch({+ ...e,+ children: void 0,+ defaultClassName: "react-aria-Table",+ values: {+ isDropTarget: E,+ isFocused: M,+ isFocusVisible: N,+ state: f+ }+ }), P = !!(b && !C?.isDisabled), F = ee.style, te = null;+ c && (te = c.useTableColumnResizeState({ tableWidth: c.tableWidth }, f), p || (F = {+ ...F,+ tableLayout: "fixed",+ width: "min-content"+ }));+ let ne = U(e, { global: !0 });+ return /*#__PURE__*/ S.createElement(Sh, { values: [+ [Pv, f],+ [Fv, te],+ [Wg, {+ dragAndDropHooks: _,+ dragState: C,+ dropState: w+ }],+ [Gg, { render: oy }],+ [Ah, null],+ [jh, null]+ ] }, /*#__PURE__*/ S.createElement(Na, null, /*#__PURE__*/ S.createElement(Lv, {+ ...V(ne, ee, v, j, T?.collectionProps),+ style: F,+ ref: t,+ slot: e.slot || void 0,+ onScroll: e.onScroll,+ "data-allows-dragging": P || void 0,+ "data-drop-target": E || void 0,+ "data-focused": M || void 0,+ "data-focus-visible": N || void 0+ }, /*#__PURE__*/ S.createElement(Zg, null, /*#__PURE__*/ S.createElement(g, {+ collection: f.collection,+ scrollRef: c?.scrollRef ?? t,+ persistedKeys: Jg(y, _, w)+ })))), D);+}+var Bv = /*#__PURE__*/ (0, S.createContext)(null), Vv = class extends dt {+ static {+ this.type = "tableheader";}- *iterateCollection(e) {- let { children: t, items: n } = e;- if (x.isValidElement(t) && t.type === x.Fragment) yield* this.iterateCollection({- children: t.props.children,- items: n- });- else if (typeof t == "function") {- if (!n) throw Error("props.children was a function but props.items is missing");- let e = 0;- for (let r of n) yield* this.getFullNode({- value: r,- index: e- }, { renderer: t }), e++;- } else {- let e = [];- x.Children.forEach(t, (t) => {- t && e.push(t);- });- let n = 0;- for (let t of e) {- let e = this.getFullNode({- element: t,- index: n- }, {});- for (let t of e) n++, yield t;+}, Hv = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, S.useContext)(Ih);+ return n ? /*#__PURE__*/ S.createElement(X.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ S.createElement(X.thead, {+ ...e,+ ref: t+ });+}), Uv = /*#__PURE__*/ ui(Vv, (e, t) => {+ let n = (0, S.useContext)(Pv).collection, r = bt({+ items: n.headerRows,+ children: (0, S.useCallback)((e) => {+ switch (e.type) {+ case "headerrow": return /*#__PURE__*/ S.createElement(Gv, { item: e });+ default: throw Error("Unsupported node type in TableHeader: " + e.type);}- }+ }, [])+ }), { rowGroupProps: i } = ff(), { hoverProps: a, isHovered: o } = jc({+ onHoverStart: e.onHoverStart,+ onHoverChange: e.onHoverChange,+ onHoverEnd: e.onHoverEnd+ }), s = Ch({+ ...e,+ children: void 0,+ defaultClassName: "react-aria-TableHeader",+ values: { isHovered: o }+ });+ return /*#__PURE__*/ S.createElement(Hv, {+ ...V(U(e, { global: !0 }), i, a),+ ...s,+ ref: t,+ "data-hovered": o || void 0+ }, r);+}, (e) => /*#__PURE__*/ S.createElement(pi, {+ dependencies: e.dependencies,+ items: e.columns+}, e.children)), Wv = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, S.useContext)(Ih);+ return n ? /*#__PURE__*/ S.createElement("div", {+ ...e,+ ref: t+ }) : /*#__PURE__*/ S.createElement("tr", {+ ...e,+ ref: t+ });+});+function Gv({ item: e }) {+ let t = (0, S.useRef)(null), n = (0, S.useContext)(Pv), { isVirtualized: r, CollectionBranch: i } = (0, S.useContext)(Ih), { rowProps: a } = af({+ node: e,+ isVirtualized: r+ }, n, t), { checkboxProps: o } = hf(n);+ return /*#__PURE__*/ S.createElement(Wv, {+ ...a,+ ref: t+ }, /*#__PURE__*/ S.createElement(Sh, { values: [[Zh, { slots: { selection: o } }], [Qh, { slots: { selection: o } }]] }, /*#__PURE__*/ S.createElement(i, {+ collection: n.collection,+ parent: e+ })));+}+var Kv = class extends dt {+ static {+ this.type = "column";}- getKey(e, t, n, r) {- if (e.key != null) return e.key;- if (t.type === "cell" && t.key != null) return `${r}${t.key}`;- let i = t.value;- if (i != null) {- let e = i.key ?? i.id;- if (e == null) throw Error("No key found for item");- return e;+}, qv = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, S.useContext)(Ih);+ return n ? /*#__PURE__*/ S.createElement(X.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ S.createElement(X.th, {+ ...e,+ ref: t+ });+}), Jv = /*#__PURE__*/ li(Kv, (e, t, n) => {+ let r = Rr(t), i = (0, S.useContext)(Pv), { isVirtualized: a } = (0, S.useContext)(Ih), { columnHeaderProps: o, isPressed: s } = rf({+ node: n,+ isVirtualized: a,+ focusMode: e.focusMode,+ allowsArrowNavigation: e.allowsArrowNavigation+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = wc(), d = (0, S.useContext)(Fv), f = !1;+ d && (f = d.resizingColumn === n.key);+ let { hoverProps: p, isHovered: m } = jc({ isDisabled: !e.allowsSorting }), h = Ch({+ ...e,+ id: void 0,+ children: n.rendered,+ defaultClassName: "react-aria-Column",+ values: {+ isHovered: m,+ isPressed: s,+ isFocused: c,+ isFocusVisible: l,+ allowsSorting: n.props.allowsSorting,+ sortDirection: i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0,+ isResizing: f,+ startResize: () => {+ if (d) d.startResize(n.key), i.setKeyboardNavigationDisabled(!0);+ else throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");+ },+ sort: (e) => {+ i.sort(n.key, e);+ }}- return r ? `${r}.${t.index}` : `$.${t.index}`;+ }), g = h.style;+ d && (g = {+ ...g,+ width: d.getColumnWidth(n.key)+ });+ let _ = U(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ S.createElement(qv, {+ ...V(_, o, u, p),+ ...h,+ style: g,+ ref: r,+ "data-hovered": m || void 0,+ "data-pressed": s || void 0,+ "data-focused": c || void 0,+ "data-focus-visible": l || void 0,+ "data-resizing": f || void 0,+ "data-allows-sorting": n.props.allowsSorting || void 0,+ "data-sort-direction": i.sortDescriptor?.column === n.key ? i.sortDescriptor.direction : void 0+ }, /*#__PURE__*/ S.createElement(Sh, { values: [[Yv, {+ column: n,+ triggerRef: r+ }], [Ih, Nh]] }, h.children));+}), Yv = /*#__PURE__*/ (0, S.createContext)(null), Xv = class extends ft {+ static {+ this.type = "tablebody";+ }+}, Zv = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, S.useContext)(Ih);+ return n ? /*#__PURE__*/ S.createElement(X.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ S.createElement(X.tbody, {+ ...e,+ ref: t+ });+}), Qv = /*#__PURE__*/ ui(Xv, (e, t, n) => {+ let r = (0, S.useContext)(Pv), { isVirtualized: i } = (0, S.useContext)(Ih), a = r.collection, { CollectionBranch: o } = (0, S.useContext)(Ih), { dragAndDropHooks: s, dropState: c } = (0, S.useContext)(Wg), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+ isDropTarget: u,+ isEmpty: d+ }, p = Ch({+ ...e,+ id: void 0,+ children: void 0,+ defaultClassName: "react-aria-TableBody",+ values: f+ }), m, h = a.columnCount;+ if (d && e.renderEmptyState && r) {+ let t = {}, n = {}, r = {};+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ S.createElement(ty, {+ role: "row",+ ...t,+ style: r+ }, /*#__PURE__*/ S.createElement(iy, {+ role: "rowheader",+ ...n,+ style: r+ }, e.renderEmptyState(f)));+ }+ let { rowGroupProps: g } = ff(), _ = U(e, { global: !0 });+ return /*#__PURE__*/ S.createElement(Zv, {+ ...V(_, p, g),+ ref: t,+ "data-empty": d || void 0+ }, l && /*#__PURE__*/ S.createElement(dy, null), /*#__PURE__*/ S.createElement(o, {+ collection: a,+ parent: n,+ renderDropIndicator: qg(s, c)+ }), m);+});+(class extends ft {+ static {+ this.type = "tablefooter";}- getChildState(e, t) {- return { renderer: t.renderer || e.renderer };+});+var $v = /*#__PURE__*/ (0, S.createContext)({ isFocusVisibleWithinRow: !1 }), ey = class extends dt {+ static {+ this.type = "item";}- *getFullNode(e, t, n, r) {- if (x.isValidElement(e.element) && e.element.type === x.Fragment) {- let i = [];- x.Children.forEach(e.element.props.children, (e) => {- i.push(e);- });- let a = e.index ?? 0;- for (let e of i) yield* this.getFullNode({- element: e,- index: a++- }, t, n, r);- return;+ filter(e, t, n) {+ let r = e.getChildren(this.key);+ for (let i of r) if (n(i.textValue, i)) {+ let n = this.clone();+ return t.addDescendants(n, e), n;}- let i = e.element;- if (!i && e.value && t && t.renderer) {- let n = this.cache.get(e.value);- if (n && (!n.shouldInvalidate || !n.shouldInvalidate(this.context))) {- n.index = e.index, n.parentKey = r ? r.key : null, yield n;- return;+ return null;+ }+}, ty = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, S.useContext)(Ih);+ return n ? /*#__PURE__*/ S.createElement(X.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ S.createElement(X.tr, {+ ...e,+ ref: t+ });+}), ny = /*#__PURE__*/ ui(ey, (e, t, n) => {+ let r = Rr(t), i = (0, S.useContext)(Pv), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, S.useContext)(Wg), { isVirtualized: c, CollectionBranch: l } = (0, S.useContext)(Ih), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = lf({+ node: n,+ shouldSelectOnPressUp: !!o,+ isVirtualized: c+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = wc(), { isFocusVisible: _, focusProps: v } = wc({ within: !0 }), { hoverProps: y, isHovered: b } = jc({+ isDisabled: !p.allowsSelection && !p.hasAction && !u,+ onHoverStart: e.onHoverStart,+ onHoverChange: e.onHoverChange,+ onHoverEnd: e.onHoverEnd+ }), { checkboxProps: x } = mf({ key: n.key }, i), C;+ o && a && (C = a.useDraggableItem({+ key: n.key,+ hasDragButton: !0+ }, o));+ let w, T = (0, S.useRef)(null), { visuallyHiddenProps: E } = qo();+ s && a && (w = a.useDropIndicator({ target: {+ type: "item",+ key: n.key,+ dropPosition: "on"+ } }, s, T));+ let D = (0, S.useRef)(null);+ (0, S.useEffect)(() => {+ o && D.current;+ }, []);+ let O = o && o.isDragging(n.key), { children: k, ...A } = e, j = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", M = j && i.expandedKeys.has(n.key), N = Ch({+ ...A,+ id: void 0,+ defaultClassName: "react-aria-Row",+ defaultStyle: { "--table-row-level": n.level + 1 },+ values: {+ ...p,+ state: i,+ isHovered: b,+ isFocused: m,+ isFocusVisible: h,+ selectionMode: i.selectionManager.selectionMode,+ selectionBehavior: i.selectionManager.selectionBehavior,+ isDragging: O,+ isDropTarget: w?.isDropTarget,+ isFocusVisibleWithin: _,+ id: n.key,+ hasChildItems: j,+ isExpanded: M,+ level: n.level + 1+ }+ }), ee = U(e, { global: !0 });+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ S.createElement(S.Fragment, null, w && !w.isHidden && /*#__PURE__*/ S.createElement(ty, {+ role: "row",+ style: { height: 0 }+ }, /*#__PURE__*/ S.createElement(iy, {+ role: "gridcell",+ colSpan: i.collection.columnCount,+ style: { padding: 0 }+ }, /*#__PURE__*/ S.createElement("div", {+ role: "button",+ ...E,+ ...w.dropIndicatorProps,+ ref: T+ }))), /*#__PURE__*/ S.createElement(ty, {+ ...V(ee, N, d, g, y, C?.dragProps, v),+ ref: r,+ "data-disabled": p.isDisabled || void 0,+ "data-selected": p.isSelected || void 0,+ "data-hovered": b || void 0,+ "data-focused": p.isFocused || void 0,+ "data-focus-visible": h || void 0,+ "data-pressed": p.isPressed || void 0,+ "data-dragging": O || void 0,+ "data-drop-target": w?.isDropTarget || void 0,+ "data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode,+ "data-focus-visible-within": _ || void 0,+ "data-expanded": M || void 0,+ "data-has-child-items": j || void 0,+ "data-level": n.level + 1+ }, /*#__PURE__*/ S.createElement(Sh, { values: [+ [Zh, { slots: {+ [xh]: {},+ selection: x+ } }],+ [Qh, { slots: {+ [xh]: {},+ selection: x+ } }],+ [Vh, { slots: {+ [xh]: {},+ chevron: f,+ drag: {+ ...C?.dragButtonProps,+ ref: D,+ style: { pointerEvents: "none" }}- i = t.renderer(e.value);+ } }],+ [Qg, { isSelected: p.isSelected }],+ [$v, { isFocusVisibleWithinRow: _ }]+ ] }, /*#__PURE__*/ S.createElement(l, {+ collection: i.collection,+ parent: n+ }))));+}, (e) => {+ if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");+ let t = [e.value].concat(e.dependencies);+ return /*#__PURE__*/ S.createElement(pi, {+ dependencies: t,+ items: e.columns,+ idScope: e.id+ }, e.children);+}), ry = class extends dt {+ static {+ this.type = "cell";+ }+}, iy = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, S.useContext)(Ih);+ return n ? /*#__PURE__*/ S.createElement(X.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ S.createElement(X.td, {+ ...e,+ ref: t+ });+}), ay = /*#__PURE__*/ li(ry, (e, t, n) => {+ let r = Rr(t), i = (0, S.useContext)(Pv), { dragState: a } = (0, S.useContext)(Wg), { isVirtualized: o } = (0, S.useContext)(Ih);+ n.column = i.collection.columns[n.index];+ let { gridCellProps: s, isPressed: c } = tf({+ node: n,+ shouldSelectOnPressUp: !!a,+ isVirtualized: o,+ focusMode: e.focusMode,+ allowsArrowNavigation: e.allowsArrowNavigation+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = wc(), { hoverProps: f, isHovered: p } = jc({}), { isFocusVisibleWithinRow: m } = (0, S.useContext)($v), h = n.parentKey != null && i.selectionManager.isSelected(n.parentKey), g = n.colIndex || n.index, _ = i.collection.getItem(n.parentKey), v = _.props.hasChildItems || i.collection.getItem(_.lastChildKey)?.type !== "cell", y = v && i.expandedKeys.has(n.parentKey), b = i.selectionManager.isDisabled(n.parentKey), x = Ch({+ ...e,+ id: void 0,+ defaultClassName: "react-aria-Cell",+ values: {+ isFocused: l,+ isFocusVisible: u,+ isFocusVisibleWithinRow: m,+ isPressed: c,+ isHovered: p,+ isSelected: h,+ id: n.key,+ columnIndex: g,+ hasChildItems: v,+ isExpanded: y,+ isDisabled: b,+ level: _.level + 1,+ isTreeColumn: n.column.key === i.treeColumn+ }+ }), C = U(e, { global: !0 });+ return delete C.id, /*#__PURE__*/ S.createElement(iy, {+ ...V(C, x, s, d, f),+ ref: r,+ "data-focused": l || void 0,+ "data-focus-visible": u || void 0,+ "data-focus-visible-within-row": m || void 0,+ "data-pressed": c || void 0,+ "data-selected": h || void 0,+ "data-column-index": g,+ "data-expanded": y || void 0,+ "data-has-child-items": v || void 0,+ "data-level": _.level + 1,+ "data-tree-column": n.column.key === i.treeColumn || void 0,+ "data-disabled": b || void 0+ }, /*#__PURE__*/ S.createElement(Ih.Provider, { value: Nh }, x.children));+});+function oy(e, t) {+ t = Rr(t);+ let { dragAndDropHooks: n, dropState: r } = (0, S.useContext)(Wg), i = (0, S.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+ if (o) return null;+ let c = r && e.target.type === "item" ? (r.collection.getItem(e.target.key)?.level || 0) + 1 : 1;+ return /*#__PURE__*/ S.createElement(uy, {+ ...e,+ dropIndicatorProps: a,+ isDropTarget: s,+ buttonRef: i,+ level: c,+ ref: t+ });+}+var sy = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, S.useContext)(Ih);+ return n ? /*#__PURE__*/ S.createElement(X.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ S.createElement(X.tr, {+ ...e,+ ref: t+ });+}), cy = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, S.useContext)(Ih);+ return n ? /*#__PURE__*/ S.createElement(X.div, {+ ...e,+ ref: t+ }) : /*#__PURE__*/ S.createElement(X.td, {+ ...e,+ ref: t+ });+});+function ly(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, S.useContext)(Pv), { visuallyHiddenProps: c } = qo(), l = Ch({+ ...o,+ defaultClassName: "react-aria-DropIndicator",+ defaultStyle: { "--table-row-level": a + 1 },+ values: { isDropTarget: r }+ });+ return /*#__PURE__*/ S.createElement(sy, {+ ...U(e, { global: !0 }),+ ...l,+ role: "row",+ ref: t,+ "data-drop-target": r || void 0,+ "aria-level": a+ }, /*#__PURE__*/ S.createElement(cy, {+ role: "gridcell",+ colSpan: s.collection.columnCount,+ style: { padding: 0 }+ }, /*#__PURE__*/ S.createElement("div", {+ ...c,+ role: "button",+ ...n,+ ref: i+ }), l.children));+}+var uy = /*#__PURE__*/ (0, S.forwardRef)(ly);+function dy() {+ let e = (0, S.useContext)(Pv), { dragAndDropHooks: t, dropState: n } = (0, S.useContext)(Wg), r = (0, S.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = qo();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ S.createElement(ty, {+ role: "row",+ "aria-hidden": i["aria-hidden"],+ style: { height: 0 }+ }, /*#__PURE__*/ S.createElement(iy, {+ role: "gridcell",+ colSpan: e.collection.columnCount,+ style: { padding: 0 }+ }, /*#__PURE__*/ S.createElement("div", {+ role: "button",+ ...o,+ ...i,+ ref: r+ })));+}+li(pt, function(e, t, n) {+ let r = (0, S.useContext)(Pv), { isVirtualized: i } = (0, S.useContext)(Ih), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, S.useRef)(null);+ h_((0, S.useMemo)(() => ({+ onLoadMore: o,+ collection: r?.collection,+ sentinelRef: u,+ scrollOffset: s+ }), [+ o,+ s,+ r?.collection+ ]), u);+ let d = Ch({+ ...c,+ id: void 0,+ children: n.rendered,+ defaultClassName: "react-aria-TableLoadingIndicator",+ defaultStyle: { "--table-row-level": n.level + 1 },+ values: void 0+ }), f = {}, p = {}, m = {};+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ S.createElement(S.Fragment, null, /*#__PURE__*/ S.createElement(ty, {+ style: { height: 0 },+ inert: e_(!0)+ }, /*#__PURE__*/ S.createElement(iy, { style: {+ padding: 0,+ border: 0+ } }, /*#__PURE__*/ S.createElement("div", {+ "data-testid": "loadMoreSentinel",+ ref: u,+ style: {+ position: "relative",+ height: 1,+ width: 1}- if (x.isValidElement(i)) {- let a = i.type;- if (typeof a != "function" && typeof a.getCollectionNode != "function") {- let e = i.type;- throw Error(`Unknown element <${e}> in collection.`);- }- let o = a.getCollectionNode(i.props, this.context), s = e.index ?? 0, c = o.next();- for (; !c.done && c.value;) {- let a = c.value;- e.index = s;- let l = a.key ?? null;- l ??= a.element ? null : this.getKey(i, e, t, n);- let u = [...this.getFullNode({- ...a,- key: l,- index: s,- wrapper: qm(e.wrapper, a.wrapper)- }, this.getChildState(t, a), n ? `${n}${i.key}` : i.key, r)];- for (let t of u) {- if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${Jm(t.type)}> in <${Jm(r?.type ?? "unknown parent type")}>. Only <${Jm(e.type)}> is supported.`);- s++, yield t;- }- c = o.next(u);- }- return;+ }))), a && d.children && /*#__PURE__*/ S.createElement(ty, {+ ...V(U(e, { global: !0 }), f),+ ...d,+ role: "row",+ ref: t,+ "aria-level": n.level + 1,+ "data-level": n.level + 1+ }, /*#__PURE__*/ S.createElement(iy, {+ role: "rowheader",+ ...p,+ style: m+ }, d.children)));+});+//#endregion+//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs+function fy(e) {+ let [t, n] = Ho(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, S.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = f_({+ ...e,+ selectionMode: "single",+ disallowEmptySelection: !0,+ allowDuplicateSelectionEvents: !0,+ selectedKeys: r,+ onSelectionChange: (r) => {+ if (r === "all") return;+ let i = r.values().next().value ?? null;+ i === t && e.onSelectionChange && e.onSelectionChange(i), n(i);}- if (e.key == null || e.type == null) return;- let a = this, o = {- type: e.type,- props: e.props,- key: e.key,- parentKey: r ? r.key : null,- value: e.value ?? null,- level: (r?.level ?? 0) + +(r?.type === "item"),- index: e.index,- rendered: e.rendered,- textValue: e.textValue ?? "",- "aria-label": e["aria-label"],- wrapper: e.wrapper,- shouldInvalidate: e.shouldInvalidate,- hasChildNodes: e.hasChildNodes || !1,- childNodes: Km(function* () {- if (!e.hasChildNodes || !e.childNodes) return;- let n = 0;- for (let r of e.childNodes()) {- r.key != null && (r.key = `${o.key}${r.key}`);- let e = a.getFullNode({- ...r,- index: n- }, a.getChildState(t, r), o.key, o);- for (let t of e) n++, yield t;- }- })- };- yield o;- }- constructor() {- this.cache = /* @__PURE__ */ new WeakMap();+ });+ return {+ collection: i,+ disabledKeys: a,+ selectionManager: o,+ selectedKey: t,+ setSelectedKey: n,+ selectedItem: t == null ? null : i.getItem(t)+ };+}+//#endregion+//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs+function py(e) {+ let t = fy({+ ...e,+ onSelectionChange: e.onSelectionChange ? (t) => {+ t != null && e.onSelectionChange?.(t);+ } : void 0,+ suppressTextValueWarning: !0,+ defaultSelectedKey: e.defaultSelectedKey ?? my(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ }), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, S.useRef)(i);+ return (0, S.useEffect)(() => {+ let o = i;+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = my(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;+ }), {+ ...t,+ isDisabled: e.isDisabled || !1+ };+}+function my(e, t) {+ let n = null;+ if (e) {+ for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);+ n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n === e.getLastKey() && (n = e.getFirstKey());}-};-function Km(e) {- let t = [], n = null;- return { *[Symbol.iterator]() {- for (let e of t) yield e;- n ||= e();- for (let e of n) t.push(e), yield e;- } };+ return n;}-function qm(e, t) {- if (e && t) return (n) => e(t(n));- if (e) return e;- if (t) return t;+//#endregion+//#region node_modules/react-aria-components/dist/private/Tabs.mjs+var hy = /*#__PURE__*/ (0, S.createContext)(null), gy = /*#__PURE__*/ (0, S.createContext)(null), _y = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ [e, t] = Th(e, t, hy);+ let { children: n, orientation: r = "horizontal" } = e;+ return n = (0, S.useMemo)(() => typeof n == "function" ? n({+ orientation: r,+ defaultChildren: null+ }) : n, [n, r]), /*#__PURE__*/ S.createElement(ti, { content: n }, (n) => /*#__PURE__*/ S.createElement(vy, {+ props: e,+ collection: n,+ tabsRef: t+ }));+});+function vy({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = py({+ ...e,+ collection: n,+ children: void 0+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = wc({ within: !0 }), c = (0, S.useMemo)(() => ({+ orientation: r,+ isFocusWithin: o,+ isFocusVisible: s+ }), [+ r,+ o,+ s+ ]), l = Ch({+ ...e,+ defaultClassName: "react-aria-Tabs",+ values: c+ }), u = U(e, { global: !0 });+ return /*#__PURE__*/ S.createElement(X.div, {+ ...V(u, l, a),+ ref: t,+ slot: e.slot || void 0,+ "data-focused": o || void 0,+ "data-orientation": r,+ "data-focus-visible": s || void 0,+ "data-disabled": i.isDisabled || void 0+ }, /*#__PURE__*/ S.createElement(Sh, { values: [[hy, e], [gy, i]] }, l.children));+}+var yy = /*#__PURE__*/ (0, S.forwardRef)(function(e, t) {+ return (0, S.useContext)(gy) ? /*#__PURE__*/ S.createElement(by, {+ props: e,+ forwardedRef: t+ }) : /*#__PURE__*/ S.createElement(pi, e);+});+function by({ props: e, forwardedRef: t }) {+ let n = (0, S.useContext)(gy), { CollectionRoot: r } = (0, S.useContext)(Ih), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = wh(hy), o = Rr(t), { tabListProps: s } = bf({+ ...e,+ orientation: i,+ keyboardActivation: a+ }, n, o), c = Ch({+ ...e,+ children: null,+ defaultClassName: "react-aria-TabList",+ values: {+ orientation: i,+ state: n+ }+ }), l = U(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ S.createElement(X.div, {+ ...V(l, c, s),+ ref: o,+ "data-orientation": i || void 0+ }, /*#__PURE__*/ S.createElement(Zg, null, /*#__PURE__*/ S.createElement(r, {+ collection: n.collection,+ persistedKeys: Lh(n.selectionManager.focusedKey)+ })));}-function Jm(e) {- return e[0].toUpperCase() + e.slice(1);+var xy = /*#__PURE__*/ li(class extends dt {+ static {+ this.type = "item";+ }+}, (e, t, n) => {+ let r = (0, S.useContext)(gy), i = Rr(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = vf({+ key: n.key,+ ...e+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = wc(), { hoverProps: f, isHovered: p } = jc({+ isDisabled: s,+ onHoverStart: e.onHoverStart,+ onHoverEnd: e.onHoverEnd,+ onHoverChange: e.onHoverChange+ }), m = Ch({+ ...e,+ id: void 0,+ children: n.rendered,+ defaultClassName: "react-aria-Tab",+ values: {+ isSelected: o,+ isDisabled: s,+ isFocused: u,+ isFocusVisible: d,+ isPressed: c,+ isHovered: p+ }+ }), h = n.props.href ? X.a : X.div, g = U(e, { global: !0 });+ return delete g.id, delete g.onClick, /*#__PURE__*/ S.createElement(h, {+ ...V(g, m, a, l, f),+ ref: i,+ "data-selected": o || void 0,+ "data-disabled": s || void 0,+ "data-focused": u || void 0,+ "data-focus-visible": d || void 0,+ "data-pressed": c || void 0,+ "data-hovered": p || void 0+ }, /*#__PURE__*/ S.createElement(Qg.Provider, { value: { isSelected: o } }, m.children));+}), Sy = /*#__PURE__*/ Gr(function(e, t) {+ let n = (0, S.useContext)(gy), r = Rr(t), i = n.selectedKey === e.id, [a, o] = (0, S.useState)(n.selectedKey == null ? null : i);+ a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);+ let s = k_(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ S.createElement(Cy, {+ ...e,+ tabPanelRef: r,+ isInitiallySelected: a || !1,+ isExiting: s+ });+});+function Cy(e) {+ let t = (0, S.useContext)(gy), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = xf(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = wc(), d = t.selectedKey === e.id, f = O_(r) && !i, p = Ch({+ ...e,+ defaultClassName: "react-aria-TabPanel",+ values: {+ isFocused: l,+ isFocusVisible: u,+ isInert: e_(!d),+ isEntering: f,+ isExiting: a,+ state: t+ }+ }), m = U(o, { global: !0 });+ delete m.id;+ let h = d ? V(m, s, c, p) : V(m, p);+ return /*#__PURE__*/ S.createElement(X.div, {+ ...h,+ ref: r,+ "data-focused": l || void 0,+ "data-focus-visible": u || void 0,+ inert: e_(!d || e.inert),+ "data-inert": d ? void 0 : "true",+ "data-entering": f || void 0,+ "data-exiting": a || void 0+ }, /*#__PURE__*/ S.createElement(Sh, { values: [[hy, null], [gy, null]] }, /*#__PURE__*/ S.createElement(Ih.Provider, { value: Nh }, p.children)));}//#endregion-//#region node_modules/react-stately/dist/private/collections/useCollection.mjs-function Ym(e, t, n) {- let r = (0, x.useMemo)(() => new Gm(), []), { children: i, items: a, collection: o } = e;- return (0, x.useMemo)(() => o || t(r.build({- children: i,- items: a- }, n)), [- r,- i,- a,- o,- n,- t- ]);+//#region node_modules/react-aria-components/dist/private/TextArea.mjs+var wy = /*#__PURE__*/ (0, S.createContext)({}), Ty = /*#__PURE__*/ (0, S.createContext)(null), Ey = /*#__PURE__*/ Gr(function(e, t) {+ [e, t] = Th(e, t, Ty);+ let { validationBehavior: n } = wh(Xh) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, S.useRef)(null);+ [e, i] = Th(e, i, jh);+ let [a, o] = Eh(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, S.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Yo({+ ...Dh(e),+ inputElementType: s,+ label: o,+ validationBehavior: r+ }, i), m = (0, S.useCallback)((e) => {+ i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");+ }, [i]), h = Ch({+ ...e,+ values: {+ isDisabled: e.isDisabled || !1,+ isInvalid: p.isInvalid,+ isReadOnly: e.isReadOnly || !1,+ isRequired: e.isRequired || !1+ },+ defaultClassName: "react-aria-TextField"+ }), g = U(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ S.createElement(X.div, {+ ...g,+ ...h,+ ref: t,+ slot: e.slot || void 0,+ "data-disabled": e.isDisabled || void 0,+ "data-invalid": p.isInvalid || void 0,+ "data-readonly": e.isReadOnly || void 0,+ "data-required": e.isRequired || void 0+ }, /*#__PURE__*/ S.createElement(Sh, { values: [+ [Rh, {+ ...l,+ ref: a+ }],+ [og, {+ ...u,+ ref: m+ }],+ [wy, {+ ...u,+ ref: m+ }],+ [ig, {+ role: "presentation",+ isInvalid: p.isInvalid,+ isDisabled: e.isDisabled || !1+ }],+ [qh, { slots: {+ description: d,+ errorMessage: f+ } }],+ [Yh, p]+ ] }, h.children));+}), Dy = zm({+ base: [+ "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",+ "font-sans select-none cursor-pointer",+ "button-press-motion",+ "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",+ "disabled:cursor-not-allowed aria-disabled:cursor-not-allowed"+ ].join(" "),+ size: {+ medium: "h-9 rounded-2lg p-2 text-body-medium",+ small: "h-8 rounded-lg px-2 py-1.5 text-body-medium",+ xs: "h-6 rounded-sm px-2 text-caption-1-semibold"+ },+ iconOnlySize: {+ medium: "",+ small: "size-8 p-0",+ xs: "size-6 p-0"+ },+ icon: {+ medium: "size-5 shrink-0",+ small: "size-[18px] shrink-0",+ xs: "size-3.5 shrink-0"+ },+ label: {+ medium: "inline-flex items-center justify-center px-1 shrink-0",+ small: "inline-flex items-center justify-center px-0.5 shrink-0",+ xs: "inline-flex items-center justify-center px-0.5 shrink-0"+ },+ variant: {+ primary: [+ "bg-button-primary text-text-white shadow-xs",+ "disabled:text-button-primary-disabled-foreground disabled:shadow-none",+ "aria-disabled:text-button-primary-disabled-foreground aria-disabled:shadow-none"+ ].join(" "),+ danger: [+ "bg-button-danger text-text-white shadow-xs",+ "disabled:text-foreground-disabled-danger disabled:shadow-none",+ "aria-disabled:text-foreground-disabled-danger aria-disabled:shadow-none"+ ].join(" "),+ secondary: [+ "bg-background-primary-default text-text-primary",+ "border border-border-button-default shadow-xs",+ "hover:bg-background-primary-hover hover:border-border-button-hover",+ "active:bg-background-primary-active active:border-border-button-active",+ "disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-text-tertiary disabled:shadow-none",+ "aria-disabled:bg-background-primary-disabled aria-disabled:border-border-button-default aria-disabled:text-text-tertiary aria-disabled:shadow-none"+ ].join(" "),+ ghost: [+ "bg-button-ghost-background text-button-ghost-foreground",+ "hover:bg-button-ghost-hover active:bg-button-ghost-active",+ "disabled:bg-button-ghost-disabled disabled:text-button-ghost-disabled-foreground disabled:shadow-none",+ "aria-disabled:bg-button-ghost-disabled aria-disabled:text-button-ghost-disabled-foreground aria-disabled:shadow-none"+ ].join(" ")+ }+});+function Z({ 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, C.jsxs)("button", {+ ref: c,+ type: s,+ className: Y(Dy.base, Dy.size[t], Dy.variant[e], n && Dy.iconOnlySize[t], o),+ ...l,+ children: [+ r ? /* @__PURE__ */ (0, C.jsx)(r, {+ className: Dy.icon[t],+ "aria-hidden": !0+ }) : null,+ !n && a != null && /* @__PURE__ */ (0, C.jsx)("span", {+ className: Dy.label[t],+ children: a+ }),+ !n && i ? /* @__PURE__ */ (0, C.jsx)(i, {+ className: Dy.icon[t],+ "aria-hidden": !0+ }) : null+ ]+ });}//#endregion-//#region node_modules/react-stately/dist/private/list/useListState.mjs-function Xm(e) {- let { filter: t, layoutDelegate: n } = e, r = Hm(e), i = (0, x.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = Ym(e, (0, x.useCallback)((e) => t ? new zm(t(e)) : new zm(e), [t]), (0, x.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, x.useMemo)(() => new Wm(a, r, { layoutDelegate: n }), [- a,- r,- n- ]);- return Qm(a, o), {- collection: a,- disabledKeys: i,- selectionManager: o- };-}-function Zm(e, t) {- let n = (0, x.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return Qm(n, r), {- collection: n,- selectionManager: r,- disabledKeys: e.disabledKeys- };+//#region src/react/boardui/components/base/buttons/icon-button.tsx+var Oy = zm({+ base: [+ "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",+ "bg-background-primary-default text-foreground-icon-primary",+ "border border-border-button-default shadow-xs",+ "select-none cursor-pointer",+ "transition-[background-color,border-color,box-shadow,color] duration-150 ease",+ "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",+ "hover:bg-background-primary-hover hover:border-border-button-hover",+ "active:bg-background-primary-active active:border-border-button-active",+ "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none"+ ].join(" "),+ size: {+ medium: "size-9",+ small: "size-8"+ },+ icon: {+ medium: "size-5 shrink-0",+ small: "size-4 shrink-0"+ }+});+function ky({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+ return /* @__PURE__ */ (0, C.jsx)("button", {+ ref: i,+ type: r,+ className: Y(Oy.base, Oy.size[t], n),+ ...a,+ children: /* @__PURE__ */ (0, C.jsx)(e, {+ className: Oy.icon[t],+ "aria-hidden": !0+ })+ });}-function Qm(e, t) {- let n = (0, x.useRef)(null);- (0, x.useEffect)(() => {- if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {- let r = n.current.getKeyAfter(t.focusedKey), i = null;- for (; r != null;) {- let a = e.getItem(r);- if (a && a.type === "item" && !t.isDisabled(r)) {- i = r;- break;- }- r = n.current.getKeyAfter(r);- }- if (i == null) for (r = n.current.getKeyBefore(t.focusedKey); r != null;) {- let a = e.getItem(r);- if (a && a.type === "item" && !t.isDisabled(r)) {- i = r;- break;- }- r = n.current.getKeyBefore(r);- }- t.setFocusedKey(i);- }- n.current = e;- }, [e, t]);+//#endregion+//#region src/react/boardui/components/base/input/label.tsx+function Ay({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, C.jsxs)(zh, {+ "data-label": "true",+ ...a,+ className: Y("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ children: [+ i,+ e && /* @__PURE__ */ (0, C.jsx)("span", {+ "aria-hidden": "true",+ className: "text-body-medium text-text-error-primary",+ children: "*"+ }),+ n && /* @__PURE__ */ (0, C.jsx)(Gf, {+ className: "size-4 shrink-0 text-foreground-icon-quaternary",+ "aria-hidden": !0+ })+ ]+ });}//#endregion-//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function $m(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, x.useRef)(null), s = xi((e) => {- for (let t of e) t.isIntersecting && r && r();+//#region src/react/boardui/components/base/input/hint-text.tsx+function jy({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, C.jsx)(Jh, {+ slot: e ? "errorMessage" : "description",+ ...n,+ className: Y("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});- B(() => {- if (t.current) {- let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;- o.current = new IntersectionObserver(s, {- root: io(t?.current),- rootMargin: n- }), o.current.observe(t.current);- }- return () => {- o.current && o.current.disconnect();- };- }, [- n,- t,- i,- a- ]);}//#endregion-//#region node_modules/react-aria-components/dist/private/ListBox.mjs-var eh = /*#__PURE__*/ (0, x.createContext)(null), th = /*#__PURE__*/ (0, x.createContext)(null), nh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- [e, t] = lp(e, t, eh);- let n = (0, x.useContext)(th);- return n ? /*#__PURE__*/ x.createElement(ih, {- state: n,- props: e,- listBoxRef: t- }) : /*#__PURE__*/ x.createElement(Qr, { content: /*#__PURE__*/ x.createElement(li, e) }, (n) => /*#__PURE__*/ x.createElement(rh, {- props: e,- listBoxRef: t,- collection: n- }));-});-function rh({ props: e, listBoxRef: t, collection: n }) {- e = {- ...e,- collection: n,- children: null,- items: null- };- let { layoutDelegate: r } = (0, x.useContext)(xp), i = Xm({- ...e,- layoutDelegate: r- });- return /*#__PURE__*/ x.createElement(ih, {- state: i,- props: e,- listBoxRef: t+//#region src/react/boardui/components/base/input/input.tsx+var My = (0, S.createContext)({});+function Ny({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, C.jsx)(My.Provider, {+ value: {+ size: e,+ fieldClassName: t,+ inputClassName: n+ },+ children: /* @__PURE__ */ (0, C.jsx)(Ey, {+ ...a,+ "data-input-size": e,+ className: Y("group flex h-max w-full flex-col items-start gap-1", r),+ children: i+ })});}-function ih({ state: e, props: t, listBoxRef: n }) {- [t, n] = lp(t, n, hp);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Zm(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Pi(), { disabledBehavior: p, disabledKeys: m } = l, h = cc({- usage: "search",- sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, x.useContext)(xp), b = (0, x.useMemo)(() => t.keyboardDelegate || new as({- collection: c,- collator: h,- ref: n,- disabledKeys: m,- disabledBehavior: p,- layout: i,- orientation: a,- direction: f,- layoutDelegate: _- }), [- c,- h,- n,- p,- m,- a,- f,- t.keyboardDelegate,- i,- _- ]), { listBoxProps: S } = Mc({- ...t,- shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,- keyboardDelegate: b,- isVirtualized: g- }, s, n);- (0, x.useRef)(u), (0, x.useRef)(d), (0, x.useEffect)(() => {}, [u, d]);- let C, w, T, E = !1, D = null, O = (0, x.useRef)(null);- if (u && r) {- C = r.useDraggableCollectionState({- collection: c,- selectionManager: l,- preview: r.renderDragPreview ? O : void 0- }), r.useDraggableCollection({}, C, n);- let e = r.DragPreview;- D = r.renderDragPreview ? /*#__PURE__*/ x.createElement(e, { ref: O }, r.renderDragPreview) : null;- }- if (d && r) {- w = r.useDroppableCollectionState({- collection: c,- selectionManager: l- });- let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(c, n, {- orientation: a,- layout: i,- direction: f- });- T = r.useDroppableCollection({- keyboardDelegate: b,- dropTargetDelegate: e- }, w, n), E = w.isDropTarget({ type: "root" });- }- let { focusProps: k, isFocused: A, isFocusVisible: ee } = _c(), j = s.collection.size === 0, te = {- isDropTarget: E,- isEmpty: j,- isFocused: A,- isFocusVisible: ee,- layout: t.layout || "stack",- orientation: a,- state: s- }, M = sp({- ...t,- children: void 0,- defaultClassName: "react-aria-ListBox",- values: te- }), ne = null;- j && t.renderEmptyState && (ne = /*#__PURE__*/ x.createElement("div", {- role: "option",- style: { display: "contents" }- }, t.renderEmptyState(te)));- let N = H(t, { global: !0 });- return /*#__PURE__*/ x.createElement(ka, null, /*#__PURE__*/ x.createElement(mp.div, {- ...V(N, M, S, k, T?.collectionProps),- ref: n,- slot: t.slot || void 0,- onScroll: t.onScroll,- "data-drop-target": E || void 0,- "data-empty": j || void 0,- "data-focused": A || void 0,- "data-focus-visible": ee || void 0,- "data-layout": t.layout || "stack",- "data-orientation": a- }, /*#__PURE__*/ x.createElement(op, { values: [- [eh, t],- [th, s],- [Om, {- dragAndDropHooks: r,- dragState: C,- dropState: w- }],- [Lm, { elementType: "div" }],- [km, { render: sh }],- [_p, {- name: "ListBoxSection",- render: ah- }]- ] }, /*#__PURE__*/ x.createElement(Fm, null, /*#__PURE__*/ x.createElement(y, {- collection: c,- scrollRef: n,- persistedKeys: Mm(l, r, w),- renderDropIndicator: jm(r, w)- }))), ne, D));-}-function ah(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, x.useContext)(th), { dragAndDropHooks: a, dropState: o } = (0, x.useContext)(Om), { CollectionBranch: s } = (0, x.useContext)(xp), [c, l] = up(), { headingProps: u, groupProps: d } = Nc({- heading: l,- "aria-label": e["aria-label"] ?? void 0- }), f = sp({- ...e,- id: void 0,- children: void 0,- defaultClassName: r,- values: void 0- }), p = H(e, { global: !0 });- return delete p.id, /*#__PURE__*/ x.createElement(mp.section, {- ...V(p, f, d),- ref: t- }, /*#__PURE__*/ x.createElement(Nm.Provider, { value: {- ...u,- ref: c- } }, /*#__PURE__*/ x.createElement(s, {- collection: i.collection,- parent: n,- renderDropIndicator: jm(a, o)- })));-}-var oh = /*#__PURE__*/ oi(ht, function(e, t, n) {- let r = Fr(t), i = (0, x.useContext)(th), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, x.useContext)(Om), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Pc({- key: n.key,- "aria-label": e?.["aria-label"]- }, i, r), { hoverProps: p, isHovered: m } = wc({- isDisabled: !f.allowsSelection && !f.hasAction && !c,- onHoverStart: n.props.onHoverStart,- onHoverChange: n.props.onHoverChange,- onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = Pr(e), { focusProps: g } = br(e), _ = null;- o && a && (_ = a.useDraggableItem({- key: n.key,- hasAction: f.hasAction- }, o));- let v = null;- s && a && (v = a.useDroppableItem({ target: {- type: "item",- key: n.key,- dropPosition: "on"- } }, s, r));- let y = o && o.isDragging(n.key), b = sp({- ...e,- id: void 0,- children: e.children,- defaultClassName: "react-aria-ListBoxItem",- values: {- ...f,- isHovered: m,- selectionMode: i.selectionManager.selectionMode,- selectionBehavior: i.selectionManager.selectionBehavior,- allowsDragging: !!o,- isDragging: y,- isDropTarget: v?.isDropTarget- }- });- (0, x.useEffect)(() => {- n.textValue;- }, [n.textValue]);- let S = e.href ? mp.a : mp.div, C = H(e, { global: !0 });- return delete C.id, delete C.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ x.createElement(S, {- ...V(C, b, l, p, h, g, _?.dragProps, v?.dropProps),- ref: r,- "data-allows-dragging": !!o || void 0,- "data-selected": f.isSelected || void 0,- "data-disabled": f.isDisabled || void 0,- "data-hovered": m || void 0,- "data-focused": f.isFocused || void 0,- "data-focus-visible": f.isFocusVisible || void 0,- "data-pressed": f.isPressed || void 0,- "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__*/ x.createElement(op, { values: [[Mp, { slots: {- [ap]: u,- label: u,- description: d- } }], [Im, { isSelected: f.isSelected }]] }, b.children));+Ny.displayName = "TextField";+var Py = zm({+ field: [+ "relative flex w-full items-center",+ "rounded-2lg",+ "bg-background-tertiary-default text-foreground-icon-tertiary",+ "ring-2 ring-inset ring-transparent",+ "transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease"+ ].join(" "),+ fieldSize: {+ medium: "p-2",+ small: "h-8 px-1.5 py-2"+ },+ fieldWithAddonSize: {+ medium: "h-9 pl-1 pr-2 py-2",+ small: "h-8 pl-1 pr-1.5 py-2"+ },+ content: "flex w-full items-center gap-2 min-w-0",+ leftSection: "flex flex-1 items-center gap-0.5 min-w-0",+ input: [+ "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0",+ "font-sans text-body-regular text-text-primary pl-1",+ "placeholder:text-text-tertiary",+ "focus:placeholder:text-text-primary",+ "disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text",+ "disabled:cursor-not-allowed",+ "aria-invalid:placeholder:text-text-error-placeholder"+ ].join(" "),+ icon: "size-5 shrink-0"});-function sh(e, t) {- t = Fr(t);- let { dragAndDropHooks: n, dropState: r } = (0, x.useContext)(Om), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ x.createElement(lh, {- ...e,- dropIndicatorProps: i,- isDropTarget: o,- ref: t+function Fy({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, S.useContext)(My), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, C.jsx)(ag, {+ ref: s,+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => Y(Py.field, d ? Py.fieldWithAddonSize[u] : Py.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),+ children: /* @__PURE__ */ (0, C.jsxs)("div", {+ className: Py.content,+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {+ className: Py.leftSection,+ children: [d ? r : t ? /* @__PURE__ */ (0, C.jsx)(t, {+ className: Py.icon,+ "aria-hidden": !0+ }) : null, /* @__PURE__ */ (0, C.jsx)(cg, {+ ref: o,+ ...c,+ className: Y(Py.input, l.inputClassName, a)+ })]+ }), n ? /* @__PURE__ */ (0, C.jsx)(n, {+ className: Py.icon,+ "aria-hidden": !0+ }) : null]+ })});}-function ch(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = sp({- ...i,- defaultClassName: "react-aria-DropIndicator",- values: { isDropTarget: r }+Fy.displayName = "InputBase";+function Iy({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, trailingIcon: a, leadingAddon: o, fieldClassName: s, ref: c, groupRef: l, className: u, ...d }) {+ return /* @__PURE__ */ (0, C.jsx)(Ny, {+ ...d,+ className: u,+ "aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),+ children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [+ e && /* @__PURE__ */ (0, C.jsx)(Ay, {+ isRequired: u,+ isInvalid: d,+ tooltip: n,+ children: e+ }),+ /* @__PURE__ */ (0, C.jsx)(Fy, {+ ref: c,+ groupRef: l,+ placeholder: r,+ leadingIcon: i,+ trailingIcon: a,+ leadingAddon: o,+ fieldClassName: s+ }),+ t && /* @__PURE__ */ (0, C.jsx)(jy, {+ isInvalid: d,+ children: t+ })+ ] })});- return /*#__PURE__*/ x.createElement(x.Fragment, null, /*#__PURE__*/ x.createElement(mp.div, {- ...n,- ...a,- role: "option",- ref: t,- "data-drop-target": r || void 0- }));}-var lh = /*#__PURE__*/ (0, x.forwardRef)(ch);-oi(mt, function(e, t, n) {- let r = (0, x.useContext)(th), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, x.useRef)(null);- $m((0, x.useMemo)(() => ({- onLoadMore: a,- collection: r?.collection,- sentinelRef: c,- scrollOffset: o- }), [- a,- o,- r?.collection- ]), c);- let l = sp({- ...s,- id: void 0,- children: n.rendered,- defaultClassName: "react-aria-ListBoxLoadingIndicator",- values: void 0- });- return /*#__PURE__*/ x.createElement(x.Fragment, null, /*#__PURE__*/ x.createElement("div", {- style: {- position: "relative",- width: 0,- height: 0- },- inert: Rm(!0)- }, /*#__PURE__*/ x.createElement("div", {- "data-testid": "loadMoreSentinel",- ref: c,- style: {- position: "absolute",- height: 1,- width: 1- }- })), i && l.children && /*#__PURE__*/ x.createElement(x.Fragment, null, /*#__PURE__*/ x.createElement(mp.div, {- ...V(H(e, { global: !0 }), { tabIndex: -1 }),- ...l,- role: "option",- ref: t- }, l.children)));-});-//#endregion-//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var uh = /*#__PURE__*/ (0, x.createContext)({ placement: "bottom" });+Iy.displayName = "Input";//#endregion-//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function dh(e) {- let [t, n] = Ro(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, x.useState)(null);+//#region src/react/settings/use-action.ts+function Ly(e = "") {+ let t = (0, S.useRef)(null), [n, r] = (0, S.useState)(""), [i, a] = (0, S.useState)(e);+ (0, S.useEffect)(() => () => t.current?.abort(), []);+ async function o(e, n, i, o) {+ if (t.current) return;+ let s = new AbortController();+ t.current = s, r(e), a("");+ try {+ let e = await n(s.signal);+ s.signal.aborted || i(e);+ } catch (e) {+ if (s.signal.aborted) return;+ o ? o(e) : a(Wm(e));+ } finally {+ t.current === s && (t.current = null), s.signal.aborted || r("");+ }+ }return {- isOpen: t,- setOpen: n,- open: (0, x.useCallback)(() => {- n(!0);- }, [n]),- close: (0, x.useCallback)(() => {- n(!1);- }, [n]),- toggle: (0, x.useCallback)(() => {- n(!t);- }, [n, t]),- point: r,- setPoint: i+ run: o,+ busy: n,+ error: i,+ setError: a};}-//#endregion-//#region node_modules/react-aria/dist/private/utils/animation.mjs-function fh(e, t = !0) {- let [n, r] = (0, x.useState)(!0), i = n && t;- return B(() => {- if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, i]), mh(e, i, (0, x.useCallback)(() => r(!1), [])), i;+function Ry(e) {+ return e ? {+ "aria-busy": !0,+ "aria-disabled": !0+ } : {};}-function ph(e, t) {- let [n, r] = (0, x.useState)(t ? "open" : "closed");- switch (n) {- case "open":- t || r("exiting");- break;- case "closed":- case "exiting": t && r("open");+//#endregion+//#region src/react/avatar-picker/avatar-picker.ts+var zy = "/api/avatar-choices", By = "/api/avatar-pick", Vy = "/avatar-choice", Hy = (e, t) => [+ "avatar-choices",+ e,+ t+], Uy = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, Wy = (e, t, n) => `${Vy}${Uy(e, t)}&ref=${encodeURIComponent(n)}`, Gy = (e, t, n) => Gm(zy + Uy(e, t), n);+async function Ky(e, t, n) {+ if (!("file" in n)) {+ await Km(By, {+ kind: e,+ id: t,+ ...n+ });+ return;}- let i = n === "exiting";- return mh(e, i, (0, x.useCallback)(() => {- r((e) => e === "exiting" ? "closed" : e);- }, [])), i;+ let r = n.file, i = await fetch(`${By}${Uy(e, t)}&name=${encodeURIComponent(r.name)}`, {+ method: "POST",+ credentials: "same-origin",+ body: r+ });+ if (i.ok) return;+ let a = await i.json().catch(() => null);+ throw new Hm(a?.error || `请求失败(${i.status})`, i.status, a);}-function mh(e, t, n) {- B(() => {- if (t && e.current) {- if (!("getAnimations" in e.current)) {- n();- return;- }- let t = e.current.getAnimations();- if (t.length === 0) {- n();- return;- }- let r = !1;- return Promise.allSettled(t.map((e) => e.finished)).then(() => {- r || (0, Jr.flushSync)(() => {- n();- });- }), () => {- r = !0;- };+function qy(e, t) {+ if (!t) return "正在找可用的图…";+ let n = t.matched_names.filter((t) => t !== e);+ return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;+}+var Jy = (e) => !!e && e.index_stale && !e.choices.some((e) => e.source === "gfriends"), Yy = {+ gfriends: "图库",+ history: "用过的"+}, Xy = (e) => `${Yy[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "");+//#endregion+//#region src/react/avatar-picker/avatar-picker-page.tsx+function Zy({ kind: e, entityId: t, name: n, onPicked: r }) {+ let [i, a] = (0, S.useState)(!1);+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", {+ className: "absolute right-1 bottom-1",+ children: /* @__PURE__ */ (0, C.jsx)(ky, {+ icon: Ef,+ size: "small",+ "aria-haspopup": "dialog",+ "aria-label": `更换${n}的头像`,+ onClick: () => a(!0)+ })+ }), /* @__PURE__ */ (0, C.jsx)(G_, {+ isOpen: i,+ onOpenChange: a,+ isDismissable: !0,+ className: "fixed inset-0 z-50 flex items-center justify-center bg-scrim p-4",+ children: /* @__PURE__ */ (0, C.jsx)(U_, {+ className: "flex max-h-full w-full max-w-avatar-picker flex-col overflow-hidden rounded-2xl border border-separator-border bg-background-primary-default shadow-dropdown",+ children: /* @__PURE__ */ (0, C.jsx)(L_, {+ "aria-label": "更换头像",+ className: "flex min-h-0 flex-col outline-none",+ children: /* @__PURE__ */ (0, C.jsx)(Qy, {+ kind: e,+ entityId: t,+ name: n,+ onPicked: r,+ close: () => a(!1)+ })+ })+ })+ })] });+}+function Qy({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, S.useRef)(null), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(""), u = Hy(e, t), d = (0, S.useRef)(!1), f = lt({+ queryKey: u,+ queryFn: ({ signal: n }) => Gy(e, t, n),+ retryOnMount: !0+ });+ (0, S.useEffect)(() => () => {+ d.current && Qm.removeQueries({ queryKey: Hy(e, t) });+ }, [e, t]);+ let p = ut({+ mutationFn: (n) => Ky(e, t, n),+ onSuccess: () => {+ d.current = !0, i(), r();}- }, [- e,- t,- n- ]);+ });+ function m(e) {+ let t = e.currentTarget, n = t.files?.[0];+ t.value = "", l(""), n && p.mutate({ file: n });+ }+ let h = f.data, g = h?.choices ?? [], _ = c || (p.error ? Wm(p.error) : "") || (f.error ? Wm(f.error) : "");+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex shrink-0 items-start gap-4 p-5",+ children: [+ /* @__PURE__ */ (0, C.jsx)("span", {+ "aria-hidden": !0,+ className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",+ children: /* @__PURE__ */ (0, C.jsx)(rp, { className: "size-6" })+ }),+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex min-w-0 flex-1 flex-col gap-2",+ children: [+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, C.jsx)(Kh, {+ slot: "title",+ className: "text-title-3-semibold text-text-primary",+ children: "更换头像"+ }), g.length ? /* @__PURE__ */ (0, C.jsxs)(Vm, {+ color: "soft",+ children: [g.length, " 张可选"]+ }) : null]+ }),+ /* @__PURE__ */ (0, C.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: qy(n, h)+ }),+ Jy(h) ? /* @__PURE__ */ (0, C.jsx)(Ym, {+ tone: "neutral",+ children: "图库索引还没取过,只能从用过的图里选。"+ }) : null,+ _ ? /* @__PURE__ */ (0, C.jsx)(Ym, {+ tone: "error",+ children: _+ }) : null+ ]+ }),+ /* @__PURE__ */ (0, C.jsx)(ky, {+ icon: Pf,+ size: "small",+ "aria-label": "关闭",+ onClick: i+ })+ ]+ }),+ /* @__PURE__ */ (0, C.jsx)("div", {+ className: "flex min-h-0 flex-1 flex-col overflow-y-auto border-t border-separator-border px-5 pt-4",+ children: /* @__PURE__ */ (0, C.jsx)("div", {+ role: "listbox",+ "aria-label": "候选头像",+ className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",+ children: g.map((n) => /* @__PURE__ */ (0, C.jsxs)("button", {+ type: "button",+ role: "option",+ "data-avatar-choice": !0,+ "aria-selected": n.current,+ title: Xy(n),+ ...Ry(p.isPending),+ onClick: () => {+ p.isPending || p.mutate({ ref: n.ref });+ },+ className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",+ children: [+ /* @__PURE__ */ (0, C.jsx)("img", {+ loading: "lazy",+ alt: "",+ src: Wy(e, t, n.ref),+ className: "block w-full aspect-avatar-choice object-cover"+ }),+ /* @__PURE__ */ (0, C.jsx)("span", {+ className: "truncate px-1",+ children: n.label+ }),+ n.current ? /* @__PURE__ */ (0, C.jsx)("span", {+ className: "absolute top-1 left-1",+ children: /* @__PURE__ */ (0, C.jsx)(Vm, {+ variant: "caption",+ color: "blue",+ children: "在用"+ })+ }) : null+ ]+ }, n.ref))+ })+ }),+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",+ children: [+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ onClick: () => a.current?.click(),+ ...Ry(p.isPending),+ children: "从本机选图片"+ }),+ /* @__PURE__ */ (0, C.jsx)("input", {+ ref: a,+ type: "file",+ accept: "image/png,image/jpeg",+ tabIndex: -1,+ "aria-hidden": !0,+ className: "hidden",+ onChange: m+ }),+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex min-w-0 flex-1 items-center gap-2",+ children: [/* @__PURE__ */ (0, C.jsx)("div", {+ className: "min-w-0 flex-1",+ children: /* @__PURE__ */ (0, C.jsx)(Iy, {+ type: "url",+ "aria-label": "图片地址",+ placeholder: "https://…",+ value: o,+ onChange: s+ })+ }), /* @__PURE__ */ (0, C.jsx)(Z, {+ disabled: !o.trim(),+ ...Ry(p.isPending),+ onClick: () => {+ p.isPending || p.mutate({ url: o.trim() });+ },+ children: "用这个地址"+ })]+ })+ ]+ })+ ] });+}+function $y(e, t, n = 1) {+ let r = (e, t) => Array.from({ length: t - e + 1 }, (t, n) => e + n);+ if (n * 2 + 5 >= t) return r(1, t);+ let i = Math.max(e - n, 1), a = Math.min(e + n, t), o = i > 2, s = a < t - 2;+ return !o && s ? [+ ...r(1, 3 + 2 * n),+ "…",+ t+ ] : o && !s ? [+ 1,+ "…",+ ...r(t - (2 + 2 * n), t)+ ] : [+ 1,+ "…",+ ...r(i, a),+ "…",+ t+ ];+}+function eb(e, t) {+ return Math.max(1, Math.ceil(e / t));+}+function tb(e, t) {+ return Math.min(Math.max(1, Math.floor(e) || 1), t);}//#endregion-//#region node_modules/react-aria-components/dist/private/Popover.mjs-var hh = /*#__PURE__*/ (0, x.createContext)(null), gh = /*#__PURE__*/ (0, x.createContext)(null), _h = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- [e, t] = lp(e, t, hh);- let n = (0, x.useContext)(bh), r = dh(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ph(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Ur(), { direction: c } = Pi();- if (s) {- let t = e.children;- return typeof t == "function" && (t = t({- trigger: e.trigger || null,- placement: "bottom",- isEntering: !1,- isExiting: !1,- defaultChildren: null- })), /*#__PURE__*/ x.createElement(x.Fragment, null, t);+//#region src/react/follow-manage/follow-manage.ts+var nb = "/api/follow", rb = "/api/follow/credentials", ib = "/api/follow/check", ab = "/api/follow/source", ob = "/api/follow/resolve", sb = "/api/follow/suggest", cb = "/api/follow/author-alias", lb = "/api/follow/credential", ub = "/api/follow/status", db = ["follow-manage"], fb = ["follow-manage", "credentials"], pb = ["follow-manage", "check"], mb = ["follow-manage", "resolve"], hb = (e) => [+ "follow-manage",+ "suggest",+ e+], gb = [["default", "默认视图"], ["table", "表格视图"]], _b = [+ 10,+ 20,+ 50,+ 100+], vb = [+ ["checked", "检查时间"],+ ["added", "添加时间"],+ ["name", "创作者名称"],+ ["sources", "来源数量"],+ ["source", "来源名称"],+ ["provider", "站点"],+ ["status", "状态"]+], yb = "checked", bb = {+ checked: "desc",+ added: "desc",+ name: "asc",+ sources: "desc",+ source: "asc",+ provider: "asc",+ status: "asc"+}, xb = Object.fromEntries(vb), Sb = {+ author: "name",+ source: "source",+ provider: "provider",+ status: "status",+ checked: "checked"+}, Cb = (e) => vb.some(([t]) => t === e), wb = (e) => gb.some(([t]) => t === e), Tb = (e) => _b.includes(Number(e)) ? Number(e) : 20, Eb = {+ checked: ["从近到远", "从远到近"],+ added: ["从近到远", "从远到近"],+ name: ["倒序", "正序"],+ sources: ["从多到少", "从少到多"],+ source: ["倒序", "正序"],+ provider: ["倒序", "正序"],+ status: ["倒序", "正序"]+}, Db = (e, t) => `按${xb[e]}${Eb[e][t === "asc" ? 0 : 1]}排序`;+function Ob(e) {+ let t = e.last_status;+ return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;+}+function kb(e) {+ return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";+}+var Ab = (e) => e.last_status === "error" || e.last_status === "unauthorized", jb = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), Mb = {+ source: jb,+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || jb(e, t),+ status: (e, t) => Ob(e) - Ob(t) || jb(e, t)+}, Nb = (e) => Date.parse(e || "") || 0, Pb = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();+function Fb(e, t = []) {+ if (!e.length) return "";+ let n = (e) => String(e.author_name || "").trim() || Pb(e.label), r = e.find((e) => e.entity_name);+ if (r) return r.entity_name;+ let i = t.find((t) => `name:${t.canonical_key}` === e[0]?.author_key);+ if (i) return Pb(i.canonical_name);+ let a = e.find((e) => e.official_avatar_url);+ if (a && n(a)) return n(a);+ let o = e.map(n).filter(Boolean);+ if (!o.length) return e[0].label || e[0].ref || "";+ let s = (e) => (e.match(/[A-Z]/g) || []).length;+ return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);+}+function Ib(e) {+ let t = e.trim().match(/[A-Za-z0-9]/);+ return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();+}+function Lb(e) {+ let t = e.find((e) => e.official_avatar_url), n = e.find((e) => e.avatar_url), r = t?.official_avatar_url || n?.avatar_url || "";+ return {+ src: r,+ fallback: t && n && n.avatar_url !== r && n.avatar_url || ""+ };+}+function Rb(e) {+ let t = [], n = /* @__PURE__ */ new Map();+ for (let r of e) {+ let e = r.author_key || `source:${r.id}`;+ n.has(e) || (n.set(e, []), t.push(e)), n.get(e).push(r);+ }+ return t.map((e) => n.get(e));+}+function zb(e, t, n, r = []) {+ let i = Rb(e), a = n === bb[t] ? 1 : -1, o = (e) => Fb(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = Mb[t];+ if (c) {+ for (let e of i) e.sort((e, t) => a * c(e, t));+ return i.sort((e, t) => a * c(e[0], t[0]) || s(e, t));+ }+ let l = (e) => Math.max(...e.map((e) => Nb(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => Nb(e.created_at)));+ return i.sort((e, n) => t === "name" ? a * s(e, n) : t === "sources" ? a * (n.length - e.length) || s(e, n) : t === "added" ? a * (u(n) - u(e)) || s(e, n) : a * (l(n) - l(e)) || s(e, n));+}+function Bb(e, t, n, r = []) {+ let i = e.flatMap((e) => {+ let t = Fb(e, r);+ return e.map((n) => ({+ source: n,+ group: e,+ author: t+ }));+ }), a = Mb[t];+ if (a) {+ let e = n === bb[t] ? 1 : -1;+ i.sort((t, n) => e * a(t.source, n.source));}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ x.createElement(vh, {+ return i;+}+function Vb(e, t, n) {+ let r = eb(e, t), i = tb(n, r), a = (i - 1) * t;+ return {+ page: i,+ pages: r,+ total: e,+ start: a,+ end: Math.min(a + t, e)+ };+}+function Hb(e, t) {+ let n = new Set(t.map((e) => e.id));+ return new Set([...e].filter((e) => n.has(e)));+}+function Ub(e, t) {+ let n = t.filter((t) => e.has(t)).length;+ return {+ all: t.length > 0 && n === t.length,+ some: n > 0 && n < t.length+ };+}+function Wb(e, t, n) {+ let r = new Set(e);+ for (let e of t) n ? r.add(e) : r.delete(e);+ return r;+}+var Gb = (e) => Gm(`${nb}?limit=1`, e), Kb = (e) => Gm(rb, e), qb = (e) => Gm(ib, e), Jb = (e) => Gm(ob, e), Yb = (e, t) => Gm(`${sb}?q=${encodeURIComponent(e)}`, t), Xb = (e) => Km(ib, {+ ...e?.length ? { sources: e } : {},+ background: !0+}), Zb = (e) => Km(ob, {+ lines: e,+ background: !0+}), Qb = (e, t) => Km(ab, {+ action: "enabled",+ id: e,+ enabled: t+}), $b = (e) => Km(ab, {+ action: "remove",+ id: e+}), ex = (e) => Km(ab, {+ action: "add",+ url: e.url,+ label: e.label,+ author: e.author || "",+ aliases: e.aliases || [],+ defer_check: !0+}), tx = (e, t) => Km(cb, {+ action: "add",+ canonical: e,+ alias: t+}), nx = (e) => Km(cb, {+ action: "remove",+ alias: e+}), rx = (e, t) => Km(lb, {+ provider: e,+ values: t+}), ix = (e, t) => Km(ub, {+ item: e,+ to: t+}), ax = () => Gm(`${nb}?status=new&limit=1000`);+async function ox(e) {+ await Promise.all([Qm.fetchQuery({+ queryKey: db,+ queryFn: () => Gb(e)+ }), Qm.fetchQuery({+ queryKey: fb,+ queryFn: () => Kb(e)+ })]);+}+function sx(e, t) {+ Qm.setQueryData(db, (n) => n && {+ ...n,+ sources: n.sources.map((n) => n.id === e ? {+ ...n,+ ...t+ } : n)+ });+}+function cx(e) {+ let t = new Set(e);+ Qm.setQueryData(db, (e) => e && {...e,- triggerRef: e.triggerRef,- state: i,- popoverRef: t,- isExiting: o,- dir: c+ sources: e.sources.filter((e) => !t.has(e.id))});-});-function vh({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, x.useRef)(null), o = (0, x.useRef)(null), s = (0, x.useContext)(gh), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = ru({- ...i,- offset: i.offset ?? 8,- arrowRef: a,- groupRef: c ? s : o- }, e), m = i.popoverRef, h = fh(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = sp({- ...i,- defaultClassName: "react-aria-Popover",- values: {- trigger: i.trigger || null,- placement: f,- isEntering: g,- isExiting: t- }- }), v = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [y, b] = (0, x.useState)(i.trigger === "PreviewTrigger");- B(() => {- m.current && b(v && !m.current.querySelector("[role=dialog]"));- }, [m, v]), (0, x.useEffect)(() => {- y && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Xn() !== "pointer") && m.current && !zt(m.current) && or(m.current);- }, [- y,- m,- i.trigger- ]);- let S = (0, x.useMemo)(() => {- let e = _.children;- if (r) for (let t of r) e = /*#__PURE__*/ x.createElement(t.Provider, { value: null }, e);- return e;- }, [_.children, r]), [C, w] = (0, x.useState)(null), T = (0, x.useCallback)(() => {- i.triggerRef.current && w(i.triggerRef.current.getBoundingClientRect().width + "px");- }, [i.triggerRef]);- B(T, [T]), Ic({- ref: _.style?.["--trigger-width"] ? void 0 : i.triggerRef,- onResize: T+}+var lx = () => Qm.invalidateQueries({+ queryKey: db,+ exact: !0+}), ux = 2e3, dx = (e) => e?.status === "running" && ux;+function fx(e) {+ let t = e.results || [], n = (e) => t.reduce((t, n) => t + (e(n) || 0), 0), r = n((e) => e.added), i = n((e) => e.updated), a = n((e) => e.skipped_compilations), o = n((e) => e.skipped) - a, s = n((e) => e.history_skipped), c = n((e) => e.probed), l = t.filter((e) => e.ok && !e.added && !e.updated).length, u = t.filter((e) => !e.ok).length, d = [];+ r && d.push(`新增 ${r} 条`), i && d.push(`更新 ${i} 条`), o && d.push(`跳过 ${o} 条无资源`), a && d.push(`排除 ${a} 个超大合集`), s && d.push(`跳过 ${s} 条超出首次采集范围的历史内容`), c && d.push(`回查 ${c} 条`), l && d.push(`${l} 个来源没有更新`), d.length || d.push("没有任何更新");+ let f = t.filter((e) => e.exhausted).length;+ return f && d.push(`${f} 个没有更多内容`), u && d.push(`${u} 个失败`), `检查了 ${t.length} 个来源:${d.join(" · ")}`;+}+var px = (e) => (e?.results || []).filter((e) => !e.ok), mx = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "";+function hx(e) {+ if (!e) return "";+ let t = /[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`, n = new Date(t);+ if (Number.isNaN(n.getTime())) return String(e).replace("T", " ").slice(0, 16);+ let r = (e) => String(e).padStart(2, "0");+ return `${n.getFullYear()}-${r(n.getMonth() + 1)}-${r(n.getDate())} ${r(n.getHours())}:${r(n.getMinutes())}`;+}+var gx = (e) => e.last_checked_at ? hx(e.last_checked_at) : "未检查", _x = /* @__PURE__ */ new Set([+ "fanbox",+ "patreon",+ "subscribestar",+ "kemono",+ "coomer",+ "pawchive",+ "rule34video",+ "rule34xxx",+ "rule34paheal",+ "gofile",+ "f95zone",+ "simpcity"+]), vx = (e) => _x.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", yx = {+ required: "需要",+ optional: "可选",+ none: "不需要",+ blocked: "接不进来"+}, bx = (e) => !!e.present && !e.missing.length, xx = {+ md: {+ box: "size-4",+ glyph: "size-4",+ label: "text-body-medium",+ gap: "gap-2"+ },+ sm: {+ box: "size-3.5",+ glyph: "size-3.5",+ label: "text-body-2-medium",+ gap: "gap-1.5"+ }+};+function Sx({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = xx[t], c = n || r, l = o && !a;+ return /* @__PURE__ */ (0, C.jsx)("span", {+ "aria-hidden": !0,+ className: Y("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Y("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Y("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, C.jsx)("svg", {+ viewBox: "0 0 16 16",+ fill: "none",+ className: s.glyph,+ children: r ? /* @__PURE__ */ (0, C.jsx)("path", {+ d: "M4.5 8H8H11.5",+ stroke: "white",+ strokeWidth: "2",+ strokeLinecap: "round"+ }) : n ? /* @__PURE__ */ (0, C.jsx)("path", {+ d: "M4 7.7002L6.64645 10.3466C6.84171 10.5419 7.15829 10.5419 7.35355 10.3466L12 5.7002",+ stroke: "white",+ strokeWidth: "2",+ strokeLinecap: "round",+ strokeLinejoin: "round",+ pathLength: 1,+ className: "animate-check-draw"+ }) : null+ })});- let E = {- ...l.style,- "--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,- ..._.style,- "--trigger-width": _.style?.["--trigger-width"] || C- }, D = /*#__PURE__*/ x.createElement(mp.div, {- ...V(H(i, { global: !0 }), l),- ..._,- id: y ? i.id : void 0,- role: y ? "dialog" : void 0,- tabIndex: y ? -1 : void 0,- "aria-label": i["aria-label"],- "aria-labelledby": i["aria-labelledby"],- ref: m,- slot: i.slot || void 0,- style: E,- dir: i.dir,- "data-trigger": i.trigger,- "data-placement": f,- "data-entering": g || void 0,- "data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ x.createElement(yl, { onDismiss: e.close }), /*#__PURE__*/ x.createElement(uh.Provider, { value: {- ...d,- placement: f,- ref: a- } }, S), /*#__PURE__*/ x.createElement(yl, { onDismiss: e.close }));- return c ? /*#__PURE__*/ x.createElement(mc, {- ...i,- shouldContainFocus: y && i.trigger !== "PreviewTrigger",- isExiting: t,- portalContainer: n ?? s?.current ?? void 0- }, D) : /*#__PURE__*/ x.createElement(mc, {+}+//#endregion+//#region src/react/boardui/components/base/checkbox/checkbox.tsx+function Cx({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = xx[n];+ return /* @__PURE__ */ (0, C.jsx)(ng, {+ ref: r,...i,- shouldContainFocus: y && i.trigger !== "PreviewTrigger",- isExiting: t,- portalContainer: n- }, !i.isNonModal && e.isOpen && /*#__PURE__*/ x.createElement("div", {- "data-testid": "underlay",- ...u,- style: {- position: "fixed",- inset: 0- }- }), /*#__PURE__*/ x.createElement("div", {- ref: o,- style: { display: "contents" }- }, /*#__PURE__*/ x.createElement(gh.Provider, { value: o }, D)));+ className: (t) => Y("group inline-flex items-center select-none", a.gap, t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Sx, {+ state: e,+ size: n+ }), t != null && /* @__PURE__ */ (0, C.jsx)("span", {+ className: Y(a.label, "text-text-primary"),+ children: t+ })] })+ });}//#endregion-//#region node_modules/react-aria-components/dist/private/Dialog.mjs-var yh = /*#__PURE__*/ (0, x.createContext)(null), bh = /*#__PURE__*/ (0, x.createContext)(null), xh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- let n = e["aria-labelledby"];- [e, t] = lp(e, t, yh);- let { dialogProps: r, titleProps: i, contentProps: a } = gc({- ...e,- "aria-labelledby": n- }, t), o = (0, x.useContext)(bh);- !r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = sp({- defaultClassName: "react-aria-Dialog",- className: e.className,- style: e.style,- children: e.children,- values: { close: o?.close || (() => {}) }- }), c = H(e, { global: !0 });- return /*#__PURE__*/ x.createElement(mp.section, {- ...V(c, s, r),- render: e.render,- ref: t,- slot: e.slot || void 0- }, /*#__PURE__*/ x.createElement(op, { values: [- [Ap, { slots: {- [ap]: {},- title: {- ...i,- level: 2- }- } }],- [Mp, { slots: {- [ap]: {},- description: a- } }],- [Ep, { slots: {- [ap]: {},- close: { onPress: () => o?.close() }- } }]- ] }, s.children));-}), Sh = typeof document < "u" && window.visualViewport;-function Ch() {- let e = Mn(), [t, n] = (0, x.useState)(() => e ? {- width: 0,- height: 0- } : wh());- return (0, x.useEffect)(() => {- let e = (e) => {- n((t) => e.width === t.width && e.height === t.height ? t : e);- }, t = () => {- Sh && Sh.scale > 1 || e(wh());- }, r, i = (t) => {- Sh && Sh.scale > 1 || yi(R(t)) && (r = requestAnimationFrame(() => {- let t = Lt();- (!t || !yi(t)) && e({- width: document.documentElement.clientWidth,- height: document.documentElement.clientHeight- });- }));- };- return e(wh()), sn() && ln() && window.addEventListener("blur", i, !0), Sh ? Sh.addEventListener("resize", t) : window.addEventListener("resize", t), () => {- cancelAnimationFrame(r), sn() && ln() && window.removeEventListener("blur", i, !0), Sh ? Sh.removeEventListener("resize", t) : window.removeEventListener("resize", t);- };- }, []), t;+//#region src/react/boardui/components/base/dropdown/menu-styles.ts+var wx = [+ "max-w-[calc(100vw-32px)] overflow-y-auto",+ "rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",+ "transition duration-150 ease-out",+ "data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px]",+ "data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",+ "data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",+ "data-[placement=left]:origin-right data-[placement=right]:origin-left"+].join(" "), Tx = "w-[266px]", Ex = "flex w-full flex-col gap-1 outline-none", Dx = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), Ox = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+//#endregion+//#region src/react/boardui/components/application/settings/settings-rows.tsx+function kx({ className: e, children: t }) {+ return /* @__PURE__ */ (0, C.jsx)("div", {+ className: Y("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ children: t+ });}-function wh() {- return {- width: Sh ? Math.min(Sh.width * Sh.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: Sh ? Sh.height * Sh.scale : document.documentElement.clientHeight- };+function Ax({ className: e, children: t }) {+ return /* @__PURE__ */ (0, C.jsx)("p", {+ className: Y("w-full px-3 text-body-2-medium text-text-secondary", e),+ children: t+ });+}+function jx({ label: e, description: t, children: n }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {+ className: Y("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, C.jsxs)("div", {+ className: "flex min-w-0 flex-col",+ children: [/* @__PURE__ */ (0, C.jsx)("p", {+ className: "text-body-regular text-text-primary",+ children: e+ }), t && /* @__PURE__ */ (0, C.jsx)("p", {+ className: "text-body-2-regular text-text-secondary",+ children: t+ })]+ }), n]+ });+}+//#endregion+//#region src/react/boardui/components/base/buttons/link-button.tsx+var Mx = zm({+ base: [+ "inline-flex items-center justify-center gap-1 whitespace-nowrap",+ "font-sans select-none cursor-pointer rounded-sm",+ "underline-offset-3 hover:underline",+ "transition-colors duration-150 ease",+ "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",+ "disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline"+ ].join(" "),+ size: {+ medium: "text-body-medium",+ small: "text-body-medium",+ xs: "text-caption-1-semibold"+ },+ icon: {+ medium: "size-5 shrink-0",+ small: "size-[18px] shrink-0",+ xs: "size-3.5 shrink-0"+ },+ variant: {+ primary: ["text-accent-600 active:text-accent-800", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" "),+ secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")+ }+});+function Nx({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = Y(Mx.base, Mx.size[t], Mx.variant[e], a), l = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [+ n ? /* @__PURE__ */ (0, C.jsx)(n, {+ className: Mx.icon[t],+ "aria-hidden": !0+ }) : null,+ i != null && /* @__PURE__ */ (0, C.jsx)("span", { children: i }),+ r ? /* @__PURE__ */ (0, C.jsx)(r, {+ className: Mx.icon[t],+ "aria-hidden": !0+ }) : null+ ] });+ if (s.href !== void 0) {+ let { ref: e, href: t, ...n } = s;+ return /* @__PURE__ */ (0, C.jsx)("a", {+ ref: e,+ href: o ? void 0 : t,+ "aria-disabled": o || void 0,+ className: c,+ ...n,+ children: l+ });+ }+ let { ref: u, type: d = "button", ...f } = s;+ return /* @__PURE__ */ (0, C.jsx)("button", {+ ref: u,+ type: d,+ disabled: o,+ className: c,+ ...f,+ children: l+ });}//#endregion-//#region node_modules/react-aria-components/dist/private/Modal.mjs-var Th = /*#__PURE__*/ (0, x.createContext)(null), Eh = /*#__PURE__*/ (0, x.createContext)(null), Dh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- if ((0, x.useContext)(Eh)) return /*#__PURE__*/ x.createElement(jh, {- ...e,- modalRef: t- }, e.children);- let { isDismissable: n, isKeyboardDismissDisabled: r, isOpen: i, defaultOpen: a, onOpenChange: o, children: s, isEntering: c, isExiting: l, UNSTABLE_portalContainer: u, shouldCloseOnInteractOutside: d, ...f } = e;- return /*#__PURE__*/ x.createElement(kh, {- isDismissable: n,- isKeyboardDismissDisabled: r,- isOpen: i,- defaultOpen: a,- onOpenChange: o,- isEntering: c,- isExiting: l,- UNSTABLE_portalContainer: u,- shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ x.createElement(jh, {- ...f,- modalRef: t- }, s));-});-function Oh(e, t) {- [e, t] = lp(e, t, Th);- let n = (0, x.useContext)(bh), r = dh(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Fr(t), o = (0, x.useRef)(null), s = ph(a, i.isOpen), c = ph(o, i.isOpen), l = s || c || e.isExiting || !1, u = Mn();- return !i.isOpen && !l || u ? null : /*#__PURE__*/ x.createElement(Ah, {- ...e,- state: i,- isExiting: l,- overlayRef: a,- modalRef: o+//#region src/react/settings/section.tsx+function Px({ title: e, id: t, aside: n, onSubmit: r, children: i }) {+ let a = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [n ? /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex w-full flex-wrap items-center justify-between gap-2",+ children: [/* @__PURE__ */ (0, C.jsx)("div", {+ className: "min-w-0 flex-1",+ children: /* @__PURE__ */ (0, C.jsx)(Ax, { children: e })+ }), n]+ }) : /* @__PURE__ */ (0, C.jsx)(Ax, { children: e }), /* @__PURE__ */ (0, C.jsx)(kx, { children: i })] });+ return r ? /* @__PURE__ */ (0, C.jsx)("form", {+ id: t,+ "aria-label": e,+ noValidate: !0,+ onSubmit: r,+ className: "flex w-full flex-col gap-2",+ children: a+ }) : /* @__PURE__ */ (0, C.jsx)("section", {+ id: t,+ "aria-label": e,+ className: "flex w-full flex-col gap-2",+ children: a});}-var kh = /*#__PURE__*/ (0, x.forwardRef)(Oh);-function Ah({ UNSTABLE_portalContainer: e, ...t }) {- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Al(t, r, n), o = fh(t.overlayRef) || t.isEntering || !1, s = sp({- ...t,- defaultClassName: "react-aria-ModalOverlay",- values: {- isEntering: o,- isExiting: t.isExiting,- state: r- }- }), c = Ch(), l, u;- if (typeof document < "u") {- let e = ro(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;- l = e.scrollWidth - t, u = e.scrollHeight - n;- }- let d = {- ...s.style,- "--visual-viewport-width": c.width + "px",- "--visual-viewport-height": c.height + "px",- "--page-width": l === void 0 ? void 0 : l + "px",- "--page-height": u === void 0 ? void 0 : u + "px"- };- return /*#__PURE__*/ x.createElement(mc, {- isExiting: t.isExiting,- portalContainer: e- }, /*#__PURE__*/ x.createElement(mp.div, {- ...V(H(t, { global: !0 }), a),- ...s,- style: d,- ref: t.overlayRef,- "data-entering": o || void 0,- "data-exiting": t.isExiting || void 0- }, /*#__PURE__*/ x.createElement(op, { values: [[Eh, {- modalProps: i,- modalRef: n,- isExiting: t.isExiting,- isDismissable: t.isDismissable- }], [bh, r]] }, s.children)));+function Fx({ children: e }) {+ return /* @__PURE__ */ (0, C.jsx)("div", {+ className: "flex flex-col",+ children: e+ });}-function jh(e) {- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, x.useContext)(Eh), a = (0, x.useContext)(bh), o = Fr((0, x.useMemo)(() => gr(e.modalRef, n), [e.modalRef, n])), s = fh(o), c = sp({- ...e,- defaultClassName: "react-aria-Modal",- values: {- isEntering: s,- isExiting: r,- state: a- }+function Ix({ divided: e = !1, children: t }) {+ return e ? /* @__PURE__ */ (0, C.jsx)("div", {+ className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",+ children: t+ }) : /* @__PURE__ */ (0, C.jsx)("div", {+ className: "flex flex-col gap-4 py-4 pr-3",+ children: t});- return /*#__PURE__*/ x.createElement(mp.div, {- ...V(H(e, { global: !0 }), t),- ...c,- ref: o,- "data-entering": s || void 0,- "data-exiting": r || void 0- }, i && /*#__PURE__*/ x.createElement(yl, { onDismiss: a.close }), c.children);}-//#endregion-//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var Mh = Math.round(Math.random() * 1e10), Nh = 0;-function Ph(e) {- let t = (0, x.useMemo)(() => e.name || `radio-group-${Mh}-${++Nh}`, [e.name]), [n, r] = Ro(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, x.useState)(n), [a, o] = (0, x.useState)(null), s = To({- ...e,- value: n- }), c = (t) => {- !e.isReadOnly && !e.isDisabled && (r(t), s.commitValidation());- }, l = s.displayValidation.isInvalid;- return {- ...s,- name: t,- selectedValue: n,- defaultSelectedValue: e.value === void 0 ? e.defaultValue ?? null : i,- setSelectedValue: c,- lastFocusedValue: a,- setLastFocusedValue: o,- isDisabled: e.isDisabled || !1,- isReadOnly: e.isReadOnly || !1,- isRequired: e.isRequired || !1,- validationState: e.validationState || (l ? "invalid" : null),- isInvalid: l- };+function Lx({ status: e, children: t }) {+ return /* @__PURE__ */ (0, C.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, C.jsx)("div", {+ className: "mr-auto min-w-0 text-body-2-regular text-text-secondary",+ children: e+ }) : null, t]+ });}-//#endregion-//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs-var Fh = /*#__PURE__*/ (0, x.createContext)(null), Ih = /*#__PURE__*/ (0, x.createContext)(null), Lh = /*#__PURE__*/ (0, x.createContext)(null), Rh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- [e, t] = lp(e, t, Fh);- let { validationBehavior: n } = cp(Fp) || {}, r = e.validationBehavior ?? n ?? "native", i = Ph({- ...e,- validationBehavior: r- }), [a, o] = up(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = ou({- ...e,- label: o,- validationBehavior: r- }, i), f = sp({- ...e,- values: {- orientation: e.orientation || "vertical",- isDisabled: i.isDisabled,- isReadOnly: i.isReadOnly,- isRequired: i.isRequired,- isInvalid: i.isInvalid,- state: i- },- defaultClassName: "react-aria-RadioGroup"- }), p = H(e, { global: !0 });- return /*#__PURE__*/ x.createElement(mp.div, {- ...V(p, f, s),- ref: t,- slot: e.slot || void 0,- "data-orientation": e.orientation || "vertical",- "data-invalid": i.isInvalid || void 0,- "data-disabled": i.isDisabled || void 0,- "data-readonly": i.isReadOnly || void 0,- "data-required": i.isRequired || void 0- }, /*#__PURE__*/ x.createElement(op, { values: [- [Lh, i],- [Cp, {- ...c,- ref: a,- elementType: "span"- }],- [Mp, { slots: {- description: l,- errorMessage: u- } }],- [Pp, d]- ] }, /*#__PURE__*/ x.createElement(Fm, null, f.children)));-}), zh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- let { inputRef: n = null, ...r } = e;- [e, t] = lp(r, t, Ih);- let i = x.useContext(Lh), a = Fr((0, x.useMemo)(() => gr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = au({- ...dp(e),- children: typeof e.children == "function" || e.children- }, i, a);- return /*#__PURE__*/ x.createElement(Bh.Provider, { value: {- ...o,- inputRef: a,- defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ x.createElement(Vh, {- ...e,- ref: t- }));-}), Bh = /*#__PURE__*/ (0, x.createContext)(null), Vh = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, x.useContext)(Bh), l = x.useContext(Lh), { isFocused: u, isFocusVisible: d, focusProps: f } = _c(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = wc({- ...e,- isDisabled: p- }), g = sp({- ...e,- defaultClassName: s,- values: {- isSelected: i,- isPressed: o,- isHovered: h,- isFocused: u,- isFocusVisible: d,- isDisabled: a,- isReadOnly: l.isReadOnly,- isInvalid: l.isInvalid,- isRequired: l.isRequired- }- }), _ = H(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ x.createElement(mp.label, {- ...V(_, n, m, g),- ref: t,- "data-selected": i || void 0,- "data-pressed": o || void 0,- "data-hovered": h || void 0,- "data-focused": u || void 0,- "data-focus-visible": d || void 0,- "data-disabled": a || void 0,- "data-readonly": l.isReadOnly || void 0,- "data-invalid": l.isInvalid || void 0,- "data-required": l.isRequired || void 0- }, /*#__PURE__*/ x.createElement(Uo, { elementType: "span" }, /*#__PURE__*/ x.createElement("input", {- ...V(r, f),- ref: c- })), g.children);-});-//#endregion-//#region node_modules/react-stately/dist/private/select/useSelectState.mjs-function Hh(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = dh(e), [i, a] = (0, x.useState)(null), o = (0, x.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [- e.defaultValue,- e.defaultSelectedKey,- t- ]), [s, c] = Ro((0, x.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [- e.value,- e.selectedKey,- t- ]), o, e.onChange), l = t === "single" && Array.isArray(s) ? s[0] : s, u = (n) => {- if (t === "single") {- let t = Array.isArray(n) ? n[0] ?? null : n;- c(t), t !== l && e.onSelectionChange?.(t);- } else {- let e = [];- Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);- }- }, d = Xm({- ...e,- selectionMode: t,- disallowEmptySelection: t === "single",- allowDuplicateSelectionEvents: !0,- selectedKeys: (0, x.useMemo)(() => Uh(l), [l]),- onSelectionChange: (e) => {- if (e !== "all") {- if (t === "single") {- let t = e.values().next().value ?? null;- u(t);- } else u([...e]);- n && r.close(), m.commitValidation();- }- }- }), f = d.selectionManager.firstSelectedKey, p = (0, x.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = To({- ...e,- value: Array.isArray(l) && l.length === 0 ? null : l- }), [h, g] = (0, x.useState)(!1), [_] = (0, x.useState)(l);- return {- ...m,- ...d,- ...r,- value: l,- defaultValue: o ?? _,- setValue: u,- selectedKey: f,- setSelectedKey: u,- selectedItem: p[0] ?? null,- selectedItems: p,- defaultSelectedKey: e.defaultSelectedKey ?? (e.selectionMode === "single" ? _ : null),- focusStrategy: i,- open(t = null) {- (d.collection.size !== 0 || e.allowsEmptyCollection) && (a(t), r.open());- },- toggle(t = null) {- (d.collection.size !== 0 || e.allowsEmptyCollection) && (a(t), r.toggle());+function Rx({ role: e, children: t }) {+ return /* @__PURE__ */ (0, C.jsx)("p", {+ role: e,+ className: "text-body-2-regular text-text-secondary",+ children: t+ });+}+function zx({ children: e }) {+ return /* @__PURE__ */ (0, C.jsx)("p", {+ role: "alert",+ className: "text-body-2-regular text-text-error-primary",+ children: e+ });+}+function Bx({ children: e }) {+ return /* @__PURE__ */ (0, C.jsx)("p", {+ className: "text-body-medium text-text-primary",+ children: e+ });+}+function Vx({ href: e, children: t }) {+ return /* @__PURE__ */ (0, C.jsx)(Nx, {+ href: e,+ target: "_blank",+ rel: "noopener noreferrer",+ size: "small",+ trailingIcon: zf,+ children: t+ });+}+function Hx({ children: e }) {+ return /* @__PURE__ */ (0, C.jsx)("dl", {+ className: "flex flex-col",+ children: e+ });+}+function Ux({ term: e, children: t }) {+ return /* @__PURE__ */ (0, C.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, C.jsx)("dt", {+ className: "flex shrink-0 items-center gap-2 text-body-regular text-text-secondary",+ children: e+ }), /* @__PURE__ */ (0, C.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 Wx({ summary: e, defaultOpen: t = !1, children: n }) {+ let r = (0, S.useId)(), i = (0, S.useRef)(null), a = (0, S.useRef)(null), o = (0, S.useRef)(!1), [s, l] = (0, S.useState)(t);+ return /* @__PURE__ */ (0, C.jsxs)("details", {+ ref: (e) => {+ i.current = e, e && t && !o.current && (o.current = !0, e.open = !0);},- isFocused: h,- setFocused: g- };+ children: [/* @__PURE__ */ (0, C.jsxs)("summary", {+ "aria-expanded": s,+ "aria-controls": r,+ onClick: (e) => {+ e.preventDefault(), !(!i.current || !a.current) && (c(i.current, a.current, !s), l(!s));+ },+ className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",+ children: [/* @__PURE__ */ (0, C.jsx)(Af, {+ "aria-hidden": !0,+ className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"+ }), e]+ }), /* @__PURE__ */ (0, C.jsx)("div", {+ ref: a,+ id: r,+ inert: !s,+ children: /* @__PURE__ */ (0, C.jsx)("div", {+ className: "flex flex-col gap-2 pt-3",+ children: n+ })+ })]+ });}-function Uh(e) {- if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];+function Gx({ name: e }) {+ return /* @__PURE__ */ (0, C.jsx)("svg", {+ "aria-hidden": !0,+ viewBox: "0 0 24 24",+ fill: "none",+ className: "size-4 shrink-0 stroke-current stroke-2",+ children: /* @__PURE__ */ (0, C.jsx)("use", { href: `#i-${e}` })+ });+}+function Kx({ mark: e }) {+ return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, C.jsx)("img", {+ src: e,+ alt: "",+ width: 16,+ height: 16,+ className: "size-4 shrink-0"+ }) : /* @__PURE__ */ (0, C.jsx)(Gx, { name: e });}//#endregion-//#region node_modules/react-aria-components/dist/private/Select.mjs-function Wh(e) {- return e && e.__esModule ? e.default : e;+//#region src/react/follow-manage/source-view.tsx+function qx({ provider: e, label: t }) {+ let n = vx(e), [r, i] = (0, S.useState)(!1);+ return !n || r ? t ? /* @__PURE__ */ (0, C.jsx)(C.Fragment, { children: t }) : null : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("img", {+ src: n,+ alt: "",+ width: 14,+ height: 14,+ loading: "lazy",+ onError: () => i(!0),+ className: "size-3.5 shrink-0 rounded-sm object-contain"+ }), t ? /* @__PURE__ */ (0, C.jsx)(Jo, { children: t }) : null] });+}+function Jx({ group: e, name: t }) {+ let { src: n, fallback: r } = Lb(e), [i, a] = (0, S.useState)(0), o = [n, r].filter(Boolean)[i];+ return o ? /* @__PURE__ */ (0, C.jsx)("img", {+ src: o,+ alt: "",+ width: 32,+ height: 32,+ loading: "lazy",+ referrerPolicy: "no-referrer",+ onError: () => a(i + 1),+ className: "size-8 shrink-0 rounded-full bg-background-tertiary-default object-cover"+ }) : /* @__PURE__ */ (0, C.jsx)("span", {+ title: "没有可用头像",+ className: "inline-grid size-8 shrink-0 place-items-center rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary",+ children: Ib(t)+ });}-var Gh = /*#__PURE__*/ (0, x.createContext)(null), Kh = /*#__PURE__*/ (0, x.createContext)(null), qh = /*#__PURE__*/ Hr(function(e, t) {- [e, t] = lp(e, t, Gh);- let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, x.useMemo)(() => typeof n == "function" ? n({- isOpen: !1,- isDisabled: r,- isInvalid: i,- isRequired: a,- isFocused: !1,- isFocusVisible: !1,- defaultChildren: null- }) : n, [- n,- r,- i,- a- ]);- return /*#__PURE__*/ x.createElement(Qr, { content: o }, (n) => /*#__PURE__*/ x.createElement(Yh, {- props: e,- collection: n,- selectRef: t- }));-}), Jh = [- Cp,- Ep,- Mp-];-function Yh({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = cp(Fp) || {}, i = e.validationBehavior ?? r ?? "native", a = Hh({- ...e,- collection: n,- children: void 0,- validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = _c({ within: !0 }), c = (0, x.useRef)(null), [l, u] = up(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = cu({- ...dp(e),- label: u,- validationBehavior: i- }, a, c), y = (0, x.useMemo)(() => ({- isOpen: a.isOpen,- isFocused: a.isFocused,- isFocusVisible: o,- isDisabled: e.isDisabled || !1,- isInvalid: v.isInvalid || !1,- isRequired: e.isRequired || !1- }), [- a.isOpen,- a.isFocused,- o,- e.isDisabled,- v.isInvalid,- e.isRequired- ]), b = sp({- ...e,- values: y,- defaultClassName: "react-aria-Select"- }), S = H(e, { global: !0 });- delete S.id;- let C = (0, x.useRef)(null);- return /*#__PURE__*/ x.createElement(op, { values: [- [Gh, e],- [Kh, a],- [Xh, p],- [Cp, {- ...d,- ref: l,- elementType: "span"- }],- [Ep, {- ...f,- ref: c,- isPressed: a.isOpen,- autoFocus: e.autoFocus- }],- [bh, a],- [hh, {- trigger: "Select",- triggerRef: c,- scrollRef: C,- placement: "bottom start",- "aria-labelledby": m["aria-labelledby"],- clearContexts: Jh- }],- [eh, {- ...m,- ref: C- }],- [th, a],- [Mp, { slots: {- description: h,- errorMessage: g- } }],- [Pp, v]- ] }, /*#__PURE__*/ x.createElement(mp.div, {- ...V(S, b, s),- ref: t,- slot: e.slot || void 0,- "data-focused": a.isFocused || void 0,- "data-focus-visible": o || void 0,- "data-open": a.isOpen || void 0,- "data-disabled": e.isDisabled || void 0,- "data-invalid": v.isInvalid || void 0,- "data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ x.createElement(uu, {- ..._,- autoComplete: e.autoComplete- })));+function Yx({ source: e }) {+ let t = Ab(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";+ return /* @__PURE__ */ (0, C.jsx)(Vm, {+ variant: "caption",+ color: t,+ children: kb(e)+ });+}+function Xx({ source: e }) {+ return /* @__PURE__ */ (0, C.jsx)("a", {+ href: e.url,+ target: "_blank",+ rel: "noreferrer noopener",+ title: "打开原来源",+ className: "min-w-0 text-body-medium break-words text-text-primary underline-offset-2 hover:underline",+ children: e.label+ });}-var Xh = /*#__PURE__*/ (0, x.createContext)(null), Zh = /*#__PURE__*/ Hr(function(e, t) {- [e, t] = lp(e, t, Xh);- let n = (0, x.useContext)(Kh), { placeholder: r } = cp(Gh), i = n.selectedItems.map((e) => {- let t = e.props?.children;- return typeof t == "function" && (t = t({- isHovered: !1,- isPressed: !1,- isSelected: !1,- isFocused: !1,- isFocusVisible: !1,- isDisabled: !1,- selectionMode: "single",- selectionBehavior: "toggle"- })), t;- }), a = vc(), o = (0, x.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, x.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [- s,- a,- o- ]), l = (0, x.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__*/ x.createElement(x.Fragment, { key: t }, i[t++]) : e.value);- }, [- s,- a,- o,- i- ]), u = Ji(Wh(Dm), "react-aria-components"), d = sp({- ...e,- defaultChildren: l ?? r ?? u.format("selectPlaceholder"),- defaultClassName: "react-aria-SelectValue",- values: {- selectedItem: n.selectedItems[0]?.value ?? null,- selectedItems: (0, x.useMemo)(() => n.selectedItems.map((e) => e.value ?? null), [n.selectedItems]),- selectedText: c,- isPlaceholder: n.selectedItems.length === 0,- state: n- }- }), f = H(e, { global: !0 });- return /*#__PURE__*/ x.createElement(mp.span, {- ref: t,- ...f,- ...d,- "data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ x.createElement(Mp.Provider, { value: void 0 }, d.children));-}), Qh = /*#__PURE__*/ (0, x.createContext)(null), $h = /*#__PURE__*/ (0, x.createContext)(null), eg = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- let { inputRef: n = null, ...r } = e;- [e, t] = lp(r, t, Qh);- let i = Fr((0, x.useMemo)(() => gr(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = W(e), o = du({- ...dp(e),- children: typeof e.children == "function" || e.children- }, a, i);- return /*#__PURE__*/ x.createElement(op, { values: [[$h, a], [tg, {- ...o,- inputRef: i,- defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ x.createElement(ng, {- ...e,- ref: t- }));-}), tg = /*#__PURE__*/ (0, x.createContext)(null), ng = /*#__PURE__*/ (0, x.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, x.useContext)(tg), { isFocused: f, isFocusVisible: p, focusProps: m } = _c(), h = a || o, g = (0, x.useContext)($h), { hoverProps: _, isHovered: v } = wc({- ...e,- isDisabled: h- }), y = sp({- ...e,- defaultClassName: u,- values: {- isSelected: i,- isPressed: s,- isHovered: v,- isFocused: f,- isFocusVisible: p,- isDisabled: a,- isReadOnly: o,- isInvalid: c,- isRequired: d || !1,- state: g- }- }), b = H(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ x.createElement(mp.label, {- ...V(b, n, _, y),- ref: t,- slot: e.slot || void 0,- "data-selected": i || void 0,- "data-pressed": s || void 0,- "data-hovered": v || void 0,- "data-focused": f || void 0,- "data-focus-visible": p || void 0,- "data-disabled": a || void 0,- "data-readonly": o || void 0,- "data-invalid": c || void 0,- "data-required": d || void 0- }, /*#__PURE__*/ x.createElement(Uo, { elementType: "span" }, /*#__PURE__*/ x.createElement("input", {- ...V(r, m),- ref: l- })), y.children);-});//#endregion-//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function rg(e) {- let [t, n] = Ro(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, x.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = Xm({- ...e,- selectionMode: "single",- disallowEmptySelection: !0,- allowDuplicateSelectionEvents: !0,- selectedKeys: r,- onSelectionChange: (r) => {- if (r === "all") return;- let i = r.values().next().value ?? null;- i === t && e.onSelectionChange && e.onSelectionChange(i), n(i);+//#region src/react/follow-manage/add-source.tsx+var Zx = Y(Dx, Ox, "text-body-2-medium"), Qx = "粘贴来源链接,或输入创作者名、id…", $x = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", eS = "识别中…", tS = "站内没有查到来源", nS = (e, t) => `${e}:${t.url}`;+function rS({ options: e, active: t, busy: n, onPick: r }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {+ "aria-label": "来源建议",+ className: Y(wx, "absolute top-full z-10 mt-1 flex w-full flex-col gap-1"),+ children: [n && !e.length ? /* @__PURE__ */ (0, C.jsx)("div", {+ className: "px-2 py-1.5",+ children: /* @__PURE__ */ (0, C.jsx)(Jm, { label: "正在查找建议" })+ }) : null, e.map((e, n) => /* @__PURE__ */ (0, C.jsxs)("button", {+ type: "button",+ "aria-current": n === t ? "true" : void 0,+ className: n === t ? Y(Zx, "bg-background-secondary-default") : Zx,+ onMouseDown: (e) => e.preventDefault(),+ onClick: () => r(e.value),+ children: [/* @__PURE__ */ (0, C.jsx)("span", {+ className: "min-w-0 grow truncate text-left",+ children: e.label+ }), /* @__PURE__ */ (0, C.jsx)("span", {+ className: "shrink-0 text-caption-1-regular text-text-tertiary",+ children: e.group+ })]+ }, `${e.group}-${e.value}`))]+ });+}+function iS({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {+ let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), s = (e.providers || []).filter((e) => e.followable), c = s.filter((e) => !t.has(e.provider_label)).length, l = c === s.length ? "全部来源" : `${c}/${s.length} 个来源`, u = (e, r) => {+ let i = new Set(t);+ r ? i.delete(e) : i.add(e), n(i);+ };+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Z, {+ ref: i,+ variant: "secondary",+ size: "small",+ leadingIcon: Vf,+ "aria-haspopup": "dialog",+ "aria-expanded": a,+ "aria-label": l,+ onClick: () => o(!0),+ children: l+ }), /* @__PURE__ */ (0, C.jsx)(N_, {+ triggerRef: i,+ isOpen: a,+ onOpenChange: o,+ placement: "bottom end",+ offset: 4,+ className: wx,+ children: /* @__PURE__ */ (0, C.jsxs)(L_, {+ "aria-label": "来源筛选",+ className: "flex w-64 flex-col gap-1 outline-none",+ children: [s.length ? /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex items-center gap-2 pb-1",+ children: [/* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "ghost",+ size: "small",+ onClick: () => n(/* @__PURE__ */ new Set()),+ children: "全选"+ }), /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "ghost",+ size: "small",+ onClick: () => n(new Set(s.map((e) => e.provider_label))),+ children: "全不选"+ })]+ }) : /* @__PURE__ */ (0, C.jsx)(Rx, { children: "暂无可用来源" }), s.map((e) => {+ let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);+ return /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex items-center gap-2",+ children: [/* @__PURE__ */ (0, C.jsx)(Cx, {+ isSelected: !t.has(e.provider_label),+ onChange: (t) => u(e.provider_label, t),+ children: /* @__PURE__ */ (0, C.jsxs)("span", {+ className: "flex min-w-0 items-center gap-1.5",+ children: [/* @__PURE__ */ (0, C.jsx)(qx, { provider: e.provider }), e.provider_label]+ })+ }), n ? /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "ghost",+ size: "xs",+ className: "ml-auto",+ onClick: () => {+ o(!1), r();+ },+ children: "需要配置凭据"+ }) : null]+ }, e.provider);+ })]+ })+ })] });+}+function aS({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {+ if (e.kind === "error") return /* @__PURE__ */ (0, C.jsx)(Ym, {+ tone: "error",+ title: e.line,+ children: e.error || "查找失败"+ });+ let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});+ return /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-2 rounded-2xl border border-separator-border p-4",+ children: [+ /* @__PURE__ */ (0, C.jsx)("b", {+ className: "text-body-medium text-text-primary",+ children: e.line+ }),+ a.length ? a.map((e) => {+ let n = nS(t, e);+ return /* @__PURE__ */ (0, C.jsx)(Cx, {+ isSelected: !e.known && !r.has(n),+ isDisabled: e.known,+ onChange: (e) => i(n, e),+ children: /* @__PURE__ */ (0, C.jsxs)("span", {+ className: "flex min-w-0 flex-wrap items-center gap-1.5",+ children: [+ /* @__PURE__ */ (0, C.jsx)(qx, { provider: e.provider }),+ /* @__PURE__ */ (0, C.jsx)("b", {+ className: "text-body-medium",+ children: e.provider_label+ }),+ /* @__PURE__ */ (0, C.jsx)("span", {+ className: "min-w-0 break-words",+ children: e.label+ }),+ /* @__PURE__ */ (0, C.jsx)("small", {+ className: "text-caption-1-regular text-text-secondary",+ children: e.known ? "已经关注" : e.evidence+ })+ ]+ })+ }, n);+ }) : /* @__PURE__ */ (0, C.jsx)(Rx, { children: tS }),+ (e.external_searches || []).map((e) => /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, C.jsx)("small", {+ className: "text-caption-1-regular text-text-secondary",+ children: e.evidence+ }), /* @__PURE__ */ (0, C.jsx)(Vx, {+ href: e.url,+ children: `${e.label}:${e.query}`+ })]+ }, e.url)),+ o.length ? /* @__PURE__ */ (0, C.jsx)(Rx, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null+ ]+ });+}+function oS({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {+ let [a, o] = (0, S.useState)(""), [s, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(!1), [d, f] = (0, S.useState)(-1), [p, m] = (0, S.useState)(/* @__PURE__ */ new Set()), [h, g] = (0, S.useState)(/* @__PURE__ */ new Set()), [_, v] = (0, S.useState)(""), [y, b] = (0, S.useState)(!1), [x, w] = (0, S.useState)(null), [T, E] = (0, S.useState)(0);+ (0, S.useEffect)(() => {+ let e = a.trim();+ if (!e || e.includes("/")) {+ c("");+ return;}+ let t = setTimeout(() => c(e), 250);+ return () => clearTimeout(t);+ }, [a]);+ let D = lt({+ queryKey: hb(s),+ queryFn: ({ signal: e }) => Yb(s, e),+ enabled: s.length > 0 && l+ }), O = (0, S.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({+ value: t.value,+ label: t.matched || t.value,+ group: e.label+ }))), [D.data]), k = lt({+ queryKey: mb,+ queryFn: ({ signal: e }) => Jb(e),+ refetchInterval: (e) => dx(e.state.data)+ }), A = k.data?.status === "running", j = ut({+ mutationFn: (e) => Zb([e]),+ onSuccess: () => {+ b(!0), w(null), g(/* @__PURE__ */ new Set()), Qm.invalidateQueries({+ queryKey: mb,+ exact: !0+ });+ },+ onError: (e) => v(Wm(e))+ });+ (0, S.useEffect)(() => {+ let e = k.data;+ if (e) {+ if (e.status === "running") {+ y || b(!0);+ return;+ }+ y && (b(!1), w(e), e.status === "failed" && v(e.error || "查找失败"));+ }+ }, [k.data, y]);+ let M = (e) => {+ let t = e.trim();+ !t || A || j.isPending || (v(""), f(-1), o(""), c(""), j.mutate(t));+ }, N = (e) => {+ if (!e.nativeEvent.isComposing) {+ if (e.key === "Escape" && O.length) {+ f(-1), u(!1);+ return;+ }+ if (e.key === "ArrowDown" || e.key === "ArrowUp") {+ if (!O.length) return;+ e.preventDefault();+ let t = e.key === "ArrowDown" ? 1 : -1;+ f((e) => {+ let n = e + t;+ return n < 0 ? O.length - 1 : n >= O.length ? 0 : n;+ });+ return;+ }+ e.key === "Enter" && (e.preventDefault(), M(O[d]?.value || a));+ }+ }, ee = x?.results || [], P = ee.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !p.has(e.provider_label || "")).map((e) => ({+ candidate: e,+ key: nS(t, e)+ })).filter((e) => !h.has(e.key))), F = ut({+ mutationFn: async (e) => {+ let t = [], n = [];+ E(0);+ for (let r of e) {+ try {+ let e = await ex(r.candidate);+ n.push(e.source);+ } catch (e) {+ t.push(`${r.candidate.label}:${Wm(e)}`);+ }+ E((e) => e + 1);+ }+ if (n.length) try {+ await Xb(n);+ } catch (e) {+ t.push(Wm(e));+ }+ return {+ failures: t,+ sources: n+ };+ },+ onSuccess: (e) => {+ if (lx(), e.failures.length) {+ v(e.failures.join(";"));+ return;+ }+ v(""), w(null), r(`已添加 ${e.sources.length} 个关注来源`);+ },+ onError: (e) => v(Wm(e))+ }), te = e.suggestions || [], ne = !a.includes("/"), re = D.isFetching, ie = l && (O.length > 0 || re);+ return /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-4",+ children: [+ /* @__PURE__ */ (0, C.jsx)("h3", {+ className: "text-headline-medium text-text-primary",+ children: "添加关注"+ }),+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-end gap-2",+ children: [+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "relative min-w-64 grow",+ onFocus: () => u(!0),+ onBlur: (e) => {+ e.currentTarget.contains(e.relatedTarget) || u(!1);+ },+ children: [/* @__PURE__ */ (0, C.jsx)(Iy, {+ "aria-label": "来源链接、名字或 id",+ placeholder: Qx,+ value: a,+ leadingIcon: Qf,+ isDisabled: n,+ onChange: o,+ onKeyDown: N+ }), ie ? /* @__PURE__ */ (0, C.jsx)(rS, {+ options: O,+ active: d,+ busy: re,+ onPick: M+ }) : null]+ }),+ /* @__PURE__ */ (0, C.jsx)(iS, {+ credentials: t,+ hidden: p,+ onHidden: m,+ openCredentials: i+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "primary",+ size: "small",+ disabled: n || !a.trim(),+ ...Ry(A || j.isPending),+ onClick: () => M(a),+ children: "查找"+ })+ ]+ }),+ /* @__PURE__ */ (0, C.jsxs)("div", {+ "aria-live": "polite",+ className: "flex flex-col gap-3 empty:hidden",+ children: [A || j.isPending ? k.data?.total ? /* @__PURE__ */ (0, C.jsx)(Zm, {+ label: k.data.message || `查找中:${k.data.checked || 0}/${k.data.total}`,+ value: k.data.checked || 0,+ max: k.data.total+ }) : /* @__PURE__ */ (0, C.jsx)(Jm, { label: ne ? $x : eS }) : null, _ ? /* @__PURE__ */ (0, C.jsx)(Ym, {+ tone: "error",+ title: "这一次没有完成",+ children: _+ }) : null]+ }),+ ee.length ? /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-3",+ children: [+ /* @__PURE__ */ (0, C.jsx)(Bx, { children: "查找结果" }),+ ee.map((e, t) => /* @__PURE__ */ (0, C.jsx)(aS, {+ row: e,+ at: t,+ hidden: p,+ unpicked: h,+ onPick: (e, t) => {+ let n = new Set(h);+ t ? n.delete(e) : n.add(e), g(n);+ }+ }, `${e.line}-${t}`)),+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "primary",+ size: "small",+ disabled: n || !P.length,+ ...Ry(F.isPending),+ onClick: () => F.mutate(P),+ children: `添加选中(${P.length})`+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ onClick: () => w(null),+ children: "关闭"+ }),+ F.isPending ? /* @__PURE__ */ (0, C.jsx)("span", {+ role: "status",+ className: "text-body-2-regular text-text-secondary",+ children: `添加中… ${T}/${P.length}`+ }) : null+ ]+ })+ ]+ }) : null,+ te.length ? /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, C.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: "猜你喜欢"+ }), te.map((e) => /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ disabled: n,+ title: `浏览历史里出现 ${e.visits} 次${e.origin ? ` · ${e.origin}` : ""}`,+ onClick: () => M(e.name),+ children: e.name+ }, e.name))]+ }) : null+ ]});- return {- collection: i,- disabledKeys: a,- selectionManager: o,- selectedKey: t,- setSelectedKey: n,- selectedItem: t == null ? null : i.getItem(t)- };}//#endregion-//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function ig(e) {- let t = rg({- ...e,- onSelectionChange: e.onSelectionChange ? (t) => {- t != null && e.onSelectionChange?.(t);- } : void 0,- suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? ag(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0- }), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, x.useRef)(i);- return (0, x.useEffect)(() => {- let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = ag(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;- }), {- ...t,- isDisabled: e.isDisabled || !1- };-}-function ag(e, t) {- let n = null;- if (e) {- for (n = e.getFirstKey(); n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n !== e.getLastKey();) n = e.getKeyAfter(n);- n != null && (t.has(n) || e.getItem(n)?.props?.isDisabled) && n === e.getLastKey() && (n = e.getFirstKey());- }- return n;+//#region src/react/boardui/components/base/table/table.tsx+function sS({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {+ return /* @__PURE__ */ (0, C.jsx)("div", {+ className: Y("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, C.jsx)(Iv, {+ ref: r,+ ...i,+ className: Y("bui-table", e === "sm" && "bui-table-sm", t)+ })+ });}//#endregion-//#region node_modules/react-aria-components/dist/private/Tabs.mjs-var og = /*#__PURE__*/ (0, x.createContext)(null), sg = /*#__PURE__*/ (0, x.createContext)(null), cg = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- [e, t] = lp(e, t, og);- let { children: n, orientation: r = "horizontal" } = e;- return n = (0, x.useMemo)(() => typeof n == "function" ? n({- orientation: r,- defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ x.createElement(Qr, { content: n }, (n) => /*#__PURE__*/ x.createElement(lg, {- props: e,- collection: n,- tabsRef: t- }));-});-function lg({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = ig({- ...e,- collection: n,- children: void 0- }), { focusProps: a, isFocused: o, isFocusVisible: s } = _c({ within: !0 }), c = (0, x.useMemo)(() => ({- orientation: r,- isFocusWithin: o,- isFocusVisible: s- }), [- r,- o,- s- ]), l = sp({- ...e,- defaultClassName: "react-aria-Tabs",- values: c- }), u = H(e, { global: !0 });- return /*#__PURE__*/ x.createElement(mp.div, {- ...V(u, l, a),- ref: t,- slot: e.slot || void 0,- "data-focused": o || void 0,- "data-orientation": r,- "data-focus-visible": s || void 0,- "data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ x.createElement(op, { values: [[og, e], [sg, i]] }, l.children));-}-var ug = /*#__PURE__*/ (0, x.forwardRef)(function(e, t) {- return (0, x.useContext)(sg) ? /*#__PURE__*/ x.createElement(dg, {- props: e,- forwardedRef: t- }) : /*#__PURE__*/ x.createElement(li, e);-});-function dg({ props: e, forwardedRef: t }) {- let n = (0, x.useContext)(sg), { CollectionRoot: r } = (0, x.useContext)(xp), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = cp(og), o = Fr(t), { tabListProps: s } = gu({- ...e,- orientation: i,- keyboardActivation: a- }, n, o), c = sp({- ...e,- children: null,- defaultClassName: "react-aria-TabList",- values: {- orientation: i,- state: n- }- }), l = H(e, { global: !0 });- return delete l.id, /*#__PURE__*/ x.createElement(mp.div, {- ...V(l, c, s),- ref: o,- "data-orientation": i || void 0- }, /*#__PURE__*/ x.createElement(Fm, null, /*#__PURE__*/ x.createElement(r, {- collection: n.collection,- persistedKeys: Sp(n.selectionManager.focusedKey)- })));-}-var fg = /*#__PURE__*/ oi(class extends ft {- static {- this.type = "item";- }-}, (e, t, n) => {- let r = (0, x.useContext)(sg), i = Fr(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = mu({- key: n.key,- ...e- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = _c(), { hoverProps: f, isHovered: p } = wc({- isDisabled: s,- onHoverStart: e.onHoverStart,- onHoverEnd: e.onHoverEnd,- onHoverChange: e.onHoverChange- }), m = sp({- ...e,- id: void 0,- children: n.rendered,- defaultClassName: "react-aria-Tab",- values: {- isSelected: o,- isDisabled: s,- isFocused: u,- isFocusVisible: d,- isPressed: c,- isHovered: p- }- }), h = n.props.href ? mp.a : mp.div, g = H(e, { global: !0 });- return delete g.id, delete g.onClick, /*#__PURE__*/ x.createElement(h, {- ...V(g, m, a, l, f),- ref: i,- "data-selected": o || void 0,- "data-disabled": s || void 0,- "data-focused": u || void 0,- "data-focus-visible": d || void 0,- "data-pressed": c || void 0,- "data-hovered": p || void 0- }, /*#__PURE__*/ x.createElement(Im.Provider, { value: { isSelected: o } }, m.children));-}), pg = /*#__PURE__*/ Hr(function(e, t) {- let n = (0, x.useContext)(sg), r = Fr(t), i = n.selectedKey === e.id, [a, o] = (0, x.useState)(n.selectedKey == null ? null : i);- a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = ph(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ x.createElement(mg, {- ...e,- tabPanelRef: r,- isInitiallySelected: a || !1,- isExiting: s- });-});-function mg(e) {- let t = (0, x.useContext)(sg), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = _u(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = _c(), d = t.selectedKey === e.id, f = fh(r) && !i, p = sp({- ...e,- defaultClassName: "react-aria-TabPanel",- values: {- isFocused: l,- isFocusVisible: u,- isInert: Rm(!d),- isEntering: f,- isExiting: a,- state: t- }- }), m = H(o, { global: !0 });- delete m.id;- let h = d ? V(m, s, c, p) : V(m, p);- return /*#__PURE__*/ x.createElement(mp.div, {- ...h,- ref: r,- "data-focused": l || void 0,- "data-focus-visible": u || void 0,- inert: Rm(!d || e.inert),- "data-inert": d ? void 0 : "true",- "data-entering": f || void 0,- "data-exiting": a || void 0- }, /*#__PURE__*/ x.createElement(op, { values: [[og, null], [sg, null]] }, /*#__PURE__*/ x.createElement(xp.Provider, { value: vp }, p.children)));+//#region src/react/follow-manage/alias-manager.tsx+var cS = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, lS = (e) => e.alias;+function uS({ groups: e, suggestions: t, readOnly: n, toast: r }) {+ let [i, a] = (0, S.useState)(/* @__PURE__ */ new Set()), [o, c] = (0, S.useState)(""), [l, u] = (0, S.useState)(""), [d, f] = (0, S.useState)(""), p = ut({+ mutationFn: async (e) => {+ let t = 0;+ for (let n of e) {+ try {+ await tx(n.canonical, n.alias);+ } catch (n) {+ throw t && lx(), Error(`${Wm(n)}(还有 ${e.length - t} 组没有合并)`);+ }+ t += 1;+ }+ return {+ done: t,+ items: e+ };+ },+ onSuccess: (e) => {+ c(""), a(/* @__PURE__ */ new Set()), lx(), r(`已合并 ${e.done} 组创作者别名`);+ },+ onError: (e) => c(Wm(e))+ }), m = ut({+ mutationFn: (e) => tx(e.canonical, e.alias),+ onSuccess: () => {+ c(""), u(""), f(""), lx(), r("已保存创作者别名");+ },+ onError: (e) => c(Wm(e))+ }), h = ut({+ mutationFn: (e) => nx(e),+ onSuccess: () => {+ c(""), lx(), r("已移除创作者别名");+ },+ onError: (e) => c(Wm(e))+ }), g = (e, t) => {+ e.length && s({+ title: t ? "合并全部创作者别名" : "合并所选创作者别名",+ body: `将合并以下 ${e.length} 组创作者:${e.map((e) => `「${e.alias}」归入「${e.canonical}」`).join(";")}。`,+ confirmLabel: t ? "合并全部别名" : "合并所选别名",+ onConfirm: () => p.mutateAsync(e)+ });+ }, _ = t.filter((e) => i.has(lS(e))), v = t.length > 0 && _.length === t.length, y = Ry(p.isPending);+ return /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-4",+ children: [+ /* @__PURE__ */ (0, C.jsx)("h3", {+ className: "text-headline-medium text-text-primary",+ children: "创作者别名"+ }),+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-2",+ children: [/* @__PURE__ */ (0, C.jsx)(Bx, { children: "手动添加别名" }), /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-end gap-2",+ children: [+ /* @__PURE__ */ (0, C.jsx)(Iy, {+ "aria-label": "规范创作者名",+ placeholder: "规范创作者名",+ value: l,+ onChange: u,+ isDisabled: n,+ className: "w-56"+ }),+ /* @__PURE__ */ (0, C.jsx)(Iy, {+ "aria-label": "平台别名",+ placeholder: "平台别名",+ value: d,+ onChange: f,+ isDisabled: n,+ className: "w-56"+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "primary",+ size: "small",+ disabled: n || !l.trim() || !d.trim(),+ ...Ry(m.isPending),+ onClick: () => m.mutate({+ canonical: l.trim(),+ alias: d.trim()+ }),+ children: "保存别名"+ })+ ]+ })]+ }),+ o ? /* @__PURE__ */ (0, C.jsx)(zx, { children: o }) : null,+ t.length ? /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-2",+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [+ /* @__PURE__ */ (0, C.jsx)(Bx, { children: "待合并" }),+ /* @__PURE__ */ (0, C.jsx)("span", {+ className: "mr-auto text-body-2-regular text-text-secondary",+ children: `${t.length} 组`+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ disabled: n || !_.length,+ ...y,+ onClick: () => g(_, !1),+ children: `合并所选(${_.length})`+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "primary",+ size: "small",+ disabled: n,+ ...y,+ onClick: () => g(t, !0),+ children: `全部合并(${t.length})`+ })+ ]+ }), /* @__PURE__ */ (0, C.jsxs)(sS, {+ "aria-label": "待合并创作者别名",+ size: "sm",+ children: [/* @__PURE__ */ (0, C.jsxs)(Uv, { children: [+ /* @__PURE__ */ (0, C.jsx)(Jv, {+ id: "select",+ children: /* @__PURE__ */ (0, C.jsx)(Cx, {+ slot: null,+ isSelected: v,+ isIndeterminate: _.length > 0 && !v,+ "aria-label": "全选待合并别名",+ onChange: (e) => a(e ? new Set(t.map(lS)) : /* @__PURE__ */ new Set())+ })+ }),+ /* @__PURE__ */ (0, C.jsx)(Jv, {+ id: "canonical",+ children: "规范创作者"+ }),+ /* @__PURE__ */ (0, C.jsx)(Jv, {+ id: "alias",+ isRowHeader: !0,+ children: "平台别名"+ }),+ /* @__PURE__ */ (0, C.jsx)(Jv, {+ id: "evidence",+ children: "依据"+ }),+ /* @__PURE__ */ (0, C.jsx)(Jv, {+ id: "actions",+ children: "操作"+ })+ ] }), /* @__PURE__ */ (0, C.jsx)(Qv, { children: t.map((e) => {+ let t = lS(e);+ return /* @__PURE__ */ (0, C.jsxs)(ny, {+ id: t,+ children: [+ /* @__PURE__ */ (0, C.jsx)(ay, { children: /* @__PURE__ */ (0, C.jsx)(Cx, {+ slot: null,+ isSelected: i.has(t),+ "aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,+ onChange: (e) => {+ let n = new Set(i);+ e ? n.add(t) : n.delete(t), a(n);+ }+ }) }),+ /* @__PURE__ */ (0, C.jsx)(ay, { children: /* @__PURE__ */ (0, C.jsx)("b", {+ className: "text-body-medium",+ children: e.canonical+ }) }),+ /* @__PURE__ */ (0, C.jsx)(ay, { children: e.alias }),+ /* @__PURE__ */ (0, C.jsx)(ay, { children: /* @__PURE__ */ (0, C.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: e.evidence+ }) }),+ /* @__PURE__ */ (0, C.jsx)(ay, { children: /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ disabled: n,+ ...y,+ onClick: () => g([e], !1),+ children: "合并"+ }) })+ ]+ }, t);+ }) })]+ })]+ }) : null,+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-2",+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, C.jsx)(Bx, { children: "已保存别名" }), /* @__PURE__ */ (0, C.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: `${e.length} 组`+ })]+ }), e.length ? /* @__PURE__ */ (0, C.jsxs)(sS, {+ "aria-label": "已保存创作者别名",+ size: "sm",+ children: [/* @__PURE__ */ (0, C.jsxs)(Uv, { children: [/* @__PURE__ */ (0, C.jsx)(Jv, {+ id: "canonical",+ isRowHeader: !0,+ children: "规范创作者"+ }), /* @__PURE__ */ (0, C.jsx)(Jv, {+ id: "aliases",+ children: "平台别名"+ })] }), /* @__PURE__ */ (0, C.jsx)(Qv, { children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)(ny, {+ id: e.canonical_key,+ children: [/* @__PURE__ */ (0, C.jsx)(ay, { children: /* @__PURE__ */ (0, C.jsx)("b", {+ className: "text-body-medium",+ children: e.canonical_name+ }) }), /* @__PURE__ */ (0, C.jsx)(ay, { children: /* @__PURE__ */ (0, C.jsx)("span", {+ className: "flex flex-wrap items-center gap-1.5",+ children: e.aliases.map((e) => /* @__PURE__ */ (0, C.jsxs)("span", {+ className: "inline-flex items-center gap-1 rounded-md bg-background-secondary-default px-1.5 py-1 text-caption-1-medium text-text-secondary",+ children: [e.name, /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "ghost",+ size: "xs",+ iconOnly: !0,+ leadingIcon: Pf,+ "aria-label": `移除别名 ${e.name}`,+ disabled: n,+ ...Ry(h.isPending),+ onClick: () => void s({+ title: "移除创作者别名",+ body: cS(e.name),+ confirmLabel: "移除创作者别名",+ onConfirm: () => h.mutateAsync(e.name)+ })+ })]+ }, e.key))+ }) })]+ }, e.canonical_key)) })]+ }) : /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: rp,+ title: "还没有保存创作者别名",+ children: "填写规范创作者名和平台别名以添加。"+ })]+ })+ ]+ });}//#endregion-//#region node_modules/react-aria-components/dist/private/TextArea.mjs-var hg = /*#__PURE__*/ (0, x.createContext)({}), gg = /*#__PURE__*/ (0, x.createContext)(null), _g = /*#__PURE__*/ Hr(function(e, t) {- [e, t] = lp(e, t, gg);- let { validationBehavior: n } = cp(Fp) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, x.useRef)(null);- [e, i] = lp(e, i, gp);- let [a, o] = up(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, x.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Wo({- ...dp(e),- inputElementType: s,- label: o,- validationBehavior: r- }, i), m = (0, x.useCallback)((e) => {- i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = sp({- ...e,- values: {- isDisabled: e.isDisabled || !1,- isInvalid: p.isInvalid,- isReadOnly: e.isReadOnly || !1,- isRequired: e.isRequired || !1+//#region src/react/follow-manage/credentials.tsx+var dS = "这些账号信息存在哪里", fS = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", pS = "将清除这个来源在本机和共享副本中的登录凭据。", mS = "文件权限过宽,请在运行 Peach 的 POSIX 主机上收紧为 0600。";+function hS(e, t) {+ return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";+}+function gS({ row: e }) {+ if (bx(e)) return /* @__PURE__ */ (0, C.jsx)(Vm, {+ variant: "caption",+ color: "lime",+ children: "已配置"+ });+ let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";+ return /* @__PURE__ */ (0, C.jsx)(Vm, {+ variant: "caption",+ color: t,+ children: yx[e.requirement] || ""+ });+}+function _S({ row: e, readOnly: t, toast: n }) {+ let [r, i] = (0, S.useState)({}), [a, o] = (0, S.useState)(""), c = bx(e), l = ut({+ mutationFn: (t) => rx(e.provider, t),+ onSuccess: (e, t) => {+ if (e.note) {+ o(e.note);+ return;+ }+ o(""), i({}), Qm.invalidateQueries({+ queryKey: fb,+ exact: !0+ }), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");},- defaultClassName: "react-aria-TextField"- }), g = H(e, { global: !0 });- return delete g.id, /*#__PURE__*/ x.createElement(mp.div, {- ...g,- ...h,- ref: t,- slot: e.slot || void 0,- "data-disabled": e.isDisabled || void 0,- "data-invalid": p.isInvalid || void 0,- "data-readonly": e.isReadOnly || void 0,- "data-required": e.isRequired || void 0- }, /*#__PURE__*/ x.createElement(op, { values: [- [Cp, {- ...l,- ref: a- }],- [Wp, {- ...u,- ref: m- }],- [hg, {- ...u,- ref: m- }],- [Hp, {- role: "presentation",- isInvalid: p.isInvalid,- isDisabled: e.isDisabled || !1- }],- [Mp, { slots: {- description: d,- errorMessage: f- } }],- [Pp, p]- ] }, h.children));-}), vg = wf({- base: [- "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",- "font-sans select-none cursor-pointer",- "button-press-motion",- "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",- "disabled:cursor-not-allowed aria-disabled:cursor-not-allowed"- ].join(" "),- size: {- medium: "h-9 rounded-2lg p-2 text-body-medium",- small: "h-8 rounded-lg px-2 py-1.5 text-body-medium",- xs: "h-6 rounded-sm px-2 text-caption-1-semibold"- },- iconOnlySize: {- medium: "",- small: "size-8 p-0",- xs: "size-6 p-0"- },- icon: {- medium: "size-5 shrink-0",- small: "size-[18px] shrink-0",- xs: "size-3.5 shrink-0"- },- label: {- medium: "inline-flex items-center justify-center px-1 shrink-0",- small: "inline-flex items-center justify-center px-0.5 shrink-0",- xs: "inline-flex items-center justify-center px-0.5 shrink-0"- },- variant: {- primary: [- "bg-button-primary text-text-white shadow-xs",- "disabled:text-button-primary-disabled-foreground disabled:shadow-none",- "aria-disabled:text-button-primary-disabled-foreground aria-disabled:shadow-none"- ].join(" "),- danger: [- "bg-button-danger text-text-white shadow-xs",- "disabled:text-foreground-disabled-danger disabled:shadow-none",- "aria-disabled:text-foreground-disabled-danger aria-disabled:shadow-none"- ].join(" "),- secondary: [- "bg-background-primary-default text-text-primary",- "border border-border-button-default shadow-xs",- "hover:bg-background-primary-hover hover:border-border-button-hover",- "active:bg-background-primary-active active:border-border-button-active",- "disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-text-tertiary disabled:shadow-none",- "aria-disabled:bg-background-primary-disabled aria-disabled:border-border-button-default aria-disabled:text-text-tertiary aria-disabled:shadow-none"- ].join(" "),- ghost: [- "bg-button-ghost-background text-button-ghost-foreground",- "hover:bg-button-ghost-hover active:bg-button-ghost-active",- "disabled:bg-button-ghost-disabled disabled:text-button-ghost-disabled-foreground disabled:shadow-none",- "aria-disabled:bg-button-ghost-disabled aria-disabled:text-button-ghost-disabled-foreground aria-disabled:shadow-none"- ].join(" ")- }-});-function $({ 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, S.jsxs)("button", {- ref: c,- type: s,- className: Z(vg.base, vg.size[t], vg.variant[e], n && vg.iconOnlySize[t], o),- ...l,+ onError: (e) => o(Wm(e))+ }), u = () => {+ let e = Object.fromEntries(Object.entries(r).map(([e, t]) => [e, t.trim()]).filter(([, e]) => e));+ if (!Object.keys(e).length) {+ o("没有填写内容");+ return;+ }+ l.mutate(e);+ };+ return /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-3",children: [- r ? /* @__PURE__ */ (0, S.jsx)(r, {- className: vg.icon[t],- "aria-hidden": !0- }) : null,- !n && a != null && /* @__PURE__ */ (0, S.jsx)("span", {- className: vg.label[t],- children: a+ /* @__PURE__ */ (0, C.jsxs)(Rx, { children: [e.why, e.where ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [" ", /* @__PURE__ */ (0, C.jsx)(Vx, {+ href: e.where,+ children: "去取"+ })] }) : null] }),+ e.howto ? /* @__PURE__ */ (0, C.jsx)(Rx, { children: e.howto }) : null,+ /* @__PURE__ */ (0, C.jsx)("div", {+ className: "flex flex-wrap items-end gap-3",+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, C.jsx)(Iy, {+ type: "password",+ label: n,+ placeholder: hS(e, n),+ autoComplete: "off",+ spellCheck: "false",+ isDisabled: t,+ value: r[n] || "",+ onChange: (e) => i({+ ...r,+ [n]: e+ }),+ className: "w-48"+ }, n))}),- !n && i ? /* @__PURE__ */ (0, S.jsx)(i, {- className: vg.icon[t],- "aria-hidden": !0+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "primary",+ size: "small",+ disabled: t,+ ...Ry(l.isPending),+ onClick: u,+ children: "保存配置"+ }), c ? /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "danger",+ size: "small",+ disabled: t,+ ...Ry(l.isPending),+ onClick: () => void s({+ title: "清除来源凭据",+ body: pS,+ confirmLabel: "清除来源凭据",+ danger: !0,+ onConfirm: () => l.mutateAsync({})+ }),+ children: "清除"+ }) : null]+ }),+ a ? /* @__PURE__ */ (0, C.jsx)(zx, { children: a }) : null,+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, C.jsx)(Rx, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,+ /* @__PURE__ */ (0, C.jsx)("p", {+ className: "font-mono text-caption-1-regular break-all text-text-tertiary",+ children: e.path+ }),+ e.world_readable ? /* @__PURE__ */ (0, C.jsx)(Ym, {+ tone: "error",+ title: "凭据文件权限过宽",+ children: mS+ }) : null+ ]+ });+}+function vS({ row: e, readOnly: t, toast: n }) {+ let r = /* @__PURE__ */ (0, C.jsxs)("span", {+ className: "flex min-w-0 items-center gap-2",+ children: [+ /* @__PURE__ */ (0, C.jsx)("span", {+ className: "inline-flex size-3.5 shrink-0 items-center justify-center",+ children: /* @__PURE__ */ (0, C.jsx)(qx, { provider: e.provider })+ }),+ /* @__PURE__ */ (0, C.jsx)("b", {+ className: "text-body-medium text-text-primary",+ children: e.provider_label+ }),+ /* @__PURE__ */ (0, C.jsx)(gS, { row: e }),+ e.missing.length ? /* @__PURE__ */ (0, C.jsx)(Vm, {+ variant: "caption",+ color: "rose",+ children: `缺 ${e.missing.join("、")}`}) : null]});+ return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center gap-3 border-b border-separator-border py-2.5 pr-3 last:border-b-0",+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, C.jsx)(Rx, { children: e.why }) : null]+ }) : /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-2 border-b border-separator-border py-2.5 pr-3 last:border-b-0",+ children: [r, /* @__PURE__ */ (0, C.jsx)(Wx, {+ summary: bx(e) ? "修改凭据" : "填写凭据",+ defaultOpen: e.requirement === "required" && !bx(e),+ children: /* @__PURE__ */ (0, C.jsx)(_S, {+ row: e,+ readOnly: t,+ toast: n+ })+ })]+ });+}+function yS({ data: e, readOnly: t, toast: n }) {+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !bx(e));+ return r.length ? /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-4",+ children: [+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2",+ children: [/* @__PURE__ */ (0, C.jsx)("h3", {+ className: "mr-auto text-headline-medium text-text-primary",+ children: "来源和凭证"+ }), i.length ? /* @__PURE__ */ (0, C.jsx)("span", {+ className: "text-body-2-regular text-text-error-primary",+ children: `${i.length} 个待配置`+ }) : null]+ }),+ /* @__PURE__ */ (0, C.jsx)("div", {+ className: "flex flex-col",+ children: r.map((e) => /* @__PURE__ */ (0, C.jsx)(vS, {+ row: e,+ readOnly: t,+ toast: n+ }, e.provider))+ }),+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-1 rounded-2lg bg-background-secondary-default px-3 py-2",+ children: [+ /* @__PURE__ */ (0, C.jsx)("b", {+ className: "text-body-medium text-text-primary",+ children: dS+ }),+ /* @__PURE__ */ (0, C.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: fS+ }),+ /* @__PURE__ */ (0, C.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: `凭据文件在 ${e.root}`+ })+ ]+ })+ ]+ }) : /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: qf,+ title: "没有可配置的来源",+ children: "已接入的站点及其凭据状态会显示在这里。"+ });}//#endregion-//#region src/react/boardui/components/base/buttons/icon-button.tsx-var yg = wf({- base: [- "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",- "bg-background-primary-default text-foreground-icon-primary",- "border border-border-button-default shadow-xs",- "select-none cursor-pointer",- "transition-[background-color,border-color,box-shadow,color] duration-150 ease",- "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",- "hover:bg-background-primary-hover hover:border-border-button-hover",- "active:bg-background-primary-active active:border-border-button-active",- "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none"- ].join(" "),- size: {- medium: "size-9",- small: "size-8"+//#region node_modules/@tanstack/table-core/build/lib/index.mjs+function bS() {+ return {+ accessor: (e, t) => typeof e == "function" ? {+ ...t,+ accessorFn: e+ } : {+ ...t,+ accessorKey: e+ },+ display: (e) => e,+ group: (e) => e+ };+}+function xS(e, t) {+ return typeof e == "function" ? e(t) : e;+}+function SS(e, t) {+ return (n) => {+ t.setState((t) => ({+ ...t,+ [e]: xS(n, t[e])+ }));+ };+}+function CS(e) {+ return e instanceof Function;+}+function wS(e) {+ return Array.isArray(e) && e.every((e) => typeof e == "number");+}+function TS(e, t) {+ let n = [], r = (e) => {+ e.forEach((e) => {+ n.push(e);+ let i = t(e);+ i != null && i.length && r(i);+ });+ };+ return r(e), n;+}+function Q(e, t, n) {+ let r = [], i;+ return (a) => {+ let o;+ n.key && n.debug && (o = Date.now());+ let s = e(a);+ if (!(s.length !== r.length || s.some((e, t) => r[t] !== e))) return i;+ r = s;+ let c;+ if (n.key && n.debug && (c = Date.now()), i = t(...s), n == null || n.onChange == null || n.onChange(i), n.key && n.debug && n != null && n.debug()) {+ let e = Math.round((Date.now() - o) * 100) / 100, t = Math.round((Date.now() - c) * 100) / 100, r = t / 16, i = (e, t) => {+ for (e = String(e); e.length < t;) e = " " + e;+ return e;+ };+ console.info(`%c⏱ ${i(t, 5)} /${i(e, 5)} ms`, `+ font-size: .6rem;+ font-weight: bold;+ color: hsl(${Math.max(0, Math.min(120 - 120 * r, 120))}deg 100% 31%);`, n?.key);+ }+ return i;+ };+}+function $(e, t, n, r) {+ return {+ debug: () => e?.debugAll ?? e[t],+ key: !1,+ onChange: r+ };+}+function ES(e, t, n, r) {+ let i = {+ id: `${t.id}_${n.id}`,+ row: t,+ column: n,+ getValue: () => t.getValue(r),+ renderValue: () => i.getValue() ?? e.options.renderFallbackValue,+ getContext: Q(() => [+ e,+ n,+ t,+ i+ ], (e, t, n, r) => ({+ table: e,+ column: t,+ row: n,+ cell: r,+ getValue: r.getValue,+ renderValue: r.renderValue+ }), $(e.options, "debugCells", "cell.getContext"))+ };+ return e._features.forEach((r) => {+ r.createCell == null || r.createCell(i, n, t, e);+ }, {}), i;+}+function DS(e, t, n, r) {+ let i = {+ ...e._getDefaultColumnDef(),+ ...t+ }, a = i.accessorKey, o = i.id ?? (a ? typeof String.prototype.replaceAll == "function" ? a.replaceAll(".", "_") : a.replace(/\./g, "_") : void 0) ?? (typeof i.header == "string" ? i.header : void 0), s;+ if (i.accessorFn ? s = i.accessorFn : a && (s = a.includes(".") ? (e) => {+ let t = e;+ for (let e of a.split(".")) t = t?.[e];+ return t;+ } : (e) => e[i.accessorKey]), !o) throw Error();+ let c = {+ id: `${String(o)}`,+ accessorFn: s,+ parent: r,+ depth: n,+ columnDef: i,+ columns: [],+ getFlatColumns: Q(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], $(e.options, "debugColumns", "column.getFlatColumns")),+ getLeafColumns: Q(() => [e._getOrderColumnsFn()], (e) => {+ var t;+ return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];+ }, $(e.options, "debugColumns", "column.getLeafColumns"))+ };+ for (let t of e._features) t.createColumn == null || t.createColumn(c, e);+ return c;+}+var OS = "debugHeaders";+function kS(e, t, n) {+ let r = {+ id: n.id ?? t.id,+ column: t,+ index: n.index,+ isPlaceholder: !!n.isPlaceholder,+ placeholderId: n.placeholderId,+ depth: n.depth,+ subHeaders: [],+ colSpan: 0,+ rowSpan: 0,+ headerGroup: null,+ getLeafHeaders: () => {+ let e = [], t = (n) => {+ n.subHeaders && n.subHeaders.length && n.subHeaders.map(t), e.push(n);+ };+ return t(r), e;+ },+ getContext: () => ({+ table: e,+ header: r,+ column: t+ })+ };+ return e._features.forEach((t) => {+ t.createHeader == null || t.createHeader(r, e);+ }), r;+}+var AS = { createTable: (e) => {+ e.getHeaderGroups = Q(() => [+ e.getAllColumns(),+ e.getVisibleLeafColumns(),+ e.getState().columnPinning.left,+ e.getState().columnPinning.right+ ], (t, n, r, i) => {+ let a = r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], o = i?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], s = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id)));+ return jS(t, [+ ...a,+ ...s,+ ...o+ ], e);+ }, $(e.options, OS, "getHeaderGroups")), e.getCenterHeaderGroups = Q(() => [+ e.getAllColumns(),+ e.getVisibleLeafColumns(),+ e.getState().columnPinning.left,+ e.getState().columnPinning.right+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), jS(t, n, e, "center")), $(e.options, OS, "getCenterHeaderGroups")), e.getLeftHeaderGroups = Q(() => [+ e.getAllColumns(),+ e.getVisibleLeafColumns(),+ e.getState().columnPinning.left+ ], (t, n, r) => jS(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), $(e.options, OS, "getLeftHeaderGroups")), e.getRightHeaderGroups = Q(() => [+ e.getAllColumns(),+ e.getVisibleLeafColumns(),+ e.getState().columnPinning.right+ ], (t, n, r) => jS(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), $(e.options, OS, "getRightHeaderGroups")), e.getFooterGroups = Q(() => [e.getHeaderGroups()], (e) => [...e].reverse(), $(e.options, OS, "getFooterGroups")), e.getLeftFooterGroups = Q(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), $(e.options, OS, "getLeftFooterGroups")), e.getCenterFooterGroups = Q(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), $(e.options, OS, "getCenterFooterGroups")), e.getRightFooterGroups = Q(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), $(e.options, OS, "getRightFooterGroups")), e.getFlatHeaders = Q(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, OS, "getFlatHeaders")), e.getLeftFlatHeaders = Q(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, OS, "getLeftFlatHeaders")), e.getCenterFlatHeaders = Q(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, OS, "getCenterFlatHeaders")), e.getRightFlatHeaders = Q(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), $(e.options, OS, "getRightFlatHeaders")), e.getCenterLeafHeaders = Q(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {+ var t;+ return !((t = e.subHeaders) != null && t.length);+ }), $(e.options, OS, "getCenterLeafHeaders")), e.getLeftLeafHeaders = Q(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {+ var t;+ return !((t = e.subHeaders) != null && t.length);+ }), $(e.options, OS, "getLeftLeafHeaders")), e.getRightLeafHeaders = Q(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {+ var t;+ return !((t = e.subHeaders) != null && t.length);+ }), $(e.options, OS, "getRightLeafHeaders")), e.getLeafHeaders = Q(() => [+ e.getLeftHeaderGroups(),+ e.getCenterHeaderGroups(),+ e.getRightHeaderGroups()+ ], (e, t, n) => [+ ...e[0]?.headers ?? [],+ ...t[0]?.headers ?? [],+ ...n[0]?.headers ?? []+ ].map((e) => e.getLeafHeaders()).flat(), $(e.options, OS, "getLeafHeaders"));+} };+function jS(e, t, n, r) {+ let i = 0, a = function(e, t) {+ t === void 0 && (t = 1), i = Math.max(i, t), e.filter((e) => e.getIsVisible()).forEach((e) => {+ var n;+ (n = e.columns) != null && n.length && a(e.columns, t + 1);+ }, 0);+ };+ a(e);+ let o = [], s = (e, t) => {+ let i = {+ depth: t,+ id: [r, `${t}`].filter(Boolean).join("_"),+ headers: []+ }, a = [];+ e.forEach((e) => {+ let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;+ if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);+ else {+ let i = kS(n, c, {+ id: [+ r,+ t,+ c.id,+ e?.id+ ].filter(Boolean).join("_"),+ isPlaceholder: l,+ placeholderId: l ? `${a.filter((e) => e.column === c).length}` : void 0,+ depth: t,+ index: a.length+ });+ i.subHeaders.push(e), a.push(i);+ }+ i.headers.push(e), e.headerGroup = i;+ }), o.push(i), t > 0 && s(a, t - 1);+ };+ s(t.map((e, t) => kS(n, e, {+ depth: i,+ index: t+ })), i - 1), o.reverse();+ let c = (e) => e.filter((e) => e.column.getIsVisible()).map((e) => {+ let t = 0, n = 0, r = [0];+ e.subHeaders && e.subHeaders.length ? (r = [], c(e.subHeaders).forEach((e) => {+ let { colSpan: n, rowSpan: i } = e;+ t += n, r.push(i);+ })) : t = 1;+ let i = Math.min(...r);+ return n += i, e.colSpan = t, e.rowSpan = n, {+ colSpan: t,+ rowSpan: n+ };+ });+ return c(o[0]?.headers ?? []), o;+}+var MS = (e, t, n, r, i, a, o) => {+ let s = {+ id: t,+ index: r,+ original: n,+ depth: i,+ parentId: o,+ _valuesCache: {},+ _uniqueValuesCache: {},+ getValue: (t) => {+ if (s._valuesCache.hasOwnProperty(t)) return s._valuesCache[t];+ let n = e.getColumn(t);+ if (n != null && n.accessorFn) return s._valuesCache[t] = n.accessorFn(s.original, r), s._valuesCache[t];+ },+ getUniqueValues: (t) => {+ if (s._uniqueValuesCache.hasOwnProperty(t)) return s._uniqueValuesCache[t];+ let n = e.getColumn(t);+ if (n != null && n.accessorFn) return n.columnDef.getUniqueValues ? (s._uniqueValuesCache[t] = n.columnDef.getUniqueValues(s.original, r), s._uniqueValuesCache[t]) : (s._uniqueValuesCache[t] = [s.getValue(t)], s._uniqueValuesCache[t]);+ },+ renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,+ subRows: a ?? [],+ getLeafRows: () => TS(s.subRows, (e) => e.subRows),+ getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,+ getParentRows: () => {+ let e = [], t = s;+ for (;;) {+ let n = t.getParentRow();+ if (!n) break;+ e.push(n), t = n;+ }+ return e.reverse();+ },+ getAllCells: Q(() => [e.getAllLeafColumns()], (t) => t.map((t) => ES(e, s, t, t.id)), $(e.options, "debugRows", "getAllCells")),+ _getAllCellsByColumnId: Q(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), $(e.options, "debugRows", "getAllCellsByColumnId"))+ };+ for (let t = 0; t < e._features.length; t++) {+ let n = e._features[t];+ n == null || n.createRow == null || n.createRow(s, e);+ }+ return s;+}, NS = { createColumn: (e, t) => {+ e._getFacetedRowModel = t.options.getFacetedRowModel && t.options.getFacetedRowModel(t, e.id), e.getFacetedRowModel = () => e._getFacetedRowModel ? e._getFacetedRowModel() : t.getPreFilteredRowModel(), e._getFacetedUniqueValues = t.options.getFacetedUniqueValues && t.options.getFacetedUniqueValues(t, e.id), e.getFacetedUniqueValues = () => e._getFacetedUniqueValues ? e._getFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getFacetedMinMaxValues = t.options.getFacetedMinMaxValues && t.options.getFacetedMinMaxValues(t, e.id), e.getFacetedMinMaxValues = () => {+ if (e._getFacetedMinMaxValues) return e._getFacetedMinMaxValues();+ };+} }, PS = (e, t, n) => {+ var r, i;+ let a = n == null || (r = n.toString()) == null ? void 0 : r.toLowerCase();+ return !!((i = e.getValue(t)) != null && (i = i.toString()) != null && (i = i.toLowerCase()) != null && i.includes(a));+};+PS.autoRemove = (e) => WS(e);+var FS = (e, t, n) => {+ var r;+ return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));+};+FS.autoRemove = (e) => WS(e);+var IS = (e, t, n) => {+ var r;+ return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();+};+IS.autoRemove = (e) => WS(e);+var LS = (e, t, n) => e.getValue(t)?.includes(n);+LS.autoRemove = (e) => WS(e);+var RS = (e, t, n) => !n.some((n) => {+ var r;+ return !((r = e.getValue(t)) != null && r.includes(n));+});+RS.autoRemove = (e) => WS(e) || !(e != null && e.length);+var zS = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));+zS.autoRemove = (e) => WS(e) || !(e != null && e.length);+var BS = (e, t, n) => e.getValue(t) === n;+BS.autoRemove = (e) => WS(e);+var VS = (e, t, n) => e.getValue(t) == n;+VS.autoRemove = (e) => WS(e);+var HS = (e, t, n) => {+ let [r, i] = n, a = e.getValue(t);+ return a >= r && a <= i;+};+HS.resolveFilterValue = (e) => {+ let [t, n] = e, r = typeof t == "number" ? t : parseFloat(t), i = typeof n == "number" ? n : parseFloat(n), a = t === null || Number.isNaN(r) ? -Infinity : r, o = n === null || Number.isNaN(i) ? Infinity : i;+ if (a > o) {+ let e = a;+ a = o, o = e;+ }+ return [a, o];+}, HS.autoRemove = (e) => WS(e) || WS(e[0]) && WS(e[1]);+var US = {+ includesString: PS,+ includesStringSensitive: FS,+ equalsString: IS,+ arrIncludes: LS,+ arrIncludesAll: RS,+ arrIncludesSome: zS,+ equals: BS,+ weakEquals: VS,+ inNumberRange: HS+};+function WS(e) {+ return e == null || e === "";+}+var GS = {+ getDefaultColumnDef: () => ({ filterFn: "auto" }),+ getInitialState: (e) => ({+ columnFilters: [],+ ...e+ }),+ getDefaultOptions: (e) => ({+ onColumnFiltersChange: SS("columnFilters", e),+ filterFromLeafRows: !1,+ maxLeafRowFilterDepth: 100+ }),+ createColumn: (e, t) => {+ e.getAutoFilterFn = () => {+ let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);+ return typeof n == "string" ? US.includesString : typeof n == "number" ? US.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? US.equals : Array.isArray(n) ? US.arrIncludes : US.weakEquals;+ }, e.getFilterFn = () => CS(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? US[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {+ var n;+ return (n = t.getState().columnFilters) == null || (n = n.find((t) => t.id === e.id)) == null ? void 0 : n.value;+ }, e.getFilterIndex = () => t.getState().columnFilters?.findIndex((t) => t.id === e.id) ?? -1, e.setFilterValue = (n) => {+ t.setColumnFilters((t) => {+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = xS(n, i ? i.value : void 0);+ if (KS(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];+ let o = {+ id: e.id,+ value: a+ };+ return i ? t?.map((t) => t.id === e.id ? o : t) ?? [] : t != null && t.length ? [...t, o] : [o];+ });+ };+ },+ createRow: (e, t) => {+ e.columnFilters = {}, e.columnFiltersMeta = {};+ },+ createTable: (e) => {+ e.setColumnFilters = (t) => {+ let n = e.getAllLeafColumns();+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => xS(t, e)?.filter((e) => {+ let t = n.find((t) => t.id === e.id);+ return !(t && KS(t.getFilterFn(), e.value, t));+ }));+ }, e.resetColumnFilters = (t) => {+ e.setColumnFilters(t ? [] : e.initialState?.columnFilters ?? []);+ }, e.getPreFilteredRowModel = () => e.getCoreRowModel(), e.getFilteredRowModel = () => (!e._getFilteredRowModel && e.options.getFilteredRowModel && (e._getFilteredRowModel = e.options.getFilteredRowModel(e)), e.options.manualFiltering || !e._getFilteredRowModel ? e.getPreFilteredRowModel() : e._getFilteredRowModel());+ }+};+function KS(e, t, n) {+ return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;+}+var qS = {+ sum: (e, t, n) => n.reduce((t, n) => {+ let r = n.getValue(e);+ return t + (typeof r == "number" ? r : 0);+ }, 0),+ min: (e, t, n) => {+ let r;+ return n.forEach((t) => {+ let n = t.getValue(e);+ n != null && (r > n || r === void 0 && n >= n) && (r = n);+ }), r;+ },+ max: (e, t, n) => {+ let r;+ return n.forEach((t) => {+ let n = t.getValue(e);+ n != null && (r < n || r === void 0 && n >= n) && (r = n);+ }), r;+ },+ extent: (e, t, n) => {+ let r, i;+ return n.forEach((t) => {+ let n = t.getValue(e);+ n != null && (r === void 0 ? n >= n && (r = i = n) : (r > n && (r = n), i < n && (i = n)));+ }), [r, i];+ },+ mean: (e, t) => {+ let n = 0, r = 0;+ if (t.forEach((t) => {+ let i = t.getValue(e);+ i != null && (i = +i) >= i && (++n, r += i);+ }), n) return r / n;+ },+ median: (e, t) => {+ if (!t.length) return;+ let n = t.map((t) => t.getValue(e));+ if (!wS(n)) return;+ if (n.length === 1) return n[0];+ let r = Math.floor(n.length / 2), i = n.sort((e, t) => e - t);+ return n.length % 2 == 0 ? (i[r - 1] + i[r]) / 2 : i[r];+ },+ unique: (e, t) => Array.from(new Set(t.map((t) => t.getValue(e))).values()),+ uniqueCount: (e, t) => new Set(t.map((t) => t.getValue(e))).size,+ count: (e, t) => t.length+}, JS = {+ getDefaultColumnDef: () => ({+ aggregatedCell: (e) => {+ var t;+ return ((t = e.getValue()) == null || t.toString == null ? void 0 : t.toString()) ?? null;+ },+ aggregationFn: "auto"+ }),+ getInitialState: (e) => ({+ grouping: [],+ ...e+ }),+ getDefaultOptions: (e) => ({+ onGroupingChange: SS("grouping", e),+ groupedColumnMode: "reorder"+ }),+ createColumn: (e, t) => {+ e.toggleGrouping = () => {+ t.setGrouping((t) => t != null && t.includes(e.id) ? t.filter((t) => t !== e.id) : [...t ?? [], e.id]);+ }, e.getCanGroup = () => (e.columnDef.enableGrouping ?? !0) && (t.options.enableGrouping ?? !0) && (!!e.accessorFn || !!e.columnDef.getGroupingValue), e.getIsGrouped = () => t.getState().grouping?.includes(e.id), e.getGroupedIndex = () => t.getState().grouping?.indexOf(e.id), e.getToggleGroupingHandler = () => {+ let t = e.getCanGroup();+ return () => {+ t && e.toggleGrouping();+ };+ }, e.getAutoAggregationFn = () => {+ let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);+ if (typeof n == "number") return qS.sum;+ if (Object.prototype.toString.call(n) === "[object Date]") return qS.extent;+ }, e.getAggregationFn = () => {+ if (!e) throw Error();+ return CS(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? qS[e.columnDef.aggregationFn];+ };+ },+ createTable: (e) => {+ e.setGrouping = (t) => e.options.onGroupingChange == null ? void 0 : e.options.onGroupingChange(t), e.resetGrouping = (t) => {+ e.setGrouping(t ? [] : e.initialState?.grouping ?? []);+ }, e.getPreGroupedRowModel = () => e.getFilteredRowModel(), e.getGroupedRowModel = () => (!e._getGroupedRowModel && e.options.getGroupedRowModel && (e._getGroupedRowModel = e.options.getGroupedRowModel(e)), e.options.manualGrouping || !e._getGroupedRowModel ? e.getPreGroupedRowModel() : e._getGroupedRowModel());+ },+ createRow: (e, t) => {+ e.getIsGrouped = () => !!e.groupingColumnId, e.getGroupingValue = (n) => {+ if (e._groupingValuesCache.hasOwnProperty(n)) return e._groupingValuesCache[n];+ let r = t.getColumn(n);+ return r != null && r.columnDef.getGroupingValue ? (e._groupingValuesCache[n] = r.columnDef.getGroupingValue(e.original), e._groupingValuesCache[n]) : e.getValue(n);+ }, e._groupingValuesCache = {};+ },+ createCell: (e, t, n, r) => {+ e.getIsGrouped = () => t.getIsGrouped() && t.id === n.groupingColumnId, e.getIsPlaceholder = () => !e.getIsGrouped() && t.getIsGrouped(), e.getIsAggregated = () => {+ var t;+ return !e.getIsGrouped() && !e.getIsPlaceholder() && !!((t = n.subRows) != null && t.length);+ };+ }+};+function YS(e, t, n) {+ if (!(t != null && t.length) || !n) return e;+ let r = e.filter((e) => !t.includes(e.id));+ return n === "remove" ? r : [...t.map((t) => e.find((e) => e.id === t)).filter(Boolean), ...r];+}+var XS = {+ getInitialState: (e) => ({+ columnOrder: [],+ ...e+ }),+ getDefaultOptions: (e) => ({ onColumnOrderChange: SS("columnOrder", e) }),+ createColumn: (e, t) => {+ e.getIndex = Q((e) => [sC(t, e)], (t) => t.findIndex((t) => t.id === e.id), $(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => sC(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {+ let r = sC(t, n);+ return r[r.length - 1]?.id === e.id;+ };},- icon: {- medium: "size-5 shrink-0",- small: "size-4 shrink-0"+ createTable: (e) => {+ e.setColumnOrder = (t) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(t), e.resetColumnOrder = (t) => {+ e.setColumnOrder(t ? [] : e.initialState.columnOrder ?? []);+ }, e._getOrderColumnsFn = Q(() => [+ e.getState().columnOrder,+ e.getState().grouping,+ e.options.groupedColumnMode+ ], (e, t, n) => (r) => {+ let i = [];+ if (!(e != null && e.length)) i = r;+ else {+ let t = [...e], n = [...r];+ for (; n.length && t.length;) {+ let e = t.shift(), r = n.findIndex((t) => t.id === e);+ r > -1 && i.push(n.splice(r, 1)[0]);+ }+ i = [...i, ...n];+ }+ return YS(i, t, n);+ }, $(e.options, "debugTable", "_getOrderColumnsFn"));+ }+}, ZS = () => ({+ left: [],+ right: []+}), QS = {+ getInitialState: (e) => ({+ columnPinning: ZS(),+ ...e+ }),+ getDefaultOptions: (e) => ({ onColumnPinningChange: SS("columnPinning", e) }),+ createColumn: (e, t) => {+ e.pin = (n) => {+ let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);+ t.setColumnPinning((e) => n === "right" ? {+ left: (e?.left ?? []).filter((e) => !(r != null && r.includes(e))),+ right: [...(e?.right ?? []).filter((e) => !(r != null && r.includes(e))), ...r]+ } : n === "left" ? {+ left: [...(e?.left ?? []).filter((e) => !(r != null && r.includes(e))), ...r],+ right: (e?.right ?? []).filter((e) => !(r != null && r.includes(e)))+ } : {+ left: (e?.left ?? []).filter((e) => !(r != null && r.includes(e))),+ right: (e?.right ?? []).filter((e) => !(r != null && r.includes(e)))+ });+ }, e.getCanPin = () => e.getLeafColumns().some((e) => (e.columnDef.enablePinning ?? !0) && (t.options.enableColumnPinning ?? t.options.enablePinning ?? !0)), e.getIsPinned = () => {+ let n = e.getLeafColumns().map((e) => e.id), { left: r, right: i } = t.getState().columnPinning, a = n.some((e) => r?.includes(e)), o = n.some((e) => i?.includes(e));+ return a ? "left" : o ? "right" : !1;+ }, e.getPinnedIndex = () => {+ var n;+ let r = e.getIsPinned();+ return r ? ((n = t.getState().columnPinning) == null || (n = n[r]) == null ? void 0 : n.indexOf(e.id)) ?? -1 : 0;+ };+ },+ createRow: (e, t) => {+ e.getCenterVisibleCells = Q(() => [+ e._getAllVisibleCells(),+ t.getState().columnPinning.left,+ t.getState().columnPinning.right+ ], (e, t, n) => {+ let r = [...t ?? [], ...n ?? []];+ return e.filter((e) => !r.includes(e.column.id));+ }, $(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = Q(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({+ ...e,+ position: "left"+ })), $(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = Q(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({+ ...e,+ position: "right"+ })), $(t.options, "debugRows", "getRightVisibleCells"));+ },+ createTable: (e) => {+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? ZS() : e.initialState?.columnPinning ?? ZS()), e.getIsSomeColumnsPinned = (t) => {+ let n = e.getState().columnPinning;+ return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);+ }, e.getLeftLeafColumns = Q(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), $(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = Q(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), $(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = Q(() => [+ e.getAllLeafColumns(),+ e.getState().columnPinning.left,+ e.getState().columnPinning.right+ ], (e, t, n) => {+ let r = [...t ?? [], ...n ?? []];+ return e.filter((e) => !r.includes(e.id));+ }, $(e.options, "debugColumns", "getCenterLeafColumns"));}-});-function bg({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {- return /* @__PURE__ */ (0, S.jsx)("button", {- ref: i,- type: r,- className: Z(yg.base, yg.size[t], n),- ...a,- children: /* @__PURE__ */ (0, S.jsx)(e, {- className: yg.icon[t],- "aria-hidden": !0- })- });-}-//#endregion-//#region src/react/boardui/components/base/input/label.tsx-function xg({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, S.jsxs)(wp, {- "data-label": "true",- ...a,- className: Z("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),- children: [- i,- e && /* @__PURE__ */ (0, S.jsx)("span", {- "aria-hidden": "true",- className: "text-body-medium text-text-error-primary",- children: "*"- }),- n && /* @__PURE__ */ (0, S.jsx)(Iu, {- className: "size-4 shrink-0 text-foreground-icon-quaternary",- "aria-hidden": !0- })- ]- });-}-//#endregion-//#region src/react/boardui/components/base/input/hint-text.tsx-function Sg({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, S.jsx)(Np, {- slot: e ? "errorMessage" : "description",- ...n,- className: Z("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)- });+};+function $S(e) {+ return e || (typeof document < "u" ? document : null);+}+var eC = {+ size: 150,+ minSize: 20,+ maxSize: 2 ** 53 - 1+}, tC = () => ({+ startOffset: null,+ startSize: null,+ deltaOffset: null,+ deltaPercentage: null,+ isResizingColumn: !1,+ columnSizingStart: []+}), nC = {+ getDefaultColumnDef: () => eC,+ getInitialState: (e) => ({+ columnSizing: {},+ columnSizingInfo: tC(),+ ...e+ }),+ getDefaultOptions: (e) => ({+ columnResizeMode: "onEnd",+ columnResizeDirection: "ltr",+ onColumnSizingChange: SS("columnSizing", e),+ onColumnSizingInfoChange: SS("columnSizingInfo", e)+ }),+ createColumn: (e, t) => {+ e.getSize = () => {+ let n = t.getState().columnSizing[e.id];+ return Math.min(Math.max(e.columnDef.minSize ?? eC.minSize, n ?? e.columnDef.size ?? eC.size), e.columnDef.maxSize ?? eC.maxSize);+ }, e.getStart = Q((e) => [+ e,+ sC(t, e),+ t.getState().columnSizing+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), $(t.options, "debugColumns", "getStart")), e.getAfter = Q((e) => [+ e,+ sC(t, e),+ t.getState().columnSizing+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), $(t.options, "debugColumns", "getAfter")), e.resetSize = () => {+ t.setColumnSizing((t) => {+ let { [e.id]: n, ...r } = t;+ return r;+ });+ }, e.getCanResize = () => (e.columnDef.enableResizing ?? !0) && (t.options.enableColumnResizing ?? !0), e.getIsResizing = () => t.getState().columnSizingInfo.isResizingColumn === e.id;+ },+ createHeader: (e, t) => {+ e.getSize = () => {+ let t = 0, n = (e) => {+ e.subHeaders.length ? e.subHeaders.forEach(n) : t += e.column.getSize() ?? 0;+ };+ return n(e), t;+ }, e.getStart = () => {+ if (e.index > 0) {+ let t = e.headerGroup.headers[e.index - 1];+ return t.getStart() + t.getSize();+ }+ return 0;+ }, e.getResizeHandler = (n) => {+ let r = t.getColumn(e.column.id), i = r?.getCanResize();+ return (a) => {+ if (!r || !i || (a.persist == null || a.persist(), aC(a) && a.touches && a.touches.length > 1)) return;+ let o = e.getSize(), s = e ? e.getLeafHeaders().map((e) => [e.column.id, e.column.getSize()]) : [[r.id, r.getSize()]], c = aC(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {+ typeof n == "number" && (t.setColumnSizingInfo((e) => {+ let r = t.options.columnResizeDirection === "rtl" ? -1 : 1, i = (n - (e?.startOffset ?? 0)) * r, a = Math.max(i / (e?.startSize ?? 0), -.999999);+ return e.columnSizingStart.forEach((e) => {+ let [t, n] = e;+ l[t] = Math.round(Math.max(n + n * a, 0) * 100) / 100;+ }), {+ ...e,+ deltaOffset: i,+ deltaPercentage: a+ };+ }), (t.options.columnResizeMode === "onChange" || e === "end") && t.setColumnSizing((e) => ({+ ...e,+ ...l+ })));+ }, d = (e) => u("move", e), f = (e) => {+ u("end", e), t.setColumnSizingInfo((e) => ({+ ...e,+ isResizingColumn: !1,+ startOffset: null,+ startSize: null,+ deltaOffset: null,+ deltaPercentage: null,+ columnSizingStart: []+ }));+ }, p = $S(n), m = {+ moveHandler: (e) => d(e.clientX),+ upHandler: (e) => {+ p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);+ }+ }, h = {+ moveHandler: (e) => (e.cancelable && (e.preventDefault(), e.stopPropagation()), d(e.touches[0].clientX), !1),+ upHandler: (e) => {+ p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);+ }+ }, g = iC() ? { passive: !1 } : !1;+ aC(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({+ ...e,+ startOffset: c,+ startSize: o,+ deltaOffset: 0,+ deltaPercentage: 0,+ columnSizingStart: s,+ isResizingColumn: r.id+ }));+ };+ };+ },+ createTable: (e) => {+ e.setColumnSizing = (t) => e.options.onColumnSizingChange == null ? void 0 : e.options.onColumnSizingChange(t), e.setColumnSizingInfo = (t) => e.options.onColumnSizingInfoChange == null ? void 0 : e.options.onColumnSizingInfoChange(t), e.resetColumnSizing = (t) => {+ e.setColumnSizing(t ? {} : e.initialState.columnSizing ?? {});+ }, e.resetHeaderSizeInfo = (t) => {+ e.setColumnSizingInfo(t ? tC() : e.initialState.columnSizingInfo ?? tC());+ }, e.getTotalSize = () => e.getHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getLeftTotalSize = () => e.getLeftHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getCenterTotalSize = () => e.getCenterHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0, e.getRightTotalSize = () => e.getRightHeaderGroups()[0]?.headers.reduce((e, t) => e + t.getSize(), 0) ?? 0;+ }+}, rC = null;+function iC() {+ if (typeof rC == "boolean") return rC;+ let e = !1;+ try {+ let t = { get passive() {+ return e = !0, !1;+ } }, n = () => {};+ window.addEventListener("test", n, t), window.removeEventListener("test", n);+ } catch {+ e = !1;+ }+ return rC = e, rC;}-//#endregion-//#region src/react/boardui/components/base/input/input.tsx-var Cg = (0, x.createContext)({});-function wg({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, S.jsx)(Cg.Provider, {- value: {- size: e,- fieldClassName: t,- inputClassName: n- },- children: /* @__PURE__ */ (0, S.jsx)(_g, {- ...a,- "data-input-size": e,- className: Z("group flex h-max w-full flex-col items-start gap-1", r),- children: i- })- });+function aC(e) {+ return e.type === "touchstart";}-wg.displayName = "TextField";-var Tg = wf({- field: [- "relative flex w-full items-center",- "rounded-2lg",- "bg-background-tertiary-default text-foreground-icon-tertiary",- "ring-2 ring-inset ring-transparent",- "transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease"- ].join(" "),- fieldSize: {- medium: "p-2",- small: "h-8 px-1.5 py-2"+var oC = {+ getInitialState: (e) => ({+ columnVisibility: {},+ ...e+ }),+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: SS("columnVisibility", e) }),+ createColumn: (e, t) => {+ e.toggleVisibility = (n) => {+ e.getCanHide() && t.setColumnVisibility((t) => ({+ ...t,+ [e.id]: n ?? !e.getIsVisible()+ }));+ }, e.getIsVisible = () => {+ let n = e.columns;+ return (n.length ? n.some((e) => e.getIsVisible()) : t.getState().columnVisibility?.[e.id]) ?? !0;+ }, e.getCanHide = () => (e.columnDef.enableHiding ?? !0) && (t.options.enableHiding ?? !0), e.getToggleVisibilityHandler = () => (t) => {+ e.toggleVisibility == null || e.toggleVisibility(t.target.checked);+ };},- fieldWithAddonSize: {- medium: "h-9 pl-1 pr-2 py-2",- small: "h-8 pl-1 pr-1.5 py-2"+ createRow: (e, t) => {+ e._getAllVisibleCells = Q(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), $(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = Q(() => [+ e.getLeftVisibleCells(),+ e.getCenterVisibleCells(),+ e.getRightVisibleCells()+ ], (e, t, n) => [+ ...e,+ ...t,+ ...n+ ], $(t.options, "debugRows", "getVisibleCells"));},- content: "flex w-full items-center gap-2 min-w-0",- leftSection: "flex flex-1 items-center gap-0.5 min-w-0",- input: [- "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0",- "font-sans text-body-regular text-text-primary pl-1",- "placeholder:text-text-tertiary",- "focus:placeholder:text-text-primary",- "disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text",- "disabled:cursor-not-allowed",- "aria-invalid:placeholder:text-text-error-placeholder"- ].join(" "),- icon: "size-5 shrink-0"-});-function Eg({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, x.useContext)(Cg), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, S.jsx)(Up, {- ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => Z(Tg.field, d ? Tg.fieldWithAddonSize[u] : Tg.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, S.jsxs)("div", {- className: Tg.content,- children: [/* @__PURE__ */ (0, S.jsxs)("div", {- className: Tg.leftSection,- children: [d ? r : t ? /* @__PURE__ */ (0, S.jsx)(t, {- className: Tg.icon,- "aria-hidden": !0- }) : null, /* @__PURE__ */ (0, S.jsx)(Kp, {- ref: o,- ...c,- className: Z(Tg.input, l.inputClassName, a)- })]- }), n ? /* @__PURE__ */ (0, S.jsx)(n, {- className: Tg.icon,- "aria-hidden": !0- }) : null]- })- });-}-Eg.displayName = "InputBase";-function Dg({ 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, S.jsx)(wg, {- ...d,- className: u,- "aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),- children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [- e && /* @__PURE__ */ (0, S.jsx)(xg, {- isRequired: u,- isInvalid: d,- tooltip: n,- children: e- }),- /* @__PURE__ */ (0, S.jsx)(Eg, {- ref: c,- groupRef: l,- placeholder: r,- leadingIcon: i,- trailingIcon: a,- leadingAddon: o,- fieldClassName: s- }),- t && /* @__PURE__ */ (0, S.jsx)(Sg, {- isInvalid: d,- children: t- })- ] })- });+ createTable: (e) => {+ let t = (t, n) => Q(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), $(e.options, "debugColumns", t));+ e.getVisibleFlatColumns = t("getVisibleFlatColumns", () => e.getAllFlatColumns()), e.getVisibleLeafColumns = t("getVisibleLeafColumns", () => e.getAllLeafColumns()), e.getLeftVisibleLeafColumns = t("getLeftVisibleLeafColumns", () => e.getLeftLeafColumns()), e.getRightVisibleLeafColumns = t("getRightVisibleLeafColumns", () => e.getRightLeafColumns()), e.getCenterVisibleLeafColumns = t("getCenterVisibleLeafColumns", () => e.getCenterLeafColumns()), e.setColumnVisibility = (t) => e.options.onColumnVisibilityChange == null ? void 0 : e.options.onColumnVisibilityChange(t), e.resetColumnVisibility = (t) => {+ e.setColumnVisibility(t ? {} : e.initialState.columnVisibility ?? {});+ }, e.toggleAllColumnsVisible = (t) => {+ t ??= !e.getIsAllColumnsVisible(), e.setColumnVisibility(e.getAllLeafColumns().reduce((e, n) => ({+ ...e,+ [n.id]: t || !(n.getCanHide != null && n.getCanHide())+ }), {}));+ }, e.getIsAllColumnsVisible = () => !e.getAllLeafColumns().some((e) => !(e.getIsVisible != null && e.getIsVisible())), e.getIsSomeColumnsVisible = () => e.getAllLeafColumns().some((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), e.getToggleAllColumnsVisibilityHandler = () => (t) => {+ e.toggleAllColumnsVisible(t.target?.checked);+ };+ }+};+function sC(e, t) {+ return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();}-Dg.displayName = "Input";-//#endregion-//#region src/react/settings/use-action.ts-function Og(e = "") {- let t = (0, x.useRef)(null), [n, r] = (0, x.useState)(""), [i, a] = (0, x.useState)(e);- (0, x.useEffect)(() => () => t.current?.abort(), []);- async function o(e, n, i, o) {- if (t.current) return;- let s = new AbortController();- t.current = s, r(e), a("");- try {- let e = await n(s.signal);- s.signal.aborted || i(e);- } catch (e) {- if (s.signal.aborted) return;- o ? o(e) : a(kf(e));- } finally {- t.current === s && (t.current = null), s.signal.aborted || r("");- }+var cC = { createTable: (e) => {+ e._getGlobalFacetedRowModel = e.options.getFacetedRowModel && e.options.getFacetedRowModel(e, "__global__"), e.getGlobalFacetedRowModel = () => e.options.manualFiltering || !e._getGlobalFacetedRowModel ? e.getPreFilteredRowModel() : e._getGlobalFacetedRowModel(), e._getGlobalFacetedUniqueValues = e.options.getFacetedUniqueValues && e.options.getFacetedUniqueValues(e, "__global__"), e.getGlobalFacetedUniqueValues = () => e._getGlobalFacetedUniqueValues ? e._getGlobalFacetedUniqueValues() : /* @__PURE__ */ new Map(), e._getGlobalFacetedMinMaxValues = e.options.getFacetedMinMaxValues && e.options.getFacetedMinMaxValues(e, "__global__"), e.getGlobalFacetedMinMaxValues = () => {+ if (e._getGlobalFacetedMinMaxValues) return e._getGlobalFacetedMinMaxValues();+ };+} }, lC = {+ getInitialState: (e) => ({+ globalFilter: void 0,+ ...e+ }),+ getDefaultOptions: (e) => ({+ onGlobalFilterChange: SS("globalFilter", e),+ globalFilterFn: "auto",+ getColumnCanGlobalFilter: (t) => {+ var n;+ let r = (n = e.getCoreRowModel().flatRows[0]) == null || (n = n._getAllCellsByColumnId()[t.id]) == null ? void 0 : n.getValue();+ return typeof r == "string" || typeof r == "number";+ }+ }),+ createColumn: (e, t) => {+ e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;+ },+ createTable: (e) => {+ e.getGlobalAutoFilterFn = () => US.includesString, e.getGlobalFilterFn = () => {+ let { globalFilterFn: t } = e.options;+ return CS(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? US[t];+ }, e.setGlobalFilter = (t) => {+ e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);+ }, e.resetGlobalFilter = (t) => {+ e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);+ };+ }+}, uC = {+ getInitialState: (e) => ({+ expanded: {},+ ...e+ }),+ getDefaultOptions: (e) => ({+ onExpandedChange: SS("expanded", e),+ paginateExpandedRows: !0+ }),+ createTable: (e) => {+ let t = !1, n = !1;+ e._autoResetExpanded = () => {+ if (!t) {+ e._queue(() => {+ t = !0;+ });+ return;+ }+ if (e.options.autoResetAll ?? e.options.autoResetExpanded ?? !e.options.manualExpanding) {+ if (n) return;+ n = !0, e._queue(() => {+ e.resetExpanded(), n = !1;+ });+ }+ }, e.setExpanded = (t) => e.options.onExpandedChange == null ? void 0 : e.options.onExpandedChange(t), e.toggleAllRowsExpanded = (t) => {+ t ?? !e.getIsAllRowsExpanded() ? e.setExpanded(!0) : e.setExpanded({});+ }, e.resetExpanded = (t) => {+ e.setExpanded(t ? {} : e.initialState?.expanded ?? {});+ }, e.getCanSomeRowsExpand = () => e.getPrePaginationRowModel().flatRows.some((e) => e.getCanExpand()), e.getToggleAllRowsExpandedHandler = () => (t) => {+ t.persist == null || t.persist(), e.toggleAllRowsExpanded();+ }, e.getIsSomeRowsExpanded = () => {+ let t = e.getState().expanded;+ return t === !0 || Object.values(t).some(Boolean);+ }, e.getIsAllRowsExpanded = () => {+ let t = e.getState().expanded;+ return typeof t == "boolean" ? t === !0 : !(!Object.keys(t).length || e.getRowModel().flatRows.some((e) => !e.getIsExpanded()));+ }, e.getExpandedDepth = () => {+ let t = 0;+ return (e.getState().expanded === !0 ? Object.keys(e.getRowModel().rowsById) : Object.keys(e.getState().expanded)).forEach((e) => {+ let n = e.split(".");+ t = Math.max(t, n.length);+ }), t;+ }, e.getPreExpandedRowModel = () => e.getSortedRowModel(), e.getExpandedRowModel = () => (!e._getExpandedRowModel && e.options.getExpandedRowModel && (e._getExpandedRowModel = e.options.getExpandedRowModel(e)), e.options.manualExpanding || !e._getExpandedRowModel ? e.getPreExpandedRowModel() : e._getExpandedRowModel());+ },+ createRow: (e, t) => {+ e.toggleExpanded = (n) => {+ t.setExpanded((r) => {+ let i = r === !0 || !!(r != null && r[e.id]), a = {};+ if (r === !0 ? Object.keys(t.getRowModel().rowsById).forEach((e) => {+ a[e] = !0;+ }) : a = r, n ??= !i, !i && n) return {+ ...a,+ [e.id]: !0+ };+ if (i && !n) {+ let { [e.id]: t, ...n } = a;+ return n;+ }+ return r;+ });+ }, e.getIsExpanded = () => {+ let n = t.getState().expanded;+ return !!((t.options.getIsRowExpanded == null ? void 0 : t.options.getIsRowExpanded(e)) ?? (n === !0 || n?.[e.id]));+ }, e.getCanExpand = () => {+ var n;+ return (t.options.getRowCanExpand == null ? void 0 : t.options.getRowCanExpand(e)) ?? ((t.options.enableExpanding ?? !0) && !!((n = e.subRows) != null && n.length));+ }, e.getIsAllParentsExpanded = () => {+ let n = !0, r = e;+ for (; n && r.parentId;) r = t.getRow(r.parentId, !0), n = r.getIsExpanded();+ return n;+ }, e.getToggleExpandedHandler = () => {+ let t = e.getCanExpand();+ return () => {+ t && e.toggleExpanded();+ };+ };+ }+}, dC = 0, fC = 10, pC = () => ({+ pageIndex: dC,+ pageSize: fC+}), mC = {+ getInitialState: (e) => ({+ ...e,+ pagination: {+ ...pC(),+ ...e?.pagination+ }+ }),+ getDefaultOptions: (e) => ({ onPaginationChange: SS("pagination", e) }),+ createTable: (e) => {+ let t = !1, n = !1;+ e._autoResetPageIndex = () => {+ if (!t) {+ e._queue(() => {+ t = !0;+ });+ return;+ }+ if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {+ if (n) return;+ n = !0, e._queue(() => {+ e.resetPageIndex(), n = !1;+ });+ }+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => xS(t, e)), e.resetPagination = (t) => {+ e.setPagination(t ? pC() : e.initialState.pagination ?? pC());+ }, e.setPageIndex = (t) => {+ e.setPagination((n) => {+ let r = xS(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;+ return r = Math.max(0, Math.min(r, i)), {+ ...n,+ pageIndex: r+ };+ });+ }, e.resetPageIndex = (t) => {+ var n;+ e.setPageIndex(t ? dC : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? dC);+ }, e.resetPageSize = (t) => {+ var n;+ e.setPageSize(t ? fC : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? fC);+ }, e.setPageSize = (t) => {+ e.setPagination((e) => {+ let n = Math.max(1, xS(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);+ return {+ ...e,+ pageIndex: i,+ pageSize: n+ };+ });+ }, e.setPageCount = (t) => e.setPagination((n) => {+ let r = xS(t, e.options.pageCount ?? -1);+ return typeof r == "number" && (r = Math.max(-1, r)), {+ ...n,+ pageCount: r+ };+ }), e.getPageOptions = Q(() => [e.getPageCount()], (e) => {+ let t = [];+ return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;+ }, $(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {+ let { pageIndex: t } = e.getState().pagination, n = e.getPageCount();+ return n === -1 || n !== 0 && t < n - 1;+ }, e.previousPage = () => e.setPageIndex((e) => e - 1), e.nextPage = () => e.setPageIndex((e) => e + 1), e.firstPage = () => e.setPageIndex(0), e.lastPage = () => e.setPageIndex(e.getPageCount() - 1), e.getPrePaginationRowModel = () => e.getExpandedRowModel(), e.getPaginationRowModel = () => (!e._getPaginationRowModel && e.options.getPaginationRowModel && (e._getPaginationRowModel = e.options.getPaginationRowModel(e)), e.options.manualPagination || !e._getPaginationRowModel ? e.getPrePaginationRowModel() : e._getPaginationRowModel()), e.getPageCount = () => e.options.pageCount ?? Math.ceil(e.getRowCount() / e.getState().pagination.pageSize), e.getRowCount = () => e.options.rowCount ?? e.getPrePaginationRowModel().rows.length;+ }+}, hC = () => ({+ top: [],+ bottom: []+}), gC = {+ getInitialState: (e) => ({+ rowPinning: hC(),+ ...e+ }),+ getDefaultOptions: (e) => ({ onRowPinningChange: SS("rowPinning", e) }),+ createRow: (e, t) => {+ e.pin = (n, r, i) => {+ let a = r ? e.getLeafRows().map((e) => {+ let { id: t } = e;+ return t;+ }) : [], o = i ? e.getParentRows().map((e) => {+ let { id: t } = e;+ return t;+ }) : [], s = /* @__PURE__ */ new Set([+ ...o,+ e.id,+ ...a+ ]);+ t.setRowPinning((e) => n === "bottom" ? {+ top: (e?.top ?? []).filter((e) => !(s != null && s.has(e))),+ bottom: [...(e?.bottom ?? []).filter((e) => !(s != null && s.has(e))), ...Array.from(s)]+ } : n === "top" ? {+ top: [...(e?.top ?? []).filter((e) => !(s != null && s.has(e))), ...Array.from(s)],+ bottom: (e?.bottom ?? []).filter((e) => !(s != null && s.has(e)))+ } : {+ top: (e?.top ?? []).filter((e) => !(s != null && s.has(e))),+ bottom: (e?.bottom ?? []).filter((e) => !(s != null && s.has(e)))+ });+ }, e.getCanPin = () => {+ let { enableRowPinning: n, enablePinning: r } = t.options;+ return typeof n == "function" ? n(e) : n ?? r ?? !0;+ }, e.getIsPinned = () => {+ let n = [e.id], { top: r, bottom: i } = t.getState().rowPinning, a = n.some((e) => r?.includes(e)), o = n.some((e) => i?.includes(e));+ return a ? "top" : o ? "bottom" : !1;+ }, e.getPinnedIndex = () => {+ let n = e.getIsPinned();+ return n ? ((n === "top" ? t.getTopRows() : t.getBottomRows())?.map((e) => {+ let { id: t } = e;+ return t;+ }))?.indexOf(e.id) ?? -1 : -1;+ };+ },+ createTable: (e) => {+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? hC() : e.initialState?.rowPinning ?? hC()), e.getIsSomeRowsPinned = (t) => {+ let n = e.getState().rowPinning;+ return t ? !!n[t]?.length : !!(n.top?.length || n.bottom?.length);+ }, e._getPinnedRows = (t, n, r) => (e.options.keepPinnedRows ?? !0 ? (n ?? []).map((t) => {+ let n = e.getRow(t, !0);+ return n.getIsAllParentsExpanded() ? n : null;+ }) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({+ ...e,+ position: r+ })), e.getTopRows = Q(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), $(e.options, "debugRows", "getTopRows")), e.getBottomRows = Q(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), $(e.options, "debugRows", "getBottomRows")), e.getCenterRows = Q(() => [+ e.getRowModel().rows,+ e.getState().rowPinning.top,+ e.getState().rowPinning.bottom+ ], (e, t, n) => {+ let r = /* @__PURE__ */ new Set([...t ?? [], ...n ?? []]);+ return e.filter((e) => !r.has(e.id));+ }, $(e.options, "debugRows", "getCenterRows"));+ }+}, _C = {+ getInitialState: (e) => ({+ rowSelection: {},+ ...e+ }),+ getDefaultOptions: (e) => ({+ onRowSelectionChange: SS("rowSelection", e),+ enableRowSelection: !0,+ enableMultiRowSelection: !0,+ enableSubRowSelection: !0+ }),+ createTable: (e) => {+ e.setRowSelection = (t) => e.options.onRowSelectionChange == null ? void 0 : e.options.onRowSelectionChange(t), e.resetRowSelection = (t) => e.setRowSelection(t ? {} : e.initialState.rowSelection ?? {}), e.toggleAllRowsSelected = (t) => {+ e.setRowSelection((n) => {+ t = t === void 0 ? !e.getIsAllRowsSelected() : t;+ let r = { ...n }, i = e.getPreGroupedRowModel().flatRows;+ return t ? i.forEach((e) => {+ e.getCanSelect() && (r[e.id] = !0);+ }) : i.forEach((e) => {+ delete r[e.id];+ }), r;+ });+ }, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {+ let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };+ return e.getRowModel().rows.forEach((t) => {+ vC(i, t.id, r, !0, e);+ }), i;+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = Q(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? yC(e, n) : {+ rows: [],+ flatRows: [],+ rowsById: {}+ }, $(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = Q(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? yC(e, n) : {+ rows: [],+ flatRows: [],+ rowsById: {}+ }, $(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = Q(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? yC(e, n) : {+ rows: [],+ flatRows: [],+ rowsById: {}+ }, $(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {+ let t = e.getFilteredRowModel().flatRows, { rowSelection: n } = e.getState(), r = !!(t.length && Object.keys(n).length);+ return r && t.some((e) => e.getCanSelect() && !n[e.id]) && (r = !1), r;+ }, e.getIsAllPageRowsSelected = () => {+ let t = e.getPaginationRowModel().flatRows.filter((e) => e.getCanSelect()), { rowSelection: n } = e.getState(), r = !!t.length;+ return r && t.some((e) => !n[e.id]) && (r = !1), r;+ }, e.getIsSomeRowsSelected = () => {+ let t = Object.keys(e.getState().rowSelection ?? {}).length;+ return t > 0 && t < e.getFilteredRowModel().flatRows.length;+ }, e.getIsSomePageRowsSelected = () => {+ let t = e.getPaginationRowModel().flatRows;+ return !e.getIsAllPageRowsSelected() && t.filter((e) => e.getCanSelect()).some((e) => e.getIsSelected() || e.getIsSomeSelected());+ }, e.getToggleAllRowsSelectedHandler = () => (t) => {+ e.toggleAllRowsSelected(t.target.checked);+ }, e.getToggleAllPageRowsSelectedHandler = () => (t) => {+ e.toggleAllPageRowsSelected(t.target.checked);+ };+ },+ createRow: (e, t) => {+ e.toggleSelected = (n, r) => {+ let i = e.getIsSelected();+ t.setRowSelection((a) => {+ if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;+ let o = { ...a };+ return vC(o, e.id, n, r?.selectChildren ?? !0, t), o;+ });+ }, e.getIsSelected = () => {+ let { rowSelection: n } = t.getState();+ return bC(e, n);+ }, e.getIsSomeSelected = () => {+ let { rowSelection: n } = t.getState();+ return xC(e, n) === "some";+ }, e.getIsAllSubRowsSelected = () => {+ let { rowSelection: n } = t.getState();+ return xC(e, n) === "all";+ }, e.getCanSelect = () => typeof t.options.enableRowSelection == "function" ? t.options.enableRowSelection(e) : t.options.enableRowSelection ?? !0, e.getCanSelectSubRows = () => typeof t.options.enableSubRowSelection == "function" ? t.options.enableSubRowSelection(e) : t.options.enableSubRowSelection ?? !0, e.getCanMultiSelect = () => typeof t.options.enableMultiRowSelection == "function" ? t.options.enableMultiRowSelection(e) : t.options.enableMultiRowSelection ?? !0, e.getToggleSelectedHandler = () => {+ let t = e.getCanSelect();+ return (n) => {+ t && e.toggleSelected(n.target?.checked);+ };+ };}+}, vC = (e, t, n, r, i) => {+ var a;+ let o = i.getRow(t, !0);+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => vC(e, t.id, n, r, i));+};+function yC(e, t) {+ let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {+ return e.map((e) => {+ var t;+ let o = bC(e, n);+ if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {+ ...e,+ subRows: a(e.subRows)+ }), o) return e;+ }).filter(Boolean);+ };return {- run: o,- busy: n,- error: i,- setError: a+ rows: a(t.rows),+ flatRows: r,+ rowsById: i+ };+}+function bC(e, t) {+ return t[e.id] ?? !1;+}+function xC(e, t, n) {+ var r;+ if (!((r = e.subRows) != null && r.length)) return !1;+ let i = !0, a = !1;+ return e.subRows.forEach((e) => {+ if (!(a && !i) && (e.getCanSelect() && (bC(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {+ let n = xC(e, t);+ n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);+ }+ }), i ? "all" : a ? "some" : !1;+}+var SC = /([0-9]+)/gm, CC = (e, t, n) => jC(AC(e.getValue(n)).toLowerCase(), AC(t.getValue(n)).toLowerCase()), wC = (e, t, n) => jC(AC(e.getValue(n)), AC(t.getValue(n))), TC = (e, t, n) => kC(AC(e.getValue(n)).toLowerCase(), AC(t.getValue(n)).toLowerCase()), EC = (e, t, n) => kC(AC(e.getValue(n)), AC(t.getValue(n))), DC = (e, t, n) => {+ let r = e.getValue(n), i = t.getValue(n);+ return r > i ? 1 : r < i ? -1 : 0;+}, OC = (e, t, n) => kC(e.getValue(n), t.getValue(n));+function kC(e, t) {+ return e === t ? 0 : e > t ? 1 : -1;+}+function AC(e) {+ return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";+}+function jC(e, t) {+ let n = e.split(SC).filter(Boolean), r = t.split(SC).filter(Boolean);+ for (; n.length && r.length;) {+ let e = n.shift(), t = r.shift(), i = parseInt(e, 10), a = parseInt(t, 10), o = [i, a].sort();+ if (isNaN(o[0])) {+ if (e > t) return 1;+ if (t > e) return -1;+ continue;+ }+ if (isNaN(o[1])) return isNaN(i) ? -1 : 1;+ if (i > a) return 1;+ if (a > i) return -1;+ }+ return n.length - r.length;+}+var MC = {+ alphanumeric: CC,+ alphanumericCaseSensitive: wC,+ text: TC,+ textCaseSensitive: EC,+ datetime: DC,+ basic: OC+}, NC = [+ AS,+ oC,+ XS,+ QS,+ NS,+ GS,+ cC,+ lC,+ {+ getInitialState: (e) => ({+ sorting: [],+ ...e+ }),+ getDefaultColumnDef: () => ({+ sortingFn: "auto",+ sortUndefined: 1+ }),+ getDefaultOptions: (e) => ({+ onSortingChange: SS("sorting", e),+ isMultiSortEvent: (e) => e.shiftKey+ }),+ createColumn: (e, t) => {+ e.getAutoSortingFn = () => {+ let n = t.getFilteredRowModel().flatRows.slice(10), r = !1;+ for (let t of n) {+ let n = t?.getValue(e.id);+ if (Object.prototype.toString.call(n) === "[object Date]") return MC.datetime;+ if (typeof n == "string" && (r = !0, n.split(SC).length > 1)) return MC.alphanumeric;+ }+ return r ? MC.text : MC.basic;+ }, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {+ if (!e) throw Error();+ return CS(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? MC[e.columnDef.sortingFn];+ }, e.toggleSorting = (n, r) => {+ let i = e.getNextSortingOrder(), a = n != null;+ t.setSorting((o) => {+ let s = o?.find((t) => t.id === e.id), c = o?.findIndex((t) => t.id === e.id), l = [], u, d = a ? n : i === "desc";+ return u = o != null && o.length && e.getCanMultiSort() && r ? s ? "toggle" : "add" : o != null && o.length && c !== o.length - 1 ? "replace" : s ? "toggle" : "replace", u === "toggle" && (a || i || (u = "remove")), u === "add" ? (l = [...o, {+ id: e.id,+ desc: d+ }], l.splice(0, l.length - (t.options.maxMultiSortColCount ?? 2 ** 53 - 1))) : l = u === "toggle" ? o.map((t) => t.id === e.id ? {+ ...t,+ desc: d+ } : t) : u === "remove" ? o.filter((t) => t.id !== e.id) : [{+ id: e.id,+ desc: d+ }], l;+ });+ }, e.getFirstSortDir = () => e.columnDef.sortDescFirst ?? t.options.sortDescFirst ?? e.getAutoSortDir() === "desc" ? "desc" : "asc", e.getNextSortingOrder = (n) => {+ let r = e.getFirstSortDir(), i = e.getIsSorted();+ return i ? i !== r && (t.options.enableSortingRemoval ?? !0) && (!n || (t.options.enableMultiRemove ?? !0)) ? !1 : i === "desc" ? "asc" : "desc" : r;+ }, e.getCanSort = () => (e.columnDef.enableSorting ?? !0) && (t.options.enableSorting ?? !0) && !!e.accessorFn, e.getCanMultiSort = () => e.columnDef.enableMultiSort ?? t.options.enableMultiSort ?? !!e.accessorFn, e.getIsSorted = () => {+ let n = t.getState().sorting?.find((t) => t.id === e.id);+ return n ? n.desc ? "desc" : "asc" : !1;+ }, e.getSortIndex = () => t.getState().sorting?.findIndex((t) => t.id === e.id) ?? -1, e.clearSorting = () => {+ t.setSorting((t) => t != null && t.length ? t.filter((t) => t.id !== e.id) : []);+ }, e.getToggleSortingHandler = () => {+ let n = e.getCanSort();+ return (r) => {+ n && (r.persist == null || r.persist(), e.toggleSorting == null || e.toggleSorting(void 0, e.getCanMultiSort() ? t.options.isMultiSortEvent == null ? void 0 : t.options.isMultiSortEvent(r) : !1));+ };+ };+ },+ createTable: (e) => {+ e.setSorting = (t) => e.options.onSortingChange == null ? void 0 : e.options.onSortingChange(t), e.resetSorting = (t) => {+ e.setSorting(t ? [] : e.initialState?.sorting ?? []);+ }, e.getPreSortedRowModel = () => e.getGroupedRowModel(), e.getSortedRowModel = () => (!e._getSortedRowModel && e.options.getSortedRowModel && (e._getSortedRowModel = e.options.getSortedRowModel(e)), e.options.manualSorting || !e._getSortedRowModel ? e.getPreSortedRowModel() : e._getSortedRowModel());+ }+ },+ JS,+ uC,+ mC,+ gC,+ _C,+ nC+];+function PC(e) {+ let t = [...NC, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {+ ...r,+ ...e+ }, a = { ...e.initialState ?? {} };+ n._features.forEach((e) => {+ a = (e.getInitialState == null ? void 0 : e.getInitialState(a)) ?? a;+ });+ let o = [], s = !1, c = {+ _features: t,+ options: {+ ...r,+ ...e+ },+ initialState: a,+ _queue: (e) => {+ o.push(e), s || (s = !0, Promise.resolve().then(() => {+ for (; o.length;) o.shift()();+ s = !1;+ }).catch((e) => setTimeout(() => {+ throw e;+ })));+ },+ reset: () => {+ n.setState(n.initialState);+ },+ setOptions: (e) => {+ let t = xS(e, n.options);+ n.options = i(t);+ },+ getState: () => n.options.state,+ setState: (e) => {+ n.options.onStateChange == null || n.options.onStateChange(e);+ },+ _getRowId: (e, t, r) => (n.options.getRowId == null ? void 0 : n.options.getRowId(e, t, r)) ?? `${r ? [r.id, t].join(".") : t}`,+ getCoreRowModel: () => (n._getCoreRowModel ||= n.options.getCoreRowModel(n), n._getCoreRowModel()),+ getRowModel: () => n.getPaginationRowModel(),+ getRow: (e, t) => {+ let r = (t ? n.getPrePaginationRowModel() : n.getRowModel()).rowsById[e];+ if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();+ return r;+ },+ _getDefaultColumnDef: Q(() => [n.options.defaultColumn], (e) => (e ??= {}, {+ header: (e) => {+ let t = e.header.column.columnDef;+ return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;+ },+ cell: (e) => {+ var t;+ return ((t = e.renderValue()) == null || t.toString == null ? void 0 : t.toString()) ?? null;+ },+ ...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),+ ...e+ }), $(e, "debugColumns", "_getDefaultColumnDef")),+ _getColumnDefs: () => n.options.columns,+ getAllColumns: Q(() => [n._getColumnDefs()], (e) => {+ let t = function(e, r, i) {+ return i === void 0 && (i = 0), e.map((e) => {+ let a = DS(n, e, i, r), o = e;+ return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;+ });+ };+ return t(e);+ }, $(e, "debugColumns", "getAllColumns")),+ getAllFlatColumns: Q(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), $(e, "debugColumns", "getAllFlatColumns")),+ _getAllFlatColumnsById: Q(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), $(e, "debugColumns", "getAllFlatColumnsById")),+ getAllLeafColumns: Q(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), $(e, "debugColumns", "getAllLeafColumns")),+ getColumn: (e) => n._getAllFlatColumnsById()[e]};-}-function kg(e) {- return e ? {- "aria-busy": !0,- "aria-disabled": !0- } : {};-}-//#endregion-//#region src/react/avatar-picker/avatar-picker.ts-var Ag = "/api/avatar-choices", jg = "/api/avatar-pick", Mg = "/avatar-choice", Ng = (e, t) => [- "avatar-choices",- e,- t-], Pg = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, Fg = (e, t, n) => `${Mg}${Pg(e, t)}&ref=${encodeURIComponent(n)}`, Ig = (e, t, n) => Af(Ag + Pg(e, t), n);-async function Lg(e, t, n) {- if (!("file" in n)) {- await jf(jg, {- kind: e,- id: t,- ...n- });- return;+ Object.assign(n, c);+ for (let e = 0; e < n._features.length; e++) {+ let t = n._features[e];+ t == null || t.createTable == null || t.createTable(n);}- let r = n.file, i = await fetch(`${jg}${Pg(e, t)}&name=${encodeURIComponent(r.name)}`, {- method: "POST",- credentials: "same-origin",- body: r- });- if (i.ok) return;- let a = await i.json().catch(() => null);- throw new Df(a?.error || `请求失败(${i.status})`, i.status, a);+ return n;}-function Rg(e, t) {- if (!t) return "正在找可用的图…";- let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;+function FC() {+ return (e) => Q(() => [e.options.data], (t) => {+ let n = {+ rows: [],+ flatRows: [],+ rowsById: {}+ }, r = function(t, i, a) {+ i === void 0 && (i = 0);+ let o = [];+ for (let c = 0; c < t.length; c++) {+ let l = MS(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);+ if (n.flatRows.push(l), n.rowsById[l.id] = l, o.push(l), e.options.getSubRows) {+ var s;+ l.originalSubRows = e.options.getSubRows(t[c], c), (s = l.originalSubRows) != null && s.length && (l.subRows = r(l.originalSubRows, i + 1, l));+ }+ }+ return o;+ };+ return n.rows = r(t), n;+ }, $(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));}-var zg = (e) => !!e && e.index_stale && !e.choices.some((e) => e.source === "gfriends"), Bg = {- gfriends: "图库",- history: "用过的"-}, Vg = (e) => `${Bg[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "");-//#endregion-//#region src/react/avatar-picker/avatar-picker-page.tsx-function Hg({ kind: e, entityId: t, name: n, onPicked: r }) {- let [i, a] = (0, x.useState)(!1);- return /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)("span", {- className: "absolute right-1 bottom-1",- children: /* @__PURE__ */ (0, S.jsx)(bg, {- icon: Su,- size: "small",- "aria-haspopup": "dialog",- "aria-label": `更换${n}的头像`,- onClick: () => a(!0)- })- }), /* @__PURE__ */ (0, S.jsx)(kh, {- isOpen: i,- onOpenChange: a,- isDismissable: !0,- className: "fixed inset-0 z-50 flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, S.jsx)(Dh, {- className: "flex max-h-full w-full max-w-avatar-picker flex-col overflow-hidden rounded-2xl border border-separator-border bg-background-primary-default shadow-dropdown",- children: /* @__PURE__ */ (0, S.jsx)(xh, {- "aria-label": "更换头像",- className: "flex min-h-0 flex-col outline-none",- children: /* @__PURE__ */ (0, S.jsx)(Ug, {- kind: e,- entityId: t,- name: n,- onPicked: r,- close: () => a(!1)- })- })- })- })] });+function IC(e) {+ let t = [], n = (e) => {+ var r;+ t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);+ };+ return e.rows.forEach(n), {+ rows: t,+ flatRows: e.flatRows,+ rowsById: e.rowsById+ };}-function Ug({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, x.useRef)(null), [o, s] = (0, x.useState)(""), [c, l] = (0, x.useState)(""), u = Ng(e, t), d = (0, x.useRef)(!1), f = ut({- queryKey: u,- queryFn: ({ signal: n }) => Ig(e, t, n),- retryOnMount: !0- });- (0, x.useEffect)(() => () => {- d.current && Lf.removeQueries({ queryKey: Ng(e, t) });- }, [e, t]);- let p = dt({- mutationFn: (n) => Lg(e, t, n),- onSuccess: () => {- d.current = !0, i(), r();- }- });- function m(e) {- let t = e.currentTarget, n = t.files?.[0];- t.value = "", l(""), n && p.mutate({ file: n });- }- let h = f.data, g = h?.choices ?? [], _ = c || (p.error ? kf(p.error) : "") || (f.error ? kf(f.error) : "");- return /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [- /* @__PURE__ */ (0, S.jsxs)("div", {- className: "flex shrink-0 items-start gap-4 p-5",- children: [- /* @__PURE__ */ (0, S.jsx)("span", {- "aria-hidden": !0,- className: "flex size-14 shrink-0 items-center justify-center rounded-2xl border border-separator-border bg-background-secondary-default text-foreground-icon-secondary",- children: /* @__PURE__ */ (0, S.jsx)(Uu, { className: "size-6" })- }),- /* @__PURE__ */ (0, S.jsxs)("div", {- className: "flex min-w-0 flex-1 flex-col gap-2",- children: [- /* @__PURE__ */ (0, S.jsxs)("div", {- className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, S.jsx)(jp, {- slot: "title",- className: "text-title-3-semibold text-text-primary",- children: "更换头像"- }), g.length ? /* @__PURE__ */ (0, S.jsxs)(Ef, {- color: "soft",- children: [g.length, " 张可选"]- }) : null]- }),- /* @__PURE__ */ (0, S.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: Rg(n, h)- }),- zg(h) ? /* @__PURE__ */ (0, S.jsx)(Pf, {- tone: "neutral",- children: "图库索引还没取过,只能从用过的图里选。"- }) : null,- _ ? /* @__PURE__ */ (0, S.jsx)(Pf, {- tone: "error",- children: _- }) : null- ]- }),- /* @__PURE__ */ (0, S.jsx)(bg, {- icon: Eu,- size: "small",- "aria-label": "关闭",- onClick: i- })- ]- }),- /* @__PURE__ */ (0, S.jsx)("div", {- className: "flex min-h-0 flex-1 flex-col overflow-y-auto border-t border-separator-border px-5 pt-4",- children: /* @__PURE__ */ (0, S.jsx)("div", {- role: "listbox",- "aria-label": "候选头像",- className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",- children: g.map((n) => /* @__PURE__ */ (0, S.jsxs)("button", {- type: "button",- role: "option",- "data-avatar-choice": !0,- "aria-selected": n.current,- title: Vg(n),- ...kg(p.isPending),- onClick: () => {- p.isPending || p.mutate({ ref: n.ref });- },- className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",- children: [- /* @__PURE__ */ (0, S.jsx)("img", {- loading: "lazy",- alt: "",- src: Fg(e, t, n.ref),- className: "block w-full aspect-avatar-choice object-cover"- }),- /* @__PURE__ */ (0, S.jsx)("span", {- className: "truncate px-1",- children: n.label- }),- n.current ? /* @__PURE__ */ (0, S.jsx)("span", {- className: "absolute top-1 left-1",- children: /* @__PURE__ */ (0, S.jsx)(Ef, {- variant: "caption",- color: "blue",- children: "在用"- })- }) : null- ]- }, n.ref))- })- }),- /* @__PURE__ */ (0, S.jsxs)("div", {- className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [- /* @__PURE__ */ (0, S.jsx)($, {- variant: "secondary",- onClick: () => a.current?.click(),- ...kg(p.isPending),- children: "从本机选图片"- }),- /* @__PURE__ */ (0, S.jsx)("input", {- ref: a,- type: "file",- accept: "image/png,image/jpeg",- tabIndex: -1,- "aria-hidden": !0,- className: "hidden",- onChange: m- }),- /* @__PURE__ */ (0, S.jsxs)("div", {- className: "flex min-w-0 flex-1 items-center gap-2",- children: [/* @__PURE__ */ (0, S.jsx)("div", {- className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, S.jsx)(Dg, {- type: "url",- "aria-label": "图片地址",- placeholder: "https://…",- value: o,- onChange: s- })- }), /* @__PURE__ */ (0, S.jsx)($, {- disabled: !o.trim(),- ...kg(p.isPending),- onClick: () => {- p.isPending || p.mutate({ url: o.trim() });- },- children: "用这个地址"- })]- })- ]- })- ] });+function LC(e) {+ return (e) => Q(() => [+ e.getState().pagination,+ e.getPrePaginationRowModel(),+ e.options.paginateExpandedRows ? void 0 : e.getState().expanded+ ], (t, n) => {+ if (!n.rows.length) return n;+ let { pageSize: r, pageIndex: i } = t, { rows: a, flatRows: o, rowsById: s } = n, c = r * i, l = c + r;+ a = a.slice(c, l);+ let u;+ u = e.options.paginateExpandedRows ? {+ rows: a,+ flatRows: o,+ rowsById: s+ } : IC({+ rows: a,+ flatRows: o,+ rowsById: s+ }), u.flatRows = [];+ let d = (e) => {+ u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);+ };+ return u.rows.forEach(d), u;+ }, $(e.options, "debugTable", "getPaginationRowModel"));}//#endregion-//#region src/react/library-processing/library-processing.ts-var Wg = "/api/library-processing", Gg = ["library-processing"], Kg = (e) => Af(Wg, e);-async function qg(e) {- await Lf.fetchQuery({- queryKey: Gg,- queryFn: () => Kg(e)- });-}-var Jg = 2e3, Yg = 1e4, Xg = "连接中断,正在重新读取处理进度";-function Zg(e, t) {- return e?.status === "running" ? Jg : t ? Yg : !1;+//#region node_modules/@tanstack/react-table/build/lib/index.mjs+function RC(e, t) {+ return e ? zC(e) ? /*#__PURE__*/ S.createElement(e, t) : e : null;}-var Qg = {- reading_local: "读取本地资料",- querying_metadata: "查询外部资料",- fetching_cover: "采集缺失封面",- writing_candidates: "保存资料候选"-}, $g = {- querying_metadata: "没有资料",- fetching_cover: "没有封面"-};-function e_(e) {- let t = Object.entries(e).filter(([e, t]) => $g[e] && t > 0).map(([e, t]) => `${$g[e]} ${t} 部`);- return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";+function zC(e) {+ return BC(e) || typeof e == "function" || VC(e);}-function t_(e) {- let t = Qg[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";- return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;+function BC(e) {+ return typeof e == "function" && (() => {+ let t = Object.getPrototypeOf(e);+ return t.prototype && t.prototype.isReactComponent;+ })();}-function n_(e) {- let t = e.issue_preview || [];- return t.length ? {- label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,- items: t.map((e, t) => ({- key: `${e.asset_id ?? "source"}-${t}`,- label: e.title || (e.asset_id ? `视频 ${e.asset_id}` : "媒体来源"),- href: e.asset_id ? `/item/${e.asset_id}` : "",- note: e.message,- hint: e.path || ""- })),- footnote: e.issues_log ? `完整记录:${e.issues_log}` : ""- } : null;+function VC(e) {+ return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-var r_ = "peach.library-processing.announced", i_ = 120;-function a_(e, t, n) {- if (e.status !== "complete") return;- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < i_;- if (!(!n && !r)) {- try {- if (e.job_id && localStorage.getItem(r_) === e.job_id) return;- e.job_id && localStorage.setItem(r_, e.job_id);- } catch {}- t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选`);- }+function HC(e) {+ let t = {+ state: {},+ onStateChange: () => {},+ renderFallbackValue: null,+ ...e+ }, [n] = S.useState(() => ({ current: PC(t) })), [r, i] = S.useState(() => n.current.initialState);+ return n.current.setOptions((t) => ({+ ...t,+ ...e,+ state: {+ ...r,+ ...e.state+ },+ onStateChange: (t) => {+ i(t), e.onStateChange == null || e.onStateChange(t);+ }+ })), n.current;}//#endregion-//#region src/react/boardui/components/base/buttons/link-button.tsx-var o_ = wf({- base: [- "inline-flex items-center justify-center gap-1 whitespace-nowrap",- "font-sans select-none cursor-pointer rounded-sm",- "underline-offset-3 hover:underline",- "transition-colors duration-150 ease",- "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring",- "disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline"- ].join(" "),- size: {- medium: "text-body-medium",- small: "text-body-medium",- xs: "text-caption-1-semibold"- },- icon: {- medium: "size-5 shrink-0",- small: "size-[18px] shrink-0",- xs: "size-3.5 shrink-0"- },- variant: {- primary: ["text-accent-600 active:text-accent-800", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" "),- secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")- }-});-function s_({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = Z(o_.base, o_.size[t], o_.variant[e], a), l = /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [- n ? /* @__PURE__ */ (0, S.jsx)(n, {- className: o_.icon[t],- "aria-hidden": !0- }) : null,- i != null && /* @__PURE__ */ (0, S.jsx)("span", { children: i }),- r ? /* @__PURE__ */ (0, S.jsx)(r, {- className: o_.icon[t],- "aria-hidden": !0- }) : null- ] });- if (s.href !== void 0) {- let { ref: e, href: t, ...n } = s;- return /* @__PURE__ */ (0, S.jsx)("a", {- ref: e,- href: o ? void 0 : t,- "aria-disabled": o || void 0,- className: c,- ...n,- children: l- });- }- let { ref: u, type: d = "button", ...f } = s;- return /* @__PURE__ */ (0, S.jsx)("button", {- ref: u,- type: d,- disabled: o,- className: c,- ...f,- children: l+//#region src/react/boardui/components/foundations/icons/chevrons.tsx+function UC(e) {+ return /* @__PURE__ */ (0, C.jsx)("svg", {+ viewBox: "0 0 16 16",+ fill: "none",+ "aria-hidden": !0,+ ...e,+ children: /* @__PURE__ */ (0, C.jsx)("path", {+ d: "M4 7L7.29289 10.2929C7.68342 10.6834 8.31658 10.6834 8.70711 10.2929L12 7",+ stroke: "currentColor",+ strokeWidth: "2",+ strokeLinecap: "round"+ })});}//#endregion-//#region src/react/boardui/components/base/dropdown/menu-styles.ts-var c_ = [- "max-w-[calc(100vw-32px)] overflow-y-auto",- "rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown",- "transition duration-150 ease-out",- "data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px]",- "data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px]",- "data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left",- "data-[placement=left]:origin-right data-[placement=right]:origin-left"-].join(" "), l_ = "w-[266px]", u_ = "flex w-full flex-col gap-1 outline-none", d_ = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), f_ = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts+function WC(e, t, n) {+ (0, S.useEffect)(() => {+ if (!e) return;+ let r = (e) => {+ let r = e.target;+ n.some((e) => e.current?.contains(r)) || t();+ };+ return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);+ }, [+ e,+ t,+ n+ ]);+}+function GC(e, t) {+ let n = (0, S.useRef)(!1);+ return (0, S.useEffect)(() => {+ if (!e) return;+ let r = (e) => {+ t.current?.contains(e.target) && (n.current = !0, setTimeout(() => {+ n.current = !1;+ }, 400));+ };+ return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);+ }, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;+}//#endregion-//#region src/react/boardui/components/application/settings/settings-rows.tsx-function p_({ className: e, children: t }) {- return /* @__PURE__ */ (0, S.jsx)("div", {- className: Z("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),- children: t+//#region src/react/boardui/components/base/select/select.tsx+var KC = (0, S.createContext)("md");+function qC({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+ let l = (0, S.useRef)(null), u = (0, S.useRef)(null), [d, f] = (0, S.useState)(!1);+ WC(d, () => f(!1), [l, u]);+ let p = GC(d, l);+ return /* @__PURE__ */ (0, C.jsx)(lv, {+ ref: s,+ ...c,+ isOpen: d,+ onOpenChange: (e) => p(e) && f(e),+ className: Y("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)(Hh, {+ ref: l,+ className: Y("flex w-full cursor-pointer items-center justify-between rounded-2lg", "border border-border-button-default bg-background-primary-default shadow-xs", "text-text-primary", "transition-[background-color,border-color,box-shadow,padding,font-size] duration-200 ease", "hover:bg-background-primary-hover hover:border-border-button-hover", "outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring", "disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:text-text-tertiary disabled:shadow-none", r === "sm" ? "gap-1 px-[7px] py-1 text-body-2-medium" : "gap-1.5 px-2.5 py-2 text-body-medium", t),+ children: [/* @__PURE__ */ (0, C.jsx)(pv, {+ className: Y("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ children: o+ }), /* @__PURE__ */ (0, C.jsx)(UC, { className: Y("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, C.jsx)(N_, {+ ref: u,+ isNonModal: !0,+ offset: 4,+ className: Y(Tx, wx, "p-2", n),+ children: /* @__PURE__ */ (0, C.jsx)(v_, {+ items: a,+ className: Y(Ex, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, C.jsx)(KC.Provider, {+ value: r,+ children: i+ })+ })+ })] })});}-function m_({ className: e, children: t }) {- return /* @__PURE__ */ (0, S.jsx)("p", {- className: Z("w-full px-3 text-body-2-medium text-text-secondary", e),+function JC({ className: e, children: t, ...n }) {+ let r = (0, S.useContext)(KC);+ return /* @__PURE__ */ (0, C.jsx)(S_, {+ ...n,+ className: (t) => Y(Dx, 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});}-function h_({ label: e, description: t, children: n }) {- return /* @__PURE__ */ (0, S.jsxs)("div", {- className: Z("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, S.jsxs)("div", {- className: "flex min-w-0 flex-col",- children: [/* @__PURE__ */ (0, S.jsx)("p", {- className: "text-body-regular text-text-primary",- children: e- }), t && /* @__PURE__ */ (0, S.jsx)("p", {- className: "text-body-2-regular text-text-secondary",- children: t- })]- }), n]+//#endregion+//#region src/react/follow-manage/source-list.tsx+var YC = Object.fromEntries(Object.entries(Sb).map(([e, t]) => [t, e])), XC = 740;+function ZC() {+ let [e, t] = (0, S.useState)(!1), n = (0, S.useRef)(null), r = (0, S.useCallback)((e) => {+ if (n.current?.disconnect(), !e) {+ n.current = null;+ return;+ }+ let r = new ResizeObserver(() => t(e.clientWidth < XC));+ r.observe(e), n.current = r, t(e.clientWidth < XC);+ }, []);+ return (0, S.useEffect)(() => () => n.current?.disconnect(), []), [r, e];+}+var QC = {+ select: "选择",+ author: "创作者",+ source: "来源",+ provider: "站点",+ status: "状态",+ checked: "上次检查",+ actions: "操作"+};+function $C({ page: e, pages: t, onPage: n }) {+ return t <= 1 ? null : /* @__PURE__ */ (0, C.jsxs)("nav", {+ "aria-label": "关注列表分页",+ className: "flex flex-wrap items-center justify-center gap-2",+ children: [+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ disabled: e <= 1,+ onClick: () => n(e - 1),+ children: "上一页"+ }),+ /* @__PURE__ */ (0, C.jsx)("ul", {+ className: "flex flex-wrap items-center gap-1",+ children: $y(e, t).map((t, r) => /* @__PURE__ */ (0, C.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, C.jsx)("span", {+ "aria-hidden": !0,+ className: "px-1 text-body-2-regular text-text-tertiary",+ children: "…"+ }) : /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: t === e ? "secondary" : "ghost",+ size: "small",+ "aria-label": `第 ${t} 页`,+ "aria-current": t === e ? "page" : void 0,+ onClick: () => n(Number(t)),+ children: t+ }) }, t === "…" ? `dots-${r}` : t))+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ disabled: e >= t,+ onClick: () => n(e + 1),+ children: "下一页"+ })+ ]+ });+}+function ew({ source: e, selected: t, onToggle: n, handlers: r }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {+ "data-selected": t || void 0,+ className: "flex flex-wrap items-center gap-3 border-t border-separator-border py-2.5 pr-3 pl-4 data-selected:bg-background-secondary-default",+ children: [+ /* @__PURE__ */ (0, C.jsx)(Cx, {+ isSelected: t,+ onChange: n,+ "aria-label": `选择 ${e.label}`+ }),+ /* @__PURE__ */ (0, C.jsxs)("span", {+ className: "flex min-w-0 grow flex-col gap-0.5",+ children: [/* @__PURE__ */ (0, C.jsx)(Xx, { source: e }), e.last_error ? /* @__PURE__ */ (0, C.jsx)("small", {+ className: "text-caption-1-regular text-text-error-primary",+ children: e.last_error+ }) : null]+ }),+ /* @__PURE__ */ (0, C.jsx)("span", {+ className: "flex shrink-0 items-center gap-1.5 text-body-2-regular text-text-secondary",+ title: e.provider_label,+ children: /* @__PURE__ */ (0, C.jsx)(qx, {+ provider: e.provider,+ label: e.provider_label+ })+ }),+ /* @__PURE__ */ (0, C.jsx)(Yx, { source: e }),+ /* @__PURE__ */ (0, C.jsx)("span", {+ className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",+ children: gx(e)+ }),+ /* @__PURE__ */ (0, C.jsxs)("span", {+ className: "flex shrink-0 items-center gap-1",+ children: [/* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "ghost",+ size: "small",+ iconOnly: !0,+ leadingIcon: Xf,+ "aria-label": `检查 ${e.label} 的更新`,+ disabled: !e.enabled || r.readOnly,+ ...Ry(r.busy),+ onClick: () => r.check([e.id])+ }), /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "ghost",+ size: "small",+ iconOnly: !0,+ leadingIcon: Lf,+ "aria-label": `移除 ${e.label}`,+ disabled: r.readOnly,+ onClick: () => r.remove(e)+ })]+ })+ ]+ });+}+function tw({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a, onToggleGroup: o, onToggle: s }) {+ let c = e.map((e) => e.id), l = e.filter((e) => e.enabled).map((e) => e.id), u = e.filter(Ab).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = Ub(r, c);+ return /* @__PURE__ */ (0, C.jsxs)("section", {+ "aria-label": `${t} 的关注来源`,+ className: "flex flex-col rounded-2xl border border-separator-border",+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center gap-3 py-2.5 pr-3 pl-4",+ children: [+ /* @__PURE__ */ (0, C.jsx)(Jx, {+ group: e,+ name: t+ }),+ /* @__PURE__ */ (0, C.jsx)("b", {+ className: "min-w-0 grow text-body-medium break-words text-text-primary",+ children: t+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "ghost",+ size: "small",+ iconOnly: !0,+ leadingIcon: Xf,+ "aria-label": `检查 ${t} 的全部来源`,+ disabled: !l.length || i.readOnly,+ ...Ry(i.busy),+ onClick: () => i.check(l)+ }),+ /* @__PURE__ */ (0, C.jsxs)("span", {+ className: "flex shrink-0 items-center gap-1",+ title: d,+ children: [e.map((e) => /* @__PURE__ */ (0, C.jsx)(qx, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, C.jsx)(Jo, { children: `来源:${d}` })]+ }),+ u ? /* @__PURE__ */ (0, C.jsx)("span", {+ className: "shrink-0 text-body-2-regular text-text-error-primary",+ children: `${u} 个失败`+ }) : null,+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ leadingIcon: Nf,+ "aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",+ "aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,+ onClick: () => o(!p.all),+ children: p.all ? "取消全选" : "全选"+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "ghost",+ size: "small",+ "aria-expanded": n,+ "aria-controls": f,+ "aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,+ onClick: () => a(!n),+ children: n ? "收起" : "展开"+ })+ ]+ }), /* @__PURE__ */ (0, C.jsx)("div", {+ id: f,+ hidden: !n,+ children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(ew, {+ source: e,+ handlers: i,+ selected: r.has(e.id),+ onToggle: (t) => s(e.id, t)+ }, e.id))+ })]+ });+}+function nw(e) {+ let { data: t, sort: n, dir: i, page: a, layout: o, pageSize: c, selected: l, readOnly: u, onSort: d, onPage: f, onLayout: p, onPageSize: m, onSelected: h, toast: g, openFollow: _ } = e, v = t.sources, y = (0, S.useMemo)(() => t.author_aliases || [], [t.author_aliases]), b = t.counts || {}, [x, w] = (0, S.useState)(/* @__PURE__ */ new Set()), [T, E] = ZC(), [D, O] = (0, S.useState)(!1), [k, A] = (0, S.useState)(null), [j, M] = (0, S.useState)(""), N = (0, S.useMemo)(() => zb(v, n, i, y), [+ v,+ n,+ i,+ y+ ]), ee = (0, S.useMemo)(() => Bb(N, n, i, y), [+ N,+ n,+ i,+ y+ ]), P = lt({+ queryKey: pb,+ queryFn: ({ signal: e }) => qb(e),+ refetchInterval: (e) => dx(e.state.data)+ }), F = P.data?.status === "running", te = ut({+ mutationFn: (e) => Xb(e),+ onSuccess: () => {+ O(!0), A(null), Qm.invalidateQueries({+ queryKey: pb,+ exact: !0+ });+ },+ onError: (e) => M(Wm(e))+ });+ (0, S.useEffect)(() => {+ let e = P.data;+ if (e) {+ if (e.status === "running") {+ D || O(!0);+ return;+ }+ D && (O(!1), A(e), lx(), g(e.status === "failed" ? e.error || "检查失败" : fx(e)));+ }+ }, [+ P.data,+ D,+ g+ ]);+ let ne = (e) => {+ F || te.isPending || (M(""), te.mutate(e));+ }, re = (e, t) => h(Wb(l, [e], t)), ie = (e, t) => h(Wb(l, e, t)), ae = ut({+ mutationFn: (e) => $b(e),+ onSuccess: (e, t) => {+ cx([t]), h(Wb(l, [t], !1)), g("已取消关注来源");+ },+ onError: (e) => M(Wm(e))+ }), oe = (e) => void s({+ title: "取消关注来源",+ body: "将移除这个来源及已抓取的条目,媒体文件保留。",+ confirmLabel: "取消关注来源",+ danger: !0,+ onConfirm: () => ae.mutateAsync(e.id)+ }), se = ut({+ mutationFn: async (e) => {+ let t = await r(e.ids, 4, async (t) => {+ e.action === "remove" ? await $b(t) : await Qb(t, e.action === "enabled");+ });+ return {+ ...e,+ done: e.ids.filter((e, n) => t[n]?.ok),+ results: t+ };+ },+ onSuccess: (e) => {+ if (e.action === "remove") cx(e.done);+ else for (let t of e.done) sx(t, { enabled: e.action === "enabled" });+ h(Wb(l, e.done, !1));+ let t = e.results.filter((e) => !e.ok);+ if (t.length) {+ M(`${t.length}/${e.ids.length} 个来源未更新:${Wm(t[0]?.error)}`);+ return;+ }+ M("");+ let n = e.action === "remove" ? "删除" : e.action === "enabled" ? "启用" : "暂停";+ g(`已${n} ${e.done.length} 个关注来源`);+ },+ onError: (e) => M(Wm(e))+ }), ce = ut({+ mutationFn: async (e) => {+ let t = ((await ax()).groups || []).flatMap((e) => [+ e.primary,+ ...e.variants,+ ...e.duplicates+ ]).filter((e) => e.status === "new").map((e) => e.id);+ return {+ ids: t,+ failed: (await r(t, 6, (t) => ix(t, e))).filter((e) => !e.ok)+ };+ },+ onSuccess: (e) => {+ if (lx(), e.failed.length) {+ M(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);+ return;+ }+ M(""), g(`已批量标记 ${e.ids.length} 项`);+ },+ onError: (e) => M(Wm(e))+ }), le = (0, S.useRef)({+ check: ne,+ remove: oe,+ busy: !1,+ readOnly: u+ });+ le.current = {+ check: ne,+ remove: oe,+ busy: F || te.isPending,+ readOnly: u+ };+ let ue = le.current, de = (0, S.useMemo)(() => {+ let e = bS(), t = (e) => () => QC[e] || e;+ return [+ e.display({+ id: "select",+ header: t("select"),+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(Cx, {+ slot: null,+ isSelected: e.row.getIsSelected(),+ onChange: (t) => e.row.toggleSelected(t),+ "aria-label": `选择 ${e.row.original.source.label}`+ })+ }),+ e.accessor((e) => e.author, {+ id: "author",+ header: t("author"),+ cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {+ className: "flex min-w-0 items-center gap-2",+ children: [/* @__PURE__ */ (0, C.jsx)(Jx, {+ group: e.row.original.group,+ name: e.row.original.author+ }), /* @__PURE__ */ (0, C.jsx)("span", {+ className: "min-w-0 break-words",+ children: e.row.original.author+ })]+ })+ }),+ e.accessor((e) => e.source.label, {+ id: "source",+ header: t("source"),+ cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {+ className: "flex min-w-0 flex-col gap-0.5",+ children: [/* @__PURE__ */ (0, C.jsx)(Xx, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, C.jsx)("small", {+ className: "text-caption-1-regular text-text-error-primary",+ children: e.row.original.source.last_error+ }) : null]+ })+ }),+ e.accessor((e) => e.source.provider_label, {+ id: "provider",+ header: t("provider"),+ cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {+ className: "flex items-center gap-1.5",+ children: [/* @__PURE__ */ (0, C.jsx)(qx, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]+ })+ }),+ e.display({+ id: "status",+ header: t("status"),+ cell: (e) => /* @__PURE__ */ (0, C.jsx)(Yx, { source: e.row.original.source })+ }),+ e.accessor((e) => e.source.last_checked_at || "", {+ id: "checked",+ header: t("checked"),+ cell: (e) => gx(e.row.original.source)+ }),+ e.display({+ id: "actions",+ header: t("actions"),+ cell: (e) => /* @__PURE__ */ (0, C.jsxs)("span", {+ className: "flex items-center gap-1",+ children: [/* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "ghost",+ size: "small",+ iconOnly: !0,+ leadingIcon: Xf,+ "aria-label": `检查 ${e.row.original.source.label} 的更新`,+ disabled: !e.row.original.source.enabled || ue.readOnly,+ ...Ry(ue.busy),+ onClick: () => le.current.check([e.row.original.source.id])+ }), /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "ghost",+ size: "small",+ iconOnly: !0,+ leadingIcon: Lf,+ "aria-label": `移除 ${e.row.original.source.label}`,+ disabled: ue.readOnly,+ onClick: () => le.current.remove(e.row.original.source)+ })]+ })+ })+ ];+ }, [ue]), fe = (0, S.useMemo)(() => {+ let e = YC[n];+ return e ? [{+ id: e,+ desc: i === "desc"+ }] : [];+ }, [n, i]), I = (0, S.useMemo)(() => Object.fromEntries([...l].map((e) => [String(e), !0])), [l]), L = o === "table", pe = Vb(L ? ee.length : N.length, c, a), me = HC({+ data: ee,+ columns: de,+ getRowId: (e) => String(e.source.id),+ state: {+ sorting: fe,+ rowSelection: I,+ pagination: {+ pageIndex: pe.page - 1,+ pageSize: c+ }+ },+ manualSorting: !0,+ enableRowSelection: !0,+ onSortingChange: (e) => {+ let t = (typeof e == "function" ? e(fe) : e)[0];+ if (!t) return;+ let n = Sb[t.id];+ n && d(n, t.desc ? "desc" : "asc");+ },+ onRowSelectionChange: (e) => {+ let t = typeof e == "function" ? e(I) : e;+ h(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));+ },+ onPaginationChange: (e) => {+ let t = {+ pageIndex: pe.page - 1,+ pageSize: c+ }, n = typeof e == "function" ? e(t) : e;+ n.pageSize === c ? n.pageIndex !== t.pageIndex && f(n.pageIndex + 1) : m(n.pageSize);+ },+ getCoreRowModel: FC(),+ getPaginationRowModel: LC()+ }), he = me.getRowModel().rows, ge = L ? he.map((e) => e.original.source.id) : N.slice(pe.start, pe.end).flatMap((e) => e.map((e) => e.id)), _e = Ub(l, ge), ve = [...l], ye = px(k), be = mx(k), xe = N.length > 0 && x.size >= N.length;+ return v.length ? /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-col gap-4",+ children: [+ /* @__PURE__ */ (0, C.jsxs)("div", {+ ref: T,+ className: "flex flex-wrap items-center gap-2",+ children: [+ /* @__PURE__ */ (0, C.jsx)("h3", {+ className: "mr-auto text-headline-medium text-text-primary",+ children: "关注列表"+ }),+ /* @__PURE__ */ (0, C.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: `${v.length} 个来源${b.new ? ` · ${b.new} 条未看` : ""}`+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "primary",+ size: "small",+ leadingIcon: Xf,+ disabled: u,+ "aria-label": "检查全部",+ iconOnly: E,+ ...Ry(ue.busy),+ onClick: () => ne([]),+ children: "检查全部"+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: L ? "ghost" : "secondary",+ size: "small",+ iconOnly: !0,+ leadingIcon: Jf,+ "aria-label": gb[0][1],+ "aria-pressed": !L,+ onClick: () => p("default")+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: L ? "secondary" : "ghost",+ size: "small",+ iconOnly: !0,+ leadingIcon: $f,+ "aria-label": gb[1][1],+ "aria-pressed": L,+ onClick: () => p("table")+ }),+ /* @__PURE__ */ (0, C.jsx)(qC, {+ "aria-label": "关注列表排序",+ size: "sm",+ selectedKey: n,+ onSelectionChange: (e) => {+ if (e === null) return;+ let t = String(e);+ d(t, bb[t]);+ },+ children: vb.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(JC, {+ id: e,+ children: t+ }, e))+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ iconOnly: !0,+ leadingIcon: i === "asc" ? jf : Df,+ "aria-label": Db(n, i),+ onClick: () => d(n, i === "asc" ? "desc" : "asc")+ }),+ L ? null : /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ iconOnly: E,+ leadingIcon: xe ? Of : Mf,+ "aria-label": xe ? "全部展开" : "全部收起",+ onClick: () => w(xe ? /* @__PURE__ */ new Set() : new Set(N.map((e) => String(e[0].author_key || e[0].id)))),+ children: xe ? "全部展开" : "全部收起"+ })+ ]+ }),+ /* @__PURE__ */ (0, C.jsxs)("div", {+ "aria-live": "polite",+ className: "flex flex-col gap-3 empty:hidden",+ children: [+ F ? P.data?.total ? /* @__PURE__ */ (0, C.jsx)(Zm, {+ label: P.data.message || `${P.data.older ? "抓取历史" : "检查更新"}:已完成 ${P.data.checked || 0}/${P.data.total} 个来源`,+ value: P.data.checked || 0,+ max: P.data.total+ }) : /* @__PURE__ */ (0, C.jsx)(Jm, { label: P.data?.message || "正在准备检查任务" }) : null,+ j ? /* @__PURE__ */ (0, C.jsx)(Ym, {+ tone: "error",+ title: "操作未完成",+ children: j+ }) : null,+ ye.length ? /* @__PURE__ */ (0, C.jsx)(Ym, {+ tone: "error",+ title: `${ye.length} 个来源检查失败`,+ extra: /* @__PURE__ */ (0, C.jsx)("ul", {+ className: "flex flex-col gap-0.5 text-body-2-regular",+ children: ye.map((e, t) => /* @__PURE__ */ (0, C.jsx)("li", { children: `${e.provider_label || e.provider || ""} ${e.author || e.label || e.ref || ""}:${e.error || "未说明原因"}` }, `${e.provider || ""}-${e.ref || t}`))+ }),+ children: "这些来源这一轮没有取到更新。"+ }) : null,+ be ? /* @__PURE__ */ (0, C.jsx)(Ym, {+ tone: "warning",+ children: `候选已入库,但这一次的原始响应没有留档:${be}`+ }) : null+ ]+ }),+ ve.length ? /* @__PURE__ */ (0, C.jsxs)("div", {+ role: "group",+ "aria-label": "关注来源批量操作",+ className: "flex flex-wrap items-center gap-2 rounded-2lg bg-background-secondary-default px-3 py-2",+ children: [+ /* @__PURE__ */ (0, C.jsx)("span", {+ role: "status",+ className: "mr-auto text-body-2-regular text-text-primary",+ children: `已选 ${ve.length} 个来源`+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ disabled: u,+ ...Ry(ue.busy),+ onClick: () => ne(ve),+ children: "检查所选"+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ disabled: u,+ ...Ry(se.isPending),+ onClick: () => se.mutate({+ ids: ve,+ action: "enabled"+ }),+ children: "启用"+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ disabled: u,+ ...Ry(se.isPending),+ onClick: () => se.mutate({+ ids: ve,+ action: "paused"+ }),+ children: "暂停"+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "danger",+ size: "small",+ disabled: u,+ ...Ry(se.isPending),+ onClick: () => void s({+ title: `删除 ${ve.length} 个关注来源`,+ body: "将移除所选关注来源及其已抓取条目,媒体文件保留。",+ confirmLabel: "删除所选来源",+ danger: !0,+ onConfirm: () => se.mutateAsync({+ ids: ve,+ action: "remove"+ })+ }),+ children: "删除"+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "ghost",+ size: "small",+ onClick: () => h(/* @__PURE__ */ new Set()),+ children: "取消选择"+ })+ ]+ }) : null,+ L ? /* @__PURE__ */ (0, C.jsxs)(sS, {+ "aria-label": "关注来源",+ sortDescriptor: fe[0] ? {+ column: fe[0].id,+ direction: fe[0].desc ? "descending" : "ascending"+ } : void 0,+ onSortChange: (e) => me.setSorting([{+ id: String(e.column),+ desc: e.direction === "descending"+ }]),+ children: [/* @__PURE__ */ (0, C.jsx)(Uv, { children: me.getHeaderGroups()[0].headers.map((e) => {+ let t = e.column.id in Sb, n = RC(e.column.columnDef.header, e.getContext());+ return /* @__PURE__ */ (0, C.jsx)(Jv, {+ id: e.id,+ allowsSorting: t,+ isRowHeader: e.column.id === "source",+ children: t ? n : /* @__PURE__ */ (0, C.jsx)(Jo, { children: n })+ }, e.id);+ }) }), /* @__PURE__ */ (0, C.jsx)(Qv, {+ renderEmptyState: () => "这一页没有来源",+ children: he.map((e) => /* @__PURE__ */ (0, C.jsx)(ny, {+ id: e.id,+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, C.jsx)(ay, { children: RC(e.column.columnDef.cell, e.getContext()) }, e.id))+ }, e.id))+ })]+ }) : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Cx, {+ isSelected: _e.all,+ isIndeterminate: _e.some,+ onChange: (e) => ie(ge, e),+ "aria-label": "全选本页来源",+ children: "全选本页"+ }), /* @__PURE__ */ (0, C.jsx)("div", {+ className: "flex flex-col gap-3",+ children: N.slice(pe.start, pe.end).map((e) => {+ let t = String(e[0].author_key || e[0].id);+ return /* @__PURE__ */ (0, C.jsx)(tw, {+ group: e,+ name: Fb(e, y),+ handlers: ue,+ selected: l,+ open: !x.has(t),+ onOpen: (e) => {+ let n = new Set(x);+ e ? n.delete(t) : n.add(t), w(n);+ },+ onToggleGroup: (t) => ie(e.map((e) => e.id), t),+ onToggle: re+ }, t);+ })+ })] }),+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center justify-between gap-3",+ children: [+ /* @__PURE__ */ (0, C.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",+ children: `${pe.start + 1}–${pe.end} / ${pe.total} ${L ? "个来源" : "位创作者"}`+ }),+ /* @__PURE__ */ (0, C.jsx)(qC, {+ "aria-label": "每页显示数量",+ size: "sm",+ selectedKey: String(c),+ onSelectionChange: (e) => {+ e !== null && me.setPageSize(Number(e));+ },+ children: _b.map((e) => /* @__PURE__ */ (0, C.jsx)(JC, {+ id: String(e),+ children: `每页 ${e} ${L ? "条" : "位"}`+ }, e))+ }),+ /* @__PURE__ */ (0, C.jsx)($C, {+ page: pe.page,+ pages: pe.pages,+ onPage: (e) => me.setPageIndex(e - 1)+ })+ ]+ }),+ b.new ? /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex flex-wrap items-center gap-2 border-t border-separator-border pt-3",+ children: [+ /* @__PURE__ */ (0, C.jsx)("span", {+ className: "mr-auto text-body-2-regular text-text-secondary",+ children: `未看 ${b.new} · 已看 ${b.seen || 0} · 已保存 ${b.saved || 0} · 已忽略 ${b.ignored || 0}`+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ onClick: _,+ children: "去看更新"+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ disabled: u,+ ...Ry(ce.isPending),+ onClick: () => void s({+ title: "标记已看",+ body: "将把当前未看作品标记为已看。",+ confirmLabel: "标记已看",+ onConfirm: () => ce.mutateAsync("seen")+ }),+ children: "全部标记已看"+ }),+ /* @__PURE__ */ (0, C.jsx)(Z, {+ variant: "secondary",+ size: "small",+ disabled: u,+ ...Ry(ce.isPending),+ onClick: () => void s({+ title: "标记已忽略",+ body: "将把当前未看作品标记为已忽略。",+ confirmLabel: "标记已忽略",+ onConfirm: () => ce.mutateAsync("ignored")+ }),+ children: "全部忽略"+ })+ ]+ }) : null+ ]+ }) : /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: Zf,+ title: "还没有关注来源",+ children: "关注来源及其检查状态会显示在这里。"});}//#endregion-//#region src/react/settings/section.tsx-function g_({ title: e, id: t, aside: n, onSubmit: r, children: i }) {- let a = /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [n ? /* @__PURE__ */ (0, S.jsxs)("div", {- className: "flex w-full flex-wrap items-center justify-between gap-2",- children: [/* @__PURE__ */ (0, S.jsx)("div", {- className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, S.jsx)(m_, { children: e })- }), n]- }) : /* @__PURE__ */ (0, S.jsx)(m_, { children: e }), /* @__PURE__ */ (0, S.jsx)(p_, { children: i })] });- return r ? /* @__PURE__ */ (0, S.jsx)("form", {- id: t,- "aria-label": e,- noValidate: !0,- onSubmit: r,- className: "flex w-full flex-col gap-2",- children: a- }) : /* @__PURE__ */ (0, S.jsx)("section", {- id: t,- "aria-label": e,- className: "flex w-full flex-col gap-2",- children: a- });-}-function __({ children: e }) {- return /* @__PURE__ */ (0, S.jsx)("div", {- className: "flex flex-col",- children: e- });-}-function v_({ divided: e = !1, children: t }) {- return e ? /* @__PURE__ */ (0, S.jsx)("div", {- className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",- children: t- }) : /* @__PURE__ */ (0, S.jsx)("div", {- className: "flex flex-col gap-4 py-4 pr-3",- children: t- });-}-function y_({ status: e, children: t }) {- return /* @__PURE__ */ (0, S.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, S.jsx)("div", {- className: "mr-auto min-w-0 text-body-2-regular text-text-secondary",+//#region src/react/follow-manage/follow-manage-page.tsx+var rw = "flex cursor-pointer items-center rounded-lg px-3 py-1.5 text-body-2-medium text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary", iw = [+ ["list", "关注列表"],+ ["add", "添加关注"],+ ["source", "来源和凭证"]+], aw = (e) => iw.some(([t]) => t === e);+function ow({ term: e, figure: t, unit: n }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "flex min-w-0 flex-col gap-1 rounded-2xl border border-separator-border p-4",+ children: [/* @__PURE__ */ (0, C.jsx)("span", {+ className: "text-body-2-regular text-text-secondary",children: e- }) : null, t]- });-}-function b_({ role: e, children: t }) {- return /* @__PURE__ */ (0, S.jsx)("p", {- role: e,- className: "text-body-2-regular text-text-secondary",- children: t- });-}-function x_({ children: e }) {- return /* @__PURE__ */ (0, S.jsx)("p", {- role: "alert",- className: "text-body-2-regular text-text-error-primary",- children: e+ }), /* @__PURE__ */ (0, C.jsxs)("b", {+ className: "text-title-1-medium tabular-nums text-text-primary",+ children: [t, /* @__PURE__ */ (0, C.jsx)("small", {+ className: "text-body-2-regular text-text-secondary",+ children: ` ${n}`+ })]+ })]});}-function S_({ children: e }) {- return /* @__PURE__ */ (0, S.jsx)("p", {- className: "text-body-medium text-text-primary",- children: e- });+function sw(e) {+ let { route: t, savePreference: n, toast: r, openFollow: i, readOnly: a, readOnlyMessage: o, writerUrl: s } = e, [c, l] = (0, S.useState)(aw(e.tab) ? e.tab : "list"), [u, d] = (0, S.useState)(Math.max(1, Math.floor(e.page) || 1)), [f, p] = (0, S.useState)(Cb(e.sort) ? e.sort : yb), [m, h] = (0, S.useState)(e.dir === "asc" || e.dir === "desc" ? e.dir : bb[Cb(e.sort) ? e.sort : yb]), [g, _] = (0, S.useState)(wb(e.layout) ? e.layout : "default"), [v, y] = (0, S.useState)(Tb(e.pageSize)), [b, x] = (0, S.useState)(/* @__PURE__ */ new Set()), w = lt({+ queryKey: db,+ queryFn: ({ signal: e }) => Gb(e)+ }), T = lt({+ queryKey: fb,+ queryFn: ({ signal: e }) => Kb(e)+ }), E = w.data || { sources: [] }, D = T.data || {+ root: "",+ providers: []+ }, O = E.sources;+ (0, S.useEffect)(() => {+ x((e) => {+ let t = Hb(e, O);+ return t.size === e.size ? e : t;+ });+ }, [O]);+ let k = (e) => {+ let n = e.sort ?? f, r = e.dir ?? m;+ t({+ tab: e.tab ?? c,+ page: e.page ?? u,+ sort: n === "checked" ? "" : n,+ dir: r === bb[n] ? "" : r+ });+ }, A = Rb(O), j = O.filter(Ab).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !bx(e)).length;+ return /* @__PURE__ */ (0, C.jsxs)(Xm, { children: [+ a ? /* @__PURE__ */ (0, C.jsx)(Ym, {+ tone: "warning",+ title: "本机只能浏览",+ extra: s ? /* @__PURE__ */ (0, C.jsx)("p", {+ className: "text-body-2-regular",+ children: /* @__PURE__ */ (0, C.jsx)("a", {+ href: s,+ className: "text-text-primary underline underline-offset-2",+ children: "前往写入端管理关注"+ })+ }) : void 0,+ children: o+ }) : null,+ /* @__PURE__ */ (0, C.jsxs)("div", {+ className: "card-grid gap-3",+ "aria-label": "关注概览",+ children: [+ /* @__PURE__ */ (0, C.jsx)(ow, {+ term: "关注创作者",+ figure: A.length,+ unit: "位"+ }),+ /* @__PURE__ */ (0, C.jsx)(ow, {+ term: "启用来源",+ figure: M,+ unit: `/ ${O.length}`+ }),+ /* @__PURE__ */ (0, C.jsx)(ow, {+ term: "检查失败",+ figure: j,+ unit: "个来源"+ }),+ /* @__PURE__ */ (0, C.jsx)(ow, {+ term: "未看更新",+ figure: E.counts?.new || 0,+ unit: "条"+ })+ ]+ }),+ /* @__PURE__ */ (0, C.jsxs)(_y, {+ selectedKey: c,+ onSelectionChange: (e) => {+ let t = String(e);+ aw(t) && (l(t), k({ tab: t }));+ },+ className: "flex flex-col gap-6",+ children: [+ /* @__PURE__ */ (0, C.jsx)(yy, {+ "aria-label": "关注管理区域",+ className: "flex flex-wrap gap-1",+ children: iw.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(xy, {+ id: e,+ className: rw,+ children: e === "source" && N ? `${t}(${N})` : t+ }, e))+ }),+ /* @__PURE__ */ (0, C.jsx)(Sy, {+ id: "list",+ className: "flex flex-col gap-4",+ children: /* @__PURE__ */ (0, C.jsx)(nw, {+ data: E,+ sort: f,+ dir: m,+ page: u,+ layout: g,+ pageSize: v,+ selected: b,+ readOnly: a,+ toast: r,+ openFollow: i,+ onSort: (e, t) => {+ p(e), h(t), d(1), k({+ sort: e,+ dir: t,+ page: 1+ });+ },+ onPage: (e) => {+ d(e), k({ page: e });+ },+ onSelected: x,+ onLayout: (e) => {+ _(e), d(1), n({ layout: e }), k({ page: 1 });+ },+ onPageSize: (e) => {+ y(e), d(1), n({ pageSize: e }), k({ page: 1 });+ }+ })+ }),+ /* @__PURE__ */ (0, C.jsxs)(Sy, {+ id: "add",+ className: "flex flex-col gap-8",+ children: [/* @__PURE__ */ (0, C.jsx)(oS, {+ data: E,+ credentials: D,+ readOnly: a,+ toast: r,+ openCredentials: () => {+ l("source"), k({ tab: "source" });+ }+ }), /* @__PURE__ */ (0, C.jsx)(uS, {+ groups: E.author_aliases || [],+ readOnly: a,+ toast: r,+ suggestions: E.alias_suggestions || []+ })]+ }),+ /* @__PURE__ */ (0, C.jsx)(Sy, {+ id: "source",+ className: "flex flex-col gap-4",+ children: /* @__PURE__ */ (0, C.jsx)(yS, {+ data: D,+ readOnly: a,+ toast: r+ })+ })+ ]+ })+ ] });}-function C_({ href: e, children: t }) {- return /* @__PURE__ */ (0, S.jsx)(s_, {- href: e,- target: "_blank",- rel: "noopener noreferrer",- size: "small",- trailingIcon: ju,- children: t+//#endregion+//#region src/react/library-processing/library-processing.ts+var cw = "/api/library-processing", lw = ["library-processing"], uw = (e) => Gm(cw, e);+async function dw(e) {+ await Qm.fetchQuery({+ queryKey: lw,+ queryFn: () => uw(e)});}-function w_({ children: e }) {- return /* @__PURE__ */ (0, S.jsx)("dl", {- className: "flex flex-col",- children: e- });+var fw = 2e3, pw = 1e4, mw = "连接中断,正在重新读取处理进度";+function hw(e, t) {+ return e?.status === "running" ? fw : t ? pw : !1;}-function T_({ term: e, children: t }) {- return /* @__PURE__ */ (0, S.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, S.jsx)("dt", {- className: "flex shrink-0 items-center gap-2 text-body-regular text-text-secondary",- children: e- }), /* @__PURE__ */ (0, S.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- })]- });+var gw = {+ reading_local: "读取本地资料",+ querying_metadata: "查询外部资料",+ fetching_cover: "采集缺失封面",+ writing_candidates: "保存资料候选"+}, _w = {+ querying_metadata: "没有资料",+ fetching_cover: "没有封面"+};+function vw(e) {+ let t = Object.entries(e).filter(([e, t]) => _w[e] && t > 0).map(([e, t]) => `${_w[e]} ${t} 部`);+ return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function E_({ summary: e, defaultOpen: t = !1, children: n }) {- let r = (0, x.useId)(), i = (0, x.useRef)(null), a = (0, x.useRef)(null), o = (0, x.useRef)(!1), [c, l] = (0, x.useState)(t);- return /* @__PURE__ */ (0, S.jsxs)("details", {- ref: (e) => {- i.current = e, e && t && !o.current && (o.current = !0, e.open = !0);- },- children: [/* @__PURE__ */ (0, S.jsxs)("summary", {- "aria-expanded": c,- "aria-controls": r,- onClick: (e) => {- e.preventDefault(), !(!i.current || !a.current) && (s(i.current, a.current, !c), l(!c));- },- 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, S.jsx)(Tu, {- "aria-hidden": !0,- className: c ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"- }), e]- }), /* @__PURE__ */ (0, S.jsx)("div", {- ref: a,- id: r,- inert: !c,- children: /* @__PURE__ */ (0, S.jsx)("div", {- className: "flex flex-col gap-2 pt-3",- children: n- })- })]- });+function yw(e) {+ let t = gw[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";+ return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function D_({ name: e }) {- return /* @__PURE__ */ (0, S.jsx)("svg", {- "aria-hidden": !0,- viewBox: "0 0 24 24",- fill: "none",- className: "size-4 shrink-0 stroke-current stroke-2",- children: /* @__PURE__ */ (0, S.jsx)("use", { href: `#i-${e}` })- });+function bw(e) {+ let t = e.issue_preview || [];+ return t.length ? {+ label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,+ items: t.map((e, t) => ({+ key: `${e.asset_id ?? "source"}-${t}`,+ label: e.title || (e.asset_id ? `视频 ${e.asset_id}` : "媒体来源"),+ href: e.asset_id ? `/item/${e.asset_id}` : "",+ note: e.message,+ hint: e.path || ""+ })),+ footnote: e.issues_log ? `完整记录:${e.issues_log}` : ""+ } : null;}-function O_({ mark: e }) {- return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, S.jsx)("img", {- src: e,- alt: "",- width: 16,- height: 16,- className: "size-4 shrink-0"- }) : /* @__PURE__ */ (0, S.jsx)(D_, { name: e });+var xw = "peach.library-processing.announced", Sw = 120;+function Cw(e, t, n) {+ if (e.status !== "complete") return;+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Sw;+ if (!(!n && !r)) {+ try {+ if (e.job_id && localStorage.getItem(xw) === e.job_id) return;+ e.job_id && localStorage.setItem(xw, e.job_id);+ } catch {}+ t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选`);+ }}//#endregion//#region src/react/library-processing/use-library-processing.ts-function k_({ toast: e, mode: t, monitor: n }) {- let r = t === "notice" || !!n, i = ut({- queryKey: Gg,- queryFn: ({ signal: e }) => Kg(e),- refetchInterval: (e) => Zg(e.state.data, r)- }), [a, o] = (0, x.useState)(null), s = (0, x.useRef)(void 0), c = i.data;- return (0, x.useEffect)(() => {+function ww({ toast: e, mode: t, monitor: n }) {+ let r = t === "notice" || !!n, i = lt({+ queryKey: lw,+ queryFn: ({ signal: e }) => uw(e),+ refetchInterval: (e) => hw(e.state.data, r)+ }), [a, o] = (0, S.useState)(null), s = (0, S.useRef)(void 0), c = i.data;+ return (0, S.useEffect)(() => {if (!c) return;let n = s.current;s.current = c.status;let r = n === "running" && c.status !== "running";- r && o(c), (r || t === "notice") && a_(c, e, r);+ r && o(c), (r || t === "notice") && Cw(c, e, r);}, [c,t,@@ -22463,53 +29228,53 @@ function k_({ toast: e, mode: t, monitor: n }) {}//#endregion//#region src/react/library-processing/library-processing-card.tsx-var A_ = [{+var Tw = [{label: "只扫描",- icon: Pu,+ icon: Uf,command: { stage: "scan" }}, {label: "只采集",- icon: Nu,+ icon: Hf,command: { stage: "collect" }-}], j_ = Z(d_, f_, "text-body-2-medium"), M_ = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", N_ = "这个项目处理时间较长,暂时没有新进展。可以继续等待,或在任务结束后重试未完成项。", P_ = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选。`;-function F_({ busy: e, onRun: t }) {- let n = (0, x.useRef)(null), [r, i] = (0, x.useState)(!1), a = (n) => {+}], Ew = Y(Dx, Ox, "text-body-2-medium"), Dw = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", Ow = "这个项目处理时间较长,暂时没有新进展。可以继续等待,或在任务结束后重试未完成项。", kw = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选。`;+function Aw({ busy: e, onRun: t }) {+ let n = (0, S.useRef)(null), [r, i] = (0, S.useState)(!1), a = (n) => {e || (i(!1), t(n));};- return /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsxs)("span", {+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("span", {className: "flex items-center gap-1",- children: [/* @__PURE__ */ (0, S.jsx)($, {- leadingIcon: Ou,+ children: [/* @__PURE__ */ (0, C.jsx)(Z, {+ leadingIcon: If,onClick: () => a({}),- ...kg(e),+ ...Ry(e),children: "扫描并补全资料"- }), /* @__PURE__ */ (0, S.jsx)($, {+ }), /* @__PURE__ */ (0, C.jsx)(Z, {ref: n,iconOnly: !0,- leadingIcon: Cu,+ leadingIcon: Of,"aria-label": "更多扫描与采集方式","aria-haspopup": "dialog","aria-expanded": r,- ...kg(e),+ ...Ry(e),onClick: () => {e || i(!0);}})]- }), /* @__PURE__ */ (0, S.jsx)(_h, {+ }), /* @__PURE__ */ (0, C.jsx)(N_, {triggerRef: n,isOpen: r,onOpenChange: i,placement: "bottom end",offset: 4,- className: c_,- children: /* @__PURE__ */ (0, S.jsx)(xh, {+ className: wx,+ children: /* @__PURE__ */ (0, C.jsx)(L_, {"aria-label": "更多扫描与采集方式",className: "flex w-52 flex-col gap-1 outline-none",- children: A_.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, S.jsxs)("button", {+ children: Tw.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, C.jsxs)("button", {type: "button",- className: j_,+ className: Ew,onClick: () => a(n),- children: [/* @__PURE__ */ (0, S.jsx)(t, {+ children: [/* @__PURE__ */ (0, C.jsx)(t, {"aria-hidden": !0,className: "size-4 shrink-0"}), e]@@ -22517,52 +29282,52 @@ function F_({ busy: e, onRun: t }) {})})] });}-function I_({ state: e, problem: t, settled: n, onRetry: r }) {- let i = n_(e), a = e.status === "failed" && !!e.retryable_asset_ids?.length, o = e_(e.notes || {});- return /* @__PURE__ */ (0, S.jsxs)("div", {+function jw({ state: e, problem: t, settled: n, onRetry: r }) {+ let i = bw(e), a = e.status === "failed" && !!e.retryable_asset_ids?.length, o = vw(e.notes || {});+ return /* @__PURE__ */ (0, C.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- e.status === "running" && e.stalled ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ e.status === "running" && e.stalled ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "warning",title: "处理较慢",- children: N_+ children: Ow}) : null,- t || e.status === "failed" ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ t || e.status === "failed" ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",- extra: /* @__PURE__ */ (0, S.jsxs)("div", {+ extra: /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col items-start gap-3 pt-1",- children: [a ? /* @__PURE__ */ (0, S.jsx)($, {+ children: [a ? /* @__PURE__ */ (0, C.jsx)(Z, {variant: "secondary",size: "small",onClick: r,children: "重试未完成项"- }) : null, i ? /* @__PURE__ */ (0, S.jsxs)(E_, {+ }) : null, i ? /* @__PURE__ */ (0, C.jsxs)(Wx, {summary: i.label,- children: [/* @__PURE__ */ (0, S.jsx)("ul", {+ children: [/* @__PURE__ */ (0, C.jsx)("ul", {className: "flex max-h-96 flex-col gap-2 overflow-y-auto",- children: i.items.map((e) => /* @__PURE__ */ (0, S.jsxs)("li", {+ children: i.items.map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {className: "flex flex-col gap-0.5",children: [- e.href ? /* @__PURE__ */ (0, S.jsx)("a", {+ e.href ? /* @__PURE__ */ (0, C.jsx)("a", {href: e.href,className: "text-body-2-medium underline-offset-4 hover:underline",children: e.label- }) : /* @__PURE__ */ (0, S.jsx)("span", {+ }) : /* @__PURE__ */ (0, C.jsx)("span", {className: "text-body-2-medium",children: e.label}),- /* @__PURE__ */ (0, S.jsx)("span", {+ /* @__PURE__ */ (0, C.jsx)("span", {className: "text-caption-1-regular",children: e.note}),- e.hint ? /* @__PURE__ */ (0, S.jsx)("code", {+ e.hint ? /* @__PURE__ */ (0, C.jsx)("code", {className: "text-caption-1-regular break-all",children: e.hint}) : null]}, e.key))- }), i.footnote ? /* @__PURE__ */ (0, S.jsx)("p", {+ }), i.footnote ? /* @__PURE__ */ (0, C.jsx)("p", {className: "text-caption-1-regular break-all",children: i.footnote}) : null]@@ -22570,45 +29335,45 @@ function I_({ state: e, problem: t, settled: n, onRetry: r }) {}),children: t || e.error || "处理未完成,请重试"}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ n?.status === "complete" ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "success",title: "处理完成",- children: P_(n)+ children: kw(n)}) : null,- e.status !== "running" && o ? /* @__PURE__ */ (0, S.jsxs)(Pf, {+ e.status !== "running" && o ? /* @__PURE__ */ (0, C.jsxs)(Ym, {tone: "neutral",children: [o, e.issues_log ? ` 完整记录:${e.issues_log}` : ""]}) : null]});}-function L_(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = k_(e), o = dt({- mutationFn: (e) => jf(Wg, e),+function Mw(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = ww(e), o = ut({+ mutationFn: (e) => Km(cw, e),onSuccess: (e) => {- a(), Lf.setQueryData(Gg, e), Lf.invalidateQueries({ queryKey: Gg });+ a(), Qm.setQueryData(lw, e), Qm.invalidateQueries({ queryKey: lw });}});- (0, x.useEffect)(() => {+ (0, S.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = o.error ? kf(o.error) : r.isError ? r.data ? Xg : kf(r.error) : "", l = o.isPending || s.status === "running", u = s.status === "failed" && !!s.retryable_asset_ids?.length, d = t_(s), f = (e) => {+ let s = r.data ?? { status: "idle" }, c = o.error ? Wm(o.error) : r.isError ? r.data ? mw : Wm(r.error) : "", l = o.isPending || s.status === "running", u = s.status === "failed" && !!s.retryable_asset_ids?.length, d = yw(s), f = (e) => {l || (o.reset(), o.mutate(e));};- return /* @__PURE__ */ (0, S.jsxs)("div", {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, S.jsxs)(g_, {+ children: [/* @__PURE__ */ (0, C.jsxs)(Px, {title: "扫描与采集",- children: [/* @__PURE__ */ (0, S.jsxs)(v_, { children: [/* @__PURE__ */ (0, S.jsx)("p", {+ children: [/* @__PURE__ */ (0, C.jsxs)(Ix, { children: [/* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: M_- }), s.status === "running" ? /* @__PURE__ */ (0, S.jsx)("div", {+ children: Dw+ }), s.status === "running" ? /* @__PURE__ */ (0, C.jsx)("div", {className: "flex flex-col gap-1.5",- children: s.total ? /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(If, {+ children: s.total ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Zm, {label: d,value: s.checked || 0,max: s.total- }), /* @__PURE__ */ (0, S.jsxs)("p", {+ }), /* @__PURE__ */ (0, C.jsxs)("p", {className: "text-caption-1-regular text-text-secondary",children: [d,@@ -22618,26 +29383,26 @@ function L_(e) {s.total," 个视频"]- })] }) : /* @__PURE__ */ (0, S.jsx)(Nf, { label: d })- }) : null] }), /* @__PURE__ */ (0, S.jsxs)(y_, { children: [- /* @__PURE__ */ (0, S.jsx)(s_, {+ })] }) : /* @__PURE__ */ (0, C.jsx)(Jm, { label: d })+ }) : null] }), /* @__PURE__ */ (0, C.jsxs)(Lx, { children: [+ /* @__PURE__ */ (0, C.jsx)(Nx, {href: "/scraping",size: "small",- trailingIcon: wu,+ trailingIcon: kf,children: "来源和凭证"}),- s.candidates ? /* @__PURE__ */ (0, S.jsx)(s_, {+ s.candidates ? /* @__PURE__ */ (0, C.jsx)(Nx, {href: "/review",size: "small",- trailingIcon: wu,+ trailingIcon: kf,children: "复核资料"}) : null,- u ? null : /* @__PURE__ */ (0, S.jsx)(F_, {+ u ? null : /* @__PURE__ */ (0, C.jsx)(Aw, {busy: l,onRun: f})] })]- }), /* @__PURE__ */ (0, S.jsx)(I_, {+ }), /* @__PURE__ */ (0, C.jsx)(jw, {state: s,problem: c,settled: i,@@ -22652,14 +29417,14 @@ function L_(e) {}//#endregion//#region src/react/library-processing/library-processing-notice.tsx-var R_ = {+var Nw = {gray: "flex flex-wrap items-center justify-between gap-3 rounded-2xl border border-separator-border px-4 py-3 text-text-secondary",warning: "flex flex-wrap items-center justify-between gap-3 rounded-2xl border border-separator-border bg-status-yellow-background px-4 py-3 text-status-yellow-text",error: "flex flex-wrap items-center justify-between gap-3 rounded-2xl border border-separator-border bg-background-tertiary-error px-4 py-3 text-text-error-primary"};-function z_({ value: e, max: t }) {+function Pw({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));- return /* @__PURE__ */ (0, S.jsxs)("svg", {+ return /* @__PURE__ */ (0, C.jsxs)("svg", {role: "progressbar","aria-label": "任务完成率","aria-valuemin": 0,@@ -22668,13 +29433,13 @@ function z_({ value: e, max: t }) {viewBox: "0 0 32 32",fill: "none",className: "size-6 shrink-0 -rotate-90 stroke-current",- children: [/* @__PURE__ */ (0, S.jsx)("circle", {+ children: [/* @__PURE__ */ (0, C.jsx)("circle", {cx: "16",cy: "16",r: "13",strokeWidth: "4",className: "opacity-25"- }), /* @__PURE__ */ (0, S.jsx)("circle", {+ }), /* @__PURE__ */ (0, C.jsx)("circle", {cx: "16",cy: "16",r: "13",@@ -22685,73 +29450,73 @@ function z_({ value: e, max: t }) {})]});}-function B_(e) {- let { job: t } = k_(e), n = t.data, r = t.isError ? n ? Xg : kf(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";+function Fw(e) {+ let { job: t } = ww(e), n = t.data, r = t.isError ? n ? mw : Wm(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";if (!r && !o && !a) return null;- let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : t_(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? Lu : Au;- return /* @__PURE__ */ (0, S.jsxs)("aside", {+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : yw(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? Kf : Rf;+ return /* @__PURE__ */ (0, C.jsxs)("aside", {role: a ? "alert" : "status",- className: R_[s],- children: [/* @__PURE__ */ (0, S.jsxs)("div", {+ className: Nw[s],+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {className: "flex min-w-0 items-center gap-3",- children: [o && l ? /* @__PURE__ */ (0, S.jsx)(z_, {+ children: [o && l ? /* @__PURE__ */ (0, C.jsx)(Pw, {value: c,max: l- }) : /* @__PURE__ */ (0, S.jsx)(d, {+ }) : /* @__PURE__ */ (0, C.jsx)(d, {"aria-hidden": !0,className: "size-5 shrink-0"- }), /* @__PURE__ */ (0, S.jsx)("p", {+ }), /* @__PURE__ */ (0, C.jsx)("p", {className: "min-w-0 text-body-2-regular",children: u})]- }), /* @__PURE__ */ (0, S.jsx)(s_, {+ }), /* @__PURE__ */ (0, C.jsx)(Nx, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: wu,+ trailingIcon: kf,children: r || a ? "查看并处理" : "查看进度"})]});}//#endregion//#region src/react/quality-goals/quality-goals.ts-var V_ = "/api/quality-goals?limit=200", H_ = ["quality-goals"], U_ = (e) => Af(V_, e);-async function W_(e) {- await Lf.fetchQuery({- queryKey: H_,- queryFn: () => U_(e)+var Iw = "/api/quality-goals?limit=200", Lw = ["quality-goals"], Rw = (e) => Gm(Iw, e);+async function zw(e) {+ await Qm.fetchQuery({+ queryKey: Lw,+ queryFn: () => Rw(e)});}-var G_ = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;+var Bw = (e) => e.has_cover ? `/cover?code=${encodeURIComponent(e.code ?? "")}` : `/poster?id=${e.id}&c=4`;//#endregion//#region src/react/quality-goals/quality-goals-page.tsx-function K_({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {+function Vw({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge: s }) {let c = () => i(r.id);- return /* @__PURE__ */ (0, S.jsxs)("li", {+ return /* @__PURE__ */ (0, C.jsxs)("li", {"data-goal-id": r.id,className: "flex min-w-0 flex-col gap-3 rounded-2xl border border-separator-border p-3",- children: [/* @__PURE__ */ (0, S.jsxs)("div", {+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {className: "flex min-w-0 gap-4",- children: [/* @__PURE__ */ (0, S.jsxs)("button", {+ children: [/* @__PURE__ */ (0, C.jsxs)("button", {type: "button",onClick: c,"aria-label": `打开 ${o(r)}`,className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover cursor-pointer place-items-center overflow-hidden rounded-lg bg-black",- children: [/* @__PURE__ */ (0, S.jsx)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",children: "暂无预览"- }), /* @__PURE__ */ (0, S.jsx)("img", {- src: G_(r),+ }), /* @__PURE__ */ (0, C.jsx)("img", {+ src: Bw(r),alt: "",loading: "lazy",onError: (e) => e.currentTarget.remove(),className: "absolute inset-0 size-full object-contain"})]- }), /* @__PURE__ */ (0, S.jsxs)("div", {+ }), /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex min-w-0 flex-col gap-1.5",children: [- /* @__PURE__ */ (0, S.jsx)("h3", {+ /* @__PURE__ */ (0, C.jsx)("h3", {className: "text-title-1-medium text-text-primary",- children: /* @__PURE__ */ (0, S.jsx)("button", {+ children: /* @__PURE__ */ (0, C.jsx)("button", {type: "button","data-middle-truncate": !0,onClick: c,@@ -22759,27 +29524,27 @@ function K_({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadgedangerouslySetInnerHTML: { __html: a(r) }})}),- /* @__PURE__ */ (0, S.jsxs)("p", {+ /* @__PURE__ */ (0, C.jsxs)("p", {className: "flex flex-wrap items-center gap-2 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, S.jsx)("span", {+ /* @__PURE__ */ (0, C.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: s(r.location, r.cost) }}),- /* @__PURE__ */ (0, S.jsx)("span", { children: e[r.location] ?? r.location }),- /* @__PURE__ */ (0, S.jsx)("span", { children: t(r.duration) }),- /* @__PURE__ */ (0, S.jsx)("span", { children: n(r.size ?? 0) })+ /* @__PURE__ */ (0, C.jsx)("span", { children: e[r.location] ?? r.location }),+ /* @__PURE__ */ (0, C.jsx)("span", { children: t(r.duration) }),+ /* @__PURE__ */ (0, C.jsx)("span", { children: n(r.size ?? 0) })]}),- r.reason ? /* @__PURE__ */ (0, S.jsx)("p", {+ r.reason ? /* @__PURE__ */ (0, C.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: r.reason}) : null]})]- }), /* @__PURE__ */ (0, S.jsx)("footer", {+ }), /* @__PURE__ */ (0, C.jsx)("footer", {className: "flex justify-end",- children: /* @__PURE__ */ (0, S.jsx)($, {+ children: /* @__PURE__ */ (0, C.jsx)(Z, {variant: "secondary",size: "small",onClick: c,@@ -22788,21 +29553,21 @@ function K_({ item: r, openItem: i, javTitleHtml: a, javDisplayName: o, srcBadge})]});}-function q_(e) {- let t = ut({- queryKey: H_,- queryFn: ({ signal: e }) => U_(e)+function Hw(e) {+ let t = lt({+ queryKey: Lw,+ queryFn: ({ signal: e }) => Rw(e)}), n = t.data;- if (!n) return /* @__PURE__ */ (0, S.jsx)(Ff, { children: /* @__PURE__ */ (0, S.jsx)(Pf, {+ if (!n) return /* @__PURE__ */ (0, C.jsx)(Xm, { children: /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",title: "读取失败",- children: t.error ? kf(t.error) : "读取高清版目标失败"+ children: t.error ? Wm(t.error) : "读取高清版目标失败"}) });let r = n.items || [];- return r.length ? /* @__PURE__ */ (0, S.jsxs)(Ff, { children: [/* @__PURE__ */ (0, S.jsxs)("p", {+ return r.length ? /* @__PURE__ */ (0, C.jsxs)(Xm, { children: [/* @__PURE__ */ (0, C.jsxs)("p", {className: "text-body-2-regular text-text-secondary",children: [- /* @__PURE__ */ (0, S.jsx)("strong", {+ /* @__PURE__ */ (0, C.jsx)("strong", {className: "text-title-2-semibold text-text-primary",children: "待升级"}),@@ -22810,127 +29575,39 @@ function q_(e) {n.total," 部作品"]- }), /* @__PURE__ */ (0, S.jsx)("ul", {+ }), /* @__PURE__ */ (0, C.jsx)("ul", {className: "card-grid gap-5",- children: r.map((t) => /* @__PURE__ */ (0, S.jsx)(K_, {+ children: r.map((t) => /* @__PURE__ */ (0, C.jsx)(Vw, {item: t,...e}, t.id))- })] }) : /* @__PURE__ */ (0, S.jsx)(Ff, { children: /* @__PURE__ */ (0, S.jsx)(Mf, {- icon: Gu,+ })] }) : /* @__PURE__ */ (0, C.jsx)(Xm, { children: /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: ap,title: "没有标记中的高清版目标",children: "现有版本都已满足条件,或还没有加入追踪。"}) });}//#endregion-//#region src/react/boardui/components/foundations/icons/chevrons.tsx-function J_(e) {- return /* @__PURE__ */ (0, S.jsx)("svg", {- viewBox: "0 0 16 16",- fill: "none",- "aria-hidden": !0,- ...e,- children: /* @__PURE__ */ (0, S.jsx)("path", {- d: "M4 7L7.29289 10.2929C7.68342 10.6834 8.31658 10.6834 8.70711 10.2929L12 7",- stroke: "currentColor",- strokeWidth: "2",- strokeLinecap: "round"- })- });-}-//#endregion-//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts-function Y_(e, t, n) {- (0, x.useEffect)(() => {- if (!e) return;- let r = (e) => {- let r = e.target;- n.some((e) => e.current?.contains(r)) || t();- };- return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);- }, [- e,- t,- n- ]);-}-function X_(e, t) {- let n = (0, x.useRef)(!1);- return (0, x.useEffect)(() => {- if (!e) return;- let r = (e) => {- t.current?.contains(e.target) && (n.current = !0, setTimeout(() => {- n.current = !1;- }, 400));- };- return document.addEventListener("pointerdown", r, !0), () => document.removeEventListener("pointerdown", r, !0);- }, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;-}-//#endregion-//#region src/react/boardui/components/base/select/select.tsx-var Z_ = (0, x.createContext)("md");-function Q_({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {- let l = (0, x.useRef)(null), u = (0, x.useRef)(null), [d, f] = (0, x.useState)(!1);- Y_(d, () => f(!1), [l, u]);- let p = X_(d, l);- return /* @__PURE__ */ (0, S.jsx)(qh, {- ref: s,- ...c,- isOpen: d,- onOpenChange: (e) => p(e) && f(e),- className: Z("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsxs)(Dp, {- ref: l,- className: Z("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, S.jsx)(Zh, {- className: Z("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),- children: o- }), /* @__PURE__ */ (0, S.jsx)(J_, { className: Z("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, S.jsx)(_h, {- ref: u,- isNonModal: !0,- offset: 4,- className: Z(l_, c_, "p-2", n),- children: /* @__PURE__ */ (0, S.jsx)(nh, {- items: a,- className: Z(u_, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, S.jsx)(Z_.Provider, {- value: r,- children: i- })- })- })] })- });-}-function $_({ className: e, children: t, ...n }) {- let r = (0, x.useContext)(Z_);- return /* @__PURE__ */ (0, S.jsx)(oh, {- ...n,- className: (t) => Z(d_, 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/scraping/scraping.ts-var ev = "/api/scraping", tv = "/api/scraping/settings", nv = "/api/scraping/check", rv = "/api/scraping/cover", iv = ["scraping"], av = ["scraping", "cover"], ov = 2e3, sv = (e) => Af(ev, e), cv = (e) => Af(rv, e);-async function lv(e) {- await Promise.all([Lf.fetchQuery({- queryKey: iv,- queryFn: () => sv(e)- }), Lf.fetchQuery({- queryKey: av,- queryFn: () => cv(e)+var Uw = "/api/scraping", Ww = "/api/scraping/settings", Gw = "/api/scraping/check", Kw = "/api/scraping/cover", qw = ["scraping"], Jw = ["scraping", "cover"], Yw = 2e3, Xw = (e) => Gm(Uw, e), Zw = (e) => Gm(Kw, e);+async function Qw(e) {+ await Promise.all([Qm.fetchQuery({+ queryKey: qw,+ queryFn: () => Xw(e)+ }), Qm.fetchQuery({+ queryKey: Jw,+ queryFn: () => Zw(e)})]);}-function uv(e, t) {+function $w(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.message ? `。${e.message}` : "");}//#endregion//#region src/react/scraping/scraping-page.tsx-var dv = [["peach", "Peach 代理"], ["direct", "直接连接"]], fv = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];-function pv({ source: e }) {- return /* @__PURE__ */ (0, S.jsx)("img", {- src: i({ source: e }),+var eT = [["peach", "Peach 代理"], ["direct", "直接连接"]], tT = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];+function nT({ source: e }) {+ return /* @__PURE__ */ (0, C.jsx)("img", {+ src: a({ source: e }),alt: "",width: 16,height: 16,@@ -22939,13 +29616,13 @@ function pv({ source: e }) {className: "size-4 shrink-0 rounded-sm object-contain"});}-function mv({ source: e, toast: t }) {- let [n, r] = (0, x.useState)(e.network), [i, a] = (0, x.useState)(""), [o, s] = (0, x.useState)(""), [c, l] = (0, x.useState)(fv[0][0]), [u, d] = (0, x.useState)(""), [f, p] = (0, x.useState)(""), m = (0, x.useRef)(null);+function rT({ source: e, toast: t }) {+ let [n, r] = (0, S.useState)(e.network), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(tT[0][0]), [u, d] = (0, S.useState)(""), [f, p] = (0, S.useState)(""), m = (0, S.useRef)(null);function h() {a(""), s(""), d(""), p(""), m.current && (m.current.value = "");}- let g = dt({- mutationFn: (t) => jf(tv, {+ let g = ut({+ mutationFn: (t) => Km(Ww, {source: e.source,network: n,cookie: i,@@ -22953,16 +29630,16 @@ function mv({ source: e, toast: t }) {revoke: t}),onSuccess: (e, n) => {- Lf.setQueryData(iv, (t) => t && {+ Qm.setQueryData(qw, (t) => t && {...t,sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)}), h(), t(n ? "Cookie 已撤销" : "来源设置已保存");}- }), _ = dt({ mutationFn: () => jf(nv, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {+ }), _ = ut({ mutationFn: () => Km(Gw, { source: e.source }) }), v = g.isPending || _.isPending, y = (e) => {e.preventDefault(), !v && (_.reset(), g.mutate(!1));}, b = () => {v || (_.reset(), g.mutate(!0));- }, C = () => {+ }, x = () => {v || (g.reset(), _.mutate());};async function w(e) {@@ -22982,84 +29659,84 @@ function mv({ source: e, toast: t }) {p("Cookie 文件未读取,请重新选择");}}- let T = f || (g.error ? kf(g.error) : "") || (_.error ? kf(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || !!T || E.length > 0;- return /* @__PURE__ */ (0, S.jsxs)(g_, {+ let T = f || (g.error ? Wm(g.error) : "") || (_.error ? Wm(_.error) : ""), E = _.data?.results ?? [], D = n === "peach" || e.accepts_cookie || !!T || E.length > 0;+ return /* @__PURE__ */ (0, C.jsxs)(Px, {title: e.label,onSubmit: y,- aside: /* @__PURE__ */ (0, S.jsxs)("span", {+ aside: /* @__PURE__ */ (0, C.jsxs)("span", {className: "flex min-w-0 items-center gap-1",- children: [/* @__PURE__ */ (0, S.jsx)(pv, { source: e.source }), /* @__PURE__ */ (0, S.jsx)(C_, {+ children: [/* @__PURE__ */ (0, C.jsx)(nT, { source: e.source }), /* @__PURE__ */ (0, C.jsx)(Vx, {href: e.login,children: e.login})]}),children: [- /* @__PURE__ */ (0, S.jsx)(__, { children: /* @__PURE__ */ (0, S.jsx)(h_, {+ /* @__PURE__ */ (0, C.jsx)(Fx, { children: /* @__PURE__ */ (0, C.jsx)(jx, {label: "连接方式",- children: /* @__PURE__ */ (0, S.jsx)(Q_, {+ children: /* @__PURE__ */ (0, C.jsx)(qC, {"aria-label": "连接方式",selectedKey: n,onSelectionChange: (e) => {e !== null && r(String(e));},- children: dv.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)($_, {+ children: eT.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(JC, {id: e,children: t}, e))})}) }),- D ? /* @__PURE__ */ (0, S.jsxs)(v_, {+ D ? /* @__PURE__ */ (0, C.jsxs)(Ix, {divided: !0,children: [- n === "peach" ? /* @__PURE__ */ (0, S.jsx)("span", {+ n === "peach" ? /* @__PURE__ */ (0, C.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, S.jsx)(s_, {+ children: /* @__PURE__ */ (0, C.jsx)(Nx, {href: "/configuration#peachProxy",size: "small",- trailingIcon: wu,+ trailingIcon: kf,children: "配置 Peach 代理"})}) : null,- e.accepts_cookie ? /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [- /* @__PURE__ */ (0, S.jsx)("p", {+ e.accepts_cookie ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [+ /* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: e.cookie_saved ? "Cookie 已保存,登录是否有效请在抓取时确认。" : "需要登录时,任选一种方式提供 Cookie。"}),- /* @__PURE__ */ (0, S.jsx)(Rh, {+ /* @__PURE__ */ (0, C.jsx)(ev, {"aria-label": "提供 Cookie 的方式(二选一)",value: c,onChange: (e) => {l(e), h();},className: "flex flex-wrap gap-1",- children: fv.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(zh, {+ children: tT.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(tv, {value: e,className: "flex h-8 cursor-pointer items-center rounded-lg px-3 text-body-2-medium text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary",children: t}, e))}),- c === "paste" ? /* @__PURE__ */ (0, S.jsx)(Dg, {+ c === "paste" ? /* @__PURE__ */ (0, C.jsx)(Iy, {type: "password",label: "Cookie",autoComplete: "off",value: i,onChange: a- }) : /* @__PURE__ */ (0, S.jsxs)("div", {+ }) : /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, S.jsx)(S_, { children: "Netscape Cookie 文件(.txt)" }),- /* @__PURE__ */ (0, S.jsxs)("div", {+ /* @__PURE__ */ (0, C.jsx)(Bx, { children: "Netscape Cookie 文件(.txt)" }),+ /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-wrap items-center gap-3",- children: [/* @__PURE__ */ (0, S.jsx)($, {+ children: [/* @__PURE__ */ (0, C.jsx)(Z, {variant: "secondary",onClick: () => m.current?.click(),children: "选择文件"- }), /* @__PURE__ */ (0, S.jsx)("span", {+ }), /* @__PURE__ */ (0, C.jsx)("span", {className: "min-w-0 text-body-2-regular break-all text-text-secondary",children: u || "未选择文件"})]}),- /* @__PURE__ */ (0, S.jsx)("input", {+ /* @__PURE__ */ (0, C.jsx)("input", {ref: m,type: "file",accept: ".txt",@@ -23073,47 +29750,47 @@ function mv({ source: e, toast: t }) {]})] }) : null,- T ? /* @__PURE__ */ (0, S.jsx)(x_, { children: T }) : null,- E.map((t) => /* @__PURE__ */ (0, S.jsx)(Pf, {+ T ? /* @__PURE__ */ (0, C.jsx)(zx, { children: T }) : null,+ E.map((t) => /* @__PURE__ */ (0, C.jsx)(Ym, {tone: t.ok ? "success" : "error",- children: uv(t, e.label)+ children: $w(t, e.label)}, t.label))]}) : null,- /* @__PURE__ */ (0, S.jsxs)(y_, { children: [- e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, S.jsx)($, {+ /* @__PURE__ */ (0, C.jsxs)(Lx, { children: [+ e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, C.jsx)(Z, {variant: "secondary",onClick: b,- ...kg(v),+ ...Ry(v),children: "撤销 Cookie"}) : null,- /* @__PURE__ */ (0, S.jsx)($, {+ /* @__PURE__ */ (0, C.jsx)(Z, {variant: "secondary",- onClick: C,- ...kg(v),+ onClick: x,+ ...Ry(v),children: "检查连接"}),- /* @__PURE__ */ (0, S.jsx)($, {+ /* @__PURE__ */ (0, C.jsx)(Z, {type: "submit",- ...kg(v),+ ...Ry(v),children: "保存"})] })]});}-function hv({ toast: e }) {- let [t, n] = (0, x.useState)(""), [r, i] = (0, x.useState)(!1), [a, o] = (0, x.useState)(null), s = ut({- queryKey: av,- queryFn: ({ signal: e }) => cv(e),- refetchInterval: (e) => e.state.data?.status === "running" && ov- }), c = dt({- mutationFn: () => jf(rv, { code: t }),+function iT({ toast: e }) {+ let [t, n] = (0, S.useState)(""), [r, i] = (0, S.useState)(!1), [a, o] = (0, S.useState)(null), s = lt({+ queryKey: Jw,+ queryFn: ({ signal: e }) => Zw(e),+ refetchInterval: (e) => e.state.data?.status === "running" && Yw+ }), c = ut({+ mutationFn: () => Km(Kw, { code: t }),onSuccess: () => {- i(!0), o(null), Lf.invalidateQueries({ queryKey: av });+ i(!0), o(null), Qm.invalidateQueries({ queryKey: Jw });}}), l = (s.data?.status ?? "idle") === "running";- (0, x.useEffect)(() => {+ (0, S.useEffect)(() => {let t = s.data;if (t) {if (t.status === "running") {@@ -23129,16 +29806,16 @@ function hv({ toast: e }) {]);let u = (e) => {e.preventDefault(), !(l || c.isPending || !t.trim()) && c.mutate();- }, d = c.error ? kf(c.error) : a?.status === "failed" ? a.error || "采集未取得" : "";- return /* @__PURE__ */ (0, S.jsx)(g_, {+ }, d = c.error ? Wm(c.error) : a?.status === "failed" ? a.error || "采集未取得" : "";+ return /* @__PURE__ */ (0, C.jsx)(Px, {title: "高清封面",onSubmit: u,- children: /* @__PURE__ */ (0, S.jsxs)(v_, { children: [- /* @__PURE__ */ (0, S.jsxs)("div", {+ children: /* @__PURE__ */ (0, C.jsxs)(Ix, { children: [+ /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-wrap items-end gap-2",- children: [/* @__PURE__ */ (0, S.jsx)("div", {+ children: [/* @__PURE__ */ (0, C.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, S.jsx)(Dg, {+ children: /* @__PURE__ */ (0, C.jsx)(Iy, {"aria-label": "馆藏番号",isRequired: !0,isDisabled: l,@@ -23146,58 +29823,58 @@ function hv({ toast: e }) {onChange: n,placeholder: "输入馆藏番号,如 ABW-232"})- }), /* @__PURE__ */ (0, S.jsx)($, {+ }), /* @__PURE__ */ (0, C.jsx)(Z, {type: "submit",disabled: !t.trim(),- ...kg(l || c.isPending),+ ...Ry(l || c.isPending),children: "抓取封面"})]}),- l ? /* @__PURE__ */ (0, S.jsx)(Nf, { label: "正在抓取封面" }) : null,- d ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ l ? /* @__PURE__ */ (0, C.jsx)(Jm, { label: "正在抓取封面" }) : null,+ d ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",children: d}) : null,- a?.status === "complete" ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ a?.status === "complete" ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "success",children: a.result || "封面采集完成"}) : null] })});}-function gv({ toast: e }) {- let t = ut({- queryKey: iv,- queryFn: ({ signal: e }) => sv(e)+function aT({ toast: e }) {+ let t = lt({+ queryKey: qw,+ queryFn: ({ signal: e }) => Xw(e)}), n = t.data;- return n ? /* @__PURE__ */ (0, S.jsxs)(Ff, { children: [- /* @__PURE__ */ (0, S.jsx)("p", {+ return n ? /* @__PURE__ */ (0, C.jsxs)(Xm, { children: [+ /* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "高清图片可能需要代理才能下载,请先检查连接。"}),- /* @__PURE__ */ (0, S.jsx)(hv, { toast: e }),- (n.sources || []).map((t) => /* @__PURE__ */ (0, S.jsx)(mv, {+ /* @__PURE__ */ (0, C.jsx)(iT, { toast: e }),+ (n.sources || []).map((t) => /* @__PURE__ */ (0, C.jsx)(rT, {source: t,toast: e}, t.source))- ] }) : /* @__PURE__ */ (0, S.jsx)(Ff, { children: /* @__PURE__ */ (0, S.jsx)(Pf, {+ ] }) : /* @__PURE__ */ (0, C.jsx)(Xm, { children: /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",title: "读取失败",- children: t.error ? kf(t.error) : "读取采集来源失败"+ children: t.error ? Wm(t.error) : "读取采集来源失败"}) });}//#endregion//#region src/configuration-endpoints.ts-var _v = "/api/configuration", vv = "/api/pick-folder", yv = ["configuration"], bv = (e) => Af(_v, e);-async function xv(e) {- await Lf.fetchQuery({- queryKey: yv,- queryFn: () => bv(e)+var oT = "/api/configuration", sT = "/api/pick-folder", cT = ["configuration"], lT = (e) => Gm(oT, e);+async function uT(e) {+ await Qm.fetchQuery({+ queryKey: cT,+ queryFn: () => lT(e)});}//#endregion//#region src/react/boardui/components/base/switch/switch.tsx-var Sv = wf({+var dT = zm({sm: {track: "h-4 w-7",trackRadius: {@@ -23259,27 +29936,27 @@ var Sv = wf({}}});-function Cv({ state: e, size: t = "md", shape: n = "pill" }) {- let r = Sv[t];- return /* @__PURE__ */ (0, S.jsx)("span", {+function fT({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = dT[t];+ return /* @__PURE__ */ (0, C.jsx)("span", {"aria-hidden": !0,- className: Z("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Z("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, S.jsx)("span", {- className: Z("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, S.jsx)("span", { className: Z("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: Y("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? Y("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, C.jsx)("span", {+ className: Y("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, C.jsx)("span", { className: Y("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 wv({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, S.jsx)(eg, {+function pT({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, C.jsx)(gv, {ref: i,...a,- className: (t) => Z("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, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(Cv, {+ className: (t) => Y("group inline-flex items-center gap-2 select-none", t.isDisabled ? "cursor-not-allowed" : "cursor-pointer", typeof e == "function" ? e(t) : e),+ children: (e) => /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(fT, {state: e,size: n,shape: r- }), t != null && t !== !1 && /* @__PURE__ */ (0, S.jsx)("span", {+ }), t != null && t !== !1 && /* @__PURE__ */ (0, C.jsx)("span", {className: "text-body-medium text-text-primary",children: t})] })@@ -23287,48 +29964,48 @@ function wv({ className: e, children: t, size: n = "md", shape: r = "pill", ref:}//#endregion//#region src/react/settings/general-settings.tsx-function Tv({ data: e, receipt: t }) {- return e.startup ? /* @__PURE__ */ (0, S.jsx)(Ev, {+function mT({ data: e, receipt: t }) {+ return e.startup ? /* @__PURE__ */ (0, C.jsx)(hT, {startup: e.startup,receipt: t}) : null;}-function Ev({ startup: e, receipt: t }) {- let [n, r] = (0, x.useState)(e.enabled), [i, a] = (0, x.useState)(e.silent), [o, s] = (0, x.useState)(e.desktop), c = Og(), l = e.available && !e.desktop_message;- return /* @__PURE__ */ (0, S.jsxs)(g_, {+function hT({ startup: e, receipt: t }) {+ let [n, r] = (0, S.useState)(e.enabled), [i, a] = (0, S.useState)(e.silent), [o, s] = (0, S.useState)(e.desktop), c = Ly(), l = e.available && !e.desktop_message;+ return /* @__PURE__ */ (0, C.jsxs)(Px, {title: "开机自启",onSubmit: (r) => {- r.preventDefault(), e.available && c.run("save", (e) => jf("/api/configuration/startup", {+ r.preventDefault(), e.available && c.run("save", (e) => Km("/api/configuration/startup", {enabled: n,silent: i,desktop: o}, "POST", e), () => t("已保存配置"));},children: [- /* @__PURE__ */ (0, S.jsxs)(__, { children: [- /* @__PURE__ */ (0, S.jsx)(h_, {+ /* @__PURE__ */ (0, C.jsxs)(Fx, { children: [+ /* @__PURE__ */ (0, C.jsx)(jx, {label: "开机后启动 Peach",- children: /* @__PURE__ */ (0, S.jsx)(wv, {+ children: /* @__PURE__ */ (0, C.jsx)(pT, {"aria-label": "开机后启动 Peach",isSelected: n,isDisabled: !e.available,onChange: r})}),- /* @__PURE__ */ (0, S.jsx)(h_, {+ /* @__PURE__ */ (0, C.jsx)(jx, {label: "静默启动",description: "静默启动仅显示托盘,开机后启动 Peach 打开时生效。",- children: /* @__PURE__ */ (0, S.jsx)(wv, {+ children: /* @__PURE__ */ (0, C.jsx)(pT, {"aria-label": "静默启动",isSelected: i,isDisabled: !e.available || !n,onChange: a})}),- /* @__PURE__ */ (0, S.jsx)(h_, {+ /* @__PURE__ */ (0, C.jsx)(jx, {label: "在桌面创建快捷方式",description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",- children: /* @__PURE__ */ (0, S.jsx)(wv, {+ children: /* @__PURE__ */ (0, C.jsx)(pT, {"aria-label": "在桌面创建快捷方式",isSelected: o,isDisabled: !l,@@ -23336,81 +30013,22 @@ function Ev({ startup: e, receipt: t }) {})})] }),- e.message || c.error ? /* @__PURE__ */ (0, S.jsxs)(v_, {+ e.message || c.error ? /* @__PURE__ */ (0, C.jsxs)(Ix, {divided: !0,- children: [e.message ? /* @__PURE__ */ (0, S.jsx)(b_, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, S.jsx)(x_, { children: c.error }) : null]+ children: [e.message ? /* @__PURE__ */ (0, C.jsx)(Rx, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, C.jsx)(zx, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, S.jsx)(y_, { children: /* @__PURE__ */ (0, S.jsx)($, {+ /* @__PURE__ */ (0, C.jsx)(Lx, { children: /* @__PURE__ */ (0, C.jsx)(Z, {type: "submit",disabled: !e.available,- ...kg(c.busy === "save"),+ ...Ry(c.busy === "save"),children: "保存配置"}) })]});}//#endregion-//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var Dv = {- md: {- box: "size-4",- glyph: "size-4",- label: "text-body-medium",- gap: "gap-2"- },- sm: {- box: "size-3.5",- glyph: "size-3.5",- label: "text-body-2-medium",- gap: "gap-1.5"- }-};-function Ov({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = Dv[t], c = n || r, l = o && !a;- return /* @__PURE__ */ (0, S.jsx)("span", {- "aria-hidden": !0,- className: Z("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? Z("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : Z("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, S.jsx)("svg", {- viewBox: "0 0 16 16",- fill: "none",- className: s.glyph,- children: r ? /* @__PURE__ */ (0, S.jsx)("path", {- d: "M4.5 8H8H11.5",- stroke: "white",- strokeWidth: "2",- strokeLinecap: "round"- }) : n ? /* @__PURE__ */ (0, S.jsx)("path", {- d: "M4 7.7002L6.64645 10.3466C6.84171 10.5419 7.15829 10.5419 7.35355 10.3466L12 5.7002",- stroke: "white",- strokeWidth: "2",- strokeLinecap: "round",- strokeLinejoin: "round",- pathLength: 1,- className: "animate-check-draw"- }) : null- })- });-}-//#endregion-//#region src/react/boardui/components/base/checkbox/checkbox.tsx-function kv({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = Dv[n];- return /* @__PURE__ */ (0, S.jsx)(Bp, {- ref: r,- ...i,- className: (t) => Z("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, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(Ov, {- state: e,- size: n- }), t != null && /* @__PURE__ */ (0, S.jsx)("span", {- className: Z(a.label, "text-text-primary"),- children: t- })] })- });-}-//#endregion//#region src/react/settings/media-repair.tsx-var Av = {+var gT = {status: "idle",stage: "",checked: 0,@@ -23420,20 +30038,20 @@ var Av = {failed: 0,skipped: 0,message: ""-}, jv = (e) => Number(e).toLocaleString();-function Mv(e) {+}, _T = (e) => Number(e).toLocaleString();+function vT(e) {if (e.status === "running") {- let t = e.total ? `${jv(e.checked)} / ${jv(e.total)}` : "准备中";+ let t = e.total ? `${_T(e.checked)} / ${_T(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${jv(e.repaired)} 部,${jv(e.failed)} 部修不了` : `修好 ${jv(e.repaired)} 部` : "";+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${_T(e.repaired)} 部,${_T(e.failed)} 部修不了` : `修好 ${_T(e.repaired)} 部` : "";}-function Nv({ initial: e }) {- let [t, n] = (0, x.useState)(e || Av), [r, i] = (0, x.useState)(!1), a = Og(), o = t.status === "running";- (0, x.useEffect)(() => {+function yT({ initial: e }) {+ let [t, n] = (0, S.useState)(e || gT), [r, i] = (0, S.useState)(!1), a = Ly(), o = t.status === "running";+ (0, S.useEffect)(() => {let e = new AbortController(), t, r = async () => {try {- let i = await Af("/api/media-repair", e.signal);+ let i = await Gm("/api/media-repair", e.signal);if (e.signal.aborted) return;n(i), i.status === "running" && (t = setTimeout(r, 2e3));} catch {}@@ -23442,42 +30060,42 @@ function Nv({ initial: e }) {e.abort(), clearTimeout(t);};}, [o]);- let s = () => void a.run("start", (e) => jf("/api/media-repair", {+ let s = () => void a.run("start", (e) => Km("/api/media-repair", {allow_metered: r,restart: !0- }, "POST", e), n), c = () => void a.run("stop", (e) => jf("/api/media-repair", { stop: !0 }, "POST", e), n), l = t.total ? Math.round(t.checked / t.total * 100) : 0;- return /* @__PURE__ */ (0, S.jsxs)(g_, {+ }, "POST", e), n), c = () => void a.run("stop", (e) => Km("/api/media-repair", { stop: !0 }, "POST", e), n), l = t.total ? Math.round(t.checked / t.total * 100) : 0;+ return /* @__PURE__ */ (0, C.jsxs)(Px, {title: "播放兼容修复",- children: [/* @__PURE__ */ (0, S.jsxs)(v_, { children: [- /* @__PURE__ */ (0, S.jsx)(b_, { children: "有些 MP4 少了一张时间戳表,浏览器按容器给的时刻排帧,会把其中一部分丢掉,看着就是卡顿。 修好之后这类片子起播直接用原片,不再实时转码。原始文件不改动,修好的头另存在缓存里。" }),- /* @__PURE__ */ (0, S.jsx)(kv, {+ children: [/* @__PURE__ */ (0, C.jsxs)(Ix, { children: [+ /* @__PURE__ */ (0, C.jsx)(Rx, { children: "有些 MP4 少了一张时间戳表,浏览器按容器给的时刻排帧,会把其中一部分丢掉,看着就是卡顿。 修好之后这类片子起播直接用原片,不再实时转码。原始文件不改动,修好的头另存在缓存里。" }),+ /* @__PURE__ */ (0, C.jsx)(Cx, {isSelected: r,isDisabled: o,onChange: i,children: "连 PikPak 上的一起修(要把片子完整拉一遍,走流量)"}),- o ? /* @__PURE__ */ (0, S.jsx)(If, {+ o ? /* @__PURE__ */ (0, C.jsx)(Zm, {label: "修复进度",value: l}) : null,- t.status === "complete" && !t.repaired && !t.failed ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ t.status === "complete" && !t.repaired && !t.failed ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "info",title: "没有要修的",children: "库里的片子都能直接播,没找到缺时间戳表的。"}) : null,- a.error || t.error ? /* @__PURE__ */ (0, S.jsx)(x_, { children: a.error || t.error }) : null- ] }), /* @__PURE__ */ (0, S.jsx)(y_, {- status: Mv(t) ? /* @__PURE__ */ (0, S.jsx)("p", {+ a.error || t.error ? /* @__PURE__ */ (0, C.jsx)(zx, { children: a.error || t.error }) : null+ ] }), /* @__PURE__ */ (0, C.jsx)(Lx, {+ status: vT(t) ? /* @__PURE__ */ (0, C.jsx)("p", {role: "status",- children: Mv(t)+ children: vT(t)}) : null,- children: o ? /* @__PURE__ */ (0, S.jsx)($, {+ children: o ? /* @__PURE__ */ (0, C.jsx)(Z, {onClick: c,- ...kg(a.busy === "stop"),+ ...Ry(a.busy === "stop"),children: "停止"- }) : /* @__PURE__ */ (0, S.jsx)($, {+ }) : /* @__PURE__ */ (0, C.jsx)(Z, {onClick: s,- ...kg(a.busy === "start"),+ ...Ry(a.busy === "start"),children: "开始修复"})})]@@ -23485,42 +30103,42 @@ function Nv({ initial: e }) {}//#endregion//#region src/react/settings/release-updates.tsx-var Pv = /* @__PURE__ */ new Set([+var bT = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), Fv = [+]), xT = [65,67,90-], Iv = 120;-function Lv({ initial: e, initialJob: t }) {- let [n, r] = (0, x.useState)(e), [i, a] = (0, x.useState)(t || {+], ST = 120;+function CT({ initial: e, initialJob: t }) {+ let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(t || {state: "idle",progress: 0- }), [s, c] = (0, x.useState)(""), l = Og(), u = (0, x.useRef)(!1), d = (0, x.useRef)(!0), f = Pv.has(i.state);- (0, x.useEffect)(() => (d.current = !0, () => {+ }), [o, c] = (0, S.useState)(""), l = Ly(), u = (0, S.useRef)(!1), d = (0, S.useRef)(!0), f = bT.has(i.state);+ (0, S.useEffect)(() => (d.current = !0, () => {d.current = !1;}), []);let p = async () => {- let e = await jf("/api/configuration/update-restart", {});+ let e = await Km("/api/configuration/update-restart", {});d.current && a(e);- }, m = () => void o({+ }, m = () => void s({title: "更新已准备好",body: `Peach ${i.version || ""} 将在重启后安装。`,confirmLabel: "立即重启",cancelLabel: "稍后",onConfirm: p});- (0, x.useEffect)(() => {+ (0, S.useEffect)(() => {i.state !== "ready" || u.current || (u.current = !0, m());- }, [i.state]), (0, x.useEffect)(() => {- let e = new AbortController(), t = Pv.has(i.state) ? 1e3 : 3e4, n, o = 0, s = async () => {+ }, [i.state]), (0, S.useEffect)(() => {+ let e = new AbortController(), t = bT.has(i.state) ? 1e3 : 3e4, n, o = 0, s = async () => {try {- let t = await Af("/api/configuration/update-status", e.signal);+ let t = await Gm("/api/configuration/update-status", e.signal);if (e.signal.aborted) return;a(t), o = 0, t.state === "complete" && r((e) => ({...e,@@ -23528,93 +30146,93 @@ function Lv({ initial: e, initialJob: t }) {state: "current",message: "已是最新测试版。"}));- let n = await Af("/api/configuration/automatic-updates", e.signal);+ let n = await Gm("/api/configuration/automatic-updates", e.signal);!e.signal.aborted && n.result && r(n.result);} catch {- o += 1, o >= Iv && !e.signal.aborted && c("尚未连接到 Peach,请检查托盘后刷新页面。");+ o += 1, o >= ST && !e.signal.aborted && c("尚未连接到 Peach,请检查托盘后刷新页面。");}- !e.signal.aborted && o < Iv && (n = setTimeout(s, t));+ !e.signal.aborted && o < ST && (n = setTimeout(s, t));};return n = setTimeout(s, t), () => {e.abort(), clearTimeout(n);};}, [i.state]);let h = () => {- f || (u.current = !1, c(""), l.run("download", (e) => jf("/api/configuration/update", {}, "POST", e), a));- }, g = () => void l.run("check", (e) => Af("/api/configuration/updates", e), r, (t) => {+ f || (u.current = !1, c(""), l.run("download", (e) => Km("/api/configuration/update", {}, "POST", e), a));+ }, g = () => void l.run("check", (e) => Gm("/api/configuration/updates", e), r, (t) => {r({...e,state: "error"- }), l.setError(kf(t));- }), _ = l.error || s, v = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;- return /* @__PURE__ */ (0, S.jsxs)(g_, {+ }), l.setError(Wm(t));+ }), _ = l.error || o, v = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;+ return /* @__PURE__ */ (0, C.jsxs)(Px, {title: "检查更新",children: [- /* @__PURE__ */ (0, S.jsxs)(w_, { children: [- /* @__PURE__ */ (0, S.jsx)(T_, {+ /* @__PURE__ */ (0, C.jsxs)(Hx, { children: [+ /* @__PURE__ */ (0, C.jsx)(Ux, {term: "当前版本",children: n.current_version}),- /* @__PURE__ */ (0, S.jsx)(T_, {+ /* @__PURE__ */ (0, C.jsx)(Ux, {term: "安装方式",children: n.installation}),- /* @__PURE__ */ (0, S.jsx)(T_, {+ /* @__PURE__ */ (0, C.jsx)(Ux, {term: "更新通道",children: n.channel}),- /* @__PURE__ */ (0, S.jsx)(T_, {+ /* @__PURE__ */ (0, C.jsx)(Ux, {term: "最新版本",children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")})] }),- /* @__PURE__ */ (0, S.jsxs)(v_, {+ /* @__PURE__ */ (0, C.jsxs)(Ix, {divided: !0,children: [- n.checked_at ? /* @__PURE__ */ (0, S.jsxs)(b_, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,- n.state === "available" && !_ ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ n.checked_at ? /* @__PURE__ */ (0, C.jsxs)(Rx, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,+ n.state === "available" && !_ ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "info",title: "有可用更新",children: n.message- }) : _ || n.state === "error" ? /* @__PURE__ */ (0, S.jsx)(x_, { children: _ || n.message }) : /* @__PURE__ */ (0, S.jsx)(b_, {+ }) : _ || n.state === "error" ? /* @__PURE__ */ (0, C.jsx)(zx, { children: _ || n.message }) : /* @__PURE__ */ (0, C.jsx)(Rx, {role: "status",children: n.message}),- i.state === "error" ? /* @__PURE__ */ (0, S.jsx)(x_, { children: i.message }) : null,- i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, S.jsxs)("div", {+ i.state === "error" ? /* @__PURE__ */ (0, C.jsx)(zx, { children: i.message }) : null,+ i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, C.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-2",children: [- /* @__PURE__ */ (0, S.jsx)(If, {+ /* @__PURE__ */ (0, C.jsx)(Zm, {label: "更新准备进度:下载、校验、解压、准备安装",value: i.progress,- stops: Fv+ stops: xT}),- /* @__PURE__ */ (0, S.jsxs)(b_, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),- /* @__PURE__ */ (0, S.jsx)(b_, { children: v })+ /* @__PURE__ */ (0, C.jsxs)(Rx, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),+ /* @__PURE__ */ (0, C.jsx)(Rx, { children: v })]}) : null]}),- /* @__PURE__ */ (0, S.jsxs)(y_, {- status: /* @__PURE__ */ (0, S.jsx)(C_, {+ /* @__PURE__ */ (0, C.jsxs)(Lx, {+ status: /* @__PURE__ */ (0, C.jsx)(Vx, {href: n.release_url,children: "查看发布页"}),children: [- i.state === "ready" ? /* @__PURE__ */ (0, S.jsx)($, {+ i.state === "ready" ? /* @__PURE__ */ (0, C.jsx)(Z, {onClick: m,children: "重启安装"}) : null,- n.state === "available" && n.installation === "独立测试包" && i.state !== "ready" ? /* @__PURE__ */ (0, S.jsx)($, {+ n.state === "available" && n.installation === "独立测试包" && i.state !== "ready" ? /* @__PURE__ */ (0, C.jsx)(Z, {onClick: h,- ...kg(f || l.busy === "download"),+ ...Ry(f || l.busy === "download"),children: "下载并安装"}) : null,- /* @__PURE__ */ (0, S.jsx)($, {+ /* @__PURE__ */ (0, C.jsx)(Z, {disabled: f,onClick: g,- ...kg(l.busy === "check"),+ ...Ry(l.busy === "check"),children: "检查更新"})]@@ -23624,139 +30242,139 @@ function Lv({ initial: e, initialJob: t }) {}//#endregion//#region src/react/settings/maintenance-settings.tsx-var Rv = [+var wT = [["6", "每 6 小时"],["24", "每天"],["168", "每周"]];-function zv({ data: e, receipt: t }) {- return /* @__PURE__ */ (0, S.jsxs)("div", {+function TT({ data: e, receipt: t }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-6",children: [- e.automatic_updates ? /* @__PURE__ */ (0, S.jsx)(Bv, {+ e.automatic_updates ? /* @__PURE__ */ (0, C.jsx)(ET, {initial: e.automatic_updates,receipt: t}) : null,- e.updates ? /* @__PURE__ */ (0, S.jsx)(Lv, {+ e.updates ? /* @__PURE__ */ (0, C.jsx)(CT, {initial: e.updates,initialJob: e.update_job}) : null,- /* @__PURE__ */ (0, S.jsx)(Nv, {}),- /* @__PURE__ */ (0, S.jsx)(Vv, { facts: e.facts }),- e.uninstall ? /* @__PURE__ */ (0, S.jsx)(Hv, { uninstall: e.uninstall }) : null+ /* @__PURE__ */ (0, C.jsx)(yT, {}),+ /* @__PURE__ */ (0, C.jsx)(DT, { facts: e.facts }),+ e.uninstall ? /* @__PURE__ */ (0, C.jsx)(OT, { uninstall: e.uninstall }) : null]});}-function Bv({ initial: e, receipt: t }) {- let [n, r] = (0, x.useState)(e.mode), [i, a] = (0, x.useState)(e.interval_hours), o = Og(e.error), s = (r) => {- r.preventDefault(), e.available && o.run("save", (e) => jf("/api/configuration/automatic-updates", {+function ET({ initial: e, receipt: t }) {+ let [n, r] = (0, S.useState)(e.mode), [i, a] = (0, S.useState)(e.interval_hours), o = Ly(e.error), s = (r) => {+ r.preventDefault(), e.available && o.run("save", (e) => Km("/api/configuration/automatic-updates", {mode: n,interval_hours: i}, "POST", e), () => t("已保存配置"));}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行请前往发布页获取新版本。" : "自动更新需要由托盘管理的服务。";- return /* @__PURE__ */ (0, S.jsxs)(g_, {+ return /* @__PURE__ */ (0, C.jsxs)(Px, {title: "自动更新",onSubmit: s,children: [- /* @__PURE__ */ (0, S.jsxs)(__, { children: [- /* @__PURE__ */ (0, S.jsx)(h_, {+ /* @__PURE__ */ (0, C.jsxs)(Fx, { children: [+ /* @__PURE__ */ (0, C.jsx)(jx, {label: "自动检查新版本",- children: /* @__PURE__ */ (0, S.jsx)(wv, {+ children: /* @__PURE__ */ (0, C.jsx)(pT, {"aria-label": "自动检查新版本",isSelected: n !== "off",isDisabled: !e.available,onChange: (e) => r(e ? "check" : "off")})}),- /* @__PURE__ */ (0, S.jsx)(h_, {+ /* @__PURE__ */ (0, C.jsx)(jx, {label: "自动下载更新",- children: /* @__PURE__ */ (0, S.jsx)(wv, {+ children: /* @__PURE__ */ (0, C.jsx)(pT, {"aria-label": "自动下载更新",isSelected: n === "download",isDisabled: !e.available || !e.download_available || n === "off",onChange: (e) => r(e ? "download" : "check")})}),- /* @__PURE__ */ (0, S.jsx)(h_, {+ /* @__PURE__ */ (0, C.jsx)(jx, {label: "检查频率",description: c,- children: /* @__PURE__ */ (0, S.jsx)(Q_, {+ children: /* @__PURE__ */ (0, C.jsx)(qC, {"aria-label": "检查频率",selectedKey: String(i),isDisabled: !e.available,onSelectionChange: (e) => {e !== null && a(Number(e));},- children: Rv.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)($_, {+ children: wT.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(JC, {id: e,children: t}, e))})})] }),- o.error ? /* @__PURE__ */ (0, S.jsx)(v_, {+ o.error ? /* @__PURE__ */ (0, C.jsx)(Ix, {divided: !0,- children: /* @__PURE__ */ (0, S.jsx)(x_, { children: o.error })+ children: /* @__PURE__ */ (0, C.jsx)(zx, { children: o.error })}) : null,- /* @__PURE__ */ (0, S.jsx)(y_, { children: /* @__PURE__ */ (0, S.jsx)($, {+ /* @__PURE__ */ (0, C.jsx)(Lx, { children: /* @__PURE__ */ (0, C.jsx)(Z, {type: "submit",disabled: !e.available,- ...kg(o.busy === "save"),+ ...Ry(o.busy === "save"),children: "保存配置"}) })]});}-function Vv({ facts: e }) {- return /* @__PURE__ */ (0, S.jsx)(g_, {+function DT({ facts: e }) {+ return /* @__PURE__ */ (0, C.jsx)(Px, {title: "运行信息",- children: /* @__PURE__ */ (0, S.jsx)(w_, { children: e.map((e) => /* @__PURE__ */ (0, S.jsxs)(T_, {+ children: /* @__PURE__ */ (0, C.jsx)(Hx, { children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)(Ux, {term: e.term,- children: [e.value, e.download_url ? /* @__PURE__ */ (0, S.jsx)(C_, {+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, C.jsx)(Vx, {href: e.download_url,children: e.download_label}) : null]}, e.term)) })});}-function Hv({ uninstall: e }) {- let [t, n] = (0, x.useState)(!1), [r, i] = (0, x.useState)(""), a = () => void o({+function OT({ uninstall: e }) {+ let [t, n] = (0, S.useState)(!1), [r, i] = (0, S.useState)(""), a = () => void s({title: "卸载 Peach",danger: !0,body: t ? "将退出 Peach,移除程序、开机自启、桌面图标、设置、本地数据库、观看记录、凭据和缓存。原始媒体文件保留。" : "将退出 Peach 并移除程序、开机自启和桌面图标。设置、本地数据库、观看记录与缓存保留。",confirmLabel: "卸载 Peach",onConfirm: async () => {- let e = await jf("/api/configuration/uninstall", {+ let e = await Km("/api/configuration/uninstall", {delete_data: t,confirmation: "卸载 Peach"});i(e.message);}- }), s = r || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];- return /* @__PURE__ */ (0, S.jsxs)(g_, {+ }), o = r || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];+ return /* @__PURE__ */ (0, C.jsxs)(Px, {id: "uninstallPeach",title: "卸载 Peach",- children: [/* @__PURE__ */ (0, S.jsxs)(v_, { children: [- e.available ? /* @__PURE__ */ (0, S.jsx)(b_, { children: "卸载会退出 Peach、移除程序、开机自启和桌面图标。原始媒体文件保留。" }) : null,- /* @__PURE__ */ (0, S.jsx)(kv, {+ children: [/* @__PURE__ */ (0, C.jsxs)(Ix, { children: [+ e.available ? /* @__PURE__ */ (0, C.jsx)(Rx, { children: "卸载会退出 Peach、移除程序、开机自启和桌面图标。原始媒体文件保留。" }) : null,+ /* @__PURE__ */ (0, C.jsx)(Cx, {isSelected: t,isDisabled: !e.full_available || !!r,onChange: n,children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"}),- /* @__PURE__ */ (0, S.jsx)(E_, {+ /* @__PURE__ */ (0, C.jsx)(Wx, {summary: "数据目录",- children: c.map((e) => /* @__PURE__ */ (0, S.jsx)("p", {+ children: c.map((e) => /* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-2-regular break-all text-text-secondary",children: e}, e))})- ] }), /* @__PURE__ */ (0, S.jsx)(y_, {- status: s ? /* @__PURE__ */ (0, S.jsx)("p", {+ ] }), /* @__PURE__ */ (0, C.jsx)(Lx, {+ status: o ? /* @__PURE__ */ (0, C.jsx)("p", {role: r ? "status" : void 0,- children: s+ children: o}) : null,- children: /* @__PURE__ */ (0, S.jsx)($, {+ children: /* @__PURE__ */ (0, C.jsx)(Z, {variant: "danger",disabled: !e.available || !!r,onClick: a,@@ -23767,7 +30385,7 @@ function Hv({ uninstall: e }) {}//#endregion//#region src/react/settings/clouddrive-guide.tsx-var Uv = [+var kT = [{name: "机械硬盘,或内存 8 GB 以内",cache: "10–20 GiB",@@ -23786,37 +30404,37 @@ var Uv = [read: "256 / 128 KB",task: "2 个起步"}-], Wv = [+], AT = [["cache", "缓存上限"],["read", "读取长度(默认 / 最小)"],["task", "同时处理视频"]];-function Gv() {- return /* @__PURE__ */ (0, S.jsxs)("div", {+function jT() {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "@container flex flex-col gap-3",- children: [/* @__PURE__ */ (0, S.jsxs)(b_, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, S.jsx)(C_, {+ children: [/* @__PURE__ */ (0, C.jsxs)(Rx, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, C.jsx)(Vx, {href: "https://www.clouddrive2.com/help.html",children: "挂载帮助"- })] }), /* @__PURE__ */ (0, S.jsxs)(E_, {+ })] }), /* @__PURE__ */ (0, C.jsxs)(Wx, {summary: "CloudDrive 缓存建议",children: [- /* @__PURE__ */ (0, S.jsx)(b_, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,填得越大不一定越快。" }),- /* @__PURE__ */ (0, S.jsx)("ul", {+ /* @__PURE__ */ (0, C.jsx)(Rx, { children: "看缓存放在哪块硬盘上,照那一档填。这是起步值,填得越大不一定越快。" }),+ /* @__PURE__ */ (0, C.jsx)("ul", {"aria-label": "按缓存所在硬盘分档",className: "flex flex-col gap-2",- children: Uv.map((e) => /* @__PURE__ */ (0, S.jsxs)("li", {+ children: kT.map((e) => /* @__PURE__ */ (0, C.jsxs)("li", {className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",- children: [/* @__PURE__ */ (0, S.jsx)("p", {+ children: [/* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-medium text-text-primary",children: e.name- }), /* @__PURE__ */ (0, S.jsx)("dl", {+ }), /* @__PURE__ */ (0, C.jsx)("dl", {className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",- children: Wv.map(([t, n]) => /* @__PURE__ */ (0, S.jsxs)("div", {+ children: AT.map(([t, n]) => /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col",- children: [/* @__PURE__ */ (0, S.jsx)("dt", {+ children: [/* @__PURE__ */ (0, C.jsx)("dt", {className: "text-caption-1-regular text-text-secondary",children: n- }), /* @__PURE__ */ (0, S.jsx)("dd", {+ }), /* @__PURE__ */ (0, C.jsx)("dd", {className: "text-body-regular text-text-primary",children: e[t]})]@@ -23824,17 +30442,17 @@ function Gv() {})]}, e.name))}),- /* @__PURE__ */ (0, S.jsxs)("ul", {+ /* @__PURE__ */ (0, C.jsxs)("ul", {className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",children: [- /* @__PURE__ */ (0, S.jsx)("li", { children: "缓存上限和清理方式填在 CloudDrive「设置」里,清理方式选 LRU。上限不要填 0,系统盘至少留 40 GiB;填完重开设置页确认存住了。" }),- /* @__PURE__ */ (0, S.jsx)("li", { children: "读取长度和下载线程填在每个网盘各自的下载设置里,线程都从 2 开始。" }),- /* @__PURE__ */ (0, S.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })+ /* @__PURE__ */ (0, C.jsx)("li", { children: "缓存上限和清理方式填在 CloudDrive「设置」里,清理方式选 LRU。上限不要填 0,系统盘至少留 40 GiB;填完重开设置页确认存住了。" }),+ /* @__PURE__ */ (0, C.jsx)("li", { children: "读取长度和下载线程填在每个网盘各自的下载设置里,线程都从 2 开始。" }),+ /* @__PURE__ */ (0, C.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })]}),- /* @__PURE__ */ (0, S.jsxs)(b_, { children: [+ /* @__PURE__ */ (0, C.jsxs)(Rx, { children: ["三处缓存分别管什么、这几个值怎么往上调、码率和速度怎么换算、线程上限与直链代理怎么取舍,以及这些起步值的来源,都在",- /* @__PURE__ */ (0, S.jsx)(C_, {+ /* @__PURE__ */ (0, C.jsx)(Vx, {href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",children: "CloudDrive 配置与调优"}),@@ -23846,7 +30464,7 @@ function Gv() {}//#endregion//#region src/react/settings/library-icon-picker.tsx-var Kv = [+var MT = [["", "自动识别"],["hard-drive", "磁盘"],["database", "资料库"],@@ -23890,14 +30508,14 @@ var Kv = [["star", "收藏"],["tags", "主题"]];-function qv(e) {- let t = e === "local" ? "" : a[e];+function NT(e) {+ let t = e === "local" ? "" : o[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}-var Jv = "auto";-function Yv({ value: e, label: t, kind: n = "local", onChange: r }) {- let i = (0, x.useRef)(null), [a, o] = (0, x.useState)(!1), [s, c] = (0, x.useState)(e), [l, u] = qv(n);- return /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)($, {+var PT = "auto";+function FT({ value: e, label: t, kind: n = "local", onChange: r }) {+ let i = (0, S.useRef)(null), [a, o] = (0, S.useState)(!1), [s, c] = (0, S.useState)(e), [l, u] = NT(n);+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Z, {ref: i,variant: "secondary",className: "self-start",@@ -23907,46 +30525,46 @@ function Yv({ value: e, label: t, kind: n = "local", onChange: r }) {onClick: () => {c(e), o(!0);},- children: /* @__PURE__ */ (0, S.jsxs)("span", {+ children: /* @__PURE__ */ (0, C.jsxs)("span", {"data-icon-choice": !0,className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, S.jsx)(O_, { mark: e || l }), ((e) => e && Kv.find(([t]) => t === e)?.[1] || u)(e)]+ children: [/* @__PURE__ */ (0, C.jsx)(Kx, { mark: e || l }), ((e) => e && MT.find(([t]) => t === e)?.[1] || u)(e)]})- }), /* @__PURE__ */ (0, S.jsx)(_h, {+ }), /* @__PURE__ */ (0, C.jsx)(N_, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "bottom start",offset: 4,- className: c_,- children: /* @__PURE__ */ (0, S.jsxs)(xh, {+ className: wx,+ children: /* @__PURE__ */ (0, C.jsxs)(L_, {"aria-label": `${t}候选`,className: "flex w-72 flex-col gap-3 outline-none",children: [- /* @__PURE__ */ (0, S.jsx)(jp, {+ /* @__PURE__ */ (0, C.jsx)(Kh, {slot: "title",className: "px-1 text-body-medium text-text-primary",children: "选择媒体库图标"}),- /* @__PURE__ */ (0, S.jsx)(Rh, {+ /* @__PURE__ */ (0, C.jsx)(ev, {"aria-label": "候选图标",- value: s || Jv,- onChange: (e) => c(e === Jv ? "" : e),+ value: s || PT,+ onChange: (e) => c(e === PT ? "" : e),className: "inline-grid grid-cols-7 gap-1",- children: Kv.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)(zh, {- value: e || Jv,+ children: MT.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(tv, {+ value: e || PT,"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, S.jsx)(O_, { mark: e || l })- }, e || Jv))+ children: /* @__PURE__ */ (0, C.jsx)(Kx, { mark: e || l })+ }, e || PT))}),- /* @__PURE__ */ (0, S.jsxs)("div", {+ /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",- children: [/* @__PURE__ */ (0, S.jsx)($, {+ children: [/* @__PURE__ */ (0, C.jsx)(Z, {variant: "secondary",onClick: () => o(!1),children: "取消"- }), /* @__PURE__ */ (0, S.jsx)($, {+ }), /* @__PURE__ */ (0, C.jsx)(Z, {disabled: s === e,onClick: () => {r(s), o(!1);@@ -23960,9 +30578,9 @@ function Yv({ value: e, label: t, kind: n = "local", onChange: r }) {}//#endregion//#region src/react/settings/media-settings.tsx-var Xv = 8e3;-function Zv({ className: e }) {- return /* @__PURE__ */ (0, S.jsx)("svg", {+var IT = 8e3;+function LT({ className: e }) {+ return /* @__PURE__ */ (0, C.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",fill: "none",@@ -23971,51 +30589,51 @@ function Zv({ className: e }) {strokeLinecap: "round",strokeLinejoin: "round",className: e,- children: /* @__PURE__ */ (0, S.jsx)("use", { href: "#i-folder-search" })+ children: /* @__PURE__ */ (0, C.jsx)("use", { href: "#i-folder-search" })});}-var Qv = [+var RT = [["local", "本地磁盘"],["115", "CloudDrive · 115"],["pikpak", "CloudDrive · PikPak"]-], $v = (e) => Qv.find(([t]) => t === e)?.[1] ?? e, ey = (e) => a[e] || "database", ty = (e = "") => ({+], zT = (e) => RT.find(([t]) => t === e)?.[1] ?? e, BT = (e) => o[e] || "database", VT = (e = "") => ({path: e,location: "local",root: "",library: "",library_icon: ""});-function ny(e) {- let t = e.media_sources?.filter((e) => Qv.some(([t]) => t === e.location));+function HT(e) {+ let t = e.media_sources?.filter((e) => RT.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) => ty(e));+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => VT(e));}-var ry = (e) => !(e instanceof Df) || e.status !== 400 ? null : e.body?.errors ?? null;-function iy({ data: e, receipt: t }) {- return /* @__PURE__ */ (0, S.jsxs)("div", {+var UT = (e) => !(e instanceof Hm) || e.status !== 400 ? null : e.body?.errors ?? null;+function WT({ data: e, receipt: t }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-6",- children: [e.editable ? /* @__PURE__ */ (0, S.jsx)(ay, {+ children: [e.editable ? /* @__PURE__ */ (0, C.jsx)(GT, {data: e,receipt: t- }) : /* @__PURE__ */ (0, S.jsx)(Pf, {+ }) : /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "neutral",title: "只读",children: e.notice- }), /* @__PURE__ */ (0, S.jsx)(sy, { data: e })]+ }), /* @__PURE__ */ (0, C.jsx)(qT, { data: e })]});}-function ay({ data: e, receipt: t }) {- let [n, r] = (0, x.useState)(() => ny(e)), [i, a] = (0, x.useState)(String(e.port)), [o, s] = (0, x.useState)(!1), [c, l] = (0, x.useState)([]), [u, d] = (0, x.useState)(""), [f, p] = (0, x.useState)(""), [m, h] = (0, x.useState)(null), [g, _] = (0, x.useState)(null), [v, y] = (0, x.useState)(null), b = (0, x.useRef)(!1), C = (0, x.useRef)(e.revision), w = (0, x.useRef)([]), T = Og();- (0, x.useLayoutEffect)(() => {+function GT({ data: e, receipt: t }) {+ let [n, r] = (0, S.useState)(() => HT(e)), [i, a] = (0, S.useState)(String(e.port)), [o, s] = (0, S.useState)(!1), [c, l] = (0, S.useState)([]), [u, d] = (0, S.useState)(""), [f, p] = (0, S.useState)(""), [m, h] = (0, S.useState)(null), [g, _] = (0, S.useState)(null), [v, y] = (0, S.useState)(null), b = (0, S.useRef)(!1), x = (0, S.useRef)(e.revision), w = (0, S.useRef)([]), T = Ly();+ (0, S.useLayoutEffect)(() => {g !== null && (w.current[g]?.focus(), _(null));- }, [g]), (0, x.useEffect)(() => {+ }, [g]), (0, S.useEffect)(() => {if (!m) return;- let e = setTimeout(() => location.assign(m.url), Xv);+ let e = setTimeout(() => location.assign(m.url), IT);return () => clearTimeout(e);}, [m]);let E = (e, t) => r((n) => n.map((n, r) => r === e ? {@@ -24026,43 +30644,43 @@ function ay({ data: e, receipt: t }) {for (; r.length <= e;) r.push("");return r[e] = t, r;}), O = () => {- _(n.length), r((e) => [...e, ty()]);+ _(n.length), r((e) => [...e, VT()]);}, k = (e) => {r((t) => t.filter((t, n) => n !== e)), l((t) => t.filter((t, n) => n !== e));}, A = async (e) => {if (!b.current) {b.current = !0, y(e);try {- let { path: t } = await jf(vv, { initial: n[e]?.path ?? "" });+ let { path: t } = await Km(sT, { initial: n[e]?.path ?? "" });t && (E(e, { path: t }), D(e, ""));} catch (t) {- D(e, kf(t));+ D(e, Wm(t));} finally {b.current = !1, y(null);}}- }, ee = (r) => {- r.preventDefault(), p(""), T.run("save", (t) => jf(_v, {- revision: C.current,+ }, j = (r) => {+ r.preventDefault(), p(""), T.run("save", (t) => Km(oT, {+ revision: x.current,media_dirs: n.map((e) => e.path),...e.media_sources ? { media_sources: n } : {},port: i,scan_now: o}, "POST", t), (e) => {- C.current = e.revision, l([]), d(""), t("已保存配置"), h(e);+ x.current = e.revision, l([]), d(""), t("已保存配置"), h(e);}, (e) => {- let t = ry(e);- l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(kf(e));+ let t = UT(e);+ l(t?.media_dirs ?? []), d(t?.port ?? ""), t || p(Wm(e));});};- if (m) return /* @__PURE__ */ (0, S.jsx)(g_, {+ if (m) return /* @__PURE__ */ (0, C.jsx)(Px, {title: "这台电脑",- children: /* @__PURE__ */ (0, S.jsx)(v_, { children: /* @__PURE__ */ (0, S.jsxs)(Pf, {+ children: /* @__PURE__ */ (0, C.jsx)(Ix, { children: /* @__PURE__ */ (0, C.jsxs)(Ym, {tone: "success",title: "配置已保存",children: ["Peach 正在重新启动。稍后自动跳转,或点击",- /* @__PURE__ */ (0, S.jsx)(s_, {+ /* @__PURE__ */ (0, C.jsx)(Nx, {href: m.url,size: "small",children: "进入馆藏"@@ -24071,26 +30689,26 @@ function ay({ data: e, receipt: t }) {]}) })});- let j = n.some((e) => e.location === "115" || e.location === "pikpak"), te = j ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];- return /* @__PURE__ */ (0, S.jsxs)(g_, {+ let M = n.some((e) => e.location === "115" || e.location === "pikpak"), N = M ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];+ return /* @__PURE__ */ (0, C.jsxs)(Px, {title: "这台电脑",- onSubmit: ee,- children: [/* @__PURE__ */ (0, S.jsxs)(v_, { children: [- /* @__PURE__ */ (0, S.jsxs)("div", {+ onSubmit: j,+ children: [/* @__PURE__ */ (0, C.jsxs)(Ix, { children: [+ /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-3",children: [- /* @__PURE__ */ (0, S.jsx)(S_, { children: "媒体文件夹" }),- /* @__PURE__ */ (0, S.jsx)("div", {+ /* @__PURE__ */ (0, C.jsx)(Bx, { children: "媒体文件夹" }),+ /* @__PURE__ */ (0, C.jsx)("div", {role: "group","aria-label": "媒体文件夹",className: "flex flex-col gap-3",- children: n.map((t, r) => /* @__PURE__ */ (0, S.jsxs)("div", {+ children: n.map((t, r) => /* @__PURE__ */ (0, C.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, S.jsxs)("div", {+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {className: "flex items-start gap-2",children: [- /* @__PURE__ */ (0, S.jsx)(Dg, {+ /* @__PURE__ */ (0, C.jsx)(Iy, {className: "min-w-0 flex-1","aria-label": `媒体文件夹 ${r + 1}`,placeholder: "本机文件夹路径",@@ -24103,53 +30721,53 @@ function ay({ data: e, receipt: t }) {isInvalid: !!c[r],hint: c[r] || void 0}),- /* @__PURE__ */ (0, S.jsx)(bg, {- icon: Zv,+ /* @__PURE__ */ (0, C.jsx)(ky, {+ icon: LT,"aria-label": "选择文件夹",onClick: () => void A(r),- ...kg(v === r)+ ...Ry(v === r)}),- n.length > 1 ? /* @__PURE__ */ (0, S.jsx)(bg, {- icon: Eu,+ n.length > 1 ? /* @__PURE__ */ (0, C.jsx)(ky, {+ icon: Pf,"aria-label": "移除这个文件夹",onClick: () => k(r)}) : null]- }), /* @__PURE__ */ (0, S.jsxs)("div", {+ }), /* @__PURE__ */ (0, C.jsxs)("div", {className: "inline-grid grid-cols-1 gap-3 @lg:grid-cols-2",children: [- /* @__PURE__ */ (0, S.jsx)(Dg, {+ /* @__PURE__ */ (0, C.jsx)(Iy, {label: "媒体库名称",maxLength: 80,placeholder: "同名文件夹归入同一个媒体库",value: t.library,onChange: (e) => E(r, { library: e })}),- /* @__PURE__ */ (0, S.jsxs)("div", {+ /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, S.jsx)(S_, { children: "媒体库图标" }), /* @__PURE__ */ (0, S.jsx)(Yv, {+ children: [/* @__PURE__ */ (0, C.jsx)(Bx, { children: "媒体库图标" }), /* @__PURE__ */ (0, C.jsx)(FT, {label: `媒体库图标 ${r + 1}`,value: t.library_icon,kind: t.location,onChange: (e) => E(r, { library_icon: e })})]}),- /* @__PURE__ */ (0, S.jsxs)("div", {+ /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, S.jsx)(S_, { children: "媒体来源" }), /* @__PURE__ */ (0, S.jsx)(Q_, {+ children: [/* @__PURE__ */ (0, C.jsx)(Bx, { children: "媒体来源" }), /* @__PURE__ */ (0, C.jsx)(qC, {"aria-label": `媒体来源 ${r + 1}`,selectedKey: t.location,onSelectionChange: (e) => {e !== null && E(r, { location: String(e) });},- children: Qv.map(([e, t]) => /* @__PURE__ */ (0, S.jsxs)($_, {+ children: RT.map(([e, t]) => /* @__PURE__ */ (0, C.jsxs)(JC, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, S.jsx)(O_, { mark: ey(e) }), t]+ children: [/* @__PURE__ */ (0, C.jsx)(Kx, { mark: BT(e) }), t]}, e))})]}),- e.windows === !1 ? /* @__PURE__ */ (0, S.jsx)(Dg, {+ e.windows === !1 ? /* @__PURE__ */ (0, C.jsx)(Iy, {label: "Windows 中的对应路径",placeholder: "例如 B:\\",value: t.root,@@ -24159,25 +30777,25 @@ function ay({ data: e, receipt: t }) {})]}, r))}),- /* @__PURE__ */ (0, S.jsx)($, {+ /* @__PURE__ */ (0, C.jsx)(Z, {className: "self-start",onClick: O,children: "添加文件夹"})]}),- j ? /* @__PURE__ */ (0, S.jsx)(Gv, {}) : null,- te.map((e) => /* @__PURE__ */ (0, S.jsxs)(b_, { children: [+ M ? /* @__PURE__ */ (0, C.jsx)(jT, {}) : null,+ N.map((e) => /* @__PURE__ */ (0, C.jsxs)(Rx, { children: ["未检测到 ",e.name,"。",- /* @__PURE__ */ (0, S.jsxs)(C_, {+ /* @__PURE__ */ (0, C.jsxs)(Vx, {href: e.download_url,children: ["下载 ", e.name]})] }, e.name)),- e.windows === !1 ? /* @__PURE__ */ (0, S.jsx)(b_, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,- e.port_editable === !1 ? null : /* @__PURE__ */ (0, S.jsx)(Dg, {+ e.windows === !1 ? /* @__PURE__ */ (0, C.jsx)(Rx, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, C.jsx)(Iy, {id: "configPort",label: "本机访问端口",inputMode: "numeric",@@ -24187,66 +30805,66 @@ function ay({ data: e, receipt: t }) {isInvalid: !!u,hint: u || "浏览器地址里冒号后面的数字,一般不用改。"}),- /* @__PURE__ */ (0, S.jsx)(kv, {+ /* @__PURE__ */ (0, C.jsx)(Cx, {isSelected: o,onChange: s,children: "保存后扫描并补全资料"}),- f ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ f ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",title: "没有保存",children: f}) : null- ] }), /* @__PURE__ */ (0, S.jsx)(y_, {+ ] }), /* @__PURE__ */ (0, C.jsx)(Lx, {status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",- children: /* @__PURE__ */ (0, S.jsx)($, {+ children: /* @__PURE__ */ (0, C.jsx)(Z, {type: "submit",- ...kg(T.busy === "save"),+ ...Ry(T.busy === "save"),children: "保存配置"})})]});}-function oy({ online: e }) {- return e === !0 ? /* @__PURE__ */ (0, S.jsxs)("span", {+function KT({ online: e }) {+ return e === !0 ? /* @__PURE__ */ (0, C.jsxs)("span", {"data-mount": "online",className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",- children: [/* @__PURE__ */ (0, S.jsx)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", {"aria-hidden": !0,className: "size-1.5 rounded-full bg-current"}), "在线"]- }) : e === !1 ? /* @__PURE__ */ (0, S.jsxs)("span", {+ }) : e === !1 ? /* @__PURE__ */ (0, C.jsxs)("span", {"data-mount": "offline",className: "inline-flex items-center gap-1.5 text-body-2-medium text-text-error-primary",- children: [/* @__PURE__ */ (0, S.jsx)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", {"aria-hidden": !0,className: "size-1.5 rounded-full bg-current"}), "离线"]- }) : /* @__PURE__ */ (0, S.jsxs)("span", {+ }) : /* @__PURE__ */ (0, C.jsxs)("span", {"data-mount": "unknown",className: "inline-flex items-center gap-1.5 text-body-2-medium text-text-secondary",- children: [/* @__PURE__ */ (0, S.jsx)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", {"aria-hidden": !0,className: "size-1.5 rounded-full bg-current"}), "未检测"]});}-function sy({ data: e }) {- let t = e.media_sources, n = Og();- return t ? /* @__PURE__ */ (0, S.jsxs)(g_, {+function qT({ data: e }) {+ let t = e.media_sources, n = Ly();+ return t ? /* @__PURE__ */ (0, C.jsxs)(Px, {title: "挂载状态",children: [- /* @__PURE__ */ (0, S.jsx)(w_, { children: t.map((e, t) => /* @__PURE__ */ (0, S.jsxs)(T_, {- term: /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(O_, { mark: ey(e.location) }), $v(e.location)] }),- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, S.jsx)(oy, { online: e.online })]+ /* @__PURE__ */ (0, C.jsx)(Hx, { children: t.map((e, t) => /* @__PURE__ */ (0, C.jsxs)(Ux, {+ term: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Kx, { mark: BT(e.location) }), zT(e.location)] }),+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, C.jsx)(KT, { online: e.online })]}, t)) }),- n.error ? /* @__PURE__ */ (0, S.jsx)(v_, {+ n.error ? /* @__PURE__ */ (0, C.jsx)(Ix, {divided: !0,- children: /* @__PURE__ */ (0, S.jsx)(x_, { children: n.error })+ children: /* @__PURE__ */ (0, C.jsx)(zx, { children: n.error })}) : null,- /* @__PURE__ */ (0, S.jsx)(y_, { children: /* @__PURE__ */ (0, S.jsx)($, {- onClick: () => void n.run("refresh", (e) => bv(e), (e) => Lf.setQueryData(yv, e)),- ...kg(n.busy === "refresh"),+ /* @__PURE__ */ (0, C.jsx)(Lx, { children: /* @__PURE__ */ (0, C.jsx)(Z, {+ onClick: () => void n.run("refresh", (e) => lT(e), (e) => Qm.setQueryData(cT, e)),+ ...Ry(n.busy === "refresh"),children: "刷新挂载状态"}) })]@@ -24254,20 +30872,20 @@ function sy({ data: e }) {}//#endregion//#region src/react/settings/access-settings.tsx-var cy = {+var JT = {legacy: "当前使用系统生成的访问口令。你可以设置自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,保持登录时间在登录页选择。"};-function ly({ initial: e, receipt: t }) {- let [n, r] = (0, x.useState)(e), [i, a] = (0, x.useState)(""), [o, s] = (0, x.useState)(""), [c, l] = (0, x.useState)(""), [u, d] = (0, x.useState)(!1), [f, p] = (0, x.useState)({}), m = (0, x.useRef)(null), h = Og(), g = (e) => {+function YT({ initial: e, receipt: t }) {+ let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(""), [o, s] = (0, S.useState)(""), [c, l] = (0, S.useState)(""), [u, d] = (0, S.useState)(!1), [f, p] = (0, S.useState)({}), m = (0, S.useRef)(null), h = Ly(), 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) => jf("/api/configuration/access", {+ h.run("save", (e) => Km("/api/configuration/access", {revision: n.revision,action: u ? "disable" : "set",confirm_disable: u,@@ -24277,28 +30895,28 @@ function ly({ initial: e, receipt: t }) {}, "POST", e), (e) => {r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");}, (e) => {- let t = e instanceof Df ? e.body : null, n = t?.errors || t?.detail?.errors;- n ? p(n) : h.setError(kf(e));+ let t = e instanceof Hm ? e.body : null, n = t?.errors || t?.detail?.errors;+ n ? p(n) : h.setError(Wm(e));});- }, _ = cy[n.mode], v = n.mode !== "locked";- return /* @__PURE__ */ (0, S.jsxs)(g_, {+ }, _ = JT[n.mode], v = n.mode !== "locked";+ return /* @__PURE__ */ (0, C.jsxs)(Px, {title: "访问密码",onSubmit: g,- children: [/* @__PURE__ */ (0, S.jsx)("div", {+ children: [/* @__PURE__ */ (0, C.jsx)("div", {ref: m,- children: /* @__PURE__ */ (0, S.jsxs)(v_, { children: [- _ ? /* @__PURE__ */ (0, S.jsx)(b_, { children: _ }) : null,- n.mode === "open" ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ children: /* @__PURE__ */ (0, C.jsxs)(Ix, { children: [+ _ ? /* @__PURE__ */ (0, C.jsx)(Rx, { children: _ }) : null,+ n.mode === "open" ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "warning",title: "未设置访问密码",children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"}) : null,- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, S.jsx)(kv, {+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, C.jsx)(Cx, {isSelected: u,onChange: d,children: "关闭访问密码,允许能连接到 Peach 的设备直接访问"}) : null,- n.mode === "password" ? /* @__PURE__ */ (0, S.jsx)(Dg, {+ n.mode === "password" ? /* @__PURE__ */ (0, C.jsx)(Iy, {id: "access-current",type: "password",label: "当前访问密码",@@ -24311,7 +30929,7 @@ function ly({ initial: e, receipt: t }) {isInvalid: !!f.current_password,hint: f.current_password}) : null,- v ? /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(Dg, {+ v ? /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Iy, {id: "access-password",type: "password",label: n.mode === "password" ? "新访问密码" : "设置访问密码",@@ -24324,7 +30942,7 @@ function ly({ initial: e, receipt: t }) {validationBehavior: "aria",isInvalid: !u && !!f.password,hint: u ? "关闭访问密码时无需填写。" : f.password || "至少 8 个字符。保存后其他设备需要重新登录。"- }), /* @__PURE__ */ (0, S.jsx)(Dg, {+ }), /* @__PURE__ */ (0, C.jsx)(Iy, {id: "access-confirm",type: "password",label: "确认访问密码",@@ -24338,18 +30956,18 @@ function ly({ initial: e, receipt: t }) {isInvalid: !u && !!f.confirmation,hint: u ? void 0 : f.confirmation})] }) : null,- u ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ u ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "warning",title: "访问范围",children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"}) : null,- h.error ? /* @__PURE__ */ (0, S.jsx)(x_, { children: h.error }) : null+ h.error ? /* @__PURE__ */ (0, C.jsx)(zx, { children: h.error }) : null] })- }), v ? /* @__PURE__ */ (0, S.jsx)(y_, {+ }), v ? /* @__PURE__ */ (0, C.jsx)(Lx, {status: "保存后立即生效。",- children: /* @__PURE__ */ (0, S.jsx)($, {+ children: /* @__PURE__ */ (0, C.jsx)(Z, {type: "submit",- ...kg(h.busy === "save"),+ ...Ry(h.busy === "save"),children: "保存配置"})}) : null]@@ -24357,30 +30975,30 @@ function ly({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/network-settings.tsx-var uy = [+var XT = [["environment", "系统代理"],["direct", "直连"],["proxy", "自定义"]];-function dy({ data: e, receipt: t }) {- return /* @__PURE__ */ (0, S.jsxs)("div", {+function ZT({ data: e, receipt: t }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-6",- children: [e.peach_proxy ? /* @__PURE__ */ (0, S.jsx)(fy, {+ children: [e.peach_proxy ? /* @__PURE__ */ (0, C.jsx)(QT, {initial: e.peach_proxy,receipt: t- }) : null, e.access ? /* @__PURE__ */ (0, S.jsx)(ly, {+ }) : null, e.access ? /* @__PURE__ */ (0, C.jsx)(YT, {initial: e.access,receipt: t}) : null]});}-function fy({ initial: e, receipt: t }) {- let [n, r] = (0, x.useState)(e), [i, a] = (0, x.useState)(e.mode), [o, s] = (0, x.useState)(""), c = Og();- return /* @__PURE__ */ (0, S.jsxs)(g_, {+function QT({ initial: e, receipt: t }) {+ let [n, r] = (0, S.useState)(e), [i, a] = (0, S.useState)(e.mode), [o, s] = (0, S.useState)(""), c = Ly();+ return /* @__PURE__ */ (0, C.jsxs)(Px, {id: "peachProxy",title: "Peach 代理",onSubmit: (e) => {- e.preventDefault(), c.run("save", (e) => jf("/api/configuration/peach-proxy", {+ e.preventDefault(), c.run("save", (e) => Km("/api/configuration/peach-proxy", {mode: i,proxy: o}, "POST", e), (e) => {@@ -24388,25 +31006,25 @@ function fy({ initial: e, receipt: t }) {});},children: [- /* @__PURE__ */ (0, S.jsx)(__, { children: /* @__PURE__ */ (0, S.jsx)(h_, {+ /* @__PURE__ */ (0, C.jsx)(Fx, { children: /* @__PURE__ */ (0, C.jsx)(jx, {label: "连接方式",description: "采集来源选择“Peach 代理”时共用此设置。",- children: /* @__PURE__ */ (0, S.jsx)(Q_, {+ children: /* @__PURE__ */ (0, C.jsx)(qC, {"aria-label": "连接方式",selectedKey: i,onSelectionChange: (e) => {e !== null && a(String(e));},- children: uy.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)($_, {+ children: XT.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(JC, {id: e,children: t}, e))})}) }),- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, S.jsxs)(v_, {+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, C.jsxs)(Ix, {divided: !0,children: [- i === "proxy" ? /* @__PURE__ */ (0, S.jsx)(Dg, {+ i === "proxy" ? /* @__PURE__ */ (0, C.jsx)(Iy, {id: "peachProxyAddress",type: "password",label: "代理地址",@@ -24415,17 +31033,17 @@ function fy({ initial: e, receipt: t }) {onChange: s,placeholder: n.proxy_saved ? "已保存,留空保留" : "http://127.0.0.1:7890"}) : null,- n.needs_selection ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ n.needs_selection ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "warning",title: "需要选择连接方式",children: "已有来源的代理地址不同,请选择公共连接方式。"}) : null,- c.error ? /* @__PURE__ */ (0, S.jsx)(x_, { children: c.error }) : null+ c.error ? /* @__PURE__ */ (0, C.jsx)(zx, { children: c.error }) : null]}) : null,- /* @__PURE__ */ (0, S.jsx)(y_, { children: /* @__PURE__ */ (0, S.jsx)($, {+ /* @__PURE__ */ (0, C.jsx)(Lx, { children: /* @__PURE__ */ (0, C.jsx)(Z, {type: "submit",- ...kg(c.busy === "save"),+ ...Ry(c.busy === "save"),children: "保存配置"}) })]@@ -24433,60 +31051,60 @@ function fy({ initial: e, receipt: t }) {}//#endregion//#region src/react/settings/configuration-page.tsx-function py({ receipt: e }) {- let t = ut({- queryKey: yv,- queryFn: ({ signal: e }) => bv(e)+function $T({ receipt: e }) {+ let t = lt({+ queryKey: cT,+ queryFn: ({ signal: e }) => lT(e)}), n = t.data;- if (!n) return /* @__PURE__ */ (0, S.jsx)("div", {+ if (!n) return /* @__PURE__ */ (0, C.jsx)("div", {className: "configpage",- children: /* @__PURE__ */ (0, S.jsx)(Pf, {+ children: /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",title: "打不开配置",- children: t.error ? kf(t.error) : "没有读到配置"+ children: t.error ? Wm(t.error) : "没有读到配置"})});let r = {data: n,receipt: e}, i = !!(n.peach_proxy || n.access);- return /* @__PURE__ */ (0, S.jsxs)("div", {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "configpage",children: [- n.startup ? /* @__PURE__ */ (0, S.jsx)("h2", {+ n.startup ? /* @__PURE__ */ (0, C.jsx)("h2", {className: "configgroup",children: "通用"}) : null,- n.startup ? /* @__PURE__ */ (0, S.jsx)(Tv, { ...r }) : null,- /* @__PURE__ */ (0, S.jsx)("h2", {+ n.startup ? /* @__PURE__ */ (0, C.jsx)(mT, { ...r }) : null,+ /* @__PURE__ */ (0, C.jsx)("h2", {className: "configgroup",children: "媒体"}),- /* @__PURE__ */ (0, S.jsx)(iy, { ...r }),- i ? /* @__PURE__ */ (0, S.jsx)("h2", {+ /* @__PURE__ */ (0, C.jsx)(WT, { ...r }),+ i ? /* @__PURE__ */ (0, C.jsx)("h2", {className: "configgroup",children: "网络与访问"}) : null,- i ? /* @__PURE__ */ (0, S.jsx)(dy, { ...r }) : null,- /* @__PURE__ */ (0, S.jsx)("h2", {+ i ? /* @__PURE__ */ (0, C.jsx)(ZT, { ...r }) : null,+ /* @__PURE__ */ (0, C.jsx)("h2", {className: "configgroup",children: "更新与维护"}),- /* @__PURE__ */ (0, S.jsx)(zv, { ...r })+ /* @__PURE__ */ (0, C.jsx)(TT, { ...r })]});}//#endregion//#region src/react/stats/stats.ts-var my = "/api/stats", hy = ["stats"], gy = (e) => Af(my, e);-async function _y(e) {- await Lf.fetchQuery({- queryKey: hy,- queryFn: () => gy(e)+var eE = "/api/stats", tE = ["stats"], nE = (e) => Gm(eE, e);+async function rE(e) {+ await Qm.fetchQuery({+ queryKey: tE,+ queryFn: () => nE(e)});}-var vy = (e, t) => t ? Math.round(e / t * 100) : 0, yy = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, by = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, xy = (e) => (e.max_reached || 0) * 100, Sy = (e) => e.kind === "online" ? "在线直接观看" : by(e) < xy(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", Cy = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;-function wy(e) {+var iE = (e, t) => t ? Math.round(e / t * 100) : 0, aE = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, oE = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, sE = (e) => (e.max_reached || 0) * 100, cE = (e) => e.kind === "online" ? "在线直接观看" : oE(e) < sE(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", lE = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`;+function uE(e) {let t = Math.max(1, ...e) * 1.1, n = Math.min(22, 110 / Math.max(1, e.length)), r = Math.min(15, n * .68);return e.map((e, i) => ({radius: 32 + i * n,@@ -24496,14 +31114,14 @@ function wy(e) {}//#endregion//#region src/react/stats/radial-card.tsx-var Ty = [+var dE = ["stroke-chart-1","stroke-chart-2","stroke-chart-3","stroke-chart-4","stroke-chart-5","stroke-chart-6"-], Ey = [+], fE = ["bg-chart-1","bg-chart-2","bg-chart-3",@@ -24511,42 +31129,42 @@ var Ty = ["bg-chart-5","bg-chart-6"];-function Dy({ title: e, rows: t, unit: n = "个视频" }) {- let [r, i] = (0, x.useState)(-1), [a, o] = (0, x.useState)(-1), s = t.filter((e) => Number.isFinite(e.value) && e.value >= 0);+function pE({ title: e, rows: t, unit: n = "个视频" }) {+ let [r, i] = (0, S.useState)(-1), [a, o] = (0, S.useState)(-1), s = t.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (!s.length) return null;- let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = wy(s.map((e) => e.value)), d = s[c], f = (e) => i((t) => t === e ? -1 : e);- return /* @__PURE__ */ (0, S.jsxs)("section", {+ let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = uE(s.map((e) => e.value)), d = s[c], f = (e) => i((t) => t === e ? -1 : e);+ return /* @__PURE__ */ (0, C.jsxs)("section", {className: "flex min-w-0 flex-col gap-4 rounded-2xl border border-separator-border p-5",children: [- /* @__PURE__ */ (0, S.jsxs)("header", {+ /* @__PURE__ */ (0, C.jsxs)("header", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, S.jsx)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: d ? d.name : e- }), /* @__PURE__ */ (0, S.jsxs)("p", {+ }), /* @__PURE__ */ (0, C.jsxs)("p", {className: "flex items-baseline gap-2",- children: [/* @__PURE__ */ (0, S.jsx)("b", {+ children: [/* @__PURE__ */ (0, C.jsx)("b", {className: "text-title-1-medium tabular-nums text-text-primary",children: (d ? d.value : l).toLocaleString()- }), /* @__PURE__ */ (0, S.jsx)("small", {+ }), /* @__PURE__ */ (0, C.jsx)("small", {className: "text-caption-1-regular text-text-secondary",children: n})]})]}),- /* @__PURE__ */ (0, S.jsx)("svg", {+ /* @__PURE__ */ (0, C.jsx)("svg", {viewBox: "0 0 320 320",fill: "none",role: "img","aria-label": e,className: "block h-64 w-full",onPointerLeave: () => o(-1),- children: s.map((e, t) => /* @__PURE__ */ (0, S.jsxs)("g", {+ children: s.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("g", {onPointerEnter: () => o(t),onClick: () => f(t),children: [- /* @__PURE__ */ (0, S.jsx)("title", { children: `${e.name}:${e.value.toLocaleString()} ${n}` }),- /* @__PURE__ */ (0, S.jsx)("circle", {+ /* @__PURE__ */ (0, C.jsx)("title", { children: `${e.name}:${e.value.toLocaleString()} ${n}` }),+ /* @__PURE__ */ (0, C.jsx)("circle", {cx: "160",cy: "160",r: u[t].radius,@@ -24554,7 +31172,7 @@ function Dy({ title: e, rows: t, unit: n = "个视频" }) {strokeLinecap: "round",className: "stroke-chart-track"}),- /* @__PURE__ */ (0, S.jsx)("circle", {+ /* @__PURE__ */ (0, C.jsx)("circle", {cx: "160",cy: "160",r: u[t].radius,@@ -24563,14 +31181,14 @@ function Dy({ title: e, rows: t, unit: n = "个视频" }) {pathLength: 100,transform: "rotate(-90 160 160)",strokeDasharray: `${u[t].length} ${100 - u[t].length}`,- className: c >= 0 && c !== t ? `cursor-pointer opacity-30 transition-opacity ${Ty[t % 6]}` : `cursor-pointer transition-opacity ${Ty[t % 6]}`+ className: c >= 0 && c !== t ? `cursor-pointer opacity-30 transition-opacity ${dE[t % 6]}` : `cursor-pointer transition-opacity ${dE[t % 6]}`})]}, e.name))}),- /* @__PURE__ */ (0, S.jsx)("div", {+ /* @__PURE__ */ (0, C.jsx)("div", {className: "flex flex-wrap gap-2",- children: s.map((e, t) => /* @__PURE__ */ (0, S.jsxs)("button", {+ children: s.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("button", {type: "button","aria-pressed": r === t,onClick: () => f(t),@@ -24580,18 +31198,18 @@ function Dy({ title: e, rows: t, unit: n = "个视频" }) {onBlur: () => o(-1),className: "flex min-w-0 grow basis-40 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-pressed:bg-background-primary-hover",children: [- /* @__PURE__ */ (0, S.jsxs)("span", {+ /* @__PURE__ */ (0, C.jsxs)("span", {className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, S.jsx)("i", {+ children: [/* @__PURE__ */ (0, C.jsx)("i", {"aria-hidden": !0,- className: `size-3 shrink-0 rounded-sm ${Ey[t % 6]}`+ className: `size-3 shrink-0 rounded-sm ${fE[t % 6]}`}), e.name]}),- /* @__PURE__ */ (0, S.jsx)("b", {+ /* @__PURE__ */ (0, C.jsx)("b", {className: "text-headline-medium tabular-nums text-text-primary",children: e.value.toLocaleString()}),- e.detail ? /* @__PURE__ */ (0, S.jsx)("small", {+ e.detail ? /* @__PURE__ */ (0, C.jsx)("small", {className: "text-caption-1-regular text-text-secondary",children: e.detail}) : null@@ -24603,77 +31221,77 @@ function Dy({ title: e, rows: t, unit: n = "个视频" }) {}//#endregion//#region src/react/stats/stats-page.tsx-var Oy = 10, ky = "flex min-w-0 flex-col gap-4 rounded-2xl border border-separator-border p-5", Ay = "relative cursor-pointer py-3 text-body-2-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-text-primary", jy = "添加媒体文件夹或关注来源,开始建立你的馆藏。", My = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", Ny = "开始播放后,这里会显示最近的真实观看证据。", Py = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", Fy = "添加媒体文件夹后,这里会显示存储空间。";-function Iy({ term: e, value: t }) {- return /* @__PURE__ */ (0, S.jsxs)("div", {+var mE = 10, hE = "flex min-w-0 flex-col gap-4 rounded-2xl border border-separator-border p-5", gE = "relative cursor-pointer py-3 text-body-2-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-text-primary", _E = "添加媒体文件夹或关注来源,开始建立你的馆藏。", vE = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", yE = "开始播放后,这里会显示最近的真实观看证据。", bE = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", xE = "添加媒体文件夹后,这里会显示存储空间。";+function SE({ term: e, value: t }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex min-w-0 flex-col gap-1.5 rounded-xl bg-background-tertiary-default p-3",- children: [/* @__PURE__ */ (0, S.jsx)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: e- }), /* @__PURE__ */ (0, S.jsx)("b", {+ }), /* @__PURE__ */ (0, C.jsx)("b", {className: "text-title-2-medium tabular-nums text-text-primary",children: t.toLocaleString()})]});}-function Ly({ term: e, value: t, total: n }) {- return /* @__PURE__ */ (0, S.jsxs)("div", {+function CE({ term: e, value: t, total: n }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",- children: [/* @__PURE__ */ (0, S.jsxs)("p", {+ children: [/* @__PURE__ */ (0, C.jsxs)("p", {className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",- children: [/* @__PURE__ */ (0, S.jsx)("span", { children: e }), /* @__PURE__ */ (0, S.jsxs)("b", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", { children: e }), /* @__PURE__ */ (0, C.jsxs)("b", {className: "tabular-nums",- children: [t.toLocaleString(), /* @__PURE__ */ (0, S.jsxs)("span", {+ children: [t.toLocaleString(), /* @__PURE__ */ (0, C.jsxs)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",- children: [vy(t, n), "%"]+ children: [iE(t, n), "%"]})]})]- }), /* @__PURE__ */ (0, S.jsx)(If, {+ }), /* @__PURE__ */ (0, C.jsx)(Zm, {label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,value: t,max: Math.max(n, 1)})]});}-function Ry({ term: e, figure: t, unit: n }) {- return /* @__PURE__ */ (0, S.jsxs)("div", {+function wE({ term: e, figure: t, unit: n }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 border-b border-separator-border pb-5 md:w-64 md:border-b-0 md:border-r md:pr-6 md:pb-0",children: [- /* @__PURE__ */ (0, S.jsx)("span", {+ /* @__PURE__ */ (0, C.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: e}),- /* @__PURE__ */ (0, S.jsx)("b", {+ /* @__PURE__ */ (0, C.jsx)("b", {className: "text-display-4-medium tabular-nums text-text-primary",children: t}),- /* @__PURE__ */ (0, S.jsx)("span", {+ /* @__PURE__ */ (0, C.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: n})]});}-function zy({ headline: e, children: t }) {- return /* @__PURE__ */ (0, S.jsxs)("div", {- className: `${ky} md:flex-row md:gap-6`,- children: [e, /* @__PURE__ */ (0, S.jsx)("div", {+function TE({ headline: e, children: t }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {+ className: `${hE} md:flex-row md:gap-6`,+ children: [e, /* @__PURE__ */ (0, C.jsx)("div", {className: "min-w-0 grow",children: t})]});}-function By({ data: t, configurable: r, openMediaSettings: i }) {- return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, S.jsxs)("div", {+function EE({ data: t, configurable: r, openMediaSettings: i }) {+ return t.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, C.jsxs)("div", {className: "inline-grid w-full gap-5 md:grid-cols-2",- children: [/* @__PURE__ */ (0, S.jsx)(Dy, {+ children: [/* @__PURE__ */ (0, C.jsx)(pE, {title: "网盘与本地",rows: t.by_loc.map((t) => ({name: e[t.k] ?? t.k,value: t.videos,detail: n(t.bytes)}))- }), /* @__PURE__ */ (0, S.jsx)(Dy, {+ }), /* @__PURE__ */ (0, C.jsx)(pE, {title: "媒体库",rows: t.by_library.map((e) => ({name: e.name,@@ -24681,47 +31299,47 @@ function By({ data: t, configurable: r, openMediaSettings: i }) {detail: n(e.bytes)}))})]- }) : /* @__PURE__ */ (0, S.jsx)(Mf, {- icon: Wu,+ }) : /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: ip,title: "还没有视频",- actions: /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [r ? /* @__PURE__ */ (0, S.jsx)($, {+ actions: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [r ? /* @__PURE__ */ (0, C.jsx)(Z, {size: "small",onClick: i,children: "添加媒体文件夹"- }) : null, /* @__PURE__ */ (0, S.jsx)(s_, {+ }) : null, /* @__PURE__ */ (0, C.jsx)(Nx, {href: "/follow-manage?tab=add",size: "small",children: "添加关注"})] }),- children: jy+ children: _E});}-function Vy({ attribution: e }) {+function DE({ attribution: e }) {let t = e.videos;- return /* @__PURE__ */ (0, S.jsxs)("div", {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col",children: [- /* @__PURE__ */ (0, S.jsx)(Ly, {+ /* @__PURE__ */ (0, C.jsx)(CE, {term: "有创作者",value: e.creator,total: t}),- /* @__PURE__ */ (0, S.jsx)(Ly, {+ /* @__PURE__ */ (0, C.jsx)(CE, {term: "有番号",value: e.code,total: t}),- /* @__PURE__ */ (0, S.jsx)(Ly, {+ /* @__PURE__ */ (0, C.jsx)(CE, {term: "有厂牌",value: e.studio,total: t}),- /* @__PURE__ */ (0, S.jsx)(Ly, {+ /* @__PURE__ */ (0, C.jsx)(CE, {term: "已抽帧",value: e.thumb,total: t}),- /* @__PURE__ */ (0, S.jsx)(Ly, {+ /* @__PURE__ */ (0, C.jsx)(CE, {term: "已探测时长",value: e.duration,total: t@@ -24729,35 +31347,35 @@ function Vy({ attribution: e }) {]});}-function Hy({ volume: e }) {+function OE({ volume: e }) {let t = e.total, r = e.used ?? 0;- return /* @__PURE__ */ (0, S.jsxs)("article", {+ return /* @__PURE__ */ (0, C.jsxs)("article", {className: "flex min-w-0 flex-col gap-1.5",children: [- /* @__PURE__ */ (0, S.jsxs)("header", {+ /* @__PURE__ */ (0, C.jsxs)("header", {className: "flex items-baseline justify-between gap-3",- children: [/* @__PURE__ */ (0, S.jsx)("h3", {+ children: [/* @__PURE__ */ (0, C.jsx)("h3", {className: "min-w-0 text-body-2-medium break-words text-text-primary",children: e.label- }), /* @__PURE__ */ (0, S.jsx)("b", {+ }), /* @__PURE__ */ (0, C.jsx)("b", {className: "text-body-2-medium whitespace-nowrap text-text-primary",- children: t == null ? e.online ? "容量未取得" : "离线" : `${vy(r, t)}%`+ children: t == null ? e.online ? "容量未取得" : "离线" : `${iE(r, t)}%`})]}),- /* @__PURE__ */ (0, S.jsx)("small", {+ /* @__PURE__ */ (0, C.jsx)("small", {className: "text-caption-1-regular break-words text-text-secondary",children: e.root ?? "未映射"}),- t == null ? null : /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)(If, {+ t == null ? null : /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)(Zm, {label: `${e.label}空间使用率`,value: r,max: Math.max(t, 1)- }), /* @__PURE__ */ (0, S.jsxs)("p", {+ }), /* @__PURE__ */ (0, C.jsxs)("p", {className: "flex justify-between gap-3 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, S.jsxs)("span", { children: ["已用 ", /* @__PURE__ */ (0, S.jsx)("b", {+ children: [/* @__PURE__ */ (0, C.jsxs)("span", { children: ["已用 ", /* @__PURE__ */ (0, C.jsx)("b", {className: "font-normal text-text-primary",children: n(r)- })] }), /* @__PURE__ */ (0, S.jsxs)("span", { children: ["可用 ", /* @__PURE__ */ (0, S.jsx)("b", {+ })] }), /* @__PURE__ */ (0, C.jsxs)("span", { children: ["可用 ", /* @__PURE__ */ (0, C.jsx)("b", {className: "font-normal text-text-primary",children: n(e.free ?? 0)})] })]@@ -24765,63 +31383,63 @@ function Hy({ volume: e }) {]});}-function Uy({ volumes: e, configurable: t, openMediaSettings: n }) {- return e.length ? /* @__PURE__ */ (0, S.jsx)("div", {+function kE({ volumes: e, configurable: t, openMediaSettings: n }) {+ return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {className: "flex flex-col gap-5",- children: e.map((e) => /* @__PURE__ */ (0, S.jsx)(Hy, { volume: e }, `${e.kind}:${e.label}`))- }) : /* @__PURE__ */ (0, S.jsx)(Mf, {- icon: Pu,+ children: e.map((e) => /* @__PURE__ */ (0, C.jsx)(OE, { volume: e }, `${e.kind}:${e.label}`))+ }) : /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: Uf,title: "还没有存储来源",- actions: t ? /* @__PURE__ */ (0, S.jsx)($, {+ actions: t ? /* @__PURE__ */ (0, C.jsx)(Z, {size: "small",onClick: n,children: "添加媒体文件夹"}) : void 0,- children: Fy+ children: xE});}-function Wy({ tags: e, tagLabel: t, onTag: n }) {- let [r, i] = (0, x.useState)(!1);- if (!e.length) return /* @__PURE__ */ (0, S.jsx)(Mf, {- icon: Ru,+function AE({ tags: e, tagLabel: t, onTag: n }) {+ let [r, i] = (0, S.useState)(!1);+ if (!e.length) return /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: Yf,title: "还没有内容标签",- actions: /* @__PURE__ */ (0, S.jsx)(s_, {+ actions: /* @__PURE__ */ (0, C.jsx)(Nx, {href: "/data-cleanup",size: "small",children: "补全资料"}),- children: My+ children: vE});- let a = r ? e : e.slice(0, Oy);- return /* @__PURE__ */ (0, S.jsxs)("div", {+ let a = r ? e : e.slice(0, mE);+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-3",- children: [/* @__PURE__ */ (0, S.jsx)("ol", {+ children: [/* @__PURE__ */ (0, C.jsx)("ol", {className: "inline-grid w-full gap-1 sm:grid-cols-2",- children: a.map((e, r) => /* @__PURE__ */ (0, S.jsx)("li", {+ children: a.map((e, r) => /* @__PURE__ */ (0, C.jsx)("li", {className: "min-w-0",- children: /* @__PURE__ */ (0, S.jsxs)("button", {+ children: /* @__PURE__ */ (0, C.jsxs)("button", {type: "button",onClick: () => n(e.k),className: "flex w-full min-w-0 cursor-pointer items-center gap-2.5 rounded-lg px-3 py-2 text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [- /* @__PURE__ */ (0, S.jsx)("span", {+ /* @__PURE__ */ (0, C.jsx)("span", {className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: r + 1}),- /* @__PURE__ */ (0, S.jsx)("span", {+ /* @__PURE__ */ (0, C.jsx)("span", {className: "min-w-0 grow text-body-2-regular break-words text-text-primary",children: t(e.k)}),- /* @__PURE__ */ (0, S.jsx)("b", {+ /* @__PURE__ */ (0, C.jsx)("b", {className: "text-body-2-medium tabular-nums text-text-secondary",children: e.n.toLocaleString()})]})}, e.k))- }), e.length > Oy ? /* @__PURE__ */ (0, S.jsx)("div", {+ }), e.length > mE ? /* @__PURE__ */ (0, C.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, S.jsx)($, {+ children: /* @__PURE__ */ (0, C.jsx)(Z, {variant: "secondary",size: "small",onClick: () => i(!r),@@ -24830,210 +31448,210 @@ function Wy({ tags: e, tagLabel: t, onTag: n }) {}) : null]});}-function Gy({ rows: e }) {- return e.length ? /* @__PURE__ */ (0, S.jsx)("div", {+function jE({ rows: e }) {+ return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {className: "flex flex-col gap-5",children: e.map((e) => {- let t = by(e);- return /* @__PURE__ */ (0, S.jsxs)("article", {+ let t = oE(e);+ return /* @__PURE__ */ (0, C.jsxs)("article", {className: "flex flex-wrap items-center gap-x-6 gap-y-2",- children: [/* @__PURE__ */ (0, S.jsxs)("div", {+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {className: "min-w-0 grow basis-64",- children: [/* @__PURE__ */ (0, S.jsx)("h3", {+ children: [/* @__PURE__ */ (0, C.jsx)("h3", {className: "min-w-0 text-body-2-medium text-text-primary",- children: /* @__PURE__ */ (0, S.jsx)("a", {- href: Cy(e),+ children: /* @__PURE__ */ (0, C.jsx)("a", {+ href: lE(e),"data-middle-truncate": !0,className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",children: e.name})- }), /* @__PURE__ */ (0, S.jsxs)("p", {+ }), /* @__PURE__ */ (0, C.jsxs)("p", {className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, S.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, S.jsx)("span", { children: Sy(e) })]+ children: [/* @__PURE__ */ (0, C.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, C.jsx)("span", { children: cE(e) })]})]- }), /* @__PURE__ */ (0, S.jsxs)("div", {+ }), /* @__PURE__ */ (0, C.jsxs)("div", {className: "min-w-0 basis-40",- children: [/* @__PURE__ */ (0, S.jsx)(If, {+ children: [/* @__PURE__ */ (0, C.jsx)(Zm, {label: `真实观看 ${t.toFixed(0)}%`,value: t- }), /* @__PURE__ */ (0, S.jsx)("small", {+ }), /* @__PURE__ */ (0, C.jsx)("small", {className: "mt-1.5 block text-caption-1-regular text-text-secondary",- children: `真实 ${t.toFixed(0)}% · 到达 ${xy(e).toFixed(0)}%`+ children: `真实 ${t.toFixed(0)}% · 到达 ${sE(e).toFixed(0)}%`})]})]}, `${e.kind}:${e.id}`);})- }) : /* @__PURE__ */ (0, S.jsx)(Mf, {- icon: Fu,+ }) : /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: Wf,title: "还没有观看记录",- actions: /* @__PURE__ */ (0, S.jsx)(s_, {+ actions: /* @__PURE__ */ (0, C.jsx)(Nx, {href: "/",size: "small",children: "浏览馆藏"}),- children: Ny+ children: yE});}-function Ky({ sources: e, videos: t }) {- return e.length ? /* @__PURE__ */ (0, S.jsx)("div", {+function ME({ sources: e, videos: t }) {+ return e.length ? /* @__PURE__ */ (0, C.jsx)("div", {className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",- children: e.map((e) => /* @__PURE__ */ (0, S.jsxs)("article", {+ children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)("article", {className: "flex min-w-0 flex-col gap-1.5",children: [- /* @__PURE__ */ (0, S.jsxs)("header", {+ /* @__PURE__ */ (0, C.jsxs)("header", {className: "flex items-baseline justify-between gap-3",- children: [/* @__PURE__ */ (0, S.jsx)("h3", {+ children: [/* @__PURE__ */ (0, C.jsx)("h3", {className: "min-w-0 text-body-2-medium break-words text-text-primary",children: e.k- }), /* @__PURE__ */ (0, S.jsxs)("b", {+ }), /* @__PURE__ */ (0, C.jsxs)("b", {className: "text-body-2-medium whitespace-nowrap text-text-primary",- children: [e.assets.toLocaleString(), /* @__PURE__ */ (0, S.jsx)("small", {+ children: [e.assets.toLocaleString(), /* @__PURE__ */ (0, C.jsx)("small", {className: "ml-1 text-caption-1-regular font-normal text-text-secondary",children: "个视频"})]})]}),- /* @__PURE__ */ (0, S.jsx)(If, {+ /* @__PURE__ */ (0, C.jsx)(Zm, {label: `${e.k} 覆盖视频`,value: e.assets,max: Math.max(t, 1)}),- /* @__PURE__ */ (0, S.jsxs)("small", {+ /* @__PURE__ */ (0, C.jsxs)("small", {className: "text-caption-1-regular text-text-secondary",children: [e.n.toLocaleString(), " 条标签"]})]}, e.k))- }) : /* @__PURE__ */ (0, S.jsx)(Mf, {- icon: Ru,+ }) : /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: Yf,title: "还没有标签来源",- actions: /* @__PURE__ */ (0, S.jsx)(s_, {+ actions: /* @__PURE__ */ (0, C.jsx)(Nx, {href: "/data-cleanup",size: "small",children: "补全资料"}),- children: Py+ children: bE});}-function qy({ id: e, label: t, figure: n, detail: r, icon: i }) {- return /* @__PURE__ */ (0, S.jsxs)(fg, {+function NE({ id: e, label: t, figure: n, detail: r, icon: i }) {+ return /* @__PURE__ */ (0, C.jsxs)(xy, {id: e,className: "flex min-w-0 cursor-pointer flex-col gap-3 rounded-2xl border border-separator-border p-4 outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-focus-ring",children: [- /* @__PURE__ */ (0, S.jsxs)("span", {+ /* @__PURE__ */ (0, C.jsxs)("span", {className: "flex min-w-0 items-center gap-2 text-body-2-regular text-text-secondary",- children: [/* @__PURE__ */ (0, S.jsx)(i, {+ children: [/* @__PURE__ */ (0, C.jsx)(i, {"aria-hidden": !0,className: "size-4 shrink-0"}), t]}),- /* @__PURE__ */ (0, S.jsx)("b", {+ /* @__PURE__ */ (0, C.jsx)("b", {className: "text-title-1-medium tabular-nums text-text-primary",children: n}),- /* @__PURE__ */ (0, S.jsx)("small", {+ /* @__PURE__ */ (0, C.jsx)("small", {className: "min-w-0 overflow-hidden text-caption-1-regular text-ellipsis whitespace-nowrap text-text-secondary",children: r})]});}-function Jy(e) {- let t = ut({- queryKey: hy,- queryFn: ({ signal: e }) => gy(e)+function PE(e) {+ let t = lt({+ queryKey: tE,+ queryFn: ({ signal: e }) => nE(e)}), r = t.data;- if (!r) return /* @__PURE__ */ (0, S.jsx)(Ff, { children: /* @__PURE__ */ (0, S.jsx)(Pf, {+ if (!r) return /* @__PURE__ */ (0, C.jsx)(Xm, { children: /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",title: "读取失败",- children: t.error ? kf(t.error) : "读取统计失败"+ children: t.error ? Wm(t.error) : "读取统计失败"}) });- let i = r.consumption, a = r.storage_summary, o = r.by_loc.reduce((e, t) => e + t.videos, 0), s = r.by_loc.reduce((e, t) => e + t.bytes, 0), c = vy(r.tag_cov, r.attribution.videos);- return /* @__PURE__ */ (0, S.jsxs)(Ff, { children: [- /* @__PURE__ */ (0, S.jsx)("p", {+ let i = r.consumption, a = r.storage_summary, o = r.by_loc.reduce((e, t) => e + t.videos, 0), s = r.by_loc.reduce((e, t) => e + t.bytes, 0), c = iE(r.tag_cov, r.attribution.videos);+ return /* @__PURE__ */ (0, C.jsxs)(Xm, { children: [+ /* @__PURE__ */ (0, C.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: `账本当前快照 · ${o.toLocaleString()} 个视频 · ${n(s)}`}),- /* @__PURE__ */ (0, S.jsxs)(cg, {+ /* @__PURE__ */ (0, C.jsxs)(_y, {className: "flex flex-col gap-4",children: [- /* @__PURE__ */ (0, S.jsxs)(ug, {+ /* @__PURE__ */ (0, C.jsxs)(yy, {"aria-label": "统计视图",className: "inline-grid w-full gap-4 sm:grid-cols-2 lg:grid-cols-4",children: [- /* @__PURE__ */ (0, S.jsx)(qy, {+ /* @__PURE__ */ (0, C.jsx)(NE, {id: "inventory",label: "馆藏视频",- icon: Ou,+ icon: If,figure: o.toLocaleString(),detail: n(s)}),- /* @__PURE__ */ (0, S.jsx)(qy, {+ /* @__PURE__ */ (0, C.jsx)(NE, {id: "viewing",label: "看过",- icon: Mu,+ icon: Bf,figure: i.played.toLocaleString(),- detail: yy(i.play_seconds)+ detail: aE(i.play_seconds)}),- /* @__PURE__ */ (0, S.jsx)(qy, {+ /* @__PURE__ */ (0, C.jsx)(NE, {id: "coverage",label: "内容标签",- icon: Ru,+ icon: Yf,figure: `${c}%`,detail: `${r.tag_cov.toLocaleString()} / ${r.attribution.videos.toLocaleString()}`}),- /* @__PURE__ */ (0, S.jsx)(qy, {+ /* @__PURE__ */ (0, C.jsx)(NE, {id: "storage",label: "使用空间",- icon: Pu,+ icon: Uf,figure: `${a.online} 个卷`,detail: a.measured ? `已用 ${n(a.used)}` : "容量未取得"})]}),- /* @__PURE__ */ (0, S.jsx)(pg, {+ /* @__PURE__ */ (0, C.jsx)(Sy, {id: "inventory",- children: /* @__PURE__ */ (0, S.jsx)(By, {+ children: /* @__PURE__ */ (0, C.jsx)(EE, {data: r,...e})}),- /* @__PURE__ */ (0, S.jsx)(pg, {+ /* @__PURE__ */ (0, C.jsx)(Sy, {id: "viewing",- children: /* @__PURE__ */ (0, S.jsx)(zy, {- headline: /* @__PURE__ */ (0, S.jsx)(Ry, {+ children: /* @__PURE__ */ (0, C.jsx)(TE, {+ headline: /* @__PURE__ */ (0, C.jsx)(wE, {term: "观看",figure: i.played.toLocaleString(),unit: "个作品有播放记录"}),- children: /* @__PURE__ */ (0, S.jsxs)("div", {+ children: /* @__PURE__ */ (0, C.jsxs)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",children: [- /* @__PURE__ */ (0, S.jsx)(Iy, {+ /* @__PURE__ */ (0, C.jsx)(SE, {term: "馆藏观看",value: i.library_played}),- /* @__PURE__ */ (0, S.jsx)(Iy, {+ /* @__PURE__ */ (0, C.jsx)(SE, {term: "在线直接观看",value: i.online_played}),- /* @__PURE__ */ (0, S.jsx)(Iy, {+ /* @__PURE__ */ (0, C.jsx)(SE, {term: "高潮计数",value: i.o_total}),- /* @__PURE__ */ (0, S.jsx)(Iy, {+ /* @__PURE__ */ (0, C.jsx)(SE, {term: "快进扫过",value: i.skimmed}),- /* @__PURE__ */ (0, S.jsx)(Iy, {+ /* @__PURE__ */ (0, C.jsx)(SE, {term: "明确不喜欢",value: i.dislike}),- /* @__PURE__ */ (0, S.jsx)(Iy, {+ /* @__PURE__ */ (0, C.jsx)(SE, {term: "看过了",value: i.seen}),- /* @__PURE__ */ (0, S.jsx)(Iy, {+ /* @__PURE__ */ (0, C.jsx)(SE, {term: "回收站",value: i.trash})@@ -25041,26 +31659,26 @@ function Jy(e) {})})}),- /* @__PURE__ */ (0, S.jsx)(pg, {+ /* @__PURE__ */ (0, C.jsx)(Sy, {id: "coverage",- children: /* @__PURE__ */ (0, S.jsx)(zy, {- headline: /* @__PURE__ */ (0, S.jsx)(Ry, {+ children: /* @__PURE__ */ (0, C.jsx)(TE, {+ headline: /* @__PURE__ */ (0, C.jsx)(wE, {term: "内容标签覆盖",figure: `${c}%`,unit: `${r.tag_cov.toLocaleString()} / ${r.attribution.videos.toLocaleString()}`}),- children: /* @__PURE__ */ (0, S.jsx)(Vy, { attribution: r.attribution })+ children: /* @__PURE__ */ (0, C.jsx)(DE, { attribution: r.attribution })})}),- /* @__PURE__ */ (0, S.jsx)(pg, {+ /* @__PURE__ */ (0, C.jsx)(Sy, {id: "storage",- children: /* @__PURE__ */ (0, S.jsx)(zy, {- headline: /* @__PURE__ */ (0, S.jsx)(Ry, {+ children: /* @__PURE__ */ (0, C.jsx)(TE, {+ headline: /* @__PURE__ */ (0, C.jsx)(wE, {term: "使用空间",figure: String(a.measured),unit: "个卷已取得容量"}),- children: /* @__PURE__ */ (0, S.jsx)(Uy, {+ children: /* @__PURE__ */ (0, C.jsx)(kE, {volumes: r.storage_volumes,...e})@@ -25068,47 +31686,47 @@ function Jy(e) {})]}),- /* @__PURE__ */ (0, S.jsxs)(cg, {+ /* @__PURE__ */ (0, C.jsxs)(_y, {className: "flex flex-col rounded-2xl border border-separator-border",children: [- /* @__PURE__ */ (0, S.jsxs)(ug, {+ /* @__PURE__ */ (0, C.jsxs)(yy, {"aria-label": "统计维度",className: "flex gap-6 overflow-x-auto border-b border-separator-border px-4",children: [- /* @__PURE__ */ (0, S.jsx)(fg, {+ /* @__PURE__ */ (0, C.jsx)(xy, {id: "tags",- className: Ay,+ className: gE,children: "内容标签"}),- /* @__PURE__ */ (0, S.jsx)(fg, {+ /* @__PURE__ */ (0, C.jsx)(xy, {id: "recent",- className: Ay,+ className: gE,children: "最近看过"}),- /* @__PURE__ */ (0, S.jsx)(fg, {+ /* @__PURE__ */ (0, C.jsx)(xy, {id: "sources",- className: Ay,+ className: gE,children: "标签来源"})]}),- /* @__PURE__ */ (0, S.jsx)(pg, {+ /* @__PURE__ */ (0, C.jsx)(Sy, {id: "tags",className: "p-4",- children: /* @__PURE__ */ (0, S.jsx)(Wy, {+ children: /* @__PURE__ */ (0, C.jsx)(AE, {tags: r.top_tags,...e})}),- /* @__PURE__ */ (0, S.jsx)(pg, {+ /* @__PURE__ */ (0, C.jsx)(Sy, {id: "recent",className: "p-4",- children: /* @__PURE__ */ (0, S.jsx)(Gy, { rows: r.recent })+ children: /* @__PURE__ */ (0, C.jsx)(jE, { rows: r.recent })}),- /* @__PURE__ */ (0, S.jsx)(pg, {+ /* @__PURE__ */ (0, C.jsx)(Sy, {id: "sources",className: "p-4",- children: /* @__PURE__ */ (0, S.jsx)(Ky, {+ children: /* @__PURE__ */ (0, C.jsx)(ME, {sources: r.tag_source,videos: r.attribution.videos})@@ -25119,7 +31737,7 @@ function Jy(e) {}//#endregion//#region node_modules/d3-array/src/max.js-function Yy(e, t) {+function FE(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);else {@@ -25130,7 +31748,7 @@ function Yy(e, t) {}//#endregion//#region node_modules/d3-array/src/min.js-function Xy(e, t) {+function IE(e, t) {let n;if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);else {@@ -25141,7 +31759,7 @@ function Xy(e, t) {}//#endregion//#region node_modules/d3-array/src/sum.js-function Zy(e, t) {+function LE(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -25152,66 +31770,66 @@ function Zy(e, t) {}//#endregion//#region node_modules/d3-sankey/src/align.js-function Qy(e, t) {+function RE(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}//#endregion//#region node_modules/d3-sankey/src/constant.js-function $y(e) {+function zE(e) {return function() {return e;};}//#endregion//#region node_modules/d3-sankey/src/sankey.js-function eb(e, t) {- return nb(e.source, t.source) || e.index - t.index;+function BE(e, t) {+ return HE(e.source, t.source) || e.index - t.index;}-function tb(e, t) {- return nb(e.target, t.target) || e.index - t.index;+function VE(e, t) {+ return HE(e.target, t.target) || e.index - t.index;}-function nb(e, t) {+function HE(e, t) {return e.y0 - t.y0;}-function rb(e) {+function UE(e) {return e.value;}-function ib(e) {+function WE(e) {return e.index;}-function ab(e) {+function GE(e) {return e.nodes;}-function ob(e) {+function KE(e) {return e.links;}-function sb(e, t) {+function qE(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function cb({ nodes: e }) {+function JE({ nodes: e }) {for (let t of e) {let e = t.y0, n = e;for (let n of t.sourceLinks) n.y0 = e + n.width / 2, e += n.width;for (let e of t.targetLinks) e.y1 = n + e.width / 2, n += e.width;}}-function lb() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = ib, c = Qy, l, u, d = ab, f = ob, p = 6;+function YE() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = WE, c = RE, l, u, d = GE, f = KE, p = 6;function m() {let e = {nodes: d.apply(null, arguments),links: f.apply(null, arguments)};- return h(e), g(e), _(e), v(e), x(e), cb(e), e;+ return h(e), g(e), _(e), v(e), x(e), JE(e), e;}m.update = function(e) {- return cb(e), e;+ return JE(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : $y(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : zE(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : $y(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : zE(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -25219,9 +31837,9 @@ function lb() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : $y(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : zE(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : $y(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : zE(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -25237,12 +31855,12 @@ function lb() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = sb(n, t)), typeof i != "object" && (i = r.target = sb(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = qE(n, t)), typeof i != "object" && (i = r.target = qE(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);}if (u != null) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(u), n.sort(u);}function g({ nodes: e }) {- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(Zy(t.sourceLinks, rb), Zy(t.targetLinks, rb)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(LE(t.sourceLinks, UE), LE(t.targetLinks, UE)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -25267,7 +31885,7 @@ function lb() {}}function y({ nodes: t }) {- let r = Yy(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = FE(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);for (let n of t) {let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];@@ -25276,7 +31894,7 @@ function lb() {return o;}function b(e) {- let n = Xy(e, (e) => (r - t - (e.length - 1) * o) / Zy(e, rb));+ let n = IE(e, (e) => (r - t - (e.length - 1) * o) / LE(e, UE));for (let i of e) {let e = t;for (let t of i) {@@ -25293,7 +31911,7 @@ function lb() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (Yy(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (FE(n, (e) => e.length) - 1)), b(n);for (let e = 0; e < p; ++e) {let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);C(n, t, r), S(n, t, r);@@ -25312,7 +31930,7 @@ function lb() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(nb), w(i, n);+ l === void 0 && i.sort(HE), w(i, n);}}function C(e, t, n) {@@ -25328,7 +31946,7 @@ function lb() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(nb), w(i, n);+ l === void 0 && i.sort(HE), w(i, n);}}function w(e, n) {@@ -25349,12 +31967,12 @@ function lb() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(tb);- for (let { target: { targetLinks: t } } of e) t.sort(eb);+ for (let { source: { sourceLinks: e } } of t) e.sort(VE);+ for (let { target: { targetLinks: t } } of e) t.sort(BE);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(tb), n.sort(eb);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(VE), n.sort(BE);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -25384,15 +32002,15 @@ function lb() {}//#endregion//#region node_modules/d3-path/src/path.js-var ub = Math.PI, db = 2 * ub, fb = 1e-6, pb = db - fb;-function mb() {+var XE = Math.PI, ZE = 2 * XE, QE = 1e-6, $E = ZE - QE;+function eD() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function hb() {- return new mb();+function tD() {+ return new eD();}-mb.prototype = hb.prototype = {- constructor: mb,+eD.prototype = tD.prototype = {+ constructor: eD,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -25413,11 +32031,11 @@ mb.prototype = hb.prototype = {var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;if (i < 0) throw Error("negative radius: " + i);if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);- else if (d > fb) {- if (!(Math.abs(u * s - c * l) > fb) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > QE) {+ if (!(Math.abs(u * s - c * l) > QE) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);else {- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((ub - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > fb && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((XE - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > QE && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);}}},@@ -25425,7 +32043,7 @@ mb.prototype = hb.prototype = {e = +e, t = +t, n = +n, a = !!a;var o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;if (n < 0) throw Error("negative radius: " + n);- this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > fb || Math.abs(this._y1 - l) > fb) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % db + db), d > pb ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > fb && (this._ += "A" + n + "," + n + ",0," + +(d >= ub) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));+ this._x1 === null ? this._ += "M" + c + "," + l : (Math.abs(this._x1 - c) > QE || Math.abs(this._y1 - l) > QE) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % ZE + ZE), d > $E ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > QE && (this._ += "A" + n + "," + n + ",0," + +(d >= XE) + "," + u + "," + (this._x1 = e + n * Math.cos(i)) + "," + (this._y1 = t + n * Math.sin(i))));},rect: function(e, t, n, r) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t) + "h" + +n + "v" + +r + "h" + -n + "Z";@@ -25436,90 +32054,90 @@ mb.prototype = hb.prototype = {};//#endregion//#region node_modules/d3-shape/src/constant.js-function gb(e) {+function nD(e) {return function() {return e;};}//#endregion//#region node_modules/d3-shape/src/point.js-function _b(e) {+function rD(e) {return e[0];}-function vb(e) {+function iD(e) {return e[1];}//#endregion//#region node_modules/d3-shape/src/array.js-var yb = Array.prototype.slice;+var aD = Array.prototype.slice;//#endregion//#region node_modules/d3-shape/src/link/index.js-function bb(e) {+function oD(e) {return e.source;}-function xb(e) {+function sD(e) {return e.target;}-function Sb(e) {- var t = bb, n = xb, r = _b, i = vb, a = null;+function cD(e) {+ var t = oD, n = sD, r = rD, i = iD, a = null;function o() {- var o, s = yb.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = hb(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;+ var o, s = aD.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = tD(), e(a, +r.apply(this, (s[0] = c, s)), +i.apply(this, s), +r.apply(this, (s[0] = l, s)), +i.apply(this, s)), o) return a = null, o + "" || null;}return o.source = function(e) {return arguments.length ? (t = e, o) : t;}, o.target = function(e) {return arguments.length ? (n = e, o) : n;}, o.x = function(e) {- return arguments.length ? (r = typeof e == "function" ? e : gb(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : nD(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : gb(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : nD(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function Cb(e, t, n, r, i) {+function lD(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function wb() {- return Sb(Cb);+function uD() {+ return cD(lD);}//#endregion//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function Tb(e) {+function dD(e) {return [e.source.x1, e.y0];}-function Eb(e) {+function fD(e) {return [e.target.x0, e.y1];}-function Db() {- return wb().source(Tb).target(Eb);+function pD() {+ return uD().source(dD).target(fD);}//#endregion//#region src/react/taste/taste.ts-var Ob = "/api/taste", kb = "/api/taste/refresh", Ab = "/api/taste/import", jb = "/api/taste/source", Mb = (e) => ["taste", e], Nb = ["taste", "refresh"], Pb = [+var mD = "/api/taste", hD = "/api/taste/refresh", gD = "/api/taste/import", _D = "/api/taste/source", vD = (e) => ["taste", e], yD = ["taste", "refresh"], bD = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], Fb = (e, t) => Af(`${Ob}?window=${e}`, t), Ib = (e) => Af(kb, e);-async function Lb(e, t) {- await Lf.fetchQuery({- queryKey: Mb(e),- queryFn: () => Fb(e, t)+], xD = (e, t) => Gm(`${mD}?window=${e}`, t), SD = (e) => Gm(hD, e);+async function CD(e, t) {+ await Qm.fetchQuery({+ queryKey: vD(e),+ queryFn: () => xD(e, t)});}-var Rb = (e) => jf(kb, {+var wD = (e) => Km(hD, {window: e,background: !0-}), zb = (e, t) => jf(jb, {+}), TD = (e, t) => Km(_D, {operation: "remove",source_key: e,window: t});-async function Bb(e) {- let t = await fetch(Ab, {+async function ED(e) {+ let t = await fetch(gD, {method: "POST",credentials: "same-origin",headers: {@@ -25533,38 +32151,38 @@ async function Bb(e) {} catch {}if (!t.ok) {let e = n?.error;- throw new Df(e || `导入失败(${t.status})`, t.status, n);+ throw new Hm(e || `导入失败(${t.status})`, t.status, n);}return n;}-var Vb = 2e3, Hb = 1e4, Ub = (e) => e?.status === "running" ? Vb : Hb, Wb = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", Gb = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, Kb = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function qb(e) {+var DD = 2e3, OD = 1e4, kD = (e) => e?.status === "running" ? DD : OD, AD = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", jD = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, MD = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function ND(e) {if (e.web_visits == null) return Number(e.score || e.visits || 0).toLocaleString();let t = [];return e.web_visits && t.push(`浏览 ${e.web_visits}`), e.peach_items && t.push(`Peach ${e.peach_items}`), t.join(" · ");}-function Jb(e) {- let t = e.map(Kb), n = Math.max(1, ...t);+function PD(e) {+ let t = e.map(MD), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var Yb = {+var FD = {x: 160,y: 140-}, Xb = [+}, ID = [25,50,75,100-], Zb = (e, t, n) => {+], LD = (e, t, n) => {let r = e / t * Math.PI * 2 - Math.PI / 2;- return [Yb.x + Math.cos(r) * n, Yb.y + Math.sin(r) * n];+ return [FD.x + Math.cos(r) * n, FD.y + Math.sin(r) * n];};-function Qb(e) {+function RD(e) {let t = e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).slice().sort((e, t) => Number(t.score) - Number(e.score)).slice(0, 6);if (t.length < 3) return [];let n = Math.max(...t.map((e) => Number(e.score)));return t.map((e, r) => {- let [i, a] = Zb(r, t.length, Number(e.score) / n * 100), [o, s] = Zb(r, t.length, 116);+ let [i, a] = LD(r, t.length, Number(e.score) / n * 100), [o, s] = LD(r, t.length, 116);return {name: e.name,x: i,@@ -25574,7 +32192,7 @@ function Qb(e) {};});}-var $b = (e, t) => Array.from({ length: t }, (n, r) => Zb(r, t, e).map((e) => e.toFixed(2)).join(",")).join(" "), ex = (e) => e.map((e) => `${e.x.toFixed(2)},${e.y.toFixed(2)}`).join(" "), tx = [+var zD = (e, t) => Array.from({ length: t }, (n, r) => LD(r, t, e).map((e) => e.toFixed(2)).join(",")).join(" "), BD = (e) => e.map((e) => `${e.x.toFixed(2)},${e.y.toFixed(2)}`).join(" "), VD = ["周一","周二","周三",@@ -25582,8 +32200,8 @@ var $b = (e, t) => Array.from({ length: t }, (n, r) => Zb(r, t, e).map((e) => e."周五","周六","周日"-], nx = (e, t) => e ? Math.max(.12, e / t) : 0;-function rx(e) {+], HD = (e, t) => e ? Math.max(.12, e / t) : 0;+function UD(e) {let t = Array.from({ length: 7 }, () => Array(24).fill(0));for (let n of e?.hours || []) {let { weekday: e, hour: r, count: i } = n;@@ -25593,14 +32211,14 @@ function rx(e) {return {cells: t.flatMap((e, t) => e.map((e, n) => ({key: `${t}-${n}`,- label: `${tx[t]} ${n}:00`,+ label: `${VD[t]} ${n}:00`,count: e,- share: nx(e, r)+ share: HD(e, r)}))),total: n.reduce((e, t) => e + t, 0)};}-function ix(e) {+function WD(e) {let t = (e?.days || []).filter((e) => /^\d{4}-\d{2}-\d{2}$/.test(e.date) && Number.isFinite(e.count) && e.count >= 0).slice().sort((e, t) => e.date.localeCompare(t.date)), n = {cells: [],total: 0,@@ -25618,7 +32236,7 @@ function ix(e) {key: r,label: r,count: s,- share: nx(s, o)+ share: HD(s, o)};});return {@@ -25628,17 +32246,17 @@ function ix(e) {end: t.at(-1).date};}-var ax = {+var GD = {width: 720,height: 435-}, ox = {+}, KD = {source: 145,target: 545};-function sx(e = []) {+function qD(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = lb().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({+ let n = [...new Set(t.map((e) => e.source))], r = [...new Set(t.map((e) => e.target))], i = YE().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({nodes: [...n.map((e) => ({id: `source:${e}`,name: e,@@ -25653,7 +32271,7 @@ function sx(e = []) {target: `target:${e.target}`,value: e.value}))- }), a = t.reduce((e, t) => e + t.value, 0), o = Db();+ }), a = t.reduce((e, t) => e + t.value, 0), o = pD();return {nodes: i.nodes.map((e) => ({id: e.id,@@ -25683,64 +32301,64 @@ function sx(e = []) {total: a};}-var cx = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, lx = [+var JD = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, YD = ["stroke-chart-1","stroke-chart-2","stroke-chart-3","stroke-chart-4","stroke-chart-5","stroke-chart-6"-], ux = [+], XD = ["fill-chart-1","fill-chart-2","fill-chart-3","fill-chart-4","fill-chart-5","fill-chart-6"-], dx = "flex min-w-0 flex-col gap-4 rounded-2xl border border-separator-border p-5";-function fx({ title: e, figure: t, note: n }) {- return /* @__PURE__ */ (0, S.jsxs)("header", {+], ZD = "flex min-w-0 flex-col gap-4 rounded-2xl border border-separator-border p-5";+function QD({ title: e, figure: t, note: n }) {+ return /* @__PURE__ */ (0, C.jsxs)("header", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, S.jsx)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: e- }), /* @__PURE__ */ (0, S.jsxs)("p", {+ }), /* @__PURE__ */ (0, C.jsxs)("p", {className: "flex flex-wrap items-baseline gap-2",- children: [/* @__PURE__ */ (0, S.jsx)("b", {+ children: [/* @__PURE__ */ (0, C.jsx)("b", {className: "text-title-1-medium tabular-nums text-text-primary",children: t- }), /* @__PURE__ */ (0, S.jsx)("small", {+ }), /* @__PURE__ */ (0, C.jsx)("small", {className: "min-w-0 text-caption-1-regular break-words text-text-secondary",children: n})]})]});}-function px({ rows: e, label: t }) {- let n = Qb(e);+function $D({ rows: e, label: t }) {+ let n = RD(e);if (!n.length) return null;let r = n.length;- return /* @__PURE__ */ (0, S.jsxs)("svg", {+ return /* @__PURE__ */ (0, C.jsxs)("svg", {viewBox: "0 0 320 280",role: "img","aria-label": t,className: "block w-full overflow-visible",children: [- /* @__PURE__ */ (0, S.jsx)("title", { children: n.map((e) => e.name).join(",") }),- Xb.map((e) => /* @__PURE__ */ (0, S.jsx)("polygon", {- points: $b(e, r),+ /* @__PURE__ */ (0, C.jsx)("title", { children: n.map((e) => e.name).join(",") }),+ ID.map((e) => /* @__PURE__ */ (0, C.jsx)("polygon", {+ points: zD(e, r),fill: "none",className: "stroke-separator-border",strokeWidth: 1}, e)),- /* @__PURE__ */ (0, S.jsx)("polygon", {- points: ex(n),+ /* @__PURE__ */ (0, C.jsx)("polygon", {+ points: BD(n),strokeWidth: 2,strokeLinejoin: "round",fillOpacity: .18,className: "fill-chart-4 stroke-chart-4"}),- n.map((e) => /* @__PURE__ */ (0, S.jsx)("text", {+ n.map((e) => /* @__PURE__ */ (0, C.jsx)("text", {x: e.labelX,y: e.labelY,dominantBaseline: "middle",@@ -25751,34 +32369,34 @@ function px({ rows: e, label: t }) {]});}-function mx({ rows: e, label: t }) {+function eO({ rows: e, label: t }) {let n = e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).slice().sort((e, t) => Number(t.score) - Number(e.score)).slice(0, 8);if (!n.length) return null;- let r = Jb(n);- return /* @__PURE__ */ (0, S.jsx)("ol", {+ let r = PD(n);+ return /* @__PURE__ */ (0, C.jsx)("ol", {"aria-label": t,className: "flex flex-col gap-2",- children: n.map((e, t) => /* @__PURE__ */ (0, S.jsxs)("li", {+ children: n.map((e, t) => /* @__PURE__ */ (0, C.jsxs)("li", {className: "flex min-w-0 flex-col gap-1.5",- children: [/* @__PURE__ */ (0, S.jsxs)("p", {+ children: [/* @__PURE__ */ (0, C.jsxs)("p", {className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",- children: [/* @__PURE__ */ (0, S.jsx)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", {className: "min-w-0 break-words",children: e.name- }), /* @__PURE__ */ (0, S.jsx)("b", {+ }), /* @__PURE__ */ (0, C.jsx)("b", {className: "tabular-nums",children: Number(e.score).toLocaleString()})]- }), /* @__PURE__ */ (0, S.jsxs)("svg", {+ }), /* @__PURE__ */ (0, C.jsxs)("svg", {viewBox: "0 0 100 1",preserveAspectRatio: "none","aria-hidden": !0,className: "h-1.5 w-full overflow-hidden rounded-full",- children: [/* @__PURE__ */ (0, S.jsx)("rect", {+ children: [/* @__PURE__ */ (0, C.jsx)("rect", {width: 100,height: 1,className: "fill-chart-track"- }), /* @__PURE__ */ (0, S.jsx)("rect", {+ }), /* @__PURE__ */ (0, C.jsx)("rect", {width: r[t],height: 1,className: "fill-chart-4"@@ -25787,19 +32405,19 @@ function mx({ rows: e, label: t }) {}, e.name))});}-function hx({ title: e, unit: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s }) {- let [c, l] = (0, x.useState)(null), u = o ? 30 : 0, d = o ? 18 : 0;- return /* @__PURE__ */ (0, S.jsxs)("section", {- className: dx,+function tO({ title: e, unit: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s }) {+ let [c, l] = (0, S.useState)(null), u = o ? 30 : 0, d = o ? 18 : 0;+ return /* @__PURE__ */ (0, C.jsxs)("section", {+ className: ZD,children: [- /* @__PURE__ */ (0, S.jsx)(fx, {+ /* @__PURE__ */ (0, C.jsx)(QD, {title: e,figure: (c ? c.count : r).toLocaleString(),note: c ? c.label : t}),- /* @__PURE__ */ (0, S.jsx)("div", {+ /* @__PURE__ */ (0, C.jsx)("div", {className: "min-w-0 overflow-x-auto",- children: /* @__PURE__ */ (0, S.jsxs)("svg", {+ children: /* @__PURE__ */ (0, C.jsxs)("svg", {role: "img","aria-label": e,onPointerLeave: () => l(null),@@ -25807,7 +32425,7 @@ function hx({ title: e, unit: t, cells: n, total: r, columns: i, rows: a, axis:className: "block h-auto min-w-80 w-full",children: [o, n.map((e, t) => {let n = t % i, r = Math.floor(t / i);- return /* @__PURE__ */ (0, S.jsx)("rect", {+ return /* @__PURE__ */ (0, C.jsx)("rect", {tabIndex: 0,role: "img","aria-label": `${e.label},${e.count} 次访问`,@@ -25825,83 +32443,83 @@ function hx({ title: e, unit: t, cells: n, total: r, columns: i, rows: a, axis:})]})}),- /* @__PURE__ */ (0, S.jsx)("footer", {+ /* @__PURE__ */ (0, C.jsx)("footer", {className: "flex flex-wrap justify-between gap-3 text-caption-1-regular text-text-secondary",children: s})]});}-var gx = "口味网站访问";-function _x({ activity: e }) {- let t = rx(e), n = ix(e);- if (!n.cells.length) return /* @__PURE__ */ (0, S.jsxs)("section", {- className: dx,- children: [/* @__PURE__ */ (0, S.jsx)("h3", {+var nO = "口味网站访问";+function rO({ activity: e }) {+ let t = UD(e), n = WD(e);+ if (!n.cells.length) return /* @__PURE__ */ (0, C.jsxs)("section", {+ className: ZD,+ children: [/* @__PURE__ */ (0, C.jsx)("h3", {className: "text-headline-medium text-text-primary",children: "浏览活跃时间"- }), /* @__PURE__ */ (0, S.jsx)("p", {+ }), /* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-2-regular text-text-secondary",children: "还没有可用于分析的口味网站访问记录。"})]});- let r = /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [tx.map((e, t) => /* @__PURE__ */ (0, S.jsx)("text", {+ let r = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [VD.map((e, t) => /* @__PURE__ */ (0, C.jsx)("text", {x: 0,y: 18 + t * 17 + 7,dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",children: e- }, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, S.jsx)("text", {+ }, e)), Array.from({ length: 24 }, (e, t) => t % 2 ? null : /* @__PURE__ */ (0, C.jsx)("text", {x: 30 + t * 17,y: 8,dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",children: t}, t))] });- return /* @__PURE__ */ (0, S.jsxs)("div", {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "inline-grid w-full gap-5 lg:grid-cols-2",- children: [/* @__PURE__ */ (0, S.jsx)(hx, {+ children: [/* @__PURE__ */ (0, C.jsx)(tO, {title: "浏览活跃时间",- unit: gx,+ unit: nO,cells: t.cells,total: t.total,columns: 24,rows: 7,axis: r,- footer: /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, S.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })- }), /* @__PURE__ */ (0, S.jsx)(hx, {+ footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, C.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })+ }), /* @__PURE__ */ (0, C.jsx)(tO, {title: "每日活跃",- unit: gx,+ unit: nO,cells: n.cells,total: n.total,columns: 13,rows: 7,- footer: /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsx)("span", { children: n.start }), /* @__PURE__ */ (0, S.jsx)("span", { children: n.end })] })+ footer: /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsx)("span", { children: n.start }), /* @__PURE__ */ (0, C.jsx)("span", { children: n.end })] })})]});}-function vx({ flows: e }) {- let [t, n] = (0, x.useState)(null), r = sx(e);+function iO({ flows: e }) {+ let [t, n] = (0, S.useState)(null), r = qD(e);if (!r) return null;let i = t?.node ?? null, a = (e, n) => t ? i === null ? t.label === n : e.source === i || e.target === i : !0;- return /* @__PURE__ */ (0, S.jsxs)("section", {- className: dx,+ return /* @__PURE__ */ (0, C.jsxs)("section", {+ className: ZD,children: [- /* @__PURE__ */ (0, S.jsx)(fx, {+ /* @__PURE__ */ (0, C.jsx)(QD, {title: "创作者线索来源",figure: (t ? t.value : r.total).toLocaleString(),note: t ? t.label : "条线索"}),- /* @__PURE__ */ (0, S.jsx)("div", {+ /* @__PURE__ */ (0, C.jsx)("div", {className: "min-w-0 overflow-x-auto",- children: /* @__PURE__ */ (0, S.jsxs)("svg", {- viewBox: `0 0 ${ax.width} ${ax.height}`,+ children: /* @__PURE__ */ (0, C.jsxs)("svg", {+ viewBox: `0 0 ${GD.width} ${GD.height}`,fill: "none",role: "img","aria-label": "来源网站与创作者线索",className: "block h-auto min-w-160 w-full",onPointerLeave: () => n(null),- children: [/* @__PURE__ */ (0, S.jsx)("g", { children: r.links.map((e) => /* @__PURE__ */ (0, S.jsx)("path", {+ children: [/* @__PURE__ */ (0, C.jsx)("g", { children: r.links.map((e) => /* @__PURE__ */ (0, C.jsx)("path", {d: e.d,strokeWidth: e.width,tabIndex: 0,@@ -25909,7 +32527,7 @@ function vx({ flows: e }) {"aria-label": `${e.label}:${e.value} 条线索`,fillOpacity: 0,strokeOpacity: a(e, e.label) ? .7 : .08,- className: `outline-none transition-opacity ${lx[e.color]}`,+ className: `outline-none transition-opacity ${YD[e.color]}`,onPointerEnter: () => n({value: e.value,label: e.label,@@ -25921,7 +32539,7 @@ function vx({ flows: e }) {node: null}),onBlur: () => n(null)- }, e.key)) }), /* @__PURE__ */ (0, S.jsx)("g", { children: r.nodes.map((e) => /* @__PURE__ */ (0, S.jsxs)("g", {+ }, e.key)) }), /* @__PURE__ */ (0, C.jsx)("g", { children: r.nodes.map((e) => /* @__PURE__ */ (0, C.jsxs)("g", {tabIndex: 0,role: "img","aria-label": `${e.name}:${e.value} 条线索`,@@ -25937,21 +32555,21 @@ function vx({ flows: e }) {node: e.index}),onBlur: () => n(null),- children: [/* @__PURE__ */ (0, S.jsx)("rect", {+ children: [/* @__PURE__ */ (0, C.jsx)("rect", {x: e.x,y: e.y,width: 10,height: e.height,rx: 5,- className: e.side === "source" ? ux[e.color] : "fill-text-secondary"- }), /* @__PURE__ */ (0, S.jsxs)("text", {- x: ox[e.side],+ className: e.side === "source" ? XD[e.color] : "fill-text-secondary"+ }), /* @__PURE__ */ (0, C.jsxs)("text", {+ x: KD[e.side],y: e.y + e.height / 2,textAnchor: e.side === "source" ? "end" : "start",dominantBaseline: "middle",className: "fill-text-secondary text-caption-1-regular",- children: [cx(e.name), /* @__PURE__ */ (0, S.jsx)("tspan", {- x: ox[e.side],+ children: [JD(e.name), /* @__PURE__ */ (0, C.jsx)("tspan", {+ x: KD[e.side],dy: 15,children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`})]@@ -25959,43 +32577,43 @@ function vx({ flows: e }) {}, e.id)) })]})}),- /* @__PURE__ */ (0, S.jsxs)("footer", {+ /* @__PURE__ */ (0, C.jsxs)("footer", {className: "flex justify-between gap-3 text-caption-1-regular text-text-secondary",- children: [/* @__PURE__ */ (0, S.jsx)("span", { children: "来源网站" }), /* @__PURE__ */ (0, S.jsx)("span", { children: "创作者 · 线索占比" })]+ children: [/* @__PURE__ */ (0, C.jsx)("span", { children: "来源网站" }), /* @__PURE__ */ (0, C.jsx)("span", { children: "创作者 · 线索占比" })]})]});}//#endregion//#region src/react/taste/taste-page.tsx-var yx = 10, bx = Z(d_, f_, "text-body-2-medium"), xx = "flex min-w-0 flex-col gap-4 rounded-2xl border border-separator-border p-5", Sx = "relative cursor-pointer py-3 text-body-2-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-text-primary", Cx = "flex cursor-pointer items-center rounded-lg px-3 py-1.5 text-body-2-medium text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary", wx = "读取运行 Peach 的这台电脑上的浏览记录", Tx = "导入或读取浏览记录后,这里会列出已采集设备。", Ex = "馆藏里暂时没有对得上浏览信号的标签。", Dx = "采集浏览记录后,这里会显示聚合后的口味证据。", Ox = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", kx = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", Ax = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", jx = "需要刷新时再次读取或导入;数据源可在页面底部移除。", Mx = "这个数据源将不再用于口味分析。原始导出文件保留。", Nx = "peach-taste-guide-dismissed";-function Px({ icon: e, term: t, figure: n, detail: r }) {- return /* @__PURE__ */ (0, S.jsxs)("div", {+var aO = 10, oO = Y(Dx, Ox, "text-body-2-medium"), sO = "flex min-w-0 flex-col gap-4 rounded-2xl border border-separator-border p-5", cO = "relative cursor-pointer py-3 text-body-2-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-text-primary", lO = "flex cursor-pointer items-center rounded-lg px-3 py-1.5 text-body-2-medium text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:bg-background-tertiary-default data-selected:text-text-primary", uO = "读取运行 Peach 的这台电脑上的浏览记录", dO = "导入或读取浏览记录后,这里会列出已采集设备。", fO = "馆藏里暂时没有对得上浏览信号的标签。", pO = "采集浏览记录后,这里会显示聚合后的口味证据。", mO = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", hO = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", gO = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", _O = "需要刷新时再次读取或导入;数据源可在页面底部移除。", vO = "这个数据源将不再用于口味分析。原始导出文件保留。", yO = "peach-taste-guide-dismissed";+function bO({ icon: e, term: t, figure: n, detail: r }) {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex min-w-0 flex-col gap-2 rounded-2xl border border-separator-border p-4",children: [- /* @__PURE__ */ (0, S.jsxs)("span", {+ /* @__PURE__ */ (0, C.jsxs)("span", {className: "flex min-w-0 items-center gap-2 text-body-2-regular text-text-secondary",- children: [/* @__PURE__ */ (0, S.jsx)(e, {+ children: [/* @__PURE__ */ (0, C.jsx)(e, {"aria-hidden": !0,className: "size-4 shrink-0"}), t]}),- /* @__PURE__ */ (0, S.jsx)("b", {+ /* @__PURE__ */ (0, C.jsx)("b", {className: "text-title-1-medium tabular-nums text-text-primary",children: n}),- /* @__PURE__ */ (0, S.jsx)("small", {+ /* @__PURE__ */ (0, C.jsx)("small", {className: "min-w-0 overflow-hidden text-caption-1-regular text-ellipsis whitespace-nowrap text-text-secondary",children: r ?? ""})]});}-function Fx({ name: e, domain: t }) {- return /* @__PURE__ */ (0, S.jsxs)("span", {+function xO({ name: e, domain: t }) {+ return /* @__PURE__ */ (0, C.jsxs)("span", {className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-lg bg-background-tertiary-default text-caption-1-medium text-text-secondary",- children: [e.slice(0, 1).toUpperCase(), /* @__PURE__ */ (0, S.jsx)("img", {- src: i({ domain: t }),+ children: [e.slice(0, 1).toUpperCase(), /* @__PURE__ */ (0, C.jsx)("img", {+ src: a({ domain: t }),alt: "",loading: "lazy",width: 20,@@ -26005,64 +32623,64 @@ function Fx({ name: e, domain: t }) {})]});}-function Ix({ html: e }) {- return /* @__PURE__ */ (0, S.jsx)("span", {+function SO({ html: e }) {+ return /* @__PURE__ */ (0, C.jsx)("span", {className: "relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-medium text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:object-cover",dangerouslySetInnerHTML: { __html: e }});}-function Lx({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {- let [o, s] = (0, x.useState)(!1);- if (!e.length) return /* @__PURE__ */ (0, S.jsx)(Mf, {- icon: zu,+function CO({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a }) {+ let [o, s] = (0, S.useState)(!1);+ if (!e.length) return /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: Qf,title: "暂无足够证据",children: r});- let c = Jb(e), l = o ? e : e.slice(0, yx);- return /* @__PURE__ */ (0, S.jsxs)("div", {+ let c = PD(e), l = o ? e : e.slice(0, aO);+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-3",- children: [/* @__PURE__ */ (0, S.jsx)("ol", {+ children: [/* @__PURE__ */ (0, C.jsx)("ol", {className: "inline-grid w-full gap-1 sm:grid-cols-2",children: l.map((e, r) => {- let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), l = /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [- /* @__PURE__ */ (0, S.jsx)("span", {+ let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), l = /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [+ /* @__PURE__ */ (0, C.jsx)("span", {className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",children: r + 1}),- n === "domain" ? /* @__PURE__ */ (0, S.jsx)(Fx, {+ n === "domain" ? /* @__PURE__ */ (0, C.jsx)(xO, {name: e.name,domain: e.name}) : null,- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, S.jsx)(Fx, {+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, C.jsx)(xO, {name: e.name,domain: s}) : null,- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, S.jsx)(Ix, { html: a(e.name, e.entity_id ? {+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, C.jsx)(SO, { html: a(e.name, e.entity_id ? {id: e.entity_id,has_image: !!e.has_image,avatar_focus: e.avatar_focus} : null, e.has_avatar ? e.representative_asset_id ?? null : null, n === "creator" ? "creator" : t || "performer") }) : null,- /* @__PURE__ */ (0, S.jsxs)("span", {+ /* @__PURE__ */ (0, C.jsxs)("span", {className: "flex min-w-0 grow flex-col gap-1",children: [- /* @__PURE__ */ (0, S.jsx)("b", {+ /* @__PURE__ */ (0, C.jsx)("b", {className: "min-w-0 text-body-2-regular break-words text-text-primary",children: e.name}),- /* @__PURE__ */ (0, S.jsx)("small", {+ /* @__PURE__ */ (0, C.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: qb(e)+ children: ND(e)}),- /* @__PURE__ */ (0, S.jsxs)("svg", {+ /* @__PURE__ */ (0, C.jsxs)("svg", {viewBox: "0 0 100 1",preserveAspectRatio: "none","aria-hidden": !0,className: "h-1 w-full overflow-hidden rounded-full",- children: [/* @__PURE__ */ (0, S.jsx)("rect", {+ children: [/* @__PURE__ */ (0, C.jsx)("rect", {width: 100,height: 1,className: "fill-chart-track"- }), /* @__PURE__ */ (0, S.jsx)("rect", {+ }), /* @__PURE__ */ (0, C.jsx)("rect", {width: c[r],height: 1,className: "fill-chart-4"@@ -26070,27 +32688,27 @@ function Lx({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a})]}),- o ? /* @__PURE__ */ (0, S.jsx)(Tu, {+ o ? /* @__PURE__ */ (0, C.jsx)(Af, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"}) : null] }), u = "flex w-full min-w-0 items-center gap-2.5 rounded-lg px-3 py-2 text-left";- return /* @__PURE__ */ (0, S.jsx)("li", {+ return /* @__PURE__ */ (0, C.jsx)("li", {className: "min-w-0",- children: o ? /* @__PURE__ */ (0, S.jsx)("button", {+ children: o ? /* @__PURE__ */ (0, C.jsx)("button", {type: "button",onClick: () => i(t, e.name),className: `${u} cursor-pointer outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,children: l- }) : /* @__PURE__ */ (0, S.jsx)("div", {+ }) : /* @__PURE__ */ (0, C.jsx)("div", {className: u,children: l})}, e.name);})- }), e.length > yx ? /* @__PURE__ */ (0, S.jsx)("div", {+ }), e.length > aO ? /* @__PURE__ */ (0, C.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, S.jsx)($, {+ children: /* @__PURE__ */ (0, C.jsx)(Z, {variant: "secondary",size: "small",onClick: () => s(!o),@@ -26099,21 +32717,21 @@ function Lx({ rows: e, kind: t, visual: n, empty: r, onSignal: i, avatarInner: a}) : null]});}-function Rx({ label: e, panels: t, onSignal: n, avatarInner: r }) {- return /* @__PURE__ */ (0, S.jsxs)(cg, {+function wO({ label: e, panels: t, onSignal: n, avatarInner: r }) {+ return /* @__PURE__ */ (0, C.jsxs)(_y, {className: "flex flex-col rounded-2xl border border-separator-border",- children: [/* @__PURE__ */ (0, S.jsx)(ug, {+ children: [/* @__PURE__ */ (0, C.jsx)(yy, {"aria-label": e,className: "flex gap-6 overflow-x-auto border-b border-separator-border px-4",- children: t.map((e) => /* @__PURE__ */ (0, S.jsx)(fg, {+ children: t.map((e) => /* @__PURE__ */ (0, C.jsx)(xy, {id: e.id,- className: Sx,+ className: cO,children: e.name}, e.id))- }), t.map((e) => /* @__PURE__ */ (0, S.jsx)(pg, {+ }), t.map((e) => /* @__PURE__ */ (0, C.jsx)(Sy, {id: e.id,className: "p-4",- children: /* @__PURE__ */ (0, S.jsx)(Lx, {+ children: /* @__PURE__ */ (0, C.jsx)(CO, {...e.props,onSignal: n,avatarInner: r@@ -26121,7 +32739,7 @@ function Rx({ label: e, panels: t, onSignal: n, avatarInner: r }) {}, e.id))]});}-function zx({ data: e, onSignal: t, navigate: n }) {+function TO({ data: e, onSignal: t, navigate: n }) {let r = e.analysis;if (!r?.headline) return null;let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({@@ -26135,94 +32753,94 @@ function zx({ data: e, onSignal: t, navigate: n }) {detail: e.detail,act: () => n(e.route)}))];- return /* @__PURE__ */ (0, S.jsxs)("section", {- className: xx,+ return /* @__PURE__ */ (0, C.jsxs)("section", {+ className: sO,"aria-label": "口味总结",children: [- /* @__PURE__ */ (0, S.jsxs)("header", {+ /* @__PURE__ */ (0, C.jsxs)("header", {className: "flex flex-col gap-2",- children: [/* @__PURE__ */ (0, S.jsx)("h3", {+ children: [/* @__PURE__ */ (0, C.jsx)("h3", {className: "text-headline-medium text-text-primary",children: "口味总结"- }), /* @__PURE__ */ (0, S.jsxs)("p", {+ }), /* @__PURE__ */ (0, C.jsxs)("p", {className: "flex flex-wrap items-baseline gap-2.5 text-body-2-regular text-text-secondary",- children: [/* @__PURE__ */ (0, S.jsx)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", {className: i.level === "high" ? "shrink-0 rounded-md bg-status-lime-background px-2 py-0.5 text-caption-1-medium text-status-lime-text" : i.level === "medium" ? "shrink-0 rounded-md bg-status-yellow-background px-2 py-0.5 text-caption-1-medium text-status-yellow-text" : "shrink-0 rounded-md bg-background-tertiary-default px-2 py-0.5 text-caption-1-medium text-text-secondary",children: i.label || "仍在学习"- }), /* @__PURE__ */ (0, S.jsx)("span", {+ }), /* @__PURE__ */ (0, C.jsx)("span", {className: "min-w-0",children: r.headline})]})]}),- r.points?.length ? /* @__PURE__ */ (0, S.jsx)("div", {+ r.points?.length ? /* @__PURE__ */ (0, C.jsx)("div", {className: "inline-grid w-full gap-3 sm:grid-cols-2",- children: r.points.map((e) => /* @__PURE__ */ (0, S.jsxs)("div", {+ children: r.points.map((e) => /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-3",- children: [/* @__PURE__ */ (0, S.jsx)("span", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: e.label- }), /* @__PURE__ */ (0, S.jsx)("b", {+ }), /* @__PURE__ */ (0, C.jsx)("b", {className: "text-body-2-medium break-words text-text-primary",children: e.text})]}, e.label))}) : null,- a.length ? /* @__PURE__ */ (0, S.jsx)("div", {+ a.length ? /* @__PURE__ */ (0, C.jsx)("div", {className: "flex flex-col gap-2",- children: a.map((e) => /* @__PURE__ */ (0, S.jsxs)("button", {+ children: a.map((e) => /* @__PURE__ */ (0, C.jsxs)("button", {type: "button",onClick: e.act,className: "flex w-full min-w-0 cursor-pointer items-center gap-3 rounded-xl bg-background-tertiary-default p-3 text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: [/* @__PURE__ */ (0, S.jsxs)("span", {+ children: [/* @__PURE__ */ (0, C.jsxs)("span", {className: "flex min-w-0 grow flex-col gap-1",- children: [/* @__PURE__ */ (0, S.jsx)("b", {+ children: [/* @__PURE__ */ (0, C.jsx)("b", {className: "text-body-2-medium text-text-primary",children: e.title- }), /* @__PURE__ */ (0, S.jsx)("small", {+ }), /* @__PURE__ */ (0, C.jsx)("small", {className: "text-caption-1-regular text-text-secondary",children: e.detail})]- }), /* @__PURE__ */ (0, S.jsx)(Tu, {+ }), /* @__PURE__ */ (0, C.jsx)(Af, {"aria-hidden": !0,className: "size-4 shrink-0 text-text-tertiary"})]}, e.key))- }) : /* @__PURE__ */ (0, S.jsx)(Mf, {- icon: zu,+ }) : /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: Qf,title: "还没有可探索的入口",- children: Ex+ children: fO})]});}-function Bx({ onboarding: e, done: t }) {- let [n, r] = (0, x.useState)(() => {+function EO({ onboarding: e, done: t }) {+ let [n, r] = (0, S.useState)(() => {try {- return localStorage.getItem(Nx) === "1";+ return localStorage.getItem(yO) === "1";} catch {return !1;}});- return t || n ? null : /* @__PURE__ */ (0, S.jsx)("div", {+ return t || n ? null : /* @__PURE__ */ (0, C.jsx)("div", {className: "rounded-2xl border border-separator-border p-4",- children: /* @__PURE__ */ (0, S.jsxs)(E_, {+ children: /* @__PURE__ */ (0, C.jsxs)(Wx, {summary: "浏览器历史记录导入指南",defaultOpen: e,children: [- /* @__PURE__ */ (0, S.jsx)("p", {+ /* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: kx+ children: hO}),- /* @__PURE__ */ (0, S.jsx)("p", {+ /* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: Ax+ children: gO}),- /* @__PURE__ */ (0, S.jsxs)("ul", {+ /* @__PURE__ */ (0, C.jsxs)("ul", {className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",- children: [/* @__PURE__ */ (0, S.jsxs)("li", { children: [+ children: [/* @__PURE__ */ (0, C.jsxs)("li", { children: ["Chrome:在 ",- /* @__PURE__ */ (0, S.jsx)("a", {+ /* @__PURE__ */ (0, C.jsx)("a", {href: "https://takeout.google.com/",target: "_blank",rel: "noopener noreferrer",@@ -26231,9 +32849,9 @@ function Bx({ onboarding: e, done: t }) {})," ","选择 Chrome 历史记录,下载 ZIP 后直接导入。"- ] }), /* @__PURE__ */ (0, S.jsxs)("li", { children: [+ ] }), /* @__PURE__ */ (0, C.jsxs)("li", { children: ["其他浏览器:用 ",- /* @__PURE__ */ (0, S.jsx)("a", {+ /* @__PURE__ */ (0, C.jsx)("a", {href: "https://github.com/purarue/browserexport",target: "_blank",rel: "noopener noreferrer",@@ -26244,18 +32862,18 @@ function Bx({ onboarding: e, done: t }) {"导出历史记录,再导入导出文件。"] })]}),- /* @__PURE__ */ (0, S.jsx)("p", {+ /* @__PURE__ */ (0, C.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: jx+ children: _O}),- /* @__PURE__ */ (0, S.jsx)("span", {+ /* @__PURE__ */ (0, C.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, S.jsx)($, {+ children: /* @__PURE__ */ (0, C.jsx)(Z, {variant: "secondary",size: "small",onClick: () => {try {- localStorage.setItem(Nx, "1");+ localStorage.setItem(yO, "1");} catch {}r(!0);},@@ -26266,50 +32884,50 @@ function Bx({ onboarding: e, done: t }) {})});}-function Vx({ busy: e, onRefresh: t, onImport: n }) {- let r = (0, x.useRef)(null), [i, a] = (0, x.useState)(!1), o = (e) => {+function DO({ busy: e, onRefresh: t, onImport: n }) {+ let r = (0, S.useRef)(null), [i, a] = (0, S.useState)(!1), o = (e) => {a(!1), e();};- return /* @__PURE__ */ (0, S.jsxs)(S.Fragment, { children: [/* @__PURE__ */ (0, S.jsxs)("span", {+ return /* @__PURE__ */ (0, C.jsxs)(C.Fragment, { children: [/* @__PURE__ */ (0, C.jsxs)("span", {className: "flex items-center gap-1",- children: [/* @__PURE__ */ (0, S.jsx)($, {- leadingIcon: Du,- title: wx,+ children: [/* @__PURE__ */ (0, C.jsx)(Z, {+ leadingIcon: Ff,+ title: uO,onClick: t,- ...kg(e),+ ...Ry(e),children: "读取浏览器历史"- }), /* @__PURE__ */ (0, S.jsx)($, {+ }), /* @__PURE__ */ (0, C.jsx)(Z, {ref: r,iconOnly: !0,- leadingIcon: Cu,+ leadingIcon: Of,"aria-label": "更多取得浏览记录的方式","aria-haspopup": "dialog","aria-expanded": i,onClick: () => a(!0)})]- }), /* @__PURE__ */ (0, S.jsx)(_h, {+ }), /* @__PURE__ */ (0, C.jsx)(N_, {triggerRef: r,isOpen: i,onOpenChange: a,placement: "bottom end",offset: 4,- className: c_,- children: /* @__PURE__ */ (0, S.jsxs)(xh, {+ className: wx,+ children: /* @__PURE__ */ (0, C.jsxs)(L_, {"aria-label": "更多取得浏览记录的方式",className: "flex w-52 flex-col gap-1 outline-none",- children: [/* @__PURE__ */ (0, S.jsxs)("button", {+ children: [/* @__PURE__ */ (0, C.jsxs)("button", {type: "button",- className: bx,+ className: oO,onClick: () => o(t),- children: [/* @__PURE__ */ (0, S.jsx)(Du, {+ children: [/* @__PURE__ */ (0, C.jsx)(Ff, {"aria-hidden": !0,className: "size-4 shrink-0"}), "读取浏览器历史"]- }), /* @__PURE__ */ (0, S.jsxs)("button", {+ }), /* @__PURE__ */ (0, C.jsxs)("button", {type: "button",- className: bx,+ className: oO,onClick: () => o(n),- children: [/* @__PURE__ */ (0, S.jsx)(Hu, {+ children: [/* @__PURE__ */ (0, C.jsx)(np, {"aria-hidden": !0,className: "size-4 shrink-0"}), "导入历史文件"]@@ -26317,61 +32935,61 @@ function Vx({ busy: e, onRefresh: t, onImport: n }) {})})] });}-function Hx({ sources: e, window: t, toast: n }) {- let r = dt({- mutationFn: (e) => zb(e, t),+function OO({ sources: e, window: t, toast: n }) {+ let r = ut({+ mutationFn: (e) => TD(e, t),onSuccess: (e) => {- Lf.setQueryData(Mb(t), e.dashboard), n("已移除口味数据源");+ Qm.setQueryData(vD(t), e.dashboard), n("已移除口味数据源");}});- return /* @__PURE__ */ (0, S.jsxs)("section", {- className: xx,+ return /* @__PURE__ */ (0, C.jsxs)("section", {+ className: sO,"aria-label": "数据源",children: [- /* @__PURE__ */ (0, S.jsx)("h3", {+ /* @__PURE__ */ (0, C.jsx)("h3", {className: "text-headline-medium text-text-primary",children: "数据源"}),- r.error ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ r.error ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",- children: kf(r.error)+ children: Wm(r.error)}) : null,- e.length ? /* @__PURE__ */ (0, S.jsx)("div", {+ e.length ? /* @__PURE__ */ (0, C.jsx)("div", {className: "inline-grid w-full gap-2 sm:grid-cols-2",- children: e.map((e) => /* @__PURE__ */ (0, S.jsxs)("div", {+ children: e.map((e) => /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex min-w-0 items-center gap-3 rounded-xl bg-background-tertiary-default p-3",children: [- /* @__PURE__ */ (0, S.jsx)("span", {+ /* @__PURE__ */ (0, C.jsx)("span", {className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, S.jsx)(Hu, {+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, C.jsx)(np, {"aria-hidden": !0,className: "size-4"- }) : /* @__PURE__ */ (0, S.jsx)(Ou, {+ }) : /* @__PURE__ */ (0, C.jsx)(If, {"aria-hidden": !0,className: "size-4"})}),- /* @__PURE__ */ (0, S.jsxs)("span", {+ /* @__PURE__ */ (0, C.jsxs)("span", {className: "flex min-w-0 grow flex-col gap-0.5",- children: [/* @__PURE__ */ (0, S.jsx)("b", {+ children: [/* @__PURE__ */ (0, C.jsx)("b", {className: "min-w-0 text-body-2-medium break-words text-text-primary",children: e.profile- }), /* @__PURE__ */ (0, S.jsx)("small", {+ }), /* @__PURE__ */ (0, C.jsx)("small", {className: "min-w-0 text-caption-1-regular break-words text-text-secondary",children: `${e.browser} · ${e.host} · ${Number(e.visits || 0).toLocaleString()} 条`})]}),- /* @__PURE__ */ (0, S.jsx)($, {+ /* @__PURE__ */ (0, C.jsx)(Z, {variant: "secondary",size: "small","aria-label": `移除 ${e.profile}`,iconOnly: !0,- leadingIcon: ku,- ...kg(r.isPending),+ leadingIcon: Lf,+ ...Ry(r.isPending),onClick: () => {- r.isPending || o({+ r.isPending || s({title: "移除口味数据源",- body: Mx,+ body: vO,confirmLabel: "移除口味数据源",onConfirm: () => r.mutateAsync(e.source_key)});@@ -26379,202 +32997,202 @@ function Hx({ sources: e, window: t, toast: n }) {})]}, e.source_key))- }) : /* @__PURE__ */ (0, S.jsx)(Mf, {- icon: Ou,+ }) : /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: If,title: "还没有数据源",- children: Tx+ children: dO})]});}-function Ux(e) {- let { onSignal: t, navigate: r, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, x.useState)("all"), [l, u] = (0, x.useState)("browser"), [d, f] = (0, x.useState)(!1), [p, m] = (0, x.useState)(null), h = (0, x.useRef)(null), g = ut({- queryKey: Mb(s),- queryFn: ({ signal: e }) => Fb(s, e),- placeholderData: me- }), _ = ut({- queryKey: Nb,- queryFn: ({ signal: e }) => Ib(e),- refetchInterval: (e) => Ub(e.state.data)- }), v = dt({- mutationFn: () => Rb(s),+function kO(e) {+ let { onSignal: t, navigate: r, toast: i, avatarInner: a, onboarding: o } = e, [s, c] = (0, S.useState)("all"), [l, u] = (0, S.useState)("browser"), [d, f] = (0, S.useState)(!1), [p, m] = (0, S.useState)(null), h = (0, S.useRef)(null), g = lt({+ queryKey: vD(s),+ queryFn: ({ signal: e }) => xD(s, e),+ placeholderData: I+ }), _ = lt({+ queryKey: yD,+ queryFn: ({ signal: e }) => SD(e),+ refetchInterval: (e) => kD(e.state.data)+ }), v = ut({+ mutationFn: () => wD(s),onSuccess: () => {- f(!0), m(null), Lf.invalidateQueries({ queryKey: Nb });+ f(!0), m(null), Qm.invalidateQueries({ queryKey: yD });}- }), y = dt({- mutationFn: (e) => Bb(e),+ }), y = ut({+ mutationFn: (e) => ED(e),onSuccess: (e) => {- Lf.setQueryData(Mb("all"), e.dashboard), c("all"), i("已导入口味数据");+ Qm.setQueryData(vD("all"), e.dashboard), c("all"), i("已导入口味数据");}}), b = _.data?.status === "running";- (0, x.useEffect)(() => {+ (0, S.useEffect)(() => {let e = _.data;if (e) {if (e.status === "running") {d || f(!0);return;}- d && (f(!1), m(e), e.status !== "failed" && (Lf.invalidateQueries({ queryKey: ["taste"] }), i("已更新口味分析")));+ d && (f(!1), m(e), e.status !== "failed" && (Qm.invalidateQueries({ queryKey: ["taste"] }), i("已更新口味分析")));}}, [_.data,d,i]);- let C = (e) => {+ let x = (e) => {let t = e.currentTarget.files?.[0];e.currentTarget.value = "", !(!t || y.isPending) && (y.reset(), y.mutate(t));}, w = () => {b || v.isPending || (v.reset(), v.mutate());}, T = g.data;- if (!T) return /* @__PURE__ */ (0, S.jsx)(Ff, { children: /* @__PURE__ */ (0, S.jsx)(Pf, {+ if (!T) return /* @__PURE__ */ (0, C.jsx)(Xm, { children: /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",title: "读取失败",- children: g.error ? kf(g.error) : "读取口味分析失败"+ children: g.error ? Wm(g.error) : "读取口味分析失败"}) });- let E = T.summary || {}, D = T.coverage || {}, O = T.rankings || {}, k = T.storage || {}, A = O.browser_categories || [], ee = T.gaps || [], j = D.tagged || 0, te = D.identified || 0, M = v.error ? kf(v.error) : y.error ? kf(y.error) : p?.status === "failed" ? p.error || "读取未取得" : "";- return /* @__PURE__ */ (0, S.jsxs)(Ff, { children: [- /* @__PURE__ */ (0, S.jsxs)(cg, {+ let E = T.summary || {}, D = T.coverage || {}, O = T.rankings || {}, k = T.storage || {}, A = O.browser_categories || [], j = T.gaps || [], M = D.tagged || 0, N = D.identified || 0, ee = v.error ? Wm(v.error) : y.error ? Wm(y.error) : p?.status === "failed" ? p.error || "读取未取得" : "";+ return /* @__PURE__ */ (0, C.jsxs)(Xm, { children: [+ /* @__PURE__ */ (0, C.jsxs)(_y, {selectedKey: l,onSelectionChange: (e) => u(String(e)),className: "flex flex-col gap-5",children: [- /* @__PURE__ */ (0, S.jsxs)("div", {+ /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-3",- children: [/* @__PURE__ */ (0, S.jsxs)(ug, {+ children: [/* @__PURE__ */ (0, C.jsxs)(yy, {"aria-label": "口味证据来源",className: "flex flex-wrap gap-1",- children: [/* @__PURE__ */ (0, S.jsx)(fg, {+ children: [/* @__PURE__ */ (0, C.jsx)(xy, {id: "browser",- className: Cx,+ className: lO,children: "浏览器记录"- }), /* @__PURE__ */ (0, S.jsx)(fg, {+ }), /* @__PURE__ */ (0, C.jsx)(xy, {id: "peach",- className: Cx,+ className: lO,children: "Peach 内部"})]- }), /* @__PURE__ */ (0, S.jsxs)("div", {+ }), /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, S.jsx)(Q_, {+ /* @__PURE__ */ (0, C.jsx)(qC, {"aria-label": "分析范围",selectedKey: s,onSelectionChange: (e) => {e !== null && c(String(e));},- children: Pb.map(([e, t]) => /* @__PURE__ */ (0, S.jsx)($_, {+ children: bD.map(([e, t]) => /* @__PURE__ */ (0, C.jsx)(JC, {id: e,children: t}, e))}),- /* @__PURE__ */ (0, S.jsx)(Vx, {+ /* @__PURE__ */ (0, C.jsx)(DO, {busy: b || v.isPending || y.isPending,onRefresh: w,onImport: () => h.current?.click()}),- /* @__PURE__ */ (0, S.jsx)("input", {+ /* @__PURE__ */ (0, C.jsx)("input", {ref: h,type: "file",tabIndex: -1,"aria-hidden": !0,className: "hidden",- onChange: C+ onChange: x})]})]}),- /* @__PURE__ */ (0, S.jsx)(Bx, {+ /* @__PURE__ */ (0, C.jsx)(EO, {onboarding: o,done: !!(E.history_sources || T.updated_at)}),- /* @__PURE__ */ (0, S.jsxs)("div", {+ /* @__PURE__ */ (0, C.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-3 empty:hidden",children: [- b ? _.data?.total ? /* @__PURE__ */ (0, S.jsxs)("div", {+ b ? _.data?.total ? /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-1.5",- children: [/* @__PURE__ */ (0, S.jsx)(If, {+ children: [/* @__PURE__ */ (0, C.jsx)(Zm, {label: _.data.message || "正在读取浏览记录",value: _.data.checked || 0,max: _.data.total- }), /* @__PURE__ */ (0, S.jsx)("p", {+ }), /* @__PURE__ */ (0, C.jsx)("p", {className: "text-caption-1-regular text-text-secondary",children: `${_.data.message || "正在读取浏览记录"} · ${_.data.checked || 0} / ${_.data.total}`})]- }) : /* @__PURE__ */ (0, S.jsx)(Nf, { label: _.data?.message || "正在读取浏览记录并更新口味分析" }) : null,- y.isPending ? /* @__PURE__ */ (0, S.jsx)(Nf, { label: "正在导入历史文件" }) : null,- M ? /* @__PURE__ */ (0, S.jsx)(Pf, {+ }) : /* @__PURE__ */ (0, C.jsx)(Jm, { label: _.data?.message || "正在读取浏览记录并更新口味分析" }) : null,+ y.isPending ? /* @__PURE__ */ (0, C.jsx)(Jm, { label: "正在导入历史文件" }) : null,+ ee ? /* @__PURE__ */ (0, C.jsx)(Ym, {tone: "error",- children: M+ children: ee}) : null]}),- /* @__PURE__ */ (0, S.jsxs)(pg, {+ /* @__PURE__ */ (0, C.jsxs)(Sy, {id: "browser",className: "flex flex-col gap-5",children: [- /* @__PURE__ */ (0, S.jsxs)("div", {+ /* @__PURE__ */ (0, C.jsxs)("div", {className: "inline-grid w-full gap-4 sm:grid-cols-2 lg:grid-cols-4",children: [- /* @__PURE__ */ (0, S.jsx)(Px, {- icon: Fu,+ /* @__PURE__ */ (0, C.jsx)(bO, {+ icon: Wf,term: "浏览记录",figure: Number(E.history_visits || 0).toLocaleString(),- detail: `${E.history_sources || 0} 个数据源 · ${Wb(E.range_start)}—${Wb(E.range_end)}`+ detail: `${E.history_sources || 0} 个数据源 · ${AD(E.range_start)}—${AD(E.range_end)}`}),- /* @__PURE__ */ (0, S.jsx)(Px, {- icon: Ru,+ /* @__PURE__ */ (0, C.jsx)(bO, {+ icon: Yf,term: "口味维度",figure: A.length.toLocaleString(),detail: A[0]?.name || "尚无主维度"}),- /* @__PURE__ */ (0, S.jsx)(Px, {- icon: zu,+ /* @__PURE__ */ (0, C.jsx)(bO, {+ icon: Qf,term: "浏览候选",- figure: ee.length.toLocaleString()+ figure: j.length.toLocaleString()}),- /* @__PURE__ */ (0, S.jsx)(Px, {- icon: Ou,+ /* @__PURE__ */ (0, C.jsx)(bO, {+ icon: If,term: "私有导出",figure: Number(k.exports || 0).toLocaleString(),detail: n(k.bytes || 0)})]}),- /* @__PURE__ */ (0, S.jsxs)("section", {- className: `${xx} md:flex-row md:gap-6`,+ /* @__PURE__ */ (0, C.jsxs)("section", {+ className: `${sO} md:flex-row md:gap-6`,"aria-label": "浏览器画像",- children: [/* @__PURE__ */ (0, S.jsxs)("div", {+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {className: "flex shrink-0 flex-col gap-2 border-b border-separator-border pb-5 md:w-72 md:border-b-0 md:border-r md:pr-6 md:pb-0",children: [- /* @__PURE__ */ (0, S.jsx)("span", {+ /* @__PURE__ */ (0, C.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: "浏览器画像"}),- /* @__PURE__ */ (0, S.jsx)(px, {+ /* @__PURE__ */ (0, C.jsx)($D, {rows: A,label: "主要口味维度"}),- /* @__PURE__ */ (0, S.jsx)("small", {+ /* @__PURE__ */ (0, C.jsx)("small", {className: "text-caption-1-regular text-text-secondary",- children: T.updated_at ? `更新于 ${Wb(T.updated_at)}` : "尚未采集浏览记录"+ children: T.updated_at ? `更新于 ${AD(T.updated_at)}` : "尚未采集浏览记录"})]- }), /* @__PURE__ */ (0, S.jsx)("div", {+ }), /* @__PURE__ */ (0, C.jsx)("div", {className: "min-w-0 grow",- children: A.length ? /* @__PURE__ */ (0, S.jsx)(mx, {+ children: A.length ? /* @__PURE__ */ (0, C.jsx)(eO, {rows: A,label: "口味维度排名"- }) : /* @__PURE__ */ (0, S.jsx)(Mf, {- icon: zu,+ }) : /* @__PURE__ */ (0, C.jsx)(qm, {+ icon: Qf,title: "暂无口味维度",- children: Dx+ children: pO})})]}),- /* @__PURE__ */ (0, S.jsx)(_x, { activity: T.activity }),- /* @__PURE__ */ (0, S.jsx)(vx, { flows: T.creator_flows }),- /* @__PURE__ */ (0, S.jsx)(Rx, {+ /* @__PURE__ */ (0, C.jsx)(rO, { activity: T.activity }),+ /* @__PURE__ */ (0, C.jsx)(iO, { flows: T.creator_flows }),+ /* @__PURE__ */ (0, C.jsx)(wO, {label: "浏览器口味维度",onSignal: t,avatarInner: a,@@ -26613,79 +33231,79 @@ function Ux(e) {id: "gaps",name: "浏览候选",props: {- rows: ee,+ rows: j,kind: "",visual: "none",- empty: Ox+ empty: mO}}]})]}),- /* @__PURE__ */ (0, S.jsxs)(pg, {+ /* @__PURE__ */ (0, C.jsxs)(Sy, {id: "peach",className: "flex flex-col gap-5",children: [- /* @__PURE__ */ (0, S.jsxs)("div", {+ /* @__PURE__ */ (0, C.jsxs)("div", {className: "inline-grid w-full gap-4 sm:grid-cols-2 lg:grid-cols-4",children: [- /* @__PURE__ */ (0, S.jsx)(Px, {- icon: Mu,+ /* @__PURE__ */ (0, C.jsx)(bO, {+ icon: Bf,term: "Peach 看过",figure: Number(E.peach_items || 0).toLocaleString(),- detail: Gb(E.peach_seconds || 0)+ detail: jD(E.peach_seconds || 0)}),- /* @__PURE__ */ (0, S.jsx)(Px, {- icon: Vu,+ /* @__PURE__ */ (0, C.jsx)(bO, {+ icon: tp,term: "喜欢",figure: Number(E.liked || 0).toLocaleString()}),- /* @__PURE__ */ (0, S.jsx)(Px, {- icon: Bu,+ /* @__PURE__ */ (0, C.jsx)(bO, {+ icon: ep,term: "不合口味",figure: Number(E.disliked || 0).toLocaleString()}),- /* @__PURE__ */ (0, S.jsx)(Px, {- icon: Ru,+ /* @__PURE__ */ (0, C.jsx)(bO, {+ icon: Yf,term: "有标签",- figure: j.toLocaleString()+ figure: M.toLocaleString()})]}),- /* @__PURE__ */ (0, S.jsxs)("section", {- className: `${xx} md:flex-row md:gap-6`,+ /* @__PURE__ */ (0, C.jsxs)("section", {+ className: `${sO} md:flex-row md:gap-6`,"aria-label": "Peach 观看",- children: [/* @__PURE__ */ (0, S.jsxs)("div", {+ children: [/* @__PURE__ */ (0, C.jsxs)("div", {className: "flex shrink-0 flex-col gap-0.5 border-b border-separator-border pb-5 md:w-72 md:border-b-0 md:border-r md:pr-6 md:pb-0",children: [- /* @__PURE__ */ (0, S.jsx)("span", {+ /* @__PURE__ */ (0, C.jsx)("span", {className: "text-caption-1-regular text-text-secondary",children: "Peach 观看"}),- /* @__PURE__ */ (0, S.jsx)("b", {+ /* @__PURE__ */ (0, C.jsx)("b", {className: "text-display-4-medium tabular-nums text-text-primary",children: Number(E.peach_items || 0).toLocaleString()}),- /* @__PURE__ */ (0, S.jsx)("span", {+ /* @__PURE__ */ (0, C.jsx)("span", {className: "text-body-2-regular text-text-secondary",children: "个作品有内部行为证据"})]- }), /* @__PURE__ */ (0, S.jsxs)("div", {+ }), /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex min-w-0 grow flex-col",- children: [/* @__PURE__ */ (0, S.jsx)(Wx, {+ children: [/* @__PURE__ */ (0, C.jsx)(AO, {term: "有标签",- value: j,+ value: M,rest: D.untagged || 0- }), /* @__PURE__ */ (0, S.jsx)(Wx, {+ }), /* @__PURE__ */ (0, C.jsx)(AO, {term: "有身份",- value: te,+ value: N,rest: D.unidentified || 0})]})]}),- /* @__PURE__ */ (0, S.jsx)(Rx, {+ /* @__PURE__ */ (0, C.jsx)(wO, {label: "Peach 口味维度",onSignal: t,avatarInner: a,@@ -26726,32 +33344,32 @@ function Ux(e) {})]}),- /* @__PURE__ */ (0, S.jsx)(zx, {+ /* @__PURE__ */ (0, C.jsx)(TO, {data: T,onSignal: t,navigate: r}),- /* @__PURE__ */ (0, S.jsx)(Hx, {+ /* @__PURE__ */ (0, C.jsx)(OO, {sources: T.sources || [],window: s,toast: i})] });}-function Wx({ term: e, value: t, rest: n }) {+function AO({ term: e, value: t, rest: n }) {let r = Math.max(t + n, 1);- return /* @__PURE__ */ (0, S.jsxs)("div", {+ return /* @__PURE__ */ (0, C.jsxs)("div", {className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",- children: [/* @__PURE__ */ (0, S.jsxs)("p", {+ children: [/* @__PURE__ */ (0, C.jsxs)("p", {className: "flex items-baseline justify-between gap-3 text-body-2-regular text-text-primary",- children: [/* @__PURE__ */ (0, S.jsx)("span", { children: e }), /* @__PURE__ */ (0, S.jsxs)("b", {+ children: [/* @__PURE__ */ (0, C.jsx)("span", { children: e }), /* @__PURE__ */ (0, C.jsxs)("b", {className: "tabular-nums",- children: [t.toLocaleString(), /* @__PURE__ */ (0, S.jsx)("span", {+ children: [t.toLocaleString(), /* @__PURE__ */ (0, C.jsx)("span", {className: "ml-1.5 text-caption-1-regular text-text-secondary",children: `${n} 项待补`})]})]- }), /* @__PURE__ */ (0, S.jsx)(If, {+ }), /* @__PURE__ */ (0, C.jsx)(Zm, {label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,value: t,max: r@@ -26760,58 +33378,62 @@ function Wx({ term: e, value: t, rest: n }) {}//#endregion//#region src/react/entry.tsx-var Gx = null;-function Kx() {- return Gx?.isConnected || (Gx = document.createElement("div"), Gx.className = "peach-react", Gx.dataset.reactOverlays = "", document.body.append(Gx)), Gx;+var jO = null;+function MO() {+ return jO?.isConnected || (jO = document.createElement("div"), jO.className = "peach-react", jO.dataset.reactOverlays = "", document.body.append(jO)), jO;}-function qx(e) {+function NO(e) {return (t, n) => {- let r = (0, xu.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, S.jsx)(T, {- client: Lf,- children: /* @__PURE__ */ (0, S.jsx)(dc, {- getContainer: Kx,- children: /* @__PURE__ */ (0, S.jsx)(e, { ...t })+ let r = (0, Tf.createRoot)(t), i = (t) => r.render(/* @__PURE__ */ (0, C.jsx)(E, {+ client: Qm,+ children: /* @__PURE__ */ (0, C.jsx)(vc, {+ getContainer: MO,+ children: /* @__PURE__ */ (0, C.jsx)(e, { ...t })})}));- return (0, Jr.flushSync)(() => i(n)), {+ return (0, Zr.flushSync)(() => i(n)), {update: i,unmount: () => r.unmount()};};}-var Jx = {+var PO = {activity: {- prefetch: (e, t) => Uf(t),- mount: qx(ip)+ prefetch: (e, t) => ah(t),+ mount: NO(bh)},"avatar-picker": {prefetch: async () => {},- mount: qx(Hg)+ mount: NO(Zy)},configuration: {- prefetch: (e, t) => xv(t),- mount: qx(py)+ prefetch: (e, t) => uT(t),+ mount: NO($T)+ },+ "follow-manage": {+ prefetch: (e, t) => ox(t),+ mount: NO(sw)},"library-processing": {- prefetch: (e, t) => qg(t),- mount: qx((e) => e.mode === "notice" ? /* @__PURE__ */ (0, S.jsx)(B_, { ...e }) : /* @__PURE__ */ (0, S.jsx)(L_, { ...e }))+ prefetch: (e, t) => dw(t),+ mount: NO((e) => e.mode === "notice" ? /* @__PURE__ */ (0, C.jsx)(Fw, { ...e }) : /* @__PURE__ */ (0, C.jsx)(Mw, { ...e }))},"quality-goals": {- prefetch: (e, t) => W_(t),- mount: qx(q_)+ prefetch: (e, t) => zw(t),+ mount: NO(Hw)},scraping: {- prefetch: (e, t) => lv(t),- mount: qx(gv)+ prefetch: (e, t) => Qw(t),+ mount: NO(aT)},stats: {- prefetch: (e, t) => _y(t),- mount: qx(Jy)+ prefetch: (e, t) => rE(t),+ mount: NO(PE)},taste: {- prefetch: (e, t) => Lb("all", t),- mount: qx(Ux)+ prefetch: (e, t) => CD("all", t),+ mount: NO(kO)}};//#endregion-export { Jx as pages };+export { PO as pages };diff --git a/web/dist/peach-ui.js b/web/dist/peach-ui.jsindex 3b32a7b14..bddc7f7c4 100644--- a/web/dist/peach-ui.js+++ b/web/dist/peach-ui.js@@ -1005,6 +1005,7 @@ function Re(e, t) {//#region src/islands.tsvar ze = {"avatar-picker": { react: "avatar-picker" },+ "follow-manage": { react: "follow-manage" },"library-processing": { react: "library-processing" },scraping: { react: "scraping" },"quality-goals": { react: "quality-goals" },