Skip to content

armgit / peach

Public Imported from GitHub
0

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

fix(web): 构建艺人与厂牌统一资料布局

longmeidao8b96239e5ae4
diff --git a/docs/STATUS.md b/docs/STATUS.md
index 96b362484..8a46bf08a 100644
--- a/docs/STATUS.md
+++ b/docs/STATUS.md
@@ -8,7 +8,7 @@
- 分类:女优、素人、西方可交叉;账号分网黄博主、卖家、动画作者。
- 目录归属修复 652 条;StraplessDildo 归厂牌并接官网标识,4 项来源未取得。回执见 `peach-data/review/`。
-- 身份:14 组同人共用资料,旧址跳转;FC2 分段按作品计数,文件保留。
+- 身份:18 组同人共用资料,旧址跳转;FC2 分段按作品计数,文件保留。
- JAV 头像 816 张(中位脸宽 258px,38 张水印待复核);档案 16 位、14 位头像候选 253 张、2 张官方封面。
- 「整理」(ADR-0039)可预览、执行、回滚,真实库未跑过。
- 产地是独立维度、JAV 是其投影:`region` 空时按厂牌、创作者、番号逐层推断,不落库;韩国 MIB 不算 JAV。
diff --git a/web/dist/peach-react.css b/web/dist/peach-react.css
index 1faebd939..67b81952f 100644
--- a/web/dist/peach-react.css
+++ b/web/dist/peach-react.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-72{max-width:calc(var(--spacing) * 72)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-44{min-width:calc(var(--spacing) * 44)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:min-w-0{min-width:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>button{color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is([data-follow-authors],[data-follow-works])>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>button:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] [data-media-check]{pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;min-width:0;height:30px;margin:0}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{border:1px solid var(--line-soft);background:var(--overlay-5);width:38px;height:38px;color:inherit;cursor:default;border-radius:50%;flex:none;place-items:center;margin-top:2px;padding:0;display:grid;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin-top:7px}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side""queue queue";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);word-break:break-all;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{color:#f1f1f1;pointer-events:auto;font-weight:600;text-decoration:none}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{color:#aaa;font-size:var(--fs-sm)}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:20px;margin-bottom:28px;display:block}[data-manage-menu]{border-bottom:1px solid var(--line);scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{min-height:44px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:7px;margin:0;padding:12px 10px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{color:var(--tungsten);font-weight:500}[data-manage-indicator]{z-index:1;width:var(--tab-width,0px);background:var(--tungsten);height:2px;transform:translateX(var(--tab-x,0px));pointer-events:none;position:absolute;bottom:0;left:0}[data-manage-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease),width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){[data-manage-indicator][data-ready]{transition:none}}[data-manage-crumb]{margin-top:0;margin-bottom:6px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:16px;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:"";--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-cover:132px;--container-review-cover-narrow:110px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.inset-y-0{inset-block:0}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-2{top:calc(var(--spacing) * 2)}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=600px){.container{max-width:600px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.-mx-5{margin-inline:calc(var(--spacing) * -5)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-auto{margin-top:auto}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-4{margin-bottom:calc(var(--spacing) * -4)}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-0{height:0}.h-0\.5{height:calc(var(--spacing) * .5)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-7\.5{height:calc(var(--spacing) * 7.5)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-22{max-height:calc(var(--spacing) * 22)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-130{max-height:calc(var(--spacing) * 130)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-10{min-height:calc(var(--spacing) * 10)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-14{width:calc(var(--spacing) * 14)}.w-24{width:calc(var(--spacing) * 24)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-review-cover-narrow{width:var(--container-review-cover-narrow)}.max-w-72{max-width:calc(var(--spacing) * 72)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-90{max-width:calc(var(--spacing) * 90)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-7\.5{min-width:calc(var(--spacing) * 7.5)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-35{min-width:calc(var(--spacing) * 35)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-44{min-width:calc(var(--spacing) * 44)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.min-w-160{min-width:calc(var(--spacing) * 160)}.flex-1{flex:1}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.rounded-b-surface{border-bottom-right-radius:var(--radius-surface);border-bottom-left-radius:var(--radius-surface)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-y{border-block-style:var(--tw-border-style);border-block-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-b-2{border-bottom-style:var(--tw-border-style);border-bottom-width:2px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default{border-color:var(--color-border-error-default)}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current,.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.border-transparent{border-color:#0000}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-border-focus-ring{background-color:var(--color-border-focus-ring)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-text-white{background-color:var(--color-text-white)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\.5{padding-block:calc(var(--spacing) * 3.5)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-1\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pb-1{padding-bottom:var(--spacing)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-accent-600{color:var(--color-accent-600)}.text-background{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-border,.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-25{opacity:.25}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow\/xs{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){.group-hover\:border-border-checkbox-hover:is(:where(.group):hover *){border-color:var(--color-border-checkbox-hover)}.group-hover\:bg-background-primary-hover:is(:where(.group):hover *){background-color:var(--color-background-primary-hover)}.group-hover\:bg-foreground:is(:where(.group):hover *){background-color:var(--color-text-primary)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}}.group-data-selected\:border-border-focus-ring:is(:where(.group)[data-selected] *){border-color:var(--color-border-focus-ring)}.group-data-selected\:bg-accent-600:is(:where(.group)[data-selected] *){background-color:var(--color-accent-600)}.group-data-selected\:bg-background-primary-hover:is(:where(.group)[data-selected] *){background-color:var(--color-background-primary-hover)}.group-data-selected\:opacity-100:is(:where(.group)[data-selected] *){opacity:1}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-1:first-child{padding-top:var(--spacing)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-1:last-child{padding-bottom:var(--spacing)}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:font-medium[aria-selected=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.aria-selected\:text-border-focus-ring[aria-selected=true]{color:var(--color-border-focus-ring)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-disabled\:cursor-not-allowed[data-disabled]{cursor:not-allowed}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-selected\:border-border-button-active[data-selected]{border-color:var(--color-border-button-active)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-board-narrow\:order-2{order:2}.max-board-narrow\:order-3{order:3}.max-board-narrow\:block{display:block}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-40{flex-basis:calc(var(--spacing) * 40)}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-cleanup-tight\:gap-3{gap:calc(var(--spacing) * 3)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:min-w-0{min-width:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-start{justify-content:flex-start}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}}@media (width>=600px){.review-tight\:w-review-cover{width:var(--container-review-cover)}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row-reverse{flex-direction:row-reverse}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:gap-4{gap:calc(var(--spacing) * 4)}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-media-grid]>[data-media-card]:not([data-variant=resource],[data-variant=junk]){align-self:start}body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:11px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 3px + var(--card-meta-byline) + var(--card-meta-tags));margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{min-height:0}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:1lh;--card-meta-tags:0px;--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-meta]:has(>[data-media-text]>[data-media-tags]){--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px)}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:#000;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:hover :is([data-media-badge],[data-media-duration]){opacity:0}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;position:absolute;top:9px;right:9px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react [data-previewing] [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]:hover{transform:scale(1.2)}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:hover [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-later],[data-media-seek]) button:hover{background:#00000057;transform:scale(1.12)}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:36px;height:36px;padding:0}.peach-react [data-media-later] svg{width:21px;height:21px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react button[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-media-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion));margin-top:0}.peach-react [data-media-avatars]>*+*{margin-left:-22px}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-variant=next] [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.peach-react [data-media-title]{width:100%;min-height:2.7em;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;word-break:break-all;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-byline]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;padding:0;display:inline-block;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted)}.peach-react [data-media-flags]{gap:3px;margin-left:auto;display:flex}.peach-react [data-media-flags]>i{width:6px;height:6px;display:block}.peach-react [data-flag=dislike]{background:var(--drop)}.peach-react [data-flag=seen]{background:var(--muted)}.peach-react [data-flag=dispose]{background:var(--meter)}.peach-react [data-flag=later]{background:var(--ink)}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{text-overflow:ellipsis;white-space:nowrap;flex:1 1 0;min-width:0;overflow:hidden}.peach-react [data-variant=next] :is([data-media-size],[data-media-watch-count]){display:none}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-media-tag]:disabled{cursor:not-allowed}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>[data-media-card]{padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-why],[data-media-watch-count]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;border-radius:var(--control-radius);color:#fff;min-height:32px;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);transition:background .14s, translate .14s, scale calc(var(--spring-press-ms) * 1ms) var(--spring-press);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-enter]:hover{background:color-mix(in srgb, var(--ink) 16%, transparent)}}.peach-react [data-shorts-enter]:hover{translate:0 -1px}.peach-react [data-shorts-enter]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-shorts-enter] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;padding-bottom:7px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px));padding-left:calc(var(--railW) + 32px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:30px;color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{align-self:stretch;align-items:center;width:max-content;max-width:100%;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react [data-namepick-toggle][data-hovered]{background:var(--hover);color:var(--ink)}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-company-names]{flex-basis:100%}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:16px;height:16px;color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before,.peach-react [data-hero-pop] dd>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;min-width:0;margin:0}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-hero-pop] small{color:var(--muted);font-size:inherit;margin-left:4px}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;width:30px;height:30px;color:var(--glass-text);border-radius:50%;flex:0 0 30px;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:30px;color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react [data-entity-sorts]{scrollbar-width:none;margin-left:auto;flex-wrap:nowrap;align-items:center;gap:4px;min-width:0;margin-block:-14px;padding:14px 2px;display:flex;overflow-x:auto}.peach-react [data-entity-sorts]::-webkit-scrollbar{display:none}.peach-react [data-entity-sort]{height:30px;min-height:30px;color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{flex:none;width:14px;height:14px;margin-left:5px}.peach-react [data-entity-batch]{background:var(--board-blue);width:36px;height:30px;min-height:30px;box-shadow:var(--elevation-xs);color:#fff;cursor:pointer;border-radius:7px;flex:none;place-items:center;font-size:12px;font-weight:600;display:inline-grid}.peach-react [data-entity-batch]:hover{background:var(--board-blue-hover);color:#fff}.peach-react [data-entity-batch] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-entity-batch][aria-busy=true]{cursor:wait}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}@media (pointer:coarse){.peach-react :is([data-entity-sort],[data-entity-batch]){height:36px}}.peach-react [data-photo-back]{border:1px solid var(--glass-low);border-radius:var(--control-radius);height:30px;color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;gap:10px;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{flex:none;width:max-content;max-width:none;overflow:visible}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 10px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:30px;color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (pointer:coarse){.peach-react [data-catalog-frame]>[data-filter-row=top]{height:52px}.peach-react :is([data-catalog-view],[data-catalog-tag]){height:36px}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{border-radius:var(--tag-radius);background:var(--hover);flex:none;width:72px;height:30px}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;margin:6px 10px;font-weight:700}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:18px;height:18px;stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);font-size:var(--fs-2xl);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure);font-size:var(--fs-xl)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:14px;height:14px}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>button{color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none}.peach-react :is([data-follow-authors],[data-follow-works])>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>button:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>button[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;width:34px;height:30px;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:30px;height:30px;color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(var(--tile), 1fr));gap:24px 16px;display:grid}.peach-react [data-follow-list]>[data-media-card]{align-self:start}.peach-react [data-follow-list]>[data-follow-empty]{grid-column:1/-1}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-follow-wall][data-layout=masonry]>[data-follow-empty]{column-span:all}.peach-react [data-follow-wall][data-layout=masonry]>[data-media-card]{break-inside:avoid;margin:0 0 14px}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-badges:0px}.peach-react [data-follow-item] [data-media-meta]:has(>[data-media-text]>[data-follow-badges]){--card-meta-badges:calc(1lh + 6px + 3px)}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:auto calc(var(--card-meta-block) + var(--card-meta-badges))}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] [data-media-check]{pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img,.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{aspect-ratio:auto 1;height:auto;position:static}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;display:flex}.peach-react [data-follow-collection] svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e;transform:scale(1.08)}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-item]:hover [data-follow-actions]{opacity:1;pointer-events:auto}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}}.peach-react [data-follow-avatar]{cursor:default;background:var(--overlay-5);border:1px solid var(--line-soft);place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-byline]{min-width:0;min-height:21px;color:var(--muted);flex-wrap:nowrap;align-items:center;gap:6px;display:flex;overflow:hidden}.peach-react [data-follow-byline]>[data-follow-author]{min-width:0;color:inherit;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-byline]>time{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;flex:none}.peach-react [data-follow-credit]{color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{border-radius:var(--badge-radius);object-fit:contain;vertical-align:-2px;width:14px;height:14px;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-item] [data-media-tag]{--tag-color:#55a7ff;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{border-color:color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-item] [data-media-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-item] [data-media-tag]{cursor:default}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-item] [data-media-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:16px}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;color:var(--muted);place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-detail] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.peach-react [data-follow-detail] [data-follow-image-arrow]:hover{background:#000000c7}.peach-react [data-follow-detail] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-follow-detail] [data-follow-image-arrow] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-follow-detail] [data-follow-image-arrow=prev]{left:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-arrow=next]{right:var(--follow-image-arrow-inset)}.peach-react [data-follow-detail] [data-follow-image-dots]{z-index:4;border-radius:var(--pill-radius);background:#00000080;justify-content:center;align-items:center;gap:8px;max-width:calc(100% - 120px);padding:8px 11px;display:flex;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-follow-detail] [data-follow-image-dots] button{cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;width:8px;height:8px;padding:0}.peach-react [data-follow-detail] [data-follow-image-dots] button[aria-current=true]{border-radius:var(--pill-radius);background:#fff;width:20px}.peach-react [data-follow-detail] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-detail] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-detail] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{flex:none;width:30px;min-width:0;height:30px;margin:0}.peach-react [data-follow-detail] :is([data-follow-origin],[data-follow-resources] a) svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-detail-identity]{align-items:center;gap:10px;margin:2px 0 12px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-identity] b,.peach-react [data-follow-detail] [data-follow-detail-identity] span{display:block}.peach-react [data-follow-detail] [data-follow-detail-identity]>div>span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px}.peach-react [data-follow-detail] [data-follow-source-avatar]{border:1px solid var(--line-soft);background:var(--overlay-5);width:38px;height:38px;color:inherit;cursor:default;border-radius:50%;flex:none;place-items:center;margin-top:2px;padding:0;display:grid;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-source-avatar]>*{object-fit:cover;border-radius:50%;outline:0;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-detail] [data-follow-source-avatar]>span{font-size:var(--fs-sm);color:var(--muted);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;margin:0 0 16px;line-height:1.6}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-actions] button:disabled{opacity:.45;cursor:not-allowed}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-download]{box-sizing:border-box;background:var(--surface);width:36px;min-width:36px;height:36px;color:var(--ink-2);border:0;border-radius:8px;flex:0 0 36px;place-items:center;padding:0;display:grid}.peach-react [data-follow-detail] [data-follow-download]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-follow-detail] [data-follow-download] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}@media (width<=760px){.peach-react [data-follow-detail] [data-follow-detail-actions]{width:max-content;max-width:100%}.peach-react [data-follow-detail] [data-follow-detail-actions] :is(button,[data-follow-download]){flex:none}}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail] [data-follow-detail-tags]{margin:16px 0 0}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{max-width:none;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--tag-color);overflow:visible}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border:1px solid color-mix(in srgb, var(--tag-color) 42%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{border-radius:var(--tag-radius);background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{background:color-mix(in srgb, var(--tag-color) 10%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]{color:var(--ink-2);font:inherit;font-size:var(--fs-xs);text-align:left;text-overflow:clip;white-space:normal;cursor:pointer;line-height:1.45}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{border-color:color-mix(in srgb, var(--tag-color) 68%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{background:color-mix(in srgb, var(--tag-color) 18%, transparent)}}.peach-react [data-follow-detail] [data-follow-detail-tags] [data-follow-tag]:hover{color:var(--ink)}@media (width<=640px){.peach-react [data-follow-detail] [data-follow-detail-media]{--follow-image-arrow-inset:10px}.peach-react [data-follow-detail] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-follow-detail] [data-follow-image-dots]{bottom:12px}}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-item-detail] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-item-detail] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-item-detail] [data-queue-edition]{flex:none;font-style:normal}.peach-react [data-item-detail] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-item-detail] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-item-detail] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-item-detail] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-item-detail] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-item-detail] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:middle;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{border:1px solid var(--line);background:var(--surface);width:26px;height:26px;color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{align-items:center;gap:2px;margin-left:-4px;display:inline-flex}.peach-react [data-item-detail] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-item-detail] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate] svg{fill:none}.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:hover svg,.peach-react [data-item-detail] [data-rating-stars]:hover [data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-item-detail] [data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react [data-item-detail] [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react [data-item-detail] [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react [data-item-detail] [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react [data-item-detail] [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react [data-item-detail] [data-id-group=performer]{--id-cell:58px}.peach-react [data-item-detail] [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react [data-item-detail] [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;display:flex}.peach-react [data-item-detail] [data-id-group=performer] [data-id-row]{gap:10px}.peach-react [data-item-detail] [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:5px;padding:0;display:flex}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react [data-item-detail] [data-id-cell][hidden]{display:none}.peach-react [data-item-detail] [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react [data-item-detail] [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react [data-item-detail] [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react [data-item-detail] [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-item-detail] [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react [data-item-detail] [data-id-name]{font-size:var(--fs-xs);text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-item-detail] [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin-top:7px}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{stroke:currentColor;fill:none;stroke-width:2px;flex:none;width:16px;height:16px;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);align-items:center;min-height:30px;display:inline-flex;overflow:hidden}.peach-react [data-item-detail] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:28px}.peach-react [data-item-detail] [data-detail-tag] [data-tag]{padding:3px 8px}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]{width:28px;color:var(--muted);place-items:center;padding:0;display:grid}.peach-react [data-item-detail] [data-detail-tag] [data-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-item-detail] [data-detail-tag] svg,.peach-react [data-item-detail] [data-tag-plus] svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-tag-plus]{border:1px dashed var(--line);width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-item-detail] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-tag-picker]{z-index:120;border:1px solid var(--ink);max-height:min(480px,70vh);position:absolute;top:calc(100% + 8px);left:12px;right:12px;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-item-detail] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--frost-panel);-webkit-backdrop-filter:saturate(1.8)blur(20px);box-shadow:0 24px 70px -24px #000}.peach-react [data-item-detail] [data-tag-picker][hidden]{display:none}.peach-react [data-item-detail] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-item-detail] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid var(--ink);align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-item-detail] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-item-detail] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-item-detail] [data-tag-search] input::placeholder{color:revert}.peach-react [data-item-detail] [data-tag-body]{max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-item-detail] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-item-detail] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-item-detail] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-item-detail] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-item-detail] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-item-detail] [data-pick] svg{flex:none;width:14px;height:14px}@media (width<=760px){.peach-react [data-item-detail] [data-tag-picker]{position:fixed;inset:auto 12px 12px}.peach-react [data-item-detail] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{fill:currentColor;color:#ff669d;width:20px;height:20px}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:11px 15px 12px}.peach-react [data-item-related] h3{font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 8px}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;scrollbar-width:none;gap:11px;padding-bottom:6px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{width:56px;height:56px;box-shadow:none;background:#0000004d;border:0;border-radius:50%;margin:0;line-height:56px;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-big-play-button:hover,[data-stage-media] .video-js .vjs-big-play-button:focus{background:#ffffff1a}[data-stage-media] .video-js .vjs-big-play-button .vjs-icon-placeholder:before{content:"";border-top:.72em solid #0000;border-bottom:.72em solid #0000;border-left:1.05em solid #fff;width:0;height:0;top:50%;left:50%;transform:translate(-38%,-50%)}[data-stage-media] .video-js:has(.vjs-peach-bezel) .vjs-big-play-button{display:none}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:#28282899;border-radius:0;width:100%;height:6px;margin:0;transition:transform .2s cubic-bezier(.05,0,0,1);transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-holder,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-holder{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1);position:absolute;top:50%;right:-6px;transform:translateY(-50%)scaleY(1.5)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-play-progress:before,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-play-progress:before{transform:translateY(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);color:#fff;min-width:17px;height:12px;font-size:var(--fs-xs);transform-origin:100% 0;background:#f03;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;border-radius:var(--floating-radius);width:min(274px,100vw - 28px);max-height:min(420px,100vh - 130px);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:35px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 0!important}.vjs-peach-option-check{place-items:center;width:35px;height:24px;display:grid}.vjs-peach-option-check svg{fill:currentColor;stroke:none;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:cover!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none;width:18px;height:18px}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage]{--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side""queue queue";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);grid-area:queue;max-height:360px}[data-stage-grid][data-with-queue] [data-mix-queue-actions] [data-queue-close]{display:none}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-stage-grid][data-with-queue]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-list]{overscroll-behavior-inline:contain;scroll-snap-type:x proximity;grid-auto-columns:minmax(190px,220px);grid-auto-flow:column;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item]:hover,[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-pic]{border:1px solid #0000;width:100%}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:max-content max-content minmax(0,1fr);gap:5px 8px}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-stage-grid][data-with-queue]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);word-break:break-all;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-stage-grid][data-with-queue]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side""queue"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-stage-grid][data-with-queue]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] button{background:var(--surface);border:0;border-radius:8px;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] button svg{width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row] [class~=gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;padding:0 10px var(--glowrow-pad) 0;gap:0;min-width:0;margin-right:16px;display:grid}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{gap:0;min-width:0;display:grid}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-group]>h4{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-xs);align-items:center;margin:0;font-weight:600;display:flex}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:600}[data-settings-panel] [data-glow-field] [class~=dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop]{min-width:0;position:relative}[data-settings-panel] [data-glow-stop]+[data-glow-stop]:before{content:"";background:linear-gradient(to right,var(--line-soft),transparent);height:1px;position:absolute;top:0;left:54px;right:6px}[data-settings-panel] [data-glow-stop-toggle]{width:100%;min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 7px var(--glowrow-pad) 8px;border-radius:var(--floating-radius);color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:10px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle]:hover{background:color-mix(in srgb,var(--ink) 3.2%,transparent)}}[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{background:color-mix(in srgb,var(--ink) 4.6%,transparent)}}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:14px;height:14px;color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:600}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{gap:0;display:grid;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding-top:var(--glowrow-pad);justify-content:flex-end;display:flex}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{border-radius:var(--control-radius);min-width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{stroke:currentColor;fill:none;width:17px;height:17px}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row]{grid-template-columns:1fr;gap:9px}[data-settings-panel] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-setting-row] [class~=gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0 16px 0 0!important;padding:10px 12px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}[data-settings-panel] [data-settings-card][data-settings-card]{--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{fill:currentColor;stroke:none;flex:none;width:20px;height:20px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button{color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button:hover{color:var(--glass-text)}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide]{border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}[data-settings-panel] [data-settings-nav]>[data-settings-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}[data-settings-panel]{--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark [data-settings-panel]{--settings-card-drop:#00000080;--settings-error-drop:#0008}[data-settings-panel] [data-settings-card]{box-shadow:0 12px 40px var(--settings-card-drop);border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:1fr;gap:12px}[data-settings-panel] [data-settings-scroll] [data-setting-row]:has(input[type=checkbox]){grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:16px}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:1fr;gap:10px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{width:100%}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:1}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=gselect]{width:100%}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has([data-number-setting]){grid-template-columns:minmax(0,1fr) auto;gap:12px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]:after{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:16px}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),background .14s;position:relative}[data-immerse-actions] button:hover{border-color:#ffffff80;scale:1.05}[data-immerse-actions] button:active{transition:scale 60ms ease-out;scale:.96}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{color:#f1f1f1;pointer-events:auto;font-weight:600;text-decoration:none}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{color:#aaa;font-size:var(--fs-sm)}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-dragging]{opacity:.38}[data-sidebar-nav] button[data-drop=before]:before,[data-sidebar-nav] button[data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-sidebar-nav] button[data-drop=before]:before{top:-3px}[data-sidebar-nav] button[data-drop=after]:after{bottom:-3px}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{flex-direction:column;gap:3px;margin-bottom:18px;display:flex}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{border-radius:var(--badge-radius);object-fit:contain;flex:none;width:14px;height:14px}[data-sidebar-source-icon]{object-fit:contain;min-width:16px;opacity:1!important;filter:none!important;width:16px!important;height:16px!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:18px;height:18px;margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{flex:none;width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg,[data-sidebar-drawer] [data-sidebar-nav] button svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-home-logo]{object-fit:contain;flex:none;width:24px;height:24px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;order:2;width:14px;height:14px;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{flex:none;width:16px;height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-home-logo]{width:20px;height:20px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}:root{--font-inter:"Inter Variable", "Inter";--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [class~=overflow-x-auto]{scrollbar-width:none}.peach-react [class~=overflow-x-auto]::-webkit-scrollbar{display:none}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:96px}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-tab-indicator]{width:var(--tab-width,0px);transform:translateX(var(--tab-x,0px))}.peach-react [data-tab-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease), width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){.peach-react [data-tab-indicator][data-ready]{transition:none}}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-chip]{border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-chip]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-chip]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-chip]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-chip][aria-pressed=true],.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@keyframes spin{to{transform:rotate(360deg)}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{fill:none;stroke:currentColor;stroke-width:2px;flex:none;width:17px;height:17px;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body:has([data-batch-dock] [data-selection-dock]) [data-stage]{padding-bottom:180px}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:20px;margin-bottom:28px;display:block}[data-manage-menu]{border-bottom:1px solid var(--line);scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{min-height:44px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;align-items:center;gap:7px;margin:0;padding:12px 10px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{color:var(--tungsten);font-weight:500}[data-manage-indicator]{z-index:1;width:var(--tab-width,0px);background:var(--tungsten);height:2px;transform:translateX(var(--tab-x,0px));pointer-events:none;position:absolute;bottom:0;left:0}[data-manage-indicator][data-ready]{transition:transform calc(var(--spring-pane-ms,200) * 1ms) var(--spring-pane,ease),width calc(var(--spring-pane-ms,200) * 1ms) ease}@media (prefers-reduced-motion:reduce){[data-manage-indicator][data-ready]{transition:none}}[data-manage-crumb]{margin-top:0;margin-bottom:6px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:16px;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-react.js b/web/dist/peach-react.js
index f502de9b6..6ac529a80 100644
--- a/web/dist/peach-react.js
+++ b/web/dist/peach-react.js
@@ -21118,7 +21118,7 @@ function ene(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function ux(e) {
+function tne(e) {
let t = jg(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
@@ -21128,7 +21128,7 @@ function ux(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function tne(e, t, n) {
+function nne(e, t, n) {
let { labelProps: r, inputProps: i, isSelected: a, ...o } = L_(e, t, n);
return {
labelProps: r,
@@ -21143,10 +21143,10 @@ function tne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var dx = class {
+var ux = 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 nne(e.layout) : new nv(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new rne(e.layout) : new nv(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -21312,7 +21312,7 @@ var dx = class {
}
return null;
}
-}, nne = class {
+}, rne = class {
constructor(e) {
this.layout = e;
}
@@ -21325,16 +21325,16 @@ var dx = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, fx = /* @__PURE__ */ new WeakMap();
+}, dx = /* @__PURE__ */ new WeakMap();
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGrid.mjs
-function rne(e, t, n) {
+function ine(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 = ty({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Cg(), _ = t.selectionManager.disabledBehavior, v = (0, R.useMemo)(() => a || new dx({
+ }), { direction: g } = Cg(), _ = t.selectionManager.disabledBehavior, v = (0, R.useMemo)(() => a || new ux({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -21360,7 +21360,7 @@ function rne(e, t, n) {
disallowTypeAhead: i,
escapeKeyBehavior: d
}), b = gh(e.id);
- fx.set(t, {
+ dx.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -21390,27 +21390,27 @@ function rne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/utils.mjs
-var px = /* @__PURE__ */ new WeakMap();
-function mx(e) {
+var fx = /* @__PURE__ */ new WeakMap();
+function px(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function ine(e, t) {
- let n = px.get(e);
+function ane(e, t) {
+ let n = fx.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${mx(t)}`;
+ return `${n}-${px(t)}`;
}
-function hx(e, t, n) {
- let r = px.get(e);
+function mx(e, t, n) {
+ let r = fx.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${mx(t)}-${mx(n)}`;
+ return `${r}-${px(t)}-${px(n)}`;
}
-function gx(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => hx(e, t, n)).join(" ");
+function hx(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => mx(e, t, n)).join(" ");
}
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var _x = {};
-_x = {
+var gx = {};
+gx = {
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: "طي",
@@ -21425,8 +21425,8 @@ _x = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var vx = {};
-vx = {
+var _x = {};
+_x = {
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: "Свиване",
@@ -21441,8 +21441,8 @@ vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var yx = {};
-yx = {
+var vx = {};
+vx = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -21457,8 +21457,8 @@ yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var bx = {};
-bx = {
+var yx = {};
+yx = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -21473,8 +21473,8 @@ bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var xx = {};
-xx = {
+var bx = {};
+bx = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -21489,8 +21489,8 @@ xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var Sx = {};
-Sx = {
+var xx = {};
+xx = {
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: "Σύμπτυξη",
@@ -21505,8 +21505,8 @@ Sx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var Cx = {};
-Cx = {
+var Sx = {};
+Sx = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -21521,8 +21521,8 @@ Cx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var wx = {};
-wx = {
+var Cx = {};
+Cx = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -21537,8 +21537,8 @@ wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var Tx = {};
-Tx = {
+var wx = {};
+wx = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -21553,8 +21553,8 @@ Tx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var Ex = {};
-Ex = {
+var Tx = {};
+Tx = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -21569,8 +21569,8 @@ Ex = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var Dx = {};
-Dx = {
+var Ex = {};
+Ex = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -21585,8 +21585,8 @@ Dx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var Ox = {};
-Ox = {
+var Dx = {};
+Dx = {
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: "כווץ",
@@ -21601,8 +21601,8 @@ Ox = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var kx = {};
-kx = {
+var Ox = {};
+Ox = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -21617,8 +21617,8 @@ kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var Ax = {};
-Ax = {
+var kx = {};
+kx = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -21633,8 +21633,8 @@ Ax = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var jx = {};
-jx = {
+var Ax = {};
+Ax = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -21649,8 +21649,8 @@ jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var Mx = {};
-Mx = {
+var jx = {};
+jx = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -21665,8 +21665,8 @@ Mx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var Nx = {};
-Nx = {
+var Mx = {};
+Mx = {
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: "접기",
@@ -21681,8 +21681,8 @@ Nx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var Px = {};
-Px = {
+var Nx = {};
+Nx = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -21697,8 +21697,8 @@ Px = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var Fx = {};
-Fx = {
+var Px = {};
+Px = {
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",
@@ -21713,8 +21713,8 @@ Fx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var Ix = {};
-Ix = {
+var Fx = {};
+Fx = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -21729,8 +21729,8 @@ Ix = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var Lx = {};
-Lx = {
+var Ix = {};
+Ix = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -21745,8 +21745,8 @@ Lx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var Rx = {};
-Rx = {
+var Lx = {};
+Lx = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -21761,8 +21761,8 @@ Rx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var zx = {};
-zx = {
+var Rx = {};
+Rx = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -21777,8 +21777,8 @@ zx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var Bx = {};
-Bx = {
+var zx = {};
+zx = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -21793,8 +21793,8 @@ Bx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var Vx = {};
-Vx = {
+var Bx = {};
+Bx = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -21809,8 +21809,8 @@ Vx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var Hx = {};
-Hx = {
+var Vx = {};
+Vx = {
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: "Свернуть",
@@ -21825,8 +21825,8 @@ Hx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var Ux = {};
-Ux = {
+var Hx = {};
+Hx = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -21841,8 +21841,8 @@ Ux = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var Wx = {};
-Wx = {
+var Ux = {};
+Ux = {
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",
@@ -21857,8 +21857,8 @@ Wx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var Gx = {};
-Gx = {
+var Wx = {};
+Wx = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -21873,8 +21873,8 @@ Gx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var Kx = {};
-Kx = {
+var Gx = {};
+Gx = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -21889,8 +21889,8 @@ Kx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var qx = {};
-qx = {
+var Kx = {};
+Kx = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -21905,8 +21905,8 @@ qx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var Jx = {};
-Jx = {
+var qx = {};
+qx = {
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: "Згорнути",
@@ -21921,8 +21921,8 @@ Jx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var Yx = {};
-Yx = {
+var Jx = {};
+Jx = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -21937,8 +21937,8 @@ Yx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var Xx = {};
-Xx = {
+var Yx = {};
+Yx = {
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: "收合",
@@ -21953,46 +21953,46 @@ Xx = {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/intlStrings.mjs
-var Zx = {};
-Zx = {
- "ar-AE": _x,
- "bg-BG": vx,
- "cs-CZ": yx,
- "da-DK": bx,
- "de-DE": xx,
- "el-GR": Sx,
- "en-US": Cx,
- "es-ES": wx,
- "et-EE": Tx,
- "fi-FI": Ex,
- "fr-FR": Dx,
- "he-IL": Ox,
- "hr-HR": kx,
- "hu-HU": Ax,
- "it-IT": jx,
- "ja-JP": Mx,
- "ko-KR": Nx,
- "lt-LT": Px,
- "lv-LV": Fx,
- "nb-NO": Ix,
- "nl-NL": Lx,
- "pl-PL": Rx,
- "pt-BR": zx,
- "pt-PT": Bx,
- "ro-RO": Vx,
- "ru-RU": Hx,
- "sk-SK": Ux,
- "sl-SI": Wx,
- "sr-SP": Gx,
- "sv-SE": Kx,
- "tr-TR": qx,
- "uk-UA": Jx,
- "zh-CN": Yx,
- "zh-TW": Xx
+var Xx = {};
+Xx = {
+ "ar-AE": gx,
+ "bg-BG": _x,
+ "cs-CZ": vx,
+ "da-DK": yx,
+ "de-DE": bx,
+ "el-GR": xx,
+ "en-US": Sx,
+ "es-ES": Cx,
+ "et-EE": wx,
+ "fi-FI": Tx,
+ "fr-FR": Ex,
+ "he-IL": Dx,
+ "hr-HR": Ox,
+ "hu-HU": kx,
+ "it-IT": Ax,
+ "ja-JP": jx,
+ "ko-KR": Mx,
+ "lt-LT": Nx,
+ "lv-LV": Px,
+ "nb-NO": Fx,
+ "nl-NL": Ix,
+ "pl-PL": Lx,
+ "pt-BR": Rx,
+ "pt-PT": zx,
+ "ro-RO": Bx,
+ "ru-RU": Vx,
+ "sk-SK": Hx,
+ "sl-SI": Ux,
+ "sr-SP": Wx,
+ "sv-SE": Gx,
+ "tr-TR": Kx,
+ "uk-UA": qx,
+ "zh-CN": Jx,
+ "zh-TW": Yx
};
//#endregion
//#region node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var ane = class extends dx {
+var one = class extends ux {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -22070,14 +22070,14 @@ var ane = class extends dx {
};
//#endregion
//#region node_modules/react-aria/dist/private/table/useTable.mjs
-function one(e) {
+function sne(e) {
return e && e.__esModule ? e.default : e;
}
-function sne(e, t, n) {
+function cne(e, t, n) {
let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = ty({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Cg(), l = t.selectionManager.disabledBehavior, u = (0, R.useMemo)(() => r || new ane({
+ }), { direction: c } = Cg(), l = t.selectionManager.disabledBehavior, u = (0, R.useMemo)(() => r || new one({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -22097,14 +22097,14 @@ function sne(e, t, n) {
a,
o
]), d = gh(e.id);
- px.set(t, d);
- let { gridProps: f } = rne({
+ fx.set(t, d);
+ let { gridProps: f } = ine({
...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 = kg(one(Zx), "@react-aria/table"), g = (0, R.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = kg(sne(Xx), "@react-aria/table"), g = (0, R.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
@@ -22118,13 +22118,13 @@ function sne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function Qx(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Cg(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = fx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, R.useRef)(null), h = () => {
+function Zx(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Cg(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = dx.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, R.useRef)(null), h = () => {
if (n.current) {
let e = f_(n.current);
if (p === "child") {
if (Ip(n.current) && n.current !== Pp(Cp(n.current))) return;
- let r = t.selectionManager.childFocusStrategy === "last" ? $x(e) : e.firstChild();
+ let r = t.selectionManager.childFocusStrategy === "last" ? Qx(e) : e.firstChild();
if (r) {
lh(r);
return;
@@ -22156,7 +22156,7 @@ function Qx(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (lh(n.current), C_(n.current, { containingElement: b_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : $x(a), t && (lh(t), C_(t, { containingElement: b_(n.current) })));
+ p === "cell" && l === "rtl" ? (lh(n.current), C_(n.current, { containingElement: b_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : Qx(a), t && (lh(t), C_(t, { containingElement: b_(n.current) })));
}
break;
}
@@ -22168,7 +22168,7 @@ function Qx(e, t, n) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (lh(n.current), C_(n.current, { containingElement: b_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? $x(a) : a.firstChild(), t && (lh(t), C_(t, { containingElement: b_(n.current) })));
+ p === "cell" && l === "ltr" ? (lh(n.current), C_(n.current, { containingElement: b_(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? Qx(a) : a.firstChild(), t && (lh(t), C_(t, { containingElement: b_(n.current) })));
}
break;
}
@@ -22213,7 +22213,7 @@ function Qx(e, t, n) {
isPressed: _
};
}
-function $x(e) {
+function Qx(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -22222,20 +22222,20 @@ function $x(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableCell.mjs
-function cne(e, t, n) {
- let { gridCellProps: r, isPressed: i } = Qx(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = hx(t, e.node.parentKey, a)), {
+function lne(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = Zx(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = mx(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function lne(e) {
+function une(e) {
return e && e.__esModule ? e.default : e;
}
-function une(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Qx({
+function dne(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = Zx({
focusMode: "child",
...e
}, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = Wg({
@@ -22246,7 +22246,7 @@ function une(e, t, n) {
ref: n
}), { focusableProps: l } = Hh({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
r.props.allowsSorting && !lm() && (u = d ? f : "none");
- let p = kg(lne(Zx), "@react-aria/table"), m;
+ let p = kg(une(Xx), "@react-aria/table"), m;
i && (m = `${p.format("sortable")}`, d && f && lm() && (m = `${m}, ${p.format(f)}`));
let h = T_(m), g = t.collection.size === 0;
return (0, R.useEffect)(() => {
@@ -22259,7 +22259,7 @@ function une(e, t, n) {
columnHeaderProps: {
...H(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: ine(t, r.key),
+ id: ane(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -22268,14 +22268,14 @@ function une(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function dne(e, t, n) {
+function fne(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 fne(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = fx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Qy({
+function pne(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = dx.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = Qy({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -22296,10 +22296,10 @@ function fne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRow.mjs
-function pne(e) {
+function mne(e) {
return e && e.__esModule ? e.default : e;
}
-var eS = {
+var $x = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -22309,21 +22309,21 @@ var eS = {
rtl: "ArrowRight"
}
};
-function mne(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = fne(e, t, n), { direction: s } = Cg();
+function hne(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = pne(e, t, n), { direction: s } = Cg();
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 = kg(pne(Zx), "@react-aria/table"), u = _g({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = kg(mne(Xx), "@react-aria/table"), u = _g({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": gx(t, r.key)
+ "aria-labelledby": hx(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = tS(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 = tS(t.collection, a);
+ let n = eS(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 = eS(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === eS.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === eS.collapse[s] && t.selectionManager.focusedKey === e.key && (t.expandedKeys === "all" ? t.expandedKeys === "all" && (t.toggleKey(e.key), n.stopPropagation()) : i && t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : !t.expandedKeys.has(e.key) && e.parentKey != null && e.level > 0 && (t.selectionManager.setFocusedKey(e.parentKey), n.stopPropagation()));
+ n.key === $x.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === $x.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,
@@ -22345,41 +22345,41 @@ function mne(e, t, n) {
return {
rowProps: {
...H(a, d, m),
- "aria-labelledby": gx(t, r.key)
+ "aria-labelledby": hx(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function tS(e, t) {
+function eS(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 hne() {
+function gne() {
return { rowGroupProps: { role: "rowgroup" } };
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function nS() {
- return hne();
+function tS() {
+ return gne();
}
//#endregion
//#region node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function gne(e) {
+function _ne(e) {
return e && e.__esModule ? e.default : e;
}
-function _ne(e, t) {
+function vne(e, t) {
let { key: n } = e, { checkboxProps: r } = Ete(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${gx(t, n)}`
+ "aria-labelledby": `${r.id} ${hx(t, n)}`
} };
}
-function vne(e) {
+function yne(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": kg(gne(Zx), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": kg(_ne(Xx), "@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,
@@ -22388,13 +22388,13 @@ function vne(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/utils.mjs
-var rS = /* @__PURE__ */ new WeakMap();
-function iS(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${rS.get(e)}-${n}-${t}`) : "";
+var nS = /* @__PURE__ */ new WeakMap();
+function rS(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${nS.get(e)}-${n}-${t}`) : "";
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTab.mjs
-function yne(e, t, n) {
+function bne(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 } = Qy({
selectionManager: o,
key: r,
@@ -22402,7 +22402,7 @@ function yne(e, t, n) {
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = iS(t, r, "tab"), m = iS(t, r, "tabpanel"), { tabIndex: h } = d, g = jg(u?.props, { labelable: !0 });
+ }), p = rS(t, r, "tab"), m = rS(t, r, "tabpanel"), { tabIndex: h } = d, g = jg(u?.props, { labelable: !0 });
delete g.id;
let _ = bm(u?.props), { focusableProps: v } = Hh({
...u?.props,
@@ -22424,7 +22424,7 @@ function yne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var bne = class {
+var xne = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -22468,11 +22468,11 @@ var bne = class {
};
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function xne(e, t, n) {
+function Sne(e, t, n) {
let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Cg(), { collectionProps: l } = Gv({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, R.useMemo)(() => new bne(a, c, r, s), [
+ keyboardDelegate: (0, R.useMemo)(() => new xne(a, c, r, s), [
a,
s,
r,
@@ -22483,7 +22483,7 @@ function xne(e, t, n) {
scrollRef: n,
linkBehavior: "selection"
}), u = gh();
- return rS.set(t, u), { tabListProps: {
+ return nS.set(t, u), { tabListProps: {
...H(l, _g({
...e,
id: u
@@ -22495,12 +22495,12 @@ function xne(e, t, n) {
}
//#endregion
//#region node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Sne(e, t, n) {
- let r = Xy(n) ? void 0 : 0, i = iS(t, e.id ?? t?.selectedKey, "tabpanel");
+function Cne(e, t, n) {
+ let r = Xy(n) ? void 0 : 0, i = rS(t, e.id ?? t?.selectedKey, "tabpanel");
return { tabPanelProps: H(_g({
...e,
id: i,
- "aria-labelledby": iS(t, t?.selectedKey, "tab")
+ "aria-labelledby": rS(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -22510,12 +22510,12 @@ function Sne(e, t, n) {
}
//#endregion
//#region src/react/components/selection-dock.tsx
-var aS = "(prefers-reduced-motion: reduce)", Cne = () => matchMedia(aS).matches, wne = (e) => {
- let t = matchMedia(aS);
+var iS = "(prefers-reduced-motion: reduce)", wne = () => matchMedia(iS).matches, Tne = (e) => {
+ let t = matchMedia(iS);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
};
-function Tne({ children: e, count: t, label: n }) {
- let r = Hu(), i = (0, R.useSyncExternalStore)(wne, Cne, () => !1), { isFocusVisible: a } = nh(), o = i || a, s = {
+function Ene({ children: e, count: t, label: n }) {
+ let r = Hu(), i = (0, R.useSyncExternalStore)(Tne, wne, () => !1), { isFocusVisible: a } = nh(), o = i || a, s = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -22551,23 +22551,23 @@ function Tne({ children: e, count: t, label: n }) {
}), e]
});
}
-function oS({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, B.jsx)(Ku, { children: e ? /* @__PURE__ */ (0, B.jsx)(Tne, { ...t }, "selection") : null });
+function aS({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, B.jsx)(Ku, { children: e ? /* @__PURE__ */ (0, B.jsx)(Ene, { ...t }, "selection") : null });
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
-var sS = R.createContext(void 0), cS = (e) => {
- let t = R.useContext(sS);
+var oS = R.createContext(void 0), sS = (e) => {
+ let t = R.useContext(oS);
if (e) return e;
if (!t) throw Error("No QueryClient set, use QueryClientProvider to set one");
return t;
-}, lS = ({ client: e, children: t }) => (R.useEffect(() => (e.mount(), () => {
+}, cS = ({ client: e, children: t }) => (R.useEffect(() => (e.mount(), () => {
e.unmount();
-}), [e]), /* @__PURE__ */ (0, B.jsx)(sS.Provider, {
+}), [e]), /* @__PURE__ */ (0, B.jsx)(oS.Provider, {
value: e,
children: t
-})), Ene = ({ children: e, options: t = {}, state: n, queryClient: r }) => {
- let a = cS(r), o = R.useRef(t);
+})), Dne = ({ children: e, options: t = {}, state: n, queryClient: r }) => {
+ let a = sS(r), o = R.useRef(t);
R.useEffect(() => {
o.current = t;
});
@@ -22585,10 +22585,10 @@ var sS = R.createContext(void 0), cS = (e) => {
return R.useEffect(() => {
s && i(a, { queries: s }, o.current);
}, [a, s]), e;
-}, uS = R.createContext(!1), dS = () => R.useContext(uS), Dne = uS.Provider;
+}, lS = R.createContext(!1), uS = () => R.useContext(lS), One = lS.Provider;
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
-function fS() {
+function dS() {
let e = !1;
return {
clearReset: () => {
@@ -22600,31 +22600,31 @@ function fS() {
isReset: () => e
};
}
-var pS = R.createContext(fS()), mS = () => R.useContext(pS), One = ({ children: e }) => {
- let [t] = R.useState(() => fS());
- return /* @__PURE__ */ (0, B.jsx)(pS.Provider, {
+var fS = R.createContext(dS()), pS = () => R.useContext(fS), kne = ({ children: e }) => {
+ let [t] = R.useState(() => dS());
+ return /* @__PURE__ */ (0, B.jsx)(fS.Provider, {
value: t,
children: typeof e == "function" ? e(t) : e
});
-}, hS = (e, t, n) => {
+}, mS = (e, t, n) => {
let r = n?.state.error && typeof e.throwOnError == "function" ? c(e.throwOnError, [n.state.error, n]) : e.throwOnError;
(e.suspense || r) && (t.isReset() || (e.retryOnMount = !1));
-}, gS = (e) => {
+}, hS = (e) => {
R.useEffect(() => {
e.clearReset();
}, [e]);
-}, _S = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || c(n, [e.error, r])), vS = (e, t) => t.state.data === void 0, yS = (e) => {
+}, gS = ({ result: e, errorResetBoundary: t, throwOnError: n, query: r, suspense: i }) => e.isError && !t.isReset() && !e.isFetching && r && (i && e.data === void 0 || c(n, [e.error, r])), _S = (e, t) => t.state.data === void 0, vS = (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));
}
-}, bS = (e, t) => e?.suspense && t.isPending, xS = (e, t, n) => t.fetchOptimistic(e).catch(() => {
+}, yS = (e, t) => e?.suspense && t.isPending, bS = (e, t, n) => t.fetchOptimistic(e).catch(() => {
n.clearReset();
});
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQueries.js
-function SS({ queries: e, ...t }, i) {
- let s = cS(i), c = dS(), l = mS(), u = t.subscribed !== !1, d = R.useMemo(() => e.map((e) => {
+function xS({ queries: e, ...t }, i) {
+ let s = sS(i), c = uS(), l = pS(), u = t.subscribed !== !1, d = R.useMemo(() => e.map((e) => {
let t = s.defaultQueryOptions(e);
return t._optimisticResults = c ? "isRestoring" : u ? "optimistic" : void 0, t;
}), [
@@ -22634,10 +22634,10 @@ function SS({ queries: e, ...t }, i) {
u
]);
d.forEach((e) => {
- yS(e);
+ vS(e);
let t = s.getQueryCache().get(e.queryHash);
- hS(e, l, t);
- }), gS(l);
+ mS(e, l, t);
+ }), hS(l);
let [f] = R.useState(() => new n(s, d, t)), [p, m, h] = f.getOptimisticResult(d, t.combine), g = !c && u;
R.useSyncExternalStore(R.useCallback((e) => g ? f.subscribe(o.batchCalls(e)) : a, [f, g]), () => f.getCurrentResult(), () => f.getCurrentResult()), R.useEffect(() => {
f.setQueries(d, t);
@@ -22646,14 +22646,14 @@ function SS({ queries: e, ...t }, i) {
t,
f
]);
- let _ = p.some((e, t) => bS(d[t], e)) ? p.flatMap((e, t) => {
+ let _ = p.some((e, t) => yS(d[t], e)) ? p.flatMap((e, t) => {
let n = d[t];
- return n && bS(n, e) ? xS(n, new r(s, n), l) : [];
+ return n && yS(n, e) ? bS(n, new r(s, n), l) : [];
}) : [];
if (_.length > 0) throw Promise.all(_);
let v = p.find((e, t) => {
let n = d[t];
- return n && _S({
+ return n && gS({
result: e,
errorResetBoundary: l,
throwOnError: n.throwOnError,
@@ -22666,17 +22666,17 @@ function SS({ queries: e, ...t }, i) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
-function CS(e, t, n) {
- let r = dS(), i = mS(), s = cS(n), c = s.defaultQueryOptions(e), l = s.getQueryCache().get(c.queryHash), u = e.subscribed !== !1;
- c._optimisticResults = r ? "isRestoring" : u ? "optimistic" : void 0, yS(c), hS(c, i, l), gS(i);
+function SS(e, t, n) {
+ let r = uS(), i = pS(), s = sS(n), c = s.defaultQueryOptions(e), l = s.getQueryCache().get(c.queryHash), u = e.subscribed !== !1;
+ c._optimisticResults = r ? "isRestoring" : u ? "optimistic" : void 0, vS(c), mS(c, i, l), hS(i);
let [d] = R.useState(() => new t(s, c)), f = d.getOptimisticResult(c), p = !r && u;
if (R.useSyncExternalStore(R.useCallback((e) => {
let t = p ? d.subscribe(o.batchCalls(e)) : a;
return d.updateResult(), t;
}, [d, p]), () => d.getCurrentResult(), () => d.getCurrentResult()), R.useEffect(() => {
d.setOptions(c);
- }, [c, d]), bS(c, f)) throw xS(c, d, i);
- if (_S({
+ }, [c, d]), yS(c, f)) throw bS(c, d, i);
+ if (gS({
result: f,
errorResetBoundary: i,
throwOnError: c.throwOnError,
@@ -22687,40 +22687,40 @@ function CS(e, t, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useQuery.js
-function wS(e, t) {
- return CS(e, r, t);
+function CS(e, t) {
+ return SS(e, r, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseQuery.js
-function kne(e, t) {
- return CS({
+function Ane(e, t) {
+ return SS({
...e,
enabled: !0,
suspense: !0,
- throwOnError: vS,
+ throwOnError: _S,
placeholderData: void 0
}, r, t);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseInfiniteQuery.js
-function Ane(t, n) {
- return CS({
+function jne(t, n) {
+ return SS({
...t,
enabled: !0,
suspense: !0,
- throwOnError: vS,
+ throwOnError: _S,
placeholderData: void 0
}, e, n);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useSuspenseQueries.js
-function jne(e, t) {
- return SS({
+function Mne(e, t) {
+ return xS({
...e,
queries: e.queries.map((e) => ({
...e,
suspense: !0,
- throwOnError: vS,
+ throwOnError: _S,
enabled: !0,
placeholderData: void 0
}))
@@ -22728,57 +22728,57 @@ function jne(e, t) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/usePrefetchQuery.js
-function Mne(e, t) {
- let n = cS(t);
+function Nne(e, t) {
+ let n = sS(t);
n.getQueryState(e.queryKey) || n.query(e).catch(a);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/usePrefetchInfiniteQuery.js
-function Nne(e, t) {
- let n = cS(t);
+function Pne(e, t) {
+ let n = sS(t);
n.getQueryState(e.queryKey) || n.infiniteQuery(e).catch(a);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/queryOptions.js
-function Pne(e) {
+function Fne(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/infiniteQueryOptions.js
-function Fne(e) {
+function Ine(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useIsFetching.js
-function Ine(e, t) {
- let n = cS(t), r = n.getQueryCache();
+function Lne(e, t) {
+ let n = sS(t), r = n.getQueryCache();
return R.useSyncExternalStore(R.useCallback((e) => r.subscribe(o.batchCalls(e)), [r]), () => n.isFetching(e), () => n.isFetching(e));
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutationState.js
-function Lne(e, t) {
- let n = cS(t);
- return ES({ filters: {
+function Rne(e, t) {
+ let n = sS(t);
+ return TS({ filters: {
...e,
status: "pending"
} }, n).length;
}
-function TS(e, t) {
+function wS(e, t) {
return e.findAll(t.filters).map((e) => t.select ? t.select(e) : e.state);
}
-function ES(e = {}, t) {
- let n = cS(t).getMutationCache(), r = R.useRef(e), i = R.useRef(null);
- return i.current === null && (i.current = TS(n, e)), R.useEffect(() => {
+function TS(e = {}, t) {
+ let n = sS(t).getMutationCache(), r = R.useRef(e), i = R.useRef(null);
+ return i.current === null && (i.current = wS(n, e)), R.useEffect(() => {
r.current = e;
}), R.useSyncExternalStore(R.useCallback((e) => n.subscribe(() => {
- let t = s(i.current, TS(n, r.current));
+ let t = s(i.current, wS(n, r.current));
i.current !== t && (i.current = t, o.schedule(e));
}), [n]), () => i.current, () => i.current);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useMutation.js
-function DS(e, n) {
- let r = cS(n), [i] = R.useState(() => new t(r, e));
+function ES(e, n) {
+ let r = sS(n), [i] = R.useState(() => new t(r, e));
R.useEffect(() => {
i.setOptions(e);
}, [i, e]);
@@ -22794,57 +22794,57 @@ function DS(e, n) {
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/mutationOptions.js
-function Rne(e) {
+function zne(e) {
return e;
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/useInfiniteQuery.js
-function OS(t, n) {
- return CS(t, e, n);
+function DS(t, n) {
+ return SS(t, e, n);
}
//#endregion
//#region node_modules/@tanstack/react-query/build/modern/index.js
-var kS = /* @__PURE__ */ wt({
- HydrationBoundary: () => Ene,
- IsRestoringProvider: () => Dne,
- QueryClientContext: () => sS,
- QueryClientProvider: () => lS,
- QueryErrorResetBoundary: () => One,
- infiniteQueryOptions: () => Fne,
- mutationOptions: () => Rne,
- queryOptions: () => Pne,
- useInfiniteQuery: () => OS,
- useIsFetching: () => Ine,
- useIsMutating: () => Lne,
- useIsRestoring: () => dS,
- useMutation: () => DS,
- useMutationState: () => ES,
- usePrefetchInfiniteQuery: () => Nne,
- usePrefetchQuery: () => Mne,
- useQueries: () => SS,
- useQuery: () => wS,
- useQueryClient: () => cS,
- useQueryErrorResetBoundary: () => mS,
- useSuspenseInfiniteQuery: () => Ane,
- useSuspenseQueries: () => jne,
- useSuspenseQuery: () => kne
+var OS = /* @__PURE__ */ wt({
+ HydrationBoundary: () => Dne,
+ IsRestoringProvider: () => One,
+ QueryClientContext: () => oS,
+ QueryClientProvider: () => cS,
+ QueryErrorResetBoundary: () => kne,
+ infiniteQueryOptions: () => Ine,
+ mutationOptions: () => zne,
+ queryOptions: () => Fne,
+ useInfiniteQuery: () => DS,
+ useIsFetching: () => Lne,
+ useIsMutating: () => Rne,
+ useIsRestoring: () => uS,
+ useMutation: () => ES,
+ useMutationState: () => TS,
+ usePrefetchInfiniteQuery: () => Pne,
+ usePrefetchQuery: () => Nne,
+ useQueries: () => xS,
+ useQuery: () => CS,
+ useQueryClient: () => sS,
+ useQueryErrorResetBoundary: () => pS,
+ useSuspenseInfiniteQuery: () => jne,
+ useSuspenseQueries: () => Mne,
+ useSuspenseQuery: () => Ane
});
-import * as zne from "/dist/peach-ui.js";
-Et(kS, zne);
+import * as Bne from "/dist/peach-ui.js";
+Et(OS, Bne);
/* istanbul ignore file */
//#endregion
//#region src/react/providers.tsx
-var AS = null;
-function Bne() {
- return AS?.isConnected || (AS = document.createElement("div"), AS.className = "peach-react", AS.dataset.reactOverlays = "", document.body.append(AS)), AS;
+var kS = null;
+function Vne() {
+ return kS?.isConnected || (kS = document.createElement("div"), kS.className = "peach-react", kS.dataset.reactOverlays = "", document.body.append(kS)), kS;
}
-function jS({ children: e }) {
- return /* @__PURE__ */ (0, B.jsx)(lS, {
+function AS({ children: e }) {
+ return /* @__PURE__ */ (0, B.jsx)(cS, {
client: p,
children: /* @__PURE__ */ (0, B.jsx)(sd, {
reducedMotion: "user",
children: /* @__PURE__ */ (0, B.jsx)(ry, {
- getContainer: Bne,
+ getContainer: Vne,
children: e
})
})
@@ -22852,13 +22852,13 @@ function jS({ children: e }) {
}
//#endregion
//#region src/react/batch-dock/batch-dock-api.ts
-var MS = {
+var jS = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function Vne(e, t = !1) {
+function Hne(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -22874,7 +22874,7 @@ function Vne(e, t = !1) {
glyph: "trash",
danger: !0
},
- MS
+ jS
];
case "junk": return [
t ? {
@@ -22895,7 +22895,7 @@ function Vne(e, t = !1) {
glyph: "trash",
danger: !0
},
- MS
+ jS
];
case "follow": return [
{
@@ -22916,7 +22916,7 @@ function Vne(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- MS
+ jS
];
default: return [
{
@@ -22950,42 +22950,42 @@ function Vne(e, t = !1) {
glyph: "trash",
danger: !0
},
- MS
+ jS
];
}
}
//#endregion
//#region src/react/batch-dock/batch-dock-island.tsx
-var NS = null, PS = null, FS = {
+var MS = null, NS = null, PS = {
count: 0,
context: "catalog",
junkDismissed: !1
};
-function IS() {
- let e = NS;
- if (!e || !PS) return;
- let t = FS;
- (0, rp.flushSync)(() => PS.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(Wne, {
+function FS() {
+ let e = MS;
+ if (!e || !NS) return;
+ let t = PS;
+ (0, rp.flushSync)(() => NS.render(/* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(Gne, {
host: e,
props: t
}) })));
}
-var Hne = { render(e) {
- FS = e, IS();
+var Une = { render(e) {
+ PS = e, FS();
} };
-function Une(e) {
- return NS = e, PS = (0, ip.createRoot)(e.root), IS(), Hne;
+function Wne(e) {
+ return MS = e, NS = (0, ip.createRoot)(e.root), FS(), Une;
}
-function Wne({ host: e, props: t }) {
+function Gne({ host: e, props: t }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, B.jsx)(oS, {
+ children: /* @__PURE__ */ (0, B.jsx)(aS, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count} 项`,
- children: Vne(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, B.jsxs)("button", {
+ children: Hne(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -23002,7 +23002,7 @@ function Wne({ host: e, props: t }) {
}
//#endregion
//#region src/react/components/glow-preset-grid.tsx
-function LS({ store: e, label: t, hidden: n }) {
+function IS({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-glow-grid": "",
@@ -23028,11 +23028,11 @@ function LS({ store: e, label: t, hidden: n }) {
}
//#endregion
//#region src/react/glow-picker/glow-picker-island.tsx
-function Gne(e) {
+function Kne(e) {
let t = (0, ip.createRoot)(e.root);
- (0, rp.flushSync)(() => t.render(/* @__PURE__ */ (0, B.jsx)(Kne, { host: e })));
+ (0, rp.flushSync)(() => t.render(/* @__PURE__ */ (0, B.jsx)(qne, { host: e })));
}
-function Kne({ host: e }) {
+function qne({ host: e }) {
let { store: t } = e;
(0, R.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -23048,7 +23048,7 @@ function Kne({ host: e }) {
children: "重置"
})]
}),
- /* @__PURE__ */ (0, B.jsx)(LS, {
+ /* @__PURE__ */ (0, B.jsx)(IS, {
store: t,
label: "光晕",
hidden: !n.on
@@ -23088,13 +23088,13 @@ function Kne({ host: e }) {
}
//#endregion
//#region src/api.ts
-var RS = class extends Error {
+var LS = class extends Error {
status;
body;
constructor(e, t, n = null) {
super(Te(e, t)), this.name = "ApiError", this.status = t, this.body = n;
}
-}, zS = (e) => {
+}, RS = (e) => {
if (!e || typeof e != "object") return "";
let t = e;
for (let e of [
@@ -23116,7 +23116,7 @@ async function W(e, t) {
try {
r = await n.json();
} catch {}
- if (!n.ok) throw new RS(zS(r) || `请求失败(${n.status})`, n.status);
+ if (!n.ok) throw new LS(RS(r) || `请求失败(${n.status})`, n.status);
return r;
}
async function G(e, t, n = "POST", r) {
@@ -23133,37 +23133,37 @@ async function G(e, t, n = "POST", r) {
try {
a = await i.json();
} catch {}
- if (!i.ok) throw new RS(zS(a) || `请求失败(${i.status})`, i.status, a);
+ if (!i.ok) throw new LS(RS(a) || `请求失败(${i.status})`, i.status, a);
return a;
}
//#endregion
//#region src/player/host.ts
-var BS = null;
-function qne(e) {
- BS = e;
+var zS = null;
+function Jne(e) {
+ zS = e;
}
-function VS() {
- if (!BS) throw Error("播放器还没有接上宿主(configurePlayer)");
- return BS;
+function BS() {
+ if (!zS) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return zS;
}
//#endregion
//#region src/player/menu.ts
-var HS = null;
-function Jne(e) {
- HS = e;
+var VS = null;
+function Yne(e) {
+ VS = e;
}
-function Yne() {
+function Xne() {
let e = document.getElementById("playerMenu");
return e || (e = document.createElement("div"), e.className = "popmenu", e.setAttribute("data-player-context-menu", ""), e.id = "playerMenu", e.setAttribute("role", "menu"), e.setAttribute("aria-label", "播放器菜单"), e.hidden = !0, document.body.append(e)), e;
}
-var US = null, WS = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function GS() {
+var HS = null, US = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function WS() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Ne(e, () => {
e.innerHTML = "";
- }), US &&= (US(), null);
+ }), HS &&= (HS(), null);
}
-async function Xne(e) {
+async function Zne(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -23176,12 +23176,12 @@ async function Xne(e) {
return t.remove(), n;
}
}
-function Zne(e) {
- let t = !!HS?.inMiniplayer(e), n = e.peachItem, r = HS?.kind(e) ?? "item", i = (t) => {
+function Qne(e) {
+ let t = !!VS?.inMiniplayer(e), n = e.peachItem, r = VS?.kind(e) ?? "item", i = (t) => {
let i = new URL(r === "follow" ? `/follow/item/${n?.id}` : `/item/${n?.id}`, location.origin);
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- Xne(i(e)).then((e) => VS().toast(e ? t : "复制失败,请手动复制地址栏", {
+ Zne(i(e)).then((e) => BS().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -23193,11 +23193,11 @@ function Zne(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => HS?.expand()
+ run: () => VS?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => HS?.toMiniplayer()
+ run: () => VS?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -23220,29 +23220,29 @@ function Zne(e) {
run: () => s.click()
}), o;
}
-function Qne(e, t, n) {
- let r = Yne();
- GS();
- let i = VS().stage();
+function $ne(e, t, n) {
+ let r = Xne();
+ WS();
+ let i = BS().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = Zne(e);
+ let a = Qne(e);
r.innerHTML = a.map((e, t) => {
let n = e.checked !== void 0;
- return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${WS(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${ge(e.label)}</span>${n ? WS(L("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${US(L(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${ge(e.label)}</span>${n ? US(L("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), Ge(r), r.showPopover(), r.style.left = `${Math.max(8, Math.min(t, innerWidth - r.offsetWidth - 8))}px`, r.style.top = `${Math.max(8, Math.min(n, innerHeight - r.offsetHeight - 8))}px`;
let o = [...r.querySelectorAll("[data-player-menu]")];
o.forEach((e) => {
e.onclick = (t) => {
t.stopPropagation();
let n = a[Number(e.dataset.playerMenu)];
- GS(), n?.run();
+ WS(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || GS();
+ r.contains(e.target) || WS();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), GS();
+ e.preventDefault(), e.stopPropagation(), WS();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -23250,51 +23250,51 @@ function Qne(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- qe(t, e.el()) && GS();
+ qe(t, e.el()) && WS();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), US = () => {
+ }, 0), HS = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function $ne(e) {
+function ere(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Qne(e, t.clientX, t.clientY));
- }), e.on("dispose", GS);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), $ne(e, t.clientX, t.clientY));
+ }), e.on("dispose", WS);
}
//#endregion
//#region src/player/registry.ts
-var KS = null, qS = () => KS;
-function JS(e) {
- KS = e;
+var GS = null, KS = () => GS;
+function qS(e) {
+ GS = e;
}
-function YS(e) {
+function JS(e) {
!e || e.isDisposed() || requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
//#endregion
//#region src/player/stats.ts
-function XS(e) {
+function YS(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t && e.buffered.end(n) >= t) return Math.max(0, e.buffered.end(n) - t);
return 0;
}
-function ere(e) {
+function tre(e) {
let t = e.currentTime || 0;
for (let n = 0; n < e.buffered.length; n++) if (e.buffered.start(n) <= t + .25 && e.buffered.end(n) >= t) return e.buffered.end(n);
return e.buffered.length ? e.buffered.end(e.buffered.length - 1) : 0;
}
-var ZS = 3e3;
-function QS(e, t) {
+var XS = 3e3;
+function ZS(e, t) {
let n = Number(e) || 0, r = we(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function tre(e) {
+function nre(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -23309,10 +23309,10 @@ function tre(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = ere(e), s = e.currentTime || 0;
+ let a = performance.now(), o = tre(e), s = e.currentTime || 0;
if (n) {
let e = (a - n.at) / 1e3, i = Math.abs(s - n.ct) > e * 4 + 1, c = o - n.frontier;
- !i && c > 0 && (r += c), e * 1e3 > ZS * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > XS * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -23321,56 +23321,56 @@ function tre(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > ZS;) t.shift();
+ }); t.length > 2 && a - t[0].at > XS;) t.shift();
let c = t[0], l = (a - c.at) / 1e3, u = r - c.advanced;
return l >= .5 && u > 0 && this.bitrate > 0 && (i = u * this.bitrate / l), i;
}
};
}
-var $S = 24;
-function eC(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > $S && e.splice(0, e.length - $S);
+var QS = 24;
+function $S(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > QS && e.splice(0, e.length - QS);
}
-var tC = "peach-player-panel";
-function nC(e, t, n, r) {
- let i = [...Array(Math.max(0, $S - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var eC = "peach-player-panel";
+function tC(e, t, n, r) {
+ let i = [...Array(Math.max(0, QS - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
if (e === null) return "<i aria-hidden=\"true\"></i>";
let n = e <= 0 ? 0 : Math.max(.08, Math.min(1, e / a));
return `<i data-bar="${t === "buffer" ? e < 5 ? "low" : e < 15 ? "mid" : "good" : "on"}" style="height:${(n * 100).toFixed(1)}%" aria-hidden="true"></i>`;
}).join("");
return `<span data-player-stats-plot="${t}" role="img" aria-label="${ge(r)}">${o}</span>`;
}
-function nre() {
+function rre() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${L("chart")}</button>
<div data-player-net="" id="playerNet" role="status" aria-live="polite" hidden></div>
<div data-player-stats="" id="playerStats" role="status" hidden></div>`;
}
-function rC(e, t = "") {
+function nC(e, t = "") {
let n = t ? encodeURIComponent(t) : "";
return performance.getEntriesByType("resource").filter((t) => t.name.includes("/stream") && (t.name.includes(`/stream?id=${e}`) || t.name.includes(`/stream/hls/${e}/`)) && (!n || t.name.includes(`session=${n}`)));
}
-function iC(e, t = "") {
- let n = rC(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+function rC(e, t = "") {
+ let n = nC(e, t), r = n.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), i = n.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
return r > 0 && i > 0 ? r * 8 / i : 0;
}
-function aC(e, t, n = "", r = null) {
+function iC(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.tech({ IWillNotUseThisInPlugins: !0 })?.vhs?.stats?.bandwidth) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : iC(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : rC(t, n);
}
-function oC(e) {
+function aC(e) {
if (!Number.isFinite(e) || e <= 0) return "加载中…";
let t = e / 8;
return t >= 1048576 ? `${(t / 1048576).toFixed(1)} MB/s` : `${Math.max(1, Math.round(t / 1024))} KB/s`;
}
-function rre(e, t) {
- return e > 0 ? oC(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : oC(0);
+function ire(e, t) {
+ return e > 0 ? aC(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : aC(0);
}
//#endregion
//#region src/player/controls.ts
-function sC(e, t, n = "") {
+function oC(e, t, n = "") {
if (!e) return () => {};
let r = e.querySelector(":scope>.vjs-peach-tooltip");
r || (r = document.createElement("span"), r.className = "vjs-peach-tooltip", r.setAttribute("role", "tooltip"), r.innerHTML = "<span class=\"vjs-peach-tooltip-text\"></span><kbd hidden></kbd>", e.append(r));
@@ -23381,24 +23381,24 @@ function sC(e, t, n = "") {
};
return o(), o;
}
-function ire(e, t = !0) {
- let n = VS(), r = n.settings();
+function are(e, t = !0) {
+ let n = BS(), r = n.settings();
r.ambientMode = !!e, t && n.saveSettings(), n.stage()?.toggleAttribute("data-ambient", r.ambientMode), document.dispatchEvent(new CustomEvent("peachambientchange", { detail: { enabled: r.ambientMode } }));
}
-var cC = /* @__PURE__ */ new WeakMap();
-function lC(e) {
+var sC = /* @__PURE__ */ new WeakMap();
+function cC(e) {
if (!e) return;
- let t = VS().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), cC.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = BS().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), sC.get(e)?.(t ? "默认视图" : "影院模式");
}
-function uC(e, t = !0) {
- let n = VS(), r = n.settings();
+function lC(e, t = !0) {
+ let n = BS(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), lC(i?.querySelector("[data-player-theater]")), YS(qS());
+ i?.toggleAttribute("data-theater", r.theaterMode), cC(i?.querySelector("[data-player-theater]")), JS(KS());
}
-function are(e) {
- let t = VS().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function ore(e) {
+ let t = BS().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -23422,14 +23422,14 @@ function are(e) {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
if (!(i || t !== o)) {
- if (!VS().settings().ambientMode) {
+ if (!BS().settings().ambientMode) {
c();
return;
}
e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t));
}
}, f = () => {
- i || !VS().settings().ambientMode || (l(), e.paused || u(++o));
+ i || !BS().settings().ambientMode || (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -23438,7 +23438,7 @@ function are(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function ore(e, t, n = 0, r = null) {
+function sre(e, t, n = 0, r = null) {
let i = e.getChild("controlBar")?.el();
if (!i || i.querySelector("[data-player-quality]")) return;
let a = document.createElement("div");
@@ -23448,7 +23448,7 @@ function ore(e, t, n = 0, r = null) {
let o = i.querySelector(".vjs-fullscreen-control");
i.insertBefore(a, o || null);
let s = a.querySelector("button"), c = a.querySelector("[data-player-quality-badge]");
- sC(s, "设置");
+ oC(s, "设置");
let l = a.querySelector(".vjs-peach-settings-menu"), u = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, d = r, f = "auto", p = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
@@ -23488,11 +23488,11 @@ function ore(e, t, n = 0, r = null) {
active: n
};
}, g = () => l.getAttribute("aria-hidden") !== "true", _ = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(tC, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e && document.dispatchEvent(new CustomEvent(eC, { detail: "settings" }));
}, v = () => _(!1), y = (e) => {
e.detail !== "settings" && v();
};
- document.addEventListener(tC, y);
+ document.addEventListener(eC, y);
let b = null, x = (e, t) => {
let n = l.querySelector(".vjs-peach-panel"), r = document.createElement("div");
if (r.className = "vjs-peach-panel", r.innerHTML = e, !n || !t || !g()) return l.replaceChildren(r), l.style.height = "", r;
@@ -23506,12 +23506,12 @@ function ore(e, t, n = 0, r = null) {
}, 250);
}), r;
}, S = (e, t) => e.querySelector(t), C = (t = 0) => {
- let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${VS().settings().ambientMode}">
+ let { active: n } = h(), r = Number(e.playbackRate()) || 1, i = x(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${BS().settings().ambientMode}">
${L("player-ambient")}<span>氛围模式</span><i class="vjs-peach-switch" aria-hidden="true"></i></button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-speed>${L("player-speed")}<span>播放速度</span><b>${r === 1 ? "正常" : `${r}×`}</b>${L("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${L("player-quality")}<span>清晰度</span><b>${ge(n.label)}</b>${L("player-menu-next")}</button></div>`, t);
S(i, "[data-player-ambient]").onclick = () => {
- ire(!VS().settings().ambientMode), C();
+ are(!BS().settings().ambientMode), C();
}, S(i, "[data-player-speed]").onclick = () => D(), S(i, "[data-player-quality-view]").onclick = () => O();
}, w = .05, T = [
1,
@@ -23574,22 +23574,22 @@ function ore(e, t, n = 0, r = null) {
], () => {
g() ? C() : h();
}), e.on("dispose", () => {
- document.removeEventListener("pointerdown", k), document.removeEventListener(tC, y), b && clearTimeout(b);
- }), h(), sre(e, a), cre(e), (e) => {
+ document.removeEventListener("pointerdown", k), document.removeEventListener(eC, y), b && clearTimeout(b);
+ }), h(), cre(e, a), lre(e), (e) => {
d = e?.length ? e : null, g() ? C() : h();
};
}
-function sre(e, t) {
+function cre(e, t) {
let n = e.getChild("controlBar")?.el();
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = VS().settings().theaterMode, i = document.createElement("div");
+ let r = BS().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${L(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- cC.set(a, sC(a, "影院模式", "T")), lC(a), a.onclick = (e) => {
- e.stopPropagation(), uC(!VS().settings().theaterMode);
+ sC.set(a, oC(a, "影院模式", "T")), cC(a), a.onclick = (e) => {
+ e.stopPropagation(), lC(!BS().settings().theaterMode);
};
}
-function cre(e) {
+function lre(e) {
let t = e.getChild("controlBar")?.el();
if (!t || t.querySelector(".vjs-peach-right-controls")) return;
let n = t.querySelector(":scope>.vjs-play-control");
@@ -23601,7 +23601,7 @@ function cre(e) {
e.dataset.peachExplicitIcon = "";
let r = document.createElementNS("http://www.w3.org/2000/svg", "svg");
return r.setAttribute("viewBox", n.getAttribute("viewBox") || ""), r.setAttribute("aria-hidden", "true"), r.setAttribute("class", "vjs-peach-control-icon vjs-peach-morph-icon"), r.innerHTML = n.innerHTML, e.append(r), r;
- }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = sC(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
+ }, a = (e) => [...document.getElementById(`i-${e}`)?.querySelectorAll("path") || []], o = i(n, "player-play")?.querySelector("path"), s = a("player-play")[0]?.getAttribute("d") || "", c = a("player-pause")[0]?.getAttribute("d") || "", l = oC(n, "播放", "K"), u = CSS.supports("d", "path(\"M0 0\")"), d = () => {
let t = e.paused() || e.ended(), n = t ? s : c;
o && (u ? o.style.setProperty("d", `path("${n}")`) : o.setAttribute("d", n)), l(t ? "播放" : "暂停");
};
@@ -23612,7 +23612,7 @@ function cre(e) {
], d), d();
let f = t.querySelector(":scope>.vjs-volume-panel"), p = f?.querySelector(":scope>.vjs-mute-control"), m = i(p, "player-volume");
m && a("player-volume-muted").forEach((e) => m.append(e.cloneNode(!0)));
- let h = sC(p, "静音", "M"), g = () => {
+ let h = oC(p, "静音", "M"), g = () => {
let t = e.muted() || e.volume() === 0;
m && (m.dataset.silent = String(t), m.dataset.loud = String(!t && e.volume() > .5)), h(t ? "取消静音" : "静音");
};
@@ -23638,7 +23638,7 @@ function cre(e) {
});
let x = document.createElement("button"), S = !1;
x.type = "button", x.className = "vjs-peach-time vjs-control", x.dataset.playerTime = "", x.innerHTML = "<span class=\"vjs-peach-time-text\"></span>";
- let C = x.querySelector(".vjs-peach-time-text"), w = sC(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = oC(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = _e(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : _e(t)} / ${_e(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${_e(n)};点击显示已播放时间` : `已播放 ${_e(t)},总时长 ${_e(n)};点击显示剩余时间`);
};
@@ -23651,11 +23651,11 @@ function cre(e) {
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
r(E, "player-pip");
- let D = sC(E, "画中画");
+ let D = oC(E, "画中画");
e.on(["enterpictureinpicture", "leavepictureinpicture"], () => D(document.pictureInPictureElement ? "退出画中画" : "画中画"));
- let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = sC(O, "全屏", "F"), j = () => {
+ let O = t.querySelector(":scope>.vjs-fullscreen-control"), k = r(O, "player-fullscreen-enter"), A = oC(O, "全屏", "F"), j = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), YS(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), k?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), A(t ? "退出全屏" : "全屏"), JS(e);
};
e.on([
"fullscreenchange",
@@ -23675,7 +23675,7 @@ function cre(e) {
});
let ee = document.createElement("div");
ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${L("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, N.prepend(ee);
- let te = ee.querySelector("button"), P = sC(te, "展开控件"), F = (t) => {
+ let te = ee.querySelector("button"), P = oC(te, "展开控件"), F = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), P(t ? "收起控件" : "展开控件");
};
te.onclick = (t) => {
@@ -23687,7 +23687,7 @@ function cre(e) {
}, re = new ResizeObserver(ne);
re.observe(e.el()), e.on("dispose", () => re.disconnect()), F(!1), ne();
}
-function lre(e, t, n = {}) {
+function ure(e, t, n = {}) {
let r = e.getChild("controlBar")?.el()?.querySelector(".vjs-progress-control");
if (!r || r.querySelector("[data-player-seek-preview]")) return;
let i = n.thumbnail !== !1, a = document.createElement("div");
@@ -23720,13 +23720,13 @@ function lre(e, t, n = {}) {
r.removeEventListener("pointermove", p), r.removeEventListener("pointerleave", m);
});
}
-function ure(e, t) {
+function dre(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => we(e.duration()) || we(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(VS().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(BS().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -23767,11 +23767,11 @@ function ure(e, t) {
} catch {}
});
}
-function dre(e) {
+function fre(e) {
let t = e.el().querySelector(".vjs-loading-spinner");
!t || t.querySelector(".vjs-peach-spinner-container") || (t.innerHTML = "<span class=\"vjs-peach-spinner-container\"><span class=\"vjs-peach-spinner-rotator\"><span class=\"vjs-peach-spinner-left\"><span class=\"vjs-peach-spinner-circle\"></span></span><span class=\"vjs-peach-spinner-right\"><span class=\"vjs-peach-spinner-circle\"></span></span></span></span>");
}
-function fre(e, t) {
+function pre(e, t) {
pe(`/api/assets/${t}/subtitles`).then((t) => {
!e || e.isDisposed() || (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -23786,7 +23786,7 @@ function fre(e, t) {
}
//#endregion
//#region src/player/dispose.ts
-function dC(e) {
+function uC(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
@@ -23804,23 +23804,23 @@ function dC(e) {
}
//#endregion
//#region src/player/stream.ts
-function fC() {
+function dC() {
return globalThis.crypto?.randomUUID?.() || `${Date.now().toString(36)}-${Math.random().toString(36).slice(2)}`;
}
-function pC(e, t) {
+function fC(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function pre(e) {
+function mre(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function mC(e, t) {
- let n = pre(e);
+async function pC(e, t) {
+ let n = mre(e);
if (n) return n;
try {
let n = await pe(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -23829,9 +23829,9 @@ async function mC(e, t) {
type: n.mime_type || "application/vnd.apple.mpegurl"
};
} catch {}
- return pC(e, t);
+ return fC(e, t);
}
-function hC(e) {
+function mC(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -23840,21 +23840,21 @@ function hC(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var gC = "";
+var hC = "";
+function gC() {
+ return hC;
+}
function _C() {
- return gC;
+ return hC ||= dC(), hC;
}
+var hre = (e) => fC(e, _C()), gre = (e) => pC(e, _C());
function vC() {
- return gC ||= fC(), gC;
-}
-var mre = (e) => pC(e, vC()), hre = (e) => mC(e, vC());
-function yC() {
- let e = gC;
- e && (gC = "", hC(e));
+ let e = hC;
+ e && (hC = "", mC(e));
}
//#endregion
//#region src/player/telemetry.ts
-function bC(e, t, n = {}) {
+function yC(e, t, n = {}) {
if (!t) return;
let r = 0, i = 0, a = 0, o = null;
t.addEventListener("seeking", () => {
@@ -23902,7 +23902,7 @@ function bC(e, t, n = {}) {
u(), l(!1);
}, { once: !0 }), c();
}
-function gre(e, t) {
+function _re(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = we(e.duration) || we(t.duration);
!r && !n || (pe("/api/follow/activity", {
@@ -23938,7 +23938,7 @@ function gre(e, t) {
}
//#endregion
//#region src/player/videojs.ts
-var xC = "/vendor/videojs/8.24.1/", SC = (e) => new Promise((t, n) => {
+var bC = "/vendor/videojs/8.24.1/", xC = (e) => new Promise((t, n) => {
let r = document.head.querySelector(`script[src="${e}"]`);
if (r?.dataset.loaded) {
t();
@@ -23950,20 +23950,20 @@ var xC = "/vendor/videojs/8.24.1/", SC = (e) => new Promise((t, n) => {
}, { once: !0 }), i.addEventListener("error", () => {
i.remove(), n(/* @__PURE__ */ Error(`script unavailable: ${e}`));
}, { once: !0 }), r || (i.src = e, document.head.appendChild(i));
-}), CC = () => globalThis.videojs, wC = null;
-function TC() {
- let e = CC();
- return e ? Promise.resolve(e) : (wC ??= SC(`${xC}video.min.js`).then(() => SC(`${xC}lang/zh-CN.js`)).then(() => {
- let e = CC();
+}), SC = () => globalThis.videojs, CC = null;
+function wC() {
+ let e = SC();
+ return e ? Promise.resolve(e) : (CC ??= xC(`${bC}video.min.js`).then(() => xC(`${bC}lang/zh-CN.js`)).then(() => {
+ let e = SC();
if (!e) throw Error("videojs unavailable");
return e;
}).catch((e) => {
- throw wC = null, e;
- }), wC);
+ throw CC = null, e;
+ }), CC);
}
//#endregion
//#region src/player/immerse-player.ts
-var _re = {
+var vre = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -23975,37 +23975,37 @@ var _re = {
errorDisplay: !1,
textTrackSettings: !1
};
-function vre(e, t) {
+function yre(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([mC(n, r), TC().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([pC(n, r), wC().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = pC(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = fC(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, _re);
+ let t = s(e, vre);
i = t, l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- bC(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ yC(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, hC(r), i ? dC(i) : (e.pause(), e.removeAttribute("src"), e.load()));
+ a || (a = !0, mC(r), i ? uC(i) : (e.pause(), e.removeAttribute("src"), e.load()));
};
}
//#endregion
//#region src/player/detail-player.ts
-var EC = /* @__PURE__ */ new WeakMap(), DC = null, OC = null, kC = null;
-function AC() {
- DC &&= (clearInterval(DC), null), OC &&= (clearInterval(OC), null), kC &&= (clearTimeout(kC), null);
+var TC = /* @__PURE__ */ new WeakMap(), EC = null, DC = null, OC = null;
+function kC() {
+ EC &&= (clearInterval(EC), null), DC &&= (clearInterval(DC), null), OC &&= (clearTimeout(OC), null);
}
-async function yre(e, t, n, r = {}) {
- let i = qS();
+async function bre(e, t, n, r = {}) {
+ let i = KS();
if (i && !i.isDisposed()) return i;
- let a = VS(), o = r.resume ?? null;
+ let a = BS(), o = r.resume ?? null;
o?.autoplay && (n = !0);
- let s = () => r.source ? Promise.resolve(r.source) : hre(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : gre(e), c;
try {
- c = await TC();
+ c = await wC();
} catch {
return t.controls = !0, s().then((e) => {
t.src = e.src, n && t.play().catch(() => {});
@@ -24029,7 +24029,7 @@ async function yre(e, t, n, r = {}) {
} }
}
});
- JS(l), l.peachItem = e, $ne(l), l.on("loadedmetadata", () => {
+ qS(l), l.peachItem = e, ere(l), l.on("loadedmetadata", () => {
let e = l.el()?.querySelector("video");
e?.videoWidth && e.videoHeight && l.el().style.setProperty("--peach-video-ratio", `${e.videoWidth}/${e.videoHeight}`);
});
@@ -24037,7 +24037,7 @@ async function yre(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = tre(QS(f, e.duration)), m = 0, h = !1, g = () => qS() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = nre(ZS(f, e.duration)), m = 0, h = !1, g = () => KS() === l && !l.isDisposed(), _ = () => {
if (!u || h || !g()) return;
let e = Number(l.duration());
(!Number.isFinite(e) || Math.abs(e - u) > Math.max(2, u * .001)) && (h = !0, l.duration(u), queueMicrotask(() => {
@@ -24048,15 +24048,15 @@ async function yre(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- EC.set(l, y), y.updateStats = () => {
+ TC.set(l, y), y.updateStats = () => {
let n = y.chrome?.statsPanel;
if (!n || n.hidden || !g()) return;
- let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = _C(), h = s ? rC(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
+ let i = t.getVideoPlaybackQuality ? t.getVideoPlaybackQuality() : null, a = t.getBoundingClientRect(), o = `${t.videoWidth || e.width || "?"}×${t.videoHeight || e.height || "?"}`, s = v(), c = gC(), h = s ? nC(e.id, c) : [], _ = h.reduce((e, t) => e + (t.transferSize || t.encodedBodySize || 0), 0), b = h.reduce((e, t) => e + (t.duration || 0), 0) / 1e3;
p.sample(t);
- let x = aC(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
+ let x = iC(l, e.id, c, s ? null : p) || (b > 0 ? _ * 8 / b : 0), S = s ? _ : p.bitrate > 0 ? p.bytes() : p.seconds, C = Math.max(0, S - m);
m = S;
- let w = XS(t);
- eC(d.speed, x), eC(d.activity, C), eC(d.buffer, w);
+ let w = YS(t);
+ $S(d.speed, x), $S(d.activity, C), $S(d.buffer, w);
let T = String(e.name || ""), E = (T.includes(".") ? T.split(".").pop() || "" : s ? "" : String(l.currentSource()?.type || "").split("/").pop() || "").toUpperCase() || "—", D = x ? `${(x / 1e6).toFixed(1)} Mbps` : "—", O = s || p.bitrate > 0, k = s ? [
"网络活动",
`${_ ? ye(_) : "—"} · ${h.length} 请求`,
@@ -24074,17 +24074,17 @@ async function yre(e, t, n, r = {}) {
[
"连接速度",
D,
- nC(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ tC(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- nC(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ tC(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- nC(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ tC(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${_e(t.currentTime)} / ${_e(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -24100,15 +24100,15 @@ async function yre(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = aC(l, e.id, _C(), r ? null : p), a = r ? oC(i) : rre(i, XS(t));
+ let i = iC(l, e.id, gC(), r ? null : p), a = r ? aC(i) : ire(i, YS(t));
n.innerHTML = `${L("gauge")}<span class="sr-only">加载速度</span><span>${ge(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- !e || !e.isConnected || (e.hidden = !1, S(), OC && clearInterval(OC), OC = setInterval(S, 500));
+ !e || !e.isConnected || (e.hidden = !1, S(), DC && clearInterval(DC), DC = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (kC && clearTimeout(kC), kC = setTimeout(() => {
- e.hidden = !0, OC &&= (clearInterval(OC), null);
+ e && (OC && clearTimeout(OC), OC = setTimeout(() => {
+ e.hidden = !0, DC &&= (clearInterval(DC), null);
}, 1400));
};
return l.on([
@@ -24120,7 +24120,7 @@ async function yre(e, t, n, r = {}) {
S(), w();
}), l.on("error", () => {
if (b && !x && !l.isDisposed()) {
- x = !0, b = !1, l.src(mre(e)), n && l.play()?.catch(() => {});
+ x = !0, b = !1, l.src(hre(e)), n && l.play()?.catch(() => {});
return;
}
r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
@@ -24131,27 +24131,27 @@ async function yre(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = ore(l, t, e.height, r.qualities ?? null);
+ let n = sre(l, t, e.height, r.qualities ?? null);
r.mediaPromise?.then((t) => {
if (!g()) return;
n?.(t?.qualities?.length ? t.qualities : null);
let r = Number(t?.size) || 0;
- r > 0 && !f && (f = r, p.bitrate = QS(r, e.duration));
- }).catch(() => {}), lre(l, e, { thumbnail: !r.source }), ure(l, e), dre(l), r.source || fre(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = ZS(r, e.duration));
+ }).catch(() => {}), ure(l, e, { thumbnail: !r.source }), dre(l, e), fre(l), r.source || pre(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), o && o.time > 0 && l.one("loadedmetadata", () => {
l.isDisposed() || l.currentTime(o.time);
}), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var bre = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function jC(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", bre), e.querySelector(":scope > #playerStatsBtn")) return;
+var xre = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function AC(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", xre), e.querySelector(":scope > #playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = nre(), e.insertBefore(n.content, t);
+ n.innerHTML = rre(), e.insertBefore(n.content, t);
}
-function MC(e, t) {
- let n = EC.get(e);
+function jC(e, t) {
+ let n = TC.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`:scope > #${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -24163,29 +24163,29 @@ function MC(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), DC &&= (clearInterval(DC), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), EC &&= (clearInterval(EC), null));
};
a.onclick = () => {
if (!o.hidden) {
e();
return;
}
- document.dispatchEvent(new CustomEvent(tC, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), DC && clearInterval(DC), DC = setInterval(n.updateStats, 1e3);
+ document.dispatchEvent(new CustomEvent(eC, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), EC && clearInterval(EC), EC = setInterval(n.updateStats, 1e3);
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(tC, t), s = () => document.removeEventListener(tC, t);
+ document.addEventListener(eC, t), s = () => document.removeEventListener(eC, t);
}
- let c = e.el().querySelector("video"), l = c ? are(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, AC()));
+ let c = e.el().querySelector("video"), l = c ? ore(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, kC()));
};
return e.one("dispose", d), d;
}
-function NC(e, t) {
- if (t.kind === "immerse") return vre(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = VS(), c = t.chrome === !1 ? null : e.parentElement;
- c && jC(c, e);
+function MC(e, t) {
+ if (t.kind === "immerse") return yre(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = BS(), c = t.chrome === !1 ? null : e.parentElement;
+ c && AC(c, e);
let l = { resume: t.resume ?? null };
if (n === "follow") l = {
...l,
@@ -24205,16 +24205,16 @@ function NC(e, t) {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), bC(r, e, {
+ }, { once: !0 }), yC(r, e, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
});
}
let u = null, d = !1, f = () => {}, p = () => {
- f(), !(!u || a?.(u)) && (qS() === u && (JS(null), AC()), dC(u));
+ f(), !(!u || a?.(u)) && (KS() === u && (qS(null), kC()), uC(u));
};
- return yre(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {
+ return bre(r, e, t.autoplay ?? s.settings().detailAutoplay, l).then((t) => {
if (u = t, d) {
p();
return;
@@ -24223,45 +24223,45 @@ function NC(e, t) {
o?.(null);
return;
}
- c && (f = MC(t, c)), n === "follow" && gre(r, e), o?.(t);
+ c && (f = jC(t, c)), n === "follow" && _re(r, e), o?.(t);
}), () => {
d = !0, p();
};
}
//#endregion
//#region src/player/playback.ts
-function PC(e) {
+function NC(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function xre(e, t) {
+function Sre(e, t) {
let n = e.duration, r = (e.currentTime || 0) + t;
e.currentTime = Number.isFinite(n) ? Math.max(0, Math.min(n, r)) : Math.max(0, r);
}
//#endregion
//#region src/jav-artwork.ts
-function FC(e) {
+function PC(e) {
return e === "thumbnail" ? "thumbnail" : "cover";
}
-function Sre(e, t) {
- return e.is_jav && e.code && e.has_cover && (FC(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
+function Cre(e, t) {
+ return e.is_jav && e.code && e.has_cover && (PC(t) === "cover" || !e.has_thumb) ? "cover" : e.has_thumb ? "thumbnail" : "";
}
-var IC = .704;
-function LC(e, t) {
+var FC = .704;
+function IC(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var Cre = (e, t) => [
+var wre = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], wre = (e, t) => [
+], Tre = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function Tre(e, t, n, r, i) {
+async function Ere(e, t, n, r, i) {
let a = new URLSearchParams(e);
a.set("limit", String(n)), a.set("offset", String(t)), t && a.set("count", "0");
let o = await W(`/api/items?${a}`, i), s = {
@@ -24271,22 +24271,22 @@ async function Tre(e, t, n, r, i) {
};
return !t && !s.items.length && !r && (s.libraryEmpty = (await W("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var Ere = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Dre = (e, t) => {
+var Dre = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Ore = (e, t) => {
let n = t.reduce((e, t) => e + t.items.length, 0);
return (e.has_more == null ? n < (e.total || 0) : e.has_more) ? n : void 0;
};
-function RC(e) {
- let t = LC(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function LC(e) {
+ let t = IC(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: Cre(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => Tre(t, e, n, r, i),
+ queryKey: wre(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => Ere(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: Ere(n)
+ getNextPageParam: Dre(n)
};
}
-function Ore(e) {
+function kre(e) {
return {
- queryKey: wre(e.entityKey || "", e.revision || 0),
+ queryKey: Tre(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -24301,12 +24301,12 @@ function Ore(e) {
};
},
initialPageParam: 0,
- getNextPageParam: Dre
+ getNextPageParam: Ore
};
}
-async function kre(e, t) {
+async function Are(e, t) {
if (e.mode !== "catalog") return;
- let n = RC(e);
+ let n = LC(e);
await p.fetchInfiniteQuery({
...n,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -24315,7 +24315,7 @@ async function kre(e, t) {
})
});
}
-function Are(e, t, n) {
+function jre(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -24330,24 +24330,24 @@ function Are(e, t, n) {
return !0;
}) : [...e];
}
-var zC = (e, t) => !!e && !!Sre(e, t);
-function jre(e, t) {
- let n = (e) => zC(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
- return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => zC(e, t)) || e[e.length - 1];
+var RC = (e, t) => !!e && !!Cre(e, t);
+function Mre(e, t) {
+ let n = (e) => RC(e, t) && !!(e.creator || (e.performers || []).length || e.studio);
+ return e.slice(15).find(n) || e.slice(8).find(n) || e.slice(8).find((e) => RC(e, t)) || e[e.length - 1];
}
-function Mre(e, { collapse: t, mix: n, javImage: r }) {
+function Nre(e, { collapse: t, mix: n, javImage: r }) {
let i = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
}, a = /* @__PURE__ */ new Set(), o = [], s = [];
for (let c of e) {
s.push(o.length);
- let e = Are(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = jre(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
kind: "card",
item: e
}));
if (n && e.length >= 8) {
- let t = jre(e, r);
+ let t = Mre(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -24360,16 +24360,16 @@ function Mre(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Nre(e, t, n) {
+function Pre(e, t, n) {
let r = Math.max(1, n), i = [];
for (let n = Math.max(r, Math.ceil(Math.max(0, t) / r) * r); n < e; n += r) i.push(n);
return i;
}
-function Pre(e, t) {
+function Fre(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return n.set("orient", "竖屏"), n.set("limit", "18"), n.set("offset", String(t)), n.toString();
}
-function Fre(e, t) {
+function Ire(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -24382,10 +24382,10 @@ function Fre(e, t) {
strip: null
}), r;
}
-function BC(e, t) {
- VC((t) => t.id === e, t);
+function zC(e, t) {
+ BC((t) => t.id === e, t);
}
-function VC(e, t) {
+function BC(e, t) {
p.setQueriesData({
queryKey: ["catalog-grid"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -24402,31 +24402,31 @@ function VC(e, t) {
}
//#endregion
//#region src/react/item-detail/item-detail.ts
-var HC = (e) => ["item", e], UC = (e) => [
+var VC = (e) => ["item", e], HC = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], Ire = (e, t) => [
+], Lre = (e, t) => [
"item-related",
e,
t
-], Lre = (e) => `/api/item?id=${e}`, Rre = (e, t) => `/api/related?id=${e}&limit=${t}`, WC = "/api/playlist", GC = "/api/feedback", KC = "/api/item-tag", qC = "/api/watch-later", JC = "/api/quality-goal", YC = "/api/preference", XC = class extends Error {};
-async function ZC(e, t) {
- let n = await W(Lre(e), t);
- if (n.error) throw new XC(n.error);
+], Rre = (e) => `/api/item?id=${e}`, zre = (e, t) => `/api/related?id=${e}&limit=${t}`, UC = "/api/playlist", WC = "/api/feedback", GC = "/api/item-tag", KC = "/api/watch-later", qC = "/api/quality-goal", JC = "/api/preference", YC = class extends Error {};
+async function XC(e, t) {
+ let n = await W(Rre(e), t);
+ if (n.error) throw new YC(n.error);
return n;
}
-async function QC(e, t, n) {
+async function ZC(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([ZC(r, n), t.mixRelated(r)]);
- return p.setQueryData(HC(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([XC(r, n), t.mixRelated(r)]);
+ return p.setQueryData(VC(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${re(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return $C(await W(`${WC}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return QC(await W(`${UC}?id=${e.playlistId}`, n));
let r = await W(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -24436,19 +24436,19 @@ async function QC(e, t, n) {
items: r.items
};
}
-var $C = (e) => ({
+var QC = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), ew = (e) => e.disposal === "vanished";
-function tw(e, t) {
+}), $C = (e) => e.disposal === "vanished";
+function ew(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !ew(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !$C(e)) : e.items;
return n.length ? t != null && n.some((e) => e.id === t) ? t : e.kind === "playlist" && n.some((t) => t.id === e.currentAssetId) ? e.currentAssetId : n[0].id : null;
}
-function zre(e, t) {
+function Bre(e, t) {
if (t?.kind !== "parts") return e;
let n = t.items.find((t) => t.id === e.id)?.part_label || "";
return e.part_label === n ? e : {
@@ -24456,15 +24456,15 @@ function zre(e, t) {
part_label: n
};
}
-async function Bre(e, t) {
+async function Vre(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = UC(n);
+ let o = HC(n);
try {
let r = n.fresh ? void 0 : p.getQueryData(o);
a = !r && n.kind === "mix", i = r || await p.fetchQuery({
queryKey: o,
- queryFn: () => QC(n, e.helpers, t),
+ queryFn: () => ZC(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -24476,20 +24476,20 @@ async function Bre(e, t) {
return;
}
}
- let o = i ? tw(i, e.id) : e.id;
+ let o = i ? ew(i, e.id) : e.id;
if (o == null) {
r.redirect(i?.kind === "playlist" ? { kind: "playlists" } : { kind: "gone" });
return;
}
- let s, c = a && o === i?.seedId ? p.getQueryData(HC(o)) : void 0;
+ let s, c = a && o === i?.seedId ? p.getQueryData(VC(o)) : void 0;
try {
s = c || await p.fetchQuery({
- queryKey: HC(o),
- queryFn: () => ZC(o, t),
+ queryKey: VC(o),
+ queryFn: () => XC(o, t),
staleTime: 0
});
} catch (e) {
- if (e instanceof XC) {
+ if (e instanceof YC) {
r.redirect({ kind: "gone" });
return;
}
@@ -24500,7 +24500,7 @@ async function Bre(e, t) {
id: Number(s.follow_item_id)
});
}
-function Vre(e) {
+function Hre(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = be(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -24522,42 +24522,42 @@ function Vre(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-var nw = (e) => Math.min(Math.max(e || 0, 0), 100), rw = (e) => Math.round(nw(e) / 20), Hre = (e) => {
- let t = rw(e);
+var tw = (e) => Math.min(Math.max(e || 0, 0), 100), nw = (e) => Math.round(tw(e) / 20), Ure = (e) => {
+ let t = nw(e);
return t ? `${t} 星` : "未评分";
-}, Ure = (e, t) => {
+}, Wre = (e, t) => {
let n = t * 20;
return n === (e || 0) ? 0 : n;
};
-function Wre(e, t) {
+function Gre(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = be(t.tagLabel(e.k)), i = n.get(r);
(!i || be(e.k) === r && be(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var iw = (e, t) => (e.tags || []).some((e) => be(e.k) === be(t)), aw = (e, t) => ({
+var rw = (e, t) => (e.tags || []).some((e) => be(e.k) === be(t)), iw = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => be(e.k) !== be(t))
-}), ow = (e, t) => iw(e, t.k) ? e : {
+}), aw = (e, t) => rw(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, sw = "peach.recentTags";
-function cw() {
+}, ow = "peach.recentTags";
+function sw() {
try {
- let e = JSON.parse(localStorage.getItem(sw) || "[]");
+ let e = JSON.parse(localStorage.getItem(ow) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function Gre(e) {
+function Kre(e) {
try {
- let t = cw().filter((t) => be(t) !== be(e));
- localStorage.setItem(sw, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = sw().filter((t) => be(t) !== be(e));
+ localStorage.setItem(ow, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function Kre(e, t, n) {
+function qre(e, t, n) {
let r = be(e), i = new Map(t.map((e) => [be(e.k), e])), a = t.filter((e) => !r || be(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(be(e)) || {
k: e,
n: 0
@@ -24568,73 +24568,73 @@ function Kre(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var qre = {
+var Jre = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, Jre = {
+}, Yre = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function Yre(e) {
+function Xre(e) {
let t = e.items.length, n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;
return {
- title: Jre[e.kind],
+ title: Yre[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var lw = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Xre = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${ge(lw(e.part_label))}</small>` : "";
-function Zre(e, t, n, r) {
+var cw = (e = "") => /^(?:\d+|[a-h])$/i.test(e) ? `第 ${e} 卷` : e, Zre = (e, t) => t?.kind === "parts" && e.part_label ? `<small class="javedition partlabel">${ge(cw(e.part_label))}</small>` : "";
+function Qre(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var Qre = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function $re(e, t) {
+var $re = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function eie(e, t) {
return t ? "offline" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";
}
-function eie(e) {
+function tie(e) {
let t = Number(e.duration) > 0 ? Number(e.duration) : 0;
return !e.play_seconds || !t ? null : Math.min(Number(e.play_seconds) / t, 1) * 100;
}
-function uw(e, t) {
+function lw(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
//#endregion
//#region src/react/immerse/immerse.ts
-var tie = (e, t, n) => [
+var nie = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function nie(e) {
+function rie(e) {
let t = new URLSearchParams();
for (let [n, r] of Object.entries(e)) r && t.set(n, String(r));
return t.delete("orient"), t.set("sort", "rand"), t.set("limit", "60"), t.set("offset", "0"), t.set("thumb", ""), t.toString();
}
-var rie = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
-function iie(e, t = Math.random) {
+var iie = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.location ?? ""));
+function aie(e, t = Math.random) {
for (let n = e.length - 1; n > 0; n--) {
let r = Math.floor(t() * (n + 1));
[e[n], e[r]] = [e[r], e[n]];
}
return e;
}
-async function aie(e, t) {
- return iie(((await W(`/api/items?${e}`)).items || []).filter((e) => rie(e, t)));
+async function oie(e, t) {
+ return aie(((await W(`/api/items?${e}`)).items || []).filter((e) => iie(e, t)));
}
-var dw = (e) => p.ensureQueryData({
- queryKey: HC(e),
- queryFn: ({ signal: t }) => ZC(e, t)
+var uw = (e) => p.ensureQueryData({
+ queryKey: VC(e),
+ queryFn: ({ signal: t }) => XC(e, t)
});
-function oie(e, t) {
+function sie(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function sie(e) {
+function cie(e) {
let t = e.performers || [], n = t.length ? t.slice(0, 3).join("、") + (t.length > 3 ? ` 等 ${t.length} 人` : "") : e.creator || "未归属", r = t.length ? "performer" : e.creator ? "creator" : "";
return {
who: n,
@@ -24643,314 +24643,314 @@ function sie(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function cie(e, t, n) {
+function lie(e, t, n) {
if (!e || !t || !n || !Number.isFinite(n)) return null;
let r = e / t;
return (r > n ? r / n : n / r) > 1.05 ? "contain" : "cover";
}
-function lie(e, t) {
+function uie(e, t) {
return e.videoWidth && e.videoHeight ? e.videoWidth >= e.videoHeight : !!(t.width && t.height && t.width > 0 && t.height > 0 && t.width >= t.height);
}
-var uie = 15e3, fw = {
+var die = 15e3, dw = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, pw = null, mw = null, hw = null, gw = null, _w = fw, vw = 0, yw = 0, bw = 0, xw = "", Sw = [], Cw = 0, ww = !1, Tw = !1, Ew = null, Dw = /* @__PURE__ */ new Set(), Ow = "", kw = null, Aw = 0, jw = null, Mw = !1;
-function Nw() {
- if (!pw) throw Error("沉浸岛还没有接上宿主(configureImmerse)");
- return pw;
+}, fw = null, pw = null, mw = null, hw = null, gw = dw, _w = 0, vw = 0, yw = 0, bw = "", xw = [], Sw = 0, Cw = !1, ww = !1, Tw = null, Ew = /* @__PURE__ */ new Set(), Dw = "", Ow = null, kw = 0, Aw = null, jw = !1;
+function Mw() {
+ if (!fw) throw Error("沉浸岛还没有接上宿主(configureImmerse)");
+ return fw;
}
-function die() {
- return (!mw || !hw?.isConnected) && (mw?.unmount(), hw = document.createElement("div"), hw.dataset.immerseHost = "", document.body.append(hw), mw = (0, ip.createRoot)(hw)), mw;
+function fie() {
+ return (!pw || !mw?.isConnected) && (pw?.unmount(), mw = document.createElement("div"), mw.dataset.immerseHost = "", document.body.append(mw), pw = (0, ip.createRoot)(mw)), pw;
}
-function Pw() {
- let e = die();
- (0, rp.flushSync)(() => e.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(kie, { view: _w }) })));
+function Nw() {
+ let e = fie();
+ (0, rp.flushSync)(() => e.render(/* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(Aie, { view: gw }) })));
}
-function Fw() {
- let e = kw ? iC(kw.id) : 0;
- return e ? `${Ow} · ${oC(e)}` : Ow;
+function Pw() {
+ let e = Ow ? rC(Ow.id) : 0;
+ return e ? `${Dw} · ${aC(e)}` : Dw;
}
-function Iw(e, t = null) {
- if (clearInterval(Aw), Aw = 0, e === null) {
- _w = {
- ..._w,
+function Fw(e, t = null) {
+ if (clearInterval(kw), kw = 0, e === null) {
+ gw = {
+ ...gw,
loading: null
- }, Pw();
+ }, Nw();
return;
}
- Ow = e, kw = t, _w = {
- ..._w,
- loading: Fw()
- }, Pw(), Aw = window.setInterval(() => {
- kw = Sw[Cw] ?? null, _w = {
- ..._w,
- loading: Fw()
- }, Pw();
+ Dw = e, Ow = t, gw = {
+ ...gw,
+ loading: Pw()
+ }, Nw(), kw = window.setInterval(() => {
+ Ow = xw[Sw] ?? null, gw = {
+ ...gw,
+ loading: Pw()
+ }, Nw();
}, 500);
}
-function fie(e) {
+function pie(e) {
let t = document.createElement("div");
t.dataset.immerseSlide = "", e && (t.style.transform = `translateY(${e}%)`);
let n = document.createElement("video");
- n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), gw.track.append(t);
- let r = fC(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), hw.track.append(t);
+ let r = dC(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => hC(r),
+ release: () => mC(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return Dw.add(a), a;
+ return Ew.add(a), a;
}
-function pie(e, t) {
+function mie(e, t) {
return new Promise((n) => {
- e.release = NC(e.video, {
+ e.release = MC(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- _w.open && Uw(1);
+ gw.open && Hw(1);
}
}), e.gone.then(n);
});
}
-function Lw(e) {
- !e || e.disposed || (e.disposed = !0, Dw.delete(e), e.leave(), e.release(), e.el.remove(), Ew === e && (Ew = null));
+function Iw(e) {
+ !e || e.disposed || (e.disposed = !0, Ew.delete(e), e.leave(), e.release(), e.el.remove(), Tw === e && (Tw = null));
}
-var Rw = [
+var Lw = [
"loadeddata",
"canplay",
"error"
];
-function mie(e) {
+function hie(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), Rw.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), Lw.forEach((e) => t.removeEventListener(e, i)), n());
};
- Rw.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, uie);
+ Lw.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, die);
e.gone.then(i);
});
}
-function zw(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = cie(e.videoWidth, e.videoHeight, n);
+function Rw(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = lie(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var Bw = () => gw?.track.querySelectorAll("video").forEach(zw);
-function hie(e) {
- delete e.dataset.fit, e.readyState >= 1 ? zw(e) : e.addEventListener("loadedmetadata", () => zw(e), { once: !0 });
-}
+var zw = () => hw?.track.querySelectorAll("video").forEach(Rw);
function gie(e) {
- _w = {
- ..._w,
+ delete e.dataset.fit, e.readyState >= 1 ? Rw(e) : e.addEventListener("loadedmetadata", () => Rw(e), { once: !0 });
+}
+function _ie(e) {
+ gw = {
+ ...gw,
wide: e
- }, Pw(), Bw();
+ }, Nw(), zw();
}
-var Vw = () => {
- let e = xw;
+var Bw = () => {
+ let e = bw;
return p.fetchQuery({
- queryKey: tie(e, yw, bw),
- queryFn: () => aie(e, Nw().sourceOffline),
+ queryKey: nie(e, vw, yw),
+ queryFn: () => oie(e, Mw().sourceOffline),
staleTime: Infinity
});
};
-function _ie(e, t) {
+function vie(e, t) {
let n = () => we(e.duration) || we(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && gw && (gw.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), jw = {
+ t && hw && (hw.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), Aw = {
video: e,
duration: n
};
}
-async function Hw(e = 0) {
- let t = Sw[Cw];
- if (!t || ww) return;
- let n = vw;
- Nw().route(t.id), ww = !0, Iw(e ? "切换中…" : "加载中…", t);
+async function Vw(e = 0) {
+ let t = xw[Sw];
+ if (!t || Cw) return;
+ let n = _w;
+ Mw().route(t.id), Cw = !0, Fw(e ? "切换中…" : "加载中…", t);
let r = null;
try {
- if (await dw(t.id).catch((e) => {
- if (!(e instanceof XC)) throw e;
- }), n !== vw) return;
- let i = Ew, a = !!(e && i);
- a || Lw(i);
- let o = fie(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, hie(o.video), await pie(o, t), await mie(o), o.disposed || (gie(lie(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await uw(t.id).catch((e) => {
+ if (!(e instanceof YC)) throw e;
+ }), n !== _w) return;
+ let i = Tw, a = !!(e && i);
+ a || Iw(i);
+ let o = pie(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, gie(o.video), await mie(o, t), await hie(o), o.disposed || (_ie(uie(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
i.el.style.transform = `translateY(${e > 0 ? -100 : 100}%)`, o.el.style.transform = "";
- })), await new Promise((e) => setTimeout(e, 210)), Lw(i), o.el.style.transform = ""), o.disposed)) return;
- Ew = o, r = null, o.video.play()?.catch(() => {}), _w = {
- ..._w,
+ })), await new Promise((e) => setTimeout(e, 210)), Iw(i), o.el.style.transform = ""), o.disposed)) return;
+ Tw = o, r = null, o.video.play()?.catch(() => {}), gw = {
+ ...gw,
idle: !1,
shown: {
item: t,
- index: Cw,
- length: Sw.length
+ index: Sw,
+ length: xw.length
}
- }, _ie(o.video, t), G("/api/play", { id: t.id }).catch(() => {}), Iw(null);
+ }, vie(o.video, t), G("/api/play", { id: t.id }).catch(() => {}), Fw(null);
} catch {
- Lw(r), n === vw && Iw(null);
+ Iw(r), n === _w && Fw(null);
} finally {
- n === vw && (ww = !1);
+ n === _w && (Cw = !1);
}
}
-async function Uw(e) {
- if (ww || !_w.open) return;
- let t = vw;
- if (Cw += e, Iw("切换中…", Sw[Cw] ?? null), Cw >= Sw.length - 3 && !Tw) {
- Tw = !0;
+async function Hw(e) {
+ if (Cw || !gw.open) return;
+ let t = _w;
+ if (Sw += e, Fw("切换中…", xw[Sw] ?? null), Sw >= xw.length - 3 && !ww) {
+ ww = !0;
try {
- bw += 1;
- let e = await Vw();
- t === vw && (Sw = oie(Sw, e));
+ yw += 1;
+ let e = await Bw();
+ t === _w && (xw = sie(xw, e));
} catch {} finally {
- Tw = !1;
+ ww = !1;
}
}
- t === vw && (Cw >= Sw.length && (Cw = 0), Cw < 0 && (Cw = Sw.length - 1), await Hw(e));
+ t === _w && (Sw >= xw.length && (Sw = 0), Sw < 0 && (Sw = xw.length - 1), await Vw(e));
}
-async function vie(e) {
- let t = ++vw;
- Ww(), yw += 1, bw = 0, xw = nie(Nw().filters()), p.removeQueries({ queryKey: ["immerse-list"] }), _w = {
- ..._w,
+async function yie(e) {
+ let t = ++_w;
+ Uw(), vw += 1, yw = 0, bw = rie(Mw().filters()), p.removeQueries({ queryKey: ["immerse-list"] }), gw = {
+ ...gw,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), Iw("加载内容…");
+ }, document.body.setAttribute("data-immerse-open", ""), Fw("加载内容…");
try {
- let n = await Vw();
+ let n = await Bw();
if (e && !n.some((t) => t.id === e)) {
- let t = await dw(e).catch((e) => {
- if (e instanceof XC) return null;
+ let t = await uw(e).catch((e) => {
+ if (e instanceof YC) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== vw) return;
- if (Sw = n, !Sw.length) {
- Gw(), Nw().warn("当前筛选下没有可直接播放的内容");
+ if (t !== _w) return;
+ if (xw = n, !xw.length) {
+ Ww(), Mw().warn("当前筛选下没有可直接播放的内容");
return;
}
- Cw = Math.max(0, Sw.findIndex((t) => t.id === e)), await Hw();
+ Sw = Math.max(0, xw.findIndex((t) => t.id === e)), await Vw();
} catch {
- if (t !== vw) return;
- Iw(null), Gw();
+ if (t !== _w) return;
+ Fw(null), Ww();
}
}
-function Ww() {
- clearInterval(Aw), Aw = 0, Zw(), Yw = null, jw = null, Mw = !1, [...Dw].forEach(Lw), ww = !1;
+function Uw() {
+ clearInterval(kw), kw = 0, Xw(), Jw = null, Aw = null, jw = !1, [...Ew].forEach(Iw), Cw = !1;
}
-function Gw() {
- _w.open && (vw++, Ww(), _w = fw, document.body.removeAttribute("data-immerse-open"), Pw(), Nw().closed());
+function Ww() {
+ gw.open && (_w++, Uw(), gw = dw, document.body.removeAttribute("data-immerse-open"), Nw(), Mw().closed());
}
-var Kw = 0, qw = null, Jw = 0, Yw = null, Xw = 0;
-function Zw() {
- clearTimeout(Kw), Kw = 0, qw = null;
+var Gw = 0, Kw = null, qw = 0, Jw = null, Yw = 0;
+function Xw() {
+ clearTimeout(Gw), Gw = 0, Kw = null;
}
-function yie(e) {
- let t = Ew?.video;
+function bie(e) {
+ let t = Tw?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- if (qw && qw.side === n && r - qw.at <= 280) {
- Zw(), xre(t, Nw().seekSeconds() * n);
+ if (Kw && Kw.side === n && r - Kw.at <= 280) {
+ Xw(), Sre(t, Mw().seekSeconds() * n);
return;
}
- Kw && (clearTimeout(Kw), Kw = 0, PC(t)), qw = {
+ Gw && (clearTimeout(Gw), Gw = 0, NC(t)), Kw = {
side: n,
at: r
- }, Kw = window.setTimeout(() => {
- Kw = 0, qw = null, _w.open && PC(Ew?.video);
+ }, Gw = window.setTimeout(() => {
+ Gw = 0, Kw = null, gw.open && NC(Tw?.video);
}, 280);
}
-function bie() {
- Date.now() < Jw || PC(Ew?.video);
+function xie() {
+ Date.now() < qw || NC(Tw?.video);
}
-var Qw = (e) => gw?.bar.toggleAttribute("data-scrubbing", e);
-function $w(e) {
- gw && (gw.progress.style.width = `${(e * 100).toFixed(2)}%`);
+var Zw = (e) => hw?.bar.toggleAttribute("data-scrubbing", e);
+function Qw(e) {
+ hw && (hw.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
-function eT(e) {
+function $w(e) {
let t = e.target;
if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {
- Yw = null;
+ Jw = null;
return;
}
- let n = Ew?.video;
- Yw = {
+ let n = Tw?.video;
+ Jw = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
axis: "",
from: n && n.currentTime || 0
};
}
-function tT(e) {
- if (!Yw || e.touches.length !== 1) return;
- let t = e.touches[0].clientX - Yw.x, n = e.touches[0].clientY - Yw.y;
- if (!Yw.axis) {
+function eT(e) {
+ if (!Jw || e.touches.length !== 1) return;
+ let t = e.touches[0].clientX - Jw.x, n = e.touches[0].clientY - Jw.y;
+ if (!Jw.axis) {
if (Math.abs(t) < 12 && Math.abs(n) < 12) return;
- Yw.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", Yw.axis === "x" && Qw(!0);
+ Jw.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", Jw.axis === "x" && Zw(!0);
}
- if (Yw.axis !== "x") return;
- let r = Ew?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), Yw.to = Math.min(i, Math.max(0, Yw.from + t / window.innerWidth * i)), $w(Yw.to / i));
+ if (Jw.axis !== "x") return;
+ let r = Tw?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), Jw.to = Math.min(i, Math.max(0, Jw.from + t / window.innerWidth * i)), Qw(Jw.to / i));
}
-function nT(e) {
- if (!Yw) return;
- let t = Yw;
- if (Yw = null, Jw = Date.now() + 700, Qw(!1), t.axis === "x") {
- let e = Ew?.video;
+function tT(e) {
+ if (!Jw) return;
+ let t = Jw;
+ if (Jw = null, qw = Date.now() + 700, Zw(!1), t.axis === "x") {
+ let e = Tw?.video;
e && t.to != null && (e.currentTime = t.to);
return;
}
let n = e.changedTouches[0], r = n.clientX - t.x, i = t.y - n.clientY;
if (Math.abs(i) > 60) {
- Zw(), Uw(i > 0 ? 1 : -1);
+ Xw(), Hw(i > 0 ? 1 : -1);
return;
}
- Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), yie(n.clientX));
+ Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), bie(n.clientX));
}
-function rT() {
- Yw = null, Qw(!1);
+function nT() {
+ Jw = null, Zw(!1);
}
-function iT(e) {
+function rT(e) {
let t = Date.now();
- t - Xw < 260 || (Xw = t, Uw(e.deltaY > 0 ? 1 : -1));
+ t - Yw < 260 || (Yw = t, Hw(e.deltaY > 0 ? 1 : -1));
}
-function aT(e) {
- let t = gw.bar.getBoundingClientRect();
+function iT(e) {
+ let t = hw.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function xie(e) {
- jw?.duration() && (Mw = !0, Qw(!0), e.currentTarget.setPointerCapture(e.pointerId), $w(aT(e)), e.preventDefault());
-}
function Sie(e) {
- Mw && $w(aT(e));
+ Aw?.duration() && (jw = !0, Zw(!0), e.currentTarget.setPointerCapture(e.pointerId), Qw(iT(e)), e.preventDefault());
}
function Cie(e) {
- if (!Mw) return;
- Mw = !1, Qw(!1);
- let t = jw?.duration();
- jw && t && (jw.video.currentTime = t * aT(e));
+ jw && Qw(iT(e));
+}
+function wie(e) {
+ if (!jw) return;
+ jw = !1, Zw(!1);
+ let t = Aw?.duration();
+ Aw && t && (Aw.video.currentTime = t * iT(e));
}
-function wie() {
- Mw = !1, Qw(!1);
+function Tie() {
+ jw = !1, Zw(!1);
}
-async function oT(e, t) {
- let n = await G(GC, {
+async function aT(e, t) {
+ let n = await G(WC, {
id: e,
kind: t
- }), r = p.getQueryData(HC(e));
- if (!r) return BC(e, {
+ }), r = p.getQueryData(VC(e));
+ if (!r) return zC(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -24959,7 +24959,7 @@ async function oT(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return p.setQueryData(HC(e), i), BC(e, {
+ return p.setQueryData(VC(e), i), zC(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -24967,7 +24967,7 @@ async function oT(e, t) {
o_count: i.o_count
}), n;
}
-var Tie = [
+var Eie = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -24984,31 +24984,31 @@ var Tie = [
label: "记一次高潮"
}
];
-function sT(e) {
- return wS({
- queryKey: HC(e ?? 0),
- queryFn: ({ signal: t }) => ZC(e, t),
+function oT(e) {
+ return CS({
+ queryKey: VC(e ?? 0),
+ queryFn: ({ signal: t }) => XC(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function Eie({ kind: e, glyph: t, label: n, id: r }) {
- let i = sT(r), a = DS({
+function Die({ kind: e, glyph: t, label: n, id: r }) {
+ let i = oT(r), a = ES({
mutationFn: async (t) => {
- let n = p.getQueryData(HC(t))?.feedback || null;
+ let n = p.getQueryData(VC(t))?.feedback || null;
return {
- result: await oT(t, e),
+ result: await aT(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- Nw().toast(uw(e, t), { undo: async () => {
- e === "o" ? await oT(r, "o-undo") : (t.feedback && await oT(r, t.feedback), n && await oT(r, n));
+ Mw().toast(lw(e, t), { undo: async () => {
+ e === "o" ? await aT(r, "o-undo") : (t.feedback && await aT(r, t.feedback), n && await aT(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
- Uw(1);
+ Hw(1);
}, 260);
},
- onError: (e) => Nw().failure("更新反馈", e)
+ onError: (e) => Mw().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-immerse-action": "",
@@ -25039,11 +25039,11 @@ function Eie({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function Die({ shown: e }) {
- let t = e?.item ?? null, n = sT(t?.id ?? null), r = n ? sie(n) : null, i = Nw(), a = (e) => {
- e.preventDefault(), n && (Gw(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
+function Oie({ shown: e }) {
+ let t = e?.item ?? null, n = oT(t?.id ?? null), r = n ? cie(n) : null, i = Mw(), a = (e) => {
+ e.preventDefault(), n && (Ww(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
- t && (Gw(), i.openItem(t.id));
+ t && (Ww(), i.openItem(t.id));
}, s = r ? k(r.name, r.ref, de(r.name), r.kind || "performer") : "";
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-immerse-ui": "",
@@ -25072,18 +25072,18 @@ function Die({ shown: e }) {
})]
});
}
-var Oie = { __html: Qe("媒体加载中") };
-function kie({ view: e }) {
+var kie = { __html: Qe("媒体加载中") };
+function Aie({ view: e }) {
let t = (0, R.useRef)(null), n = (0, R.useRef)(null), r = (0, R.useRef)(null), i = (0, R.useRef)(null);
(0, R.useLayoutEffect)(() => {
let e = t.current;
- return gw = {
+ return hw = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
- }, e.addEventListener("touchstart", eT, { passive: !0 }), e.addEventListener("touchmove", tT, { passive: !1 }), e.addEventListener("touchend", nT, { passive: !1 }), e.addEventListener("touchcancel", rT, { passive: !0 }), e.addEventListener("wheel", iT, { passive: !0 }), () => {
- e.removeEventListener("touchstart", eT), e.removeEventListener("touchmove", tT), e.removeEventListener("touchend", nT), e.removeEventListener("touchcancel", rT), e.removeEventListener("wheel", iT), gw = null;
+ }, e.addEventListener("touchstart", $w, { passive: !0 }), e.addEventListener("touchmove", eT, { passive: !1 }), e.addEventListener("touchend", tT, { passive: !1 }), e.addEventListener("touchcancel", nT, { passive: !0 }), e.addEventListener("wheel", rT, { passive: !0 }), () => {
+ e.removeEventListener("touchstart", $w), e.removeEventListener("touchmove", eT), e.removeEventListener("touchend", tT), e.removeEventListener("touchcancel", nT), e.removeEventListener("wheel", rT), hw = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -25100,10 +25100,10 @@ function kie({ view: e }) {
children: [/* @__PURE__ */ (0, B.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: bie
+ onClick: xie
}), /* @__PURE__ */ (0, B.jsx)("div", {
"data-immerse-actions": "",
- children: Tie.map((e) => /* @__PURE__ */ (0, B.jsx)(Eie, {
+ children: Eie.map((e) => /* @__PURE__ */ (0, B.jsx)(Die, {
...e,
id: a
}, e.kind))
@@ -25116,7 +25116,7 @@ function kie({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, B.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: Oie
+ dangerouslySetInnerHTML: kie
}), /* @__PURE__ */ (0, B.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, B.jsx)("button", {
@@ -25124,7 +25124,7 @@ function kie({ view: e }) {
"data-immerse-close": "",
title: "关闭",
"aria-label": "关闭",
- onClick: Gw,
+ onClick: Ww,
children: /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-x" })
@@ -25133,71 +25133,71 @@ function kie({ view: e }) {
/* @__PURE__ */ (0, B.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: xie,
- onPointerMove: Sie,
- onPointerUp: Cie,
- onPointerCancel: wie,
+ onPointerDown: Sie,
+ onPointerMove: Cie,
+ onPointerUp: wie,
+ onPointerCancel: Tie,
children: /* @__PURE__ */ (0, B.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, B.jsx)(Die, { shown: e.shown })
+ /* @__PURE__ */ (0, B.jsx)(Oie, { shown: e.shown })
]
});
}
-var Aie = {
- open: vie,
- close: Gw,
- isOpen: () => _w.open,
- activeVideo: () => _w.open ? Ew?.video ?? null : null
+var jie = {
+ open: yie,
+ close: Ww,
+ isOpen: () => gw.open,
+ activeVideo: () => gw.open ? Tw?.video ?? null : null
};
-function jie(e) {
- if (!_w.open) return;
+function Mie(e) {
+ if (!gw.open) return;
let t = e.target;
- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && Uw(1), e.key === "ArrowUp" && Uw(-1));
+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && Hw(1), e.key === "ArrowUp" && Hw(-1));
}
-function Mie(e) {
- let t = !pw;
- return pw = e, Pw(), t && (document.addEventListener("keydown", jie), addEventListener("resize", () => {
- _w.open && Bw();
+function Nie(e) {
+ let t = !fw;
+ return fw = e, Nw(), t && (document.addEventListener("keydown", Mie), addEventListener("resize", () => {
+ gw.open && zw();
}), addEventListener("pagehide", () => {
- Dw.forEach((e) => hC(e.session));
- })), Aie;
+ Ew.forEach((e) => mC(e.session));
+ })), jie;
}
//#endregion
//#region src/manage-header.ts
-var Nie = {
+var Pie = {
"/junk-files": "垃圾文件",
"/duplicates": "重复文件",
"/review": "人工复核",
"/trash": "回收站",
"/quality-goals": "高清版",
"/scraping": "来源和凭证"
-}, Pie = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), Fie = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
-function Iie(e) {
+}, Fie = /* @__PURE__ */ new Set(["/data-cleanup", "/scraping"]), Iie = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t}`;
+function Lie(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
- let n = Nie[e.path] ?? "";
+ let n = Pie[e.path] ?? "";
return {
title: e.path === "/diagnostics" ? "系统诊断" : e.section === "cleanup" && n || t[1],
crumb: n,
- compact: Pie.has(e.path) || e.section === "configuration",
+ compact: Fie.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: Fie(e.trash),
+ text: Iie(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
}
-var Lie = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
+var Rie = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";
//#endregion
//#region src/react/settings-panel/icon.tsx
-function cT({ name: e }) {
+function sT({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
}
-function Rie({ name: e }) {
+function zie({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -25206,29 +25206,29 @@ function Rie({ name: e }) {
}
//#endregion
//#region src/react/manage-header/manage-header-island.tsx
-var lT = null, uT = null, dT = null;
-function zie() {
- let e = lT, t = dT;
- !e || !uT || !t || (0, rp.flushSync)(() => uT.render(/* @__PURE__ */ (0, B.jsx)(Hie, {
+var cT = null, lT = null, uT = null;
+function Bie() {
+ let e = cT, t = uT;
+ !e || !lT || !t || (0, rp.flushSync)(() => lT.render(/* @__PURE__ */ (0, B.jsx)(Uie, {
host: e,
props: t
})));
}
-var Bie = { render(e) {
- dT = e, zie();
+var Vie = { render(e) {
+ uT = e, Bie();
} };
-function Vie(e) {
- return lT = e, dT = null, e.root.replaceChildren(), uT = (0, ip.createRoot)(e.root), Bie;
+function Hie(e) {
+ return cT = e, uT = null, e.root.replaceChildren(), lT = (0, ip.createRoot)(e.root), Vie;
}
-function Hie({ host: e, props: t }) {
- let n = Iie(t);
+function Uie({ host: e, props: t }) {
+ let n = Lie(t);
return n ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(Uie, {
+ /* @__PURE__ */ (0, B.jsx)(Wie, {
host: e,
section: t.section,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, B.jsx)(Wie, {
+ n.crumb ? /* @__PURE__ */ (0, B.jsx)(Gie, {
host: e,
label: n.crumb
}) : null,
@@ -25237,29 +25237,29 @@ function Hie({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, B.jsx)(Gie, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, B.jsx)(Kie, {
host: e,
lede: n.lede
})
] }) : null;
}
-var fT = null;
-function pT(e, t, n) {
+var dT = null;
+function fT(e, t, n) {
e.style.setProperty("--tab-x", `${t}px`), e.style.setProperty("--tab-width", `${n}px`);
}
-function Uie({ host: e, section: t, menu: n }) {
+function Wie({ host: e, section: t, menu: n }) {
let r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = () => {
let e = r.current, t = i.current;
if (!e || !t) return;
let n = e.querySelector("button[aria-pressed=\"true\"]");
- n && !n.offsetWidth || (pT(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (fT = {
+ n && !n.offsetWidth || (fT(t, n?.offsetLeft ?? 0, n?.offsetWidth ?? 0), n && (dT = {
x: n.offsetLeft,
width: n.offsetWidth
}));
};
return (0, R.useLayoutEffect)(() => {
let e = r.current, t = i.current;
- fT ? pT(t, fT.x, fT.width) : a();
+ dT ? fT(t, dT.x, dT.width) : a();
let n = 0, o = requestAnimationFrame(() => {
t.setAttribute("data-ready", ""), n = requestAnimationFrame(a);
}), s = new ResizeObserver(a);
@@ -25282,7 +25282,7 @@ function Uie({ host: e, section: t, menu: n }) {
"aria-pressed": a,
"aria-current": a ? "page" : void 0,
onClick: () => e.openManage(n),
- children: [/* @__PURE__ */ (0, B.jsx)(cT, { name: i }), /* @__PURE__ */ (0, B.jsx)("span", { children: r })]
+ children: [/* @__PURE__ */ (0, B.jsx)(sT, { name: i }), /* @__PURE__ */ (0, B.jsx)("span", { children: r })]
}, n);
}), /* @__PURE__ */ (0, B.jsx)("span", {
ref: i,
@@ -25292,7 +25292,7 @@ function Uie({ host: e, section: t, menu: n }) {
})
});
}
-function Wie({ host: e, label: t }) {
+function Gie({ host: e, label: t }) {
return /* @__PURE__ */ (0, B.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "Breadcrumb",
@@ -25302,20 +25302,20 @@ function Wie({ host: e, label: t }) {
t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());
},
children: "数据管理"
- }), /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-right" })] }), /* @__PURE__ */ (0, B.jsx)("li", {
+ }), /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-right" })] }), /* @__PURE__ */ (0, B.jsx)("li", {
"aria-current": "true",
children: /* @__PURE__ */ (0, B.jsx)("span", { children: t })
})] })
});
}
-function Gie({ host: e, lede: t }) {
+function Kie({ host: e, lede: t }) {
return /* @__PURE__ */ (0, B.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-trash-lede-skeletons": "",
- dangerouslySetInnerHTML: { __html: Lie }
- }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Kie, { text: t.text }), t.total ? /* @__PURE__ */ (0, B.jsx)("button", {
+ dangerouslySetInnerHTML: { __html: Rie }
+ }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(qie, { text: t.text }), t.total ? /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -25325,7 +25325,7 @@ function Gie({ host: e, lede: t }) {
}) : null] })
});
}
-function Kie({ text: e }) {
+function qie({ text: e }) {
let t = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
$e(t.current, e);
@@ -25336,7 +25336,7 @@ function Kie({ text: e }) {
}
//#endregion
//#region node_modules/@remixicon/react/index.mjs
-var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+var Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25344,7 +25344,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Jie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Yie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25352,7 +25352,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), mT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), pT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25360,7 +25360,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), hT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), mT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25368,7 +25368,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), gT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), hT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25376,7 +25376,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), Yie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), Xie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25384,7 +25384,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), _T = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), gT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25392,7 +25392,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Xie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Zie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25400,7 +25400,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.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 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), vT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M9 1V3H15V1H17V3H21C21.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 3H7V1H9ZM20 11H4V19H20V11ZM7 5H4V9H20V5H17V7H15V5H9V7H7V5Z" })), _T = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25408,7 +25408,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), Zie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25416,7 +25416,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), yT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M4 12C4 7.58172 7.58172 4 12 4C16.4183 4 20 7.58172 20 12C20 16.4183 16.4183 20 12 20C7.58172 20 4 16.4183 4 12ZM12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2ZM17.4571 9.45711L16.0429 8.04289L11 13.0858L8.20711 10.2929L6.79289 11.7071L11 15.9142L17.4571 9.45711Z" })), vT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25424,7 +25424,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), bT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), yT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25432,7 +25432,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), xT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M12 2C15.866 2 19 5.13401 19 9C19 9.11351 18.9973 9.22639 18.992 9.33857C21.3265 10.16 23 12.3846 23 15C23 18.3137 20.3137 21 17 21H7C3.68629 21 1 18.3137 1 15C1 12.3846 2.67346 10.16 5.00804 9.33857C5.0027 9.22639 5 9.11351 5 9C5 5.13401 8.13401 2 12 2ZM12 4C9.23858 4 7 6.23858 7 9C7 9.08147 7.00193 9.16263 7.00578 9.24344L7.07662 10.7309L5.67183 11.2252C4.0844 11.7837 3 13.2889 3 15C3 17.2091 4.79086 19 7 19H17C19.2091 19 21 17.2091 21 15C21 12.79 19.21 11 17 11C15.233 11 13.7337 12.1457 13.2042 13.7347L11.3064 13.1021C12.1005 10.7185 14.35 9 17 9C17 6.23858 14.7614 4 12 4Z" })), bT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25440,7 +25440,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), ST = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), xT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25448,7 +25448,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), CT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), ST = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25456,7 +25456,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), Qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), $ie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25464,7 +25464,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), wT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), CT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25472,7 +25472,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), TT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), wT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25480,7 +25480,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), $ie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), eae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25488,7 +25488,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), eae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M6.9998 6V3C6.9998 2.44772 7.44752 2 7.9998 2H19.9998C20.5521 2 20.9998 2.44772 20.9998 3V17C20.9998 17.5523 20.5521 18 19.9998 18H16.9998V20.9991C16.9998 21.5519 16.5499 22 15.993 22H4.00666C3.45059 22 3 21.5554 3 20.9991L3.0026 7.00087C3.0027 6.44811 3.45264 6 4.00942 6H6.9998ZM5.00242 8L5.00019 20H14.9998V8H5.00242ZM8.9998 6H16.9998V16H18.9998V4H8.9998V6Z" })), tae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25496,7 +25496,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M13 12H16L12 16L8 12H11V8H13V12ZM15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" })), tae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M13 12H16L12 16L8 12H11V8H13V12ZM15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918Z" })), nae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25504,7 +25504,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), nae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H13V17H8V15Z" })), rae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25512,7 +25512,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), rae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M20 22H4C3.44772 22 3 21.5523 3 21V3C3 2.44772 3.44772 2 4 2H20C20.5523 2 21 2.44772 21 3V21C21 21.5523 20.5523 22 20 22ZM19 20V4H5V20H19ZM8 7H16V9H8V7ZM8 11H16V13H8V11ZM8 15H16V17H8V15Z" })), iae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25520,7 +25520,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), iae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), aae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25528,7 +25528,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), ET = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), TT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25536,7 +25536,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), DT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), ET = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25544,7 +25544,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), aae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), oae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25552,7 +25552,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), oae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M2.9918 21C2.44405 21 2 20.5551 2 20.0066V3.9934C2 3.44476 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44495 22 3.9934V20.0066C22 20.5552 21.5447 21 21.0082 21H2.9918ZM20 15V5H4V19L14 9L20 15ZM20 17.8284L14 11.8284L6.82843 19H20V17.8284ZM8 11C6.89543 11 6 10.1046 6 9C6 7.89543 6.89543 7 8 7C9.10457 7 10 7.89543 10 9C10 10.1046 9.10457 11 8 11Z" })), sae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25560,7 +25560,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), sae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), cae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25568,7 +25568,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), cae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), lae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25576,7 +25576,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), lae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25584,7 +25584,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), OT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), DT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25592,7 +25592,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), uae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M18.3638 15.5355L16.9496 14.1213L18.3638 12.7071C20.3164 10.7545 20.3164 7.58866 18.3638 5.63604C16.4112 3.68341 13.2453 3.68341 11.2927 5.63604L9.87849 7.05025L8.46428 5.63604L9.87849 4.22182C12.6122 1.48815 17.0443 1.48815 19.778 4.22182C22.5117 6.95549 22.5117 11.3876 19.778 14.1213L18.3638 15.5355ZM15.5353 18.364L14.1211 19.7782C11.3875 22.5118 6.95531 22.5118 4.22164 19.7782C1.48797 17.0445 1.48797 12.6123 4.22164 9.87868L5.63585 8.46446L7.05007 9.87868L5.63585 11.2929C3.68323 13.2455 3.68323 16.4113 5.63585 18.364C7.58847 20.3166 10.7543 20.3166 12.7069 18.364L14.1211 16.9497L15.5353 18.364ZM14.8282 7.75736L16.2425 9.17157L9.17139 16.2426L7.75717 14.8284L14.8282 7.75736Z" })), dae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25600,7 +25600,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), kT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M16.3944 12.0001L10 7.7371V16.263L16.3944 12.0001ZM19.376 12.4161L8.77735 19.4818C8.54759 19.635 8.23715 19.5729 8.08397 19.3432C8.02922 19.261 8 19.1645 8 19.0658V4.93433C8 4.65818 8.22386 4.43433 8.5 4.43433C8.59871 4.43433 8.69522 4.46355 8.77735 4.5183L19.376 11.584C19.6057 11.7372 19.6678 12.0477 19.5146 12.2774C19.478 12.3323 19.4309 12.3795 19.376 12.4161Z" })), OT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25608,7 +25608,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), AT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), kT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25616,7 +25616,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), jT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), AT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25624,7 +25624,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), MT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), jT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25632,7 +25632,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), dae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), fae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25640,7 +25640,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), fae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M12.0006 18.26L4.94715 22.2082L6.52248 14.2799L0.587891 8.7918L8.61493 7.84006L12.0006 0.5L15.3862 7.84006L23.4132 8.7918L17.4787 14.2799L19.054 22.2082L12.0006 18.26ZM12.0006 15.968L16.2473 18.3451L15.2988 13.5717L18.8719 10.2674L14.039 9.69434L12.0006 5.27502L9.96214 9.69434L5.12921 10.2674L8.70231 13.5717L7.75383 18.3451L12.0006 15.968Z" })), pae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25648,7 +25648,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), pae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), mae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25656,7 +25656,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), mae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), hae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25664,7 +25664,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), NT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), MT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25672,7 +25672,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), PT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), NT = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25680,7 +25680,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), hae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), gae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25688,7 +25688,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), gae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.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" })), _ae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25696,7 +25696,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.createElement("path", { d: "M17 6C16.4477 6 16 5.55228 16 5C16 4.44772 16.4477 4 17 4C17.5523 4 18 4.44772 18 5C18 5.55228 17.5523 6 17 6ZM17 8C18.6569 8 20 6.65685 20 5C20 3.34315 18.6569 2 17 2C15.3431 2 14 3.34315 14 5C14 6.65685 15.3431 8 17 8ZM7 3C4.79086 3 3 4.79086 3 7V9H5V7C5 5.89543 5.89543 5 7 5H10V3H7ZM17 21C19.2091 21 21 19.2091 21 17V15H19V17C19 18.1046 18.1046 19 17 19H14V21H17ZM8 13C8 12.4477 7.55228 12 7 12C6.44772 12 6 12.4477 6 13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13ZM10 13C10 14.6569 8.65685 16 7 16C5.34315 16 4 14.6569 4 13C4 11.3431 5.34315 10 7 10C8.65685 10 10 11.3431 10 13ZM17 11C15.8954 11 15 11.8954 15 13H13C13 10.7909 14.7909 9 17 9C19.2091 9 21 10.7909 21 13H19C19 11.8954 18.1046 11 17 11ZM5 21C5 19.8954 5.89543 19 7 19C8.10457 19 9 19.8954 9 21H11C11 18.7909 9.20914 17 7 17C4.79086 17 3 18.7909 3 21H5Z" })), _ae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
+}, R.createElement("path", { d: "M17 6C16.4477 6 16 5.55228 16 5C16 4.44772 16.4477 4 17 4C17.5523 4 18 4.44772 18 5C18 5.55228 17.5523 6 17 6ZM17 8C18.6569 8 20 6.65685 20 5C20 3.34315 18.6569 2 17 2C15.3431 2 14 3.34315 14 5C14 6.65685 15.3431 8 17 8ZM7 3C4.79086 3 3 4.79086 3 7V9H5V7C5 5.89543 5.89543 5 7 5H10V3H7ZM17 21C19.2091 21 21 19.2091 21 17V15H19V17C19 18.1046 18.1046 19 17 19H14V21H17ZM8 13C8 12.4477 7.55228 12 7 12C6.44772 12 6 12.4477 6 13C6 13.5523 6.44772 14 7 14C7.55228 14 8 13.5523 8 13ZM10 13C10 14.6569 8.65685 16 7 16C5.34315 16 4 14.6569 4 13C4 11.3431 5.34315 10 7 10C8.65685 10 10 11.3431 10 13ZM17 11C15.8954 11 15 11.8954 15 13H13C13 10.7909 14.7909 9 17 9C19.2091 9 21 10.7909 21 13H19C19 11.8954 18.1046 11 17 11ZM5 21C5 19.8954 5.89543 19 7 19C8.10457 19 9 19.8954 9 21H11C11 18.7909 9.20914 17 7 17C4.79086 17 3 18.7909 3 21H5Z" })), vae = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -25704,100 +25704,100 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
fill: e,
...r,
className: "remixicon " + (n || "")
-}, R.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" })), vae = (e, t) => {
+}, R.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" })), yae = (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;
-}, yae = (e, t) => ({
+}, bae = (e, t) => ({
classGroupId: e,
validator: t
-}), FT = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
+}), PT = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), IT = "-", LT = [], bae = "arbitrary..", xae = (e) => {
- let t = Cae(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), FT = "-", IT = [], xae = "arbitrary..", Sae = (e) => {
+ let t = wae(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return Sae(e);
- let n = e.split(IT);
- return RT(n, +(n[0] === "" && n.length > 1), t);
+ if (e.startsWith("[") && e.endsWith("]")) return Cae(e);
+ let n = e.split(FT);
+ return LT(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? vae(i, t) : t : i || LT;
+ return t ? i ? yae(i, t) : t : i || IT;
}
- return n[e] || LT;
+ return n[e] || IT;
}
};
-}, RT = (e, t, n) => {
+}, LT = (e, t, n) => {
if (e.length - t === 0) return n.classGroupId;
let r = e[t], i = n.nextPart.get(r);
if (i) {
- let n = RT(e, t + 1, i);
+ let n = LT(e, t + 1, i);
if (n) return n;
}
let a = n.validators;
if (a === null) return;
- let o = t === 0 ? e.join(IT) : e.slice(t).join(IT), s = a.length;
+ let o = t === 0 ? e.join(FT) : e.slice(t).join(FT), s = a.length;
for (let e = 0; e < s; e++) {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, Sae = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, Cae = (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 ? bae + r : void 0;
-})(), Cae = (e) => {
+ return r ? xae + r : void 0;
+})(), wae = (e) => {
let { theme: t, classGroups: n } = e;
- return wae(n, t);
-}, wae = (e, t) => {
- let n = FT();
+ return Tae(n, t);
+}, Tae = (e, t) => {
+ let n = PT();
for (let r in e) {
let i = e[r];
- zT(i, n, r, t);
+ RT(i, n, r, t);
}
return n;
-}, zT = (e, t, n, r) => {
+}, RT = (e, t, n, r) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- Tae(i, t, n, r);
+ Eae(i, t, n, r);
}
-}, Tae = (e, t, n, r) => {
+}, Eae = (e, t, n, r) => {
if (typeof e == "string") {
- Eae(e, t, n);
+ Dae(e, t, n);
return;
}
if (typeof e == "function") {
- Dae(e, t, n, r);
+ Oae(e, t, n, r);
return;
}
- Oae(e, t, n, r);
-}, Eae = (e, t, n) => {
- let r = e === "" ? t : BT(t, e);
+ kae(e, t, n, r);
+}, Dae = (e, t, n) => {
+ let r = e === "" ? t : zT(t, e);
r.classGroupId = n;
-}, Dae = (e, t, n, r) => {
- if (kae(e)) {
- zT(e(r), t, n, r);
+}, Oae = (e, t, n, r) => {
+ if (Aae(e)) {
+ RT(e(r), t, n, r);
return;
}
- t.validators === null && (t.validators = []), t.validators.push(yae(n, e));
-}, Oae = (e, t, n, r) => {
+ t.validators === null && (t.validators = []), t.validators.push(bae(n, e));
+}, kae = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
- zT(o, BT(t, a), n, r);
+ RT(o, zT(t, a), n, r);
}
-}, BT = (e, t) => {
- let n = e, r = t.split(IT), i = r.length;
+}, zT = (e, t) => {
+ let n = e, r = t.split(FT), i = r.length;
for (let e = 0; e < i; e++) {
let t = r[e], i = n.nextPart.get(t);
- i || (i = FT(), n.nextPart.set(t, i)), n = i;
+ i || (i = PT(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, kae = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Aae = (e) => {
+}, Aae = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, jae = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -25815,19 +25815,19 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
e in n ? n[e] = t : i(e, t);
}
};
-}, VT = "!", HT = ":", jae = [], UT = (e, t, n, r, i) => ({
+}, BT = "!", VT = ":", Mae = [], HT = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), Mae = (e) => {
+}), Nae = (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 === HT) {
+ if (o === VT) {
t.push(e.slice(i, s)), i = s + 1;
continue;
}
@@ -25839,13 +25839,13 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;
}
let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;
- s.endsWith(VT) ? (c = s.slice(0, -1), l = !0) : s.startsWith(VT) && (c = s.slice(1), l = !0);
+ s.endsWith(BT) ? (c = s.slice(0, -1), l = !0) : s.startsWith(BT) && (c = s.slice(1), l = !0);
let u = a && a > i ? a - i : void 0;
- return UT(t, l, c, u);
+ return HT(t, l, c, u);
};
if (t) {
- let e = t + HT, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : UT(jae, !1, t, void 0, !0);
+ let e = t + VT, n = r;
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : HT(Mae, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -25855,7 +25855,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
});
}
return r;
-}, Nae = (e) => {
+}, Pae = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -25867,18 +25867,18 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, Pae = (e) => ({
- cache: Aae(e.cacheSize),
- parseClassName: Mae(e),
- sortModifiers: Nae(e),
- postfixLookupClassGroupIds: Fae(e),
- ...xae(e)
-}), Fae = (e) => {
+}, Fae = (e) => ({
+ cache: jae(e.cacheSize),
+ parseClassName: Nae(e),
+ sortModifiers: Pae(e),
+ postfixLookupClassGroupIds: Iae(e),
+ ...Sae(e)
+}), Iae = (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;
-}, Iae = /\s+/, Lae = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Iae), l = "";
+}, Lae = /\s+/, Rae = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Lae), 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) {
@@ -25902,7 +25902,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
}
h = !1;
}
- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + VT : _, y = v + g;
+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + BT : _, y = v + g;
if (s.indexOf(y) > -1) continue;
s.push(y);
let b = i(g, h);
@@ -25913,34 +25913,34 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, Rae = (...e) => {
+}, zae = (...e) => {
let t = 0, n, r, i = "";
- for (; t < e.length;) (n = e[t++]) && (r = WT(n)) && (i && (i += " "), i += r);
+ for (; t < e.length;) (n = e[t++]) && (r = UT(n)) && (i && (i += " "), i += r);
return i;
-}, WT = (e) => {
+}, UT = (e) => {
if (typeof e == "string") return e;
let t, n = "";
- for (let r = 0; r < e.length; r++) e[r] && (t = WT(e[r])) && (n && (n += " "), n += t);
+ for (let r = 0; r < e.length; r++) e[r] && (t = UT(e[r])) && (n && (n += " "), n += t);
return n;
-}, GT = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = Pae(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+}, WT = (e, ...t) => {
+ let n, r, i, a, o = (o) => (n = Fae(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 = Lae(e, n);
+ let a = Rae(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(Rae(...e));
-}, zae = [], KT = (e) => {
- let t = (t) => t[e] || zae;
+ return a = o, (...e) => a(zae(...e));
+}, Bae = [], GT = (e) => {
+ let t = (t) => t[e] || Bae;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, qT = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, JT = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Bae = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Vae = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Hae = /\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$/, Uae = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Wae = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Gae = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, YT = (e) => Bae.test(e), XT = (e) => !!e && !Number.isNaN(Number(e)), ZT = (e) => !!e && Number.isInteger(Number(e)), QT = (e) => e.endsWith("%") && XT(e.slice(0, -1)), $T = (e) => Vae.test(e), eE = () => !0, Kae = (e) => Hae.test(e) && !Uae.test(e), tE = () => !1, qae = (e) => Wae.test(e), Jae = (e) => Gae.test(e), Yae = (e) => !K(e) && !q(e), Xae = (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)), Zae = (e) => lE(e, pE, tE), K = (e) => qT.test(e), nE = (e) => lE(e, mE, Kae), rE = (e) => lE(e, aoe, XT), Qae = (e) => lE(e, gE, eE), $ae = (e) => lE(e, hE, tE), iE = (e) => lE(e, dE, tE), eoe = (e) => lE(e, fE, Jae), aE = (e) => lE(e, _E, qae), q = (e) => JT.test(e), oE = (e) => uE(e, mE), toe = (e) => uE(e, hE), sE = (e) => uE(e, dE), noe = (e) => uE(e, pE), roe = (e) => uE(e, fE), cE = (e) => uE(e, _E, !0), ioe = (e) => uE(e, gE, !0), lE = (e, t, n) => {
- let r = qT.exec(e);
+}, KT = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, qT = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Vae = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Hae = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Uae = /\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$/, Wae = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Gae = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Kae = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, JT = (e) => Vae.test(e), YT = (e) => !!e && !Number.isNaN(Number(e)), XT = (e) => !!e && Number.isInteger(Number(e)), ZT = (e) => e.endsWith("%") && YT(e.slice(0, -1)), QT = (e) => Hae.test(e), $T = () => !0, qae = (e) => Uae.test(e) && !Wae.test(e), eE = () => !1, Jae = (e) => Gae.test(e), Yae = (e) => Kae.test(e), Xae = (e) => !K(e) && !q(e), Zae = (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)), Qae = (e) => cE(e, fE, eE), K = (e) => KT.test(e), tE = (e) => cE(e, pE, qae), nE = (e) => cE(e, ooe, YT), $ae = (e) => cE(e, hE, $T), eoe = (e) => cE(e, mE, eE), rE = (e) => cE(e, uE, eE), toe = (e) => cE(e, dE, Yae), iE = (e) => cE(e, gE, Jae), q = (e) => qT.test(e), aE = (e) => lE(e, pE), noe = (e) => lE(e, mE), oE = (e) => lE(e, uE), roe = (e) => lE(e, fE), ioe = (e) => lE(e, dE), sE = (e) => lE(e, gE, !0), aoe = (e) => lE(e, hE, !0), cE = (e, t, n) => {
+ let r = KT.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, uE = (e, t, n = !1) => {
- let r = JT.exec(e);
+}, lE = (e, t, n = !1) => {
+ let r = qT.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, dE = (e) => e === "position" || e === "percentage", fE = (e) => e === "image" || e === "url", pE = (e) => e === "length" || e === "size" || e === "bg-size", mE = (e) => e === "length", aoe = (e) => e === "number", hE = (e) => e === "family-name", gE = (e) => e === "number" || e === "weight", _E = (e) => e === "shadow", vE = () => {
- let e = KT("color"), t = KT("font"), n = KT("text"), r = KT("font-weight"), i = KT("tracking"), a = KT("leading"), o = KT("breakpoint"), s = KT("container"), c = KT("spacing"), l = KT("radius"), u = KT("shadow"), d = KT("inset-shadow"), f = KT("text-shadow"), p = KT("drop-shadow"), m = KT("blur"), h = KT("perspective"), g = KT("aspect"), _ = KT("ease"), v = KT("animate"), y = () => [
+}, uE = (e) => e === "position" || e === "percentage", dE = (e) => e === "image" || e === "url", fE = (e) => e === "length" || e === "size" || e === "bg-size", pE = (e) => e === "length", ooe = (e) => e === "number", mE = (e) => e === "family-name", hE = (e) => e === "number" || e === "weight", gE = (e) => e === "shadow", _E = () => {
+ let e = GT("color"), t = GT("font"), n = GT("text"), r = GT("font-weight"), i = GT("tracking"), a = GT("leading"), o = GT("breakpoint"), s = GT("container"), c = GT("spacing"), l = GT("radius"), u = GT("shadow"), d = GT("inset-shadow"), f = GT("text-shadow"), p = GT("drop-shadow"), m = GT("blur"), h = GT("perspective"), g = GT("aspect"), _ = GT("ease"), v = GT("animate"), y = () => [
"auto",
"avoid",
"all",
@@ -25982,12 +25982,12 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K,
c
], T = () => [
- YT,
+ JT,
"full",
"auto",
...w()
], E = () => [
- ZT,
+ XT,
"none",
"subgrid",
q,
@@ -25996,15 +25996,15 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"auto",
{ span: [
"full",
- ZT,
+ XT,
q,
K
] },
- ZT,
+ XT,
q,
K
], O = () => [
- ZT,
+ XT,
"auto",
q,
K
@@ -26034,7 +26034,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"center-safe",
"end-safe"
], M = () => ["auto", ...w()], N = () => [
- YT,
+ JT,
"auto",
"full",
"dvw",
@@ -26049,7 +26049,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
...w()
], ee = () => [
s,
- YT,
+ JT,
"screen",
"full",
"dvw",
@@ -26060,7 +26060,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"fit",
...w()
], te = () => [
- YT,
+ JT,
"screen",
"full",
"lh",
@@ -26077,8 +26077,8 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K
], F = () => [
...b(),
- sE,
- iE,
+ oE,
+ rE,
{ position: [q, K] }
], ne = () => ["no-repeat", { repeat: [
"",
@@ -26090,13 +26090,13 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"auto",
"cover",
"contain",
- noe,
- Zae,
+ roe,
+ Qae,
{ size: [q, K] }
], ie = () => [
- QT,
- oE,
- nE
+ ZT,
+ aE,
+ tE
], ae = () => [
"",
"none",
@@ -26106,9 +26106,9 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K
], oe = () => [
"",
- XT,
- oE,
- nE
+ YT,
+ aE,
+ tE
], se = () => [
"solid",
"dashed",
@@ -26132,10 +26132,10 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"color",
"luminosity"
], le = () => [
- XT,
- QT,
- sE,
- iE
+ YT,
+ ZT,
+ oE,
+ rE
], ue = () => [
"",
"none",
@@ -26144,20 +26144,20 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K
], de = () => [
"none",
- XT,
+ YT,
q,
K
], fe = () => [
"none",
- XT,
+ YT,
q,
K
], I = () => [
- XT,
+ YT,
q,
K
], pe = () => [
- YT,
+ JT,
"full",
...w()
];
@@ -26171,17 +26171,17 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"bounce"
],
aspect: ["video"],
- blur: [$T],
- breakpoint: [$T],
- color: [eE],
- container: [$T],
- "drop-shadow": [$T],
+ blur: [QT],
+ breakpoint: [QT],
+ color: [$T],
+ container: [QT],
+ "drop-shadow": [QT],
ease: [
"in",
"out",
"in-out"
],
- font: [Yae],
+ font: [Xae],
"font-weight": [
"thin",
"extralight",
@@ -26193,7 +26193,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"extrabold",
"black"
],
- "inset-shadow": [$T],
+ "inset-shadow": [QT],
leading: [
"none",
"tight",
@@ -26210,11 +26210,11 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"distant",
"none"
],
- radius: [$T],
- shadow: [$T],
- spacing: ["px", XT],
- text: [$T],
- "text-shadow": [$T],
+ radius: [QT],
+ shadow: [QT],
+ spacing: ["px", YT],
+ text: [QT],
+ "text-shadow": [QT],
tracking: [
"tighter",
"tight",
@@ -26228,7 +26228,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
aspect: [{ aspect: [
"auto",
"square",
- YT,
+ JT,
K,
q,
g
@@ -26241,9 +26241,9 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
q,
K
] }],
- "container-named": [Xae],
+ "container-named": [Zae],
columns: [{ columns: [
- XT,
+ YT,
"auto",
K,
q,
@@ -26343,13 +26343,13 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"collapse"
],
z: [{ z: [
- ZT,
+ XT,
"auto",
q,
K
] }],
basis: [{ basis: [
- YT,
+ JT,
"full",
"auto",
s,
@@ -26367,8 +26367,8 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"wrap-reverse"
] }],
flex: [{ flex: [
- XT,
YT,
+ JT,
"auto",
"initial",
"none",
@@ -26376,18 +26376,18 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
grow: [{ grow: [
"",
- XT,
+ YT,
q,
K
] }],
shrink: [{ shrink: [
"",
- XT,
+ YT,
q,
K
] }],
order: [{ order: [
- ZT,
+ XT,
"first",
"last",
"none",
@@ -26499,15 +26499,15 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"font-size": [{ text: [
"base",
n,
- oE,
- nE
+ aE,
+ tE
] }],
"font-smoothing": ["antialiased", "subpixel-antialiased"],
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- ioe,
- Qae
+ aoe,
+ $ae
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -26519,12 +26519,12 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"expanded",
"extra-expanded",
"ultra-expanded",
- QT,
+ ZT,
K
] }],
"font-family": [{ font: [
- toe,
- $ae,
+ noe,
+ eoe,
t
] }],
"font-features": [{ "font-features": [K] }],
@@ -26540,10 +26540,10 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K
] }],
"line-clamp": [{ "line-clamp": [
- XT,
+ YT,
"none",
q,
- rE
+ nE
] }],
leading: [{ leading: [
"none",
@@ -26581,15 +26581,15 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
],
"text-decoration-style": [{ decoration: [...se(), "wavy"] }],
"text-decoration-thickness": [{ decoration: [
- XT,
+ YT,
"from-font",
"auto",
q,
- nE
+ tE
] }],
"text-decoration-color": [{ decoration: P() }],
"underline-offset": [{ "underline-offset": [
- XT,
+ YT,
"auto",
q,
K
@@ -26613,7 +26613,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
indent: [{ indent: w() }],
"tab-size": [{ tab: [
- ZT,
+ XT,
q,
K
] }],
@@ -26691,7 +26691,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"l",
"tl"
] },
- ZT,
+ XT,
q,
K
],
@@ -26702,13 +26702,13 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
],
conic: [
"",
- ZT,
+ XT,
q,
K
]
},
- roe,
- eoe
+ ioe,
+ toe
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: ie() }],
@@ -26775,15 +26775,15 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"hidden"
] }],
"outline-offset": [{ "outline-offset": [
- XT,
+ YT,
q,
K
] }],
"outline-w": [{ outline: [
"",
- XT,
- oE,
- nE
+ YT,
+ aE,
+ tE
] }],
"outline-color": [{ outline: P() }],
shadow: [{ shadow: [
@@ -26791,33 +26791,33 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"inner",
"none",
u,
- cE,
- aE
+ sE,
+ iE
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- cE,
- aE
+ sE,
+ iE
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
"ring-w": [{ ring: oe() }],
"ring-w-inset": ["ring-inset"],
"ring-color": [{ ring: P() }],
- "ring-offset-w": [{ "ring-offset": [XT, nE] }],
+ "ring-offset-w": [{ "ring-offset": [YT, tE] }],
"ring-offset-color": [{ "ring-offset": P() }],
"inset-ring-w": [{ "inset-ring": oe() }],
"inset-ring-color": [{ "inset-ring": P() }],
"text-shadow": [{ "text-shadow": [
"none",
f,
- cE,
- aE
+ sE,
+ iE
] }],
"text-shadow-color": [{ "text-shadow": P() }],
opacity: [{ opacity: [
- XT,
+ YT,
q,
K
] }],
@@ -26841,7 +26841,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"intersect",
"exclude"
] }],
- "mask-image-linear-pos": [{ "mask-linear": [XT] }],
+ "mask-image-linear-pos": [{ "mask-linear": [YT] }],
"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": P() }],
@@ -26881,7 +26881,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
farthest: ["side", "corner"]
}] }],
"mask-image-radial-pos": [{ "mask-radial-at": b() }],
- "mask-image-conic-pos": [{ "mask-conic": [XT] }],
+ "mask-image-conic-pos": [{ "mask-conic": [YT] }],
"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": P() }],
@@ -26916,12 +26916,12 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
blur: [{ blur: ue() }],
brightness: [{ brightness: [
- XT,
+ YT,
q,
K
] }],
contrast: [{ contrast: [
- XT,
+ YT,
q,
K
] }],
@@ -26929,35 +26929,35 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"",
"none",
p,
- cE,
- aE
+ sE,
+ iE
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
grayscale: [{ grayscale: [
"",
- XT,
+ YT,
q,
K
] }],
"hue-rotate": [{ "hue-rotate": [
- XT,
+ YT,
q,
K
] }],
invert: [{ invert: [
"",
- XT,
+ YT,
q,
K
] }],
saturate: [{ saturate: [
- XT,
+ YT,
q,
K
] }],
sepia: [{ sepia: [
"",
- XT,
+ YT,
q,
K
] }],
@@ -26969,45 +26969,45 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
"backdrop-blur": [{ "backdrop-blur": ue() }],
"backdrop-brightness": [{ "backdrop-brightness": [
- XT,
+ YT,
q,
K
] }],
"backdrop-contrast": [{ "backdrop-contrast": [
- XT,
+ YT,
q,
K
] }],
"backdrop-grayscale": [{ "backdrop-grayscale": [
"",
- XT,
+ YT,
q,
K
] }],
"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [
- XT,
+ YT,
q,
K
] }],
"backdrop-invert": [{ "backdrop-invert": [
"",
- XT,
+ YT,
q,
K
] }],
"backdrop-opacity": [{ "backdrop-opacity": [
- XT,
+ YT,
q,
K
] }],
"backdrop-saturate": [{ "backdrop-saturate": [
- XT,
+ YT,
q,
K
] }],
"backdrop-sepia": [{ "backdrop-sepia": [
"",
- XT,
+ YT,
q,
K
] }],
@@ -27030,7 +27030,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
"transition-behavior": [{ transition: ["normal", "discrete"] }],
duration: [{ duration: [
- XT,
+ YT,
"initial",
q,
K
@@ -27043,7 +27043,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
K
] }],
delay: [{ delay: [
- XT,
+ YT,
q,
K
] }],
@@ -27088,7 +27088,7 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"translate-z": [{ "translate-z": pe() }],
"translate-none": ["translate-none"],
zoom: [{ zoom: [
- ZT,
+ XT,
q,
K
] }],
@@ -27232,10 +27232,10 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
] }],
fill: [{ fill: ["none", ...P()] }],
"stroke-w": [{ stroke: [
- XT,
- oE,
- nE,
- rE
+ YT,
+ aE,
+ tE,
+ nE
] }],
stroke: [{ stroke: ["none", ...P()] }],
"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
@@ -27493,16 +27493,16 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"selection"
]
};
-}, ooe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (yE(e, "cacheSize", t), yE(e, "prefix", n), yE(e, "experimentalParseClassName", r), bE(e.theme, a.theme), bE(e.classGroups, a.classGroups), bE(e.conflictingClassGroups, a.conflictingClassGroups), bE(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), yE(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), yE(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), xE(e.theme, i.theme), xE(e.classGroups, i.classGroups), xE(e.conflictingClassGroups, i.conflictingClassGroups), xE(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), SE(e, i, "postfixLookupClassGroups"), SE(e, i, "orderSensitiveModifiers"), e), yE = (e, t, n) => {
+}, soe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (vE(e, "cacheSize", t), vE(e, "prefix", n), vE(e, "experimentalParseClassName", r), yE(e.theme, a.theme), yE(e.classGroups, a.classGroups), yE(e.conflictingClassGroups, a.conflictingClassGroups), yE(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), vE(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), vE(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), bE(e.theme, i.theme), bE(e.classGroups, i.classGroups), bE(e.conflictingClassGroups, i.conflictingClassGroups), bE(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), xE(e, i, "postfixLookupClassGroups"), xE(e, i, "orderSensitiveModifiers"), e), vE = (e, t, n) => {
n !== void 0 && (e[t] = n);
+}, yE = (e, t) => {
+ if (t) for (let n in t) vE(e, n, t[n]);
}, bE = (e, t) => {
- if (t) for (let n in t) yE(e, n, t[n]);
-}, xE = (e, t) => {
- if (t) for (let n in t) SE(e, t, n);
-}, SE = (e, t, n) => {
+ if (t) for (let n in t) xE(e, t, n);
+}, xE = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, soe = (e, ...t) => typeof e == "function" ? GT(vE, e, ...t) : GT(() => ooe(vE(), e), ...t), coe = [
+}, coe = (e, ...t) => typeof e == "function" ? WT(_E, e, ...t) : WT(() => soe(_E(), e), ...t), loe = [
"large-title",
"display-1",
"display-2",
@@ -27516,18 +27516,18 @@ var qie = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => R
"body-2",
"caption-1",
"caption-2"
-], loe = [
+], uoe = [
"regular",
"medium",
"semibold",
"bold"
-], CE = soe({ extend: { classGroups: { "font-size": [{ text: coe.flatMap((e) => loe.map((t) => `${e}-${t}`)) }] } } });
-function wE(e) {
+], SE = coe({ extend: { classGroups: { "font-size": [{ text: loe.flatMap((e) => uoe.map((t) => `${e}-${t}`)) }] } } });
+function CE(e) {
return e;
}
//#endregion
//#region src/react/boardui/components/base/badges/chip.tsx
-var TE = wE({
+var wE = CE({
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",
@@ -27546,16 +27546,16 @@ var TE = wE({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function EE({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function TE({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, B.jsx)("span", {
ref: r,
- className: CE(TE.base, TE.variant[e], TE.color[t], n),
+ className: SE(wE.base, wE.variant[e], wE.color[t], n),
...i
});
}
//#endregion
//#region src/react/boardui/components/base/buttons/button.tsx
-var DE = wE({
+var EE = CE({
base: [
"inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden",
"font-sans select-none cursor-pointer",
@@ -27614,40 +27614,40 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, B.jsxs)("button", {
ref: c,
type: s,
- className: CE(DE.base, DE.size[t], DE.variant[e], n && DE.iconOnlySize[t], o),
+ className: SE(EE.base, EE.size[t], EE.variant[e], n && EE.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, B.jsx)(r, {
- className: DE.icon[t],
+ className: EE.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, B.jsx)("span", {
- className: DE.label[t],
+ className: EE.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, B.jsx)(i, {
- className: DE.icon[t],
+ className: EE.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function OE({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function DE({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, B.jsxs)("a", {
ref: s,
- className: CE(DE.base, DE.size[t], DE.variant[e], n && DE.iconOnlySize[t], o),
+ className: SE(EE.base, EE.size[t], EE.variant[e], n && EE.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, B.jsx)(r, {
- className: DE.icon[t],
+ className: EE.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, B.jsx)("span", {
- className: DE.label[t],
+ className: EE.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, B.jsx)(i, {
- className: DE.icon[t],
+ className: EE.icon[t],
"aria-hidden": !0
}) : null
]
@@ -27655,47 +27655,47 @@ function OE({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, lead
}
//#endregion
//#region src/react/components/card.tsx
-var uoe = "min-w-0", doe = {
+var doe = "min-w-0", foe = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, foe = {
+}, poe = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, poe = {
+}, moe = {
line: "border border-border-button-default",
soft: "border border-separator-border"
-}, moe = {
+}, hoe = {
none: "",
default: "p-5"
-}, hoe = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", goe = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
-function kE(e = {}) {
+}, goe = "cursor-pointer outline-none not-data-selected:hover:bg-card-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring focus-visible:ring-offset-3", _oe = "relative data-selected:bg-background-primary-default data-selected:shadow-none data-selected:after:pointer-events-none data-selected:after:absolute data-selected:after:inset-0 data-selected:after:z-1 data-selected:after:rounded-[inherit] data-selected:after:border-2 data-selected:after:border-border-focus-ring";
+function OE(e = {}) {
let { variant: t = "filled", padding: n = "default", interactive: r, selectable: i, bordered: a, className: o } = e, s = e.radius ?? (t === "outlined" ? "surface" : "default");
return [
- uoe,
- doe[t],
- foe[s],
- moe[n],
- a ? poe[a] : "",
- r ? hoe : "",
- i ? goe : "",
+ doe,
+ foe[t],
+ poe[s],
+ hoe[n],
+ a ? moe[a] : "",
+ r ? goe : "",
+ i ? _oe : "",
o ?? ""
].filter(Boolean).join(" ");
}
//#endregion
//#region src/react/components/empty-state.tsx
-var _oe = {
+var voe = {
page: "min-h-80 justify-center rounded-floating border border-separator-border bg-background-secondary-default px-6 py-12",
plain: "px-6 py-12",
inset: "min-h-40 justify-center rounded-xl bg-background-secondary-default px-4 py-4"
};
-function AE({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
+function kE({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
let a = i === "page";
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-empty-state": "",
- className: `flex flex-col items-center gap-2 text-center ${_oe[i]}`,
+ className: `flex flex-col items-center gap-2 text-center ${voe[i]}`,
children: [
a ? /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
@@ -27725,7 +27725,7 @@ function AE({ icon: e, title: t, actions: n, children: r, shell: i = "page" }) {
}
//#endregion
//#region src/react/components/loading-dots.tsx
-function jE({ label: e, inline: t = !1 }) {
+function AE({ label: e, inline: t = !1 }) {
let n = /* @__PURE__ */ (0, B.jsxs)("span", {
"aria-hidden": !0,
className: "inline-flex items-center gap-1",
@@ -27791,7 +27791,7 @@ function Y({ tone: e, title: t, action: n, extra: r, children: i }) {
}
//#endregion
//#region src/react/components/page.tsx
-function ME({ children: e }) {
+function jE({ children: e }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
className: "mx-auto flex w-full max-w-board flex-col gap-8",
children: e
@@ -27799,21 +27799,21 @@ function ME({ children: e }) {
}
//#endregion
//#region src/react/components/progress.tsx
-var NE = 100, voe = .4;
-function PE({ label: e, value: t, max: n = 100, stops: r = [] }) {
- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * NE;
+var ME = 100, yoe = .4;
+function NE({ label: e, value: t, max: n = 100, stops: r = [] }) {
+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(e, 0), i) / i * ME;
return /* @__PURE__ */ (0, B.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": n,
"aria-valuenow": t,
- viewBox: `0 0 ${NE} 1`,
+ viewBox: `0 0 ${ME} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, B.jsx)("rect", {
- width: NE,
+ width: ME,
height: 1,
className: "fill-background-tertiary-default"
}),
@@ -27824,7 +27824,7 @@ function PE({ label: e, value: t, max: n = 100, stops: r = [] }) {
}),
r.map((e) => /* @__PURE__ */ (0, B.jsx)("rect", {
x: a(e),
- width: voe,
+ width: yoe,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -27841,7 +27841,7 @@ function X(e) {
}
//#endregion
//#region src/react/settings/use-action.ts
-function FE(e = "") {
+function PE(e = "") {
let t = (0, R.useRef)(null), [n, r] = (0, R.useState)(""), [i, a] = (0, R.useState)(e);
(0, R.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -27867,12 +27867,12 @@ function FE(e = "") {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/utils.mjs
-var IE = Symbol("default");
-function LE({ values: e, children: t }) {
+var FE = Symbol("default");
+function IE({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ R.createElement(n.Provider, { value: r }, t);
return t;
}
-function RE(e) {
+function LE(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, R.useMemo)(() => {
let e, l, u;
@@ -27906,11 +27906,11 @@ function RE(e) {
c
]);
}
-function zE(e, t) {
+function RE(e, t) {
let n = (0, R.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || IE;
+ let e = t || FE;
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}.`);
@@ -27919,8 +27919,8 @@ function zE(e, t) {
}
return n;
}
-function BE(e, t, n) {
- let { ref: r, ...i } = zE(n, e.slot) || {}, a = Rh((0, R.useMemo)(() => yh(t, r), [t, r])), o = H(i, e);
+function zE(e, t, n) {
+ let { ref: r, ...i } = RE(n, e.slot) || {}, a = Rh((0, R.useMemo)(() => yh(t, r), [t, r])), o = H(i, e);
return "style" in i && i.style && "style" in e && e.style && (o.style = typeof i.style == "function" || typeof e.style == "function" ? (t) => {
let n = typeof i.style == "function" ? i.style(t) : i.style, r = {
...t.defaultStyle,
@@ -27938,7 +27938,7 @@ function BE(e, t, n) {
...e.style
}), [o, a];
}
-function VE(e = !0) {
+function BE(e = !0) {
let [t, n] = (0, R.useState)(e), r = (0, R.useRef)(!1), i = (0, R.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
@@ -27946,12 +27946,12 @@ function VE(e = !0) {
r.current || n(!1);
}, []), [i, t];
}
-function HE(e) {
+function VE(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function yoe(e, t, n) {
+function boe(e, t, n) {
let { render: r, ...i } = t, a = (0, R.useRef)(null), o = (0, R.useMemo)(() => yh(n, a), [n, a]);
qp(() => {}, [e, r]);
let s = {
@@ -27960,19 +27960,19 @@ function yoe(e, t, n) {
};
return r ? r(s, void 0) : /*#__PURE__*/ R.createElement(e, s);
}
-var UE = {}, WE = new Proxy({}, { get(e, t) {
+var HE = {}, UE = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = UE[t];
- return n || (n = /*#__PURE__*/ (0, R.forwardRef)(yoe.bind(null, t)), UE[t] = n), n;
-} }), GE = /*#__PURE__*/ (0, R.createContext)(null), KE = /*#__PURE__*/ (0, R.createContext)(null), qE = /*#__PURE__*/ (0, R.createContext)(null), JE = {
+ let n = HE[t];
+ return n || (n = /*#__PURE__*/ (0, R.forwardRef)(boe.bind(null, t)), HE[t] = n), n;
+} }), WE = /*#__PURE__*/ (0, R.createContext)(null), GE = /*#__PURE__*/ (0, R.createContext)(null), KE = /*#__PURE__*/ (0, R.createContext)(null), qE = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return YE(e, null, t);
+ return JE(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return YE(e, t, n);
+ return JE(e, t, n);
}
};
-function YE(e, t, n) {
+function JE(e, t, n) {
return gp({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
@@ -27983,11 +27983,11 @@ function YE(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, boe(e, t, n));
+ }), r, xoe(e, t, n));
}
});
}
-function boe(e, t, n) {
+function xoe(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);
@@ -28006,24 +28006,24 @@ function boe(e, t, n) {
}
return s;
}
-var XE = /*#__PURE__*/ (0, R.createContext)(JE);
-function ZE(e) {
+var YE = /*#__PURE__*/ (0, R.createContext)(qE);
+function XE(e) {
return (0, R.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Label.mjs
-var QE = /*#__PURE__*/ (0, R.createContext)({}), xoe = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = BE(e, t, QE);
- let { elementType: n = "label", ...r } = e, i = WE[n];
+var ZE = /*#__PURE__*/ (0, R.createContext)({}), Soe = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = zE(e, t, ZE);
+ let { elementType: n = "label", ...r } = e, i = UE[n];
return /*#__PURE__*/ R.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), Soe = /*#__PURE__*/ (0, R.createContext)(null), $E = /*#__PURE__*/ (0, R.createContext)({}), eD = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = BE(e, t, $E);
+}), Coe = /*#__PURE__*/ (0, R.createContext)(null), QE = /*#__PURE__*/ (0, R.createContext)({}), $E = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = zE(e, t, QE);
let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = jee(e, t);
- i = woe(i, r);
+ i = Toe(i, r);
let { focusProps: o, isFocused: s, isFocusVisible: c } = cy(e), { hoverProps: l, isHovered: u } = fy({
...e,
isDisabled: e.isDisabled || r
@@ -28034,7 +28034,7 @@ var QE = /*#__PURE__*/ (0, R.createContext)({}), xoe = /*#__PURE__*/ Gh(function
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = RE({
+ }, f = LE({
...e,
values: d,
defaultClassName: "react-aria-Button"
@@ -28051,7 +28051,7 @@ var QE = /*#__PURE__*/ (0, R.createContext)({}), xoe = /*#__PURE__*/ Gh(function
p
]);
let _ = jg(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ R.createElement(WE.button, {
+ return delete _.onClick, /*#__PURE__*/ R.createElement(UE.button, {
...H(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -28065,62 +28065,62 @@ var QE = /*#__PURE__*/ (0, R.createContext)({}), xoe = /*#__PURE__*/ Gh(function
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ R.createElement(Soe.Provider, { value: { id: m } }, f.children));
-}), Coe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function woe(e, t) {
+ }, /*#__PURE__*/ R.createElement(Coe.Provider, { value: { id: m } }, f.children));
+}), woe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function Toe(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !Coe.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !woe.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 tD = /*#__PURE__*/ (0, R.createContext)({}), nD = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = BE(e, t, tD);
- let { children: n, level: r = 3, className: i, ...a } = e, o = WE[`h${r}`];
+var eD = /*#__PURE__*/ (0, R.createContext)({}), tD = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = zE(e, t, eD);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = UE[`h${r}`];
return /*#__PURE__*/ R.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), rD = /*#__PURE__*/ (0, R.createContext)({}), Toe = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = BE(e, t, rD);
- let { elementType: n = "span", ...r } = e, i = WE[n];
+}), nD = /*#__PURE__*/ (0, R.createContext)({}), Eoe = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = zE(e, t, nD);
+ let { elementType: n = "span", ...r } = e, i = UE[n];
return /*#__PURE__*/ R.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), iD = /*#__PURE__*/ (0, R.createContext)(null), aD = /*#__PURE__*/ (0, R.createContext)(null), oD = /*#__PURE__*/ (0, R.createContext)(null), sD = /*#__PURE__*/ (0, R.createContext)(null), Eoe = /*#__PURE__*/ (0, R.createContext)(null), cD = /*#__PURE__*/ (0, R.createContext)(null);
-function Doe(e, t) {
- let { validationBehavior: n } = zE(aD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, R.useContext)(Eoe), a = Rh((0, R.useMemo)(() => yh(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...HE(e),
+}), rD = /*#__PURE__*/ (0, R.createContext)(null), iD = /*#__PURE__*/ (0, R.createContext)(null), aD = /*#__PURE__*/ (0, R.createContext)(null), oD = /*#__PURE__*/ (0, R.createContext)(null), Doe = /*#__PURE__*/ (0, R.createContext)(null), sD = /*#__PURE__*/ (0, R.createContext)(null);
+function Ooe(e, t) {
+ let { validationBehavior: n } = RE(iD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, R.useContext)(Doe), a = Rh((0, R.useMemo)(() => yh(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...VE(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
return [i ? ete(o, i, a) : R_(o, U_(e), a), a];
}
-var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+var koe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = BE(r, t, oD);
- let [i, a] = Doe(e, n);
- return /*#__PURE__*/ R.createElement(cD.Provider, { value: {
+ [e, t] = zE(r, t, aD);
+ let [i, a] = Ooe(e, n);
+ return /*#__PURE__*/ R.createElement(sD.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ R.createElement(koe, {
+ } }, /*#__PURE__*/ R.createElement(Aoe, {
...e,
ref: t
}));
-}), koe = /*#__PURE__*/ (0, R.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, R.useContext)(cD), { isFocused: p, isFocusVisible: m, focusProps: h } = cy(), g = a || o, { hoverProps: _, isHovered: v } = fy({
+}), Aoe = /*#__PURE__*/ (0, R.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, R.useContext)(sD), { isFocused: p, isFocusVisible: m, focusProps: h } = cy(), g = a || o, { hoverProps: _, isHovered: v } = fy({
...e,
isDisabled: g
- }), y = RE({
+ }), y = LE({
...e,
defaultClassName: u,
values: {
@@ -28136,7 +28136,7 @@ var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
isRequired: f || !1
}
}), b = jg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ R.createElement(WE.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ R.createElement(UE.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -28154,8 +28154,8 @@ var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
...H(r, h),
ref: l
})), y.children);
-}), lD = /*#__PURE__*/ (0, R.createContext)({}), Aoe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = BE(e, t, lD);
+}), cD = /*#__PURE__*/ (0, R.createContext)({}), joe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = zE(e, t, cD);
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 } = fy({
@@ -28163,7 +28163,7 @@ var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = cy({ within: !0 }), m = RE({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = cy({ within: !0 }), m = LE({
...e,
values: {
isHovered: u,
@@ -28174,7 +28174,7 @@ var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ R.createElement(WE.div, {
+ return /*#__PURE__*/ R.createElement(UE.div, {
...H(c, p, l),
...m,
ref: t,
@@ -28187,18 +28187,18 @@ var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), uD = /*#__PURE__*/ (0, R.createContext)({}), joe = (e) => {
+}), lD = /*#__PURE__*/ (0, R.createContext)({}), Moe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, Moe = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = BE(e, t, uD);
+}, Noe = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = zE(e, t, lD);
let { hoverProps: n, isHovered: r } = fy({
...e,
isDisabled: e.disabled
}), { isFocused: i, isFocusVisible: a, focusProps: o } = cy({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = RE({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = LE({
...e,
values: {
isHovered: r,
@@ -28209,8 +28209,8 @@ var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ R.createElement(WE.input, {
- ...H(joe(e), o, n),
+ return /*#__PURE__*/ R.createElement(UE.input, {
+ ...H(Moe(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -28219,8 +28219,8 @@ var Ooe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), dD = {};
-dD = {
+}), uD = {};
+uD = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
@@ -28228,8 +28228,8 @@ dD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var fD = {};
-fD = {
+var dD = {};
+dD = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
@@ -28237,8 +28237,8 @@ fD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var pD = {};
-pD = {
+var fD = {};
+fD = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
@@ -28246,8 +28246,8 @@ pD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var mD = {};
-mD = {
+var pD = {};
+pD = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
@@ -28255,8 +28255,8 @@ mD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var hD = {};
-hD = {
+var mD = {};
+mD = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
@@ -28264,8 +28264,8 @@ hD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var gD = {};
-gD = {
+var hD = {};
+hD = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
@@ -28273,8 +28273,8 @@ gD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var _D = {};
-_D = {
+var gD = {};
+gD = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
@@ -28282,8 +28282,8 @@ _D = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var vD = {};
-vD = {
+var _D = {};
+_D = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
@@ -28291,8 +28291,8 @@ vD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var yD = {};
-yD = {
+var vD = {};
+vD = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
@@ -28300,8 +28300,8 @@ yD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var bD = {};
-bD = {
+var yD = {};
+yD = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
@@ -28309,8 +28309,8 @@ bD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var xD = {};
-xD = {
+var bD = {};
+bD = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
@@ -28318,8 +28318,8 @@ xD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var SD = {};
-SD = {
+var xD = {};
+xD = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
@@ -28327,8 +28327,8 @@ SD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var CD = {};
-CD = {
+var SD = {};
+SD = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
@@ -28336,8 +28336,8 @@ CD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var wD = {};
-wD = {
+var CD = {};
+CD = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
@@ -28345,8 +28345,8 @@ wD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var TD = {};
-TD = {
+var wD = {};
+wD = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
@@ -28354,8 +28354,8 @@ TD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var ED = {};
-ED = {
+var TD = {};
+TD = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
@@ -28363,8 +28363,8 @@ ED = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var DD = {};
-DD = {
+var ED = {};
+ED = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
@@ -28372,8 +28372,8 @@ DD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var OD = {};
-OD = {
+var DD = {};
+DD = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
@@ -28381,8 +28381,8 @@ OD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var kD = {};
-kD = {
+var OD = {};
+OD = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
@@ -28390,8 +28390,8 @@ kD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var AD = {};
-AD = {
+var kD = {};
+kD = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
@@ -28399,8 +28399,8 @@ AD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var jD = {};
-jD = {
+var AD = {};
+AD = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
@@ -28408,8 +28408,8 @@ jD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var MD = {};
-MD = {
+var jD = {};
+jD = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
@@ -28417,8 +28417,8 @@ MD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var ND = {};
-ND = {
+var MD = {};
+MD = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -28426,8 +28426,8 @@ ND = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var PD = {};
-PD = {
+var ND = {};
+ND = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
@@ -28435,8 +28435,8 @@ PD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var FD = {};
-FD = {
+var PD = {};
+PD = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
@@ -28444,8 +28444,8 @@ FD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var ID = {};
-ID = {
+var FD = {};
+FD = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
@@ -28453,8 +28453,8 @@ ID = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var LD = {};
-LD = {
+var ID = {};
+ID = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
@@ -28462,8 +28462,8 @@ LD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var RD = {};
-RD = {
+var LD = {};
+LD = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
@@ -28471,8 +28471,8 @@ RD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var zD = {};
-zD = {
+var RD = {};
+RD = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
@@ -28480,8 +28480,8 @@ zD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var BD = {};
-BD = {
+var zD = {};
+zD = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
@@ -28489,8 +28489,8 @@ BD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var VD = {};
-VD = {
+var BD = {};
+BD = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
@@ -28498,8 +28498,8 @@ VD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var HD = {};
-HD = {
+var VD = {};
+VD = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
@@ -28507,8 +28507,8 @@ HD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var UD = {};
-UD = {
+var HD = {};
+HD = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
@@ -28516,8 +28516,8 @@ UD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var WD = {};
-WD = {
+var UD = {};
+UD = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
@@ -28525,52 +28525,52 @@ WD = {
};
//#endregion
//#region node_modules/react-aria-components/dist/private/intlStrings.mjs
-var GD = {};
-GD = {
- "ar-AE": dD,
- "bg-BG": fD,
- "cs-CZ": pD,
- "da-DK": mD,
- "de-DE": hD,
- "el-GR": gD,
- "en-US": _D,
- "es-ES": vD,
- "et-EE": yD,
- "fi-FI": bD,
- "fr-FR": xD,
- "he-IL": SD,
- "hr-HR": CD,
- "hu-HU": wD,
- "it-IT": TD,
- "ja-JP": ED,
- "ko-KR": DD,
- "lt-LT": OD,
- "lv-LV": kD,
- "nb-NO": AD,
- "nl-NL": jD,
- "pl-PL": MD,
- "pt-BR": ND,
- "pt-PT": PD,
- "ro-RO": FD,
- "ru-RU": ID,
- "sk-SK": LD,
- "sl-SI": RD,
- "sr-SP": zD,
- "sv-SE": BD,
- "tr-TR": VD,
- "uk-UA": HD,
- "zh-CN": UD,
- "zh-TW": WD
+var WD = {};
+WD = {
+ "ar-AE": uD,
+ "bg-BG": dD,
+ "cs-CZ": fD,
+ "da-DK": pD,
+ "de-DE": mD,
+ "el-GR": hD,
+ "en-US": gD,
+ "es-ES": _D,
+ "et-EE": vD,
+ "fi-FI": yD,
+ "fr-FR": bD,
+ "he-IL": xD,
+ "hr-HR": SD,
+ "hu-HU": CD,
+ "it-IT": wD,
+ "ja-JP": TD,
+ "ko-KR": ED,
+ "lt-LT": DD,
+ "lv-LV": OD,
+ "nb-NO": kD,
+ "nl-NL": AD,
+ "pl-PL": jD,
+ "pt-BR": MD,
+ "pt-PT": ND,
+ "ro-RO": PD,
+ "ru-RU": FD,
+ "sk-SK": ID,
+ "sl-SI": LD,
+ "sr-SP": RD,
+ "sv-SE": zD,
+ "tr-TR": BD,
+ "uk-UA": VD,
+ "zh-CN": HD,
+ "zh-TW": UD
};
//#endregion
//#region node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var KD = /*#__PURE__*/ (0, R.createContext)({}), qD = /*#__PURE__*/ (0, R.createContext)(null), Noe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { render: n } = (0, R.useContext)(qD);
+var GD = /*#__PURE__*/ (0, R.createContext)({}), KD = /*#__PURE__*/ (0, R.createContext)(null), Poe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { render: n } = (0, R.useContext)(KD);
return /*#__PURE__*/ R.createElement(R.Fragment, null, n(e, t));
});
-function JD(e, t) {
+function qD(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, R.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ R.createElement(Noe, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ R.createElement(Poe, { target: e });
}, [
t?.target,
r,
@@ -28578,7 +28578,7 @@ function JD(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function YD(e, t, n) {
+function JD(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;
@@ -28601,14 +28601,14 @@ function YD(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Header.mjs
-var XD = /*#__PURE__*/ (0, R.createContext)({}), Poe = /*#__PURE__*/ (0, R.createContext)(null);
-function ZD(e) {
+var YD = /*#__PURE__*/ (0, R.createContext)({}), Foe = /*#__PURE__*/ (0, R.createContext)(null);
+function XD(e) {
let t = (0, R.useRef)({});
- return /*#__PURE__*/ R.createElement(Poe.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ R.createElement(Foe.Provider, { value: t }, e.children);
}
//#endregion
//#region node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var QD = /*#__PURE__*/ (0, R.createContext)({ isSelected: !1 }), $D = /*#__PURE__*/ (0, R.createContext)({}), Foe = /*#__PURE__*/ og(class extends op {
+var ZD = /*#__PURE__*/ (0, R.createContext)({ isSelected: !1 }), QD = /*#__PURE__*/ (0, R.createContext)({}), Ioe = /*#__PURE__*/ og(class extends op {
static {
this.type = "separator";
}
@@ -28621,10 +28621,10 @@ var QD = /*#__PURE__*/ (0, R.createContext)({ isSelected: !1 }), $D = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = BE(e, t, $D);
+ [e, t] = zE(e, t, QD);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = WE[c], { separatorProps: u } = ux({
+ let l = UE[c], { separatorProps: u } = tne({
...s,
elementType: n,
orientation: r
@@ -28640,13 +28640,13 @@ var QD = /*#__PURE__*/ (0, R.createContext)({ isSelected: !1 }), $D = /*#__PURE_
});
//#endregion
//#region node_modules/react-aria/dist/private/utils/inertValue.mjs
-function eO(e) {
+function $D(e) {
let t = R.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 tO = class {
+var eO = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -28690,20 +28690,20 @@ var tO = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, nO = class e extends Set {
+}, tO = 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 Ioe(e, t) {
+function Loe(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function rO(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, R.useRef)(!1), [, s] = (0, R.useState)(!1), c = (0, R.useRef)(null), l = (0, R.useRef)(null), [, u] = (0, R.useState)(null), [d, f] = H_((0, R.useMemo)(() => iO(e.selectedKeys), [e.selectedKeys]), (0, R.useMemo)(() => iO(e.defaultSelectedKeys, new nO()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, R.useState)(i);
+function nO(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, R.useRef)(!1), [, s] = (0, R.useState)(!1), c = (0, R.useRef)(null), l = (0, R.useRef)(null), [, u] = (0, R.useState)(null), [d, f] = H_((0, R.useMemo)(() => rO(e.selectedKeys), [e.selectedKeys]), (0, R.useMemo)(() => rO(e.defaultSelectedKeys, new tO()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, R.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, R.useRef)(i);
return (0, R.useEffect)(() => {
@@ -28730,18 +28730,18 @@ function rO(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Ioe(e, d)) && f(e);
+ (r || !Loe(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function iO(e, t) {
- return e ? e === "all" ? "all" : new nO(e) : t;
+function rO(e, t) {
+ return e ? e === "all" ? "all" : new tO(e) : t;
}
//#endregion
//#region node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var aO = class e {
+var iO = 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;
}
@@ -28824,10 +28824,10 @@ var aO = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new nO([t], t, t);
+ if (this.state.selectedKeys === "all") n = new tO([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new nO(e, r, t);
+ n = new tO(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);
}
@@ -28861,19 +28861,19 @@ var aO = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new nO(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new tO(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 nO([t], t, t) : new nO();
+ let n = this.canSelectItem(t) ? new tO([t], t, t) : new tO();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new nO();
+ let t = new tO();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -28896,7 +28896,7 @@ var aO = class e {
!this.isSelectAll && this.selectionMode === "multiple" && this.state.setSelectedKeys("all");
}
clearSelection() {
- !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new nO());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new tO());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -28937,9 +28937,9 @@ var aO = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, Loe = class {
+}, Roe = class {
build(e, t) {
- return this.context = t, oO(() => this.iterateCollection(e));
+ return this.context = t, aO(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -29021,10 +29021,10 @@ var aO = class e {
...a,
key: l,
index: s,
- wrapper: Roe(e.wrapper, a.wrapper)
+ wrapper: zoe(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 <${sO(t.type)}> in <${sO(r?.type ?? "unknown parent type")}>. Only <${sO(e.type)}> is supported.`);
+ if (t.value = a.value ?? e.value ?? null, t.value && this.cache.set(t.value, t), e.type && t.type !== e.type) throw Error(`Unsupported type <${oO(t.type)}> in <${oO(r?.type ?? "unknown parent type")}>. Only <${oO(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -29046,7 +29046,7 @@ var aO = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: oO(function* () {
+ childNodes: aO(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -29065,7 +29065,7 @@ var aO = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function oO(e) {
+function aO(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -29073,18 +29073,18 @@ function oO(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function Roe(e, t) {
+function zoe(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function sO(e) {
+function oO(e) {
return e[0].toUpperCase() + e.slice(1);
}
//#endregion
//#region node_modules/react-stately/dist/private/collections/useCollection.mjs
-function cO(e, t, n) {
- let r = (0, R.useMemo)(() => new Loe(), []), { children: i, items: a, collection: o } = e;
+function sO(e, t, n) {
+ let r = (0, R.useMemo)(() => new Roe(), []), { children: i, items: a, collection: o } = e;
return (0, R.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -29099,27 +29099,27 @@ function cO(e, t, n) {
}
//#endregion
//#region node_modules/react-stately/dist/private/list/useListState.mjs
-function lO(e) {
- let { filter: t, layoutDelegate: n } = e, r = rO(e), i = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = cO(e, (0, R.useCallback)((e) => t ? new tO(t(e)) : new tO(e), [t]), (0, R.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, R.useMemo)(() => new aO(a, r, { layoutDelegate: n }), [
+function cO(e) {
+ let { filter: t, layoutDelegate: n } = e, r = nO(e), i = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = sO(e, (0, R.useCallback)((e) => t ? new eO(t(e)) : new eO(e), [t]), (0, R.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, R.useMemo)(() => new iO(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return uO(a, o), {
+ return lO(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function zoe(e, t) {
+function Boe(e, t) {
let n = (0, R.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return uO(n, r), {
+ return lO(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function uO(e, t) {
+function lO(e, t) {
let n = (0, R.useRef)(null);
(0, R.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -29147,7 +29147,7 @@ function uO(e, t) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function dO(e, t) {
+function uO(e, t) {
let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, R.useRef)(null), s = hg((e) => {
for (let t of e) t.isIntersecting && r && r();
});
@@ -29171,42 +29171,42 @@ function dO(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/ListBox.mjs
-var fO = /*#__PURE__*/ (0, R.createContext)(null), pO = /*#__PURE__*/ (0, R.createContext)(null), Boe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = BE(e, t, fO);
- let n = (0, R.useContext)(pO);
- return n ? /*#__PURE__*/ R.createElement(mO, {
+var dO = /*#__PURE__*/ (0, R.createContext)(null), fO = /*#__PURE__*/ (0, R.createContext)(null), Voe = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = zE(e, t, dO);
+ let n = (0, R.useContext)(fO);
+ return n ? /*#__PURE__*/ R.createElement(pO, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ R.createElement(Qh, { content: /*#__PURE__*/ R.createElement(ug, e) }, (n) => /*#__PURE__*/ R.createElement(Voe, {
+ }) : /*#__PURE__*/ R.createElement(Qh, { content: /*#__PURE__*/ R.createElement(ug, e) }, (n) => /*#__PURE__*/ R.createElement(Hoe, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function Voe({ props: e, listBoxRef: t, collection: n }) {
+function Hoe({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, R.useContext)(XE), i = lO({
+ let { layoutDelegate: r } = (0, R.useContext)(YE), i = cO({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ R.createElement(mO, {
+ return /*#__PURE__*/ R.createElement(pO, {
state: i,
props: e,
listBoxRef: t
});
}
-function mO({ state: e, props: t, listBoxRef: n }) {
- [t, n] = BE(t, n, GE);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = zoe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Cg(), { disabledBehavior: p, disabledKeys: m } = l, h = ty({
+function pO({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = zE(t, n, WE);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Boe(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Cg(), { disabledBehavior: p, disabledKeys: m } = l, h = ty({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, R.useContext)(XE), b = (0, R.useMemo)(() => t.keyboardDelegate || new rv({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, R.useContext)(YE), b = (0, R.useMemo)(() => t.keyboardDelegate || new rv({
collection: c,
collator: h,
ref: n,
@@ -29267,7 +29267,7 @@ function mO({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, N = RE({
+ }, N = LE({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -29278,7 +29278,7 @@ function mO({ state: e, props: t, listBoxRef: n }) {
style: { display: "contents" }
}, t.renderEmptyState(M)));
let te = jg(t, { global: !0 });
- return /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(WE.div, {
+ return /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(UE.div, {
...H(te, N, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -29289,52 +29289,52 @@ function mO({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ R.createElement(LE, { values: [
- [fO, t],
- [pO, s],
- [KD, {
+ }, /*#__PURE__*/ R.createElement(IE, { values: [
+ [dO, t],
+ [fO, s],
+ [GD, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [$D, { elementType: "div" }],
- [qD, { render: Woe }],
- [qE, {
+ [QD, { elementType: "div" }],
+ [KD, { render: Goe }],
+ [KE, {
name: "ListBoxSection",
- render: Hoe
+ render: Uoe
}]
- ] }, /*#__PURE__*/ R.createElement(ZD, null, /*#__PURE__*/ R.createElement(y, {
+ ] }, /*#__PURE__*/ R.createElement(XD, null, /*#__PURE__*/ R.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: YD(l, r, C),
- renderDropIndicator: JD(r, C)
+ persistedKeys: JD(l, r, C),
+ renderDropIndicator: qD(r, C)
}))), ee, E));
}
-function Hoe(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, R.useContext)(pO), { dragAndDropHooks: a, dropState: o } = (0, R.useContext)(KD), { CollectionBranch: s } = (0, R.useContext)(XE), [c, l] = VE(), { headingProps: u, groupProps: d } = Ote({
+function Uoe(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, R.useContext)(fO), { dragAndDropHooks: a, dropState: o } = (0, R.useContext)(GD), { CollectionBranch: s } = (0, R.useContext)(YE), [c, l] = BE(), { headingProps: u, groupProps: d } = Ote({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = RE({
+ }), f = LE({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
}), p = jg(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ R.createElement(WE.section, {
+ return delete p.id, /*#__PURE__*/ R.createElement(UE.section, {
...H(p, f, d),
ref: t
- }, /*#__PURE__*/ R.createElement(XD.Provider, { value: {
+ }, /*#__PURE__*/ R.createElement(YD.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ R.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: JD(a, o)
+ renderDropIndicator: qD(a, o)
})));
}
-var Uoe = /*#__PURE__*/ og(lp, function(e, t, n) {
- let r = Rh(t), i = (0, R.useContext)(pO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(KD), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = kte({
+var Woe = /*#__PURE__*/ og(lp, function(e, t, n) {
+ let r = Rh(t), i = (0, R.useContext)(fO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(GD), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = kte({
key: n.key,
"aria-label": e?.["aria-label"]
}, i, r), { hoverProps: p, isHovered: m } = fy({
@@ -29353,7 +29353,7 @@ var Uoe = /*#__PURE__*/ og(lp, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = RE({
+ let y = o && o.isDragging(n.key), b = LE({
...e,
id: void 0,
children: e.children,
@@ -29371,7 +29371,7 @@ var Uoe = /*#__PURE__*/ og(lp, function(e, t, n) {
(0, R.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? WE.a : WE.div, S = jg(e, { global: !0 });
+ let x = e.href ? UE.a : UE.div, S = jg(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ R.createElement(x, {
...H(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -29385,29 +29385,29 @@ var Uoe = /*#__PURE__*/ og(lp, function(e, t, n) {
"data-dragging": y || void 0,
"data-drop-target": v?.isDropTarget || void 0,
"data-selection-mode": i.selectionManager.selectionMode === "none" ? void 0 : i.selectionManager.selectionMode
- }, /*#__PURE__*/ R.createElement(LE, { values: [[rD, { slots: {
- [IE]: u,
+ }, /*#__PURE__*/ R.createElement(IE, { values: [[nD, { slots: {
+ [FE]: u,
label: u,
description: d
- } }], [QD, { isSelected: f.isSelected }]] }, b.children));
+ } }], [ZD, { isSelected: f.isSelected }]] }, b.children));
});
-function Woe(e, t) {
+function Goe(e, t) {
t = Rh(t);
- let { dragAndDropHooks: n, dropState: r } = (0, R.useContext)(KD), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ R.createElement(Koe, {
+ let { dragAndDropHooks: n, dropState: r } = (0, R.useContext)(GD), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ R.createElement(qoe, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function Goe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = RE({
+function Koe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = LE({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(WE.div, {
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(UE.div, {
...n,
...a,
role: "option",
@@ -29415,10 +29415,10 @@ function Goe(e, t) {
"data-drop-target": r || void 0
}));
}
-var Koe = /*#__PURE__*/ (0, R.forwardRef)(Goe);
+var qoe = /*#__PURE__*/ (0, R.forwardRef)(Koe);
og(cp, function(e, t, n) {
- let r = (0, R.useContext)(pO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
- dO((0, R.useMemo)(() => ({
+ let r = (0, R.useContext)(fO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
+ uO((0, R.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -29428,7 +29428,7 @@ og(cp, function(e, t, n) {
o,
r?.collection
]), c);
- let l = RE({
+ let l = LE({
...s,
id: void 0,
children: n.rendered,
@@ -29441,7 +29441,7 @@ og(cp, function(e, t, n) {
width: 0,
height: 0
},
- inert: eO(!0)
+ inert: $D(!0)
}, /*#__PURE__*/ R.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -29450,7 +29450,7 @@ og(cp, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(WE.div, {
+ })), i && l.children && /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(UE.div, {
...H(jg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
@@ -29459,10 +29459,10 @@ og(cp, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var qoe = /*#__PURE__*/ (0, R.createContext)({ placement: "bottom" });
+var Joe = /*#__PURE__*/ (0, R.createContext)({ placement: "bottom" });
//#endregion
//#region node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function hO(e) {
+function mO(e) {
let [t, n] = H_(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, R.useState)(null);
return {
isOpen: t,
@@ -29482,13 +29482,13 @@ function hO(e) {
}
//#endregion
//#region node_modules/react-aria/dist/private/utils/animation.mjs
-function gO(e, t = !0) {
+function hO(e, t = !0) {
let [n, r] = (0, R.useState)(!0), i = n && t;
return qp(() => {
if (i && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, i]), vO(e, i, (0, R.useCallback)(() => r(!1), [])), i;
+ }, [e, i]), _O(e, i, (0, R.useCallback)(() => r(!1), [])), i;
}
-function _O(e, t) {
+function gO(e, t) {
let [n, r] = (0, R.useState)(t ? "open" : "closed");
switch (n) {
case "open":
@@ -29498,11 +29498,11 @@ function _O(e, t) {
case "exiting": t && r("open");
}
let i = n === "exiting";
- return vO(e, i, (0, R.useCallback)(() => {
+ return _O(e, i, (0, R.useCallback)(() => {
r((e) => e === "exiting" ? "closed" : e);
}, [])), i;
}
-function vO(e, t, n) {
+function _O(e, t, n) {
qp(() => {
if (t && e.current) {
if (!("getAnimations" in e.current)) {
@@ -29531,9 +29531,9 @@ function vO(e, t, n) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Popover.mjs
-var yO = /*#__PURE__*/ (0, R.createContext)(null), bO = /*#__PURE__*/ (0, R.createContext)(null), xO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = BE(e, t, yO);
- let n = (0, R.useContext)(jO), r = hO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = _O(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Kh(), { direction: c } = Cg();
+var vO = /*#__PURE__*/ (0, R.createContext)(null), yO = /*#__PURE__*/ (0, R.createContext)(null), bO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = zE(e, t, vO);
+ let n = (0, R.useContext)(AO), r = mO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = gO(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = Kh(), { direction: c } = Cg();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -29544,7 +29544,7 @@ var yO = /*#__PURE__*/ (0, R.createContext)(null), bO = /*#__PURE__*/ (0, R.crea
defaultChildren: null
})), /*#__PURE__*/ R.createElement(R.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ R.createElement(Joe, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ R.createElement(Yoe, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -29553,13 +29553,13 @@ var yO = /*#__PURE__*/ (0, R.createContext)(null), bO = /*#__PURE__*/ (0, R.crea
dir: c
});
});
-function Joe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useContext)(bO), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Yte({
+function Yoe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useContext)(yO), c = s && i.trigger === "SubmenuTrigger", { popoverProps: l, underlayProps: u, arrowProps: d, placement: f, triggerAnchorPoint: p } = Yte({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), m = i.popoverRef, h = gO(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = RE({
+ }, e), m = i.popoverRef, h = hO(m, !!f), g = i.isEntering || !i.shouldSkipAnimation && h || !1, _ = LE({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -29594,7 +29594,7 @@ function Joe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"--trigger-anchor-point": p ? `${p.x}px ${p.y}px` : void 0,
..._.style,
"--trigger-width": _.style?.["--trigger-width"] || S
- }, E = /*#__PURE__*/ R.createElement(WE.div, {
+ }, E = /*#__PURE__*/ R.createElement(UE.div, {
...H(jg(i, { global: !0 }), l),
..._,
id: y ? i.id : void 0,
@@ -29610,7 +29610,7 @@ function Joe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": f,
"data-entering": g || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ R.createElement(Rb, { onDismiss: e.close }), /*#__PURE__*/ R.createElement(qoe.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ R.createElement(Rb, { onDismiss: e.close }), /*#__PURE__*/ R.createElement(Joe.Provider, { value: {
...d,
placement: f,
ref: a
@@ -29635,15 +29635,15 @@ function Joe({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ R.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ R.createElement(bO.Provider, { value: o }, E)));
+ }, /*#__PURE__*/ R.createElement(yO.Provider, { value: o }, E)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Keyboard.mjs
-var Yoe = /*#__PURE__*/ (0, R.createContext)({});
+var Xoe = /*#__PURE__*/ (0, R.createContext)({});
//#endregion
//#region node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function SO(e) {
- let t = hO(e), [n, r] = (0, R.useState)(null), [i, a] = (0, R.useState)([]), o = () => {
+function xO(e) {
+ let t = mO(e), [n, r] = (0, R.useState)(null), [i, a] = (0, R.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -29669,7 +29669,7 @@ function SO(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var Xoe = class {
+var Zoe = class {
constructor(e, { expandedKeys: t } = {}) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e, t ||= /* @__PURE__ */ new Set();
let n = (e) => {
@@ -29713,8 +29713,8 @@ var Xoe = class {
};
//#endregion
//#region node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function Zoe(e) {
- let { onExpandedChange: t } = e, [n, r] = H_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = rO(e), a = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = cO(e, (0, R.useCallback)((e) => new Xoe(e, { expandedKeys: n }), [n]), null);
+function Qoe(e) {
+ let { onExpandedChange: t } = e, [n, r] = H_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = nO(e), a = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = sO(e, (0, R.useCallback)((e) => new Zoe(e, { expandedKeys: n }), [n]), null);
return (0, R.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -29722,32 +29722,32 @@ function Zoe(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(Qoe(n, e));
+ r($oe(n, e));
},
setExpandedKeys: r,
- selectionManager: new aO(o, i)
+ selectionManager: new iO(o, i)
};
}
-function Qoe(e, t) {
+function $oe(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Menu.mjs
-var CO = /*#__PURE__*/ (0, R.createContext)(null), wO = /*#__PURE__*/ (0, R.createContext)(null), TO = /*#__PURE__*/ (0, R.createContext)(null), EO = /*#__PURE__*/ (0, R.createContext)(null);
-function $oe(e) {
- let t = SO(e), n = (0, R.useRef)(null), { menuTriggerProps: r, menuProps: i } = Vv({
+var SO = /*#__PURE__*/ (0, R.createContext)(null), CO = /*#__PURE__*/ (0, R.createContext)(null), wO = /*#__PURE__*/ (0, R.createContext)(null), TO = /*#__PURE__*/ (0, R.createContext)(null);
+function ese(e) {
+ let t = xO(e), n = (0, R.useRef)(null), { menuTriggerProps: r, menuProps: i } = Vv({
...e,
type: "menu"
}, t, n), a = (0, R.useRef)(null);
- return Kh() ? null : /*#__PURE__*/ R.createElement(LE, { values: [
- [CO, {
+ return Kh() ? null : /*#__PURE__*/ R.createElement(IE, { values: [
+ [SO, {
...i,
ref: a
}],
- [jO, t],
- [TO, t],
- [yO, {
+ [AO, t],
+ [wO, t],
+ [vO, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -29761,7 +29761,7 @@ function $oe(e) {
isPressed: t.isOpen
}, e.children));
}
-var ese = /*#__PURE__*/ (0, R.createContext)(null);
+var tse = /*#__PURE__*/ (0, R.createContext)(null);
(class extends op {
static {
this.type = "submenutrigger";
@@ -29775,24 +29775,24 @@ var ese = /*#__PURE__*/ (0, R.createContext)(null);
return null;
}
});
-var tse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- return [e, t] = BE(e, t, CO), /*#__PURE__*/ R.createElement(Qh, { content: /*#__PURE__*/ R.createElement(ug, e) }, (n) => /*#__PURE__*/ R.createElement(nse, {
+var nse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ return [e, t] = zE(e, t, SO), /*#__PURE__*/ R.createElement(Qh, { content: /*#__PURE__*/ R.createElement(ug, e) }, (n) => /*#__PURE__*/ R.createElement(rse, {
props: e,
collection: n,
menuRef: t
}));
});
-function nse({ props: e, collection: t, menuRef: n }) {
- [e, n] = BE(e, n, GE);
- let { filter: r, ...i } = e, a = (0, R.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Zoe({
+function rse({ props: e, collection: t, menuRef: n }) {
+ [e, n] = zE(e, n, WE);
+ let { filter: r, ...i } = e, a = (0, R.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = Qoe({
...e,
collection: a,
children: void 0
- }), s = (0, R.useContext)(TO), { isVirtualized: c, CollectionRoot: l } = (0, R.useContext)(XE), { menuProps: u } = Ate({
+ }), s = (0, R.useContext)(wO), { isVirtualized: c, CollectionRoot: l } = (0, R.useContext)(YE), { menuProps: u } = Ate({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = RE({
+ }, o, n), d = LE({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -29803,35 +29803,35 @@ function nse({ props: e, collection: t, menuRef: n }) {
style: { display: "contents" }
}, e.renderEmptyState()));
let p = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(WE.div, {
+ return /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(UE.div, {
...H(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ R.createElement(LE, { values: [
- [wO, o],
- [$D, { elementType: "div" }],
- [qE, {
+ }, /*#__PURE__*/ R.createElement(IE, { values: [
+ [CO, o],
+ [QD, { elementType: "div" }],
+ [KE, {
name: "MenuSection",
- render: DO
+ render: EO
}],
- [ese, {
+ [tse, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [kO, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [OO, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [WE, null],
[GE, null],
- [KE, null],
- [EO, o.selectionManager],
- [TO, s ?? SO({})]
- ] }, /*#__PURE__*/ R.createElement(ZD, null, /*#__PURE__*/ R.createElement(l, {
+ [TO, o.selectionManager],
+ [wO, s ?? xO({})]
+ ] }, /*#__PURE__*/ R.createElement(XD, null, /*#__PURE__*/ R.createElement(l, {
collection: o.collection,
- persistedKeys: ZE(o.selectionManager.focusedKey),
+ persistedKeys: XE(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var rse = class extends aO {
+var ise = class extends iO {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -29851,11 +29851,11 @@ var rse = class extends aO {
return this.parent.childFocusStrategy;
}
};
-function DO(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, R.useContext)(wO), { CollectionBranch: a } = (0, R.useContext)(XE), [o, s] = VE(), { headingProps: c, groupProps: l } = Mte({
+function EO(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, R.useContext)(CO), { CollectionBranch: a } = (0, R.useContext)(YE), [o, s] = BE(), { headingProps: c, groupProps: l } = Mte({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = RE({
+ }), u = LE({
...e,
id: void 0,
children: void 0,
@@ -29863,31 +29863,31 @@ function DO(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, R.useContext)(EO), f = rO(e), p = e.selectionMode == null ? d : new rse(d, f), m = zE(kO)?.shouldCloseOnSelect, h = jg(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ R.createElement(WE.section, {
+ }), d = (0, R.useContext)(TO), f = nO(e), p = e.selectionMode == null ? d : new ise(d, f), m = RE(OO)?.shouldCloseOnSelect, h = jg(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ R.createElement(UE.section, {
...H(h, u, l),
ref: t
- }, /*#__PURE__*/ R.createElement(LE, { values: [
- [XD, {
+ }, /*#__PURE__*/ R.createElement(IE, { values: [
+ [YD, {
...c,
ref: o
}],
- [EO, p],
- [kO, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [TO, p],
+ [OO, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ R.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var OO = /*#__PURE__*/ sg(up, DO), kO = /*#__PURE__*/ (0, R.createContext)(null), AO = /*#__PURE__*/ og(lp, function(e, t, n) {
- [e, t] = BE(e, t, kO);
- let r = zE(kO)?.id, i = (0, R.useContext)(wO), a = Rh(t), o = (0, R.useContext)(EO), { isVirtualized: s } = (0, R.useContext)(XE), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = jte({
+var DO = /*#__PURE__*/ sg(up, EO), OO = /*#__PURE__*/ (0, R.createContext)(null), kO = /*#__PURE__*/ og(lp, function(e, t, n) {
+ [e, t] = zE(e, t, OO);
+ let r = RE(OO)?.id, i = (0, R.useContext)(CO), a = Rh(t), o = (0, R.useContext)(TO), { isVirtualized: s } = (0, R.useContext)(YE), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = jte({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = fy({ isDisabled: f.isDisabled }), h = RE({
+ }, i, a), { hoverProps: p, isHovered: m } = fy({ isDisabled: f.isDisabled }), h = LE({
...e,
id: void 0,
children: n.rendered,
@@ -29901,7 +29901,7 @@ var OO = /*#__PURE__*/ sg(up, DO), kO = /*#__PURE__*/ (0, R.createContext)(null)
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? WE.a : WE.div, _ = jg(e, { global: !0 });
+ }), g = e.href ? UE.a : UE.div, _ = jg(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ R.createElement(g, {
...H(_, h, c, p),
ref: a,
@@ -29914,19 +29914,19 @@ var OO = /*#__PURE__*/ sg(up, DO), kO = /*#__PURE__*/ (0, R.createContext)(null)
"data-selection-mode": o.selectionMode === "none" ? void 0 : o.selectionMode,
"data-has-submenu": !!e["aria-haspopup"] || void 0,
"data-open": e["aria-expanded"] === "true" || void 0
- }, /*#__PURE__*/ R.createElement(LE, { values: [
- [rD, { slots: {
- [IE]: l,
+ }, /*#__PURE__*/ R.createElement(IE, { values: [
+ [nD, { slots: {
+ [FE]: l,
label: l,
description: u
} }],
- [Yoe, d],
- [QD, { isSelected: f.isSelected }]
+ [Xoe, d],
+ [ZD, { isSelected: f.isSelected }]
] }, h.children));
});
og(cp, function(e, t, n) {
- let r = (0, R.useContext)(wO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
- dO((0, R.useMemo)(() => ({
+ let r = (0, R.useContext)(CO), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, R.useRef)(null);
+ uO((0, R.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -29936,7 +29936,7 @@ og(cp, function(e, t, n) {
o,
r?.collection
]), c);
- let l = RE({
+ let l = LE({
...s,
id: void 0,
children: n.rendered,
@@ -29949,7 +29949,7 @@ og(cp, function(e, t, n) {
width: 0,
height: 0
},
- inert: eO(!0)
+ inert: $D(!0)
}, /*#__PURE__*/ R.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -29958,7 +29958,7 @@ og(cp, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(WE.div, {
+ })), i && l.children && /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(UE.div, {
...H(jg(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
@@ -29967,56 +29967,56 @@ og(cp, function(e, t, n) {
});
//#endregion
//#region node_modules/react-aria-components/dist/private/Dialog.mjs
-var ise = /*#__PURE__*/ (0, R.createContext)(null), jO = /*#__PURE__*/ (0, R.createContext)(null), MO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+var ase = /*#__PURE__*/ (0, R.createContext)(null), AO = /*#__PURE__*/ (0, R.createContext)(null), jO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = BE(e, t, ise);
+ [e, t] = zE(e, t, ase);
let { dialogProps: r, titleProps: i, contentProps: a } = gte({
...e,
"aria-labelledby": n
- }, t), o = (0, R.useContext)(jO);
+ }, t), o = (0, R.useContext)(AO);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = RE({
+ let s = LE({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
}), c = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(WE.section, {
+ return /*#__PURE__*/ R.createElement(UE.section, {
...H(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ R.createElement(LE, { values: [
- [tD, { slots: {
- [IE]: {},
+ }, /*#__PURE__*/ R.createElement(IE, { values: [
+ [eD, { slots: {
+ [FE]: {},
title: {
...i,
level: 2
}
} }],
- [rD, { slots: {
- [IE]: {},
+ [nD, { slots: {
+ [FE]: {},
description: a
} }],
- [$E, { slots: {
- [IE]: {},
+ [QE, { slots: {
+ [FE]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), NO = typeof document < "u" && window.visualViewport;
-function ase() {
+}), MO = typeof document < "u" && window.visualViewport;
+function ose() {
let e = Nm(), [t, n] = (0, R.useState)(() => e ? {
width: 0,
height: 0
- } : PO());
+ } : NO());
return (0, R.useEffect)(() => {
let e = (e) => {
n((t) => e.width === t.width && e.height === t.height ? t : e);
}, t = () => {
- NO && NO.scale > 1 || e(PO());
+ MO && MO.scale > 1 || e(NO());
}, r, i = (t) => {
- NO && NO.scale > 1 || mg(V(t)) && (r = requestAnimationFrame(() => {
+ MO && MO.scale > 1 || mg(V(t)) && (r = requestAnimationFrame(() => {
let t = Pp();
(!t || !mg(t)) && e({
width: document.documentElement.clientWidth,
@@ -30024,26 +30024,26 @@ function ase() {
});
}));
};
- return e(PO()), am() && sm() && window.addEventListener("blur", i, !0), NO ? NO.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
- cancelAnimationFrame(r), am() && sm() && window.removeEventListener("blur", i, !0), NO ? NO.removeEventListener("resize", t) : window.removeEventListener("resize", t);
+ return e(NO()), am() && sm() && window.addEventListener("blur", i, !0), MO ? MO.addEventListener("resize", t) : window.addEventListener("resize", t), () => {
+ cancelAnimationFrame(r), am() && sm() && window.removeEventListener("blur", i, !0), MO ? MO.removeEventListener("resize", t) : window.removeEventListener("resize", t);
};
}, []), t;
}
-function PO() {
+function NO() {
return {
- width: NO ? Math.min(NO.width * NO.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: NO ? NO.height * NO.scale : document.documentElement.clientHeight
+ width: MO ? Math.min(MO.width * MO.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: MO ? MO.height * MO.scale : document.documentElement.clientHeight
};
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Modal.mjs
-var ose = /*#__PURE__*/ (0, R.createContext)(null), FO = /*#__PURE__*/ (0, R.createContext)(null), sse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- if ((0, R.useContext)(FO)) return /*#__PURE__*/ R.createElement(LO, {
+var sse = /*#__PURE__*/ (0, R.createContext)(null), PO = /*#__PURE__*/ (0, R.createContext)(null), cse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ if ((0, R.useContext)(PO)) return /*#__PURE__*/ R.createElement(IO, {
...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__*/ R.createElement(IO, {
+ return /*#__PURE__*/ R.createElement(FO, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -30053,15 +30053,15 @@ var ose = /*#__PURE__*/ (0, R.createContext)(null), FO = /*#__PURE__*/ (0, R.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ R.createElement(LO, {
+ }, /*#__PURE__*/ R.createElement(IO, {
...f,
modalRef: t
}, s));
});
-function cse(e, t) {
- [e, t] = BE(e, t, ose);
- let n = (0, R.useContext)(jO), r = hO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Rh(t), o = (0, R.useRef)(null), s = _O(a, i.isOpen), c = _O(o, i.isOpen), l = s || c || e.isExiting || !1, u = Nm();
- return !i.isOpen && !l || u ? null : /*#__PURE__*/ R.createElement(lse, {
+function lse(e, t) {
+ [e, t] = zE(e, t, sse);
+ let n = (0, R.useContext)(AO), r = mO(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Rh(t), o = (0, R.useRef)(null), s = gO(a, i.isOpen), c = gO(o, i.isOpen), l = s || c || e.isExiting || !1, u = Nm();
+ return !i.isOpen && !l || u ? null : /*#__PURE__*/ R.createElement(use, {
...e,
state: i,
isExiting: l,
@@ -30069,9 +30069,9 @@ function cse(e, t) {
modalRef: o
});
}
-var IO = /*#__PURE__*/ (0, R.forwardRef)(cse);
-function lse({ UNSTABLE_portalContainer: e, ...t }) {
- let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Lte(t, r, n), o = gO(t.overlayRef) || t.isEntering || !1, s = RE({
+var FO = /*#__PURE__*/ (0, R.forwardRef)(lse);
+function use({ UNSTABLE_portalContainer: e, ...t }) {
+ let n = t.modalRef, { state: r } = t, { modalProps: i, underlayProps: a } = Lte(t, r, n), o = hO(t.overlayRef) || t.isEntering || !1, s = LE({
...t,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -30079,7 +30079,7 @@ function lse({ UNSTABLE_portalContainer: e, ...t }) {
isExiting: t.isExiting,
state: r
}
- }), c = ase(), l, u;
+ }), c = ose(), l, u;
if (typeof document < "u") {
let e = y_(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;
@@ -30094,22 +30094,22 @@ function lse({ UNSTABLE_portalContainer: e, ...t }) {
return /*#__PURE__*/ R.createElement(oy, {
isExiting: t.isExiting,
portalContainer: e
- }, /*#__PURE__*/ R.createElement(WE.div, {
+ }, /*#__PURE__*/ R.createElement(UE.div, {
...H(jg(t, { global: !0 }), a),
...s,
style: d,
ref: t.overlayRef,
"data-entering": o || void 0,
"data-exiting": t.isExiting || void 0
- }, /*#__PURE__*/ R.createElement(LE, { values: [[FO, {
+ }, /*#__PURE__*/ R.createElement(IE, { values: [[PO, {
modalProps: i,
modalRef: n,
isExiting: t.isExiting,
isDismissable: t.isDismissable
- }], [jO, r]] }, s.children)));
+ }], [AO, r]] }, s.children)));
}
-function LO(e) {
- let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, R.useContext)(FO), a = (0, R.useContext)(jO), o = Rh((0, R.useMemo)(() => yh(e.modalRef, n), [e.modalRef, n])), s = gO(o), c = RE({
+function IO(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, isDismissable: i } = (0, R.useContext)(PO), a = (0, R.useContext)(AO), o = Rh((0, R.useMemo)(() => yh(e.modalRef, n), [e.modalRef, n])), s = hO(o), c = LE({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -30118,7 +30118,7 @@ function LO(e) {
state: a
}
});
- return /*#__PURE__*/ R.createElement(WE.div, {
+ return /*#__PURE__*/ R.createElement(UE.div, {
...H(jg(e, { global: !0 }), t),
...c,
ref: o,
@@ -30128,9 +30128,9 @@ function LO(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var use = Math.round(Math.random() * 1e10), dse = 0;
-function fse(e) {
- let t = (0, R.useMemo)(() => e.name || `radio-group-${use}-${++dse}`, [e.name]), [n, r] = H_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, R.useState)(n), [a, o] = (0, R.useState)(null), s = N_({
+var dse = Math.round(Math.random() * 1e10), fse = 0;
+function pse(e) {
+ let t = (0, R.useMemo)(() => e.name || `radio-group-${dse}-${++fse}`, [e.name]), [n, r] = H_(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, R.useState)(n), [a, o] = (0, R.useState)(null), s = N_({
...e,
value: n
}), c = (t) => {
@@ -30153,16 +30153,16 @@ function fse(e) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var pse = /*#__PURE__*/ (0, R.createContext)(null), mse = /*#__PURE__*/ (0, R.createContext)(null), RO = /*#__PURE__*/ (0, R.createContext)(null), zO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = BE(e, t, pse);
- let { validationBehavior: n } = zE(aD) || {}, r = e.validationBehavior ?? n ?? "native", i = fse({
+var mse = /*#__PURE__*/ (0, R.createContext)(null), hse = /*#__PURE__*/ (0, R.createContext)(null), LO = /*#__PURE__*/ (0, R.createContext)(null), RO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = zE(e, t, mse);
+ let { validationBehavior: n } = RE(iD) || {}, r = e.validationBehavior ?? n ?? "native", i = pse({
...e,
validationBehavior: r
- }), [a, o] = VE(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Zte({
+ }), [a, o] = BE(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Zte({
...e,
label: o,
validationBehavior: r
- }, i), f = RE({
+ }, i), f = LE({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -30174,7 +30174,7 @@ var pse = /*#__PURE__*/ (0, R.createContext)(null), mse = /*#__PURE__*/ (0, R.cr
},
defaultClassName: "react-aria-RadioGroup"
}), p = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(WE.div, {
+ return /*#__PURE__*/ R.createElement(UE.div, {
...H(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -30183,39 +30183,39 @@ var pse = /*#__PURE__*/ (0, R.createContext)(null), mse = /*#__PURE__*/ (0, R.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ R.createElement(LE, { values: [
- [RO, i],
- [QE, {
+ }, /*#__PURE__*/ R.createElement(IE, { values: [
+ [LO, i],
+ [ZE, {
...c,
ref: a,
elementType: "span"
}],
- [rD, { slots: {
+ [nD, { slots: {
description: l,
errorMessage: u
} }],
- [iD, d]
- ] }, /*#__PURE__*/ R.createElement(ZD, null, f.children)));
-}), BO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [rD, d]
+ ] }, /*#__PURE__*/ R.createElement(XD, null, f.children)));
+}), zO = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = BE(r, t, mse);
- let i = R.useContext(RO), a = Rh((0, R.useMemo)(() => yh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Xte({
- ...HE(e),
+ [e, t] = zE(r, t, hse);
+ let i = R.useContext(LO), a = Rh((0, R.useMemo)(() => yh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Xte({
+ ...VE(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ R.createElement(VO.Provider, { value: {
+ return /*#__PURE__*/ R.createElement(BO.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ R.createElement(hse, {
+ } }, /*#__PURE__*/ R.createElement(gse, {
...e,
ref: t
}));
-}), VO = /*#__PURE__*/ (0, R.createContext)(null), hse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, R.useContext)(VO), l = R.useContext(RO), { isFocused: u, isFocusVisible: d, focusProps: f } = cy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = fy({
+}), BO = /*#__PURE__*/ (0, R.createContext)(null), gse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, R.useContext)(BO), l = R.useContext(LO), { isFocused: u, isFocusVisible: d, focusProps: f } = cy(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = fy({
...e,
isDisabled: p
- }), g = RE({
+ }), g = LE({
...e,
defaultClassName: s,
values: {
@@ -30230,7 +30230,7 @@ var pse = /*#__PURE__*/ (0, R.createContext)(null), mse = /*#__PURE__*/ (0, R.cr
isRequired: l.isRequired
}
}), _ = jg(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ R.createElement(WE.label, {
+ return delete _.id, delete _.onClick, /*#__PURE__*/ R.createElement(UE.label, {
...H(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -30249,8 +30249,8 @@ var pse = /*#__PURE__*/ (0, R.createContext)(null), mse = /*#__PURE__*/ (0, R.cr
});
//#endregion
//#region node_modules/react-stately/dist/private/select/useSelectState.mjs
-function gse(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = hO(e), [i, a] = (0, R.useState)(null), o = (0, R.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function _se(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = mO(e), [i, a] = (0, R.useState)(null), o = (0, R.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
@@ -30266,12 +30266,12 @@ function gse(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = lO({
+ }, d = cO({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, R.useMemo)(() => _se(l), [l]),
+ selectedKeys: (0, R.useMemo)(() => vse(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -30308,16 +30308,16 @@ function gse(e) {
setFocused: g
};
}
-function _se(e) {
+function vse(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Select.mjs
-function vse(e) {
+function yse(e) {
return e && e.__esModule ? e.default : e;
}
-var HO = /*#__PURE__*/ (0, R.createContext)(null), UO = /*#__PURE__*/ (0, R.createContext)(null), yse = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = BE(e, t, HO);
+var VO = /*#__PURE__*/ (0, R.createContext)(null), HO = /*#__PURE__*/ (0, R.createContext)(null), bse = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = zE(e, t, VO);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, R.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -30332,24 +30332,24 @@ var HO = /*#__PURE__*/ (0, R.createContext)(null), UO = /*#__PURE__*/ (0, R.crea
i,
a
]);
- return /*#__PURE__*/ R.createElement(Qh, { content: o }, (n) => /*#__PURE__*/ R.createElement(xse, {
+ return /*#__PURE__*/ R.createElement(Qh, { content: o }, (n) => /*#__PURE__*/ R.createElement(Sse, {
props: e,
collection: n,
selectRef: t
}));
-}), bse = [
+}), xse = [
+ ZE,
QE,
- $E,
- rD
+ nD
];
-function xse({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = zE(aD) || {}, i = e.validationBehavior ?? r ?? "native", a = gse({
+function Sse({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = RE(iD) || {}, i = e.validationBehavior ?? r ?? "native", a = _se({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = cy({ within: !0 }), c = (0, R.useRef)(null), [l, u] = VE(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Qte({
- ...HE(e),
+ }), { isFocusVisible: o, focusProps: s } = cy({ within: !0 }), c = (0, R.useRef)(null), [l, u] = BE(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Qte({
+ ...VE(e),
label: u,
validationBehavior: i
}, a, c), y = (0, R.useMemo)(() => ({
@@ -30366,48 +30366,48 @@ function xse({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = RE({
+ ]), b = LE({
...e,
values: y,
defaultClassName: "react-aria-Select"
}), x = jg(e, { global: !0 });
delete x.id;
let S = (0, R.useRef)(null);
- return /*#__PURE__*/ R.createElement(LE, { values: [
- [HO, e],
- [UO, a],
- [WO, p],
- [QE, {
+ return /*#__PURE__*/ R.createElement(IE, { values: [
+ [VO, e],
+ [HO, a],
+ [UO, p],
+ [ZE, {
...d,
ref: l,
elementType: "span"
}],
- [$E, {
+ [QE, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [jO, a],
- [yO, {
+ [AO, a],
+ [vO, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: bse
+ clearContexts: xse
}],
- [fO, {
+ [dO, {
...m,
ref: S
}],
- [pO, a],
- [rD, { slots: {
+ [fO, a],
+ [nD, { slots: {
description: h,
errorMessage: g
} }],
- [iD, v]
- ] }, /*#__PURE__*/ R.createElement(WE.div, {
+ [rD, v]
+ ] }, /*#__PURE__*/ R.createElement(UE.div, {
...H(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -30422,9 +30422,9 @@ function xse({ props: e, selectRef: t, collection: n }) {
autoComplete: e.autoComplete
})));
}
-for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = BE(e, t, WO);
- let n = (0, R.useContext)(UO), { placeholder: r } = zE(HO), i = n.selectedItems.map((e) => {
+for (var UO = /*#__PURE__*/ (0, R.createContext)(null), Cse = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = zE(e, t, UO);
+ let n = (0, R.useContext)(HO), { placeholder: r } = RE(VO), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -30451,7 +30451,7 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
a,
o,
i
- ]), u = kg(vse(GD), "react-aria-components"), d = RE({
+ ]), u = kg(yse(WD), "react-aria-components"), d = LE({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -30463,32 +30463,32 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
state: n
}
}), f = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(WE.span, {
+ return /*#__PURE__*/ R.createElement(UE.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ R.createElement(rD.Provider, { value: void 0 }, d.children));
-}), Cse = /*#__PURE__*/ (0, R.createContext)(null), GO = /*#__PURE__*/ (0, R.createContext)(null), wse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ R.createElement(nD.Provider, { value: void 0 }, d.children));
+}), wse = /*#__PURE__*/ (0, R.createContext)(null), WO = /*#__PURE__*/ (0, R.createContext)(null), Tse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = BE(r, t, Cse);
- let i = Rh((0, R.useMemo)(() => yh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = U_(e), o = tne({
- ...HE(e),
+ [e, t] = zE(r, t, wse);
+ let i = Rh((0, R.useMemo)(() => yh(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = U_(e), o = nne({
+ ...VE(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ R.createElement(LE, { values: [[GO, a], [KO, {
+ return /*#__PURE__*/ R.createElement(IE, { values: [[WO, a], [GO, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ R.createElement(Tse, {
+ }]] }, /*#__PURE__*/ R.createElement(Ese, {
...e,
ref: t
}));
-}), KO = /*#__PURE__*/ (0, R.createContext)(null), Tse = /*#__PURE__*/ (0, R.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, R.useContext)(KO), { isFocused: f, isFocusVisible: p, focusProps: m } = cy(), h = a || o, g = (0, R.useContext)(GO), { hoverProps: _, isHovered: v } = fy({
+}), GO = /*#__PURE__*/ (0, R.createContext)(null), Ese = /*#__PURE__*/ (0, R.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, R.useContext)(GO), { isFocused: f, isFocusVisible: p, focusProps: m } = cy(), h = a || o, g = (0, R.useContext)(WO), { hoverProps: _, isHovered: v } = fy({
...e,
isDisabled: h
- }), y = RE({
+ }), y = LE({
...e,
defaultClassName: u,
values: {
@@ -30504,7 +30504,7 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
state: g
}
}), b = jg(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ R.createElement(WE.label, {
+ return delete b.id, delete b.onClick, /*#__PURE__*/ R.createElement(UE.label, {
...H(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -30521,7 +30521,7 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
...H(r, m),
ref: l
})), y.children);
-}), qO = 10, JO = 5, Ese = class {
+}), KO = 10, qO = 5, Dse = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -30531,7 +30531,7 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
}
resolveDropTarget(e, t, n, r) {
let i = this.pointerTracking, a = n - i.lastY, o = t - i.lastX, s = i.yDirection, c = i.xDirection;
- if (Math.abs(a) > JO && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > qO && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > qO && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > KO && (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);
@@ -30610,11 +30610,11 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > JO && i) {
+ if (Math.abs(r - c.lastSwitchY) > qO && i) {
let t = c.preferredTargetIndex || 0;
i === "down" && t === 0 ? c.preferredTargetIndex = e.length - 1 : i === "up" && t === e.length - 1 && (c.preferredTargetIndex = 0), o.xDirection = null;
}
- if (l > qO && a) {
+ if (l > KO && 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;
}
@@ -30629,7 +30629,7 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
boundaryContext: null
};
}
-}, Dse = class {
+}, Ose = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -30699,8 +30699,8 @@ for (var WO = /*#__PURE__*/ (0, R.createContext)(null), Sse = /*#__PURE__*/ Gh(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, YO = "row-header-column-" + Math.random().toString(36).slice(2), XO = "row-header-column-" + Math.random().toString(36).slice(2); YO === XO;) XO = "row-header-column-" + Math.random().toString(36).slice(2);
-function ZO(e, t) {
+}, JO = "row-header-column-" + Math.random().toString(36).slice(2), YO = "row-header-column-" + Math.random().toString(36).slice(2); JO === YO;) YO = "row-header-column-" + Math.random().toString(36).slice(2);
+function XO(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -30784,13 +30784,13 @@ function ZO(e, t) {
textValue: ""
}));
}
-var Ose = class extends Dse {
+var kse = class extends Ose {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: YO,
+ key: JO,
value: null,
textValue: "",
level: 0,
@@ -30805,7 +30805,7 @@ var Ose = class extends Dse {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: XO,
+ key: YO,
value: null,
textValue: "",
level: 0,
@@ -30832,7 +30832,7 @@ var Ose = class extends Dse {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = ZO(s, a);
+ let l = XO(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -30893,8 +30893,8 @@ var Ose = class extends Dse {
};
//#endregion
//#region node_modules/react-stately/dist/private/grid/useGridState.mjs
-function kse(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || rO(e), i = (0, R.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function Ase(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || nO(e), i = (0, R.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);
@@ -30905,7 +30905,7 @@ function kse(e) {
}
a(e, r);
};
- let o = (0, R.useMemo)(() => new aO(t, r), [t, r]), s = (0, R.useRef)(null);
+ let o = (0, R.useMemo)(() => new iO(t, r), [t, r]), s = (0, R.useRef)(null);
return (0, R.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;
@@ -30944,11 +30944,11 @@ function kse(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/table/useTableState.mjs
-var Ase = {
+var jse = {
ascending: "descending",
descending: "ascending"
};
-function jse(e) {
+function Mse(e) {
let [t, n] = (0, R.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, R.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -30959,7 +30959,7 @@ function jse(e) {
i,
r,
a
- ]), c = cO(e, (0, R.useCallback)((e) => new Ose(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = kse({
+ ]), c = sO(e, (0, R.useCallback)((e) => new kse(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Ase({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
@@ -30975,7 +30975,7 @@ function jse(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Ase[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? jse[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -30988,7 +30988,7 @@ function jse(e) {
treeColumn: o
};
}
-function Mse(e, t) {
+function Nse(e, t) {
let n = (0, R.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -30998,7 +30998,7 @@ function Mse(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Table.mjs
-var Nse = class extends dp {
+var Pse = class extends dp {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -31013,7 +31013,7 @@ var Nse = class extends dp {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new ik(-2);
+ return new rk(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -31039,7 +31039,7 @@ var Nse = class extends dp {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = ZO(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
+ if (this.headerRows = XO(t, this.columns), this.columnsDirty = !1, this.rowHeaderColumnKeys.size === 0 && this.columns.length > 0 && !e) throw Error("A table must have at least one Column with the isRowHeader prop set to true");
}
get columnCount() {
return this.columns.length;
@@ -31120,11 +31120,11 @@ var Nse = class extends dp {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new tk(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
+ super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new ek(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Pse = /*#__PURE__*/ (0, R.createContext)(null), Fse = /*#__PURE__*/ (0, R.createContext)(null), QO = /*#__PURE__*/ (0, R.createContext)(null), $O = /*#__PURE__*/ (0, R.createContext)(null), Ise = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = BE(e, t, Fse);
- let n = rO(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, R.useMemo)(() => ({
+}, Fse = /*#__PURE__*/ (0, R.createContext)(null), Ise = /*#__PURE__*/ (0, R.createContext)(null), ZO = /*#__PURE__*/ (0, R.createContext)(null), QO = /*#__PURE__*/ (0, R.createContext)(null), Lse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = zE(e, t, Ise);
+ let n = nO(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, R.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -31134,26 +31134,26 @@ var Nse = class extends dp {
i,
a,
o
- ]), c = /*#__PURE__*/ R.createElement(zse.Provider, { value: s }, /*#__PURE__*/ R.createElement(ug, e));
+ ]), c = /*#__PURE__*/ R.createElement(Bse.Provider, { value: s }, /*#__PURE__*/ R.createElement(ug, e));
return /*#__PURE__*/ R.createElement(Qh, {
content: c,
- createCollection: () => new Nse()
- }, (r) => /*#__PURE__*/ R.createElement(Rse, {
+ createCollection: () => new Pse()
+ }, (r) => /*#__PURE__*/ R.createElement(zse, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), Lse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(XE);
- return n ? /*#__PURE__*/ R.createElement(WE.div, {
+}), Rse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(YE);
+ return n ? /*#__PURE__*/ R.createElement(UE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(WE.table, {
+ }) : /*#__PURE__*/ R.createElement(UE.table, {
...e,
ref: t
});
-}), ek = {
+}), $O = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -31163,26 +31163,26 @@ var Nse = class extends dp {
rtl: "ArrowRight"
}
};
-function Rse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = BE(e, t, GE);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, R.useContext)(Pse);
+function zse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = zE(e, t, WE);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, R.useContext)(Fse);
t = Rh((0, R.useMemo)(() => yh(t, c?.tableRef), [t, c?.tableRef]));
let [l, u] = H_(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, R.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = jse({
+ let d = Mse({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Mse(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, R.useContext)(XE), { dragAndDropHooks: _ } = e, { gridProps: v } = sne({
+ }), f = Nse(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, R.useContext)(YE), { dragAndDropHooks: _ } = e, { gridProps: v } = cne({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, R.useRef)(b), (0, R.useRef)(x), (0, R.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, R.useRef)(null), { direction: O } = Cg(), [k] = (0, R.useState)(() => new Ese());
+ let S, C, w, T = !1, E = null, D = (0, R.useRef)(null), { direction: O } = Cg(), [k] = (0, R.useState)(() => new Dse());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -31217,12 +31217,12 @@ function Rse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
let t = C?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = d.collection.getItem(t.key);
- (e.key === ek.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === ek.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === $O.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === $O.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = cy(), N = RE({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = cy(), N = LE({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -31239,18 +31239,18 @@ function Rse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
width: "min-content"
}));
let F = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(LE, { values: [
- [QO, f],
- [$O, P],
- [KD, {
+ return /*#__PURE__*/ R.createElement(IE, { values: [
+ [ZO, f],
+ [QO, P],
+ [GD, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [qD, { render: Yse }],
- [GE, null],
- [KE, null]
- ] }, /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(Lse, {
+ [KD, { render: Xse }],
+ [WE, null],
+ [GE, null]
+ ] }, /*#__PURE__*/ R.createElement(e_, null, /*#__PURE__*/ R.createElement(Rse, {
...H(F, N, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -31260,45 +31260,45 @@ function Rse({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ R.createElement(ZD, null, /*#__PURE__*/ R.createElement(g, {
+ }, /*#__PURE__*/ R.createElement(XD, null, /*#__PURE__*/ R.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: YD(y, _, C)
+ persistedKeys: JD(y, _, C)
})))), E);
}
-var zse = /*#__PURE__*/ (0, R.createContext)(null), tk = class extends op {
+var Bse = /*#__PURE__*/ (0, R.createContext)(null), ek = class extends op {
static {
this.type = "tableheader";
}
-}, Bse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(XE);
- return n ? /*#__PURE__*/ R.createElement(WE.div, {
+}, Vse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(YE);
+ return n ? /*#__PURE__*/ R.createElement(UE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(WE.thead, {
+ }) : /*#__PURE__*/ R.createElement(UE.thead, {
...e,
ref: t
});
-}), nk = /*#__PURE__*/ sg(tk, (e, t) => {
- let n = (0, R.useContext)(QO).collection, r = gp({
+}), tk = /*#__PURE__*/ sg(ek, (e, t) => {
+ let n = (0, R.useContext)(ZO).collection, r = gp({
items: n.headerRows,
children: (0, R.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ R.createElement(Hse, { item: e });
+ case "headerrow": return /*#__PURE__*/ R.createElement(Use, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = nS(), { hoverProps: a, isHovered: o } = fy({
+ }), { rowGroupProps: i } = tS(), { hoverProps: a, isHovered: o } = fy({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = RE({
+ }), s = LE({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ R.createElement(Bse, {
+ return /*#__PURE__*/ R.createElement(Vse, {
...H(jg(e, { global: !0 }), i, a),
...s,
ref: t,
@@ -31307,8 +31307,8 @@ var zse = /*#__PURE__*/ (0, R.createContext)(null), tk = class extends op {
}, (e) => /*#__PURE__*/ R.createElement(ug, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), Vse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(XE);
+}, e.children)), Hse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(YE);
return n ? /*#__PURE__*/ R.createElement("div", {
...e,
ref: t
@@ -31317,41 +31317,41 @@ var zse = /*#__PURE__*/ (0, R.createContext)(null), tk = class extends op {
ref: t
});
});
-function Hse({ item: e }) {
- let t = (0, R.useRef)(null), n = (0, R.useContext)(QO), { isVirtualized: r, CollectionBranch: i } = (0, R.useContext)(XE), { rowProps: a } = dne({
+function Use({ item: e }) {
+ let t = (0, R.useRef)(null), n = (0, R.useContext)(ZO), { isVirtualized: r, CollectionBranch: i } = (0, R.useContext)(YE), { rowProps: a } = fne({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = vne(n);
- return /*#__PURE__*/ R.createElement(Vse, {
+ }, n, t), { checkboxProps: o } = yne(n);
+ return /*#__PURE__*/ R.createElement(Hse, {
...a,
ref: t
- }, /*#__PURE__*/ R.createElement(LE, { values: [[oD, { slots: { selection: o } }], [sD, { slots: { selection: o } }]] }, /*#__PURE__*/ R.createElement(i, {
+ }, /*#__PURE__*/ R.createElement(IE, { values: [[aD, { slots: { selection: o } }], [oD, { slots: { selection: o } }]] }, /*#__PURE__*/ R.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var Use = class extends op {
+var Wse = class extends op {
static {
this.type = "column";
}
-}, Wse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(XE);
- return n ? /*#__PURE__*/ R.createElement(WE.div, {
+}, Gse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(YE);
+ return n ? /*#__PURE__*/ R.createElement(UE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(WE.th, {
+ }) : /*#__PURE__*/ R.createElement(UE.th, {
...e,
ref: t
});
-}), rk = /*#__PURE__*/ og(Use, (e, t, n) => {
- let r = Rh(t), i = (0, R.useContext)(QO), { isVirtualized: a } = (0, R.useContext)(XE), { columnHeaderProps: o, isPressed: s } = une({
+}), nk = /*#__PURE__*/ og(Wse, (e, t, n) => {
+ let r = Rh(t), i = (0, R.useContext)(ZO), { isVirtualized: a } = (0, R.useContext)(YE), { columnHeaderProps: o, isPressed: s } = dne({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = cy(), d = (0, R.useContext)($O), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = cy(), d = (0, R.useContext)(QO), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = fy({ isDisabled: !e.allowsSorting }), h = RE({
+ let { hoverProps: p, isHovered: m } = fy({ isDisabled: !e.allowsSorting }), h = LE({
...e,
id: void 0,
children: n.rendered,
@@ -31378,7 +31378,7 @@ var Use = class extends op {
width: d.getColumnWidth(n.key)
});
let _ = jg(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ R.createElement(Wse, {
+ return delete _.id, /*#__PURE__*/ R.createElement(Gse, {
...H(_, o, u, p),
...h,
style: g,
@@ -31390,28 +31390,28 @@ var Use = class extends op {
"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__*/ R.createElement(LE, { values: [[Gse, {
+ }, /*#__PURE__*/ R.createElement(IE, { values: [[Kse, {
column: n,
triggerRef: r
- }], [XE, JE]] }, h.children));
-}), Gse = /*#__PURE__*/ (0, R.createContext)(null), ik = class extends sp {
+ }], [YE, qE]] }, h.children));
+}), Kse = /*#__PURE__*/ (0, R.createContext)(null), rk = class extends sp {
static {
this.type = "tablebody";
}
-}, Kse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(XE);
- return n ? /*#__PURE__*/ R.createElement(WE.div, {
+}, qse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(YE);
+ return n ? /*#__PURE__*/ R.createElement(UE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(WE.tbody, {
+ }) : /*#__PURE__*/ R.createElement(UE.tbody, {
...e,
ref: t
});
-}), ak = /*#__PURE__*/ sg(ik, (e, t, n) => {
- let r = (0, R.useContext)(QO), { isVirtualized: i } = (0, R.useContext)(XE), a = r.collection, { CollectionBranch: o } = (0, R.useContext)(XE), { dragAndDropHooks: s, dropState: c } = (0, R.useContext)(KD), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), ik = /*#__PURE__*/ sg(rk, (e, t, n) => {
+ let r = (0, R.useContext)(ZO), { isVirtualized: i } = (0, R.useContext)(YE), a = r.collection, { CollectionBranch: o } = (0, R.useContext)(YE), { dragAndDropHooks: s, dropState: c } = (0, R.useContext)(GD), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = RE({
+ }, p = LE({
...e,
id: void 0,
children: void 0,
@@ -31420,25 +31420,25 @@ var Use = class extends op {
}), 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__*/ R.createElement(sk, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ R.createElement(ok, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ R.createElement(lk, {
+ }, /*#__PURE__*/ R.createElement(ck, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = nS(), _ = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(Kse, {
+ let { rowGroupProps: g } = tS(), _ = jg(e, { global: !0 });
+ return /*#__PURE__*/ R.createElement(qse, {
...H(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ R.createElement(ece, null), /*#__PURE__*/ R.createElement(o, {
+ }, l && /*#__PURE__*/ R.createElement(tce, null), /*#__PURE__*/ R.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: JD(s, c)
+ renderDropIndicator: qD(s, c)
}), m);
});
(class extends sp {
@@ -31446,7 +31446,7 @@ var Use = class extends op {
this.type = "tablefooter";
}
});
-var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qse = class extends op {
+var ak = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), Jse = class extends op {
static {
this.type = "item";
}
@@ -31458,17 +31458,17 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
}
return null;
}
-}, sk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(XE);
- return n ? /*#__PURE__*/ R.createElement(WE.div, {
+}, ok = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(YE);
+ return n ? /*#__PURE__*/ R.createElement(UE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(WE.tr, {
+ }) : /*#__PURE__*/ R.createElement(UE.tr, {
...e,
ref: t
});
-}), ck = /*#__PURE__*/ sg(qse, (e, t, n) => {
- let r = Rh(t), i = (0, R.useContext)(QO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(KD), { isVirtualized: c, CollectionBranch: l } = (0, R.useContext)(XE), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = mne({
+}), sk = /*#__PURE__*/ sg(Jse, (e, t, n) => {
+ let r = Rh(t), i = (0, R.useContext)(ZO), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, R.useContext)(GD), { isVirtualized: c, CollectionBranch: l } = (0, R.useContext)(YE), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = hne({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
@@ -31477,7 +31477,7 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = _ne({ key: n.key }, i), S;
+ }), { checkboxProps: x } = vne({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
@@ -31492,7 +31492,7 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
(0, R.useEffect)(() => {
o && E.current;
}, []);
- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = RE({
+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = LE({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -31514,10 +31514,10 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
level: n.level + 1
}
}), N = jg(e, { global: !0 });
- return delete N.id, delete N.onClick, /*#__PURE__*/ R.createElement(R.Fragment, null, C && !C.isHidden && /*#__PURE__*/ R.createElement(sk, {
+ return delete N.id, delete N.onClick, /*#__PURE__*/ R.createElement(R.Fragment, null, C && !C.isHidden && /*#__PURE__*/ R.createElement(ok, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ R.createElement(lk, {
+ }, /*#__PURE__*/ R.createElement(ck, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -31526,7 +31526,7 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ R.createElement(sk, {
+ }))), /*#__PURE__*/ R.createElement(ok, {
...H(N, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -31542,17 +31542,17 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ R.createElement(LE, { values: [
- [oD, { slots: {
- [IE]: {},
+ }, /*#__PURE__*/ R.createElement(IE, { values: [
+ [aD, { slots: {
+ [FE]: {},
selection: x
} }],
- [sD, { slots: {
- [IE]: {},
+ [oD, { slots: {
+ [FE]: {},
selection: x
} }],
- [$E, { slots: {
- [IE]: {},
+ [QE, { slots: {
+ [FE]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -31560,8 +31560,8 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
style: { pointerEvents: "none" }
}
} }],
- [QD, { isSelected: p.isSelected }],
- [ok, { isFocusVisibleWithinRow: _ }]
+ [ZD, { isSelected: p.isSelected }],
+ [ak, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ R.createElement(l, {
collection: i.collection,
parent: n
@@ -31574,29 +31574,29 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
items: e.columns,
idScope: e.id
}, e.children);
-}), Jse = class extends op {
+}), Yse = class extends op {
static {
this.type = "cell";
}
-}, lk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(XE);
- return n ? /*#__PURE__*/ R.createElement(WE.div, {
+}, ck = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(YE);
+ return n ? /*#__PURE__*/ R.createElement(UE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(WE.td, {
+ }) : /*#__PURE__*/ R.createElement(UE.td, {
...e,
ref: t
});
-}), uk = /*#__PURE__*/ og(Jse, (e, t, n) => {
- let r = Rh(t), i = (0, R.useContext)(QO), { dragState: a } = (0, R.useContext)(KD), { isVirtualized: o } = (0, R.useContext)(XE);
+}), lk = /*#__PURE__*/ og(Yse, (e, t, n) => {
+ let r = Rh(t), i = (0, R.useContext)(ZO), { dragState: a } = (0, R.useContext)(GD), { isVirtualized: o } = (0, R.useContext)(YE);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = cne({
+ let { gridCellProps: s, isPressed: c } = lne({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = cy(), { hoverProps: f, isHovered: p } = fy({}), { isFocusVisibleWithinRow: m } = (0, R.useContext)(ok), 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 = RE({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = cy(), { hoverProps: f, isHovered: p } = fy({}), { isFocusVisibleWithinRow: m } = (0, R.useContext)(ak), 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 = LE({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -31616,7 +31616,7 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
isTreeColumn: n.column.key === i.treeColumn
}
}), S = jg(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ R.createElement(lk, {
+ return delete S.id, /*#__PURE__*/ R.createElement(ck, {
...H(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -31630,14 +31630,14 @@ var ok = /*#__PURE__*/ (0, R.createContext)({ isFocusVisibleWithinRow: !1 }), qs
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ R.createElement(XE.Provider, { value: JE }, x.children));
+ }, /*#__PURE__*/ R.createElement(YE.Provider, { value: qE }, x.children));
});
-function Yse(e, t) {
+function Xse(e, t) {
t = Rh(t);
- let { dragAndDropHooks: n, dropState: r } = (0, R.useContext)(KD), i = (0, R.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+ let { dragAndDropHooks: n, dropState: r } = (0, R.useContext)(GD), i = (0, R.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__*/ R.createElement($se, {
+ return /*#__PURE__*/ R.createElement(ece, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -31646,40 +31646,40 @@ function Yse(e, t) {
ref: t
});
}
-var Xse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(XE);
- return n ? /*#__PURE__*/ R.createElement(WE.div, {
+var Zse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(YE);
+ return n ? /*#__PURE__*/ R.createElement(UE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(WE.tr, {
+ }) : /*#__PURE__*/ R.createElement(UE.tr, {
...e,
ref: t
});
-}), Zse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, R.useContext)(XE);
- return n ? /*#__PURE__*/ R.createElement(WE.div, {
+}), Qse = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, R.useContext)(YE);
+ return n ? /*#__PURE__*/ R.createElement(UE.div, {
...e,
ref: t
- }) : /*#__PURE__*/ R.createElement(WE.td, {
+ }) : /*#__PURE__*/ R.createElement(UE.td, {
...e,
ref: t
});
});
-function Qse(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, R.useContext)(QO), { visuallyHiddenProps: c } = K_(), l = RE({
+function $se(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, R.useContext)(ZO), { visuallyHiddenProps: c } = K_(), l = LE({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ R.createElement(Xse, {
+ return /*#__PURE__*/ R.createElement(Zse, {
...jg(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ R.createElement(Zse, {
+ }, /*#__PURE__*/ R.createElement(Qse, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -31690,14 +31690,14 @@ function Qse(e, t) {
ref: i
}), l.children));
}
-var $se = /*#__PURE__*/ (0, R.forwardRef)(Qse);
-function ece() {
- let e = (0, R.useContext)(QO), { dragAndDropHooks: t, dropState: n } = (0, R.useContext)(KD), r = (0, R.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = K_();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ R.createElement(sk, {
+var ece = /*#__PURE__*/ (0, R.forwardRef)($se);
+function tce() {
+ let e = (0, R.useContext)(ZO), { dragAndDropHooks: t, dropState: n } = (0, R.useContext)(GD), r = (0, R.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = K_();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ R.createElement(ok, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ R.createElement(lk, {
+ }, /*#__PURE__*/ R.createElement(ck, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -31709,8 +31709,8 @@ function ece() {
})));
}
og(cp, function(e, t, n) {
- let r = (0, R.useContext)(QO), { isVirtualized: i } = (0, R.useContext)(XE), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, R.useRef)(null);
- dO((0, R.useMemo)(() => ({
+ let r = (0, R.useContext)(ZO), { isVirtualized: i } = (0, R.useContext)(YE), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, R.useRef)(null);
+ uO((0, R.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -31720,7 +31720,7 @@ og(cp, function(e, t, n) {
s,
r?.collection
]), u);
- let d = RE({
+ let d = LE({
...c,
id: void 0,
children: n.rendered,
@@ -31728,10 +31728,10 @@ og(cp, function(e, t, n) {
defaultStyle: { "--table-row-level": n.level + 1 },
values: void 0
}), f = {}, p = {}, m = {};
- return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(sk, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(ok, {
style: { height: 0 },
- inert: eO(!0)
- }, /*#__PURE__*/ R.createElement(lk, { style: {
+ inert: $D(!0)
+ }, /*#__PURE__*/ R.createElement(ck, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ R.createElement("div", {
@@ -31742,14 +31742,14 @@ og(cp, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ R.createElement(sk, {
+ }))), a && d.children && /*#__PURE__*/ R.createElement(ok, {
...H(jg(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ R.createElement(lk, {
+ }, /*#__PURE__*/ R.createElement(ck, {
role: "rowheader",
...p,
style: m
@@ -31757,8 +31757,8 @@ og(cp, function(e, t, n) {
});
//#endregion
//#region node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function tce(e) {
- let [t, n] = H_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, R.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = lO({
+function nce(e) {
+ let [t, n] = H_(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, R.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = cO({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -31781,24 +31781,24 @@ function tce(e) {
}
//#endregion
//#region node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function nce(e) {
- let t = tce({
+function rce(e) {
+ let t = nce({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? dk(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? uk(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, R.useRef)(i);
return (0, R.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = dk(r, t.disabledKeys), o != null && n.setSelectedKeys([o])), (o != null && n.focusedKey == null || !n.isFocused && o !== a.current) && n.setFocusedKey(o), a.current = o;
+ e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = uk(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 dk(e, t) {
+function uk(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);
@@ -31808,20 +31808,20 @@ function dk(e, t) {
}
//#endregion
//#region node_modules/react-aria-components/dist/private/Tabs.mjs
-var fk = /*#__PURE__*/ (0, R.createContext)(null), pk = /*#__PURE__*/ (0, R.createContext)(null), mk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- [e, t] = BE(e, t, fk);
+var dk = /*#__PURE__*/ (0, R.createContext)(null), fk = /*#__PURE__*/ (0, R.createContext)(null), pk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ [e, t] = zE(e, t, dk);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, R.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ R.createElement(Qh, { content: n }, (n) => /*#__PURE__*/ R.createElement(rce, {
+ }) : n, [n, r]), /*#__PURE__*/ R.createElement(Qh, { content: n }, (n) => /*#__PURE__*/ R.createElement(ice, {
props: e,
collection: n,
tabsRef: t
}));
});
-function rce({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = nce({
+function ice({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = rce({
...e,
collection: n,
children: void 0
@@ -31833,12 +31833,12 @@ function rce({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = RE({
+ ]), l = LE({
...e,
defaultClassName: "react-aria-Tabs",
values: c
}), u = jg(e, { global: !0 });
- return /*#__PURE__*/ R.createElement(WE.div, {
+ return /*#__PURE__*/ R.createElement(UE.div, {
...H(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -31846,20 +31846,20 @@ function rce({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ R.createElement(LE, { values: [[fk, e], [pk, i]] }, l.children));
+ }, /*#__PURE__*/ R.createElement(IE, { values: [[dk, e], [fk, i]] }, l.children));
}
-var hk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- return (0, R.useContext)(pk) ? /*#__PURE__*/ R.createElement(ice, {
+var mk = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ return (0, R.useContext)(fk) ? /*#__PURE__*/ R.createElement(ace, {
props: e,
forwardedRef: t
}) : /*#__PURE__*/ R.createElement(ug, e);
});
-function ice({ props: e, forwardedRef: t }) {
- let n = (0, R.useContext)(pk), { CollectionRoot: r } = (0, R.useContext)(XE), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = zE(fk), o = Rh(t), { tabListProps: s } = xne({
+function ace({ props: e, forwardedRef: t }) {
+ let n = (0, R.useContext)(fk), { CollectionRoot: r } = (0, R.useContext)(YE), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = RE(dk), o = Rh(t), { tabListProps: s } = Sne({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = RE({
+ }, n, o), c = LE({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -31868,21 +31868,21 @@ function ice({ props: e, forwardedRef: t }) {
state: n
}
}), l = jg(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ R.createElement(WE.div, {
+ return delete l.id, /*#__PURE__*/ R.createElement(UE.div, {
...H(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ R.createElement(ZD, null, /*#__PURE__*/ R.createElement(r, {
+ }, /*#__PURE__*/ R.createElement(XD, null, /*#__PURE__*/ R.createElement(r, {
collection: n.collection,
- persistedKeys: ZE(n.selectionManager.focusedKey)
+ persistedKeys: XE(n.selectionManager.focusedKey)
})));
}
-var gk = /*#__PURE__*/ og(class extends op {
+var hk = /*#__PURE__*/ og(class extends op {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, R.useContext)(pk), i = Rh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = yne({
+ let r = (0, R.useContext)(fk), i = Rh(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = bne({
key: n.key,
...e
}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = cy(), { hoverProps: f, isHovered: p } = fy({
@@ -31890,7 +31890,7 @@ var gk = /*#__PURE__*/ og(class extends op {
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = RE({
+ }), m = LE({
...e,
id: void 0,
children: n.rendered,
@@ -31903,7 +31903,7 @@ var gk = /*#__PURE__*/ og(class extends op {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? WE.a : WE.div, g = jg(e, { global: !0 });
+ }), h = n.props.href ? UE.a : UE.div, g = jg(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ R.createElement(h, {
...H(g, m, a, l, f),
ref: i,
@@ -31913,26 +31913,26 @@ var gk = /*#__PURE__*/ og(class extends op {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ R.createElement(QD.Provider, { value: { isSelected: o } }, m.children));
-}), _k = /*#__PURE__*/ Gh(function(e, t) {
- let n = (0, R.useContext)(pk), r = Rh(t), i = n.selectedKey === e.id, [a, o] = (0, R.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ R.createElement(ZD.Provider, { value: { isSelected: o } }, m.children));
+}), gk = /*#__PURE__*/ Gh(function(e, t) {
+ let n = (0, R.useContext)(fk), r = Rh(t), i = n.selectedKey === e.id, [a, o] = (0, R.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = _O(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ R.createElement(ace, {
+ let s = gO(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ R.createElement(oce, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function ace(e) {
- let t = (0, R.useContext)(pk), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Sne(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = cy(), d = t.selectedKey === e.id, f = gO(r) && !i, p = RE({
+function oce(e) {
+ let t = (0, R.useContext)(fk), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Cne(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = cy(), d = t.selectedKey === e.id, f = hO(r) && !i, p = LE({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: eO(!d),
+ isInert: $D(!d),
isEntering: f,
isExiting: a,
state: t
@@ -31940,31 +31940,31 @@ function ace(e) {
}), m = jg(o, { global: !0 });
delete m.id;
let h = d ? H(m, s, c, p) : H(m, p);
- return /*#__PURE__*/ R.createElement(WE.div, {
+ return /*#__PURE__*/ R.createElement(UE.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: eO(!d || e.inert),
+ inert: $D(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ R.createElement(LE, { values: [[fk, null], [pk, null]] }, /*#__PURE__*/ R.createElement(XE.Provider, { value: JE }, p.children)));
+ }, /*#__PURE__*/ R.createElement(IE, { values: [[dk, null], [fk, null]] }, /*#__PURE__*/ R.createElement(YE.Provider, { value: qE }, p.children)));
}
//#endregion
//#region node_modules/react-aria-components/dist/private/TextArea.mjs
-var oce = /*#__PURE__*/ (0, R.createContext)({}), sce = /*#__PURE__*/ (0, R.createContext)(null), cce = /*#__PURE__*/ Gh(function(e, t) {
- [e, t] = BE(e, t, sce);
- let { validationBehavior: n } = zE(aD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, R.useRef)(null);
- [e, i] = BE(e, i, KE);
- let [a, o] = VE(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, R.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = tte({
- ...HE(e),
+var sce = /*#__PURE__*/ (0, R.createContext)({}), cce = /*#__PURE__*/ (0, R.createContext)(null), lce = /*#__PURE__*/ Gh(function(e, t) {
+ [e, t] = zE(e, t, cce);
+ let { validationBehavior: n } = RE(iD) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, R.useRef)(null);
+ [e, i] = zE(e, i, GE);
+ let [a, o] = BE(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, R.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = tte({
+ ...VE(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, R.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = RE({
+ }, [i]), h = LE({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -31974,7 +31974,7 @@ var oce = /*#__PURE__*/ (0, R.createContext)({}), sce = /*#__PURE__*/ (0, R.crea
},
defaultClassName: "react-aria-TextField"
}), g = jg(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ R.createElement(WE.div, {
+ return delete g.id, /*#__PURE__*/ R.createElement(UE.div, {
...g,
...h,
ref: t,
@@ -31983,38 +31983,38 @@ var oce = /*#__PURE__*/ (0, R.createContext)({}), sce = /*#__PURE__*/ (0, R.crea
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ R.createElement(LE, { values: [
- [QE, {
+ }, /*#__PURE__*/ R.createElement(IE, { values: [
+ [ZE, {
...l,
ref: a
}],
- [uD, {
+ [lD, {
...u,
ref: m
}],
- [oce, {
+ [sce, {
...u,
ref: m
}],
- [lD, {
+ [cD, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [rD, { slots: {
+ [nD, { slots: {
description: d,
errorMessage: f
} }],
- [iD, p]
+ [rD, p]
] }, h.children));
});
//#endregion
//#region src/react/boardui/components/base/input/label.tsx
-function lce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, B.jsxs)(xoe, {
+function uce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, B.jsxs)(Soe, {
"data-label": "true",
...a,
- className: CE("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
+ className: SE("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
children: [
i,
e && /* @__PURE__ */ (0, B.jsx)("span", {
@@ -32022,7 +32022,7 @@ function lce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, B.jsx)(oae, {
+ n && /* @__PURE__ */ (0, B.jsx)(sae, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -32031,33 +32031,33 @@ function lce({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, child
}
//#endregion
//#region src/react/boardui/components/base/input/hint-text.tsx
-function uce({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, B.jsx)(Toe, {
+function dce({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, B.jsx)(Eoe, {
slot: e ? "errorMessage" : "description",
...n,
- className: CE("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
+ className: SE("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
//#endregion
//#region src/react/boardui/components/base/input/input.tsx
-var vk = (0, R.createContext)({});
-function yk({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, B.jsx)(vk.Provider, {
+var _k = (0, R.createContext)({});
+function vk({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, B.jsx)(_k.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, B.jsx)(cce, {
+ children: /* @__PURE__ */ (0, B.jsx)(lce, {
...a,
"data-input-size": e,
- className: CE("group flex h-max w-full flex-col items-start gap-1", r),
+ className: SE("group flex h-max w-full flex-col items-start gap-1", r),
children: i
})
});
}
-yk.displayName = "TextField";
-var bk = wE({
+vk.displayName = "TextField";
+var yk = CE({
field: [
"relative flex w-full items-center",
"rounded-2lg",
@@ -32086,44 +32086,44 @@ var bk = wE({
].join(" "),
icon: "size-5 shrink-0"
});
-function xk({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, R.useContext)(vk), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, B.jsx)(Aoe, {
+function bk({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, R.useContext)(_k), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, B.jsx)(joe, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => CE(bk.field, d ? bk.fieldWithAddonSize[u] : bk.fieldSize[u], t && !e && !n && !r && "ring-border-button-hover", e && !n && !r && "ring-border-button-active", n && "bg-input-disabled-background text-input-disabled-foreground", r && "bg-background-tertiary-error text-foreground-icon-error", l.fieldClassName, i),
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => SE(yk.field, d ? yk.fieldWithAddonSize[u] : yk.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, B.jsxs)("div", {
- className: bk.content,
+ className: yk.content,
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
- className: bk.leftSection,
+ className: yk.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, B.jsx)(t, {
- className: bk.icon,
+ className: yk.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, B.jsx)(Moe, {
+ }) : null, /* @__PURE__ */ (0, B.jsx)(Noe, {
ref: o,
...c,
- className: CE(bk.input, l.inputClassName, a)
+ className: SE(yk.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, B.jsx)(n, {
- className: bk.icon,
+ className: yk.icon,
"aria-hidden": !0
}) : null]
})
});
}
-xk.displayName = "InputBase";
-function Sk({ 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, B.jsx)(yk, {
+bk.displayName = "InputBase";
+function xk({ 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, B.jsx)(vk, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- e && /* @__PURE__ */ (0, B.jsx)(lce, {
+ e && /* @__PURE__ */ (0, B.jsx)(uce, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, B.jsx)(xk, {
+ /* @__PURE__ */ (0, B.jsx)(bk, {
ref: c,
groupRef: l,
placeholder: r,
@@ -32132,17 +32132,17 @@ function Sk({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, B.jsx)(uce, {
+ t && /* @__PURE__ */ (0, B.jsx)(dce, {
isInvalid: d,
children: t
})
] })
});
}
-Sk.displayName = "Input";
+xk.displayName = "Input";
//#endregion
//#region src/react/boardui/components/base/dropdown/menu-styles.ts
-var Ck = [
+var Sk = [
"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",
@@ -32150,10 +32150,10 @@ var Ck = [
"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(" "), dce = "w-[266px]", fce = "flex w-full flex-col gap-1 outline-none", wk = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), Tk = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+].join(" "), fce = "w-[266px]", pce = "flex w-full flex-col gap-1 outline-none", Ck = ["flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left", "text-text-primary outline-none transition-colors"].join(" "), wk = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
//#endregion
//#region src/react/boardui/components/foundations/icons/chevrons.tsx
-function pce(e) {
+function mce(e) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -32167,7 +32167,7 @@ function pce(e) {
})
});
}
-function mce(e) {
+function hce(e) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -32181,7 +32181,7 @@ function mce(e) {
}
//#endregion
//#region src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function hce(e, t, n) {
+function gce(e, t, n) {
(0, R.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -32195,7 +32195,7 @@ function hce(e, t, n) {
n
]);
}
-function gce(e, t) {
+function _ce(e, t) {
let n = (0, R.useRef)(!1);
return (0, R.useEffect)(() => {
if (!e) return;
@@ -32209,33 +32209,33 @@ function gce(e, t) {
}
//#endregion
//#region src/react/boardui/components/base/select/select.tsx
-var Ek = (0, R.createContext)("md");
-function Dk({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var Tk = (0, R.createContext)("md");
+function Ek({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, R.useRef)(null), u = (0, R.useRef)(null), [d, f] = (0, R.useState)(!1);
- hce(d, () => f(!1), [l, u]);
- let p = gce(d, l);
- return /* @__PURE__ */ (0, B.jsx)(yse, {
+ gce(d, () => f(!1), [l, u]);
+ let p = _ce(d, l);
+ return /* @__PURE__ */ (0, B.jsx)(bse, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
- className: CE("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)(eD, {
+ className: SE("group flex flex-col", e),
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)($E, {
ref: l,
- className: CE("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, B.jsx)(Sse, {
- className: CE("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
+ className: SE("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, B.jsx)(Cse, {
+ className: SE("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, B.jsx)(pce, { className: CE("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, B.jsx)(xO, {
+ }), /* @__PURE__ */ (0, B.jsx)(mce, { className: SE("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, B.jsx)(bO, {
ref: u,
isNonModal: !0,
offset: 4,
- className: CE(dce, Ck, "p-2", n),
- children: /* @__PURE__ */ (0, B.jsx)(Boe, {
+ className: SE(fce, Sk, "p-2", n),
+ children: /* @__PURE__ */ (0, B.jsx)(Voe, {
items: a,
- className: CE(fce, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, B.jsx)(Ek.Provider, {
+ className: SE(pce, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, B.jsx)(Tk.Provider, {
value: r,
children: i
})
@@ -32243,31 +32243,31 @@ function Dk({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function Ok({ className: e, children: t, ...n }) {
- let r = (0, R.useContext)(Ek);
- return /* @__PURE__ */ (0, B.jsx)(Uoe, {
+function Dk({ className: e, children: t, ...n }) {
+ let r = (0, R.useContext)(Tk);
+ return /* @__PURE__ */ (0, B.jsx)(Woe, {
...n,
- className: (t) => CE(wk, r === "sm" ? "px-2 py-1.5 text-body-2-medium" : "text-body-medium", (t.isFocused || t.isSelected) && "bg-dropdown-item-hover-background", t.isDisabled && "cursor-not-allowed text-text-disabled", typeof e == "function" ? e(t) : e),
+ className: (t) => SE(Ck, 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/boardui/components/application/settings/settings-rows.tsx
-function kk({ className: e, children: t }) {
+function Ok({ className: e, children: t }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
- className: CE("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
+ className: SE("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function Ak({ className: e, children: t }) {
+function kk({ className: e, children: t }) {
return /* @__PURE__ */ (0, B.jsx)("p", {
- className: CE("w-full px-3 text-body-2-medium text-text-secondary", e),
+ className: SE("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function jk({ label: e, description: t, children: n }) {
+function Ak({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: CE("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"),
+ className: SE("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, B.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, B.jsx)("p", {
@@ -32282,7 +32282,7 @@ function jk({ label: e, description: t, children: n }) {
}
//#endregion
//#region src/react/boardui/components/base/buttons/link-button.tsx
-var Mk = wE({
+var jk = CE({
base: [
"inline-flex items-center justify-center gap-1 whitespace-nowrap",
"font-sans select-none cursor-pointer rounded-sm",
@@ -32306,15 +32306,15 @@ var Mk = wE({
secondary: ["text-text-secondary active:text-text-primary", "disabled:text-text-tertiary aria-disabled:text-text-tertiary"].join(" ")
}
});
-function Nk({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = CE(Mk.base, Mk.size[t], Mk.variant[e], a), l = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
+function Mk({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = SE(jk.base, jk.size[t], jk.variant[e], a), l = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
n ? /* @__PURE__ */ (0, B.jsx)(n, {
- className: Mk.icon[t],
+ className: jk.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, B.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, B.jsx)(r, {
- className: Mk.icon[t],
+ className: jk.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -32341,14 +32341,14 @@ function Nk({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
}
//#endregion
//#region src/react/settings/section.tsx
-function Pk({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
+function Nk({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
let a = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [n ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, B.jsx)(Ak, { children: e })
+ children: /* @__PURE__ */ (0, B.jsx)(kk, { children: e })
}), n]
- }) : /* @__PURE__ */ (0, B.jsx)(Ak, { children: e }), /* @__PURE__ */ (0, B.jsx)(kk, { children: i })] });
+ }) : /* @__PURE__ */ (0, B.jsx)(kk, { children: e }), /* @__PURE__ */ (0, B.jsx)(Ok, { children: i })] });
return r ? /* @__PURE__ */ (0, B.jsx)("form", {
id: t,
"aria-label": e,
@@ -32363,13 +32363,13 @@ function Pk({ title: e, id: t, aside: n, onSubmit: r, children: i }) {
children: a
});
}
-function Fk({ children: e }) {
+function Pk({ children: e }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-col",
children: e
});
}
-function Ik({ divided: e = !1, children: t }) {
+function Fk({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3",
children: t
@@ -32378,7 +32378,7 @@ function Ik({ divided: e = !1, children: t }) {
children: t
});
}
-function Lk({ status: e, children: t }) {
+function Ik({ status: e, children: t }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "-ml-3 flex flex-wrap items-center justify-end gap-3 rounded-b-2xl border-t border-separator-border bg-card-footer px-3 py-3",
children: [e ? /* @__PURE__ */ (0, B.jsx)("div", {
@@ -32387,34 +32387,34 @@ function Lk({ status: e, children: t }) {
}) : null, t]
});
}
-function Rk({ role: e, children: t }) {
+function Lk({ role: e, children: t }) {
return /* @__PURE__ */ (0, B.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function zk({ children: e }) {
+function Rk({ children: e }) {
return /* @__PURE__ */ (0, B.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function Bk({ children: e }) {
+function zk({ children: e }) {
return /* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function Vk({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, B.jsx)(Nk, {
+function Bk({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, B.jsx)(Mk, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: wT,
+ trailingIcon: CT,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -32422,13 +32422,13 @@ function Vk({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function Hk({ children: e }) {
+function Vk({ children: e }) {
return /* @__PURE__ */ (0, B.jsx)("dl", {
className: "flex flex-col",
children: e
});
}
-function Uk({ term: e, children: t }) {
+function Hk({ term: e, children: t }) {
return /* @__PURE__ */ (0, B.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, B.jsx)("dt", {
@@ -32440,7 +32440,7 @@ function Uk({ term: e, children: t }) {
})]
});
}
-function Wk({ summary: e, defaultOpen: t = !1, children: n }) {
+function Uk({ summary: e, defaultOpen: t = !1, children: n }) {
let r = (0, R.useId)(), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(!1), [s, c] = (0, R.useState)(t);
return /* @__PURE__ */ (0, B.jsxs)("details", {
ref: (e) => {
@@ -32453,7 +32453,7 @@ function Wk({ summary: e, defaultOpen: t = !1, children: n }) {
e.preventDefault(), !(!i.current || !a.current) && (Xe(i.current, a.current, !s), c(!s));
},
className: "flex w-fit cursor-pointer list-none items-center gap-1 rounded-sm text-body-2-medium text-text-secondary outline-none select-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [/* @__PURE__ */ (0, B.jsx)(gT, {
+ children: [/* @__PURE__ */ (0, B.jsx)(hT, {
"aria-hidden": !0,
className: s ? "size-4 shrink-0 rotate-90 transition-transform" : "size-4 shrink-0 transition-transform"
}), e]
@@ -32468,7 +32468,7 @@ function Wk({ summary: e, defaultOpen: t = !1, children: n }) {
})]
});
}
-function _ce({ name: e }) {
+function vce({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -32477,22 +32477,22 @@ function _ce({ name: e }) {
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
}
-function Gk({ mark: e }) {
+function Wk({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, B.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-4 shrink-0"
- }) : /* @__PURE__ */ (0, B.jsx)(_ce, { name: e });
+ }) : /* @__PURE__ */ (0, B.jsx)(vce, { name: e });
}
//#endregion
//#region src/react/activity/tasks.ts
-var Kk = "/api/tasks", qk = ["tasks"], vce = (e, t) => W(`${Kk}?${new URLSearchParams({
+var Gk = "/api/tasks", Kk = ["tasks"], yce = (e, t) => W(`${Gk}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function Jk(...e) {
+function qk(...e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of n) t.has(e.id) || t.set(e.id, e);
return [...t.values()].sort((e, t) => {
@@ -32500,26 +32500,26 @@ function Jk(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var yce = 2e3, bce = 1e4, xce = (e) => e?.running.length ? yce : bce, Yk = (e) => W(Kk, e);
-async function Sce(e) {
+var bce = 2e3, xce = 1e4, Sce = (e) => e?.running.length ? bce : xce, Jk = (e) => W(Gk, e);
+async function Cce(e) {
await p.fetchQuery({
- queryKey: qk,
- queryFn: () => Yk(e)
+ queryKey: Kk,
+ queryFn: () => Jk(e)
});
}
-var Xk = {
+var Yk = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, Cce = {
+}, wce = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "被打断"
-}, wce = (e) => Cce[e] || e, Tce = {
+}, Tce = (e) => wce[e] || e, Ece = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -32549,7 +32549,7 @@ var Xk = {
source: "来源",
cover_network: "封面连不上图片主机"
};
-function Ece(e) {
+function Dce(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -32558,7 +32558,7 @@ function Ece(e) {
}
return t;
}
-function Dce(e, t) {
+function Oce(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -32580,19 +32580,19 @@ function Dce(e, t) {
}
return n;
}
-var Oce = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Zk = (e) => e.status === "pending" || e.status === "running";
-function kce(e) {
+var kce = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), Xk = (e) => e.status === "pending" || e.status === "running";
+function Ace(e) {
let t = `${e.task_label}:`, n = e.progress_label || "", r = n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n, i = e.progress_total || 0;
- return [r, e.error || eA(e.result_summary) || (Zk(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
+ return [r, e.error || $k(e.result_summary) || (Xk(e) && i > 0 ? `${e.progress_current || 0} / ${i} 项` : "")].filter(Boolean).join(" · ");
}
-function Qk(e) {
+function Zk(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 $k(e) {
+function Qk(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -32602,7 +32602,7 @@ function $k(e) {
minute: "2-digit"
});
}
-var Ace = /* @__PURE__ */ new Set([
+var jce = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -32611,23 +32611,23 @@ var Ace = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function eA(e) {
- return Object.entries(e || {}).filter(([e, t]) => !Ace.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Tce[e] || e} ${t}`).join(" · ");
+function $k(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !jce.has(e) && (typeof t == "number" || typeof t == "string") && String(t) !== "").map(([e, t]) => `${Ece[e] || e} ${t}`).join(" · ");
}
//#endregion
//#region src/react/activity/resource-search.tsx
-function jce({ className: e }) {
+function Mce({ className: e }) {
return /* @__PURE__ */ (0, B.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: Qe("") }
});
}
-function Mce(e) {
+function Nce(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function Nce({ initialCode: e, reason: t, choose: n }) {
- let [r, i] = (0, R.useState)(e), [a, o] = (0, R.useState)(() => Mce(t)), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(null), [p, m] = (0, R.useState)(""), [h, g] = (0, R.useState)(""), _ = FE(), v = () => {
+function Pce({ initialCode: e, reason: t, choose: n }) {
+ let [r, i] = (0, R.useState)(e), [a, o] = (0, R.useState)(() => Nce(t)), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(null), [p, m] = (0, R.useState)(""), [h, g] = (0, R.useState)(""), _ = PE(), v = () => {
if (!r.trim() || _.busy) return;
let e = new URLSearchParams({
code: r.trim(),
@@ -32644,17 +32644,17 @@ function Nce({ initialCode: e, reason: t, choose: n }) {
"aria-busy": !!_.busy,
className: "flex min-w-0 flex-col gap-4",
children: [
- t ? /* @__PURE__ */ (0, B.jsxs)(Rk, { children: [
+ t ? /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "搜索资源",
value: r,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
- leadingIcon: _.busy ? jce : MT,
+ leadingIcon: _.busy ? Mce : jT,
isReadOnly: !!_.busy,
"aria-busy": !!_.busy,
onChange: i,
@@ -32664,7 +32664,7 @@ function Nce({ initialCode: e, reason: t, choose: n }) {
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "优先寻找" }), /* @__PURE__ */ (0, B.jsxs)(Dk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "优先寻找" }), /* @__PURE__ */ (0, B.jsxs)(Ek, {
"aria-label": "优先寻找",
selectedKey: a,
isDisabled: !!_.busy,
@@ -32672,15 +32672,15 @@ function Nce({ initialCode: e, reason: t, choose: n }) {
e !== null && o(String(e));
},
children: [
- /* @__PURE__ */ (0, B.jsx)(Ok, {
+ /* @__PURE__ */ (0, B.jsx)(Dk, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, B.jsx)(Ok, {
+ /* @__PURE__ */ (0, B.jsx)(Dk, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, B.jsx)(Ok, {
+ /* @__PURE__ */ (0, B.jsx)(Dk, {
id: "uncensored",
children: "无码"
})
@@ -32689,33 +32689,33 @@ function Nce({ initialCode: e, reason: t, choose: n }) {
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, B.jsx)(Sk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(xk, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: s,
onChange: c
- }), /* @__PURE__ */ (0, B.jsx)(Sk, {
+ }), /* @__PURE__ */ (0, B.jsx)(xk, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
})]
}),
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: "只查询已启用的自配索引器;最多显示 5 个有做种的候选。清晰度、字幕与无码标记取自来源标题。" }),
- _.busy ? /* @__PURE__ */ (0, B.jsx)(Rk, {
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: "只查询已启用的自配索引器;最多显示 5 个有做种的候选。清晰度、字幕与无码标记取自来源标题。" }),
+ _.busy ? /* @__PURE__ */ (0, B.jsx)(Lk, {
role: "status",
children: "正在搜索资源"
}) : null,
- _.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: _.error }) : null,
- d?.error ? /* @__PURE__ */ (0, B.jsx)(Rk, {
+ _.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: _.error }) : null,
+ d?.error ? /* @__PURE__ */ (0, B.jsx)(Lk, {
role: "status",
children: d.error
}) : null,
- d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, B.jsx)(Rk, {
+ d?.state === "ready" && !d.items.length ? /* @__PURE__ */ (0, B.jsx)(Lk, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- d?.warnings.map((e) => /* @__PURE__ */ (0, B.jsx)(Rk, { children: e }, e)),
+ d?.warnings.map((e) => /* @__PURE__ */ (0, B.jsx)(Lk, { children: e }, e)),
d?.items.length ? /* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: d.items.map((e) => /* @__PURE__ */ (0, B.jsxs)("li", {
@@ -32725,7 +32725,7 @@ function Nce({ initialCode: e, reason: t, choose: n }) {
className: "break-words text-body-2-medium text-text-primary",
children: e.name
}),
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: [
`${(e.size / 1024 ** 3).toFixed(2)} GiB`,
`${e.seeders} 个做种`,
e.resolution ? `${e.resolution}p` : "",
@@ -32751,23 +32751,23 @@ function Nce({ initialCode: e, reason: t, choose: n }) {
}
//#endregion
//#region src/react/activity/downloads-panel.tsx
-var tA = "/api/downloads", nA = ["downloads"], Pce = "/api/downloads/cancel", Fce = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, Ice = {
+var eA = "/api/downloads", tA = ["downloads"], Fce = "/api/downloads/cancel", Ice = (e) => e?.tasks.some((e) => e.cancellable) ? 5e3 : 3e4, Lce = {
ingested: "lime",
failed: "rose",
cancelled: "yellow",
stalled: "yellow"
-}, Lce = {
+}, Rce = {
submitted: "已提交,远端开始下载后这里会显示进度。",
adopted: "这个磁力已经有任务了,接着跟进那一条,没有重复提交。",
adopted_remote: "远端已经有同一个任务,已接管,没有再扣配额。",
refused: "这个资源被判为违规,不再提交。",
failed: "提交没有成功。"
-}, Rce = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, rA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
-function zce({ prefill: e }) {
- let t = wS({
- queryKey: nA,
- queryFn: ({ signal: e }) => W(`${tA}?limit=50`, e),
- refetchInterval: (e) => Fce(e.state.data)
+}, zce = (e) => e.title || e.display_name || e.remote_name || e.code || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`, nA = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "";
+function Bce({ prefill: e }) {
+ let t = CS({
+ queryKey: tA,
+ queryFn: ({ signal: e }) => W(`${eA}?limit=50`, e),
+ refetchInterval: (e) => Ice(e.state.data)
}), n = t.data;
if (!n) return t.error ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -32779,7 +32779,7 @@ function zce({ prefill: e }) {
tone: "error",
children: U(t.error)
}) : null,
- n.available ? r.length ? /* @__PURE__ */ (0, B.jsx)(Bce, {
+ n.available ? r.length ? /* @__PURE__ */ (0, B.jsx)(Vce, {
snapshot: n,
prefill: e
}) : /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -32792,15 +32792,15 @@ function zce({ prefill: e }) {
n.tasks.length ? /* @__PURE__ */ (0, B.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: n.tasks.map((e) => /* @__PURE__ */ (0, B.jsx)(Hce, {
+ children: n.tasks.map((e) => /* @__PURE__ */ (0, B.jsx)(Uce, {
task: e,
writable: n.available
}, e.id))
}) : null
] });
}
-function Bce({ snapshot: e, prefill: t }) {
- let n = cS(), r = e.providers.filter((e) => e.configured), [i, a] = (0, R.useState)(r[0].key), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(t?.code ?? ""), [u, d] = (0, R.useState)(r[0].target), [f, p] = (0, R.useState)(null), m = FE(), h = (0, R.useRef)(null);
+function Vce({ snapshot: e, prefill: t }) {
+ let n = sS(), r = e.providers.filter((e) => e.configured), [i, a] = (0, R.useState)(r[0].key), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(t?.code ?? ""), [u, d] = (0, R.useState)(r[0].target), [f, p] = (0, R.useState)(null), m = PE(), h = (0, R.useRef)(null);
(0, R.useEffect)(() => {
t && h.current?.focus();
}, [t]);
@@ -32820,21 +32820,21 @@ function Bce({ snapshot: e, prefill: t }) {
title: t?.title,
origin: t?.origin
};
- p(null), m.run("submit", (e) => G(tA, r, "POST", e), (e) => {
- p(e), e.ok && s(""), n.invalidateQueries({ queryKey: nA });
+ p(null), m.run("submit", (e) => G(eA, r, "POST", e), (e) => {
+ p(e), e.ok && s(""), n.invalidateQueries({ queryKey: tA });
});
},
- children: /* @__PURE__ */ (0, B.jsxs)(kk, { children: [
- /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
- /* @__PURE__ */ (0, B.jsx)(Nce, {
+ children: /* @__PURE__ */ (0, B.jsxs)(Ok, { children: [
+ /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Pce, {
initialCode: t?.code ?? "",
reason: t?.searchReason,
choose: (e, t) => {
s(e), l(t), h.current?.focus();
}
}),
- t?.title ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ t?.title ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: `给「${t.title}」找来的资源,下载完由推送发现登记入库。` }) : null,
+ /* @__PURE__ */ (0, B.jsx)(xk, {
ref: h,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -32845,19 +32845,19 @@ function Bce({ snapshot: e, prefill: t }) {
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "下载到" }), /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "下载到" }), /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "下载到",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && _(String(e));
},
- children: r.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: r.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e.key,
children: e.label
}, e.key))
})]
}),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "目标目录",
placeholder: g.target || "/云下载",
autoComplete: "off",
@@ -32866,7 +32866,7 @@ function Bce({ snapshot: e, prefill: t }) {
value: u,
onChange: d
}),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
@@ -32875,15 +32875,15 @@ function Bce({ snapshot: e, prefill: t }) {
onChange: l
})
] }),
- f ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ f ? /* @__PURE__ */ (0, B.jsx)(Fk, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(Vce, { result: f })
+ children: /* @__PURE__ */ (0, B.jsx)(Hce, { result: f })
}) : null,
- m.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ m.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(zk, { children: m.error })
+ children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: m.error })
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Lk, {
+ /* @__PURE__ */ (0, B.jsx)(Ik, {
status: i === "115" ? "115 每提交一次扣一条离线配额,重新提交也算。" : void 0,
children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
@@ -32895,23 +32895,23 @@ function Bce({ snapshot: e, prefill: t }) {
] })
});
}
-function Vce({ result: e }) {
- let t = rA(e.task), n = Lce[e.outcome];
- return e.outcome === "failed" ? /* @__PURE__ */ (0, B.jsx)(zk, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, B.jsx)(zk, { children: n }) : /* @__PURE__ */ (0, B.jsx)(Rk, {
+function Hce({ result: e }) {
+ let t = nA(e.task), n = Rce[e.outcome];
+ return e.outcome === "failed" ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: t ? `${n}${t}` : n }) : e.outcome === "refused" ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: n }) : /* @__PURE__ */ (0, B.jsx)(Lk, {
role: "status",
children: n
});
}
-function Hce({ task: e, writable: t }) {
- let n = cS(), r = FE(), [i, a] = (0, R.useState)(!1), o = rA(e), s = e.state === "failed", c = [
+function Uce({ task: e, writable: t }) {
+ let n = sS(), r = PE(), [i, a] = (0, R.useState)(!1), o = nA(e), s = e.state === "failed", c = [
e.provider_label,
e.code,
e.target,
- $k(e.submitted_at)
+ Qk(e.submitted_at)
].filter(Boolean).join(" · "), l = () => {
- n.invalidateQueries({ queryKey: nA });
+ n.invalidateQueries({ queryKey: tA });
}, u = () => {
- r.run("cancel", (t) => G(Pce, { id: e.id }, "POST", t), l);
+ r.run("cancel", (t) => G(Fce, { id: e.id }, "POST", t), l);
}, d = () => {
let t = {
magnet: e.source_uri,
@@ -32921,14 +32921,14 @@ function Hce({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => G(tA, t, "POST", e), l);
+ r.run("resubmit", (e) => G(eA, t, "POST", e), l);
}, f = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
};
return /* @__PURE__ */ (0, B.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: kE({
+ className: OE({
padding: "none",
bordered: "line",
className: s ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -32940,9 +32940,9 @@ function Hce({ task: e, writable: t }) {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
- children: Rce(e)
- }), /* @__PURE__ */ (0, B.jsx)(EE, {
- color: Ice[e.state] ?? "neutral",
+ children: zce(e)
+ }), /* @__PURE__ */ (0, B.jsx)(TE, {
+ color: Lce[e.state] ?? "neutral",
children: e.state_label
})]
}),
@@ -32950,7 +32950,7 @@ function Hce({ task: e, writable: t }) {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: c
}),
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, B.jsx)(PE, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, B.jsx)(NE, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -32959,7 +32959,7 @@ function Hce({ task: e, writable: t }) {
className: "min-w-0 break-all text-caption-1-regular text-text-secondary",
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: r.error }) : null,
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2 pt-1",
children: [
@@ -32997,23 +32997,23 @@ function Hce({ task: e, writable: t }) {
}
//#endregion
//#region src/react/activity/activity-page.tsx
-var Uce = {
+var Wce = {
succeeded: "lime",
failed: "rose",
cancelled: "yellow",
interrupted: "yellow"
};
-function iA({ status: e }) {
- return /* @__PURE__ */ (0, B.jsx)(EE, {
- color: Uce[e] ?? "neutral",
- children: wce(e)
+function rA({ status: e }) {
+ return /* @__PURE__ */ (0, B.jsx)(TE, {
+ color: Wce[e] ?? "neutral",
+ children: Tce(e)
});
}
-function Wce({ rows: e }) {
+function Gce({ rows: e }) {
return /* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex min-w-0 flex-col",
children: e.map((e) => {
- let t = kce(e);
+ let t = Ace(e);
return /* @__PURE__ */ (0, B.jsxs)("li", {
"data-status": e.status,
"data-followup-key": e.followup_key,
@@ -33023,7 +33023,7 @@ function Wce({ rows: e }) {
className: "min-w-0 break-words text-caption-1-regular text-text-primary",
children: e.task_label
}),
- /* @__PURE__ */ (0, B.jsx)(iA, { status: e.status }),
+ /* @__PURE__ */ (0, B.jsx)(rA, { status: e.status }),
t ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "min-w-0 break-words text-caption-1-regular text-text-secondary",
children: t
@@ -33033,12 +33033,12 @@ function Wce({ rows: e }) {
})
});
}
-function aA({ run: e, meta: t, children: n, footer: r, followups: i }) {
+function iA({ run: e, meta: t, children: n, footer: r, followups: i }) {
return /* @__PURE__ */ (0, B.jsxs)("li", {
"data-status": e.status,
"data-task-key": e.task_key,
"data-run-id": e.id,
- className: kE({
+ className: OE({
padding: "none",
bordered: "line",
className: e.status === "failed" ? "flex flex-col border-border-error-default" : "flex flex-col"
@@ -33052,7 +33052,7 @@ function aA({ run: e, meta: t, children: n, footer: r, followups: i }) {
children: [/* @__PURE__ */ (0, B.jsx)("strong", {
className: "min-w-0 break-words text-title-1-medium text-text-primary",
children: e.task_label
- }), /* @__PURE__ */ (0, B.jsx)(iA, { status: e.status })]
+ }), /* @__PURE__ */ (0, B.jsx)(rA, { status: e.status })]
}),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -33061,7 +33061,7 @@ function aA({ run: e, meta: t, children: n, footer: r, followups: i }) {
n
]
}),
- i?.length ? /* @__PURE__ */ (0, B.jsx)(Wce, { rows: i }) : null,
+ i?.length ? /* @__PURE__ */ (0, B.jsx)(Gce, { rows: i }) : null,
r ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex min-h-14 flex-col justify-center rounded-b-2xl border-t border-separator-border bg-card-footer px-5 py-3",
children: /* @__PURE__ */ (0, B.jsx)("p", {
@@ -33072,15 +33072,15 @@ function aA({ run: e, meta: t, children: n, footer: r, followups: i }) {
]
});
}
-function oA({ run: e, followups: t }) {
- let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Qk(e.elapsed_seconds), o = [Xk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, B.jsx)(aA, {
+function aA({ run: e, followups: t }) {
+ let n = e.progress_total || 0, r = e.progress_current || 0, i = e.progress_label || "正在进行", a = Zk(e.elapsed_seconds), o = [Yk[e.trigger] || e.trigger, a && `已跑 ${a}`].filter(Boolean).join(" · ");
+ return /* @__PURE__ */ (0, B.jsx)(iA, {
run: e,
meta: o,
followups: t,
children: n > 0 ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, B.jsx)(PE, {
+ children: [/* @__PURE__ */ (0, B.jsx)(NE, {
label: i,
value: r,
max: n
@@ -33095,20 +33095,20 @@ function oA({ run: e, followups: t }) {
" 项"
]
})]
- }) : /* @__PURE__ */ (0, B.jsx)(jE, { label: i })
+ }) : /* @__PURE__ */ (0, B.jsx)(AE, { label: i })
});
}
-function sA({ run: e, followups: t, runs: n }) {
- let r = eA(e.result_summary), i = Qk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
- Xk[e.trigger] || e.trigger,
+function oA({ run: e, followups: t, runs: n }) {
+ let r = $k(e.result_summary), i = Zk(e.elapsed_seconds), a = n && n.length > 1 ? n[n.length - 1] : void 0, o = (a ? [
+ Yk[e.trigger] || e.trigger,
`近 ${n.length} 轮`,
- `${$k(a.finished_at)} – ${$k(e.finished_at)}`
+ `${Qk(a.finished_at)} – ${Qk(e.finished_at)}`
] : [
- Xk[e.trigger] || e.trigger,
- $k(e.finished_at),
+ Yk[e.trigger] || e.trigger,
+ Qk(e.finished_at),
i && `用时 ${i}`
]).filter(Boolean).join(" · ");
- return /* @__PURE__ */ (0, B.jsx)(aA, {
+ return /* @__PURE__ */ (0, B.jsx)(iA, {
run: e,
meta: o,
footer: e.error,
@@ -33119,7 +33119,7 @@ function sA({ run: e, followups: t, runs: n }) {
}) : null
});
}
-function cA({ title: e, children: t }) {
+function sA({ title: e, children: t }) {
let n = (0, R.useId)();
return /* @__PURE__ */ (0, B.jsxs)("section", {
"aria-labelledby": n,
@@ -33131,41 +33131,41 @@ function cA({ title: e, children: t }) {
}), t]
});
}
-function lA({ live: e = !1, children: t }) {
+function cA({ live: e = !1, children: t }) {
return /* @__PURE__ */ (0, B.jsx)("ul", {
"aria-live": e ? "polite" : void 0,
className: "flex min-w-0 flex-col gap-3",
children: t
});
}
-function Gce({ prefill: e }) {
- let t = wS({
- queryKey: qk,
- queryFn: ({ signal: e }) => Yk(e),
- refetchInterval: (e) => xce(e.state.data)
+function Kce({ prefill: e }) {
+ let t = CS({
+ queryKey: Kk,
+ queryFn: ({ signal: e }) => Jk(e),
+ refetchInterval: (e) => Sce(e.state.data)
}), n = t.data, r = n?.finished, [i, a] = (0, R.useState)([]), [o, s] = (0, R.useState)(!1), [c, l] = (0, R.useState)(r);
- r !== c && (l(r), i.length && c && a(Jk(i, c)));
- let u = DS({
- mutationFn: ({ oldest: e }) => vce(e),
+ r !== c && (l(r), i.length && c && a(qk(i, c)));
+ let u = ES({
+ mutationFn: ({ oldest: e }) => yce(e),
onSuccess: (e, { shown: t }) => {
- a((n) => Jk(n, t, e.finished || [])), s(!!e.finished_has_more);
+ a((n) => qk(n, t, e.finished || [])), s(!!e.finished_has_more);
}
}), d = t.error ? U(t.error) : "";
- if (!n) return /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ if (!n) return /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: d || "读取任务中心失败"
}) });
- let f = Jk(n.finished || [], i), p = [
+ let f = qk(n.finished || [], i), p = [
...n.running || [],
...n.skipped || [],
...f
- ], m = Ece(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
+ ], m = Dce(p), h = new Set(p.map((e) => e.id)), g = (e) => e.filter((e) => !(e.followup_key && e.parent_run_id != null && h.has(e.parent_run_id))), _ = g(f), v = _[_.length - 1], y = !!v && (i.length ? o : !!n.finished_has_more), b = () => {
!u.isPending && v && u.mutate({
oldest: v,
shown: f
});
- }, x = _.filter((e) => m.get(e.id)?.some(Zk)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Dce(w, (e) => Oce(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
- return /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
+ }, x = _.filter((e) => m.get(e.id)?.some(Xk)), S = g(n.running || []), C = g(n.skipped || []), w = _.filter((e) => !x.includes(e) && !C.some((t) => t.id === e.id)), T = Oce(w, (e) => kce(e) && !m.get(e.id)?.length), E = !S.length && !x.length && !C.length && !w.length;
+ return /* @__PURE__ */ (0, B.jsxs)(jE, { children: [
d ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: d
@@ -33174,20 +33174,20 @@ function Gce({ prefill: e }) {
tone: "warning",
children: n.message || "账本上还没有任务中心的表"
}) : null,
- E ? /* @__PURE__ */ (0, B.jsx)(AE, {
+ E ? /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: DT,
+ icon: ET,
title: "还没有任务记录",
children: "扫描、追更检查、批量操作和命令行批处理跑起来之后,这里会显示它们的进度与结果。"
}) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(cA, {
+ /* @__PURE__ */ (0, B.jsx)(sA, {
title: "正在进行",
- children: S.length || x.length ? /* @__PURE__ */ (0, B.jsxs)(lA, {
+ children: S.length || x.length ? /* @__PURE__ */ (0, B.jsxs)(cA, {
live: !0,
- children: [S.map((e) => /* @__PURE__ */ (0, B.jsx)(oA, {
+ children: [S.map((e) => /* @__PURE__ */ (0, B.jsx)(aA, {
run: e,
followups: m.get(e.id)
- }, e.id)), x.map((e) => /* @__PURE__ */ (0, B.jsx)(sA, {
+ }, e.id)), x.map((e) => /* @__PURE__ */ (0, B.jsx)(oA, {
run: e,
followups: m.get(e.id)
}, e.id))]
@@ -33196,17 +33196,17 @@ function Gce({ prefill: e }) {
children: "没有任务在跑。"
})
}),
- C.length ? /* @__PURE__ */ (0, B.jsx)(cA, {
+ C.length ? /* @__PURE__ */ (0, B.jsx)(sA, {
title: "被挡下的",
- children: /* @__PURE__ */ (0, B.jsx)(lA, { children: C.map((e) => /* @__PURE__ */ (0, B.jsx)(sA, {
+ children: /* @__PURE__ */ (0, B.jsx)(cA, { children: C.map((e) => /* @__PURE__ */ (0, B.jsx)(oA, {
run: e,
followups: m.get(e.id)
}, e.id)) })
}) : null,
- w.length || y ? /* @__PURE__ */ (0, B.jsxs)(cA, {
+ w.length || y ? /* @__PURE__ */ (0, B.jsxs)(sA, {
title: "最近完成",
children: [
- w.length ? /* @__PURE__ */ (0, B.jsx)(lA, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, B.jsx)(sA, {
+ w.length ? /* @__PURE__ */ (0, B.jsx)(cA, { children: T.map(({ run: e, runs: t }) => /* @__PURE__ */ (0, B.jsx)(oA, {
run: e,
runs: t,
followups: m.get(e.id)
@@ -33218,7 +33218,7 @@ function Gce({ prefill: e }) {
y ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: mT,
+ leadingIcon: pT,
className: "self-start",
...X(u.isPending),
onClick: b,
@@ -33227,15 +33227,15 @@ function Gce({ prefill: e }) {
]
}) : null
] }),
- /* @__PURE__ */ (0, B.jsx)(cA, {
+ /* @__PURE__ */ (0, B.jsx)(sA, {
title: "云下载",
- children: /* @__PURE__ */ (0, B.jsx)(zce, { prefill: e })
+ children: /* @__PURE__ */ (0, B.jsx)(Bce, { prefill: e })
})
] });
}
//#endregion
//#region src/react/components/use-stuck.ts
-function uA(e) {
+function lA(e) {
(0, R.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -33253,9 +33253,9 @@ function uA(e) {
}
//#endregion
//#region src/react/components/filter-glass.tsx
-function Kce({ title: e, children: t }) {
+function qce({ title: e, children: t }) {
let n = (0, R.useRef)(null);
- return uA(n), /* @__PURE__ */ (0, B.jsxs)("div", {
+ return lA(n), /* @__PURE__ */ (0, B.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -33268,52 +33268,52 @@ function Kce({ title: e, children: t }) {
}), t]
});
}
-function dA({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
+function uA({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassName: a, bottomClassName: o, panes: s, attrs: c, busy: l, bottomRef: u }) {
let d = (0, R.useRef)(null);
- return uA(d), /* @__PURE__ */ (0, B.jsxs)("div", {
+ return lA(d), /* @__PURE__ */ (0, B.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
"data-filter-glass": !0,
"data-glass-pane": "",
...c,
- className: CE("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
+ className: SE("sticky top-topbar z-10 mb-5.5 flex flex-col", i),
children: [
s,
/* @__PURE__ */ (0, B.jsx)("div", {
role: "group",
"aria-label": t,
"data-filter-row": "top",
- className: CE("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
+ className: SE("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),
children: n
}),
/* @__PURE__ */ (0, B.jsx)("div", {
ref: u,
"data-filter-row": "bottom",
"aria-busy": l || void 0,
- className: CE("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
+ className: SE("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
})
]
});
}
-var qce = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
-function fA({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var Jce = "flex h-7.5 flex-none cursor-pointer items-center gap-1.75 rounded-lg border border-dashed border-(--glass-low) bg-transparent px-2.5 text-body-2-regular leading-5 whitespace-nowrap text-inherit outline-none hover:border-solid focus-visible:ring-2 focus-visible:ring-border-focus-ring";
+function dA({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: CE(qce, r),
+ className: SE(Jce, r),
onClick: n,
children: e
});
}
-var Jce = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
-function pA({ children: e, onPress: t, busy: n = !1 }) {
+var Yce = "h-7.5 cursor-pointer rounded-full border border-(--glass-low) bg-transparent px-3 text-body-2-regular leading-none whitespace-nowrap text-inherit outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-busy:cursor-wait aria-busy:opacity-55";
+function fA({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: Jce,
+ className: Yce,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -33324,7 +33324,7 @@ function pA({ children: e, onPress: t, busy: n = !1 }) {
}
//#endregion
//#region src/react/components/use-view-glide.ts
-function Yce(e, t, n) {
+function Xce(e, t, n) {
if (!t.contains(e)) return null;
let r = 0, i = 0;
for (let n = e; n && n !== t; n = n.offsetParent) r += n.offsetLeft, i += n.offsetTop;
@@ -33348,11 +33348,11 @@ function Yce(e, t, n) {
h: e.offsetHeight
};
}
-function mA(e, t, n, r, { axis: i = "x" } = {}) {
+function pA(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, R.useRef)(null), o = (0, R.useCallback)((r, o) => {
let s = e.current, c = t.current, l = s?.parentElement;
if (!s) return;
- let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? Yce(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? Xce(u, l, i) : null;
if (!d || !d.w) {
s.hidden = !0;
return;
@@ -33394,7 +33394,7 @@ function mA(e, t, n, r, { axis: i = "x" } = {}) {
}
//#endregion
//#region src/react/components/use-moving-surface.ts
-var Xce = {
+var Zce = {
selection: {
type: oi,
duration: .16,
@@ -33406,7 +33406,7 @@ var Xce = {
bounce: 0
}
};
-function hA(e) {
+function mA(e) {
let [t, n] = (0, R.useState)(null);
return (0, R.useLayoutEffect)(() => {
if (!t) return;
@@ -33427,7 +33427,7 @@ function hA(e) {
let E = `translate(${b}px, ${x}px) scale(1, 1)`;
if (u && a && !r.matches && T && s !== h) {
let r = `translate(${(T.left - _.left) / v + t.scrollLeft - t.clientLeft}px, ${(T.top - _.top) / y + t.scrollTop - t.clientTop}px) scale(${T.width / v / S}, ${T.height / y / C})`;
- l = np(n, { transform: [r, E] }, Xce[e]);
+ l = np(n, { transform: [r, E] }, Zce[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -33464,25 +33464,25 @@ function hA(e) {
}
//#endregion
//#region src/react/components/segmented.tsx
-function gA(e) {
- let t = hA("selection");
- return /* @__PURE__ */ (0, B.jsx)(hk, {
+function hA(e) {
+ let t = mA("selection");
+ return /* @__PURE__ */ (0, B.jsx)(mk, {
...e,
ref: t
});
}
-function _A(e) {
- let t = hA("selection");
- return /* @__PURE__ */ (0, B.jsx)(zO, {
+function gA(e) {
+ let t = mA("selection");
+ return /* @__PURE__ */ (0, B.jsx)(RO, {
...e,
ref: t
});
}
-var vA = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", yA = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Zce = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", bA = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", xA = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", Qce = { "text-aa": 1.435 }, SA = /* @__PURE__ */ new Map();
-function CA(e) {
- let t = SA.get(e);
+var _A = "inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto overscroll-x-contain rounded-2lg bg-background-tertiary-default p-1", vA = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", Qce = "flex size-7 flex-none cursor-pointer items-center justify-center rounded-md text-text-secondary outline-none transition-colors hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring data-focus-visible:ring-2 data-focus-visible:ring-border-focus-ring data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover", yA = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", bA = "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)", $ce = { "text-aa": 1.435 }, xA = /* @__PURE__ */ new Map();
+function SA(e) {
+ let t = xA.get(e);
if (t) return t;
- let n = Qce[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, B.jsx)("svg", {
+ let n = $ce[e], r = n ? ({ className: t }) => /* @__PURE__ */ (0, B.jsx)("svg", {
"aria-hidden": !0,
viewBox: `0 0 ${(24 * n).toFixed(2)} 24`,
className: `shrink-0 fill-current ${t ?? "h-4 w-auto"}`,
@@ -33496,23 +33496,23 @@ function CA(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
- return r.displayName = `SpriteGlyph(${e})`, SA.set(e, r), r;
+ return r.displayName = `SpriteGlyph(${e})`, xA.set(e, r), r;
}
//#endregion
//#region src/react/entity-filter/entity-filter.ts
-var $ce = (e) => e === "videos", wA = () => /* @__PURE__ */ (0, B.jsx)("span", {
+var ele = (e) => e === "videos", CA = () => /* @__PURE__ */ (0, B.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
});
-function ele(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = $ce(t), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (0, R.useRef)(null), _ = mA(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = mA(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
+function tle(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = ele(t), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (0, R.useRef)(null), _ = pA(u, f, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${r}`), v = pA(d, p, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`);
return (0, R.useEffect)(() => {
c.wireDrag(h.current), c.wireScroller(m.current), c.wireDrag(g.current);
- }, [c]), /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(TA, {
+ }, [c]), /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(wA, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, B.jsx)(dA, {
+ }), /* @__PURE__ */ (0, B.jsx)(uA, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -33532,13 +33532,13 @@ function ele(e) {
"data-view-glide": "round",
"aria-hidden": "true"
})] }),
- top: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [n ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(tle, {
+ top: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [n ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(nle, {
keys: n,
view: t,
row: p,
glide: v,
onView: s.setView
- }), l ? /* @__PURE__ */ (0, B.jsx)(wA, {}) : null] }) : null, /* @__PURE__ */ (0, B.jsxs)("div", {
+ }), l ? /* @__PURE__ */ (0, B.jsx)(CA, {}) : null] }) : null, /* @__PURE__ */ (0, B.jsxs)("div", {
ref: m,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -33558,11 +33558,11 @@ function ele(e) {
r !== e.k && s.setState(e.k);
},
children: e.label
- }, e.k)), /* @__PURE__ */ (0, B.jsx)(wA, {})]
+ }, e.k)), /* @__PURE__ */ (0, B.jsx)(CA, {})]
}), /* @__PURE__ */ (0, B.jsx)("div", {
ref: h,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, B.jsxs)(fA, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, B.jsxs)(dA, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -33574,10 +33574,10 @@ function ele(e) {
}, e.k)) : null
})]
})] }),
- bottom: /* @__PURE__ */ (0, B.jsx)(nle, { ...e })
+ bottom: /* @__PURE__ */ (0, B.jsx)(rle, { ...e })
})] });
}
-function tle({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function nle({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -33619,7 +33619,7 @@ function tle({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function TA({ items: e, hidden: t, actions: n }) {
+function wA({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -33639,7 +33639,7 @@ function TA({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function nle(e) {
+function rle(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, B.jsxs)("button", {
@@ -33651,22 +33651,22 @@ function nle(e) {
dangerouslySetInnerHTML: { __html: L("chevron-left") }
}), /* @__PURE__ */ (0, B.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, B.jsx)(rle, {
+ /* @__PURE__ */ (0, B.jsx)(ile, {
text: n,
busy: r
}),
- t === "videos" && i ? /* @__PURE__ */ (0, B.jsx)(ile, {
+ t === "videos" && i ? /* @__PURE__ */ (0, B.jsx)(ale, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, B.jsx)(ale, {
+ t === "photos" && a ? /* @__PURE__ */ (0, B.jsx)(ole, {
head: a,
actions: o,
helpers: s
}) : null
] });
}
-function rle({ text: e, busy: t }) {
+function ile({ text: e, busy: t }) {
return /* @__PURE__ */ (0, B.jsx)("h3", {
"data-entity-readout": "",
children: t ? /* @__PURE__ */ (0, B.jsx)("span", {
@@ -33676,22 +33676,22 @@ function rle({ text: e, busy: t }) {
}) : e
});
}
-function EA({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, B.jsx)(zO, {
+function TA({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, B.jsx)(RO, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: bA,
+ className: yA,
children: r.map(([e, t, n]) => {
- let r = CA(n);
- return /* @__PURE__ */ (0, B.jsx)(BO, {
+ let r = SA(n);
+ return /* @__PURE__ */ (0, B.jsx)(zO, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: xA,
+ className: bA,
children: /* @__PURE__ */ (0, B.jsx)("span", {
title: t,
className: "contents",
@@ -33701,7 +33701,7 @@ function EA({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function DA({ onPress: e, busy: t = !1 }) {
+function EA({ onPress: e, busy: t = !1 }) {
return /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-entity-batch": "",
@@ -33715,27 +33715,27 @@ function DA({ onPress: e, busy: t = !1 }) {
dangerouslySetInnerHTML: { __html: t ? Qe("正在换一批") : L("shuffle") }
});
}
-function ile({ head: e, actions: t }) {
+function ale({ head: e, actions: t }) {
return /* @__PURE__ */ (0, B.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(DA, { onPress: () => void t.reshuffle() }),
- e.jav ? /* @__PURE__ */ (0, B.jsx)(EA, {
+ /* @__PURE__ */ (0, B.jsx)(EA, { onPress: () => void t.reshuffle() }),
+ e.jav ? /* @__PURE__ */ (0, B.jsx)(TA, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, B.jsx)(OA, {
+ /* @__PURE__ */ (0, B.jsx)(DA, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function OA({ sorts: e, onSort: t }) {
+function DA({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, B.jsx)(B.Fragment, { children: e.map((e) => {
- let n = CA(e.dir === "asc" ? "arrow-up" : "arrow-down");
+ let n = SA(e.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -33747,20 +33747,20 @@ function OA({ sorts: e, onSort: t }) {
}, e.key);
}) });
}
-function ale({ head: e, actions: t, helpers: n }) {
+function ole({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, R.useState)(!1), a = (0, R.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, R.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, B.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, B.jsx)(DA, {
+ e.shuffle ? /* @__PURE__ */ (0, B.jsx)(EA, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, B.jsx)(EA, {
+ /* @__PURE__ */ (0, B.jsx)(TA, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -33776,34 +33776,34 @@ function ale({ head: e, actions: t, helpers: n }) {
}
//#endregion
//#region src/react/catalog-filter/catalog-filter-page.tsx
-var kA = "";
-function ole(e) {
- let t = !e.tiers, n = ple(e.comboHost);
+var OA = "";
+function sle(e) {
+ let t = !e.tiers, n = mle(e.comboHost);
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(TA, {
+ n ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(wA, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, B.jsx)(lle, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, B.jsx)(sle, { ...e })
+ /* @__PURE__ */ (0, B.jsx)(ule, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, B.jsx)(cle, { ...e })
]
});
}
-function sle(e) {
- let { actions: t, helpers: n } = e, r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = mA(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function cle(e) {
+ let { actions: t, helpers: n } = e, r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = pA(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, R.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let l = !e.tiers, u = jA(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let l = !e.tiers, u = AA(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, R.useLayoutEffect)(() => {
Ue(o.current, "tagbar");
- }, [u]), /* @__PURE__ */ (0, B.jsx)(dA, {
+ }, [u]), /* @__PURE__ */ (0, B.jsx)(uA, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -33846,17 +33846,17 @@ function sle(e) {
}), /* @__PURE__ */ (0, B.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || l ? /* @__PURE__ */ (0, B.jsx)(AA, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, B.jsx)(cle, {
+ children: [e.empty || l ? /* @__PURE__ */ (0, B.jsx)(kA, { kind: "tag" }) : null, u.map((e) => /* @__PURE__ */ (0, B.jsx)(lle, {
tag: e,
onPress: t.toggleTag
}, e.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, B.jsx)(dle, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, B.jsx)(fle, { ...e })
});
}
-function cle({ tag: e, onPress: t }) {
- return /* @__PURE__ */ (0, B.jsxs)(fA, {
+function lle({ tag: e, onPress: t }) {
+ return /* @__PURE__ */ (0, B.jsxs)(dA, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -33867,12 +33867,12 @@ function cle({ tag: e, onPress: t }) {
})]
});
}
-function lle(e) {
+function ule(e) {
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = e.empty || !e.tiers, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useCallback)((e) => () => t.moreTops(e), [t]), c = jA(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = jA(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
+ }, i = e.empty || !e.tiers, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useCallback)((e) => () => t.moreTops(e), [t]), c = AA(a, r.performers, r.key, 24, i ? void 0 : s("performers")), l = AA(o, r.studios, r.key, 24, i ? void 0 : s("studios")), u = i || r.performers.length > 0, d = i || r.studios.length > 0;
return (0, R.useEffect)(() => {
n.wireDrag(a.current), n.wireDrag(o.current);
}, [
@@ -33885,7 +33885,7 @@ function lle(e) {
children: [u ? /* @__PURE__ */ (0, B.jsx)("div", {
ref: a,
"data-catalog-tier": "performers",
- children: i ? /* @__PURE__ */ (0, B.jsx)(AA, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, B.jsx)(kA, { kind: "performer" }) : c.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -33902,18 +33902,18 @@ function lle(e) {
}) : null, d ? /* @__PURE__ */ (0, B.jsx)("div", {
ref: o,
"data-catalog-tier": "studios",
- children: i ? /* @__PURE__ */ (0, B.jsx)(AA, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
+ children: i ? /* @__PURE__ */ (0, B.jsx)(kA, { kind: "studio" }) : l.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": e.name,
onClick: () => t.openEntity("studio", e.name),
- children: [/* @__PURE__ */ (0, B.jsx)(ule, { studio: e }), e.name]
+ children: [/* @__PURE__ */ (0, B.jsx)(dle, { studio: e }), e.name]
}, e.name))
}) : null]
});
}
-function ule({ studio: e }) {
+function dle({ studio: e }) {
let [t, n] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, B.jsx)("span", {
"data-tier-mark": "",
@@ -33927,7 +33927,7 @@ function ule({ studio: e }) {
}) : e.fallback
});
}
-function AA({ kind: e }) {
+function kA({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -33943,32 +33943,32 @@ function AA({ kind: e }) {
children: [/* @__PURE__ */ (0, B.jsx)("span", {}), /* @__PURE__ */ (0, B.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function dle({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+function fle({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
let [a, o] = (0, R.useState)(!1);
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(fle, { count: e }), /* @__PURE__ */ (0, B.jsxs)("span", {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(ple, { count: e }), /* @__PURE__ */ (0, B.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(DA, {
+ /* @__PURE__ */ (0, B.jsx)(EA, {
onPress: () => {
o(!0), i.reshuffle().finally(() => o(!1));
},
busy: a || t
}),
- n ? /* @__PURE__ */ (0, B.jsx)(EA, {
+ n ? /* @__PURE__ */ (0, B.jsx)(TA, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, B.jsx)(OA, {
+ /* @__PURE__ */ (0, B.jsx)(DA, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function fle({ count: e }) {
+function ple({ count: e }) {
let t = (0, R.useRef)(null), n = (0, R.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown}` : "";
return (0, R.useLayoutEffect)(() => {
if (!e) {
@@ -33976,7 +33976,7 @@ function fle({ count: e }) {
return;
}
let i = t.current;
- i && (kA && i.dataset.popCount === void 0 && (i.dataset.popCount = kA), kA = r, We(i, r));
+ i && (OA && i.dataset.popCount === void 0 && (i.dataset.popCount = OA), OA = r, We(i, r));
}, [e, r]), e ? /* @__PURE__ */ (0, B.jsx)("span", {
ref: t,
"data-catalog-readout": "",
@@ -33992,7 +33992,7 @@ function fle({ count: e }) {
})
}, "skeleton");
}
-function ple(e) {
+function mle(e) {
let [t, n] = (0, R.useState)(null);
return (0, R.useLayoutEffect)(() => {
if (!e) return;
@@ -34002,7 +34002,7 @@ function ple(e) {
};
}, [e]), t;
}
-function jA(e, t, n, r, i) {
+function AA(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -34048,7 +34048,7 @@ function jA(e, t, n, r, i) {
}
//#endregion
//#region src/react/components/grid-reveal.tsx
-function MA(e, t) {
+function jA(e, t) {
let [n, r] = (0, R.useState)(e ? "skeleton" : "none"), [i] = (0, R.useState)(() => e ? t() : ""), a = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
a.current && Fe(a.current);
@@ -34074,7 +34074,7 @@ function MA(e, t) {
fading: n === "fade"
};
}
-function NA({ message: e, onRetry: t }) {
+function MA({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -34088,7 +34088,7 @@ function NA({ message: e, onRetry: t }) {
}
//#endregion
//#region src/react/components/art-slot.tsx
-function PA({ artwork: e, identity: t = e.html, relayout: n }) {
+function NA({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, R.useState)({
identity: t,
artwork: e
@@ -34108,24 +34108,24 @@ function PA({ artwork: e, identity: t = e.html, relayout: n }) {
}
//#endregion
//#region src/react/components/media-card.tsx
-var mle = 9 / 16;
-function FA({ name: e }) {
+var hle = 9 / 16;
+function PA({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
}
-var hle = {
+var gle = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
};
-function IA(e, t, n) {
- return t === "short" ? mle : b(n);
+function FA(e, t, n) {
+ return t === "short" ? hle : b(n);
}
-function gle(e) {
+function _le(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = j(e), s = i[0] || "", c = ie(e);
return {
avatar: r ? /* @__PURE__ */ (0, B.jsx)("div", {
@@ -34172,7 +34172,7 @@ function gle(e) {
})
};
}
-function _le() {
+function vle() {
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -34191,7 +34191,7 @@ function _le() {
})]
});
}
-function vle({ item: e, actions: t }) {
+function yle({ item: e, actions: t }) {
let [n, r] = (0, R.useState)(null), [i, a] = (0, R.useState)(!1), o = n?.id === e.id ? n.on : !!e.watch_later;
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-media-later": "",
@@ -34209,21 +34209,21 @@ function vle({ item: e, actions: t }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, B.jsx)(FA, { name: o ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, B.jsx)(PA, { name: o ? "check" : "bookmark-plus" })
})
});
}
-function LA(e, t) {
+function IA(e, t) {
let n = e?.querySelector("video.hv");
!n || !Number.isFinite(n.duration) || (n._hop &&= (clearInterval(n._hop), null), n.currentTime = Math.max(0, Math.min(n.duration, n.currentTime + t)));
}
-function yle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
+function ble({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c }) {
let l = (0, R.useRef)(null), u = (0, R.useRef)(e);
u.current = e;
let d = (0, R.useCallback)((e) => {
let t = u.current;
l.current && l.current !== e && le(l.current), l.current = e, e && (!t.medium || t.medium === "video") && fe(e, t);
- }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = A(e, h, !1, n.javImage), _ = h === "small" ? g.html : A(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v), b = f?.total_size ?? e.size, x = f?.total_duration ?? e.duration, S = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = gle(e), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
+ }, []), f = e.part_group || null, p = e.edition_group || null, m = !!(f || p), h = n.active && e.is_jav ? n.size : "small", g = A(e, h, !1, n.javImage), _ = h === "small" ? g.html : A(e, "small", !1, n.javImage).html, v = f?.title || e.name || "", y = o.displayName(e, v), b = f?.total_size ?? e.size, x = f?.total_duration ?? e.duration, S = !f && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: C, who: w } = _le(e), T = (e.follow_tags || e.tags || []).slice(0, 3), E = [
e.feedback === "dislike" && "dislike",
e.feedback === "seen" && "seen",
e.disposal === "trash" && "dispose",
@@ -34257,9 +34257,9 @@ function yle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
c(e, r);
}, O = /* @__PURE__ */ (0, B.jsxs)("div", {
"data-media-pic": "",
- style: { "--card-ratio": String(IA(e, t, n)) },
+ style: { "--card-ratio": String(FA(e, t, n)) },
children: [
- g.html ? /* @__PURE__ */ (0, B.jsx)(PA, {
+ g.html ? /* @__PURE__ */ (0, B.jsx)(NA, {
artwork: g,
identity: _,
relayout: (e) => ce(e, h)
@@ -34273,11 +34273,11 @@ function yle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, B.jsx)(FA, { name: "check" })
+ children: /* @__PURE__ */ (0, B.jsx)(PA, { name: "check" })
}),
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, B.jsx)(FA, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, B.jsx)(PA, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("b", { children: "回收站" })]
}),
f ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-media-group": "",
@@ -34304,8 +34304,8 @@ function yle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, B.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, B.jsx)(_le, {}),
- /* @__PURE__ */ (0, B.jsx)(vle, {
+ /* @__PURE__ */ (0, B.jsx)(vle, {}),
+ /* @__PURE__ */ (0, B.jsx)(yle, {
item: e,
actions: s
}),
@@ -34315,27 +34315,27 @@ function yle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), LA(l.current, -a);
+ e.stopPropagation(), IA(l.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, B.jsx)(FA, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, B.jsx)(PA, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), LA(l.current, a);
+ e.stopPropagation(), IA(l.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, B.jsx)(FA, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, B.jsx)(PA, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, B.jsx)(FA, { name: "expand" })
+ children: /* @__PURE__ */ (0, B.jsx)(PA, { name: "expand" })
})
]
})
@@ -34411,8 +34411,8 @@ function yle({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
]
});
}
-function ble({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, R.useRef)(null), [s, c] = (0, R.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : hle[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
+function xle({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, R.useRef)(null), [s, c] = (0, R.useState)(!1), l = e.medium === "image" && e.location !== "online", u = String(e.name || ""), d = u.toLowerCase().endsWith(".url") ? "网址快捷方式" : gle[e.medium || ""] || "其它文件", f = l ? "pics" : d === "网址快捷方式" ? "globe" : "hard-drive", p = e.disposal === "trash" ? "restore" : "dispose", m = p === "restore" ? "还原" : "移入回收站", h = (t) => {
t.preventDefault(), t.stopPropagation(), !s && (c(!0), i.resourceOperation(e, p).catch(() => {}).finally(() => c(!1)));
}, g = (t) => {
if (o.current) {
@@ -34438,7 +34438,7 @@ function ble({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
children: [
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, B.jsx)(FA, { name: f }), /* @__PURE__ */ (0, B.jsx)("b", { children: d })]
+ children: [/* @__PURE__ */ (0, B.jsx)(PA, { name: f }), /* @__PURE__ */ (0, B.jsx)("b", { children: d })]
}),
l ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-media-art": "thumb",
@@ -34450,11 +34450,11 @@ function ble({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, B.jsx)(FA, { name: "check" })
+ children: /* @__PURE__ */ (0, B.jsx)(PA, { name: "check" })
}),
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, B.jsx)(FA, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, B.jsx)(PA, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("b", { children: "回收站" })]
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -34464,7 +34464,7 @@ function ble({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: h,
"aria-busy": s || void 0,
"aria-disabled": s || void 0,
- children: s ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("span", { dangerouslySetInnerHTML: { __html: Qe(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, B.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(FA, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, B.jsx)("span", { children: m })] })
+ children: s ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("span", { dangerouslySetInnerHTML: { __html: Qe(p === "restore" ? "正在还原" : "正在移入回收站") } }), /* @__PURE__ */ (0, B.jsx)("span", { children: _ })] }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(PA, { name: p === "restore" ? "rotate-ccw" : "trash" }), /* @__PURE__ */ (0, B.jsx)("span", { children: m })] })
})
]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -34473,7 +34473,7 @@ function ble({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, B.jsx)(FA, { name: f })
+ children: /* @__PURE__ */ (0, B.jsx)(PA, { name: f })
}), /* @__PURE__ */ (0, B.jsxs)("div", {
"data-media-text": "",
children: [/* @__PURE__ */ (0, B.jsx)("span", {
@@ -34502,17 +34502,17 @@ function ble({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
})]
});
}
-function xle(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, B.jsx)(ble, { ...e }) : /* @__PURE__ */ (0, B.jsx)(yle, { ...e });
+function Sle(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, B.jsx)(xle, { ...e }) : /* @__PURE__ */ (0, B.jsx)(ble, { ...e });
}
-var RA = (0, R.memo)(xle), Sle = 1100, Cle = 340, wle = 5e3;
-function Tle(e, t, n) {
+var LA = (0, R.memo)(Sle), Cle = 1100, wle = 340, Tle = 5e3;
+function Ele(e, t, n) {
return new Promise((r) => {
let i = new Image();
n && (i.referrerPolicy = n);
let a = !1, o = (e) => {
a || (a = !0, clearTimeout(c), i.onload = null, i.onerror = null, t.cancels.delete(s), r(e));
- }, s = () => o(!1), c = setTimeout(s, wle);
+ }, s = () => o(!1), c = setTimeout(s, Tle);
t.cancels.add(s), i.onerror = s, i.onload = () => {
if (!i.naturalWidth) {
o(!1);
@@ -34522,7 +34522,7 @@ function Tle(e, t, n) {
}, i.src = e;
});
}
-function zA({ load: e, canFlip: t, referrerPolicy: n }) {
+function RA({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, R.useState)([]), [a, o] = (0, R.useState)(0), [s, c] = (0, R.useState)(null), l = (0, R.useRef)({
live: !1,
generation: 0,
@@ -34564,11 +34564,11 @@ function zA({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => Tle(t, e, n)));
+ let s = await Promise.all(a.map((t) => Ele(t, e, n)));
if (!r() || !u.current.canFlip()) return;
let d = a.filter((e, t) => s[t]);
d.length < 2 || (e.count = d.length, e.at = 0, i(d), o(0), c(null), f(420, () => {
- p(), e.cycle = setInterval(p, Sle);
+ p(), e.cycle = setInterval(p, Cle);
}));
};
return (0, R.useEffect)(() => d, [d]), {
@@ -34577,7 +34577,7 @@ function zA({ load: e, canFlip: t, referrerPolicy: n }) {
leaving: s,
onPointerEnter: () => {
let e = l.current;
- e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(Cle, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(wle, () => {
e.armed = null, m();
});
},
@@ -34588,8 +34588,8 @@ function zA({ load: e, canFlip: t, referrerPolicy: n }) {
}
//#endregion
//#region src/react/components/mix-card.tsx
-var BA = CA("play");
-function Ele({ src: e }) {
+var zA = SA("play");
+function Dle({ src: e }) {
let [t, n] = (0, R.useState)(!1);
return t ? null : /* @__PURE__ */ (0, B.jsx)("img", {
"data-mix-poster": "",
@@ -34602,8 +34602,8 @@ function Ele({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var VA = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
-function Dle({ faces: e, fallback: t, onOpenEntity: n }) {
+var BA = "relative inline-grid size-9.5 flex-none place-items-center overflow-hidden rounded-full bg-background-secondary-default text-body-2-regular text-text-secondary [&_img]:absolute [&_img]:inset-0 [&_img]:block [&_img]:size-full [&_img]:object-cover";
+function Ole({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, B.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, B.jsx)("button", {
@@ -34611,18 +34611,18 @@ function Dle({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${VA} cursor-pointer outline-none`,
+ className: `${BA} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: k(e.name, e, de(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, B.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${VA} mt-0.5`,
+ className: `${BA} mt-0.5`,
children: t
});
}
-function HA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
- let b = zA({
+function VA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip: a, faces: o, onOpenEntity: s, onOpen: c, openLabel: l, menu: u, ratio: d, artwork: f, artworkIdentity: p, relayoutArt: m, faceHtml: h, badge: g, glyph: _, wholeCard: v, ...y }) {
+ let b = RA({
load: i,
canFlip: a
}), x = (0, R.useRef)(b.onPointerLeave);
@@ -34649,11 +34649,11 @@ function HA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
style: d === void 0 ? void 0 : { "--card-ratio": String(d) },
className: "relative z-1 flex aspect-video items-center justify-center overflow-hidden",
children: [
- f?.html ? /* @__PURE__ */ (0, B.jsx)(PA, {
+ f?.html ? /* @__PURE__ */ (0, B.jsx)(NA, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, B.jsx)(Ele, { src: r }, r) : /* @__PURE__ */ (0, B.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, B.jsx)(Dle, { src: r }, r) : /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -34683,7 +34683,7 @@ function HA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-mix-badge": "",
className: "absolute right-2.25 bottom-2.25 z-6 flex min-h-7 items-center gap-1.5 rounded-2lg px-2.25 py-1 text-caption-1-semibold text-text-white",
- children: [/* @__PURE__ */ (0, B.jsx)(BA, {
+ children: [/* @__PURE__ */ (0, B.jsx)(zA, {
"aria-hidden": !0,
className: "size-3.75"
}), g ?? `${n} 个视频`]
@@ -34696,8 +34696,8 @@ function HA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, B.jsx)(BA, {})
- }) : /* @__PURE__ */ (0, B.jsx)(Dle, {
+ children: /* @__PURE__ */ (0, B.jsx)(zA, {})
+ }) : /* @__PURE__ */ (0, B.jsx)(Ole, {
faces: o,
fallback: e.slice(0, 1),
onOpenEntity: s
@@ -34721,20 +34721,20 @@ function HA({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
}
//#endregion
//#region src/react/catalog-grid/catalog-grid-page.tsx
-function UA(e) {
- if (e.mode === "items") return /* @__PURE__ */ (0, B.jsx)(kle, { ...e });
- let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${LC(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- return /* @__PURE__ */ (0, B.jsx)(Ale, { ...e }, t);
+function HA(e) {
+ if (e.mode === "items") return /* @__PURE__ */ (0, B.jsx)(Ale, { ...e });
+ let t = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${IC(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ return /* @__PURE__ */ (0, B.jsx)(jle, { ...e }, t);
}
-function Ole({ name: e }) {
+function kle({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
}
-function kle(e) {
- let { actions: t } = e, n = (0, R.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, B.jsx)(RA, {
+function Ale(e) {
+ let { actions: t } = e, n = (0, R.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, B.jsx)(LA, {
item: i,
variant: r,
layout: e.layout,
@@ -34754,15 +34754,15 @@ function kle(e) {
children: i
});
}
-function Ale(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Ore(e) : RC(e), s = i && e.initial ? {
+function jle(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? kre(e) : LC(e), s = i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
offset: 0
}],
pageParams: [0]
- } : void 0, c = OS({
+ } : void 0, c = DS({
queryKey: o.queryKey,
queryFn: ({ pageParam: e, signal: t }) => o.queryFn({
pageParam: e,
@@ -34775,7 +34775,7 @@ function Ale(e) {
(0, R.useEffect)(() => {
c.isPending || l.current || (l.current = !0, e.settled?.(e.revision));
}, [c.isPending]);
- let { tiles: u, pageStarts: d } = (0, R.useMemo)(() => Mre(c.data?.pages || [], {
+ let { tiles: u, pageStarts: d } = (0, R.useMemo)(() => Nre(c.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -34785,7 +34785,7 @@ function Ale(e) {
e.mix,
a,
r.javImage
- ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = MA(c.isPending, e.skeletonHtml), h = (0, R.useRef)(null), g = jle(e, c.data, u, d, h);
+ ]), f = u.reduce((e, t) => e + +(t.kind === "card"), 0), p = Number(c.data?.pages[0]?.total || 0), m = jA(c.isPending, e.skeletonHtml), h = (0, R.useRef)(null), g = Mle(e, c.data, u, d, h);
(0, R.useLayoutEffect)(() => {
c.data && e.onCount?.(p, f);
}, [
@@ -34796,12 +34796,12 @@ function Ale(e) {
let _ = (0, R.useCallback)((e, t) => n.open(e, t), [n]), v = (0, R.useCallback)((e, t) => n.openResource(e, t), [n]), y = (0, R.useCallback)((e) => n.openShort(e), [n]), b = (0, R.useCallback)(async () => {
let e = await c.fetchNextPage({ cancelRefetch: !1 });
if (e.isFetchNextPageError) throw e.error;
- }, [c.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, B.jsx)(Nle, {
+ }, [c.fetchNextPage]), x = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, B.jsx)(Ple, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, B.jsx)(RA, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, B.jsx)(LA, {
item: i.item,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
layout: r,
@@ -34818,7 +34818,7 @@ function Ale(e) {
"data-grid-reveal": m.fading ? "" : void 0,
children: [m.layer, (() => {
if (c.isPending) return null;
- if (!c.data) return /* @__PURE__ */ (0, B.jsx)(NA, {
+ if (!c.data) return /* @__PURE__ */ (0, B.jsx)(MA, {
message: Te(c.error),
onRetry: () => void c.refetch()
});
@@ -34835,15 +34835,15 @@ function Ale(e) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Fre(u, g).map((t) => /* @__PURE__ */ (0, B.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("div", {
+ children: Ire(u, g).map((t) => /* @__PURE__ */ (0, B.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("div", {
"data-media-grid": "",
children: t.tiles.map(x)
- }), t.strip ? /* @__PURE__ */ (0, B.jsx)(Mle, {
+ }), t.strip ? /* @__PURE__ */ (0, B.jsx)(Nle, {
cut: t.strip,
props: e,
onOpen: y
}) : null] }, t.start))
- }), c.hasNextPage ? /* @__PURE__ */ (0, B.jsx)(WA, {
+ }), c.hasNextPage ? /* @__PURE__ */ (0, B.jsx)(UA, {
entity: i,
load: b,
enabled: () => e.canLoadMore?.() !== !1
@@ -34851,7 +34851,7 @@ function Ale(e) {
})()]
});
}
-function WA({ entity: e, load: t, enabled: n, children: r }) {
+function UA({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, R.useRef)(null), a = (0, R.useRef)(!1), o = (0, R.useRef)(!1), [s, c] = (0, R.useState)({
busy: !1,
error: ""
@@ -34912,12 +34912,12 @@ function WA({ entity: e, load: t, enabled: n, children: r }) {
...f,
onClick: () => void u(!0),
dangerouslySetInnerHTML: { __html: Be("继续载入中…") }
- }), s.error ? /* @__PURE__ */ (0, B.jsx)(NA, {
+ }), s.error ? /* @__PURE__ */ (0, B.jsx)(MA, {
message: s.error,
onRetry: () => void u(!0)
}) : null] });
}
-function jle(e, t, n, r, i) {
+function Mle(e, t, n, r, i) {
let [a, o] = (0, R.useState)([]), [s, c] = (0, R.useState)(null), l = (0, R.useRef)(0), u = (0, R.useRef)(0), d = (0, R.useRef)([]);
return (0, R.useEffect)(() => () => d.current.forEach((e) => e.abort()), []), (0, R.useEffect)(() => {
let n = t?.pages.length || 0;
@@ -34926,7 +34926,7 @@ function jle(e, t, n, r, i) {
let r = new AbortController();
d.current.push(r);
let i = n - 1;
- W(`/api/items?${Pre(e.filters || {}, l.current)}`, r.signal).then((e) => {
+ W(`/api/items?${Fre(e.filters || {}, l.current)}`, r.signal).then((e) => {
let t = e.items || [];
if (!t.length) {
l.current = 0;
@@ -34942,7 +34942,7 @@ function jle(e, t, n, r, i) {
}, [t]), (0, R.useLayoutEffect)(() => {
if (!s) return;
c(null);
- let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Nre(n.length - e, f, d);
+ let e = a.reduce((e, t) => Math.max(e, t.at), 0), t = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), u = t?.[t.length - 1], d = u ? Math.max(1, getComputedStyle(u).gridTemplateColumns.split(" ").length) : 1, f = Math.max(0, (r[s.page] ?? 0) - e), p = Pre(n.length - e, f, d);
if (!p.length) return;
let m = e + (p[Math.floor(Math.random() * p.length)] ?? 0);
l.current = s.more ? l.current + 18 : 0, o((e) => [...e, {
@@ -34952,7 +34952,7 @@ function jle(e, t, n, r, i) {
}]);
}, [s]), a;
}
-function Mle({ cut: e, props: t, onOpen: n }) {
+function Nle({ cut: e, props: t, onOpen: n }) {
let r = (0, R.useRef)(null), { wireDrag: i } = t;
return (0, R.useEffect)(() => {
r.current && i(r.current);
@@ -34968,12 +34968,12 @@ function Mle({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, B.jsx)(Ole, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, B.jsx)(kle, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, B.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, B.jsx)(RA, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, B.jsx)(LA, {
item: e,
variant: "short",
layout: t.layout,
@@ -34987,17 +34987,17 @@ function Mle({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function GA(e, t, n) {
+function WA(e, t, n) {
return ne(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function Nle({ seed: e, layout: t, helpers: n, actions: r }) {
+function Ple({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, R.useRef)(/* @__PURE__ */ new Map()), a = (0, R.useRef)(t);
a.current = t;
let o = re(e, n.tagLabel), s = (0, R.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => zC(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), GA(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = GA(e, t, !1);
- return /* @__PURE__ */ (0, B.jsx)(HA, {
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => RC(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(n.map((e) => [String(e.id), WA(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = WA(e, t, !1);
+ return /* @__PURE__ */ (0, B.jsx)(VA, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -35007,12 +35007,12 @@ function Nle({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : GA(e, {
+ artworkIdentity: c === "small" ? l.html : WA(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => ce(e, c),
- ratio: IA(e, "grid", t),
+ ratio: FA(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -35024,31 +35024,31 @@ function Nle({ seed: e, layout: t, helpers: n, actions: r }) {
}
//#endregion
//#region src/react/media-sources.ts
-async function KA(e) {
+async function GA(e) {
await p.fetchQuery({
queryKey: l,
queryFn: () => d(e)
});
}
-var Ple = [
+var Fle = [
"local",
"115",
"pikpak"
-], Fle = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Ile = "/api/duplicates?limit=120", qA = ["duplicates"], JA = "/api/batch", YA = (e) => W(Ile, e);
-async function Lle(e) {
+], Ile = (e) => (e?.sources ?? []).filter((e) => ["115", "pikpak"].includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Lle = "/api/duplicates?limit=120", KA = ["duplicates"], qA = "/api/batch", JA = (e) => W(Lle, e);
+async function Rle(e) {
await Promise.all([p.fetchQuery({
- queryKey: qA,
- queryFn: () => YA(e)
- }), KA(e)]);
+ queryKey: KA,
+ queryFn: () => JA(e)
+ }), GA(e)]);
}
-var XA = {
+var YA = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, Rle = (e, t) => t.filter((t) => e.some((e) => e.location === t)), ZA = (e, t) => Rle(e, t).filter((t) => e.some((e) => e.location !== t)), zle = (e, t) => t.filter((t) => e.some((e) => ZA(e.files, [t]).length));
-function Ble(e, t) {
+}, zle = (e, t) => t.filter((t) => e.some((e) => e.location === t)), XA = (e, t) => zle(e, t).filter((t) => e.some((e) => e.location !== t)), Ble = (e, t) => t.filter((t) => e.some((e) => XA(e.files, [t]).length));
+function Vle(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -35067,47 +35067,47 @@ function Ble(e, t) {
}
return n;
}
-function Vle(e, t) {
+function Hle(e, t) {
let n = new Set(t);
return e.reduce((e, t) => e + t.files.reduce((e, t) => e + (n.has(t.id) && t.size || 0), 0), 0);
}
-async function QA(e, t) {
- for (let n = 0; n < e.length; n += 200) await G(JA, {
+async function ZA(e, t) {
+ for (let n = 0; n < e.length; n += 200) await G(qA, {
ids: e.slice(n, n + 200),
operation: t
});
}
//#endregion
//#region src/react/library-processing/library-processing.ts
-var $A = "/api/library-processing", ej = ["library-processing"], tj = (e) => W($A, e);
-async function nj(e) {
+var QA = "/api/library-processing", $A = ["library-processing"], ej = (e) => W(QA, e);
+async function tj(e) {
await p.fetchQuery({
- queryKey: ej,
- queryFn: () => tj(e)
+ queryKey: $A,
+ queryFn: () => ej(e)
});
}
-var Hle = 2e3, Ule = 1e4, rj = "连接中断,正在重新读取处理进度";
-function Wle(e, t) {
- return e?.status === "running" ? Hle : t ? Ule : !1;
+var Ule = 2e3, Wle = 1e4, nj = "连接中断,正在重新读取处理进度";
+function Gle(e, t) {
+ return e?.status === "running" ? Ule : t ? Wle : !1;
}
-var Gle = {
+var Kle = {
reading_local: "读取本地资料",
querying_metadata: "查询外部资料",
fetching_cover: "采集缺失封面",
writing_candidates: "保存资料候选"
-}, ij = {
+}, rj = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function Kle(e) {
- let t = Object.entries(e).filter(([e, t]) => ij[e] && t > 0).map(([e, t]) => `${ij[e]} ${t} 部`);
+function qle(e) {
+ let t = Object.entries(e).filter(([e, t]) => rj[e] && t > 0).map(([e, t]) => `${rj[e]} ${t} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function aj(e) {
- let t = Gle[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${e.waited_seconds} 秒` : "";
+function ij(e) {
+ let t = Kle[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 qle(e) {
+function Jle(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -35121,21 +35121,21 @@ function qle(e) {
log: e.issues_log || ""
} : null;
}
-var oj = "peach.library-processing.announced", Jle = 120;
-function Yle(e, t, n) {
+var aj = "peach.library-processing.announced", Yle = 120;
+function Xle(e, t, n) {
if (e.status !== "complete") return;
- let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Jle;
+ let r = !!e.job_id && !!e.completed_at && Date.now() / 1e3 - e.completed_at < Yle;
if (!(!n && !r)) {
try {
- if (e.job_id && localStorage.getItem(oj) === e.job_id) return;
- e.job_id && localStorage.setItem(oj, e.job_id);
+ if (e.job_id && localStorage.getItem(aj) === e.job_id) return;
+ e.job_id && localStorage.setItem(aj, e.job_id);
} catch {}
t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条`);
}
}
//#endregion
//#region src/react/media-repair/media-repair.ts
-var sj = "/api/media-repair", cj = ["media-repair"], lj = ["media-repair", "libraries"], Xle = {
+var oj = "/api/media-repair", sj = ["media-repair"], cj = ["media-repair", "libraries"], Zle = {
status: "idle",
library: "",
stage: "",
@@ -35147,33 +35147,33 @@ var sj = "/api/media-repair", cj = ["media-repair"], lj = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, uj = (e) => W(sj, e), dj = async (e) => (await W("/api/libraries", e)).libraries || [];
-async function Zle(e) {
+}, lj = (e) => W(oj, e), uj = async (e) => (await W("/api/libraries", e)).libraries || [];
+async function Qle(e) {
await Promise.all([p.fetchQuery({
+ queryKey: sj,
+ queryFn: () => lj(e)
+ }), p.fetchQuery({
queryKey: cj,
queryFn: () => uj(e)
- }), p.fetchQuery({
- queryKey: lj,
- queryFn: () => dj(e)
})]);
}
-var fj = (e) => Number(e).toLocaleString();
-function Qle(e) {
+var dj = (e) => Number(e).toLocaleString();
+function $le(e) {
if (e.status === "running") {
- let t = e.total ? `${fj(e.checked)} / ${fj(e.total)}` : "准备中";
+ let t = e.total ? `${dj(e.checked)} / ${dj(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${fj(e.repaired)} 部,${fj(e.failed)} 部修不了` : `修好 ${fj(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${dj(e.repaired)} 部,${dj(e.failed)} 部修不了` : `修好 ${dj(e.repaired)} 部` : "";
}
-var $le = (e) => `${fj(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, eue = "/api/quality-goals?limit=200", pj = ["quality-goals"], mj = (e) => W(eue, e);
-async function tue(e) {
+var eue = (e) => `${dj(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, tue = "/api/quality-goals?limit=200", fj = ["quality-goals"], pj = (e) => W(tue, e);
+async function nue(e) {
await p.fetchQuery({
- queryKey: pj,
- queryFn: () => mj(e)
+ queryKey: fj,
+ queryFn: () => pj(e)
});
}
-var nue = (e) => e.has_cover ? M(e) : `/poster?id=${e.id}&c=4`;
-function hj(e, t, n = 1) {
+var rue = (e) => e.has_cover ? M(e) : `/poster?id=${e.id}&c=4`;
+function mj(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;
@@ -35193,21 +35193,21 @@ function hj(e, t, n = 1) {
t
];
}
-function gj(e, t) {
+function hj(e, t) {
return Math.max(1, Math.ceil(e / t));
}
-function _j(e, t) {
+function gj(e, t) {
return Math.min(Math.max(1, Math.floor(e) || 1), t);
}
//#endregion
//#region src/selection.ts
-function rue(e, t, n, r, i, a = i || !e.has(r)) {
+function iue(e, t, n, r, i, a = i || !e.has(r)) {
let o = n === null ? -1 : t.indexOf(n), s = t.indexOf(r);
return i && o >= 0 && s >= 0 ? t.slice(Math.min(o, s), Math.max(o, s) + 1).forEach((t) => e.add(t)) : a ? e.add(r) : e.delete(r), r;
}
//#endregion
//#region src/react/time.ts
-function vj(e) {
+function _j(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);
@@ -35216,7 +35216,7 @@ function vj(e) {
}
//#endregion
//#region src/react/review/review.ts
-var iue = "/api/review", aue = "/api/review/decision", oue = "/api/review/genre", yj = ["review"], bj = {
+var aue = "/api/review", oue = "/api/review/decision", sue = "/api/review/genre", vj = ["review"], yj = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -35226,15 +35226,15 @@ var iue = "/api/review", aue = "/api/review/decision", oue = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, sue = Object.keys(bj), cue = "metadata_fields", xj = (e) => typeof e == "string" && Object.hasOwn(bj, e), lue = {
+}, cue = Object.keys(yj), lue = "metadata_fields", bj = (e) => typeof e == "string" && Object.hasOwn(yj, e), uue = {
creator_tags: "creator",
western_identity: "creator"
};
-function uue(e, t) {
+function due(e, t) {
let n = [["candidates", t ? "按候选数量" : "全部待复核"]];
return e.some((e) => e.source || e.candidates?.some((e) => e.source)) && n.push(["source", "按来源"]), e.some((e) => e.field) && n.push(["field", "按字段"]), n;
}
-function Sj(e, t) {
+function xj(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -35251,43 +35251,43 @@ function Sj(e, t) {
}
return [...n.values()];
}
-function due(e, t, n) {
- return n && Sj(e, t).find((e) => e.key === n)?.rows || e;
+function fue(e, t, n) {
+ return n && xj(e, t).find((e) => e.key === n)?.rows || e;
}
-function fue(e, t) {
- let n = gj(e.length, 20), r = _j(t, n);
+function pue(e, t) {
+ let n = hj(e.length, 20), r = gj(t, n);
return {
page: r,
pages: n,
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function pue(e) {
+function mue(e) {
return e.length ? [...new Set(e.flatMap((e) => e.candidates?.map((e) => e.source || "") || []))].filter((t) => t && e.every((e) => e.candidates?.filter((e) => e.source === t).length === 1)) : [];
}
-function mue(e, t, n, r, i, a) {
- return rue(e, t, n, r, i, a);
+function hue(e, t, n, r, i, a) {
+ return iue(e, t, n, r, i, a);
}
-function Cj(e, t) {
+function Sj(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function wj(e, t) {
+function Cj(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var Tj = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function hue(e, t) {
- let n = wj(e, t), r = Tj(e, t);
+var wj = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function gue(e, t) {
+ let n = Cj(e, t), r = wj(e, t);
return r ? `${n} · ${r}` : n;
}
-var gue = (e) => e.reason || e.evidence || e.note || e.decision_note || "", _ue = (e) => String(e.tags || "").split("|").filter(Boolean), vue = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function yue(e) {
+var _ue = (e) => e.reason || e.evidence || e.note || e.decision_note || "", vue = (e) => String(e.tags || "").split("|").filter(Boolean), yue = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function bue(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function Ej(e, t, n, r) {
+function Tj(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -35303,19 +35303,19 @@ function Ej(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var bue = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Dj = (e) => W(iue, e), Oj = (e) => G(aue, e), xue = (e, t) => G(oue, {
+var xue = (e) => e === "approved" ? "已通过候选" : e === "rejected" ? "已拒绝候选" : "已跳过候选", Ej = (e) => W(aue, e), Dj = (e) => G(oue, e), Sue = (e, t) => G(sue, {
genre: e,
tag: t
});
-async function kj(e) {
+async function Oj(e) {
await p.fetchQuery({
- queryKey: yj,
- queryFn: () => Dj(e)
+ queryKey: vj,
+ queryFn: () => Ej(e)
});
}
-function Aj(e, t) {
+function kj(e, t) {
let n = new Set(t);
- n.size && p.setQueryData(yj, (t) => {
+ n.size && p.setQueryData(vj, (t) => {
if (!t) return t;
let r = t.sections[e] || [], i = r.filter((e) => !n.has(String(e.item_key)));
return i.length === r.length ? t : {
@@ -35331,207 +35331,207 @@ function Aj(e, t) {
};
});
}
-var Sue = () => p.invalidateQueries({
- queryKey: yj,
+var Cue = () => p.invalidateQueries({
+ queryKey: vj,
exact: !0
});
-function Cue(e, t) {
- return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${vj(e.fetched_at)} 的缓存` : e?.error || t;
+function wue(e, t) {
+ return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${_j(e.fetched_at)} 的缓存` : e?.error || t;
}
//#endregion
//#region src/react/data-cleanup/links.ts
-var wue = "/api/links", jj = "/api/links/check", Mj = "/api/links/prune", Nj = ["links"], Pj = ["links", "check"], Fj = ["links", "prune"], Ij = {
+var Tue = "/api/links", Aj = "/api/links/check", jj = "/api/links/prune", Mj = ["links"], Nj = ["links", "check"], Pj = ["links", "prune"], Fj = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function Lj(e) {
+async function Ij(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var Rj = (e) => W(wue, e), zj = (e) => G(jj, { status_only: !0 }, "POST", e), Tue = ({ retry: e, checkId: t }) => Lj(G(jj, e ? {
+var Lj = (e) => W(Tue, e), Rj = (e) => G(Aj, { status_only: !0 }, "POST", e), Eue = ({ retry: e, checkId: t }) => Ij(G(Aj, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), Bj = (e) => W(Mj, e), Eue = (e) => Lj(G(Mj, {
+} : { restart: !0 })), zj = (e) => W(jj, e), Due = (e) => Ij(G(jj, {
confirm: !0,
check_id: e,
background: !0
-})), Vj = (e) => Number(e || 0).toLocaleString(), Due = (e) => `已删除 ${Vj(e.removed)} 条;${e.marked ? `已隐退女优的 ${Vj(e.marked)} 条留作不可点的记录;` : ""}保留 ${Vj(e.recovered)} 条未确认失效的链接。`;
-function Oue(e) {
+})), Bj = (e) => Number(e || 0).toLocaleString(), Oue = (e) => `已删除 ${Bj(e.removed)} 条;${e.marked ? `已隐退女优的 ${Bj(e.marked)} 条留作不可点的记录;` : ""}保留 ${Bj(e.recovered)} 条未确认失效的链接。`;
+function kue(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${Vj(e.checked)} / ${Vj(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${Bj(e.checked)} / ${Bj(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
//#endregion
//#region src/react/settings-panel/settings-data.ts
-var Hj = "/api/settings", Uj = "/api/follow/schedule", Wj = "/api/thumbnail-jobs", Gj = ["settings"], Kj = ["follow-schedule"], qj = ["thumbnail-jobs"], kue = (e) => W(Hj, e), Jj = (e) => W(Uj, e), Yj = (e) => W(Wj, e);
-function Aue(e = p) {
+var Vj = "/api/settings", Hj = "/api/follow/schedule", Uj = "/api/thumbnail-jobs", Wj = ["settings"], Gj = ["follow-schedule"], Kj = ["thumbnail-jobs"], Aue = (e) => W(Vj, e), qj = (e) => W(Hj, e), Jj = (e) => W(Uj, e);
+function jue(e = p) {
return e.fetchQuery({
- queryKey: Kj,
- queryFn: ({ signal: e }) => Jj(e),
+ queryKey: Gj,
+ queryFn: ({ signal: e }) => qj(e),
staleTime: 0
}).catch(() => null), e.fetchQuery({
- queryKey: qj,
- queryFn: ({ signal: e }) => Yj(e),
+ queryKey: Kj,
+ queryFn: ({ signal: e }) => Jj(e),
staleTime: 0
}).catch(() => null), e.fetchQuery({
- queryKey: Gj,
- queryFn: ({ signal: e }) => kue(e),
+ queryKey: Wj,
+ queryFn: ({ signal: e }) => Aue(e),
staleTime: 0
}).catch(() => null);
}
-function Xj() {
- return DS({
- mutationFn: (e) => G(Hj, e),
- onSuccess: (e) => p.setQueryData(Gj, e)
+function Yj() {
+ return ES({
+ mutationFn: (e) => G(Vj, e),
+ onSuccess: (e) => p.setQueryData(Wj, e)
});
}
-function jue() {
- return DS({
- mutationFn: (e) => G(Uj, {
+function Mue() {
+ return ES({
+ mutationFn: (e) => G(Hj, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => p.setQueryData(Kj, e)
+ onSuccess: (e) => p.setQueryData(Gj, e)
});
}
-function Mue() {
- return DS({
- mutationFn: (e) => G(Wj, { mode: e }),
- onSuccess: (e) => p.setQueryData(qj, e)
+function Nue() {
+ return ES({
+ mutationFn: (e) => G(Uj, { mode: e }),
+ onSuccess: (e) => p.setQueryData(Kj, e)
});
}
-function Nue(e) {
- return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${vj(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${vj(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";
-}
function Pue(e) {
+ return e.available ? e.running ? "正在检查全部来源…" : e.last_error ? `上次失败:${e.last_error}` : e.last_finished_at ? `上次完成 ${_j(e.last_finished_at)} · 新增 ${e.last_added || 0}` : e.next_run_at ? `下次 ${_j(e.next_run_at)}` : e.enabled ? "等待首次运行" : "已关闭" : "只在账本写入端运行";
+}
+function Fue(e) {
return e.status === "running" ? "正在采集,进度在活动页查看。" : e.status === "failed" ? `上一轮采集停下了:${e.stopped || "原因未取得"}` : e.status === "complete" ? e.stopped ? "上一轮采集已按停。" : "上一轮采集已完成。" : e.mode === "off" ? "关闭时不采集;已经生成的图留在盘上,清理走数据管理页。" : "选定档位后从最近看过的片子开始采集。";
}
//#endregion
//#region src/react/data-cleanup/organize.ts
-var Fue = "/api/organize", Iue = "/api/organize/preview", Lue = "/api/organize/apply", Rue = "/api/organize/rollback", Zj = ["organize"], Qj = (e) => W(Fue, e);
-async function zue(e) {
+var Iue = "/api/organize", Lue = "/api/organize/preview", Rue = "/api/organize/apply", zue = "/api/organize/rollback", Xj = ["organize"], Zj = (e) => W(Iue, e);
+async function Bue(e) {
await p.fetchQuery({
- queryKey: Zj,
- queryFn: () => Qj(e)
+ queryKey: Xj,
+ queryFn: () => Zj(e)
});
}
-var Bue = (e) => G(Iue, e), Vue = (e) => e.kind === "apply" ? G(Lue, {
+var Vue = (e) => G(Lue, e), Hue = (e) => e.kind === "apply" ? G(Rue, {
...e.request,
confirm: !0
-}) : G(Rue, { confirm: !0 });
-async function Hue(e) {
- p.setQueryData(Zj, (t) => t && {
+}) : G(zue, { confirm: !0 });
+async function Uue(e) {
+ p.setQueryData(Xj, (t) => t && {
...t,
templates: e
});
try {
- await G(Hj, { organizeTemplates: e });
+ await G(Vj, { organizeTemplates: e });
} catch {}
}
-var Uue = (e, t) => e && {
+var Wue = (e, t) => e && {
...e,
...t
-}, Wue = /目录模板|分隔符|盘符|`\.`/;
-function $j(e) {
+}, Gue = /目录模板|分隔符|盘符|`\.`/;
+function Qj(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var eM = (e) => Number(e || 0).toLocaleString();
-function Gue(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${eM(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${eM(e.counts.change)} 个文件会改名或移动,${eM(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var $j = (e) => Number(e || 0).toLocaleString();
+function Kue(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${$j(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${$j(e.counts.change)} 个文件会改名或移动,${$j(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function tM(e) {
+function eM(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${eM(r)} 个文件${n ? `,${eM(n)} 行未能退回` : ""}。` : `已整理 ${eM(r)} 个文件${n ? `,${eM(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${$j(r)} 个文件${n ? `,${$j(n)} 行未能退回` : ""}。` : `已整理 ${$j(r)} 个文件${n ? `,${$j(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
//#endregion
//#region src/react/data-cleanup/resource-sync.ts
-var nM = "/api/resource-sync/scan", rM = "/api/resource-sync/apply", iM = ["resource-sync", "scan"], aM = ["resource-sync", "apply"], oM = (e) => G(nM, {
+var tM = "/api/resource-sync/scan", nM = "/api/resource-sync/apply", rM = ["resource-sync", "scan"], iM = ["resource-sync", "apply"], aM = (e) => G(tM, {
background: !0,
status_only: !0
-}, "POST", e), Kue = () => G(nM, {
+}, "POST", e), que = () => G(tM, {
background: !0,
restart: !0
-}), sM = (e) => W(rM, e), que = (e) => G(rM, {
+}), oM = (e) => W(nM, e), Jue = (e) => G(nM, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), cM = (e) => (e?.sources ?? []).some((e) => Ple.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function Jue(e) {
- cM(p.getQueryData(u)) && await Promise.all([p.fetchQuery({
+}), sM = (e) => (e?.sources ?? []).some((e) => Fle.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function Yue(e) {
+ sM(p.getQueryData(u)) && await Promise.all([p.fetchQuery({
+ queryKey: rM,
+ queryFn: () => aM(e)
+ }), p.fetchQuery({
queryKey: iM,
queryFn: () => oM(e)
- }), p.fetchQuery({
- queryKey: aM,
- queryFn: () => sM(e)
})]);
}
-var Yue = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Xue = {
+var Xue = (e) => !!(e?.missing || e?.empty || e?.cache?.files), Zue = {
local: "本地磁盘",
115: "115",
pikpak: "PikPak"
-}, lM = (e) => Number(e || 0).toLocaleString(), Zue = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", uM = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), dM = (e) => e.vanish ? `${lM(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", fM = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Que = (e) => `将永久删除文件已不在盘上的 ${lM(uM(e))} 条记录和 ${lM(e.empty)} 个空文件夹,并清理 ${lM(e.cache?.files)} 个闲置缓存。${fM(e)}${dM(e)}`, $ue = (e) => `将永久删除文件已不在盘上的 ${lM(uM(e))} 条记录(含回收站里的)、${lM(e.empty)} 个空文件夹,并清理 ${lM(e.cache?.files)} 个闲置缓存。来源根目录保留。${fM(e)}${dM(e)}`, ede = (e) => e.online ? [
- `找不到文件 · 共 ${lM(e.total)} 项`,
- e.vanish ? `${lM(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${lM(e.empty)} 个` : "",
- e.unreadable ? `${lM(e.unreadable)} 个目录读取失败,已跳过` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${lM(e.total)} 项`;
-function pM(e) {
+}, cM = (e) => Number(e || 0).toLocaleString(), Que = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", lM = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), uM = (e) => e.vanish ? `${cM(e.vanish)} 条带个人记录的标为已消失,记录留着,可在孤儿记录里接到新文件或彻底删除。` : "", dM = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", $ue = (e) => `将永久删除文件已不在盘上的 ${cM(lM(e))} 条记录和 ${cM(e.empty)} 个空文件夹,并清理 ${cM(e.cache?.files)} 个闲置缓存。${dM(e)}${uM(e)}`, ede = (e) => `将永久删除文件已不在盘上的 ${cM(lM(e))} 条记录(含回收站里的)、${cM(e.empty)} 个空文件夹,并清理 ${cM(e.cache?.files)} 个闲置缓存。来源根目录保留。${dM(e)}${uM(e)}`, tde = (e) => e.online ? [
+ `找不到文件 · 共 ${cM(e.total)} 项`,
+ e.vanish ? `${cM(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${cM(e.empty)} 个` : "",
+ e.unreadable ? `${cM(e.unreadable)} 个目录读取失败,已跳过` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${cM(e.total)} 项`;
+function fM(e) {
let t = e.blocked ?? [], n = Number(e.dir_errors || 0), r = e.cache_blocked ?? [], i = Number(e.purged || 0) + Number(e.vanished || 0) + Number(e.reattached || 0) + Number(e.dirs_removed || 0) + Number(e.cache_removed || 0), a = t.length + n + r.length, o = t.slice(0, 3).map((e) => `「${e.name}」`).join("、") + (t.length > 3 ? " 等" : "");
return {
done: i,
left: a,
rest: [
- t.length ? `${lM(t.length)} 条记录没有删除(${o})` : "",
- n ? `${lM(n)} 个文件夹没有删除` : "",
- r.length ? `${lM(r.length)} 个缓存没有清理` : ""
+ t.length ? `${cM(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${cM(n)} 个文件夹没有删除` : "",
+ r.length ? `${cM(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var tde = (e, t) => {
- let { rest: n } = pM(e), r = `已永久删除 ${lM(e.purged)} 条失效记录和 ${lM(e.dirs_removed)} 个空文件夹,清理 ${lM(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${lM(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${lM(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var nde = (e, t) => {
+ let { rest: n } = fM(e), r = `已永久删除 ${cM(e.purged)} 条失效记录和 ${cM(e.dirs_removed)} 个空文件夹,清理 ${cM(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${cM(e.vanished)} 条带个人记录的已标为已消失,可在孤儿记录里处理。` : "") + (e.reattached ? `${cM(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, nde = "/api/review?counts=1", mM = ["review", "counts"], rde = "/api/ads?limit=1", hM = ["junk-summary"], gM = "/api/items?state=trash&limit=1", _M = ["trash-summary"], ide = [
+}, rde = "/api/review?counts=1", pM = ["review", "counts"], ide = "/api/ads?limit=1", mM = ["junk-summary"], hM = "/api/items?state=trash&limit=1", gM = ["trash-summary"], ade = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], vM = (e) => W(nde, e), yM = (e) => W(rde, e), bM = (e) => {
+], _M = (e) => W(rde, e), vM = (e) => W(ide, e), yM = (e) => {
let t = sessionStorage.getItem("peach.library");
- return W(t ? `${gM}&library=${encodeURIComponent(t)}` : gM, e);
-}, xM = (e) => Number(e || 0).toLocaleString();
-function ade(e) {
- let t = bj, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
+ return W(t ? `${hM}&library=${encodeURIComponent(t)}` : hM, e);
+}, bM = (e) => Number(e || 0).toLocaleString();
+function ode(e) {
+ let t = yj, n = Object.entries(e?.counts ?? {}).map(([e, n]) => [t[e] || e, Number(n) || 0]).filter(([, e]) => e > 0).sort((e, t) => t[1] - e[1]), r = n.reduce((e, [, t]) => e + t, 0), i = n.slice(0, 3).map(([e, t]) => `${e} ${t.toLocaleString()}`), a = n.slice(3).reduce((e, [, t]) => e + t, 0);
return a && i.push(`其余 ${a.toLocaleString()}`), {
figure: `${r.toLocaleString()} 条待复核`,
meta: i.join(" · ")
};
}
-function ode(e) {
+function sde(e) {
if (!e) return "";
- let t = ide.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${xM(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${xM(e.dismissed_total)}`), t.join(" · ");
-}
-var sde = [
- [mM, ({ signal: e }) => vM(e)],
- [pj, ({ signal: e }) => mj(e)],
- [_M, ({ signal: e }) => bM(e)],
+ let t = ade.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${bM(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${bM(e.dismissed_total)}`), t.join(" · ");
+}
+var cde = [
+ [pM, ({ signal: e }) => _M(e)],
+ [fj, ({ signal: e }) => pj(e)],
+ [gM, ({ signal: e }) => yM(e)],
+ [Mj, ({ signal: e }) => Lj(e)],
[Nj, ({ signal: e }) => Rj(e)],
- [Pj, ({ signal: e }) => zj(e)],
- [Fj, ({ signal: e }) => Bj(e)]
+ [Pj, ({ signal: e }) => zj(e)]
];
-async function cde(e) {
- let t = location.hash === "#resource-sync", n = sde.map(([n, r]) => {
+async function lde(e) {
+ let t = location.hash === "#resource-sync", n = cde.map(([n, r]) => {
if (t) return p.fetchQuery({
queryKey: n,
queryFn: () => r({ signal: e })
@@ -35544,49 +35544,49 @@ async function cde(e) {
await Promise.all([
...n,
p.fetchQuery({
- queryKey: hM,
- queryFn: () => yM(e)
+ queryKey: mM,
+ queryFn: () => vM(e)
}),
p.fetchQuery({
- queryKey: qA,
- queryFn: () => YA(e)
+ queryKey: KA,
+ queryFn: () => JA(e)
}),
- KA(e).then(() => Jue(e)),
- nj(e),
- Zle(e),
- zue(e)
+ GA(e).then(() => Yue(e)),
+ tj(e),
+ Qle(e),
+ Bue(e)
]);
}
//#endregion
//#region src/react/components/stat-card.tsx
-var lde = [
+var ude = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], ude = [
+], dde = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function SM(e = {}) {
- return `${kE({
+function xM(e = {}) {
+ return `${OE({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var CM = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", dde = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function wM({ interactive: e = !1 } = {}) {
- return kE({
+var SM = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", fde = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function CM({ interactive: e = !1 } = {}) {
+ return OE({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var fde = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function TM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var pde = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function wM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -35619,13 +35619,13 @@ function TM({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta
})
] });
}
-function EM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function TM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 px-4 text-body-regular text-text-secondary max-sm:gap-1.5 max-sm:px-3",
children: [t ? /* @__PURE__ */ (0, B.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${lde[n % 4]} ${ude[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${ude[n % 4]} ${dde[n % 4]}`,
children: /* @__PURE__ */ (0, B.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -35647,9 +35647,9 @@ function EM({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
}
//#endregion
//#region src/react/components/menu-dialog.tsx
-function DM(e) {
- let t = hA("hover");
- return /* @__PURE__ */ (0, B.jsx)(MO, {
+function EM(e) {
+ let t = mA("hover");
+ return /* @__PURE__ */ (0, B.jsx)(jO, {
...e,
ref: t
});
@@ -35660,67 +35660,67 @@ function DM(e) {
}).medium;
//#endregion
//#region src/management.ts
-var pde = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", mde = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", hde = kE({
+var mde = "扫描媒体文件夹,导入已有资料,采集缺失信息。两段也可以分开跑:新盘刚接上时先只扫描,几万个文件登记完就能用;采集被网络拖住时只重跑采集,不必再扫一遍磁盘。", hde = "修缺时间戳表(播放卡顿)和缺索引(打不开)的 MP4。常看的片子先修。", gde = OE({
padding: "none",
bordered: "line",
className: "overflow-hidden"
-}), gde = {
+}), _de = {
split: "min-w-0 p-6",
stack: "flex min-h-30 min-w-0 flex-1 flex-col px-5 pt-5 pb-4 max-cleanup-tight:min-h-0 max-cleanup-tight:p-4.5"
-}, _de = {
+}, vde = {
split: "flex flex-wrap items-center justify-end gap-2 self-stretch p-6 max-[1001px]:justify-start max-[1001px]:pt-0",
stack: "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t border-border-button-default bg-card-footer px-5 py-3 max-cleanup-tight:px-4.5"
-}, vde = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", yde = {
+}, yde = "flex min-h-14 flex-wrap items-center justify-end gap-2 border-t px-5 py-3", bde = {
neutral: "border-border-button-default bg-card-footer",
error: "border-border-error-default bg-background-tertiary-error"
-}, bde = kE({
+}, xde = OE({
padding: "none",
radius: "surface",
bordered: "line",
className: "overflow-hidden"
-}), OM = "border-t border-border-button-default p-4 first:border-t-0";
-function kM({ tone: e = "neutral", status: t, children: n }) {
+}), DM = "border-t border-border-button-default p-4 first:border-t-0";
+function OM({ tone: e = "neutral", status: t, children: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: `${vde} ${yde[e]}`,
+ className: `${yde} ${bde[e]}`,
children: [t ? /* @__PURE__ */ (0, B.jsx)("p", {
className: `mr-auto min-w-0 text-caption-1-regular ${e === "error" ? "text-text-error-primary" : "text-text-secondary"}`,
children: t
}) : null, n]
});
}
-function AM({ id: e, children: t }) {
+function kM({ id: e, children: t }) {
return /* @__PURE__ */ (0, B.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function jM({ id: e, gap: t = "none", children: n }) {
+function AM({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, B.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function MM({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function jM({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, B.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: `${hde} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
+ className: `${gde} ${e === "split" ? "fieldset-split" : "flex flex-col"}`,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
- className: gde[e],
+ className: _de[e],
children: a
}), i ? /* @__PURE__ */ (0, B.jsx)("footer", {
- className: _de[e],
+ className: vde[e],
children: i
}) : null]
});
}
//#endregion
//#region src/react/components/overlay-scrollbar.ts
-function NM() {
+function MM() {
let e = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
ke(e.current);
@@ -35728,7 +35728,7 @@ function NM() {
}
//#endregion
//#region src/react/boardui/components/base/buttons/icon-button.tsx
-var PM = wE({
+var NM = CE({
base: [
"relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg",
"bg-background-primary-default text-foreground-icon-primary",
@@ -35749,21 +35749,21 @@ var PM = wE({
small: "size-4 shrink-0"
}
});
-function FM({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function PM({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, B.jsx)("button", {
ref: i,
type: r,
- className: CE(PM.base, PM.size[t], n),
+ className: SE(NM.base, NM.size[t], n),
...a,
children: /* @__PURE__ */ (0, B.jsx)(e, {
- className: PM.icon[t],
+ className: NM.icon[t],
"aria-hidden": !0
})
});
}
//#endregion
//#region src/react/components/path-line.tsx
-function xde({ className: e }) {
+function Sde({ className: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -35776,8 +35776,8 @@ function xde({ className: e }) {
children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-folder-open" })
});
}
-var Sde = "打开文件管理器失败,请重试";
-function IM({ path: e, prefix: t, className: n, onRevealed: r }) {
+var Cde = "打开文件管理器失败,请重试";
+function FM({ path: e, prefix: t, className: n, onRevealed: r }) {
let [i, a] = (0, R.useState)(!1), [o, s] = (0, R.useState)(""), c = (0, R.useRef)(!0);
(0, R.useEffect)(() => () => {
c.current = !1;
@@ -35788,7 +35788,7 @@ function IM({ path: e, prefix: t, className: n, onRevealed: r }) {
try {
await G("/api/reveal", { path: e }), r?.("已在资源管理器中显示");
} catch (e) {
- c.current && s(e instanceof RS ? e.message : Sde);
+ c.current && s(e instanceof LS ? e.message : Cde);
} finally {
c.current && a(!1);
}
@@ -35799,10 +35799,10 @@ function IM({ path: e, prefix: t, className: n, onRevealed: r }) {
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, B.jsxs)("p", {
- className: CE("min-w-0 break-all", n),
+ className: SE("min-w-0 break-all", n),
children: [t, e]
- }), /* @__PURE__ */ (0, B.jsx)(FM, {
- icon: xde,
+ }), /* @__PURE__ */ (0, B.jsx)(PM, {
+ icon: Sde,
size: "small",
className: "shrink-0",
"aria-label": "在资源管理器中显示",
@@ -35817,38 +35817,38 @@ function IM({ path: e, prefix: t, className: n, onRevealed: r }) {
}
//#endregion
//#region src/react/components/task-progress.tsx
-function LM({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function IM({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-task-progress": !0,
- className: r ? "flex flex-col gap-1.5" : kE({
+ className: r ? "flex flex-col gap-1.5" : OE({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-1.5 px-4 py-3.5"
}),
- children: n && n > 0 ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(PE, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(NE, {
label: e,
value: t,
max: n
}), /* @__PURE__ */ (0, B.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: e
- })] }) : /* @__PURE__ */ (0, B.jsx)(jE, { label: e })
+ })] }) : /* @__PURE__ */ (0, B.jsx)(AE, { label: e })
});
}
//#endregion
//#region src/react/library-processing/use-library-processing.ts
-function RM({ toast: e, mode: t, monitor: n }) {
- let r = t === "notice" || !!n, i = wS({
- queryKey: ej,
- queryFn: ({ signal: e }) => tj(e),
- refetchInterval: (e) => Wle(e.state.data, r)
+function LM({ toast: e, mode: t, monitor: n }) {
+ let r = t === "notice" || !!n, i = CS({
+ queryKey: $A,
+ queryFn: ({ signal: e }) => ej(e),
+ refetchInterval: (e) => Gle(e.state.data, r)
}), [a, o] = (0, R.useState)(null), s = (0, R.useRef)(void 0), c = i.data;
return (0, R.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") && Yle(c, e, r);
+ r && o(c), (r || t === "notice") && Xle(c, e, r);
}, [
c,
t,
@@ -35861,29 +35861,29 @@ function RM({ toast: e, mode: t, monitor: n }) {
}
//#endregion
//#region src/react/library-processing/library-processing-card.tsx
-var Cde = [
+var wde = [
{
label: "扫描并补全资料",
- icon: ST,
+ icon: xT,
command: {}
},
{
label: "只扫描",
- icon: ET,
+ icon: TT,
command: { stage: "scan" }
},
{
label: "只采集",
- icon: iae,
+ icon: aae,
command: { stage: "collect" }
}
-], wde = CE(wk, Tk, "text-body-2-medium"), Tde = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Ede = (e) => {
+], Tde = SE(Ck, wk, "text-body-2-medium"), Ede = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", Dde = (e) => {
let t = e.performer_aliases || 0, n = e.performer_avatars || 0, r = e.performer_profile_conflicts || 0, i = e.performer_profile_failed || 0;
if (!t && !n && !r && !i) return "";
let a = [`补齐女优资料:别名 ${t} 个,头像 ${n} 张`];
return r && a.push(`${r} 个同名冲突交回人工`), i && a.push(`${i} 张头像未取得`), `${a.join(",")}。`;
-}, Dde = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Ede(e);
-function Ode({ busy: e, onRun: t }) {
+}, Ode = (e) => `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,整理 ${e.candidates || 0} 组资料候选,自动落库 ${e.auto_applied || 0} 条。` + Dde(e);
+function kde({ busy: e, onRun: t }) {
let n = (0, R.useRef)(null), [r, i] = (0, R.useState)(!1), a = (n) => {
e || (i(!1), t(n));
};
@@ -35892,14 +35892,14 @@ function Ode({ busy: e, onRun: t }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: ST,
+ leadingIcon: xT,
onClick: () => a({}),
...X(e),
children: "扫描并补全资料"
}), /* @__PURE__ */ (0, B.jsx)(J, {
ref: n,
iconOnly: !0,
- leadingIcon: mT,
+ leadingIcon: pT,
"aria-label": "更多扫描与采集方式",
"aria-haspopup": "dialog",
"aria-expanded": r,
@@ -35908,19 +35908,19 @@ function Ode({ busy: e, onRun: t }) {
e || i(!0);
}
})]
- }), /* @__PURE__ */ (0, B.jsx)(xO, {
+ }), /* @__PURE__ */ (0, B.jsx)(bO, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "bottom end",
offset: 4,
- className: Ck,
- children: /* @__PURE__ */ (0, B.jsx)(DM, {
+ className: Sk,
+ children: /* @__PURE__ */ (0, B.jsx)(EM, {
"aria-label": "更多扫描与采集方式",
className: "flex w-52 flex-col gap-1 outline-none",
- children: Cde.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, B.jsxs)("button", {
+ children: wde.map(({ label: e, icon: t, command: n }) => /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
- className: wde,
+ className: Tde,
onClick: () => a(n),
children: [/* @__PURE__ */ (0, B.jsx)(t, {
"aria-hidden": !0,
@@ -35930,8 +35930,8 @@ function Ode({ busy: e, onRun: t }) {
})
})] });
}
-function kde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = qle(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = Kle(e.notes || {}), c = NM();
+function Ade({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = Jle(e), o = e.status === "failed" && !!e.retryable_asset_ids?.length, s = qle(e.notes || {}), c = MM();
return /* @__PURE__ */ (0, B.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
@@ -35939,7 +35939,7 @@ function kde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
e.status === "running" && e.stalled ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "warning",
title: "处理较慢",
- children: Tde
+ children: Ede
}) : null,
t || e.status === "failed" ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -35951,7 +35951,7 @@ function kde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null,
extra: a ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5",
- children: /* @__PURE__ */ (0, B.jsxs)(Wk, {
+ children: /* @__PURE__ */ (0, B.jsxs)(Uk, {
summary: a.label,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "relative",
@@ -35982,7 +35982,7 @@ function kde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}), a.log ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "mt-2 border-t border-current/20 pt-2 text-text-secondary",
- children: /* @__PURE__ */ (0, B.jsx)(IM, {
+ children: /* @__PURE__ */ (0, B.jsx)(FM, {
path: a.log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -35996,13 +35996,13 @@ function kde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
n?.status === "complete" ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "success",
title: "处理完成",
- children: Dde(n)
+ children: Ode(n)
}) : null,
e.status !== "running" && s ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
extra: e.issues_log ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "mt-1.5 border-t border-current/20 pt-1.5 text-text-secondary",
- children: /* @__PURE__ */ (0, B.jsx)(IM, {
+ children: /* @__PURE__ */ (0, B.jsx)(FM, {
path: e.issues_log,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -36014,38 +36014,38 @@ function kde({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
]
});
}
-function zM(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = RM(e), o = DS({
- mutationFn: (e) => G($A, e),
+function RM(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = LM(e), o = ES({
+ mutationFn: (e) => G(QA, e),
onSuccess: (e) => {
- a(), p.setQueryData(ej, e), p.invalidateQueries({ queryKey: ej });
+ a(), p.setQueryData($A, e), p.invalidateQueries({ queryKey: $A });
}
});
(0, R.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = o.error ? U(o.error) : r.isError ? r.data ? rj : U(r.error) : "", l = o.isPending || s.status === "running", u = aj(s), d = (e) => {
+ let s = r.data ?? { status: "idle" }, c = o.error ? U(o.error) : r.isError ? r.data ? nj : U(r.error) : "", l = o.isPending || s.status === "running", u = ij(s), d = (e) => {
l || (o.reset(), o.mutate(e));
};
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, B.jsx)(MM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(jM, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(Nk, {
+ /* @__PURE__ */ (0, B.jsx)(Mk, {
href: "/scraping",
size: "small",
- trailingIcon: hT,
+ trailingIcon: mT,
children: "来源和凭证"
}),
- s.candidates ? /* @__PURE__ */ (0, B.jsx)(Nk, {
+ s.candidates ? /* @__PURE__ */ (0, B.jsx)(Mk, {
href: "/review",
size: "small",
- trailingIcon: hT,
+ trailingIcon: mT,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Ode, {
+ /* @__PURE__ */ (0, B.jsx)(kde, {
busy: l,
onRun: d
})
@@ -36053,12 +36053,12 @@ function zM(e) {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(jM, { children: "扫描与采集" }),
+ /* @__PURE__ */ (0, B.jsx)(AM, { children: "扫描与采集" }),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: pde
+ children: mde
}),
- s.status === "running" ? /* @__PURE__ */ (0, B.jsx)(LM, {
+ s.status === "running" ? /* @__PURE__ */ (0, B.jsx)(IM, {
embedded: !0,
label: u,
value: s.checked,
@@ -36066,7 +36066,7 @@ function zM(e) {
}) : null
]
})
- }), /* @__PURE__ */ (0, B.jsx)(kde, {
+ }), /* @__PURE__ */ (0, B.jsx)(Ade, {
state: s,
problem: c,
settled: i,
@@ -36082,20 +36082,20 @@ function zM(e) {
}
//#endregion
//#region src/react/background-job.ts
-var BM = 2e3, Ade = (e) => e, jde = (e, t) => t;
-function VM(e) {
- let { queryKey: t, jobOf: n = Ade, withJob: r = jde, idlePollMs: i } = e, [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(null), l = (0, R.useRef)(e);
+var zM = 2e3, jde = (e) => e, Mde = (e, t) => t;
+function BM(e) {
+ let { queryKey: t, jobOf: n = jde, withJob: r = Mde, idlePollMs: i } = e, [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(null), l = (0, R.useRef)(e);
(0, R.useEffect)(() => {
l.current = e;
});
- let u = wS({
+ let u = CS({
queryKey: t,
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? BM : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? zM : i ?? !1;
}
- }), d = DS({
+ }), d = ES({
mutationFn: (e) => l.current.start(e),
onSuccess: (e) => {
o(!0), c(null), l.current.onStarted?.(e), p.setQueryData(t, (t) => r(t, e)), p.invalidateQueries({
@@ -36124,32 +36124,32 @@ function VM(e) {
}
//#endregion
//#region src/react/media-repair/media-repair-card.tsx
-var Mde = (e) => Oe[e] || e, HM = (e) => p.setQueryData(cj, e);
-function Nde() {
- let e = wS({
+var Nde = (e) => Oe[e] || e, VM = (e) => p.setQueryData(sj, e);
+function Pde() {
+ let e = CS({
+ queryKey: sj,
+ queryFn: ({ signal: e }) => lj(e),
+ refetchInterval: (e) => e.state.data?.status === "running" && zM
+ }), t = CS({
queryKey: cj,
- queryFn: ({ signal: e }) => uj(e),
- refetchInterval: (e) => e.state.data?.status === "running" && BM
- }), t = wS({
- queryKey: lj,
- queryFn: ({ signal: e }) => dj(e)
- }), [n, r] = (0, R.useState)(""), i = FE(), a = e.data ?? Xle, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
+ queryFn: ({ signal: e }) => uj(e)
+ }), [n, r] = (0, R.useState)(""), i = PE(), a = e.data ?? Zle, o = t.data ?? [], s = a.status === "running", c = o.find((e) => e.id === (s ? a.library : n)) ?? o.find((e) => e.id === a.library) ?? o[0], l = () => {
c && je({
title: `修复媒体库「${c.name}」`,
body: "缺时间戳表的片子另存一份修好的头,原文件不动;缺索引的片子重建后替换原文件,坏原件改名成同目录的隐藏文件(.文件名.peach-original)留着。" + (c.metered ? "这个库在计费来源上,每修一部都要把片子完整拉一遍。" : ""),
confirmLabel: "修复媒体库",
- onConfirm: async () => HM(await G(sj, {
+ onConfirm: async () => VM(await G(oj, {
library: c.id,
restart: !0
}))
});
- }, u = () => void i.run("stop", (e) => G(sj, { stop: !0 }, "POST", e), HM), d = Qle(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
+ }, u = () => void i.run("stop", (e) => G(oj, { stop: !0 }, "POST", e), VM), d = $le(a), f = a.status === "complete", p = i.error || a.error || (e.error ? "读不到媒体修复的状态" : "");
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, B.jsx)(MM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(jM, {
layout: "split",
label: "媒体修复",
- footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Dk, {
+ footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "媒体库",
className: "w-48",
selectedKey: c?.id ?? null,
@@ -36157,10 +36157,10 @@ function Nde() {
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: o.map((e) => /* @__PURE__ */ (0, B.jsxs)(Ok, {
+ children: o.map((e) => /* @__PURE__ */ (0, B.jsxs)(Dk, {
id: e.id,
textValue: e.name,
- children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: Mde(e.icon) }), e.name]
+ children: [/* @__PURE__ */ (0, B.jsx)(Wk, { mark: Nde(e.icon) }), e.name]
}, e.id))
}), s ? /* @__PURE__ */ (0, B.jsx)(J, {
onClick: u,
@@ -36174,12 +36174,12 @@ function Nde() {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(jM, { children: "媒体修复" }),
+ /* @__PURE__ */ (0, B.jsx)(AM, { children: "媒体修复" }),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: mde
+ children: hde
}),
- s && a.total ? /* @__PURE__ */ (0, B.jsx)(PE, {
+ s && a.total ? /* @__PURE__ */ (0, B.jsx)(NE, {
label: "修复进度",
value: a.checked,
max: a.total
@@ -36203,7 +36203,7 @@ function Nde() {
f && a.missing_tool ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "warning",
title: "缺少 untrunc",
- children: $le(a)
+ children: eue(a)
}) : null,
p ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -36215,7 +36215,7 @@ function Nde() {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var UM = {
+var HM = {
md: {
box: "size-4",
glyph: "size-4",
@@ -36229,11 +36229,11 @@ var UM = {
gap: "gap-1.5"
}
};
-function WM({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = UM[t], c = n || r, l = o && !a;
+function UM({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = HM[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
- className: CE("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? CE("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : CE("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"),
+ className: SE("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? SE("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : SE("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, B.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -36257,36 +36257,36 @@ function WM({ state: e, size: t = "md" }) {
}
//#endregion
//#region src/react/boardui/components/base/checkbox/checkbox.tsx
-function GM({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = UM[n];
- return /* @__PURE__ */ (0, B.jsx)(Ooe, {
+function WM({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = HM[n];
+ return /* @__PURE__ */ (0, B.jsx)(koe, {
ref: r,
...i,
- className: (t) => CE("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, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(WM, {
+ className: (t) => SE("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, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(UM, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, B.jsx)("span", {
- className: CE(a.label, "text-text-primary"),
+ className: SE(a.label, "text-text-primary"),
children: t
})] })
});
}
//#endregion
//#region src/react/boardui/components/base/table/table.tsx
-function KM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function GM({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
- className: CE("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, B.jsx)(Ise, {
+ className: SE("w-full overflow-x-auto", n),
+ children: /* @__PURE__ */ (0, B.jsx)(Lse, {
ref: r,
...i,
- className: CE("bui-table", e === "sm" && "bui-table-sm", t)
+ className: SE("bui-table", e === "sm" && "bui-table-sm", t)
})
});
}
//#endregion
//#region src/react/components/row-click.ts
-var Pde = [
+var Fde = [
"a",
"button",
"input",
@@ -36299,15 +36299,15 @@ var Pde = [
"[role=\"link\"]",
"[role=\"menu\"]"
].join(",");
-function qM(e, t) {
+function KM(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(Pde);
+ let r = n.closest(Fde);
return !r || !t.contains(r) || r === t;
}
//#endregion
//#region src/react/components/data-table-frame.tsx
-function JM({ children: e, follow: t = !1, onRowClick: n }) {
+function qM({ children: e, follow: t = !1, onRowClick: n }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-board-data-table": !0,
"data-follow-table": t || void 0,
@@ -36315,15 +36315,15 @@ function JM({ children: e, follow: t = !1, onRowClick: n }) {
let t = e.target;
if (!(t instanceof Element)) return;
let r = t.closest("[role=\"row\"][data-key]");
- r && qM(e, r) && n(r.dataset.key);
+ r && KM(e, r) && n(r.dataset.key);
} : void 0,
children: e
});
}
//#endregion
//#region src/react/data-cleanup/link-manager.tsx
-var Fde = CA("unlink"), YM = CA("rotate-cw"), Ide = "站点返回 404 或 410,确认这个地址不存在。", Lde = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", Rde = "删除前会逐条重验一次;此操作不可撤销。", zde = "暂时无法读取进度,正在重新连接…", XM = (e) => Number(e || 0).toLocaleString();
-function ZM({ label: e, value: t, note: n }) {
+var Ide = SA("unlink"), JM = SA("rotate-cw"), Lde = "站点返回 404 或 410,确认这个地址不存在。", Rde = "站点拒绝程序访问或一次临时故障都会落在这里。链接保留,可勾选后单独重试。", zde = "删除前会逐条重验一次;此操作不可撤销。", Bde = "暂时无法读取进度,正在重新连接…", YM = (e) => Number(e || 0).toLocaleString();
+function XM({ label: e, value: t, note: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-col gap-0.5",
children: [
@@ -36342,11 +36342,11 @@ function ZM({ label: e, value: t, note: n }) {
]
});
}
-function QM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
+function ZM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a }) {
if (!t.length) return null;
let o = r ?? [], s = o.length > 0 && o.length === t.length;
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: OM,
+ className: DM,
children: [
/* @__PURE__ */ (0, B.jsxs)("h4", {
className: "mb-1 text-body-semibold text-text-primary",
@@ -36359,13 +36359,13 @@ function QM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
className: "mb-3 text-caption-1-regular text-text-secondary",
children: n
}),
- /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
+ /* @__PURE__ */ (0, B.jsx)(qM, { children: /* @__PURE__ */ (0, B.jsxs)(GM, {
"aria-label": e,
size: "sm",
- children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [
- i ? /* @__PURE__ */ (0, B.jsx)(rk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(tk, { children: [
+ i ? /* @__PURE__ */ (0, B.jsx)(nk, {
id: "pick",
- children: /* @__PURE__ */ (0, B.jsx)(GM, {
+ children: /* @__PURE__ */ (0, B.jsx)(WM, {
slot: null,
"aria-label": "全选本次未访问成功的链接",
isSelected: s,
@@ -36373,44 +36373,44 @@ function QM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
onChange: (e) => i(e ? t.map((e) => e.id) : [])
})
}) : null,
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "entity",
isRowHeader: !0,
children: "所属"
}),
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "kind",
children: "类型"
}),
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "label",
children: "标签"
}),
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "note",
children: "结果"
}),
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "url",
children: "地址"
})
- ] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: t.map((e) => /* @__PURE__ */ (0, B.jsxs)(ck, {
+ ] }), /* @__PURE__ */ (0, B.jsx)(ik, { children: t.map((e) => /* @__PURE__ */ (0, B.jsxs)(sk, {
id: e.id,
children: [
- i ? /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(GM, {
+ i ? /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)(WM, {
slot: null,
"aria-label": `选择 ${e.entity} 的${e.label || e.url}`,
isSelected: o.includes(e.id),
onChange: (t) => i(t ? [...o, e.id] : o.filter((t) => t !== e.id))
}) }) : null,
- /* @__PURE__ */ (0, B.jsx)(uk, { children: e.entity }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: Ij[e.link_kind] || e.link_kind }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: e.label || "" }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: e.entity }),
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: Fj[e.link_kind] || e.link_kind }),
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: e.label || "" }),
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "tabular-nums text-text-error-primary",
children: e.note
}) }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsxs)("a", {
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsxs)("a", {
href: e.url,
target: "_blank",
rel: "noreferrer",
@@ -36420,7 +36420,7 @@ function QM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
"data-middle-truncate": !0,
className: "min-w-0 truncate",
children: e.url
- }), /* @__PURE__ */ (0, B.jsx)(wT, {
+ }), /* @__PURE__ */ (0, B.jsx)(CT, {
"aria-hidden": !0,
className: "size-3.5 shrink-0"
})]
@@ -36432,27 +36432,27 @@ function QM({ title: e, items: t, hint: n, picked: r, onPick: i, children: a })
]
});
}
-function Bde() {
- let e = wS({
- queryKey: Nj,
- queryFn: ({ signal: e }) => Rj(e)
- }), [t, n] = (0, R.useState)([]), r = VM({
- queryKey: Fj,
- queryFn: ({ signal: e }) => Bj(e),
- start: Eue,
+function Vde() {
+ let e = CS({
+ queryKey: Mj,
+ queryFn: ({ signal: e }) => Lj(e)
+ }), [t, n] = (0, R.useState)([]), r = BM({
+ queryKey: Pj,
+ queryFn: ({ signal: e }) => zj(e),
+ start: Due,
onFinish: () => {
p.invalidateQueries({
- queryKey: Nj,
+ queryKey: Mj,
exact: !0
}), p.invalidateQueries({
- queryKey: Pj,
+ queryKey: Nj,
exact: !0
});
}
- }), i = VM({
- queryKey: Pj,
- queryFn: ({ signal: e }) => zj(e),
- start: Tue,
+ }), i = BM({
+ queryKey: Nj,
+ queryFn: ({ signal: e }) => Rj(e),
+ start: Eue,
onStarted: () => {
r.dismiss(), n([]);
}
@@ -36482,7 +36482,7 @@ function Bde() {
else if (v) x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "success",
title: "完成",
- children: Due(v)
+ children: Oue(v)
});
else if (y) x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -36492,7 +36492,7 @@ function Bde() {
else if (i.query.isError && a) x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "任务状态",
- children: zde
+ children: Bde
});
else if (a?.status === "failed") x = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
@@ -36500,12 +36500,12 @@ function Bde() {
children: a.error || "检查失败"
});
else if (a && a.status !== "idle") {
- b = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, B.jsx)(LM, {
+ b = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [a.status === "running" ? /* @__PURE__ */ (0, B.jsx)(IM, {
embedded: !0,
- label: Oue(a),
+ label: kue(a),
value: a.checked,
total: a.total
- }) : null, c ? /* @__PURE__ */ (0, B.jsx)(LM, {
+ }) : null, c ? /* @__PURE__ */ (0, B.jsx)(IM, {
embedded: !0,
label: r.job?.message || "正在重验并删除失效链接…",
value: r.job?.checked,
@@ -36513,38 +36513,38 @@ function Bde() {
}) : null] });
let e = t.length ? `重试选中的 ${t.length} 条` : "重试选中的链接";
x = l || u.length || d.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
- className: bde,
+ className: xde,
children: [
- /* @__PURE__ */ (0, B.jsx)(QM, {
+ /* @__PURE__ */ (0, B.jsx)(ZM, {
title: "地址已失效",
items: u,
- hint: Ide
+ hint: Lde
}),
- /* @__PURE__ */ (0, B.jsx)(QM, {
+ /* @__PURE__ */ (0, B.jsx)(ZM, {
title: "本次未访问成功",
items: d,
- hint: Lde,
+ hint: Rde,
picked: f.length ? t : void 0,
onPick: f.length ? n : void 0,
children: f.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "-mx-4 mt-3 -mb-4",
- children: /* @__PURE__ */ (0, B.jsxs)(kM, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: YM,
+ children: /* @__PURE__ */ (0, B.jsxs)(OM, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
+ leadingIcon: JM,
disabled: !t.length,
...X(s),
onClick: () => g(t),
children: e
}), /* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: YM,
+ leadingIcon: JM,
...X(s),
onClick: () => g(f.map((e) => e.id)),
children: `全部重试(${f.length})`
})] })
}) : null
}),
- l && u.length ? /* @__PURE__ */ (0, B.jsx)(kM, {
+ l && u.length ? /* @__PURE__ */ (0, B.jsx)(OM, {
tone: "error",
- status: Rde,
+ status: zde,
children: /* @__PURE__ */ (0, B.jsx)(J, {
variant: "danger",
...X(c),
@@ -36553,7 +36553,7 @@ function Bde() {
})
}) : null,
l && !u.length && !d.length ? /* @__PURE__ */ (0, B.jsx)("p", {
- className: `${OM} text-body-regular text-notification-success-foreground`,
+ className: `${DM} text-body-regular text-notification-success-foreground`,
children: "全部链接均可访问。"
}) : null
]
@@ -36564,21 +36564,21 @@ function Bde() {
"aria-labelledby": "link-manager-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, B.jsx)(AM, {
+ /* @__PURE__ */ (0, B.jsx)(kM, {
id: "link-manager-title",
children: "链接管理"
}),
- /* @__PURE__ */ (0, B.jsxs)(MM, {
+ /* @__PURE__ */ (0, B.jsxs)(jM, {
layout: "stack",
labelledBy: "link-manager-box",
footer: /* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: Fde,
+ leadingIcon: Ide,
...X(s),
onClick: () => g(),
children: s ? "检查中" : l ? "重新检查" : "检查死链"
}),
children: [
- /* @__PURE__ */ (0, B.jsx)(jM, {
+ /* @__PURE__ */ (0, B.jsx)(AM, {
id: "link-manager-box",
gap: "small",
children: "站外链接"
@@ -36589,13 +36589,13 @@ function Bde() {
children: U(e.error)
}) : m ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "link-stat-grid mt-4 gap-x-8 gap-y-3",
- children: [/* @__PURE__ */ (0, B.jsx)(ZM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(XM, {
label: "链接总数",
- value: XM(m.total),
- note: `分布在 ${XM(m.entities)} 个女优、厂牌与系列`
- }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(ZM, {
- label: Ij[e] || e,
- value: XM(t)
+ value: YM(m.total),
+ note: `分布在 ${YM(m.entities)} 个女优、厂牌与系列`
+ }), Object.entries(m.by_kind ?? {}).map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(XM, {
+ label: Fj[e] || e,
+ value: YM(t)
}, e))]
}), h ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "mt-4 flex min-w-0 flex-col gap-0.5",
@@ -36624,18 +36624,18 @@ function Bde() {
}
//#endregion
//#region src/react/data-cleanup/organize-card.tsx
-var Vde = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Hde = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Ude = 8;
-function Wde({ plan: e }) {
+var Hde = (e) => `将按这两份模板改动「${e}」上的文件名与目录,目标已存在的行会整行跳过。这一批可以从「回滚上一批」整批退回。`, Ude = "将把上一批整理动过的文件退回整理前的名字与位置,账本路径跟着退回。退回后这一批不再出现在这里。", Wde = 8;
+function Gde({ plan: e }) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("ol", {
className: "mt-2 flex min-w-0 flex-col gap-1",
- children: e.rows.slice(0, Ude).map((e) => /* @__PURE__ */ (0, B.jsxs)("li", {
+ children: e.rows.slice(0, Wde).map((e) => /* @__PURE__ */ (0, B.jsxs)("li", {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [
/* @__PURE__ */ (0, B.jsx)("span", {
"data-middle-truncate": !0,
title: e.current_path,
className: "min-w-0 truncate",
- children: $j(e.current_path)
+ children: Qj(e.current_path)
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
@@ -36645,7 +36645,7 @@ function Wde({ plan: e }) {
"data-middle-truncate": !0,
title: e.target_path,
className: "min-w-0 truncate text-text-primary",
- children: $j(e.target_path)
+ children: Qj(e.target_path)
})
]
}, e.current_path))
@@ -36654,10 +36654,10 @@ function Wde({ plan: e }) {
children: "只列出前 8 行,完整计划在计划 CSV 里。"
}) : null] });
}
-function Gde({ toast: e, failure: t }) {
- let n = wS({
- queryKey: Zj,
- queryFn: ({ signal: e }) => Qj(e)
+function Kde({ toast: e, failure: t }) {
+ let n = CS({
+ queryKey: Xj,
+ queryFn: ({ signal: e }) => Zj(e)
}), r = n.data, i = r?.locations ?? [], [a, o] = (0, R.useState)(""), s = i.some((e) => e.location === a) ? a : i[0]?.location ?? "", c = r?.templates?.[s], [l, u] = (0, R.useState)(null), d = l?.location === s ? l : {
location: s,
file: c?.file ?? "",
@@ -36669,9 +36669,9 @@ function Gde({ toast: e, failure: t }) {
location: s,
file_template: d.file.trim(),
dir_template: d.dir.trim()
- }), y = DS({
- mutationFn: Bue,
- onSuccess: (e, t) => void Hue({
+ }), y = ES({
+ mutationFn: Vue,
+ onSuccess: (e, t) => void Uue({
...r?.templates ?? {},
[t.location]: {
file: t.file_template,
@@ -36679,29 +36679,29 @@ function Gde({ toast: e, failure: t }) {
}
}),
onError: (e) => {
- let t = Wue.test(U(e)) ? "dir" : "file";
+ let t = Gue.test(U(e)) ? "dir" : "file";
h(t), (t === "dir" ? _ : g).current?.focus();
}
- }), b = VM({
- queryKey: Zj,
- queryFn: ({ signal: e }) => Qj(e),
- start: Vue,
+ }), b = BM({
+ queryKey: Xj,
+ queryFn: ({ signal: e }) => Zj(e),
+ start: Hue,
jobOf: (e) => e,
- withJob: Uue,
+ withJob: Wue,
onStarted: () => y.reset(),
onFinish: (n) => {
if (p.invalidateQueries({
- queryKey: Zj,
+ queryKey: Xj,
exact: !0
}), n.status !== "complete") return;
- let { text: r, failed: i } = tM(n);
+ let { text: r, failed: i } = eM(n);
i ? t("按模板整理", /* @__PURE__ */ Error(`${i} 行未能处理`)) : e(r.replace(/。$/, ""));
}
}), x = b.running || b.start.isPending, S = y.data, C = Number(S?.counts?.change || 0), w = I[s] || s, T = (r?.placeholders ?? []).map((e) => `{${e.key}} ${e.label}`).join(" · "), E = () => {
y.isPending || !s || (h(null), y.mutate(v()));
}, D = () => void je({
title: "按模板整理文件",
- body: Vde(w),
+ body: Hde(w),
confirmLabel: "整理文件",
onConfirm: () => b.start.mutateAsync({
kind: "apply",
@@ -36709,13 +36709,13 @@ function Gde({ toast: e, failure: t }) {
})
}), O = () => void je({
title: "回滚上一批整理",
- body: Hde,
+ body: Ude,
confirmLabel: "回滚整理",
onConfirm: () => b.start.mutateAsync({ kind: "rollback" })
}), k = null, A = b.job, j = b.outcome;
if (A?.status === "running") {
let e = A.message || A.stage || "正在整理文件…";
- k = /* @__PURE__ */ (0, B.jsx)(LM, {
+ k = /* @__PURE__ */ (0, B.jsx)(IM, {
embedded: !0,
label: e,
value: A.checked,
@@ -36727,7 +36727,7 @@ function Gde({ toast: e, failure: t }) {
children: j.error || "请查看任务记录,核对已处理的文件。"
});
else if (j) {
- let { text: e, failed: t } = tM(j);
+ let { text: e, failed: t } = eM(j);
k = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "整理结果",
@@ -36737,7 +36737,7 @@ function Gde({ toast: e, failure: t }) {
tone: "error",
title: "整理失败",
children: U(b.start.error)
- }) : y.isPending ? k = /* @__PURE__ */ (0, B.jsx)(LM, {
+ }) : y.isPending ? k = /* @__PURE__ */ (0, B.jsx)(IM, {
embedded: !0,
label: "正在按模板算计划…"
}) : y.isError ? k = /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -36747,9 +36747,9 @@ function Gde({ toast: e, failure: t }) {
}) : S && (k = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "预览结果",
- children: Gue(S)
- }), C ? /* @__PURE__ */ (0, B.jsx)(Wde, { plan: S }) : null] }));
- return /* @__PURE__ */ (0, B.jsxs)(MM, {
+ children: Kue(S)
+ }), C ? /* @__PURE__ */ (0, B.jsx)(Gde, { plan: S }) : null] }));
+ return /* @__PURE__ */ (0, B.jsxs)(jM, {
layout: "stack",
id: "organize",
labelledBy: "cleanup-organize-title",
@@ -36773,7 +36773,7 @@ function Gde({ toast: e, failure: t }) {
}) : null
] }),
children: [
- /* @__PURE__ */ (0, B.jsx)(jM, {
+ /* @__PURE__ */ (0, B.jsx)(AM, {
id: "cleanup-organize-title",
gap: "medium",
children: "整理"
@@ -36793,20 +36793,20 @@ function Gde({ toast: e, failure: t }) {
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "mt-3 flex flex-col gap-3",
children: [
- i.length ? /* @__PURE__ */ (0, B.jsx)(Dk, {
+ i.length ? /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "整理哪个来源",
className: "w-fit min-w-25",
selectedKey: s || null,
onSelectionChange: (e) => {
e !== null && (o(String(e)), h(null), y.reset());
},
- children: i.map((e) => /* @__PURE__ */ (0, B.jsxs)(Ok, {
+ children: i.map((e) => /* @__PURE__ */ (0, B.jsxs)(Dk, {
id: e.location,
textValue: I[e.location] || e.location,
- children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: Oe[e.location] || "database" }), I[e.location] || e.location]
+ children: [/* @__PURE__ */ (0, B.jsx)(Wk, { mark: Oe[e.location] || "database" }), I[e.location] || e.location]
}, e.location))
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "文件名模板",
placeholder: "{number}[ {title}]",
value: d.file,
@@ -36817,7 +36817,7 @@ function Gde({ toast: e, failure: t }) {
f({ file: e }), h(null);
}
}),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "目录模板",
placeholder: "留空表示原地改名",
value: d.dir,
@@ -36857,56 +36857,56 @@ function Gde({ toast: e, failure: t }) {
}
//#endregion
//#region src/react/data-cleanup/orphan-records.ts
-var Kde = "/api/orphan-records", qde = "/api/orphan-records/attach", $M = ["orphan-records"], Jde = [
+var qde = "/api/orphan-records", Jde = "/api/orphan-records/attach", QM = ["orphan-records"], Yde = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], Yde = (e) => W(Kde, e), Xde = (e, t) => G(qde, {
+], Xde = (e) => W(qde, e), Zde = (e, t) => G(Jde, {
id: e,
target: t
-}), Zde = (e) => G(JA, {
+}), Qde = (e) => G(qA, {
ids: [e],
operation: "delete"
-}), Qde = (e) => [
+}), $de = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], eN = (e) => [...Jde.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Qde(e)].filter(Boolean).join(" · "), $de = (e) => e ? `${Math.round(e / 60)} 分钟` : "", tN = (e) => [e.name, $de(e.duration)].filter(Boolean).join(" · "), efe = CA("play"), nN = () => p.invalidateQueries({
- queryKey: $M,
+], $M = (e) => [...Yde.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...$de(e)].filter(Boolean).join(" · "), efe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", eN = (e) => [e.name, efe(e.duration)].filter(Boolean).join(" · "), tfe = SA("play"), tN = () => p.invalidateQueries({
+ queryKey: QM,
exact: !0
});
-function tfe({ item: e, toast: t }) {
- let [n, r] = (0, R.useState)(e.candidates[0]?.id ?? null), i = DS({
- mutationFn: () => Xde(e.id, Number(n)),
+function nfe({ item: e, toast: t }) {
+ let [n, r] = (0, R.useState)(e.candidates[0]?.id ?? null), i = ES({
+ mutationFn: () => Zde(e.id, Number(n)),
onSuccess: (e) => {
- t(`记录已接到新文件,批次 ${e.batch}`), nN();
+ t(`记录已接到新文件,批次 ${e.batch}`), tN();
},
onError: (e) => t(U(e))
- }), a = DS({
- mutationFn: () => Zde(e.id),
+ }), a = ES({
+ mutationFn: () => Qde(e.id),
onSuccess: (n) => {
- t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), nN();
+ t(n.blocked.length ? `${e.name} 的文件又回到盘上,没有删除;下一次扫描会把它接回在库` : `已彻底删除 ${e.name}`), tN();
}
}), o = () => {
je({
title: "彻底删除",
- body: `将删除「${e.name}」这一条和它带的记录(${eN(e.records)})。此操作不可撤销。`,
+ body: `将删除「${e.name}」这一条和它带的记录(${$M(e.records)})。此操作不可撤销。`,
confirmLabel: "彻底删除",
danger: !0,
onConfirm: () => a.mutateAsync()
});
}, s = i.isPending || a.isPending;
- return /* @__PURE__ */ (0, B.jsxs)(ck, {
+ return /* @__PURE__ */ (0, B.jsxs)(sk, {
id: e.id,
children: [
- /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsxs)("span", {
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, B.jsxs)("span", {
className: "relative inline-grid aspect-16/10 w-24 flex-none place-items-center max-cleanup-tight:hidden overflow-hidden rounded-lg border border-separator-border bg-background-tertiary-default text-text-tertiary",
- children: [/* @__PURE__ */ (0, B.jsx)(efe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(tfe, {
"aria-hidden": !0,
className: "size-5"
}), e.has_thumb ? /* @__PURE__ */ (0, B.jsx)("img", {
@@ -36928,27 +36928,27 @@ function tfe({ item: e, toast: t }) {
})]
})]
}) }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "block min-w-44",
- children: eN(e.records)
+ children: $M(e.records)
}) }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: e.candidates.length ? /* @__PURE__ */ (0, B.jsx)(Dk, {
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: e.candidates.length ? /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": `把 ${e.name} 的记录接到哪个文件`,
className: "w-64",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(Number(e));
},
- children: e.candidates.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: e.candidates.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e.id,
- textValue: tN(e),
- children: tN(e)
+ textValue: eN(e),
+ children: eN(e)
}, e.id))
}) : /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-text-secondary",
children: "没有番号或文件名对得上的文件"
}) }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsxs)("span", {
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex flex-wrap gap-2",
children: [e.candidates.length ? /* @__PURE__ */ (0, B.jsx)(J, {
size: "small",
@@ -36968,23 +36968,23 @@ function tfe({ item: e, toast: t }) {
]
});
}
-function nfe({ toast: e }) {
- let t = wS({
- queryKey: $M,
- queryFn: ({ signal: e }) => Yde(e)
+function rfe({ toast: e }) {
+ let t = CS({
+ queryKey: QM,
+ queryFn: ({ signal: e }) => Xde(e)
}), n = t.data?.items ?? [];
return !t.isError && !n.length ? null : /* @__PURE__ */ (0, B.jsxs)("section", {
id: "orphan-records",
"aria-labelledby": "orphan-records-title",
className: "flex scroll-mt-20 flex-col gap-4",
- children: [/* @__PURE__ */ (0, B.jsx)(AM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(kM, {
id: "orphan-records-title",
children: "孤儿记录"
- }), /* @__PURE__ */ (0, B.jsxs)(MM, {
+ }), /* @__PURE__ */ (0, B.jsxs)(jM, {
layout: "stack",
labelledBy: "orphan-records-box",
children: [
- /* @__PURE__ */ (0, B.jsx)(jM, {
+ /* @__PURE__ */ (0, B.jsx)(AM, {
id: "orphan-records-box",
gap: "small",
children: "文件已消失的作品"
@@ -36997,28 +36997,28 @@ function nfe({ toast: e }) {
tone: "error",
title: "孤儿记录读取失败",
children: U(t.error)
- }) : /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
+ }) : /* @__PURE__ */ (0, B.jsx)(qM, { children: /* @__PURE__ */ (0, B.jsxs)(GM, {
"aria-label": "文件已消失的作品",
size: "sm",
- children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(tk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "item",
isRowHeader: !0,
children: "作品"
}),
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "records",
children: "带的记录"
}),
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "target",
children: "接到"
}),
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: n.map((t) => /* @__PURE__ */ (0, B.jsx)(tfe, {
+ ] }), /* @__PURE__ */ (0, B.jsx)(ik, { children: n.map((t) => /* @__PURE__ */ (0, B.jsx)(nfe, {
item: t,
toast: e
}, t.id)) })]
@@ -37029,99 +37029,99 @@ function nfe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/resource-sync-card.tsx
-var rfe = CA("git-compare"), ife = CA("rotate-cw"), afe = "暂时无法读取进度,正在重新连接…", rN = "清理失效条目", iN = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", aN = (e) => Number(e || 0).toLocaleString();
-function ofe({ scan: e }) {
+var ife = SA("git-compare"), afe = SA("rotate-cw"), ofe = "暂时无法读取进度,正在重新连接…", nN = "清理失效条目", rN = "inline-grid w-full grid-flow-col auto-cols-fr gap-4 max-plain-stat-pair:grid-flow-row max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1", iN = (e) => Number(e || 0).toLocaleString();
+function sfe({ scan: e }) {
let t = e.cache ?? {
files: 0,
bytes: 0
};
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("div", {
- className: iN,
+ className: rN,
children: (e.sources ?? []).map((e) => /* @__PURE__ */ (0, B.jsx)("article", {
- className: wM(),
- children: /* @__PURE__ */ (0, B.jsx)(TM, {
- label: Xue[e.location] || "媒体来源",
- mark: /* @__PURE__ */ (0, B.jsx)(Gk, { mark: Oe[e.location] ?? "database" }),
+ className: CM(),
+ children: /* @__PURE__ */ (0, B.jsx)(wM, {
+ label: Zue[e.location] || "媒体来源",
+ mark: /* @__PURE__ */ (0, B.jsx)(Wk, { mark: Oe[e.location] ?? "database" }),
aside: /* @__PURE__ */ (0, B.jsx)("span", {
className: e.online ? "text-notification-success-foreground" : "text-text-error-primary",
children: e.online ? "可访问" : "离线,已跳过"
}),
- figure: e.online ? `${aN(e.missing)} 项` : "—",
- meta: ede(e),
+ figure: e.online ? `${iN(e.missing)} 项` : "—",
+ meta: tde(e),
wrapMeta: !0
})
}, e.location))
}), /* @__PURE__ */ (0, B.jsxs)("div", {
- className: iN,
+ className: rN,
children: [
/* @__PURE__ */ (0, B.jsx)("article", {
- className: wM(),
- children: /* @__PURE__ */ (0, B.jsx)(TM, {
+ className: CM(),
+ children: /* @__PURE__ */ (0, B.jsx)(wM, {
label: "待永久删除",
- figure: `${aN(uM(e))} 项`,
+ figure: `${iN(lM(e))} 项`,
meta: "文件已不在盘上,含回收站"
})
}),
/* @__PURE__ */ (0, B.jsx)("article", {
- className: wM(),
- children: /* @__PURE__ */ (0, B.jsx)(TM, {
+ className: CM(),
+ children: /* @__PURE__ */ (0, B.jsx)(wM, {
label: "将标为已消失",
- figure: `${aN(e.vanish)} 项`,
+ figure: `${iN(e.vanish)} 项`,
meta: "带个人记录,记录留着"
})
}),
/* @__PURE__ */ (0, B.jsx)("article", {
- className: wM(),
- children: /* @__PURE__ */ (0, B.jsx)(TM, {
+ className: CM(),
+ children: /* @__PURE__ */ (0, B.jsx)(wM, {
label: "空文件夹",
- figure: `${aN(e.empty)} 个`,
+ figure: `${iN(e.empty)} 个`,
meta: "保留来源根目录"
})
}),
/* @__PURE__ */ (0, B.jsx)("article", {
- className: wM(),
- children: /* @__PURE__ */ (0, B.jsx)(TM, {
+ className: CM(),
+ children: /* @__PURE__ */ (0, B.jsx)(wM, {
label: "可清理的缓存",
- figure: `${aN(t.files)} 个`,
+ figure: `${iN(t.files)} 个`,
meta: t.files ? ye(t.bytes) : ""
})
})
]
})] });
}
-function sfe({ toast: e }) {
- let t = VM({
- queryKey: aM,
- queryFn: ({ signal: e }) => sM(e),
- start: que,
+function cfe({ toast: e }) {
+ let t = BM({
+ queryKey: iM,
+ queryFn: ({ signal: e }) => oM(e),
+ start: Jue,
onFinish: (t) => {
if (p.invalidateQueries({
- queryKey: _M,
+ queryKey: gM,
exact: !0
}), p.invalidateQueries({
- queryKey: iM,
+ queryKey: rM,
exact: !0
}), t.status !== "complete") return;
- let { done: n, left: r } = pM(t);
- r ? e(`已完成 ${aN(n)} 项,${aN(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
+ let { done: n, left: r } = fM(t);
+ r ? e(`已完成 ${iN(n)} 项,${iN(r)} 项没有处理`, { warning: !0 }) : e("已清理失效条目");
}
- }), n = VM({
- queryKey: iM,
- queryFn: ({ signal: e }) => oM(e),
- start: Kue,
+ }), n = BM({
+ queryKey: rM,
+ queryFn: ({ signal: e }) => aM(e),
+ start: que,
onStarted: () => t.dismiss()
}), r = n.job, i = n.running || n.start.isPending, a = t.running || t.start.isPending, o = r?.status === "complete" || r?.status === "failed", s = i ? "扫描中" : o ? "重新扫描" : "检查文件", c = (e) => void je({
- title: rN,
- body: $ue(e),
- confirmLabel: rN,
+ title: nN,
+ body: ede(e),
+ confirmLabel: nN,
danger: !0,
onConfirm: () => t.start.mutateAsync(e.scan_id || "")
}), l = t.outcome, u = (e) => {
- let t = pM(e).left > 0;
+ let t = fM(e).left > 0;
return /* @__PURE__ */ (0, B.jsx)(Y, {
tone: t ? "warning" : "success",
title: t ? "部分完成" : "清理结果",
- children: tde(e, ye)
+ children: nde(e, ye)
});
}, d = null, f = null;
if (l?.status === "failed") f = /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -37130,7 +37130,7 @@ function sfe({ toast: e }) {
children: l.error || "请查看任务记录,核对已处理的文件。"
});
else if (l) f = u(l);
- else if (t.running) d = /* @__PURE__ */ (0, B.jsx)(LM, {
+ else if (t.running) d = /* @__PURE__ */ (0, B.jsx)(IM, {
embedded: !0,
label: t.job?.message || "正在复核并清理失效条目…"
});
@@ -37142,11 +37142,11 @@ function sfe({ toast: e }) {
else if (n.query.isError && r) f = /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "任务状态",
- children: afe
+ children: ofe
});
else if (r?.status === "running") {
- let e = Zue(r);
- d = /* @__PURE__ */ (0, B.jsx)(LM, {
+ let e = Que(r);
+ d = /* @__PURE__ */ (0, B.jsx)(IM, {
embedded: !0,
label: e,
value: r.completed_sources,
@@ -37163,13 +37163,13 @@ function sfe({ toast: e }) {
children: "这次检查的结果已经清理,重新扫描可再核对。"
});
else if (r?.status === "complete") {
- let e = Yue(r);
+ let e = Xue(r);
f = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(ofe, { scan: r }),
+ /* @__PURE__ */ (0, B.jsx)(sfe, { scan: r }),
e ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
title: "清理内容",
- children: Que(r)
+ children: $ue(r)
}) : null,
/* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-wrap items-center justify-end gap-2",
@@ -37177,7 +37177,7 @@ function sfe({ toast: e }) {
variant: "danger",
...X(a),
onClick: () => c(r),
- children: a ? "正在复核并清理…" : rN
+ children: a ? "正在复核并清理…" : nN
}) : /* @__PURE__ */ (0, B.jsx)("p", {
className: "mr-auto text-body-regular text-notification-success-foreground",
children: "已检查可访问的来源,没有待清理的记录、空文件夹或缓存。"
@@ -37194,16 +37194,16 @@ function sfe({ toast: e }) {
"aria-labelledby": "resource-sync-title",
className: "flex scroll-mt-20 flex-col gap-4",
children: [
- /* @__PURE__ */ (0, B.jsx)(AM, {
+ /* @__PURE__ */ (0, B.jsx)(kM, {
id: "resource-sync-title",
children: "资源同步"
}),
- /* @__PURE__ */ (0, B.jsxs)(MM, {
+ /* @__PURE__ */ (0, B.jsxs)(jM, {
layout: "split",
labelledBy: "resource-sync-box",
footer: /* @__PURE__ */ (0, B.jsx)(J, {
"data-resource-scan": !0,
- leadingIcon: o && !i ? ife : rfe,
+ leadingIcon: o && !i ? afe : ife,
...X(i),
onClick: () => {
i || n.start.mutate();
@@ -37211,7 +37211,7 @@ function sfe({ toast: e }) {
children: s
}),
children: [
- /* @__PURE__ */ (0, B.jsx)(jM, {
+ /* @__PURE__ */ (0, B.jsx)(AM, {
id: "resource-sync-box",
gap: "small",
children: "文件与记录核对"
@@ -37237,16 +37237,16 @@ function sfe({ toast: e }) {
}
//#endregion
//#region src/react/data-cleanup/data-cleanup-page.tsx
-function oN(e, t) {
+function aN(e, t) {
return e.data === void 0 ? { figure: e.isError ? "读取失败" : "—" } : t(e.data);
}
-function sN({ section: e, label: t, icon: n, value: r, open: i }) {
+function oN({ section: e, label: t, icon: n, value: r, open: i }) {
return /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
- className: wM({ interactive: !0 }),
+ className: CM({ interactive: !0 }),
"data-cleanup-go": e,
onClick: () => i(e),
- children: /* @__PURE__ */ (0, B.jsx)(TM, {
+ children: /* @__PURE__ */ (0, B.jsx)(wM, {
label: t,
icon: n,
figure: r.figure,
@@ -37254,80 +37254,80 @@ function sN({ section: e, label: t, icon: n, value: r, open: i }) {
})
});
}
-var cfe = CA("square-check-big"), lfe = CA("sparkles"), ufe = CA("file-stack"), dfe = CA("file-archive"), ffe = CA("trash"), pfe = [
- mM,
- pj,
- qA
-], mfe = () => {
- for (let e of pfe) p.invalidateQueries({
+var lfe = SA("square-check-big"), ufe = SA("sparkles"), dfe = SA("file-stack"), ffe = SA("file-archive"), pfe = SA("trash"), mfe = [
+ pM,
+ fj,
+ KA
+], hfe = () => {
+ for (let e of mfe) p.invalidateQueries({
queryKey: e,
exact: !0
});
};
-function hfe({ toast: e, failure: t, open: n }) {
- let r = wS({
+function gfe({ toast: e, failure: t, open: n }) {
+ let r = CS({
+ queryKey: pM,
+ queryFn: ({ signal: e }) => _M(e)
+ }), i = CS({
+ queryKey: fj,
+ queryFn: ({ signal: e }) => pj(e)
+ }), a = CS({
+ queryKey: KA,
+ queryFn: ({ signal: e }) => JA(e)
+ }), o = CS({
queryKey: mM,
queryFn: ({ signal: e }) => vM(e)
- }), i = wS({
- queryKey: pj,
- queryFn: ({ signal: e }) => mj(e)
- }), a = wS({
- queryKey: qA,
- queryFn: ({ signal: e }) => YA(e)
- }), o = wS({
- queryKey: hM,
+ }), s = CS({
+ queryKey: gM,
queryFn: ({ signal: e }) => yM(e)
- }), s = wS({
- queryKey: _M,
- queryFn: ({ signal: e }) => bM(e)
- }), c = wS({
+ }), c = CS({
queryKey: u,
queryFn: ({ signal: e }) => f(e)
}), l = (t) => e(t);
- return /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
+ return /* @__PURE__ */ (0, B.jsxs)(jE, { children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: fde,
+ className: pde,
children: [
- /* @__PURE__ */ (0, B.jsx)(sN, {
+ /* @__PURE__ */ (0, B.jsx)(oN, {
section: "review",
label: "人工复核",
- icon: cfe,
+ icon: lfe,
open: n,
- value: oN(r, ade)
+ value: aN(r, ode)
}),
- /* @__PURE__ */ (0, B.jsx)(sN, {
+ /* @__PURE__ */ (0, B.jsx)(oN, {
section: "quality",
label: "高清版",
- icon: lfe,
+ icon: ufe,
open: n,
- value: oN(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
+ value: aN(i, (e) => ({ figure: `${Number(e.total || 0).toLocaleString()} 个待升级` }))
}),
- /* @__PURE__ */ (0, B.jsx)(sN, {
+ /* @__PURE__ */ (0, B.jsx)(oN, {
section: "duplicates",
label: "重复文件",
- icon: ufe,
+ icon: dfe,
open: n,
- value: oN(a, (e) => Number(e.total || 0) ? {
+ value: aN(a, (e) => Number(e.total || 0) ? {
figure: `${Number(e.total).toLocaleString()} 组 · ${Number(e.files || 0).toLocaleString()} 个文件`,
meta: `可回收 ${ye(e.reclaimable || 0)}`
} : { figure: "没有重复内容" })
}),
- /* @__PURE__ */ (0, B.jsx)(sN, {
+ /* @__PURE__ */ (0, B.jsx)(oN, {
section: "ads",
label: "垃圾文件",
- icon: dfe,
+ icon: ffe,
open: n,
- value: oN(o, (e) => ({
+ value: aN(o, (e) => ({
figure: `${Number(e.pending_total || 0).toLocaleString()} 个待判断`,
- meta: ode(e)
+ meta: sde(e)
}))
}),
- /* @__PURE__ */ (0, B.jsx)(sN, {
+ /* @__PURE__ */ (0, B.jsx)(oN, {
section: "trash",
label: "回收站",
- icon: ffe,
+ icon: pfe,
open: n,
- value: oN(s, (e) => ({
+ value: aN(s, (e) => ({
figure: `${Number(e.total || 0).toLocaleString()} 项在回收站`,
meta: e.total ? `占用 ${ye(e.bytes || 0)}` : ""
}))
@@ -37340,31 +37340,31 @@ function hfe({ toast: e, failure: t, open: n }) {
/* @__PURE__ */ (0, B.jsx)("div", {
id: "libraryProcessing",
className: "scroll-mt-20",
- children: /* @__PURE__ */ (0, B.jsx)(zM, {
+ children: /* @__PURE__ */ (0, B.jsx)(RM, {
toast: l,
monitor: !0,
- onComplete: mfe
+ onComplete: hfe
})
}),
/* @__PURE__ */ (0, B.jsx)("div", {
id: "mediaRepair",
- children: /* @__PURE__ */ (0, B.jsx)(Nde, {})
+ children: /* @__PURE__ */ (0, B.jsx)(Pde, {})
}),
- /* @__PURE__ */ (0, B.jsx)(Gde, {
+ /* @__PURE__ */ (0, B.jsx)(Kde, {
toast: l,
failure: t
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(Bde, {}),
- /* @__PURE__ */ (0, B.jsx)(nfe, { toast: l }),
- cM(c.data) ? /* @__PURE__ */ (0, B.jsx)(sfe, { toast: e }) : null
+ /* @__PURE__ */ (0, B.jsx)(Vde, {}),
+ /* @__PURE__ */ (0, B.jsx)(rfe, { toast: l }),
+ sM(c.data) ? /* @__PURE__ */ (0, B.jsx)(cfe, { toast: e }) : null
] });
}
//#endregion
//#region src/react/feed-new/feed-new.ts
-var cN = (e) => ["feed-new", e ?? "home"], gfe = 8, lN = 1500;
-function _fe(e, t, n) {
+var sN = (e) => ["feed-new", e ?? "home"], _fe = 8, vfe = 1500;
+function yfe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -37375,32 +37375,32 @@ function _fe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function vfe(e, t, n) {
+async function bfe(e, t, n) {
let r = new URLSearchParams({ limit: "12" });
e && r.set("entity", String(e));
let i = await pe(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);
- return n && o.length && await _fe(s, gfe, lN), {
+ return n && o.length && await yfe(s, _fe, vfe), {
items: o,
html: s
};
}
-var uN = (e, t, n = !1) => ({
- queryKey: cN(e),
- queryFn: () => vfe(e, t, n),
+var cN = (e, t, n = !1) => ({
+ queryKey: sN(e),
+ queryFn: () => bfe(e, t, n),
staleTime: Infinity
-}), dN = (e, t) => pe("/api/feeds/discovery", {
+}), lN = (e, t) => pe("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function yfe(e) {
- p.removeQueries({ queryKey: cN(null) }), await p.fetchQuery(uN(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function xfe(e) {
+ p.removeQueries({ queryKey: sN(null) }), await p.fetchQuery(cN(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
//#endregion
//#region src/react/entity-page/entity-page.ts
-var bfe = [
+var Sfe = [
"loc",
"creator",
"tag",
@@ -37410,51 +37410,51 @@ var bfe = [
"orient",
"sort",
"dir"
-], fN = {
+], uN = {
media: "videos",
set: 0
-}, pN = (e, t) => [
+}, dN = (e, t) => [
"entity",
e,
t
-], xfe = (e, t, n, r) => [
+], Cfe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], mN = (e, t, n, r) => [
+], fN = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], hN = (e) => String(e || "").split(",").filter(Boolean), Sfe = (e, t) => hN(e).includes(t);
-function gN(e, t, n, r, i = 0) {
+], pN = (e) => String(e || "").split(",").filter(Boolean), wfe = (e, t) => pN(e).includes(t);
+function mN(e, t, n, r, i = 0) {
let a = new URLSearchParams();
a.set(e, t), a.set("limit", "48"), a.set("offset", String(i)), a.set("sort", n.sort || "new"), n.dir && a.set("dir", n.dir), n.sort === "seed" && a.set("seed", r.seed), i && a.set("count", "0");
- for (let t of bfe) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ for (let t of Sfe) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function _N(e, t, n, r, i, a) {
- return await pe(`/api/items?${gN(e, t, n, r, i)}`, a ? { signal: a } : {});
+async function hN(e, t, n, r, i, a) {
+ return await pe(`/api/items?${mN(e, t, n, r, i)}`, a ? { signal: a } : {});
}
-var vN = (e) => {
+var gN = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = gN(e.kind, e.name, e.filters, t).toString();
+ }, n = mN(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: xfe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => _N(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: Cfe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => hN(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, yN = (e, t) => ({
- queryKey: pN(e, t),
+}, _N = (e, t) => ({
+ queryKey: dN(e, t),
queryFn: ({ signal: n }) => pe(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function Cfe(e, t, n, r, i, a) {
+function Tfe(e, t, n, r, i, a) {
let o = `kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`;
if (i) {
let e = `&limit=120&offset=${i}${a ? `&seed=${encodeURIComponent(a)}` : ""}`;
@@ -37463,10 +37463,10 @@ function Cfe(e, t, n, r, i, a) {
let s = r ? `&seed=${encodeURIComponent(r)}` : "";
return n ? `/api/photo-set?id=${n}&limit=120${s}` : r ? `/api/photos?${o}&limit=120${s}` : `/api/photos?${o}`;
}
-var bN = (e, t, n, r) => ({
- queryKey: mN(e, t, n, r),
+var vN = (e, t, n, r) => ({
+ queryKey: fN(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await pe(Cfe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await pe(Tfe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -37479,8 +37479,8 @@ var bN = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), xN = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function wfe(e) {
+}), yN = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function Efe(e) {
let { kind: t, name: n } = e;
for (let e of [
"entity",
@@ -37492,51 +37492,51 @@ async function wfe(e) {
n
] });
await Promise.all([
- p.fetchQuery(yN(t, n)).then((t) => !t || t.error || !t.id ? null : (p.removeQueries({ queryKey: cN(Number(t.id)) }), p.fetchQuery(uN(Number(t.id), e.helpers.feedRowHtml, !0)))),
- p.fetchQuery(vN(e)),
- p.fetchInfiniteQuery(bN(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? p.fetchInfiniteQuery(bN(t, n, e.media.set, "")) : null
+ p.fetchQuery(_N(t, n)).then((t) => !t || t.error || !t.id ? null : (p.removeQueries({ queryKey: sN(Number(t.id)) }), p.fetchQuery(cN(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ p.fetchQuery(gN(e)),
+ p.fetchInfiniteQuery(vN(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? p.fetchInfiniteQuery(vN(t, n, e.media.set, "")) : null
]);
}
//#endregion
//#region src/react/follow/online-vocab.ts
-var Tfe = "/api/follow/authors", Efe = "/api/follow/tags", Dfe = (e) => [
+var Dfe = "/api/follow/authors", Ofe = "/api/follow/tags", kfe = (e) => [
"follow",
"authors",
e
-], Ofe = (e, t) => [
+], Afe = (e, t) => [
"follow",
"tags",
e,
t
];
-function kfe(e, t, n) {
+function jfe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${Tfe}?${r}`;
+ return e && r.set("q", e), `${Dfe}?${r}`;
}
-function Afe(e, t, n, r) {
+function Mfe(e, t, n, r) {
let i = new URLSearchParams({
types: "all",
limit: String(n),
offset: String(r)
});
- return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Efe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${Ofe}?${i}`;
}
-var jfe = (e, t, n, r) => W(kfe(e, t, n), r), Mfe = (e, t, n, r, i) => W(Afe(e, t, n, r), i), Nfe = "/api/index", SN = {
+var Nfe = (e, t, n, r) => W(jfe(e, t, n), r), Pfe = (e, t, n, r, i) => W(Mfe(e, t, n, r), i), Ffe = "/api/index", bN = {
performers: "艺人",
- creators: "创作者",
+ creators: "卖家与动画作者",
studios: "厂牌",
agencies: "事务所",
tags: "标签"
-}, Pfe = {
+}, Ife = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency"
-}, CN = [
+}, xN = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -37546,39 +37546,39 @@ var jfe = (e, t, n, r) => W(kfe(e, t, n), r), Mfe = (e, t, n, r, i) => W(Afe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], wN = [
+], SN = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], TN = {
+], CN = {
performers: [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
- ["western", "西方"]
+ ["western", "西方"],
+ ["blogger", "网黄博主"]
],
creators: [
["all", "全部"],
- ["blogger", "网黄博主"],
["seller", "卖家"],
["animation", "动画作者"]
]
-}, EN = {
+}, wN = {
people: 120,
tags: 180
-}, DN = (e) => e !== "tags", ON = (e) => e === "studios" || e === "agencies";
-function kN(e) {
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = e.kind === "tags" ? t === "online" ? wN : CN : e.kind === "performers" || e.kind === "creators" ? TN[e.kind] : [], r = t === "local" && (e.kind === "creators" || e.kind === "performers"), i = n.some(([t]) => t === e.category);
+}, TN = (e) => e !== "tags", EN = (e) => e === "studios" || e === "agencies";
+function DN(e) {
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = e.kind === "tags" ? t === "online" ? SN : xN : e.kind === "performers" || e.kind === "creators" ? CN[e.kind] : [], r = t === "local" && (e.kind === "creators" || e.kind === "performers"), i = n.some(([t]) => t === e.category);
return {
...e,
scope: t,
category: (e.kind === "tags" || r) && i ? e.category : "all"
};
}
-function AN(e) {
+function ON(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -37598,50 +37598,50 @@ function AN(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var jN = (e, t, n = "all") => [
+var kN = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function MN(e, t, n, r, i) {
+function AN(e, t, n, r, i) {
let a = new URLSearchParams({
kind: e,
limit: String(r),
offset: String(i)
});
- return t && a.set("q", t), n !== "all" && a.set("category", n), `${Nfe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${Ffe}?${a}`;
}
-function NN(e) {
- let t = e.what === "people" || e.what === "online-authors" ? EN.people : EN.tags, n = {
+function jN(e) {
+ let t = e.what === "people" || e.what === "online-authors" ? wN.people : wN.tags, n = {
initialPageParam: 0,
getNextPageParam: (e, t) => e.has_more ? t.reduce((e, t) => e + t.items.length, 0) : void 0
};
switch (e.what) {
case "people": return {
...n,
- queryKey: jN(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: n, signal: r }) => W(MN(e.kind, e.q, e.category || "all", t, n), r)
+ queryKey: kN(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: n, signal: r }) => W(AN(e.kind, e.q, e.category || "all", t, n), r)
};
case "tags": return {
...n,
- queryKey: jN("tags", e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => W(MN("tags", e.q, e.category, t, n), r)
+ queryKey: kN("tags", e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => W(AN("tags", e.q, e.category, t, n), r)
};
case "online-authors": return {
...n,
- queryKey: Dfe(e.q),
- queryFn: ({ pageParam: n, signal: r }) => jfe(e.q, t, n, r)
+ queryKey: kfe(e.q),
+ queryFn: ({ pageParam: n, signal: r }) => Nfe(e.q, t, n, r)
};
case "online-tags": return {
...n,
- queryKey: Ofe(e.q, e.category),
- queryFn: ({ pageParam: n, signal: r }) => Mfe(e.q, e.category, t, n, r)
+ queryKey: Afe(e.q, e.category),
+ queryFn: ({ pageParam: n, signal: r }) => Pfe(e.q, e.category, t, n, r)
};
}
}
-async function Ffe(e, t) {
- let n = NN(AN(kN(e)));
+async function Lfe(e, t) {
+ let n = jN(ON(DN(e)));
p.removeQueries({
queryKey: n.queryKey,
exact: !0
@@ -37655,13 +37655,13 @@ async function Ffe(e, t) {
getNextPageParam: n.getNextPageParam
});
}
-var Ife = (e) => e ? e.pages.flatMap((e) => e.items) : [], Lfe = (e, t) => `${e}${t ? "+" : ""} 项`, PN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Rfe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), zfe = {
+var Rfe = (e) => e ? e.pages.flatMap((e) => e.items) : [], zfe = (e, t) => `${e}${t ? "+" : ""} 项`, MN = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", Bfe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : t.n.toLocaleString(), Vfe = {
numeric: !0,
sensitivity: "base"
};
-function Bfe(e, t) {
+function Hfe(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", zfe))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", Vfe))) {
let e = t(r.k).normalize("NFKC").trim().charAt(0).toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);
a ? a.push(r) : n.set(i, [r]);
}
@@ -37669,7 +37669,7 @@ function Bfe(e, t) {
}
//#endregion
//#region src/react/index/index-people.tsx
-function FN({ html: e, face: t, company: n, big: r }) {
+function NN({ html: e, face: t, company: n, big: r }) {
let i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -37681,18 +37681,18 @@ function FN({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var Vfe = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
-function IN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
+var Ufe = "flex cursor-pointer flex-col gap-2 p-3 text-inherit";
+function PN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
...a,
"data-index-cell": "",
onClick: i,
- className: kE({
+ className: OE({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${Vfe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${Ufe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -37709,47 +37709,47 @@ function IN({ name: e, readout: t, big: n, children: r, onPress: i, ...a }) {
]
});
}
-function LN({ kind: e, items: t, layout: n, props: r }) {
- let i = Pfe[e], a = ON(e), o = n === "big";
+function FN({ kind: e, items: t, layout: n, props: r }) {
+ let i = EN(e), a = n === "big";
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-index-grid": "",
"data-layout": n,
- "data-cells": a ? "company" : "people",
- className: `${a ? "index-grid-company" : "index-grid-person"} gap-3`,
+ "data-cells": i ? "company" : "people",
+ className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = r.personAvatar(t, i, o);
- return /* @__PURE__ */ (0, B.jsx)(IN, {
+ let n = t.entity_kind || Ife[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, B.jsx)(PN, {
"data-k": t.k,
- "data-kind": i,
+ "data-kind": n,
name: t.k,
- readout: `${Rfe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
- big: o,
- onPress: () => r.openEntity(i, t.k),
- children: /* @__PURE__ */ (0, B.jsx)(FN, {
- html: n.html,
- face: n.face,
- company: a,
- big: o
+ readout: `${Bfe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ big: a,
+ onPress: () => r.openEntity(n, t.k),
+ children: /* @__PURE__ */ (0, B.jsx)(NN, {
+ html: o.html,
+ face: o.face,
+ company: i,
+ big: a
})
- }, t.k);
+ }, `${n}:${t.entity_id || t.k}`);
})
});
}
-function Hfe({ items: e, layout: t, props: n }) {
+function Wfe({ items: e, layout: t, props: n }) {
let r = t === "big";
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, B.jsx)(IN, {
+ children: e.map((e) => /* @__PURE__ */ (0, B.jsx)(PN, {
"data-follow-author": e.key,
"data-kind": "performer",
name: e.k,
readout: `${e.n.toLocaleString()} 项更新`,
big: r,
onPress: () => n.openFollowAuthor(e.key),
- children: /* @__PURE__ */ (0, B.jsx)(FN, {
+ children: /* @__PURE__ */ (0, B.jsx)(NN, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -37759,14 +37759,14 @@ function Hfe({ items: e, layout: t, props: n }) {
}
//#endregion
//#region src/board-controls.ts
-function Ufe(e) {
+function Gfe(e) {
let t = Number(e.min) || 0, n = Number(e.max) || 100, r = Number(e.value), i = n > t ? Math.max(0, Math.min(100, (r - t) / (n - t) * 100)) : 0;
e.style.setProperty("--board-range-value", `${i}%`);
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox.ts
-var RN = "/vendor/swiper/14.2.0/", zN = null, Wfe = () => zN ??= Promise.all([new Promise((e, t) => {
- let n = `${RN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var IN = "/vendor/swiper/14.2.0/", LN = null, Kfe = () => LN ??= Promise.all([new Promise((e, t) => {
+ let n = `${IN}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -37780,11 +37780,11 @@ var RN = "/vendor/swiper/14.2.0/", zN = null, Wfe = () => zN ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${RN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${IN}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
})]).then(([, e]) => e).catch((e) => {
- throw zN = null, e;
+ throw LN = null, e;
});
-function Gfe(e, t, n) {
+function qfe(e, t, n) {
let r = "fit", i = () => t.slides?.[t.activeIndex]?.querySelector("img"), a = () => {
let e = i();
return !e?.naturalWidth || !e.naturalHeight ? 100 : Math.min(100, e.offsetWidth / e.naturalWidth * 100, e.offsetHeight / e.naturalHeight * 100);
@@ -37805,48 +37805,48 @@ function Gfe(e, t, n) {
}
};
}
-var BN = (e) => {
+var RN = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : ye(t)).replace(" ", "\xA0") : "大小未知";
-}, Kfe = (e) => e.asset?.name || e.name || "未命名图片";
-function qfe(e, t) {
+}, Jfe = (e) => e.asset?.name || e.name || "未命名图片";
+function Yfe(e, t) {
let n = e.asset;
- if (n) return [I[n.location ?? ""] || n.location || "来源未知", BN(n.size)].join(" · ");
+ if (n) return [I[n.location ?? ""] || n.location || "来源未知", RN(n.size)].join(" · ");
let r = (e.total ?? 0) > 1 ? `第 ${e.position} / ${e.total} 张` : "", i = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
i,
- e.size ? BN(e.size) : ""
+ e.size ? RN(e.size) : ""
].filter(Boolean).join(" · ");
}
//#endregion
//#region src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var VN = null, HN = null, Jfe = 0;
-function Yfe() {
- return (!HN || !VN?.isConnected) && (HN?.unmount(), VN = document.createElement("div"), VN.className = "peach-react", VN.dataset.photoLightboxHost = "", document.body.append(VN), HN = (0, ip.createRoot)(VN)), HN;
+var zN = null, BN = null, Xfe = 0;
+function Zfe() {
+ return (!BN || !zN?.isConnected) && (BN?.unmount(), zN = document.createElement("div"), zN.className = "peach-react", zN.dataset.photoLightboxHost = "", document.body.append(zN), BN = (0, ip.createRoot)(zN)), BN;
}
-async function UN(e, t, n) {
+async function VN(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await Wfe();
+ r = await Kfe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = Yfe();
- (0, rp.flushSync)(() => i.render(/* @__PURE__ */ (0, B.jsx)(Xfe, {
+ let i = Zfe();
+ (0, rp.flushSync)(() => i.render(/* @__PURE__ */ (0, B.jsx)(Qfe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++Jfe)));
+ }, ++Xfe)));
}
-function WN() {
- HN && (0, rp.flushSync)(() => HN.render(null));
+function HN() {
+ BN && (0, rp.flushSync)(() => BN.render(null));
}
-function Xfe({ slides: e, index: t, Swiper: n, host: r }) {
+function Qfe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, R.useId)(), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = (0, R.useRef)(null), l = (0, R.useRef)(null), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (0, R.useRef)(null), [_, v] = (0, R.useState)(t), [y, b] = (0, R.useState)(100), [x, S] = (0, R.useState)({}), [C, w] = (0, R.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, R.useState)(!1), [D, O] = (0, R.useState)({
at: t,
text: ""
@@ -37889,7 +37889,7 @@ function Xfe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = Gfe(e, a, b);
+ i(t, 0), h.current = qfe(e, a, b);
let m = tt(e, f.current, p.current), _ = (e = !1) => {
m.hide(), f.current?.setAttribute("aria-expanded", "false"), e && f.current && document.contains(f.current) && f.current.focus();
};
@@ -37906,13 +37906,13 @@ function Xfe({ slides: e, index: t, Swiper: n, host: r }) {
});
y.observe(e);
let x = (e) => {
- e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : WN());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : HN());
};
return document.addEventListener("keydown", x, !0), () => {
document.removeEventListener("keydown", x, !0), _(), y.disconnect(), a.destroy(!0, !0), r.destroy(!0, !0), h.current = null, g.current = null, e.close(), document.body.classList.remove("photolight-open");
};
}, []), (0, R.useLayoutEffect)(() => {
- m.current && Ufe(m.current);
+ m.current && Gfe(m.current);
}, [y]);
let k = e[_], A = k.asset ?? null, j = async (e) => {
if (!A || !r || e.getAttribute("aria-busy") === "true") return;
@@ -37943,18 +37943,18 @@ function Xfe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), WN();
+ e.preventDefault(), HN();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && WN();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && HN();
},
children: [
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: WN,
+ onClick: HN,
dangerouslySetInnerHTML: { __html: L("x") }
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -38087,10 +38087,10 @@ function Xfe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: Kfe(k)
+ children: Jfe(k)
}, _), /* @__PURE__ */ (0, B.jsx)("span", {
"data-photo-detail-meta": "",
- children: qfe(k, x[_])
+ children: Yfe(k, x[_])
})]
}),
/* @__PURE__ */ (0, B.jsx)("button", {
@@ -38129,33 +38129,33 @@ function Xfe({ slides: e, index: t, Swiper: n, host: r }) {
}
//#endregion
//#region src/react/entity-body/entity-body-page.tsx
-function Zfe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, B.jsx)(Qfe, {
+function $fe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, B.jsx)(epe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, B.jsx)($fe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, B.jsx)(npe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, B.jsx)(tpe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, B.jsx)(ipe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-function Qfe({ roster: e, props: t }) {
+function epe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, R.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
}), [n, r]);
- return /* @__PURE__ */ (0, B.jsx)(LN, {
+ return /* @__PURE__ */ (0, B.jsx)(FN, {
kind: e.kind,
items: e.people,
layout: e.layout,
props: i
});
}
-function $fe(e) {
- let t = MA(!e.items, e.skeletonHtml);
+function tpe(e) {
+ let t = jA(!e.items, e.skeletonHtml);
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-entity-grid": "",
"data-grid-reveal": t.fading ? "" : void 0,
- children: [t.layer, e.items ? /* @__PURE__ */ (0, B.jsx)(UA, {
+ children: [t.layer, e.items ? /* @__PURE__ */ (0, B.jsx)(HA, {
mode: "entity",
entityKey: `${e.kind}:${e.name}`,
revision: e.revision,
@@ -38174,16 +38174,16 @@ function $fe(e) {
}) : null]
});
}
-var epe = (e) => Array.from({ length: e.n }, (t, n) => ({
+var npe = (e) => Array.from({ length: e.n }, (t, n) => ({
sample: !0,
code: e.code,
position: n + 1,
total: e.n,
name: `${e.code} 样张 ${n + 1}`,
source: e.site_label || "官方样张"
-})), GN = (e) => e.sample === !0, KN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, qN = (e) => GN(e) ? `/sample-thumb?${KN(e)}` : `/photo-thumb?id=${e.id}`, tpe = (e) => GN(e) ? {
- src: `/sample-image?${KN(e)}`,
- thumb: qN(e),
+})), UN = (e) => e.sample === !0, WN = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, GN = (e) => UN(e) ? `/sample-thumb?${WN(e)}` : `/photo-thumb?id=${e.id}`, rpe = (e) => UN(e) ? {
+ src: `/sample-image?${WN(e)}`,
+ thumb: GN(e),
name: e.name,
asset: null,
source: e.source,
@@ -38191,18 +38191,18 @@ var epe = (e) => Array.from({ length: e.n }, (t, n) => ({
total: e.total
} : {
src: `/photo?id=${e.id}`,
- thumb: qN(e),
+ thumb: GN(e),
name: e.name || "",
asset: e
};
-function npe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, R.useMemo)(() => [...e.codeSets.flatMap(epe), ...e.items], [e]), [s, c] = (0, R.useState)(() => /* @__PURE__ */ new Set()), l = (0, R.useCallback)((e) => c((t) => {
+function ipe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, R.useMemo)(() => [...e.codeSets.flatMap(npe), ...e.items], [e]), [s, c] = (0, R.useState)(() => /* @__PURE__ */ new Set()), l = (0, R.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, R.useCallback)((e) => {
- UN(e, o.map(tpe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, B.jsx)(rpe, {
+ VN(e, o.map(rpe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, B.jsx)(ape, {
item: e,
index: t,
lost: s.has(t),
@@ -38220,7 +38220,7 @@ function npe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, B.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(JN, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, B.jsxs)(R.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(KN, {
label: e.code,
title: e.name,
meta: [
@@ -38232,7 +38232,7 @@ function npe({ photos: e, props: t }) {
...f,
children: o.slice(t, t + e.n).map((e, n) => d(e, t + n))
})] }, e.code)),
- m.length && e.total ? /* @__PURE__ */ (0, B.jsx)(JN, {
+ m.length && e.total ? /* @__PURE__ */ (0, B.jsx)(KN, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -38241,14 +38241,14 @@ function npe({ photos: e, props: t }) {
"data-local-wall": "",
children: e.items.map((e, t) => s.has(h + t) ? null : d(e, h + t))
}),
- e.hasMore ? /* @__PURE__ */ (0, B.jsx)(WA, {
+ e.hasMore ? /* @__PURE__ */ (0, B.jsx)(UA, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function JN({ label: e, title: t, meta: n }) {
+function KN({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -38265,7 +38265,7 @@ function JN({ label: e, title: t, meta: n }) {
]
});
}
-function rpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function ape({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -38274,7 +38274,7 @@ function rpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, B.jsx)("img", {
- src: qN(e),
+ src: GN(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -38283,7 +38283,7 @@ function rpe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
})
});
}
-function YN(e) {
+function qN(e) {
return {
x0: 0,
y0: 0,
@@ -38291,7 +38291,7 @@ function YN(e) {
y1: e.height
};
}
-function XN(e) {
+function JN(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -38299,40 +38299,40 @@ function XN(e) {
y1: Math.round(e.y1)
};
}
-function ZN(e) {
+function YN(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function QN(e, t) {
- if (!ZN(e)) return {
+function XN(e, t) {
+ if (!YN(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return YN(e);
+ if (t == null || !(t > 0)) return qN(e);
let n = e.width, r = n / t;
r > e.height && (r = e.height, n = r * t);
let i = (e.width - n) / 2, a = (e.height - r) / 2;
- return XN({
+ return JN({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function ipe(e, t) {
- if (!ZN(e) || !(t > 0)) return YN(e);
+function ope(e, t) {
+ if (!YN(e) || !(t > 0)) return qN(e);
let n = Math.min(e.width, e.height * t);
- return XN({
+ return JN({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function ape(e, t, n) {
- if (!ZN(t) || !(n > 0)) return YN(t);
- let r = $N(e, t), i = QN({
+function spe(e, t, n) {
+ if (!YN(t) || !(n > 0)) return qN(t);
+ let r = ZN(e, t), i = XN({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -38343,8 +38343,8 @@ function ape(e, t, n) {
y1: r.y0 + i.y1
};
}
-function $N(e, t, n = null, r = "width") {
- if (!ZN(t)) return {
+function ZN(e, t, n = null, r = "width") {
+ if (!YN(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -38353,43 +38353,43 @@ function $N(e, t, n = null, r = "width") {
let i = Math.min(16, t.width, t.height), a = Math.max(i, Math.min(e.x1 - e.x0, t.width)), o = Math.max(i, Math.min(e.y1 - e.y0, t.height));
n != null && n > 0 && (r === "width" ? (o = a / n, o > t.height && (o = t.height, a = o * n)) : (a = o * n, a > t.width && (a = t.width, o = a / n)), a > t.width && (a = t.width, o = a / n));
let s = Math.max(0, Math.min(e.x0, t.width - a)), c = Math.max(0, Math.min(e.y0, t.height - o));
- return XN({
+ return JN({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function eP(e, t, n, r) {
+function QN(e, t, n, r) {
let i = e.x1 - e.x0, a = e.y1 - e.y0, o = Math.max(0, Math.min(e.x0 + t, r.width - i)), s = Math.max(0, Math.min(e.y0 + n, r.height - a));
- return XN({
+ return JN({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function tP(e, t, n, r = null) {
- if (!ZN(n) || !(t > 0)) return e;
+function $N(e, t, n, r = null) {
+ if (!YN(n) || !(t > 0)) return e;
let i = (e.x0 + e.x1) / 2, a = (e.y0 + e.y1) / 2, o = (e.x1 - e.x0) * t, s = (e.y1 - e.y0) * t;
- return $N({
+ return ZN({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function ope(e, t, n, r, i = null) {
+function cpe(e, t, n, r, i = null) {
let a = {
x0: e.x0,
y0: e.y0,
x1: Math.max(e.x0 + 1, t),
y1: Math.max(e.y0 + 1, n)
};
- return $N(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return ZN(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function spe(e, t) {
- return ZN(t) ? {
+function lpe(e, t) {
+ return YN(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -38401,8 +38401,8 @@ function spe(e, t) {
height: 0
};
}
-function cpe(e, t) {
- if (!ZN(t)) return {
+function upe(e, t) {
+ if (!YN(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -38412,7 +38412,7 @@ function cpe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function lpe(e, t) {
+function dpe(e, t) {
let n = Math.max(1, e.x1 - e.x0), r = Math.max(1, e.y1 - e.y0);
return {
left: `${-e.x0 / n * 100}%`,
@@ -38421,29 +38421,29 @@ function lpe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function nP(e, t, n) {
+function eP(e, t, n) {
return t > 0 ? e * n / t : 0;
}
//#endregion
//#region src/react/components/modal-frame.tsx
-var upe = {
+var fpe = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal"
};
-function rP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
+function tP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
let { isFocusVisible: a } = nh();
- return /* @__PURE__ */ (0, B.jsx)(IO, {
+ return /* @__PURE__ */ (0, B.jsx)(FO, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
"data-modal-motion": "",
"data-motion-instant": a || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, B.jsx)(sse, {
+ children: /* @__PURE__ */ (0, B.jsx)(cse, {
"data-modal-surface": "",
- className: `flex max-h-full w-full ${upe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
- children: /* @__PURE__ */ (0, B.jsx)(MO, {
+ className: `flex max-h-full w-full ${fpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,
+ children: /* @__PURE__ */ (0, B.jsx)(jO, {
"aria-label": r,
className: "flex min-h-0 flex-col outline-none",
children: i
@@ -38451,7 +38451,7 @@ function rP({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {
})
});
}
-function iP({ children: e }) {
+function nP({ children: e }) {
return /* @__PURE__ */ (0, B.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",
@@ -38460,8 +38460,8 @@ function iP({ children: e }) {
}
//#endregion
//#region src/react/crop/crop-frame.tsx
-var dpe = .02, aP = 1.08;
-function oP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var ppe = .02, rP = 1.08;
+function iP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, R.useRef)(null), c = (0, R.useRef)(null), [l, u] = (0, R.useState)(!1);
(0, R.useEffect)(() => {
u(!1);
@@ -38472,8 +38472,8 @@ function oP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: nP(e, n.clientWidth, r.width),
- dy: nP(t, n.clientHeight, r.height)
+ dx: eP(e, n.clientWidth, r.width),
+ dy: eP(t, n.clientHeight, r.height)
};
}, [r]);
function f(e) {
@@ -38491,29 +38491,29 @@ function oP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
if (!n || !a || !r) return;
let o = d(e.clientX - n.x, e.clientY - n.y);
if (n.mode === "move") {
- i(eP(n.box, o.dx, o.dy, r));
+ i(QN(n.box, o.dx, o.dy, r));
return;
}
- i(ope(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
+ i(cpe(n.box, n.box.x0 + (n.box.x1 - n.box.x0) + o.dx, n.box.y0 + (n.box.y1 - n.box.y0) + o.dy, r, t));
}
function m(e) {
c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
}
function h(e) {
if (!n || !r) return;
- let a = Math.max(1, (n.x1 - n.x0) * dpe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * ppe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
if (o[e.key]) {
- e.preventDefault(), i(eP(n, o[e.key][0], o[e.key][1], r));
+ e.preventDefault(), i(QN(n, o[e.key][0], o[e.key][1], r));
return;
}
- (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(tP(n, e.key === "-" ? 1 / aP : aP, r, t)));
+ (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i($N(n, e.key === "-" ? 1 / rP : rP, r, t)));
}
- let g = n && r ? spe($N(n, r, t), r) : null, _ = g ? {
+ let g = n && r ? lpe(ZN(n, r, t), r) : null, _ = g ? {
"--crop-l": `${g.left}%`,
"--crop-t": `${g.top}%`,
"--crop-w": `${g.width}%`,
@@ -38532,7 +38532,7 @@ function oP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- ZN({
+ YN({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -38571,7 +38571,7 @@ function oP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: m,
onKeyDown: h,
onWheel: (e) => {
- !n || !r || i(tP(n, e.deltaY > 0 ? aP : 1 / aP, r, t));
+ !n || !r || i($N(n, e.deltaY > 0 ? rP : 1 / rP, r, t));
},
className: "absolute left-(--crop-l) top-(--crop-t) h-(--crop-h) w-(--crop-w) cursor-move touch-none outline-none ring-2 ring-border-focus-ring ring-inset focus-visible:ring-4",
children: /* @__PURE__ */ (0, B.jsx)("span", {
@@ -38593,61 +38593,61 @@ function oP({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
}
//#endregion
//#region src/react/avatar-picker/avatar-picker.ts
-var fpe = "/api/avatar-choices", sP = "/api/avatar-pick", ppe = "/api/avatar-code-cover", mpe = "/avatar-choice", cP = (e, t) => [
+var mpe = "/api/avatar-choices", aP = "/api/avatar-pick", hpe = "/api/avatar-code-cover", gpe = "/avatar-choice", oP = (e, t) => [
"avatar-choices",
e,
t
-], lP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, uP = (e, t, n, r = "") => `${mpe}${lP(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), dP = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", hpe = (e, t, n) => W(fpe + lP(e, t), n), gpe = (e) => G(ppe, { code: e });
-function fP(e, t, n) {
+], sP = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, cP = (e, t, n, r = "") => `${gpe}${sP(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), lP = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", _pe = (e, t, n) => W(mpe + sP(e, t), n), vpe = (e) => G(hpe, { code: e });
+function uP(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? ape(e.focus, t, n) : QN(t, n);
+ return e.focus && r ? spe(e.focus, t, n) : XN(t, n);
}
-var _pe = (e) => e.crop && ZN({
+var ype = (e) => e.crop && YN({
width: e.width,
height: e.height
});
-async function vpe(e, t, n) {
+async function bpe(e, t, n) {
if (!("file" in n)) {
- await G(sP, {
+ await G(aP, {
kind: e,
id: t,
...n
});
return;
}
- let r = n.file, i = await fetch(`${sP}${lP(e, t)}&name=${encodeURIComponent(r.name)}`, {
+ let r = n.file, i = await fetch(`${aP}${sP(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 RS(a?.error || `请求失败(${i.status})`, i.status, a);
+ throw new LS(a?.error || `请求失败(${i.status})`, i.status, a);
}
-function ype(e, t) {
+function xpe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
return n.length ? `${e}:图库里按「${n.join("」「")}」找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:图库里没有这个名字,用下面两种方式换。`;
}
-var bpe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function xpe(e) {
- return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${bpe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var Spe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function Cpe(e) {
+ return !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${Spe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var pP = (e) => e.cast > 1, Spe = (e) => pP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Cpe = {
+var dP = (e) => e.cast > 1, wpe = (e) => dP(e) ? `${e.label}:${e.cast} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, Tpe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
code: "番号封面"
};
-function wpe(e) {
+function Epe(e) {
if (e.startsWith("cover:")) return "封面";
let t = e.split(":")[2] || "";
if (t === "cover") return "封面";
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var Tpe = (e) => `${Cpe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (pP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Epe = 8, Dpe = 3 / 4;
-function Ope({ kind: e, entityId: t, name: n, onPicked: r }) {
+var Dpe = (e) => `${Tpe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (dP(e) ? ` · ${e.cast} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : ""), Ope = 8, kpe = 3 / 4;
+function Ape({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -38657,17 +38657,17 @@ function Ope({ kind: e, entityId: t, name: n, onPicked: r }) {
"aria-label": `更换${n}的头像`,
onClick: () => a(!0),
className: "flex size-7 cursor-pointer items-center justify-center rounded-full border border-border-button-default bg-background-primary-default text-foreground-icon-primary shadow-xs outline-none ring-2 ring-background-full transition-colors hover:border-border-button-hover hover:bg-background-primary-hover/60 dark:hover:bg-background-primary-hover focus-visible:ring-border-focus-ring active:bg-background-primary-active",
- children: /* @__PURE__ */ (0, B.jsx)(qie, {
+ children: /* @__PURE__ */ (0, B.jsx)(Jie, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, B.jsx)(rP, {
+ }), /* @__PURE__ */ (0, B.jsx)(tP, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, B.jsx)(kpe, {
+ children: /* @__PURE__ */ (0, B.jsx)(jpe, {
kind: e,
entityId: t,
name: n,
@@ -38676,50 +38676,50 @@ function Ope({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function kpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, R.useRef)(null), o = NM(), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [m, h] = (0, R.useState)(null), g = cP(e, t), _ = (0, R.useRef)(!1), v = wS({
+function jpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, R.useRef)(null), o = MM(), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [m, h] = (0, R.useState)(null), g = oP(e, t), _ = (0, R.useRef)(!1), v = CS({
queryKey: g,
- queryFn: ({ signal: n }) => hpe(e, t, n),
+ queryFn: ({ signal: n }) => _pe(e, t, n),
retryOnMount: !0
});
(0, R.useEffect)(() => () => {
- _.current && p.removeQueries({ queryKey: cP(e, t) });
+ _.current && p.removeQueries({ queryKey: oP(e, t) });
}, [e, t]);
- let y = DS({
- mutationFn: (n) => vpe(e, t, n),
+ let y = ES({
+ mutationFn: (n) => bpe(e, t, n),
onSuccess: () => {
_.current = !0, i(), r();
}
- }), b = DS({
- mutationFn: (e) => gpe(e),
+ }), b = ES({
+ mutationFn: (e) => vpe(e),
onSuccess: (e) => h(e)
});
function x(e) {
let t = e.currentTarget, n = t.files?.[0];
t.value = "", f(""), n && y.mutate({ file: n });
}
- let S = v.data, C = S?.choices ?? [], w = d || (y.error ? U(y.error) : "") || (!m && b.error ? U(b.error) : "") || (v.error ? U(v.error) : ""), T = y.isPending || b.isPending, E = m ? "" : xpe(S);
+ let S = v.data, C = S?.choices ?? [], w = d || (y.error ? U(y.error) : "") || (!m && b.error ? U(b.error) : "") || (v.error ? U(v.error) : ""), T = y.isPending || b.isPending, E = m ? "" : Cpe(S);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, B.jsx)(iP, { children: /* @__PURE__ */ (0, B.jsx)(PT, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, B.jsx)(nP, { children: /* @__PURE__ */ (0, B.jsx)(NT, { className: "size-6" }) }),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(nD, {
+ children: [/* @__PURE__ */ (0, B.jsx)(tD, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: m ? "框出头像那一块" : "更换头像"
- }), !m && C.length ? /* @__PURE__ */ (0, B.jsxs)(EE, {
+ }), !m && C.length ? /* @__PURE__ */ (0, B.jsxs)(TE, {
color: "soft",
children: [C.length, " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: m ? Spe(m) : ype(n, S)
+ children: m ? wpe(m) : xpe(n, S)
}),
E ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
@@ -38731,14 +38731,14 @@ function kpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsx)(FM, {
- icon: yT,
+ /* @__PURE__ */ (0, B.jsx)(PM, {
+ icon: vT,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), m ? /* @__PURE__ */ (0, B.jsx)(jpe, {
+ }), m ? /* @__PURE__ */ (0, B.jsx)(Npe, {
kind: e,
entityId: t,
choice: m,
@@ -38762,7 +38762,7 @@ function kpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
"aria-busy": v.isPending || void 0,
"data-skeleton": v.isPending ? "avatar-choices" : void 0,
className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",
- children: v.isPending ? Array.from({ length: Epe }, (e, t) => /* @__PURE__ */ (0, B.jsxs)("span", {
+ children: v.isPending ? Array.from({ length: Ope }, (e, t) => /* @__PURE__ */ (0, B.jsxs)("span", {
"aria-hidden": !0,
"data-avatar-skeleton": !0,
className: "flex flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-caption-1-regular",
@@ -38775,15 +38775,15 @@ function kpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: Tpe(n),
+ title: Dpe(n),
...X(T),
onClick: () => {
T || (n.crop ? h(n) : y.mutate({ ref: n.ref }));
},
className: "relative flex cursor-pointer flex-col gap-1 overflow-hidden rounded-2lg border border-separator-border bg-background-secondary-default pb-1 text-center text-caption-1-regular text-text-secondary outline-none hover:border-border-button-hover hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-selected:border-border-focus-ring aria-selected:bg-background-tertiary-default aria-selected:text-text-primary aria-disabled:cursor-progress aria-disabled:opacity-60",
children: [
- /* @__PURE__ */ (0, B.jsx)(Ape, {
- src: uP(e, t, n.ref, dP(n, n.ref)),
+ /* @__PURE__ */ (0, B.jsx)(Mpe, {
+ src: cP(e, t, n.ref, lP(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, B.jsx)("span", {
@@ -38792,15 +38792,15 @@ function kpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, B.jsx)(EE, {
+ children: /* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- pP(n) ? /* @__PURE__ */ (0, B.jsx)("span", {
+ dP(n) ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, B.jsxs)(EE, {
+ children: /* @__PURE__ */ (0, B.jsxs)(TE, {
variant: "caption",
color: "gray",
children: [n.cast, " 人"]
@@ -38819,7 +38819,7 @@ function kpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, B.jsx)(Sk, {
+ children: /* @__PURE__ */ (0, B.jsx)(xk, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -38854,7 +38854,7 @@ function kpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
className: "flex min-w-0 flex-1 items-center gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, B.jsx)(Sk, {
+ children: /* @__PURE__ */ (0, B.jsx)(xk, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -38874,7 +38874,7 @@ function kpe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function Ape({ src: e, choice: t }) {
+function Mpe({ src: e, choice: t }) {
let n = (0, R.useRef)(null), [r, i] = (0, R.useState)(!1);
(0, R.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -38882,7 +38882,7 @@ function Ape({ src: e, choice: t }) {
let a = {
width: t.width,
height: t.height
- }, o = _pe(t) ? lpe(fP(t, a, Dpe), a) : null, s = r ? !0 : void 0;
+ }, o = ype(t) ? dpe(uP(t, a, kpe), a) : null, s = r ? !0 : void 0;
return /* @__PURE__ */ (0, B.jsxs)("span", {
className: "relative block w-full aspect-avatar-choice overflow-hidden",
children: [/* @__PURE__ */ (0, B.jsx)("img", {
@@ -38907,23 +38907,23 @@ function Ape({ src: e, choice: t }) {
})]
});
}
-function jpe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, R.useState)(o[0]), [l, u] = (0, R.useState)(null), [d, f] = (0, R.useState)(null), p = dP(n, s), m = uP(e, t, s, p), h = NM();
+function Npe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, R.useState)(o[0]), [l, u] = (0, R.useState)(null), [d, f] = (0, R.useState)(null), p = lP(n, s), m = cP(e, t, s, p), h = MM();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? cpe(d, l) : null;
+ let _ = d && l ? upe(d, l) : null;
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("div", {
ref: h,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: [/* @__PURE__ */ (0, B.jsx)(oP, {
+ children: [/* @__PURE__ */ (0, B.jsx)(iP, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), ZN(e) && f(s === n.ref ? fP(n, e, 1) : QN(e, 1));
+ u(e), YN(e) && f(s === n.ref ? uP(n, e, 1) : XN(e, 1));
},
onBox: f
}), o.length > 1 ? /* @__PURE__ */ (0, B.jsx)("div", {
@@ -38937,7 +38937,7 @@ function jpe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
"data-crop-base": !0,
onClick: () => g(e),
className: "cursor-pointer rounded-lg px-2 py-1 text-caption-1-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring aria-checked:bg-background-tertiary-default aria-checked:text-text-primary",
- children: wpe(e)
+ children: Epe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -38971,7 +38971,7 @@ function jpe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}
//#endregion
//#region src/react/feed-new/feed-new-row.tsx
-function mP({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+function fP({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
let a = (0, R.useRef)(null), o = e?.items.length ? e.html : "";
(0, R.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !o, e && i?.(!!o);
@@ -39005,12 +39005,12 @@ function mP({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}
//#endregion
//#region src/react/entity-hero/glyph.tsx
-var Mpe = {
+var Ppe = {
"text-aa": 1.435,
"mark-javdb": 326 / 111
};
-function hP({ name: e }) {
- let t = Mpe[e];
+function pP({ name: e }) {
+ let t = Ppe[e];
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: t ? `0 0 ${(24 * t).toFixed(2)} 24` : "0 0 24 24",
"aria-hidden": "true",
@@ -39020,19 +39020,19 @@ function hP({ name: e }) {
}
//#endregion
//#region src/react/entity-hero/hero-pop.tsx
-function gP(e, t) {
+function mP(e, t) {
let n = e.getBoundingClientRect(), r = t.getBoundingClientRect();
t.style.left = `${Math.max(8, Math.min(innerWidth - r.width - 8, n.left))}px`;
let i = n.bottom + 8;
t.style.top = `${i + r.height <= innerHeight - 8 ? i : Math.max(8, n.top - r.height - 8)}px`;
}
-var _P = (e) => !!e?.isConnected && e.matches(":popover-open");
-function vP(e, t, n, r) {
+var hP = (e) => !!e?.isConnected && e.matches(":popover-open");
+function gP(e, t, n, r) {
let i = (0, R.useRef)(r);
i.current = r, (0, R.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && _P(n.current) ? gP(t.current, n.current) : i.current();
+ t.current && hP(n.current) ? mP(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -39046,17 +39046,17 @@ function vP(e, t, n, r) {
n
]);
}
-function yP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function _P({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, R.useRef)(null), s = (0, R.useRef)(null), [c, l] = (0, R.useState)(!1), u = (0, R.useRef)(!1), d = (0, R.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, _P(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, hP(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), !(!s.current || !o.current || _P(s.current)) && (s.current.showPopover(), gP(o.current, s.current), l(!0));
+ clearTimeout(d.current), !(!s.current || !o.current || hP(s.current)) && (s.current.showPopover(), mP(o.current, s.current), l(!0));
}, m = () => {
clearTimeout(d.current), d.current = window.setTimeout(() => {
!u.current && !o.current?.matches(":hover,:focus-visible") && !s.current?.matches(":hover") && f();
}, 150);
};
- return vP(c, o, s, f), (0, R.useEffect)(() => {
+ return gP(c, o, s, f), (0, R.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -39082,7 +39082,7 @@ function yP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && _P(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && hP(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -39100,16 +39100,16 @@ function yP({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function Npe({ following: e, busy: t, onToggle: n, tip: r }) {
+function Fpe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), [s, c] = (0, R.useState)(!1), l = (0, R.useRef)(!1), u = () => {
- _P(o.current) && o.current.hidePopover(), c(!1);
+ hP(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- l.current || !o.current || !i.current || _P(o.current) || (o.current.showPopover(), gP(i.current, o.current), c(!0));
+ l.current || !o.current || !i.current || hP(o.current) || (o.current.showPopover(), mP(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return vP(s, i, o, () => c(!1)), (0, R.useEffect)(() => {
- i.current && _P(o.current) && gP(i.current, o.current);
+ return gP(s, i, o, () => c(!1)), (0, R.useEffect)(() => {
+ i.current && hP(o.current) && mP(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, B.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -39118,7 +39118,7 @@ function Npe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, B.jsx)(hP, { name: "rss" }),
+ /* @__PURE__ */ (0, B.jsx)(pP, { name: "rss" }),
/* @__PURE__ */ (0, B.jsx)("input", {
ref: a,
type: "checkbox",
@@ -39153,29 +39153,29 @@ function Npe({ following: e, busy: t, onToggle: n, tip: r }) {
}
//#endregion
//#region src/react/entity-hero/name-picker.tsx
-function Ppe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function Ipe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, R.useState)(!1), o = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, B.jsxs)($oe, {
+ }, []), /* @__PURE__ */ (0, B.jsxs)(ese, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, B.jsx)(eD, {
+ children: [/* @__PURE__ */ (0, B.jsx)($E, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, B.jsx)(hP, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, B.jsx)(xO, {
+ children: /* @__PURE__ */ (0, B.jsx)(pP, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, B.jsx)(bO, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: Ck,
+ className: Sk,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, B.jsxs)(tse, {
+ children: /* @__PURE__ */ (0, B.jsxs)(nse, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(OO, {
+ /* @__PURE__ */ (0, B.jsx)(DO, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -39183,31 +39183,31 @@ function Ppe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, B.jsxs)(AO, {
+ children: t.map((e) => /* @__PURE__ */ (0, B.jsxs)(kO, {
id: e,
textValue: e,
"data-namepick-name": e,
- children: [/* @__PURE__ */ (0, B.jsx)(hP, { name: "check" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "check" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e })]
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(Foe, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, B.jsx)(OO, { children: /* @__PURE__ */ (0, B.jsxs)(AO, {
+ /* @__PURE__ */ (0, B.jsx)(Ioe, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, B.jsx)(DO, { children: /* @__PURE__ */ (0, B.jsxs)(kO, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, B.jsx)(hP, { name: "plus" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "plus" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var Fpe = (e) => e === "studio" || e === "agency", Ipe = (e) => e === "performer" || e === "creator", Lpe = (e) => e ? "已订阅新作:库里还没有的新片排在资料卡下面。再点一下取消订阅。" : "订阅新作:定时去 JavDB 查这位有没有出新片,库里还没有的排在资料卡下面。";
-function Rpe(e) {
+var Lpe = (e) => e === "studio" || e === "agency", vP = (e) => e === "performer" || e === "creator", Rpe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function zpe(e) {
return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);
}
-function bP(e) {
+function yP(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0
@@ -39218,13 +39218,13 @@ function bP(e) {
linked: !1
} : null;
}
-function xP(e, t) {
+function bP(e, t) {
let n = Ce(e, "performer"), r = be(t);
return r && [e.label, n].map(be).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var SP = (e) => ({ site: xe(e) });
-function zpe(e, t) {
- let n = bP(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var xP = (e) => ({ site: xe(e) });
+function Bpe(e, t) {
+ let n = yP(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -39234,7 +39234,7 @@ function zpe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${xP(e, n)} · ${t}`
+ title: `${bP(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -39242,11 +39242,11 @@ function zpe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (t === "performer" && e.link_kind !== "social") return {
+ if (vP(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: xP(e, n),
- mark: SP(e)
+ title: bP(e, n),
+ mark: xP(e)
};
if (e.link_kind === "social") {
let t = me(r);
@@ -39254,7 +39254,7 @@ function zpe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : SP(e)
+ mark: t ? { brand: t } : xP(e)
};
}
return {
@@ -39262,13 +39262,13 @@ function zpe(e, t) {
url: r,
title: e.label || "",
text: Ce(e, t, i),
- mark: SP(e)
+ mark: xP(e)
};
});
return [...r, ...a];
}
-var CP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function Bpe(e) {
+var SP = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function Vpe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -39325,14 +39325,14 @@ function Bpe(e) {
tags: e.tags
}), t;
}
-function Vpe(e) {
+function Hpe(e) {
let t = e.length > 5 ? 4 : e.length;
return {
shown: e.slice(0, t),
rest: e.length - t
};
}
-function Hpe(e) {
+function Upe(e) {
if (!e) return null;
let t = e.shown || [], n = [e.reading || "", ...t].filter(Boolean), r = (e.total || 0) - t.length;
return n.length || r > 0 ? {
@@ -39343,7 +39343,7 @@ function Hpe(e) {
}
//#endregion
//#region src/react/entity-hero/entity-hero-page.tsx
-function Upe(e) {
+function Wpe(e) {
return te({
id: e.id,
hasImage: e.has_image,
@@ -39353,8 +39353,8 @@ function Upe(e) {
focus: e.avatar_focus
});
}
-function Wpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- let s = Ipe(e), c = Fpe(e), l = e === "performer" ? Bpe(n.profile) : [], u = zpe(n, e), d = CP(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, R.useRef)(null), m = (0, R.useRef)(null);
+function Gpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ let s = vP(e), c = Lpe(e), l = s ? Vpe(n.profile) : [], u = Bpe(n, e), d = SP(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, R.useRef)(null), m = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
o.wireScroller(p.current);
}, [o, u.length]), (0, R.useEffect)(() => {
@@ -39367,7 +39367,7 @@ function Wpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, B.jsx)(Gpe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Kpe, {
kind: e,
name: t,
helpers: o,
@@ -39375,7 +39375,7 @@ function Wpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: c
}), s && n.id ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, B.jsx)(Ope, {
+ children: /* @__PURE__ */ (0, B.jsx)(Ape, {
kind: e,
entityId: Number(n.id),
name: n.canonical_name || t,
@@ -39388,14 +39388,14 @@ function Wpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
"data-entity-title": "",
- children: [/* @__PURE__ */ (0, B.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, B.jsx)(Ppe, {
+ children: [/* @__PURE__ */ (0, B.jsx)("h2", { children: n.canonical_name }), /* @__PURE__ */ (0, B.jsx)(Ipe, {
current: n.canonical_name,
- choices: Rpe(n),
+ choices: zpe(n),
onChoose: a.chooseName,
onAddAlias: a.addAlias
})]
}),
- /* @__PURE__ */ (0, B.jsx)(Kpe, {
+ /* @__PURE__ */ (0, B.jsx)(qpe, {
kind: e,
entity: n,
actions: a
@@ -39416,9 +39416,9 @@ function Wpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
u.length ? /* @__PURE__ */ (0, B.jsx)("div", {
ref: p,
"data-entity-links": "",
- children: u.map((e, t) => /* @__PURE__ */ (0, B.jsx)(Xpe, { link: e }, t))
+ children: u.map((e, t) => /* @__PURE__ */ (0, B.jsx)(Zpe, { link: e }, t))
}) : null,
- d.length || n.feed ? /* @__PURE__ */ (0, B.jsx)(Zpe, {
+ d.length || n.feed ? /* @__PURE__ */ (0, B.jsx)(Qpe, {
entity: n,
actions: a,
helpers: o
@@ -39427,11 +39427,11 @@ function Wpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
l.length ? /* @__PURE__ */ (0, B.jsx)("dl", {
"data-entity-facts": "",
- children: l.map((e) => /* @__PURE__ */ (0, B.jsx)(Jpe, {
+ children: l.map((e) => /* @__PURE__ */ (0, B.jsx)(Ype, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, B.jsx)(Ype, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, B.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, B.jsx)(Xpe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, B.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -39450,7 +39450,7 @@ function Wpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, B.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${ge(e.k.slice(0, 1))}</span>${Upe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${ge(e.k.slice(0, 1))}</span>${Wpe(e)}` }
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-hero-costar-name": "",
children: e.k
@@ -39458,14 +39458,14 @@ function Wpe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(mP, {
+ }), i ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(fP, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function Gpe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function Kpe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let [a] = (0, R.useState)(() => `${n.portraitImg()}<span>${ge(t.slice(0, 1))}</span>`);
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-entity-portrait": r ? "round" : "square",
@@ -39474,8 +39474,8 @@ function Gpe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: a }
});
}
-function Kpe({ kind: e, entity: t, actions: n }) {
- let r = bP(t), i = (e, t) => (r) => {
+function qpe({ kind: e, entity: t, actions: n }) {
+ let r = yP(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, B.jsx)("a", {
href: he("agency", r.name),
@@ -39483,38 +39483,38 @@ function Kpe({ kind: e, entity: t, actions: n }) {
onClick: i("agency", r.name),
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
- if (e === "performer") {
- let e = Hpe(t.name_groups);
+ if (e === "performer" || e === "creator") {
+ let e = Upe(t.name_groups);
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, B.jsx)(wP, { entity: t }),
+ /* @__PURE__ */ (0, B.jsx)(CP, { entity: t }),
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, B.jsx)(hP, { name: "film" }), /* @__PURE__ */ (0, B.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "film" }), /* @__PURE__ */ (0, B.jsx)("span", { children: o })]
}),
a ? /* @__PURE__ */ (0, B.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, B.jsx)(hP, { name: "briefcase" }), /* @__PURE__ */ (0, B.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "briefcase" }), /* @__PURE__ */ (0, B.jsx)("span", { children: a })]
}) : null,
e ? /* @__PURE__ */ (0, B.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, B.jsx)(hP, { name: "id-card" }),
+ /* @__PURE__ */ (0, B.jsx)(pP, { name: "id-card" }),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: e.names.map((e, t) => /* @__PURE__ */ (0, B.jsx)("span", { children: e }, t))
}),
- e.rest > 0 ? /* @__PURE__ */ (0, B.jsx)(yP, {
+ e.rest > 0 ? /* @__PURE__ */ (0, B.jsx)(_P, {
id: "entityAliasPop",
hook: "alias",
rest: e.rest,
label: `另外 ${e.rest} 个别名`,
heading: `${e.total} 个别名`,
- children: /* @__PURE__ */ (0, B.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, B.jsx)(qpe, {
+ children: /* @__PURE__ */ (0, B.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, B.jsx)(Jpe, {
label: e.label,
names: e.names
}, t)) })
@@ -39534,50 +39534,67 @@ function Kpe({ kind: e, entity: t, actions: n }) {
" 个厂牌"
] }) : null, l = t.maker;
return /* @__PURE__ */ (0, B.jsxs)("div", {
- "data-entity-alias": e === "creator" ? "meta" : "",
- children: [e === "creator" ? /* @__PURE__ */ (0, B.jsx)(wP, { entity: t }) : null, /* @__PURE__ */ (0, B.jsxs)("span", { children: [
- s.length ? `${s.join(" / ")} · ` : "",
- o,
- c,
- a ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [" · ", a] }) : null,
- l ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [" · ", /* @__PURE__ */ (0, B.jsx)("a", {
- href: he("studio", l.name),
- "data-studio-link": l.name,
- onClick: i("studio", l.name),
- children: l.name
- })] }) : null
- ] })]
- });
-}
-function wP({ entity: e }) {
- if (!e.identity_labels?.length) return null;
- let t = [...(e.external_refs || []).map((e) => e.provider), ...(e.classifications || []).filter((e) => e.status === "observed" || e.status === "approved").map((e) => e.evidence)];
- return /* @__PURE__ */ (0, B.jsxs)("span", {
+ "data-entity-alias": "meta",
+ children: [
+ e === "creator" ? /* @__PURE__ */ (0, B.jsx)(CP, { entity: t }) : null,
+ /* @__PURE__ */ (0, B.jsxs)("span", {
+ "data-meta-item": "",
+ title: "视频",
+ children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "film" }), /* @__PURE__ */ (0, B.jsxs)("span", { children: [o, c] })]
+ }),
+ a ? /* @__PURE__ */ (0, B.jsxs)("span", {
+ "data-meta-item": "",
+ title: "事务所",
+ children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "briefcase" }), /* @__PURE__ */ (0, B.jsx)("span", { children: a })]
+ }) : null,
+ l ? /* @__PURE__ */ (0, B.jsxs)("span", {
+ "data-meta-item": "",
+ title: "片商",
+ children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "clapperboard" }), /* @__PURE__ */ (0, B.jsx)("a", {
+ href: he("studio", l.name),
+ "data-studio-link": l.name,
+ onClick: i("studio", l.name),
+ children: l.name
+ })]
+ }) : null,
+ s.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
+ "data-meta-item": "names",
+ "data-company-names": e === "studio" || e === "agency" ? "" : void 0,
+ children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "id-card" }), /* @__PURE__ */ (0, B.jsx)("span", {
+ "data-alias-names": "",
+ title: "别名",
+ children: s.map((e, t) => /* @__PURE__ */ (0, B.jsx)("span", { children: e }, t))
+ })]
+ }) : null
+ ]
+ });
+}
+function CP({ entity: e }) {
+ return e.identity_labels?.length ? /* @__PURE__ */ (0, B.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- title: t.length ? [...new Set(t)].join(" · ") : "分类",
- children: [/* @__PURE__ */ (0, B.jsx)(hP, { name: "user-round" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e.identity_labels.join(" · ") })]
- });
+ children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: "user-round" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ }) : null;
}
-function qpe({ label: e, names: t }) {
+function Jpe({ label: e, names: t }) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [e ? /* @__PURE__ */ (0, B.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, B.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, B.jsxs)("span", { children: [e.name, e.reading ? /* @__PURE__ */ (0, B.jsx)("small", { children: e.reading }) : null] }, t))
})] });
}
-function Jpe({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("dt", { children: [/* @__PURE__ */ (0, B.jsx)(hP, { name: e }), t] }), /* @__PURE__ */ (0, B.jsx)("dd", {
+function Ype({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("dt", { children: [/* @__PURE__ */ (0, B.jsx)(pP, { name: e }), t] }), /* @__PURE__ */ (0, B.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function Ype({ tags: e }) {
- let { shown: t, rest: n } = Vpe(e);
+function Xpe({ tags: e }) {
+ let { shown: t, rest: n } = Hpe(e);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, B.jsx)("span", {
"data-fact-tag": "",
children: e
- }, e)), n ? /* @__PURE__ */ (0, B.jsx)(yP, {
+ }, e)), n ? /* @__PURE__ */ (0, B.jsx)(_P, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -39592,10 +39609,10 @@ function Ype({ tags: e }) {
})
}) : null] });
}
-function TP({ mark: e }) {
+function wP({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, B.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, B.jsx)(hP, { name: e.brand })
+ children: /* @__PURE__ */ (0, B.jsx)(pP, { name: e.brand })
});
let t = L("globe") + ("site" in e ? `<img src="${ge(e.site)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, B.jsx)("span", {
@@ -39603,7 +39620,7 @@ function TP({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function Xpe({ link: e }) {
+function Zpe({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, B.jsx)("a", {
"data-link": "icon",
@@ -39612,19 +39629,19 @@ function Xpe({ link: e }) {
rel: "noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, B.jsx)(TP, { mark: e.mark })
+ children: /* @__PURE__ */ (0, B.jsx)(wP, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, B.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, B.jsx)(TP, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, B.jsx)(wP, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, B.jsxs)("span", {
"data-link": "private",
- title: "私人馆藏来源记录,不直接打开下载页",
- children: [/* @__PURE__ */ (0, B.jsx)(TP, { mark: { globe: !0 } }), /* @__PURE__ */ (0, B.jsxs)("span", {
+ title: e.label,
+ children: [/* @__PURE__ */ (0, B.jsx)(wP, { mark: { globe: !0 } }), /* @__PURE__ */ (0, B.jsxs)("span", {
"data-link-label": "",
children: ["来源 · ", e.label]
})]
@@ -39635,14 +39652,14 @@ function Xpe({ link: e }) {
target: "_blank",
rel: "noreferrer",
title: e.title,
- children: [/* @__PURE__ */ (0, B.jsx)(TP, { mark: e.mark }), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [/* @__PURE__ */ (0, B.jsx)(wP, { mark: e.mark }), /* @__PURE__ */ (0, B.jsx)("span", {
"data-link-label": "",
children: e.text
})]
});
}
}
-function Zpe({ entity: e, actions: t, helpers: n }) {
+function Qpe({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, R.useState)(!!e.feed?.following), [a, o] = (0, R.useState)(!1), s = (0, R.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -39660,34 +39677,34 @@ function Zpe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-entry-marks": "",
- children: [CP(e).map((e, t) => /* @__PURE__ */ (0, B.jsxs)("a", {
+ children: [SP(e).map((e, t) => /* @__PURE__ */ (0, B.jsxs)("a", {
"data-entry-mark": "",
href: e.url,
target: "_blank",
rel: "noreferrer",
title: e.label,
"aria-label": e.label,
- children: [e.mark ? /* @__PURE__ */ (0, B.jsx)(hP, { name: e.mark }) : /* @__PURE__ */ (0, B.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, B.jsx)(pP, { name: e.mark }) : /* @__PURE__ */ (0, B.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, B.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, B.jsx)(Npe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, B.jsx)(Fpe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: Lpe(r)
+ tip: Rpe(r)
}) : null]
});
}
//#endregion
//#region src/react/entity-page/entity-page-view.tsx
-function Qpe(e) {
- let { kind: t, name: n } = e, r = wS(yN(t, n)), i = !!r.data?.error, a = r.data?.redirect, { actions: o } = e;
+function $pe(e) {
+ let { kind: t, name: n } = e, r = CS(_N(t, n)), i = !!r.data?.error, a = r.data?.redirect, { actions: o } = e;
return (0, R.useLayoutEffect)(() => {
i && o.missing();
}, [o, i]), (0, R.useLayoutEffect)(() => {
@@ -39696,17 +39713,17 @@ function Qpe(e) {
o,
a?.kind,
a?.name
- ]), r.isError ? /* @__PURE__ */ (0, B.jsx)(NA, {
+ ]), r.isError ? /* @__PURE__ */ (0, B.jsx)(MA, {
message: U(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || a ? null : /* @__PURE__ */ (0, B.jsx)(tme, {
+ }) : !r.data || i || a ? null : /* @__PURE__ */ (0, B.jsx)(nme, {
...e,
entity: r.data
});
}
-function EP(e) {
+function TP(e) {
let [t, n] = (0, R.useState)({
key: e,
n: 1
@@ -39718,14 +39735,14 @@ function EP(e) {
};
return n(r), r.n;
}
-var $pe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function eme(e, t) {
+var eme = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function tme(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function tme(e) {
- let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = OS(bN(t, n, 0, "")).data?.pages[0], m = f && !f.error ? f : null, h = m ? (m.total || 0) + (m.sample_total || 0) : 0, g = (m?.total || 0) > 0 || xN(m).length > 0, _ = a.media === "photos" && g ? a : fN, [v, y] = (0, R.useState)("people"), b = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [x, S] = (0, R.useState)(b);
+function nme(e) {
+ let { kind: t, name: n, entity: r, filters: i, media: a, helpers: o, actions: s, hosts: c } = e, l = t === "agency" || t === "studio", u = t === "agency" ? r.related_performers || [] : t === "studio" && r.labels || [], d = Number(r.id) || 0, f = DS(vN(t, n, 0, "")).data?.pages[0], m = f && !f.error ? f : null, h = m ? (m.total || 0) + (m.sample_total || 0) : 0, g = (m?.total || 0) > 0 || yN(m).length > 0, _ = a.media === "photos" && g ? a : uN, [v, y] = (0, R.useState)("people"), b = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [x, S] = (0, R.useState)(b);
x !== b && (S(b), y("videos"));
- let C = l && v === "people" && u.length ? "people" : _.media, [w, T] = (0, R.useState)(0), E = vN(e), D = wS(E), O = EP(JSON.stringify([E.queryKey, w])), [k] = (0, R.useState)(() => (t === "performer" || t === "studio") && (e.jav || (D.data?.items || []).some((e) => e.is_jav)));
+ let C = l && v === "people" && u.length ? "people" : _.media, [w, T] = (0, R.useState)(0), E = gN(e), D = CS(E), O = TP(JSON.stringify([E.queryKey, w])), [k] = (0, R.useState)(() => (t === "performer" || t === "studio") && (e.jav || (D.data?.items || []).some((e) => e.is_jav)));
(0, R.useLayoutEffect)(() => {
s.javContext(k);
}, [s, k]);
@@ -39735,26 +39752,26 @@ function tme(e) {
}, [e.layout, k]), j = {
jav: e.jav,
seed: e.seed
- }, M = (0, R.useCallback)((e, r) => _N(t, n, i, j, e, r), [O]), [N, ee] = (0, R.useState)({}), te = _.set, P = N[te] || "", F = OS({
- ...bN(t, n, te, P),
+ }, M = (0, R.useCallback)((e, r) => hN(t, n, i, j, e, r), [O]), [N, ee] = (0, R.useState)({}), te = _.set, P = N[te] || "", F = DS({
+ ...vN(t, n, te, P),
enabled: C === "photos"
- }), ne = F.data?.pages[0], re = EP(JSON.stringify(mN(t, n, te, P))), ie = (0, R.useMemo)(() => {
+ }), ne = F.data?.pages[0], re = TP(JSON.stringify(fN(t, n, te, P))), ie = (0, R.useMemo)(() => {
let e = F.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: re,
- codeSets: t.id ? [] : xN(t),
+ codeSets: t.id ? [] : yN(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
- }, [F.data, re]), ae = F.refetch, oe = F.fetchNextPage, se = wS({
- ...uN(d, o.feedRowHtml),
+ }, [F.data, re]), ae = F.refetch, oe = F.fetchNextPage, se = CS({
+ ...cN(d, o.feedRowHtml),
enabled: !!d
}), ce = (0, R.useRef)(e.feedRevision);
(0, R.useEffect)(() => {
- ce.current !== e.feedRevision && (ce.current = e.feedRevision, p.invalidateQueries({ queryKey: cN(d) }));
+ ce.current !== e.feedRevision && (ce.current = e.feedRevision, p.invalidateQueries({ queryKey: sN(d) }));
}, [d, e.feedRevision]);
let le = !!D.data;
(0, R.useEffect)(() => {
@@ -39771,12 +39788,12 @@ function tme(e) {
ue.current = !1;
}, []);
let de = (0, R.useCallback)(async () => {
- await p.invalidateQueries({ queryKey: pN(t, n) }), await p.invalidateQueries({ queryKey: [
+ await p.invalidateQueries({ queryKey: dN(t, n) }), await p.invalidateQueries({ queryKey: [
"entity-items",
t,
n
] });
- }, [t, n]), fe = DS({
+ }, [t, n]), fe = ES({
mutationFn: (e) => pe("/api/entity-alias", {
method: "POST",
body: JSON.stringify({
@@ -39786,14 +39803,14 @@ function tme(e) {
})
}),
onSuccess: () => de()
- }), I = DS({ mutationFn: ({ from: e, to: n }) => pe("/api/entity-name", {
+ }), I = ES({ mutationFn: ({ from: e, to: n }) => pe("/api/entity-name", {
method: "POST",
body: JSON.stringify({
kind: t,
name: e,
canonical: n
})
- }) }), me = DS({
+ }) }), me = ES({
mutationFn: (e) => pe("/api/feeds/source", {
method: "POST",
body: JSON.stringify({
@@ -39802,7 +39819,7 @@ function tme(e) {
enabled: e
})
}),
- onSuccess: (e, r) => p.setQueryData(pN(t, n), (e) => e && {
+ onSuccess: (e, r) => p.setQueryData(dN(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -39850,10 +39867,10 @@ function tme(e) {
let e = await pe("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- ue.current && await p.invalidateQueries({ queryKey: cN(d) });
+ ue.current && await p.invalidateQueries({ queryKey: sN(d) });
})();
},
- feedAction: dN,
+ feedAction: lN,
avatarPicked: () => {
s.avatarChanged(), de().then(() => {
ue.current && T((e) => e + 1);
@@ -39884,19 +39901,19 @@ function tme(e) {
e === C && !_.set || (y(e === "people" ? "people" : "videos"), s.route(i, e === "photos" ? {
media: "photos",
set: 0
- } : fN));
+ } : uN));
},
setState: (e) => s.route({
...i,
state: e
- }, fN),
+ }, uN),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (C !== "photos") {
- let r = s.reshuffleVideos(), a = vN({
+ let r = s.reshuffleVideos(), a = gN({
kind: t,
name: n,
filters: {
@@ -39910,7 +39927,7 @@ function tme(e) {
await p.fetchQuery(a).catch(() => null);
return;
}
- let r = $pe(), a = await p.fetchInfiniteQuery(bN(t, n, te, r)).catch(() => null);
+ let r = eme(), a = await p.fetchInfiniteQuery(vN(t, n, te, r)).catch(() => null);
!ue.current || !a?.pages[0] || a.pages[0].error || ee((e) => ({
...e,
[te]: r
@@ -39943,7 +39960,7 @@ function tme(e) {
k: e.k,
label: ct(e.k),
n: e.n,
- selected: Sfe(i.tag, e.k)
+ selected: wfe(i.tag, e.k)
})), be = h || u.length ? {
label: u.length ? "页面视图" : "媒体类型",
people: u.length ? {
@@ -39969,9 +39986,9 @@ function tme(e) {
if (C === "people") Ce = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (C === "videos") {
we = !D.data;
- let e = hN(i.tag).map((e) => ct(e));
+ let e = pN(i.tag).map((e) => ct(e));
Ce = `视频 · ${(D.data?.work_total ?? D.data?.total ?? 0).toLocaleString()}${e.length ? ` · ${e.join(" · ")}` : ""}`;
- } else ne && !ne.error ? Ce = xe ? `${ne.title} · ${(ne.total || 0).toLocaleString()} 张` : eme(ne, xN(ne).length) : we = F.isPending;
+ } else ne && !ne.error ? Ce = xe ? `${ne.title} · ${(ne.total || 0).toLocaleString()} 张` : tme(ne, yN(ne).length) : we = F.isPending;
let Te = (0, R.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -39988,7 +40005,7 @@ function tme(e) {
u
]);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(Wpe, {
+ /* @__PURE__ */ (0, B.jsx)(Gpe, {
kind: t,
name: n,
entity: r,
@@ -39998,7 +40015,7 @@ function tme(e) {
actions: he,
helpers: ge
}, w),
- (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(ele, {
+ (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(tle, {
kind: t,
name: n,
view: C,
@@ -40014,12 +40031,12 @@ function tme(e) {
actions: _e,
helpers: ve
}), c.filter),
- (0, rp.createPortal)(C === "videos" && D.isError ? /* @__PURE__ */ (0, B.jsx)(NA, {
+ (0, rp.createPortal)(C === "videos" && D.isError ? /* @__PURE__ */ (0, B.jsx)(MA, {
message: U(D.error),
onRetry: () => {
D.refetch();
}
- }) : /* @__PURE__ */ (0, B.jsx)(Zfe, {
+ }) : /* @__PURE__ */ (0, B.jsx)($fe, {
kind: t,
name: n,
view: C,
@@ -40045,7 +40062,7 @@ function tme(e) {
}
//#endregion
//#region src/react/components/collection-summary.tsx
-function DP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function EP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-collection-summary": "",
className: `${i ? "" : "mb-5 "}flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5
@@ -40072,29 +40089,29 @@ function DP({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
}
//#endregion
//#region src/react/duplicates/duplicates-page.tsx
-var nme = CA("play"), rme = CA("file-stack"), ime = kE({
+var rme = SA("play"), ime = SA("file-stack"), ame = OE({
padding: "none",
radius: "surface",
className: "mb-6 overflow-hidden dark:bg-background-primary-default"
-}), OP = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", kP = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", AP = "font-mono text-caption-1-regular leading-5 text-text-secondary", jP = () => {
+}), DP = "rounded-sm px-1.5 py-px text-caption-1-regular leading-5", OP = "rounded-sm px-2 py-0.5 text-caption-1-regular leading-5", kP = "font-mono text-caption-1-regular leading-5 text-text-secondary", AP = () => {
p.invalidateQueries({
- queryKey: qA,
+ queryKey: KA,
exact: !0
}), p.invalidateQueries({
- queryKey: _M,
+ queryKey: gM,
exact: !0
});
};
-function ame(e) {
+function ome(e) {
return e.identical ? /* @__PURE__ */ (0, B.jsx)("span", {
- className: `${kP} text-(--keep)`,
+ className: `${OP} text-(--keep)`,
children: "sha1 一致"
}) : /* @__PURE__ */ (0, B.jsx)("span", {
- className: `${kP} text-text-secondary`,
+ className: `${OP} text-text-secondary`,
children: e.evidence === "same_code_short_copy" ? "同番号短版本" : "时长推断"
});
}
-function ome({ file: e, openItem: t }) {
+function sme({ file: e, openItem: t }) {
let n = () => t(e.id);
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4",
@@ -40104,7 +40121,7 @@ function ome({ file: e, openItem: t }) {
onClick: n,
"aria-label": `预览 ${e.name}`,
className: "relative row-span-2 inline-grid aspect-16/10 w-full cursor-pointer place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default text-text-secondary",
- children: [/* @__PURE__ */ (0, B.jsx)(nme, {
+ children: [/* @__PURE__ */ (0, B.jsx)(rme, {
"aria-hidden": !0,
className: "size-6"
}), /* @__PURE__ */ (0, B.jsx)("img", {
@@ -40128,55 +40145,55 @@ function ome({ file: e, openItem: t }) {
}), e.is_largest || e.is_longest ? /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex flex-none gap-1",
children: [e.is_largest ? /* @__PURE__ */ (0, B.jsx)("i", {
- className: `${OP} not-italic bg-background-primary-hover text-text-secondary`,
+ className: `${DP} not-italic bg-background-primary-hover text-text-secondary`,
children: "最大"
}) : null, e.is_longest ? /* @__PURE__ */ (0, B.jsx)("i", {
- className: `${OP} not-italic bg-(--keep)/22 text-(--keep)`,
+ className: `${DP} not-italic bg-(--keep)/22 text-(--keep)`,
children: "最长"
}) : null]
}) : null]
}),
/* @__PURE__ */ (0, B.jsxs)("span", {
- className: `${AP} flex min-w-0 items-center gap-1.5`,
- children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: Oe[e.location] || "database" }), /* @__PURE__ */ (0, B.jsx)("span", {
+ className: `${kP} flex min-w-0 items-center gap-1.5`,
+ children: [/* @__PURE__ */ (0, B.jsx)(Wk, { mark: Oe[e.location] || "database" }), /* @__PURE__ */ (0, B.jsx)("span", {
className: "whitespace-nowrap",
children: I[e.location] || e.location || e.drive
})]
}),
/* @__PURE__ */ (0, B.jsx)("span", {
- className: AP,
+ className: kP,
children: ye(e.size || 0)
}),
/* @__PURE__ */ (0, B.jsx)("span", {
- className: AP,
+ className: kP,
children: ve(e.duration)
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-middle-truncate": !0,
title: e.path ?? "",
- className: `${AP} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
+ className: `${kP} col-start-2 -col-end-1 min-w-0 truncate pt-0.5 max-duplicate-narrow:col-span-full`,
children: e.path ?? ""
})
]
});
}
-function sme({ openItem: e, toast: t, failure: n }) {
- let r = wS({
- queryKey: qA,
- queryFn: ({ signal: e }) => YA(e)
- }), i = wS({
+function cme({ openItem: e, toast: t, failure: n }) {
+ let r = CS({
+ queryKey: KA,
+ queryFn: ({ signal: e }) => JA(e)
+ }), i = CS({
queryKey: u,
queryFn: ({ signal: e }) => f(e)
- }), [a, o] = (0, R.useState)(""), s = DS({
- mutationFn: (e) => QA(e, "dispose"),
+ }), [a, o] = (0, R.useState)(""), s = ES({
+ mutationFn: (e) => ZA(e, "dispose"),
onSuccess: (e, r) => {
- jP(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
+ AP(), t(`已把 ${r.length} 项移入回收站`, { undo: async () => {
try {
- await QA(r, "restore");
+ await ZA(r, "restore");
} catch (e) {
n("撤销移入回收站", e);
} finally {
- jP();
+ AP();
}
} });
},
@@ -40190,12 +40207,12 @@ function sme({ openItem: e, toast: t, failure: n }) {
children: r.error ? U(r.error) : "未取得重复文件列表,请刷新页面重试。"
})
});
- let l = c.groups ?? [], d = Fle(i.data), p = ({ groups: e, keep: t, key: n }) => {
+ let l = c.groups ?? [], d = Ile(i.data), p = ({ groups: e, keep: t, key: n }) => {
if (s.isPending) return;
- let r = Ble(e, t);
+ let r = Vle(e, t);
r.length && je({
title: "移入回收站",
- body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${XA[t] ?? XA.largest}。文件共 ${ye(Vle(e, r))},记录可从回收站还原。`,
+ body: `将把 ${r.length} 个重复文件的馆藏记录移入回收站,每组保留${YA[t] ?? YA.largest}。文件共 ${ye(Hle(e, r))},记录可从回收站还原。`,
confirmLabel: "移入回收站",
onConfirm: () => (o(n), s.mutateAsync(r))
});
@@ -40203,15 +40220,15 @@ function sme({ openItem: e, toast: t, failure: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "mx-auto w-full max-w-board pb-10.5",
children: [
- /* @__PURE__ */ (0, B.jsx)(DP, {
+ /* @__PURE__ */ (0, B.jsx)(EP, {
label: "重复内容",
figure: `${Number(c.total || 0).toLocaleString()} 组`,
detail: `${c.files} 个文件 · 可回收 ${ye(c.reclaimable)}`
}),
- l.length ? /* @__PURE__ */ (0, B.jsxs)(Kce, {
+ l.length ? /* @__PURE__ */ (0, B.jsxs)(qce, {
title: "批量保留",
children: [
- /* @__PURE__ */ (0, B.jsx)(pA, {
+ /* @__PURE__ */ (0, B.jsx)(fA, {
busy: a === "all:largest",
onPress: () => p({
groups: l,
@@ -40220,7 +40237,7 @@ function sme({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最大"
}),
- /* @__PURE__ */ (0, B.jsx)(pA, {
+ /* @__PURE__ */ (0, B.jsx)(fA, {
busy: a === "all:longest",
onPress: () => p({
groups: l,
@@ -40229,7 +40246,7 @@ function sme({ openItem: e, toast: t, failure: n }) {
}),
children: "全部保留最长"
}),
- zle(l, d).map((e) => /* @__PURE__ */ (0, B.jsx)(pA, {
+ Ble(l, d).map((e) => /* @__PURE__ */ (0, B.jsx)(fA, {
busy: a === `all:${e}`,
onPress: () => p({
groups: l,
@@ -40252,7 +40269,7 @@ function sme({ openItem: e, toast: t, failure: n }) {
let r = [t], i = (e) => `${n}:${e}`;
return /* @__PURE__ */ (0, B.jsxs)("section", {
"aria-label": t.code,
- className: ime,
+ className: ame,
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default",
children: [
@@ -40264,9 +40281,9 @@ function sme({ openItem: e, toast: t, failure: n }) {
className: "font-mono text-caption-1-regular leading-5 text-text-primary",
children: `${t.count} 个 · 可回收 ${ye(t.reclaimable)}`
}),
- ame(t),
+ ome(t),
t.cross_drive ? /* @__PURE__ */ (0, B.jsx)("span", {
- className: `${kP} text-text-secondary`,
+ className: `${OP} text-text-secondary`,
children: `跨盘 ${t.drives.join(" ")}`
}) : null,
/* @__PURE__ */ (0, B.jsxs)("span", {
@@ -40294,7 +40311,7 @@ function sme({ openItem: e, toast: t, failure: n }) {
}),
children: "留最长"
}),
- ZA(t.files, d).map((e) => /* @__PURE__ */ (0, B.jsx)(J, {
+ XA(t.files, d).map((e) => /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
...m(i(e)),
@@ -40319,13 +40336,13 @@ function sme({ openItem: e, toast: t, failure: n }) {
]
})
]
- }), /* @__PURE__ */ (0, B.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, B.jsx)(ome, {
+ }), /* @__PURE__ */ (0, B.jsx)("div", { children: t.files.map((t) => /* @__PURE__ */ (0, B.jsx)(sme, {
file: t,
openItem: e
}, t.id)) })]
}, `${t.code}-${n}`);
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: rme,
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ icon: ime,
title: "没有找到重复文件",
children: "所有来源之间没有检测到内容相同的文件。扫描新来源后,这里会自动更新。"
})
@@ -40334,23 +40351,23 @@ function sme({ openItem: e, toast: t, failure: n }) {
}
//#endregion
//#region src/react/diagnostics/diagnostics.ts
-var MP = ["diagnostics"], NP = (e) => W("/api/diagnostics", e);
-async function cme(e) {
+var jP = ["diagnostics"], MP = (e) => W("/api/diagnostics", e);
+async function lme(e) {
await p.fetchQuery({
- queryKey: MP,
- queryFn: () => NP(e),
+ queryKey: jP,
+ queryFn: () => MP(e),
staleTime: 1e4
});
}
//#endregion
//#region src/react/diagnostics/diagnostics-page.tsx
-var PP = {
+var NP = {
ok: "正常",
warning: "需检查",
failed: "需处理",
unknown: "未取得",
disabled: "未配置"
-}, lme = [
+}, ume = [
["媒体库与挂载", ["media_mounts", "data_root"]],
["数据库与迁移", ["database", "schema"]],
["工具", ["ffmpeg"]],
@@ -40361,8 +40378,8 @@ var PP = {
"version"
]],
["后台任务", ["tasks"]]
-], FP = (e) => new Date(e).toLocaleString();
-function ume({ name: e, check: t, navigate: n, configure: r }) {
+], PP = (e) => new Date(e).toLocaleString();
+function dme({ name: e, check: t, navigate: n, configure: r }) {
let i = e === "security" ? "网络与访问" : e === "configured" ? "通用" : "媒体";
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border py-4 pr-3 last:border-b-0",
@@ -40374,7 +40391,7 @@ function ume({ name: e, check: t, navigate: n, configure: r }) {
children: t.label
}), /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: PP[t.status] ?? "未取得"
+ children: NP[t.status] ?? "未取得"
})]
}),
/* @__PURE__ */ (0, B.jsx)("p", {
@@ -40394,14 +40411,14 @@ function ume({ name: e, check: t, navigate: n, configure: r }) {
]
});
}
-function dme({ group: e, openItem: t, receipt: n }) {
- let r = FE(), i = NM(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
- return /* @__PURE__ */ (0, B.jsx)(Wk, {
+function fme({ group: e, openItem: t, receipt: n }) {
+ let r = PE(), i = MM(), a = e.items.map((e) => e.code || `作品 #${e.id}`).join("\n");
+ return /* @__PURE__ */ (0, B.jsx)(Uk, {
summary: `${e.label} · ${e.count === null ? "未取得" : `${e.count} 项`}`,
children: e.count === null ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "neutral",
children: "清单未取得,请重新检查。"
- }) : e.items.length ? /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ }) : e.items.length ? /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2",
children: [e.truncated ? /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -40436,20 +40453,20 @@ function dme({ group: e, openItem: t, receipt: n }) {
}) }, e.id))
})
})
- ] }) : /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: nae,
+ ] }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ icon: rae,
title: "清单为空",
shell: "plain",
children: "没有需要处理的作品。"
})
});
}
-function fme(e) {
- let t = wS({
- queryKey: MP,
- queryFn: ({ signal: e }) => NP(e),
+function pme(e) {
+ let t = CS({
+ queryKey: jP,
+ queryFn: ({ signal: e }) => MP(e),
staleTime: 1e4
- }), n = FE(), [r, i] = (0, R.useState)(""), a = () => void n.run("refresh", async () => {
+ }), n = PE(), [r, i] = (0, R.useState)(""), a = () => void n.run("refresh", async () => {
let e = await t.refetch();
if (e.error) throw e.error;
return e.data;
@@ -40470,27 +40487,27 @@ function fme(e) {
tone: "error",
children: r
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Pk, {
+ /* @__PURE__ */ (0, B.jsx)(Nk, {
title: "库健康",
- children: /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [o.library.issue_at ? /* @__PURE__ */ (0, B.jsxs)("p", {
+ children: /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [o.library.issue_at ? /* @__PURE__ */ (0, B.jsxs)("p", {
className: "text-body-2-regular text-text-secondary",
- children: ["处理记录 · ", FP(o.library.issue_at)]
- }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, B.jsx)(dme, {
+ children: ["处理记录 · ", PP(o.library.issue_at)]
+ }) : null, Object.entries(o.library.groups).map(([t, n]) => /* @__PURE__ */ (0, B.jsx)(fme, {
group: n,
...e
}, t))] })
}),
- lme.map(([t, n]) => /* @__PURE__ */ (0, B.jsx)(Pk, {
+ ume.map(([t, n]) => /* @__PURE__ */ (0, B.jsx)(Nk, {
title: t,
- children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, B.jsx)(ume, {
+ children: n.map((t) => o.checks[t] ? /* @__PURE__ */ (0, B.jsx)(dme, {
name: t,
check: o.checks[t],
...e
}, t) : null)
}, t)),
- /* @__PURE__ */ (0, B.jsx)(Pk, {
+ /* @__PURE__ */ (0, B.jsx)(Nk, {
title: "来源会话",
- children: /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [o.sources.map((e) => /* @__PURE__ */ (0, B.jsxs)("div", {
+ children: /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [o.sources.map((e) => /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
/* @__PURE__ */ (0, B.jsxs)("h3", {
@@ -40498,19 +40515,19 @@ function fme(e) {
children: [
e.label,
" · ",
- PP[e.status]
+ NP[e.status]
]
}),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-regular text-text-primary",
children: e.reason
}),
- /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [/* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [/* @__PURE__ */ (0, B.jsx)(Hk, {
term: "上次解析成功",
- children: e.last_success_at ? FP(e.last_success_at) : "未取得"
- }), /* @__PURE__ */ (0, B.jsx)(Uk, {
+ children: e.last_success_at ? PP(e.last_success_at) : "未取得"
+ }), /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "冷却截止",
- children: e.cooldown_until ? FP(e.cooldown_until) : "未在冷却"
+ children: e.cooldown_until ? PP(e.cooldown_until) : "未在冷却"
})] })
]
}, e.source)), /* @__PURE__ */ (0, B.jsx)("div", { children: /* @__PURE__ */ (0, B.jsx)(J, {
@@ -40538,21 +40555,21 @@ function fme(e) {
}
//#endregion
//#region src/react/feed-new/feed-new-page.tsx
-function pme({ host: e, revision: t, helpers: n, actions: r }) {
- let i = wS(uN(null, n.feedRowHtml)), a = (0, R.useRef)(t);
+function mme({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = CS(cN(null, n.feedRowHtml)), a = (0, R.useRef)(t);
return (0, R.useEffect)(() => {
- a.current !== t && (a.current = t, p.invalidateQueries({ queryKey: cN(null) }));
- }, [t]), (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(mP, {
+ a.current !== t && (a.current = t, p.invalidateQueries({ queryKey: sN(null) }));
+ }, [t]), (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(fP, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: dN,
+ act: lN,
settled: r.settled
}), e);
}
//#endregion
//#region src/follow-sort.ts
-var IP = [
+var FP = [
["checked", "检查时间"],
["added", "添加时间"],
["name", "创作者名称"],
@@ -40560,7 +40577,7 @@ var IP = [
["source", "来源名称"],
["provider", "站点"],
["status", "状态"]
-], mme = "checked", LP = {
+], hme = "checked", IP = {
checked: "desc",
added: "desc",
name: "asc",
@@ -40568,32 +40585,32 @@ var IP = [
source: "asc",
provider: "asc",
status: "asc"
-}, hme = (e) => IP.some(([t]) => t === e);
-function RP(e, t) {
- let n = hme(e) ? e : mme;
+}, gme = (e) => FP.some(([t]) => t === e);
+function LP(e, t) {
+ let n = gme(e) ? e : hme;
return {
sort: n,
- dir: t === "asc" || t === "desc" ? t : LP[n]
+ dir: t === "asc" || t === "desc" ? t : IP[n]
};
}
//#endregion
//#region src/react/follow-manage/follow-manage.ts
-var zP = "/api/follow", BP = "/api/follow/credentials", VP = "/api/follow/check", HP = "/api/follow/source", UP = "/api/follow/resolve", gme = "/api/follow/suggest", WP = "/api/follow/author-alias", _me = "/api/follow/credential", GP = "/api/follow/status", vme = "/api/feeds", KP = "/api/feeds/source", yme = "/api/feeds/check", bme = "/api/feeds/lookup", qP = ["follow-manage"], JP = ["follow-manage", "credentials"], xme = ["follow-manage", "check"], Sme = ["follow-manage", "resolve"], YP = ["follow-manage", "feeds"], Cme = (e) => [
+var RP = "/api/follow", zP = "/api/follow/credentials", BP = "/api/follow/check", VP = "/api/follow/source", HP = "/api/follow/resolve", _me = "/api/follow/suggest", UP = "/api/follow/author-alias", vme = "/api/follow/credential", WP = "/api/follow/status", yme = "/api/feeds", GP = "/api/feeds/source", bme = "/api/feeds/check", xme = "/api/feeds/lookup", KP = ["follow-manage"], qP = ["follow-manage", "credentials"], Sme = ["follow-manage", "check"], Cme = ["follow-manage", "resolve"], JP = ["follow-manage", "feeds"], wme = (e) => [
"follow-manage",
"suggest",
e
-], XP = [["default", "默认视图"], ["table", "表格视图"]], ZP = [
+], YP = [["default", "默认视图"], ["table", "表格视图"]], XP = [
10,
20,
50,
100
-], wme = Object.fromEntries(IP), QP = {
+], Tme = Object.fromEntries(FP), ZP = {
author: "name",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Tme = (e) => XP.some(([t]) => t === e), Eme = (e) => ZP.includes(Number(e)) ? Number(e) : 20, Dme = {
+}, Eme = (e) => YP.some(([t]) => t === e), Dme = (e) => XP.includes(Number(e)) ? Number(e) : 20, Ome = {
checked: ["从近到远", "从远到近"],
added: ["从近到远", "从远到近"],
name: ["倒序", "正序"],
@@ -40601,25 +40618,25 @@ var zP = "/api/follow", BP = "/api/follow/credentials", VP = "/api/follow/check"
source: ["倒序", "正序"],
provider: ["倒序", "正序"],
status: ["倒序", "正序"]
-}, Ome = (e, t) => `按${wme[e]}${Dme[e][t === "asc" ? 0 : 1]}排序`;
-function $P(e) {
+}, kme = (e, t) => `按${Tme[e]}${Ome[e][t === "asc" ? 0 : 1]}排序`;
+function QP(e) {
let t = e.last_status;
return t === "error" || t === "unauthorized" ? 0 : e.enabled ? t === "ok" ? 3 : 2 : 1;
}
-function kme(e) {
+function Ame(e) {
return e.history_exhausted ? "没有更多" : e.enabled ? e.last_status === "ok" ? "正常" : e.last_status === "error" || e.last_status === "unauthorized" ? "检查失败" : "未检查" : "已暂停";
}
-var eF = (e) => e.last_status === "error" || e.last_status === "unauthorized", tF = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), nF = {
- source: tF,
- provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || tF(e, t),
- status: (e, t) => $P(e) - $P(t) || tF(e, t)
-}, rF = (e) => Date.parse(e || "") || 0, iF = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
-function aF(e, t = []) {
+var $P = (e) => e.last_status === "error" || e.last_status === "unauthorized", eF = (e, t) => String(e.label || "").localeCompare(String(t.label || ""), "zh-CN", { numeric: !0 }), tF = {
+ source: eF,
+ provider: (e, t) => String(e.provider_label || "").localeCompare(String(t.provider_label || ""), "zh-CN") || eF(e, t),
+ status: (e, t) => QP(e) - QP(t) || eF(e, t)
+}, nF = (e) => Date.parse(e || "") || 0, rF = (e) => String(e || "").replace(/\s*[·|]\s*[A-Za-z0-9_-]+\s*$/, "").replace(/\s+collections?\s*$/i, "").trim();
+function iF(e, t = []) {
if (!e.length) return "";
- let n = (e) => String(e.author_name || "").trim() || iF(e.label), r = e.find((e) => e.entity_name);
+ let n = (e) => String(e.author_name || "").trim() || rF(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 iF(i.canonical_name);
+ if (i) return rF(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);
@@ -40627,18 +40644,18 @@ function aF(e, t = []) {
let s = (e) => (e.match(/[A-Z]/g) || []).length;
return o.reduce((e, t) => s(t) > s(e) ? t : e, o[0]);
}
-function oF(e) {
+function aF(e) {
let t = e.trim().match(/[A-Za-z0-9]/);
return (t ? t[0] : Array.from(e.trim())[0] || "?").toUpperCase();
}
-function sF(e) {
+function oF(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 cF(e) {
+function sF(e) {
let t = [], n = /* @__PURE__ */ new Map();
for (let r of e) {
let e = r.author_key || `source:${r.id}`;
@@ -40646,32 +40663,32 @@ function cF(e) {
}
return t.map((e) => n.get(e));
}
-function Ame(e, t, n, r = []) {
- let i = cF(e), a = n === LP[t] ? 1 : -1, o = (e) => aF(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = nF[t];
+function jme(e, t, n, r = []) {
+ let i = sF(e), a = n === IP[t] ? 1 : -1, o = (e) => iF(e, r), s = (e, t) => o(e).localeCompare(o(t), "zh-CN", { numeric: !0 }), c = tF[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) => rF(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => rF(e.created_at)));
+ let l = (e) => Math.max(...e.map((e) => nF(e.last_checked_at))), u = (e) => Math.max(...e.map((e) => nF(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 jme(e, t, n, r = []) {
+function Mme(e, t, n, r = []) {
let i = e.flatMap((e) => {
- let t = aF(e, r);
+ let t = iF(e, r);
return e.map((n) => ({
source: n,
group: e,
author: t
}));
- }), a = nF[t];
+ }), a = tF[t];
if (a) {
- let e = n === LP[t] ? 1 : -1;
+ let e = n === IP[t] ? 1 : -1;
i.sort((t, n) => e * a(t.source, n.source));
}
return i;
}
-function lF(e, t, n) {
- let r = gj(e, t), i = _j(n, r), a = (i - 1) * t;
+function cF(e, t, n) {
+ let r = hj(e, t), i = gj(n, r), a = (i - 1) * t;
return {
page: i,
pages: r,
@@ -40680,91 +40697,91 @@ function lF(e, t, n) {
end: Math.min(a + t, e)
};
}
-function Mme(e, t) {
+function Nme(e, t) {
let n = new Set(t.map((e) => e.id));
return new Set([...e].filter((e) => n.has(e)));
}
-function uF(e, t) {
+function lF(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 dF(e, t, n) {
+function uF(e, t, n) {
let r = new Set(e);
for (let e of t) n ? r.add(e) : r.delete(e);
return r;
}
-var fF = (e) => W(`${zP}?summary=1`, e), pF = (e) => W(BP, e), Nme = (e) => W(VP, e), Pme = (e) => W(UP, e), Fme = (e, t) => W(`${gme}?q=${encodeURIComponent(e)}`, t), mF = (e) => G(VP, {
+var dF = (e) => W(`${RP}?summary=1`, e), fF = (e) => W(zP, e), Pme = (e) => W(BP, e), Fme = (e) => W(HP, e), Ime = (e, t) => W(`${_me}?q=${encodeURIComponent(e)}`, t), pF = (e) => G(BP, {
...e?.length ? { sources: e } : {},
background: !0
-}), Ime = (e) => G(UP, {
+}), Lme = (e) => G(HP, {
lines: e,
background: !0
-}), hF = (e, t) => G(HP, {
+}), mF = (e, t) => G(VP, {
action: "enabled",
id: e,
enabled: t
-}), gF = (e) => G(HP, {
+}), hF = (e) => G(VP, {
action: "remove",
id: e
-}), Lme = (e) => G(HP, {
+}), Rme = (e) => G(VP, {
action: "add",
url: e.url,
label: e.label,
author: e.author || "",
aliases: e.aliases || [],
defer_check: !0
-}), _F = (e, t) => G(WP, {
+}), gF = (e, t) => G(UP, {
action: "add",
canonical: e,
alias: t
-}), Rme = (e) => G(WP, {
+}), zme = (e) => G(UP, {
action: "remove",
alias: e
-}), zme = (e, t) => G(_me, {
+}), Bme = (e, t) => G(vme, {
provider: e,
values: t
-}), Bme = (e, t) => G(GP, {
+}), Vme = (e, t) => G(WP, {
item: e,
to: t
-}), Vme = () => W(`${zP}?status=new&limit=1000`);
-async function vF(e) {
- let t = await W(vme, e);
+}), Hme = () => W(`${RP}?status=new&limit=1000`);
+async function _F(e) {
+ let t = await W(yme, e);
if (!Array.isArray(t?.sources)) throw Error("没有读到订阅源");
return t;
}
-var yF = (e, t, n) => G(KP, {
+var vF = (e, t, n) => G(GP, {
action: "enabled",
id: e,
enabled: t
-}, "POST", n), bF = (e, t) => G(KP, {
+}, "POST", n), yF = (e, t) => G(GP, {
action: "remove",
id: e
-}, "POST", t), xF = (e, t) => G(yme, t?.length ? { sources: t } : { all: !0 }, "POST", e), Hme = (e, t) => W(`${bme}?q=${encodeURIComponent(e)}`, t), Ume = (e, t, n) => G(KP, {
+}, "POST", t), bF = (e, t) => G(bme, t?.length ? { sources: t } : { all: !0 }, "POST", e), Ume = (e, t) => W(`${xme}?q=${encodeURIComponent(e)}`, t), Wme = (e, t, n) => G(GP, {
action: "follow-name",
name: e,
ids: t
}, "POST", n);
-async function Wme(e, t = "") {
+async function Gme(e, t = "") {
await Promise.all([
p.fetchQuery({
- queryKey: qP,
- queryFn: () => fF(e)
+ queryKey: KP,
+ queryFn: () => dF(e)
}),
p.fetchQuery({
- queryKey: JP,
- queryFn: () => pF(e)
+ queryKey: qP,
+ queryFn: () => fF(e)
}),
t === "feeds" ? p.fetchQuery({
- queryKey: YP,
- queryFn: () => vF(e)
+ queryKey: JP,
+ queryFn: () => _F(e)
}) : null
]);
}
-function SF(e, t) {
- p.setQueryData(qP, (n) => n && {
+function xF(e, t) {
+ p.setQueryData(KP, (n) => n && {
...n,
sources: n.sources.map((n) => n.id === e ? {
...n,
@@ -40772,24 +40789,24 @@ function SF(e, t) {
} : n)
});
}
-function CF(e) {
+function SF(e) {
let t = new Set(e);
- p.setQueryData(qP, (e) => e && {
+ p.setQueryData(KP, (e) => e && {
...e,
sources: e.sources.filter((e) => !t.has(e.id))
});
}
-var wF = () => p.invalidateQueries({
- queryKey: qP,
+var CF = () => p.invalidateQueries({
+ queryKey: KP,
exact: !0
});
-function Gme(e) {
+function Kme(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 Kme = (e) => (e?.results || []).filter((e) => !e.ok), qme = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", TF = (e) => e.last_checked_at ? vj(e.last_checked_at) : "未检查", Jme = /* @__PURE__ */ new Set([
+var qme = (e) => (e?.results || []).filter((e) => !e.ok), Jme = (e) => (e?.results || []).find((e) => e.evidence_error)?.evidence_error || "", wF = (e) => e.last_checked_at ? _j(e.last_checked_at) : "未检查", Yme = /* @__PURE__ */ new Set([
"fanbox",
"patreon",
"subscribestar",
@@ -40802,50 +40819,50 @@ var Kme = (e) => (e?.results || []).filter((e) => !e.ok), qme = (e) => (e?.resul
"gofile",
"f95zone",
"simpcity"
-]), EF = (e) => Jme.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Yme = {
+]), TF = (e) => Yme.has(e) ? `/source-icon?provider=${encodeURIComponent(e)}` : "", Xme = {
required: "需要",
optional: "可选",
none: "不需要",
blocked: "接不进来"
-}, DF = (e) => !!e.present && !e.missing.length, Xme = [
+}, EF = (e) => !!e.present && !e.missing.length, Zme = [
["", "全部"],
["new", "未看"],
["saved", "已保存"],
["ignored", "已忽略"]
-], Zme = [
+], Qme = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
-], OF = {
+], DF = {
new: ["从新到旧", "从旧到新"],
hot: ["从高到低", "从低到高"],
dur: ["从长到短", "从短到长"]
};
-function kF(e, t) {
+function OF(e, t) {
let n = (e) => encodeURIComponent(e.join(","));
return `/api/follow?limit=300&offset=${t}` + (e.status ? `&status=${e.status}` : "") + (e.author ? `&author=${n([e.author])}` : "") + (e.provider ? `&provider=${n([e.provider])}` : "") + (e.tags.length ? `&tag=${n(e.tags)}` : "") + (e.work ? `&work=${n([e.work])}` : "") + (e.sort === "new" ? "" : `&sort=${e.sort}`) + (e.sort === "rand" ? `&seed=${e.seed}` : "") + (e.dir === "desc" ? "" : `&dir=${e.dir}`);
}
-function AF(e, t) {
+function kF(e, t) {
return {
queryKey: [
"follow-feed",
- kF(e, 0),
+ OF(e, 0),
t
],
- queryFn: ({ pageParam: t, signal: n }) => W(kF(e, t), n),
+ queryFn: ({ pageParam: t, signal: n }) => W(OF(e, t), n),
initialPageParam: 0,
getNextPageParam: (e) => e.has_more ? (e.offset || 0) + 300 : void 0,
- placeholderData: kS.keepPreviousData
+ placeholderData: OS.keepPreviousData
};
}
-var jF = ["follow-feed", "credentials"], MF = (e) => W(BP, e).catch(() => ({ providers: [] }));
-async function Qme(e, t) {
- let n = AF(e.view, e.revision);
+var AF = ["follow-feed", "credentials"], jF = (e) => W(zP, e).catch(() => ({ providers: [] }));
+async function $me(e, t) {
+ let n = kF(e.view, e.revision);
p.removeQueries({
queryKey: n.queryKey,
exact: !0
}), p.removeQueries({
- queryKey: jF,
+ queryKey: AF,
exact: !0
}), await Promise.all([p.fetchInfiniteQuery({
queryKey: n.queryKey,
@@ -40856,11 +40873,11 @@ async function Qme(e, t) {
initialPageParam: 0,
getNextPageParam: n.getNextPageParam
}), p.fetchQuery({
- queryKey: jF,
- queryFn: () => MF(t)
+ queryKey: AF,
+ queryFn: () => jF(t)
})]);
}
-function NF(e) {
+function MF(e) {
if (!e?.pages.length) return null;
let t = e.pages, n = t[t.length - 1];
return {
@@ -40869,10 +40886,10 @@ function NF(e) {
groups: t.flatMap((e) => e.groups || [])
};
}
-function PF(e, t, n) {
+function NF(e, t, n) {
return [...e].sort((e, r) => Ee(n, t(e)) - Ee(n, t(r)) || String(t(e)).localeCompare(String(t(r))));
}
-function FF(e) {
+function PF(e) {
let t = /* @__PURE__ */ new Set();
return [
e.primary,
@@ -40880,14 +40897,14 @@ function FF(e) {
...e.duplicates
].filter((e) => !e || t.has(e.id) ? !1 : (t.add(e.id), !0));
}
-function $me(e) {
+function ehe(e) {
let t = p.getQueryCache().findAll({ queryKey: ["follow-feed"] }).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt);
for (let n of t) {
let t = n.state.data;
if (!Array.isArray(t?.pages) || !t.pages.length) continue;
let r = t.pages[t.pages.length - 1];
for (let n of t.pages) for (let t of n.groups || []) {
- let n = FF(t).find((t) => t.id === e);
+ let n = PF(t).find((t) => t.id === e);
if (n) return {
item: n,
group: t,
@@ -40898,7 +40915,7 @@ function $me(e) {
}
return null;
}
-function ehe(e) {
+function the(e) {
p.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
@@ -40908,7 +40925,7 @@ function ehe(e) {
...t,
groups: (t.groups || []).map((t) => {
let n = (t) => t.id === e.id ? e : t;
- return FF(t).some((t) => t.id === e.id) ? {
+ return PF(t).some((t) => t.id === e.id) ? {
...t,
primary: n(t.primary),
variants: t.variants.map(n),
@@ -40918,39 +40935,39 @@ function ehe(e) {
}))
});
}
-function the(e, t) {
+function nhe(e, t) {
p.setQueriesData({
queryKey: ["follow-feed"],
predicate: (e) => Array.isArray(e.state.data?.pages)
- }, (n) => n && UF(n, null, e, t));
+ }, (n) => n && HF(n, null, e, t));
}
-function IF(e) {
- return FF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
+function FF(e) {
+ return PF(e).sort((e, t) => (Date.parse(t.published_at || "") || 0) - (Date.parse(e.published_at || "") || 0) || (+t.id || 0) - (+e.id || 0));
}
-function LF(e) {
+function IF(e) {
let t = /* @__PURE__ */ new Set(), n = e.media_items || [];
return n.length ? n.forEach((e) => {
(e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind);
}) : (e.media_kind === "image" || e.media_kind === "video") && t.add(e.media_kind), t;
}
-function RF(e) {
+function LF(e) {
let t = /* @__PURE__ */ new Set();
- return FF(e).forEach((e) => LF(e).forEach((e) => t.add(e))), t;
+ return PF(e).forEach((e) => IF(e).forEach((e) => t.add(e))), t;
}
-function zF(e, t) {
+function RF(e, t) {
let n = t === "images" ? "image" : "video";
- return IF(e).find((e) => LF(e).has(n)) || e.primary;
+ return FF(e).find((e) => IF(e).has(n)) || e.primary;
}
-function BF(e) {
- return IF(e).filter((e) => e.playable && e.media_kind === "video");
+function zF(e) {
+ return FF(e).filter((e) => e.playable && e.media_kind === "video");
}
-var VF = {
+var BF = {
video: "个视频",
image: "张图片",
mixed: "个媒体"
};
-function nhe({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
- let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${VF[s] || VF.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
+function rhe({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r = !1, limit: i = 9 } = {}) {
+ let a = n?.media || 0, o = n?.copies || 0, s = n?.kind || "", c = a > 1 ? `${a} ${BF[s] || BF.mixed}` : o > 1 ? `${o} 个来源` : "", l = s === "image" || s !== "video" && r ? "pics" : "play", u = /* @__PURE__ */ new Set([t ?? e]), d = e ? [e] : [];
for (let t of n?.faces || []) r && t.media_kind !== "image" || !t.thumb_url || t.thumb_url === e || u.has(t.face) || (u.add(t.face), d.push(t.thumb_url));
return {
isMix: !!c,
@@ -40959,14 +40976,14 @@ function nhe({ cover: e = "", coverFace: t = null, stack: n = null, imageView: r
faces: d.length > 1 ? d.slice(0, i) : []
};
}
-function rhe(e) {
+function ihe(e) {
let t = e.filter((e) => e.can_backfill).map((e) => (e.backfill_page || 0) + 1);
if (!t.length) return "";
let n = Math.max(...t), r = Math.min(...t);
return n <= 1 ? "每个来源都只抓了第 1 页" : r === n ? `每个来源都抓到第 ${n} 页` : `已抓到第 ${r}–${n} 页`;
}
-function HF(e, t, n) {
- return e === t ? OF[e] ? {
+function VF(e, t, n) {
+ return e === t ? DF[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
@@ -40974,13 +40991,13 @@ function HF(e, t, n) {
dir: "desc"
};
}
-function ihe(e, t, n, r) {
- let i = HF(e, n, r);
+function ahe(e, t, n, r) {
+ let i = VF(e, n, r);
if (!i) return "";
- let a = OF[i.sort];
+ let a = DF[i.sort];
return `按${t}${a ? a[+(i.dir === "asc")] : ""}排序`;
}
-function UF(e, t, n, r) {
+function HF(e, t, n, r) {
let i = "", a = e.pages.map((e) => ({
...e,
groups: (e.groups || []).flatMap((e) => {
@@ -41010,7 +41027,7 @@ function UF(e, t, n, r) {
})
};
}
-function ahe(e, t) {
+function ohe(e, t) {
let n = [];
return e.author && n.push({
kind: "创作者",
@@ -41030,7 +41047,7 @@ function ahe(e, t) {
label: e
})), n;
}
-function ohe(e, t) {
+function she(e, t) {
return t.kind === "创作者" ? {
...e,
author: ""
@@ -41045,7 +41062,7 @@ function ohe(e, t) {
tags: e.tags.filter((e) => e !== t.key)
};
}
-function she(e, t) {
+function che(e, t) {
for (let n of e) {
let e = n.primary?.tag_types?.[t];
if (e) return e;
@@ -41054,7 +41071,7 @@ function she(e, t) {
}
//#endregion
//#region src/sidebar.ts
-var che = [
+var lhe = [
"",
"follow",
"jav",
@@ -41063,7 +41080,7 @@ var che = [
"studios",
"flagged",
"manage"
-], lhe = [
+], uhe = [
"playlists",
"immerse",
"stats",
@@ -41073,77 +41090,77 @@ var che = [
"follow-manage",
"quality"
];
-[...che, ...lhe];
-function uhe(e) {
+[...lhe, ...uhe];
+function dhe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) for (let e of new Set(n.tags || [])) t.set(e, (t.get(e) || 0) + 1);
return [...t].sort((e, t) => t[1] - e[1]).slice(0, 30);
}
//#endregion
//#region src/react/follow-feed/follow-marks.ts
-var WF = (e) => typeof e == "string" ? e : "", GF = (e) => e.aliases;
-function KF(e, t = "") {
- let n = EF(e);
+var UF = (e) => typeof e == "string" ? e : "", WF = (e) => e.aliases;
+function GF(e, t = "") {
+ let n = TF(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${ge(t)}"${t ? ` title="${ge(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-var qF = (e, t) => aF(e, GF(t));
-function JF(e, t) {
- let { src: n, fallback: r } = sF(e), i = oF(t);
+var KF = (e, t) => iF(e, WF(t));
+function qF(e, t) {
+ let { src: n, fallback: r } = oF(e), i = aF(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${ge(i)}</span>`;
let a = r ? ` data-fallbacks="${ge(r)}"` : "";
return `<img class="favatar" src="${ge(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${ge(i)}" data-drop-class="favatar none">`;
}
-function YF(e, t, n) {
- let r = GF(n), i = e.credit, a = i?.poster;
+function JF(e, t, n) {
+ let r = WF(n), i = e.credit, a = i?.poster;
if (!a) {
- let n = aF(t, r);
+ let n = iF(t, r);
return {
- author: n || WF(e.author) || WF(e.source_label) || "创作者未取得",
- avatar: JF(t, n),
+ author: n || UF(e.author) || UF(e.source_label) || "创作者未取得",
+ avatar: qF(t, n),
credited: ""
};
}
- let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && aF(c, r) || a;
+ let o = (e) => String(e || "").toLowerCase().replace(/[^a-z0-9]/g, ""), s = n.sources.find((e) => o(e.ref) === o(a)), c = s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], l = c.length && iF(c, r) || a;
return {
author: l,
- avatar: JF(c, l),
+ avatar: qF(c, l),
credited: i.credited || ""
};
}
-function XF(e, t = e.primary) {
+function YF(e, t = e.primary) {
let n = [], r = (e, t) => `<small class="javedition" data-follow-edition="${e}">${t}</small>`;
e.primary.variant_kind === "wip" ? n.push(r("wip", "WIP")) : e.has_wip && n.push(r("has-wip", "含 WIP"));
- let i = WF(e.primary.version);
+ let i = UF(e.primary.version);
i && n.push(r("version", ge(i)));
- let a = WF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = UF(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function ZF(e, t = e.primary) {
+function XF(e, t = e.primary) {
let n = new Map([
e.primary,
...e.variants,
...e.duplicates
].filter((e) => e.provider !== t.provider).map((e) => [e.provider, e.provider_label || e.provider]));
if (!n.size) return "";
- let r = [...n].map(([e, t]) => KF(e, t) || `<span>${ge(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => GF(e, t) || `<span>${ge(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${ge([...n.values()].join("、"))}">另见 ${r}</span>`;
}
-function QF(e, t) {
- let n = WF(e.media_error);
+function ZF(e, t) {
+ let n = UF(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var $F = (e) => e.published_at ? vj(e.published_at) : "时间未取得", eI = /* @__PURE__ */ new Set(), tI = [], nI = null;
-function rI() {
- if (nI = null, !tI.length) return;
- let e = tI.splice(0, 200);
+var QF = (e) => e.published_at ? _j(e.published_at) : "时间未取得", $F = /* @__PURE__ */ new Set(), eI = [], tI = null;
+function nI() {
+ if (tI = null, !eI.length) return;
+ let e = eI.splice(0, 200);
pe("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), tI.length && (nI = setTimeout(rI, 800));
+ }).catch(() => {}), eI.length && (tI = setTimeout(nI, 800));
}
-function dhe(e, t, n, r) {
+function fhe(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- eI.has(i) || (eI.add(i), tI.push(t === null ? {
+ $F.has(i) || ($F.add(i), eI.push(t === null ? {
item: e,
width: n,
height: r
@@ -41152,15 +41169,15 @@ function dhe(e, t, n, r) {
width: n,
height: r,
media: t
- }), nI ||= setTimeout(rI, 800));
+ }), tI ||= setTimeout(nI, 800));
}
//#endregion
//#region src/react/follow-feed/follow-card.tsx
-var fhe = (e) => Number(e) > 0;
-function phe(e) {
+var phe = (e) => Number(e) > 0;
+function mhe(e) {
return /^\d{4}-/.test(e) ? e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10) : e;
}
-function mhe({ src: e, fallback: t, width: n, height: r, onLearn: i }) {
+function hhe({ src: e, fallback: t, width: n, height: r, onLearn: i }) {
let [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(!1);
return a ? null : /* @__PURE__ */ (0, B.jsx)("img", {
src: s ? t : e,
@@ -41178,8 +41195,8 @@ function mhe({ src: e, fallback: t, width: n, height: r, onLearn: i }) {
} : void 0
});
}
-function hhe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = zF(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => dhe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? BF(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = nhe({
+function ghe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = RF(t, r), d = r === "images", f = d ? (u.media_items || []).find((e) => e.media_kind === "image") : void 0, p = f?.thumb_url || u.thumb_url || "", m = d && u.playable ? `/follow-stream?id=${u.id}${f ? `&media=${f.index}` : ""}` : void 0, h = f && f.thumb_url === p ? f : null, g = !h || p === u.thumb_url, _ = d ? [h, g ? u : null].find((e) => Number(e?.width) > 0 && Number(e?.height) > 0) : null, v = d && !_ && p ? (e, t) => fhe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? zF(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = rhe({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -41187,7 +41204,7 @@ function hhe(e) {
limit: 9
}), S = (0, R.useRef)(x.faces);
S.current = x.faces;
- let C = zA({
+ let C = RA({
load: async () => S.current,
canFlip: () => S.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -41195,7 +41212,7 @@ function hhe(e) {
w.current = C.onPointerLeave;
let T = (0, R.useCallback)((e) => {
e && (e._stopHover = () => w.current());
- }, []), E = YF(u, n, i), D = $F(u), O = (u.tags || []).slice(0, 3), k = QF(u, i), A = ZF(t, u), j = u.status === "saved", M = (e) => {
+ }, []), E = JF(u, n, i), D = QF(u), O = (u.tags || []).slice(0, 3), k = ZF(u, i), A = XF(t, u), j = u.status === "saved", M = (e) => {
if (!e.target.closest("[data-media-tag]")) {
if (o || e.shiftKey || e.ctrlKey || e.metaKey) {
e.preventDefault(), l.toggleSelection(u.id, e.shiftKey);
@@ -41228,7 +41245,7 @@ function hhe(e) {
}), /* @__PURE__ */ (0, B.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, B.jsx)(mhe, {
+ p ? /* @__PURE__ */ (0, B.jsx)(hhe, {
src: p,
fallback: m,
width: _?.width,
@@ -41236,7 +41253,7 @@ function hhe(e) {
onLearn: v
}, p) : /* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: KF(u.resource_provider || u.provider) }
+ dangerouslySetInnerHTML: { __html: GF(u.resource_provider || u.provider) }
}),
x.faces.length > 1 ? /* @__PURE__ */ (0, B.jsx)("div", {
"data-mix-faces": "",
@@ -41255,7 +41272,7 @@ function hhe(e) {
"data-media-badge": "",
title: u.provider_label,
"aria-label": `来源:${u.provider_label || ""}`,
- dangerouslySetInnerHTML: { __html: KF(u.provider) }
+ dangerouslySetInnerHTML: { __html: GF(u.provider) }
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-media-check": "",
@@ -41264,7 +41281,7 @@ function hhe(e) {
},
dangerouslySetInnerHTML: { __html: L("check") }
}),
- fhe(u.duration) ? /* @__PURE__ */ (0, B.jsx)("span", {
+ phe(u.duration) ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-media-duration": "",
children: ve(u.duration)
}) : null,
@@ -41346,7 +41363,7 @@ function hhe(e) {
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: XF(t, u) + ge(u.title) }
+ dangerouslySetInnerHTML: { __html: YF(t, u) + ge(u.title) }
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
"data-follow-byline": "",
@@ -41357,7 +41374,7 @@ function hhe(e) {
}), /* @__PURE__ */ (0, B.jsx)("time", {
dateTime: u.published_at || "",
title: D,
- children: phe(D)
+ children: mhe(D)
})]
}),
E.credited ? /* @__PURE__ */ (0, B.jsx)("div", {
@@ -41393,10 +41410,10 @@ function hhe(e) {
]
});
}
-var ghe = (0, R.memo)(hhe), iI = () => /* @__PURE__ */ (0, B.jsx)("span", {
+var _he = (0, R.memo)(ghe), rI = () => /* @__PURE__ */ (0, B.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), _he = CA("settings"), vhe = CA("chevron-down"), yhe = CA("history"), bhe = [[
+}), vhe = SA("settings"), yhe = SA("chevron-down"), bhe = SA("history"), xhe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -41405,19 +41422,19 @@ var ghe = (0, R.memo)(hhe), iI = () => /* @__PURE__ */ (0, B.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function xhe(e, t, n) {
+function She(e, t, n) {
return (0, R.useMemo)(() => {
let r = e?.groups || [], i = e?.counts || {}, a = e?.sources || [], o = e?.facets || {}, s = new Set(o.authors || []), c = new Map(a.map((e) => [e.provider, e.provider_label || e.provider])), l = new Map((o.providers || []).map((e) => [e, c.get(e) || e])), u = new Map(o.tags || []), d = /* @__PURE__ */ new Map();
a.forEach((e) => {
e.author_key && (d.has(e.author_key) || d.set(e.author_key, []), d.get(e.author_key).push(e));
});
- let f = PF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = PF(o.works || [], (e) => e[0], n).slice(0, 24);
+ let f = NF([...d.keys()].filter((e) => s.has(e)), (e) => e, n), p = NF(o.works || [], (e) => e[0], n).slice(0, 24);
t.work && !p.some((e) => e[0] === t.work) && p.push([
t.work,
t.work,
0
]);
- let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = PF([...u], (e) => e[0], n).slice(0, 20);
+ let m = Object.values(i).reduce((e, t) => e + (Number(t) || 0), 0), h = NF([...u], (e) => e[0], n).slice(0, 20);
t.tags.forEach((e) => {
h.some(([t]) => t === e) || h.push([e, u.get(e) || m]);
});
@@ -41425,7 +41442,7 @@ function xhe(e, t, n) {
videos: 0,
images: 0
};
- r.forEach((e) => RF(e).forEach((e) => {
+ r.forEach((e) => LF(e).forEach((e) => {
g[e === "image" ? "images" : "videos"] += 1;
}));
let _ = t.media === "images" ? "image" : "video";
@@ -41440,7 +41457,7 @@ function xhe(e, t, n) {
workRows: p,
allCount: m,
mediaCounts: g,
- visible: r.filter((e) => RF(e).has(_)),
+ visible: r.filter((e) => LF(e).has(_)),
author: d.has(t.author) && s.has(t.author) ? t.author : "",
provider: l.has(t.provider) ? t.provider : "",
workNames: new Map((o.works || []).map((e) => [e[0], e[1]])),
@@ -41453,15 +41470,15 @@ function xhe(e, t, n) {
n
]);
}
-function She(e) {
- let { view: t, seed: n, revision: r, actions: i } = e, a = AF(t, r), o = OS(a), s = wS({
- queryKey: jF,
- queryFn: ({ signal: e }) => MF(e)
- }), c = (0, R.useMemo)(() => NF(o.data), [o.data]), l = (0, R.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, R.useMemo)(() => ({
+function Che(e) {
+ let { view: t, seed: n, revision: r, actions: i } = e, a = kF(t, r), o = DS(a), s = CS({
+ queryKey: AF,
+ queryFn: ({ signal: e }) => jF(e)
+ }), c = (0, R.useMemo)(() => MF(o.data), [o.data]), l = (0, R.useMemo)(() => new Set((s.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [s.data]), u = (0, R.useMemo)(() => ({
sources: c?.sources || [],
aliases: c?.author_aliases || [],
credentials: l
- }), [c, l]), d = xhe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, R.useMemo)(() => uhe(d.visible.flatMap(FF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);
+ }), [c, l]), d = She(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, R.useMemo)(() => dhe(d.visible.flatMap(PF).map((e) => ({ tags: e.tags || [] }))), [d.visible]);
(0, R.useEffect)(() => {
p && i.loaded(m);
}, [
@@ -41469,20 +41486,20 @@ function She(e) {
m,
i
]);
- let h = Che(e, !!c);
- if (!c) return o.isError ? /* @__PURE__ */ (0, B.jsx)(NA, {
+ let h = whe(e, !!c);
+ if (!c) return o.isError ? /* @__PURE__ */ (0, B.jsx)(MA, {
message: Te(o.error),
onRetry: () => void o.refetch()
}) : null;
let g = (e) => i.route({
...t,
...e
- }), _ = ahe({
+ }), _ = ohe({
...t,
author: d.author,
provider: d.provider
}, {
- authors: new Map([...d.authorSources].map(([e, t]) => [e, qF(t, u)])),
+ authors: new Map([...d.authorSources].map(([e, t]) => [e, KF(t, u)])),
providers: d.providers,
works: d.workNames
}), v = t.status ? d.counts[t.status] || 0 : d.allCount, y = d.sources.some((e) => e.can_backfill);
@@ -41502,7 +41519,7 @@ function She(e) {
"data-follow-head-actions": "",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
- leadingIcon: _he,
+ leadingIcon: vhe,
"data-follow-manage": "",
onClick: i.openManage,
children: "管理关注"
@@ -41519,20 +41536,20 @@ function She(e) {
}) : null]
})]
}),
- /* @__PURE__ */ (0, B.jsx)(whe, {
+ /* @__PURE__ */ (0, B.jsx)(The, {
facets: d,
pressed: d.author,
context: u,
props: e,
onPick: (e) => g({ author: d.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, B.jsx)(The, {
+ /* @__PURE__ */ (0, B.jsx)(Ehe, {
rows: d.workRows,
pressed: t.work,
props: e,
onPick: (e) => g({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, B.jsx)(Ehe, {
+ /* @__PURE__ */ (0, B.jsx)(Dhe, {
facets: d,
view: t,
total: v,
@@ -41540,9 +41557,9 @@ function She(e) {
props: e,
route: g
}),
- /* @__PURE__ */ (0, B.jsx)(Dhe, {
+ /* @__PURE__ */ (0, B.jsx)(Ohe, {
conditions: _,
- onDrop: (e) => i.route(ohe(t, e)),
+ onDrop: (e) => i.route(she(t, e)),
onClear: () => g({
author: "",
provider: "",
@@ -41550,11 +41567,11 @@ function She(e) {
tags: []
})
}),
- d.broken.length ? /* @__PURE__ */ (0, B.jsx)(Ohe, {
+ d.broken.length ? /* @__PURE__ */ (0, B.jsx)(khe, {
count: d.broken.length,
onManage: i.openManage
}) : null,
- /* @__PURE__ */ (0, B.jsx)(khe, {
+ /* @__PURE__ */ (0, B.jsx)(Ahe, {
pending: f,
facets: d,
data: c,
@@ -41565,19 +41582,19 @@ function She(e) {
"data-follow-pagination": "",
children: [c.has_more ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-page-action": "",
- children: /* @__PURE__ */ (0, B.jsxs)(WA, {
+ children: /* @__PURE__ */ (0, B.jsxs)(UA, {
entity: !0,
enabled: () => !h.busyRef.current,
load: async () => {
await o.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, B.jsx)(vhe, { className: "size-3.5" }), "加载更多"]
+ children: [/* @__PURE__ */ (0, B.jsx)(yhe, { className: "size-3.5" }), "加载更多"]
}, o.data?.pages.length)
}) : null, y ? /* @__PURE__ */ (0, B.jsxs)("span", {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
- leadingIcon: h.olderBusy ? void 0 : yhe,
+ leadingIcon: h.olderBusy ? void 0 : bhe,
"data-follow-older": "",
"aria-busy": h.busy || void 0,
onClick: () => void h.start(!0),
@@ -41587,14 +41604,14 @@ function She(e) {
}), /* @__PURE__ */ (0, B.jsx)("span", { children: "抓取中…" })] }) : "抓更早的一页"
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-backfill": "",
- children: rhe(d.sources)
+ children: ihe(d.sources)
})]
}) : null]
}) : null
]
})] });
}
-function Che(e, t) {
+function whe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, R.useState)(0), [o, s] = (0, R.useState)(!1), [c, l] = (0, R.useState)(""), [u, d] = (0, R.useState)(!1), f = (0, R.useRef)(!1), m = (0, R.useRef)(null), h = (0, R.useRef)({
helpers: n,
actions: r
@@ -41609,7 +41626,7 @@ function Che(e, t) {
return h.current.helpers.jobProgress({
host: e,
active: () => t,
- read: (e) => W(VP, e),
+ read: (e) => W(BP, e),
busy: (e) => {
t && (f.current = e, s(e));
},
@@ -41634,7 +41651,7 @@ function Che(e, t) {
f.current = !0, l(e ? "older" : "check");
let t = !1;
try {
- let n = await G(VP, e ? {
+ let n = await G(BP, e ? {
older: !0,
background: !0
} : { background: !0 });
@@ -41652,7 +41669,7 @@ function Che(e, t) {
olderBusy: c === "older" || u && o
};
}
-function whe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function The({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
r.helpers.wireDrag(a.current);
@@ -41669,16 +41686,16 @@ function whe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
onClick: () => i(r),
children: [/* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: JF(a, qF(a, n)) }
+ dangerouslySetInnerHTML: { __html: qF(a, KF(a, n)) }
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-name": "",
- children: qF(a, n)
+ children: KF(a, n)
})]
}, r);
})
}) : null;
}
-function The({ rows: e, pressed: t, props: n, onPick: r }) {
+function Ehe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -41699,13 +41716,13 @@ function The({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, R.useRef)(null), l = (0, R.useRef)(null), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = mA(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = mA(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function Dhe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, R.useRef)(null), l = (0, R.useRef)(null), u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = pA(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = pA(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, R.useEffect)(() => {
o.wireDrag(f.current), o.wireDrag(p.current), o.wireScroller(p.current);
}, [o]);
let _ = [...e.providers], v = _.length + e.tagRows.length > 0, y = t.media === "images";
- return /* @__PURE__ */ (0, B.jsx)(dA, {
+ return /* @__PURE__ */ (0, B.jsx)(uA, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -41757,7 +41774,7 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: L(i) }
}, e);
})
- }), /* @__PURE__ */ (0, B.jsx)(iI, {})] }) : null, /* @__PURE__ */ (0, B.jsxs)("div", {
+ }), /* @__PURE__ */ (0, B.jsx)(rI, {})] }) : null, /* @__PURE__ */ (0, B.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -41766,7 +41783,7 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
"aria-label": "状态",
"data-entity-states": "",
onPointerLeave: h.leave,
- children: [Xme.map(([e, n]) => /* @__PURE__ */ (0, B.jsx)("button", {
+ children: [Zme.map(([e, n]) => /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-entity-state": e,
"data-follow-filter": e,
@@ -41777,7 +41794,7 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, B.jsx)(iI, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, B.jsx)(rI, {}) : null]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -41790,13 +41807,13 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
title: n,
"aria-label": `来源:${n}`,
onClick: () => a({ provider: e.provider === t ? "" : t }),
- dangerouslySetInnerHTML: { __html: KF(t) }
+ dangerouslySetInnerHTML: { __html: GF(t) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, B.jsx)(iI, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, B.jsxs)(fA, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, B.jsx)(rI, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, B.jsxs)(dA, {
"data-follow-tag": n,
"data-entity-press": "",
- "data-tag-cat": `r34-${she(e.groups, n)}`,
+ "data-tag-cat": `r34-${che(e.groups, n)}`,
pressed: t.tags.includes(n),
onPress: () => a({ tags: t.tags.includes(n) ? t.tags.filter((e) => e !== n) : [...t.tags, n] }),
children: [ct(n), r ? /* @__PURE__ */ (0, B.jsx)("span", {
@@ -41814,11 +41831,11 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
}), /* @__PURE__ */ (0, B.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(DA, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(EA, {
+ /* @__PURE__ */ (0, B.jsx)(EA, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(TA, {
label: "图片布局",
value: i.photoLayout,
- options: bhe,
+ options: xhe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
@@ -41835,17 +41852,17 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: L("captions-off") }
})]
})] }) : null,
- Zme.map(([e, n]) => {
- let r = t.sort === e, i = CA(t.dir === "asc" ? "arrow-up" : "arrow-down");
+ Qme.map(([e, n]) => {
+ let r = t.sort === e, i = SA(t.dir === "asc" ? "arrow-up" : "arrow-down");
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-entity-sort": e,
"data-follow-sort": e,
"data-entity-press": "",
"aria-pressed": r,
- "aria-label": ihe(e, n, t.sort, t.dir) || void 0,
+ "aria-label": ahe(e, n, t.sort, t.dir) || void 0,
onClick: () => {
- let n = HF(e, t.sort, t.dir);
+ let n = VF(e, t.sort, t.dir);
n && a(n);
},
children: [n, r ? /* @__PURE__ */ (0, B.jsx)(i, { className: "size-3.5" }) : null]
@@ -41855,7 +41872,7 @@ function Ehe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
})] })
});
}
-function Dhe({ conditions: e, onDrop: t, onClear: n }) {
+function Ohe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -41880,7 +41897,7 @@ function Dhe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function Ohe({ count: e, onManage: t }) {
+function khe({ count: e, onManage: t }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-follow-broken": "",
onClick: (e) => {
@@ -41889,12 +41906,12 @@ function Ohe({ count: e, onManage: t }) {
dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${L("alert")}<span>${e} 个来源上次检查失败,去<button type="button" class="flink" data-follow-manage>管理关注</button>看原因。</span></div>` }
});
}
-function khe({ pending: e, facets: t, data: n, context: r, props: i }) {
- let { view: a, helpers: o } = i, s = a.media === "images", c = MA(e, () => o.listSkeletonHtml(a.media));
+function Ahe({ pending: e, facets: t, data: n, context: r, props: i }) {
+ let { view: a, helpers: o } = i, s = a.media === "images", c = jA(e, () => o.listSkeletonHtml(a.media));
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-follow-list-body": "",
"data-grid-reveal": c.fading ? "" : void 0,
- children: [c.layer, e ? null : /* @__PURE__ */ (0, B.jsx)(Ahe, {
+ children: [c.layer, e ? null : /* @__PURE__ */ (0, B.jsx)(jhe, {
facets: t,
data: n,
context: r,
@@ -41903,38 +41920,38 @@ function khe({ pending: e, facets: t, data: n, context: r, props: i }) {
})]
});
}
-function Ahe({ facets: e, data: t, context: n, props: r, images: i }) {
- let { view: a, actions: o } = r, s = Nhe(r), c = i ? {
+function jhe({ facets: e, data: t, context: n, props: r, images: i }) {
+ let { view: a, actions: o } = r, s = Phe(r), c = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
} : {}, l;
return l = e.visible.length ? e.visible.map((t) => {
let i = e.byId.get(t.primary?.source_id), c = i?.author_key && e.authorSources.get(i.author_key) || [], l = t.primary.id;
- return /* @__PURE__ */ (0, B.jsx)(ghe, {
+ return /* @__PURE__ */ (0, B.jsx)(_he, {
group: t,
authorSources: c,
media: a.media,
context: n,
- selected: r.selected.has(aI(t, a)),
+ selected: r.selected.has(iI(t, a)),
selectMode: r.selectMode,
- busy: s.busy.get(aI(t, a)) || "",
- failure: s.failures.get(aI(t, a)) || "",
+ busy: s.busy.get(iI(t, a)) || "",
+ failure: s.failures.get(iI(t, a)) || "",
actions: o,
onStatus: s.status,
onSave: s.save
}, `${l}:${a.media}`);
- }) : /* @__PURE__ */ (0, B.jsx)(jhe, { data: t }), /* @__PURE__ */ (0, B.jsx)("div", {
+ }) : /* @__PURE__ */ (0, B.jsx)(Mhe, { data: t }), /* @__PURE__ */ (0, B.jsx)("div", {
"data-follow-list": "",
"data-follow-wall": i ? "" : void 0,
...c,
children: l
});
}
-function aI(e, t) {
- return zF(e, t.media).id;
+function iI(e, t) {
+ return RF(e, t.media).id;
}
-function jhe({ data: e }) {
+function Mhe({ data: e }) {
let t = (e.groups || []).length ? Pe("search-x", "当前筛选下没有更新", "切换媒体类型、创作者、来源或标签后再试。") : (e.sources || []).length ? Pe("rss", "没有符合条件的更新", "切换状态或来源筛选后再试。") : Pe("rss", "还没有关注任何来源", "添加创作者或订阅来源后,更新会集中显示在这里。", { actions: "<a class=\"geist-button primary\" href=\"/follow-manage?tab=add\">添加关注</a>" });
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-follow-empty": "",
@@ -41942,36 +41959,36 @@ function jhe({ data: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-var Mhe = {
+var Nhe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function Nhe(e) {
- let { view: t, revision: n, actions: r } = e, [i, a] = (0, R.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, R.useState)(() => /* @__PURE__ */ new Map()), c = AF(t, n).queryKey, l = (e, t, n) => n((n) => {
+function Phe(e) {
+ let { view: t, revision: n, actions: r } = e, [i, a] = (0, R.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, R.useState)(() => /* @__PURE__ */ new Map()), c = kF(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
}), u = (e, n) => {
- p.setQueryData(c, (r) => r && UF(r, t, e, n));
+ p.setQueryData(c, (r) => r && HF(r, t, e, n));
}, d = () => void p.invalidateQueries({
queryKey: c,
exact: !0
}), f = (e) => {
- let t = NF(p.getQueryData(c));
+ let t = MF(p.getQueryData(c));
for (let n of t?.groups || []) for (let t of [
n.primary,
...n.variants,
...n.duplicates
]) if (t.id === e) return t.status;
return "new";
- }, m = DS({
- mutationFn: ({ id: e, to: t }) => G(GP, {
+ }, m = ES({
+ mutationFn: ({ id: e, to: t }) => G(WP, {
item: e,
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(Mhe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
- await G(GP, {
+ u(t, n), d(), r.toast(Nhe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ await G(WP, {
item: t,
to: i
}), u(t, i), d();
@@ -41981,7 +41998,7 @@ function Nhe(e) {
l(t, Te(e), s), r.failure("更新关注状态", e);
},
onSettled: (e, t, { id: n }) => l(n, "", a)
- }), h = DS({
+ }), h = ES({
mutationFn: (e) => G("/api/follow/save", { item: e }),
onSuccess: (e, t) => {
u(t, "saved"), d(), r.toast("已保存到账本");
@@ -42016,8 +42033,8 @@ function Nhe(e) {
}
//#endregion
//#region src/react/follow-manage/source-view.tsx
-function oI({ provider: e, label: t }) {
- let n = EF(e), [r, i] = (0, R.useState)(!1);
+function aI({ provider: e, label: t }) {
+ let n = TF(e), [r, i] = (0, R.useState)(!1);
return !n || r ? t ? /* @__PURE__ */ (0, B.jsx)(B.Fragment, { children: t }) : null : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("img", {
src: n,
alt: "",
@@ -42028,8 +42045,8 @@ function oI({ provider: e, label: t }) {
className: "size-3.5 shrink-0 rounded-sm object-contain"
}), t ? /* @__PURE__ */ (0, B.jsx)(q_, { children: t }) : null] });
}
-function sI({ group: e, name: t }) {
- let { src: n, fallback: r } = sF(e), [i, a] = (0, R.useState)(0), o = [n, r].filter(Boolean)[i];
+function oI({ group: e, name: t }) {
+ let { src: n, fallback: r } = oF(e), [i, a] = (0, R.useState)(0), o = [n, r].filter(Boolean)[i];
return o ? /* @__PURE__ */ (0, B.jsx)("img", {
src: o,
alt: "",
@@ -42042,18 +42059,18 @@ function sI({ group: e, name: t }) {
}) : /* @__PURE__ */ (0, B.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: oF(t)
+ children: aF(t)
});
}
-function cI({ source: e }) {
- let t = eF(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
- return /* @__PURE__ */ (0, B.jsx)(EE, {
+function sI({ source: e }) {
+ let t = $P(e) ? "rose" : e.enabled && e.last_status === "ok" ? "lime" : e.enabled ? "yellow" : "neutral";
+ return /* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: t,
- children: kme(e)
+ children: Ame(e)
});
}
-function lI({ source: e }) {
+function cI({ source: e }) {
return /* @__PURE__ */ (0, B.jsxs)("a", {
href: e.url,
target: "_blank",
@@ -42068,11 +42085,11 @@ function lI({ source: e }) {
}
//#endregion
//#region src/react/follow-manage/add-source.tsx
-var uI = CE(wk, Tk, "text-body-2-medium"), Phe = "粘贴来源链接,或输入创作者名、id…", Fhe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Ihe = "识别中…", Lhe = "站内没有查到来源", dI = (e, t) => `${e}:${t.url}`;
-function Rhe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
+var lI = SE(Ck, wk, "text-body-2-medium"), Fhe = "粘贴来源链接,或输入创作者名、id…", Ihe = "查找中…(首次按名字查要下载创作者索引,可能几十秒)", Lhe = "识别中…", Rhe = "站内没有查到来源", uI = (e, t) => `${e}:${t.url}`;
+function zhe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onClose: o }) {
return (0, R.useEffect)(() => {
t.current?.querySelector("[aria-current=\"true\"]")?.scrollIntoView({ block: "nearest" });
- }, [t, r]), /* @__PURE__ */ (0, B.jsxs)(xO, {
+ }, [t, r]), /* @__PURE__ */ (0, B.jsxs)(bO, {
ref: t,
triggerRef: e,
isOpen: !0,
@@ -42084,17 +42101,17 @@ function Rhe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
placement: "bottom start",
offset: 4,
"aria-label": "来源建议",
- className: CE(Ck, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
+ className: SE(Sk, "flex w-(--trigger-width) flex-col gap-1 overscroll-contain"),
children: [i && !n.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "px-2 py-1.5",
- children: /* @__PURE__ */ (0, B.jsx)(jE, { label: "正在查找建议" })
+ children: /* @__PURE__ */ (0, B.jsx)(AE, { label: "正在查找建议" })
}) : null, n.map((e, t) => /* @__PURE__ */ (0, B.jsxs)(R.Fragment, { children: [e.group === n[t - 1]?.group ? null : /* @__PURE__ */ (0, B.jsx)("div", {
className: "px-2 pt-1 text-caption-1-regular text-text-tertiary",
children: e.group
}), /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"aria-current": t === r ? "true" : void 0,
- className: t === r ? CE(uI, "bg-background-secondary-default") : uI,
+ className: t === r ? SE(lI, "bg-background-secondary-default") : lI,
onMouseDown: (e) => e.preventDefault(),
onClick: () => a(e.value),
children: [
@@ -42114,7 +42131,7 @@ function Rhe({ field: e, menu: t, options: n, active: r, busy: i, onPick: a, onC
})] }, `${e.group}-${e.value}`))]
});
}
-function zhe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
+function Bhe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
let i = (0, R.useRef)(null), [a, o] = (0, R.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);
@@ -42122,20 +42139,20 @@ function zhe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
ref: i,
variant: "secondary",
- leadingIcon: rae,
+ leadingIcon: iae,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-label": l,
onClick: () => o(!0),
children: l
- }), /* @__PURE__ */ (0, B.jsx)(xO, {
+ }), /* @__PURE__ */ (0, B.jsx)(bO, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom end",
offset: 4,
- className: Ck,
- children: /* @__PURE__ */ (0, B.jsxs)(MO, {
+ className: Sk,
+ children: /* @__PURE__ */ (0, B.jsxs)(jO, {
"aria-label": "来源筛选",
className: "flex w-64 flex-col gap-1 outline-none",
children: [s.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -42151,16 +42168,16 @@ function zhe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
onClick: () => n(new Set(s.map((e) => e.provider_label))),
children: "全不选"
})]
- }) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: "暂无可用来源" }), s.map((e) => {
+ }) : /* @__PURE__ */ (0, B.jsx)(Lk, { children: "暂无可用来源" }), s.map((e) => {
let n = e.requirement === "required" && (!e.present || (e.missing || []).length > 0);
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(GM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: !t.has(e.provider_label),
onChange: (t) => u(e.provider_label, t),
children: /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, B.jsx)(oI, { provider: e.provider }), e.provider_label]
+ children: [/* @__PURE__ */ (0, B.jsx)(aI, { provider: e.provider }), e.provider_label]
})
}), n ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "ghost",
@@ -42176,7 +42193,7 @@ function zhe({ credentials: e, hidden: t, onHidden: n, openCredentials: r }) {
})
})] });
}
-function Bhe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
+function Vhe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
if (e.kind === "error") return /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: e.line,
@@ -42184,7 +42201,7 @@ function Bhe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
});
let a = (e.candidates || []).filter((e) => !n.has(e.provider_label || "")), o = Object.entries(e.failures || {});
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: kE({
+ className: OE({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-2 p-4"
@@ -42195,15 +42212,15 @@ function Bhe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
children: e.line
}),
a.length ? a.map((e) => {
- let n = dI(t, e);
- return /* @__PURE__ */ (0, B.jsx)(GM, {
+ let n = uI(t, e);
+ return /* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: !e.known && !r.has(n),
isDisabled: e.known,
onChange: (e) => i(n, e),
children: /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-1.5",
children: [
- /* @__PURE__ */ (0, B.jsx)(oI, { provider: e.provider }),
+ /* @__PURE__ */ (0, B.jsx)(aI, { provider: e.provider }),
/* @__PURE__ */ (0, B.jsx)("b", {
className: "text-body-medium",
children: e.provider_label
@@ -42219,22 +42236,22 @@ function Bhe({ row: e, at: t, hidden: n, unpicked: r, onPick: i }) {
]
})
}, n);
- }) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: Lhe }),
+ }) : /* @__PURE__ */ (0, B.jsx)(Lk, { children: Rhe }),
(e.external_searches || []).map((e) => /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
children: e.evidence
- }), /* @__PURE__ */ (0, B.jsx)(Vk, {
+ }), /* @__PURE__ */ (0, B.jsx)(Bk, {
href: e.url,
children: `${e.label}:${e.query}`
})]
}, e.url)),
- o.length ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
+ o.length ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: o.map(([e, t]) => `${e}:${t}`).join(";") }) : null
]
});
}
-function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
+function Hhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials: i }) {
let [a, o] = (0, R.useState)(""), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(!1), [p, m] = (0, R.useState)(null), [h, g] = (0, R.useState)(-1), _ = (0, R.useRef)(null), v = (0, R.useRef)(null), [y, b] = (0, R.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, R.useState)(/* @__PURE__ */ new Set()), [C, w] = (0, R.useState)(""), [T, E] = (0, R.useState)(0);
(0, R.useEffect)(() => {
let e = a.trim();
@@ -42245,19 +42262,19 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = setTimeout(() => u(e), 250);
return () => clearTimeout(t);
}, [a]);
- let D = wS({
- queryKey: Cme(l),
- queryFn: ({ signal: e }) => Fme(l, e),
+ let D = CS({
+ queryKey: wme(l),
+ queryFn: ({ signal: e }) => Ime(l, e),
enabled: l.length > 0 && d
}), O = (0, R.useMemo)(() => (D.data?.groups || []).flatMap((e) => e.items.map((t) => ({
value: t.value,
matched: t.matched || "",
n: t.n || 0,
group: e.label
- }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = VM({
- queryKey: Sme,
- queryFn: ({ signal: e }) => Pme(e),
- start: (e) => Ime([e]),
+ }))), [D.data]), { job: k, running: A, outcome: j, start: M, dismiss: N } = BM({
+ queryKey: Cme,
+ queryFn: ({ signal: e }) => Fme(e),
+ start: (e) => Lme([e]),
onStarted: () => S(/* @__PURE__ */ new Set()),
onError: (e) => w(U(e)),
onFinish: (e) => {
@@ -42291,14 +42308,14 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
}, re = j?.results || [], ie = re.flatMap((e, t) => (e.candidates || []).filter((e) => !e.known && !y.has(e.provider_label || "")).map((e) => ({
candidate: e,
- key: dI(t, e)
- })).filter((e) => !x.has(e.key))), ae = DS({
+ key: uI(t, e)
+ })).filter((e) => !x.has(e.key))), ae = ES({
mutationFn: async (e) => {
let t = [], n = [];
E(0);
for (let r of e) {
try {
- let e = await Lme(r.candidate);
+ let e = await Rme(r.candidate);
n.push(e.source);
} catch (e) {
t.push(`${r.candidate.label}:${U(e)}`);
@@ -42306,7 +42323,7 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
E((e) => e + 1);
}
if (n.length) try {
- await mF(n);
+ await pF(n);
} catch (e) {
t.push(U(e));
}
@@ -42316,7 +42333,7 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
};
},
onSuccess: (e) => {
- if (wF(), e.failures.length) {
+ if (CF(), e.failures.length) {
w(e.failures.join(";"));
return;
}
@@ -42325,7 +42342,7 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onError: (e) => w(U(e))
}), oe = e.suggestions || [], se = !s.includes("/");
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: kE({
+ className: OE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42345,15 +42362,15 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
let t = e.relatedTarget;
!e.currentTarget.contains(t) && !v.current?.contains(t) && f(!1);
},
- children: [/* @__PURE__ */ (0, B.jsx)(Sk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(xk, {
"aria-label": "来源链接、名字或 id",
- placeholder: Phe,
+ placeholder: Fhe,
value: a,
- leadingIcon: MT,
+ leadingIcon: jT,
isDisabled: n,
onChange: o,
onKeyDown: ne
- }), P ? /* @__PURE__ */ (0, B.jsx)(Rhe, {
+ }), P ? /* @__PURE__ */ (0, B.jsx)(zhe, {
field: _,
menu: v,
options: O,
@@ -42363,7 +42380,7 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
onClose: F
}) : null]
}),
- /* @__PURE__ */ (0, B.jsx)(zhe, {
+ /* @__PURE__ */ (0, B.jsx)(Bhe, {
credentials: t,
hidden: y,
onHidden: b,
@@ -42381,9 +42398,9 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
/* @__PURE__ */ (0, B.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
- children: [A || M.isPending ? /* @__PURE__ */ (0, B.jsx)(LM, {
+ children: [A || M.isPending ? /* @__PURE__ */ (0, B.jsx)(IM, {
embedded: !0,
- label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : se ? Fhe : Ihe),
+ label: k?.message || (k?.total ? `查找中:${k.checked || 0}/${k.total}` : se ? Ihe : Lhe),
value: k?.checked,
total: k?.total
}) : null, C ? /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -42395,8 +42412,8 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
re.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(Bk, { children: "查找结果" }),
- re.map((e, t) => /* @__PURE__ */ (0, B.jsx)(Bhe, {
+ /* @__PURE__ */ (0, B.jsx)(zk, { children: "查找结果" }),
+ re.map((e, t) => /* @__PURE__ */ (0, B.jsx)(Vhe, {
row: e,
at: t,
hidden: y,
@@ -42451,16 +42468,16 @@ function Vhe({ data: e, credentials: t, readOnly: n, toast: r, openCredentials:
}
//#endregion
//#region src/react/follow-manage/alias-manager.tsx
-var Hhe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, fI = (e) => e.alias;
-function Uhe(e, t, n) {
+var Uhe = (e) => `将移除别名「${e}」,对应来源恢复为独立创作者组。`, dI = (e) => e.alias;
+function Whe(e, t, n) {
let r = n ? `name:${n}` : "", i = r ? e.find((e) => e.author_key === r) : e.find((e) => e.author_name === t || e.entity_name === t);
return i ? e.filter((e) => e.author_key === i.author_key) : [];
}
-function pI({ sources: e, name: t, canonicalKey: n }) {
+function fI({ sources: e, name: t, canonicalKey: n }) {
return /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(sI, {
- group: Uhe(e, t, n),
+ children: [/* @__PURE__ */ (0, B.jsx)(oI, {
+ group: Whe(e, t, n),
name: t
}), /* @__PURE__ */ (0, B.jsx)("b", {
className: "text-body-medium",
@@ -42468,15 +42485,15 @@ function pI({ sources: e, name: t, canonicalKey: n }) {
})]
});
}
-function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
- let [a, o] = (0, R.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), p = DS({
+function Ghe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i }) {
+ let [a, o] = (0, R.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), p = ES({
mutationFn: async (e) => {
let t = 0;
for (let n of e) {
try {
- await _F(n.canonical, n.alias);
+ await gF(n.canonical, n.alias);
} catch (n) {
- throw t && wF(), Error(`${U(n)}(还有 ${e.length - t} 组没有合并)`);
+ throw t && CF(), Error(`${U(n)}(还有 ${e.length - t} 组没有合并)`);
}
t += 1;
}
@@ -42486,19 +42503,19 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
};
},
onSuccess: (e) => {
- c(""), o(/* @__PURE__ */ new Set()), wF(), i(`已合并 ${e.done} 组创作者别名`);
+ c(""), o(/* @__PURE__ */ new Set()), CF(), i(`已合并 ${e.done} 组创作者别名`);
},
onError: (e) => c(U(e))
- }), m = DS({
- mutationFn: (e) => _F(e.canonical, e.alias),
+ }), m = ES({
+ mutationFn: (e) => gF(e.canonical, e.alias),
onSuccess: () => {
- c(""), u(""), f(""), wF(), i("已保存创作者别名");
+ c(""), u(""), f(""), CF(), i("已保存创作者别名");
},
onError: (e) => c(U(e))
- }), h = DS({
- mutationFn: (e) => Rme(e),
+ }), h = ES({
+ mutationFn: (e) => zme(e),
onSuccess: () => {
- c(""), wF(), i("已移除创作者别名");
+ c(""), CF(), i("已移除创作者别名");
},
onError: (e) => c(U(e))
}), g = (e, t) => {
@@ -42508,9 +42525,9 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
confirmLabel: t ? "合并全部别名" : "合并所选别名",
onConfirm: () => p.mutateAsync(e)
});
- }, _ = t.filter((e) => a.has(fI(e))), v = t.length > 0 && _.length === t.length, y = X(p.isPending);
+ }, _ = t.filter((e) => a.has(dI(e))), v = t.length > 0 && _.length === t.length, y = X(p.isPending);
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: kE({
+ className: OE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42521,10 +42538,10 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "手动添加别名" }), /* @__PURE__ */ (0, B.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "手动添加别名" }), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
"aria-label": "规范创作者名",
placeholder: "规范创作者名",
value: l,
@@ -42532,7 +42549,7 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
isDisabled: r,
className: "w-56"
}),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
"aria-label": "平台别名",
placeholder: "平台别名",
value: d,
@@ -42553,13 +42570,13 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
]
})]
}),
- s ? /* @__PURE__ */ (0, B.jsx)(zk, { children: s }) : null,
+ s ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: s }) : null,
t.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(Bk, { children: "待合并" }),
+ /* @__PURE__ */ (0, B.jsx)(zk, { children: "待合并" }),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "mr-auto text-body-2-regular text-text-secondary",
children: `${t.length} 组`
@@ -42581,44 +42598,44 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
children: `全部合并(${t.length})`
})
]
- }), /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
+ }), /* @__PURE__ */ (0, B.jsx)(qM, { children: /* @__PURE__ */ (0, B.jsxs)(GM, {
"aria-label": "待合并创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(tk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "select",
- children: /* @__PURE__ */ (0, B.jsx)(GM, {
+ children: /* @__PURE__ */ (0, B.jsx)(WM, {
slot: null,
isSelected: v,
isIndeterminate: _.length > 0 && !v,
"aria-label": "全选待合并别名",
- onChange: (e) => o(e ? new Set(t.map(fI)) : /* @__PURE__ */ new Set())
+ onChange: (e) => o(e ? new Set(t.map(dI)) : /* @__PURE__ */ new Set())
})
}),
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "canonical",
children: "规范创作者"
}),
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "alias",
isRowHeader: !0,
children: "平台别名"
}),
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "evidence",
children: "依据"
}),
- /* @__PURE__ */ (0, B.jsx)(rk, {
+ /* @__PURE__ */ (0, B.jsx)(nk, {
id: "actions",
children: "操作"
})
- ] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: t.map((e) => {
- let t = fI(e);
- return /* @__PURE__ */ (0, B.jsxs)(ck, {
+ ] }), /* @__PURE__ */ (0, B.jsx)(ik, { children: t.map((e) => {
+ let t = dI(e);
+ return /* @__PURE__ */ (0, B.jsxs)(sk, {
id: t,
"data-board-selected": a.has(t) || void 0,
children: [
- /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(GM, {
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)(WM, {
slot: null,
isSelected: a.has(t),
"aria-label": `选择别名 ${e.alias},归入 ${e.canonical}`,
@@ -42627,16 +42644,16 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
e ? n.add(t) : n.delete(t), o(n);
}
}) }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(pI, {
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)(fI, {
sources: n,
name: e.canonical
}) }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: e.alias }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: e.alias }),
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: e.evidence
}) }),
- /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
disabled: r,
@@ -42653,27 +42670,27 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
className: "flex flex-col gap-2",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "已保存别名" }), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "已保存别名" }), /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
children: `${e.length} 组`
})]
- }), e.length ? /* @__PURE__ */ (0, B.jsx)(JM, { children: /* @__PURE__ */ (0, B.jsxs)(KM, {
+ }), e.length ? /* @__PURE__ */ (0, B.jsx)(qM, { children: /* @__PURE__ */ (0, B.jsxs)(GM, {
"aria-label": "已保存创作者别名",
size: "sm",
- children: [/* @__PURE__ */ (0, B.jsxs)(nk, { children: [/* @__PURE__ */ (0, B.jsx)(rk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(tk, { children: [/* @__PURE__ */ (0, B.jsx)(nk, {
id: "canonical",
isRowHeader: !0,
children: "规范创作者"
- }), /* @__PURE__ */ (0, B.jsx)(rk, {
+ }), /* @__PURE__ */ (0, B.jsx)(nk, {
id: "aliases",
children: "平台别名"
- })] }), /* @__PURE__ */ (0, B.jsx)(ak, { children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)(ck, {
+ })] }), /* @__PURE__ */ (0, B.jsx)(ik, { children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)(sk, {
id: e.canonical_key,
- children: [/* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)(pI, {
+ children: [/* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)(fI, {
sources: n,
name: e.canonical_name,
canonicalKey: e.canonical_key
- }) }), /* @__PURE__ */ (0, B.jsx)(uk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
+ }) }), /* @__PURE__ */ (0, B.jsx)(lk, { children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "flex flex-wrap items-center gap-1.5",
children: e.aliases.map((e) => /* @__PURE__ */ (0, B.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",
@@ -42681,13 +42698,13 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
variant: "ghost",
size: "xs",
iconOnly: !0,
- leadingIcon: yT,
+ leadingIcon: vT,
"aria-label": `移除别名 ${e.name}`,
disabled: r,
...X(h.isPending),
onClick: () => void je({
title: "移除创作者别名",
- body: Hhe(e.name),
+ body: Uhe(e.name),
confirmLabel: "移除创作者别名",
onConfirm: () => h.mutateAsync(e.name)
})
@@ -42695,9 +42712,9 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}, e.key))
}) })]
}, e.canonical_key)) })]
- }) }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ }) }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: PT,
+ icon: NT,
title: "还没有保存创作者别名",
children: "填写规范创作者名和平台别名以添加。"
})]
@@ -42707,33 +42724,33 @@ function Whe({ groups: e, suggestions: t, sources: n = [], readOnly: r, toast: i
}
//#endregion
//#region src/react/follow-manage/credentials.tsx
-var Ghe = "这些账号信息存在哪里", Khe = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", qhe = "将清除这个来源在本机和共享副本中的登录凭据。", Jhe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
-function Yhe(e, t) {
+var Khe = "这些账号信息存在哪里", qhe = "存成运行 Peach 那台电脑上的一个文件。在 Windows 上它不额外加锁,能登录那台电脑的人都能打开。", Jhe = "将清除这个来源在本机和共享副本中的登录凭据。", Yhe = "文件权限过宽。在运行 Peach 的 POSIX 主机上收紧为 0600。";
+function Xhe(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function Xhe({ row: e }) {
- if (DF(e)) return /* @__PURE__ */ (0, B.jsx)(EE, {
+function Zhe({ row: e }) {
+ if (EF(e)) return /* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: "lime",
children: "已配置"
});
let t = e.requirement === "required" ? "yellow" : e.requirement === "blocked" ? "rose" : "neutral";
- return /* @__PURE__ */ (0, B.jsx)(EE, {
+ return /* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: t,
- children: Yme[e.requirement] || ""
+ children: Xme[e.requirement] || ""
});
}
-function Zhe({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, R.useState)({}), [a, o] = (0, R.useState)(""), s = DF(e), c = DS({
- mutationFn: (t) => zme(e.provider, t),
+function Qhe({ row: e, readOnly: t, toast: n }) {
+ let [r, i] = (0, R.useState)({}), [a, o] = (0, R.useState)(""), s = EF(e), c = ES({
+ mutationFn: (t) => Bme(e.provider, t),
onSuccess: (e, t) => {
if (e.note) {
o(e.note);
return;
}
o(""), i({}), p.invalidateQueries({
- queryKey: JP,
+ queryKey: qP,
exact: !0
}), n(Object.keys(t).length ? "已保存来源凭据" : "已清除来源凭据");
},
@@ -42749,17 +42766,17 @@ function Zhe({ row: e, readOnly: t, toast: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsxs)(Rk, { children: [e.why, e.where ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [" ", /* @__PURE__ */ (0, B.jsx)(Vk, {
+ /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [e.why, e.where ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [" ", /* @__PURE__ */ (0, B.jsx)(Bk, {
href: e.where,
children: "去取"
})] }) : null] }),
- e.howto ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: e.howto }) : null,
+ e.howto ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: e.howto }) : null,
/* @__PURE__ */ (0, B.jsx)("div", {
className: "flex w-full flex-col gap-3",
- children: (e.needs || []).map((n) => /* @__PURE__ */ (0, B.jsx)(Sk, {
+ children: (e.needs || []).map((n) => /* @__PURE__ */ (0, B.jsx)(xk, {
type: "password",
label: n,
- placeholder: Yhe(e, n),
+ placeholder: Xhe(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -42787,7 +42804,7 @@ function Zhe({ row: e, readOnly: t, toast: n }) {
...X(c.isPending),
onClick: () => void je({
title: "清除来源凭据",
- body: qhe,
+ body: Jhe,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -42795,9 +42812,9 @@ function Zhe({ row: e, readOnly: t, toast: n }) {
children: "清除"
}) : null]
}),
- a ? /* @__PURE__ */ (0, B.jsx)(zk, { children: a }) : null,
- (e.shared_fields || []).length ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
- e.path ? /* @__PURE__ */ (0, B.jsx)(IM, {
+ a ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: a }) : null,
+ (e.shared_fields || []).length ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: `${e.shared_fields.join("、")} 是从共享副本回填的,本机没有单独存。清除会把两边一起删。` }) : null,
+ e.path ? /* @__PURE__ */ (0, B.jsx)(FM, {
path: e.path,
className: "font-mono text-caption-1-regular text-text-tertiary",
onRevealed: n
@@ -42805,18 +42822,18 @@ function Zhe({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "凭据文件权限过宽",
- children: Jhe
+ children: Yhe
}) : null
]
});
}
-function Qhe({ row: e, readOnly: t, toast: n }) {
+function $he({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
children: [
/* @__PURE__ */ (0, B.jsx)("span", {
className: "inline-flex size-3.5 shrink-0 items-center justify-center",
- children: /* @__PURE__ */ (0, B.jsx)(oI, { provider: e.provider })
+ children: /* @__PURE__ */ (0, B.jsx)(aI, { provider: e.provider })
}),
/* @__PURE__ */ (0, B.jsx)("b", {
className: "text-body-medium text-text-primary",
@@ -42826,8 +42843,8 @@ function Qhe({ row: e, readOnly: t, toast: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.nature
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Xhe, { row: e }),
- e.missing.length ? /* @__PURE__ */ (0, B.jsx)(EE, {
+ /* @__PURE__ */ (0, B.jsx)(Zhe, { row: e }),
+ e.missing.length ? /* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: "rose",
children: `缺 ${e.missing.join("、")}`
@@ -42836,13 +42853,13 @@ function Qhe({ row: e, readOnly: t, toast: n }) {
});
return e.requirement === "none" || e.requirement === "blocked" ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: e.why }) : null]
+ children: [r, e.requirement === "blocked" ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: e.why }) : null]
}) : /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4",
- children: [r, /* @__PURE__ */ (0, B.jsx)(Wk, {
- summary: DF(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !DF(e),
- children: /* @__PURE__ */ (0, B.jsx)(Zhe, {
+ children: [r, /* @__PURE__ */ (0, B.jsx)(Uk, {
+ summary: EF(e) ? "修改凭据" : "填写凭据",
+ defaultOpen: e.requirement === "required" && !EF(e),
+ children: /* @__PURE__ */ (0, B.jsx)(Qhe, {
row: e,
readOnly: t,
toast: n
@@ -42850,10 +42867,10 @@ function Qhe({ row: e, readOnly: t, toast: n }) {
})]
});
}
-function $he({ data: e, readOnly: t, toast: n }) {
- let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !DF(e));
+function ege({ data: e, readOnly: t, toast: n }) {
+ let r = e.providers || [], i = r.filter((e) => e.requirement === "required" && !EF(e));
return r.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
- className: kE({
+ className: OE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -42888,12 +42905,12 @@ function $he({ data: e, readOnly: t, toast: n }) {
className: "text-body-medium text-text-secondary",
children: e.title
}), /* @__PURE__ */ (0, B.jsx)("div", {
- className: kE({
+ className: OE({
variant: "outlined",
padding: "none",
className: "flex flex-col overflow-hidden"
}),
- children: e.rows.map((e) => /* @__PURE__ */ (0, B.jsx)(Qhe, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, B.jsx)($he, {
row: e,
readOnly: t,
toast: n
@@ -42905,13 +42922,13 @@ function $he({ data: e, readOnly: t, toast: n }) {
children: [
/* @__PURE__ */ (0, B.jsx)("b", {
className: "text-body-medium text-text-primary",
- children: Ghe
+ children: Khe
}),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
- children: Khe
+ children: qhe
}),
- /* @__PURE__ */ (0, B.jsx)(IM, {
+ /* @__PURE__ */ (0, B.jsx)(FM, {
path: e.root,
prefix: "凭据文件在 ",
className: "text-body-2-regular text-text-secondary",
@@ -42920,16 +42937,16 @@ function $he({ data: e, readOnly: t, toast: n }) {
]
})
]
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: cae,
+ icon: lae,
title: "没有可配置的来源",
children: "已接入的站点及其凭据状态会显示在这里。"
});
}
//#endregion
//#region node_modules/@tanstack/table-core/build/lib/index.mjs
-function mI() {
+function pI() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -42942,24 +42959,24 @@ function mI() {
group: (e) => e
};
}
-function hI(e, t) {
+function mI(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function gI(e, t) {
+function hI(e, t) {
return (n) => {
t.setState((t) => ({
...t,
- [e]: hI(n, t[e])
+ [e]: mI(n, t[e])
}));
};
}
-function _I(e) {
+function gI(e) {
return e instanceof Function;
}
-function ege(e) {
+function tge(e) {
return Array.isArray(e) && e.every((e) => typeof e == "number");
}
-function tge(e, t) {
+function nge(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -42969,7 +42986,7 @@ function tge(e, t) {
};
return r(e), n;
}
-function vI(e, t, n) {
+function _I(e, t, n) {
let r = [], i;
return (a) => {
let o;
@@ -42991,21 +43008,21 @@ function vI(e, t, n) {
return i;
};
}
-function yI(e, t, n, r) {
+function vI(e, t, n, r) {
return {
debug: () => e?.debugAll ?? e[t],
key: !1,
onChange: r
};
}
-function nge(e, t, n, r) {
+function rge(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: vI(() => [
+ getContext: _I(() => [
e,
n,
t,
@@ -43017,13 +43034,13 @@ function nge(e, t, n, r) {
cell: r,
getValue: r.getValue,
renderValue: r.renderValue
- }), yI(e.options, "debugCells", "cell.getContext"))
+ }), vI(e.options, "debugCells", "cell.getContext"))
};
return e._features.forEach((r) => {
r.createCell == null || r.createCell(i, n, t, e);
}, {}), i;
}
-function rge(e, t, n, r) {
+function ige(e, t, n, r) {
let i = {
...e._getDefaultColumnDef(),
...t
@@ -43040,17 +43057,17 @@ function rge(e, t, n, r) {
depth: n,
columnDef: i,
columns: [],
- getFlatColumns: vI(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], yI(e.options, "debugColumns", "column.getFlatColumns")),
- getLeafColumns: vI(() => [e._getOrderColumnsFn()], (e) => {
+ getFlatColumns: _I(() => [!0], () => [c, ...c.columns?.flatMap((e) => e.getFlatColumns())], vI(e.options, "debugColumns", "column.getFlatColumns")),
+ getLeafColumns: _I(() => [e._getOrderColumnsFn()], (e) => {
var t;
return (t = c.columns) != null && t.length ? e(c.columns.flatMap((e) => e.getLeafColumns())) : [c];
- }, yI(e.options, "debugColumns", "column.getLeafColumns"))
+ }, vI(e.options, "debugColumns", "column.getLeafColumns"))
};
for (let t of e._features) t.createColumn == null || t.createColumn(c, e);
return c;
}
-var bI = "debugHeaders";
-function xI(e, t, n) {
+var yI = "debugHeaders";
+function bI(e, t, n) {
let r = {
id: n.id ?? t.id,
column: t,
@@ -43078,42 +43095,42 @@ function xI(e, t, n) {
t.createHeader == null || t.createHeader(r, e);
}), r;
}
-var ige = { createTable: (e) => {
- e.getHeaderGroups = vI(() => [
+var age = { createTable: (e) => {
+ e.getHeaderGroups = _I(() => [
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 SI(t, [
+ return xI(t, [
...a,
...s,
...o
], e);
- }, yI(e.options, bI, "getHeaderGroups")), e.getCenterHeaderGroups = vI(() => [
+ }, vI(e.options, yI, "getHeaderGroups")), e.getCenterHeaderGroups = _I(() => [
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))), SI(t, n, e, "center")), yI(e.options, bI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = vI(() => [
+ ], (t, n, r, i) => (n = n.filter((e) => !(r != null && r.includes(e.id)) && !(i != null && i.includes(e.id))), xI(t, n, e, "center")), vI(e.options, yI, "getCenterHeaderGroups")), e.getLeftHeaderGroups = _I(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.left
- ], (t, n, r) => SI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), yI(e.options, bI, "getLeftHeaderGroups")), e.getRightHeaderGroups = vI(() => [
+ ], (t, n, r) => xI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "left"), vI(e.options, yI, "getLeftHeaderGroups")), e.getRightHeaderGroups = _I(() => [
e.getAllColumns(),
e.getVisibleLeafColumns(),
e.getState().columnPinning.right
- ], (t, n, r) => SI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), yI(e.options, bI, "getRightHeaderGroups")), e.getFooterGroups = vI(() => [e.getHeaderGroups()], (e) => [...e].reverse(), yI(e.options, bI, "getFooterGroups")), e.getLeftFooterGroups = vI(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), yI(e.options, bI, "getLeftFooterGroups")), e.getCenterFooterGroups = vI(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), yI(e.options, bI, "getCenterFooterGroups")), e.getRightFooterGroups = vI(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), yI(e.options, bI, "getRightFooterGroups")), e.getFlatHeaders = vI(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), yI(e.options, bI, "getFlatHeaders")), e.getLeftFlatHeaders = vI(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), yI(e.options, bI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = vI(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), yI(e.options, bI, "getCenterFlatHeaders")), e.getRightFlatHeaders = vI(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), yI(e.options, bI, "getRightFlatHeaders")), e.getCenterLeafHeaders = vI(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
+ ], (t, n, r) => xI(t, r?.map((e) => n.find((t) => t.id === e)).filter(Boolean) ?? [], e, "right"), vI(e.options, yI, "getRightHeaderGroups")), e.getFooterGroups = _I(() => [e.getHeaderGroups()], (e) => [...e].reverse(), vI(e.options, yI, "getFooterGroups")), e.getLeftFooterGroups = _I(() => [e.getLeftHeaderGroups()], (e) => [...e].reverse(), vI(e.options, yI, "getLeftFooterGroups")), e.getCenterFooterGroups = _I(() => [e.getCenterHeaderGroups()], (e) => [...e].reverse(), vI(e.options, yI, "getCenterFooterGroups")), e.getRightFooterGroups = _I(() => [e.getRightHeaderGroups()], (e) => [...e].reverse(), vI(e.options, yI, "getRightFooterGroups")), e.getFlatHeaders = _I(() => [e.getHeaderGroups()], (e) => e.map((e) => e.headers).flat(), vI(e.options, yI, "getFlatHeaders")), e.getLeftFlatHeaders = _I(() => [e.getLeftHeaderGroups()], (e) => e.map((e) => e.headers).flat(), vI(e.options, yI, "getLeftFlatHeaders")), e.getCenterFlatHeaders = _I(() => [e.getCenterHeaderGroups()], (e) => e.map((e) => e.headers).flat(), vI(e.options, yI, "getCenterFlatHeaders")), e.getRightFlatHeaders = _I(() => [e.getRightHeaderGroups()], (e) => e.map((e) => e.headers).flat(), vI(e.options, yI, "getRightFlatHeaders")), e.getCenterLeafHeaders = _I(() => [e.getCenterFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), yI(e.options, bI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = vI(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
+ }), vI(e.options, yI, "getCenterLeafHeaders")), e.getLeftLeafHeaders = _I(() => [e.getLeftFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), yI(e.options, bI, "getLeftLeafHeaders")), e.getRightLeafHeaders = vI(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
+ }), vI(e.options, yI, "getLeftLeafHeaders")), e.getRightLeafHeaders = _I(() => [e.getRightFlatHeaders()], (e) => e.filter((e) => {
var t;
return !((t = e.subHeaders) != null && t.length);
- }), yI(e.options, bI, "getRightLeafHeaders")), e.getLeafHeaders = vI(() => [
+ }), vI(e.options, yI, "getRightLeafHeaders")), e.getLeafHeaders = _I(() => [
e.getLeftHeaderGroups(),
e.getCenterHeaderGroups(),
e.getRightHeaderGroups()
@@ -43121,9 +43138,9 @@ var ige = { createTable: (e) => {
...e[0]?.headers ?? [],
...t[0]?.headers ?? [],
...n[0]?.headers ?? []
- ].map((e) => e.getLeafHeaders()).flat(), yI(e.options, bI, "getLeafHeaders"));
+ ].map((e) => e.getLeafHeaders()).flat(), vI(e.options, yI, "getLeafHeaders"));
} };
-function SI(e, t, n, r) {
+function xI(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;
@@ -43141,7 +43158,7 @@ function SI(e, t, n, r) {
let o = [...a].reverse()[0], s = e.column.depth === i.depth, c, l = !1;
if (s && e.column.parent ? c = e.column.parent : (c = e.column, l = !0), o && o?.column === c) o.subHeaders.push(e);
else {
- let i = xI(n, c, {
+ let i = bI(n, c, {
id: [
r,
t,
@@ -43158,7 +43175,7 @@ function SI(e, t, n, r) {
i.headers.push(e), e.headerGroup = i;
}), o.push(i), t > 0 && s(a, t - 1);
};
- s(t.map((e, t) => xI(n, e, {
+ s(t.map((e, t) => bI(n, e, {
depth: i,
index: t
})), i - 1), o.reverse();
@@ -43176,7 +43193,7 @@ function SI(e, t, n, r) {
});
return c(o[0]?.headers ?? []), o;
}
-var age = (e, t, n, r, i, a, o) => {
+var oge = (e, t, n, r, i, a, o) => {
let s = {
id: t,
index: r,
@@ -43197,7 +43214,7 @@ var age = (e, t, n, r, i, a, o) => {
},
renderValue: (t) => s.getValue(t) ?? e.options.renderFallbackValue,
subRows: a ?? [],
- getLeafRows: () => tge(s.subRows, (e) => e.subRows),
+ getLeafRows: () => nge(s.subRows, (e) => e.subRows),
getParentRow: () => s.parentId ? e.getRow(s.parentId, !0) : void 0,
getParentRows: () => {
let e = [], t = s;
@@ -43208,95 +43225,95 @@ var age = (e, t, n, r, i, a, o) => {
}
return e.reverse();
},
- getAllCells: vI(() => [e.getAllLeafColumns()], (t) => t.map((t) => nge(e, s, t, t.id)), yI(e.options, "debugRows", "getAllCells")),
- _getAllCellsByColumnId: vI(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), yI(e.options, "debugRows", "getAllCellsByColumnId"))
+ getAllCells: _I(() => [e.getAllLeafColumns()], (t) => t.map((t) => rge(e, s, t, t.id)), vI(e.options, "debugRows", "getAllCells")),
+ _getAllCellsByColumnId: _I(() => [s.getAllCells()], (e) => e.reduce((e, t) => (e[t.column.id] = t, e), {}), vI(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;
-}, oge = { createColumn: (e, t) => {
+}, sge = { 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();
};
-} }, CI = (e, t, n) => {
+} }, SI = (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));
};
-CI.autoRemove = (e) => NI(e);
-var wI = (e, t, n) => {
+SI.autoRemove = (e) => MI(e);
+var CI = (e, t, n) => {
var r;
return !!((r = e.getValue(t)) != null && (r = r.toString()) != null && r.includes(n));
};
-wI.autoRemove = (e) => NI(e);
-var TI = (e, t, n) => {
+CI.autoRemove = (e) => MI(e);
+var wI = (e, t, n) => {
var r;
return ((r = e.getValue(t)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === n?.toLowerCase();
};
-TI.autoRemove = (e) => NI(e);
-var EI = (e, t, n) => e.getValue(t)?.includes(n);
-EI.autoRemove = (e) => NI(e);
-var DI = (e, t, n) => !n.some((n) => {
+wI.autoRemove = (e) => MI(e);
+var TI = (e, t, n) => e.getValue(t)?.includes(n);
+TI.autoRemove = (e) => MI(e);
+var EI = (e, t, n) => !n.some((n) => {
var r;
return !((r = e.getValue(t)) != null && r.includes(n));
});
-DI.autoRemove = (e) => NI(e) || !(e != null && e.length);
-var OI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
-OI.autoRemove = (e) => NI(e) || !(e != null && e.length);
-var kI = (e, t, n) => e.getValue(t) === n;
-kI.autoRemove = (e) => NI(e);
-var AI = (e, t, n) => e.getValue(t) == n;
-AI.autoRemove = (e) => NI(e);
-var jI = (e, t, n) => {
+EI.autoRemove = (e) => MI(e) || !(e != null && e.length);
+var DI = (e, t, n) => n.some((n) => e.getValue(t)?.includes(n));
+DI.autoRemove = (e) => MI(e) || !(e != null && e.length);
+var OI = (e, t, n) => e.getValue(t) === n;
+OI.autoRemove = (e) => MI(e);
+var kI = (e, t, n) => e.getValue(t) == n;
+kI.autoRemove = (e) => MI(e);
+var AI = (e, t, n) => {
let [r, i] = n, a = e.getValue(t);
return a >= r && a <= i;
};
-jI.resolveFilterValue = (e) => {
+AI.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];
-}, jI.autoRemove = (e) => NI(e) || NI(e[0]) && NI(e[1]);
-var MI = {
- includesString: CI,
- includesStringSensitive: wI,
- equalsString: TI,
- arrIncludes: EI,
- arrIncludesAll: DI,
- arrIncludesSome: OI,
- equals: kI,
- weakEquals: AI,
- inNumberRange: jI
+}, AI.autoRemove = (e) => MI(e) || MI(e[0]) && MI(e[1]);
+var jI = {
+ includesString: SI,
+ includesStringSensitive: CI,
+ equalsString: wI,
+ arrIncludes: TI,
+ arrIncludesAll: EI,
+ arrIncludesSome: DI,
+ equals: OI,
+ weakEquals: kI,
+ inNumberRange: AI
};
-function NI(e) {
+function MI(e) {
return e == null || e === "";
}
-var sge = {
+var cge = {
getDefaultColumnDef: () => ({ filterFn: "auto" }),
getInitialState: (e) => ({
columnFilters: [],
...e
}),
getDefaultOptions: (e) => ({
- onColumnFiltersChange: gI("columnFilters", e),
+ onColumnFiltersChange: hI("columnFilters", e),
filterFromLeafRows: !1,
maxLeafRowFilterDepth: 100
}),
createColumn: (e, t) => {
e.getAutoFilterFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- return typeof n == "string" ? MI.includesString : typeof n == "number" ? MI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? MI.equals : Array.isArray(n) ? MI.arrIncludes : MI.weakEquals;
- }, e.getFilterFn = () => _I(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? MI[e.columnDef.filterFn], e.getCanFilter = () => (e.columnDef.enableColumnFilter ?? !0) && (t.options.enableColumnFilters ?? !0) && (t.options.enableFilters ?? !0) && !!e.accessorFn, e.getIsFiltered = () => e.getFilterIndex() > -1, e.getFilterValue = () => {
+ return typeof n == "string" ? jI.includesString : typeof n == "number" ? jI.inNumberRange : typeof n == "boolean" || typeof n == "object" && n ? jI.equals : Array.isArray(n) ? jI.arrIncludes : jI.weakEquals;
+ }, e.getFilterFn = () => gI(e.columnDef.filterFn) ? e.columnDef.filterFn : e.columnDef.filterFn === "auto" ? e.getAutoFilterFn() : t.options.filterFns?.[e.columnDef.filterFn] ?? jI[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 = hI(n, i ? i.value : void 0);
- if (PI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
+ let r = e.getFilterFn(), i = t?.find((t) => t.id === e.id), a = mI(n, i ? i.value : void 0);
+ if (NI(r, a, e)) return t?.filter((t) => t.id !== e.id) ?? [];
let o = {
id: e.id,
value: a
@@ -43311,19 +43328,19 @@ var sge = {
createTable: (e) => {
e.setColumnFilters = (t) => {
let n = e.getAllLeafColumns();
- e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => hI(t, e)?.filter((e) => {
+ e.options.onColumnFiltersChange == null || e.options.onColumnFiltersChange((e) => mI(t, e)?.filter((e) => {
let t = n.find((t) => t.id === e.id);
- return !(t && PI(t.getFilterFn(), e.value, t));
+ return !(t && NI(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 PI(e, t, n) {
+function NI(e, t, n) {
return (e && e.autoRemove ? e.autoRemove(t, n) : !1) || t === void 0 || typeof t == "string" && !t;
}
-var FI = {
+var PI = {
sum: (e, t, n) => n.reduce((t, n) => {
let r = n.getValue(e);
return t + (typeof r == "number" ? r : 0);
@@ -43359,7 +43376,7 @@ var FI = {
median: (e, t) => {
if (!t.length) return;
let n = t.map((t) => t.getValue(e));
- if (!ege(n)) return;
+ if (!tge(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];
@@ -43367,7 +43384,7 @@ var FI = {
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
-}, cge = {
+}, lge = {
getDefaultColumnDef: () => ({
aggregatedCell: (e) => {
var t;
@@ -43380,7 +43397,7 @@ var FI = {
...e
}),
getDefaultOptions: (e) => ({
- onGroupingChange: gI("grouping", e),
+ onGroupingChange: hI("grouping", e),
groupedColumnMode: "reorder"
}),
createColumn: (e, t) => {
@@ -43393,11 +43410,11 @@ var FI = {
};
}, e.getAutoAggregationFn = () => {
let n = t.getCoreRowModel().flatRows[0]?.getValue(e.id);
- if (typeof n == "number") return FI.sum;
- if (Object.prototype.toString.call(n) === "[object Date]") return FI.extent;
+ if (typeof n == "number") return PI.sum;
+ if (Object.prototype.toString.call(n) === "[object Date]") return PI.extent;
}, e.getAggregationFn = () => {
if (!e) throw Error();
- return _I(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? FI[e.columnDef.aggregationFn];
+ return gI(e.columnDef.aggregationFn) ? e.columnDef.aggregationFn : e.columnDef.aggregationFn === "auto" ? e.getAutoAggregationFn() : t.options.aggregationFns?.[e.columnDef.aggregationFn] ?? PI[e.columnDef.aggregationFn];
};
},
createTable: (e) => {
@@ -43419,27 +43436,27 @@ var FI = {
};
}
};
-function lge(e, t, n) {
+function uge(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 uge = {
+var dge = {
getInitialState: (e) => ({
columnOrder: [],
...e
}),
- getDefaultOptions: (e) => ({ onColumnOrderChange: gI("columnOrder", e) }),
+ getDefaultOptions: (e) => ({ onColumnOrderChange: hI("columnOrder", e) }),
createColumn: (e, t) => {
- e.getIndex = vI((e) => [VI(t, e)], (t) => t.findIndex((t) => t.id === e.id), yI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => VI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
- let r = VI(t, n);
+ e.getIndex = _I((e) => [BI(t, e)], (t) => t.findIndex((t) => t.id === e.id), vI(t.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (n) => BI(t, n)[0]?.id === e.id, e.getIsLastColumn = (n) => {
+ let r = BI(t, n);
return r[r.length - 1]?.id === e.id;
};
},
createTable: (e) => {
e.setColumnOrder = (t) => e.options.onColumnOrderChange == null ? void 0 : e.options.onColumnOrderChange(t), e.resetColumnOrder = (t) => {
e.setColumnOrder(t ? [] : e.initialState.columnOrder ?? []);
- }, e._getOrderColumnsFn = vI(() => [
+ }, e._getOrderColumnsFn = _I(() => [
e.getState().columnOrder,
e.getState().grouping,
e.options.groupedColumnMode
@@ -43454,18 +43471,18 @@ var uge = {
}
i = [...i, ...n];
}
- return lge(i, t, n);
- }, yI(e.options, "debugTable", "_getOrderColumnsFn"));
+ return uge(i, t, n);
+ }, vI(e.options, "debugTable", "_getOrderColumnsFn"));
}
-}, II = () => ({
+}, FI = () => ({
left: [],
right: []
-}), dge = {
+}), fge = {
getInitialState: (e) => ({
- columnPinning: II(),
+ columnPinning: FI(),
...e
}),
- getDefaultOptions: (e) => ({ onColumnPinningChange: gI("columnPinning", e) }),
+ getDefaultOptions: (e) => ({ onColumnPinningChange: hI("columnPinning", e) }),
createColumn: (e, t) => {
e.pin = (n) => {
let r = e.getLeafColumns().map((e) => e.id).filter(Boolean);
@@ -43489,75 +43506,75 @@ var uge = {
};
},
createRow: (e, t) => {
- e.getCenterVisibleCells = vI(() => [
+ e.getCenterVisibleCells = _I(() => [
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));
- }, yI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = vI(() => [e._getAllVisibleCells(), t.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ }, vI(t.options, "debugRows", "getCenterVisibleCells")), e.getLeftVisibleCells = _I(() => [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"
- })), yI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = vI(() => [e._getAllVisibleCells(), t.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.column.id === t)).filter(Boolean).map((e) => ({
+ })), vI(t.options, "debugRows", "getLeftVisibleCells")), e.getRightVisibleCells = _I(() => [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"
- })), yI(t.options, "debugRows", "getRightVisibleCells"));
+ })), vI(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 ? II() : e.initialState?.columnPinning ?? II()), e.getIsSomeColumnsPinned = (t) => {
+ e.setColumnPinning = (t) => e.options.onColumnPinningChange == null ? void 0 : e.options.onColumnPinningChange(t), e.resetColumnPinning = (t) => e.setColumnPinning(t ? FI() : e.initialState?.columnPinning ?? FI()), e.getIsSomeColumnsPinned = (t) => {
let n = e.getState().columnPinning;
return t ? !!n[t]?.length : !!(n.left?.length || n.right?.length);
- }, e.getLeftLeafColumns = vI(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), yI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = vI(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), yI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = vI(() => [
+ }, e.getLeftLeafColumns = _I(() => [e.getAllLeafColumns(), e.getState().columnPinning.left], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), vI(e.options, "debugColumns", "getLeftLeafColumns")), e.getRightLeafColumns = _I(() => [e.getAllLeafColumns(), e.getState().columnPinning.right], (e, t) => (t ?? []).map((t) => e.find((e) => e.id === t)).filter(Boolean), vI(e.options, "debugColumns", "getRightLeafColumns")), e.getCenterLeafColumns = _I(() => [
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));
- }, yI(e.options, "debugColumns", "getCenterLeafColumns"));
+ }, vI(e.options, "debugColumns", "getCenterLeafColumns"));
}
};
-function fge(e) {
+function pge(e) {
return e || (typeof document < "u" ? document : null);
}
-var LI = {
+var II = {
size: 150,
minSize: 20,
maxSize: 2 ** 53 - 1
-}, RI = () => ({
+}, LI = () => ({
startOffset: null,
startSize: null,
deltaOffset: null,
deltaPercentage: null,
isResizingColumn: !1,
columnSizingStart: []
-}), pge = {
- getDefaultColumnDef: () => LI,
+}), mge = {
+ getDefaultColumnDef: () => II,
getInitialState: (e) => ({
columnSizing: {},
- columnSizingInfo: RI(),
+ columnSizingInfo: LI(),
...e
}),
getDefaultOptions: (e) => ({
columnResizeMode: "onEnd",
columnResizeDirection: "ltr",
- onColumnSizingChange: gI("columnSizing", e),
- onColumnSizingInfoChange: gI("columnSizingInfo", e)
+ onColumnSizingChange: hI("columnSizing", e),
+ onColumnSizingInfoChange: hI("columnSizingInfo", e)
}),
createColumn: (e, t) => {
e.getSize = () => {
let n = t.getState().columnSizing[e.id];
- return Math.min(Math.max(e.columnDef.minSize ?? LI.minSize, n ?? e.columnDef.size ?? LI.size), e.columnDef.maxSize ?? LI.maxSize);
- }, e.getStart = vI((e) => [
+ return Math.min(Math.max(e.columnDef.minSize ?? II.minSize, n ?? e.columnDef.size ?? II.size), e.columnDef.maxSize ?? II.maxSize);
+ }, e.getStart = _I((e) => [
e,
- VI(t, e),
+ BI(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), yI(t.options, "debugColumns", "getStart")), e.getAfter = vI((e) => [
+ ], (t, n) => n.slice(0, e.getIndex(t)).reduce((e, t) => e + t.getSize(), 0), vI(t.options, "debugColumns", "getStart")), e.getAfter = _I((e) => [
e,
- VI(t, e),
+ BI(t, e),
t.getState().columnSizing
- ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), yI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
+ ], (t, n) => n.slice(e.getIndex(t) + 1).reduce((e, t) => e + t.getSize(), 0), vI(t.options, "debugColumns", "getAfter")), e.resetSize = () => {
t.setColumnSizing((t) => {
let { [e.id]: n, ...r } = t;
return r;
@@ -43579,8 +43596,8 @@ var LI = {
}, e.getResizeHandler = (n) => {
let r = t.getColumn(e.column.id), i = r?.getCanResize();
return (a) => {
- if (!r || !i || (a.persist == null || a.persist(), BI(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 = BI(a) ? Math.round(a.touches[0].clientX) : a.clientX, l = {}, u = (e, n) => {
+ if (!r || !i || (a.persist == null || a.persist(), zI(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 = zI(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) => {
@@ -43605,7 +43622,7 @@ var LI = {
deltaPercentage: null,
columnSizingStart: []
}));
- }, p = fge(n), m = {
+ }, p = pge(n), m = {
moveHandler: (e) => d(e.clientX),
upHandler: (e) => {
p?.removeEventListener("mousemove", m.moveHandler), p?.removeEventListener("mouseup", m.upHandler), f(e.clientX);
@@ -43615,8 +43632,8 @@ var LI = {
upHandler: (e) => {
p?.removeEventListener("touchmove", h.moveHandler), p?.removeEventListener("touchend", h.upHandler), e.cancelable && (e.preventDefault(), e.stopPropagation()), f(e.touches[0]?.clientX);
}
- }, g = mge() ? { passive: !1 } : !1;
- BI(a) ? (p?.addEventListener("touchmove", h.moveHandler, g), p?.addEventListener("touchend", h.upHandler, g)) : (p?.addEventListener("mousemove", m.moveHandler, g), p?.addEventListener("mouseup", m.upHandler, g)), t.setColumnSizingInfo((e) => ({
+ }, g = hge() ? { passive: !1 } : !1;
+ zI(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,
@@ -43632,12 +43649,12 @@ var LI = {
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 ? RI() : e.initialState.columnSizingInfo ?? RI());
+ e.setColumnSizingInfo(t ? LI() : e.initialState.columnSizingInfo ?? LI());
}, 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;
}
-}, zI = null;
-function mge() {
- if (typeof zI == "boolean") return zI;
+}, RI = null;
+function hge() {
+ if (typeof RI == "boolean") return RI;
let e = !1;
try {
let t = { get passive() {
@@ -43647,17 +43664,17 @@ function mge() {
} catch {
e = !1;
}
- return zI = e, zI;
+ return RI = e, RI;
}
-function BI(e) {
+function zI(e) {
return e.type === "touchstart";
}
-var hge = {
+var gge = {
getInitialState: (e) => ({
columnVisibility: {},
...e
}),
- getDefaultOptions: (e) => ({ onColumnVisibilityChange: gI("columnVisibility", e) }),
+ getDefaultOptions: (e) => ({ onColumnVisibilityChange: hI("columnVisibility", e) }),
createColumn: (e, t) => {
e.toggleVisibility = (n) => {
e.getCanHide() && t.setColumnVisibility((t) => ({
@@ -43672,7 +43689,7 @@ var hge = {
};
},
createRow: (e, t) => {
- e._getAllVisibleCells = vI(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), yI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = vI(() => [
+ e._getAllVisibleCells = _I(() => [e.getAllCells(), t.getState().columnVisibility], (e) => e.filter((e) => e.column.getIsVisible()), vI(t.options, "debugRows", "_getAllVisibleCells")), e.getVisibleCells = _I(() => [
e.getLeftVisibleCells(),
e.getCenterVisibleCells(),
e.getRightVisibleCells()
@@ -43680,10 +43697,10 @@ var hge = {
...e,
...t,
...n
- ], yI(t.options, "debugRows", "getVisibleCells"));
+ ], vI(t.options, "debugRows", "getVisibleCells"));
},
createTable: (e) => {
- let t = (t, n) => vI(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), yI(e.options, "debugColumns", t));
+ let t = (t, n) => _I(() => [n(), n().filter((e) => e.getIsVisible()).map((e) => e.id).join("_")], (e) => e.filter((e) => e.getIsVisible == null ? void 0 : e.getIsVisible()), vI(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) => {
@@ -43696,20 +43713,20 @@ var hge = {
};
}
};
-function VI(e, t) {
+function BI(e, t) {
return t ? t === "center" ? e.getCenterVisibleLeafColumns() : t === "left" ? e.getLeftVisibleLeafColumns() : e.getRightVisibleLeafColumns() : e.getVisibleLeafColumns();
}
-var gge = { createTable: (e) => {
+var _ge = { 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();
};
-} }, _ge = {
+} }, vge = {
getInitialState: (e) => ({
globalFilter: void 0,
...e
}),
getDefaultOptions: (e) => ({
- onGlobalFilterChange: gI("globalFilter", e),
+ onGlobalFilterChange: hI("globalFilter", e),
globalFilterFn: "auto",
getColumnCanGlobalFilter: (t) => {
var n;
@@ -43721,22 +43738,22 @@ var gge = { createTable: (e) => {
e.getCanGlobalFilter = () => (e.columnDef.enableGlobalFilter ?? !0) && (t.options.enableGlobalFilter ?? !0) && (t.options.enableFilters ?? !0) && ((t.options.getColumnCanGlobalFilter == null ? void 0 : t.options.getColumnCanGlobalFilter(e)) ?? !0) && !!e.accessorFn;
},
createTable: (e) => {
- e.getGlobalAutoFilterFn = () => MI.includesString, e.getGlobalFilterFn = () => {
+ e.getGlobalAutoFilterFn = () => jI.includesString, e.getGlobalFilterFn = () => {
let { globalFilterFn: t } = e.options;
- return _I(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? MI[t];
+ return gI(t) ? t : t === "auto" ? e.getGlobalAutoFilterFn() : e.options.filterFns?.[t] ?? jI[t];
}, e.setGlobalFilter = (t) => {
e.options.onGlobalFilterChange == null || e.options.onGlobalFilterChange(t);
}, e.resetGlobalFilter = (t) => {
e.setGlobalFilter(t ? void 0 : e.initialState.globalFilter);
};
}
-}, vge = {
+}, yge = {
getInitialState: (e) => ({
expanded: {},
...e
}),
getDefaultOptions: (e) => ({
- onExpandedChange: gI("expanded", e),
+ onExpandedChange: hI("expanded", e),
paginateExpandedRows: !0
}),
createTable: (e) => {
@@ -43807,18 +43824,18 @@ var gge = { createTable: (e) => {
};
};
}
-}, HI = 0, UI = 10, WI = () => ({
- pageIndex: HI,
- pageSize: UI
-}), yge = {
+}, VI = 0, HI = 10, UI = () => ({
+ pageIndex: VI,
+ pageSize: HI
+}), bge = {
getInitialState: (e) => ({
...e,
pagination: {
- ...WI(),
+ ...UI(),
...e?.pagination
}
}),
- getDefaultOptions: (e) => ({ onPaginationChange: gI("pagination", e) }),
+ getDefaultOptions: (e) => ({ onPaginationChange: hI("pagination", e) }),
createTable: (e) => {
let t = !1, n = !1;
e._autoResetPageIndex = () => {
@@ -43834,11 +43851,11 @@ var gge = { createTable: (e) => {
e.resetPageIndex(), n = !1;
});
}
- }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => hI(t, e)), e.resetPagination = (t) => {
- e.setPagination(t ? WI() : e.initialState.pagination ?? WI());
+ }, e.setPagination = (t) => e.options.onPaginationChange == null ? void 0 : e.options.onPaginationChange((e) => mI(t, e)), e.resetPagination = (t) => {
+ e.setPagination(t ? UI() : e.initialState.pagination ?? UI());
}, e.setPageIndex = (t) => {
e.setPagination((n) => {
- let r = hI(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+ let r = mI(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
@@ -43846,13 +43863,13 @@ var gge = { createTable: (e) => {
});
}, e.resetPageIndex = (t) => {
var n;
- e.setPageIndex(t ? HI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? HI);
+ e.setPageIndex(t ? VI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageIndex) ?? VI);
}, e.resetPageSize = (t) => {
var n;
- e.setPageSize(t ? UI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? UI);
+ e.setPageSize(t ? HI : ((n = e.initialState) == null || (n = n.pagination) == null ? void 0 : n.pageSize) ?? HI);
}, e.setPageSize = (t) => {
e.setPagination((e) => {
- let n = Math.max(1, hI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
+ let n = Math.max(1, mI(t, e.pageSize)), r = e.pageSize * e.pageIndex, i = Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -43860,28 +43877,28 @@ var gge = { createTable: (e) => {
};
});
}, e.setPageCount = (t) => e.setPagination((n) => {
- let r = hI(t, e.options.pageCount ?? -1);
+ let r = mI(t, e.options.pageCount ?? -1);
return typeof r == "number" && (r = Math.max(-1, r)), {
...n,
pageCount: r
};
- }), e.getPageOptions = vI(() => [e.getPageCount()], (e) => {
+ }), e.getPageOptions = _I(() => [e.getPageCount()], (e) => {
let t = [];
return e && e > 0 && (t = [...Array(e)].fill(null).map((e, t) => t)), t;
- }, yI(e.options, "debugTable", "getPageOptions")), e.getCanPreviousPage = () => e.getState().pagination.pageIndex > 0, e.getCanNextPage = () => {
+ }, vI(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;
}
-}, GI = () => ({
+}, WI = () => ({
top: [],
bottom: []
-}), bge = {
+}), xge = {
getInitialState: (e) => ({
- rowPinning: GI(),
+ rowPinning: WI(),
...e
}),
- getDefaultOptions: (e) => ({ onRowPinningChange: gI("rowPinning", e) }),
+ getDefaultOptions: (e) => ({ onRowPinningChange: hI("rowPinning", e) }),
createRow: (e, t) => {
e.pin = (n, r, i) => {
let a = r ? e.getLeafRows().map((e) => {
@@ -43920,7 +43937,7 @@ var gge = { createTable: (e) => {
};
},
createTable: (e) => {
- e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? GI() : e.initialState?.rowPinning ?? GI()), e.getIsSomeRowsPinned = (t) => {
+ e.setRowPinning = (t) => e.options.onRowPinningChange == null ? void 0 : e.options.onRowPinningChange(t), e.resetRowPinning = (t) => e.setRowPinning(t ? WI() : e.initialState?.rowPinning ?? WI()), 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) => {
@@ -43929,22 +43946,22 @@ var gge = { createTable: (e) => {
}) : (n ?? []).map((e) => t.find((t) => t.id === e))).filter(Boolean).map((e) => ({
...e,
position: r
- })), e.getTopRows = vI(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), yI(e.options, "debugRows", "getTopRows")), e.getBottomRows = vI(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), yI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = vI(() => [
+ })), e.getTopRows = _I(() => [e.getRowModel().rows, e.getState().rowPinning.top], (t, n) => e._getPinnedRows(t, n, "top"), vI(e.options, "debugRows", "getTopRows")), e.getBottomRows = _I(() => [e.getRowModel().rows, e.getState().rowPinning.bottom], (t, n) => e._getPinnedRows(t, n, "bottom"), vI(e.options, "debugRows", "getBottomRows")), e.getCenterRows = _I(() => [
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));
- }, yI(e.options, "debugRows", "getCenterRows"));
+ }, vI(e.options, "debugRows", "getCenterRows"));
}
-}, xge = {
+}, Sge = {
getInitialState: (e) => ({
rowSelection: {},
...e
}),
getDefaultOptions: (e) => ({
- onRowSelectionChange: gI("rowSelection", e),
+ onRowSelectionChange: hI("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableSubRowSelection: !0
@@ -43963,21 +43980,21 @@ var gge = { createTable: (e) => {
}, e.toggleAllPageRowsSelected = (t) => e.setRowSelection((n) => {
let r = t === void 0 ? !e.getIsAllPageRowsSelected() : t, i = { ...n };
return e.getRowModel().rows.forEach((t) => {
- KI(i, t.id, r, !0, e);
+ GI(i, t.id, r, !0, e);
}), i;
- }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = vI(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? qI(e, n) : {
+ }), e.getPreSelectedRowModel = () => e.getCoreRowModel(), e.getSelectedRowModel = _I(() => [e.getState().rowSelection, e.getCoreRowModel()], (t, n) => Object.keys(t).length ? KI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, yI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = vI(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? qI(e, n) : {
+ }, vI(e.options, "debugTable", "getSelectedRowModel")), e.getFilteredSelectedRowModel = _I(() => [e.getState().rowSelection, e.getFilteredRowModel()], (t, n) => Object.keys(t).length ? KI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, yI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = vI(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? qI(e, n) : {
+ }, vI(e.options, "debugTable", "getFilteredSelectedRowModel")), e.getGroupedSelectedRowModel = _I(() => [e.getState().rowSelection, e.getSortedRowModel()], (t, n) => Object.keys(t).length ? KI(e, n) : {
rows: [],
flatRows: [],
rowsById: {}
- }, yI(e.options, "debugTable", "getGroupedSelectedRowModel")), e.getIsAllRowsSelected = () => {
+ }, vI(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 = () => {
@@ -44001,17 +44018,17 @@ var gge = { createTable: (e) => {
t.setRowSelection((a) => {
if (n = n === void 0 ? !i : n, e.getCanSelect() && i === n) return a;
let o = { ...a };
- return KI(o, e.id, n, r?.selectChildren ?? !0, t), o;
+ return GI(o, e.id, n, r?.selectChildren ?? !0, t), o;
});
}, e.getIsSelected = () => {
let { rowSelection: n } = t.getState();
- return JI(e, n);
+ return qI(e, n);
}, e.getIsSomeSelected = () => {
let { rowSelection: n } = t.getState();
- return YI(e, n) === "some";
+ return JI(e, n) === "some";
}, e.getIsAllSubRowsSelected = () => {
let { rowSelection: n } = t.getState();
- return YI(e, n) === "all";
+ return JI(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) => {
@@ -44019,16 +44036,16 @@ var gge = { createTable: (e) => {
};
};
}
-}, KI = (e, t, n, r, i) => {
+}, GI = (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) => KI(e, t.id, n, r, i));
+ n ? (o.getCanMultiSelect() || Object.keys(e).forEach((t) => delete e[t]), o.getCanSelect() && (e[t] = !0)) : delete e[t], r && (a = o.subRows) != null && a.length && o.getCanSelectSubRows() && o.subRows.forEach((t) => GI(e, t.id, n, r, i));
};
-function qI(e, t) {
+function KI(e, t) {
let n = e.getState().rowSelection, r = [], i = {}, a = function(e, t) {
return e.map((e) => {
var t;
- let o = JI(e, n);
+ let o = qI(e, n);
if (o && (r.push(e), i[e.id] = e), (t = e.subRows) != null && t.length && (e = {
...e,
subRows: a(e.subRows)
@@ -44041,32 +44058,32 @@ function qI(e, t) {
rowsById: i
};
}
-function JI(e, t) {
+function qI(e, t) {
return t[e.id] ?? !1;
}
-function YI(e, t, n) {
+function JI(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() && (JI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
- let n = YI(e, t);
+ if (!(a && !i) && (e.getCanSelect() && (qI(e, t) ? a = !0 : i = !1), e.subRows && e.subRows.length)) {
+ let n = JI(e, t);
n === "all" ? a = !0 : (n === "some" && (a = !0), i = !1);
}
}), i ? "all" : a ? "some" : !1;
}
-var XI = /([0-9]+)/gm, Sge = (e, t, n) => $I(QI(e.getValue(n)).toLowerCase(), QI(t.getValue(n)).toLowerCase()), Cge = (e, t, n) => $I(QI(e.getValue(n)), QI(t.getValue(n))), wge = (e, t, n) => ZI(QI(e.getValue(n)).toLowerCase(), QI(t.getValue(n)).toLowerCase()), Tge = (e, t, n) => ZI(QI(e.getValue(n)), QI(t.getValue(n))), Ege = (e, t, n) => {
+var YI = /([0-9]+)/gm, Cge = (e, t, n) => QI(ZI(e.getValue(n)).toLowerCase(), ZI(t.getValue(n)).toLowerCase()), wge = (e, t, n) => QI(ZI(e.getValue(n)), ZI(t.getValue(n))), Tge = (e, t, n) => XI(ZI(e.getValue(n)).toLowerCase(), ZI(t.getValue(n)).toLowerCase()), Ege = (e, t, n) => XI(ZI(e.getValue(n)), ZI(t.getValue(n))), Dge = (e, t, n) => {
let r = e.getValue(n), i = t.getValue(n);
return r > i ? 1 : r < i ? -1 : 0;
-}, Dge = (e, t, n) => ZI(e.getValue(n), t.getValue(n));
-function ZI(e, t) {
+}, Oge = (e, t, n) => XI(e.getValue(n), t.getValue(n));
+function XI(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
-function QI(e) {
+function ZI(e) {
return typeof e == "number" ? isNaN(e) || e === Infinity || e === -Infinity ? "" : String(e) : typeof e == "string" ? e : "";
}
-function $I(e, t) {
- let n = e.split(XI).filter(Boolean), r = t.split(XI).filter(Boolean);
+function QI(e, t) {
+ let n = e.split(YI).filter(Boolean), r = t.split(YI).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])) {
@@ -44080,22 +44097,22 @@ function $I(e, t) {
}
return n.length - r.length;
}
-var eL = {
- alphanumeric: Sge,
- alphanumericCaseSensitive: Cge,
- text: wge,
- textCaseSensitive: Tge,
- datetime: Ege,
- basic: Dge
-}, Oge = [
- ige,
- hge,
- uge,
+var $I = {
+ alphanumeric: Cge,
+ alphanumericCaseSensitive: wge,
+ text: Tge,
+ textCaseSensitive: Ege,
+ datetime: Dge,
+ basic: Oge
+}, kge = [
+ age,
+ gge,
dge,
- oge,
+ fge,
sge,
- gge,
+ cge,
_ge,
+ vge,
{
getInitialState: (e) => ({
sorting: [],
@@ -44106,7 +44123,7 @@ var eL = {
sortUndefined: 1
}),
getDefaultOptions: (e) => ({
- onSortingChange: gI("sorting", e),
+ onSortingChange: hI("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
}),
createColumn: (e, t) => {
@@ -44114,13 +44131,13 @@ var eL = {
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 eL.datetime;
- if (typeof n == "string" && (r = !0, n.split(XI).length > 1)) return eL.alphanumeric;
+ if (Object.prototype.toString.call(n) === "[object Date]") return $I.datetime;
+ if (typeof n == "string" && (r = !0, n.split(YI).length > 1)) return $I.alphanumeric;
}
- return r ? eL.text : eL.basic;
+ return r ? $I.text : $I.basic;
}, e.getAutoSortDir = () => typeof t.getFilteredRowModel().flatRows[0]?.getValue(e.id) == "string" ? "asc" : "desc", e.getSortingFn = () => {
if (!e) throw Error();
- return _I(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? eL[e.columnDef.sortingFn];
+ return gI(e.columnDef.sortingFn) ? e.columnDef.sortingFn : e.columnDef.sortingFn === "auto" ? e.getAutoSortingFn() : t.options.sortingFns?.[e.columnDef.sortingFn] ?? $I[e.columnDef.sortingFn];
}, e.toggleSorting = (n, r) => {
let i = e.getNextSortingOrder(), a = n != null;
t.setSorting((o) => {
@@ -44157,15 +44174,15 @@ var eL = {
}, 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());
}
},
- cge,
- vge,
+ lge,
yge,
bge,
xge,
- pge
+ Sge,
+ mge
];
-function kge(e) {
- let t = [...Oge, ...e._features ?? []], n = { _features: t }, r = n._features.reduce((e, t) => Object.assign(e, t.getDefaultOptions == null ? void 0 : t.getDefaultOptions(n)), {}), i = (e) => n.options.mergeOptions ? n.options.mergeOptions(r, e) : {
+function Age(e) {
+ let t = [...kge, ...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 ?? {} };
@@ -44191,7 +44208,7 @@ function kge(e) {
n.setState(n.initialState);
},
setOptions: (e) => {
- let t = hI(e, n.options);
+ let t = mI(e, n.options);
n.options = i(t);
},
getState: () => n.options.state,
@@ -44206,7 +44223,7 @@ function kge(e) {
if (!r && (r = n.getCoreRowModel().rowsById[e], !r)) throw Error();
return r;
},
- _getDefaultColumnDef: vI(() => [n.options.defaultColumn], (e) => (e ??= {}, {
+ _getDefaultColumnDef: _I(() => [n.options.defaultColumn], (e) => (e ??= {}, {
header: (e) => {
let t = e.header.column.columnDef;
return t.accessorKey ? t.accessorKey : t.accessorFn ? t.id : null;
@@ -44217,20 +44234,20 @@ function kge(e) {
},
...n._features.reduce((e, t) => Object.assign(e, t.getDefaultColumnDef == null ? void 0 : t.getDefaultColumnDef()), {}),
...e
- }), yI(e, "debugColumns", "_getDefaultColumnDef")),
+ }), vI(e, "debugColumns", "_getDefaultColumnDef")),
_getColumnDefs: () => n.options.columns,
- getAllColumns: vI(() => [n._getColumnDefs()], (e) => {
+ getAllColumns: _I(() => [n._getColumnDefs()], (e) => {
let t = function(e, r, i) {
return i === void 0 && (i = 0), e.map((e) => {
- let a = rge(n, e, i, r), o = e;
+ let a = ige(n, e, i, r), o = e;
return a.columns = o.columns ? t(o.columns, a, i + 1) : [], a;
});
};
return t(e);
- }, yI(e, "debugColumns", "getAllColumns")),
- getAllFlatColumns: vI(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), yI(e, "debugColumns", "getAllFlatColumns")),
- _getAllFlatColumnsById: vI(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), yI(e, "debugColumns", "getAllFlatColumnsById")),
- getAllLeafColumns: vI(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), yI(e, "debugColumns", "getAllLeafColumns")),
+ }, vI(e, "debugColumns", "getAllColumns")),
+ getAllFlatColumns: _I(() => [n.getAllColumns()], (e) => e.flatMap((e) => e.getFlatColumns()), vI(e, "debugColumns", "getAllFlatColumns")),
+ _getAllFlatColumnsById: _I(() => [n.getAllFlatColumns()], (e) => e.reduce((e, t) => (e[t.id] = t, e), {}), vI(e, "debugColumns", "getAllFlatColumnsById")),
+ getAllLeafColumns: _I(() => [n.getAllColumns(), n._getOrderColumnsFn()], (e, t) => t(e.flatMap((e) => e.getLeafColumns())), vI(e, "debugColumns", "getAllLeafColumns")),
getColumn: (e) => n._getAllFlatColumnsById()[e]
};
Object.assign(n, c);
@@ -44240,8 +44257,8 @@ function kge(e) {
}
return n;
}
-function tL() {
- return (e) => vI(() => [e.options.data], (t) => {
+function eL() {
+ return (e) => _I(() => [e.options.data], (t) => {
let n = {
rows: [],
flatRows: [],
@@ -44250,7 +44267,7 @@ function tL() {
i === void 0 && (i = 0);
let o = [];
for (let c = 0; c < t.length; c++) {
- let l = age(e, e._getRowId(t[c], c, a), t[c], c, i, void 0, a?.id);
+ let l = oge(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));
@@ -44259,9 +44276,9 @@ function tL() {
return o;
};
return n.rows = r(t), n;
- }, yI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
+ }, vI(e.options, "debugTable", "getRowModel", () => e._autoResetPageIndex()));
}
-function Age(e) {
+function jge(e) {
let t = [], n = (e) => {
var r;
t.push(e), (r = e.subRows) != null && r.length && e.getIsExpanded() && e.subRows.forEach(n);
@@ -44272,8 +44289,8 @@ function Age(e) {
rowsById: e.rowsById
};
}
-function nL(e) {
- return (e) => vI(() => [
+function tL(e) {
+ return (e) => _I(() => [
e.getState().pagination,
e.getPrePaginationRowModel(),
e.options.paginateExpandedRows ? void 0 : e.getState().expanded
@@ -44286,7 +44303,7 @@ function nL(e) {
rows: a,
flatRows: o,
rowsById: s
- } : Age({
+ } : jge({
rows: a,
flatRows: o,
rowsById: s
@@ -44295,32 +44312,32 @@ function nL(e) {
u.flatRows.push(e), e.subRows.length && e.subRows.forEach(d);
};
return u.rows.forEach(d), u;
- }, yI(e.options, "debugTable", "getPaginationRowModel"));
+ }, vI(e.options, "debugTable", "getPaginationRowModel"));
}
//#endregion
//#region node_modules/@tanstack/react-table/build/lib/index.mjs
-function rL(e, t) {
- return e ? jge(e) ? /*#__PURE__*/ R.createElement(e, t) : e : null;
-}
-function jge(e) {
- return Mge(e) || typeof e == "function" || Nge(e);
+function nL(e, t) {
+ return e ? Mge(e) ? /*#__PURE__*/ R.createElement(e, t) : e : null;
}
function Mge(e) {
+ return Nge(e) || typeof e == "function" || Pge(e);
+}
+function Nge(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function Nge(e) {
+function Pge(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function iL(e) {
+function rL(e) {
let t = {
state: {},
onStateChange: () => {},
renderFallbackValue: null,
...e
- }, [n] = R.useState(() => ({ current: kge(t) })), [r, i] = R.useState(() => n.current.initialState);
+ }, [n] = R.useState(() => ({ current: Age(t) })), [r, i] = R.useState(() => n.current.initialState);
return n.current.setOptions((t) => ({
...t,
...e,
@@ -44335,7 +44352,7 @@ function iL(e) {
}
//#endregion
//#region src/react/boardui/components/base/switch/switch.tsx
-var Pge = wE({
+var Fge = CE({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -44397,23 +44414,23 @@ var Pge = wE({
}
}
});
-function Fge({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = Pge[t];
+function Ige({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = Fge[t];
return /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
- className: CE("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? CE("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"),
+ className: SE("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? SE("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, B.jsx)("span", {
- className: CE("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, B.jsx)("span", { className: CE("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: SE("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, B.jsx)("span", { className: SE("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 aL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, B.jsx)(wse, {
+function iL({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, B.jsx)(Tse, {
ref: i,
...a,
- className: (t) => CE("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, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Fge, {
+ className: (t) => SE("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, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Ige, {
state: e,
size: n,
shape: r
@@ -44425,8 +44442,8 @@ function aL({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
}
//#endregion
//#region src/react/components/legacy-avatar.ts
-var oL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", Ige = "输入女优名,到 JavDB 找她的演员页";
-function Lge(e, t) {
+var aL = "[&_img]:absolute [&_img]:inset-0 [&_img]:size-full [&_img]:max-w-none [&_img]:max-h-none [&_img]:object-cover", Lge = "输入女优名,到 JavDB 找她的演员页";
+function Rge(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e.candidates) t.has(r.id) && r.held_by && n.set(r.held_by.id, r.held_by.name);
if (n.size > 1) return {
@@ -44445,10 +44462,10 @@ function Lge(e, t) {
blocked: !1
};
}
-function Rge({ card: e, picked: t, onPick: n }) {
+function zge({ card: e, picked: t, onPick: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(GM, {
+ children: [/* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: t,
onChange: n,
children: /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -44458,7 +44475,7 @@ function Rge({ card: e, picked: t, onPick: n }) {
className: "min-w-0 break-words",
children: e.names.join("、")
}),
- e.record ? /* @__PURE__ */ (0, B.jsx)(EE, {
+ e.record ? /* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: "neutral",
children: e.record
@@ -44469,16 +44486,16 @@ function Rge({ card: e, picked: t, onPick: n }) {
}) : null
]
})
- }), /* @__PURE__ */ (0, B.jsx)(Vk, {
+ }), /* @__PURE__ */ (0, B.jsx)(Bk, {
href: e.url,
children: e.id
})]
});
}
-function zge({ readOnly: e, toast: t, onAdded: n }) {
- let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(null), [s, c] = (0, R.useState)(/* @__PURE__ */ new Set()), l = FE(), u = () => {
+function Bge({ readOnly: e, toast: t, onAdded: n }) {
+ let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(null), [s, c] = (0, R.useState)(/* @__PURE__ */ new Set()), l = PE(), u = () => {
let t = r.trim();
- !t || e || l.run("lookup", (e) => Hme(t, e), (e) => {
+ !t || e || l.run("lookup", (e) => Ume(t, e), (e) => {
o(e), c(new Set(e.suggested));
});
}, d = (e) => {
@@ -44486,12 +44503,12 @@ function zge({ readOnly: e, toast: t, onAdded: n }) {
}, f = () => {
o(null), c(/* @__PURE__ */ new Set()), l.setError("");
}, p = () => {
- a && l.run("follow", (e) => Ume(a.q, [...s], e), (e) => {
+ a && l.run("follow", (e) => Wme(a.q, [...s], e), (e) => {
t(e.created ? `已新建「${e.entity_name}」并订阅她的新作` : `已订阅「${e.entity_name}」的新作`), i(""), f(), n();
});
- }, m = a ? Lge(a, s) : null;
+ }, m = a ? Rge(a, s) : null;
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: kE({
+ className: OE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -44504,11 +44521,11 @@ function zge({ readOnly: e, toast: t, onAdded: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-64 grow",
- children: /* @__PURE__ */ (0, B.jsx)(Sk, {
+ children: /* @__PURE__ */ (0, B.jsx)(xk, {
"aria-label": "女优名",
- placeholder: Ige,
+ placeholder: Lge,
value: r,
- leadingIcon: MT,
+ leadingIcon: jT,
isDisabled: e,
onChange: i,
onKeyDown: d
@@ -44529,16 +44546,16 @@ function zge({ readOnly: e, toast: t, onAdded: n }) {
a ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(Bk, { children: "JavDB 上的演员卡" }),
- a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, B.jsx)(Rge, {
+ /* @__PURE__ */ (0, B.jsx)(zk, { children: "JavDB 上的演员卡" }),
+ a.candidates.length ? a.candidates.map((e) => /* @__PURE__ */ (0, B.jsx)(zge, {
card: e,
picked: s.has(e.id),
onPick: (t) => c((n) => {
let r = new Set(n);
return t ? r.add(e.id) : r.delete(e.id), r;
})
- }, e.id)) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: "JavDB 上没有搜到这个名字。" }),
- a.candidates.length ? /* @__PURE__ */ (0, B.jsx)(Rk, {
+ }, e.id)) : /* @__PURE__ */ (0, B.jsx)(Lk, { children: "JavDB 上没有搜到这个名字。" }),
+ a.candidates.length ? /* @__PURE__ */ (0, B.jsx)(Lk, {
role: "status",
children: s.size ? m.text : "勾选她的演员卡;有碼与無碼两条记录都是她的话,两张都勾。"
}) : null,
@@ -44565,19 +44582,19 @@ function zge({ readOnly: e, toast: t, onAdded: n }) {
}
//#endregion
//#region src/react/follow-manage/source-list.tsx
-var Bge = Object.fromEntries(Object.entries(QP).map(([e, t]) => [t, e])), sL = 740;
-function Vge() {
+var Vge = Object.fromEntries(Object.entries(ZP).map(([e, t]) => [t, e])), oL = 740;
+function Hge() {
let [e, t] = (0, R.useState)(!1), n = (0, R.useRef)(null), r = (0, R.useCallback)((e) => {
if (n.current?.disconnect(), !e) {
n.current = null;
return;
}
- let r = new ResizeObserver(() => t(e.clientWidth < sL));
- r.observe(e), n.current = r, t(e.clientWidth < sL);
+ let r = new ResizeObserver(() => t(e.clientWidth < oL));
+ r.observe(e), n.current = r, t(e.clientWidth < oL);
}, []);
return (0, R.useEffect)(() => () => n.current?.disconnect(), []), [r, e];
}
-var Hge = {
+var Uge = {
select: "选择",
author: "创作者",
source: "来源",
@@ -44586,7 +44603,7 @@ var Hge = {
checked: "上次检查",
actions: "操作"
};
-function cL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function sL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, B.jsxs)("nav", {
"aria-label": r,
className: "flex flex-wrap items-center justify-center gap-2",
@@ -44600,7 +44617,7 @@ function cL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
}),
/* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: hj(e, t).map((t, r) => /* @__PURE__ */ (0, B.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, B.jsx)("span", {
+ children: mj(e, t).map((t, r) => /* @__PURE__ */ (0, B.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -44623,22 +44640,22 @@ function cL({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
]
});
}
-function Uge({ source: e, selected: t, onToggle: n, handlers: r }) {
+function Wge({ source: e, selected: t, onToggle: n, handlers: r }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-selected": t || void 0,
className: "flex min-h-16 flex-wrap items-center gap-3 px-2 py-3",
onClick: (e) => {
- qM(e, e.currentTarget) && n(!t);
+ KM(e, e.currentTarget) && n(!t);
},
children: [
- /* @__PURE__ */ (0, B.jsx)(GM, {
+ /* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: t,
onChange: n,
"aria-label": `选择 ${e.label}`
}),
/* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, B.jsx)(lI, { source: e }), e.last_error ? /* @__PURE__ */ (0, B.jsx)("small", {
+ children: [/* @__PURE__ */ (0, B.jsx)(cI, { source: e }), e.last_error ? /* @__PURE__ */ (0, B.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.last_error
}) : null]
@@ -44646,17 +44663,17 @@ function Uge({ source: e, selected: t, onToggle: n, handlers: r }) {
/* @__PURE__ */ (0, B.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, B.jsx)(oI, {
+ children: /* @__PURE__ */ (0, B.jsx)(aI, {
provider: e.provider,
label: e.provider_label
})
}),
- /* @__PURE__ */ (0, B.jsx)(cI, { source: e }),
+ /* @__PURE__ */ (0, B.jsx)(sI, { source: e }),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary",
- children: TF(e)
+ children: wF(e)
}),
- /* @__PURE__ */ (0, B.jsx)(aL, {
+ /* @__PURE__ */ (0, B.jsx)(iL, {
"aria-label": `启用 ${e.label}`,
isSelected: e.enabled,
isDisabled: r.readOnly,
@@ -44668,7 +44685,7 @@ function Uge({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: AT,
+ leadingIcon: kT,
"aria-label": `检查 ${e.label} 的更新`,
disabled: !e.enabled || r.readOnly,
...X(r.busy),
@@ -44677,7 +44694,7 @@ function Uge({ source: e, selected: t, onToggle: n, handlers: r }) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: CT,
+ leadingIcon: ST,
"aria-label": `移除 ${e.label}`,
disabled: r.readOnly,
onClick: () => r.remove(e)
@@ -44686,11 +44703,11 @@ function Uge({ source: e, selected: t, onToggle: n, handlers: r }) {
]
});
}
-function Wge({ 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(eF).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = uF(r, c);
+function Gge({ 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($P).length, d = [...new Set(e.map((e) => e.provider_label || e.provider))].join("、"), f = `follow-author-${e[0].id}`, p = lF(r, c);
return /* @__PURE__ */ (0, B.jsxs)("section", {
"aria-label": `${t} 的关注来源`,
- className: kE({
+ className: OE({
variant: "raised",
padding: "none",
className: "flex flex-col overflow-hidden p-2"
@@ -44700,7 +44717,7 @@ function Wge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
"data-open": n || void 0,
className: "flex flex-wrap items-center gap-3 px-2 py-2.5",
children: [
- /* @__PURE__ */ (0, B.jsx)(sI, {
+ /* @__PURE__ */ (0, B.jsx)(oI, {
group: e,
name: t
}),
@@ -44712,7 +44729,7 @@ function Wge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: AT,
+ leadingIcon: kT,
"aria-label": `检查 ${t} 的全部来源`,
disabled: !l.length || i.readOnly,
...X(i.busy),
@@ -44721,7 +44738,7 @@ function Wge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
title: d,
- children: [e.map((e) => /* @__PURE__ */ (0, B.jsx)(oI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, B.jsx)(q_, { children: `来源:${d}` })]
+ children: [e.map((e) => /* @__PURE__ */ (0, B.jsx)(aI, { provider: e.provider }, e.id)), /* @__PURE__ */ (0, B.jsx)(q_, { children: `来源:${d}` })]
}),
u ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "shrink-0 text-body-2-regular text-text-error-primary",
@@ -44730,7 +44747,7 @@ function Wge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: vT,
+ leadingIcon: _T,
"aria-pressed": p.all ? "true" : p.some ? "mixed" : "false",
"aria-label": `${p.all ? "取消全选" : "全选"} ${t} 的来源`,
onClick: () => o(!p.all),
@@ -44741,7 +44758,7 @@ function Wge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
size: "small",
"aria-expanded": n,
"aria-controls": f,
- leadingIcon: n ? _T : mT,
+ leadingIcon: n ? gT : pT,
"aria-label": `${n ? "收起" : "展开"} ${t} 的来源`,
onClick: () => a(!n),
children: n ? "收起" : "展开"
@@ -44751,7 +44768,7 @@ function Wge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
id: f,
hidden: !n,
"data-source-divider": !0,
- children: e.map((e) => /* @__PURE__ */ (0, B.jsx)(Uge, {
+ children: e.map((e) => /* @__PURE__ */ (0, B.jsx)(Wge, {
source: e,
handlers: i,
selected: r.has(e.id),
@@ -44760,37 +44777,37 @@ function Wge({ group: e, name: t, open: n, selected: r, handlers: i, onOpen: a,
})]
});
}
-function Gge(e) {
- let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, R.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, b] = (0, R.useState)(/* @__PURE__ */ new Set()), [x, S] = Vge(), [C, w] = (0, R.useState)(""), T = (0, R.useMemo)(() => Ame(g, n, r, _), [
+function Kge(e) {
+ let { data: t, sort: n, dir: r, page: i, layout: a, pageSize: o, selected: s, readOnly: c, onSort: l, onPage: u, onLayout: d, onPageSize: f, onSelected: p, toast: m, openFollow: h } = e, g = t.sources, _ = (0, R.useMemo)(() => t.author_aliases || [], [t.author_aliases]), v = t.counts || {}, [y, b] = (0, R.useState)(/* @__PURE__ */ new Set()), [x, S] = Hge(), [C, w] = (0, R.useState)(""), T = (0, R.useMemo)(() => jme(g, n, r, _), [
g,
n,
r,
_
- ]), E = (0, R.useMemo)(() => jme(T, n, r, _), [
+ ]), E = (0, R.useMemo)(() => Mme(T, n, r, _), [
T,
n,
r,
_
- ]), { job: D, running: O, outcome: k, start: A } = VM({
- queryKey: xme,
- queryFn: ({ signal: e }) => Nme(e),
- start: (e) => mF(e),
+ ]), { job: D, running: O, outcome: k, start: A } = BM({
+ queryKey: Sme,
+ queryFn: ({ signal: e }) => Pme(e),
+ start: (e) => pF(e),
onError: (e) => w(U(e)),
onFinish: (e) => {
- wF(), m(e.status === "failed" ? e.error || "检查失败" : Gme(e));
+ CF(), m(e.status === "failed" ? e.error || "检查失败" : Kme(e));
}
}), j = (e) => {
O || A.isPending || (w(""), A.mutate(e));
- }, M = (e, t) => p(dF(s, [e], t)), N = (e, t) => p(dF(s, e, t)), ee = DS({
- mutationFn: (e) => gF(e),
+ }, M = (e, t) => p(uF(s, [e], t)), N = (e, t) => p(uF(s, e, t)), ee = ES({
+ mutationFn: (e) => hF(e),
onSuccess: (e, t) => {
- CF([t]), p(dF(s, [t], !1)), m("已取消关注来源");
+ SF([t]), p(uF(s, [t], !1)), m("已取消关注来源");
},
onError: (e) => w(U(e))
- }), te = DS({
- mutationFn: (e) => hF(e.id, e.enabled),
+ }), te = ES({
+ mutationFn: (e) => mF(e.id, e.enabled),
onSuccess: (e, t) => {
- SF(t.id, { enabled: t.enabled }), w("");
+ xF(t.id, { enabled: t.enabled }), w("");
},
onError: (e) => w(U(e))
}), P = (e) => void je({
@@ -44799,10 +44816,10 @@ function Gge(e) {
confirmLabel: "取消关注来源",
danger: !0,
onConfirm: () => ee.mutateAsync(e.id)
- }), F = DS({
+ }), F = ES({
mutationFn: async (e) => {
let t = await Se(e.ids, 4, async (t) => {
- e.action === "remove" ? await gF(t) : await hF(t, e.action === "enabled");
+ e.action === "remove" ? await hF(t) : await mF(t, e.action === "enabled");
});
return {
...e,
@@ -44811,9 +44828,9 @@ function Gge(e) {
};
},
onSuccess: (e) => {
- if (e.action === "remove") CF(e.done);
- else for (let t of e.done) SF(t, { enabled: e.action === "enabled" });
- p(dF(s, e.done, !1));
+ if (e.action === "remove") SF(e.done);
+ else for (let t of e.done) xF(t, { enabled: e.action === "enabled" });
+ p(uF(s, e.done, !1));
let t = e.results.filter((e) => !e.ok);
if (t.length) {
w(`${t.length}/${e.ids.length} 个来源未更新:${U(t[0]?.error)}`);
@@ -44824,20 +44841,20 @@ function Gge(e) {
m(`已${n} ${e.done.length} 个关注来源`);
},
onError: (e) => w(U(e))
- }), ne = DS({
+ }), ne = ES({
mutationFn: async (e) => {
- let t = ((await Vme()).groups || []).flatMap((e) => [
+ let t = ((await Hme()).groups || []).flatMap((e) => [
e.primary,
...e.variants,
...e.duplicates
]).filter((e) => e.status === "new").map((e) => e.id);
return {
ids: t,
- failed: (await Se(t, 6, (t) => Bme(t, e))).filter((e) => !e.ok)
+ failed: (await Se(t, 6, (t) => Vme(t, e))).filter((e) => !e.ok)
};
},
onSuccess: (e) => {
- if (wF(), e.failed.length) {
+ if (CF(), e.failed.length) {
w(`批量更新 ${e.failed.length}/${e.ids.length} 项未完成`);
return;
}
@@ -44862,12 +44879,12 @@ function Gge(e) {
readOnly: c
};
let ae = ie.current, oe = (0, R.useMemo)(() => {
- let e = mI(), t = (e) => () => Hge[e] || e;
+ let e = pI(), t = (e) => () => Uge[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, B.jsx)(GM, {
+ cell: (e) => /* @__PURE__ */ (0, B.jsx)(WM, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
@@ -44879,7 +44896,7 @@ function Gge(e) {
header: t("author"),
cell: (e) => /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(sI, {
+ children: [/* @__PURE__ */ (0, B.jsx)(oI, {
group: e.row.original.group,
name: e.row.original.author
}), /* @__PURE__ */ (0, B.jsx)("span", {
@@ -44893,7 +44910,7 @@ function Gge(e) {
header: t("source"),
cell: (e) => /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 flex-col gap-0.5",
- children: [/* @__PURE__ */ (0, B.jsx)(lI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, B.jsx)("small", {
+ children: [/* @__PURE__ */ (0, B.jsx)(cI, { source: e.row.original.source }), e.row.original.source.last_error ? /* @__PURE__ */ (0, B.jsx)("small", {
className: "text-caption-1-regular text-text-error-primary",
children: e.row.original.source.last_error
}) : null]
@@ -44904,18 +44921,18 @@ function Gge(e) {
header: t("provider"),
cell: (e) => /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, B.jsx)(oI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
+ children: [/* @__PURE__ */ (0, B.jsx)(aI, { provider: e.row.original.source.provider }), e.row.original.source.provider_label]
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, B.jsx)(cI, { source: e.row.original.source })
+ cell: (e) => /* @__PURE__ */ (0, B.jsx)(sI, { source: e.row.original.source })
}),
e.accessor((e) => e.source.last_checked_at || "", {
id: "checked",
header: t("checked"),
- cell: (e) => TF(e.row.original.source)
+ cell: (e) => wF(e.row.original.source)
}),
e.display({
id: "actions",
@@ -44923,7 +44940,7 @@ function Gge(e) {
cell: (e) => /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, B.jsx)(aL, {
+ /* @__PURE__ */ (0, B.jsx)(iL, {
"aria-label": `启用 ${e.row.original.source.label}`,
isSelected: e.row.original.source.enabled,
isDisabled: ae.readOnly,
@@ -44933,7 +44950,7 @@ function Gge(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: AT,
+ leadingIcon: kT,
"aria-label": `检查 ${e.row.original.source.label} 的更新`,
disabled: !e.row.original.source.enabled || ae.readOnly,
...X(ae.busy),
@@ -44943,7 +44960,7 @@ function Gge(e) {
variant: "secondary",
size: "small",
iconOnly: !0,
- leadingIcon: CT,
+ leadingIcon: ST,
"aria-label": `移除 ${e.row.original.source.label}`,
disabled: ae.readOnly,
onClick: () => ie.current.remove(e.row.original.source)
@@ -44953,12 +44970,12 @@ function Gge(e) {
})
];
}, [ae]), se = (0, R.useMemo)(() => {
- let e = Bge[n];
+ let e = Vge[n];
return e ? [{
id: e,
desc: r === "desc"
}] : [];
- }, [n, r]), ce = (0, R.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), le = a === "table", ue = lF(le ? E.length : T.length, o, i), de = iL({
+ }, [n, r]), ce = (0, R.useMemo)(() => Object.fromEntries([...s].map((e) => [String(e), !0])), [s]), le = a === "table", ue = cF(le ? E.length : T.length, o, i), de = rL({
data: E,
columns: oe,
getRowId: (e) => String(e.source.id),
@@ -44975,7 +44992,7 @@ function Gge(e) {
onSortingChange: (e) => {
let t = (typeof e == "function" ? e(se) : e)[0];
if (!t) return;
- let n = QP[t.id];
+ let n = ZP[t.id];
n && l(n, t.desc ? "desc" : "asc");
},
onRowSelectionChange: (e) => {
@@ -44989,11 +45006,11 @@ function Gge(e) {
}, n = typeof e == "function" ? e(t) : e;
n.pageSize === o ? n.pageIndex !== t.pageIndex && u(n.pageIndex + 1) : f(n.pageSize);
},
- getCoreRowModel: tL(),
- getPaginationRowModel: nL()
- }), fe = de.getRowModel().rows, I = le ? fe.map((e) => e.original.source.id) : T.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), pe = uF(s, I), me = [...s], he = Kme(k), ge = qme(k), _e = T.length > 0 && y.size >= T.length;
+ getCoreRowModel: eL(),
+ getPaginationRowModel: tL()
+ }), fe = de.getRowModel().rows, I = le ? fe.map((e) => e.original.source.id) : T.slice(ue.start, ue.end).flatMap((e) => e.map((e) => e.id)), pe = lF(s, I), me = [...s], he = qme(k), ge = Jme(k), _e = T.length > 0 && y.size >= T.length;
return g.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
- className: kE({
+ className: OE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -45012,7 +45029,7 @@ function Gge(e) {
}),
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "primary",
- leadingIcon: AT,
+ leadingIcon: kT,
disabled: c,
"aria-label": "检查全部",
iconOnly: S,
@@ -45027,28 +45044,28 @@ function Gge(e) {
children: [/* @__PURE__ */ (0, B.jsx)(J, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: lae,
- "aria-label": XP[0][1],
+ leadingIcon: uae,
+ "aria-label": YP[0][1],
"aria-pressed": !le,
onClick: () => d("default")
}), /* @__PURE__ */ (0, B.jsx)(J, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: fae,
- "aria-label": XP[1][1],
+ leadingIcon: pae,
+ "aria-label": YP[1][1],
"aria-pressed": le,
onClick: () => d("table")
})]
}),
- /* @__PURE__ */ (0, B.jsx)(Dk, {
+ /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "关注列表排序",
selectedKey: n,
onSelectionChange: (e) => {
if (e === null) return;
let t = String(e);
- l(t, LP[t]);
+ l(t, IP[t]);
},
- children: IP.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: FP.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e,
children: t
}, e))
@@ -45056,14 +45073,14 @@ function Gge(e) {
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
iconOnly: !0,
- leadingIcon: r === "asc" ? Yie : Jie,
- "aria-label": Ome(n, r),
+ leadingIcon: r === "asc" ? Xie : Yie,
+ "aria-label": kme(n, r),
onClick: () => l(n, r === "asc" ? "desc" : "asc")
}),
le ? null : /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
iconOnly: S,
- leadingIcon: _e ? mT : _T,
+ leadingIcon: _e ? pT : gT,
"aria-label": _e ? "全部展开" : "全部收起",
onClick: () => b(_e ? /* @__PURE__ */ new Set() : new Set(T.map((e) => String(e[0].author_key || e[0].id)))),
children: _e ? "全部展开" : "全部收起"
@@ -45074,7 +45091,7 @@ function Gge(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- O ? /* @__PURE__ */ (0, B.jsx)(LM, {
+ O ? /* @__PURE__ */ (0, B.jsx)(IM, {
embedded: !0,
label: D?.message || (D?.total ? `${D.older ? "抓取历史" : "检查更新"}:已完成 ${D.checked || 0}/${D.total} 个来源` : "正在准备检查任务"),
value: D?.checked,
@@ -45100,7 +45117,7 @@ function Gge(e) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsxs)(oS, {
+ /* @__PURE__ */ (0, B.jsxs)(aS, {
label: "关注来源批量操作",
visible: me.length > 0,
count: `已选 ${me.length} 个来源`,
@@ -45160,10 +45177,10 @@ function Gge(e) {
})
]
}),
- le ? /* @__PURE__ */ (0, B.jsx)(JM, {
+ le ? /* @__PURE__ */ (0, B.jsx)(qM, {
follow: !0,
onRowClick: (e) => M(Number(e), !s.has(Number(e))),
- children: /* @__PURE__ */ (0, B.jsxs)(KM, {
+ children: /* @__PURE__ */ (0, B.jsxs)(GM, {
"aria-label": "关注来源",
size: "sm",
sortDescriptor: se[0] ? {
@@ -45174,9 +45191,9 @@ function Gge(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, B.jsx)(nk, { children: de.getHeaderGroups()[0].headers.map((e) => {
- let t = e.column.id in QP, n = rL(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, B.jsx)(rk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(tk, { children: de.getHeaderGroups()[0].headers.map((e) => {
+ let t = e.column.id in ZP, n = nL(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, B.jsx)(nk, {
id: e.id,
allowsSorting: t,
isRowHeader: e.column.id === "source",
@@ -45185,20 +45202,20 @@ function Gge(e) {
children: [n, /* @__PURE__ */ (0, B.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": e || void 0,
- children: /* @__PURE__ */ (0, B.jsx)(mce, {})
+ children: /* @__PURE__ */ (0, B.jsx)(hce, {})
})]
}) : /* @__PURE__ */ (0, B.jsx)(q_, { children: n })
}, e.id);
- }) }), /* @__PURE__ */ (0, B.jsx)(ak, {
+ }) }), /* @__PURE__ */ (0, B.jsx)(ik, {
renderEmptyState: () => "这一页没有来源",
- children: fe.map((e) => /* @__PURE__ */ (0, B.jsx)(ck, {
+ children: fe.map((e) => /* @__PURE__ */ (0, B.jsx)(sk, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, B.jsx)(uk, { children: rL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, B.jsx)(lk, { children: nL(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id))
})]
})
- }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(GM, {
+ }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: pe.all,
isIndeterminate: pe.some,
onChange: (e) => N(I, e),
@@ -45208,9 +45225,9 @@ function Gge(e) {
className: "flex flex-col gap-3",
children: T.slice(ue.start, ue.end).map((e) => {
let t = String(e[0].author_key || e[0].id);
- return /* @__PURE__ */ (0, B.jsx)(Wge, {
+ return /* @__PURE__ */ (0, B.jsx)(Gge, {
group: e,
- name: aF(e, _),
+ name: iF(e, _),
handlers: ae,
selected: s,
open: !y.has(t),
@@ -45230,19 +45247,19 @@ function Gge(e) {
className: "text-body-2-regular text-text-secondary",
children: `${ue.start + 1}–${ue.end} / ${ue.total} ${le ? "个来源" : "位创作者"}`
}),
- /* @__PURE__ */ (0, B.jsx)(Dk, {
+ /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(o),
onSelectionChange: (e) => {
e !== null && de.setPageSize(Number(e));
},
- children: ZP.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: XP.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: String(e),
children: `每页 ${e} ${le ? "条" : "位"}`
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(cL, {
+ /* @__PURE__ */ (0, B.jsx)(sL, {
page: ue.page,
pages: ue.pages,
onPage: (e) => de.setPageIndex(e - 1)
@@ -45291,11 +45308,11 @@ function Gge(e) {
]
}) : null
]
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: jT,
+ icon: AT,
title: "还没有关注来源",
- actions: /* @__PURE__ */ (0, B.jsx)(OE, {
+ actions: /* @__PURE__ */ (0, B.jsx)(DE, {
variant: "primary",
size: "small",
href: "/follow-manage?tab=add",
@@ -45306,7 +45323,7 @@ function Gge(e) {
}
//#endregion
//#region src/react/follow-manage/feed-sources.tsx
-var Kge = {
+var qge = {
select: "选择",
name: "名称",
kind: "类型",
@@ -45316,33 +45333,33 @@ var Kge = {
fetched: "上次拉取",
fresh: "上次新增",
actions: "操作"
-}, qge = /* @__PURE__ */ new Set(["select", "actions"]), lL = () => p.invalidateQueries({
- queryKey: YP,
+}, Jge = /* @__PURE__ */ new Set(["select", "actions"]), cL = () => p.invalidateQueries({
+ queryKey: JP,
exact: !0
-}), uL = (e) => e.name || e.url, Jge = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
-function Yge(e) {
+}), lL = (e) => e.name || e.url, Yge = (e) => e >= 60 ? `每 ${Math.round(e / 60)} 小时` : `每 ${e} 分钟`;
+function Xge(e) {
try {
return new URL(e).hostname.replace(/^www\./, "");
} catch {
return e;
}
}
-function Xge({ source: e }) {
- return e.last_error ? /* @__PURE__ */ (0, B.jsx)(EE, {
+function Zge({ source: e }) {
+ return e.last_error ? /* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: "rose",
children: "拉取失败"
- }) : e.enabled ? /* @__PURE__ */ (0, B.jsx)(EE, {
+ }) : e.enabled ? /* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: "lime",
children: "正常"
- }) : /* @__PURE__ */ (0, B.jsx)(EE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: "neutral",
children: "已暂停"
});
}
-function Zge({ source: e }) {
+function Qge({ source: e }) {
let t = e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
@@ -45351,31 +45368,31 @@ function Zge({ source: e }) {
} : null;
return /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
- className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${oL}`,
- dangerouslySetInnerHTML: { __html: k(uL(e), t, null, "performer") }
+ className: `relative inline-grid size-8 shrink-0 place-items-center overflow-hidden rounded-full bg-background-tertiary-default text-caption-1-semibold text-text-secondary ${aL}`,
+ dangerouslySetInnerHTML: { __html: k(lL(e), t, null, "performer") }
});
}
-var Qge = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
-function $ge(e) {
+var $ge = (e, t) => e.entity_id !== null && t.has(e.entity_id) && e.page_name && e.page_name !== e.name ? e.page_name : "";
+function e_e(e) {
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
for (let { entity_id: r } of e) r !== null && (t.has(r) ? n.add(r) : t.add(r));
return n;
}
-function dL(e, t) {
+function uL(e, t) {
let n = e.length === 1 ? e[0] : null;
return je({
title: n ? "移除订阅源" : `移除 ${e.length} 条订阅源`,
- body: n ? `将移除订阅源「${uL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
+ body: n ? `将移除订阅源「${lL(n)}」,之后不再拉取它的新作;已经拉到的新作保留。` : "将移除所选订阅源,之后不再拉取它们的新作;已经拉到的新作保留。",
confirmLabel: n ? "移除订阅源" : "移除所选订阅源",
danger: !0,
onConfirm: t
});
}
-function e_e({ readOnly: e, toast: t }) {
- let n = wS({
- queryKey: YP,
- queryFn: ({ signal: e }) => vF(e)
- }), r = FE(), i = n.data, a = (0, R.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, R.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, R.useState)(1), [u, d] = (0, R.useState)(20), f = lF(a.length, u, c);
+function t_e({ readOnly: e, toast: t }) {
+ let n = CS({
+ queryKey: JP,
+ queryFn: ({ signal: e }) => _F(e)
+ }), r = PE(), i = n.data, a = (0, R.useMemo)(() => i?.sources ?? [], [i]), [o, s] = (0, R.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, R.useState)(1), [u, d] = (0, R.useState)(20), f = cF(a.length, u, c);
(0, R.useEffect)(() => {
l((e) => Math.min(e, f.pages));
}, [f.pages]), (0, R.useEffect)(() => {
@@ -45384,10 +45401,10 @@ function e_e({ readOnly: e, toast: t }) {
return n.size === e.size ? e : n;
});
}, [a]);
- let p = DS({
+ let p = ES({
mutationFn: async (e) => {
let t = await Se(e.ids, 4, async (t) => {
- e.action === "remove" ? await bF(t) : await yF(t, e.action === "enabled");
+ e.action === "remove" ? await yF(t) : await vF(t, e.action === "enabled");
});
return {
...e,
@@ -45396,13 +45413,13 @@ function e_e({ readOnly: e, toast: t }) {
},
onSuccess: (e) => {
let n = e.results.filter((e) => !e.ok), i = e.ids.length - n.length;
- if (s(/* @__PURE__ */ new Set()), lL(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
+ if (s(/* @__PURE__ */ new Set()), cL(), e.action === "remove" && i && t(`已移除 ${i} 条订阅源`), n.length) {
let e = n[0];
r.setError(`${n.length} 条没有写入:${e.ok ? "" : U(e.error)}`);
}
},
onError: (e) => r.setError(U(e))
- }), m = (0, R.useMemo)(() => $ge(a), [a]), h = (0, R.useRef)({
+ }), m = (0, R.useMemo)(() => e_e(a), [a]), h = (0, R.useRef)({
readOnly: e,
shared: m,
busy: null,
@@ -45414,34 +45431,34 @@ function e_e({ readOnly: e, toast: t }) {
readOnly: e,
shared: m,
busy: r.busy,
- toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => yF(e.id, t, n), () => void lL()),
- fetch: (e) => void r.run(`check-${e.id}`, (t) => xF(t, [e.id]), () => void lL()),
- remove: (e) => void dL([e], async () => {
- await bF(e.id), t(`已移除订阅源「${uL(e)}」`), lL();
+ toggle: (e, t) => void r.run(`enabled-${e.id}`, (n) => vF(e.id, t, n), () => void cL()),
+ fetch: (e) => void r.run(`check-${e.id}`, (t) => bF(t, [e.id]), () => void cL()),
+ remove: (e) => void uL([e], async () => {
+ await yF(e.id), t(`已移除订阅源「${lL(e)}」`), cL();
})
};
let g = (0, R.useMemo)(() => {
- let e = mI(), t = (e) => () => Kge[e] || e;
+ let e = pI(), t = (e) => () => qge[e] || e;
return [
e.display({
id: "select",
header: t("select"),
- cell: (e) => /* @__PURE__ */ (0, B.jsx)(GM, {
+ cell: (e) => /* @__PURE__ */ (0, B.jsx)(WM, {
slot: null,
isSelected: e.row.getIsSelected(),
onChange: (t) => e.row.toggleSelected(t),
- "aria-label": `选择 ${uL(e.row.original)}`
+ "aria-label": `选择 ${lL(e.row.original)}`
})
}),
- e.accessor(uL, {
+ e.accessor(lL, {
id: "name",
header: t("name"),
cell: (e) => {
- let t = Qge(e.row.original, h.current.shared);
+ let t = $ge(e.row.original, h.current.shared);
return /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex items-center gap-2 whitespace-nowrap text-body-medium text-text-primary",
children: [
- /* @__PURE__ */ (0, B.jsx)(Zge, { source: e.row.original }),
+ /* @__PURE__ */ (0, B.jsx)(Qge, { source: e.row.original }),
e.getValue(),
t ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -45469,15 +45486,15 @@ function e_e({ readOnly: e, toast: t }) {
rel: "noreferrer noopener",
title: "打开来源页面",
className: "text-text-primary underline-offset-2 hover:underline",
- children: Yge(e.getValue())
+ children: Xge(e.getValue())
})
}),
e.display({
id: "status",
header: t("status"),
- cell: (e) => /* @__PURE__ */ (0, B.jsx)(Xge, { source: e.row.original })
+ cell: (e) => /* @__PURE__ */ (0, B.jsx)(Zge, { source: e.row.original })
}),
- e.accessor((e) => Jge(e.interval_minutes), {
+ e.accessor((e) => Yge(e.interval_minutes), {
id: "interval",
header: t("interval"),
cell: (e) => /* @__PURE__ */ (0, B.jsx)("span", {
@@ -45485,7 +45502,7 @@ function e_e({ readOnly: e, toast: t }) {
children: e.getValue()
})
}),
- e.accessor((e) => e.last_fetched_at ? vj(e.last_fetched_at) : "还没拉过", {
+ e.accessor((e) => e.last_fetched_at ? _j(e.last_fetched_at) : "还没拉过", {
id: "fetched",
header: t("fetched"),
cell: (e) => /* @__PURE__ */ (0, B.jsx)("span", {
@@ -45507,8 +45524,8 @@ function e_e({ readOnly: e, toast: t }) {
cell: (e) => /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex items-center gap-1",
children: [
- /* @__PURE__ */ (0, B.jsx)(aL, {
- "aria-label": `启用 ${uL(e.row.original)}`,
+ /* @__PURE__ */ (0, B.jsx)(iL, {
+ "aria-label": `启用 ${lL(e.row.original)}`,
isSelected: e.row.original.enabled,
isDisabled: h.current.readOnly,
onChange: (t) => h.current.toggle(e.row.original, t)
@@ -45517,8 +45534,8 @@ function e_e({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: AT,
- "aria-label": `拉取 ${uL(e.row.original)}`,
+ leadingIcon: kT,
+ "aria-label": `拉取 ${lL(e.row.original)}`,
disabled: h.current.readOnly,
...X(h.current.busy === `check-${e.row.original.id}`),
onClick: () => h.current.fetch(e.row.original)
@@ -45527,8 +45544,8 @@ function e_e({ readOnly: e, toast: t }) {
variant: "secondary",
size: "xs",
iconOnly: !0,
- leadingIcon: CT,
- "aria-label": `移除 ${uL(e.row.original)}`,
+ leadingIcon: ST,
+ "aria-label": `移除 ${lL(e.row.original)}`,
disabled: h.current.readOnly,
onClick: () => h.current.remove(e.row.original)
})
@@ -45536,7 +45553,7 @@ function e_e({ readOnly: e, toast: t }) {
})
})
];
- }, []), _ = (0, R.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = iL({
+ }, []), _ = (0, R.useMemo)(() => Object.fromEntries([...o].map((e) => [String(e), !0])), [o]), v = rL({
data: a,
columns: g,
getRowId: (e) => String(e.id),
@@ -45552,27 +45569,27 @@ function e_e({ readOnly: e, toast: t }) {
let t = typeof e == "function" ? e(_) : e;
s(new Set(Object.entries(t).filter(([, e]) => e).map(([e]) => Number(e))));
},
- getCoreRowModel: tL(),
- getPaginationRowModel: nL()
+ getCoreRowModel: eL(),
+ getPaginationRowModel: tL()
});
if (!i) return n.error ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "打不开订阅源",
children: U(n.error)
- }) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: "正在读订阅源。" });
- let y = () => void r.run("check", (e) => xF(e), () => void lL()), b = (e) => s((t) => {
+ }) : /* @__PURE__ */ (0, B.jsx)(Lk, { children: "正在读订阅源。" });
+ let y = () => void r.run("check", (e) => bF(e), () => void cL()), b = (e) => s((t) => {
let n = new Set(t);
return n.has(e) ? n.delete(e) : n.add(e), n;
}), x = a.filter((e) => o.has(e.id)), S = a.filter((e) => e.last_error);
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, B.jsx)(zge, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Bge, {
readOnly: e,
toast: t,
- onAdded: () => void lL()
+ onAdded: () => void cL()
}), /* @__PURE__ */ (0, B.jsxs)("section", {
"aria-label": "JAV 订阅列表",
- className: kE({
+ className: OE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -45600,11 +45617,11 @@ function e_e({ readOnly: e, toast: t }) {
className: "flex flex-col gap-3",
children: [S.map((e) => /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
- title: `${uL(e)} 拉取失败`,
+ title: `${lL(e)} 拉取失败`,
children: e.last_error
- }, e.id)), r.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: r.error }) : null]
+ }, e.id)), r.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: r.error }) : null]
}) : null,
- /* @__PURE__ */ (0, B.jsxs)(oS, {
+ /* @__PURE__ */ (0, B.jsxs)(aS, {
visible: x.length > 0,
label: "订阅源批量操作",
count: `已选 ${x.length} 条订阅源`,
@@ -45636,7 +45653,7 @@ function e_e({ readOnly: e, toast: t }) {
size: "small",
disabled: e,
...X(p.isPending),
- onClick: () => void dL(x, () => p.mutateAsync({
+ onClick: () => void uL(x, () => p.mutateAsync({
ids: x.map((e) => e.id),
action: "remove"
})),
@@ -45650,26 +45667,26 @@ function e_e({ readOnly: e, toast: t }) {
})
]
}),
- a.length ? /* @__PURE__ */ (0, B.jsx)(JM, {
+ a.length ? /* @__PURE__ */ (0, B.jsx)(qM, {
onRowClick: (e) => b(Number(e)),
- children: /* @__PURE__ */ (0, B.jsxs)(KM, {
+ children: /* @__PURE__ */ (0, B.jsxs)(GM, {
"aria-label": "JAV 订阅源",
size: "sm",
- children: [/* @__PURE__ */ (0, B.jsx)(nk, { children: v.getHeaderGroups()[0].headers.map((e) => {
- let t = rL(e.column.columnDef.header, e.getContext());
- return /* @__PURE__ */ (0, B.jsx)(rk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(tk, { children: v.getHeaderGroups()[0].headers.map((e) => {
+ let t = nL(e.column.columnDef.header, e.getContext());
+ return /* @__PURE__ */ (0, B.jsx)(nk, {
id: e.id,
isRowHeader: e.column.id === "name",
- children: qge.has(e.column.id) ? /* @__PURE__ */ (0, B.jsx)(q_, { children: t }) : t
+ children: Jge.has(e.column.id) ? /* @__PURE__ */ (0, B.jsx)(q_, { children: t }) : t
}, e.id);
- }) }), /* @__PURE__ */ (0, B.jsx)(ak, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, B.jsx)(ck, {
+ }) }), /* @__PURE__ */ (0, B.jsx)(ik, { children: v.getRowModel().rows.map((e) => /* @__PURE__ */ (0, B.jsx)(sk, {
id: e.id,
"data-follow-selected": e.getIsSelected() || void 0,
- children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, B.jsx)(uk, { children: rL(e.column.columnDef.cell, e.getContext()) }, e.id))
+ children: e.getVisibleCells().map((e) => /* @__PURE__ */ (0, B.jsx)(lk, { children: nL(e.column.columnDef.cell, e.getContext()) }, e.id))
}, e.id)) })]
})
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: jT,
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ icon: AT,
title: "还没有订阅源",
shell: "plain",
children: "在上面按女优名添加,或在人物页点「订阅新作」。"
@@ -45681,19 +45698,19 @@ function e_e({ readOnly: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: `${f.start + 1}–${f.end} / ${f.total} 个订阅源`
}),
- /* @__PURE__ */ (0, B.jsx)(Dk, {
+ /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(u),
onSelectionChange: (e) => {
e !== null && (d(Number(e)), l(1));
},
- children: ZP.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: XP.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: String(e),
children: `每页 ${e} 条`
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(cL, {
+ /* @__PURE__ */ (0, B.jsx)(sL, {
label: "JAV 订阅分页",
page: f.page,
pages: f.pages,
@@ -45715,29 +45732,29 @@ function e_e({ readOnly: e, toast: t }) {
}
//#endregion
//#region src/react/wants/resource-cache.ts
-var fL = "peach.want-resources.v1", pL = 864e5;
-function mL(e, t = Date.now()) {
+var dL = "peach.want-resources.v1", fL = 864e5;
+function pL(e, t = Date.now()) {
let n = Date.parse(e || ""), r = new Date(t), i = new Date(Date.UTC(r.getFullYear(), r.getMonth(), r.getDate())), a = i.getUTCDate();
i.setUTCHours(0, 0, 0, 0), i.setUTCDate(1), i.setUTCMonth(i.getUTCMonth() - 3);
let o = new Date(Date.UTC(i.getUTCFullYear(), i.getUTCMonth() + 1, 0)).getUTCDate();
- return i.setUTCDate(Math.min(a, o)), Number.isFinite(n) && n < i.getTime() ? 365 * pL : 7 * pL;
+ return i.setUTCDate(Math.min(a, o)), Number.isFinite(n) && n < i.getTime() ? 365 * fL : 7 * fL;
}
-function hL() {
+function mL() {
try {
- let e = JSON.parse(localStorage.getItem(fL) || "[]");
+ let e = JSON.parse(localStorage.getItem(dL) || "[]");
return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items)) : [];
} catch {
return [];
}
}
-function t_e(e, t) {
- let n = hL().find((t) => t.code === e);
- return n && Date.now() - n.saved < mL(t) ? n : void 0;
-}
function n_e(e, t) {
+ let n = mL().find((t) => t.code === e);
+ return n && Date.now() - n.saved < pL(t) ? n : void 0;
+}
+function r_e(e, t) {
if (t.state === "ready") try {
- let n = hL().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(fL, JSON.stringify([{
+ let n = mL().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(dL, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -45746,7 +45763,7 @@ function n_e(e, t) {
}
//#endregion
//#region src/react/wants/want-magnets.tsx
-function gL({ icon: e, children: t }) {
+function hL({ icon: e, children: t }) {
return /* @__PURE__ */ (0, B.jsxs)("span", {
className: "inline-flex items-center gap-1",
children: [/* @__PURE__ */ (0, B.jsx)(e, {
@@ -45755,8 +45772,8 @@ function gL({ icon: e, children: t }) {
}), t]
});
}
-function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a }) {
- let o = (0, R.useRef)(null), [s, c] = (0, R.useState)(typeof IntersectionObserver > "u"), [l, u] = (0, R.useState)([]), d = FE(), f = cS(), p = (0, R.useRef)(!1), m = (0, R.useMemo)(() => t_e(e.code || "", e.release_date), [e.code, e.release_date]);
+function i_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a }) {
+ let o = (0, R.useRef)(null), [s, c] = (0, R.useState)(typeof IntersectionObserver > "u"), [l, u] = (0, R.useState)([]), d = PE(), f = sS(), p = (0, R.useRef)(!1), m = (0, R.useMemo)(() => n_e(e.code || "", e.release_date), [e.code, e.release_date]);
(0, R.useEffect)(() => {
if (!o.current || s) return;
let e = new IntersectionObserver((t) => {
@@ -45764,7 +45781,7 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}, { rootMargin: "100px" });
return e.observe(o.current), () => e.disconnect();
}, [s]);
- let h = wS({
+ let h = CS({
queryKey: [
"want-magnets",
e.id,
@@ -45772,15 +45789,15 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
],
queryFn: async ({ signal: t }) => {
let n = p.current, r = await W(`/api/wants/magnets?id=${e.id}${n ? "&refresh=1" : ""}`, t);
- return p.current = n && r.state === "busy", n_e(e.code || "", r), r;
+ return p.current = n && r.state === "busy", r_e(e.code || "", r), r;
},
initialData: m?.result,
initialDataUpdatedAt: m?.saved,
enabled: s,
retry: !1,
- staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : mL(e.release_date)) ? Infinity : 0,
+ staleTime: (t) => Date.now() - t.state.dataUpdatedAt < (t.state.data?.state === "error" ? 6e4 : pL(e.release_date)) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : mL(e.release_date)) && "always",
+ refetchOnMount: (t) => Date.now() - t.state.dataUpdatedAt >= (t.state.data?.state === "error" ? 6e4 : pL(e.release_date)) && "always",
refetchOnWindowFocus: !1,
refetchInterval: (e) => e.state.data?.state === "busy" && 3e3
});
@@ -45789,7 +45806,7 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}, [h.data?.source_url, a]);
let g = n?.providers.find((e) => e.key === r && e.configured), _ = (r) => {
t || !n?.available || !g || r.protocol !== "magnet" || d.run(r.id, async (t) => {
- let n = await G(tA, {
+ let n = await G(eA, {
magnet: r.uri,
provider: g.key,
target: g.target,
@@ -45800,7 +45817,7 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
if (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");
return n;
}, (e) => {
- u((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), f.invalidateQueries({ queryKey: nA });
+ u((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), f.invalidateQueries({ queryKey: tA });
});
}, v = (e) => {
d.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -45818,7 +45835,7 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}), /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: AT,
+ leadingIcon: kT,
...X(y),
onClick: () => {
y || (p.current = !0, h.refetch());
@@ -45826,7 +45843,7 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
children: "重新查询"
})]
}),
- y ? /* @__PURE__ */ (0, B.jsx)(jE, { label: "正在查找资源链接…" }) : null,
+ y ? /* @__PURE__ */ (0, B.jsx)(AE, { label: "正在查找资源链接…" }) : null,
b ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "资源链接未取得",
@@ -45855,18 +45872,18 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(EE, {
+ children: [/* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: /* @__PURE__ */ (0, B.jsxs)("span", {
className: "inline-flex items-center gap-1",
- children: [e.protocol === "magnet" ? /* @__PURE__ */ (0, B.jsx)(gae, {
+ children: [e.protocol === "magnet" ? /* @__PURE__ */ (0, B.jsx)(_ae, {
"aria-hidden": !0,
className: "size-3.5"
- }) : e.protocol === "ed2k" ? /* @__PURE__ */ (0, B.jsx)(eae, {
+ }) : e.protocol === "ed2k" ? /* @__PURE__ */ (0, B.jsx)(tae, {
"aria-hidden": !0,
className: "size-3.5"
- }) : /* @__PURE__ */ (0, B.jsx)(OT, {
+ }) : /* @__PURE__ */ (0, B.jsx)(DT, {
"aria-hidden": !0,
className: "size-3.5"
}), e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ed2k" : "网页链接"]
@@ -45878,24 +45895,24 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap gap-x-3 gap-y-1 break-words text-caption-1-regular text-text-secondary",
children: [
- /* @__PURE__ */ (0, B.jsx)(gL, {
- icon: OT,
+ /* @__PURE__ */ (0, B.jsx)(hL, {
+ icon: DT,
children: e.source
}),
- /* @__PURE__ */ (0, B.jsx)(gL, {
- icon: ET,
+ /* @__PURE__ */ (0, B.jsx)(hL, {
+ icon: TT,
children: e.size || "大小未知"
}),
- e.files ? /* @__PURE__ */ (0, B.jsx)(gL, {
- icon: tae,
+ e.files ? /* @__PURE__ */ (0, B.jsx)(hL, {
+ icon: nae,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, B.jsx)(gL, {
- icon: Xie,
+ /* @__PURE__ */ (0, B.jsx)(hL, {
+ icon: Zie,
children: e.date ? `${e.source === "JavDB 评论" ? "评论" : "收录"} ${e.date}` : "日期未知"
}),
- e.attributes.map((e) => /* @__PURE__ */ (0, B.jsx)(gL, {
- icon: kT,
+ e.attributes.map((e) => /* @__PURE__ */ (0, B.jsx)(hL, {
+ icon: OT,
children: e
}, e))
]
@@ -45903,11 +45920,11 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 flex-wrap gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(OE, {
+ /* @__PURE__ */ (0, B.jsx)(DE, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: wT,
+ trailingIcon: CT,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -45916,7 +45933,7 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: $ie,
+ leadingIcon: eae,
...X(d.busy === `copy:${e.id}`),
onClick: () => v(e),
children: "复制链接"
@@ -45924,7 +45941,7 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
e.protocol === "magnet" ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "primary",
size: "small",
- leadingIcon: bT,
+ leadingIcon: yT,
disabled: t || !n?.available || !g || r,
...X(d.busy === e.id),
onClick: () => _(e),
@@ -45937,7 +45954,7 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, B.jsx)(Wk, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, B.jsx)(Uk, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -45950,41 +45967,41 @@ function r_e({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSour
}
//#endregion
//#region src/react/wants/wants.ts
-var _L = "/api/wants", vL = ["wants"], i_e = (e) => [
+var gL = "/api/wants", _L = ["wants"], a_e = (e) => [
"wants",
"follow",
e
-], a_e = [
+], o_e = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], o_e = (e) => W(_L, e), s_e = (e, t) => W(`${_L}?follow=${encodeURIComponent(e)}`, t), yL = (e, t) => G(_L, {
+], s_e = (e) => W(gL, e), c_e = (e, t) => W(`${gL}?follow=${encodeURIComponent(e)}`, t), vL = (e, t) => G(gL, {
action: "add",
...e
-}, "POST", t), bL = (e, t) => G(_L, {
+}, "POST", t), yL = (e, t) => G(gL, {
action: "remove",
ids: e
-}, "POST", t), c_e = (e, t) => G(_L, {
+}, "POST", t), l_e = (e, t) => G(gL, {
action: "reset",
ids: e
-}, "POST", t), xL = () => p.invalidateQueries({ queryKey: vL }), SL = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function l_e(e) {
+}, "POST", t), bL = () => p.invalidateQueries({ queryKey: _L }), xL = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function u_e(e) {
return e.phase === "acquired" ? e.acquired_at ? `入库于 ${e.acquired_at.slice(0, 10)}` : "已入库" : e.phase === "unreleased" ? e.release_date ? `${e.release_date} 发售` : "还没发售" : e.phase === "given_up" ? `查过 ${e.search_count} 次都没找到` : e.fresh ? "新片:查不到也一直留在待找" : e.search_count ? `查过 ${e.search_count} 次` : "还没查过";
}
//#endregion
//#region src/react/wants/want-list.tsx
-var u_e = {
+var d_e = {
code: "手动添加",
feed: "Feed 新作",
follow: "关注"
-}, CL = (e) => [
+}, SL = (e) => [
e.release_date,
e.studio,
e.performers,
- u_e[e.origin]
+ d_e[e.origin]
].filter(Boolean).join(" · ");
-function d_e({ want: e }) {
+function f_e({ want: e }) {
return /* @__PURE__ */ (0, B.jsxs)("span", {
className: "relative inline-grid w-card-cover shrink-0 aspect-card-cover place-items-center overflow-hidden rounded-2lg bg-background-tertiary-default max-sm:w-24",
children: [/* @__PURE__ */ (0, B.jsx)("span", {
@@ -46000,37 +46017,37 @@ function d_e({ want: e }) {
}) : null]
});
}
-function f_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
+function p_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDownload: a, downloads: o, provider: s, toast: c }) {
let [l, u] = (0, R.useState)(""), d = e.link || l || (e.code ? `https://javdb.com/search?q=${encodeURIComponent(e.code)}&f=all` : "");
return /* @__PURE__ */ (0, B.jsxs)("li", {
"data-want-id": e.id,
- className: kE({
+ className: OE({
bordered: "soft",
className: "flex flex-col gap-4 max-sm:p-4"
}),
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 items-start gap-4 max-sm:gap-3",
- children: [/* @__PURE__ */ (0, B.jsx)(d_e, { want: e }), /* @__PURE__ */ (0, B.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, B.jsx)(f_e, { want: e }), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-1",
children: [
/* @__PURE__ */ (0, B.jsxs)("p", {
className: "flex min-w-0 flex-wrap items-baseline gap-x-2",
children: [/* @__PURE__ */ (0, B.jsx)("b", {
className: "text-headline-medium text-text-primary",
- children: SL(e)
+ children: xL(e)
}), e.code && e.title ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "min-w-0 truncate text-body-2-regular text-text-secondary",
children: e.title
}) : null]
}),
- CL(e) ? /* @__PURE__ */ (0, B.jsx)("p", {
+ SL(e) ? /* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: CL(e)
+ children: SL(e)
}) : null,
!e.code || e.phase === "unreleased" || e.phase === "acquired" ? /* @__PURE__ */ (0, B.jsx)("p", {
"data-want-note": "",
className: "text-caption-1-regular text-text-secondary",
- children: l_e(e)
+ children: u_e(e)
}) : null,
e.scrape_error ? /* @__PURE__ */ (0, B.jsxs)("p", {
className: "text-caption-1-regular text-text-secondary",
@@ -46039,11 +46056,11 @@ function f_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "mt-1 flex flex-wrap items-center gap-2",
children: [
- d ? /* @__PURE__ */ (0, B.jsx)(OE, {
+ d ? /* @__PURE__ */ (0, B.jsx)(DE, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: wT,
+ trailingIcon: CT,
href: d,
target: "_blank",
rel: "noopener noreferrer",
@@ -46052,7 +46069,7 @@ function f_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
e.phase === "searching" || e.phase === "given_up" ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: bT,
+ leadingIcon: yT,
disabled: t,
onClick: a,
children: "云下载"
@@ -46068,7 +46085,7 @@ function f_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: CT,
+ leadingIcon: ST,
disabled: t,
...X(n === `remove:${e.id}`),
onClick: i,
@@ -46078,7 +46095,7 @@ function f_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
})
]
})]
- }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, B.jsx)(r_e, {
+ }), e.code && (e.phase === "searching" || e.phase === "given_up") ? /* @__PURE__ */ (0, B.jsx)(i_e, {
want: e,
readOnly: t,
downloads: o,
@@ -46088,36 +46105,36 @@ function f_e({ want: e, readOnly: t, busy: n, onReset: r, onRemove: i, onCloudDo
}) : null]
});
}
-function p_e({ readOnly: e, toast: t, cloudDownload: n }) {
- let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(""), s = FE(), c = wS({
- queryKey: vL,
- queryFn: ({ signal: e }) => o_e(e),
+function m_e({ readOnly: e, toast: t, cloudDownload: n }) {
+ let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(""), s = PE(), c = CS({
+ queryKey: _L,
+ queryFn: ({ signal: e }) => s_e(e),
refetchInterval: (e) => e.state.data?.scraping ? 3e3 : !1
}), l = () => {
let n = r.trim();
- !n || e || s.run("add", (e) => yL({ code: n }, e), (e) => {
- t(e.created ? `已加入想要:${SL(e.want)}` : `${SL(e.want)} 已经在想要里`), i(""), xL();
+ !n || e || s.run("add", (e) => vL({ code: n }, e), (e) => {
+ t(e.created ? `已加入想要:${xL(e.want)}` : `${xL(e.want)} 已经在想要里`), i(""), bL();
});
}, u = (e) => {
e.key === "Enter" && !e.nativeEvent.isComposing && (e.preventDefault(), l());
}, d = (e) => {
- s.run(`remove:${e.id}`, (t) => bL([e.id], t), () => {
- t(`已移除:${SL(e)}`), xL();
+ s.run(`remove:${e.id}`, (t) => yL([e.id], t), () => {
+ t(`已移除:${xL(e)}`), bL();
});
}, f = (e) => {
- s.run(`reset:${e.id}`, (t) => c_e([e.id], t), () => {
- t(`${SL(e)} 回到待找`), xL();
+ s.run(`reset:${e.id}`, (t) => l_e([e.id], t), () => {
+ t(`${xL(e)} 回到待找`), bL();
});
- }, p = c.data, m = p?.items || [], h = wS({
- queryKey: nA,
- queryFn: ({ signal: e }) => W(`${tA}?limit=100`, e),
+ }, p = c.data, m = p?.items || [], h = CS({
+ queryKey: tA,
+ queryFn: ({ signal: e }) => W(`${eA}?limit=100`, e),
enabled: m.some((e) => e.code && (e.phase === "searching" || e.phase === "given_up"))
}), g = h.data?.providers.filter((e) => e.configured) || [], _ = g.find((e) => e.key === a)?.key || g[0]?.key || "";
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-8",
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: kE({
+ className: OE({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
}),
@@ -46130,7 +46147,7 @@ function p_e({ readOnly: e, toast: t, cloudDownload: n }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-64 grow max-sm:min-w-0",
- children: /* @__PURE__ */ (0, B.jsx)(Sk, {
+ children: /* @__PURE__ */ (0, B.jsx)(xk, {
"aria-label": "番号",
placeholder: "输入番号,例如 SSIS-950",
value: r,
@@ -46146,7 +46163,7 @@ function p_e({ readOnly: e, toast: t, cloudDownload: n }) {
children: "添加"
})]
}),
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: "Feed 新作卡和关注详情上点「想要」也会加到这里。文件扫进库后自动挪到「已入库」。" }),
s.error ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "这一次没有完成",
@@ -46159,7 +46176,7 @@ function p_e({ readOnly: e, toast: t, cloudDownload: n }) {
title: "想要清单读取失败",
children: U(c.error)
}) : null,
- p?.scraping ? /* @__PURE__ */ (0, B.jsx)(Rk, {
+ p?.scraping ? /* @__PURE__ */ (0, B.jsx)(Lk, {
role: "status",
children: "正在给刚加入的番号取资料与封面。"
}) : null,
@@ -46170,16 +46187,16 @@ function p_e({ readOnly: e, toast: t, cloudDownload: n }) {
className: "text-body-medium text-text-primary",
children: "下载到"
}),
- /* @__PURE__ */ (0, B.jsx)(Dk, {
+ /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "下载到",
selectedKey: _,
onSelectionChange: (e) => o(String(e)),
- children: g.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: g.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e.key,
children: e.label
}, e.key))
}),
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: g.find((e) => e.key === _)?.target || "使用已配置的目标目录" })
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: g.find((e) => e.key === _)?.target || "使用已配置的目标目录" })
]
}) : null,
h.error ? /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -46195,13 +46212,13 @@ function p_e({ readOnly: e, toast: t, cloudDownload: n }) {
tone: "neutral",
children: "云下载只在账本写入端可用。"
}) : null,
- p && !m.length ? /* @__PURE__ */ (0, B.jsx)(AE, {
+ p && !m.length ? /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: dae,
+ icon: fae,
title: "还没有想要的作品",
children: "在上面输入番号,或在 Feed 新作卡、关注详情上点「想要」。"
}) : null,
- a_e.map(([r, i]) => {
+ o_e.map(([r, i]) => {
let a = m.filter((e) => e.phase === r);
return a.length ? /* @__PURE__ */ (0, B.jsxs)("section", {
"aria-label": i,
@@ -46215,7 +46232,7 @@ function p_e({ readOnly: e, toast: t, cloudDownload: n }) {
})]
}), /* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex flex-col gap-4",
- children: a.map((r) => /* @__PURE__ */ (0, B.jsx)(f_e, {
+ children: a.map((r) => /* @__PURE__ */ (0, B.jsx)(p_e, {
want: r,
readOnly: e,
busy: s.busy,
@@ -46238,16 +46255,16 @@ function p_e({ readOnly: e, toast: t, cloudDownload: n }) {
}
//#endregion
//#region src/react/follow-manage/follow-manage-page.tsx
-var wL = [
+var CL = [
["list", "关注列表"],
["add", "添加关注"],
["feeds", "JAV 订阅源"],
["wants", "JAV 入库"],
["source", "来源和凭证"]
-], TL = (e) => wL.some(([t]) => t === e);
-function EL({ term: e, figure: t, unit: n }) {
+], wL = (e) => CL.some(([t]) => t === e);
+function TL({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: kE({
+ className: OE({
padding: "none",
className: "flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4"
}),
@@ -46263,23 +46280,23 @@ function EL({ term: e, figure: t, unit: n }) {
})]
});
}
-function m_e(e) {
- let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, R.useState)(TL(e.tab) ? e.tab : "list"), [d, f] = (0, R.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, R.useState)(() => RP(e.sort, e.dir).sort), [h, g] = (0, R.useState)(() => RP(e.sort, e.dir).dir), [_, v] = (0, R.useState)(Tme(e.layout) ? e.layout : "default"), [y, b] = (0, R.useState)(Eme(e.pageSize)), [x, S] = (0, R.useState)(/* @__PURE__ */ new Set()), C = wS({
+function h_e(e) {
+ let { route: t, savePreference: n, toast: r, openFollow: i, cloudDownload: a, readOnly: o, readOnlyMessage: s, writerUrl: c } = e, [l, u] = (0, R.useState)(wL(e.tab) ? e.tab : "list"), [d, f] = (0, R.useState)(Math.max(1, Math.floor(e.page) || 1)), [p, m] = (0, R.useState)(() => LP(e.sort, e.dir).sort), [h, g] = (0, R.useState)(() => LP(e.sort, e.dir).dir), [_, v] = (0, R.useState)(Eme(e.layout) ? e.layout : "default"), [y, b] = (0, R.useState)(Dme(e.pageSize)), [x, S] = (0, R.useState)(/* @__PURE__ */ new Set()), C = CS({
+ queryKey: KP,
+ queryFn: ({ signal: e }) => dF(e)
+ }), w = CS({
queryKey: qP,
queryFn: ({ signal: e }) => fF(e)
- }), w = wS({
+ }), T = CS({
queryKey: JP,
- queryFn: ({ signal: e }) => pF(e)
- }), T = wS({
- queryKey: YP,
- queryFn: ({ signal: e }) => vF(e)
+ queryFn: ({ signal: e }) => _F(e)
}), E = C.data || { sources: [] }, D = w.data || {
root: "",
providers: []
}, O = E.sources;
(0, R.useEffect)(() => {
S((e) => {
- let t = Mme(e, O);
+ let t = Nme(e, O);
return t.size === e.size ? e : t;
});
}, [O]);
@@ -46289,10 +46306,10 @@ function m_e(e) {
tab: e.tab ?? l,
page: e.page ?? d,
sort: n === "checked" ? "" : n,
- dir: r === LP[n] ? "" : r
+ dir: r === IP[n] ? "" : r
});
- }, A = cF(O), j = O.filter(eF).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !DF(e)).length, ee = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
- return /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
+ }, A = sF(O), j = O.filter($P).length, M = O.filter((e) => e.enabled).length, N = (D.providers || []).filter((e) => e.requirement === "required" && !EF(e)).length, ee = new Set((T.data?.sources || []).map((e) => e.entity_id ?? `source-${e.id}`)).size;
+ return /* @__PURE__ */ (0, B.jsxs)(jE, { children: [
o ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "warning",
title: "本机只能浏览",
@@ -46307,64 +46324,64 @@ function m_e(e) {
children: s
}) : null,
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: dde,
+ className: fde,
"aria-label": "关注概览",
children: [
- /* @__PURE__ */ (0, B.jsx)(EL, {
+ /* @__PURE__ */ (0, B.jsx)(TL, {
term: "关注创作者",
figure: A.length,
unit: "位"
}),
- /* @__PURE__ */ (0, B.jsx)(EL, {
+ /* @__PURE__ */ (0, B.jsx)(TL, {
term: "启用来源",
figure: M,
unit: `/ ${O.length}`
}),
- /* @__PURE__ */ (0, B.jsx)(EL, {
+ /* @__PURE__ */ (0, B.jsx)(TL, {
term: "检查失败",
figure: j,
unit: "个来源"
}),
- /* @__PURE__ */ (0, B.jsx)(EL, {
+ /* @__PURE__ */ (0, B.jsx)(TL, {
term: "未看更新",
figure: E.counts?.new || 0,
unit: "条"
}),
- /* @__PURE__ */ (0, B.jsx)(EL, {
+ /* @__PURE__ */ (0, B.jsx)(TL, {
term: "JAV 订阅",
figure: ee,
unit: "位"
}),
- /* @__PURE__ */ (0, B.jsx)(EL, {
+ /* @__PURE__ */ (0, B.jsx)(TL, {
term: "未看新作",
figure: T.data?.unread || 0,
unit: "条"
})
]
}),
- /* @__PURE__ */ (0, B.jsxs)(mk, {
+ /* @__PURE__ */ (0, B.jsxs)(pk, {
selectedKey: l,
onSelectionChange: (e) => {
let t = String(e);
- TL(t) && (u(t), k({ tab: t }));
+ wL(t) && (u(t), k({ tab: t }));
},
className: "flex flex-col gap-6",
children: [
- /* @__PURE__ */ (0, B.jsx)(hk, {
+ /* @__PURE__ */ (0, B.jsx)(mk, {
"aria-label": "关注管理区域",
"data-section-nav": !0,
"data-section-items": !0,
className: "flex max-w-full flex-nowrap overflow-x-auto",
- children: wL.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(gk, {
+ children: CL.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(hk, {
id: e,
className: "cursor-pointer whitespace-nowrap",
children: e === "source" && N ? `${t}(${N})` : t
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(_k, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "list",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, B.jsx)(Gge, {
+ children: /* @__PURE__ */ (0, B.jsx)(Kge, {
data: E,
sort: p,
dir: h,
@@ -46394,10 +46411,10 @@ function m_e(e) {
}
})
}),
- /* @__PURE__ */ (0, B.jsxs)(_k, {
+ /* @__PURE__ */ (0, B.jsxs)(gk, {
id: "add",
className: "flex flex-col gap-8",
- children: [/* @__PURE__ */ (0, B.jsx)(Vhe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Hhe, {
data: E,
credentials: D,
readOnly: o,
@@ -46405,7 +46422,7 @@ function m_e(e) {
openCredentials: () => {
u("source"), k({ tab: "source" });
}
- }), /* @__PURE__ */ (0, B.jsx)(Whe, {
+ }), /* @__PURE__ */ (0, B.jsx)(Ghe, {
groups: E.author_aliases || [],
readOnly: o,
toast: r,
@@ -46413,27 +46430,27 @@ function m_e(e) {
sources: E.sources
})]
}),
- /* @__PURE__ */ (0, B.jsx)(_k, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "feeds",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, B.jsx)(e_e, {
+ children: /* @__PURE__ */ (0, B.jsx)(t_e, {
readOnly: o,
toast: r
})
}),
- /* @__PURE__ */ (0, B.jsx)(_k, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "wants",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, B.jsx)(p_e, {
+ children: /* @__PURE__ */ (0, B.jsx)(m_e, {
readOnly: o,
toast: r,
cloudDownload: a
})
}),
- /* @__PURE__ */ (0, B.jsx)(_k, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "source",
className: "flex flex-col gap-4",
- children: /* @__PURE__ */ (0, B.jsx)($he, {
+ children: /* @__PURE__ */ (0, B.jsx)(ege, {
data: D,
readOnly: o,
toast: r
@@ -46445,15 +46462,15 @@ function m_e(e) {
}
//#endregion
//#region src/react/components/board-tabs.tsx
-function DL({ value: e }) {
+function EL({ value: e }) {
return /* @__PURE__ */ (0, B.jsx)("span", {
"data-tab-count": "",
className: "ml-1.5 inline-block rounded-sm bg-text-primary/10 px-1 py-px text-caption-1-medium text-text-primary opacity-50",
children: e.toLocaleString()
});
}
-var h_e = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
-function OL({ tabs: e, value: t, label: n, onChange: r }) {
+var g_e = "relative z-1 flex flex-none cursor-pointer items-center whitespace-nowrap border-b-2 border-transparent px-3 py-2.5 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring aria-selected:font-medium aria-selected:text-border-focus-ring max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";
+function DL({ tabs: e, value: t, label: n, onChange: r }) {
let i = (0, R.useRef)(null), a = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
let e = i.current;
@@ -46481,14 +46498,14 @@ function OL({ tabs: e, value: t, label: n, onChange: r }) {
},
className: "relative mb-5.5 flex flex-none gap-1 overflow-x-auto border-b border-border-button-default max-board-narrow:gap-0",
children: [e.map((e) => {
- let n = e.symbol ? CA(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? SA(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
role: "tab",
"data-tab": e.value,
"aria-selected": i,
tabIndex: i ? 0 : -1,
- className: h_e,
+ className: g_e,
onClick: () => {
i || r(e.value);
},
@@ -46504,23 +46521,23 @@ function OL({ tabs: e, value: t, label: n, onChange: r }) {
}
//#endregion
//#region src/react/index/index-tags.tsx
-var kL = () => /* @__PURE__ */ (0, B.jsx)("span", {
+var OL = () => /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
});
-function g_e({ tag: e, actions: t }) {
+function __e({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": PN(t.online, e.cat),
+ "data-tag-cat": MN(t.online, e.cat),
"aria-pressed": n,
onClick: () => t.press(e.k),
className: "flex h-9 min-w-0 cursor-pointer items-center gap-2.25 rounded-lg px-2.5 text-left text-body-regular text-text-secondary outline-none hover:text-text-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: [
- /* @__PURE__ */ (0, B.jsx)(kL, {}),
+ /* @__PURE__ */ (0, B.jsx)(OL, {}),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -46532,23 +46549,23 @@ function g_e({ tag: e, actions: t }) {
]
});
}
-function __e({ groups: e, actions: t }) {
+function v_e({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, B.jsxs)("section", {
"data-alpha-group": r,
- className: kE({
+ className: OE({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, B.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, B.jsx)(DL, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, B.jsx)(EL, { value: n.length })]
}), /* @__PURE__ */ (0, B.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, B.jsx)(g_e, {
+ children: n.map((e) => /* @__PURE__ */ (0, B.jsx)(__e, {
tag: e,
actions: t
}, e.k))
@@ -46556,8 +46573,8 @@ function __e({ groups: e, actions: t }) {
}, e))
});
}
-var v_e = "\xA0";
-function y_e({ tags: e, actions: t }) {
+var y_e = "\xA0";
+function b_e({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
@@ -46565,11 +46582,11 @@ function y_e({ tags: e, actions: t }) {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": PN(t.online, e.cat),
+ "data-tag-cat": MN(t.online, e.cat),
"aria-pressed": t.picked.has(e.k),
onClick: () => t.press(e.k),
className: "inline-flex cursor-pointer items-center rounded-lg border px-3 py-1.25 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: [e.label + v_e, /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [e.label + y_e, /* @__PURE__ */ (0, B.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
children: e.n.toLocaleString()
@@ -46577,7 +46594,7 @@ function y_e({ tags: e, actions: t }) {
}, e.k))
});
}
-var b_e = [[
+var x_e = [[
"cloud",
"标签云",
"tags"
@@ -46586,16 +46603,16 @@ var b_e = [[
"字母表",
"text-aa"
]];
-function x_e({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
- return /* @__PURE__ */ (0, B.jsx)(dA, {
+function S_e({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c }) {
+ return /* @__PURE__ */ (0, B.jsx)(uA, {
label: "标签筛选",
topLabel: "标签类型",
- top: e.map(([e, r]) => /* @__PURE__ */ (0, B.jsxs)(fA, {
+ top: e.map(([e, r]) => /* @__PURE__ */ (0, B.jsxs)(dA, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : PN(n, e),
+ "data-tag-cat": e === "all" ? "all" : MN(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, B.jsx)(kL, {}), r]
+ children: [/* @__PURE__ */ (0, B.jsx)(OL, {}), r]
}, e)),
bottom: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsx)("span", {
@@ -46614,19 +46631,19 @@ function x_e({ categories: e, category: t, online: n, readout: r, letters: i, vi
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, B.jsx)(zO, {
+ /* @__PURE__ */ (0, B.jsx)(RO, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${bA}`,
- children: b_e.map(([e, t, n]) => {
- let r = CA(n);
- return /* @__PURE__ */ (0, B.jsx)(BO, {
+ className: `ml-auto ${yA}`,
+ children: x_e.map(([e, t, n]) => {
+ let r = SA(n);
+ return /* @__PURE__ */ (0, B.jsx)(zO, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: xA,
+ className: bA,
children: /* @__PURE__ */ (0, B.jsx)("span", {
title: t,
className: "contents",
@@ -46638,13 +46655,13 @@ function x_e({ categories: e, category: t, online: n, readout: r, letters: i, vi
] })
});
}
-function S_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, B.jsxs)(oS, {
+function C_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, B.jsxs)(aS, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e} 个标签`,
children: [
- /* @__PURE__ */ (0, B.jsx)(GM, {
+ /* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -46676,7 +46693,7 @@ function S_e({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
}
//#endregion
//#region src/react/index/index-page.tsx
-var C_e = [{
+var w_e = [{
value: "studios",
label: "厂牌",
symbol: "clapperboard"
@@ -46684,7 +46701,7 @@ var C_e = [{
value: "agencies",
label: "事务所",
symbol: "briefcase"
-}], AL = [{
+}], kL = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -46692,7 +46709,15 @@ var C_e = [{
value: "online",
label: "在线",
symbol: "rss"
-}], w_e = {
+}], T_e = [{
+ value: "performers",
+ label: "艺人",
+ symbol: "user-round"
+}, {
+ value: "creators",
+ label: "卖家与动画作者",
+ symbol: "user-round"
+}], E_e = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -46712,20 +46737,20 @@ var C_e = [{
"layout-grid"
]]
};
-function T_e({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, B.jsx)(_A, {
- "aria-label": `${SN[e]}索引版式`,
+function D_e({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, B.jsx)(gA, {
+ "aria-label": `${bN[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none max-board-narrow:order-3 ${vA}`,
- children: w_e[ON(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = CA(n);
- return /* @__PURE__ */ (0, B.jsx)(BO, {
+ className: `flex-none max-board-narrow:order-3 ${_A}`,
+ children: E_e[EN(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = SA(n);
+ return /* @__PURE__ */ (0, B.jsx)(zO, {
value: e,
"aria-label": t,
- className: Zce,
+ className: Qce,
children: /* @__PURE__ */ (0, B.jsx)("span", {
title: t,
className: "contents",
@@ -46735,8 +46760,8 @@ function T_e({ kind: e, layout: t, onChange: n }) {
})
});
}
-var E_e = CA("search");
-function D_e({ label: e, value: t, onQuery: n }) {
+var O_e = SA("search");
+function k_e({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, R.useState)(t), a = (0, R.useRef)(!1), o = (0, R.useRef)(void 0);
(0, R.useEffect)(() => () => clearTimeout(o.current), []);
let s = (e) => {
@@ -46751,15 +46776,15 @@ function D_e({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, B.jsx)(yk, {
+ children: /* @__PURE__ */ (0, B.jsx)(vk, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, B.jsx)(xk, {
+ children: /* @__PURE__ */ (0, B.jsx)(bk, {
type: "search",
- leadingIcon: E_e,
+ leadingIcon: O_e,
spellCheck: !1,
autoComplete: "off",
onKeyDown: (e) => {
@@ -46769,14 +46794,14 @@ function D_e({ label: e, value: t, onQuery: n }) {
})
});
}
-function O_e(e) {
- let [t, n] = (0, R.useState)(() => kN({
+function A_e(e) {
+ let [t, n] = (0, R.useState)(() => DN({
kind: e.kind,
q: e.q,
scope: e.scope,
view: e.view,
category: e.category
- })), [r, i] = (0, R.useState)(e.layout), [a, o] = (0, R.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, R.useState)("any"), l = (0, R.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = SN[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
+ })), [r, i] = (0, R.useState)(e.layout), [a, o] = (0, R.useState)(/* @__PURE__ */ new Set()), [s, c] = (0, R.useState)("any"), l = (0, R.useRef)(null), { kind: u, q: d, scope: f, view: p, category: m } = t, h = bN[u], g = u === "tags" && f === "online", _ = u === "performers" && f === "online";
(0, R.useEffect)(() => {
e.selectMode || o(/* @__PURE__ */ new Set());
}, [e.selectMode]);
@@ -46786,7 +46811,7 @@ function O_e(e) {
...r
};
y(Object.keys(r).every((e) => e === "q")), n(a), e.route(a, { replace: i });
- }, x = NN(AN(t)), S = OS({
+ }, x = jN(ON(t)), S = DS({
queryKey: x.queryKey,
queryFn: ({ pageParam: e, signal: t }) => x.queryFn({
pageParam: e,
@@ -46794,22 +46819,22 @@ function O_e(e) {
}),
initialPageParam: 0,
getNextPageParam: x.getNextPageParam,
- placeholderData: v ? kS.keepPreviousData : void 0
- }), C = Ife(S.data), w = !!S.hasNextPage && !S.isPlaceholderData, T = Lfe(C.length, !!S.hasNextPage);
+ placeholderData: v ? OS.keepPreviousData : void 0
+ }), C = Rfe(S.data), w = !!S.hasNextPage && !S.isPlaceholderData, T = zfe(C.length, !!S.hasNextPage);
(0, R.useLayoutEffect)(() => {
l.current && se(l.current);
}, [r]);
let E = (0, R.useMemo)(() => u === "tags" ? C.map((t) => ({
...t,
label: e.tagLabel(t.k)
- })) : [], [C, u]), D = (0, R.useMemo)(() => u === "tags" && p === "alphabet" ? Bfe(E, (t) => e.tagLabel(t)) : [], [
+ })) : [], [C, u]), D = (0, R.useMemo)(() => u === "tags" && p === "alphabet" ? Hfe(E, (t) => e.tagLabel(t)) : [], [
E,
p,
u
]), O = (t) => {
i(t), e.savePreference({ layout: t });
- }, k = u === "tags" ? /* @__PURE__ */ (0, B.jsx)(OL, {
- tabs: AL,
+ }, k = u === "tags" ? /* @__PURE__ */ (0, B.jsx)(DL, {
+ tabs: kL,
value: f,
label: "词表",
onChange: (e) => {
@@ -46819,8 +46844,8 @@ function O_e(e) {
view: e === "online" ? "alphabet" : p
});
}
- }) : u === "performers" ? /* @__PURE__ */ (0, B.jsx)(OL, {
- tabs: AL,
+ }) : u === "performers" ? /* @__PURE__ */ (0, B.jsx)(DL, {
+ tabs: kL,
value: f,
label: "名册",
onChange: (t) => {
@@ -46829,8 +46854,8 @@ function O_e(e) {
category: "all"
});
}
- }) : ON(u) ? /* @__PURE__ */ (0, B.jsx)(OL, {
- tabs: C_e,
+ }) : EN(u) ? /* @__PURE__ */ (0, B.jsx)(DL, {
+ tabs: w_e,
value: u,
label: "公司类型",
onChange: (e) => b({ kind: e })
@@ -46847,7 +46872,7 @@ function O_e(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
});
- }, j = (g ? wN : CN).filter(([e]) => e === "all" || Number(S.data?.pages[0]?.categories?.[e] || 0) > 0);
+ }, j = (g ? SN : xN).filter(([e]) => e === "all" || Number(S.data?.pages[0]?.categories?.[e] || 0) > 0);
return /* @__PURE__ */ (0, B.jsxs)("div", {
ref: l,
"data-index-page": u,
@@ -46862,12 +46887,12 @@ function O_e(e) {
className: "flex items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: h
}),
- DN(u) ? /* @__PURE__ */ (0, B.jsx)("span", {
+ TN(u) ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-index-count": "",
className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums",
children: S.isPending ? "" : T
}) : null,
- DN(u) ? /* @__PURE__ */ (0, B.jsx)(T_e, {
+ TN(u) ? /* @__PURE__ */ (0, B.jsx)(D_e, {
kind: u,
layout: r,
onChange: O
@@ -46876,7 +46901,7 @@ function O_e(e) {
"aria-hidden": !0,
className: "hidden h-0 basis-full max-board-narrow:order-2 max-board-narrow:block"
}),
- /* @__PURE__ */ (0, B.jsx)(D_e, {
+ /* @__PURE__ */ (0, B.jsx)(k_e, {
label: `过滤${h}`,
value: d,
onQuery: (e) => {
@@ -46885,11 +46910,21 @@ function O_e(e) {
})
]
}),
+ u === "performers" || u === "creators" ? /* @__PURE__ */ (0, B.jsx)(DL, {
+ tabs: T_e,
+ value: u,
+ label: "人物名册",
+ onChange: (e) => b({
+ kind: e,
+ scope: "local",
+ category: "all"
+ })
+ }) : null,
k,
(u === "creators" || u === "performers") && f === "local" ? /* @__PURE__ */ (0, B.jsx)("div", {
"aria-label": "身份分类",
className: "mb-4 flex flex-wrap gap-2",
- children: TN[u].filter(([e]) => e === "all" || e === m || Number(S.data?.pages[0]?.categories?.[e] || 0) > 0).map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(J, {
+ children: CN[u].filter(([e]) => e === "all" || e === m || Number(S.data?.pages[0]?.categories?.[e] || 0) > 0).map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(J, {
variant: m === e ? "primary" : "secondary",
size: "small",
"aria-pressed": m === e,
@@ -46897,7 +46932,7 @@ function O_e(e) {
children: t
}, e))
}) : null,
- u === "tags" ? /* @__PURE__ */ (0, B.jsx)(x_e, {
+ u === "tags" ? /* @__PURE__ */ (0, B.jsx)(S_e, {
categories: j,
category: m,
online: g,
@@ -46922,8 +46957,8 @@ function O_e(e) {
mode: p
}) }
});
- if (S.isError) return /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: CA("search"),
+ if (S.isError) return /* @__PURE__ */ (0, B.jsx)(kE, {
+ icon: SA("search"),
title: `没能读取${h}`,
actions: /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
@@ -46932,18 +46967,18 @@ function O_e(e) {
}),
children: Te(S.error)
});
- if (!C.length) return /* @__PURE__ */ (0, B.jsx)(A_e, {
+ if (!C.length) return /* @__PURE__ */ (0, B.jsx)(M_e, {
kind: u,
filtered: !!d || m !== "all",
online: g || _,
configurable: e.configurable
});
- if (_) return /* @__PURE__ */ (0, B.jsx)(Hfe, {
+ if (_) return /* @__PURE__ */ (0, B.jsx)(Wfe, {
items: C,
layout: r,
props: e
});
- if (DN(u)) return /* @__PURE__ */ (0, B.jsx)(LN, {
+ if (TN(u)) return /* @__PURE__ */ (0, B.jsx)(FN, {
kind: u,
items: C,
layout: r,
@@ -46954,10 +46989,10 @@ function O_e(e) {
picked: a,
press: A
};
- return p === "alphabet" ? /* @__PURE__ */ (0, B.jsx)(__e, {
+ return p === "alphabet" ? /* @__PURE__ */ (0, B.jsx)(v_e, {
groups: D,
actions: t
- }) : /* @__PURE__ */ (0, B.jsx)(y_e, {
+ }) : /* @__PURE__ */ (0, B.jsx)(b_e, {
tags: E,
actions: t
});
@@ -46972,13 +47007,13 @@ function O_e(e) {
disabled: S.isFetchingNextPage,
"aria-busy": S.isFetchingNextPage || void 0,
onClick: () => void S.fetchNextPage(),
- children: S.isFetchingNextPage ? /* @__PURE__ */ (0, B.jsx)(jE, {
+ children: S.isFetchingNextPage ? /* @__PURE__ */ (0, B.jsx)(AE, {
inline: !0,
label: "继续载入中…"
}) : "载入更多"
})
}) : null,
- u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, B.jsx)(S_e, {
+ u === "tags" && !g && e.selectMode ? /* @__PURE__ */ (0, B.jsx)(C_e, {
count: a.size,
match: s,
onMatch: c,
@@ -46991,31 +47026,31 @@ function O_e(e) {
]
});
}
-var k_e = {
+var j_e = {
tags: "标签",
performers: "艺人",
- creators: "创作者",
+ creators: "卖家与动画作者",
studios: "厂牌",
agencies: "事务所"
};
-function A_e({ kind: e, filtered: t, online: n, configurable: r }) {
- if (t) return /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: CA("search"),
+function M_e({ kind: e, filtered: t, online: n, configurable: r }) {
+ if (t) return /* @__PURE__ */ (0, B.jsx)(kE, {
+ icon: SA("search"),
title: "没有符合条件的内容",
- actions: /* @__PURE__ */ (0, B.jsx)(OE, {
+ actions: /* @__PURE__ */ (0, B.jsx)(DE, {
variant: "primary",
href: "/?loc=&thumb=0",
children: "查看全部内容"
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : k_e[e], a = /* @__PURE__ */ (0, B.jsx)(OE, {
+ let i = n && e === "performers" ? "创作者" : j_e[e], a = /* @__PURE__ */ (0, B.jsx)(DE, {
variant: !r || n ? "primary" : "secondary",
href: "/follow-manage?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: CA(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, B.jsx)(kE, {
+ icon: SA(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
actions: n ? a : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [r ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "primary",
@@ -47025,15 +47060,15 @@ function A_e({ kind: e, filtered: t, online: n, configurable: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var jL = {
+var AL = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, j_e = (e) => jL[e.junk_kind || "other"] || jL.other;
-function M_e(e) {
+}, N_e = (e) => AL[e.junk_kind || "other"] || AL.other;
+function P_e(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -47044,21 +47079,21 @@ function M_e(e) {
glyph: "check"
};
}
-var ML = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), N_e = (e, t) => [
+var jL = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), F_e = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function P_e({ kind: e, view: t }) {
+function I_e({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function F_e(e, t) {
- let n = await W(`/api/ads?${P_e(e)}`, t);
+async function L_e(e, t) {
+ let n = await W(`/api/ads?${I_e(e)}`, t);
return {
...n,
items: n.items || []
@@ -47066,19 +47101,19 @@ async function F_e(e, t) {
}
//#endregion
//#region src/react/junk-queue/junk-card.tsx
-function NL({ name: e }) {
+function ML({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
}
-var PL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, R.useRef)(null), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), d = e.junk_kind || "other", [f, p] = j_e(e), m = String(e.name || ""), h = M_e(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
- t.target.closest("[data-junk-actions]") || PL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var NL = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function R_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, R.useRef)(null), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), d = e.junk_kind || "other", [f, p] = N_e(e), m = String(e.name || ""), h = P_e(t), g = d === "video" ? `/thumb?id=${e.id}&c=4` : d === "image" ? `/photo-thumb?id=${e.id}` : "", _ = d === "video" || d === "image", v = (t) => {
+ t.target.closest("[data-junk-actions]") || NL(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- if (t.stopPropagation(), PL(r, t)) {
+ if (t.stopPropagation(), NL(r, t)) {
t.preventDefault(), a.toggleSelection(e.id, t.shiftKey);
return;
}
@@ -47120,7 +47155,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, B.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, B.jsx)(NL, { name: p }), /* @__PURE__ */ (0, B.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, B.jsx)(ML, { name: p }), /* @__PURE__ */ (0, B.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-media-art": "thumb",
@@ -47132,7 +47167,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, B.jsx)(NL, { name: "check" })
+ children: /* @__PURE__ */ (0, B.jsx)(ML, { name: "check" })
})
]
}),
@@ -47169,7 +47204,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: Qe("正在定位") }
- }) : /* @__PURE__ */ (0, B.jsx)(NL, { name: "folder-open" }), /* @__PURE__ */ (0, B.jsx)("span", {
+ }) : /* @__PURE__ */ (0, B.jsx)(ML, { name: "folder-open" }), /* @__PURE__ */ (0, B.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -47181,7 +47216,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": h.label,
...S(h.operation),
onClick: x(h.operation),
- children: [/* @__PURE__ */ (0, B.jsx)(NL, { name: h.glyph }), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [/* @__PURE__ */ (0, B.jsx)(ML, { name: h.glyph }), /* @__PURE__ */ (0, B.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -47193,7 +47228,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, B.jsx)(NL, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [/* @__PURE__ */ (0, B.jsx)(ML, { name: "trash" }), /* @__PURE__ */ (0, B.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -47208,7 +47243,7 @@ function I_e({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var L_e = (0, R.memo)(I_e), FL = [
+var z_e = (0, R.memo)(R_e), PL = [
[
"",
"全部",
@@ -47245,53 +47280,53 @@ var L_e = (0, R.memo)(I_e), FL = [
"hard-drive"
]
];
-function IL(e = "", t = "pending") {
+function FL(e = "", t = "pending") {
let n = new URLSearchParams();
e && n.set("type", e), t === "dismissed" && n.set("view", "dismissed");
let r = n.toString();
return `/junk-files${r ? `?${r}` : ""}`;
}
-function R_e(e) {
+function B_e(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: IL("", "pending")
+ href: FL("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: IL("", "dismissed")
+ href: FL("", "dismissed")
};
}
-var z_e = (e) => e === "dismissed" ? "已排除" : "待判断";
+var V_e = (e) => e === "dismissed" ? "已排除" : "待判断";
//#endregion
//#region src/react/junk-queue/junk-count.tsx
-function LL({ name: e }) {
+function IL({ name: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
}
-function RL({ scope: e, count: t }) {
+function LL({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [" ", /* @__PURE__ */ (0, B.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function B_e({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = NM(), a = (0, R.useRef)(null), { kind: o, view: s } = e, c = mA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? FL.map(([e]) => ML(t, e)).join(",") : ""}`), l = R_e(s), u = (e) => {
+function H_e({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = MM(), a = (0, R.useRef)(null), { kind: o, view: s } = e, c = pA(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? PL.map(([e]) => jL(t, e)).join(",") : ""}`), l = B_e(s), u = (e) => {
let t = e.target.closest("a");
- !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || IL()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || FL()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, B.jsx)(DP, {
- label: z_e(s),
+ children: /* @__PURE__ */ (0, B.jsx)(EP, {
+ label: V_e(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -47311,17 +47346,17 @@ function B_e({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- FL.map(([e, n, r]) => /* @__PURE__ */ (0, B.jsxs)("a", {
- href: IL(e, s),
+ PL.map(([e, n, r]) => /* @__PURE__ */ (0, B.jsxs)("a", {
+ href: FL(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, B.jsx)(LL, { name: r }),
+ /* @__PURE__ */ (0, B.jsx)(IL, { name: r }),
n,
- /* @__PURE__ */ (0, B.jsx)(RL, {
+ /* @__PURE__ */ (0, B.jsx)(LL, {
scope: e,
- count: t ? ML(t, e) : 0
+ count: t ? jL(t, e) : 0
})
]
}, e || "all")),
@@ -47335,9 +47370,9 @@ function B_e({ route: e, page: t, failed: n, onNavigate: r }) {
"aria-current": s === "dismissed" ? "page" : void 0,
onPointerEnter: s === "dismissed" ? void 0 : c.hover,
children: [
- /* @__PURE__ */ (0, B.jsx)(LL, { name: l.glyph }),
+ /* @__PURE__ */ (0, B.jsx)(IL, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, B.jsx)(RL, {
+ /* @__PURE__ */ (0, B.jsx)(LL, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -47350,33 +47385,33 @@ function B_e({ route: e, page: t, failed: n, onNavigate: r }) {
}
//#endregion
//#region src/react/junk-queue/junk-queue-page.tsx
-var V_e = CA("check"), H_e = (e, t) => e[1] === t.view && e[2] === t.kind;
-function U_e(e) {
+var U_e = SA("check"), W_e = (e, t) => e[1] === t.view && e[2] === t.kind;
+function G_e(e) {
let t = {
kind: e.kind,
view: e.view
- }, n = wS({
- queryKey: N_e(t, e.revision),
- queryFn: ({ signal: e }) => F_e(t, e),
- placeholderData: (e, n) => n && H_e(n.queryKey, t) ? e : void 0
+ }, n = CS({
+ queryKey: F_e(t, e.revision),
+ queryFn: ({ signal: e }) => L_e(t, e),
+ placeholderData: (e, n) => n && W_e(n.queryKey, t) ? e : void 0
});
(0, R.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = W_e(e.countRow), i = n.isPending;
+ let r = K_e(e.countRow), i = n.isPending;
(0, R.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, R.useLayoutEffect)(() => {
r && n.data && Ue(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(B_e, {
+ let { navigate: a } = e.actions, o = r ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)(H_e, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [o, /* @__PURE__ */ (0, B.jsx)(G_e, {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [o, /* @__PURE__ */ (0, B.jsx)(q_e, {
props: e,
data: n.data,
pending: i,
@@ -47384,7 +47419,7 @@ function U_e(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function W_e(e) {
+function K_e(e) {
let [t, n] = (0, R.useState)(null);
return (0, R.useLayoutEffect)(() => {
if (!e) return;
@@ -47394,8 +47429,8 @@ function W_e(e) {
};
}, [e]), t;
}
-function G_e({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = MA(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, R.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, R.useCallback)(() => {
+function q_e({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = jA(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, R.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, R.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -47403,14 +47438,14 @@ function G_e({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-grid-reveal": a.fading ? "" : void 0,
children: [a.layer, (() => {
if (n) return null;
- if (!t) return /* @__PURE__ */ (0, B.jsx)(NA, {
+ if (!t) return /* @__PURE__ */ (0, B.jsx)(MA, {
message: Te(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: V_e,
+ return /* @__PURE__ */ (0, B.jsx)(kE, {
+ icon: U_e,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
children: t ? "点“不是垃圾”的资源会保留在这里,可随时重新判断。" : "当前分类没有候选文件。"
});
@@ -47419,7 +47454,7 @@ function G_e({ props: e, data: t, pending: n, error: r, retry: i }) {
"data-media-grid": "",
"data-junk-grid": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: u.map((t) => /* @__PURE__ */ (0, B.jsx)(L_e, {
+ children: u.map((t) => /* @__PURE__ */ (0, B.jsx)(z_e, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -47427,11 +47462,11 @@ function G_e({ props: e, data: t, pending: n, error: r, retry: i }) {
helpers: e.helpers,
actions: e.actions
}, t.id))
- }), u.length < l.length ? /* @__PURE__ */ (0, B.jsx)(K_e, { onMore: f }, s) : null] });
+ }), u.length < l.length ? /* @__PURE__ */ (0, B.jsx)(J_e, { onMore: f }, s) : null] });
})()]
});
}
-function K_e({ onMore: e }) {
+function J_e({ onMore: e }) {
let t = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
let n = t.current;
@@ -47449,12 +47484,12 @@ function K_e({ onMore: e }) {
}
//#endregion
//#region src/react/library-processing/library-processing-notice.tsx
-var zL = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", q_e = {
- gray: `${zL} border-separator-border bg-background-secondary-default text-text-secondary`,
- warning: `${zL} border-current/35 bg-status-yellow-background text-status-yellow-text`,
- error: `${zL} border-current/35 bg-background-tertiary-error text-text-error-primary`
+var RL = "flex min-h-10 flex-wrap items-center justify-center gap-x-4 gap-y-2 border-y px-6 py-2 max-sm:justify-start", Y_e = {
+ gray: `${RL} border-separator-border bg-background-secondary-default text-text-secondary`,
+ warning: `${RL} border-current/35 bg-status-yellow-background text-status-yellow-text`,
+ error: `${RL} border-current/35 bg-background-tertiary-error text-text-error-primary`
};
-function J_e({ value: e, max: t }) {
+function X_e({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, B.jsxs)("svg", {
role: "progressbar",
@@ -47482,16 +47517,16 @@ function J_e({ value: e, max: t }) {
})]
});
}
-function Y_e(e) {
- let { job: t } = RM(e), n = t.data, r = t.isError ? n ? rj : U(t.error) : "", i = n?.status ?? "idle", a = i === "failed", o = i === "running";
+function Z_e(e) {
+ let { job: t } = LM(e), n = t.data, r = t.isError ? n ? nj : U(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 ? "扫描与资料采集未完成" : aj(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? sae : Qie;
+ let s = a ? "error" : r || n?.stalled ? "warning" : "gray", c = n?.checked || 0, l = n?.total || 0, u = r || (a ? "扫描与资料采集未完成" : ij(n) + (l ? ` · ${c} / ${l}` : "")), d = s === "gray" ? cae : $ie;
return /* @__PURE__ */ (0, B.jsxs)("aside", {
role: a ? "alert" : "status",
- className: q_e[s],
+ className: Y_e[s],
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [o && l ? /* @__PURE__ */ (0, B.jsx)(J_e, {
+ children: [o && l ? /* @__PURE__ */ (0, B.jsx)(X_e, {
value: c,
max: l
}) : /* @__PURE__ */ (0, B.jsx)(d, {
@@ -47501,42 +47536,42 @@ function Y_e(e) {
className: "min-w-0 text-body-2-regular",
children: u
})]
- }), /* @__PURE__ */ (0, B.jsx)(Nk, {
+ }), /* @__PURE__ */ (0, B.jsx)(Mk, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: hT,
+ trailingIcon: mT,
children: r || a ? "查看并处理" : "查看进度"
})]
});
}
//#endregion
//#region src/react/playlists/playlists.ts
-var X_e = "/api/playlists", BL = "/api/playlist", VL = ["playlists"], HL = (e) => W(X_e, e);
-async function Z_e(e) {
+var Q_e = "/api/playlists", zL = "/api/playlist", BL = ["playlists"], VL = (e) => W(Q_e, e);
+async function $_e(e) {
await p.fetchQuery({
- queryKey: VL,
- queryFn: () => HL(e),
+ queryKey: BL,
+ queryFn: () => VL(e),
staleTime: 0
});
}
-var UL = () => p.invalidateQueries({
- queryKey: VL,
+var HL = () => p.invalidateQueries({
+ queryKey: BL,
exact: !0
-}), Q_e = (e) => e.current_asset_id || e.preview_asset_id || null, WL = (e) => `/poster?id=${e}&c=4`, $_e = (e) => G(BL, {
+}), eve = (e) => e.current_asset_id || e.preview_asset_id || null, UL = (e) => `/poster?id=${e}&c=4`, tve = (e) => G(zL, {
action: "create",
name: e,
asset_ids: []
-}), GL = (e, t) => G(BL, {
+}), WL = (e, t) => G(zL, {
action: "rename",
id: e,
name: t
-}), KL = (e) => G(BL, {
+}), GL = (e) => G(zL, {
action: "delete",
id: e
-}), eve = (e) => W(`${BL}?id=${e}`).catch(() => null);
-function tve(e) {
+}), nve = (e) => W(`${zL}?id=${e}`).catch(() => null);
+function rve(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return G(BL, {
+ return G(zL, {
action: "create",
name: e.name,
asset_ids: t,
@@ -47546,18 +47581,18 @@ function tve(e) {
}
//#endregion
//#region src/react/playlists/playlists-page.tsx
-var nve = CA("ellipsis"), rve = CA("pencil"), ive = CA("trash"), ave = CA("playlist"), qL = CE(wk, Tk, "text-body-2-medium"), JL = "播放列表名称不能为空", YL = (e) => async () => {
+var ive = SA("ellipsis"), ave = SA("pencil"), ove = SA("trash"), sve = SA("playlist"), KL = SE(Ck, wk, "text-body-2-medium"), qL = "播放列表名称不能为空", JL = (e) => async () => {
try {
await e();
} finally {
- UL();
+ HL();
}
};
-function ove({ toast: e }) {
- let [t, n] = (0, R.useState)(""), [r, i] = (0, R.useState)(""), a = DS({
- mutationFn: (e) => $_e(e),
+function cve({ toast: e }) {
+ let [t, n] = (0, R.useState)(""), [r, i] = (0, R.useState)(""), a = ES({
+ mutationFn: (e) => tve(e),
onSuccess: (t) => {
- n(""), i(""), UL(), e("已新建播放列表", { undo: YL(() => KL(t.playlist.id)) });
+ n(""), i(""), HL(), e("已新建播放列表", { undo: JL(() => GL(t.playlist.id)) });
},
onError: (e) => i(U(e) || "新建失败")
});
@@ -47567,7 +47602,7 @@ function ove({ toast: e }) {
onSubmit: (e) => {
if (e.preventDefault(), !a.isPending) {
if (!t.trim()) {
- i(JL);
+ i(qL);
return;
}
a.mutate(t);
@@ -47576,7 +47611,7 @@ function ove({ toast: e }) {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none",
- children: /* @__PURE__ */ (0, B.jsx)(Sk, {
+ children: /* @__PURE__ */ (0, B.jsx)(xk, {
label: "新播放列表",
placeholder: "输入名称",
maxLength: 80,
@@ -47595,7 +47630,7 @@ function ove({ toast: e }) {
})]
});
}
-function sve({ target: e, close: t, toast: n }) {
+function lve({ target: e, close: t, toast: n }) {
let [r, i] = (0, R.useState)(""), [a, o] = (0, R.useState)(""), s = (0, R.useRef)(null);
(0, R.useEffect)(() => {
if (!e) return;
@@ -47605,14 +47640,14 @@ function sve({ target: e, close: t, toast: n }) {
});
return () => cancelAnimationFrame(t);
}, [e]);
- let c = DS({
- mutationFn: ({ row: e, value: t }) => GL(e.id, t),
+ let c = ES({
+ mutationFn: ({ row: e, value: t }) => WL(e.id, t),
onSuccess: (e, { row: r }) => {
- t(), UL(), n("已重命名播放列表", { undo: YL(() => GL(r.id, r.name)) });
+ t(), HL(), n("已重命名播放列表", { undo: JL(() => WL(r.id, r.name)) });
},
onError: (e) => o(U(e))
});
- return /* @__PURE__ */ (0, B.jsx)(rP, {
+ return /* @__PURE__ */ (0, B.jsx)(tP, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
@@ -47624,7 +47659,7 @@ function sve({ target: e, close: t, toast: n }) {
if (t.preventDefault(), !e || c.isPending) return;
let n = r.trim();
if (!n) {
- o(JL);
+ o(qL);
return;
}
c.mutate({
@@ -47635,11 +47670,11 @@ function sve({ target: e, close: t, toast: n }) {
className: "flex min-h-0 flex-col",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-4 p-5",
- children: [/* @__PURE__ */ (0, B.jsx)(nD, {
+ children: [/* @__PURE__ */ (0, B.jsx)(tD, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "编辑名称"
- }), /* @__PURE__ */ (0, B.jsx)(Sk, {
+ }), /* @__PURE__ */ (0, B.jsx)(xk, {
ref: s,
label: "名称",
placeholder: "输入名称",
@@ -47667,7 +47702,7 @@ function sve({ target: e, close: t, toast: n }) {
})
});
}
-function cve({ name: e, onRename: t, onDelete: n }) {
+function uve({ name: e, onRename: t, onDelete: n }) {
let r = (0, R.useRef)(null), [i, a] = (0, R.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -47681,33 +47716,33 @@ function cve({ name: e, onRename: t, onDelete: n }) {
"data-playlist-menu": "",
onClick: () => a(!0),
className: "flex size-7.5 flex-none cursor-pointer items-center justify-center rounded-2lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary aria-expanded:bg-background-primary-hover aria-expanded:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
- children: /* @__PURE__ */ (0, B.jsx)(nve, {
+ children: /* @__PURE__ */ (0, B.jsx)(ive, {
"aria-hidden": !0,
className: "size-4.5"
})
- }), /* @__PURE__ */ (0, B.jsx)(xO, {
+ }), /* @__PURE__ */ (0, B.jsx)(bO, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: Ck,
- children: /* @__PURE__ */ (0, B.jsxs)(DM, {
+ className: Sk,
+ children: /* @__PURE__ */ (0, B.jsxs)(EM, {
"aria-label": `播放列表操作:${e}`,
className: "flex w-37.5 flex-col gap-0.5 outline-none",
children: [/* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
- className: qL,
+ className: KL,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, B.jsx)(rve, {
+ children: [/* @__PURE__ */ (0, B.jsx)(ave, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "编辑名称"]
}), /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
- className: qL,
+ className: KL,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, B.jsx)(ive, {
+ children: [/* @__PURE__ */ (0, B.jsx)(ove, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "删除播放列表"]
@@ -47715,13 +47750,13 @@ function cve({ name: e, onRename: t, onDelete: n }) {
})
})] });
}
-function lve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
- let a = wS({
- queryKey: VL,
- queryFn: ({ signal: e }) => HL(e)
+function dve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i }) {
+ let a = CS({
+ queryKey: BL,
+ queryFn: ({ signal: e }) => VL(e)
}), [o, s] = (0, R.useState)(null), c = (0, R.useRef)(i);
(0, R.useEffect)(() => {
- c.current !== i && (c.current = i, UL());
+ c.current !== i && (c.current = i, HL());
}, [i]);
let l = a.data;
if (!l) return /* @__PURE__ */ (0, B.jsx)("div", {
@@ -47739,8 +47774,8 @@ function lve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
confirmLabel: "删除播放列表",
danger: !0,
onConfirm: async () => {
- let t = await eve(e.id);
- await KL(e.id), UL(), r("已删除播放列表", t ? { undo: YL(() => tve(t)) } : void 0);
+ let t = await nve(e.id);
+ await GL(e.id), HL(), r("已删除播放列表", t ? { undo: JL(() => rve(t)) } : void 0);
}
});
};
@@ -47755,38 +47790,38 @@ function lve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}), /* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "保存 Mix,按自己的顺序继续播放。"
- })] }), /* @__PURE__ */ (0, B.jsx)(ove, { toast: r })]
+ })] }), /* @__PURE__ */ (0, B.jsx)(cve, { toast: r })]
}),
u.length ? /* @__PURE__ */ (0, B.jsx)("div", {
"data-playlist-grid": "",
className: "card-grid-cover gap-4.5",
children: u.map((r) => {
- let i = Q_e(r);
- return /* @__PURE__ */ (0, B.jsx)(HA, {
+ let i = eve(r);
+ return /* @__PURE__ */ (0, B.jsx)(VA, {
"data-playlist-card": String(r.id),
name: r.name,
caption: r.source_kind === "mix" ? "由 Mix 保存" : "手动播放列表",
count: r.item_count,
- poster: r.preview_asset_id ? WL(r.preview_asset_id) : null,
- flipImages: async () => (r.preview_ids || []).map(WL),
+ poster: r.preview_asset_id ? UL(r.preview_asset_id) : null,
+ flipImages: async () => (r.preview_ids || []).map(UL),
canFlip: n,
faces: r.faces || [],
onOpenEntity: t,
...i ? { onOpen: () => e(r.id, i) } : {},
openLabel: `打开播放列表 ${r.name}`,
- menu: /* @__PURE__ */ (0, B.jsx)(cve, {
+ menu: /* @__PURE__ */ (0, B.jsx)(uve, {
name: r.name,
onRename: () => s(r),
onDelete: () => d(r)
})
}, r.id);
})
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: ave,
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ icon: sve,
title: "还没有播放列表",
children: "保存 Mix 或新建列表后,会在这里按自己的顺序继续播放。"
}),
- /* @__PURE__ */ (0, B.jsx)(sve, {
+ /* @__PURE__ */ (0, B.jsx)(lve, {
target: o,
close: () => s(null),
toast: r
@@ -47796,11 +47831,11 @@ function lve({ openPlaylist: e, openEntity: t, canFlip: n, toast: r, revision: i
}
//#endregion
//#region src/react/quality-goals/quality-goals-page.tsx
-function uve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
+function fve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDisplayName: i, srcBadge: a }) {
let o = () => t(e.id);
return /* @__PURE__ */ (0, B.jsxs)("li", {
"data-goal-id": e.id,
- className: kE({
+ className: OE({
padding: "none",
bordered: "soft",
className: "flex flex-col gap-3 p-3"
@@ -47816,7 +47851,7 @@ function uve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
className: "text-caption-1-regular text-text-secondary",
children: "暂无预览"
}), /* @__PURE__ */ (0, B.jsx)("img", {
- src: nue(e),
+ src: rue(e),
alt: "",
loading: "lazy",
onError: (e) => e.currentTarget.remove(),
@@ -47874,38 +47909,38 @@ function uve({ item: e, openItem: t, searchResources: n, javTitleHtml: r, javDis
})]
});
}
-function dve(e) {
- let t = wS({
- queryKey: pj,
- queryFn: ({ signal: e }) => mj(e)
+function pve(e) {
+ let t = CS({
+ queryKey: fj,
+ queryFn: ({ signal: e }) => pj(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ if (!n) return /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "高清版目标读取失败",
children: t.error ? U(t.error) : "未取得高清版目标,请刷新页面重试。"
}) });
let r = n.items || [];
- return r.length ? /* @__PURE__ */ (0, B.jsxs)(ME, { children: [/* @__PURE__ */ (0, B.jsx)(DP, {
+ return r.length ? /* @__PURE__ */ (0, B.jsxs)(jE, { children: [/* @__PURE__ */ (0, B.jsx)(EP, {
label: "待升级",
figure: `${n.total} 部作品`,
flush: !0
}), /* @__PURE__ */ (0, B.jsx)("ul", {
className: "card-grid-cover gap-5",
- children: r.map((t) => /* @__PURE__ */ (0, B.jsx)(uve, {
+ children: r.map((t) => /* @__PURE__ */ (0, B.jsx)(fve, {
item: t,
...e
}, t.id))
- })] }) : /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(AE, {
+ })] }) : /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: _ae,
+ icon: vae,
title: "没有标记中的高清版目标",
children: "现有版本都已满足条件,或还没有加入追踪。"
}) });
}
//#endregion
//#region src/react/review/bulk-toolbar.tsx
-function fve(e) {
- let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = pue(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
+function mve(e) {
+ let { groupOptions: t, groupBy: n, onGroupBy: r, groups: i, filter: a, onFilter: o, pageKeys: s, selected: c, onSelected: l, selectedRows: u, metadata: d, approvable: f, busy: p, feedback: m, onUnifySource: h, onRun: g } = e, _ = s.filter((e) => c.has(e)), v = _.length > 0 && _.length === s.length, y = mue(u), b = d && u.some((e) => (e.candidates?.length || 0) > 1), x = y.length ? "统一选择来源" : "所选项目无共同来源";
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("div", {
role: "group",
"aria-label": "复核筛选",
@@ -47913,29 +47948,29 @@ function fve(e) {
"data-glass-pane": "",
className: "sticky top-topbar z-10 flex flex-wrap items-center gap-2 p-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(Dk, {
+ /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "筛选分组方式",
size: "sm",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: t.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: t.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e,
children: t
}, e))
}),
- i.length > 1 ? /* @__PURE__ */ (0, B.jsxs)(Dk, {
+ i.length > 1 ? /* @__PURE__ */ (0, B.jsxs)(Ek, {
"aria-label": n === "field" ? "筛选字段分类" : "筛选当前分类",
size: "sm",
selectedKey: a || "*",
onSelectionChange: (e) => {
e !== null && o(String(e) === "*" ? "" : String(e));
},
- children: [/* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Dk, {
id: "*",
children: "全部分类"
- }), i.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ }), i.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e.key,
children: `${e.title} · ${e.rows.length}`
}, e.key))]
@@ -47943,7 +47978,7 @@ function fve(e) {
/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: vT,
+ leadingIcon: _T,
"aria-pressed": v,
disabled: p || !s.length,
onClick: () => {
@@ -47954,12 +47989,12 @@ function fve(e) {
children: v ? "清空当前选择" : a ? "全选当前分类" : "全选本页"
})
]
- }), /* @__PURE__ */ (0, B.jsxs)(oS, {
+ }), /* @__PURE__ */ (0, B.jsxs)(aS, {
label: "复核所选项目",
visible: c.size > 0,
count: `已选 ${c.size} 项`,
children: [
- b ? /* @__PURE__ */ (0, B.jsxs)(Dk, {
+ b ? /* @__PURE__ */ (0, B.jsxs)(Ek, {
"aria-label": "统一选择来源",
size: "sm",
selectedKey: "",
@@ -47967,10 +48002,10 @@ function fve(e) {
onSelectionChange: (e) => {
e !== null && e !== "" && h(String(e));
},
- children: [/* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Dk, {
id: "",
children: x
- }), y.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ }), y.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e,
children: e
}, e))]
@@ -48006,7 +48041,7 @@ function fve(e) {
}
//#endregion
//#region src/react/review/candidate-form.tsx
-var pve = {
+var hve = {
title: "标题",
original_title: "原标题",
runtime: "来源时长",
@@ -48016,14 +48051,14 @@ var pve = {
cover_url: "封面",
screenshot_urls: "截图",
trailer_url: "预告片"
-}, XL = "reviewgenretags";
-function mve({ tags: e }) {
+}, YL = "reviewgenretags";
+function gve({ tags: e }) {
return e.length ? /* @__PURE__ */ (0, B.jsx)("datalist", {
- id: XL,
+ id: YL,
children: e.map((e) => /* @__PURE__ */ (0, B.jsx)("option", { value: e }, e))
}) : null;
}
-function ZL({ candidate: e, selectable: t = !1 }) {
+function XL({ candidate: e, selectable: t = !1 }) {
let n = Object.entries(e.catalog_evidence || {}).filter(([, e]) => e && e.display_value), r = e.content_id || e.provider_id;
return /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col",
@@ -48060,7 +48095,7 @@ function ZL({ candidate: e, selectable: t = !1 }) {
children: [
/* @__PURE__ */ (0, B.jsx)("dt", {
className: "text-body-2-regular text-text-secondary",
- children: pve[e] || e
+ children: hve[e] || e
}),
/* @__PURE__ */ (0, B.jsx)("dd", {
className: "min-w-0 text-body-2-regular break-words text-text-primary",
@@ -48075,36 +48110,36 @@ function ZL({ candidate: e, selectable: t = !1 }) {
}) : null]
});
}
-function hve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
+function _ve({ row: e, fieldName: t, value: n, onChange: r, locked: i }) {
let a = e.candidates || [];
return a.length ? a.length === 1 ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default",
- children: /* @__PURE__ */ (0, B.jsx)(ZL, { candidate: a[0] })
- }) : /* @__PURE__ */ (0, B.jsx)(zO, {
+ children: /* @__PURE__ */ (0, B.jsx)(XL, { candidate: a[0] })
+ }) : /* @__PURE__ */ (0, B.jsx)(RO, {
"aria-label": `${t || "候选"}的来源`,
value: n,
isDisabled: i,
onChange: r,
className: "flex flex-col gap-2",
- children: a.map((e) => /* @__PURE__ */ (0, B.jsx)(BO, {
+ children: a.map((e) => /* @__PURE__ */ (0, B.jsx)(zO, {
value: e.candidate_key,
className: "group flex cursor-pointer items-center gap-2 overflow-hidden rounded-surface border border-separator-border bg-background-secondary-default outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:border-border-button-active data-disabled:cursor-not-allowed",
- children: /* @__PURE__ */ (0, B.jsx)(ZL, {
+ children: /* @__PURE__ */ (0, B.jsx)(XL, {
candidate: e,
selectable: !0
})
}, e.candidate_key))
}) : null;
}
-function gve({ genre: e, tags: t, locked: n, toast: r }) {
- let [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), c = DS({
- mutationFn: (t) => xue(e, t),
+function vve({ genre: e, tags: t, locked: n, toast: r }) {
+ let [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), c = ES({
+ mutationFn: (t) => Sue(e, t),
onSuccess: async (t, n) => {
if (!t.ok) {
s(t.error || "服务端拒绝了这次收录");
return;
}
- r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Sue();
+ r(n ? `已把「${e}」收录为标签「${n}」` : `已把「${e}」判为非内容标签`), await Cue();
},
onError: (e) => s(U(e))
}), l = () => {
@@ -48123,16 +48158,16 @@ function gve({ genre: e, tags: t, locked: n, toast: r }) {
className: "text-body-medium text-text-primary",
children: e
}),
- /* @__PURE__ */ (0, B.jsx)(yk, {
+ /* @__PURE__ */ (0, B.jsx)(vk, {
"aria-label": `「${e}」收录成的中文标签`,
value: i,
onChange: a,
maxLength: 40,
isDisabled: n || c.isPending,
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, B.jsx)(xk, {
+ children: /* @__PURE__ */ (0, B.jsx)(bk, {
size: "small",
- list: t.length ? XL : void 0,
+ list: t.length ? YL : void 0,
autoComplete: "off",
placeholder: "中文标签",
onKeyDown: (e) => {
@@ -48164,8 +48199,8 @@ function gve({ genre: e, tags: t, locked: n, toast: r }) {
]
});
}
-function _ve({ row: e, tags: t, locked: n, toast: r }) {
- let i = vue(e);
+function yve({ row: e, tags: t, locked: n, toast: r }) {
+ let i = yue(e);
return i.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
role: "group",
"aria-label": "未收录 genre",
@@ -48173,7 +48208,7 @@ function _ve({ row: e, tags: t, locked: n, toast: r }) {
children: [/* @__PURE__ */ (0, B.jsx)("h5", {
className: "text-body-2-medium text-text-secondary",
children: `未收录 genre · ${i.length}`
- }), i.map((e) => /* @__PURE__ */ (0, B.jsx)(gve, {
+ }), i.map((e) => /* @__PURE__ */ (0, B.jsx)(vve, {
genre: e,
tags: t,
locked: n,
@@ -48183,9 +48218,9 @@ function _ve({ row: e, tags: t, locked: n, toast: r }) {
}
//#endregion
//#region src/react/review/review-evidence.tsx
-var QL = (e = "") => /^https?:\/\//i.test(e) ? e : "", vve = (e = "") => QL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
-function $L({ url: e }) {
- let t = vve(e || ""), [n, r] = (0, R.useState)(!1);
+var ZL = (e = "") => /^https?:\/\//i.test(e) ? e : "", bve = (e = "") => ZL(e) || (e.startsWith("/") && !e.startsWith("//") ? e : "");
+function QL({ url: e }) {
+ let t = bve(e || ""), [n, r] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex h-review-image items-center justify-center overflow-hidden rounded-surface bg-background-secondary-default",
children: t && !n ? /* @__PURE__ */ (0, B.jsx)("img", {
@@ -48200,7 +48235,7 @@ function $L({ url: e }) {
})
});
}
-function eR({ asset: e, openItem: t }) {
+function $L({ asset: e, openItem: t }) {
let n = e.name || "";
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 items-center gap-2.5 rounded-surface bg-background-secondary-default p-2",
@@ -48226,21 +48261,21 @@ function eR({ asset: e, openItem: t }) {
}), /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: uae,
+ leadingIcon: dae,
onClick: () => t(e.id),
children: "打开原视频"
})]
})]
});
}
-function yve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
+function xve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"aria-label": `打开创作者页:${t}`,
onClick: () => i(e, t),
- className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${oL}`,
+ className: `relative inline-grid size-11 shrink-0 cursor-pointer place-items-center overflow-hidden rounded-full bg-background-secondary-default text-caption-1-medium text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring ${aL}`,
dangerouslySetInnerHTML: { __html: r }
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-col items-start",
@@ -48256,8 +48291,8 @@ function yve({ kind: e, name: t, works: n, avatar: r, openEntity: i }) {
})]
});
}
-function bve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
- let o = QL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
+function Sve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, note: a }) {
+ let o = ZL(e.profile_url || ""), s = (e.preview_assets || []).slice(0, 6), c = Math.max(0, Number(e.video_count || e.videos || 0));
return /* @__PURE__ */ (0, B.jsxs)("section", {
className: "flex flex-col gap-3",
children: [
@@ -48267,10 +48302,10 @@ function bve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [o ? /* @__PURE__ */ (0, B.jsx)(OE, {
+ children: [o ? /* @__PURE__ */ (0, B.jsx)(DE, {
variant: "secondary",
size: "small",
- trailingIcon: wT,
+ trailingIcon: CT,
href: o,
target: "_blank",
rel: "noopener noreferrer",
@@ -48282,7 +48317,7 @@ function bve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
children: `查看全部 ${c.toLocaleString()} 部作品`
})]
}),
- /* @__PURE__ */ (0, B.jsx)($L, { url: e.preview_url }),
+ /* @__PURE__ */ (0, B.jsx)(QL, { url: e.preview_url }),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "通过后记录身份判断。"
@@ -48325,7 +48360,7 @@ function bve({ row: e, openItem: t, openEntity: n, onReveal: r, revealing: i, no
]
});
}
-function xve({ assets: e, picked: t, onPicked: n, locked: r }) {
+function Cve({ assets: e, picked: t, onPicked: n, locked: r }) {
let [i, a] = (0, R.useState)(null), o = new Set(t), s = (t, s) => {
if (r) return;
let c = new Set(o);
@@ -48381,7 +48416,7 @@ function xve({ assets: e, picked: t, onPicked: n, locked: r }) {
}),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, B.jsx)(WM, {
+ children: /* @__PURE__ */ (0, B.jsx)(UM, {
size: "sm",
state: {
isSelected: n,
@@ -48401,19 +48436,19 @@ function xve({ assets: e, picked: t, onPicked: n, locked: r }) {
}
//#endregion
//#region src/react/review/review-card.tsx
-var Sve = kE({
+var wve = OE({
variant: "outlined",
padding: "none",
className: "flex flex-col gap-4 px-5 pt-4"
-}), tR = "flex min-h-6 min-w-0 items-center", Cve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
-function wve(e) {
- let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, R.useRef)(!1), m = NM(), h = NM(), g = t === "metadata_fields", _ = lue[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = hue(t, n), x = Tj(t, n), S = wj(t, n), C = gue(n), w = _ue(n), T = Cj(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", A = E.length > 1 ? /* @__PURE__ */ (0, B.jsx)("div", {
+}), eR = "flex min-h-6 min-w-0 items-center", Tve = (e) => e === "western_identity" ? "h-review-card-tall" : "h-review-card";
+function Eve(e) {
+ let { category: t, row: n, choice: r, onChoice: i, selected: a, onSelect: o, locked: s, busy: c, problem: l, genreTags: u, onDecide: d, handlers: f } = e, p = (0, R.useRef)(!1), m = MM(), h = MM(), g = t === "metadata_fields", _ = uue[t] || "", v = String(n.creator || "").trim(), y = !!_ && !!v, b = gue(t, n), x = wj(t, n), S = Cj(t, n), C = _ue(n), w = vue(n), T = Sj(t, n), E = n.comparison_assets || [], D = n.preview_assets || [], O = String(n.decision || "pending") !== "pending", A = E.length > 1 ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-col gap-3",
- children: E.map((e) => /* @__PURE__ */ (0, B.jsx)(eR, {
+ children: E.map((e) => /* @__PURE__ */ (0, B.jsx)($L, {
asset: e,
openItem: f.openItem
}, e.id))
- }) : y ? /* @__PURE__ */ (0, B.jsx)(yve, {
+ }) : y ? /* @__PURE__ */ (0, B.jsx)(xve, {
kind: _,
name: v,
works: Number(n.video_count || n.videos || 0),
@@ -48424,14 +48459,14 @@ function wve(e) {
image_version: n.image_version,
avatar_focus: n.avatar_focus
} : null, null, _)
- }) : n.asset_id ? /* @__PURE__ */ (0, B.jsx)(eR, {
+ }) : n.asset_id ? /* @__PURE__ */ (0, B.jsx)($L, {
openItem: f.openItem,
asset: {
id: n.asset_id,
name: n.asset_name,
preview_url: n.asset_preview_url
}
- }) : null, j = g ? /* @__PURE__ */ (0, B.jsx)(hve, {
+ }) : null, j = g ? /* @__PURE__ */ (0, B.jsx)(_ve, {
row: n,
fieldName: x,
value: r.candidateKey,
@@ -48440,7 +48475,7 @@ function wve(e) {
candidateKey: e
}),
locked: s
- }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, B.jsx)(xve, {
+ }) : t === "creator_tags" ? D.length ? /* @__PURE__ */ (0, B.jsx)(Cve, {
assets: D,
picked: r.assets,
locked: s,
@@ -48448,21 +48483,21 @@ function wve(e) {
...r,
assets: e
})
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "inset",
- icon: aae,
+ icon: oae,
title: "这批作品尚未抽帧",
children: `${n.video_count || ""} 条作品还没有可用预览;批准后仍会按候选写入标签。`
- }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, B.jsx)(bve, {
+ }) : t === "fc2_similarity" ? null : t === "western_identity" ? /* @__PURE__ */ (0, B.jsx)(Sve, {
row: n,
openItem: f.openItem,
openEntity: f.openEntity,
onReveal: f.onReveal,
revealing: f.revealing,
note: f.revealNote
- }) : /* @__PURE__ */ (0, B.jsx)($L, { url: n.preview_url }), M = y ? A : x ? /* @__PURE__ */ (0, B.jsxs)("h4", {
- className: `${tR} flex-wrap gap-2`,
- children: [/* @__PURE__ */ (0, B.jsx)(EE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(QL, { url: n.preview_url }), M = y ? A : x ? /* @__PURE__ */ (0, B.jsxs)("h4", {
+ className: `${eR} flex-wrap gap-2`,
+ children: [/* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: "blue",
children: x
@@ -48472,7 +48507,7 @@ function wve(e) {
children: S
})]
}) : /* @__PURE__ */ (0, B.jsx)("h4", {
- className: tR,
+ className: eR,
children: /* @__PURE__ */ (0, B.jsx)("span", {
title: b,
className: "min-w-0 truncate text-body-medium text-text-primary",
@@ -48482,20 +48517,20 @@ function wve(e) {
return /* @__PURE__ */ (0, B.jsxs)("section", {
"aria-label": b,
"data-review-key": n.item_key,
- className: `${Sve} ${Cve(t)} overflow-hidden`,
+ className: `${wve} ${Tve(t)} overflow-hidden`,
children: [
/* @__PURE__ */ (0, B.jsxs)("header", {
className: "flex min-w-0 shrink-0 items-start gap-2",
children: [
s ? null : /* @__PURE__ */ (0, B.jsx)("span", {
- className: `${tR} shrink-0`,
+ className: `${eR} shrink-0`,
onPointerDownCapture: (e) => {
p.current = e.shiftKey;
},
onKeyDownCapture: (e) => {
p.current = e.shiftKey;
},
- children: /* @__PURE__ */ (0, B.jsx)(GM, {
+ children: /* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: a,
"aria-label": `选择 ${b}`,
onChange: (e) => o(p.current, e)
@@ -48505,7 +48540,7 @@ function wve(e) {
className: "min-w-0 flex-1",
children: M
}),
- O ? /* @__PURE__ */ (0, B.jsx)(EE, {
+ O ? /* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: "neutral",
children: n.decision
@@ -48529,7 +48564,7 @@ function wve(e) {
!y && A ? A : null,
w.length || t === "creator_tags" ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-wrap gap-1",
- children: w.length ? w.map((e) => /* @__PURE__ */ (0, B.jsx)(EE, {
+ children: w.length ? w.map((e) => /* @__PURE__ */ (0, B.jsx)(TE, {
variant: "caption",
color: "soft",
children: e
@@ -48539,7 +48574,7 @@ function wve(e) {
})
}) : null,
j,
- /* @__PURE__ */ (0, B.jsx)(_ve, {
+ /* @__PURE__ */ (0, B.jsx)(yve, {
row: n,
tags: u,
locked: s,
@@ -48601,8 +48636,8 @@ function wve(e) {
}
//#endregion
//#region src/react/review/review-page.tsx
-var Tve = "flex cursor-pointer items-center justify-between gap-2";
-function Eve({ page: e, pages: t, onPage: n }) {
+var Dve = "flex cursor-pointer items-center justify-between gap-2";
+function Ove({ page: e, pages: t, onPage: n }) {
return t <= 1 ? null : /* @__PURE__ */ (0, B.jsxs)("nav", {
"aria-label": "复核分页",
className: "flex w-full flex-wrap items-center justify-between gap-2",
@@ -48616,7 +48651,7 @@ function Eve({ page: e, pages: t, onPage: n }) {
}),
/* @__PURE__ */ (0, B.jsx)("ul", {
className: "flex flex-wrap items-center gap-1",
- children: hj(e, t).map((t, r) => /* @__PURE__ */ (0, B.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, B.jsx)("span", {
+ children: mj(e, t).map((t, r) => /* @__PURE__ */ (0, B.jsx)("li", { children: t === "…" ? /* @__PURE__ */ (0, B.jsx)("span", {
"aria-hidden": !0,
className: "px-1 text-body-2-regular text-text-tertiary",
children: "…"
@@ -48639,48 +48674,48 @@ function Eve({ page: e, pages: t, onPage: n }) {
]
});
}
-function Dve(e) {
+function kve(e) {
let [t, n] = (0, R.useState)(() => matchMedia("(max-width:900px)").matches);
(0, R.useEffect)(() => {
let e = matchMedia("(max-width:900px)"), t = () => n(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, R.useState)(xj(e.category) ? e.category : cue), [p, m] = (0, R.useState)("candidates"), [h, g] = (0, R.useState)(""), [_, v] = (0, R.useState)(1), [y, b] = (0, R.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, R.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, R.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, R.useState)(""), D = (0, R.useRef)(null), [O, k] = (0, R.useState)(0), [A, j] = (0, R.useState)(""), M = (0, R.useRef)(!0);
+ let { route: r, openItem: i, openEntity: a, revealSource: o, toast: s, readOnly: c, readOnlyMessage: l, writerUrl: u } = e, [d, f] = (0, R.useState)(bj(e.category) ? e.category : lue), [p, m] = (0, R.useState)("candidates"), [h, g] = (0, R.useState)(""), [_, v] = (0, R.useState)(1), [y, b] = (0, R.useState)(/* @__PURE__ */ new Set()), [x, S] = (0, R.useState)(/* @__PURE__ */ new Map()), [C, w] = (0, R.useState)(/* @__PURE__ */ new Map()), [T, E] = (0, R.useState)(""), D = (0, R.useRef)(null), [O, k] = (0, R.useState)(0), [A, j] = (0, R.useState)(""), M = (0, R.useRef)(!0);
(0, R.useEffect)(() => () => {
M.current = !1;
}, []);
- let N = wS({
- queryKey: yj,
- queryFn: ({ signal: e }) => Dj(e)
+ let N = CS({
+ queryKey: vj,
+ queryFn: ({ signal: e }) => Ej(e)
}).data || {
sections: {},
counts: {}
- }, ee = N.sections[d] || [], te = d === "metadata_fields", P = c, F = uue(ee, te), ne = F.some(([e]) => e === p) ? p : "candidates", re = Sj(ee, ne), ie = re.some((e) => e.key === h) ? h : "", ae = fue(due(ee, ne, ie), _), oe = ae.rows.map((e) => e.item_key), se = new Set(oe), ce = re.map((e) => ({
+ }, ee = N.sections[d] || [], te = d === "metadata_fields", P = c, F = due(ee, te), ne = F.some(([e]) => e === p) ? p : "candidates", re = xj(ee, ne), ie = re.some((e) => e.key === h) ? h : "", ae = pue(fue(ee, ne, ie), _), oe = ae.rows.map((e) => e.item_key), se = new Set(oe), ce = re.map((e) => ({
...e,
rows: e.rows.filter((e) => se.has(e.item_key))
- })).filter((e) => e.rows.length), le = (e) => x.get(e.item_key) || yue(e), ue = ee.filter((e) => y.has(e.item_key)), de = (e) => {
+ })).filter((e) => e.rows.length), le = (e) => x.get(e.item_key) || bue(e), ue = ee.filter((e) => y.has(e.item_key)), de = (e) => {
let t = new Set(e);
b((e) => new Set([...e].filter((e) => !t.has(e)))), S((e) => new Map([...e].filter(([e]) => !t.has(e)))), w((e) => new Map([...e].filter(([e]) => !t.has(e))));
}, fe = (e, t) => w((n) => new Map(n).set(e, t)), I = (e) => {
f(e), m("candidates"), g(""), v(1), b(/* @__PURE__ */ new Set()), S(/* @__PURE__ */ new Map()), w(/* @__PURE__ */ new Map()), E(""), D.current = null, r({ category: e === "metadata_fields" ? "" : e });
- }, pe = DS({
- mutationFn: ({ row: e, status: t }) => Oj(Ej(d, e, t, le(e))),
+ }, pe = ES({
+ mutationFn: ({ row: e, status: t }) => Dj(Tj(d, e, t, le(e))),
onSuccess: (e, { row: t, status: n }) => {
if (!e.ok) {
fe(t.item_key, e.error || "服务端拒绝了这次判定");
return;
}
- Aj(d, [t.item_key]), de([t.item_key]), s(bue(n));
+ kj(d, [t.item_key]), de([t.item_key]), s(xue(n));
},
onError: (e, { row: t }) => fe(t.item_key, U(e))
- }), me = DS({
+ }), me = ES({
mutationFn: async (e) => {
let t = ue, n = [], r = [];
for (let [i, a] of t.entries()) {
if (!M.current) break;
E(`正在处理 ${i} / ${t.length}`);
try {
- let t = await Oj(Ej(d, a, e, le(a)));
+ let t = await Dj(Tj(d, a, e, le(a)));
if (!t.ok) throw Error(t.error || "服务端未采用该项");
n.push(a.item_key);
} catch (e) {
@@ -48694,7 +48729,7 @@ function Dve(e) {
};
},
onSuccess: ({ status: e, done: t, failures: n }) => {
- Aj(d, t), de(t), n.forEach(([e, t]) => fe(e, t)), E(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
+ kj(d, t), de(t), n.forEach(([e, t]) => fe(e, t)), E(""), s(`已${e === "approved" ? "通过" : "拒绝"} ${t.length} 项` + (n.length ? `,${n.length} 项未完成` : ""));
},
onError: (e) => {
E(U(e));
@@ -48724,7 +48759,7 @@ function Dve(e) {
k(e), j("");
let t = await o(e);
M.current && (k(0), j(t));
- }, ve = Cue(N.mirror, l), ye = N.genre_tags || [], be = {
+ }, ve = wue(N.mirror, l), ye = N.genre_tags || [], be = {
openItem: i,
openEntity: a,
onReveal: _e,
@@ -48732,7 +48767,7 @@ function Dve(e) {
revealNote: A,
toast: s
};
- return /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsxs)("div", {
+ return /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-5 pb-10",
children: [
P ? /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -48748,13 +48783,13 @@ function Dve(e) {
}) : void 0,
children: ve
}) : null,
- /* @__PURE__ */ (0, B.jsx)(mve, { tags: ye }),
- /* @__PURE__ */ (0, B.jsxs)(mk, {
+ /* @__PURE__ */ (0, B.jsx)(gve, { tags: ye }),
+ /* @__PURE__ */ (0, B.jsxs)(pk, {
orientation: t ? "horizontal" : "vertical",
selectedKey: d,
onSelectionChange: (e) => {
let t = String(e);
- xj(t) && I(t);
+ bj(t) && I(t);
},
className: "flex flex-col gap-5 review-split:flex-row-reverse review-split:items-start review-split:gap-6",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -48763,27 +48798,27 @@ function Dve(e) {
children: [/* @__PURE__ */ (0, B.jsx)("h2", {
id: "reviewcategories",
children: "复核分类"
- }), /* @__PURE__ */ (0, B.jsx)(hk, {
+ }), /* @__PURE__ */ (0, B.jsx)(mk, {
"aria-labelledby": "reviewcategories",
"data-section-items": !0,
className: "flex review-split:flex-col review-split:items-stretch",
- children: sue.map((e) => {
+ children: cue.map((e) => {
let t = Number(N.counts[e] || 0);
- return /* @__PURE__ */ (0, B.jsxs)(gk, {
+ return /* @__PURE__ */ (0, B.jsxs)(hk, {
id: e,
- className: Tve,
- children: [bj[e], t ? /* @__PURE__ */ (0, B.jsx)("span", {
+ className: Dve,
+ children: [yj[e], t ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "tabular-nums text-caption-1-medium text-text-secondary",
children: t.toLocaleString()
}) : null]
}, e);
})
})]
- }), /* @__PURE__ */ (0, B.jsxs)(_k, {
+ }), /* @__PURE__ */ (0, B.jsxs)(gk, {
id: d,
className: "flex min-w-0 flex-1 flex-col gap-5",
children: [
- ee.length && !P ? /* @__PURE__ */ (0, B.jsx)(fve, {
+ ee.length && !P ? /* @__PURE__ */ (0, B.jsx)(mve, {
groupOptions: F,
groupBy: ne,
onGroupBy: (e) => {
@@ -48799,7 +48834,7 @@ function Dve(e) {
onSelected: b,
selectedRows: ue,
metadata: te,
- approvable: ue.every((e) => Cj(d, e)),
+ approvable: ue.every((e) => Sj(d, e)),
busy: me.isPending,
feedback: T,
onUnifySource: ge,
@@ -48824,7 +48859,7 @@ function Dve(e) {
})]
}) : null, /* @__PURE__ */ (0, B.jsx)("div", {
className: "review-grid gap-5",
- children: e.rows.map((e) => /* @__PURE__ */ (0, B.jsx)(wve, {
+ children: e.rows.map((e) => /* @__PURE__ */ (0, B.jsx)(Eve, {
category: d,
row: e,
choice: le(e),
@@ -48832,7 +48867,7 @@ function Dve(e) {
selected: y.has(e.item_key),
onSelect: (t, n) => b((r) => {
let i = new Set(r);
- return D.current = mue(i, oe, D.current, e.item_key, t, n), i;
+ return D.current = hue(i, oe, D.current, e.item_key, t, n), i;
}),
locked: P,
busy: pe.isPending && pe.variables?.row.item_key === e.item_key,
@@ -48847,12 +48882,12 @@ function Dve(e) {
handlers: be
}, e.item_key))
})]
- }, e.key)) : /* @__PURE__ */ (0, B.jsx)(AE, {
- icon: Zie,
+ }, e.key)) : /* @__PURE__ */ (0, B.jsx)(kE, {
+ icon: Qie,
title: "此分类没有待复核项目",
children: "可切换分类查看其他候选。"
}),
- /* @__PURE__ */ (0, B.jsx)(Eve, {
+ /* @__PURE__ */ (0, B.jsx)(Ove, {
page: ae.page,
pages: ae.pages,
onPage: v
@@ -48865,9 +48900,13 @@ function Dve(e) {
}
//#endregion
//#region src/react/scraping/scraping.ts
-var Ove = "/api/scraping", kve = "/api/scraping/settings", Ave = "/api/scraping/check", nR = "/api/scraping/cover", jve = "/api/scraping/amane-bridge", Mve = "/api/scraping/amane-bridge/check", Nve = "/api/scraping/amane-bridge/rebuild", rR = ["scraping"], iR = ["scraping", "cover"], aR = ["scraping", "amane-bridge"], oR = (e) => W(Ove, e), sR = (e) => W(nR, e), cR = (e) => W(jve, e);
-async function Pve(e) {
+var Ave = "/api/scraping", jve = "/api/scraping/settings", Mve = "/api/scraping/check", tR = "/api/scraping/cover", Nve = "/api/scraping/amane-bridge", Pve = "/api/scraping/amane-bridge/check", Fve = "/api/scraping/amane-bridge/rebuild", nR = ["scraping"], rR = ["scraping", "cover"], iR = ["scraping", "amane-bridge"], aR = (e) => W(Ave, e), oR = (e) => W(tR, e), sR = (e) => W(Nve, e);
+async function Ive(e) {
await Promise.all([
+ p.fetchQuery({
+ queryKey: nR,
+ queryFn: () => aR(e)
+ }),
p.fetchQuery({
queryKey: rR,
queryFn: () => oR(e)
@@ -48875,20 +48914,16 @@ async function Pve(e) {
p.fetchQuery({
queryKey: iR,
queryFn: () => sR(e)
- }),
- p.fetchQuery({
- queryKey: aR,
- queryFn: () => cR(e)
})
]);
}
-function Fve(e, t) {
+function Lve(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 Ive = [["peach", "Peach 代理"], ["direct", "直接连接"]], lR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
-function uR({ source: e }) {
+var Rve = [["peach", "Peach 代理"], ["direct", "直接连接"]], cR = [["paste", "粘贴 Cookie"], ["file", "导入文件"]];
+function lR({ source: e }) {
let t = [
"javten",
"fc2ppvdb",
@@ -48906,16 +48941,16 @@ function uR({ source: e }) {
className: "size-4 shrink-0 rounded-sm object-contain"
});
}
-function Lve() {
- return /* @__PURE__ */ (0, B.jsx)(uR, { source: "github" });
+function zve() {
+ return /* @__PURE__ */ (0, B.jsx)(lR, { source: "github" });
}
-function Rve({ source: e, toast: t }) {
- let [n, r] = (0, R.useState)(e.network), [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(lR[0][0]), [u, d] = (0, R.useState)(""), [f, m] = (0, R.useState)(""), h = (0, R.useRef)(null);
+function Bve({ source: e, toast: t }) {
+ let [n, r] = (0, R.useState)(e.network), [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(cR[0][0]), [u, d] = (0, R.useState)(""), [f, m] = (0, R.useState)(""), h = (0, R.useRef)(null);
function g() {
a(""), s(""), d(""), m(""), h.current && (h.current.value = "");
}
- let _ = DS({
- mutationFn: (t) => G(kve, {
+ let _ = ES({
+ mutationFn: (t) => G(jve, {
source: e.source,
network: n,
cookie: i,
@@ -48923,12 +48958,12 @@ function Rve({ source: e, toast: t }) {
revoke: t
}),
onSuccess: (e, n) => {
- p.setQueryData(rR, (t) => t && {
+ p.setQueryData(nR, (t) => t && {
...t,
sources: t.sources.map((t) => t.source === e.saved.source ? e.saved : t)
}), g(), t(n ? "Cookie 已撤销" : "来源设置已保存");
}
- }), v = DS({ mutationFn: () => G(Ave, { source: e.source }) }), y = _.isPending || v.isPending, b = (e) => {
+ }), v = ES({ mutationFn: () => G(Mve, { source: e.source }) }), y = _.isPending || v.isPending, b = (e) => {
e.preventDefault(), !y && (v.reset(), _.mutate(!1));
}, x = () => {
y || (v.reset(), _.mutate(!0));
@@ -48953,43 +48988,43 @@ function Rve({ source: e, toast: t }) {
}
}
let w = f || (_.error ? U(_.error) : "") || (v.error ? U(v.error) : ""), T = v.data?.results ?? [], E = n === "peach" || e.accepts_cookie || e.browser || !!w || T.length > 0;
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: e.label,
onSubmit: b,
aside: /* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-1",
- children: [/* @__PURE__ */ (0, B.jsx)(uR, { source: e.source }), /* @__PURE__ */ (0, B.jsx)(Vk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(lR, { source: e.source }), /* @__PURE__ */ (0, B.jsx)(Bk, {
href: e.login,
children: e.login
})]
}),
children: [
- /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [/* @__PURE__ */ (0, B.jsx)(jk, {
+ /* @__PURE__ */ (0, B.jsxs)(Pk, { children: [/* @__PURE__ */ (0, B.jsx)(Ak, {
label: "来源性质",
children: e.nature || "公开页面"
- }), /* @__PURE__ */ (0, B.jsx)(jk, {
+ }), /* @__PURE__ */ (0, B.jsx)(Ak, {
label: "连接方式",
- children: /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "连接方式",
selectedKey: n,
onSelectionChange: (e) => {
e !== null && r(String(e));
},
- children: Ive.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: Rve.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e,
children: t
}, e))
})
})] }),
- E ? /* @__PURE__ */ (0, B.jsxs)(Ik, {
+ E ? /* @__PURE__ */ (0, B.jsxs)(Fk, {
divided: !0,
children: [
n === "peach" ? /* @__PURE__ */ (0, B.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, B.jsx)(Nk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Mk, {
href: "/configuration#peachProxy",
size: "small",
- trailingIcon: hT,
+ trailingIcon: mT,
children: "配置 Peach 代理"
})
}) : null,
@@ -49002,20 +49037,20 @@ function Rve({ source: e, toast: t }) {
className: "text-body-2-regular text-text-secondary",
children: e.cookie_saved ? "Cookie 已保存;登录是否有效要到抓取时才知道。" : "需要登录时,任选一种方式提供 Cookie。"
}),
- /* @__PURE__ */ (0, B.jsx)(_A, {
+ /* @__PURE__ */ (0, B.jsx)(gA, {
"aria-label": "提供 Cookie 的方式(二选一)",
value: c,
onChange: (e) => {
l(e), g();
},
- className: vA,
- children: lR.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(BO, {
+ className: _A,
+ children: cR.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(zO, {
value: e,
- className: yA,
+ className: vA,
children: t
}, e))
}),
- c === "paste" ? /* @__PURE__ */ (0, B.jsx)(Sk, {
+ c === "paste" ? /* @__PURE__ */ (0, B.jsx)(xk, {
type: "password",
label: "Cookie",
autoComplete: "off",
@@ -49024,7 +49059,7 @@ function Rve({ source: e, toast: t }) {
}) : /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(Bk, { children: "Netscape Cookie 文件(.txt)" }),
+ /* @__PURE__ */ (0, B.jsx)(zk, { children: "Netscape Cookie 文件(.txt)" }),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-3",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
@@ -49050,14 +49085,14 @@ function Rve({ source: e, toast: t }) {
]
})
] }) : null,
- w ? /* @__PURE__ */ (0, B.jsx)(zk, { children: w }) : null,
+ w ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: w }) : null,
T.map((t) => /* @__PURE__ */ (0, B.jsx)(Y, {
tone: t.ok ? "success" : "error",
- children: Fve(t, e.label)
+ children: Lve(t, e.label)
}, t.label))
]
}) : null,
- /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [
+ /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
e.accepts_cookie && e.cookie_saved ? /* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
onClick: x,
@@ -49079,26 +49114,26 @@ function Rve({ source: e, toast: t }) {
]
});
}
-function zve({ toast: e }) {
- let [t, n] = (0, R.useState)(""), { running: r, outcome: i, start: a } = VM({
- queryKey: iR,
- queryFn: ({ signal: e }) => sR(e),
- start: () => G(nR, { code: t }),
+function Vve({ toast: e }) {
+ let [t, n] = (0, R.useState)(""), { running: r, outcome: i, start: a } = BM({
+ queryKey: rR,
+ queryFn: ({ signal: e }) => oR(e),
+ start: () => G(tR, { code: t }),
onFinish: (t) => {
t.status === "complete" && e(t.result || "封面采集完成");
}
}), o = (e) => {
e.preventDefault(), !(r || a.isPending || !t.trim()) && a.mutate();
}, s = a.error ? U(a.error) : i?.status === "failed" ? i.error || "采集未取得" : "";
- return /* @__PURE__ */ (0, B.jsx)(Pk, {
+ return /* @__PURE__ */ (0, B.jsx)(Nk, {
title: "高清封面",
onSubmit: o,
- children: /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ children: /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-end gap-2",
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, B.jsx)(Sk, {
+ children: /* @__PURE__ */ (0, B.jsx)(xk, {
"aria-label": "馆藏番号",
isRequired: !0,
isDisabled: r,
@@ -49113,7 +49148,7 @@ function zve({ toast: e }) {
children: "抓取封面"
})]
}),
- r ? /* @__PURE__ */ (0, B.jsx)(jE, { label: "正在抓取封面" }) : null,
+ r ? /* @__PURE__ */ (0, B.jsx)(AE, { label: "正在抓取封面" }) : null,
s ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: s
@@ -49125,11 +49160,11 @@ function zve({ toast: e }) {
] })
});
}
-function Bve({ toast: e }) {
- let { query: t, running: n, outcome: r, start: i } = VM({
- queryKey: aR,
- queryFn: ({ signal: e }) => cR(e),
- start: () => G(Nve, {}),
+function Hve({ toast: e }) {
+ let { query: t, running: n, outcome: r, start: i } = BM({
+ queryKey: iR,
+ queryFn: ({ signal: e }) => sR(e),
+ start: () => G(Fve, {}),
jobOf: (e) => e.job,
withJob: (e, t) => e && {
...e,
@@ -49138,45 +49173,45 @@ function Bve({ toast: e }) {
onFinish: (t) => {
t.status === "complete" && e(t.result || "amane 桥已重建");
}
- }), a = DS({ mutationFn: () => G(Mve, {}) }), o = t.data;
- if (!o) return t.error ? /* @__PURE__ */ (0, B.jsx)(Pk, {
+ }), a = ES({ mutationFn: () => G(Pve, {}) }), o = t.data;
+ if (!o) return t.error ? /* @__PURE__ */ (0, B.jsx)(Nk, {
title: "amane",
- children: /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ children: /* @__PURE__ */ (0, B.jsx)(Fk, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: U(t.error)
}) })
}) : null;
let s = n || i.isPending || a.isPending, c = i.error ? U(i.error) : a.error ? U(a.error) : r?.status === "failed" ? r.error || "重建未完成" : "";
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "amane",
- aside: /* @__PURE__ */ (0, B.jsx)(Vk, {
+ aside: /* @__PURE__ */ (0, B.jsx)(Bk, {
href: o.repository,
- leadingIcon: Lve,
+ leadingIcon: zve,
children: o.repository
}),
children: [
- /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "已安装版本",
children: o.installed_version || "未安装"
}),
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "上游最新版本",
children: a.data?.latest ?? "尚未检查"
}),
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "运行环境",
children: o.installed ? "已安装" : "未安装"
}),
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "内置站点",
children: o.sites.map((e) => e.label).join("、")
})
] }),
- /* @__PURE__ */ (0, B.jsxs)(Ik, {
+ /* @__PURE__ */ (0, B.jsxs)(Fk, {
divided: !0,
children: [
- /* @__PURE__ */ (0, B.jsxs)(Rk, { children: [
+ /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [
"已安装版本:",
o.installed_version || "未安装",
"。amane(",
@@ -49185,7 +49220,7 @@ function Bve({ toast: e }) {
o.version,
" 版本,不随上游自动升级。"
] }),
- n ? /* @__PURE__ */ (0, B.jsx)(jE, { label: "正在重建运行环境" }) : null,
+ n ? /* @__PURE__ */ (0, B.jsx)(AE, { label: "正在重建运行环境" }) : null,
c ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: c
@@ -49196,7 +49231,7 @@ function Bve({ toast: e }) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
+ /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
variant: "secondary",
onClick: () => {
s || a.mutate();
@@ -49213,23 +49248,23 @@ function Bve({ toast: e }) {
]
});
}
-function Vve({ toast: e }) {
- let t = wS({
- queryKey: rR,
- queryFn: ({ signal: e }) => oR(e)
+function Uve({ toast: e }) {
+ let t = CS({
+ queryKey: nR,
+ queryFn: ({ signal: e }) => aR(e)
}), n = t.data;
- return n ? /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
+ return n ? /* @__PURE__ */ (0, B.jsxs)(jE, { children: [
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: "高清图片可能要经代理才能下载,先检查连接。"
}),
- /* @__PURE__ */ (0, B.jsx)(zve, { toast: e }),
- (n.sources || []).map((t) => /* @__PURE__ */ (0, B.jsx)(Rve, {
+ /* @__PURE__ */ (0, B.jsx)(Vve, { toast: e }),
+ (n.sources || []).map((t) => /* @__PURE__ */ (0, B.jsx)(Bve, {
source: t,
toast: e
}, t.source)),
- /* @__PURE__ */ (0, B.jsx)(Bve, { toast: e })
- ] }) : /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ /* @__PURE__ */ (0, B.jsx)(Hve, { toast: e })
+ ] }) : /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "采集来源读取失败",
children: t.error ? U(t.error) : "读取采集来源失败"
@@ -49237,21 +49272,21 @@ function Vve({ toast: e }) {
}
//#endregion
//#region src/react/search/search.ts
-var dR = /* @__PURE__ */ new Set([
+var uR = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), fR = /* @__PURE__ */ new Set(["asset"]), pR = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function Hve({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
+]), dR = /* @__PURE__ */ new Set(["asset"]), fR = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function Wve({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o }) {
let s = 0, c = [], l = (e) => {
let t = {
...e,
index: s++
};
return c.push(t), t;
- }, u = t.filter((t) => !e || pR(t).includes(pR(e)));
+ }, u = t.filter((t) => !e || fR(t).includes(fR(e)));
if (!e) {
let e = u.length ? {
label: "搜索记录",
@@ -49289,7 +49324,7 @@ function Hve({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
kind: e.kind,
item: t
}))
- }), h = p.filter((e) => !fR.has(e.kind)).map(m), g = p.filter((e) => fR.has(e.kind)).map(m);
+ }), h = p.filter((e) => !dR.has(e.kind)).map(m), g = p.filter((e) => dR.has(e.kind)).map(m);
return {
tabs: d && a.length > 1 ? [...a] : null,
recent: f,
@@ -49298,17 +49333,17 @@ function Hve({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: c
};
}
-function Uve(e, t, n = Math.random) {
+function Gve(e, t, n = Math.random) {
let r = [...e];
for (let e = r.length - 1; e > 0; --e) {
let t = Math.floor(n() * (e + 1));
[r[e], r[t]] = [r[t], r[e]];
}
- return r.filter((e) => !t.some((t) => pR(t) === pR(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => fR(t) === fR(e))).slice(0, 5);
}
//#endregion
//#region src/react/search/search-page.tsx
-var Wve = () => ({
+var Kve = () => ({
history: [],
pool: [],
poolRequest: 0,
@@ -49323,7 +49358,7 @@ var Wve = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), mR = (e) => Hve({
+}), pR = (e) => Wve({
query: e.query,
history: e.history,
picks: e.picks,
@@ -49331,18 +49366,18 @@ var Wve = () => ({
groups: e.groups,
tabs: e.tabs,
kind: e.kind
-}), Gve = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), hR = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
+}), qve = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length), mR = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
});
-function Kve(e) {
+function Jve(e) {
let t = (0, R.useRef)(e);
t.current = e;
let n = (0, R.useRef)(null);
- n.current ??= Wve();
+ n.current ??= Kve();
let r = n.current, i = (0, R.useRef)(null), [, a] = (0, R.useReducer)((e) => e + 1, 0), o = (0, R.useRef)(null);
- o.current ??= qve(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= Yve(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, R.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus();
@@ -49355,7 +49390,7 @@ function Kve(e) {
let e = i.current?.closest("[data-search-menu]");
r.rewind && e && (e.scrollTop = 0), r.rewind = !1, r.reveal && i.current?.querySelector("[data-search-option][data-active]")?.scrollIntoView({ block: "nearest" }), r.reveal = !1;
});
- let c = mR(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, B.jsx)(Yve, {
+ let c = pR(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, B.jsx)(Zve, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -49375,7 +49410,7 @@ function Kve(e) {
"data-search-root": "",
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, B.jsx)(Jve, {
+ c.tabs ? /* @__PURE__ */ (0, B.jsx)(Xve, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -49396,7 +49431,7 @@ function Kve(e) {
]
});
}
-function qve(e, t, n, r) {
+function Yve(e, t, n, r) {
let i = () => e().input, a = () => document.activeElement === i(), o = () => t.history.slice(0, e().historyLimit), s = (n) => {
t.history = n.slice(0, e().historyLimit);
}, c = async () => {
@@ -49410,7 +49445,7 @@ function qve(e, t, n, r) {
t.history = Array.isArray(e.items) ? e.items.map(String) : [];
} catch {}
}, l = (t) => {
- !t || !e().historyLimit || (s([t, ...o().filter((e) => pR(e) !== pR(t))]), G("/api/search-history", { query: t }).catch(() => null));
+ !t || !e().historyLimit || (s([t, ...o().filter((e) => fR(e) !== fR(t))]), G("/api/search-history", { query: t }).catch(() => null));
}, u = async () => {
let n = ++t.poolRequest;
t.pool = [];
@@ -49443,9 +49478,9 @@ function qve(e, t, n, r) {
let i = n();
i && e().helpers.dismiss(i), t.active = -1, r();
}, m = () => {
- t.query = i().value.trim(), t.picks = t.query ? [] : Uve(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : Gve(t.pool, o()), t.active = -1;
let a = n();
- a && (Gve(mR(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (qve(pR(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, h = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -49457,7 +49492,7 @@ function qve(e, t, n, r) {
!n || e === t.kind || (t.kind = e, clearTimeout(t.timer), m(), t.rewind = !0, d(n, e).then(() => {
a() && t.kind === e && m();
}));
- }, _ = () => f() ? mR(t).options : [], v = (e) => {
+ }, _ = () => f() ? pR(t).options : [], v = (e) => {
let n = _();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, y = (t, n) => {
@@ -49470,7 +49505,7 @@ function qve(e, t, n, r) {
i().blur(), e().actions.openItem(t.item.id);
return;
}
- if (t.type === "suggest" && dR.has(t.kind)) {
+ if (t.type === "suggest" && uR.has(t.kind)) {
b(t.kind, t.value);
return;
}
@@ -49522,12 +49557,12 @@ function qve(e, t, n, r) {
await G("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => pR(t) !== pR(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => fR(t) !== fR(e))), t.active = -1, r();
},
pickKind: g
};
}
-function Jve({ tabs: e, kind: t, onPick: n, wire: r }) {
+function Xve({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, R.useRef)(null);
(0, R.useLayoutEffect)(() => {
r(i.current);
@@ -49539,7 +49574,7 @@ function Jve({ tabs: e, kind: t, onPick: n, wire: r }) {
"aria-selected": t === e,
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, B.jsx)(DL, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, B.jsx)(EL, { value: i }) : null]
}, e || "all");
return /* @__PURE__ */ (0, B.jsxs)("div", {
ref: i,
@@ -49549,8 +49584,8 @@ function Jve({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var gR = (e) => e.preventDefault();
-function Yve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+var hR = (e) => e.preventDefault();
+function Zve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -49562,28 +49597,28 @@ function Yve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, B.jsx)(hR, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, B.jsx)(mR, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, B.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: gR,
+ onMouseDown: hR,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, B.jsx)(hR, { name: "x" })
+ children: /* @__PURE__ */ (0, B.jsx)(mR, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = dR.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = uR.has(c) ? c : void 0;
if (c === "asset") {
let e = [s.who, s.code ? s.title : ""].filter(Boolean).join(" · ");
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-search-option": "work",
"data-open-item": s.id,
...o,
- children: [/* @__PURE__ */ (0, B.jsx)(_R, {
+ children: [/* @__PURE__ */ (0, B.jsx)(gR, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -49609,7 +49644,7 @@ function Yve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- /* @__PURE__ */ (0, B.jsx)(vR, {
+ /* @__PURE__ */ (0, B.jsx)(_R, {
item: s,
kind: c
}),
@@ -49629,11 +49664,11 @@ function Yve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-open-work": e.id,
"aria-label": `打开 ${e.code || s.value}`,
- onMouseDown: gR,
+ onMouseDown: hR,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, B.jsx)(_R, {
+ children: /* @__PURE__ */ (0, B.jsx)(gR, {
card: e,
helpers: n
})
@@ -49647,7 +49682,7 @@ function Yve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, B.jsx)(vR, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, B.jsx)(_R, {
item: s,
kind: c
}) : null,
@@ -49660,13 +49695,13 @@ function Yve({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function _R({ card: e, helpers: t }) {
+function gR({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, B.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function vR({ item: e, kind: t }) {
+function _R({ item: e, kind: t }) {
let n = {
id: e.entity_id,
has_image: e.has_image,
@@ -49681,24 +49716,24 @@ function vR({ item: e, kind: t }) {
}
//#endregion
//#region src/configuration-endpoints.ts
-var yR = "/api/configuration", Xve = "/api/pick-folder", bR = ["configuration"], xR = (e) => W(yR, e);
-async function SR(e) {
+var vR = "/api/configuration", Qve = "/api/pick-folder", yR = ["configuration"], bR = (e) => W(vR, e);
+async function xR(e) {
await p.fetchQuery({
- queryKey: bR,
- queryFn: () => xR(e)
+ queryKey: yR,
+ queryFn: () => bR(e)
});
}
//#endregion
//#region src/configuration-copy.ts
-var Zve = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", Qve = "仅填域名;留空使用默认地址";
+var $ve = "JavDB 或 MISSAV 无法访问时,可填写能访问的镜像域名,Peach 会保留人物页路径。 资料页只显示已有站点身份记录的入口;JavDB 和 MISSAV 还要求有 JAV 目录站记录。 缺少这些记录的 FC2 创作者不会显示这两个入口。", eye = "仅填域名;留空使用默认地址";
//#endregion
//#region src/react/settings/entry-links-settings.tsx
-function $ve({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e.sites), i = FE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function tye({ initial: e, receipt: t }) {
+ let [n, r] = (0, R.useState)(e.sites), i = PE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
} : n));
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "外部入口",
onSubmit: (e) => {
e.preventDefault();
@@ -49707,9 +49742,9 @@ function $ve({ initial: e, receipt: t }) {
r(e.sites), t("已保存配置");
});
},
- children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: Zve }),
- n.map((e) => /* @__PURE__ */ (0, B.jsx)(Sk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: $ve }),
+ n.map((e) => /* @__PURE__ */ (0, B.jsx)(xk, {
id: `entry-link-${e.key}`,
label: `${e.label} 地址`,
autoComplete: "off",
@@ -49718,10 +49753,10 @@ function $ve({ initial: e, receipt: t }) {
placeholder: e.default_host,
onChange: (t) => a(e.key, t),
validationBehavior: "aria",
- hint: Qve
+ hint: eye
}, e.key)),
- i.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ i.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
...X(i.busy === "save"),
children: "保存配置"
@@ -49730,21 +49765,21 @@ function $ve({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/general-settings.tsx
-function eye({ data: e, receipt: t }) {
+function nye({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-6",
- children: [e.startup ? /* @__PURE__ */ (0, B.jsx)(tye, {
+ children: [e.startup ? /* @__PURE__ */ (0, B.jsx)(rye, {
startup: e.startup,
receipt: t
- }) : null, e.entry_links ? /* @__PURE__ */ (0, B.jsx)($ve, {
+ }) : null, e.entry_links ? /* @__PURE__ */ (0, B.jsx)(tye, {
initial: e.entry_links,
receipt: t
}) : null]
});
}
-function tye({ startup: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e.enabled), [i, a] = (0, R.useState)(e.silent), [o, s] = (0, R.useState)(e.desktop), c = FE(), l = e.available && !e.desktop_message;
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+function rye({ startup: e, receipt: t }) {
+ let [n, r] = (0, R.useState)(e.enabled), [i, a] = (0, R.useState)(e.silent), [o, s] = (0, R.useState)(e.desktop), c = PE(), l = e.available && !e.desktop_message;
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "开机自启",
onSubmit: (r) => {
r.preventDefault(), e.available && c.run("save", (e) => G("/api/configuration/startup", {
@@ -49754,30 +49789,30 @@ function tye({ startup: e, receipt: t }) {
}, "POST", e), () => t("已保存配置"));
},
children: [
- /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
- /* @__PURE__ */ (0, B.jsx)(jk, {
+ /* @__PURE__ */ (0, B.jsxs)(Pk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Ak, {
label: "开机后启动 Peach",
- children: /* @__PURE__ */ (0, B.jsx)(aL, {
+ children: /* @__PURE__ */ (0, B.jsx)(iL, {
"aria-label": "开机后启动 Peach",
isSelected: n,
isDisabled: !e.available,
onChange: r
})
}),
- /* @__PURE__ */ (0, B.jsx)(jk, {
+ /* @__PURE__ */ (0, B.jsx)(Ak, {
label: "静默启动",
description: "开机后只显示托盘图标,不打开网页;「开机后启动 Peach」打开时生效。",
- children: /* @__PURE__ */ (0, B.jsx)(aL, {
+ children: /* @__PURE__ */ (0, B.jsx)(iL, {
"aria-label": "静默启动",
isSelected: i,
isDisabled: !e.available || !n,
onChange: a
})
}),
- /* @__PURE__ */ (0, B.jsx)(jk, {
+ /* @__PURE__ */ (0, B.jsx)(Ak, {
label: "在桌面创建快捷方式",
description: e.desktop_message || "双击图标打开 Peach 网页;卸载时一并移除。",
- children: /* @__PURE__ */ (0, B.jsx)(aL, {
+ children: /* @__PURE__ */ (0, B.jsx)(iL, {
"aria-label": "在桌面创建快捷方式",
isSelected: o,
isDisabled: !l,
@@ -49785,11 +49820,11 @@ function tye({ startup: e, receipt: t }) {
})
})
] }),
- e.message || c.error ? /* @__PURE__ */ (0, B.jsxs)(Ik, {
+ e.message || c.error ? /* @__PURE__ */ (0, B.jsxs)(Fk, {
divided: !0,
- children: [e.message ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: c.error }) : null]
+ children: [e.message ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: e.message }) : null, c.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: c.error }) : null]
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
disabled: !e.available,
...X(c.busy === "save"),
@@ -49800,23 +49835,23 @@ function tye({ startup: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/release-updates.tsx
-var CR = /* @__PURE__ */ new Set([
+var SR = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), nye = [
+]), iye = [
65,
67,
90
-], wR = 120;
-function rye({ initial: e, initialJob: t }) {
+], CR = 120;
+function aye({ initial: e, initialJob: t }) {
let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, R.useState)(""), c = FE(), l = (0, R.useRef)(!1), u = (0, R.useRef)(!0), d = CR.has(i.state);
+ }), [o, s] = (0, R.useState)(""), c = PE(), l = (0, R.useRef)(!1), u = (0, R.useRef)(!0), d = SR.has(i.state);
(0, R.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -49833,7 +49868,7 @@ function rye({ initial: e, initialJob: t }) {
(0, R.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, R.useEffect)(() => {
- let e = new AbortController(), t = CR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
+ let e = new AbortController(), t = SR.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await W("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -49846,9 +49881,9 @@ function rye({ initial: e, initialJob: t }) {
let n = await W("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
- o += 1, o >= wR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= CR && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < wR && (n = setTimeout(c, t));
+ !e.signal.aborted && o < CR && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -49862,57 +49897,57 @@ function rye({ initial: e, initialJob: t }) {
state: "error"
}), c.setError(U(t));
}), g = c.error || o, _ = i.state === "downloading" && i.total ? `${((i.downloaded || 0) / 1048576).toFixed(1)} / ${(i.total / 1048576).toFixed(1)} MB` : `${i.progress}%`;
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "检查更新",
children: [
- /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "当前版本",
children: n.current_version
}),
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "安装方式",
children: n.installation
}),
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "更新通道",
children: n.channel
}),
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "最新版本",
children: n.latest_version || (n.state === "unchecked" ? "尚未检查" : "未取得")
})
] }),
- /* @__PURE__ */ (0, B.jsxs)(Ik, {
+ /* @__PURE__ */ (0, B.jsxs)(Fk, {
divided: !0,
children: [
- n.checked_at ? /* @__PURE__ */ (0, B.jsxs)(Rk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
+ n.checked_at ? /* @__PURE__ */ (0, B.jsxs)(Lk, { children: ["检查于 ", (/* @__PURE__ */ new Date(n.checked_at * 1e3)).toLocaleString()] }) : null,
n.state === "available" && !g ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "info",
title: "有可用更新",
children: n.message
- }) : g || n.state === "error" ? /* @__PURE__ */ (0, B.jsx)(zk, { children: g || n.message }) : /* @__PURE__ */ (0, B.jsx)(Rk, {
+ }) : g || n.state === "error" ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: g || n.message }) : /* @__PURE__ */ (0, B.jsx)(Lk, {
role: "status",
children: n.message
}),
- i.state === "error" ? /* @__PURE__ */ (0, B.jsx)(zk, { children: i.message }) : null,
+ i.state === "error" ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: i.message }) : null,
i.state !== "idle" && i.state !== "error" ? /* @__PURE__ */ (0, B.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(PE, {
+ /* @__PURE__ */ (0, B.jsx)(NE, {
label: "更新准备进度",
value: i.progress,
- stops: nye
+ stops: iye
}),
- /* @__PURE__ */ (0, B.jsxs)(Rk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: _ })
+ /* @__PURE__ */ (0, B.jsxs)(Lk, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: _ })
]
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsxs)(Lk, {
- status: /* @__PURE__ */ (0, B.jsx)(Vk, {
+ /* @__PURE__ */ (0, B.jsxs)(Ik, {
+ status: /* @__PURE__ */ (0, B.jsx)(Bk, {
href: n.release_url,
children: "查看发布页"
}),
@@ -49939,105 +49974,105 @@ function rye({ initial: e, initialJob: t }) {
}
//#endregion
//#region src/react/settings/maintenance-settings.tsx
-var iye = [
+var oye = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-function aye({ data: e, receipt: t, reopenTutorial: n }) {
+function sye({ data: e, receipt: t, reopenTutorial: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.automatic_updates ? /* @__PURE__ */ (0, B.jsx)(sye, {
+ e.automatic_updates ? /* @__PURE__ */ (0, B.jsx)(lye, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.updates ? /* @__PURE__ */ (0, B.jsx)(rye, {
+ e.updates ? /* @__PURE__ */ (0, B.jsx)(aye, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, B.jsx)(cye, { facts: e.facts }),
- /* @__PURE__ */ (0, B.jsx)(Pk, {
+ /* @__PURE__ */ (0, B.jsx)(uye, { facts: e.facts }),
+ /* @__PURE__ */ (0, B.jsx)(Nk, {
title: "系统诊断",
- children: /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)("div", { children: /* @__PURE__ */ (0, B.jsx)(Nk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Fk, { children: /* @__PURE__ */ (0, B.jsx)("div", { children: /* @__PURE__ */ (0, B.jsx)(Mk, {
href: "/diagnostics",
children: "打开系统诊断"
}) }) })
}),
- /* @__PURE__ */ (0, B.jsx)(oye, {
+ /* @__PURE__ */ (0, B.jsx)(cye, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, B.jsx)(lye, {
+ e.uninstall ? /* @__PURE__ */ (0, B.jsx)(dye, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-function oye({ receipt: e, reopenTutorial: t }) {
- let n = FE();
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+function cye({ receipt: e, reopenTutorial: t }) {
+ let n = PE();
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "安装教程",
- children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [/* @__PURE__ */ (0, B.jsx)(Rk, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: n.error }) : null] }), /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [/* @__PURE__ */ (0, B.jsx)(Lk, { children: "重新显示已关闭或跳过的安装步骤,保留已完成的记录。" }), n.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: n.error }) : null] }), /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
onClick: () => void n.run("reopen", () => t(), () => e("已重新打开安装教程")),
...X(n.busy === "reopen"),
children: "重新打开教程"
}) })]
});
}
-function sye({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e.mode), [i, a] = (0, R.useState)(e.interval_hours), o = FE(e.error), s = (r) => {
+function lye({ initial: e, receipt: t }) {
+ let [n, r] = (0, R.useState)(e.mode), [i, a] = (0, R.useState)(e.interval_hours), o = PE(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => G("/api/configuration/automatic-updates", {
mode: n,
interval_hours: i
}, "POST", e), () => t("已保存配置"));
}, c = e.available ? e.download_available ? "开启后一分钟内开始检查。下载完成后,在此确认重启安装。" : "开启后一分钟内开始检查。源码运行时在发布页获取新版本。" : "自动更新需要由托盘管理的服务。";
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "自动更新",
onSubmit: s,
children: [
- /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
- /* @__PURE__ */ (0, B.jsx)(jk, {
+ /* @__PURE__ */ (0, B.jsxs)(Pk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Ak, {
label: "自动检查新版本",
- children: /* @__PURE__ */ (0, B.jsx)(aL, {
+ children: /* @__PURE__ */ (0, B.jsx)(iL, {
"aria-label": "自动检查新版本",
isSelected: n !== "off",
isDisabled: !e.available,
onChange: (e) => r(e ? "check" : "off")
})
}),
- /* @__PURE__ */ (0, B.jsx)(jk, {
+ /* @__PURE__ */ (0, B.jsx)(Ak, {
label: "自动下载更新",
- children: /* @__PURE__ */ (0, B.jsx)(aL, {
+ children: /* @__PURE__ */ (0, B.jsx)(iL, {
"aria-label": "自动下载更新",
isSelected: n === "download",
isDisabled: !e.available || !e.download_available || n === "off",
onChange: (e) => r(e ? "download" : "check")
})
}),
- /* @__PURE__ */ (0, B.jsx)(jk, {
+ /* @__PURE__ */ (0, B.jsx)(Ak, {
label: "检查频率",
description: c,
- children: /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "检查频率",
selectedKey: String(i),
isDisabled: !e.available,
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
- children: iye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: oye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e,
children: t
}, e))
})
})
] }),
- o.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ o.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(zk, { children: o.error })
+ children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: o.error })
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
disabled: !e.available,
...X(o.busy === "save"),
@@ -50046,19 +50081,19 @@ function sye({ initial: e, receipt: t }) {
]
});
}
-function cye({ facts: e }) {
- return /* @__PURE__ */ (0, B.jsx)(Pk, {
+function uye({ facts: e }) {
+ return /* @__PURE__ */ (0, B.jsx)(Nk, {
title: "运行信息",
- children: /* @__PURE__ */ (0, B.jsx)(Hk, { children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)(Uk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Vk, { children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)(Hk, {
term: e.term,
- children: [e.value, e.download_url ? /* @__PURE__ */ (0, B.jsx)(Vk, {
+ children: [e.value, e.download_url ? /* @__PURE__ */ (0, B.jsx)(Bk, {
href: e.download_url,
children: e.download_label
}) : null]
}, e.term)) })
});
}
-function lye({ uninstall: e, receipt: t }) {
+function dye({ uninstall: e, receipt: t }) {
let [n, r] = (0, R.useState)(!1), [i, a] = (0, R.useState)(""), o = () => void je({
title: "卸载 Peach",
danger: !0,
@@ -50072,26 +50107,26 @@ function lye({ uninstall: e, receipt: t }) {
a(e.message);
}
}), s = i || e.message, c = [.../* @__PURE__ */ new Set([e.data_root, ...e.directories])];
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
id: "uninstallPeach",
title: "卸载 Peach",
- children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
- e.available ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
- /* @__PURE__ */ (0, B.jsx)(GM, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ e.available ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: "卸载移除 Peach 程序本身,原始媒体文件保留。" }) : null,
+ /* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: n,
isDisabled: !e.full_available || !!i,
onChange: r,
children: "完全卸载:同时删除设置、本地数据库、观看记录、凭据和缓存"
}),
- /* @__PURE__ */ (0, B.jsx)(Wk, {
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
summary: "数据目录",
- children: c.map((e) => /* @__PURE__ */ (0, B.jsx)(IM, {
+ children: c.map((e) => /* @__PURE__ */ (0, B.jsx)(FM, {
path: e,
className: "text-body-2-regular text-text-secondary",
onRevealed: t
}, e))
})
- ] }), /* @__PURE__ */ (0, B.jsx)(Lk, {
+ ] }), /* @__PURE__ */ (0, B.jsx)(Ik, {
status: s ? /* @__PURE__ */ (0, B.jsx)("p", {
role: i ? "status" : void 0,
children: s
@@ -50107,7 +50142,7 @@ function lye({ uninstall: e, receipt: t }) {
}
//#endregion
//#region src/react/restart-redirect.ts
-var uye = 8e3, dye = [
+var fye = 8e3, pye = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -50126,32 +50161,32 @@ var uye = 8e3, dye = [
read: "256 / 128 KB",
task: "2 个起步"
}
-], fye = [
+], mye = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-function pye() {
+function hye() {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "@container flex flex-col gap-3",
- children: [/* @__PURE__ */ (0, B.jsxs)(Rk, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, B.jsx)(Vk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Lk, { children: ["先在 CloudDrive 登录网盘并挂载,开启「启动时自动挂载」。", /* @__PURE__ */ (0, B.jsx)(Bk, {
href: "https://www.clouddrive2.com/help.html",
children: "挂载帮助"
- })] }), /* @__PURE__ */ (0, B.jsxs)(Wk, {
+ })] }), /* @__PURE__ */ (0, B.jsxs)(Uk, {
summary: "CloudDrive 缓存建议",
children: [
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: "按缓存所在硬盘和可用内存选择起步值,再根据播放表现调整。" }),
/* @__PURE__ */ (0, B.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
- children: dye.map((e) => /* @__PURE__ */ (0, B.jsxs)("li", {
+ children: pye.map((e) => /* @__PURE__ */ (0, B.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, B.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
- children: fye.map(([t, n]) => /* @__PURE__ */ (0, B.jsxs)("div", {
+ children: mye.map(([t, n]) => /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, B.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -50172,9 +50207,9 @@ function pye() {
/* @__PURE__ */ (0, B.jsx)("li", { children: "Buffer Cache 占内存,磁盘缓存和文件夹缓存占硬盘,改一个管不住另外两个。" })
]
}),
- /* @__PURE__ */ (0, B.jsxs)(Rk, { children: [
+ /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [
"三处缓存的分工、往上调的方法和这些起步值的来源在",
- /* @__PURE__ */ (0, B.jsx)(Vk, {
+ /* @__PURE__ */ (0, B.jsx)(Bk, {
href: "https://github.com/longmeidao/peach/blob/master/docs/CLOUDDRIVE.md",
children: "CloudDrive 配置与调优"
}),
@@ -50186,15 +50221,15 @@ function pye() {
}
//#endregion
//#region src/react/settings/download-settings.tsx
-var mye = "/api/configuration/downloads", TR = "/api/configuration/downloads/check", hye = "/api/configuration/downloads/folder", gye = "/api/configuration/downloads/pikpak/login", _ye = "/api/configuration/downloads/pikpak/logout", ER = "/api/configuration/downloads/pikpak/browser-login", DR = 2e3;
-function vye({ initial: e, receipt: t }) {
+var gye = "/api/configuration/downloads", wR = "/api/configuration/downloads/check", _ye = "/api/configuration/downloads/folder", vye = "/api/configuration/downloads/pikpak/login", yye = "/api/configuration/downloads/pikpak/logout", TR = "/api/configuration/downloads/pikpak/browser-login", ER = 2e3;
+function bye({ initial: e, receipt: t }) {
let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(""), o = n.pikpak.logged_in || !!i.trim();
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(yye, {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(xye, {
state: n,
settle: r,
receipt: t,
pikpakAccount: o
- }), /* @__PURE__ */ (0, B.jsx)(xye, {
+ }), /* @__PURE__ */ (0, B.jsx)(Cye, {
state: n,
settle: r,
receipt: t,
@@ -50202,8 +50237,8 @@ function vye({ initial: e, receipt: t }) {
setUsername: a
})] });
}
-function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
- let [i, a] = (0, R.useState)(e.config), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(String(e.config.wait_hours)), [u, d] = (0, R.useState)(null), [f, p] = (0, R.useState)(""), [m, h] = (0, R.useState)(OR), [g, _] = (0, R.useState)(""), [v, y] = (0, R.useState)(!1), b = FE(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({
+function xye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
+ let [i, a] = (0, R.useState)(e.config), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(String(e.config.wait_hours)), [u, d] = (0, R.useState)(null), [f, p] = (0, R.useState)(""), [m, h] = (0, R.useState)(DR), [g, _] = (0, R.useState)(""), [v, y] = (0, R.useState)(!1), b = PE(), x = (e) => i.targets[e] ?? "", S = (e, t) => a({
...i,
targets: {
...i.targets,
@@ -50232,8 +50267,8 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
target: !e.config.targets[115],
root: !e.config.pikpak_root
};
- b.run("auto", (e) => W(TR, e), (e) => w(e, t), (e) => _(U(e)));
- }, []), /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ b.run("auto", (e) => W(wR, e), (e) => w(e, t), (e) => _(U(e)));
+ }, []), /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "云下载",
onSubmit: (e) => {
if (e.preventDefault(), C) {
@@ -50246,19 +50281,19 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
token: o,
pikpak_account: r
};
- b.run("save", (e) => G(mye, f, "POST", e), (e) => {
+ b.run("save", (e) => G(gye, f, "POST", e), (e) => {
let { report: r, ...i } = e;
t(i), a(i.config), l(String(i.config.wait_hours)), s(""), r ? w(r, {
address: !i.config.clouddrive_address,
target: u,
root: !i.config.pikpak_root
- }, i.config.targets[115] ?? "") : (d(null), p(""), h(OR), y(!1), _("")), n("已保存配置");
+ }, i.config.targets[115] ?? "") : (d(null), p(""), h(DR), y(!1), _("")), n("已保存配置");
}, (e) => _(U(e)));
},
children: [
- /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: "把磁力交给 115 或 PikPak 离线下载,文件落在已挂载的网盘目录,再由推送发现登记入库,不经过这台电脑。 115 每个任务扣一条离线配额(年费会员每月 1500 条、月费 200 条),被判违规的资源不重试。" }),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: "把磁力交给 115 或 PikPak 离线下载,文件落在已挂载的网盘目录,再由推送发现登记入库,不经过这台电脑。 115 每个任务扣一条离线配额(年费会员每月 1500 条、月费 200 条),被判违规的资源不重试。" }),
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "CloudDrive2 地址",
placeholder: "留空自动探测本机 19798 / 29798",
autoComplete: "off",
@@ -50270,7 +50305,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
clouddrive_address: e
})
}),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "CloudDrive2 API 令牌",
type: "password",
autoComplete: "off",
@@ -50281,7 +50316,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: s
}),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "115 目标目录",
placeholder: "留空时按推送发现自动填写",
autoComplete: "off",
@@ -50293,7 +50328,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
isDisabled: !e.available,
onChange: (e) => S("115", e)
}),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "PikPak 目标目录",
placeholder: "以 / 开头的网盘路径",
autoComplete: "off",
@@ -50305,7 +50340,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "PikPak 根目录对应的媒体文件夹" }), e.pikpak_roots.length ? /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "PikPak 根目录对应的媒体文件夹",
selectedKey: i.pikpak_root || null,
isDisabled: !e.available,
@@ -50314,13 +50349,13 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
...i,
pikpak_root: e === null ? "" : String(e)
}),
- children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: e.pikpak_roots.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e,
children: e
}, e))
- }) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]
+ }) : /* @__PURE__ */ (0, B.jsx)(Lk, { children: "媒体文件夹里还没有「CloudDrive · PikPak」来源。在上方添加 PikPak 的挂载目录后,这里才能选。" })]
}),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "等待上限(小时)",
type: "number",
inputMode: "numeric",
@@ -50331,11 +50366,11 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
onChange: l
})
] }),
- b.busy === "auto" ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ b.busy === "auto" ? /* @__PURE__ */ (0, B.jsx)(Fk, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(jE, { label: "正在检查 CloudDrive2" })
+ children: /* @__PURE__ */ (0, B.jsx)(AE, { label: "正在检查 CloudDrive2" })
}) : null,
- u ? /* @__PURE__ */ (0, B.jsx)(bye, {
+ u ? /* @__PURE__ */ (0, B.jsx)(Sye, {
report: u,
detected: f,
suggested: m,
@@ -50347,7 +50382,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("folder", (e) => G(hye, t, "POST", e), (t) => {
+ b.run("folder", (e) => G(_ye, t, "POST", e), (t) => {
d(t), h((t) => ({
...t,
target: {
@@ -50359,11 +50394,11 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
} : void 0,
creating: b.busy === "folder"
}) : null,
- g || b.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ g || b.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(zk, { children: g || b.error })
+ children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: g || b.error })
}) : null,
- /* @__PURE__ */ (0, B.jsxs)(Lk, {
+ /* @__PURE__ */ (0, B.jsxs)(Ik, {
status: e.available ? void 0 : "云下载只在账本写入端可用。",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
onClick: () => {
@@ -50378,7 +50413,7 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
pikpak_root: i.pikpak_root,
pikpak_account: r
};
- b.run("check", (e) => G(TR, t, "POST", e), (t) => w(t, e), (e) => _(U(e)));
+ b.run("check", (e) => G(wR, t, "POST", e), (t) => w(t, e), (e) => _(U(e)));
},
disabled: !e.available,
...X(b.busy === "check"),
@@ -50393,25 +50428,25 @@ function yye({ state: e, settle: t, receipt: n, pikpakAccount: r }) {
]
});
}
-var OR = {
+var DR = {
target: null,
root: "",
saved: !1
};
-function bye({ report: e, detected: t, suggested: n, create: r, creating: i }) {
+function Sye({ report: e, detected: t, suggested: n, create: r, creating: i }) {
let a = n.target;
- return /* @__PURE__ */ (0, B.jsxs)(Ik, {
+ return /* @__PURE__ */ (0, B.jsxs)(Fk, {
divided: !0,
- children: [/* @__PURE__ */ (0, B.jsxs)(Hk, { children: [
- t ? /* @__PURE__ */ (0, B.jsx)(Uk, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Vk, { children: [
+ t ? /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "CloudDrive2 地址",
children: `探测到 ${t},保存配置后生效`
}) : null,
- a?.exists ? /* @__PURE__ */ (0, B.jsx)(Uk, {
+ a?.exists ? /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "115 目标目录",
children: n.saved ? `已按推送发现填入 ${a.path}` : `按推送发现填入 ${a.path},保存配置后生效`
}) : null,
- a && !a.exists ? /* @__PURE__ */ (0, B.jsxs)(Uk, {
+ a && !a.exists ? /* @__PURE__ */ (0, B.jsxs)(Hk, {
term: "115 目标目录",
children: [`${a.path} 不存在`, r ? /* @__PURE__ */ (0, B.jsx)(J, {
size: "small",
@@ -50420,49 +50455,49 @@ function bye({ report: e, detected: t, suggested: n, create: r, creating: i }) {
children: "新建这个目录"
}) : null]
}) : null,
- n.root ? /* @__PURE__ */ (0, B.jsx)(Uk, {
+ n.root ? /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "PikPak 根目录",
children: `按推送发现填入 ${n.root},保存配置后生效`
}) : null,
- e.permissions.length ? /* @__PURE__ */ (0, B.jsx)(Uk, {
+ e.permissions.length ? /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "离线权限",
children: e.missing.length ? `缺少:${e.missing.join("、")}` : "齐全"
}) : null,
- e.folder ? /* @__PURE__ */ (0, B.jsx)(Uk, {
+ e.folder ? /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "目标目录",
children: e.folder.can_offline ? `${e.folder.path} 可以离线下载` : `${e.folder.path} 不支持离线下载`
}) : null,
- e.quota ? /* @__PURE__ */ (0, B.jsx)(Uk, {
+ e.quota ? /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "115 离线配额",
children: `本月还剩 ${e.quota.left} 条,共 ${e.quota.total} 条`
}) : null
- ] }), e.problems.map((e) => /* @__PURE__ */ (0, B.jsx)(zk, { children: e }, e))]
+ ] }), e.problems.map((e) => /* @__PURE__ */ (0, B.jsx)(Rk, { children: e }, e))]
});
}
-function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
- let [a, o] = (0, R.useState)(""), [s, c] = (0, R.useState)(!1), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(""), h = FE(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
+function Cye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
+ let [a, o] = (0, R.useState)(""), [s, c] = (0, R.useState)(!1), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(""), h = PE(), g = e.pikpak, _ = e.pikpak_browser, v = _.state === "waiting";
(0, R.useEffect)(() => {
if (!v) return;
let e = new AbortController(), r, i = async () => {
try {
- let r = await W(ER, e.signal);
+ let r = await W(TR, e.signal);
if (e.signal.aborted || (t(r), r.pikpak_browser.state === "done" ? n("已登录 PikPak") : r.pikpak_browser.state !== "waiting" && m(r.pikpak_browser.message), r.pikpak_browser.state !== "waiting")) return;
} catch (t) {
if (e.signal.aborted) return;
f(U(t));
}
- r = setTimeout(i, DR);
+ r = setTimeout(i, ER);
};
- return r = setTimeout(i, DR), () => {
+ return r = setTimeout(i, ER), () => {
e.abort(), clearTimeout(r);
};
}, [v]);
let y = () => {
- m(""), h.run("browser", (e) => G(ER, {}, "POST", e), (e) => {
+ m(""), h.run("browser", (e) => G(TR, {}, "POST", e), (e) => {
t(e), f("");
}, (e) => f(U(e)));
}, b = () => {
- h.run("cancel", (e) => G(`${ER}/cancel`, {}, "POST", e), (e) => {
+ h.run("cancel", (e) => G(`${TR}/cancel`, {}, "POST", e), (e) => {
t(e), f(""), m(e.pikpak_browser.message);
}, (e) => f(U(e)));
}, x = (e) => {
@@ -50472,7 +50507,7 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
password: a,
remember: s
};
- h.run("login", (e) => G(gye, i, "POST", e), (e) => {
+ h.run("login", (e) => G(vye, i, "POST", e), (e) => {
if (t(e.settings), f(""), !e.ok) {
u(e.captcha_url ?? "");
return;
@@ -50480,11 +50515,11 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
u(""), o(""), n("已登录 PikPak");
}, (e) => f(U(e)));
}, S = () => {
- h.run("logout", (e) => G(_ye, {}, "POST", e), (e) => {
+ h.run("logout", (e) => G(yye, {}, "POST", e), (e) => {
t(e), f(""), n("已登出 PikPak");
}, (e) => f(U(e)));
}, C = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "账号",
placeholder: "邮箱或手机号",
autoComplete: "username",
@@ -50493,7 +50528,7 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: i
}),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "密码",
type: "password",
autoComplete: "current-password",
@@ -50502,7 +50537,7 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
isDisabled: !e.available,
onChange: o
}),
- /* @__PURE__ */ (0, B.jsx)(GM, {
+ /* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: s,
isDisabled: !e.available,
onChange: c,
@@ -50513,7 +50548,7 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
title: "需要人机验证",
extra: /* @__PURE__ */ (0, B.jsx)("div", {
className: "pt-2",
- children: /* @__PURE__ */ (0, B.jsx)(Vk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Bk, {
href: l,
children: "打开 PikPak 验证页"
})
@@ -50526,32 +50561,32 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
...X(h.busy === "login"),
children: "登录"
}), T = _.state === "timeout" || _.state === "failed";
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "PikPak 账号",
onSubmit: x,
children: [
- g.logged_in ? /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [/* @__PURE__ */ (0, B.jsx)(Uk, {
+ g.logged_in ? /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [/* @__PURE__ */ (0, B.jsx)(Hk, {
term: "账号",
children: g.username || "已登录"
- }), g.method === "browser" ? /* @__PURE__ */ (0, B.jsx)(Uk, {
+ }), g.method === "browser" ? /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "登录方式",
children: "浏览器登录,由 Peach 续期"
- }) : /* @__PURE__ */ (0, B.jsx)(Uk, {
+ }) : /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "密码",
children: g.remember ? "已保存,登录过期时自动重新登录" : "未保存,登录过期后需要回到这里重新登录"
- })] }) : _.available ? /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: "「用浏览器登录」会打开一个 Peach 专用的浏览器窗口,在里面登录 PikPak。Peach 读到登录状态后关掉窗口,之后由 Peach 续期;续期失败时回到这里重新登录。" }),
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。" }),
- p ? T ? /* @__PURE__ */ (0, B.jsx)(zk, { children: p }) : /* @__PURE__ */ (0, B.jsx)(Rk, {
+ })] }) : _.available ? /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: "「用浏览器登录」会打开一个 Peach 专用的浏览器窗口,在里面登录 PikPak。Peach 读到登录状态后关掉窗口,之后由 Peach 续期;续期失败时回到这里重新登录。" }),
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。" }),
+ p ? T ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: p }) : /* @__PURE__ */ (0, B.jsx)(Lk, {
role: "status",
children: p
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Wk, {
+ /* @__PURE__ */ (0, B.jsx)(Uk, {
summary: "用账号密码登录",
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: "账号密码只用来换登录令牌,令牌存在这台电脑上。" }),
C,
/* @__PURE__ */ (0, B.jsx)("div", {
className: "flex justify-end",
@@ -50560,13 +50595,13 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
]
})
})
- ] }) : /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [/* @__PURE__ */ (0, B.jsx)(Rk, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。账号密码只用来换登录令牌,令牌存在这台电脑上。" }), C] }),
- d || h.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ ] }) : /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [/* @__PURE__ */ (0, B.jsx)(Lk, { children: "PikPak 没有开放接口,Peach 照 PikPak 网页端的协议直连,接口变了就会报错,那时可以先复制磁力手动添加。账号密码只用来换登录令牌,令牌存在这台电脑上。" }), C] }),
+ d || h.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(zk, { children: d || h.error })
+ children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: d || h.error })
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Lk, {
- status: !g.logged_in && v ? /* @__PURE__ */ (0, B.jsx)(jE, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
+ /* @__PURE__ */ (0, B.jsx)(Ik, {
+ status: !g.logged_in && v ? /* @__PURE__ */ (0, B.jsx)(AE, { label: _.message || "等你在浏览器窗口里登录 PikPak" }) : null,
children: g.logged_in ? /* @__PURE__ */ (0, B.jsx)(J, {
onClick: S,
disabled: !e.available,
@@ -50590,7 +50625,7 @@ function xye({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
}
//#endregion
//#region src/react/settings/folder-rows.tsx
-function Sye({ className: e }) {
+function wye({ className: e }) {
return /* @__PURE__ */ (0, B.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -50603,12 +50638,12 @@ function Sye({ className: e }) {
children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-folder-search" })
});
}
-var kR = [
+var OR = [
["local", "本地磁盘"],
["115", "CloudDrive · 115"],
["pikpak", "CloudDrive · PikPak"]
-], AR = (e) => Oe[e] || "database", Cye = (e) => e === "115" || e === "pikpak";
-function wye({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
+], kR = (e) => Oe[e] || "database", Tye = (e) => e === "115" || e === "pikpak";
+function Eye({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {
let [a, o] = (0, R.useState)(e), [s, c] = (0, R.useState)([]), [l, u] = (0, R.useState)(null), [d, f] = (0, R.useState)(null), p = (0, R.useRef)(!1), m = (0, R.useRef)([]);
(0, R.useLayoutEffect)(() => {
l !== null && (m.current[l]?.focus(), u(null));
@@ -50651,14 +50686,14 @@ function wye({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:
}
};
}
-function Tye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, children: c }) {
+function Dye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, children: c }) {
return /* @__PURE__ */ (0, B.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, B.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
className: "min-w-0 flex-1",
"aria-label": e,
placeholder: "本机文件夹路径",
@@ -50669,14 +50704,14 @@ function Tye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
isInvalid: !!r,
hint: r || void 0
}),
- /* @__PURE__ */ (0, B.jsx)(FM, {
- icon: Sye,
+ /* @__PURE__ */ (0, B.jsx)(PM, {
+ icon: wye,
"aria-label": "选择文件夹",
onClick: o,
...X(a)
}),
- s ? /* @__PURE__ */ (0, B.jsx)(FM, {
- icon: yT,
+ s ? /* @__PURE__ */ (0, B.jsx)(PM, {
+ icon: vT,
"aria-label": "移除这个文件夹",
onClick: s
}) : null
@@ -50687,25 +50722,25 @@ function Tye({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a,
})]
});
}
-function Eye({ index: e, value: t, onChange: n, options: r = kR }) {
+function Oye({ index: e, value: t, onChange: n, options: r = OR }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "媒体来源" }), /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "媒体来源" }), /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": `媒体来源 ${e + 1}`,
selectedKey: t,
onSelectionChange: (e) => {
e !== null && n(String(e));
},
- children: r.map(([e, t]) => /* @__PURE__ */ (0, B.jsxs)(Ok, {
+ children: r.map(([e, t]) => /* @__PURE__ */ (0, B.jsxs)(Dk, {
id: e,
textValue: t,
- children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: AR(e) }), t]
+ children: [/* @__PURE__ */ (0, B.jsx)(Wk, { mark: kR(e) }), t]
}, e))
})]
});
}
-function Dye({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
- return /* @__PURE__ */ (0, B.jsx)(Sk, {
+function kye({ value: e, onChange: t, label: n = "Windows 中的对应路径", placeholder: r = "例如 B:\\" }) {
+ return /* @__PURE__ */ (0, B.jsx)(xk, {
label: n,
placeholder: r,
value: e,
@@ -50714,42 +50749,42 @@ function Dye({ value: e, onChange: t, label: n = "Windows 中的对应路径", p
}
//#endregion
//#region src/react/settings/indexer-settings.tsx
-var jR = "/api/configuration/indexers";
-function Oye({ receipt: e }) {
- let t = wS({
+var AR = "/api/configuration/indexers";
+function Aye({ receipt: e }) {
+ let t = CS({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => W(jR, e)
+ queryFn: ({ signal: e }) => W(AR, e)
});
- return t.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: U(t.error) }) : t.data ? /* @__PURE__ */ (0, B.jsx)(kye, {
+ return t.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: U(t.error) }) : t.data ? /* @__PURE__ */ (0, B.jsx)(jye, {
initial: t.data,
receipt: e
}) : null;
}
-function kye({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e.indexers), i = FE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
+function jye({ initial: e, receipt: t }) {
+ let [n, r] = (0, R.useState)(e.indexers), i = PE(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "资源索引器",
onSubmit: (e) => {
- e.preventDefault(), i.run("save", (e) => G(jR, { indexers: n }, "POST", e), (e) => {
+ e.preventDefault(), i.run("save", (e) => G(AR, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
- children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: "用户自配索引器。填写 Prowlarr 或 Jackett 提供的 Torznab API 地址,在活动页「云下载」中按番号搜索。" }),
+ children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: "用户自配索引器。填写 Prowlarr 或 Jackett 提供的 Torznab API 地址,在活动页「云下载」中按番号搜索。" }),
n.map((e, t) => /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4",
children: [
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: `索引器 ${t + 1} 名称`,
value: e.name,
maxLength: 80,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { name: t })
}),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: `索引器 ${t + 1} API 地址`,
value: e.url,
type: "url",
@@ -50758,7 +50793,7 @@ function kye({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { url: t })
}),
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: `索引器 ${t + 1} API key`,
type: "password",
autoComplete: "new-password",
@@ -50767,13 +50802,13 @@ function kye({ initial: e, receipt: t }) {
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { api_key: t })
}),
- /* @__PURE__ */ (0, B.jsx)(GM, {
+ /* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: e.enabled,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { enabled: t }),
children: "启用 · 用户自配索引器"
}),
- e.api_key_set ? /* @__PURE__ */ (0, B.jsx)(GM, {
+ e.api_key_set ? /* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: !!e.clear_api_key,
isDisabled: !!i.busy,
onChange: (t) => a(e.key, { clear_api_key: t }),
@@ -50787,8 +50822,8 @@ function kye({ initial: e, receipt: t }) {
}) })
]
}, e.key)),
- i.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: i.error }) : null
- ] }), /* @__PURE__ */ (0, B.jsxs)(Lk, {
+ i.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: i.error }) : null
+ ] }), /* @__PURE__ */ (0, B.jsxs)(Ik, {
status: "保存后生效;关闭或移除索引器会停止向它查询。",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
type: "button",
@@ -50811,7 +50846,7 @@ function kye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/library-icon-picker.tsx
-var MR = [
+var jR = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -50855,13 +50890,13 @@ var MR = [
["star", "收藏"],
["tags", "主题"]
];
-function Aye(e) {
+function Mye(e) {
let t = e === "local" ? "" : Oe[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var NR = "auto";
-function jye({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, R.useRef)(null), [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(e), [l, u] = Aye(n);
+var MR = "auto";
+function Nye({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, R.useRef)(null), [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(e), [l, u] = Mye(n);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(J, {
ref: i,
variant: "secondary",
@@ -50875,35 +50910,35 @@ function jye({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, B.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
- children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: e || l }), ((e) => e && MR.find(([t]) => t === e)?.[1] || u)(e)]
+ children: [/* @__PURE__ */ (0, B.jsx)(Wk, { mark: e || l }), ((e) => e && jR.find(([t]) => t === e)?.[1] || u)(e)]
})
- }), /* @__PURE__ */ (0, B.jsx)(xO, {
+ }), /* @__PURE__ */ (0, B.jsx)(bO, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "bottom start",
offset: 4,
- className: Ck,
- children: /* @__PURE__ */ (0, B.jsxs)(MO, {
+ className: Sk,
+ children: /* @__PURE__ */ (0, B.jsxs)(jO, {
"aria-label": `${t}候选`,
className: "flex w-72 flex-col gap-3 outline-none",
children: [
- /* @__PURE__ */ (0, B.jsx)(nD, {
+ /* @__PURE__ */ (0, B.jsx)(tD, {
slot: "title",
className: "px-1 text-body-medium text-text-primary",
children: "选择媒体库图标"
}),
- /* @__PURE__ */ (0, B.jsx)(zO, {
+ /* @__PURE__ */ (0, B.jsx)(RO, {
"aria-label": "候选图标",
- value: s || NR,
- onChange: (e) => c(e === NR ? "" : e),
+ value: s || MR,
+ onChange: (e) => c(e === MR ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: MR.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(BO, {
- value: e || NR,
+ children: jR.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(zO, {
+ value: e || MR,
"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, B.jsx)(Gk, { mark: e || l })
- }, e || NR))
+ children: /* @__PURE__ */ (0, B.jsx)(Wk, { mark: e || l })
+ }, e || MR))
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -50925,15 +50960,15 @@ function jye({ value: e, label: t, kind: n = "local", onChange: r }) {
}
//#endregion
//#region src/react/settings/push-discovery-settings.tsx
-var Mye = "/api/configuration/push-discovery", Nye = "/api/configuration/push-discovery/secret";
-function Pye({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.prefixes), [o, s] = (0, R.useState)(""), c = FE(), l = NM(), u = n.media_roots, [d, f] = (0, R.useState)(e), p = (e, n) => {
+var Pye = "/api/configuration/push-discovery", Fye = "/api/configuration/push-discovery/secret";
+function Iye({ initial: e, receipt: t }) {
+ let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.prefixes), [o, s] = (0, R.useState)(""), c = PE(), l = MM(), u = n.media_roots, [d, f] = (0, R.useState)(e), p = (e, n) => {
r(e), f(e), a(e.prefixes), s(""), t(n);
}, m = (e, t) => a((n) => n.map((n, r) => r === e ? {
...n,
...t
} : n));
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "推送发现",
onSubmit: (e) => {
e.preventDefault();
@@ -50943,14 +50978,14 @@ function Pye({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
- c.run("save", (e) => G(Mye, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(U(e)));
+ c.run("save", (e) => G(Pye, t, "POST", e), (e) => p(e, "已保存配置"), (e) => s(U(e)));
},
children: [
- /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
- /* @__PURE__ */ (0, B.jsx)(jk, {
+ /* @__PURE__ */ (0, B.jsxs)(Pk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Ak, {
label: "新文件落地就入库",
description: "打开之后不必等下一轮扫描。定期全量扫描照常进行,漏掉的由它补上。",
- children: /* @__PURE__ */ (0, B.jsx)(aL, {
+ children: /* @__PURE__ */ (0, B.jsx)(iL, {
"aria-label": "新文件落地就入库",
isSelected: n.enabled,
isDisabled: !n.available,
@@ -50960,10 +50995,10 @@ function Pye({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, B.jsx)(jk, {
+ /* @__PURE__ */ (0, B.jsx)(Ak, {
label: "监视本机文件夹",
description: "订阅本地来源的文件系统事件。网盘挂载不监视,因为遍历它就是走网络。",
- children: /* @__PURE__ */ (0, B.jsx)(aL, {
+ children: /* @__PURE__ */ (0, B.jsx)(iL, {
"aria-label": "监视本机文件夹",
isSelected: n.watch_local,
isDisabled: !n.available || !n.enabled,
@@ -50973,10 +51008,10 @@ function Pye({ initial: e, receipt: t }) {
})
})
}),
- /* @__PURE__ */ (0, B.jsx)(jk, {
+ /* @__PURE__ */ (0, B.jsx)(Ak, {
label: "接收 CloudDrive2 通知",
description: "由 CloudDrive2 把网盘里的新文件推给 Peach。只接受本机与局域网发来的请求。",
- children: /* @__PURE__ */ (0, B.jsx)(aL, {
+ children: /* @__PURE__ */ (0, B.jsx)(iL, {
"aria-label": "接收 CloudDrive2 通知",
isSelected: n.cloud,
isDisabled: !n.available || !n.enabled,
@@ -50987,30 +51022,30 @@ function Pye({ initial: e, receipt: t }) {
})
})
] }),
- d.enabled ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ d.enabled ? /* @__PURE__ */ (0, B.jsx)(Fk, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [d.watch_local ? /* @__PURE__ */ (0, B.jsx)(Uk, {
+ children: /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [d.watch_local ? /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "本机文件夹监视",
children: d.local_running ? d.local_roots.join("、") : d.local_message || "没有运行"
- }) : null, /* @__PURE__ */ (0, B.jsx)(Uk, {
+ }) : null, /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "已入库",
children: `${d.queue.ingested} 个文件,队列里还有 ${d.queue.pending} 条`
})] })
}) : null,
- d.enabled && d.cloud ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ d.enabled && d.cloud ? /* @__PURE__ */ (0, B.jsx)(Fk, {
divided: !0,
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(Bk, { children: "CloudDrive2 配置内容" }),
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
+ /* @__PURE__ */ (0, B.jsx)(zk, { children: "CloudDrive2 配置内容" }),
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: "Webhook 需要 CloudDrive2 会员;非会员的配置即使显示有效,也不会发送通知。 在「设置 → Webhooks」中添加配置,粘贴下方内容并保存。地址和密钥已填好;更换密钥后需重新复制。 Windows 桌面版若因换行问题显示「无效」,将配置保存为 .toml 文件,放入 %LOCALAPPDATA%\\CloudDrive.WinUI\\webhooks\\ 目录。" }),
d.config_toml ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("div", { children: /* @__PURE__ */ (0, B.jsx)(J, {
size: "small",
onClick: () => {
navigator.clipboard.writeText(d.config_toml).then(() => t("已复制 CloudDrive2 配置"), () => s("浏览器没让这一页写剪贴板,展开「查看这段配置」选中自己复制。"));
},
children: "复制配置"
- }) }), /* @__PURE__ */ (0, B.jsx)(Wk, {
+ }) }), /* @__PURE__ */ (0, B.jsx)(Uk, {
summary: "查看这段配置",
children: /* @__PURE__ */ (0, B.jsx)("div", {
className: "relative",
@@ -51021,17 +51056,17 @@ function Pye({ initial: e, receipt: t }) {
children: d.config_toml
})
})
- })] }) : /* @__PURE__ */ (0, B.jsx)(Rk, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
+ })] }) : /* @__PURE__ */ (0, B.jsx)(Lk, { children: d.origin ? "尚未生成共享密钥,请保存配置后复制。" : "请先配置 CloudDrive2 能访问的 HTTPS 地址,再生成通知配置。HTTP 地址不接受通知写入,也不会自动转发。" })
]
})
}) : null,
- n.enabled && n.cloud ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ n.enabled && n.cloud ? /* @__PURE__ */ (0, B.jsx)(Fk, {
divided: !0,
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(Bk, { children: "云端路径前缀" }),
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
+ /* @__PURE__ */ (0, B.jsx)(zk, { children: "云端路径前缀" }),
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: "左侧填写 CloudDrive2 中的目录前缀,右侧选择对应的媒体文件夹。 Peach 按此对应关系定位通知中的文件。" }),
/* @__PURE__ */ (0, B.jsx)("div", {
role: "group",
"aria-label": "云端路径前缀",
@@ -51039,7 +51074,7 @@ function Pye({ initial: e, receipt: t }) {
children: i.map((e, t) => /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex items-start gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
className: "min-w-0 flex-1",
"aria-label": `云端路径前缀 ${t + 1}`,
placeholder: "/115",
@@ -51048,19 +51083,19 @@ function Pye({ initial: e, receipt: t }) {
value: e.prefix,
onChange: (e) => m(t, { prefix: e })
}),
- /* @__PURE__ */ (0, B.jsx)(Dk, {
+ /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": `前缀 ${t + 1} 对应的媒体根`,
selectedKey: e.root,
onSelectionChange: (e) => {
e !== null && m(t, { root: String(e) });
},
- children: u.map((e) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: u.map((e) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e,
children: e
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(FM, {
- icon: yT,
+ /* @__PURE__ */ (0, B.jsx)(PM, {
+ icon: vT,
"aria-label": "移除这一条",
onClick: () => a((e) => e.filter((e, n) => n !== t))
})
@@ -51078,15 +51113,15 @@ function Pye({ initial: e, receipt: t }) {
]
})
}) : null,
- o || c.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ o || c.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(zk, { children: o || c.error })
+ children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: o || c.error })
}) : null,
- /* @__PURE__ */ (0, B.jsxs)(Lk, {
+ /* @__PURE__ */ (0, B.jsxs)(Ik, {
status: d.enabled && d.cloud ? "换过密钥之后,CloudDrive2 那一侧要重新贴一次配置,否则它推来的一律被拒。" : void 0,
children: [d.enabled && d.cloud ? /* @__PURE__ */ (0, B.jsx)(J, {
onClick: () => {
- c.run("secret", (e) => G(Nye, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(U(e)));
+ c.run("secret", (e) => G(Fye, {}, "POST", e), (e) => p(e, "已更换共享密钥"), (e) => s(U(e)));
},
disabled: !n.available,
...X(c.busy === "secret"),
@@ -51103,29 +51138,29 @@ function Pye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/media-settings.tsx
-var Fye = (e) => kR.find(([t]) => t === e)?.[1] ?? e, Iye = async (e) => (await G(Xve, { initial: e })).path, PR = (e = "") => ({
+var Lye = (e) => OR.find(([t]) => t === e)?.[1] ?? e, Rye = async (e) => (await G(Qve, { initial: e })).path, NR = (e = "") => ({
path: e,
location: "local",
root: "",
library: "",
library_icon: ""
});
-function Lye(e) {
- let t = e.media_sources?.filter((e) => kR.some(([t]) => t === e.location));
+function zye(e) {
+ let t = e.media_sources?.filter((e) => OR.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) => PR(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => NR(e));
}
-var Rye = (e) => !(e instanceof RS) || e.status !== 400 ? null : e.body?.errors ?? null;
-function zye({ data: e, receipt: t }) {
+var Bye = (e) => !(e instanceof LS) || e.status !== 400 ? null : e.body?.errors ?? null;
+function Vye({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.editable ? /* @__PURE__ */ (0, B.jsx)(Bye, {
+ e.editable ? /* @__PURE__ */ (0, B.jsx)(Hye, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, B.jsx)(Y, {
@@ -51133,33 +51168,33 @@ function zye({ data: e, receipt: t }) {
title: "只读",
children: e.notice
}),
- /* @__PURE__ */ (0, B.jsx)(Hye, { data: e }),
- e.push_discovery ? /* @__PURE__ */ (0, B.jsx)(Pye, {
+ /* @__PURE__ */ (0, B.jsx)(Wye, { data: e }),
+ e.push_discovery ? /* @__PURE__ */ (0, B.jsx)(Iye, {
initial: e.push_discovery,
receipt: t
}) : null,
- e.downloads ? /* @__PURE__ */ (0, B.jsx)(vye, {
+ e.downloads ? /* @__PURE__ */ (0, B.jsx)(bye, {
initial: e.downloads,
receipt: t
}) : null,
- e.downloads ? /* @__PURE__ */ (0, B.jsx)(Oye, { receipt: t }) : null
+ e.downloads ? /* @__PURE__ */ (0, B.jsx)(Aye, { receipt: t }) : null
]
});
}
-function Bye({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = wye({
- initial: () => Lye(e),
- blank: () => PR(),
- pickFolder: Iye,
+function Hye({ data: e, receipt: t }) {
+ let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = Eye({
+ initial: () => zye(e),
+ blank: () => NR(),
+ pickFolder: Rye,
describe: U
- }), [d, f] = (0, R.useState)(String(e.port)), [p, m] = (0, R.useState)(!1), [h, g] = (0, R.useState)(""), [_, v] = (0, R.useState)(""), [y, b] = (0, R.useState)(null), x = (0, R.useRef)(e.revision), S = FE();
+ }), [d, f] = (0, R.useState)(String(e.port)), [p, m] = (0, R.useState)(!1), [h, g] = (0, R.useState)(""), [_, v] = (0, R.useState)(""), [y, b] = (0, R.useState)(null), x = (0, R.useRef)(e.revision), S = PE();
(0, R.useEffect)(() => {
if (!y) return;
- let e = setTimeout(() => location.assign(y.url), uye);
+ let e = setTimeout(() => location.assign(y.url), fye);
return () => clearTimeout(e);
}, [y]);
let C = (r) => {
- r.preventDefault(), v(""), S.run("save", (t) => G(yR, {
+ r.preventDefault(), v(""), S.run("save", (t) => G(vR, {
revision: x.current,
media_dirs: n.map((e) => e.path),
...e.media_sources ? { media_sources: n } : {},
@@ -51168,18 +51203,18 @@ function Bye({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, s([]), g(""), t("已保存配置"), b(e);
}, (e) => {
- let t = Rye(e);
+ let t = Bye(e);
s(t?.media_dirs ?? []), g(t?.port ?? ""), t || v(U(e));
});
};
- if (y) return /* @__PURE__ */ (0, B.jsx)(Pk, {
+ if (y) return /* @__PURE__ */ (0, B.jsx)(Nk, {
title: "这台电脑",
- children: /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsxs)(Y, {
+ children: /* @__PURE__ */ (0, B.jsx)(Fk, { children: /* @__PURE__ */ (0, B.jsxs)(Y, {
tone: "success",
title: "配置已保存",
children: [
"Peach 正在重新启动。稍后自动跳转,或点击",
- /* @__PURE__ */ (0, B.jsx)(Nk, {
+ /* @__PURE__ */ (0, B.jsx)(Mk, {
href: y.url,
size: "small",
children: "进入馆藏"
@@ -51188,20 +51223,20 @@ function Bye({ data: e, receipt: t }) {
]
}) })
});
- let w = n.some((e) => Cye(e.location)), T = w ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ let w = n.some((e) => Tye(e.location)), T = w ? (e.mount_dependencies ?? []).filter((e) => !e.available) : [];
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "这台电脑",
onSubmit: C,
- children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
+ children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(Bk, { children: "媒体文件夹" }),
+ /* @__PURE__ */ (0, B.jsx)(zk, { children: "媒体文件夹" }),
/* @__PURE__ */ (0, B.jsx)("div", {
role: "group",
"aria-label": "媒体文件夹",
className: "flex flex-col gap-3",
- children: n.map((t, i) => /* @__PURE__ */ (0, B.jsxs)(Tye, {
+ children: n.map((t, i) => /* @__PURE__ */ (0, B.jsxs)(Dye, {
label: `媒体文件夹 ${i + 1}`,
path: t.path,
onPath: (e) => r(i, { path: e }),
@@ -51211,7 +51246,7 @@ function Bye({ data: e, receipt: t }) {
onPick: () => void l(i),
onRemove: n.length > 1 ? () => a(i) : void 0,
children: [
- /* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(xk, {
label: "媒体库名称",
maxLength: 80,
placeholder: "同名文件夹归入同一个媒体库",
@@ -51220,19 +51255,19 @@ function Bye({ data: e, receipt: t }) {
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1.5",
- children: [/* @__PURE__ */ (0, B.jsx)(Bk, { children: "媒体库图标" }), /* @__PURE__ */ (0, B.jsx)(jye, {
+ children: [/* @__PURE__ */ (0, B.jsx)(zk, { children: "媒体库图标" }), /* @__PURE__ */ (0, B.jsx)(Nye, {
label: `媒体库图标 ${i + 1}`,
value: t.library_icon,
kind: t.location,
onChange: (e) => r(i, { library_icon: e })
})]
}),
- /* @__PURE__ */ (0, B.jsx)(Eye, {
+ /* @__PURE__ */ (0, B.jsx)(Oye, {
index: i,
value: t.location,
onChange: (e) => r(i, { location: e })
}),
- e.windows === !1 ? /* @__PURE__ */ (0, B.jsx)(Dye, {
+ e.windows === !1 ? /* @__PURE__ */ (0, B.jsx)(kye, {
value: t.root,
onChange: (e) => r(i, { root: e })
}) : null
@@ -51246,18 +51281,18 @@ function Bye({ data: e, receipt: t }) {
})
]
}),
- w ? /* @__PURE__ */ (0, B.jsx)(pye, {}) : null,
- T.map((e) => /* @__PURE__ */ (0, B.jsxs)(Rk, { children: [
+ w ? /* @__PURE__ */ (0, B.jsx)(hye, {}) : null,
+ T.map((e) => /* @__PURE__ */ (0, B.jsxs)(Lk, { children: [
"未检测到 ",
e.name,
"。",
- /* @__PURE__ */ (0, B.jsxs)(Vk, {
+ /* @__PURE__ */ (0, B.jsxs)(Bk, {
href: e.download_url,
children: ["下载 ", e.name]
})
] }, e.name)),
- e.windows === !1 ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
- e.port_editable === !1 ? null : /* @__PURE__ */ (0, B.jsx)(Sk, {
+ e.windows === !1 ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: "本机文件夹是这台电脑读取媒体的位置。Windows 中的对应路径用于匹配馆藏中已有的路径,例如 B:\\ 对应本机挂载文件夹。" }) : null,
+ e.port_editable === !1 ? null : /* @__PURE__ */ (0, B.jsx)(xk, {
id: "configPort",
label: "本机访问端口",
inputMode: "numeric",
@@ -51267,7 +51302,7 @@ function Bye({ data: e, receipt: t }) {
isInvalid: !!h,
hint: h || "浏览器地址里冒号后面的数字,一般不用改。"
}),
- /* @__PURE__ */ (0, B.jsx)(GM, {
+ /* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: p,
onChange: m,
children: "保存后扫描并补全资料"
@@ -51277,7 +51312,7 @@ function Bye({ data: e, receipt: t }) {
title: "没有保存",
children: _
}) : null
- ] }), /* @__PURE__ */ (0, B.jsx)(Lk, {
+ ] }), /* @__PURE__ */ (0, B.jsx)(Ik, {
status: e.port_editable === !1 ? "保存后 Peach 会重新载入配置。" : "保存后 Peach 会重新启动,端口改了就用新地址打开。",
children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
@@ -51287,7 +51322,7 @@ function Bye({ data: e, receipt: t }) {
})]
});
}
-function Vye({ online: e }) {
+function Uye({ online: e }) {
return e === !0 ? /* @__PURE__ */ (0, B.jsxs)("span", {
"data-mount": "online",
className: "inline-flex items-center gap-1.5 text-body-2-medium text-notification-success-foreground",
@@ -51311,21 +51346,21 @@ function Vye({ online: e }) {
}), "未检测"]
});
}
-function Hye({ data: e }) {
- let t = e.media_sources, n = FE();
- return t ? /* @__PURE__ */ (0, B.jsxs)(Pk, {
+function Wye({ data: e }) {
+ let t = e.media_sources, n = PE();
+ return t ? /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "挂载状态",
children: [
- /* @__PURE__ */ (0, B.jsx)(Hk, { children: t.map((e, t) => /* @__PURE__ */ (0, B.jsxs)(Uk, {
- term: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Gk, { mark: AR(e.location) }), Fye(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, B.jsx)(Vye, { online: e.online })]
+ /* @__PURE__ */ (0, B.jsx)(Vk, { children: t.map((e, t) => /* @__PURE__ */ (0, B.jsxs)(Hk, {
+ term: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Wk, { mark: kR(e.location) }), Lye(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, B.jsx)(Uye, { online: e.online })]
}, t)) }),
- n.error ? /* @__PURE__ */ (0, B.jsx)(Ik, {
+ n.error ? /* @__PURE__ */ (0, B.jsx)(Fk, {
divided: !0,
- children: /* @__PURE__ */ (0, B.jsx)(zk, { children: n.error })
+ children: /* @__PURE__ */ (0, B.jsx)(Rk, { children: n.error })
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
- onClick: () => void n.run("refresh", (e) => xR(e), (e) => p.setQueryData(bR, e)),
+ /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ onClick: () => void n.run("refresh", (e) => bR(e), (e) => p.setQueryData(yR, e)),
...X(n.busy === "refresh"),
children: "刷新挂载状态"
}) })
@@ -51334,8 +51369,8 @@ function Hye({ data: e }) {
}
//#endregion
//#region src/react/settings/password-pair.tsx
-function Uye({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Sk, {
+function Gye({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(xk, {
id: "access-password",
type: "password",
label: e,
@@ -51348,7 +51383,7 @@ function Uye({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
validationBehavior: "aria",
isInvalid: !a && !!o,
hint: a ? s : o || s
- }), /* @__PURE__ */ (0, B.jsx)(Sk, {
+ }), /* @__PURE__ */ (0, B.jsx)(xk, {
id: "access-confirm",
type: "password",
label: "确认访问密码",
@@ -51365,13 +51400,13 @@ function Uye({ label: e, password: t, confirmation: n, onPassword: r, onConfirma
}
//#endregion
//#region src/react/settings/access-settings.tsx
-var Wye = {
+var Kye = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-function Gye({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(""), [u, d] = (0, R.useState)(!1), [f, p] = (0, R.useState)({}), m = (0, R.useRef)(null), h = FE(), g = (e) => {
+function qye({ initial: e, receipt: t }) {
+ let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(""), [o, s] = (0, R.useState)(""), [c, l] = (0, R.useState)(""), [u, d] = (0, R.useState)(!1), [f, p] = (0, R.useState)({}), m = (0, R.useRef)(null), h = PE(), 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) {
@@ -51388,28 +51423,28 @@ function Gye({ initial: e, receipt: t }) {
}, "POST", e), (e) => {
r(e), a(""), s(""), l(""), d(!1), p({}), t(e.mode === "open" ? "已关闭访问密码" : "已保存配置");
}, (e) => {
- let t = e instanceof RS ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof LS ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? p(n) : h.setError(U(e));
});
- }, _ = Wye[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ }, _ = Kye[n.mode], v = n.mode !== "locked";
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "访问密码",
onSubmit: g,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
ref: m,
- children: /* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
- _ ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: _ }) : null,
+ children: /* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ _ ? /* @__PURE__ */ (0, B.jsx)(Lk, { children: _ }) : null,
n.mode === "open" ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "warning",
title: "未设置访问密码",
children: "能连接到 Peach 的设备打开地址就能看馆藏,不需要登录。"
}) : null,
- n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, B.jsx)(GM, {
+ n.mode === "password" || n.mode === "legacy" ? /* @__PURE__ */ (0, B.jsx)(WM, {
isSelected: u,
onChange: d,
children: "关闭访问密码"
}) : null,
- n.mode === "password" ? /* @__PURE__ */ (0, B.jsx)(Sk, {
+ n.mode === "password" ? /* @__PURE__ */ (0, B.jsx)(xk, {
id: "access-current",
type: "password",
label: "当前访问密码",
@@ -51422,7 +51457,7 @@ function Gye({ initial: e, receipt: t }) {
isInvalid: !!f.current_password,
hint: f.current_password
}) : null,
- v ? /* @__PURE__ */ (0, B.jsx)(Uye, {
+ v ? /* @__PURE__ */ (0, B.jsx)(Gye, {
label: n.mode === "password" ? "新访问密码" : "设置访问密码",
password: o,
confirmation: c,
@@ -51438,9 +51473,9 @@ function Gye({ initial: e, receipt: t }) {
title: "访问范围",
children: "保存后,能连接到 Peach 的设备将直接访问馆藏。"
}) : null,
- h.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: h.error }) : null
+ h.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: h.error }) : null
] })
- }), v ? /* @__PURE__ */ (0, B.jsx)(Lk, {
+ }), v ? /* @__PURE__ */ (0, B.jsx)(Ik, {
status: "保存后立即生效。",
children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
@@ -51452,19 +51487,19 @@ function Gye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/tunnel-settings.tsx
-var Kye = 2e3, qye = [["quick", "临时链接"], ["named", "命名隧道"]], Jye = {
+var Jye = 2e3, Yye = [["quick", "临时链接"], ["named", "命名隧道"]], Xye = {
quick: "只用于临时预览;地址随机、重启后会变化。启动前必须设置访问密码。",
named: "地址是 Cloudflare 后台绑定的公开主机名,重启后不变。启动前必须设置访问密码,身份策略在 Cloudflare Access 里配置。"
};
-function Yye({ revision: e, initial: t, receipt: n }) {
- let [r, i] = (0, R.useState)(t), [a, o] = (0, R.useState)(e), [s, c] = (0, R.useState)(t.mode), [l, u] = (0, R.useState)(t.hostname), [d, f] = (0, R.useState)(""), [m, h] = (0, R.useState)({}), g = FE(), _ = r.state === "starting" || r.state === "running", v = r.named_available && s === "named";
+function Zye({ revision: e, initial: t, receipt: n }) {
+ let [r, i] = (0, R.useState)(t), [a, o] = (0, R.useState)(e), [s, c] = (0, R.useState)(t.mode), [l, u] = (0, R.useState)(t.hostname), [d, f] = (0, R.useState)(""), [m, h] = (0, R.useState)({}), g = PE(), _ = r.state === "starting" || r.state === "running", v = r.named_available && s === "named";
(0, R.useEffect)(() => {
if (r.state !== "starting") return;
let e = new AbortController(), t = window.setInterval(() => {
- xR(e.signal).then((t) => {
- e.signal.aborted || !t.tunnel || (p.setQueryData(bR, t), i(t.tunnel), o(t.revision));
+ bR(e.signal).then((t) => {
+ e.signal.aborted || !t.tunnel || (p.setQueryData(yR, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
- }, Kye);
+ }, Jye);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -51479,30 +51514,30 @@ function Yye({ revision: e, initial: t, receipt: n }) {
}, "POST", e), (e) => {
i(e), o(e.revision), c(e.mode), u(e.hostname), f(""), n(e);
}, (e) => {
- let t = e instanceof RS ? e.body : null, n = t?.errors || t?.detail?.errors;
+ let t = e instanceof LS ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? h(n) : g.setError(U(e));
});
};
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
title: "Cloudflare 公网入口",
onSubmit: (e) => {
e.preventDefault(), y("save", _, () => n("已保存配置"));
},
- children: [/* @__PURE__ */ (0, B.jsxs)(Ik, { children: [
- r.named_available ? /* @__PURE__ */ (0, B.jsx)(_A, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(Fk, { children: [
+ r.named_available ? /* @__PURE__ */ (0, B.jsx)(gA, {
"aria-label": "公网入口的形态(二选一)",
value: s,
isDisabled: _,
onChange: (e) => c(e),
- className: vA,
- children: qye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(BO, {
+ className: _A,
+ children: Yye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(zO, {
value: e,
- className: yA,
+ className: vA,
children: t
}, e))
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Rk, { children: Jye[v ? "named" : "quick"] }),
- v ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(Sk, {
+ /* @__PURE__ */ (0, B.jsx)(Lk, { children: Xye[v ? "named" : "quick"] }),
+ v ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(xk, {
id: "tunnel-hostname",
label: "公开主机名",
autoComplete: "off",
@@ -51513,7 +51548,7 @@ function Yye({ revision: e, initial: t, receipt: n }) {
validationBehavior: "aria",
isInvalid: !!m.hostname,
hint: m.hostname || "在 Cloudflare Zero Trust 里指向本机 origin 的那个主机名。"
- }), /* @__PURE__ */ (0, B.jsx)(Sk, {
+ }), /* @__PURE__ */ (0, B.jsx)(xk, {
id: "tunnel-token",
type: "password",
label: "隧道令牌",
@@ -51533,7 +51568,7 @@ function Yye({ revision: e, initial: t, receipt: n }) {
r.state === "running" && r.url ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "info",
title: "公网地址",
- children: /* @__PURE__ */ (0, B.jsx)(Vk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Bk, {
href: r.url,
children: r.url
})
@@ -51543,9 +51578,9 @@ function Yye({ revision: e, initial: t, receipt: n }) {
title: "正在连接",
children: "正在等待 cloudflared 连上 Cloudflare 边缘。"
}) : null,
- r.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: r.error }) : null,
- g.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: g.error }) : null
- ] }), /* @__PURE__ */ (0, B.jsxs)(Lk, {
+ r.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: r.error }) : null,
+ g.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: g.error }) : null
+ ] }), /* @__PURE__ */ (0, B.jsxs)(Ik, {
status: r.enabled ? "服务重启时会按设置尝试恢复。" : "服务重启后保持关闭。",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
onClick: () => y("toggle", !_, (e) => n(e.enabled ? "公网入口已启动" : "公网入口已停止")),
@@ -51561,24 +51596,24 @@ function Yye({ revision: e, initial: t, receipt: n }) {
}
//#endregion
//#region src/react/settings/network-settings.tsx
-var Xye = [
+var Qye = [
["environment", "系统代理"],
["direct", "直连"],
["proxy", "自定义"]
];
-function Zye({ data: e, receipt: t }) {
+function $ye({ data: e, receipt: t }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-6",
children: [
- e.peach_proxy ? /* @__PURE__ */ (0, B.jsx)(Qye, {
+ e.peach_proxy ? /* @__PURE__ */ (0, B.jsx)(ebe, {
initial: e.peach_proxy,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, B.jsx)(Gye, {
+ e.access ? /* @__PURE__ */ (0, B.jsx)(qye, {
initial: e.access,
receipt: t
}) : null,
- e.tunnel ? /* @__PURE__ */ (0, B.jsx)(Yye, {
+ e.tunnel ? /* @__PURE__ */ (0, B.jsx)(Zye, {
revision: e.revision,
initial: e.tunnel,
receipt: t
@@ -51586,9 +51621,9 @@ function Zye({ data: e, receipt: t }) {
]
});
}
-function Qye({ initial: e, receipt: t }) {
- let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.mode), [o, s] = (0, R.useState)(""), c = FE();
- return /* @__PURE__ */ (0, B.jsxs)(Pk, {
+function ebe({ initial: e, receipt: t }) {
+ let [n, r] = (0, R.useState)(e), [i, a] = (0, R.useState)(e.mode), [o, s] = (0, R.useState)(""), c = PE();
+ return /* @__PURE__ */ (0, B.jsxs)(Nk, {
id: "peachProxy",
title: "Peach 代理",
onSubmit: (e) => {
@@ -51600,25 +51635,25 @@ function Qye({ initial: e, receipt: t }) {
});
},
children: [
- /* @__PURE__ */ (0, B.jsx)(Fk, { children: /* @__PURE__ */ (0, B.jsx)(jk, {
+ /* @__PURE__ */ (0, B.jsx)(Pk, { children: /* @__PURE__ */ (0, B.jsx)(Ak, {
label: "连接方式",
description: "采集来源选「Peach 代理」时共用这里的连接方式。",
- children: /* @__PURE__ */ (0, B.jsx)(Dk, {
+ children: /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "连接方式",
selectedKey: i,
onSelectionChange: (e) => {
e !== null && a(String(e));
},
- children: Xye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: Qye.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e,
children: t
}, e))
})
}) }),
- i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, B.jsxs)(Ik, {
+ i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, B.jsxs)(Fk, {
divided: !0,
children: [
- i === "proxy" ? /* @__PURE__ */ (0, B.jsx)(Sk, {
+ i === "proxy" ? /* @__PURE__ */ (0, B.jsx)(xk, {
id: "peachProxyAddress",
type: "password",
label: "代理地址",
@@ -51632,10 +51667,10 @@ function Qye({ initial: e, receipt: t }) {
title: "需要选择连接方式",
children: "已有来源的代理地址不同,请选择公共连接方式。"
}) : null,
- c.error ? /* @__PURE__ */ (0, B.jsx)(zk, { children: c.error }) : null
+ c.error ? /* @__PURE__ */ (0, B.jsx)(Rk, { children: c.error }) : null
]
}) : null,
- /* @__PURE__ */ (0, B.jsx)(Lk, { children: /* @__PURE__ */ (0, B.jsx)(J, {
+ /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(J, {
type: "submit",
...X(c.busy === "save"),
children: "保存配置"
@@ -51645,10 +51680,10 @@ function Qye({ initial: e, receipt: t }) {
}
//#endregion
//#region src/react/settings/configuration-page.tsx
-function $ye({ receipt: e, reopenTutorial: t }) {
- let n = wS({
- queryKey: bR,
- queryFn: ({ signal: e }) => xR(e)
+function tbe({ receipt: e, reopenTutorial: t }) {
+ let n = CS({
+ queryKey: yR,
+ queryFn: ({ signal: e }) => bR(e)
}), r = n.data;
if (!r) return /* @__PURE__ */ (0, B.jsx)("div", {
className: "configpage",
@@ -51669,22 +51704,22 @@ function $ye({ receipt: e, reopenTutorial: t }) {
className: "configgroup",
children: "通用"
}) : null,
- a ? /* @__PURE__ */ (0, B.jsx)(eye, { ...i }) : null,
+ a ? /* @__PURE__ */ (0, B.jsx)(nye, { ...i }) : null,
/* @__PURE__ */ (0, B.jsx)("h2", {
className: "configgroup",
children: "媒体"
}),
- /* @__PURE__ */ (0, B.jsx)(zye, { ...i }),
+ /* @__PURE__ */ (0, B.jsx)(Vye, { ...i }),
o ? /* @__PURE__ */ (0, B.jsx)("h2", {
className: "configgroup",
children: "网络与访问"
}) : null,
- o ? /* @__PURE__ */ (0, B.jsx)(Zye, { ...i }) : null,
+ o ? /* @__PURE__ */ (0, B.jsx)($ye, { ...i }) : null,
/* @__PURE__ */ (0, B.jsx)("h2", {
className: "configgroup",
children: "更新与维护"
}),
- /* @__PURE__ */ (0, B.jsx)(aye, {
+ /* @__PURE__ */ (0, B.jsx)(sye, {
...i,
reopenTutorial: t
})
@@ -51693,14 +51728,14 @@ function $ye({ receipt: e, reopenTutorial: t }) {
}
//#endregion
//#region src/react/stats/stats.ts
-var ebe = "/api/stats", FR = ["stats"], IR = (e) => W(ebe, e);
-async function tbe(e) {
+var nbe = "/api/stats", PR = ["stats"], FR = (e) => W(nbe, e);
+async function rbe(e) {
await p.fetchQuery({
- queryKey: FR,
- queryFn: () => IR(e)
+ queryKey: PR,
+ queryFn: () => FR(e)
});
}
-var LR = (e, t) => t ? Math.round(e / t * 100) : 0, nbe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, RR = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, zR = (e) => (e.max_reached || 0) * 100, rbe = (e) => e.kind === "online" ? "在线直接观看" : RR(e) < zR(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", ibe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, abe = (e) => Math.max(1, ...e) * 1.1, obe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), sbe = {
+var IR = (e, t) => t ? Math.round(e / t * 100) : 0, ibe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, LR = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, RR = (e) => (e.max_reached || 0) * 100, abe = (e) => e.kind === "online" ? "在线直接观看" : LR(e) < RR(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", obe = (e) => `${e.kind === "online" ? "/follow/item/" : "/item/"}${e.id}`, sbe = (e) => Math.max(1, ...e) * 1.1, cbe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), lbe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -51708,18 +51743,18 @@ var LR = (e, t) => t ? Math.round(e / t * 100) : 0, nbe = (e) => e >= 3600 ? `${
audio: "音频",
account: "账号",
other: "其它文件"
-}, cbe = (e) => e.map((e) => ({
- name: sbe[e.k] ?? e.k,
+}, ube = (e) => e.map((e) => ({
+ name: lbe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), lbe = {
+})).sort((e, t) => t.value - e.value), dbe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, BR = (e, t = {}) => e.map((e) => ({
+}, zR = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), ube = (e) => BR(e, lbe), dbe = [
+})), fbe = (e) => zR(e, dbe), pbe = [
[
1,
1,
@@ -51755,49 +51790,49 @@ var LR = (e, t) => t ? Math.round(e / t * 100) : 0, nbe = (e) => e >= 3600 ? `${
Infinity,
"≥10 次"
]
-], fbe = (e) => dbe.map(([t, n, r]) => ({
+], mbe = (e) => pbe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
-})), pbe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
-function VR(e) {
- return typeof e == "string" && pbe.includes(e);
+})), hbe = /* @__PURE__ */ "dangerouslySetInnerHTML.onCopy.onCopyCapture.onCut.onCutCapture.onPaste.onPasteCapture.onCompositionEnd.onCompositionEndCapture.onCompositionStart.onCompositionStartCapture.onCompositionUpdate.onCompositionUpdateCapture.onFocus.onFocusCapture.onBlur.onBlurCapture.onChange.onChangeCapture.onBeforeInput.onBeforeInputCapture.onInput.onInputCapture.onReset.onResetCapture.onSubmit.onSubmitCapture.onInvalid.onInvalidCapture.onLoad.onLoadCapture.onError.onErrorCapture.onKeyDown.onKeyDownCapture.onKeyPress.onKeyPressCapture.onKeyUp.onKeyUpCapture.onAbort.onAbortCapture.onCanPlay.onCanPlayCapture.onCanPlayThrough.onCanPlayThroughCapture.onDurationChange.onDurationChangeCapture.onEmptied.onEmptiedCapture.onEncrypted.onEncryptedCapture.onEnded.onEndedCapture.onLoadedData.onLoadedDataCapture.onLoadedMetadata.onLoadedMetadataCapture.onLoadStart.onLoadStartCapture.onPause.onPauseCapture.onPlay.onPlayCapture.onPlaying.onPlayingCapture.onProgress.onProgressCapture.onRateChange.onRateChangeCapture.onSeeked.onSeekedCapture.onSeeking.onSeekingCapture.onStalled.onStalledCapture.onSuspend.onSuspendCapture.onTimeUpdate.onTimeUpdateCapture.onVolumeChange.onVolumeChangeCapture.onWaiting.onWaitingCapture.onAuxClick.onAuxClickCapture.onClick.onClickCapture.onContextMenu.onContextMenuCapture.onDoubleClick.onDoubleClickCapture.onDrag.onDragCapture.onDragEnd.onDragEndCapture.onDragEnter.onDragEnterCapture.onDragExit.onDragExitCapture.onDragLeave.onDragLeaveCapture.onDragOver.onDragOverCapture.onDragStart.onDragStartCapture.onDrop.onDropCapture.onMouseDown.onMouseDownCapture.onMouseEnter.onMouseLeave.onMouseMove.onMouseMoveCapture.onMouseOut.onMouseOutCapture.onMouseOver.onMouseOverCapture.onMouseUp.onMouseUpCapture.onSelect.onSelectCapture.onTouchCancel.onTouchCancelCapture.onTouchEnd.onTouchEndCapture.onTouchMove.onTouchMoveCapture.onTouchStart.onTouchStartCapture.onPointerDown.onPointerDownCapture.onPointerMove.onPointerMoveCapture.onPointerUp.onPointerUpCapture.onPointerCancel.onPointerCancelCapture.onPointerEnter.onPointerEnterCapture.onPointerLeave.onPointerLeaveCapture.onPointerOver.onPointerOverCapture.onPointerOut.onPointerOutCapture.onGotPointerCapture.onGotPointerCaptureCapture.onLostPointerCapture.onLostPointerCaptureCapture.onScroll.onScrollCapture.onWheel.onWheelCapture.onAnimationStart.onAnimationStartCapture.onAnimationEnd.onAnimationEndCapture.onAnimationIteration.onAnimationIterationCapture.onTransitionEnd.onTransitionEndCapture".split(".");
+function BR(e) {
+ return typeof e == "string" && hbe.includes(e);
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesNoEvents.js
-var mbe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
-function HR(e) {
- return typeof e == "string" && mbe.has(e);
+var gbe = /* @__PURE__ */ new Set(/* @__PURE__ */ "aria-activedescendant.aria-atomic.aria-autocomplete.aria-busy.aria-checked.aria-colcount.aria-colindex.aria-colspan.aria-controls.aria-current.aria-describedby.aria-details.aria-disabled.aria-errormessage.aria-expanded.aria-flowto.aria-haspopup.aria-hidden.aria-invalid.aria-keyshortcuts.aria-label.aria-labelledby.aria-level.aria-live.aria-modal.aria-multiline.aria-multiselectable.aria-orientation.aria-owns.aria-placeholder.aria-posinset.aria-pressed.aria-readonly.aria-relevant.aria-required.aria-roledescription.aria-rowcount.aria-rowindex.aria-rowspan.aria-selected.aria-setsize.aria-sort.aria-valuemax.aria-valuemin.aria-valuenow.aria-valuetext.className.color.height.id.lang.max.media.method.min.name.style.target.width.role.tabIndex.accentHeight.accumulate.additive.alignmentBaseline.allowReorder.alphabetic.amplitude.arabicForm.ascent.attributeName.attributeType.autoReverse.azimuth.baseFrequency.baselineShift.baseProfile.bbox.begin.bias.by.calcMode.capHeight.clip.clipPath.clipPathUnits.clipRule.colorInterpolation.colorInterpolationFilters.colorProfile.colorRendering.contentScriptType.contentStyleType.cursor.cx.cy.d.decelerate.descent.diffuseConstant.direction.display.divisor.dominantBaseline.dur.dx.dy.edgeMode.elevation.enableBackground.end.exponent.externalResourcesRequired.fill.fillOpacity.fillRule.filter.filterRes.filterUnits.floodColor.floodOpacity.focusable.fontFamily.fontSize.fontSizeAdjust.fontStretch.fontStyle.fontVariant.fontWeight.format.from.fx.fy.g1.g2.glyphName.glyphOrientationHorizontal.glyphOrientationVertical.glyphRef.gradientTransform.gradientUnits.hanging.horizAdvX.horizOriginX.href.ideographic.imageRendering.in2.in.intercept.k1.k2.k3.k4.k.kernelMatrix.kernelUnitLength.kerning.keyPoints.keySplines.keyTimes.lengthAdjust.letterSpacing.lightingColor.limitingConeAngle.local.markerEnd.markerHeight.markerMid.markerStart.markerUnits.markerWidth.mask.maskContentUnits.maskUnits.mathematical.mode.numOctaves.offset.opacity.operator.order.orient.orientation.origin.overflow.overlinePosition.overlineThickness.paintOrder.panose1.pathLength.patternContentUnits.patternTransform.patternUnits.pointerEvents.pointsAtX.pointsAtY.pointsAtZ.preserveAlpha.preserveAspectRatio.primitiveUnits.r.radius.refX.refY.renderingIntent.repeatCount.repeatDur.requiredExtensions.requiredFeatures.restart.result.rotate.rx.ry.seed.shapeRendering.slope.spacing.specularConstant.specularExponent.speed.spreadMethod.startOffset.stdDeviation.stemh.stemv.stitchTiles.stopColor.stopOpacity.strikethroughPosition.strikethroughThickness.string.stroke.strokeDasharray.strokeDashoffset.strokeLinecap.strokeLinejoin.strokeMiterlimit.strokeOpacity.strokeWidth.surfaceScale.systemLanguage.tableValues.targetX.targetY.textAnchor.textDecoration.textLength.textRendering.to.transform.u1.u2.underlinePosition.underlineThickness.unicode.unicodeBidi.unicodeRange.unitsPerEm.vAlphabetic.values.vectorEffect.version.vertAdvY.vertOriginX.vertOriginY.vHanging.vIdeographic.viewTarget.visibility.vMathematical.widths.wordSpacing.writingMode.x1.x2.x.xChannelSelector.xHeight.xlinkActuate.xlinkArcrole.xlinkHref.xlinkRole.xlinkShow.xlinkTitle.xlinkType.xmlBase.xmlLang.xmlns.xmlnsXlink.xmlSpace.y1.y2.y.yChannelSelector.z.zoomAndPan.ref.key.angle".split("."));
+function VR(e) {
+ return typeof e == "string" && gbe.has(e);
}
-function UR(e) {
+function HR(e) {
return typeof e == "string" && e.startsWith("data-");
}
-function WR(e) {
+function UR(e) {
if (typeof e != "object" || !e) return {};
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (HR(n) || UR(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (VR(n) || HR(n)) && (t[n] = e[n]);
return t;
}
-function GR(e) {
+function WR(e) {
if (e == null) return null;
if (/*#__PURE__*/ (0, R.isValidElement)(e) && typeof e.props == "object" && e.props !== null) {
var t = e.props;
- return WR(t);
+ return UR(t);
}
- return typeof e == "object" && !Array.isArray(e) ? WR(e) : null;
+ return typeof e == "object" && !Array.isArray(e) ? UR(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/util/svgPropertiesAndEvents.js
-function KR(e) {
+function GR(e) {
var t = {};
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (HR(n) || UR(n) || VR(n)) && (t[n] = e[n]);
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (VR(n) || HR(n) || BR(n)) && (t[n] = e[n]);
return t;
}
-function hbe(e) {
- return e == null ? null : /*#__PURE__*/ (0, R.isValidElement)(e) ? KR(e.props) : typeof e == "object" && !Array.isArray(e) ? KR(e) : null;
+function _be(e) {
+ return e == null ? null : /*#__PURE__*/ (0, R.isValidElement)(e) ? GR(e.props) : typeof e == "object" && !Array.isArray(e) ? GR(e) : null;
}
//#endregion
//#region node_modules/recharts/es6/container/Surface.js
-var gbe = [
+var vbe = [
"children",
"width",
"height",
@@ -51807,25 +51842,25 @@ var gbe = [
"title",
"desc"
];
-function qR() {
- return qR = Object.assign ? Object.assign.bind() : function(e) {
+function KR() {
+ return KR = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, qR.apply(null, arguments);
+ }, KR.apply(null, arguments);
}
-function _be(e, t) {
+function ybe(e, t) {
if (e == null) return {};
- var n, r, i = vbe(e, t);
+ var n, r, i = bbe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function vbe(e, t) {
+function bbe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -51834,14 +51869,14 @@ function vbe(e, t) {
}
return n;
}
-var JR = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = _be(e, gbe), d = a || {
+var qR = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { children: n, width: r, height: i, viewBox: a, className: o, style: s, title: c, desc: l } = e, u = ybe(e, vbe), d = a || {
width: r,
height: i,
x: 0,
y: 0
}, f = Sh("recharts-surface", o);
- return /*#__PURE__*/ R.createElement("svg", qR({}, KR(u), {
+ return /*#__PURE__*/ R.createElement("svg", KR({}, GR(u), {
className: f,
width: r,
height: i,
@@ -51849,26 +51884,26 @@ var JR = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
viewBox: `${d.x} ${d.y} ${d.width} ${d.height}`,
ref: t
}), /*#__PURE__*/ R.createElement("title", null, c), /*#__PURE__*/ R.createElement("desc", null, l), n);
-}), ybe = ["children", "className"];
-function YR() {
- return YR = Object.assign ? Object.assign.bind() : function(e) {
+}), xbe = ["children", "className"];
+function JR() {
+ return JR = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, YR.apply(null, arguments);
+ }, JR.apply(null, arguments);
}
-function bbe(e, t) {
+function Sbe(e, t) {
if (e == null) return {};
- var n, r, i = xbe(e, t);
+ var n, r, i = Cbe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function xbe(e, t) {
+function Cbe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -51877,39 +51912,39 @@ function xbe(e, t) {
}
return n;
}
-var XR = /*#__PURE__*/ R.forwardRef((e, t) => {
- var { children: n, className: r } = e, i = bbe(e, ybe), a = Sh("recharts-layer", r);
- return /*#__PURE__*/ R.createElement("g", YR({ className: a }, KR(i), { ref: t }), n);
-}), ZR = /*#__PURE__*/ (0, R.createContext)(null), Sbe = () => (0, R.useContext)(ZR);
+var YR = /*#__PURE__*/ R.forwardRef((e, t) => {
+ var { children: n, className: r } = e, i = Sbe(e, xbe), a = Sh("recharts-layer", r);
+ return /*#__PURE__*/ R.createElement("g", JR({ className: a }, GR(i), { ref: t }), n);
+}), XR = /*#__PURE__*/ (0, R.createContext)(null), wbe = () => (0, R.useContext)(XR);
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/constant.js
-function QR(e) {
+function ZR(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/math.js
-var $R = Math.cos, ez = Math.sin, tz = Math.sqrt, nz = Math.PI;
-nz / 2;
-var rz = 2 * nz, iz = Math.PI, az = 2 * iz, oz = 1e-6, Cbe = az - oz;
-function sz(e) {
+var QR = Math.cos, $R = Math.sin, ez = Math.sqrt, tz = Math.PI;
+tz / 2;
+var nz = 2 * tz, rz = Math.PI, iz = 2 * rz, az = 1e-6, Tbe = iz - az;
+function oz(e) {
this._ += e[0];
for (let t = 1, n = e.length; t < n; ++t) this._ += arguments[t] + e[t];
}
-function wbe(e) {
+function Ebe(e) {
let t = Math.floor(e);
if (!(t >= 0)) throw Error(`invalid digits: ${e}`);
- if (t > 15) return sz;
+ if (t > 15) return oz;
let n = 10 ** t;
return function(e) {
this._ += e[0];
for (let t = 1, r = e.length; t < r; ++t) this._ += Math.round(arguments[t] * n) / n + e[t];
};
}
-var cz = class {
+var sz = class {
constructor(e) {
- this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? sz : wbe(e);
+ this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "", this._append = e == null ? oz : Ebe(e);
}
moveTo(e, t) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}`;
@@ -51930,18 +51965,18 @@ var cz = class {
if (e = +e, t = +t, n = +n, r = +r, i = +i, i < 0) throw Error(`negative radius: ${i}`);
let a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (this._x1 === null) this._append`M${this._x1 = e},${this._y1 = t}`;
- else if (d > oz) {
- if (!(Math.abs(u * s - c * l) > oz) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
+ else if (d > az) {
+ if (!(Math.abs(u * s - c * l) > az) || !i) this._append`L${this._x1 = e},${this._y1 = t}`;
else {
- let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((iz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > oz && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
+ let f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((rz - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > az && this._append`L${e + y * l},${t + y * u}`, this._append`A${i},${i},0,0,${+(u * f > l * p)},${this._x1 = e + b * s},${this._y1 = t + b * c}`;
}
}
}
arc(e, t, n, r, i, a) {
if (e = +e, t = +t, n = +n, a = !!a, n < 0) throw Error(`negative radius: ${n}`);
let o = n * Math.cos(r), s = n * Math.sin(r), c = e + o, l = t + s, u = 1 ^ a, d = a ? r - i : i - r;
- this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > oz || Math.abs(this._y1 - l) > oz) && this._append`L${c},${l}`, n && (d < 0 && (d = d % az + az), d > Cbe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > oz && this._append`A${n},${n},0,${+(d >= iz)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
+ this._x1 === null ? this._append`M${c},${l}` : (Math.abs(this._x1 - c) > az || Math.abs(this._y1 - l) > az) && this._append`L${c},${l}`, n && (d < 0 && (d = d % iz + iz), d > Tbe ? this._append`A${n},${n},0,1,${u},${e - o},${t - s}A${n},${n},0,1,${u},${this._x1 = c},${this._y1 = l}` : d > az && this._append`A${n},${n},0,${+(d >= rz)},${u},${this._x1 = e + n * Math.cos(i)},${this._y1 = t + n * Math.sin(i)}`);
}
rect(e, t, n, r) {
this._append`M${this._x0 = this._x1 = +e},${this._y0 = this._y1 = +t}h${n = +n}v${+r}h${-n}Z`;
@@ -51950,10 +51985,10 @@ var cz = class {
return this._;
}
};
-cz.prototype;
+sz.prototype;
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/path.js
-function lz(e) {
+function cz(e) {
let t = 3;
return e.digits = function(n) {
if (!arguments.length) return t;
@@ -51964,18 +51999,18 @@ function lz(e) {
t = e;
}
return e;
- }, () => new cz(t);
+ }, () => new sz(t);
}
Array.prototype.slice;
-function uz(e) {
+function lz(e) {
return typeof e == "object" && "length" in e ? e : Array.from(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linear.js
-function dz(e) {
+function uz(e) {
this._context = e;
}
-dz.prototype = {
+uz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -51998,33 +52033,33 @@ dz.prototype = {
}
}
};
-function fz(e) {
- return new dz(e);
+function dz(e) {
+ return new uz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/point.js
-function pz(e) {
+function fz(e) {
return e[0];
}
-function mz(e) {
+function pz(e) {
return e[1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/line.js
-function hz(e, t) {
- var n = QR(!0), r = null, i = fz, a = null, o = lz(s);
- e = typeof e == "function" ? e : e === void 0 ? pz : QR(e), t = typeof t == "function" ? t : t === void 0 ? mz : QR(t);
+function mz(e, t) {
+ var n = ZR(!0), r = null, i = dz, a = null, o = cz(s);
+ e = typeof e == "function" ? e : e === void 0 ? fz : ZR(e), t = typeof t == "function" ? t : t === void 0 ? pz : ZR(t);
function s(s) {
- var c, l = (s = uz(s)).length, u, d = !1, f;
+ var c, l = (s = lz(s)).length, u, d = !1, f;
for (r ?? (a = i(f = o())), c = 0; c <= l; ++c) !(c < l && n(u = s[c], c, s)) === d && ((d = !d) ? a.lineStart() : a.lineEnd()), d && a.point(+e(u, c, s), +t(u, c, s));
if (f) return a = null, f + "" || null;
}
return s.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : QR(+t), s) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : ZR(+t), s) : e;
}, s.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : QR(+e), s) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : ZR(+e), s) : t;
}, s.defined = function(e) {
- return arguments.length ? (n = typeof e == "function" ? e : QR(!!e), s) : n;
+ return arguments.length ? (n = typeof e == "function" ? e : ZR(!!e), s) : n;
}, s.curve = function(e) {
return arguments.length ? (i = e, r != null && (a = i(r)), s) : i;
}, s.context = function(e) {
@@ -52033,11 +52068,11 @@ function hz(e, t) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/area.js
-function gz(e, t, n) {
- var r = null, i = QR(!0), a = null, o = fz, s = null, c = lz(l);
- e = typeof e == "function" ? e : e === void 0 ? pz : QR(+e), t = typeof t == "function" ? t : QR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? mz : QR(+n);
+function hz(e, t, n) {
+ var r = null, i = ZR(!0), a = null, o = dz, s = null, c = cz(l);
+ e = typeof e == "function" ? e : e === void 0 ? fz : ZR(+e), t = typeof t == "function" ? t : ZR(t === void 0 ? 0 : +t), n = typeof n == "function" ? n : n === void 0 ? pz : ZR(+n);
function l(l) {
- var u, d, f, p = (l = uz(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
+ var u, d, f, p = (l = lz(l)).length, m, h = !1, g, _ = Array(p), v = Array(p);
for (a ?? (s = o(g = c())), u = 0; u <= p; ++u) {
if (!(u < p && i(m = l[u], u, l)) === h) {
if (h = !h) d = u, s.areaStart(), s.lineStart();
@@ -52051,20 +52086,20 @@ function gz(e, t, n) {
if (g) return s = null, g + "" || null;
}
function u() {
- return hz().defined(i).curve(o).context(a);
+ return mz().defined(i).curve(o).context(a);
}
return l.x = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : QR(+t), r = null, l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : ZR(+t), r = null, l) : e;
}, l.x0 = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : QR(+t), l) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : ZR(+t), l) : e;
}, l.x1 = function(e) {
- return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : QR(+e), l) : r;
+ return arguments.length ? (r = e == null ? null : typeof e == "function" ? e : ZR(+e), l) : r;
}, l.y = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : QR(+e), n = null, l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : ZR(+e), n = null, l) : t;
}, l.y0 = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : QR(+e), l) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : ZR(+e), l) : t;
}, l.y1 = function(e) {
- return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : QR(+e), l) : n;
+ return arguments.length ? (n = e == null ? null : typeof e == "function" ? e : ZR(+e), l) : n;
}, l.lineX0 = l.lineY0 = function() {
return u().x(e).y(t);
}, l.lineY1 = function() {
@@ -52072,7 +52107,7 @@ function gz(e, t, n) {
}, l.lineX1 = function() {
return u().x(r).y(t);
}, l.defined = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : QR(!!e), l) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : ZR(!!e), l) : i;
}, l.curve = function(e) {
return arguments.length ? (o = e, a != null && (s = o(a)), l) : o;
}, l.context = function(e) {
@@ -52081,7 +52116,7 @@ function gz(e, t, n) {
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/bump.js
-var _z = class {
+var gz = class {
constructor(e, t) {
this._context = e, this._x = t;
}
@@ -52108,70 +52143,70 @@ var _z = class {
this._x0 = e, this._y0 = t;
}
};
-function Tbe(e) {
- return new _z(e, !0);
+function Dbe(e) {
+ return new gz(e, !0);
}
-function Ebe(e) {
- return new _z(e, !1);
+function Obe(e) {
+ return new gz(e, !1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol/circle.js
-var vz = { draw(e, t) {
- let n = tz(t / nz);
- e.moveTo(n, 0), e.arc(0, 0, n, 0, rz);
-} }, Dbe = { draw(e, t) {
- let n = tz(t / 5) / 2;
+var _z = { draw(e, t) {
+ let n = ez(t / tz);
+ e.moveTo(n, 0), e.arc(0, 0, n, 0, nz);
+} }, kbe = { draw(e, t) {
+ let n = ez(t / 5) / 2;
e.moveTo(-3 * n, -n), e.lineTo(-n, -n), e.lineTo(-n, -3 * n), e.lineTo(n, -3 * n), e.lineTo(n, -n), e.lineTo(3 * n, -n), e.lineTo(3 * n, n), e.lineTo(n, n), e.lineTo(n, 3 * n), e.lineTo(-n, 3 * n), e.lineTo(-n, n), e.lineTo(-3 * n, n), e.closePath();
-} }, yz = tz(1 / 3), Obe = yz * 2, kbe = { draw(e, t) {
- let n = tz(t / Obe), r = n * yz;
+} }, vz = ez(1 / 3), Abe = vz * 2, jbe = { draw(e, t) {
+ let n = ez(t / Abe), r = n * vz;
e.moveTo(0, -n), e.lineTo(r, 0), e.lineTo(0, n), e.lineTo(-r, 0), e.closePath();
-} }, Abe = { draw(e, t) {
- let n = tz(t), r = -n / 2;
+} }, Mbe = { draw(e, t) {
+ let n = ez(t), r = -n / 2;
e.rect(r, r, n, n);
-} }, jbe = .8908130915292852, bz = ez(nz / 10) / ez(7 * nz / 10), Mbe = ez(rz / 10) * bz, Nbe = -$R(rz / 10) * bz, Pbe = { draw(e, t) {
- let n = tz(t * jbe), r = Mbe * n, i = Nbe * n;
+} }, Nbe = .8908130915292852, yz = $R(tz / 10) / $R(7 * tz / 10), Pbe = $R(nz / 10) * yz, Fbe = -QR(nz / 10) * yz, Ibe = { draw(e, t) {
+ let n = ez(t * Nbe), r = Pbe * n, i = Fbe * n;
e.moveTo(0, -n), e.lineTo(r, i);
for (let t = 1; t < 5; ++t) {
- let a = rz * t / 5, o = $R(a), s = ez(a);
+ let a = nz * t / 5, o = QR(a), s = $R(a);
e.lineTo(s * n, -o * n), e.lineTo(o * r - s * i, s * r + o * i);
}
e.closePath();
-} }, xz = tz(3), Fbe = { draw(e, t) {
- let n = -tz(t / (xz * 3));
- e.moveTo(0, n * 2), e.lineTo(-xz * n, -n), e.lineTo(xz * n, -n), e.closePath();
-} }, Sz = -.5, Cz = tz(3) / 2, wz = 1 / tz(12), Ibe = (wz / 2 + 1) * 3, Lbe = { draw(e, t) {
- let n = tz(t / Ibe), r = n / 2, i = n * wz, a = r, o = n * wz + n, s = -a, c = o;
- e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(Sz * r - Cz * i, Cz * r + Sz * i), e.lineTo(Sz * a - Cz * o, Cz * a + Sz * o), e.lineTo(Sz * s - Cz * c, Cz * s + Sz * c), e.lineTo(Sz * r + Cz * i, Sz * i - Cz * r), e.lineTo(Sz * a + Cz * o, Sz * o - Cz * a), e.lineTo(Sz * s + Cz * c, Sz * c - Cz * s), e.closePath();
+} }, bz = ez(3), Lbe = { draw(e, t) {
+ let n = -ez(t / (bz * 3));
+ e.moveTo(0, n * 2), e.lineTo(-bz * n, -n), e.lineTo(bz * n, -n), e.closePath();
+} }, xz = -.5, Sz = ez(3) / 2, Cz = 1 / ez(12), Rbe = (Cz / 2 + 1) * 3, zbe = { draw(e, t) {
+ let n = ez(t / Rbe), r = n / 2, i = n * Cz, a = r, o = n * Cz + n, s = -a, c = o;
+ e.moveTo(r, i), e.lineTo(a, o), e.lineTo(s, c), e.lineTo(xz * r - Sz * i, Sz * r + xz * i), e.lineTo(xz * a - Sz * o, Sz * a + xz * o), e.lineTo(xz * s - Sz * c, Sz * s + xz * c), e.lineTo(xz * r + Sz * i, xz * i - Sz * r), e.lineTo(xz * a + Sz * o, xz * o - Sz * a), e.lineTo(xz * s + Sz * c, xz * c - Sz * s), e.closePath();
} };
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/symbol.js
-function Rbe(e, t) {
- let n = null, r = lz(i);
- e = typeof e == "function" ? e : QR(e || vz), t = typeof t == "function" ? t : QR(t === void 0 ? 64 : +t);
+function Bbe(e, t) {
+ let n = null, r = cz(i);
+ e = typeof e == "function" ? e : ZR(e || _z), t = typeof t == "function" ? t : ZR(t === void 0 ? 64 : +t);
function i() {
let i;
if (n ||= i = r(), e.apply(this, arguments).draw(n, +t.apply(this, arguments)), i) return n = null, i + "" || null;
}
return i.type = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : QR(t), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : ZR(t), i) : e;
}, i.size = function(e) {
- return arguments.length ? (t = typeof e == "function" ? e : QR(+e), i) : t;
+ return arguments.length ? (t = typeof e == "function" ? e : ZR(+e), i) : t;
}, i.context = function(e) {
return arguments.length ? (n = e ?? null, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/noop.js
-function Tz() {}
+function wz() {}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basis.js
-function Ez(e, t, n) {
+function Tz(e, t, n) {
e._context.bezierCurveTo((2 * e._x0 + e._x1) / 3, (2 * e._y0 + e._y1) / 3, (e._x0 + 2 * e._x1) / 3, (e._y0 + 2 * e._y1) / 3, (e._x0 + 4 * e._x1 + t) / 6, (e._y0 + 4 * e._y1 + n) / 6);
}
-function Dz(e) {
+function Ez(e) {
this._context = e;
}
-Dz.prototype = {
+Ez.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52183,7 +52218,7 @@ Dz.prototype = {
},
lineEnd: function() {
switch (this._point) {
- case 3: Ez(this, this._x1, this._y1);
+ case 3: Tz(this, this._x1, this._y1);
case 2: this._context.lineTo(this._x1, this._y1);
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
@@ -52197,22 +52232,22 @@ Dz.prototype = {
this._point = 2;
break;
case 2: this._point = 3, this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6);
- default: Ez(this, e, t);
+ default: Tz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function zbe(e) {
- return new Dz(e);
+function Vbe(e) {
+ return new Ez(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisClosed.js
-function Oz(e) {
+function Dz(e) {
this._context = e;
}
-Oz.prototype = {
- areaStart: Tz,
- areaEnd: Tz,
+Dz.prototype = {
+ areaStart: wz,
+ areaEnd: wz,
lineStart: function() {
this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN, this._point = 0;
},
@@ -52238,20 +52273,20 @@ Oz.prototype = {
case 2:
this._point = 3, this._x4 = e, this._y4 = t, this._context.moveTo((this._x0 + 4 * this._x1 + e) / 6, (this._y0 + 4 * this._y1 + t) / 6);
break;
- default: Ez(this, e, t);
+ default: Tz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Bbe(e) {
- return new Oz(e);
+function Hbe(e) {
+ return new Dz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/basisOpen.js
-function kz(e) {
+function Oz(e) {
this._context = e;
}
-kz.prototype = {
+Oz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52278,22 +52313,22 @@ kz.prototype = {
this._line ? this._context.lineTo(n, r) : this._context.moveTo(n, r);
break;
case 3: this._point = 4;
- default: Ez(this, e, t);
+ default: Tz(this, e, t);
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t;
}
};
-function Vbe(e) {
- return new kz(e);
+function Ube(e) {
+ return new Oz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/linearClosed.js
-function Az(e) {
+function kz(e) {
this._context = e;
}
-Az.prototype = {
- areaStart: Tz,
- areaEnd: Tz,
+kz.prototype = {
+ areaStart: wz,
+ areaEnd: wz,
lineStart: function() {
this._point = 0;
},
@@ -52304,30 +52339,30 @@ Az.prototype = {
e = +e, t = +t, this._point ? this._context.lineTo(e, t) : (this._point = 1, this._context.moveTo(e, t));
}
};
-function Hbe(e) {
- return new Az(e);
+function Wbe(e) {
+ return new kz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/monotone.js
-function jz(e) {
+function Az(e) {
return e < 0 ? -1 : 1;
}
-function Mz(e, t, n) {
+function jz(e, t, n) {
var r = e._x1 - e._x0, i = t - e._x1, a = (e._y1 - e._y0) / (r || i < 0 && -0), o = (n - e._y1) / (i || r < 0 && -0), s = (a * i + o * r) / (r + i);
- return (jz(a) + jz(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
+ return (Az(a) + Az(o)) * Math.min(Math.abs(a), Math.abs(o), .5 * Math.abs(s)) || 0;
}
-function Nz(e, t) {
+function Mz(e, t) {
var n = e._x1 - e._x0;
return n ? (3 * (e._y1 - e._y0) / n - t) / 2 : t;
}
-function Pz(e, t, n) {
+function Nz(e, t, n) {
var r = e._x0, i = e._y0, a = e._x1, o = e._y1, s = (a - r) / 3;
e._context.bezierCurveTo(r + s, i + s * t, a - s, o - s * n, a, o);
}
-function Fz(e) {
+function Pz(e) {
this._context = e;
}
-Fz.prototype = {
+Pz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52342,7 +52377,7 @@ Fz.prototype = {
case 2:
this._context.lineTo(this._x1, this._y1);
break;
- case 3: Pz(this, this._t0, Nz(this, this._t0));
+ case 3: Nz(this, this._t0, Mz(this, this._t0));
}
(this._line || this._line !== 0 && this._point === 1) && this._context.closePath(), this._line = 1 - this._line;
},
@@ -52357,24 +52392,24 @@ Fz.prototype = {
this._point = 2;
break;
case 2:
- this._point = 3, Pz(this, Nz(this, n = Mz(this, e, t)), n);
+ this._point = 3, Nz(this, Mz(this, n = jz(this, e, t)), n);
break;
- default: Pz(this, this._t0, n = Mz(this, e, t));
+ default: Nz(this, this._t0, n = jz(this, e, t));
}
this._x0 = this._x1, this._x1 = e, this._y0 = this._y1, this._y1 = t, this._t0 = n;
}
}
};
-function Iz(e) {
- this._context = new Lz(e);
+function Fz(e) {
+ this._context = new Iz(e);
}
-(Iz.prototype = Object.create(Fz.prototype)).point = function(e, t) {
- Fz.prototype.point.call(this, t, e);
+(Fz.prototype = Object.create(Pz.prototype)).point = function(e, t) {
+ Pz.prototype.point.call(this, t, e);
};
-function Lz(e) {
+function Iz(e) {
this._context = e;
}
-Lz.prototype = {
+Iz.prototype = {
moveTo: function(e, t) {
this._context.moveTo(t, e);
},
@@ -52388,18 +52423,18 @@ Lz.prototype = {
this._context.bezierCurveTo(t, e, r, n, a, i);
}
};
-function Ube(e) {
- return new Fz(e);
+function Gbe(e) {
+ return new Pz(e);
}
-function Wbe(e) {
- return new Iz(e);
+function Kbe(e) {
+ return new Fz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/natural.js
-function Rz(e) {
+function Lz(e) {
this._context = e;
}
-Rz.prototype = {
+Lz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52413,7 +52448,7 @@ Rz.prototype = {
var e = this._x, t = this._y, n = e.length;
if (n) {
if (this._line ? this._context.lineTo(e[0], t[0]) : this._context.moveTo(e[0], t[0]), n === 2) this._context.lineTo(e[1], t[1]);
- else for (var r = zz(e), i = zz(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
+ else for (var r = Rz(e), i = Rz(t), a = 0, o = 1; o < n; ++a, ++o) this._context.bezierCurveTo(r[0][a], i[0][a], r[1][a], i[1][a], e[o], t[o]);
}
(this._line || this._line !== 0 && n === 1) && this._context.closePath(), this._line = 1 - this._line, this._x = this._y = null;
},
@@ -52421,7 +52456,7 @@ Rz.prototype = {
this._x.push(+e), this._y.push(+t);
}
};
-function zz(e) {
+function Rz(e) {
var t, n = e.length - 1, r, i = Array(n), a = Array(n), o = Array(n);
for (i[0] = 0, a[0] = 2, o[0] = e[0] + 2 * e[1], t = 1; t < n - 1; ++t) i[t] = 1, a[t] = 4, o[t] = 4 * e[t] + 2 * e[t + 1];
for (i[n - 1] = 2, a[n - 1] = 7, o[n - 1] = 8 * e[n - 1] + e[n], t = 1; t < n; ++t) r = i[t] / a[t - 1], a[t] -= r, o[t] -= r * o[t - 1];
@@ -52429,15 +52464,15 @@ function zz(e) {
for (a[n - 1] = (e[n] + i[n - 1]) / 2, t = 0; t < n - 1; ++t) a[t] = 2 * e[t + 1] - i[t + 1];
return [i, a];
}
-function Gbe(e) {
- return new Rz(e);
+function qbe(e) {
+ return new Lz(e);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/curve/step.js
-function Bz(e, t) {
+function zz(e, t) {
this._context = e, this._t = t;
}
-Bz.prototype = {
+zz.prototype = {
areaStart: function() {
this._line = 0;
},
@@ -52465,78 +52500,78 @@ Bz.prototype = {
this._x = e, this._y = t;
}
};
-function Kbe(e) {
- return new Bz(e, .5);
+function Jbe(e) {
+ return new zz(e, .5);
}
-function qbe(e) {
- return new Bz(e, 0);
+function Ybe(e) {
+ return new zz(e, 0);
}
-function Jbe(e) {
- return new Bz(e, 1);
+function Xbe(e) {
+ return new zz(e, 1);
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/none.js
-function Vz(e, t) {
+function Bz(e, t) {
if ((o = e.length) > 1) for (var n = 1, r, i, a = e[t[0]], o, s = a.length; n < o; ++n) for (i = a, a = e[t[n]], r = 0; r < s; ++r) a[r][1] += a[r][0] = isNaN(i[r][1]) ? i[r][0] : i[r][1];
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/order/none.js
-function Hz(e) {
+function Vz(e) {
for (var t = e.length, n = Array(t); --t >= 0;) n[t] = t;
return n;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/stack.js
-function Ybe(e, t) {
+function Zbe(e, t) {
return e[t];
}
-function Xbe(e) {
+function Qbe(e) {
let t = [];
return t.key = e, t;
}
-function Zbe() {
- var e = QR([]), t = Hz, n = Vz, r = Ybe;
+function $be() {
+ var e = ZR([]), t = Vz, n = Bz, r = Zbe;
function i(i) {
- var a = Array.from(e.apply(this, arguments), Xbe), o, s = a.length, c = -1, l;
+ var a = Array.from(e.apply(this, arguments), Qbe), o, s = a.length, c = -1, l;
for (let e of i) for (o = 0, ++c; o < s; ++o) (a[o][c] = [0, +r(e, a[o].key, c, i)]).data = e;
- for (o = 0, l = uz(t(a)); o < s; ++o) a[l[o]].index = o;
+ for (o = 0, l = lz(t(a)); o < s; ++o) a[l[o]].index = o;
return n(a, l), a;
}
return i.keys = function(t) {
- return arguments.length ? (e = typeof t == "function" ? t : QR(Array.from(t)), i) : e;
+ return arguments.length ? (e = typeof t == "function" ? t : ZR(Array.from(t)), i) : e;
}, i.value = function(e) {
- return arguments.length ? (r = typeof e == "function" ? e : QR(+e), i) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : ZR(+e), i) : r;
}, i.order = function(e) {
- return arguments.length ? (t = e == null ? Hz : typeof e == "function" ? e : QR(Array.from(e)), i) : t;
+ return arguments.length ? (t = e == null ? Vz : typeof e == "function" ? e : ZR(Array.from(e)), i) : t;
}, i.offset = function(e) {
- return arguments.length ? (n = e ?? Vz, i) : n;
+ return arguments.length ? (n = e ?? Bz, i) : n;
}, i;
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/expand.js
-function Qbe(e, t) {
+function exe(e, t) {
if ((r = e.length) > 0) {
for (var n, r, i = 0, a = e[0].length, o; i < a; ++i) {
for (o = n = 0; n < r; ++n) o += e[n][i][1] || 0;
if (o) for (n = 0; n < r; ++n) e[n][i][1] /= o;
}
- Vz(e, t);
+ Bz(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/silhouette.js
-function $be(e, t) {
+function txe(e, t) {
if ((i = e.length) > 0) {
for (var n = 0, r = e[t[0]], i, a = r.length; n < a; ++n) {
for (var o = 0, s = 0; o < i; ++o) s += e[o][n][1] || 0;
r[n][1] += r[n][0] = -s / 2;
}
- Vz(e, t);
+ Bz(e, t);
}
}
//#endregion
//#region node_modules/victory-vendor/node_modules/d3-shape/src/offset/wiggle.js
-function exe(e, t) {
+function nxe(e, t) {
if (!(!((o = e.length) > 0) || !((a = (i = e[t[0]]).length) > 0))) {
for (var n = 0, r = 1, i, a, o; r < a; ++r) {
for (var s = 0, c = 0, l = 0; s < o; ++s) {
@@ -52548,53 +52583,53 @@ function exe(e, t) {
}
i[r - 1][1] += i[r - 1][0] = n, c && (n -= l / c);
}
- i[r - 1][1] += i[r - 1][0] = n, Vz(e, t);
+ i[r - 1][1] += i[r - 1][0] = n, Bz(e, t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
-function Uz(e) {
+function Hz(e) {
return e === "__proto__";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isDeepKey.mjs
-var txe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
-function Wz(e) {
+var rxe = /\.|(\[(?:[^[\]]*|(["'])(?:(?!\2)[^\\]|\\.)*?\2)\])/;
+function Uz(e) {
switch (typeof e) {
case "number":
case "symbol": return !1;
- case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : txe.test(e);
+ case "string": return e === "" || e.startsWith(".") || e.endsWith(".") ? !1 : rxe.test(e);
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toKey.mjs
-function Gz(e) {
+function Wz(e) {
return typeof e == "string" || typeof e == "symbol" ? e : Object.is(e?.valueOf?.(), -0) ? "-0" : String(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isSymbol.mjs
-function Kz(e) {
+function Gz(e) {
return typeof e == "symbol" || e instanceof Symbol;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toString.mjs
-function nxe(e) {
- return e == null ? "" : qz(e);
+function ixe(e) {
+ return e == null ? "" : Kz(e);
}
-function qz(e) {
+function Kz(e) {
if (typeof e == "string") return e;
- if (Array.isArray(e)) return e.map(qz).join(",");
- if (Kz(e)) return e.toString();
+ if (Array.isArray(e)) return e.map(Kz).join(",");
+ if (Gz(e)) return e.toString();
let t = e + "";
return t === "0" && Object.is(Number(e), -0) ? "-0" : t;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toPath.mjs
-function Jz(e) {
- if (Array.isArray(e)) return e.map(Gz);
+function qz(e) {
+ if (Array.isArray(e)) return e.map(Wz);
if (typeof e == "symbol") return [e];
- e = nxe(e);
+ e = ixe(e);
let t = [], n = e.length;
if (n === 0) return t;
let r = 0, i = "", a = "", o = !1, s = !1, c = /^-?\d+(?:\.\d+)?$/;
@@ -52622,100 +52657,100 @@ function Jz(e) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/get.mjs
-function Yz(e, t, n) {
+function Jz(e, t, n) {
if (e == null) return n;
switch (typeof t) {
case "string": {
- if (Uz(t)) return n;
+ if (Hz(t)) return n;
let r = e[t];
- return r === void 0 ? Wz(t) && !Object.hasOwn(e, t) ? Yz(e, Jz(t), n) : n : r;
+ return r === void 0 ? Uz(t) && !Object.hasOwn(e, t) ? Jz(e, qz(t), n) : n : r;
}
case "number":
case "symbol": {
- typeof t == "number" && (t = Gz(t));
+ typeof t == "number" && (t = Wz(t));
let r = e[t];
return r === void 0 ? n : r;
}
default: {
- if (Array.isArray(t)) return rxe(e, t, n);
- if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), Uz(t)) return n;
+ if (Array.isArray(t)) return axe(e, t, n);
+ if (t = Object.is(t?.valueOf(), -0) ? "-0" : String(t), Hz(t)) return n;
let r = e[t];
return r === void 0 ? n : r;
}
}
}
-function rxe(e, t, n) {
+function axe(e, t, n) {
if (t.length === 0) return n;
let r = e;
for (let e = 0; e < t.length; e++) {
- if (r == null || Uz(t[e])) return n;
+ if (r == null || Hz(t[e])) return n;
r = r[t[e]];
}
return r === void 0 ? n : r;
}
//#endregion
//#region node_modules/recharts/es6/util/round.js
-var ixe = 4;
-function Xz(e) {
- var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : ixe), n = Math.round(e * t) / t;
+var oxe = 4;
+function Yz(e) {
+ var t = 10 ** (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : oxe), n = Math.round(e * t) / t;
return Object.is(n, -0) ? 0 : n;
}
-function Zz(e) {
+function Xz(e) {
var t = [...arguments].slice(1);
return e.reduce((e, n, r) => {
var i = t[r - 1];
- return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + Xz(i) + n;
+ return typeof i == "string" ? e + i + n : i === void 0 ? e + n : e + Yz(i) + n;
}, "");
}
//#endregion
//#region node_modules/recharts/es6/util/DataUtils.js
-var Qz = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, $z = (e) => typeof e == "number" && e != +e, eB = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !$z(e), tB = (e) => Z(e) || typeof e == "string", axe = 0, nB = (e) => {
- var t = ++axe;
+var Zz = (e) => e === 0 ? 0 : e > 0 ? 1 : -1, Qz = (e) => typeof e == "number" && e != +e, $z = (e) => typeof e == "string" && e.indexOf("%") === e.length - 1, Z = (e) => (typeof e == "number" || e instanceof Number) && !Qz(e), eB = (e) => Z(e) || typeof e == "string", sxe = 0, tB = (e) => {
+ var t = ++sxe;
return `${e || ""}${t}`;
-}, rB = function(e, t) {
+}, nB = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0, r = arguments.length > 3 && arguments[3] !== void 0 && arguments[3];
if (!Z(e) && typeof e != "string") return n;
var i;
- if (eB(e)) {
+ if ($z(e)) {
if (t == null) return n;
var a = e.indexOf("%");
i = t * parseFloat(e.slice(0, a)) / 100;
} else i = +e;
- return $z(i) && (i = n), r && t != null && i > t && (i = t), i;
-}, iB = (e) => {
+ return Qz(i) && (i = n), r && t != null && i > t && (i = t), i;
+}, rB = (e) => {
if (!Array.isArray(e)) return !1;
for (var t = e.length, n = {}, r = 0; r < t; r++) if (!n[String(e[r])]) n[String(e[r])] = !0;
else return !0;
return !1;
};
-function aB(e, t, n) {
- return Z(e) && Z(t) ? Xz(e + n * (t - e)) : t;
+function iB(e, t, n) {
+ return Z(e) && Z(t) ? Yz(e + n * (t - e)) : t;
}
-function oB(e, t, n) {
- if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : Yz(e, t)) === n);
+function aB(e, t, n) {
+ if (!(!e || !e.length)) return e.find((e) => e && (typeof t == "function" ? t(e) : Jz(e, t)) === n);
}
-var sB = (e) => e == null, cB = (e) => sB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
-function lB(e) {
+var oB = (e) => e == null, sB = (e) => oB(e) ? e : `${e.charAt(0).toUpperCase()}${e.slice(1)}`;
+function cB(e) {
return e != null;
}
-function uB() {}
+function lB() {}
//#endregion
//#region node_modules/recharts/es6/shape/Symbols.js
-var oxe = [
+var cxe = [
"type",
"size",
"sizeType"
];
-function dB() {
- return dB = Object.assign ? Object.assign.bind() : function(e) {
+function uB() {
+ return uB = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, dB.apply(null, arguments);
+ }, uB.apply(null, arguments);
}
-function fB(e, t) {
+function dB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52725,30 +52760,30 @@ function fB(e, t) {
}
return n;
}
-function pB(e) {
+function fB(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? fB(Object(n), !0).forEach(function(t) {
- sxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fB(Object(n)).forEach(function(t) {
+ t % 2 ? dB(Object(n), !0).forEach(function(t) {
+ lxe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function sxe(e, t, n) {
- return (t = cxe(t)) in e ? Object.defineProperty(e, t, {
+function lxe(e, t, n) {
+ return (t = uxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cxe(e) {
- var t = lxe(e, "string");
+function uxe(e) {
+ var t = dxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lxe(e, t) {
+function dxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52758,16 +52793,16 @@ function lxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function uxe(e, t) {
+function fxe(e, t) {
if (e == null) return {};
- var n, r, i = dxe(e, t);
+ var n, r, i = pxe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function dxe(e, t) {
+function pxe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -52776,68 +52811,68 @@ function dxe(e, t) {
}
return n;
}
-var mB = {
- symbolCircle: vz,
- symbolCross: Dbe,
- symbolDiamond: kbe,
- symbolSquare: Abe,
- symbolStar: Pbe,
- symbolTriangle: Fbe,
- symbolWye: Lbe
-}, fxe = Math.PI / 180, pxe = (e) => mB[`symbol${cB(e)}`] || vz, mxe = (e, t, n) => {
+var pB = {
+ symbolCircle: _z,
+ symbolCross: kbe,
+ symbolDiamond: jbe,
+ symbolSquare: Mbe,
+ symbolStar: Ibe,
+ symbolTriangle: Lbe,
+ symbolWye: zbe
+}, mxe = Math.PI / 180, hxe = (e) => pB[`symbol${sB(e)}`] || _z, gxe = (e, t, n) => {
if (t === "area") return e;
switch (n) {
case "cross": return 5 * e * e / 9;
case "diamond": return .5 * e * e / Math.sqrt(3);
case "square": return e * e;
case "star":
- var r = 18 * fxe;
+ var r = 18 * mxe;
return 1.25 * e * e * (Math.tan(r) - Math.tan(r * 2) * Math.tan(r) ** 2);
case "triangle": return Math.sqrt(3) * e * e / 4;
case "wye": return (21 - 10 * Math.sqrt(3)) * e * e / 8;
default: return Math.PI * e * e / 4;
}
-}, hxe = (e, t) => {
- mB[`symbol${cB(e)}`] = t;
-}, hB = (e) => {
- var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = pB(pB({}, uxe(e, oxe)), {}, {
+}, _xe = (e, t) => {
+ pB[`symbol${sB(e)}`] = t;
+}, mB = (e) => {
+ var { type: t = "circle", size: n = 64, sizeType: r = "area" } = e, i = fB(fB({}, fxe(e, cxe)), {}, {
type: t,
size: n,
sizeType: r
}), a = "circle";
typeof t == "string" && (a = t);
var o = () => {
- var e = pxe(a), t = Rbe().type(e).size(mxe(n, r, a))();
+ var e = hxe(a), t = Bbe().type(e).size(gxe(n, r, a))();
if (t !== null) return t;
- }, { className: s, cx: c, cy: l } = i, u = KR(i);
- return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ R.createElement("path", dB({}, u, {
+ }, { className: s, cx: c, cy: l } = i, u = GR(i);
+ return Z(c) && Z(l) && Z(n) ? /*#__PURE__*/ R.createElement("path", uB({}, u, {
className: Sh("recharts-symbols", s),
transform: `translate(${c}, ${l})`,
d: o()
})) : null;
};
-hB.registerSymbol = hxe;
+mB.registerSymbol = _xe;
//#endregion
//#region node_modules/recharts/es6/util/types.js
-var gB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, _B = (e, t) => {
+var hB = (e) => "radius" in e && "startAngle" in e && "endAngle" in e, gB = (e, t) => {
if (!e || typeof e == "function" || typeof e == "boolean") return null;
var n = e;
if (/*#__PURE__*/ (0, R.isValidElement)(e) && (n = e.props), typeof n != "object" && typeof n != "function") return null;
var r = {};
return Object.keys(n).forEach((e) => {
- VR(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
+ BR(e) && typeof n[e] == "function" && (r[e] = t || ((t) => n[e](n, t)));
}), r;
-}, gxe = (e, t, n) => (r) => (e(t, n, r), null), vB = (e, t, n) => {
+}, vxe = (e, t, n) => (r) => (e(t, n, r), null), _B = (e, t, n) => {
if (e === null || typeof e != "object" && typeof e != "function") return null;
var r = null;
return Object.keys(e).forEach((i) => {
var a = e[i];
- VR(i) && typeof a == "function" && (r ||= {}, r[i] = gxe(a, t, n));
+ BR(i) && typeof a == "function" && (r ||= {}, r[i] = vxe(a, t, n));
}), r;
};
//#endregion
//#region node_modules/recharts/es6/util/resolveDefaultProps.js
-function yB(e, t) {
+function vB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52847,30 +52882,30 @@ function yB(e, t) {
}
return n;
}
-function _xe(e) {
+function yxe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? yB(Object(n), !0).forEach(function(t) {
- vxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : yB(Object(n)).forEach(function(t) {
+ t % 2 ? vB(Object(n), !0).forEach(function(t) {
+ bxe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : vB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function vxe(e, t, n) {
- return (t = yxe(t)) in e ? Object.defineProperty(e, t, {
+function bxe(e, t, n) {
+ return (t = xxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function yxe(e) {
- var t = bxe(e, "string");
+function xxe(e) {
+ var t = Sxe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function bxe(e, t) {
+function Sxe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52880,22 +52915,22 @@ function bxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function bB(e, t) {
- var n = _xe({}, e), r = t;
+function yB(e, t) {
+ var n = yxe({}, e), r = t;
return Object.keys(t).reduce((e, t) => (e[t] === void 0 && r[t] !== void 0 && (e[t] = r[t]), e), n);
}
//#endregion
//#region node_modules/recharts/es6/component/DefaultLegendContent.js
-function xB() {
- return xB = Object.assign ? Object.assign.bind() : function(e) {
+function bB() {
+ return bB = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, xB.apply(null, arguments);
+ }, bB.apply(null, arguments);
}
-function SB(e, t) {
+function xB(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -52905,30 +52940,30 @@ function SB(e, t) {
}
return n;
}
-function CB(e) {
+function SB(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? SB(Object(n), !0).forEach(function(t) {
- xxe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : SB(Object(n)).forEach(function(t) {
+ t % 2 ? xB(Object(n), !0).forEach(function(t) {
+ Cxe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xB(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xxe(e, t, n) {
- return (t = Sxe(t)) in e ? Object.defineProperty(e, t, {
+function Cxe(e, t, n) {
+ return (t = wxe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Sxe(e) {
- var t = Cxe(e, "string");
+function wxe(e) {
+ var t = Txe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Cxe(e, t) {
+function Txe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -52938,7 +52973,7 @@ function Cxe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var wB = 32, wxe = {
+var CB = 32, Exe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -52946,20 +52981,20 @@ var wB = 32, wxe = {
verticalAlign: "middle",
labelStyle: {}
};
-function Txe(e) {
+function Dxe(e) {
if (typeof e == "object" && e && "strokeDasharray" in e) return String(e.strokeDasharray);
}
-function Exe(e) {
- var { data: t, iconType: n, inactiveColor: r } = e, i = wB / 2, a = wB / 6, o = wB / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
+function Oxe(e) {
+ var { data: t, iconType: n, inactiveColor: r } = e, i = CB / 2, a = CB / 6, o = CB / 3, s = t.inactive ? r : t.color, c = n ?? t.type;
if (c === "none") return null;
if (c === "plainline") return /*#__PURE__*/ R.createElement("line", {
strokeWidth: 4,
fill: "none",
stroke: s,
- strokeDasharray: Txe(t.payload),
+ strokeDasharray: Dxe(t.payload),
x1: 0,
y1: i,
- x2: wB,
+ x2: CB,
y2: i,
className: "recharts-legend-icon"
});
@@ -52969,35 +53004,35 @@ function Exe(e) {
stroke: s,
d: `M0,${i}h${o}
A${a},${a},0,1,1,${2 * o},${i}
- H${wB}M${2 * o},${i}
+ H${CB}M${2 * o},${i}
A${a},${a},0,1,1,${o},${i}`,
className: "recharts-legend-icon"
});
if (c === "rect") return /*#__PURE__*/ R.createElement("path", {
stroke: "none",
fill: s,
- d: `M0,${wB / 8}h${wB}v${wB * 3 / 4}h${-wB}z`,
+ d: `M0,${CB / 8}h${CB}v${CB * 3 / 4}h${-CB}z`,
className: "recharts-legend-icon"
});
if (/*#__PURE__*/ R.isValidElement(t.legendIcon)) {
- var l = CB({}, t);
+ var l = SB({}, t);
return delete l.legendIcon, /*#__PURE__*/ R.cloneElement(t.legendIcon, l);
}
- return /*#__PURE__*/ R.createElement(hB, {
+ return /*#__PURE__*/ R.createElement(mB, {
fill: s,
cx: i,
cy: i,
- size: wB,
+ size: CB,
sizeType: "diameter",
type: c
});
}
-function Dxe(e) {
+function kxe(e) {
var { payload: t, iconSize: n, layout: r, formatter: i, inactiveColor: a, iconType: o, labelStyle: s } = e, c = {
x: 0,
y: 0,
- width: wB,
- height: wB
+ width: CB,
+ height: CB
}, l = {
display: r === "horizontal" ? "inline-block" : "block",
marginRight: 10
@@ -53013,20 +53048,20 @@ function Dxe(e) {
inactive: t.inactive
});
if (t.type === "none") return null;
- var p = typeof s == "object" ? CB({}, s) : {};
+ var p = typeof s == "object" ? SB({}, s) : {};
p.color = t.inactive ? a : p.color || t.color;
var m = d ? d(t.value, t, r) : t.value;
- return /*#__PURE__*/ R.createElement("li", xB({
+ return /*#__PURE__*/ R.createElement("li", bB({
className: f,
style: l,
key: `legend-item-${r}`
- }, vB(e, t, r)), /*#__PURE__*/ R.createElement(JR, {
+ }, _B(e, t, r)), /*#__PURE__*/ R.createElement(qR, {
width: n,
height: n,
viewBox: c,
style: u,
"aria-label": `${m} legend icon`
- }, /*#__PURE__*/ R.createElement(Exe, {
+ }, /*#__PURE__*/ R.createElement(Oxe, {
data: t,
iconType: o,
inactiveColor: a
@@ -53036,8 +53071,8 @@ function Dxe(e) {
}, m));
});
}
-var Oxe = (e) => {
- var t = bB(e, wxe), { payload: n, layout: r, align: i } = t;
+var Axe = (e) => {
+ var t = yB(e, Exe), { payload: n, layout: r, align: i } = t;
if (!n || !n.length) return null;
var a = {
padding: 0,
@@ -53047,11 +53082,11 @@ var Oxe = (e) => {
return /*#__PURE__*/ R.createElement("ul", {
className: "recharts-default-legend",
style: a
- }, /*#__PURE__*/ R.createElement(Dxe, xB({}, t, { payload: n })));
+ }, /*#__PURE__*/ R.createElement(kxe, bB({}, t, { payload: n })));
};
//#endregion
//#region node_modules/es-toolkit/dist/array/uniqBy.mjs
-function kxe(e, t) {
+function jxe(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r = 0; r < e.length; r++) {
let i = e[r], a = t(i, r, e);
@@ -53061,77 +53096,77 @@ function kxe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/function/ary.mjs
-function Axe(e, t) {
+function Mxe(e, t) {
return function(...n) {
return e.apply(this, n.slice(0, t));
};
}
//#endregion
//#region node_modules/es-toolkit/dist/function/identity.mjs
-function TB(e) {
+function wB(e) {
return e;
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isLength.mjs
-function jxe(e) {
+function Nxe(e) {
return Number.isSafeInteger(e) && e >= 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
-function EB(e) {
- return e != null && typeof e != "function" && jxe(e.length);
+function TB(e) {
+ return e != null && typeof e != "function" && Nxe(e.length);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/property.mjs
-function Mxe(e) {
+function Pxe(e) {
return function(t) {
- return Yz(t, e);
+ return Jz(t, e);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
-function DB(e) {
+function EB(e) {
return e == null || typeof e != "object" && typeof e != "function";
}
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
-function Nxe(e) {
+function Fxe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
-function Pxe(e) {
+function Ixe(e) {
return Object.getOwnPropertySymbols(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
-function OB(e) {
+function DB(e) {
return e == null ? e === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/tags.mjs
-var Fxe = "[object RegExp]", kB = "[object String]", AB = "[object Number]", jB = "[object Boolean]", MB = "[object Arguments]", Ixe = "[object Symbol]", Lxe = "[object Date]", Rxe = "[object Map]", zxe = "[object Set]", Bxe = "[object Array]", Vxe = "[object ArrayBuffer]", Hxe = "[object Object]", Uxe = "[object DataView]", Wxe = "[object Uint8Array]", Gxe = "[object Uint8ClampedArray]", Kxe = "[object Uint16Array]", qxe = "[object Uint32Array]", Jxe = "[object Int8Array]", Yxe = "[object Int16Array]", Xxe = "[object Int32Array]", Zxe = "[object Float32Array]", Qxe = "[object Float64Array]", NB = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
+var Lxe = "[object RegExp]", OB = "[object String]", kB = "[object Number]", AB = "[object Boolean]", jB = "[object Arguments]", Rxe = "[object Symbol]", zxe = "[object Date]", Bxe = "[object Map]", Vxe = "[object Set]", Hxe = "[object Array]", Uxe = "[object ArrayBuffer]", Wxe = "[object Object]", Gxe = "[object DataView]", Kxe = "[object Uint8Array]", qxe = "[object Uint8ClampedArray]", Jxe = "[object Uint16Array]", Yxe = "[object Uint32Array]", Xxe = "[object Int8Array]", Zxe = "[object Int16Array]", Qxe = "[object Int32Array]", $xe = "[object Float32Array]", eSe = "[object Float64Array]", MB = typeof globalThis == "object" && globalThis || typeof window == "object" && window || typeof self == "object" && self || typeof global == "object" && global || (function() {
return this;
})();
//#endregion
//#region node_modules/es-toolkit/dist/predicate/isBuffer.mjs
-function $xe(e) {
- return NB.Buffer !== void 0 && NB.Buffer.isBuffer(e);
+function tSe(e) {
+ return MB.Buffer !== void 0 && MB.Buffer.isBuffer(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
-function eSe(e, t) {
- return PB(e, void 0, e, /* @__PURE__ */ new Map(), t);
+function nSe(e, t) {
+ return NB(e, void 0, e, /* @__PURE__ */ new Map(), t);
}
-function PB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
+function NB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
let a = i?.(e, t, n, r);
if (a !== void 0) return a;
- if (DB(e)) return e;
+ if (EB(e)) return e;
if (r.has(e)) return r.get(e);
if (Array.isArray(e)) {
let t = Array(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = PB(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = NB(e[a], a, n, r, i);
return Object.hasOwn(e, "index") && (t.index = e.index), Object.hasOwn(e, "input") && (t.input = e.input), t;
}
if (e instanceof Date) return new Date(e.getTime());
@@ -53142,132 +53177,132 @@ function PB(e, t, n, r = /* @__PURE__ */ new Map(), i = void 0) {
if (e instanceof Map) {
let t = /* @__PURE__ */ new Map();
r.set(e, t);
- for (let [a, o] of e) t.set(a, PB(o, a, n, r, i));
+ for (let [a, o] of e) t.set(a, NB(o, a, n, r, i));
return t;
}
if (e instanceof Set) {
let t = /* @__PURE__ */ new Set();
r.set(e, t);
- for (let a of e) t.add(PB(a, void 0, n, r, i));
+ for (let a of e) t.add(NB(a, void 0, n, r, i));
return t;
}
- if ($xe(e)) return e.subarray();
- if (Nxe(e)) {
+ if (tSe(e)) return e.subarray();
+ if (Fxe(e)) {
let t = new (Object.getPrototypeOf(e)).constructor(e.length);
r.set(e, t);
- for (let a = 0; a < e.length; a++) t[a] = PB(e[a], a, n, r, i);
+ for (let a = 0; a < e.length; a++) t[a] = NB(e[a], a, n, r, i);
return t;
}
if (e instanceof ArrayBuffer || typeof SharedArrayBuffer < "u" && e instanceof SharedArrayBuffer) return e.slice(0);
if (e instanceof DataView) {
let t = new DataView(e.buffer.slice(0), e.byteOffset, e.byteLength);
- return r.set(e, t), FB(t, e, n, r, i), t;
+ return r.set(e, t), PB(t, e, n, r, i), t;
}
if (typeof File < "u" && e instanceof File) {
let t = new File([e], e.name, { type: e.type });
- return r.set(e, t), FB(t, e, n, r, i), t;
+ return r.set(e, t), PB(t, e, n, r, i), t;
}
if (typeof Blob < "u" && e instanceof Blob) {
let t = new Blob([e], { type: e.type });
- return r.set(e, t), FB(t, e, n, r, i), t;
+ return r.set(e, t), PB(t, e, n, r, i), t;
}
if (e instanceof Error) {
let t = structuredClone(e);
- return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, FB(t, e, n, r, i), t;
+ return r.set(e, t), t.message = e.message, t.name = e.name, t.stack = e.stack, t.cause = e.cause, t.constructor = e.constructor, PB(t, e, n, r, i), t;
}
if (e instanceof Boolean) {
let t = new Boolean(e.valueOf());
- return r.set(e, t), FB(t, e, n, r, i), t;
+ return r.set(e, t), PB(t, e, n, r, i), t;
}
if (e instanceof Number) {
let t = new Number(e.valueOf());
- return r.set(e, t), FB(t, e, n, r, i), t;
+ return r.set(e, t), PB(t, e, n, r, i), t;
}
if (e instanceof String) {
let t = new String(e.valueOf());
- return r.set(e, t), FB(t, e, n, r, i), t;
+ return r.set(e, t), PB(t, e, n, r, i), t;
}
- if (typeof e == "object" && tSe(e)) {
+ if (typeof e == "object" && rSe(e)) {
let t = Object.create(Object.getPrototypeOf(e));
- return r.set(e, t), FB(t, e, n, r, i), t;
+ return r.set(e, t), PB(t, e, n, r, i), t;
}
return e;
}
-function FB(e, t, n = e, r, i) {
- let a = [...Object.keys(t), ...Pxe(t)];
+function PB(e, t, n = e, r, i) {
+ let a = [...Object.keys(t), ...Ixe(t)];
for (let o = 0; o < a.length; o++) {
let s = a[o], c = Object.getOwnPropertyDescriptor(e, s);
- (c == null || c.writable) && (e[s] = PB(t[s], s, n, r, i));
+ (c == null || c.writable) && (e[s] = NB(t[s], s, n, r, i));
}
}
-function tSe(e) {
- switch (OB(e)) {
- case MB:
- case Bxe:
- case Vxe:
- case Uxe:
+function rSe(e) {
+ switch (DB(e)) {
case jB:
- case Lxe:
- case Zxe:
- case Qxe:
- case Jxe:
- case Yxe:
- case Xxe:
- case Rxe:
- case AB:
case Hxe:
- case Fxe:
+ case Uxe:
+ case Gxe:
+ case AB:
case zxe:
+ case $xe:
+ case eSe:
+ case Xxe:
+ case Zxe:
+ case Qxe:
+ case Bxe:
case kB:
- case Ixe:
case Wxe:
- case Gxe:
+ case Lxe:
+ case Vxe:
+ case OB:
+ case Rxe:
case Kxe:
- case qxe: return !0;
+ case qxe:
+ case Jxe:
+ case Yxe: return !0;
default: return !1;
}
}
//#endregion
//#region node_modules/es-toolkit/dist/object/cloneDeep.mjs
-function nSe(e) {
- return PB(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
+function iSe(e) {
+ return NB(e, void 0, e, /* @__PURE__ */ new Map(), void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/eq.mjs
-function IB(e, t) {
+function FB(e, t) {
return e === t || Number.isNaN(e) && Number.isNaN(t);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isObject.mjs
-function LB(e) {
+function IB(e) {
return e !== null && (typeof e == "object" || typeof e == "function");
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatchWith.mjs
-function RB(e, t, n) {
- return typeof n == "function" ? zB(e, t, function e(t, r, i, a, o, s) {
+function LB(e, t, n) {
+ return typeof n == "function" ? RB(e, t, function e(t, r, i, a, o, s) {
let c = n(t, r, i, a, o, s);
- return c === void 0 ? zB(t, r, e, s, !1) : !!c;
- }, /* @__PURE__ */ new Map(), !0) : RB(e, t, () => void 0);
+ return c === void 0 ? RB(t, r, e, s, !1) : !!c;
+ }, /* @__PURE__ */ new Map(), !0) : LB(e, t, () => void 0);
}
-function zB(e, t, n, r, i = !1) {
+function RB(e, t, n, r, i = !1) {
if (t === e) return !0;
switch (typeof t) {
- case "object": return rSe(e, t, n, r, i);
- case "function": return Object.keys(t).length > 0 ? zB(e, { ...t }, n, r, i) : IB(e, t);
- default: return LB(e) && i ? typeof t != "string" || t === "" : IB(e, t);
+ case "object": return aSe(e, t, n, r, i);
+ case "function": return Object.keys(t).length > 0 ? RB(e, { ...t }, n, r, i) : FB(e, t);
+ default: return IB(e) && i ? typeof t != "string" || t === "" : FB(e, t);
}
}
-function rSe(e, t, n, r, i = !1) {
+function aSe(e, t, n, r, i = !1) {
if (t == null) return !0;
- if (Array.isArray(t)) return BB(e, t, n, r);
- if (t instanceof Map) return iSe(e, t, n, r);
- if (t instanceof Set) return aSe(e, t, n, r);
+ if (Array.isArray(t)) return zB(e, t, n, r);
+ if (t instanceof Map) return oSe(e, t, n, r);
+ if (t instanceof Set) return sSe(e, t, n, r);
let a = Object.keys(t);
if (e == null) return i && a.length === 0;
- if (i) DB(e) && (e = Object(e));
+ if (i) EB(e) && (e = Object(e));
else {
- let t = OB(e);
+ let t = DB(e);
if (t !== "[object Object]" && t !== "[object Arguments]") return !1;
}
if (a.length === 0) return !0;
@@ -53283,13 +53318,13 @@ function rSe(e, t, n, r, i = !1) {
r?.delete(t);
}
}
-function iSe(e, t, n, r) {
+function oSe(e, t, n, r) {
if (t.size === 0) return !0;
if (!(e instanceof Map)) return !1;
for (let [i, a] of t.entries()) if (n(e.get(i), a, i, e, t, r) === !1) return !1;
return !0;
}
-function BB(e, t, n, r) {
+function zB(e, t, n, r) {
if (t.length === 0) return !0;
if (!Array.isArray(e)) return !1;
let i = /* @__PURE__ */ new Set();
@@ -53307,40 +53342,40 @@ function BB(e, t, n, r) {
}
return !0;
}
-function aSe(e, t, n, r) {
- return t.size === 0 || e instanceof Set && BB([...e], [...t], n, r);
+function sSe(e, t, n, r) {
+ return t.size === 0 || e instanceof Set && zB([...e], [...t], n, r);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isMatch.mjs
-function VB(e, t) {
- return RB(e, t, () => void 0);
+function BB(e, t) {
+ return LB(e, t, () => void 0);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matches.mjs
-function oSe(e) {
- return e = nSe(e), (t) => VB(t, e);
+function cSe(e) {
+ return e = iSe(e), (t) => BB(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
-function sSe(e, t) {
- return eSe(e, (n, r, i, a) => {
+function lSe(e, t) {
+ return nSe(e, (n, r, i, a) => {
let o = t?.(n, r, i, a);
if (o !== void 0) return o;
if (typeof e == "object") {
- if (OB(e) === "[object Object]" && typeof e.constructor != "function") {
+ if (DB(e) === "[object Object]" && typeof e.constructor != "function") {
let t = {};
- return a.set(e, t), FB(t, e, i, a), t;
+ return a.set(e, t), PB(t, e, i, a), t;
}
switch (Object.prototype.toString.call(e)) {
- case AB:
case kB:
- case jB: {
+ case OB:
+ case AB: {
let t = new e.constructor(e?.valueOf());
- return FB(t, e), t;
+ return PB(t, e), t;
}
- case MB: {
+ case jB: {
let t = {};
- return FB(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
+ return PB(t, e), t.length = e.length, t[Symbol.iterator] = e[Symbol.iterator], t;
}
default: return;
}
@@ -53349,79 +53384,79 @@ function sSe(e, t) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
-function cSe(e) {
- return sSe(e);
+function uSe(e) {
+ return lSe(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIndex.mjs
-var lSe = /^(?:0|[1-9]\d*)$/;
-function HB(e, t = 2 ** 53 - 1) {
+var dSe = /^(?:0|[1-9]\d*)$/;
+function VB(e, t = 2 ** 53 - 1) {
switch (typeof e) {
case "number": return Number.isInteger(e) && e >= 0 && e < t;
case "symbol": return !1;
- case "string": return lSe.test(e);
+ case "string": return dSe.test(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
-function uSe(e) {
- return typeof e == "object" && !!e && OB(e) === "[object Arguments]";
+function fSe(e) {
+ return typeof e == "object" && !!e && DB(e) === "[object Arguments]";
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/object/has.mjs
-function dSe(e, t) {
+function pSe(e, t) {
let n;
- if (n = Array.isArray(t) ? t : typeof t == "string" && Wz(t) && !(t in Object(e)) ? Jz(t) : [t], n.length === 0) return !1;
+ if (n = Array.isArray(t) ? t : typeof t == "string" && Uz(t) && !(t in Object(e)) ? qz(t) : [t], n.length === 0) return !1;
let r = e;
for (let e = 0; e < n.length; e++) {
- let t = Gz(n[e]);
- if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || uSe(r)) && HB(t) && Number(t) < r.length)) return !1;
+ let t = Wz(n[e]);
+ if ((r == null || !Object.hasOwn(r, t)) && !((Array.isArray(r) || fSe(r)) && VB(t) && Number(t) < r.length)) return !1;
r = r[t];
}
return !0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/matchesProperty.mjs
-function fSe(e, t) {
+function mSe(e, t) {
switch (typeof e) {
case "object":
Object.is(e?.valueOf(), -0) && (e = "-0");
break;
- case "number": e = Gz(e);
+ case "number": e = Wz(e);
}
- return t = cSe(t), function(n) {
- let r = Yz(n, e);
- return r === void 0 ? dSe(n, e) : t === void 0 ? r === void 0 : VB(r, t);
+ return t = uSe(t), function(n) {
+ let r = Jz(n, e);
+ return r === void 0 ? pSe(n, e) : t === void 0 ? r === void 0 : BB(r, t);
};
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/iteratee.mjs
-function UB(e) {
- if (e == null) return TB;
+function HB(e) {
+ if (e == null) return wB;
switch (typeof e) {
case "function": return e;
- case "object": return Array.isArray(e) && e.length === 2 ? fSe(e[0], e[1]) : oSe(e);
- default: return Mxe(e);
+ case "object": return Array.isArray(e) && e.length === 2 ? mSe(e[0], e[1]) : cSe(e);
+ default: return Pxe(e);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/normalizeZero.mjs
-function pSe(e) {
+function hSe(e) {
return e === 0 ? 0 : e;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/uniqBy.mjs
-function WB(e, t = TB) {
- return EB(e) ? kxe(Array.from(e), Axe(UB(t), 1)).map(pSe) : [];
+function UB(e, t = wB) {
+ return TB(e) ? jxe(Array.from(e), Mxe(HB(t), 1)).map(hSe) : [];
}
//#endregion
//#region node_modules/recharts/es6/util/payload/getUniqPayload.js
-function GB(e, t, n) {
- return t === !0 ? WB(e, n) : typeof t == "function" ? WB(e, t) : e;
+function WB(e, t, n) {
+ return t === !0 ? UB(e, n) : typeof t == "function" ? UB(e, t) : e;
}
//#endregion
//#region node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var mSe = /* @__PURE__ */ Ct(((e) => {
+var gSe = /* @__PURE__ */ Ct(((e) => {
var t = At(), n = Jh();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -53466,60 +53501,60 @@ var mSe = /* @__PURE__ */ Ct(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), hSe = /* @__PURE__ */ Ct(((e, t) => {
- t.exports = mSe();
-})), KB = /*#__PURE__*/ (0, R.createContext)(null), gSe = hSe(), _Se = (e) => e, qB = () => {
- var e = (0, R.useContext)(KB);
- return e ? e.store.dispatch : _Se;
-}, JB = () => {}, vSe = () => JB, ySe = (e, t) => e === t;
+})), _Se = /* @__PURE__ */ Ct(((e, t) => {
+ t.exports = gSe();
+})), GB = /*#__PURE__*/ (0, R.createContext)(null), vSe = _Se(), ySe = (e) => e, KB = () => {
+ var e = (0, R.useContext)(GB);
+ return e ? e.store.dispatch : ySe;
+}, qB = () => {}, bSe = () => qB, xSe = (e, t) => e === t;
function Q(e) {
- var t = (0, R.useContext)(KB), n = (0, R.useMemo)(() => t ? (t) => {
+ var t = (0, R.useContext)(GB), n = (0, R.useMemo)(() => t ? (t) => {
if (t != null) return e(t);
- } : JB, [t, e]);
- return (0, gSe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : vSe, t ? t.store.getState : JB, t ? t.store.getState : JB, n, ySe);
+ } : qB, [t, e]);
+ return (0, vSe.useSyncExternalStoreWithSelector)(t ? t.subscription.addNestedSub : bSe, t ? t.store.getState : qB, t ? t.store.getState : qB, n, xSe);
}
//#endregion
//#region node_modules/reselect/dist/reselect.mjs
-function bSe(e, t = `expected a function, instead received ${typeof e}`) {
+function SSe(e, t = `expected a function, instead received ${typeof e}`) {
if (typeof e != "function") throw TypeError(t);
}
-function xSe(e, t = `expected an object, instead received ${typeof e}`) {
+function CSe(e, t = `expected an object, instead received ${typeof e}`) {
if (typeof e != "object") throw TypeError(t);
}
-function SSe(e, t = "expected all items to be functions, instead received the following types: ") {
+function wSe(e, t = "expected all items to be functions, instead received the following types: ") {
if (!e.every((e) => typeof e == "function")) {
let n = e.map((e) => typeof e == "function" ? `function ${e.name || "unnamed"}()` : typeof e).join(", ");
throw TypeError(`${t}[${n}]`);
}
}
-var YB = (e) => Array.isArray(e) ? e : [e];
-function CSe(e) {
+var JB = (e) => Array.isArray(e) ? e : [e];
+function TSe(e) {
let t = Array.isArray(e[0]) ? e[0] : e;
- return SSe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
+ return wSe(t, "createSelector expects all input-selectors to be functions, but received the following types: "), t;
}
-function wSe(e, t) {
+function ESe(e, t) {
let n = [], { length: r } = e;
for (let i = 0; i < r; i++) n.push(e[i].apply(null, t));
return n;
}
-var TSe = class {
+var DSe = class {
constructor(e) {
this.value = e;
}
deref() {
return this.value;
}
-}, ESe = typeof WeakRef < "u" ? WeakRef : TSe, DSe = 0, XB = 1;
-function ZB() {
+}, OSe = typeof WeakRef < "u" ? WeakRef : DSe, kSe = 0, YB = 1;
+function XB() {
return {
- s: DSe,
+ s: kSe,
v: void 0,
o: null,
p: null
};
}
-function QB(e, t = {}) {
- let n = ZB(), { resultEqualityCheck: r } = t, i, a = 0;
+function ZB(e, t = {}) {
+ let n = XB(), { resultEqualityCheck: r } = t, i, a = 0;
function o() {
let t = n, { length: o } = arguments;
for (let e = 0, n = o; e < n; e++) {
@@ -53528,43 +53563,43 @@ function QB(e, t = {}) {
let e = t.o;
e === null && (t.o = e = /* @__PURE__ */ new WeakMap());
let r = e.get(n);
- r === void 0 ? (t = ZB(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = XB(), e.set(n, t)) : t = r;
} else {
let e = t.p;
e === null && (t.p = e = /* @__PURE__ */ new Map());
let r = e.get(n);
- r === void 0 ? (t = ZB(), e.set(n, t)) : t = r;
+ r === void 0 ? (t = XB(), e.set(n, t)) : t = r;
}
}
let s = t, c;
- if (t.s === XB) c = t.v;
+ if (t.s === YB) c = t.v;
else if (c = e.apply(null, arguments), a++, r) {
let e = i?.deref?.() ?? i;
- e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new ESe(c) : c;
+ e != null && r(e, c) && (c = e, a !== 0 && a--), i = typeof c == "object" && c || typeof c == "function" ? new OSe(c) : c;
}
- return s.s = XB, s.v = c, c;
+ return s.s = YB, s.v = c, c;
}
return o.clearCache = () => {
- n = ZB(), o.resetResultsCount();
+ n = XB(), o.resetResultsCount();
}, o.resultsCount = () => a, o.resetResultsCount = () => {
a = 0;
}, o;
}
-function OSe(e, ...t) {
+function ASe(e, ...t) {
let n = typeof e == "function" ? {
memoize: e,
memoizeOptions: t
} : e, r = (...e) => {
let t = 0, r = 0, i, a = {}, o = e.pop();
- typeof o == "object" && (a = o, o = e.pop()), bSe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
- let { memoize: s, memoizeOptions: c = [], argsMemoize: l = QB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
+ typeof o == "object" && (a = o, o = e.pop()), SSe(o, `createSelector expects an output function after the inputs, but received: [${typeof o}]`);
+ let { memoize: s, memoizeOptions: c = [], argsMemoize: l = ZB, argsMemoizeOptions: u = [], devModeChecks: d = {} } = {
...n,
...a
- }, f = YB(c), p = YB(u), m = CSe(e), h = s(function() {
+ }, f = JB(c), p = JB(u), m = TSe(e), h = s(function() {
return t++, o.apply(null, arguments);
}, ...f), g = l(function() {
r++;
- let e = wSe(m, arguments);
+ let e = ESe(m, arguments);
return i = h.apply(null, e), i;
}, ...p);
return Object.assign(g, {
@@ -53586,14 +53621,14 @@ function OSe(e, ...t) {
};
return Object.assign(r, { withTypes: () => r }), r;
}
-var $ = /* @__PURE__ */ OSe(QB), kSe = Object.assign((e, t = $) => {
- xSe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
+var $ = /* @__PURE__ */ ASe(ZB), jSe = Object.assign((e, t = $) => {
+ CSe(e, `createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);
let n = Object.keys(e);
return t(n.map((t) => e[t]), (...e) => e.reduce((e, t, r) => (e[n[r]] = t, e), {}));
-}, { withTypes: () => kSe });
+}, { withTypes: () => jSe });
//#endregion
//#region node_modules/es-toolkit/dist/array/flatten.mjs
-function ASe(e, t = 1) {
+function MSe(e, t = 1) {
let n = [], r = Math.floor(t), i = (e, t) => {
for (let a = 0; a < e.length; a++) {
let o = e[a];
@@ -53604,17 +53639,17 @@ function ASe(e, t = 1) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/isIterateeCall.mjs
-function $B(e, t, n) {
- return LB(n) && (typeof t == "number" && EB(n) && HB(t) && t < n.length || typeof t == "string" && t in n) ? IB(n[t], e) : !1;
+function QB(e, t, n) {
+ return IB(n) && (typeof t == "number" && TB(n) && VB(t) && t < n.length || typeof t == "string" && t in n) ? FB(n[t], e) : !1;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/compareValues.mjs
-function eV(e) {
+function $B(e) {
return typeof e == "symbol" ? 1 : e === null ? 2 : e === void 0 ? 3 : e === e ? 0 : 4;
}
-var jSe = (e, t, n) => {
+var NSe = (e, t, n) => {
if (e !== t) {
- let r = eV(e), i = eV(t);
+ let r = $B(e), i = $B(t);
if (r === i && r === 0) {
if (e < t) return n === "desc" ? 1 : -1;
if (e > t) return n === "desc" ? -1 : 1;
@@ -53622,15 +53657,15 @@ var jSe = (e, t, n) => {
return n === "desc" ? i - r : r - i;
}
return 0;
-}, MSe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, NSe = /^\w*$/;
-function PSe(e, t) {
- return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || Kz(e) ? !0 : typeof e == "string" && (NSe.test(e) || !MSe.test(e)) || t != null && Object.hasOwn(t, e);
+}, PSe = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, FSe = /^\w*$/;
+function ISe(e, t) {
+ return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || Gz(e) ? !0 : typeof e == "string" && (FSe.test(e) || !PSe.test(e)) || t != null && Object.hasOwn(t, e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/orderBy.mjs
-function FSe(e, t, n, r) {
+function LSe(e, t, n, r) {
if (e == null) return [];
- n = r ? void 0 : n, Array.isArray(e) || (e = EB(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
+ n = r ? void 0 : n, Array.isArray(e) || (e = TB(e) ? Array.from(e) : Object.values(e)), Array.isArray(t) || (t = t == null ? [null] : [t]), t.length === 0 && (t = [null]), Array.isArray(n) || (n = n == null ? [] : [n]), n = n.map((e) => String(e));
let i = (e, t) => {
let n = e, r = 0;
for (; r < t.length && n != null; ++r) n = n[t[r]];
@@ -53638,16 +53673,16 @@ function FSe(e, t, n, r) {
}, a = (e, t) => {
if (e == null) return t;
if (t != null) return typeof e == "object" && "key" in e ? Object.hasOwn(t, e.key) ? t[e.key] : i(t, e.path) : typeof e == "function" ? e(t) : Array.isArray(e) ? i(t, e) : t[e];
- }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || PSe(e) ? e : {
+ }, o = t.map((e) => (Array.isArray(e) && e.length === 1 && (e = e[0]), e == null || typeof e == "function" || Array.isArray(e) || ISe(e) ? e : {
key: e,
- path: Jz(e)
+ path: qz(e)
}));
return e.map((e) => ({
original: e,
criteria: o.map((t) => a(t, e))
})).slice().sort((e, t) => {
for (let r = 0; r < o.length; r++) {
- let i = jSe(e.criteria[r], t.criteria[r], n[r]);
+ let i = NSe(e.criteria[r], t.criteria[r], n[r]);
if (i !== 0) return i;
}
return 0;
@@ -53655,25 +53690,25 @@ function FSe(e, t, n, r) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/sortBy.mjs
-function tV(e, ...t) {
+function eV(e, ...t) {
let n = t.length;
- return n > 1 && $B(e, t[0], t[1]) ? t = [] : n > 2 && $B(t[0], t[1], t[2]) && (t = [t[0]]), FSe(e, ASe(t), ["asc"]);
+ return n > 1 && QB(e, t[0], t[1]) ? t = [] : n > 2 && QB(t[0], t[1], t[2]) && (t = [t[0]]), LSe(e, MSe(t), ["asc"]);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/legendSelectors.js
-var nV = (e) => e.legend.settings, ISe = (e) => e.legend.size, LSe = $([(e) => e.legend.payload, nV], (e, t) => {
+var tV = (e) => e.legend.settings, RSe = (e) => e.legend.size, zSe = $([(e) => e.legend.payload, tV], (e, t) => {
var { itemSorter: n } = t, r = e.flat(1);
- return n ? tV(r, n) : r;
+ return n ? eV(r, n) : r;
});
//#endregion
//#region node_modules/recharts/es6/context/legendPayloadContext.js
-function RSe() {
- return Q(LSe);
+function BSe() {
+ return Q(zSe);
}
//#endregion
//#region node_modules/recharts/es6/util/useElementOffset.js
-var rV = 1;
-function iV() {
+var nV = 1;
+function rV() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], [t, n] = (0, R.useState)({
height: 0,
left: 0,
@@ -53688,7 +53723,7 @@ function iV() {
top: r.top,
width: r.width
};
- (Math.abs(i.height - t.height) > rV || Math.abs(i.left - t.left) > rV || Math.abs(i.top - t.top) > rV || Math.abs(i.width - t.width) > rV) && n({
+ (Math.abs(i.height - t.height) > nV || Math.abs(i.left - t.left) > nV || Math.abs(i.top - t.top) > nV || Math.abs(i.width - t.width) > nV) && n({
height: i.height,
left: i.left,
top: i.top,
@@ -53705,26 +53740,26 @@ function iV() {
}
//#endregion
//#region node_modules/redux/dist/redux.mjs
-function aV(e) {
+function iV(e) {
return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
-var oV = typeof Symbol == "function" && Symbol.observable || "@@observable", sV = () => Math.random().toString(36).substring(7).split("").join("."), cV = {
- INIT: `@@redux/INIT${/* @__PURE__ */ sV()}`,
- REPLACE: `@@redux/REPLACE${/* @__PURE__ */ sV()}`,
- PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${sV()}`
+var aV = typeof Symbol == "function" && Symbol.observable || "@@observable", oV = () => Math.random().toString(36).substring(7).split("").join("."), sV = {
+ INIT: `@@redux/INIT${/* @__PURE__ */ oV()}`,
+ REPLACE: `@@redux/REPLACE${/* @__PURE__ */ oV()}`,
+ PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${oV()}`
};
-function lV(e) {
+function cV(e) {
if (typeof e != "object" || !e) return !1;
let t = e;
for (; Object.getPrototypeOf(t) !== null;) t = Object.getPrototypeOf(t);
return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
}
-function uV(e, t, n) {
- if (typeof e != "function") throw Error(aV(2));
- if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(aV(0));
+function lV(e, t, n) {
+ if (typeof e != "function") throw Error(iV(2));
+ if (typeof t == "function" && typeof n == "function" || typeof n == "function" && typeof arguments[3] == "function") throw Error(iV(0));
if (typeof t == "function" && n === void 0 && (n = t, t = void 0), n !== void 0) {
- if (typeof n != "function") throw Error(aV(1));
- return n(uV)(e, t);
+ if (typeof n != "function") throw Error(iV(1));
+ return n(lV)(e, t);
}
let r = e, i = t, a = /* @__PURE__ */ new Map(), o = a, s = 0, c = !1;
function l() {
@@ -53733,27 +53768,27 @@ function uV(e, t, n) {
}));
}
function u() {
- if (c) throw Error(aV(3));
+ if (c) throw Error(iV(3));
return i;
}
function d(e) {
- if (typeof e != "function") throw Error(aV(4));
- if (c) throw Error(aV(5));
+ if (typeof e != "function") throw Error(iV(4));
+ if (c) throw Error(iV(5));
let t = !0;
l();
let n = s++;
return o.set(n, e), function() {
if (t) {
- if (c) throw Error(aV(6));
+ if (c) throw Error(iV(6));
t = !1, l(), o.delete(n), a = null;
}
};
}
function f(e) {
- if (!lV(e)) throw Error(aV(7));
- if (e.type === void 0) throw Error(aV(8));
- if (typeof e.type != "string") throw Error(aV(17));
- if (c) throw Error(aV(9));
+ if (!cV(e)) throw Error(iV(7));
+ if (e.type === void 0) throw Error(iV(8));
+ if (typeof e.type != "string") throw Error(iV(17));
+ if (c) throw Error(iV(9));
try {
c = !0, i = r(i, e);
} finally {
@@ -53764,41 +53799,41 @@ function uV(e, t, n) {
}), e;
}
function p(e) {
- if (typeof e != "function") throw Error(aV(10));
- r = e, f({ type: cV.REPLACE });
+ if (typeof e != "function") throw Error(iV(10));
+ r = e, f({ type: sV.REPLACE });
}
function m() {
let e = d;
return {
subscribe(t) {
- if (typeof t != "object" || !t) throw Error(aV(11));
+ if (typeof t != "object" || !t) throw Error(iV(11));
function n() {
let e = t;
e.next && e.next(u());
}
return n(), { unsubscribe: e(n) };
},
- [oV]() {
+ [aV]() {
return this;
}
};
}
- return f({ type: cV.INIT }), {
+ return f({ type: sV.INIT }), {
dispatch: f,
subscribe: d,
getState: u,
replaceReducer: p,
- [oV]: m
+ [aV]: m
};
}
-function dV(e) {
+function uV(e) {
Object.keys(e).forEach((t) => {
let n = e[t];
- if (n(void 0, { type: cV.INIT }) === void 0) throw Error(aV(12));
- if (n(void 0, { type: cV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(aV(13));
+ if (n(void 0, { type: sV.INIT }) === void 0) throw Error(iV(12));
+ if (n(void 0, { type: sV.PROBE_UNKNOWN_ACTION() }) === void 0) throw Error(iV(13));
});
}
-function fV(e) {
+function dV(e) {
let t = Object.keys(e), n = {};
for (let r = 0; r < t.length; r++) {
let i = t[r];
@@ -53806,7 +53841,7 @@ function fV(e) {
}
let r = Object.keys(n), i;
try {
- dV(n);
+ uV(n);
} catch (e) {
i = e;
}
@@ -53815,124 +53850,124 @@ function fV(e) {
let a = !1, o = {};
for (let i = 0; i < r.length; i++) {
let s = r[i], c = n[s], l = e[s], u = c(l, t);
- if (u === void 0) throw t && t.type, Error(aV(14));
+ if (u === void 0) throw t && t.type, Error(iV(14));
o[s] = u, a ||= u !== l;
}
return a ||= r.length !== Object.keys(e).length, a ? o : e;
};
}
-function pV(...e) {
+function fV(...e) {
return e.length === 0 ? (e) => e : e.length === 1 ? e[0] : e.reduce((e, t) => (...n) => e(t(...n)));
}
-function mV(...e) {
+function pV(...e) {
return (t) => (n, r) => {
let i = t(n, r), a = () => {
- throw Error(aV(15));
+ throw Error(iV(15));
}, o = {
getState: i.getState,
dispatch: (e, ...t) => a(e, ...t)
};
- return a = pV(...e.map((e) => e(o)))(i.dispatch), {
+ return a = fV(...e.map((e) => e(o)))(i.dispatch), {
...i,
dispatch: a
};
};
}
-function hV(e) {
- return lV(e) && "type" in e && typeof e.type == "string";
+function mV(e) {
+ return cV(e) && "type" in e && typeof e.type == "string";
}
//#endregion
//#region node_modules/@reduxjs/toolkit/node_modules/immer/dist/immer.mjs
-var gV = Symbol.for("immer-nothing"), _V = Symbol.for("immer-draftable"), vV = Symbol.for("immer-state");
-function yV(e, ...t) {
+var hV = Symbol.for("immer-nothing"), gV = Symbol.for("immer-draftable"), _V = Symbol.for("immer-state");
+function vV(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var bV = Object, xV = bV.getPrototypeOf, SV = "constructor", CV = "prototype", wV = "configurable", TV = "enumerable", EV = "writable", DV = "value", OV = (e) => !!e && !!e[vV];
-function kV(e) {
- return e ? jV(e) || LV(e) || !!e[_V] || !!e[SV]?.[_V] || RV(e) || zV(e) : !1;
+var yV = Object, bV = yV.getPrototypeOf, xV = "constructor", SV = "prototype", CV = "configurable", wV = "enumerable", TV = "writable", EV = "value", DV = (e) => !!e && !!e[_V];
+function OV(e) {
+ return e ? AV(e) || IV(e) || !!e[gV] || !!e[xV]?.[gV] || LV(e) || RV(e) : !1;
}
-var zSe = bV[CV][SV].toString(), AV = /* @__PURE__ */ new WeakMap();
-function jV(e) {
- if (!e || !BV(e)) return !1;
- let t = xV(e);
- if (t === null || t === bV[CV]) return !0;
- let n = bV.hasOwnProperty.call(t, SV) && t[SV];
+var VSe = yV[SV][xV].toString(), kV = /* @__PURE__ */ new WeakMap();
+function AV(e) {
+ if (!e || !zV(e)) return !1;
+ let t = bV(e);
+ if (t === null || t === yV[SV]) return !0;
+ let n = yV.hasOwnProperty.call(t, xV) && t[xV];
if (n === Object) return !0;
- if (!VV(n)) return !1;
- let r = AV.get(n);
- return r === void 0 && (r = Function.toString.call(n), AV.set(n, r)), r === zSe;
+ if (!BV(n)) return !1;
+ let r = kV.get(n);
+ return r === void 0 && (r = Function.toString.call(n), kV.set(n, r)), r === VSe;
}
-function MV(e, t, n = !0) {
- NV(e) === 0 ? (n ? Reflect.ownKeys(e) : bV.keys(e)).forEach((n) => {
+function jV(e, t, n = !0) {
+ MV(e) === 0 ? (n ? Reflect.ownKeys(e) : yV.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function NV(e) {
- let t = e[vV];
- return t ? t.type_ : LV(e) ? 1 : RV(e) ? 2 : zV(e) ? 3 : 0;
+function MV(e) {
+ let t = e[_V];
+ return t ? t.type_ : IV(e) ? 1 : LV(e) ? 2 : RV(e) ? 3 : 0;
}
-var PV = (e, t, n = NV(e)) => n === 2 ? e.has(t) : bV[CV].hasOwnProperty.call(e, t), FV = (e, t, n = NV(e)) => n === 2 ? e.get(t) : e[t], IV = (e, t, n, r = NV(e)) => {
+var NV = (e, t, n = MV(e)) => n === 2 ? e.has(t) : yV[SV].hasOwnProperty.call(e, t), PV = (e, t, n = MV(e)) => n === 2 ? e.get(t) : e[t], FV = (e, t, n, r = MV(e)) => {
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
};
-function BSe(e, t) {
+function HSe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-var LV = Array.isArray, RV = (e) => e instanceof Map, zV = (e) => e instanceof Set, BV = (e) => typeof e == "object", VV = (e) => typeof e == "function", HV = (e) => typeof e == "boolean";
-function VSe(e) {
+var IV = Array.isArray, LV = (e) => e instanceof Map, RV = (e) => e instanceof Set, zV = (e) => typeof e == "object", BV = (e) => typeof e == "function", VV = (e) => typeof e == "boolean";
+function USe(e) {
let t = +e;
return Number.isInteger(t) && String(t) === e;
}
-var UV = (e) => e.copy_ || e.base_, WV = (e) => e.modified_ ? e.copy_ : e.base_;
-function GV(e, t) {
- if (RV(e)) return new Map(e);
- if (zV(e)) return new Set(e);
- if (LV(e)) return Array[CV].slice.call(e);
- let n = jV(e);
+var HV = (e) => e.copy_ || e.base_, UV = (e) => e.modified_ ? e.copy_ : e.base_;
+function WV(e, t) {
+ if (LV(e)) return new Map(e);
+ if (RV(e)) return new Set(e);
+ if (IV(e)) return Array[SV].slice.call(e);
+ let n = AV(e);
if (t === !0 || t === "class_only" && !n) {
- let t = bV.getOwnPropertyDescriptors(e);
- delete t[vV];
+ let t = yV.getOwnPropertyDescriptors(e);
+ delete t[_V];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
- a[EV] === !1 && (a[EV] = !0, a[wV] = !0), (a.get || a.set) && (t[i] = {
- [wV]: !0,
- [EV]: !0,
- [TV]: a[TV],
- [DV]: e[i]
+ a[TV] === !1 && (a[TV] = !0, a[CV] = !0), (a.get || a.set) && (t[i] = {
+ [CV]: !0,
+ [TV]: !0,
+ [wV]: a[wV],
+ [EV]: e[i]
});
}
- return bV.create(xV(e), t);
+ return yV.create(bV(e), t);
}
{
- let t = xV(e);
+ let t = bV(e);
if (t !== null && n) return { ...e };
- let r = bV.create(t);
- return bV.assign(r, e);
- }
-}
-function KV(e, t = !1) {
- return JV(e) || OV(e) || !kV(e) ? e : (NV(e) > 1 && bV.defineProperties(e, {
- set: qV,
- add: qV,
- clear: qV,
- delete: qV
- }), bV.freeze(e), t && MV(e, (e, t) => {
- KV(t, !0);
+ let r = yV.create(t);
+ return yV.assign(r, e);
+ }
+}
+function GV(e, t = !1) {
+ return qV(e) || DV(e) || !OV(e) ? e : (MV(e) > 1 && yV.defineProperties(e, {
+ set: KV,
+ add: KV,
+ clear: KV,
+ delete: KV
+ }), yV.freeze(e), t && jV(e, (e, t) => {
+ GV(t, !0);
}, !1), e);
}
-function HSe() {
- yV(2);
+function WSe() {
+ vV(2);
}
-var qV = { [DV]: HSe };
-function JV(e) {
- return e === null || !BV(e) || bV.isFrozen(e);
+var KV = { [EV]: WSe };
+function qV(e) {
+ return e === null || !zV(e) || yV.isFrozen(e);
}
-var YV = "MapSet", XV = "Patches", ZV = "ArrayMethods", QV = {};
-function $V(e) {
- let t = QV[e];
- return t || yV(0, e), t;
+var JV = "MapSet", YV = "Patches", XV = "ArrayMethods", ZV = {};
+function QV(e) {
+ let t = ZV[e];
+ return t || vV(0, e), t;
}
-var eH = (e) => !!QV[e], tH, nH = () => tH, USe = (e, t) => ({
+var $V = (e) => !!ZV[e], eH, tH = () => eH, GSe = (e, t) => ({
drafts_: [],
parent_: e,
immer_: t,
@@ -53940,114 +53975,114 @@ var eH = (e) => !!QV[e], tH, nH = () => tH, USe = (e, t) => ({
unfinalizedDrafts_: 0,
handledSet_: /* @__PURE__ */ new Set(),
processedForPatches_: /* @__PURE__ */ new Set(),
- mapSetPlugin_: eH(YV) ? $V(YV) : void 0,
- arrayMethodsPlugin_: eH(ZV) ? $V(ZV) : void 0
+ mapSetPlugin_: $V(JV) ? QV(JV) : void 0,
+ arrayMethodsPlugin_: $V(XV) ? QV(XV) : void 0
});
-function rH(e, t) {
- t && (e.patchPlugin_ = $V(XV), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function nH(e, t) {
+ t && (e.patchPlugin_ = QV(YV), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
}
-function iH(e) {
- aH(e), e.drafts_.forEach(WSe), e.drafts_ = null;
+function rH(e) {
+ iH(e), e.drafts_.forEach(KSe), e.drafts_ = null;
}
-function aH(e) {
- e === tH && (tH = e.parent_);
+function iH(e) {
+ e === eH && (eH = e.parent_);
}
-var oH = (e) => tH = USe(tH, e);
-function WSe(e) {
- let t = e[vV];
+var aH = (e) => eH = GSe(eH, e);
+function KSe(e) {
+ let t = e[_V];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function sH(e, t) {
+function oH(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
if (e !== void 0 && e !== n) {
- n[vV].modified_ && (iH(t), yV(4)), kV(e) && (e = cH(t, e));
+ n[_V].modified_ && (rH(t), vV(4)), OV(e) && (e = sH(t, e));
let { patchPlugin_: r } = t;
- r && r.generateReplacementPatches_(n[vV].base_, e, t);
- } else e = cH(t, n);
- return GSe(t, e, !0), iH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === gV ? void 0 : e;
-}
-function cH(e, t) {
- if (JV(t)) return t;
- let n = t[vV];
- if (!n) return pH(t, e.handledSet_, e);
- if (!uH(n, e)) return t;
+ r && r.generateReplacementPatches_(n[_V].base_, e, t);
+ } else e = sH(t, n);
+ return qSe(t, e, !0), rH(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === hV ? void 0 : e;
+}
+function sH(e, t) {
+ if (qV(t)) return t;
+ let n = t[_V];
+ if (!n) return fH(t, e.handledSet_, e);
+ if (!lH(n, e)) return t;
if (!n.modified_) return n.base_;
if (!n.finalized_) {
let { callbacks_: t } = n;
if (t) for (; t.length > 0;) t.pop()(e);
- fH(n, e);
+ dH(n, e);
}
return n.copy_;
}
-function GSe(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && KV(t, n);
+function qSe(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && GV(t, n);
}
-function lH(e) {
+function cH(e) {
e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
}
-var uH = (e, t) => e.scope_ === t, KSe = [];
-function dH(e, t, n, r) {
- let i = UV(e), a = e.type_;
- if (r !== void 0 && FV(i, r, a) === t) {
- IV(i, r, n, a);
+var lH = (e, t) => e.scope_ === t, JSe = [];
+function uH(e, t, n, r) {
+ let i = HV(e), a = e.type_;
+ if (r !== void 0 && PV(i, r, a) === t) {
+ FV(i, r, n, a);
return;
}
if (!e.draftLocations_) {
let t = e.draftLocations_ = /* @__PURE__ */ new Map();
- MV(i, (e, n) => {
- if (OV(n)) {
+ jV(i, (e, n) => {
+ if (DV(n)) {
let r = t.get(n) || [];
r.push(e), t.set(n, r);
}
});
}
- let o = e.draftLocations_.get(t) ?? KSe;
- for (let e of o) IV(i, e, n, a);
+ let o = e.draftLocations_.get(t) ?? JSe;
+ for (let e of o) FV(i, e, n, a);
}
-function qSe(e, t, n) {
+function YSe(e, t, n) {
e.callbacks_.push(function(r) {
let i = t;
- if (!i || !uH(i, r)) return;
+ if (!i || !lH(i, r)) return;
r.mapSetPlugin_?.fixSetContents(i);
- let a = WV(i);
- dH(e, i.draft_ ?? i, a, n), fH(i, r);
+ let a = UV(i);
+ uH(e, i.draft_ ?? i, a, n), dH(i, r);
});
}
-function fH(e, t) {
+function dH(e, t) {
if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
let { patchPlugin_: n } = t;
if (n) {
let r = n.getPath(e);
r && n.generatePatches_(e, r, t);
}
- lH(e);
+ cH(e);
}
}
-function JSe(e, t, n) {
+function XSe(e, t, n) {
let { scope_: r } = e;
- if (OV(n)) {
- let i = n[vV];
- uH(i, r) && i.callbacks_.push(function() {
- yH(e), dH(e, n, WV(i), t);
+ if (DV(n)) {
+ let i = n[_V];
+ lH(i, r) && i.callbacks_.push(function() {
+ vH(e), uH(e, n, UV(i), t);
});
- } else kV(n) && e.callbacks_.push(function() {
- let i = UV(e);
- e.type_ === 3 ? i.has(n) && pH(n, r.handledSet_, r) : FV(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && pH(FV(e.copy_, t, e.type_), r.handledSet_, r);
+ } else OV(n) && e.callbacks_.push(function() {
+ let i = HV(e);
+ e.type_ === 3 ? i.has(n) && fH(n, r.handledSet_, r) : PV(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && fH(PV(e.copy_, t, e.type_), r.handledSet_, r);
});
}
-function pH(e, t, n) {
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || OV(e) || t.has(e) || !kV(e) || JV(e) ? e : (t.add(e), MV(e, (r, i) => {
- if (OV(i)) {
- let t = i[vV];
- uH(t, n) && (IV(e, r, WV(t), e.type_), lH(t));
- } else kV(i) && pH(i, t, n);
+function fH(e, t, n) {
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || DV(e) || t.has(e) || !OV(e) || qV(e) ? e : (t.add(e), jV(e, (r, i) => {
+ if (DV(i)) {
+ let t = i[_V];
+ lH(t, n) && (FV(e, r, UV(t), e.type_), cH(t));
+ } else OV(i) && fH(i, t, n);
}), e);
}
-function YSe(e, t) {
- let n = LV(e), r = {
+function ZSe(e, t) {
+ let n = IV(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : nH(),
+ scope_: t ? t.scope_ : tH(),
modified_: !1,
finalized_: !1,
assigned_: void 0,
@@ -54058,108 +54093,108 @@ function YSe(e, t) {
revoke_: null,
isManual_: !1,
callbacks_: void 0
- }, i = r, a = mH;
- n && (i = [r], a = hH);
+ }, i = r, a = pH;
+ n && (i = [r], a = mH);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, [s, r];
}
-var mH = {
+var pH = {
get(e, t) {
- if (t === vV) return e;
+ if (t === _V) return e;
let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
- let i = UV(e);
- if (!PV(i, t, e.type_)) return ZSe(e, i, t);
+ let i = HV(e);
+ if (!NV(i, t, e.type_)) return $Se(e, i, t);
let a = i[t];
- if (e.finalized_ || !kV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && VSe(t)) return a;
- if (a === gH(e.base_, t) || XSe(e, t, a)) {
- yH(e);
- let n = e.type_ === 1 ? +t : t, r = bH(e.scope_, a, e, n);
+ if (e.finalized_ || !OV(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && USe(t)) return a;
+ if (a === hH(e.base_, t) || QSe(e, t, a)) {
+ vH(e);
+ let n = e.type_ === 1 ? +t : t, r = yH(e.scope_, a, e, n);
return e.copy_[n] = r;
}
return a;
},
has(e, t) {
- return t in UV(e);
+ return t in HV(e);
},
ownKeys(e) {
- return Reflect.ownKeys(UV(e));
+ return Reflect.ownKeys(HV(e));
},
set(e, t, n) {
- let r = _H(UV(e), t);
+ let r = gH(HV(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = gH(UV(e), t), i = r?.[vV];
+ let r = hH(HV(e), t), i = r?.[_V];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
- if (BSe(n, r) && (n !== void 0 || PV(e.base_, t, e.type_))) return !0;
- yH(e), vH(e);
+ if (HSe(n, r) && (n !== void 0 || NV(e.base_, t, e.type_))) return !0;
+ vH(e), _H(e);
}
- return e.copy_[t] === n && (n !== void 0 || PV(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), JSe(e, t, n), !0);
+ return e.copy_[t] === n && (n !== void 0 || NV(e.copy_, t, e.type_)) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), XSe(e, t, n), !0);
},
deleteProperty(e, t) {
- return yH(e), gH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), vH(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
+ return vH(e), hH(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), _H(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = UV(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = HV(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
- [EV]: !0,
- [wV]: e.type_ !== 1 || t !== "length",
- [TV]: r[TV],
- [DV]: n[t]
+ [TV]: !0,
+ [CV]: e.type_ !== 1 || t !== "length",
+ [wV]: r[wV],
+ [EV]: n[t]
};
},
defineProperty() {
- yV(11);
+ vV(11);
},
getPrototypeOf(e) {
- return xV(e.base_);
+ return bV(e.base_);
},
setPrototypeOf() {
- yV(12);
+ vV(12);
}
-}, hH = {};
-for (let e in mH) {
- let t = mH[e];
- hH[e] = function() {
+}, mH = {};
+for (let e in pH) {
+ let t = pH[e];
+ mH[e] = function() {
let e = arguments;
return e[0] = e[0][0], t.apply(this, e);
};
}
-hH.deleteProperty = function(e, t) {
- return hH.set.call(this, e, t, void 0);
-}, hH.set = function(e, t, n) {
- return mH.set.call(this, e[0], t, n, e[0]);
+mH.deleteProperty = function(e, t) {
+ return mH.set.call(this, e, t, void 0);
+}, mH.set = function(e, t, n) {
+ return pH.set.call(this, e[0], t, n, e[0]);
};
-function gH(e, t) {
- let n = e[vV];
- return (n ? UV(n) : e)[t];
+function hH(e, t) {
+ let n = e[_V];
+ return (n ? HV(n) : e)[t];
}
-function XSe(e, t, n) {
- return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !kV(n) || n[vV] ? !1 : e.baseRefs_.has(n);
+function QSe(e, t, n) {
+ return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !OV(n) || n[_V] ? !1 : e.baseRefs_.has(n);
}
-function ZSe(e, t, n) {
- let r = _H(t, n);
- return r ? DV in r ? r[DV] : r.get?.call(e.draft_) : void 0;
+function $Se(e, t, n) {
+ let r = gH(t, n);
+ return r ? EV in r ? r[EV] : r.get?.call(e.draft_) : void 0;
}
-function _H(e, t) {
+function gH(e, t) {
if (!(t in e)) return;
- let n = xV(e);
+ let n = bV(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = xV(n);
+ n = bV(n);
}
}
-function vH(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && vH(e.parent_));
+function _H(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && _H(e.parent_));
}
-function yH(e) {
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), GV(e.base_, e.scope_.immer_.useStrictShallowCopy_));
+function vH(e) {
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), WV(e.base_, e.scope_.immer_.useStrictShallowCopy_));
}
-var QSe = class {
+var eCe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
- if (VV(e) && !VV(t)) {
+ if (BV(e) && !BV(t)) {
let n = t;
t = e;
let r = this;
@@ -54167,30 +54202,30 @@ var QSe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- VV(t) || yV(6), n !== void 0 && !VV(n) && yV(7);
+ BV(t) || vV(6), n !== void 0 && !BV(n) && vV(7);
let r;
- if (kV(e)) {
- let i = oH(this), a = bH(i, e, void 0), o = !0;
+ if (OV(e)) {
+ let i = aH(this), a = yH(i, e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? iH(i) : aH(i);
+ o ? rH(i) : iH(i);
}
- return rH(i, n), sH(r, i);
+ return nH(i, n), oH(r, i);
}
- if (!e || !BV(e)) {
- if (r = t(e), r === void 0 && (r = e), r === gV && (r = void 0), this.autoFreeze_ && KV(r, !0), n) {
+ if (!e || !zV(e)) {
+ if (r = t(e), r === void 0 && (r = e), r === hV && (r = void 0), this.autoFreeze_ && GV(r, !0), n) {
let t = [], i = [];
- $V(XV).generateReplacementPatches_(e, r, {
+ QV(YV).generateReplacementPatches_(e, r, {
patches_: t,
inversePatches_: i
}), n(t, i);
}
return r;
}
- yV(1, e);
+ vV(1, e);
}, this.produceWithPatches = (e, t) => {
- if (VV(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
+ if (BV(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
return [
this.produce(e, t, (e, t) => {
@@ -54199,18 +54234,18 @@ var QSe = class {
n,
r
];
- }, HV(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), HV(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), HV(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
+ }, VV(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), VV(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), VV(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- kV(e) || yV(8), OV(e) && (e = xH(e));
- let t = oH(this), n = bH(t, e, void 0);
- return n[vV].isManual_ = !0, aH(t), n;
+ OV(e) || vV(8), DV(e) && (e = bH(e));
+ let t = aH(this), n = yH(t, e, void 0);
+ return n[_V].isManual_ = !0, iH(t), n;
}
finishDraft(e, t) {
- let n = e && e[vV];
- (!n || !n.isManual_) && yV(9);
+ let n = e && e[_V];
+ (!n || !n.isManual_) && vV(9);
let { scope_: r } = n;
- return rH(r, t), sH(void 0, r);
+ return nH(r, t), oH(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -54234,48 +54269,48 @@ var QSe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = $V(XV).applyPatches_;
- return OV(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = QV(YV).applyPatches_;
+ return DV(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function bH(e, t, n, r) {
- let [i, a] = RV(t) ? $V(YV).proxyMap_(t, n) : zV(t) ? $V(YV).proxySet_(t, n) : YSe(t, n);
- return (n?.scope_ ?? nH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? qSe(n, a, r) : a.callbacks_.push(function(e) {
+function yH(e, t, n, r) {
+ let [i, a] = LV(t) ? QV(JV).proxyMap_(t, n) : RV(t) ? QV(JV).proxySet_(t, n) : ZSe(t, n);
+ return (n?.scope_ ?? tH()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? YSe(n, a, r) : a.callbacks_.push(function(e) {
e.mapSetPlugin_?.fixSetContents(a);
let { patchPlugin_: t } = e;
a.modified_ && t && t.generatePatches_(a, [], e);
}), i;
}
-function xH(e) {
- return OV(e) || yV(10, e), SH(e);
+function bH(e) {
+ return DV(e) || vV(10, e), xH(e);
}
-function SH(e) {
- if (!kV(e) || JV(e)) return e;
- let t = e[vV], n, r = !0;
+function xH(e) {
+ if (!OV(e) || qV(e)) return e;
+ let t = e[_V], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = GV(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = GV(e, !0);
- return MV(n, (e, t) => {
- IV(n, e, SH(t));
+ t.finalized_ = !0, n = WV(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = WV(e, !0);
+ return jV(n, (e, t) => {
+ FV(n, e, xH(t));
}, r), t && (t.finalized_ = !1), n;
}
globalThis.Iterator?.from;
-var CH = new QSe().produce;
+var SH = new eCe().produce;
//#endregion
//#region node_modules/redux-thunk/dist/redux-thunk.mjs
-function wH(e) {
+function CH(e) {
return ({ dispatch: t, getState: n }) => (r) => (i) => typeof i == "function" ? i(t, n, e) : r(i);
}
-var $Se = wH(), eCe = wH, tCe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
- if (arguments.length !== 0) return typeof arguments[0] == "object" ? pV : pV.apply(null, arguments);
+var tCe = CH(), nCe = CH, rCe = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
+ if (arguments.length !== 0) return typeof arguments[0] == "object" ? fV : fV.apply(null, arguments);
};
typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__;
-function TH(e, t) {
+function wH(e, t) {
function n(...n) {
if (t) {
let r = t(...n);
- if (!r) throw Error(oU(0));
+ if (!r) throw Error(aU(0));
return {
type: e,
payload: r.payload,
@@ -54288,9 +54323,9 @@ function TH(e, t) {
payload: n[0]
};
}
- return n.toString = () => `${e}`, n.type = e, n.match = (t) => hV(t) && t.type === e, n;
+ return n.toString = () => `${e}`, n.type = e, n.match = (t) => mV(t) && t.type === e, n;
}
-var EH = class e extends Array {
+var TH = class e extends Array {
constructor(...t) {
super(...t), Object.setPrototypeOf(this, e.prototype);
}
@@ -54304,29 +54339,29 @@ var EH = class e extends Array {
return t.length === 1 && Array.isArray(t[0]) ? new e(...t[0].concat(this)) : new e(...t.concat(this));
}
};
-function DH(e) {
- return kV(e) ? CH(e, () => {}) : e;
+function EH(e) {
+ return OV(e) ? SH(e, () => {}) : e;
}
-function OH(e, t, n) {
+function DH(e, t, n) {
return e.has(t) ? e.get(t) : e.set(t, n(t)).get(t);
}
-function nCe(e) {
+function iCe(e) {
return typeof e == "boolean";
}
-var rCe = () => function(e) {
- let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new EH();
- return t && (nCe(t) ? a.push($Se) : a.push(eCe(t.extraArgument))), a;
-}, kH = "RTK_autoBatch", AH = () => (e) => ({
+var aCe = () => function(e) {
+ let { thunk: t = !0, immutableCheck: n = !0, serializableCheck: r = !0, actionCreatorCheck: i = !0 } = e ?? {}, a = new TH();
+ return t && (iCe(t) ? a.push(tCe) : a.push(nCe(t.extraArgument))), a;
+}, OH = "RTK_autoBatch", kH = () => (e) => ({
payload: e,
- meta: { [kH]: !0 }
-}), jH = (e) => (t) => {
+ meta: { [OH]: !0 }
+}), AH = (e) => (t) => {
setTimeout(t, e);
-}, iCe = (e, t) => (n) => {
+}, oCe = (e, t) => (n) => {
let r = !1, i = () => {
r || (r = !0, cancelAnimationFrame(a), clearTimeout(o), n());
}, a = e(i), o = setTimeout(i, t);
-}, MH = (e = { type: "raf" }) => (t) => (...n) => {
- let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? iCe(window.requestAnimationFrame, 100) : jH(10) : e.type === "callback" ? e.queueNotification : jH(e.timeout), l = () => {
+}, jH = (e = { type: "raf" }) => (t) => (...n) => {
+ let r = t(...n), i = !0, a = !1, o = !1, s = /* @__PURE__ */ new Set(), c = e.type === "tick" ? queueMicrotask : e.type === "raf" ? typeof window < "u" && window.requestAnimationFrame ? oCe(window.requestAnimationFrame, 100) : AH(10) : e.type === "callback" ? e.queueNotification : AH(e.timeout), l = () => {
o = !1, a && (a = !1, s.forEach((e) => e()));
};
return Object.assign({}, r, {
@@ -54338,37 +54373,37 @@ var rCe = () => function(e) {
},
dispatch(e) {
try {
- return i = !e?.meta?.[kH], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
+ return i = !e?.meta?.[OH], a = !i, a && (o || (o = !0, c(l))), r.dispatch(e);
} finally {
i = !0;
}
}
});
-}, aCe = (e) => function(t) {
- let { autoBatch: n = !0 } = t ?? {}, r = new EH(e);
- return n && r.push(MH(typeof n == "object" ? n : void 0)), r;
+}, sCe = (e) => function(t) {
+ let { autoBatch: n = !0 } = t ?? {}, r = new TH(e);
+ return n && r.push(jH(typeof n == "object" ? n : void 0)), r;
};
-function oCe(e) {
- let t = rCe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
+function cCe(e) {
+ let t = aCe(), { reducer: n = void 0, middleware: r, devTools: i = !0, duplicateMiddlewareCheck: a = !0, preloadedState: o = void 0, enhancers: s = void 0 } = e || {}, c;
if (typeof n == "function") c = n;
- else if (lV(n)) c = fV(n);
- else throw Error(oU(1));
+ else if (cV(n)) c = dV(n);
+ else throw Error(aU(1));
let l;
l = typeof r == "function" ? r(t) : t();
- let u = pV;
- i && (u = tCe({
+ let u = fV;
+ i && (u = rCe({
trace: !1,
...typeof i == "object" && i
}));
- let d = aCe(mV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
- return uV(c, o, p);
+ let d = sCe(pV(...l)), f = typeof s == "function" ? s(d) : d(), p = u(...f);
+ return lV(c, o, p);
}
-function NH(e) {
+function MH(e) {
let t = {}, n = [], r, i = {
addCase(e, n) {
let r = typeof e == "string" ? e : e.type;
- if (!r) throw Error(oU(28));
- if (r in t) throw Error(oU(29));
+ if (!r) throw Error(aU(28));
+ if (r in t) throw Error(aU(29));
return t[r] = n, i;
},
addAsyncThunk(e, r) {
@@ -54393,25 +54428,25 @@ function NH(e) {
r
];
}
-function sCe(e) {
+function lCe(e) {
return typeof e == "function";
}
-function cCe(e, t) {
- let [n, r, i] = NH(t), a;
- if (sCe(e)) a = () => DH(e());
+function uCe(e, t) {
+ let [n, r, i] = MH(t), a;
+ if (lCe(e)) a = () => EH(e());
else {
- let t = DH(e);
+ let t = EH(e);
a = () => t;
}
function o(e = a(), t) {
let o = [n[t.type], ...r.filter(({ matcher: e }) => e(t)).map(({ reducer: e }) => e)];
return o.filter((e) => !!e).length === 0 && (o = [i]), o.reduce((e, n) => {
if (n) {
- if (OV(e)) {
+ if (DV(e)) {
let r = n(e, t);
return r === void 0 ? e : r;
}
- if (kV(e)) return CH(e, (e) => n(e, t));
+ if (OV(e)) return SH(e, (e) => n(e, t));
{
let r = n(e, t);
if (r === void 0) {
@@ -54426,20 +54461,20 @@ function cCe(e, t) {
}
return o.getInitialState = a, o;
}
-var lCe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", uCe = (e = 21) => {
+var dCe = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", fCe = (e = 21) => {
let t = "", n = e;
- for (; n--;) t += lCe[Math.random() * 64 | 0];
+ for (; n--;) t += dCe[Math.random() * 64 | 0];
return t;
-}, dCe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
-function fCe(e, t) {
+}, pCe = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
+function mCe(e, t) {
return `${e}/${t}`;
}
-function pCe({ creators: e } = {}) {
- let t = e?.asyncThunk?.[dCe];
+function hCe({ creators: e } = {}) {
+ let t = e?.asyncThunk?.[pCe];
return function(e) {
let { name: n, reducerPath: r = n } = e;
- if (!n) throw Error(oU(11));
- let i = (typeof e.reducers == "function" ? e.reducers(hCe()) : e.reducers) || {}, a = Object.keys(i), o = {
+ if (!n) throw Error(aU(11));
+ let i = (typeof e.reducers == "function" ? e.reducers(_Ce()) : e.reducers) || {}, a = Object.keys(i), o = {
sliceCaseReducersByName: {},
sliceCaseReducersByType: {},
actionCreators: {},
@@ -54447,8 +54482,8 @@ function pCe({ creators: e } = {}) {
}, s = {
addCase(e, t) {
let n = typeof e == "string" ? e : e.type;
- if (!n) throw Error(oU(12));
- if (n in o.sliceCaseReducersByType) throw Error(oU(13));
+ if (!n) throw Error(aU(12));
+ if (n in o.sliceCaseReducersByType) throw Error(aU(13));
return o.sliceCaseReducersByType[n] = t, s;
},
addMatcher(e, t) {
@@ -54467,17 +54502,17 @@ function pCe({ creators: e } = {}) {
a.forEach((r) => {
let a = i[r], o = {
reducerName: r,
- type: fCe(n, r),
+ type: mCe(n, r),
createNotation: typeof e.reducers == "function"
};
- _Ce(a) ? yCe(o, a, s, t) : gCe(o, a, s);
+ yCe(a) ? xCe(o, a, s, t) : vCe(o, a, s);
});
function c() {
- let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? NH(e.extraReducers) : [e.extraReducers], i = {
+ let [t = {}, n = [], r = void 0] = typeof e.extraReducers == "function" ? MH(e.extraReducers) : [e.extraReducers], i = {
...t,
...o.sliceCaseReducersByType
};
- return cCe(e.initialState, (e) => {
+ return uCe(e.initialState, (e) => {
for (let t in i) e.addCase(t, i[t]);
for (let t of o.sliceMatchers) e.addMatcher(t.matcher, t.reducer);
for (let t of n) e.addMatcher(t.matcher, t.reducer);
@@ -54494,12 +54529,12 @@ function pCe({ creators: e } = {}) {
function h(t, n = !1) {
function r(e) {
let i = e[t];
- return i === void 0 && n && (i = OH(d, r, m)), i;
+ return i === void 0 && n && (i = DH(d, r, m)), i;
}
function i(t = l) {
- return OH(OH(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
+ return DH(DH(u, n, () => /* @__PURE__ */ new WeakMap()), t, () => {
let r = {};
- for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = mCe(a, t, () => OH(d, t, m), n);
+ for (let [i, a] of Object.entries(e.selectors ?? {})) r[i] = gCe(a, t, () => DH(d, t, m), n);
return r;
});
}
@@ -54533,15 +54568,15 @@ function pCe({ creators: e } = {}) {
return g;
};
}
-function mCe(e, t, n, r) {
+function gCe(e, t, n, r) {
function i(i, ...a) {
let o = t(i);
return o === void 0 && r && (o = n()), e(o, ...a);
}
return i.unwrapped = e, i;
}
-var PH = /* @__PURE__ */ pCe();
-function hCe() {
+var NH = /* @__PURE__ */ hCe();
+function _Ce() {
function e(e, t) {
return {
_reducerDefinitionType: "asyncThunk",
@@ -54565,57 +54600,57 @@ function hCe() {
asyncThunk: e
};
}
-function gCe({ type: e, reducerName: t, createNotation: n }, r, i) {
+function vCe({ type: e, reducerName: t, createNotation: n }, r, i) {
let a, o;
if ("reducer" in r) {
- if (n && !vCe(r)) throw Error(oU(17));
+ if (n && !bCe(r)) throw Error(aU(17));
a = r.reducer, o = r.prepare;
} else a = r;
- i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? TH(e, o) : TH(e));
+ i.addCase(e, a).exposeCaseReducer(t, a).exposeAction(t, o ? wH(e, o) : wH(e));
}
-function _Ce(e) {
+function yCe(e) {
return e._reducerDefinitionType === "asyncThunk";
}
-function vCe(e) {
+function bCe(e) {
return e._reducerDefinitionType === "reducerWithPrepare";
}
-function yCe({ type: e, reducerName: t }, n, r, i) {
- if (!i) throw Error(oU(18));
+function xCe({ type: e, reducerName: t }, n, r, i) {
+ if (!i) throw Error(aU(18));
let { payloadCreator: a, fulfilled: o, pending: s, rejected: c, settled: l, options: u } = n, d = i(e, a, u);
r.exposeAction(t, d), o && r.addCase(d.fulfilled, o), s && r.addCase(d.pending, s), c && r.addCase(d.rejected, c), l && r.addMatcher(d.settled, l), r.exposeCaseReducer(t, {
- fulfilled: o || FH,
- pending: s || FH,
- rejected: c || FH,
- settled: l || FH
+ fulfilled: o || PH,
+ pending: s || PH,
+ rejected: c || PH,
+ settled: l || PH
});
}
-function FH() {}
-var bCe = "task", IH = "listener", LH = "completed", RH = "cancelled", xCe = `task-${RH}`, SCe = `task-${LH}`, zH = `${IH}-${RH}`, CCe = `${IH}-${LH}`, BH = class {
+function PH() {}
+var SCe = "task", FH = "listener", IH = "completed", LH = "cancelled", CCe = `task-${LH}`, wCe = `task-${IH}`, RH = `${FH}-${LH}`, TCe = `${FH}-${IH}`, zH = class {
constructor(e) {
- this.code = e, this.message = `${bCe} ${RH} (reason: ${e})`;
+ this.code = e, this.message = `${SCe} ${LH} (reason: ${e})`;
}
code;
name = "TaskAbortError";
message;
-}, VH = (e, t) => {
- if (typeof e != "function") throw TypeError(oU(32));
-}, HH = () => {}, UH = (e, t = HH) => (e.catch(t), e), WH = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), GH = (e) => {
- if (e.aborted) throw new BH(e.reason);
+}, BH = (e, t) => {
+ if (typeof e != "function") throw TypeError(aU(32));
+}, VH = () => {}, HH = (e, t = VH) => (e.catch(t), e), UH = (e, t) => (e.addEventListener("abort", t, { once: !0 }), () => e.removeEventListener("abort", t)), WH = (e) => {
+ if (e.aborted) throw new zH(e.reason);
};
-function KH(e, t) {
- let n = HH;
+function GH(e, t) {
+ let n = VH;
return new Promise((r, i) => {
- let a = () => i(new BH(e.reason));
+ let a = () => i(new zH(e.reason));
if (e.aborted) {
a();
return;
}
- n = WH(e, a), t.finally(() => n()).then(r, i);
+ n = UH(e, a), t.finally(() => n()).then(r, i);
}).finally(() => {
- n = HH;
+ n = VH;
});
}
-var wCe = async (e, t) => {
+var ECe = async (e, t) => {
try {
return await Promise.resolve(), {
status: "ok",
@@ -54623,40 +54658,40 @@ var wCe = async (e, t) => {
};
} catch (e) {
return {
- status: e instanceof BH ? "cancelled" : "rejected",
+ status: e instanceof zH ? "cancelled" : "rejected",
error: e
};
} finally {
t?.();
}
-}, qH = (e) => (t) => UH(KH(e, t).then((t) => (GH(e), t))), JH = (e) => {
- let t = qH(e);
+}, KH = (e) => (t) => HH(GH(e, t).then((t) => (WH(e), t))), qH = (e) => {
+ let t = KH(e);
return (e) => t(new Promise((t) => setTimeout(t, e)));
-}, { assign: YH } = Object, XH = {}, ZH = "listenerMiddleware", TCe = (e, t) => {
- let n = (t) => WH(e, () => t.abort(e.reason));
+}, { assign: JH } = Object, YH = {}, XH = "listenerMiddleware", DCe = (e, t) => {
+ let n = (t) => UH(e, () => t.abort(e.reason));
return (r, i) => {
- VH(r, "taskExecutor");
+ BH(r, "taskExecutor");
let a = new AbortController();
n(a);
- let o = wCe(async () => {
- GH(e), GH(a.signal);
+ let o = ECe(async () => {
+ WH(e), WH(a.signal);
let t = await r({
- pause: qH(a.signal),
- delay: JH(a.signal),
+ pause: KH(a.signal),
+ delay: qH(a.signal),
signal: a.signal
});
- return GH(a.signal), t;
- }, () => a.abort(SCe));
- return i?.autoJoin && t.push(o.catch(HH)), {
- result: qH(e)(o),
+ return WH(a.signal), t;
+ }, () => a.abort(wCe));
+ return i?.autoJoin && t.push(o.catch(VH)), {
+ result: KH(e)(o),
cancel() {
- a.abort(xCe);
+ a.abort(CCe);
}
};
};
-}, ECe = (e, t) => {
+}, OCe = (e, t) => {
let n = async (n, r) => {
- GH(t);
+ WH(t);
let i = () => {}, a = [new Promise((t, r) => {
let a = e({
predicate: n,
@@ -54674,47 +54709,47 @@ var wCe = async (e, t) => {
})];
r != null && a.push(new Promise((e) => setTimeout(e, r, null)));
try {
- let e = await KH(t, Promise.race(a));
- return GH(t), e;
+ let e = await GH(t, Promise.race(a));
+ return WH(t), e;
} finally {
i();
}
};
- return ((e, t) => UH(n(e, t)));
-}, QH = (e) => {
+ return ((e, t) => HH(n(e, t)));
+}, ZH = (e) => {
let { type: t, actionCreator: n, matcher: r, predicate: i, effect: a } = e;
- if (t) i = TH(t).match;
+ if (t) i = wH(t).match;
else if (n) t = n.type, i = n.match;
else if (r) i = r;
- else if (!i) throw Error(oU(21));
- return VH(a, "options.listener"), {
+ else if (!i) throw Error(aU(21));
+ return BH(a, "options.listener"), {
predicate: i,
type: t,
effect: a
};
-}, $H = /* @__PURE__ */ YH((e) => {
- let { type: t, predicate: n, effect: r } = QH(e);
+}, QH = /* @__PURE__ */ JH((e) => {
+ let { type: t, predicate: n, effect: r } = ZH(e);
return {
- id: uCe(),
+ id: fCe(),
effect: r,
type: t,
predicate: n,
pending: /* @__PURE__ */ new Set(),
unsubscribe: () => {
- throw Error(oU(22));
+ throw Error(aU(22));
}
};
-}, { withTypes: () => $H }), eU = (e, t) => {
- let { type: n, effect: r, predicate: i } = QH(t);
+}, { withTypes: () => QH }), $H = (e, t) => {
+ let { type: n, effect: r, predicate: i } = ZH(t);
return Array.from(e.values()).find((e) => (typeof n == "string" ? e.type === n : e.predicate === i) && e.effect === r);
-}, tU = (e) => {
+}, eU = (e) => {
e.pending.forEach((e) => {
- e.abort(zH);
+ e.abort(RH);
});
-}, DCe = (e, t) => () => {
- for (let e of t.keys()) tU(e);
+}, kCe = (e, t) => () => {
+ for (let e of t.keys()) eU(e);
e.clear();
-}, nU = (e, t, n) => {
+}, tU = (e, t, n) => {
try {
e(t, n);
} catch (e) {
@@ -54722,74 +54757,74 @@ var wCe = async (e, t) => {
throw e;
}, 0);
}
-}, rU = /* @__PURE__ */ YH(/* @__PURE__ */ TH(`${ZH}/add`), { withTypes: () => rU }), OCe = /* @__PURE__ */ TH(`${ZH}/removeAll`), iU = /* @__PURE__ */ YH(/* @__PURE__ */ TH(`${ZH}/remove`), { withTypes: () => iU }), kCe = (...e) => {
- console.error(`${ZH}/error`, ...e);
-}, aU = (e = {}) => {
+}, nU = /* @__PURE__ */ JH(/* @__PURE__ */ wH(`${XH}/add`), { withTypes: () => nU }), ACe = /* @__PURE__ */ wH(`${XH}/removeAll`), rU = /* @__PURE__ */ JH(/* @__PURE__ */ wH(`${XH}/remove`), { withTypes: () => rU }), jCe = (...e) => {
+ console.error(`${XH}/error`, ...e);
+}, iU = (e = {}) => {
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = (e) => {
let t = n.get(e) ?? 0;
n.set(e, t + 1);
}, i = (e) => {
let t = n.get(e) ?? 1;
t === 1 ? n.delete(e) : n.set(e, t - 1);
- }, { extra: a, onError: o = kCe } = e;
- VH(o, "onError");
+ }, { extra: a, onError: o = jCe } = e;
+ BH(o, "onError");
let s = (e) => (e.unsubscribe = () => t.delete(e.id), t.set(e.id, e), (t) => {
- e.unsubscribe(), t?.cancelActive && tU(e);
+ e.unsubscribe(), t?.cancelActive && eU(e);
}), c = ((e) => {
- let n = eU(t, e) ?? $H(e);
+ let n = $H(t, e) ?? QH(e);
return s(n);
});
- YH(c, { withTypes: () => c });
+ JH(c, { withTypes: () => c });
let l = (e) => {
- let n = eU(t, e);
- return n && (n.unsubscribe(), e.cancelActive && tU(n)), !!n;
+ let n = $H(t, e);
+ return n && (n.unsubscribe(), e.cancelActive && eU(n)), !!n;
};
- YH(l, { withTypes: () => l });
+ JH(l, { withTypes: () => l });
let u = async (e, n, s, l) => {
- let u = new AbortController(), d = ECe(c, u.signal), f = [];
+ let u = new AbortController(), d = OCe(c, u.signal), f = [];
try {
- e.pending.add(u), r(e), await Promise.resolve(e.effect(n, YH({}, s, {
+ e.pending.add(u), r(e), await Promise.resolve(e.effect(n, JH({}, s, {
getOriginalState: l,
condition: (e, t) => d(e, t).then(Boolean),
take: d,
- delay: JH(u.signal),
- pause: qH(u.signal),
+ delay: qH(u.signal),
+ pause: KH(u.signal),
extra: a,
signal: u.signal,
- fork: TCe(u.signal, f),
+ fork: DCe(u.signal, f),
unsubscribe: e.unsubscribe,
subscribe: () => {
t.set(e.id, e);
},
cancelActiveListeners: () => {
e.pending.forEach((e, t, n) => {
- e !== u && (e.abort(zH), n.delete(e));
+ e !== u && (e.abort(RH), n.delete(e));
});
},
cancel: () => {
- u.abort(zH), e.pending.delete(u);
+ u.abort(RH), e.pending.delete(u);
},
throwIfCancelled: () => {
- GH(u.signal);
+ WH(u.signal);
}
})));
} catch (e) {
- e instanceof BH || nU(o, e, { raisedBy: "effect" });
+ e instanceof zH || tU(o, e, { raisedBy: "effect" });
} finally {
- await Promise.all(f), u.abort(CCe), i(e), e.pending.delete(u);
+ await Promise.all(f), u.abort(TCe), i(e), e.pending.delete(u);
}
- }, d = DCe(t, n);
+ }, d = kCe(t, n);
return {
middleware: (e) => (n) => (r) => {
- if (!hV(r)) return n(r);
- if (rU.match(r)) return c(r.payload);
- if (OCe.match(r)) {
+ if (!mV(r)) return n(r);
+ if (nU.match(r)) return c(r.payload);
+ if (ACe.match(r)) {
d();
return;
}
- if (iU.match(r)) return l(r.payload);
+ if (rU.match(r)) return l(r.payload);
let i = e.getState(), a = () => {
- if (i === XH) throw Error(oU(23));
+ if (i === YH) throw Error(aU(23));
return i;
}, s;
try {
@@ -54800,13 +54835,13 @@ var wCe = async (e, t) => {
try {
s = t.predicate(r, n, i);
} catch (e) {
- s = !1, nU(o, e, { raisedBy: "predicate" });
+ s = !1, tU(o, e, { raisedBy: "predicate" });
}
s && u(t, r, e, a);
}
}
} finally {
- i = XH;
+ i = YH;
}
return s;
},
@@ -54815,12 +54850,12 @@ var wCe = async (e, t) => {
clearListeners: d
};
};
-function oU(e) {
+function aU(e) {
return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
}
//#endregion
//#region node_modules/recharts/es6/state/layoutSlice.js
-var sU = PH({
+var oU = NH({
name: "chartLayout",
initialState: {
layoutType: "horizontal",
@@ -54848,23 +54883,23 @@ var sU = PH({
e.scale = t.payload;
}
}
-}), { setMargin: ACe, setLayout: jCe, setChartSize: MCe, setScale: NCe } = sU.actions, PCe = sU.reducer;
+}), { setMargin: MCe, setLayout: NCe, setChartSize: PCe, setScale: FCe } = oU.actions, ICe = oU.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getSliced.js
-function cU(e, t, n) {
+function sU(e, t, n) {
return Array.isArray(e) && e && t + n !== 0 ? e.slice(t, n + 1) : e;
}
//#endregion
//#region node_modules/recharts/es6/util/isWellBehavedNumber.js
-function lU(e) {
+function cU(e) {
return Number.isFinite(e);
}
-function uU(e) {
+function lU(e) {
return typeof e == "number" && e > 0 && Number.isFinite(e);
}
//#endregion
//#region node_modules/recharts/es6/util/ChartUtils.js
-function dU(e, t) {
+function uU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -54874,30 +54909,30 @@ function dU(e, t) {
}
return n;
}
-function fU(e) {
+function dU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? dU(Object(n), !0).forEach(function(t) {
- FCe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dU(Object(n)).forEach(function(t) {
+ t % 2 ? uU(Object(n), !0).forEach(function(t) {
+ LCe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : uU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function FCe(e, t, n) {
- return (t = ICe(t)) in e ? Object.defineProperty(e, t, {
+function LCe(e, t, n) {
+ return (t = RCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ICe(e) {
- var t = LCe(e, "string");
+function RCe(e) {
+ var t = zCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function LCe(e, t) {
+function zCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -54907,63 +54942,63 @@ function LCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function pU(e, t, n) {
- return sB(e) || sB(t) ? n : tB(t) ? Yz(e, t, n) : typeof t == "function" ? t(e) : n;
+function fU(e, t, n) {
+ return oB(e) || oB(t) ? n : eB(t) ? Jz(e, t, n) : typeof t == "function" ? t(e) : n;
}
-var RCe = (e, t, n) => {
+var BCe = (e, t, n) => {
if (t && n) {
var { width: r, height: i } = n, { align: a, verticalAlign: o, layout: s } = t;
- if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return fU(fU({}, e), {}, { [a]: e[a] + (r || 0) });
- if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return fU(fU({}, e), {}, { [o]: e[o] + (i || 0) });
+ if ((s === "vertical" || s === "horizontal" && o === "middle") && a !== "center" && Z(e[a])) return dU(dU({}, e), {}, { [a]: e[a] + (r || 0) });
+ if ((s === "horizontal" || s === "vertical" && a === "center") && o !== "middle" && Z(e[o])) return dU(dU({}, e), {}, { [o]: e[o] + (i || 0) });
}
return e;
-}, mU = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", hU = (e, t, n, r) => {
+}, pU = (e, t) => e === "horizontal" && t === "xAxis" || e === "vertical" && t === "yAxis" || e === "centric" && t === "angleAxis" || e === "radial" && t === "radiusAxis", mU = (e, t, n, r) => {
if (r) return e.map((e) => e.coordinate);
var i, a, o = e.map((e) => (e.coordinate === t && (i = !0), e.coordinate === n && (a = !0), e.coordinate));
return i || o.push(t), a || o.push(n), o;
-}, gU = (e, t, n) => {
+}, hU = (e, t, n) => {
if (!e) return null;
var { duplicateDomain: r, type: i, range: a, scale: o, realScaleType: s, isCategorical: c, categoricalDomain: l, tickCount: u, ticks: d, niceTicks: f, axisType: p } = e;
if (!o) return null;
var m = s === "scaleBand" && o.bandwidth ? o.bandwidth() / 2 : 2, h = (t || n) && i === "category" && o.bandwidth ? o.bandwidth() / m : 0;
- return h = p === "angleAxis" && a && a.length >= 2 ? Qz(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
+ return h = p === "angleAxis" && a && a.length >= 2 ? Zz(a[0] - a[1]) * 2 * h : h, t && (d || f) ? (d || f || []).map((e, t) => {
var n = r ? r.indexOf(e) : e, i = o.map(n);
- return lU(i) ? {
+ return cU(i) ? {
coordinate: i + h,
value: e,
offset: h,
index: t
} : null;
- }).filter(lB) : c && l ? l.map((e, t) => {
+ }).filter(cB) : c && l ? l.map((e, t) => {
var n = o.map(e);
- return lU(n) ? {
+ return cU(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(lB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
+ }).filter(cB) : o.ticks && !n && u != null ? o.ticks(u).map((e, t) => {
var n = o.map(e);
- return lU(n) ? {
+ return cU(n) ? {
coordinate: n + h,
value: e,
index: t,
offset: h
} : null;
- }).filter(lB) : o.domain().map((e, t) => {
+ }).filter(cB) : o.domain().map((e, t) => {
var n = o.map(e);
- return lU(n) ? {
+ return cU(n) ? {
coordinate: n + h,
value: r ? r[e] : e,
index: t,
offset: h
} : null;
- }).filter(lB);
-}, _U = (e, t) => {
+ }).filter(cB);
+}, gU = (e, t) => {
if (!t || t.length !== 2 || !Z(t[0]) || !Z(t[1])) return e;
var n = Math.min(t[0], t[1]), r = Math.max(t[0], t[1]), i = [e[0], e[1]];
return (!Z(e[0]) || e[0] < n) && (i[0] = n), (!Z(e[1]) || e[1] > r) && (i[1] = r), i[0] > r && (i[0] = r), i[1] < n && (i[1] = n), i;
-}, zCe = {
+}, VCe = {
sign: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -54971,16 +55006,16 @@ var RCe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0, o = 0; o < t; ++o) {
var s = e[o]?.[r];
if (s != null) {
- var c = s[1], l = s[0], u = $z(c) ? l : c;
+ var c = s[1], l = s[0], u = Qz(c) ? l : c;
u >= 0 ? (s[0] = i, i += u, s[1] = i) : (s[0] = a, a += u, s[1] = a);
}
}
}
},
- expand: Qbe,
- none: Vz,
- silhouette: $be,
- wiggle: exe,
+ expand: exe,
+ none: Bz,
+ silhouette: txe,
+ wiggle: nxe,
positive: (e) => {
var t = e.length;
if (!(t <= 0)) {
@@ -54988,70 +55023,70 @@ var RCe = (e, t, n) => {
if (!(n == null || n <= 0)) for (var r = 0; r < n; ++r) for (var i = 0, a = 0; a < t; ++a) {
var o = e[a]?.[r];
if (o != null) {
- var s = $z(o[1]) ? o[0] : o[1];
+ var s = Qz(o[1]) ? o[0] : o[1];
s >= 0 ? (o[0] = i, i += s, o[1] = i) : (o[0] = 0, o[1] = 0);
}
}
}
}
-}, BCe = (e, t, n) => {
- var r = zCe[n] ?? Vz, i = Zbe().keys(t).value((e, t) => Number(pU(e, t, 0))).order(Hz).offset(r)(e);
+}, HCe = (e, t, n) => {
+ var r = VCe[n] ?? Bz, i = $be().keys(t).value((e, t) => Number(fU(e, t, 0))).order(Vz).offset(r)(e);
return i.forEach((n, r) => {
n.forEach((n, i) => {
- var a = pU(e[i], t[r], 0);
+ var a = fU(e[i], t[r], 0);
Array.isArray(a) && a.length === 2 && Z(a[0]) && Z(a[1]) && (n[0] = a[0], n[1] = a[1]);
});
}), i;
};
-function vU(e) {
+function _U(e) {
return e == null ? void 0 : String(e);
}
-function yU(e) {
+function vU(e) {
var { axis: t, ticks: n, bandSize: r, entry: i, index: a, dataKey: o } = e;
if (t.type === "category") {
- if (!t.allowDuplicatedCategory && t.dataKey && !sB(i[t.dataKey])) {
- var s = oB(n, "value", i[t.dataKey]);
+ if (!t.allowDuplicatedCategory && t.dataKey && !oB(i[t.dataKey])) {
+ var s = aB(n, "value", i[t.dataKey]);
if (s) return s.coordinate + r / 2;
}
return n != null && n[a] ? n[a].coordinate + r / 2 : null;
}
- var c = pU(i, sB(o) ? t.dataKey : o), l = t.scale.map(c);
+ var c = fU(i, oB(o) ? t.dataKey : o), l = t.scale.map(c);
return Z(l) ? l : null;
}
-var bU = (e) => {
+var yU = (e) => {
var { axis: t, ticks: n, offset: r, bandSize: i, entry: a, index: o } = e;
if (t.type === "category") return n[o] ? n[o].coordinate + r : null;
- var s = pU(a, t.dataKey, t.scale.domain()[o]);
- if (sB(s)) return null;
+ var s = fU(a, t.dataKey, t.scale.domain()[o]);
+ if (oB(s)) return null;
var c = t.scale.map(s);
return Z(c) ? c - i / 2 + r : null;
-}, xU = (e) => {
+}, bU = (e) => {
var { numericAxis: t } = e, n = t.scale.domain();
if (t.type === "number") {
var r = Math.min(n[0], n[1]), i = Math.max(n[0], n[1]);
return r <= 0 && i >= 0 ? 0 : i < 0 ? i : r;
}
return n[0];
-}, VCe = (e) => {
+}, UCe = (e) => {
var t = e.flat(2).filter(Z);
return [Math.min(...t), Math.max(...t)];
-}, HCe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], UCe = (e, t, n) => {
- if (e != null) return HCe(Object.keys(e).reduce((r, i) => {
+}, WCe = (e) => [e[0] === Infinity ? 0 : e[0], e[1] === -Infinity ? 0 : e[1]], GCe = (e, t, n) => {
+ if (e != null) return WCe(Object.keys(e).reduce((r, i) => {
var a = e[i];
if (!a) return r;
var { stackedData: o } = a, s = o.reduce((e, r) => {
- var i = VCe(cU(r, t, n));
- return !lU(i[0]) || !lU(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
+ var i = UCe(sU(r, t, n));
+ return !cU(i[0]) || !cU(i[1]) ? e : [Math.min(e[0], i[0]), Math.max(e[1], i[1])];
}, [Infinity, -Infinity]);
return [Math.min(s[0], r[0]), Math.max(s[1], r[1])];
}, [Infinity, -Infinity]));
-}, SU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, CU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, wU = (e, t, n) => {
+}, xU = /^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, SU = /^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/, CU = (e, t, n) => {
if (e && e.scale && e.scale.bandwidth) {
var r = e.scale.bandwidth();
if (!n || r > 0) return r;
}
if (e && t && t.length >= 2) {
- for (var i = tV(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
+ for (var i = eV(t, (e) => e.coordinate), a = Infinity, o = 1, s = i.length; o < s; o++) {
var c = i[o], l = i[o - 1];
a = Math.min((c?.coordinate || 0) - (l?.coordinate || 0), a);
}
@@ -55059,26 +55094,26 @@ var bU = (e) => {
}
return n ? void 0 : 0;
};
-function TU(e) {
+function wU(e) {
var { tooltipEntrySettings: t, dataKey: n, payload: r, value: i, name: a } = e;
- return fU(fU({}, t), {}, {
+ return dU(dU({}, t), {}, {
dataKey: n,
payload: r,
value: i,
name: a
});
}
-function EU(e, t) {
+function TU(e, t) {
if (e) return String(e);
if (typeof t == "string") return t;
}
-var WCe = (e, t) => {
+var KCe = (e, t) => {
if (t === "horizontal") return e.relativeX;
if (t === "vertical") return e.relativeY;
-}, GCe = (e, t) => t === "centric" ? e.angle : e.radius, DU = (e) => e.layout.width, OU = (e) => e.layout.height, KCe = (e) => e.layout.scale, kU = (e) => e.layout.margin, AU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), jU = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), qCe = "data-recharts-item-index";
+}, qCe = (e, t) => t === "centric" ? e.angle : e.radius, EU = (e) => e.layout.width, DU = (e) => e.layout.height, JCe = (e) => e.layout.scale, OU = (e) => e.layout.margin, kU = $((e) => e.cartesianAxis.xAxis, (e) => Object.values(e)), AU = $((e) => e.cartesianAxis.yAxis, (e) => Object.values(e)), YCe = "data-recharts-item-index";
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectChartOffsetInternal.js
-function MU(e, t) {
+function jU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55088,30 +55123,30 @@ function MU(e, t) {
}
return n;
}
-function NU(e) {
+function MU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? MU(Object(n), !0).forEach(function(t) {
- JCe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : MU(Object(n)).forEach(function(t) {
+ t % 2 ? jU(Object(n), !0).forEach(function(t) {
+ XCe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function JCe(e, t, n) {
- return (t = YCe(t)) in e ? Object.defineProperty(e, t, {
+function XCe(e, t, n) {
+ return (t = ZCe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function YCe(e) {
- var t = XCe(e, "string");
+function ZCe(e) {
+ var t = QCe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function XCe(e, t) {
+function QCe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55121,58 +55156,58 @@ function XCe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var ZCe = (e) => e.brush.height;
-function QCe(e) {
- return jU(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
-function $Ce(e) {
- return jU(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
-}
+var $Ce = (e) => e.brush.height;
function ewe(e) {
- return AU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
+ return AU(e).reduce((e, t) => t.orientation === "left" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
}
function twe(e) {
- return AU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+ return AU(e).reduce((e, t) => t.orientation === "right" && !t.mirror && !t.hide ? e + (typeof t.width == "number" ? t.width : 60) : e, 0);
+}
+function nwe(e) {
+ return kU(e).reduce((e, t) => t.orientation === "top" && !t.mirror && !t.hide ? e + t.height : e, 0);
}
-var PU = $([
+function rwe(e) {
+ return kU(e).reduce((e, t) => t.orientation === "bottom" && !t.mirror && !t.hide ? e + t.height : e, 0);
+}
+var NU = $([
+ EU,
DU,
OU,
- kU,
- ZCe,
- QCe,
$Ce,
ewe,
twe,
- nV,
- ISe
+ nwe,
+ rwe,
+ tV,
+ RSe
], (e, t, n, r, i, a, o, s, c, l) => {
var u = {
left: (n.left || 0) + i,
right: (n.right || 0) + a
- }, d = NU(NU({}, {
+ }, d = MU(MU({}, {
top: (n.top || 0) + o,
bottom: (n.bottom || 0) + s
}), u), f = d.bottom;
- d.bottom += r, d = RCe(d, c, l);
+ d.bottom += r, d = BCe(d, c, l);
var p = e - d.left - d.right, m = t - d.top - d.bottom;
- return NU(NU({ brushBottom: f }, d), {}, {
+ return MU(MU({ brushBottom: f }, d), {}, {
width: Math.max(p, 0),
height: Math.max(m, 0)
});
-}), nwe = $(PU, (e) => ({
+}), iwe = $(NU, (e) => ({
x: e.left,
y: e.top,
width: e.width,
height: e.height
-})), FU = $(DU, OU, (e, t) => ({
+})), PU = $(EU, DU, (e, t) => ({
x: 0,
y: 0,
width: e,
height: t
-})), rwe = /*#__PURE__*/ (0, R.createContext)(null), IU = () => (0, R.useContext)(rwe) != null, LU = (e) => e.brush, RU = $([
- LU,
- PU,
- kU
+})), awe = /*#__PURE__*/ (0, R.createContext)(null), FU = () => (0, R.useContext)(awe) != null, IU = (e) => e.brush, LU = $([
+ IU,
+ NU,
+ OU
], (e, t, n) => ({
height: e.height,
x: Z(e.x) ? e.x : t.left,
@@ -55181,7 +55216,7 @@ var PU = $([
}));
//#endregion
//#region node_modules/es-toolkit/dist/function/debounce.mjs
-function iwe(e, t, { signal: n, edges: r } = {}) {
+function owe(e, t, { signal: n, edges: r } = {}) {
let i, a = null, o = r != null && r.includes("leading"), s = r == null || r.includes("trailing"), c = () => {
a !== null && (e.apply(i, a), i = void 0, a = null);
}, l = () => {
@@ -55206,11 +55241,11 @@ function iwe(e, t, { signal: n, edges: r } = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/debounce.mjs
-function awe(e, t = 0, n = {}) {
+function swe(e, t = 0, n = {}) {
typeof n != "object" && (n = {});
let { leading: r = !1, trailing: i = !0, maxWait: a } = n, o = [, ,];
r && (o[0] = "leading"), i && (o[1] = "trailing");
- let s, c = null, l = iwe(function(...t) {
+ let s, c = null, l = owe(function(...t) {
s = e.apply(this, t), c = null;
}, t, { edges: o }), u = function(...t) {
return a != null && (c === null && (c = Date.now()), Date.now() - c >= a) ? ((r || i) && (s = e.apply(this, t)), c = Date.now(), l.cancel(), l.schedule(), s) : (l.apply(this, t), s);
@@ -55219,9 +55254,9 @@ function awe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/function/throttle.mjs
-function owe(e, t = 0, n = {}) {
+function cwe(e, t = 0, n = {}) {
let { leading: r = !0, trailing: i = !0 } = n;
- return awe(e, t, {
+ return swe(e, t, {
leading: r,
maxWait: t,
trailing: i
@@ -55229,7 +55264,7 @@ function owe(e, t = 0, n = {}) {
}
//#endregion
//#region node_modules/recharts/es6/util/LogUtils.js
-var zU = function(e, t) {
+var RU = function(e, t) {
var n = [...arguments].slice(2);
if (typeof console < "u" && console.warn && (t === void 0 && console.warn("LogUtils requires an error message argument"), !e)) {
if (t === void 0) console.warn("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");
@@ -55238,7 +55273,7 @@ var zU = function(e, t) {
console.warn(t.replace(/%s/g, () => n[r++]));
}
}
-}, BU = {
+}, zU = {
width: "100%",
height: "100%",
debounce: 0,
@@ -55247,45 +55282,45 @@ var zU = function(e, t) {
width: -1,
height: -1
}
-}, VU = (e, t, n) => {
- var { width: r = BU.width, height: i = BU.height, aspect: a, maxHeight: o } = n, s = eB(r) ? e : Number(r), c = eB(i) ? t : Number(i);
+}, BU = (e, t, n) => {
+ var { width: r = zU.width, height: i = zU.height, aspect: a, maxHeight: o } = n, s = $z(r) ? e : Number(r), c = $z(i) ? t : Number(i);
return a && a > 0 && (s ? c = s / a : c && (s = c * a), o && c != null && c > o && (c = o)), {
calculatedWidth: s,
calculatedHeight: c
};
-}, swe = {
+}, lwe = {
width: 0,
height: 0,
overflow: "visible"
-}, cwe = {
+}, uwe = {
width: 0,
overflowX: "visible"
-}, lwe = {
+}, dwe = {
height: 0,
overflowY: "visible"
-}, uwe = {}, dwe = (e) => {
- var { width: t, height: n } = e, r = eB(t), i = eB(n);
- return r && i ? swe : r ? cwe : i ? lwe : uwe;
+}, fwe = {}, pwe = (e) => {
+ var { width: t, height: n } = e, r = $z(t), i = $z(n);
+ return r && i ? lwe : r ? uwe : i ? dwe : fwe;
};
-function fwe(e) {
+function mwe(e) {
var { width: t, height: n, aspect: r } = e, i = t, a = n;
- return i === void 0 && a === void 0 ? (i = BU.width, a = BU.height) : i === void 0 ? i = r && r > 0 ? void 0 : BU.width : a === void 0 && (a = r && r > 0 ? void 0 : BU.height), {
+ return i === void 0 && a === void 0 ? (i = zU.width, a = zU.height) : i === void 0 ? i = r && r > 0 ? void 0 : zU.width : a === void 0 && (a = r && r > 0 ? void 0 : zU.height), {
width: i,
height: a
};
}
//#endregion
//#region node_modules/recharts/es6/component/ResponsiveContainer.js
-function HU() {
- return HU = Object.assign ? Object.assign.bind() : function(e) {
+function VU() {
+ return VU = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, HU.apply(null, arguments);
+ }, VU.apply(null, arguments);
}
-function UU(e, t) {
+function HU(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -55295,30 +55330,30 @@ function UU(e, t) {
}
return n;
}
-function WU(e) {
+function UU(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? UU(Object(n), !0).forEach(function(t) {
- pwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UU(Object(n)).forEach(function(t) {
+ t % 2 ? HU(Object(n), !0).forEach(function(t) {
+ hwe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HU(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function pwe(e, t, n) {
- return (t = mwe(t)) in e ? Object.defineProperty(e, t, {
+function hwe(e, t, n) {
+ return (t = gwe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function mwe(e) {
- var t = hwe(e, "string");
+function gwe(e) {
+ var t = _we(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function hwe(e, t) {
+function _we(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -55328,19 +55363,19 @@ function hwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var GU = /*#__PURE__*/ (0, R.createContext)(BU.initialDimension);
-function gwe(e) {
- return uU(e.width) && uU(e.height);
+var WU = /*#__PURE__*/ (0, R.createContext)(zU.initialDimension);
+function vwe(e) {
+ return lU(e.width) && lU(e.height);
}
-function KU(e) {
+function GU(e) {
var { children: t, width: n, height: r } = e, i = (0, R.useMemo)(() => ({
width: n,
height: r
}), [n, r]);
- return gwe(i) ? /*#__PURE__*/ R.createElement(GU.Provider, { value: i }, t) : null;
+ return vwe(i) ? /*#__PURE__*/ R.createElement(WU.Provider, { value: i }, t) : null;
}
-var qU = () => (0, R.useContext)(GU), _we = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { aspect: n, initialDimension: r = BU.initialDimension, width: i, height: a, minWidth: o = BU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = BU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, R.useRef)(null), g = (0, R.useRef)();
+var KU = () => (0, R.useContext)(WU), ywe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { aspect: n, initialDimension: r = zU.initialDimension, width: i, height: a, minWidth: o = zU.minWidth, minHeight: s, maxHeight: c, children: l, debounce: u = zU.debounce, id: d, className: f, onResize: p, style: m = {} } = e, h = (0, R.useRef)(null), g = (0, R.useRef)();
g.current = p, (0, R.useImperativeHandle)(t, () => h.current);
var [_, v] = (0, R.useState)({
containerWidth: r.width,
@@ -55355,7 +55390,7 @@ var qU = () => (0, R.useContext)(GU), _we = /*#__PURE__*/ (0, R.forwardRef)((e,
});
}, []);
(0, R.useEffect)(() => {
- if (h.current == null || typeof ResizeObserver > "u") return uB;
+ if (h.current == null || typeof ResizeObserver > "u") return lB;
var e = (e) => {
var t, n = e[0];
if (n != null) {
@@ -55363,7 +55398,7 @@ var qU = () => (0, R.useContext)(GU), _we = /*#__PURE__*/ (0, R.forwardRef)((e,
y(r, i), (t = g.current) == null || t.call(g, r, i);
}
};
- u > 0 && (e = owe(e, u, {
+ u > 0 && (e = cwe(e, u, {
trailing: !0,
leading: !1
}));
@@ -55373,17 +55408,17 @@ var qU = () => (0, R.useContext)(GU), _we = /*#__PURE__*/ (0, R.forwardRef)((e,
};
}, [y, u]);
var { containerWidth: b, containerHeight: x } = _;
- zU(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
- var { calculatedWidth: S, calculatedHeight: C } = VU(b, x, {
+ RU(!n || n > 0, "The aspect(%s) must be greater than zero.", n);
+ var { calculatedWidth: S, calculatedHeight: C } = BU(b, x, {
width: i,
height: a,
aspect: n,
maxHeight: c
});
- return zU(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ R.createElement("div", {
+ return RU(S != null && S > 0 || C != null && C > 0, "The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.", S, C, i, a, o, s, n), /*#__PURE__*/ R.createElement("div", {
id: d ? `${d}` : void 0,
className: Sh("recharts-responsive-container", f),
- style: WU(WU({}, m), {}, {
+ style: UU(UU({}, m), {}, {
width: i,
height: a,
minWidth: o,
@@ -55391,30 +55426,30 @@ var qU = () => (0, R.useContext)(GU), _we = /*#__PURE__*/ (0, R.forwardRef)((e,
maxHeight: c
}),
ref: h
- }, /*#__PURE__*/ R.createElement("div", { style: dwe({
+ }, /*#__PURE__*/ R.createElement("div", { style: pwe({
width: i,
height: a
- }) }, /*#__PURE__*/ R.createElement(KU, {
+ }) }, /*#__PURE__*/ R.createElement(GU, {
width: S,
height: C
}, l)));
-}), JU = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = qU();
- if (uU(n.width) && uU(n.height)) return e.children;
- var { width: r, height: i } = fwe({
+}), qU = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = KU();
+ if (lU(n.width) && lU(n.height)) return e.children;
+ var { width: r, height: i } = mwe({
width: e.width,
height: e.height,
aspect: e.aspect
- }), { calculatedWidth: a, calculatedHeight: o } = VU(void 0, void 0, {
+ }), { calculatedWidth: a, calculatedHeight: o } = BU(void 0, void 0, {
width: r,
height: i,
aspect: e.aspect,
maxHeight: e.maxHeight
});
- return Z(a) && Z(o) ? /*#__PURE__*/ R.createElement(KU, {
+ return Z(a) && Z(o) ? /*#__PURE__*/ R.createElement(GU, {
width: a,
height: o
- }, e.children) : /*#__PURE__*/ R.createElement(_we, HU({}, e, {
+ }, e.children) : /*#__PURE__*/ R.createElement(ywe, VU({}, e, {
width: r,
height: i,
ref: t
@@ -55422,7 +55457,7 @@ var qU = () => (0, R.useContext)(GU), _we = /*#__PURE__*/ (0, R.forwardRef)((e,
});
//#endregion
//#region node_modules/recharts/es6/context/chartLayoutContext.js
-function YU(e) {
+function JU(e) {
if (e) return {
x: e.x,
y: e.y,
@@ -55432,15 +55467,15 @@ function YU(e) {
height: e.height
};
}
-var XU = () => {
- var e = IU(), t = Q(nwe), n = Q(RU), r = Q(LU)?.padding;
+var YU = () => {
+ var e = FU(), t = Q(iwe), n = Q(LU), r = Q(IU)?.padding;
return !e || !n || !r ? t : {
width: n.width - r.left - r.right,
height: n.height - r.top - r.bottom,
x: r.left,
y: r.top
};
-}, vwe = {
+}, bwe = {
top: 0,
bottom: 0,
left: 0,
@@ -55448,16 +55483,16 @@ var XU = () => {
width: 0,
height: 0,
brushBottom: 0
-}, ZU = () => Q(PU) ?? vwe, QU = () => Q(DU), $U = () => Q(OU), ywe = () => Q((e) => e.layout.margin), eW = (e) => e.layout.layoutType, tW = () => Q(eW), nW = () => {
- var e = tW();
+}, XU = () => Q(NU) ?? bwe, ZU = () => Q(EU), QU = () => Q(DU), xwe = () => Q((e) => e.layout.margin), $U = (e) => e.layout.layoutType, eW = () => Q($U), tW = () => {
+ var e = eW();
if (e === "horizontal" || e === "vertical") return e;
-}, rW = (e) => {
+}, nW = (e) => {
var t = e.layout.layoutType;
if (t === "centric" || t === "radial") return t;
-}, iW = () => Q(rW), bwe = () => tW() !== void 0, aW = (e) => {
- var t = qB(), n = IU(), { width: r, height: i } = e, a = qU(), o = r, s = i;
+}, rW = () => Q(nW), Swe = () => eW() !== void 0, iW = (e) => {
+ var t = KB(), n = FU(), { width: r, height: i } = e, a = KU(), o = r, s = i;
return a && (o = a.width > 0 ? a.width : r, s = a.height > 0 ? a.height : i), (0, R.useEffect)(() => {
- !n && uU(o) && uU(s) && t(MCe({
+ !n && lU(o) && lU(s) && t(PCe({
width: o,
height: s
}));
@@ -55467,64 +55502,64 @@ var XU = () => {
o,
s
]), null;
-}, oW = Symbol.for("immer-nothing"), sW = Symbol.for("immer-draftable"), cW = Symbol.for("immer-state");
-function lW(e, ...t) {
+}, aW = Symbol.for("immer-nothing"), oW = Symbol.for("immer-draftable"), sW = Symbol.for("immer-state");
+function cW(e, ...t) {
throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
}
-var uW = Object.getPrototypeOf;
-function dW(e) {
- return !!e && !!e[cW];
+var lW = Object.getPrototypeOf;
+function uW(e) {
+ return !!e && !!e[sW];
}
-function fW(e) {
- return e ? mW(e) || Array.isArray(e) || !!e[sW] || !!e.constructor?.[sW] || yW(e) || bW(e) : !1;
+function dW(e) {
+ return e ? pW(e) || Array.isArray(e) || !!e[oW] || !!e.constructor?.[oW] || vW(e) || yW(e) : !1;
}
-var xwe = Object.prototype.constructor.toString(), pW = /* @__PURE__ */ new WeakMap();
-function mW(e) {
+var Cwe = Object.prototype.constructor.toString(), fW = /* @__PURE__ */ new WeakMap();
+function pW(e) {
if (!e || typeof e != "object") return !1;
let t = Object.getPrototypeOf(e);
if (t === null || t === Object.prototype) return !0;
let n = Object.hasOwnProperty.call(t, "constructor") && t.constructor;
if (n === Object) return !0;
if (typeof n != "function") return !1;
- let r = pW.get(n);
- return r === void 0 && (r = Function.toString.call(n), pW.set(n, r)), r === xwe;
+ let r = fW.get(n);
+ return r === void 0 && (r = Function.toString.call(n), fW.set(n, r)), r === Cwe;
}
-function hW(e, t, n = !0) {
- gW(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
+function mW(e, t, n = !0) {
+ hW(e) === 0 ? (n ? Reflect.ownKeys(e) : Object.keys(e)).forEach((n) => {
t(n, e[n], e);
}) : e.forEach((n, r) => t(r, n, e));
}
-function gW(e) {
- let t = e[cW];
- return t ? t.type_ : Array.isArray(e) ? 1 : yW(e) ? 2 : bW(e) ? 3 : 0;
+function hW(e) {
+ let t = e[sW];
+ return t ? t.type_ : Array.isArray(e) ? 1 : vW(e) ? 2 : yW(e) ? 3 : 0;
}
-function _W(e, t) {
- return gW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
+function gW(e, t) {
+ return hW(e) === 2 ? e.has(t) : Object.prototype.hasOwnProperty.call(e, t);
}
-function vW(e, t, n) {
- let r = gW(e);
+function _W(e, t, n) {
+ let r = hW(e);
r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
}
-function Swe(e, t) {
+function wwe(e, t) {
return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function yW(e) {
+function vW(e) {
return e instanceof Map;
}
-function bW(e) {
+function yW(e) {
return e instanceof Set;
}
-function xW(e) {
+function bW(e) {
return e.copy_ || e.base_;
}
-function SW(e, t) {
- if (yW(e)) return new Map(e);
- if (bW(e)) return new Set(e);
+function xW(e, t) {
+ if (vW(e)) return new Map(e);
+ if (yW(e)) return new Set(e);
if (Array.isArray(e)) return Array.prototype.slice.call(e);
- let n = mW(e);
+ let n = pW(e);
if (t === !0 || t === "class_only" && !n) {
let t = Object.getOwnPropertyDescriptors(e);
- delete t[cW];
+ delete t[sW];
let n = Reflect.ownKeys(t);
for (let r = 0; r < n.length; r++) {
let i = n[r], a = t[i];
@@ -55535,40 +55570,40 @@ function SW(e, t) {
value: e[i]
});
}
- return Object.create(uW(e), t);
+ return Object.create(lW(e), t);
}
{
- let t = uW(e);
+ let t = lW(e);
if (t !== null && n) return { ...e };
let r = Object.create(t);
return Object.assign(r, e);
}
}
-function CW(e, t = !1) {
- return TW(e) || dW(e) || !fW(e) ? e : (gW(e) > 1 && Object.defineProperties(e, {
- set: wW,
- add: wW,
- clear: wW,
- delete: wW
- }), Object.freeze(e), t && Object.values(e).forEach((e) => CW(e, !0)), e);
+function SW(e, t = !1) {
+ return wW(e) || uW(e) || !dW(e) ? e : (hW(e) > 1 && Object.defineProperties(e, {
+ set: CW,
+ add: CW,
+ clear: CW,
+ delete: CW
+ }), Object.freeze(e), t && Object.values(e).forEach((e) => SW(e, !0)), e);
}
-function Cwe() {
- lW(2);
+function Twe() {
+ cW(2);
}
-var wW = { value: Cwe };
-function TW(e) {
+var CW = { value: Twe };
+function wW(e) {
return typeof e != "object" || !e || Object.isFrozen(e);
}
-var wwe = {};
-function EW(e) {
- let t = wwe[e];
- return t || lW(0, e), t;
+var Ewe = {};
+function TW(e) {
+ let t = Ewe[e];
+ return t || cW(0, e), t;
}
-var DW;
-function OW() {
- return DW;
+var EW;
+function DW() {
+ return EW;
}
-function Twe(e, t) {
+function Dwe(e, t) {
return {
drafts_: [],
parent_: e,
@@ -55577,62 +55612,62 @@ function Twe(e, t) {
unfinalizedDrafts_: 0
};
}
-function kW(e, t) {
- t && (EW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+function OW(e, t) {
+ t && (TW("Patches"), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
+}
+function kW(e) {
+ AW(e), e.drafts_.forEach(Owe), e.drafts_ = null;
}
function AW(e) {
- jW(e), e.drafts_.forEach(Ewe), e.drafts_ = null;
+ e === EW && (EW = e.parent_);
}
function jW(e) {
- e === DW && (DW = e.parent_);
+ return EW = Dwe(EW, e);
}
-function MW(e) {
- return DW = Twe(DW, e);
-}
-function Ewe(e) {
- let t = e[cW];
+function Owe(e) {
+ let t = e[sW];
t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
}
-function NW(e, t) {
+function MW(e, t) {
t.unfinalizedDrafts_ = t.drafts_.length;
let n = t.drafts_[0];
- return e !== void 0 && e !== n ? (n[cW].modified_ && (AW(t), lW(4)), fW(e) && (e = PW(t, e), t.parent_ || IW(t, e)), t.patches_ && EW("Patches").generateReplacementPatches_(n[cW].base_, e, t.patches_, t.inversePatches_)) : e = PW(t, n, []), AW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === oW ? void 0 : e;
+ return e !== void 0 && e !== n ? (n[sW].modified_ && (kW(t), cW(4)), dW(e) && (e = NW(t, e), t.parent_ || FW(t, e)), t.patches_ && TW("Patches").generateReplacementPatches_(n[sW].base_, e, t.patches_, t.inversePatches_)) : e = NW(t, n, []), kW(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === aW ? void 0 : e;
}
-function PW(e, t, n) {
- if (TW(t)) return t;
- let r = e.immer_.shouldUseStrictIteration(), i = t[cW];
- if (!i) return hW(t, (r, a) => FW(e, i, t, r, a, n), r), t;
+function NW(e, t, n) {
+ if (wW(t)) return t;
+ let r = e.immer_.shouldUseStrictIteration(), i = t[sW];
+ if (!i) return mW(t, (r, a) => PW(e, i, t, r, a, n), r), t;
if (i.scope_ !== e) return t;
- if (!i.modified_) return IW(e, i.base_, !0), i.base_;
+ if (!i.modified_) return FW(e, i.base_, !0), i.base_;
if (!i.finalized_) {
i.finalized_ = !0, i.scope_.unfinalizedDrafts_--;
let t = i.copy_, a = t, o = !1;
- i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), hW(a, (r, a) => FW(e, i, t, r, a, n, o), r), IW(e, t, !1), n && e.patches_ && EW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
+ i.type_ === 3 && (a = new Set(t), t.clear(), o = !0), mW(a, (r, a) => PW(e, i, t, r, a, n, o), r), FW(e, t, !1), n && e.patches_ && TW("Patches").generatePatches_(i, n, e.patches_, e.inversePatches_);
}
return i.copy_;
}
-function FW(e, t, n, r, i, a, o) {
+function PW(e, t, n, r, i, a, o) {
if (i == null || typeof i != "object" && !o) return;
- let s = TW(i);
+ let s = wW(i);
if (!(s && !o)) {
- if (dW(i)) {
- let o = PW(e, i, a && t && t.type_ !== 3 && !_W(t.assigned_, r) ? a.concat(r) : void 0);
- if (vW(n, r, o), dW(o)) e.canAutoFreeze_ = !1;
+ if (uW(i)) {
+ let o = NW(e, i, a && t && t.type_ !== 3 && !gW(t.assigned_, r) ? a.concat(r) : void 0);
+ if (_W(n, r, o), uW(o)) e.canAutoFreeze_ = !1;
else return;
} else o && n.add(i);
- if (fW(i) && !s) {
+ if (dW(i) && !s) {
if (!e.immer_.autoFreeze_ && e.unfinalizedDrafts_ < 1 || t && t.base_ && t.base_[r] === i && s) return;
- PW(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (yW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && IW(e, i);
+ NW(e, i), (!t || !t.scope_.parent_) && typeof r != "symbol" && (vW(n) ? n.has(r) : Object.prototype.propertyIsEnumerable.call(n, r)) && FW(e, i);
}
}
}
-function IW(e, t, n = !1) {
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && CW(t, n);
+function FW(e, t, n = !1) {
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && SW(t, n);
}
-function Dwe(e, t) {
+function kwe(e, t) {
let n = Array.isArray(e), r = {
type_: +!!n,
- scope_: t ? t.scope_ : OW(),
+ scope_: t ? t.scope_ : DW(),
modified_: !1,
finalized_: !1,
assigned_: {},
@@ -55642,41 +55677,41 @@ function Dwe(e, t) {
copy_: null,
revoke_: null,
isManual_: !1
- }, i = r, a = LW;
- n && (i = [r], a = RW);
+ }, i = r, a = IW;
+ n && (i = [r], a = LW);
let { revoke: o, proxy: s } = Proxy.revocable(i, a);
return r.draft_ = s, r.revoke_ = o, s;
}
-var LW = {
+var IW = {
get(e, t) {
- if (t === cW) return e;
- let n = xW(e);
- if (!_W(n, t)) return Owe(e, n, t);
+ if (t === sW) return e;
+ let n = bW(e);
+ if (!gW(n, t)) return Awe(e, n, t);
let r = n[t];
- return e.finalized_ || !fW(r) ? r : r === zW(e.base_, t) ? (HW(e), e.copy_[t] = UW(r, e)) : r;
+ return e.finalized_ || !dW(r) ? r : r === RW(e.base_, t) ? (VW(e), e.copy_[t] = HW(r, e)) : r;
},
has(e, t) {
- return t in xW(e);
+ return t in bW(e);
},
ownKeys(e) {
- return Reflect.ownKeys(xW(e));
+ return Reflect.ownKeys(bW(e));
},
set(e, t, n) {
- let r = BW(xW(e), t);
+ let r = zW(bW(e), t);
if (r?.set) return r.set.call(e.draft_, n), !0;
if (!e.modified_) {
- let r = zW(xW(e), t), i = r?.[cW];
+ let r = RW(bW(e), t), i = r?.[sW];
if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_[t] = !1, !0;
- if (Swe(n, r) && (n !== void 0 || _W(e.base_, t))) return !0;
- HW(e), VW(e);
+ if (wwe(n, r) && (n !== void 0 || gW(e.base_, t))) return !0;
+ VW(e), BW(e);
}
return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_[t] = !0, !0);
},
deleteProperty(e, t) {
- return zW(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, HW(e), VW(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
+ return RW(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_[t] = !1, VW(e), BW(e)) : delete e.assigned_[t], e.copy_ && delete e.copy_[t], !0;
},
getOwnPropertyDescriptor(e, t) {
- let n = xW(e), r = Reflect.getOwnPropertyDescriptor(n, t);
+ let n = bW(e), r = Reflect.getOwnPropertyDescriptor(n, t);
return r && {
writable: !0,
configurable: e.type_ !== 1 || t !== "length",
@@ -55685,48 +55720,48 @@ var LW = {
};
},
defineProperty() {
- lW(11);
+ cW(11);
},
getPrototypeOf(e) {
- return uW(e.base_);
+ return lW(e.base_);
},
setPrototypeOf() {
- lW(12);
+ cW(12);
}
-}, RW = {};
-hW(LW, (e, t) => {
- RW[e] = function() {
+}, LW = {};
+mW(IW, (e, t) => {
+ LW[e] = function() {
return arguments[0] = arguments[0][0], t.apply(this, arguments);
};
-}), RW.deleteProperty = function(e, t) {
- return RW.set.call(this, e, t, void 0);
-}, RW.set = function(e, t, n) {
- return LW.set.call(this, e[0], t, n, e[0]);
+}), LW.deleteProperty = function(e, t) {
+ return LW.set.call(this, e, t, void 0);
+}, LW.set = function(e, t, n) {
+ return IW.set.call(this, e[0], t, n, e[0]);
};
-function zW(e, t) {
- let n = e[cW];
- return (n ? xW(n) : e)[t];
+function RW(e, t) {
+ let n = e[sW];
+ return (n ? bW(n) : e)[t];
}
-function Owe(e, t, n) {
- let r = BW(t, n);
+function Awe(e, t, n) {
+ let r = zW(t, n);
return r ? "value" in r ? r.value : r.get?.call(e.draft_) : void 0;
}
-function BW(e, t) {
+function zW(e, t) {
if (!(t in e)) return;
- let n = uW(e);
+ let n = lW(e);
for (; n;) {
let e = Object.getOwnPropertyDescriptor(n, t);
if (e) return e;
- n = uW(n);
+ n = lW(n);
}
}
-function VW(e) {
- e.modified_ || (e.modified_ = !0, e.parent_ && VW(e.parent_));
+function BW(e) {
+ e.modified_ || (e.modified_ = !0, e.parent_ && BW(e.parent_));
}
-function HW(e) {
- e.copy_ ||= SW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
+function VW(e) {
+ e.copy_ ||= xW(e.base_, e.scope_.immer_.useStrictShallowCopy_);
}
-var kwe = class {
+var jwe = class {
constructor(e) {
this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !0, this.produce = (e, t, n) => {
if (typeof e == "function" && typeof t != "function") {
@@ -55737,25 +55772,25 @@ var kwe = class {
return r.produce(e, (e) => t.call(this, e, ...i));
};
}
- typeof t != "function" && lW(6), n !== void 0 && typeof n != "function" && lW(7);
+ typeof t != "function" && cW(6), n !== void 0 && typeof n != "function" && cW(7);
let r;
- if (fW(e)) {
- let i = MW(this), a = UW(e, void 0), o = !0;
+ if (dW(e)) {
+ let i = jW(this), a = HW(e, void 0), o = !0;
try {
r = t(a), o = !1;
} finally {
- o ? AW(i) : jW(i);
+ o ? kW(i) : AW(i);
}
- return kW(i, n), NW(r, i);
+ return OW(i, n), MW(r, i);
}
if (!e || typeof e != "object") {
- if (r = t(e), r === void 0 && (r = e), r === oW && (r = void 0), this.autoFreeze_ && CW(r, !0), n) {
+ if (r = t(e), r === void 0 && (r = e), r === aW && (r = void 0), this.autoFreeze_ && SW(r, !0), n) {
let t = [], i = [];
- EW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
+ TW("Patches").generateReplacementPatches_(e, r, t, i), n(t, i);
}
return r;
}
- lW(1, e);
+ cW(1, e);
}, this.produceWithPatches = (e, t) => {
if (typeof e == "function") return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
let n, r;
@@ -55769,15 +55804,15 @@ var kwe = class {
}, typeof e?.autoFreeze == "boolean" && this.setAutoFreeze(e.autoFreeze), typeof e?.useStrictShallowCopy == "boolean" && this.setUseStrictShallowCopy(e.useStrictShallowCopy), typeof e?.useStrictIteration == "boolean" && this.setUseStrictIteration(e.useStrictIteration);
}
createDraft(e) {
- fW(e) || lW(8), dW(e) && (e = Awe(e));
- let t = MW(this), n = UW(e, void 0);
- return n[cW].isManual_ = !0, jW(t), n;
+ dW(e) || cW(8), uW(e) && (e = Mwe(e));
+ let t = jW(this), n = HW(e, void 0);
+ return n[sW].isManual_ = !0, AW(t), n;
}
finishDraft(e, t) {
- let n = e && e[cW];
- (!n || !n.isManual_) && lW(9);
+ let n = e && e[sW];
+ (!n || !n.isManual_) && cW(9);
let { scope_: r } = n;
- return kW(r, t), NW(void 0, r);
+ return OW(r, t), MW(void 0, r);
}
setAutoFreeze(e) {
this.autoFreeze_ = e;
@@ -55801,35 +55836,35 @@ var kwe = class {
}
}
n > -1 && (t = t.slice(n + 1));
- let r = EW("Patches").applyPatches_;
- return dW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
+ let r = TW("Patches").applyPatches_;
+ return uW(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
}
};
-function UW(e, t) {
- let n = yW(e) ? EW("MapSet").proxyMap_(e, t) : bW(e) ? EW("MapSet").proxySet_(e, t) : Dwe(e, t);
- return (t ? t.scope_ : OW()).drafts_.push(n), n;
+function HW(e, t) {
+ let n = vW(e) ? TW("MapSet").proxyMap_(e, t) : yW(e) ? TW("MapSet").proxySet_(e, t) : kwe(e, t);
+ return (t ? t.scope_ : DW()).drafts_.push(n), n;
}
-function Awe(e) {
- return dW(e) || lW(10, e), WW(e);
+function Mwe(e) {
+ return uW(e) || cW(10, e), UW(e);
}
-function WW(e) {
- if (!fW(e) || TW(e)) return e;
- let t = e[cW], n, r = !0;
+function UW(e) {
+ if (!dW(e) || wW(e)) return e;
+ let t = e[sW], n, r = !0;
if (t) {
if (!t.modified_) return t.base_;
- t.finalized_ = !0, n = SW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
- } else n = SW(e, !0);
- return hW(n, (e, t) => {
- vW(n, e, WW(t));
+ t.finalized_ = !0, n = xW(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
+ } else n = xW(e, !0);
+ return mW(n, (e, t) => {
+ _W(n, e, UW(t));
}, r), t && (t.finalized_ = !1), n;
}
-new kwe().produce;
-function GW(e) {
+new jwe().produce;
+function WW(e) {
return e;
}
//#endregion
//#region node_modules/recharts/es6/state/legendSlice.js
-var KW = PH({
+var GW = NH({
name: "legend",
initialState: {
settings: {
@@ -55853,43 +55888,43 @@ var KW = PH({
},
addLegendPayload: {
reducer(e, t) {
- e.payload.push(GW(t.payload));
+ e.payload.push(WW(t.payload));
},
- prepare: AH()
+ prepare: kH()
},
replaceLegendPayload: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xH(e).payload.indexOf(GW(n));
- i > -1 && (e.payload[i] = GW(r));
+ var { prev: n, next: r } = t.payload, i = bH(e).payload.indexOf(WW(n));
+ i > -1 && (e.payload[i] = WW(r));
},
- prepare: AH()
+ prepare: kH()
},
removeLegendPayload: {
reducer(e, t) {
- var n = xH(e).payload.indexOf(GW(t.payload));
+ var n = bH(e).payload.indexOf(WW(t.payload));
n > -1 && e.payload.splice(n, 1);
},
- prepare: AH()
+ prepare: kH()
}
}
-}), { setLegendSize: qW, setLegendSettings: jwe, addLegendPayload: JW, replaceLegendPayload: YW, removeLegendPayload: XW } = KW.actions, Mwe = KW.reducer, Nwe = /* @__PURE__ */ Ct(((e) => {
+}), { setLegendSize: KW, setLegendSettings: Nwe, addLegendPayload: qW, replaceLegendPayload: JW, removeLegendPayload: YW } = GW.actions, Pwe = GW.reducer, Fwe = /* @__PURE__ */ Ct(((e) => {
var t = At();
t.useSyncExternalStore, t.useRef, t.useEffect, t.useMemo, t.useDebugValue;
}));
(/* @__PURE__ */ Ct(((e, t) => {
- t.exports = Nwe();
+ t.exports = Fwe();
})))();
-function Pwe(e) {
+function Iwe(e) {
e();
}
-function Fwe() {
+function Lwe() {
let e = null, t = null;
return {
clear() {
e = null, t = null;
},
notify() {
- Pwe(() => {
+ Iwe(() => {
let t = e;
for (; t;) t.callback(), t = t.next;
});
@@ -55911,12 +55946,12 @@ function Fwe() {
}
};
}
-var ZW = {
+var XW = {
notify() {},
get: () => []
};
-function Iwe(e, t) {
- let n, r = ZW, i = 0, a = !1;
+function Rwe(e, t) {
+ let n, r = XW, i = 0, a = !1;
function o(e) {
u();
let t = r.subscribe(e), n = !1;
@@ -55934,10 +55969,10 @@ function Iwe(e, t) {
return a;
}
function u() {
- i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Fwe());
+ i++, n || (n = t ? t.addNestedSub(c) : e.subscribe(c), r = Lwe());
}
function d() {
- i--, n && i === 0 && (n(), n = void 0, r.clear(), r = ZW);
+ i--, n && i === 0 && (n(), n = void 0, r.clear(), r = XW);
}
function f() {
a || (a = !0, u());
@@ -55956,44 +55991,44 @@ function Iwe(e, t) {
};
return m;
}
-var Lwe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Rwe = typeof navigator < "u" && navigator.product === "ReactNative", zwe = Lwe || Rwe ? R.useLayoutEffect : R.useEffect;
-function QW(e, t) {
+var zwe = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, Bwe = typeof navigator < "u" && navigator.product === "ReactNative", Vwe = zwe || Bwe ? R.useLayoutEffect : R.useEffect;
+function ZW(e, t) {
return e === t ? e !== 0 || t !== 0 || 1 / e == 1 / t : e !== e && t !== t;
}
-function Bwe(e, t) {
- if (QW(e, t)) return !0;
+function Hwe(e, t) {
+ if (ZW(e, t)) return !0;
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
let n = Object.keys(e), r = Object.keys(t);
if (n.length !== r.length) return !1;
- for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !QW(e[n[r]], t[n[r]])) return !1;
+ for (let r = 0; r < n.length; r++) if (!Object.prototype.hasOwnProperty.call(t, n[r]) || !ZW(e[n[r]], t[n[r]])) return !1;
return !0;
}
-var Vwe = /* @__PURE__ */ Symbol.for("react-redux-context"), Hwe = typeof globalThis < "u" ? globalThis : {};
-function Uwe() {
+var Uwe = /* @__PURE__ */ Symbol.for("react-redux-context"), Wwe = typeof globalThis < "u" ? globalThis : {};
+function Gwe() {
if (!R.createContext) return {};
- let e = Hwe[Vwe] ??= /* @__PURE__ */ new Map(), t = e.get(R.createContext);
+ let e = Wwe[Uwe] ??= /* @__PURE__ */ new Map(), t = e.get(R.createContext);
return t || (t = R.createContext(null), e.set(R.createContext, t)), t;
}
-var Wwe = /* @__PURE__ */ Uwe();
-function Gwe(e) {
+var Kwe = /* @__PURE__ */ Gwe();
+function qwe(e) {
let { children: t, context: n, serverState: r, store: i } = e, a = R.useMemo(() => {
- let e = Iwe(i);
+ let e = Rwe(i);
return {
store: i,
subscription: e,
getServerState: r ? () => r : void 0
};
}, [i, r]), o = R.useMemo(() => i.getState(), [i]);
- zwe(() => {
+ Vwe(() => {
let { subscription: e } = a;
return e.onStateChange = e.notifyNestedSubs, e.trySubscribe(), o !== i.getState() && e.notifyNestedSubs(), () => {
e.tryUnsubscribe(), e.onStateChange = void 0;
};
}, [a, o]);
- let s = n || Wwe;
+ let s = n || Kwe;
return /* @__PURE__ */ R.createElement(s.Provider, { value: a }, t);
}
-var Kwe = Gwe, qwe = /* @__PURE__ */ new Set([
+var Jwe = qwe, Ywe = /* @__PURE__ */ new Set([
"axisLine",
"tickLine",
"activeBar",
@@ -56016,29 +56051,29 @@ var Kwe = Gwe, qwe = /* @__PURE__ */ new Set([
"radius",
"throttledEvents"
]);
-function Jwe(e, t) {
+function Xwe(e, t) {
return e == null && t == null ? !0 : typeof e == "number" && typeof t == "number" ? e === t || e !== e && t !== t : e === t;
}
-function $W(e, t) {
- for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (qwe.has(n)) {
+function QW(e, t) {
+ for (var n of /* @__PURE__ */ new Set([...Object.keys(e), ...Object.keys(t)])) if (Ywe.has(n)) {
if (e[n] == null && t[n] == null) continue;
- if (!Bwe(e[n], t[n])) return !1;
- } else if (!Jwe(e[n], t[n])) return !1;
+ if (!Hwe(e[n], t[n])) return !1;
+ } else if (!Xwe(e[n], t[n])) return !1;
return !0;
}
//#endregion
//#region node_modules/recharts/es6/component/Legend.js
-var Ywe = ["contextPayload"];
-function eG() {
- return eG = Object.assign ? Object.assign.bind() : function(e) {
+var Zwe = ["contextPayload"];
+function $W() {
+ return $W = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, eG.apply(null, arguments);
+ }, $W.apply(null, arguments);
}
-function tG(e, t) {
+function eG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56048,30 +56083,30 @@ function tG(e, t) {
}
return n;
}
-function nG(e) {
+function tG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? tG(Object(n), !0).forEach(function(t) {
- Xwe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : tG(Object(n)).forEach(function(t) {
+ t % 2 ? eG(Object(n), !0).forEach(function(t) {
+ Qwe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : eG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Xwe(e, t, n) {
- return (t = Zwe(t)) in e ? Object.defineProperty(e, t, {
+function Qwe(e, t, n) {
+ return (t = $we(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Zwe(e) {
- var t = Qwe(e, "string");
+function $we(e) {
+ var t = eTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Qwe(e, t) {
+function eTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56081,16 +56116,16 @@ function Qwe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $we(e, t) {
+function tTe(e, t) {
if (e == null) return {};
- var n, r, i = eTe(e, t);
+ var n, r, i = nTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function eTe(e, t) {
+function nTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56099,36 +56134,36 @@ function eTe(e, t) {
}
return n;
}
-function tTe(e) {
+function rTe(e) {
return e.value;
}
-function nTe(e) {
- var { contextPayload: t } = e, n = $we(e, Ywe), r = GB(t, e.payloadUniqBy, tTe), i = nG(nG({}, n), {}, { payload: r });
- return /*#__PURE__*/ R.isValidElement(e.content) ? /*#__PURE__*/ R.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ R.createElement(e.content, i) : /*#__PURE__*/ R.createElement(Oxe, i);
+function iTe(e) {
+ var { contextPayload: t } = e, n = tTe(e, Zwe), r = WB(t, e.payloadUniqBy, rTe), i = tG(tG({}, n), {}, { payload: r });
+ return /*#__PURE__*/ R.isValidElement(e.content) ? /*#__PURE__*/ R.cloneElement(e.content, i) : typeof e.content == "function" ? /*#__PURE__*/ R.createElement(e.content, i) : /*#__PURE__*/ R.createElement(Axe, i);
}
-function rTe(e, t, n, r, i, a) {
+function aTe(e, t, n, r, i, a) {
var { layout: o, align: s, verticalAlign: c } = t, l, u;
- return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), nG(nG({}, l), u);
+ return (!e || (e.left === void 0 || e.left === null) && (e.right === void 0 || e.right === null)) && (l = s === "center" && o === "vertical" ? { left: ((r || 0) - a.width) / 2 } : s === "right" ? { right: n && n.right || 0 } : { left: n && n.left || 0 }), (!e || (e.top === void 0 || e.top === null) && (e.bottom === void 0 || e.bottom === null)) && (u = c === "middle" ? { top: ((i || 0) - a.height) / 2 } : c === "bottom" ? { bottom: n && n.bottom || 0 } : { top: n && n.top || 0 }), tG(tG({}, l), u);
}
-function iTe(e) {
- var t = qB();
+function oTe(e) {
+ var t = KB();
return (0, R.useEffect)(() => {
- t(jwe(e));
+ t(Nwe(e));
}, [t, e]), null;
}
-function aTe(e) {
- var t = qB();
- return (0, R.useEffect)(() => (t(qW(e)), () => {
- t(qW({
+function sTe(e) {
+ var t = KB();
+ return (0, R.useEffect)(() => (t(KW(e)), () => {
+ t(KW({
width: 0,
height: 0
}));
}), [t, e]), null;
}
-function oTe(e, t, n, r) {
+function cTe(e, t, n, r) {
return e === "vertical" && t != null ? { height: t } : e === "horizontal" ? { width: n || r } : null;
}
-var sTe = {
+var lTe = {
align: "center",
iconSize: 14,
inactiveColor: "#ccc",
@@ -56136,28 +56171,28 @@ var sTe = {
layout: "horizontal",
verticalAlign: "bottom"
};
-function cTe(e) {
- var t = bB(e, sTe), n = RSe(), r = Sbe(), i = ywe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = iV([n]), d = QU(), f = $U();
+function uTe(e) {
+ var t = yB(e, lTe), n = BSe(), r = wbe(), i = xwe(), { width: a, height: o, wrapperStyle: s, portal: c } = t, [l, u] = rV([n]), d = ZU(), f = QU();
if (d == null || f == null) return null;
- var p = d - (i?.left || 0) - (i?.right || 0), m = oTe(t.layout, o, a, p), h = c ? s : nG(nG({
+ var p = d - (i?.left || 0) - (i?.right || 0), m = cTe(t.layout, o, a, p), h = c ? s : tG(tG({
position: "absolute",
width: m?.width || a || "auto",
height: m?.height || o || "auto"
- }, rTe(s, t, i, d, f, l)), s), g = c ?? r;
+ }, aTe(s, t, i, d, f, l)), s), g = c ?? r;
if (g == null || n == null) return null;
var _ = /*#__PURE__*/ R.createElement("div", {
className: "recharts-legend-wrapper",
style: h,
ref: u
- }, /*#__PURE__*/ R.createElement(iTe, {
+ }, /*#__PURE__*/ R.createElement(oTe, {
layout: t.layout,
align: t.align,
verticalAlign: t.verticalAlign,
itemSorter: t.itemSorter
- }), !c && /*#__PURE__*/ R.createElement(aTe, {
+ }), !c && /*#__PURE__*/ R.createElement(sTe, {
width: l.width,
height: l.height
- }), /*#__PURE__*/ R.createElement(nTe, eG({}, t, m, {
+ }), /*#__PURE__*/ R.createElement(iTe, $W({}, t, m, {
margin: i,
chartWidth: d,
chartHeight: f,
@@ -56165,20 +56200,20 @@ function cTe(e) {
})));
return /*#__PURE__*/ (0, rp.createPortal)(_, g);
}
-var rG = /*#__PURE__*/ R.memo(cTe, $W);
-rG.displayName = "Legend";
+var nG = /*#__PURE__*/ R.memo(uTe, QW);
+nG.displayName = "Legend";
//#endregion
//#region node_modules/recharts/es6/component/DefaultTooltipContent.js
-function iG() {
- return iG = Object.assign ? Object.assign.bind() : function(e) {
+function rG() {
+ return rG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, iG.apply(null, arguments);
+ }, rG.apply(null, arguments);
}
-function aG(e, t) {
+function iG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56188,30 +56223,30 @@ function aG(e, t) {
}
return n;
}
-function oG(e) {
+function aG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? aG(Object(n), !0).forEach(function(t) {
- lTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aG(Object(n)).forEach(function(t) {
+ t % 2 ? iG(Object(n), !0).forEach(function(t) {
+ dTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function lTe(e, t, n) {
- return (t = uTe(t)) in e ? Object.defineProperty(e, t, {
+function dTe(e, t, n) {
+ return (t = fTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function uTe(e) {
- var t = dTe(e, "string");
+function fTe(e) {
+ var t = pTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function dTe(e, t) {
+function pTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56221,10 +56256,10 @@ function dTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function fTe(e) {
- return Array.isArray(e) && tB(e[0]) && tB(e[1]) ? e.join(" ~ ") : e;
+function mTe(e) {
+ return Array.isArray(e) && eB(e[0]) && eB(e[1]) ? e.join(" ~ ") : e;
}
-var sG = {
+var oG = {
separator: " : ",
contentStyle: {
margin: 0,
@@ -56242,30 +56277,30 @@ var sG = {
labelStyle: {},
accessibilityLayer: !1
};
-function pTe(e, t) {
- return t == null ? e : tV(e, t);
+function hTe(e, t) {
+ return t == null ? e : eV(e, t);
}
-var mTe = (e) => {
- var { separator: t = sG.separator, contentStyle: n, itemStyle: r, labelStyle: i = sG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = sG.accessibilityLayer } = e, p = () => {
+var gTe = (e) => {
+ var { separator: t = oG.separator, contentStyle: n, itemStyle: r, labelStyle: i = oG.labelStyle, payload: a, formatter: o, itemSorter: s, wrapperClassName: c, labelClassName: l, label: u, labelFormatter: d, accessibilityLayer: f = oG.accessibilityLayer } = e, p = () => {
if (a && a.length) {
var e = {
padding: 0,
margin: 0
- }, n = pTe(a, s).map((e, n) => {
+ }, n = hTe(a, s).map((e, n) => {
if (e.type === "none") return null;
- var i = e.formatter || o || fTe, { value: s, name: c } = e, l = s, u = c;
+ var i = e.formatter || o || mTe, { value: s, name: c } = e, l = s, u = c;
if (i) {
var d = i(s, c, e, n, a);
if (Array.isArray(d)) [l, u] = d;
else if (d != null) l = d;
else return null;
}
- var f = oG(oG({}, sG.itemStyle), {}, { color: e.color || sG.itemStyle.color }, r);
+ var f = aG(aG({}, oG.itemStyle), {}, { color: e.color || oG.itemStyle.color }, r);
return /*#__PURE__*/ R.createElement("li", {
className: "recharts-tooltip-item",
key: `tooltip-item-${n}`,
style: f
- }, tB(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, tB(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
+ }, eB(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-name" }, u) : null, eB(u) ? /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-separator" }, t) : null, /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-value" }, l), /*#__PURE__*/ R.createElement("span", { className: "recharts-tooltip-item-unit" }, e.unit || ""));
});
return /*#__PURE__*/ R.createElement("ul", {
className: "recharts-tooltip-item-list",
@@ -56273,30 +56308,30 @@ var mTe = (e) => {
}, n);
}
return null;
- }, m = oG(oG({}, sG.contentStyle), n), h = oG({ margin: 0 }, i), g = !sB(u), _ = g ? u : "", v = Sh("recharts-default-tooltip", c), y = Sh("recharts-tooltip-label", l);
+ }, m = aG(aG({}, oG.contentStyle), n), h = aG({ margin: 0 }, i), g = !oB(u), _ = g ? u : "", v = Sh("recharts-default-tooltip", c), y = Sh("recharts-tooltip-label", l);
g && d && a != null && (_ = d(u, a));
var b = f ? {
role: "status",
"aria-live": "assertive"
} : {};
- return /*#__PURE__*/ R.createElement("div", iG({
+ return /*#__PURE__*/ R.createElement("div", rG({
className: v,
style: m
}, b), /*#__PURE__*/ R.createElement("p", {
className: y,
style: h
}, /*#__PURE__*/ R.isValidElement(_) ? _ : `${_}`), p());
-}, cG = "recharts-tooltip-wrapper", hTe = { visibility: "hidden" };
-function gTe(e) {
+}, sG = "recharts-tooltip-wrapper", _Te = { visibility: "hidden" };
+function vTe(e) {
var { coordinate: t, translateX: n, translateY: r } = e;
- return Sh(cG, {
- [`${cG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
- [`${cG}-left`]: Z(n) && t && Z(t.x) && n < t.x,
- [`${cG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
- [`${cG}-top`]: Z(r) && t && Z(t.y) && r < t.y
+ return Sh(sG, {
+ [`${sG}-right`]: Z(n) && t && Z(t.x) && n >= t.x,
+ [`${sG}-left`]: Z(n) && t && Z(t.x) && n < t.x,
+ [`${sG}-bottom`]: Z(r) && t && Z(t.y) && r >= t.y,
+ [`${sG}-top`]: Z(r) && t && Z(t.y) && r < t.y
});
}
-function lG(e) {
+function cG(e) {
var { allowEscapeViewBox: t, coordinate: n, key: r, offset: i, position: a, reverseDirection: o, tooltipDimension: s, viewBox: c, viewBoxDimension: l } = e;
if (a && Z(a[r])) return a[r];
var u = n[r] - s - (i > 0 ? i : 0), d = n[r] + i;
@@ -56304,13 +56339,13 @@ function lG(e) {
var f = c[r];
return f == null ? 0 : o[r] ? Math.max(u < f ? d : u, f) : l == null ? 0 : d + s > f + l ? Math.max(u, f) : Math.max(d, f);
}
-function _Te(e) {
+function yTe(e) {
var { translateX: t, translateY: n, useTranslate3d: r } = e;
return { transform: r ? `translate3d(${t}px, ${n}px, 0)` : `translate(${t}px, ${n}px)` };
}
-function vTe(e) {
+function bTe(e) {
var { allowEscapeViewBox: t, coordinate: n, offsetTop: r, offsetLeft: i, position: a, reverseDirection: o, tooltipBox: s, useTranslate3d: c, viewBox: l } = e, u, d, f;
- return s.height > 0 && s.width > 0 && n ? (d = lG({
+ return s.height > 0 && s.width > 0 && n ? (d = cG({
allowEscapeViewBox: t,
coordinate: n,
key: "x",
@@ -56320,7 +56355,7 @@ function vTe(e) {
tooltipDimension: s.width,
viewBox: l,
viewBoxDimension: l.width
- }), f = lG({
+ }), f = cG({
allowEscapeViewBox: t,
coordinate: n,
key: "y",
@@ -56330,27 +56365,27 @@ function vTe(e) {
tooltipDimension: s.height,
viewBox: l,
viewBoxDimension: l.height
- }), u = _Te({
+ }), u = yTe({
translateX: d,
translateY: f,
useTranslate3d: c
- })) : u = hTe, {
+ })) : u = _Te, {
cssProperties: u,
- cssClasses: gTe({
+ cssClasses: vTe({
translateX: d,
translateY: f,
coordinate: n
})
};
}
-var uG = {
+var lG = {
devToolsEnabled: !0,
isSsr: !(typeof window < "u" && window.document && window.document.createElement && window.setTimeout)
};
//#endregion
//#region node_modules/recharts/es6/util/usePrefersReducedMotion.js
-function dG() {
- var [e, t] = (0, R.useState)(() => uG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
+function uG() {
+ var [e, t] = (0, R.useState)(() => lG.isSsr || !window.matchMedia ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
return (0, R.useEffect)(() => {
if (window.matchMedia) {
var e = window.matchMedia("(prefers-reduced-motion: reduce)"), n = () => {
@@ -56364,7 +56399,7 @@ function dG() {
}
//#endregion
//#region node_modules/recharts/es6/component/TooltipBoundingBox.js
-function fG(e, t) {
+function dG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56374,30 +56409,30 @@ function fG(e, t) {
}
return n;
}
-function pG(e) {
+function fG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? fG(Object(n), !0).forEach(function(t) {
- yTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fG(Object(n)).forEach(function(t) {
+ t % 2 ? dG(Object(n), !0).forEach(function(t) {
+ xTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function yTe(e, t, n) {
- return (t = bTe(t)) in e ? Object.defineProperty(e, t, {
+function xTe(e, t, n) {
+ return (t = STe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function bTe(e) {
- var t = xTe(e, "string");
+function STe(e) {
+ var t = CTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function xTe(e, t) {
+function CTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56407,11 +56442,11 @@ function xTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function STe(e) {
+function wTe(e) {
if (!(e.prefersReducedMotion && e.isAnimationActive === "auto") && e.isAnimationActive && e.active) return `transform ${e.animationDuration}ms ${e.animationEasing}`;
}
-function CTe(e) {
- var t = dG(), [n, r] = R.useState(() => ({
+function TTe(e) {
+ var t = uG(), [n, r] = R.useState(() => ({
dismissed: !1,
dismissedAtCoordinate: {
x: 0,
@@ -56431,8 +56466,8 @@ function CTe(e) {
return document.addEventListener("keydown", t), () => {
document.removeEventListener("keydown", t);
};
- }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(pG(pG({}, n), {}, { dismissed: !1 }));
- var { cssClasses: i, cssProperties: a } = vTe({
+ }, [e.coordinate?.x, e.coordinate?.y]), n.dismissed && ((e.coordinate?.x ?? 0) !== n.dismissedAtCoordinate.x || (e.coordinate?.y ?? 0) !== n.dismissedAtCoordinate.y) && r(fG(fG({}, n), {}, { dismissed: !1 }));
+ var { cssClasses: i, cssProperties: a } = bTe({
allowEscapeViewBox: e.allowEscapeViewBox,
coordinate: e.coordinate,
offsetLeft: typeof e.offset == "number" ? e.offset : e.offset.x,
@@ -56445,7 +56480,7 @@ function CTe(e) {
},
useTranslate3d: e.useTranslate3d,
viewBox: e.viewBox
- }), o = pG(pG({}, e.hasPortalFromProps ? {} : pG(pG({ transition: STe({
+ }), o = fG(fG({}, e.hasPortalFromProps ? {} : fG(fG({ transition: wTe({
prefersReducedMotion: t,
isAnimationActive: e.isAnimationActive,
active: e.active,
@@ -56465,19 +56500,19 @@ function CTe(e) {
ref: e.innerRef
}, e.children);
}
-var wTe = /*#__PURE__*/ R.memo(CTe), mG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
+var ETe = /*#__PURE__*/ R.memo(TTe), pG = () => Q((e) => e.rootProps.accessibilityLayer) ?? !0;
//#endregion
//#region node_modules/recharts/es6/shape/Curve.js
-function hG() {
- return hG = Object.assign ? Object.assign.bind() : function(e) {
+function mG() {
+ return mG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, hG.apply(null, arguments);
+ }, mG.apply(null, arguments);
}
-function gG(e, t) {
+function hG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56487,30 +56522,30 @@ function gG(e, t) {
}
return n;
}
-function _G(e) {
+function gG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? gG(Object(n), !0).forEach(function(t) {
- TTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : gG(Object(n)).forEach(function(t) {
+ t % 2 ? hG(Object(n), !0).forEach(function(t) {
+ DTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : hG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TTe(e, t, n) {
- return (t = ETe(t)) in e ? Object.defineProperty(e, t, {
+function DTe(e, t, n) {
+ return (t = OTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ETe(e) {
- var t = DTe(e, "string");
+function OTe(e) {
+ var t = kTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DTe(e, t) {
+function kTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56520,40 +56555,40 @@ function DTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var vG = {
- curveBasisClosed: Bbe,
- curveBasisOpen: Vbe,
- curveBasis: zbe,
- curveBumpX: Tbe,
- curveBumpY: Ebe,
- curveLinearClosed: Hbe,
- curveLinear: fz,
- curveMonotoneX: Ube,
- curveMonotoneY: Wbe,
- curveNatural: Gbe,
- curveStep: Kbe,
- curveStepAfter: Jbe,
- curveStepBefore: qbe
-}, yG = (e) => lU(e.x) && lU(e.y), bG = (e) => e.base != null && yG(e.base) && yG(e), xG = (e) => e.x, SG = (e) => e.y, OTe = (e, t) => {
+var _G = {
+ curveBasisClosed: Hbe,
+ curveBasisOpen: Ube,
+ curveBasis: Vbe,
+ curveBumpX: Dbe,
+ curveBumpY: Obe,
+ curveLinearClosed: Wbe,
+ curveLinear: dz,
+ curveMonotoneX: Gbe,
+ curveMonotoneY: Kbe,
+ curveNatural: qbe,
+ curveStep: Jbe,
+ curveStepAfter: Xbe,
+ curveStepBefore: Ybe
+}, vG = (e) => cU(e.x) && cU(e.y), yG = (e) => e.base != null && vG(e.base) && vG(e), bG = (e) => e.x, xG = (e) => e.y, ATe = (e, t) => {
if (typeof e == "function") return e;
- var n = `curve${cB(e)}`;
+ var n = `curve${sB(e)}`;
if ((n === "curveMonotone" || n === "curveBump") && t) {
- var r = vG[`${n}${t === "vertical" ? "Y" : "X"}`];
+ var r = _G[`${n}${t === "vertical" ? "Y" : "X"}`];
if (r) return r;
}
- return vG[n] || fz;
-}, CG = {
+ return _G[n] || dz;
+}, SG = {
connectNulls: !1,
type: "linear"
-}, kTe = (e) => {
- var { type: t = CG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = CG.connectNulls } = e, o = OTe(t, i), s = a ? n.filter(yG) : n;
+}, jTe = (e) => {
+ var { type: t = SG.type, points: n = [], baseLine: r, layout: i, connectNulls: a = SG.connectNulls } = e, o = ATe(t, i), s = a ? n.filter(vG) : n;
if (Array.isArray(r)) {
- var c, l = n.map((e, t) => _G(_G({}, e), {}, { base: r[t] }));
- return c = i === "vertical" ? gz().y(SG).x1(xG).x0((e) => e.base.x) : gz().x(xG).y1(SG).y0((e) => e.base.y), c.defined(bG).curve(o)(a ? l.filter(bG) : l);
+ var c, l = n.map((e, t) => gG(gG({}, e), {}, { base: r[t] }));
+ return c = i === "vertical" ? hz().y(xG).x1(bG).x0((e) => e.base.x) : hz().x(bG).y1(xG).y0((e) => e.base.y), c.defined(yG).curve(o)(a ? l.filter(yG) : l);
}
- return (i === "vertical" && Z(r) ? gz().y(SG).x1(xG).x0(r) : Z(r) ? gz().x(xG).y1(SG).y0(r) : hz().x(xG).y(SG)).defined(yG).curve(o)(s);
-}, wG = (e) => {
- var { className: t, points: n, path: r, pathRef: i } = e, a = tW();
+ return (i === "vertical" && Z(r) ? hz().y(xG).x1(bG).x0(r) : Z(r) ? hz().x(bG).y1(xG).y0(r) : mz().x(bG).y(xG)).defined(vG).curve(o)(s);
+}, CG = (e) => {
+ var { className: t, points: n, path: r, pathRef: i } = e, a = eW();
if ((!n || !n.length) && !r) return null;
var o = {
type: e.type,
@@ -56561,13 +56596,13 @@ var vG = {
baseLine: e.baseLine,
layout: e.layout || a,
connectNulls: e.connectNulls
- }, s = n && n.length ? kTe(o) : r;
- return /*#__PURE__*/ R.createElement("path", hG({}, WR(e), _B(e), {
+ }, s = n && n.length ? jTe(o) : r;
+ return /*#__PURE__*/ R.createElement("path", mG({}, UR(e), gB(e), {
className: Sh("recharts-curve", t),
d: s === null ? void 0 : s,
ref: i
}));
-}, ATe = [
+}, MTe = [
"x",
"y",
"top",
@@ -56576,16 +56611,16 @@ var vG = {
"height",
"className"
];
-function TG() {
- return TG = Object.assign ? Object.assign.bind() : function(e) {
+function wG() {
+ return wG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, TG.apply(null, arguments);
+ }, wG.apply(null, arguments);
}
-function EG(e, t) {
+function TG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56595,30 +56630,30 @@ function EG(e, t) {
}
return n;
}
-function jTe(e) {
+function NTe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? EG(Object(n), !0).forEach(function(t) {
- MTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EG(Object(n)).forEach(function(t) {
+ t % 2 ? TG(Object(n), !0).forEach(function(t) {
+ PTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function MTe(e, t, n) {
- return (t = NTe(t)) in e ? Object.defineProperty(e, t, {
+function PTe(e, t, n) {
+ return (t = FTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function NTe(e) {
- var t = PTe(e, "string");
+function FTe(e) {
+ var t = ITe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function PTe(e, t) {
+function ITe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56628,16 +56663,16 @@ function PTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function FTe(e, t) {
+function LTe(e, t) {
if (e == null) return {};
- var n, r, i = ITe(e, t);
+ var n, r, i = RTe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function ITe(e, t) {
+function RTe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -56646,8 +56681,8 @@ function ITe(e, t) {
}
return n;
}
-var LTe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, RTe = (e) => {
- var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = FTe(e, ATe), l = jTe({
+var zTe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, BTe = (e) => {
+ var { x: t = 0, y: n = 0, top: r = 0, left: i = 0, width: a = 0, height: o = 0, className: s } = e, c = LTe(e, MTe), l = NTe({
x: t,
y: n,
top: r,
@@ -56655,14 +56690,14 @@ var LTe = (e, t, n, r, i, a) => `M${e},${i}v${r}M${a},${t}h${n}`, RTe = (e) => {
width: a,
height: o
}, c);
- return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ R.createElement("path", TG({}, KR(l), {
+ return !Z(t) || !Z(n) || !Z(a) || !Z(o) || !Z(r) || !Z(i) ? null : /*#__PURE__*/ R.createElement("path", wG({}, GR(l), {
className: Sh("recharts-cross", s),
- d: LTe(t, n, a, o, r, i)
+ d: zTe(t, n, a, o, r, i)
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorRectangle.js
-function zTe(e, t, n, r) {
+function VTe(e, t, n, r) {
var i = r / 2;
return {
stroke: "none",
@@ -56675,7 +56710,7 @@ function zTe(e, t, n, r) {
}
//#endregion
//#region node_modules/recharts/es6/animation/util.js
-function DG(e, t) {
+function EG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56685,30 +56720,30 @@ function DG(e, t) {
}
return n;
}
-function OG(e) {
+function DG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? DG(Object(n), !0).forEach(function(t) {
- BTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : DG(Object(n)).forEach(function(t) {
+ t % 2 ? EG(Object(n), !0).forEach(function(t) {
+ HTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : EG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function BTe(e, t, n) {
- return (t = VTe(t)) in e ? Object.defineProperty(e, t, {
+function HTe(e, t, n) {
+ return (t = UTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function VTe(e) {
- var t = HTe(e, "string");
+function UTe(e) {
+ var t = WTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function HTe(e, t) {
+function WTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56718,10 +56753,10 @@ function HTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var UTe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), kG = (e, t, n) => e.map((e) => `${UTe(e)} ${t}ms ${n}`).join(","), WTe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), AG = (e, t) => Object.keys(t).reduce((n, r) => OG(OG({}, n), {}, { [r]: e(r, t[r]) }), {});
+var GTe = (e) => e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`), OG = (e, t, n) => e.map((e) => `${GTe(e)} ${t}ms ${n}`).join(","), KTe = (e, t) => [Object.keys(e), Object.keys(t)].reduce((e, t) => e.filter((e) => t.includes(e))), kG = (e, t) => Object.keys(t).reduce((n, r) => DG(DG({}, n), {}, { [r]: e(r, t[r]) }), {});
//#endregion
//#region node_modules/recharts/es6/animation/configUpdate.js
-function jG(e, t) {
+function AG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -56731,30 +56766,30 @@ function jG(e, t) {
}
return n;
}
-function MG(e) {
+function jG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? jG(Object(n), !0).forEach(function(t) {
- GTe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : jG(Object(n)).forEach(function(t) {
+ t % 2 ? AG(Object(n), !0).forEach(function(t) {
+ qTe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : AG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function GTe(e, t, n) {
- return (t = KTe(t)) in e ? Object.defineProperty(e, t, {
+function qTe(e, t, n) {
+ return (t = JTe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KTe(e) {
- var t = qTe(e, "string");
+function JTe(e) {
+ var t = YTe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qTe(e, t) {
+function YTe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -56764,51 +56799,51 @@ function qTe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var NG = (e, t, n) => e + (t - e) * n, PG = (e) => {
+var MG = (e, t, n) => e + (t - e) * n, NG = (e) => {
var { from: t, to: n } = e;
return t !== n;
-}, FG = (e, t, n) => {
- var r = AG((t, n) => {
- if (PG(n)) {
+}, PG = (e, t, n) => {
+ var r = kG((t, n) => {
+ if (NG(n)) {
var [r, i] = e(n.from, n.to, n.velocity);
- return MG(MG({}, n), {}, {
+ return jG(jG({}, n), {}, {
from: r,
velocity: i
});
}
return n;
}, t);
- return n < 1 ? AG((e, t) => PG(t) && r[e] != null ? MG(MG({}, t), {}, {
- velocity: NG(t.velocity, r[e].velocity, n),
- from: NG(t.from, r[e].from, n)
- }) : t, t) : FG(e, r, n - 1);
+ return n < 1 ? kG((e, t) => NG(t) && r[e] != null ? jG(jG({}, t), {}, {
+ velocity: MG(t.velocity, r[e].velocity, n),
+ from: MG(t.from, r[e].from, n)
+ }) : t, t) : PG(e, r, n - 1);
};
-function JTe(e, t, n, r, i, a) {
- var o, s = r.reduce((n, r) => MG(MG({}, n), {}, { [r]: {
+function XTe(e, t, n, r, i, a) {
+ var o, s = r.reduce((n, r) => jG(jG({}, n), {}, { [r]: {
from: e[r],
velocity: 0,
to: t[r]
- } }), {}), c = () => AG((e, t) => t.from, s), l = () => !Object.values(s).filter(PG).length, u = null, d = (r) => {
+ } }), {}), c = () => kG((e, t) => t.from, s), l = () => !Object.values(s).filter(NG).length, u = null, d = (r) => {
o ||= r;
var f = (r - o) / n.dt;
- s = FG(n, s, f), i(MG(MG(MG({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
+ s = PG(n, s, f), i(jG(jG(jG({}, e), t), c())), o = r, l() || (u = a.setTimeout(d));
};
return () => (u = a.setTimeout(d), () => {
var e;
(e = u) == null || e();
});
}
-function YTe(e, t, n, r, i, a, o) {
+function ZTe(e, t, n, r, i, a, o) {
var s = null, c = i.reduce((n, r) => {
var i = e[r], a = t[r];
- return i == null || a == null ? n : MG(MG({}, n), {}, { [r]: [i, a] });
+ return i == null || a == null ? n : jG(jG({}, n), {}, { [r]: [i, a] });
}, {}), l, u = (i) => {
l ||= i;
- var d = (i - l) / r, f = AG((e, t) => NG(...t, n(d)), c);
- if (a(MG(MG(MG({}, e), t), f)), d < 1) s = o.setTimeout(u);
+ var d = (i - l) / r, f = kG((e, t) => MG(...t, n(d)), c);
+ if (a(jG(jG(jG({}, e), t), f)), d < 1) s = o.setTimeout(u);
else {
- var p = AG((e, t) => NG(...t, n(1)), c);
- a(MG(MG(MG({}, e), t), p));
+ var p = kG((e, t) => MG(...t, n(1)), c);
+ a(jG(jG(jG({}, e), t), p));
}
};
return () => (s = o.setTimeout(u), () => {
@@ -56816,15 +56851,15 @@ function YTe(e, t, n, r, i, a, o) {
(e = s) == null || e();
});
}
-var XTe = (e, t, n, r, i, a) => {
- var o = WTe(e, t);
- return n == null ? () => (i(MG(MG({}, e), t)), () => {}) : n.isStepper === !0 ? JTe(e, t, n, o, i, a) : YTe(e, t, n, r, o, i, a);
-}, IG = (e, t) => [
+var QTe = (e, t, n, r, i, a) => {
+ var o = KTe(e, t);
+ return n == null ? () => (i(jG(jG({}, e), t)), () => {}) : n.isStepper === !0 ? XTe(e, t, n, o, i, a) : ZTe(e, t, n, r, o, i, a);
+}, FG = (e, t) => [
0,
3 * e,
3 * t - 6 * e,
3 * e - 3 * t + 1
-], LG = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), RG = (e, t) => (n) => LG(IG(e, t), n), ZTe = (e, t) => (n) => LG([...IG(e, t).map((e, t) => e * t).slice(1), 0], n), QTe = (e) => {
+], IG = (e, t) => e.map((e, n) => e * t ** n).reduce((e, t) => e + t), LG = (e, t) => (n) => IG(FG(e, t), n), $Te = (e, t) => (n) => IG([...FG(e, t).map((e, t) => e * t).slice(1), 0], n), eEe = (e) => {
var t, n = e.split("(");
if (n.length !== 2 || n[0] !== "cubic-bezier") return null;
var r = (t = n[1]) == null || (t = t.split(")")[0]) == null ? void 0 : t.split(",");
@@ -56836,7 +56871,7 @@ var XTe = (e, t, n, r, i, a) => {
i[2],
i[3]
];
-}, $Te = function() {
+}, tEe = function() {
var e = [...arguments];
if (e.length === 1) switch (e[0]) {
case "linear": return [
@@ -56870,7 +56905,7 @@ var XTe = (e, t, n, r, i, a) => {
1
];
default:
- var t = QTe(e[0]);
+ var t = eEe(e[0]);
if (t) return t;
}
return e.length === 4 ? e : [
@@ -56879,8 +56914,8 @@ var XTe = (e, t, n, r, i, a) => {
1,
1
];
-}, eEe = (e, t, n, r) => {
- var i = RG(e, n), a = RG(t, r), o = ZTe(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
+}, nEe = (e, t, n, r) => {
+ var i = LG(e, n), a = LG(t, r), o = $Te(e, n), s = (e) => e > 1 ? 1 : e < 0 ? 0 : e, c = (e) => {
for (var t = e > 1 ? 1 : e, n = t, r = 0; r < 8; ++r) {
var c = i(n) - t, l = o(n);
if (Math.abs(c - t) < 1e-4 || l < 1e-4) return a(n);
@@ -56889,29 +56924,29 @@ var XTe = (e, t, n, r, i, a) => {
return a(n);
};
return c.isStepper = !1, c;
-}, zG = function() {
- return eEe(...$Te(...arguments));
-}, tEe = function() {
+}, RG = function() {
+ return nEe(...tEe(...arguments));
+}, rEe = function() {
var { stiff: e = 100, damping: t = 8, dt: n = 17 } = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = (r, i, a) => {
var o = a + (-(r - i) * e - a * t) * n / 1e3, s = a * n / 1e3 + r;
return Math.abs(s - i) < 1e-4 && Math.abs(o) < 1e-4 ? [i, 0] : [s, o];
};
return r.isStepper = !0, r.dt = n, r;
-}, nEe = (e) => {
+}, iEe = (e) => {
if (typeof e == "string") switch (e) {
case "ease":
case "ease-in-out":
case "ease-out":
case "ease-in":
- case "linear": return zG(e);
- case "spring": return tEe();
- default: if (e.split("(")[0] === "cubic-bezier") return zG(e);
+ case "linear": return RG(e);
+ case "spring": return rEe();
+ default: if (e.split("(")[0] === "cubic-bezier") return RG(e);
}
return typeof e == "function" ? e : null;
};
//#endregion
//#region node_modules/recharts/es6/animation/AnimationManager.js
-function rEe(e) {
+function aEe(e) {
var t, n = () => null, r = !1, i = null, a = (o) => {
if (!r) {
if (Array.isArray(o)) {
@@ -56942,7 +56977,7 @@ function rEe(e) {
}
//#endregion
//#region node_modules/recharts/es6/animation/timeoutController.js
-var iEe = class {
+var oEe = class {
setTimeout(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0, n = performance.now(), r = null, i = (a) => {
a - n >= t ? e(a) : typeof requestAnimationFrame == "function" && (r = requestAnimationFrame(i));
@@ -56954,14 +56989,14 @@ var iEe = class {
};
//#endregion
//#region node_modules/recharts/es6/animation/createDefaultAnimationManager.js
-function aEe() {
- return rEe(new iEe());
+function sEe() {
+ return aEe(new oEe());
}
//#endregion
//#region node_modules/recharts/es6/animation/useAnimationManager.js
-var oEe = /*#__PURE__*/ (0, R.createContext)(aEe);
-function sEe(e, t) {
- var n = (0, R.useContext)(oEe);
+var cEe = /*#__PURE__*/ (0, R.createContext)(sEe);
+function lEe(e, t) {
+ var n = (0, R.useContext)(cEe);
return (0, R.useMemo)(() => t ?? n(e), [
e,
t,
@@ -56970,7 +57005,7 @@ function sEe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/animation/JavascriptAnimate.js
-var cEe = {
+var uEe = {
begin: 0,
duration: 1e3,
easing: "ease",
@@ -56978,14 +57013,14 @@ var cEe = {
canBegin: !0,
onAnimationEnd: () => {},
onAnimationStart: () => {}
-}, BG = { t: 0 }, VG = { t: 1 };
-function HG(e) {
- var t = bB(e, cEe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = dG(), d = n === "auto" ? !uG.isSsr && !u : n, f = sEe(t.animationId, t.animationManager), [p, m] = (0, R.useState)(d ? BG : VG), h = (0, R.useRef)(null);
+}, zG = { t: 0 }, BG = { t: 1 };
+function VG(e) {
+ var t = yB(e, uEe), { isActive: n, canBegin: r, duration: i, easing: a, begin: o, onAnimationEnd: s, onAnimationStart: c, children: l } = t, u = uG(), d = n === "auto" ? !lG.isSsr && !u : n, f = lEe(t.animationId, t.animationManager), [p, m] = (0, R.useState)(d ? zG : BG), h = (0, R.useRef)(null);
return (0, R.useEffect)(() => {
- d || m(VG);
+ d || m(BG);
}, [d]), (0, R.useEffect)(() => {
- if (!d || !r) return uB;
- var e = XTe(BG, VG, nEe(a), i, m, f.getTimeoutController());
+ if (!d || !r) return lB;
+ var e = QTe(zG, BG, iEe(a), i, m, f.getTimeoutController());
return f.start([
c,
o,
@@ -57010,14 +57045,14 @@ function HG(e) {
}
//#endregion
//#region node_modules/recharts/es6/util/useAnimationId.js
-function UG(e) {
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, R.useRef)(nB(t)), r = (0, R.useRef)(e);
- return r.current !== e && (n.current = nB(t), r.current = e), n.current;
+function HG(e) {
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "animation-", n = (0, R.useRef)(tB(t)), r = (0, R.useRef)(e);
+ return r.current !== e && (n.current = tB(t), r.current = e), n.current;
}
//#endregion
//#region node_modules/recharts/es6/shape/Rectangle.js
-var lEe = ["radius"], uEe = ["radius"], dEe, fEe, pEe, mEe, hEe, gEe, _Ee, vEe, yEe, bEe;
-function WG(e, t) {
+var dEe = ["radius"], fEe = ["radius"], pEe, mEe, hEe, gEe, _Ee, vEe, yEe, bEe, xEe, SEe;
+function UG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57027,30 +57062,30 @@ function WG(e, t) {
}
return n;
}
-function GG(e) {
+function WG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? WG(Object(n), !0).forEach(function(t) {
- xEe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : WG(Object(n)).forEach(function(t) {
+ t % 2 ? UG(Object(n), !0).forEach(function(t) {
+ CEe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : UG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function xEe(e, t, n) {
- return (t = SEe(t)) in e ? Object.defineProperty(e, t, {
+function CEe(e, t, n) {
+ return (t = wEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function SEe(e) {
- var t = CEe(e, "string");
+function wEe(e) {
+ var t = TEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function CEe(e, t) {
+function TEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57060,25 +57095,25 @@ function CEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function KG() {
- return KG = Object.assign ? Object.assign.bind() : function(e) {
+function GG() {
+ return GG = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, KG.apply(null, arguments);
+ }, GG.apply(null, arguments);
}
-function qG(e, t) {
+function KG(e, t) {
if (e == null) return {};
- var n, r, i = wEe(e, t);
+ var n, r, i = EEe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function wEe(e, t) {
+function EEe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -57087,11 +57122,11 @@ function wEe(e, t) {
}
return n;
}
-function JG(e, t) {
+function qG(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var YG = (e, t, n, r, i) => {
- var a = Xz(n), o = Xz(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
+var JG = (e, t, n, r, i) => {
+ var a = Yz(n), o = Yz(r), s = Math.min(Math.abs(a) / 2, Math.abs(o) / 2), c = o >= 0 ? 1 : -1, l = a >= 0 ? 1 : -1, u = +(o >= 0 && a >= 0 || o < 0 && a < 0), d;
if (s > 0 && Array.isArray(i)) {
for (var f = [
0,
@@ -57102,44 +57137,44 @@ var YG = (e, t, n, r, i) => {
var h = i[p] ?? 0;
f[p] = h > s ? s : h;
}
- d = Zz(dEe ||= JG([
+ d = Xz(pEe ||= qG([
"M",
",",
""
- ]), e, t + c * f[0]), f[0] > 0 && (d += Zz(fEe ||= JG([
+ ]), e, t + c * f[0]), f[0] > 0 && (d += Xz(mEe ||= qG([
"A ",
",",
",0,0,",
",",
",",
""
- ]), f[0], f[0], u, e + l * f[0], t)), d += Zz(pEe ||= JG([
+ ]), f[0], f[0], u, e + l * f[0], t)), d += Xz(hEe ||= qG([
"L ",
",",
""
- ]), e + n - l * f[1], t), f[1] > 0 && (d += Zz(mEe ||= JG([
+ ]), e + n - l * f[1], t), f[1] > 0 && (d += Xz(gEe ||= qG([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[1], f[1], u, e + n, t + c * f[1])), d += Zz(hEe ||= JG([
+ ]), f[1], f[1], u, e + n, t + c * f[1])), d += Xz(_Ee ||= qG([
"L ",
",",
""
- ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += Zz(gEe ||= JG([
+ ]), e + n, t + r - c * f[2]), f[2] > 0 && (d += Xz(vEe ||= qG([
"A ",
",",
",0,0,",
",\n ",
",",
""
- ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += Zz(_Ee ||= JG([
+ ]), f[2], f[2], u, e + n - l * f[2], t + r)), d += Xz(yEe ||= qG([
"L ",
",",
""
- ]), e + l * f[3], t + r), f[3] > 0 && (d += Zz(vEe ||= JG([
+ ]), e + l * f[3], t + r), f[3] > 0 && (d += Xz(bEe ||= qG([
"A ",
",",
",0,0,",
@@ -57149,8 +57184,8 @@ var YG = (e, t, n, r, i) => {
]), f[3], f[3], u, e, t + r - c * f[3])), d += "Z";
} else if (s > 0 && i === +i && i > 0) {
var g = Math.min(s, i);
- d = Zz(yEe ||= JG(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
- } else d = Zz(bEe ||= JG([
+ d = Xz(xEe ||= qG(/* @__PURE__ */ "M .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,.\n L .,.\n A .,.,0,0,.,.,. Z".split(".")), e, t + c * g, g, g, u, e + l * g, t, e + n - l * g, t, g, g, u, e + n, t + c * g, e + n, t + r - c * g, g, g, u, e + n - l * g, t + r, e + l * g, t + r, g, g, u, e, t + r - c * g);
+ } else d = Xz(SEe ||= qG([
"M ",
",",
" h ",
@@ -57159,7 +57194,7 @@ var YG = (e, t, n, r, i) => {
" Z"
]), e, t, n, r, -n);
return d;
-}, XG = {
+}, YG = {
x: 0,
y: 0,
width: 0,
@@ -57170,15 +57205,15 @@ var YG = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, ZG = (e) => {
- var t = bB(e, XG), n = (0, R.useRef)(null), [r, i] = (0, R.useState)(-1);
+}, XG = (e) => {
+ var t = yB(e, YG), n = (0, R.useRef)(null), [r, i] = (0, R.useState)(-1);
(0, R.useEffect)(() => {
if (n.current && n.current.getTotalLength) try {
var e = n.current.getTotalLength();
e && i(e);
} catch {}
}, []);
- var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, R.useRef)(s), _ = (0, R.useRef)(c), v = (0, R.useRef)(a), y = (0, R.useRef)(o), b = UG((0, R.useMemo)(() => ({
+ var { x: a, y: o, width: s, height: c, radius: l, className: u } = t, { animationEasing: d, animationDuration: f, animationBegin: p, isAnimationActive: m, isUpdateAnimationActive: h } = t, g = (0, R.useRef)(s), _ = (0, R.useRef)(c), v = (0, R.useRef)(a), y = (0, R.useRef)(o), b = HG((0, R.useMemo)(() => ({
x: a,
y: o,
width: s,
@@ -57194,19 +57229,19 @@ var YG = (e, t, n, r, i) => {
if (a !== +a || o !== +o || s !== +s || c !== +c || s === 0 || c === 0) return null;
var x = Sh("recharts-rectangle", u);
if (!h) {
- var S = KR(t), { radius: C } = S, w = qG(S, lEe);
- return /*#__PURE__*/ R.createElement("path", KG({}, w, {
- x: Xz(a),
- y: Xz(o),
- width: Xz(s),
- height: Xz(c),
+ var S = GR(t), { radius: C } = S, w = KG(S, dEe);
+ return /*#__PURE__*/ R.createElement("path", GG({}, w, {
+ x: Yz(a),
+ y: Yz(o),
+ width: Yz(s),
+ height: Yz(c),
radius: typeof l == "number" ? l : void 0,
className: x,
- d: YG(a, o, s, c, l)
+ d: JG(a, o, s, c, l)
}));
}
- var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = kG(["strokeDasharray"], f, typeof d == "string" ? d : XG.animationEasing);
- return /*#__PURE__*/ R.createElement(HG, {
+ var T = g.current, E = _.current, D = v.current, O = y.current, k = `0px ${r === -1 ? 1 : r}px`, A = `${r}px ${r}px`, j = OG(["strokeDasharray"], f, typeof d == "string" ? d : YG.animationEasing);
+ return /*#__PURE__*/ R.createElement(VG, {
animationId: b,
key: b,
canBegin: r > 0,
@@ -57215,24 +57250,24 @@ var YG = (e, t, n, r, i) => {
isActive: h,
begin: p
}, (e) => {
- var r = aB(T, s, e), i = aB(E, c, e), u = aB(D, a, e), d = aB(O, o, e);
+ var r = iB(T, s, e), i = iB(E, c, e), u = iB(D, a, e), d = iB(O, o, e);
n.current && (g.current = r, _.current = i, v.current = u, y.current = d);
var f = m ? e > 0 ? {
transition: j,
strokeDasharray: A
- } : { strokeDasharray: k } : { strokeDasharray: A }, p = KR(t), { radius: h } = p, b = qG(p, uEe);
- return /*#__PURE__*/ R.createElement("path", KG({}, b, {
+ } : { strokeDasharray: k } : { strokeDasharray: A }, p = GR(t), { radius: h } = p, b = KG(p, fEe);
+ return /*#__PURE__*/ R.createElement("path", GG({}, b, {
radius: typeof l == "number" ? l : void 0,
className: x,
- d: YG(u, d, r, i, l),
+ d: JG(u, d, r, i, l),
ref: n,
- style: GG(GG({}, f), t.style)
+ style: WG(WG({}, f), t.style)
}));
});
};
//#endregion
//#region node_modules/recharts/es6/util/PolarUtils.js
-function QG(e, t) {
+function ZG(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -57242,30 +57277,30 @@ function QG(e, t) {
}
return n;
}
-function $G(e) {
+function QG(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? QG(Object(n), !0).forEach(function(t) {
- TEe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : QG(Object(n)).forEach(function(t) {
+ t % 2 ? ZG(Object(n), !0).forEach(function(t) {
+ DEe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ZG(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function TEe(e, t, n) {
- return (t = EEe(t)) in e ? Object.defineProperty(e, t, {
+function DEe(e, t, n) {
+ return (t = OEe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function EEe(e) {
- var t = DEe(e, "string");
+function OEe(e) {
+ var t = kEe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function DEe(e, t) {
+function kEe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -57275,10 +57310,10 @@ function DEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var eK = Math.PI / 180, tK = (e) => e * Math.PI / 180, OEe = (e) => e * 180 / Math.PI, nK = (e, t, n, r) => ({
- x: e + Math.cos(-eK * r) * n,
- y: t + Math.sin(-eK * r) * n
-}), kEe = function(e, t) {
+var $G = Math.PI / 180, eK = (e) => e * Math.PI / 180, AEe = (e) => e * 180 / Math.PI, tK = (e, t, n, r) => ({
+ x: e + Math.cos(-$G * r) * n,
+ y: t + Math.sin(-$G * r) * n
+}), jEe = function(e, t) {
var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
top: 0,
right: 0,
@@ -57289,11 +57324,11 @@ var eK = Math.PI / 180, tK = (e) => e * Math.PI / 180, OEe = (e) => e * 180 / Ma
brushBottom: 0
};
return Math.min(Math.abs(e - (n.left || 0) - (n.right || 0)), Math.abs(t - (n.top || 0) - (n.bottom || 0))) / 2;
-}, AEe = (e, t) => {
+}, MEe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return Math.sqrt((n - i) ** 2 + (r - a) ** 2);
-}, jEe = (e, t) => {
- var { x: n, y: r } = e, { cx: i, cy: a } = t, o = AEe({
+}, NEe = (e, t) => {
+ var { x: n, y: r } = e, { cx: i, cy: a } = t, o = MEe({
x: n,
y: r
}, {
@@ -57307,25 +57342,25 @@ var eK = Math.PI / 180, tK = (e) => e * Math.PI / 180, OEe = (e) => e * 180 / Ma
var s = (n - i) / o, c = Math.acos(s);
return r > a && (c = 2 * Math.PI - c), {
radius: o,
- angle: OEe(c),
+ angle: AEe(c),
angleInRadian: c
};
-}, MEe = (e) => {
+}, PEe = (e) => {
var { startAngle: t, endAngle: n } = e, r = Math.floor(t / 360), i = Math.floor(n / 360), a = Math.min(r, i);
return {
startAngle: t - a * 360,
endAngle: n - a * 360
};
-}, NEe = (e, t) => {
+}, FEe = (e, t) => {
var { startAngle: n, endAngle: r } = t, i = Math.floor(n / 360), a = Math.floor(r / 360);
return e + Math.min(i, a) * 360;
-}, PEe = (e, t) => {
- var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = jEe({
+}, IEe = (e, t) => {
+ var { relativeX: n, relativeY: r } = e, { radius: i, angle: a } = NEe({
x: n,
y: r
}, t), { innerRadius: o, outerRadius: s } = t;
if (i < o || i > s || i === 0) return null;
- var { startAngle: c, endAngle: l } = MEe(t), u = a, d;
+ var { startAngle: c, endAngle: l } = PEe(t), u = a, d;
if (c <= l) {
for (; u > l;) u -= 360;
for (; u < c;) u += 360;
@@ -57335,17 +57370,17 @@ var eK = Math.PI / 180, tK = (e) => e * Math.PI / 180, OEe = (e) => e * 180 / Ma
for (; u < l;) u += 360;
d = u >= l && u <= c;
}
- return d ? $G($G({}, t), {}, {
+ return d ? QG(QG({}, t), {}, {
radius: i,
- angle: NEe(u, t)
+ angle: FEe(u, t)
}) : null;
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getRadialCursorPoints.js
-function rK(e) {
+function nK(e) {
var { cx: t, cy: n, radius: r, startAngle: i, endAngle: a } = e;
return {
- points: [nK(t, n, r, i), nK(t, n, r, a)],
+ points: [tK(t, n, r, i), tK(t, n, r, a)],
cx: t,
cy: n,
radius: r,
@@ -57355,29 +57390,29 @@ function rK(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Sector.js
-var FEe, IEe, LEe, REe, zEe, BEe, VEe;
-function iK() {
- return iK = Object.assign ? Object.assign.bind() : function(e) {
+var LEe, REe, zEe, BEe, VEe, HEe, UEe;
+function rK() {
+ return rK = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, iK.apply(null, arguments);
+ }, rK.apply(null, arguments);
}
-function aK(e, t) {
+function iK(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) => {
- var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / eK, d = c ? i : i + a * u, f = nK(t, n, l, d), p = nK(t, n, r, d), m = c ? i - a * u : i;
+var WEe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 359.999), aK = (e) => {
+ var { cx: t, cy: n, radius: r, angle: i, sign: a, isExternal: o, cornerRadius: s, cornerIsExternal: c } = e, l = s * (o ? 1 : -1) + r, u = Math.asin(s / l) / $G, d = c ? i : i + a * u, f = tK(t, n, l, d), p = tK(t, n, r, d), m = c ? i - a * u : i;
return {
center: f,
circleTangency: p,
- lineTangency: nK(t, n, l * Math.cos(u * eK), m),
+ lineTangency: tK(t, n, l * Math.cos(u * $G), m),
theta: u
};
-}, sK = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = HEe(a, o), c = a + s, l = nK(t, n, i, a), u = nK(t, n, i, c), d = Zz(FEe ||= aK([
+}, oK = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o } = e, s = WEe(a, o), c = a + s, l = tK(t, n, i, a), u = tK(t, n, i, c), d = Xz(LEe ||= iK([
"M ",
",",
"\n A ",
@@ -57389,8 +57424,8 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
"\n "
]), l.x, l.y, i, i, +(Math.abs(s) > 180), +(a > c), u.x, u.y);
if (r > 0) {
- var f = nK(t, n, r, a), p = nK(t, n, r, c);
- d += Zz(IEe ||= aK([
+ var f = tK(t, n, r, a), p = tK(t, n, r, c);
+ d += Xz(REe ||= iK([
"L ",
",",
"\n A ",
@@ -57401,14 +57436,14 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
",",
" Z"
]), p.x, p.y, r, r, +(Math.abs(s) > 180), +(a <= c), f.x, f.y);
- } else d += Zz(LEe ||= aK([
+ } else d += Xz(zEe ||= iK([
"L ",
",",
" Z"
]), t, n);
return d;
-}, UEe = (e) => {
- var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = Qz(l - c), { circleTangency: d, lineTangency: f, theta: p } = oK({
+}, GEe = (e) => {
+ var { cx: t, cy: n, innerRadius: r, outerRadius: i, cornerRadius: a, forceCornerRadius: o, cornerIsExternal: s, startAngle: c, endAngle: l } = e, u = Zz(l - c), { circleTangency: d, lineTangency: f, theta: p } = aK({
cx: t,
cy: n,
radius: i,
@@ -57416,7 +57451,7 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
sign: u,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: m, lineTangency: h, theta: g } = oK({
+ }), { circleTangency: m, lineTangency: h, theta: g } = aK({
cx: t,
cy: n,
radius: i,
@@ -57425,7 +57460,7 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
cornerRadius: a,
cornerIsExternal: s
}), _ = s ? Math.abs(c - l) : Math.abs(c - l) - p - g;
- if (_ < 0) return o ? Zz(REe ||= aK([
+ if (_ < 0) return o ? Xz(BEe ||= iK([
"M ",
",",
"\n a",
@@ -57435,7 +57470,7 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
",",
",0,0,1,",
",0\n "
- ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : sK({
+ ]), f.x, f.y, a, a, a * 2, a, a, -a * 2) : oK({
cx: t,
cy: n,
innerRadius: r,
@@ -57443,7 +57478,7 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
startAngle: c,
endAngle: l
});
- var v = Zz(zEe ||= aK([
+ var v = Xz(VEe ||= iK([
"M ",
",",
"\n A",
@@ -57465,7 +57500,7 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
"\n "
]), f.x, f.y, a, a, +(u < 0), d.x, d.y, i, i, +(_ > 180), +(u < 0), m.x, m.y, a, a, +(u < 0), h.x, h.y);
if (r > 0) {
- var { circleTangency: y, lineTangency: b, theta: x } = oK({
+ var { circleTangency: y, lineTangency: b, theta: x } = aK({
cx: t,
cy: n,
radius: r,
@@ -57474,7 +57509,7 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
isExternal: !0,
cornerRadius: a,
cornerIsExternal: s
- }), { circleTangency: S, lineTangency: C, theta: w } = oK({
+ }), { circleTangency: S, lineTangency: C, theta: w } = aK({
cx: t,
cy: n,
radius: r,
@@ -57485,7 +57520,7 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
cornerIsExternal: s
}), T = s ? Math.abs(c - l) : Math.abs(c - l) - x - w;
if (T < 0 && a === 0) return `${v}L${t},${n}Z`;
- v += Zz(BEe ||= aK([
+ v += Xz(HEe ||= iK([
"L",
",",
"\n A",
@@ -57506,13 +57541,13 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
",",
"Z"
]), C.x, C.y, a, a, +(u < 0), S.x, S.y, r, r, +(T > 180), +(u > 0), y.x, y.y, a, a, +(u < 0), b.x, b.y);
- } else v += Zz(VEe ||= aK([
+ } else v += Xz(UEe ||= iK([
"L",
",",
"Z"
]), t, n);
return v;
-}, WEe = {
+}, KEe = {
cx: 0,
cy: 0,
innerRadius: 0,
@@ -57522,10 +57557,10 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
cornerRadius: 0,
forceCornerRadius: !1,
cornerIsExternal: !1
-}, cK = (e) => {
- var t = bB(e, WEe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
+}, sK = (e) => {
+ var t = yB(e, KEe), { cx: n, cy: r, innerRadius: i, outerRadius: a, cornerRadius: o, forceCornerRadius: s, cornerIsExternal: c, startAngle: l, endAngle: u, className: d } = t;
if (a < i || l === u) return null;
- var f = Sh("recharts-sector", d), p = a - i, m = rB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? UEe({
+ var f = Sh("recharts-sector", d), p = a - i, m = nB(o, p, 0, !0), h = m > 0 && Math.abs(l - u) < 360 ? GEe({
cx: n,
cy: r,
innerRadius: i,
@@ -57535,7 +57570,7 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
cornerIsExternal: c,
startAngle: l,
endAngle: u
- }) : sK({
+ }) : oK({
cx: n,
cy: r,
innerRadius: i,
@@ -57543,14 +57578,14 @@ var HEe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 359.999), oK = (e) =>
startAngle: l,
endAngle: u
});
- return /*#__PURE__*/ R.createElement("path", iK({}, KR(t), {
+ return /*#__PURE__*/ R.createElement("path", rK({}, GR(t), {
className: f,
d: h
}));
};
//#endregion
//#region node_modules/recharts/es6/util/cursor/getCursorPoints.js
-function GEe(e, t, n) {
+function qEe(e, t, n) {
if (e === "horizontal") return [{
x: t.x,
y: n.top
@@ -57565,9 +57600,9 @@ function GEe(e, t, n) {
x: n.left + n.width,
y: t.y
}];
- if (gB(t)) {
+ if (hB(t)) {
if (e === "centric") {
- var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = nK(r, i, a, s), l = nK(r, i, o, s);
+ var { cx: r, cy: i, innerRadius: a, outerRadius: o, angle: s } = t, c = tK(r, i, a, s), l = tK(r, i, o, s);
return [{
x: c.x,
y: c.y
@@ -57576,30 +57611,30 @@ function GEe(e, t, n) {
y: l.y
}];
}
- return rK(t);
+ return nK(t);
}
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toNumber.mjs
-function KEe(e) {
- return Kz(e) ? NaN : Number(e);
+function JEe(e) {
+ return Gz(e) ? NaN : Number(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/util/toFinite.mjs
-function lK(e) {
- return e ? (e = KEe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
+function cK(e) {
+ return e ? (e = JEe(e), e === Infinity || e === -Infinity ? (e < 0 ? -1 : 1) * Number.MAX_VALUE : e === e ? e : 0) : e === 0 ? e : 0;
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/range.mjs
-function uK(e, t, n) {
- n && typeof n != "number" && $B(e, t, n) && (t = n = void 0), e = lK(e), t === void 0 ? (t = e, e = 0) : t = lK(t), n = n === void 0 ? e < t ? 1 : -1 : lK(n);
+function lK(e, t, n) {
+ n && typeof n != "number" && QB(e, t, n) && (t = n = void 0), e = cK(e), t === void 0 ? (t = e, e = 0) : t = cK(t), n = n === void 0 ? e < t ? 1 : -1 : cK(n);
let r = Math.max(Math.ceil((t - e) / (n || 1)), 0), i = Array(r);
for (let t = 0; t < r; t++) i[t] = e, e += n;
return i;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/dataSelectors.js
-var dK = (e) => e.chartData, fK = $([dK], (e) => {
+var uK = (e) => e.chartData, dK = $([uK], (e) => {
var t = e.chartData == null ? 0 : e.chartData.length - 1;
return {
chartData: e.chartData,
@@ -57607,35 +57642,35 @@ var dK = (e) => e.chartData, fK = $([dK], (e) => {
dataEndIndex: t,
dataStartIndex: 0
};
-}), pK = (e, t, n, r) => r ? fK(e) : dK(e), mK = (e, t, n) => n ? fK(e) : dK(e);
+}), fK = (e, t, n, r) => r ? dK(e) : uK(e), pK = (e, t, n) => n ? dK(e) : uK(e);
//#endregion
//#region node_modules/recharts/es6/util/isDomainSpecifiedByUser.js
-function hK(e) {
+function mK(e) {
if (Array.isArray(e) && e.length === 2) {
var [t, n] = e;
- if (lU(t) && lU(n)) return !0;
+ if (cU(t) && cU(n)) return !0;
}
return !1;
}
-function gK(e, t, n) {
+function hK(e, t, n) {
return n ? e : [Math.min(e[0], t[0]), Math.max(e[1], t[1])];
}
-function _K(e, t) {
+function gK(e, t) {
if (t && typeof e != "function" && Array.isArray(e) && e.length === 2) {
var [n, r] = e, i, a;
- if (lU(n)) i = n;
+ if (cU(n)) i = n;
else if (typeof n == "function") return;
- if (lU(r)) a = r;
+ if (cU(r)) a = r;
else if (typeof r == "function") return;
var o = [i, a];
- if (hK(o)) return o;
+ if (mK(o)) return o;
}
}
-function qEe(e, t, n) {
+function YEe(e, t, n) {
if (!(!n && t == null)) {
if (typeof e == "function" && t != null) try {
var r = e(t, n);
- if (hK(r)) return gK(r, t, n);
+ if (mK(r)) return hK(r, t, n);
} catch {}
if (Array.isArray(e) && e.length === 2) {
var [i, a] = e, o, s;
@@ -57644,8 +57679,8 @@ function qEe(e, t, n) {
else if (typeof i == "function") try {
t != null && (o = i(t?.[0]));
} catch {}
- else if (typeof i == "string" && SU.test(i)) {
- var c = SU.exec(i);
+ else if (typeof i == "string" && xU.test(i)) {
+ var c = xU.exec(i);
if (c == null || c[1] == null || t == null) o = void 0;
else {
var l = +c[1];
@@ -57657,8 +57692,8 @@ function qEe(e, t, n) {
else if (typeof a == "function") try {
t != null && (s = a(t?.[1]));
} catch {}
- else if (typeof a == "string" && CU.test(a)) {
- var u = CU.exec(a);
+ else if (typeof a == "string" && SU.test(a)) {
+ var u = SU.exec(a);
if (u == null || u[1] == null || t == null) s = void 0;
else {
var d = +u[1];
@@ -57666,13 +57701,13 @@ function qEe(e, t, n) {
}
} else s = t?.[1];
var f = [o, s];
- if (hK(f)) return t == null ? f : gK(f, t, n);
+ if (mK(f)) return t == null ? f : hK(f, t, n);
}
}
}
//#endregion
//#region node_modules/recharts/es6/util/scale/util/arithmetic.js
-var vK = /* @__PURE__ */ Dt((/* @__PURE__ */ Ct(((e, t) => {
+var _K = /* @__PURE__ */ Dt((/* @__PURE__ */ Ct(((e, t) => {
(function(e) {
var n = 1e9, r = {
precision: 20,
@@ -58048,75 +58083,75 @@ var vK = /* @__PURE__ */ Dt((/* @__PURE__ */ Ct(((e, t) => {
}) : t !== void 0 && t.exports ? t.exports = r : (e ||= typeof self < "u" && self && self.self == self ? self : Function("return this")(), e.Decimal = r);
})(e);
})))());
-function yK(e) {
- return e === 0 ? 1 : Math.floor(new vK.default(e).abs().log(10).toNumber()) + 1;
+function vK(e) {
+ return e === 0 ? 1 : Math.floor(new _K.default(e).abs().log(10).toNumber()) + 1;
}
-function bK(e, t, n) {
- for (var r = new vK.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
+function yK(e, t, n) {
+ for (var r = new _K.default(e), i = 0, a = []; r.lt(t) && i < 1e5;) a.push(r.toNumber()), r = r.add(n), i++;
return a;
}
//#endregion
//#region node_modules/recharts/es6/util/scale/getNiceTickValues.js
-var xK = (e) => {
+var bK = (e) => {
var [t, n] = e, [r, i] = [t, n];
return t > n && ([r, i] = [n, t]), [r, i];
+}, xK = (e, t, n) => {
+ if (e.lte(0)) return new _K.default(0);
+ var r = vK(e.toNumber()), i = new _K.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new _K.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
+ return t ? new _K.default(s.toNumber()) : new _K.default(Math.ceil(s.toNumber()));
}, SK = (e, t, n) => {
- if (e.lte(0)) return new vK.default(0);
- var r = yK(e.toNumber()), i = new vK.default(10).pow(r), a = e.div(i), o = r === 1 ? .1 : .05, s = new vK.default(Math.ceil(a.div(o).toNumber())).add(n).mul(o).mul(i);
- return t ? new vK.default(s.toNumber()) : new vK.default(Math.ceil(s.toNumber()));
-}, CK = (e, t, n) => {
- if (e.lte(0)) return new vK.default(0);
+ if (e.lte(0)) return new _K.default(0);
var r = [
1,
2,
2.5,
5
- ], i = e.toNumber(), a = Math.floor(new vK.default(i).abs().log(10).toNumber()), o = new vK.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
+ ], i = e.toNumber(), a = Math.floor(new _K.default(i).abs().log(10).toNumber()), o = new _K.default(10).pow(a), s = e.div(o).toNumber(), c = r.findIndex((e) => e >= s - 1e-10);
if (c === -1 && (o = o.mul(10), c = 0), c += n, c >= r.length) {
var l = Math.floor(c / r.length);
- c %= r.length, o = o.mul(new vK.default(10).pow(l));
+ c %= r.length, o = o.mul(new _K.default(10).pow(l));
}
- var u = r[c] ?? 1, d = new vK.default(u).mul(o);
- return t ? d : new vK.default(Math.ceil(d.toNumber()));
-}, JEe = (e, t, n) => {
- var r = new vK.default(1), i = new vK.default(e);
+ var u = r[c] ?? 1, d = new _K.default(u).mul(o);
+ return t ? d : new _K.default(Math.ceil(d.toNumber()));
+}, XEe = (e, t, n) => {
+ var r = new _K.default(1), i = new _K.default(e);
if (!i.isint() && n) {
var a = Math.abs(e);
- a < 1 ? (r = new vK.default(10).pow(yK(e) - 1), i = new vK.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new vK.default(Math.floor(e)));
- } else e === 0 ? i = new vK.default(Math.floor((t - 1) / 2)) : n || (i = new vK.default(Math.floor(e)));
- for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new vK.default(c - o).mul(r)).toNumber());
+ a < 1 ? (r = new _K.default(10).pow(vK(e) - 1), i = new _K.default(Math.floor(i.div(r).toNumber())).mul(r)) : a > 1 && (i = new _K.default(Math.floor(e)));
+ } else e === 0 ? i = new _K.default(Math.floor((t - 1) / 2)) : n || (i = new _K.default(Math.floor(e)));
+ for (var o = Math.floor((t - 1) / 2), s = [], c = 0; c < t; c++) s.push(i.add(new _K.default(c - o).mul(r)).toNumber());
return s;
-}, wK = function(e, t, n, r) {
- var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : SK;
+}, CK = function(e, t, n, r) {
+ var i = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 0, a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : xK;
if (!Number.isFinite((t - e) / (n - 1))) return {
- step: new vK.default(0),
- tickMin: new vK.default(0),
- tickMax: new vK.default(0)
- };
- var o = a(new vK.default(t).sub(e).div(n - 1), r, i), s;
- e <= 0 && t >= 0 ? s = new vK.default(0) : (s = new vK.default(e).add(t).div(2), s = s.sub(new vK.default(s).mod(o)));
- var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new vK.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
- return u > n ? wK(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
+ step: new _K.default(0),
+ tickMin: new _K.default(0),
+ tickMax: new _K.default(0)
+ };
+ var o = a(new _K.default(t).sub(e).div(n - 1), r, i), s;
+ e <= 0 && t >= 0 ? s = new _K.default(0) : (s = new _K.default(e).add(t).div(2), s = s.sub(new _K.default(s).mod(o)));
+ var c = Math.ceil(s.sub(e).div(o).toNumber()), l = Math.ceil(new _K.default(t).sub(s).div(o).toNumber()), u = c + l + 1;
+ return u > n ? CK(e, t, n, r, i + 1, a) : (u < n && (l = t > 0 ? l + (n - u) : l, c = t > 0 ? c : c + (n - u)), {
step: o,
- tickMin: s.sub(new vK.default(c).mul(o)),
- tickMax: s.add(new vK.default(l).mul(o))
+ tickMin: s.sub(new _K.default(c).mul(o)),
+ tickMax: s.add(new _K.default(l).mul(o))
});
-}, TK = function(e) {
- var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = xK([t, n]);
+}, wK = function(e) {
+ var [t, n] = e, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 6, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", o = Math.max(r, 2), [s, c] = bK([t, n]);
if (s === -Infinity || c === Infinity) {
var l = c === Infinity ? [s, ...Array(r - 1).fill(Infinity)] : [...Array(r - 1).fill(-Infinity), c];
return t > n ? l.reverse() : l;
}
- if (s === c) return JEe(s, r, i);
- var { step: u, tickMin: d, tickMax: f } = wK(s, c, o, i, 0, a === "snap125" ? CK : SK), p = bK(d, f.add(new vK.default(.1).mul(u)), u);
+ if (s === c) return XEe(s, r, i);
+ var { step: u, tickMin: d, tickMax: f } = CK(s, c, o, i, 0, a === "snap125" ? SK : xK), p = yK(d, f.add(new _K.default(.1).mul(u)), u);
return t > n ? p.reverse() : p;
-}, EK = function(e, t) {
- var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = xK([n, r]);
+}, TK = function(e, t) {
+ var [n, r] = e, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : "auto", [o, s] = bK([n, r]);
if (o === -Infinity || s === Infinity) return [n, r];
if (o === s) return [o];
- var c = a === "snap125" ? CK : SK, l = Math.max(t, 2), u = c(new vK.default(s).sub(o).div(l - 1), i, 0), d = [...bK(new vK.default(o), new vK.default(s), u), s];
+ var c = a === "snap125" ? SK : xK, l = Math.max(t, 2), u = c(new _K.default(s).sub(o).div(l - 1), i, 0), d = [...yK(new _K.default(o), new _K.default(s), u), s];
return i === !1 && (d = d.map((e) => Math.round(e))), n > r ? d.reverse() : d;
-}, DK = (e) => e.rootProps.maxBarSize, OK = (e) => e.rootProps.barGap, kK = (e) => e.rootProps.barCategoryGap, AK = (e) => e.rootProps.barSize, jK = (e) => e.rootProps.stackOffset, MK = (e) => e.rootProps.reverseStackOrder, NK = (e) => e.options.chartName, PK = (e) => e.rootProps.syncId, FK = (e) => e.rootProps.syncMethod, IK = (e) => e.options.eventEmitter, YEe = (e) => e.rootProps.baseValue, LK = {
+}, EK = (e) => e.rootProps.maxBarSize, DK = (e) => e.rootProps.barGap, OK = (e) => e.rootProps.barCategoryGap, kK = (e) => e.rootProps.barSize, AK = (e) => e.rootProps.stackOffset, jK = (e) => e.rootProps.reverseStackOrder, MK = (e) => e.options.chartName, NK = (e) => e.rootProps.syncId, PK = (e) => e.rootProps.syncMethod, FK = (e) => e.options.eventEmitter, ZEe = (e) => e.rootProps.baseValue, IK = {
grid: -100,
barBackground: -50,
area: 100,
@@ -58129,7 +58164,7 @@ var xK = (e) => {
cursorLine: 1100,
activeDot: 1200,
label: 2e3
-}, RK = {
+}, LK = {
allowDecimals: !1,
allowDuplicatedCategory: !0,
allowDataOverflow: !1,
@@ -58150,8 +58185,8 @@ var xK = (e) => {
tickLine: !0,
tickSize: 8,
type: "auto",
- zIndex: LK.axis
-}, zK = {
+ zIndex: IK.axis
+}, RK = {
allowDataOverflow: !1,
allowDecimals: !1,
allowDuplicatedCategory: !0,
@@ -58170,19 +58205,19 @@ var xK = (e) => {
tickCount: 5,
tickLine: !0,
type: "auto",
- zIndex: LK.axis
-}, BK = (e, t) => {
+ zIndex: IK.axis
+}, zK = (e, t) => {
if (!(!e || !t)) return e != null && e.reversed ? [t[1], t[0]] : t;
};
//#endregion
//#region node_modules/recharts/es6/util/getAxisTypeBasedOnLayout.js
-function VK(e, t, n) {
+function BK(e, t, n) {
if (n !== "auto") return n;
- if (e != null) return mU(e, t) ? "category" : "number";
+ if (e != null) return pU(e, t) ? "category" : "number";
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/polarAxisSelectors.js
-function HK(e, t) {
+function VK(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -58192,30 +58227,30 @@ function HK(e, t) {
}
return n;
}
-function UK(e) {
+function HK(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? HK(Object(n), !0).forEach(function(t) {
- XEe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : HK(Object(n)).forEach(function(t) {
+ t % 2 ? VK(Object(n), !0).forEach(function(t) {
+ QEe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : VK(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function XEe(e, t, n) {
- return (t = ZEe(t)) in e ? Object.defineProperty(e, t, {
+function QEe(e, t, n) {
+ return (t = $Ee(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ZEe(e) {
- var t = QEe(e, "string");
+function $Ee(e) {
+ var t = eDe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function QEe(e, t) {
+function eDe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -58225,81 +58260,81 @@ function QEe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var WK = {
- allowDataOverflow: RK.allowDataOverflow,
- allowDecimals: RK.allowDecimals,
+var UK = {
+ allowDataOverflow: LK.allowDataOverflow,
+ allowDecimals: LK.allowDecimals,
allowDuplicatedCategory: !1,
dataKey: void 0,
domain: void 0,
- id: RK.angleAxisId,
+ id: LK.angleAxisId,
includeHidden: !1,
name: void 0,
- reversed: RK.reversed,
- scale: RK.scale,
- tick: RK.tick,
+ reversed: LK.reversed,
+ scale: LK.scale,
+ tick: LK.tick,
tickCount: void 0,
ticks: void 0,
- type: RK.type,
+ type: LK.type,
unit: void 0,
niceTicks: "auto"
-}, GK = {
- allowDataOverflow: zK.allowDataOverflow,
- allowDecimals: zK.allowDecimals,
- allowDuplicatedCategory: zK.allowDuplicatedCategory,
+}, WK = {
+ allowDataOverflow: RK.allowDataOverflow,
+ allowDecimals: RK.allowDecimals,
+ allowDuplicatedCategory: RK.allowDuplicatedCategory,
dataKey: void 0,
domain: void 0,
- id: zK.radiusAxisId,
- includeHidden: zK.includeHidden,
+ id: RK.radiusAxisId,
+ includeHidden: RK.includeHidden,
name: void 0,
- reversed: zK.reversed,
- scale: zK.scale,
- tick: zK.tick,
- tickCount: zK.tickCount,
+ reversed: RK.reversed,
+ scale: RK.scale,
+ tick: RK.tick,
+ tickCount: RK.tickCount,
ticks: void 0,
- type: zK.type,
+ type: RK.type,
unit: void 0,
niceTicks: "auto"
-}, KK = $([(e, t) => {
+}, GK = $([(e, t) => {
if (t != null) return e.polarAxis.angleAxis[t];
-}, rW], (e, t) => {
+}, nW], (e, t) => {
if (e != null) return e;
- var n = VK(t, "angleAxis", WK.type) ?? "category";
- return UK(UK({}, WK), {}, { type: n });
-}), qK = $([(e, t) => e.polarAxis.radiusAxis[t], rW], (e, t) => {
+ var n = BK(t, "angleAxis", UK.type) ?? "category";
+ return HK(HK({}, UK), {}, { type: n });
+}), KK = $([(e, t) => e.polarAxis.radiusAxis[t], nW], (e, t) => {
if (e != null) return e;
- var n = VK(t, "radiusAxis", GK.type) ?? "category";
- return UK(UK({}, GK), {}, { type: n });
-}), JK = (e) => e.polarOptions, YK = $([
+ var n = BK(t, "radiusAxis", WK.type) ?? "category";
+ return HK(HK({}, WK), {}, { type: n });
+}), qK = (e) => e.polarOptions, JK = $([
+ EU,
DU,
- OU,
- PU
-], kEe), XK = $([JK, YK], (e, t) => {
- if (e != null) return rB(e.innerRadius, t, 0);
-}), ZK = $([JK, YK], (e, t) => {
- if (e != null) return rB(e.outerRadius, t, t * .8);
-}), QK = $([JK], (e) => {
+ NU
+], jEe), YK = $([qK, JK], (e, t) => {
+ if (e != null) return nB(e.innerRadius, t, 0);
+}), XK = $([qK, JK], (e, t) => {
+ if (e != null) return nB(e.outerRadius, t, t * .8);
+}), ZK = $([qK], (e) => {
if (e == null) return [0, 0];
var { startAngle: t, endAngle: n } = e;
return [t, n];
-}), $Ee = $([KK, QK], BK), $K = $([
+}), tDe = $([GK, ZK], zK), QK = $([
+ JK,
YK,
- XK,
- ZK
+ XK
], (e, t, n) => {
if (e != null && t != null && n != null) return [t, n];
-}), eDe = $([qK, $K], BK), eq = $([
- eW,
- JK,
+}), nDe = $([KK, QK], zK), $K = $([
+ $U,
+ qK,
+ YK,
XK,
- ZK,
- DU,
- OU
+ EU,
+ DU
], (e, t, n, r, i, a) => {
if (!(e !== "centric" && e !== "radial" || t == null || n == null || r == null)) {
var { cx: o, cy: s, startAngle: c, endAngle: l } = t;
return {
- cx: rB(o, i, i / 2),
- cy: rB(s, a, a / 2),
+ cx: nB(o, i, i / 2),
+ cy: nB(s, a, a / 2),
innerRadius: n,
outerRadius: r,
startAngle: c,
@@ -58307,22 +58342,22 @@ var WK = {
clockWise: !1
};
}
-}), tq = (e, t) => t, nq = (e, t, n) => n;
+}), eq = (e, t) => t, tq = (e, t, n) => n;
//#endregion
//#region node_modules/recharts/es6/util/stacks/getStackSeriesIdentifier.js
-function rq(e) {
+function nq(e) {
return e?.id;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineDisplayedStackedData.js
-function iq(e, t, n) {
+function rq(e, t, n) {
var { chartData: r = [] } = t, { allowDuplicatedCategory: i, dataKey: a } = n, o = /* @__PURE__ */ new Map();
return e.forEach((e) => {
var t = e.data ?? r;
if (t != null && t.length !== 0) {
- var n = rq(e);
+ var n = nq(e);
t.forEach((t, r) => {
- var s = a == null || i ? r : String(pU(t, a, null)), c = pU(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
+ var s = a == null || i ? r : String(fU(t, a, null)), c = fU(t, e.dataKey, 0), l = o.has(s) ? o.get(s) : {};
Object.assign(l, { [n]: c }), o.set(s, l);
});
}
@@ -58330,18 +58365,18 @@ function iq(e, t, n) {
}
//#endregion
//#region node_modules/recharts/es6/state/types/StackedGraphicalItem.js
-function aq(e) {
+function iq(e) {
return "stackId" in e && e.stackId != null && e.dataKey != null;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/numberDomainEqualityCheck.js
-var oq = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
+var aq = (e, t) => e === t ? !0 : e == null || t == null ? !1 : e[0] === t[0] && e[1] === t[1];
//#endregion
//#region node_modules/recharts/es6/state/selectors/arrayEqualityCheck.js
-function sq(e, t) {
+function oq(e, t) {
return Array.isArray(e) && Array.isArray(t) && e.length === 0 && t.length === 0 ? !0 : e === t;
}
-function tDe(e, t) {
+function rDe(e, t) {
if (e.length === t.length) {
for (var n = 0; n < e.length; n++) if (e[n] !== t[n]) return !1;
return !0;
@@ -58350,13 +58385,13 @@ function tDe(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipAxisType.js
-var cq = (e) => {
- var t = eW(e);
+var sq = (e) => {
+ var t = $U(e);
return t === "horizontal" ? "xAxis" : t === "vertical" ? "yAxis" : t === "centric" ? "angleAxis" : "radiusAxis";
-}, lq = (e) => e.tooltip.settings.axisId;
+}, cq = (e) => e.tooltip.settings.axisId;
//#endregion
//#region node_modules/recharts/es6/util/scale/RechartsScale.js
-function uq(e) {
+function lq(e) {
if (e != null) {
var t = e.ticks, n = e.bandwidth, r = e.range(), i = [Math.min(...r), Math.max(...r)];
return {
@@ -58397,13 +58432,13 @@ function uq(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineCheckedDomain.js
-var dq = (e, t) => {
+var uq = (e, t) => {
if (t != null) switch (e) {
case "linear":
- if (!hK(t)) {
+ if (!mK(t)) {
for (var n, r, i = 0; i < t.length; i++) {
var a = t[i];
- lU(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
+ cU(a) && ((n === void 0 || a < n) && (n = a), (r === void 0 || a > r) && (r = a));
}
return n !== void 0 && r !== void 0 ? [n, r] : void 0;
}
@@ -58413,14 +58448,14 @@ var dq = (e, t) => {
};
//#endregion
//#region node_modules/d3-array/src/ascending.js
-function fq(e, t) {
+function dq(e, t) {
return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;
}
//#endregion
//#region node_modules/d3-array/src/bisector.js
-function pq(e) {
+function fq(e) {
let t = e, n = e;
- e.length === 1 && (t = (t, n) => e(t) - n, n = nDe(e));
+ e.length === 1 && (t = (t, n) => e(t) - n, n = iDe(e));
function r(e, t, r, i) {
for (r ??= 0, i ??= e.length; r < i;) {
let a = r + i >>> 1;
@@ -58446,15 +58481,15 @@ function pq(e) {
right: i
};
}
-function nDe(e) {
- return (t, n) => fq(e(t), n);
+function iDe(e) {
+ return (t, n) => dq(e(t), n);
}
//#endregion
//#region node_modules/d3-array/src/number.js
-function mq(e) {
+function pq(e) {
return e === null ? NaN : +e;
}
-function* rDe(e, t) {
+function* aDe(e, t) {
if (t === void 0) for (let t of e) t != null && (t = +t) >= t && (yield t);
else {
let n = -1;
@@ -58463,52 +58498,52 @@ function* rDe(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/bisect.js
-var hq = pq(fq), gq = hq.right;
-hq.left, pq(mq).center;
+var mq = fq(dq), hq = mq.right;
+mq.left, fq(pq).center;
//#endregion
//#region node_modules/internmap/src/index.js
-var _q = class extends Map {
- constructor(e, t = oDe) {
+var gq = class extends Map {
+ constructor(e, t = cDe) {
if (super(), Object.defineProperties(this, {
_intern: { value: /* @__PURE__ */ new Map() },
_key: { value: t }
}), e != null) for (let [t, n] of e) this.set(t, n);
}
get(e) {
- return super.get(vq(this, e));
+ return super.get(_q(this, e));
}
has(e) {
- return super.has(vq(this, e));
+ return super.has(_q(this, e));
}
set(e, t) {
- return super.set(iDe(this, e), t);
+ return super.set(oDe(this, e), t);
}
delete(e) {
- return super.delete(aDe(this, e));
+ return super.delete(sDe(this, e));
}
};
-function vq({ _intern: e, _key: t }, n) {
+function _q({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : n;
}
-function iDe({ _intern: e, _key: t }, n) {
+function oDe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) ? e.get(r) : (e.set(r, n), n);
}
-function aDe({ _intern: e, _key: t }, n) {
+function sDe({ _intern: e, _key: t }, n) {
let r = t(n);
return e.has(r) && (n = e.get(n), e.delete(r)), n;
}
-function oDe(e) {
+function cDe(e) {
return typeof e == "object" && e ? e.valueOf() : e;
}
//#endregion
//#region node_modules/d3-array/src/ticks.js
-var yq = Math.sqrt(50), bq = Math.sqrt(10), xq = Math.sqrt(2);
-function Sq(e, t, n) {
+var vq = Math.sqrt(50), yq = Math.sqrt(10), bq = Math.sqrt(2);
+function xq(e, t, n) {
var r, i = -1, a, o, s;
if (t = +t, e = +e, n = +n, e === t && n > 0) return [e];
- if ((r = t < e) && (a = e, e = t, t = a), (s = Cq(e, t, n)) === 0 || !isFinite(s)) return [];
+ if ((r = t < e) && (a = e, e = t, t = a), (s = Sq(e, t, n)) === 0 || !isFinite(s)) return [];
if (s > 0) {
let n = Math.round(e / s), r = Math.round(t / s);
for (n * s < e && ++n, r * s > t && --r, o = Array(a = r - n + 1); ++i < a;) o[i] = (n + i) * s;
@@ -58519,17 +58554,17 @@ function Sq(e, t, n) {
}
return r && o.reverse(), o;
}
-function Cq(e, t, n) {
+function Sq(e, t, n) {
var r = (t - e) / Math.max(0, n), i = Math.floor(Math.log(r) / Math.LN10), a = r / 10 ** i;
- return i >= 0 ? (a >= yq ? 10 : a >= bq ? 5 : a >= xq ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= yq ? 10 : a >= bq ? 5 : a >= xq ? 2 : 1);
+ return i >= 0 ? (a >= vq ? 10 : a >= yq ? 5 : a >= bq ? 2 : 1) * 10 ** i : -(10 ** -i) / (a >= vq ? 10 : a >= yq ? 5 : a >= bq ? 2 : 1);
}
-function wq(e, t, n) {
+function Cq(e, t, n) {
var r = Math.abs(t - e) / Math.max(0, n), i = 10 ** Math.floor(Math.log(r) / Math.LN10), a = r / i;
- return a >= yq ? i *= 10 : a >= bq ? i *= 5 : a >= xq && (i *= 2), t < e ? -i : i;
+ return a >= vq ? i *= 10 : a >= yq ? i *= 5 : a >= bq && (i *= 2), t < e ? -i : i;
}
//#endregion
//#region node_modules/d3-array/src/max.js
-function Tq(e, t) {
+function wq(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 {
@@ -58540,7 +58575,7 @@ function Tq(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/min.js
-function Eq(e, t) {
+function Tq(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 {
@@ -58551,36 +58586,36 @@ function Eq(e, t) {
}
//#endregion
//#region node_modules/d3-array/src/quickselect.js
-function Dq(e, t, n = 0, r = e.length - 1, i = fq) {
+function Eq(e, t, n = 0, r = e.length - 1, i = dq) {
for (; r > n;) {
if (r - n > 600) {
let a = r - n + 1, o = t - n + 1, s = Math.log(a), c = .5 * Math.exp(2 * s / 3), l = .5 * Math.sqrt(s * c * (a - c) / a) * (o - a / 2 < 0 ? -1 : 1);
- Dq(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
+ Eq(e, t, Math.max(n, Math.floor(t - o * c / a + l)), Math.min(r, Math.floor(t + (a - o) * c / a + l)), i);
}
let a = e[t], o = n, s = r;
- for (Oq(e, n, t), i(e[r], a) > 0 && Oq(e, n, r); o < s;) {
- for (Oq(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
+ for (Dq(e, n, t), i(e[r], a) > 0 && Dq(e, n, r); o < s;) {
+ for (Dq(e, o, s), ++o, --s; i(e[o], a) < 0;) ++o;
for (; i(e[s], a) > 0;) --s;
}
- i(e[n], a) === 0 ? Oq(e, n, s) : (++s, Oq(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
+ i(e[n], a) === 0 ? Dq(e, n, s) : (++s, Dq(e, s, r)), s <= t && (n = s + 1), t <= s && (r = s - 1);
}
return e;
}
-function Oq(e, t, n) {
+function Dq(e, t, n) {
let r = e[t];
e[t] = e[n], e[n] = r;
}
//#endregion
//#region node_modules/d3-array/src/quantile.js
-function sDe(e, t, n) {
- if (e = Float64Array.from(rDe(e, n)), r = e.length) {
- if ((t = +t) <= 0 || r < 2) return Eq(e);
- if (t >= 1) return Tq(e);
- var r, i = (r - 1) * t, a = Math.floor(i), o = Tq(Dq(e, a).subarray(0, a + 1));
- return o + (Eq(e.subarray(a + 1)) - o) * (i - a);
+function lDe(e, t, n) {
+ if (e = Float64Array.from(aDe(e, n)), r = e.length) {
+ if ((t = +t) <= 0 || r < 2) return Tq(e);
+ if (t >= 1) return wq(e);
+ var r, i = (r - 1) * t, a = Math.floor(i), o = wq(Eq(e, a).subarray(0, a + 1));
+ return o + (Tq(e.subarray(a + 1)) - o) * (i - a);
}
}
-function cDe(e, t, n = mq) {
+function uDe(e, t, n = pq) {
if (r = e.length) {
if ((t = +t) <= 0 || r < 2) return +n(e[0], 0, e);
if (t >= 1) return +n(e[r - 1], r - 1, e);
@@ -58590,14 +58625,14 @@ function cDe(e, t, n = mq) {
}
//#endregion
//#region node_modules/d3-array/src/range.js
-function lDe(e, t, n) {
+function dDe(e, t, n) {
e = +e, t = +t, n = (i = arguments.length) < 2 ? (t = e, e = 0, 1) : i < 3 ? 1 : +n;
for (var r = -1, i = Math.max(0, Math.ceil((t - e) / n)) | 0, a = Array(i); ++r < i;) a[r] = e + r * n;
return a;
}
//#endregion
//#region node_modules/d3-array/src/sum.js
-function kq(e, t) {
+function Oq(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -58608,7 +58643,7 @@ function kq(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/init.js
-function Aq(e, t) {
+function kq(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -58618,7 +58653,7 @@ function Aq(e, t) {
}
return this;
}
-function jq(e, t) {
+function Aq(e, t) {
switch (arguments.length) {
case 0: break;
case 1:
@@ -58630,20 +58665,20 @@ function jq(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/ordinal.js
-var Mq = Symbol("implicit");
-function Nq() {
- var e = new _q(), t = [], n = [], r = Mq;
+var jq = Symbol("implicit");
+function Mq() {
+ var e = new gq(), t = [], n = [], r = jq;
function i(i) {
let a = e.get(i);
if (a === void 0) {
- if (r !== Mq) return r;
+ if (r !== jq) return r;
e.set(i, a = t.push(i) - 1);
}
return n[a % n.length];
}
return i.domain = function(n) {
if (!arguments.length) return t.slice();
- t = [], e = new _q();
+ t = [], e = new gq();
for (let r of n) e.has(r) || e.set(r, t.push(r) - 1);
return i;
}, i.range = function(e) {
@@ -58651,18 +58686,18 @@ function Nq() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return Nq(t, n).unknown(r);
- }, Aq.apply(i, arguments), i;
+ return Mq(t, n).unknown(r);
+ }, kq.apply(i, arguments), i;
}
//#endregion
//#region node_modules/d3-scale/src/band.js
-function Pq() {
- var e = Nq().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
+function Nq() {
+ var e = Mq().unknown(void 0), t = e.domain, n = e.range, r = 0, i = 1, a, o, s = !1, c = 0, l = 0, u = .5;
delete e.unknown;
function d() {
var e = t().length, d = i < r, f = d ? i : r, p = d ? r : i;
a = (p - f) / Math.max(1, e - c + l * 2), s && (a = Math.floor(a)), f += (p - f - a * (e - c)) * u, o = a * (1 - c), s && (f = Math.round(f), o = Math.round(o));
- var m = lDe(e).map(function(e) {
+ var m = dDe(e).map(function(e) {
return f + a * e;
});
return n(d ? m.reverse() : m);
@@ -58688,32 +58723,32 @@ function Pq() {
}, e.align = function(e) {
return arguments.length ? (u = Math.max(0, Math.min(1, e)), d()) : u;
}, e.copy = function() {
- return Pq(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
- }, Aq.apply(d(), arguments);
+ return Nq(t(), [r, i]).round(s).paddingInner(c).paddingOuter(l).align(u);
+ }, kq.apply(d(), arguments);
}
-function Fq(e) {
+function Pq(e) {
var t = e.copy;
return e.padding = e.paddingOuter, delete e.paddingInner, delete e.paddingOuter, e.copy = function() {
- return Fq(t());
+ return Pq(t());
}, e;
}
-function uDe() {
- return Fq(Pq.apply(null, arguments).paddingInner(1));
+function fDe() {
+ return Pq(Nq.apply(null, arguments).paddingInner(1));
}
//#endregion
//#region node_modules/d3-color/src/define.js
-function Iq(e, t, n) {
+function Fq(e, t, n) {
e.prototype = t.prototype = n, n.constructor = e;
}
-function Lq(e, t) {
+function Iq(e, t) {
var n = Object.create(e.prototype);
for (var r in t) n[r] = t[r];
return n;
}
//#endregion
//#region node_modules/d3-color/src/color.js
-function Rq() {}
-var zq = .7, Bq = 1 / zq, Vq = "\\s*([+-]?\\d+)\\s*", Hq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Uq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", dDe = /^#([0-9a-f]{3,8})$/, fDe = RegExp(`^rgb\\(${Vq},${Vq},${Vq}\\)$`), pDe = RegExp(`^rgb\\(${Uq},${Uq},${Uq}\\)$`), mDe = RegExp(`^rgba\\(${Vq},${Vq},${Vq},${Hq}\\)$`), hDe = RegExp(`^rgba\\(${Uq},${Uq},${Uq},${Hq}\\)$`), gDe = RegExp(`^hsl\\(${Hq},${Uq},${Uq}\\)$`), _De = RegExp(`^hsla\\(${Hq},${Uq},${Uq},${Hq}\\)$`), Wq = {
+function Lq() {}
+var Rq = .7, zq = 1 / Rq, Bq = "\\s*([+-]?\\d+)\\s*", Vq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*", Hq = "\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*", pDe = /^#([0-9a-f]{3,8})$/, mDe = RegExp(`^rgb\\(${Bq},${Bq},${Bq}\\)$`), hDe = RegExp(`^rgb\\(${Hq},${Hq},${Hq}\\)$`), gDe = RegExp(`^rgba\\(${Bq},${Bq},${Bq},${Vq}\\)$`), _De = RegExp(`^rgba\\(${Hq},${Hq},${Hq},${Vq}\\)$`), vDe = RegExp(`^hsl\\(${Vq},${Hq},${Hq}\\)$`), yDe = RegExp(`^hsla\\(${Vq},${Hq},${Hq},${Vq}\\)$`), Uq = {
aliceblue: 15792383,
antiquewhite: 16444375,
aqua: 65535,
@@ -58863,170 +58898,170 @@ var zq = .7, Bq = 1 / zq, Vq = "\\s*([+-]?\\d+)\\s*", Hq = "\\s*([+-]?(?:\\d*\\.
yellow: 16776960,
yellowgreen: 10145074
};
-Iq(Rq, qq, {
+Fq(Lq, Kq, {
copy(e) {
return Object.assign(new this.constructor(), this, e);
},
displayable() {
return this.rgb().displayable();
},
- hex: Gq,
- formatHex: Gq,
- formatHex8: vDe,
- formatHsl: yDe,
- formatRgb: Kq,
- toString: Kq
+ hex: Wq,
+ formatHex: Wq,
+ formatHex8: bDe,
+ formatHsl: xDe,
+ formatRgb: Gq,
+ toString: Gq
});
-function Gq() {
+function Wq() {
return this.rgb().formatHex();
}
-function vDe() {
+function bDe() {
return this.rgb().formatHex8();
}
-function yDe() {
- return iJ(this).formatHsl();
+function xDe() {
+ return rJ(this).formatHsl();
}
-function Kq() {
+function Gq() {
return this.rgb().formatRgb();
}
-function qq(e) {
+function Kq(e) {
var t, n;
- return e = (e + "").trim().toLowerCase(), (t = dDe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? Jq(t) : n === 3 ? new Zq(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Yq(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Yq(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = fDe.exec(e)) ? new Zq(t[1], t[2], t[3], 1) : (t = pDe.exec(e)) ? new Zq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = mDe.exec(e)) ? Yq(t[1], t[2], t[3], t[4]) : (t = hDe.exec(e)) ? Yq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = gDe.exec(e)) ? rJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = _De.exec(e)) ? rJ(t[1], t[2] / 100, t[3] / 100, t[4]) : Wq.hasOwnProperty(e) ? Jq(Wq[e]) : e === "transparent" ? new Zq(NaN, NaN, NaN, 0) : null;
+ return e = (e + "").trim().toLowerCase(), (t = pDe.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? qq(t) : n === 3 ? new Xq(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? Jq(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? Jq(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = mDe.exec(e)) ? new Xq(t[1], t[2], t[3], 1) : (t = hDe.exec(e)) ? new Xq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = gDe.exec(e)) ? Jq(t[1], t[2], t[3], t[4]) : (t = _De.exec(e)) ? Jq(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = vDe.exec(e)) ? nJ(t[1], t[2] / 100, t[3] / 100, 1) : (t = yDe.exec(e)) ? nJ(t[1], t[2] / 100, t[3] / 100, t[4]) : Uq.hasOwnProperty(e) ? qq(Uq[e]) : e === "transparent" ? new Xq(NaN, NaN, NaN, 0) : null;
+}
+function qq(e) {
+ return new Xq(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
}
-function Jq(e) {
- return new Zq(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
+function Jq(e, t, n, r) {
+ return r <= 0 && (e = t = n = NaN), new Xq(e, t, n, r);
}
-function Yq(e, t, n, r) {
- return r <= 0 && (e = t = n = NaN), new Zq(e, t, n, r);
+function SDe(e) {
+ return e instanceof Lq || (e = Kq(e)), e ? (e = e.rgb(), new Xq(e.r, e.g, e.b, e.opacity)) : new Xq();
}
-function bDe(e) {
- return e instanceof Rq || (e = qq(e)), e ? (e = e.rgb(), new Zq(e.r, e.g, e.b, e.opacity)) : new Zq();
+function Yq(e, t, n, r) {
+ return arguments.length === 1 ? SDe(e) : new Xq(e, t, n, r ?? 1);
}
function Xq(e, t, n, r) {
- return arguments.length === 1 ? bDe(e) : new Zq(e, t, n, r ?? 1);
-}
-function Zq(e, t, n, r) {
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
}
-Iq(Zq, Xq, Lq(Rq, {
+Fq(Xq, Yq, Iq(Lq, {
brighter(e) {
- return e = e == null ? Bq : Bq ** +e, new Zq(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? zq : zq ** +e, new Xq(this.r * e, this.g * e, this.b * e, this.opacity);
},
darker(e) {
- return e = e == null ? zq : zq ** +e, new Zq(this.r * e, this.g * e, this.b * e, this.opacity);
+ return e = e == null ? Rq : Rq ** +e, new Xq(this.r * e, this.g * e, this.b * e, this.opacity);
},
rgb() {
return this;
},
clamp() {
- return new Zq(tJ(this.r), tJ(this.g), tJ(this.b), eJ(this.opacity));
+ return new Xq(eJ(this.r), eJ(this.g), eJ(this.b), $q(this.opacity));
},
displayable() {
return -.5 <= this.r && this.r < 255.5 && -.5 <= this.g && this.g < 255.5 && -.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
},
- hex: Qq,
- formatHex: Qq,
- formatHex8: xDe,
- formatRgb: $q,
- toString: $q
+ hex: Zq,
+ formatHex: Zq,
+ formatHex8: CDe,
+ formatRgb: Qq,
+ toString: Qq
}));
-function Qq() {
- return `#${nJ(this.r)}${nJ(this.g)}${nJ(this.b)}`;
+function Zq() {
+ return `#${tJ(this.r)}${tJ(this.g)}${tJ(this.b)}`;
}
-function xDe() {
- return `#${nJ(this.r)}${nJ(this.g)}${nJ(this.b)}${nJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
+function CDe() {
+ return `#${tJ(this.r)}${tJ(this.g)}${tJ(this.b)}${tJ((isNaN(this.opacity) ? 1 : this.opacity) * 255)}`;
}
-function $q() {
- let e = eJ(this.opacity);
- return `${e === 1 ? "rgb(" : "rgba("}${tJ(this.r)}, ${tJ(this.g)}, ${tJ(this.b)}${e === 1 ? ")" : `, ${e})`}`;
+function Qq() {
+ let e = $q(this.opacity);
+ return `${e === 1 ? "rgb(" : "rgba("}${eJ(this.r)}, ${eJ(this.g)}, ${eJ(this.b)}${e === 1 ? ")" : `, ${e})`}`;
}
-function eJ(e) {
+function $q(e) {
return isNaN(e) ? 1 : Math.max(0, Math.min(1, e));
}
-function tJ(e) {
+function eJ(e) {
return Math.max(0, Math.min(255, Math.round(e) || 0));
}
-function nJ(e) {
- return e = tJ(e), (e < 16 ? "0" : "") + e.toString(16);
+function tJ(e) {
+ return e = eJ(e), (e < 16 ? "0" : "") + e.toString(16);
}
-function rJ(e, t, n, r) {
- return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new aJ(e, t, n, r);
+function nJ(e, t, n, r) {
+ return r <= 0 ? e = t = n = NaN : n <= 0 || n >= 1 ? e = t = NaN : t <= 0 && (e = NaN), new iJ(e, t, n, r);
}
-function iJ(e) {
- if (e instanceof aJ) return new aJ(e.h, e.s, e.l, e.opacity);
- if (e instanceof Rq || (e = qq(e)), !e) return new aJ();
- if (e instanceof aJ) return e;
+function rJ(e) {
+ if (e instanceof iJ) return new iJ(e.h, e.s, e.l, e.opacity);
+ if (e instanceof Lq || (e = Kq(e)), !e) return new iJ();
+ if (e instanceof iJ) return e;
e = e.rgb();
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = Math.min(t, n, r), a = Math.max(t, n, r), o = NaN, s = a - i, c = (a + i) / 2;
- return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new aJ(o, s, c, e.opacity);
+ return s ? (o = t === a ? (n - r) / s + (n < r) * 6 : n === a ? (r - t) / s + 2 : (t - n) / s + 4, s /= c < .5 ? a + i : 2 - a - i, o *= 60) : s = c > 0 && c < 1 ? 0 : o, new iJ(o, s, c, e.opacity);
}
-function SDe(e, t, n, r) {
- return arguments.length === 1 ? iJ(e) : new aJ(e, t, n, r ?? 1);
+function wDe(e, t, n, r) {
+ return arguments.length === 1 ? rJ(e) : new iJ(e, t, n, r ?? 1);
}
-function aJ(e, t, n, r) {
+function iJ(e, t, n, r) {
this.h = +e, this.s = +t, this.l = +n, this.opacity = +r;
}
-Iq(aJ, SDe, Lq(Rq, {
+Fq(iJ, wDe, Iq(Lq, {
brighter(e) {
- return e = e == null ? Bq : Bq ** +e, new aJ(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? zq : zq ** +e, new iJ(this.h, this.s, this.l * e, this.opacity);
},
darker(e) {
- return e = e == null ? zq : zq ** +e, new aJ(this.h, this.s, this.l * e, this.opacity);
+ return e = e == null ? Rq : Rq ** +e, new iJ(this.h, this.s, this.l * e, this.opacity);
},
rgb() {
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < .5 ? n : 1 - n) * t, i = 2 * n - r;
- return new Zq(cJ(e >= 240 ? e - 240 : e + 120, i, r), cJ(e, i, r), cJ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
+ return new Xq(sJ(e >= 240 ? e - 240 : e + 120, i, r), sJ(e, i, r), sJ(e < 120 ? e + 240 : e - 120, i, r), this.opacity);
},
clamp() {
- return new aJ(oJ(this.h), sJ(this.s), sJ(this.l), eJ(this.opacity));
+ return new iJ(aJ(this.h), oJ(this.s), oJ(this.l), $q(this.opacity));
},
displayable() {
return (0 <= this.s && this.s <= 1 || isNaN(this.s)) && 0 <= this.l && this.l <= 1 && 0 <= this.opacity && this.opacity <= 1;
},
formatHsl() {
- let e = eJ(this.opacity);
- return `${e === 1 ? "hsl(" : "hsla("}${oJ(this.h)}, ${sJ(this.s) * 100}%, ${sJ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
+ let e = $q(this.opacity);
+ return `${e === 1 ? "hsl(" : "hsla("}${aJ(this.h)}, ${oJ(this.s) * 100}%, ${oJ(this.l) * 100}%${e === 1 ? ")" : `, ${e})`}`;
}
}));
-function oJ(e) {
+function aJ(e) {
return e = (e || 0) % 360, e < 0 ? e + 360 : e;
}
-function sJ(e) {
+function oJ(e) {
return Math.max(0, Math.min(1, e || 0));
}
-function cJ(e, t, n) {
+function sJ(e, t, n) {
return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
}
//#endregion
//#region node_modules/d3-interpolate/src/constant.js
-var lJ = (e) => () => e;
+var cJ = (e) => () => e;
//#endregion
//#region node_modules/d3-interpolate/src/color.js
-function CDe(e, t) {
+function TDe(e, t) {
return function(n) {
return e + n * t;
};
}
-function wDe(e, t, n) {
+function EDe(e, t, n) {
return e **= +n, t = t ** +n - e, n = 1 / n, function(r) {
return (e + r * t) ** +n;
};
}
-function TDe(e) {
- return (e = +e) == 1 ? uJ : function(t, n) {
- return n - t ? wDe(t, n, e) : lJ(isNaN(t) ? n : t);
+function DDe(e) {
+ return (e = +e) == 1 ? lJ : function(t, n) {
+ return n - t ? EDe(t, n, e) : cJ(isNaN(t) ? n : t);
};
}
-function uJ(e, t) {
+function lJ(e, t) {
var n = t - e;
- return n ? CDe(e, n) : lJ(isNaN(e) ? t : e);
+ return n ? TDe(e, n) : cJ(isNaN(e) ? t : e);
}
//#endregion
//#region node_modules/d3-interpolate/src/rgb.js
-var dJ = (function e(t) {
- var n = TDe(t);
+var uJ = (function e(t) {
+ var n = DDe(t);
function r(e, t) {
- var r = n((e = Xq(e)).r, (t = Xq(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = uJ(e.opacity, t.opacity);
+ var r = n((e = Yq(e)).r, (t = Yq(t)).r), i = n(e.g, t.g), a = n(e.b, t.b), o = lJ(e.opacity, t.opacity);
return function(t) {
return e.r = r(t), e.g = i(t), e.b = a(t), e.opacity = o(t), e + "";
};
@@ -59035,7 +59070,7 @@ var dJ = (function e(t) {
})(1);
//#endregion
//#region node_modules/d3-interpolate/src/numberArray.js
-function EDe(e, t) {
+function ODe(e, t) {
t ||= [];
var n = e ? Math.min(t.length, e.length) : 0, r = t.slice(), i;
return function(a) {
@@ -59043,14 +59078,14 @@ function EDe(e, t) {
return r;
};
}
-function DDe(e) {
+function kDe(e) {
return ArrayBuffer.isView(e) && !(e instanceof DataView);
}
//#endregion
//#region node_modules/d3-interpolate/src/array.js
-function ODe(e, t) {
+function ADe(e, t) {
var n = t ? t.length : 0, r = e ? Math.min(n, e.length) : 0, i = Array(r), a = Array(n), o;
- for (o = 0; o < r; ++o) i[o] = hJ(e[o], t[o]);
+ for (o = 0; o < r; ++o) i[o] = mJ(e[o], t[o]);
for (; o < n; ++o) a[o] = t[o];
return function(e) {
for (o = 0; o < r; ++o) a[o] = i[o](e);
@@ -59059,7 +59094,7 @@ function ODe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/date.js
-function kDe(e, t) {
+function jDe(e, t) {
var n = /* @__PURE__ */ new Date();
return e = +e, t = +t, function(r) {
return n.setTime(e * (1 - r) + t * r), n;
@@ -59067,16 +59102,16 @@ function kDe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/number.js
-function fJ(e, t) {
+function dJ(e, t) {
return e = +e, t = +t, function(n) {
return e * (1 - n) + t * n;
};
}
//#endregion
//#region node_modules/d3-interpolate/src/object.js
-function ADe(e, t) {
+function MDe(e, t) {
var n = {}, r = {}, i;
- for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = hJ(e[i], t[i]) : r[i] = t[i];
+ for (i in (typeof e != "object" || !e) && (e = {}), (typeof t != "object" || !t) && (t = {}), t) i in e ? n[i] = mJ(e[i], t[i]) : r[i] = t[i];
return function(e) {
for (i in n) r[i] = n[i](e);
return r;
@@ -59084,45 +59119,45 @@ function ADe(e, t) {
}
//#endregion
//#region node_modules/d3-interpolate/src/string.js
-var pJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, mJ = new RegExp(pJ.source, "g");
-function jDe(e) {
+var fJ = /[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g, pJ = new RegExp(fJ.source, "g");
+function NDe(e) {
return function() {
return e;
};
}
-function MDe(e) {
+function PDe(e) {
return function(t) {
return e(t) + "";
};
}
-function NDe(e, t) {
- var n = pJ.lastIndex = mJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
- for (e += "", t += ""; (r = pJ.exec(e)) && (i = mJ.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
+function FDe(e, t) {
+ var n = fJ.lastIndex = pJ.lastIndex = 0, r, i, a, o = -1, s = [], c = [];
+ for (e += "", t += ""; (r = fJ.exec(e)) && (i = pJ.exec(t));) (a = i.index) > n && (a = t.slice(n, a), s[o] ? s[o] += a : s[++o] = a), (r = r[0]) === (i = i[0]) ? s[o] ? s[o] += i : s[++o] = i : (s[++o] = null, c.push({
i: o,
- x: fJ(r, i)
- })), n = mJ.lastIndex;
- return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? MDe(c[0].x) : jDe(t) : (t = c.length, function(e) {
+ x: dJ(r, i)
+ })), n = pJ.lastIndex;
+ return n < t.length && (a = t.slice(n), s[o] ? s[o] += a : s[++o] = a), s.length < 2 ? c[0] ? PDe(c[0].x) : NDe(t) : (t = c.length, function(e) {
for (var n = 0, r; n < t; ++n) s[(r = c[n]).i] = r.x(e);
return s.join("");
});
}
//#endregion
//#region node_modules/d3-interpolate/src/value.js
-function hJ(e, t) {
+function mJ(e, t) {
var n = typeof t, r;
- return t == null || n === "boolean" ? lJ(t) : (n === "number" ? fJ : n === "string" ? (r = qq(t)) ? (t = r, dJ) : NDe : t instanceof qq ? dJ : t instanceof Date ? kDe : DDe(t) ? EDe : Array.isArray(t) ? ODe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? ADe : fJ)(e, t);
+ return t == null || n === "boolean" ? cJ(t) : (n === "number" ? dJ : n === "string" ? (r = Kq(t)) ? (t = r, uJ) : FDe : t instanceof Kq ? uJ : t instanceof Date ? jDe : kDe(t) ? ODe : Array.isArray(t) ? ADe : typeof t.valueOf != "function" && typeof t.toString != "function" || isNaN(t) ? MDe : dJ)(e, t);
}
//#endregion
//#region node_modules/d3-interpolate/src/round.js
-function gJ(e, t) {
+function hJ(e, t) {
return e = +e, t = +t, function(n) {
return Math.round(e * (1 - n) + t * n);
};
}
//#endregion
//#region node_modules/d3-interpolate/src/piecewise.js
-function PDe(e, t) {
- t === void 0 && (t = e, e = hJ);
+function IDe(e, t) {
+ t === void 0 && (t = e, e = mJ);
for (var n = 0, r = t.length - 1, i = t[0], a = Array(r < 0 ? 0 : r); n < r;) a[n] = e(i, i = t[++n]);
return function(e) {
var t = Math.max(0, Math.min(r - 1, Math.floor(e *= r)));
@@ -59131,69 +59166,69 @@ function PDe(e, t) {
}
//#endregion
//#region node_modules/d3-scale/src/constant.js
-function FDe(e) {
+function LDe(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-scale/src/number.js
-function _J(e) {
+function gJ(e) {
return +e;
}
//#endregion
//#region node_modules/d3-scale/src/continuous.js
-var vJ = [0, 1];
-function yJ(e) {
+var _J = [0, 1];
+function vJ(e) {
return e;
}
-function bJ(e, t) {
+function yJ(e, t) {
return (t -= e = +e) ? function(n) {
return (n - e) / t;
- } : FDe(isNaN(t) ? NaN : .5);
+ } : LDe(isNaN(t) ? NaN : .5);
}
-function IDe(e, t) {
+function RDe(e, t) {
var n;
return e > t && (n = e, e = t, t = n), function(n) {
return Math.max(e, Math.min(t, n));
};
}
-function LDe(e, t, n) {
+function zDe(e, t, n) {
var r = e[0], i = e[1], a = t[0], o = t[1];
- return i < r ? (r = bJ(i, r), a = n(o, a)) : (r = bJ(r, i), a = n(a, o)), function(e) {
+ return i < r ? (r = yJ(i, r), a = n(o, a)) : (r = yJ(r, i), a = n(a, o)), function(e) {
return a(r(e));
};
}
-function RDe(e, t, n) {
+function BDe(e, t, n) {
var r = Math.min(e.length, t.length) - 1, i = Array(r), a = Array(r), o = -1;
- for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = bJ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
+ for (e[r] < e[0] && (e = e.slice().reverse(), t = t.slice().reverse()); ++o < r;) i[o] = yJ(e[o], e[o + 1]), a[o] = n(t[o], t[o + 1]);
return function(t) {
- var n = gq(e, t, 1, r) - 1;
+ var n = hq(e, t, 1, r) - 1;
return a[n](i[n](t));
};
}
-function xJ(e, t) {
+function bJ(e, t) {
return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown());
}
-function SJ() {
- var e = vJ, t = vJ, n = hJ, r, i, a, o = yJ, s, c, l;
+function xJ() {
+ var e = _J, t = _J, n = mJ, r, i, a, o = vJ, s, c, l;
function u() {
var n = Math.min(e.length, t.length);
- return o !== yJ && (o = IDe(e[0], e[n - 1])), s = n > 2 ? RDe : LDe, c = l = null, d;
+ return o !== vJ && (o = RDe(e[0], e[n - 1])), s = n > 2 ? BDe : zDe, c = l = null, d;
}
function d(i) {
return i == null || isNaN(i = +i) ? a : (c ||= s(e.map(r), t, n))(r(o(i)));
}
return d.invert = function(n) {
- return o(i((l ||= s(t, e.map(r), fJ))(n)));
+ return o(i((l ||= s(t, e.map(r), dJ))(n)));
}, d.domain = function(t) {
- return arguments.length ? (e = Array.from(t, _J), u()) : e.slice();
+ return arguments.length ? (e = Array.from(t, gJ), u()) : e.slice();
}, d.range = function(e) {
return arguments.length ? (t = Array.from(e), u()) : t.slice();
}, d.rangeRound = function(e) {
- return t = Array.from(e), n = gJ, u();
+ return t = Array.from(e), n = hJ, u();
}, d.clamp = function(e) {
- return arguments.length ? (o = e ? !0 : yJ, u()) : o !== yJ;
+ return arguments.length ? (o = e ? !0 : vJ, u()) : o !== vJ;
}, d.interpolate = function(e) {
return arguments.length ? (n = e, u()) : n;
}, d.unknown = function(e) {
@@ -59202,27 +59237,27 @@ function SJ() {
return r = e, i = t, u();
};
}
-function CJ() {
- return SJ()(yJ, yJ);
+function SJ() {
+ return xJ()(vJ, vJ);
}
//#endregion
//#region node_modules/d3-format/src/formatDecimal.js
-function zDe(e) {
+function VDe(e) {
return Math.abs(e = Math.round(e)) >= 1e21 ? e.toLocaleString("en").replace(/,/g, "") : e.toString(10);
}
-function wJ(e, t) {
+function CJ(e, t) {
if (!isFinite(e) || e === 0) return null;
var n = (e = t ? e.toExponential(t - 1) : e.toExponential()).indexOf("e"), r = e.slice(0, n);
return [r.length > 1 ? r[0] + r.slice(2) : r, +e.slice(n + 1)];
}
//#endregion
//#region node_modules/d3-format/src/exponent.js
-function TJ(e) {
- return e = wJ(Math.abs(e)), e ? e[1] : NaN;
+function wJ(e) {
+ return e = CJ(Math.abs(e)), e ? e[1] : NaN;
}
//#endregion
//#region node_modules/d3-format/src/formatGroup.js
-function BDe(e, t) {
+function HDe(e, t) {
return function(n, r) {
for (var i = n.length, a = [], o = 0, s = e[0], c = 0; i > 0 && s > 0 && (c + s + 1 > r && (s = Math.max(1, r - c)), a.push(n.substring(i -= s, i + s)), !((c += s + 1) > r));) s = e[o = (o + 1) % e.length];
return a.reverse().join(t);
@@ -59230,7 +59265,7 @@ function BDe(e, t) {
}
//#endregion
//#region node_modules/d3-format/src/formatNumerals.js
-function VDe(e) {
+function UDe(e) {
return function(t) {
return t.replace(/[0-9]/g, function(t) {
return e[+t];
@@ -59239,11 +59274,11 @@ function VDe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatSpecifier.js
-var HDe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
-function EJ(e) {
- if (!(t = HDe.exec(e))) throw Error("invalid format: " + e);
+var WDe = /^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;
+function TJ(e) {
+ if (!(t = WDe.exec(e))) throw Error("invalid format: " + e);
var t;
- return new DJ({
+ return new EJ({
fill: t[1],
align: t[2],
sign: t[3],
@@ -59256,16 +59291,16 @@ function EJ(e) {
type: t[10]
});
}
-EJ.prototype = DJ.prototype;
-function DJ(e) {
+TJ.prototype = EJ.prototype;
+function EJ(e) {
this.fill = e.fill === void 0 ? " " : e.fill + "", this.align = e.align === void 0 ? ">" : e.align + "", this.sign = e.sign === void 0 ? "-" : e.sign + "", this.symbol = e.symbol === void 0 ? "" : e.symbol + "", this.zero = !!e.zero, this.width = e.width === void 0 ? void 0 : +e.width, this.comma = !!e.comma, this.precision = e.precision === void 0 ? void 0 : +e.precision, this.trim = !!e.trim, this.type = e.type === void 0 ? "" : e.type + "";
}
-DJ.prototype.toString = function() {
+EJ.prototype.toString = function() {
return this.fill + this.align + this.sign + this.symbol + (this.zero ? "0" : "") + (this.width === void 0 ? "" : Math.max(1, this.width | 0)) + (this.comma ? "," : "") + (this.precision === void 0 ? "" : "." + Math.max(0, this.precision | 0)) + (this.trim ? "~" : "") + this.type;
};
//#endregion
//#region node_modules/d3-format/src/formatTrim.js
-function UDe(e) {
+function GDe(e) {
out: for (var t = e.length, n = 1, r = -1, i; n < t; ++n) switch (e[n]) {
case ".":
r = i = n;
@@ -59281,46 +59316,46 @@ function UDe(e) {
}
//#endregion
//#region node_modules/d3-format/src/formatPrefixAuto.js
-var OJ;
-function WDe(e, t) {
- var n = wJ(e, t);
- if (!n) return OJ = void 0, e.toPrecision(t);
- var r = n[0], i = n[1], a = i - (OJ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
- return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + wJ(e, Math.max(0, t + a - 1))[0];
+var DJ;
+function KDe(e, t) {
+ var n = CJ(e, t);
+ if (!n) return DJ = void 0, e.toPrecision(t);
+ var r = n[0], i = n[1], a = i - (DJ = Math.max(-8, Math.min(8, Math.floor(i / 3))) * 3) + 1, o = r.length;
+ return a === o ? r : a > o ? r + Array(a - o + 1).join("0") : a > 0 ? r.slice(0, a) + "." + r.slice(a) : "0." + Array(1 - a).join("0") + CJ(e, Math.max(0, t + a - 1))[0];
}
//#endregion
//#region node_modules/d3-format/src/formatRounded.js
-function kJ(e, t) {
- var n = wJ(e, t);
+function OJ(e, t) {
+ var n = CJ(e, t);
if (!n) return e + "";
var r = n[0], i = n[1];
return i < 0 ? "0." + Array(-i).join("0") + r : r.length > i + 1 ? r.slice(0, i + 1) + "." + r.slice(i + 1) : r + Array(i - r.length + 2).join("0");
}
//#endregion
//#region node_modules/d3-format/src/formatTypes.js
-var AJ = {
+var kJ = {
"%": (e, t) => (e * 100).toFixed(t),
b: (e) => Math.round(e).toString(2),
c: (e) => e + "",
- d: zDe,
+ d: VDe,
e: (e, t) => e.toExponential(t),
f: (e, t) => e.toFixed(t),
g: (e, t) => e.toPrecision(t),
o: (e) => Math.round(e).toString(8),
- p: (e, t) => kJ(e * 100, t),
- r: kJ,
- s: WDe,
+ p: (e, t) => OJ(e * 100, t),
+ r: OJ,
+ s: KDe,
X: (e) => Math.round(e).toString(16).toUpperCase(),
x: (e) => Math.round(e).toString(16)
};
//#endregion
//#region node_modules/d3-format/src/identity.js
-function jJ(e) {
+function AJ(e) {
return e;
}
//#endregion
//#region node_modules/d3-format/src/locale.js
-var MJ = Array.prototype.map, NJ = [
+var jJ = Array.prototype.map, MJ = [
"y",
"z",
"a",
@@ -59339,13 +59374,13 @@ var MJ = Array.prototype.map, NJ = [
"Z",
"Y"
];
-function GDe(e) {
- var t = e.grouping === void 0 || e.thousands === void 0 ? jJ : BDe(MJ.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? jJ : VDe(MJ.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
+function qDe(e) {
+ var t = e.grouping === void 0 || e.thousands === void 0 ? AJ : HDe(jJ.call(e.grouping, Number), e.thousands + ""), n = e.currency === void 0 ? "" : e.currency[0] + "", r = e.currency === void 0 ? "" : e.currency[1] + "", i = e.decimal === void 0 ? "." : e.decimal + "", a = e.numerals === void 0 ? AJ : UDe(jJ.call(e.numerals, String)), o = e.percent === void 0 ? "%" : e.percent + "", s = e.minus === void 0 ? "−" : e.minus + "", c = e.nan === void 0 ? "NaN" : e.nan + "";
function l(e, l) {
- e = EJ(e);
+ e = TJ(e);
var u = e.fill, d = e.align, f = e.sign, p = e.symbol, m = e.zero, h = e.width, g = e.comma, _ = e.precision, v = e.trim, y = e.type;
- y === "n" ? (g = !0, y = "g") : AJ[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
- var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = AJ[y], C = /[defgprs%]/.test(y);
+ y === "n" ? (g = !0, y = "g") : kJ[y] || (_ === void 0 && (_ = 12), v = !0, y = "g"), (m || u === "0" && d === "=") && (m = !0, u = "0", d = "=");
+ var b = (l && l.prefix !== void 0 ? l.prefix : "") + (p === "$" ? n : p === "#" && /[boxX]/.test(y) ? "0" + y.toLowerCase() : ""), x = (p === "$" ? r : /[%p]/.test(y) ? o : "") + (l && l.suffix !== void 0 ? l.suffix : ""), S = kJ[y], C = /[defgprs%]/.test(y);
_ = _ === void 0 ? 6 : /[gprs]/.test(y) ? Math.max(1, Math.min(21, _)) : Math.max(0, Math.min(20, _));
function w(e) {
var n = b, r = x, o, l, p;
@@ -59353,7 +59388,7 @@ function GDe(e) {
else {
e = +e;
var w = e < 0 || 1 / e < 0;
- if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = UDe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && OJ !== void 0 ? NJ[8 + OJ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
+ if (e = isNaN(e) ? c : S(Math.abs(e), _), v && (e = GDe(e)), w && +e == 0 && f !== "+" && (w = !1), n = (w ? f === "(" ? f : s : f === "-" || f === "(" ? "" : f) + n, r = (y === "s" && !isNaN(e) && DJ !== void 0 ? MJ[8 + DJ / 3] : "") + r + (w && f === "(" ? ")" : ""), C) {
for (o = -1, l = e.length; ++o < l;) if (p = e.charCodeAt(o), 48 > p || p > 57) {
r = (p === 46 ? i + e.slice(o + 1) : e.slice(o)) + r, e = e.slice(0, o);
break;
@@ -59381,7 +59416,7 @@ function GDe(e) {
}, w;
}
function u(e, t) {
- var n = Math.max(-8, Math.min(8, Math.floor(TJ(t) / 3))) * 3, r = 10 ** -n, i = l((e = EJ(e), e.type = "f", e), { suffix: NJ[8 + n / 3] });
+ var n = Math.max(-8, Math.min(8, Math.floor(wJ(t) / 3))) * 3, r = 10 ** -n, i = l((e = TJ(e), e.type = "f", e), { suffix: MJ[8 + n / 3] });
return function(e) {
return i(r * e);
};
@@ -59393,65 +59428,65 @@ function GDe(e) {
}
//#endregion
//#region node_modules/d3-format/src/defaultLocale.js
-var PJ, FJ, IJ;
-KDe({
+var NJ, PJ, FJ;
+JDe({
thousands: ",",
grouping: [3],
currency: ["$", ""]
});
-function KDe(e) {
- return PJ = GDe(e), FJ = PJ.format, IJ = PJ.formatPrefix, PJ;
+function JDe(e) {
+ return NJ = qDe(e), PJ = NJ.format, FJ = NJ.formatPrefix, NJ;
}
//#endregion
//#region node_modules/d3-format/src/precisionFixed.js
-function qDe(e) {
- return Math.max(0, -TJ(Math.abs(e)));
+function YDe(e) {
+ return Math.max(0, -wJ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionPrefix.js
-function JDe(e, t) {
- return Math.max(0, Math.max(-8, Math.min(8, Math.floor(TJ(t) / 3))) * 3 - TJ(Math.abs(e)));
+function XDe(e, t) {
+ return Math.max(0, Math.max(-8, Math.min(8, Math.floor(wJ(t) / 3))) * 3 - wJ(Math.abs(e)));
}
//#endregion
//#region node_modules/d3-format/src/precisionRound.js
-function YDe(e, t) {
- return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, TJ(t) - TJ(e)) + 1;
+function ZDe(e, t) {
+ return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, wJ(t) - wJ(e)) + 1;
}
//#endregion
//#region node_modules/d3-scale/src/tickFormat.js
-function LJ(e, t, n, r) {
- var i = wq(e, t, n), a;
- switch (r = EJ(r ?? ",f"), r.type) {
+function IJ(e, t, n, r) {
+ var i = Cq(e, t, n), a;
+ switch (r = TJ(r ?? ",f"), r.type) {
case "s":
var o = Math.max(Math.abs(e), Math.abs(t));
- return r.precision == null && !isNaN(a = JDe(i, o)) && (r.precision = a), IJ(r, o);
+ return r.precision == null && !isNaN(a = XDe(i, o)) && (r.precision = a), FJ(r, o);
case "":
case "e":
case "g":
case "p":
case "r":
- r.precision == null && !isNaN(a = YDe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
+ r.precision == null && !isNaN(a = ZDe(i, Math.max(Math.abs(e), Math.abs(t)))) && (r.precision = a - (r.type === "e"));
break;
case "f":
- case "%": r.precision == null && !isNaN(a = qDe(i)) && (r.precision = a - (r.type === "%") * 2);
+ case "%": r.precision == null && !isNaN(a = YDe(i)) && (r.precision = a - (r.type === "%") * 2);
}
- return FJ(r);
+ return PJ(r);
}
//#endregion
//#region node_modules/d3-scale/src/linear.js
-function RJ(e) {
+function LJ(e) {
var t = e.domain;
return e.ticks = function(e) {
var n = t();
- return Sq(n[0], n[n.length - 1], e ?? 10);
+ return xq(n[0], n[n.length - 1], e ?? 10);
}, e.tickFormat = function(e, n) {
var r = t();
- return LJ(r[0], r[r.length - 1], e ?? 10, n);
+ return IJ(r[0], r[r.length - 1], e ?? 10, n);
}, e.nice = function(n) {
n ??= 10;
var r = t(), i = 0, a = r.length - 1, o = r[i], s = r[a], c, l, u = 10;
for (s < o && (l = o, o = s, s = l, l = i, i = a, a = l); u-- > 0;) {
- if (l = Cq(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
+ if (l = Sq(o, s, n), l === c) return r[i] = o, r[a] = s, t(r);
if (l > 0) o = Math.floor(o / l) * l, s = Math.ceil(s / l) * l;
else if (l < 0) o = Math.ceil(o * l) / l, s = Math.floor(s * l) / l;
else break;
@@ -59460,64 +59495,64 @@ function RJ(e) {
return e;
}, e;
}
-function zJ() {
- var e = CJ();
+function RJ() {
+ var e = SJ();
return e.copy = function() {
- return xJ(e, zJ());
- }, Aq.apply(e, arguments), RJ(e);
+ return bJ(e, RJ());
+ }, kq.apply(e, arguments), LJ(e);
}
//#endregion
//#region node_modules/d3-scale/src/identity.js
-function BJ(e) {
+function zJ(e) {
var t;
function n(e) {
return e == null || isNaN(e = +e) ? t : e;
}
return n.invert = n, n.domain = n.range = function(t) {
- return arguments.length ? (e = Array.from(t, _J), n) : e.slice();
+ return arguments.length ? (e = Array.from(t, gJ), n) : e.slice();
}, n.unknown = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.copy = function() {
- return BJ(e).unknown(t);
- }, e = arguments.length ? Array.from(e, _J) : [0, 1], RJ(n);
+ return zJ(e).unknown(t);
+ }, e = arguments.length ? Array.from(e, gJ) : [0, 1], LJ(n);
}
//#endregion
//#region node_modules/d3-scale/src/nice.js
-function VJ(e, t) {
+function BJ(e, t) {
e = e.slice();
var n = 0, r = e.length - 1, i = e[n], a = e[r], o;
return a < i && (o = n, n = r, r = o, o = i, i = a, a = o), e[n] = t.floor(i), e[r] = t.ceil(a), e;
}
//#endregion
//#region node_modules/d3-scale/src/log.js
-function HJ(e) {
+function VJ(e) {
return Math.log(e);
}
-function UJ(e) {
+function HJ(e) {
return Math.exp(e);
}
-function XDe(e) {
+function QDe(e) {
return -Math.log(-e);
}
-function ZDe(e) {
+function $De(e) {
return -Math.exp(-e);
}
-function QDe(e) {
+function eOe(e) {
return isFinite(e) ? +("1e" + e) : e < 0 ? 0 : e;
}
-function $De(e) {
- return e === 10 ? QDe : e === Math.E ? Math.exp : (t) => e ** +t;
+function tOe(e) {
+ return e === 10 ? eOe : e === Math.E ? Math.exp : (t) => e ** +t;
}
-function eOe(e) {
+function nOe(e) {
return e === Math.E ? Math.log : e === 10 && Math.log10 || e === 2 && Math.log2 || (e = Math.log(e), (t) => Math.log(t) / e);
}
-function WJ(e) {
+function UJ(e) {
return (t, n) => -e(-t, n);
}
-function GJ(e) {
- let t = e(HJ, UJ), n = t.domain, r = 10, i, a;
+function WJ(e) {
+ let t = e(VJ, HJ), n = t.domain, r = 10, i, a;
function o() {
- return i = eOe(r), a = $De(r), n()[0] < 0 ? (i = WJ(i), a = WJ(a), e(XDe, ZDe)) : e(HJ, UJ), t;
+ return i = nOe(r), a = tOe(r), n()[0] < 0 ? (i = UJ(i), a = UJ(a), e(QDe, $De)) : e(VJ, HJ), t;
}
return t.base = function(e) {
return arguments.length ? (r = +e, o()) : r;
@@ -59537,100 +59572,100 @@ function GJ(e) {
if (f > s) break;
m.push(f);
}
- m.length * 2 < p && (m = Sq(o, s, p));
- } else m = Sq(l, u, Math.min(u - l, p)).map(a);
+ m.length * 2 < p && (m = xq(o, s, p));
+ } else m = xq(l, u, Math.min(u - l, p)).map(a);
return c ? m.reverse() : m;
}, t.tickFormat = (e, n) => {
- if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = EJ(n)).precision == null && (n.trim = !0), n = FJ(n)), e === Infinity) return n;
+ if (e ??= 10, n ??= r === 10 ? "s" : ",", typeof n != "function" && (!(r % 1) && (n = TJ(n)).precision == null && (n.trim = !0), n = PJ(n)), e === Infinity) return n;
let o = Math.max(1, r * e / t.ticks().length);
return (e) => {
let t = e / a(Math.round(i(e)));
return t * r < r - .5 && (t *= r), t <= o ? n(e) : "";
};
- }, t.nice = () => n(VJ(n(), {
+ }, t.nice = () => n(BJ(n(), {
floor: (e) => a(Math.floor(i(e))),
ceil: (e) => a(Math.ceil(i(e)))
})), t;
}
-function KJ() {
- let e = GJ(SJ()).domain([1, 10]);
- return e.copy = () => xJ(e, KJ()).base(e.base()), Aq.apply(e, arguments), e;
+function GJ() {
+ let e = WJ(xJ()).domain([1, 10]);
+ return e.copy = () => bJ(e, GJ()).base(e.base()), kq.apply(e, arguments), e;
}
//#endregion
//#region node_modules/d3-scale/src/symlog.js
-function qJ(e) {
+function KJ(e) {
return function(t) {
return Math.sign(t) * Math.log1p(Math.abs(t / e));
};
}
-function JJ(e) {
+function qJ(e) {
return function(t) {
return Math.sign(t) * Math.expm1(Math.abs(t)) * e;
};
}
-function YJ(e) {
- var t = 1, n = e(qJ(t), JJ(t));
+function JJ(e) {
+ var t = 1, n = e(KJ(t), qJ(t));
return n.constant = function(n) {
- return arguments.length ? e(qJ(t = +n), JJ(t)) : t;
- }, RJ(n);
+ return arguments.length ? e(KJ(t = +n), qJ(t)) : t;
+ }, LJ(n);
}
-function XJ() {
- var e = YJ(SJ());
+function YJ() {
+ var e = JJ(xJ());
return e.copy = function() {
- return xJ(e, XJ()).constant(e.constant());
- }, Aq.apply(e, arguments);
+ return bJ(e, YJ()).constant(e.constant());
+ }, kq.apply(e, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/pow.js
-function ZJ(e) {
+function XJ(e) {
return function(t) {
return t < 0 ? -((-t) ** +e) : t ** +e;
};
}
-function tOe(e) {
+function rOe(e) {
return e < 0 ? -Math.sqrt(-e) : Math.sqrt(e);
}
-function nOe(e) {
+function iOe(e) {
return e < 0 ? -e * e : e * e;
}
-function QJ(e) {
- var t = e(yJ, yJ), n = 1;
+function ZJ(e) {
+ var t = e(vJ, vJ), n = 1;
function r() {
- return n === 1 ? e(yJ, yJ) : n === .5 ? e(tOe, nOe) : e(ZJ(n), ZJ(1 / n));
+ return n === 1 ? e(vJ, vJ) : n === .5 ? e(rOe, iOe) : e(XJ(n), XJ(1 / n));
}
return t.exponent = function(e) {
return arguments.length ? (n = +e, r()) : n;
- }, RJ(t);
+ }, LJ(t);
}
-function $J() {
- var e = QJ(SJ());
+function QJ() {
+ var e = ZJ(xJ());
return e.copy = function() {
- return xJ(e, $J()).exponent(e.exponent());
- }, Aq.apply(e, arguments), e;
+ return bJ(e, QJ()).exponent(e.exponent());
+ }, kq.apply(e, arguments), e;
}
-function rOe() {
- return $J.apply(null, arguments).exponent(.5);
+function aOe() {
+ return QJ.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/radial.js
-function eY(e) {
+function $J(e) {
return Math.sign(e) * e * e;
}
-function iOe(e) {
+function oOe(e) {
return Math.sign(e) * Math.sqrt(Math.abs(e));
}
-function tY() {
- var e = CJ(), t = [0, 1], n = !1, r;
+function eY() {
+ var e = SJ(), t = [0, 1], n = !1, r;
function i(t) {
- var i = iOe(e(t));
+ var i = oOe(e(t));
return isNaN(i) ? r : n ? Math.round(i) : i;
}
return i.invert = function(t) {
- return e.invert(eY(t));
+ return e.invert($J(t));
}, i.domain = function(t) {
return arguments.length ? (e.domain(t), i) : e.domain();
}, i.range = function(n) {
- return arguments.length ? (e.range((t = Array.from(n, _J)).map(eY)), i) : t.slice();
+ return arguments.length ? (e.range((t = Array.from(n, gJ)).map($J)), i) : t.slice();
}, i.rangeRound = function(e) {
return i.range(e).round(!0);
}, i.round = function(e) {
@@ -59640,20 +59675,20 @@ function tY() {
}, i.unknown = function(e) {
return arguments.length ? (r = e, i) : r;
}, i.copy = function() {
- return tY(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
- }, Aq.apply(i, arguments), RJ(i);
+ return eY(e.domain(), t).round(n).clamp(e.clamp()).unknown(r);
+ }, kq.apply(i, arguments), LJ(i);
}
//#endregion
//#region node_modules/d3-scale/src/quantile.js
-function nY() {
+function tY() {
var e = [], t = [], n = [], r;
function i() {
var r = 0, i = Math.max(1, t.length);
- for (n = Array(i - 1); ++r < i;) n[r - 1] = cDe(e, r / i);
+ for (n = Array(i - 1); ++r < i;) n[r - 1] = uDe(e, r / i);
return a;
}
function a(e) {
- return e == null || isNaN(e = +e) ? r : t[gq(n, e)];
+ return e == null || isNaN(e = +e) ? r : t[hq(n, e)];
}
return a.invertExtent = function(r) {
var i = t.indexOf(r);
@@ -59662,7 +59697,7 @@ function nY() {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(fq), i();
+ return e.sort(dq), i();
}, a.range = function(e) {
return arguments.length ? (t = Array.from(e), i()) : t.slice();
}, a.unknown = function(e) {
@@ -59670,15 +59705,15 @@ function nY() {
}, a.quantiles = function() {
return n.slice();
}, a.copy = function() {
- return nY().domain(e).range(t).unknown(r);
- }, Aq.apply(a, arguments);
+ return tY().domain(e).range(t).unknown(r);
+ }, kq.apply(a, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/quantize.js
-function rY() {
+function nY() {
var e = 0, t = 1, n = 1, r = [.5], i = [0, 1], a;
function o(e) {
- return e != null && e <= e ? i[gq(r, e, 0, n)] : a;
+ return e != null && e <= e ? i[hq(r, e, 0, n)] : a;
}
function s() {
var i = -1;
@@ -59697,15 +59732,15 @@ function rY() {
}, o.thresholds = function() {
return r.slice();
}, o.copy = function() {
- return rY().domain([e, t]).range(i).unknown(a);
- }, Aq.apply(RJ(o), arguments);
+ return nY().domain([e, t]).range(i).unknown(a);
+ }, kq.apply(LJ(o), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/threshold.js
-function iY() {
+function rY() {
var e = [.5], t = [0, 1], n, r = 1;
function i(i) {
- return i != null && i <= i ? t[gq(e, i, 0, r)] : n;
+ return i != null && i <= i ? t[hq(e, i, 0, r)] : n;
}
return i.domain = function(n) {
return arguments.length ? (e = Array.from(n), r = Math.min(e.length, t.length - 1), i) : e.slice();
@@ -59717,13 +59752,13 @@ function iY() {
}, i.unknown = function(e) {
return arguments.length ? (n = e, i) : n;
}, i.copy = function() {
- return iY().domain(e).range(t).unknown(n);
- }, Aq.apply(i, arguments);
+ return rY().domain(e).range(t).unknown(n);
+ }, kq.apply(i, arguments);
}
//#endregion
//#region node_modules/d3-time/src/interval.js
-var aY = /* @__PURE__ */ new Date(), oY = /* @__PURE__ */ new Date();
-function sY(e, t, n, r) {
+var iY = /* @__PURE__ */ new Date(), aY = /* @__PURE__ */ new Date();
+function oY(e, t, n, r) {
function i(t) {
return e(t = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+t)), t;
}
@@ -59738,226 +59773,226 @@ function sY(e, t, n, r) {
o.push(s = /* @__PURE__ */ new Date(+n)), t(n, a), e(n);
while (s < n && n < r);
return o;
- }, i.filter = (n) => sY((t) => {
+ }, i.filter = (n) => oY((t) => {
if (t >= t) for (; e(t), !n(t);) t.setTime(t - 1);
}, (e, r) => {
if (e >= e) {
if (r < 0) for (; ++r <= 0;) for (; t(e, -1), !n(e););
else for (; --r >= 0;) for (; t(e, 1), !n(e););
}
- }), n && (i.count = (t, r) => (aY.setTime(+t), oY.setTime(+r), e(aY), e(oY), Math.floor(n(aY, oY))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
+ }), n && (i.count = (t, r) => (iY.setTime(+t), aY.setTime(+r), e(iY), e(aY), Math.floor(n(iY, aY))), i.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? i.filter(r ? (t) => r(t) % e === 0 : (t) => i.count(0, t) % e === 0) : i)), i;
}
//#endregion
//#region node_modules/d3-time/src/millisecond.js
-var cY = sY(() => {}, (e, t) => {
+var sY = oY(() => {}, (e, t) => {
e.setTime(+e + t);
}, (e, t) => t - e);
-cY.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? sY((t) => {
+sY.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? oY((t) => {
t.setTime(Math.floor(t / e) * e);
}, (t, n) => {
t.setTime(+t + n * e);
-}, (t, n) => (n - t) / e) : cY), cY.range;
+}, (t, n) => (n - t) / e) : sY), sY.range;
//#endregion
//#region node_modules/d3-time/src/duration.js
-var lY = 1e3, uY = lY * 60, dY = uY * 60, fY = dY * 24, pY = fY * 7, mY = fY * 30, hY = fY * 365, gY = sY((e) => {
+var cY = 1e3, lY = cY * 60, uY = lY * 60, dY = uY * 24, fY = dY * 7, pY = dY * 30, mY = dY * 365, hY = oY((e) => {
e.setTime(e - e.getMilliseconds());
}, (e, t) => {
- e.setTime(+e + t * lY);
-}, (e, t) => (t - e) / lY, (e) => e.getUTCSeconds());
-gY.range;
+ e.setTime(+e + t * cY);
+}, (e, t) => (t - e) / cY, (e) => e.getUTCSeconds());
+hY.range;
//#endregion
//#region node_modules/d3-time/src/minute.js
-var _Y = sY((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * lY);
+var gY = oY((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * cY);
}, (e, t) => {
- e.setTime(+e + t * uY);
-}, (e, t) => (t - e) / uY, (e) => e.getMinutes());
-_Y.range;
-var vY = sY((e) => {
+ e.setTime(+e + t * lY);
+}, (e, t) => (t - e) / lY, (e) => e.getMinutes());
+gY.range;
+var _Y = oY((e) => {
e.setUTCSeconds(0, 0);
}, (e, t) => {
- e.setTime(+e + t * uY);
-}, (e, t) => (t - e) / uY, (e) => e.getUTCMinutes());
-vY.range;
+ e.setTime(+e + t * lY);
+}, (e, t) => (t - e) / lY, (e) => e.getUTCMinutes());
+_Y.range;
//#endregion
//#region node_modules/d3-time/src/hour.js
-var yY = sY((e) => {
- e.setTime(e - e.getMilliseconds() - e.getSeconds() * lY - e.getMinutes() * uY);
+var vY = oY((e) => {
+ e.setTime(e - e.getMilliseconds() - e.getSeconds() * cY - e.getMinutes() * lY);
}, (e, t) => {
- e.setTime(+e + t * dY);
-}, (e, t) => (t - e) / dY, (e) => e.getHours());
-yY.range;
-var bY = sY((e) => {
+ e.setTime(+e + t * uY);
+}, (e, t) => (t - e) / uY, (e) => e.getHours());
+vY.range;
+var yY = oY((e) => {
e.setUTCMinutes(0, 0, 0);
}, (e, t) => {
- e.setTime(+e + t * dY);
-}, (e, t) => (t - e) / dY, (e) => e.getUTCHours());
-bY.range;
+ e.setTime(+e + t * uY);
+}, (e, t) => (t - e) / uY, (e) => e.getUTCHours());
+yY.range;
//#endregion
//#region node_modules/d3-time/src/day.js
-var xY = sY((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * uY) / fY, (e) => e.getDate() - 1);
-xY.range;
-var SY = sY((e) => {
+var bY = oY((e) => e.setHours(0, 0, 0, 0), (e, t) => e.setDate(e.getDate() + t), (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * lY) / dY, (e) => e.getDate() - 1);
+bY.range;
+var xY = oY((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / fY, (e) => e.getUTCDate() - 1);
-SY.range;
-var CY = sY((e) => {
+}, (e, t) => (t - e) / dY, (e) => e.getUTCDate() - 1);
+xY.range;
+var SY = oY((e) => {
e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t);
-}, (e, t) => (t - e) / fY, (e) => Math.floor(e / fY));
-CY.range;
+}, (e, t) => (t - e) / dY, (e) => Math.floor(e / dY));
+SY.range;
//#endregion
//#region node_modules/d3-time/src/week.js
-function wY(e) {
- return sY((t) => {
+function CY(e) {
+ return oY((t) => {
t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setDate(e.getDate() + t * 7);
- }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * uY) / pY);
+ }, (e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * lY) / fY);
}
-var TY = wY(0), EY = wY(1), aOe = wY(2), oOe = wY(3), DY = wY(4), sOe = wY(5), cOe = wY(6);
-TY.range, EY.range, aOe.range, oOe.range, DY.range, sOe.range, cOe.range;
-function OY(e) {
- return sY((t) => {
+var wY = CY(0), TY = CY(1), sOe = CY(2), cOe = CY(3), EY = CY(4), lOe = CY(5), uOe = CY(6);
+wY.range, TY.range, sOe.range, cOe.range, EY.range, lOe.range, uOe.range;
+function DY(e) {
+ return oY((t) => {
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCDate(e.getUTCDate() + t * 7);
- }, (e, t) => (t - e) / pY);
+ }, (e, t) => (t - e) / fY);
}
-var kY = OY(0), AY = OY(1), lOe = OY(2), uOe = OY(3), jY = OY(4), dOe = OY(5), fOe = OY(6);
-kY.range, AY.range, lOe.range, uOe.range, jY.range, dOe.range, fOe.range;
+var OY = DY(0), kY = DY(1), dOe = DY(2), fOe = DY(3), AY = DY(4), pOe = DY(5), mOe = DY(6);
+OY.range, kY.range, dOe.range, fOe.range, AY.range, pOe.range, mOe.range;
//#endregion
//#region node_modules/d3-time/src/month.js
-var MY = sY((e) => {
+var jY = oY((e) => {
e.setDate(1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setMonth(e.getMonth() + t);
}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
-MY.range;
-var NY = sY((e) => {
+jY.range;
+var MY = oY((e) => {
e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCMonth(e.getUTCMonth() + t);
}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
-NY.range;
+MY.range;
//#endregion
//#region node_modules/d3-time/src/year.js
-var PY = sY((e) => {
+var NY = oY((e) => {
e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
}, (e, t) => {
e.setFullYear(e.getFullYear() + t);
}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());
-PY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : sY((t) => {
+NY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : oY((t) => {
t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
}, (t, n) => {
t.setFullYear(t.getFullYear() + n * e);
-}), PY.range;
-var FY = sY((e) => {
+}), NY.range;
+var PY = oY((e) => {
e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
}, (e, t) => {
e.setUTCFullYear(e.getUTCFullYear() + t);
}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());
-FY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : sY((t) => {
+PY.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : oY((t) => {
t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
}, (t, n) => {
t.setUTCFullYear(t.getUTCFullYear() + n * e);
-}), FY.range;
+}), PY.range;
//#endregion
//#region node_modules/d3-time/src/ticks.js
-function IY(e, t, n, r, i, a) {
+function FY(e, t, n, r, i, a) {
let o = [
[
- gY,
+ hY,
1,
- lY
+ cY
],
[
- gY,
+ hY,
5,
- 5 * lY
+ 5 * cY
],
[
- gY,
+ hY,
15,
- 15 * lY
+ 15 * cY
],
[
- gY,
+ hY,
30,
- 30 * lY
+ 30 * cY
],
[
a,
1,
- uY
+ lY
],
[
a,
5,
- 5 * uY
+ 5 * lY
],
[
a,
15,
- 15 * uY
+ 15 * lY
],
[
a,
30,
- 30 * uY
+ 30 * lY
],
[
i,
1,
- dY
+ uY
],
[
i,
3,
- 3 * dY
+ 3 * uY
],
[
i,
6,
- 6 * dY
+ 6 * uY
],
[
i,
12,
- 12 * dY
+ 12 * uY
],
[
r,
1,
- fY
+ dY
],
[
r,
2,
- 2 * fY
+ 2 * dY
],
[
n,
1,
- pY
+ fY
],
[
t,
1,
- mY
+ pY
],
[
t,
3,
- 3 * mY
+ 3 * pY
],
[
e,
1,
- hY
+ mY
]
];
function s(e, t, n) {
@@ -59967,32 +60002,32 @@ function IY(e, t, n, r, i, a) {
return r ? a.reverse() : a;
}
function c(t, n, r) {
- let i = Math.abs(n - t) / r, a = pq(([, , e]) => e).right(o, i);
- if (a === o.length) return e.every(wq(t / hY, n / hY, r));
- if (a === 0) return cY.every(Math.max(wq(t, n, r), 1));
+ let i = Math.abs(n - t) / r, a = fq(([, , e]) => e).right(o, i);
+ if (a === o.length) return e.every(Cq(t / mY, n / mY, r));
+ if (a === 0) return sY.every(Math.max(Cq(t, n, r), 1));
let [s, c] = o[i / o[a - 1][2] < o[a][2] / i ? a - 1 : a];
return s.every(c);
}
return [s, c];
}
-var [pOe, mOe] = IY(FY, NY, kY, CY, bY, vY), [hOe, gOe] = IY(PY, MY, TY, xY, yY, _Y);
+var [hOe, gOe] = FY(PY, MY, OY, SY, yY, _Y), [_Oe, vOe] = FY(NY, jY, wY, bY, vY, gY);
//#endregion
//#region node_modules/d3-time-format/src/locale.js
-function LY(e) {
+function IY(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(-1, e.m, e.d, e.H, e.M, e.S, e.L);
return t.setFullYear(e.y), t;
}
return new Date(e.y, e.m, e.d, e.H, e.M, e.S, e.L);
}
-function RY(e) {
+function LY(e) {
if (0 <= e.y && e.y < 100) {
var t = new Date(Date.UTC(-1, e.m, e.d, e.H, e.M, e.S, e.L));
return t.setUTCFullYear(e.y), t;
}
return new Date(Date.UTC(e.y, e.m, e.d, e.H, e.M, e.S, e.L));
}
-function zY(e, t, n) {
+function RY(e, t, n) {
return {
y: e,
m: t,
@@ -60003,133 +60038,133 @@ function zY(e, t, n) {
L: 0
};
}
-function _Oe(e) {
- var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = UY(i), u = WY(i), d = UY(a), f = WY(a), p = UY(o), m = WY(o), h = UY(s), g = WY(s), _ = UY(c), v = WY(c), y = {
+function yOe(e) {
+ var t = e.dateTime, n = e.date, r = e.time, i = e.periods, a = e.days, o = e.shortDays, s = e.months, c = e.shortMonths, l = HY(i), u = UY(i), d = HY(a), f = UY(a), p = HY(o), m = UY(o), h = HY(s), g = UY(s), _ = HY(c), v = UY(c), y = {
a: N,
A: ee,
b: te,
B: P,
c: null,
- d: YY,
- e: YY,
- f: BOe,
- g: XOe,
- G: QOe,
- H: LOe,
- I: ROe,
- j: zOe,
- L: XY,
- m: VOe,
- M: HOe,
+ d: JY,
+ e: JY,
+ f: HOe,
+ g: QOe,
+ G: eke,
+ H: zOe,
+ I: BOe,
+ j: VOe,
+ L: YY,
+ m: UOe,
+ M: WOe,
p: F,
q: ne,
- Q: nX,
- s: rX,
- S: UOe,
- u: WOe,
- U: GOe,
- V: KOe,
- w: qOe,
- W: JOe,
+ Q: tX,
+ s: nX,
+ S: GOe,
+ u: KOe,
+ U: qOe,
+ V: JOe,
+ w: YOe,
+ W: XOe,
x: null,
X: null,
- y: YOe,
- Y: ZOe,
- Z: $Oe,
- "%": tX
+ y: ZOe,
+ Y: $Oe,
+ Z: tke,
+ "%": eX
}, b = {
a: re,
A: ie,
b: ae,
B: oe,
c: null,
- d: QY,
- e: QY,
- f: rke,
- g: pke,
- G: hke,
- H: eke,
- I: tke,
- j: nke,
- L: $Y,
- m: ike,
- M: ake,
+ d: ZY,
+ e: ZY,
+ f: ake,
+ g: hke,
+ G: _ke,
+ H: nke,
+ I: rke,
+ j: ike,
+ L: QY,
+ m: oke,
+ M: ske,
p: se,
q: ce,
- Q: nX,
- s: rX,
- S: oke,
- u: ske,
- U: cke,
- V: lke,
- w: uke,
- W: dke,
+ Q: tX,
+ s: nX,
+ S: cke,
+ u: lke,
+ U: uke,
+ V: dke,
+ w: fke,
+ W: pke,
x: null,
X: null,
- y: fke,
- Y: mke,
- Z: gke,
- "%": tX
+ y: mke,
+ Y: gke,
+ Z: vke,
+ "%": eX
}, x = {
a: E,
A: D,
b: O,
B: k,
c: A,
- d: qY,
- e: qY,
- f: NOe,
- g: KY,
- G: GY,
- H: JY,
- I: JY,
- j: kOe,
- L: MOe,
- m: OOe,
- M: AOe,
+ d: KY,
+ e: KY,
+ f: FOe,
+ g: GY,
+ G: WY,
+ H: qY,
+ I: qY,
+ j: jOe,
+ L: POe,
+ m: AOe,
+ M: MOe,
p: T,
- q: DOe,
- Q: FOe,
- s: IOe,
- S: jOe,
- u: SOe,
- U: COe,
- V: wOe,
- w: xOe,
- W: TOe,
+ q: kOe,
+ Q: LOe,
+ s: ROe,
+ S: NOe,
+ u: wOe,
+ U: TOe,
+ V: EOe,
+ w: COe,
+ W: DOe,
x: j,
X: M,
- y: KY,
- Y: GY,
- Z: EOe,
- "%": POe
+ y: GY,
+ Y: WY,
+ Z: OOe,
+ "%": IOe
};
y.x = S(n, y), y.X = S(r, y), y.c = S(t, y), b.x = S(n, b), b.X = S(r, b), b.c = S(t, b);
function S(e, t) {
return function(n) {
var r = [], i = -1, a = 0, o = e.length, s, c, l;
- for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = BY[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
+ for (n instanceof Date || (n = /* @__PURE__ */ new Date(+n)); ++i < o;) e.charCodeAt(i) === 37 && (r.push(e.slice(a, i)), (c = zY[s = e.charAt(++i)]) == null ? c = s === "e" ? " " : "0" : s = e.charAt(++i), (l = t[s]) && (s = l(n, c)), r.push(s), a = i + 1);
return r.push(e.slice(a, i)), r.join("");
};
}
function C(e, t) {
return function(n) {
- var r = zY(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
+ var r = RY(1900, void 0, 1), i = w(r, e, n += "", 0), a, o;
if (i != n.length) return null;
if ("Q" in r) return new Date(r.Q);
if ("s" in r) return new Date(r.s * 1e3 + ("L" in r ? r.L : 0));
if (t && !("Z" in r) && (r.Z = 0), "p" in r && (r.H = r.H % 12 + r.p * 12), r.m === void 0 && (r.m = "q" in r ? r.q : 0), "V" in r) {
if (r.V < 1 || r.V > 53) return null;
- "w" in r || (r.w = 1), "Z" in r ? (a = RY(zY(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? AY.ceil(a) : AY(a), a = SY.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = LY(zY(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? EY.ceil(a) : EY(a), a = xY.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
- } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? RY(zY(r.y, 0, 1)).getUTCDay() : LY(zY(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
- return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, RY(r)) : LY(r);
+ "w" in r || (r.w = 1), "Z" in r ? (a = LY(RY(r.y, 0, 1)), o = a.getUTCDay(), a = o > 4 || o === 0 ? kY.ceil(a) : kY(a), a = xY.offset(a, (r.V - 1) * 7), r.y = a.getUTCFullYear(), r.m = a.getUTCMonth(), r.d = a.getUTCDate() + (r.w + 6) % 7) : (a = IY(RY(r.y, 0, 1)), o = a.getDay(), a = o > 4 || o === 0 ? TY.ceil(a) : TY(a), a = bY.offset(a, (r.V - 1) * 7), r.y = a.getFullYear(), r.m = a.getMonth(), r.d = a.getDate() + (r.w + 6) % 7);
+ } else ("W" in r || "U" in r) && ("w" in r || (r.w = "u" in r ? r.u % 7 : +("W" in r)), o = "Z" in r ? LY(RY(r.y, 0, 1)).getUTCDay() : IY(RY(r.y, 0, 1)).getDay(), r.m = 0, r.d = "W" in r ? (r.w + 6) % 7 + r.W * 7 - (o + 5) % 7 : r.w + r.U * 7 - (o + 6) % 7);
+ return "Z" in r ? (r.H += r.Z / 100 | 0, r.M += r.Z % 100, LY(r)) : IY(r);
};
}
function w(e, t, n, r) {
for (var i = 0, a = t.length, o = n.length, s, c; i < a;) {
if (r >= o) return -1;
if (s = t.charCodeAt(i++), s === 37) {
- if (s = t.charAt(i++), c = x[s in BY ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
+ if (s = t.charAt(i++), c = x[s in zY ? t.charAt(i++) : s], !c || (r = c(e, n, r)) < 0) return -1;
} else if (s != n.charCodeAt(r++)) return -1;
}
return r;
@@ -60226,244 +60261,244 @@ function _Oe(e) {
}
};
}
-var BY = {
+var zY = {
"-": "",
_: " ",
0: "0"
-}, VY = /^\s*\d+/, vOe = /^%/, yOe = /[\\^$*+?|[\]().{}]/g;
-function HY(e, t, n) {
+}, BY = /^\s*\d+/, bOe = /^%/, xOe = /[\\^$*+?|[\]().{}]/g;
+function VY(e, t, n) {
var r = e < 0 ? "-" : "", i = (r ? -e : e) + "", a = i.length;
return r + (a < n ? Array(n - a + 1).join(t) + i : i);
}
-function bOe(e) {
- return e.replace(yOe, "\\$&");
+function SOe(e) {
+ return e.replace(xOe, "\\$&");
}
-function UY(e) {
- return RegExp("^(?:" + e.map(bOe).join("|") + ")", "i");
+function HY(e) {
+ return RegExp("^(?:" + e.map(SOe).join("|") + ")", "i");
}
-function WY(e) {
+function UY(e) {
return new Map(e.map((e, t) => [e.toLowerCase(), t]));
}
-function xOe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 1));
+function COe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 1));
return r ? (e.w = +r[0], n + r[0].length) : -1;
}
-function SOe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 1));
+function wOe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 1));
return r ? (e.u = +r[0], n + r[0].length) : -1;
}
-function COe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 2));
+function TOe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 2));
return r ? (e.U = +r[0], n + r[0].length) : -1;
}
-function wOe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 2));
+function EOe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 2));
return r ? (e.V = +r[0], n + r[0].length) : -1;
}
-function TOe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 2));
+function DOe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 2));
return r ? (e.W = +r[0], n + r[0].length) : -1;
}
-function GY(e, t, n) {
- var r = VY.exec(t.slice(n, n + 4));
+function WY(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 4));
return r ? (e.y = +r[0], n + r[0].length) : -1;
}
-function KY(e, t, n) {
- var r = VY.exec(t.slice(n, n + 2));
+function GY(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 2));
return r ? (e.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
}
-function EOe(e, t, n) {
+function OOe(e, t, n) {
var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n, n + 6));
return r ? (e.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
}
-function DOe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 1));
+function kOe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 1));
return r ? (e.q = r[0] * 3 - 3, n + r[0].length) : -1;
}
-function OOe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 2));
+function AOe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 2));
return r ? (e.m = r[0] - 1, n + r[0].length) : -1;
}
-function qY(e, t, n) {
- var r = VY.exec(t.slice(n, n + 2));
+function KY(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 2));
return r ? (e.d = +r[0], n + r[0].length) : -1;
}
-function kOe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 3));
+function jOe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 3));
return r ? (e.m = 0, e.d = +r[0], n + r[0].length) : -1;
}
-function JY(e, t, n) {
- var r = VY.exec(t.slice(n, n + 2));
+function qY(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 2));
return r ? (e.H = +r[0], n + r[0].length) : -1;
}
-function AOe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 2));
+function MOe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 2));
return r ? (e.M = +r[0], n + r[0].length) : -1;
}
-function jOe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 2));
+function NOe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 2));
return r ? (e.S = +r[0], n + r[0].length) : -1;
}
-function MOe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 3));
+function POe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 3));
return r ? (e.L = +r[0], n + r[0].length) : -1;
}
-function NOe(e, t, n) {
- var r = VY.exec(t.slice(n, n + 6));
+function FOe(e, t, n) {
+ var r = BY.exec(t.slice(n, n + 6));
return r ? (e.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
}
-function POe(e, t, n) {
- var r = vOe.exec(t.slice(n, n + 1));
+function IOe(e, t, n) {
+ var r = bOe.exec(t.slice(n, n + 1));
return r ? n + r[0].length : -1;
}
-function FOe(e, t, n) {
- var r = VY.exec(t.slice(n));
+function LOe(e, t, n) {
+ var r = BY.exec(t.slice(n));
return r ? (e.Q = +r[0], n + r[0].length) : -1;
}
-function IOe(e, t, n) {
- var r = VY.exec(t.slice(n));
+function ROe(e, t, n) {
+ var r = BY.exec(t.slice(n));
return r ? (e.s = +r[0], n + r[0].length) : -1;
}
-function YY(e, t) {
- return HY(e.getDate(), t, 2);
-}
-function LOe(e, t) {
- return HY(e.getHours(), t, 2);
-}
-function ROe(e, t) {
- return HY(e.getHours() % 12 || 12, t, 2);
+function JY(e, t) {
+ return VY(e.getDate(), t, 2);
}
function zOe(e, t) {
- return HY(1 + xY.count(PY(e), e), t, 3);
-}
-function XY(e, t) {
- return HY(e.getMilliseconds(), t, 3);
+ return VY(e.getHours(), t, 2);
}
function BOe(e, t) {
- return XY(e, t) + "000";
+ return VY(e.getHours() % 12 || 12, t, 2);
}
function VOe(e, t) {
- return HY(e.getMonth() + 1, t, 2);
+ return VY(1 + bY.count(NY(e), e), t, 3);
+}
+function YY(e, t) {
+ return VY(e.getMilliseconds(), t, 3);
}
function HOe(e, t) {
- return HY(e.getMinutes(), t, 2);
+ return YY(e, t) + "000";
}
function UOe(e, t) {
- return HY(e.getSeconds(), t, 2);
+ return VY(e.getMonth() + 1, t, 2);
}
-function WOe(e) {
- var t = e.getDay();
- return t === 0 ? 7 : t;
+function WOe(e, t) {
+ return VY(e.getMinutes(), t, 2);
}
function GOe(e, t) {
- return HY(TY.count(PY(e) - 1, e), t, 2);
+ return VY(e.getSeconds(), t, 2);
}
-function ZY(e) {
+function KOe(e) {
var t = e.getDay();
- return t >= 4 || t === 0 ? DY(e) : DY.ceil(e);
+ return t === 0 ? 7 : t;
}
-function KOe(e, t) {
- return e = ZY(e), HY(DY.count(PY(e), e) + (PY(e).getDay() === 4), t, 2);
+function qOe(e, t) {
+ return VY(wY.count(NY(e) - 1, e), t, 2);
}
-function qOe(e) {
- return e.getDay();
+function XY(e) {
+ var t = e.getDay();
+ return t >= 4 || t === 0 ? EY(e) : EY.ceil(e);
}
function JOe(e, t) {
- return HY(EY.count(PY(e) - 1, e), t, 2);
+ return e = XY(e), VY(EY.count(NY(e), e) + (NY(e).getDay() === 4), t, 2);
}
-function YOe(e, t) {
- return HY(e.getFullYear() % 100, t, 2);
+function YOe(e) {
+ return e.getDay();
}
function XOe(e, t) {
- return e = ZY(e), HY(e.getFullYear() % 100, t, 2);
+ return VY(TY.count(NY(e) - 1, e), t, 2);
}
function ZOe(e, t) {
- return HY(e.getFullYear() % 1e4, t, 4);
+ return VY(e.getFullYear() % 100, t, 2);
}
function QOe(e, t) {
- var n = e.getDay();
- return e = n >= 4 || n === 0 ? DY(e) : DY.ceil(e), HY(e.getFullYear() % 1e4, t, 4);
+ return e = XY(e), VY(e.getFullYear() % 100, t, 2);
}
-function $Oe(e) {
- var t = e.getTimezoneOffset();
- return (t > 0 ? "-" : (t *= -1, "+")) + HY(t / 60 | 0, "0", 2) + HY(t % 60, "0", 2);
-}
-function QY(e, t) {
- return HY(e.getUTCDate(), t, 2);
+function $Oe(e, t) {
+ return VY(e.getFullYear() % 1e4, t, 4);
}
function eke(e, t) {
- return HY(e.getUTCHours(), t, 2);
+ var n = e.getDay();
+ return e = n >= 4 || n === 0 ? EY(e) : EY.ceil(e), VY(e.getFullYear() % 1e4, t, 4);
}
-function tke(e, t) {
- return HY(e.getUTCHours() % 12 || 12, t, 2);
+function tke(e) {
+ var t = e.getTimezoneOffset();
+ return (t > 0 ? "-" : (t *= -1, "+")) + VY(t / 60 | 0, "0", 2) + VY(t % 60, "0", 2);
}
-function nke(e, t) {
- return HY(1 + SY.count(FY(e), e), t, 3);
+function ZY(e, t) {
+ return VY(e.getUTCDate(), t, 2);
}
-function $Y(e, t) {
- return HY(e.getUTCMilliseconds(), t, 3);
+function nke(e, t) {
+ return VY(e.getUTCHours(), t, 2);
}
function rke(e, t) {
- return $Y(e, t) + "000";
+ return VY(e.getUTCHours() % 12 || 12, t, 2);
}
function ike(e, t) {
- return HY(e.getUTCMonth() + 1, t, 2);
+ return VY(1 + xY.count(PY(e), e), t, 3);
+}
+function QY(e, t) {
+ return VY(e.getUTCMilliseconds(), t, 3);
}
function ake(e, t) {
- return HY(e.getUTCMinutes(), t, 2);
+ return QY(e, t) + "000";
}
function oke(e, t) {
- return HY(e.getUTCSeconds(), t, 2);
+ return VY(e.getUTCMonth() + 1, t, 2);
}
-function ske(e) {
- var t = e.getUTCDay();
- return t === 0 ? 7 : t;
+function ske(e, t) {
+ return VY(e.getUTCMinutes(), t, 2);
}
function cke(e, t) {
- return HY(kY.count(FY(e) - 1, e), t, 2);
+ return VY(e.getUTCSeconds(), t, 2);
}
-function eX(e) {
+function lke(e) {
var t = e.getUTCDay();
- return t >= 4 || t === 0 ? jY(e) : jY.ceil(e);
+ return t === 0 ? 7 : t;
}
-function lke(e, t) {
- return e = eX(e), HY(jY.count(FY(e), e) + (FY(e).getUTCDay() === 4), t, 2);
+function uke(e, t) {
+ return VY(OY.count(PY(e) - 1, e), t, 2);
}
-function uke(e) {
- return e.getUTCDay();
+function $Y(e) {
+ var t = e.getUTCDay();
+ return t >= 4 || t === 0 ? AY(e) : AY.ceil(e);
}
function dke(e, t) {
- return HY(AY.count(FY(e) - 1, e), t, 2);
+ return e = $Y(e), VY(AY.count(PY(e), e) + (PY(e).getUTCDay() === 4), t, 2);
}
-function fke(e, t) {
- return HY(e.getUTCFullYear() % 100, t, 2);
+function fke(e) {
+ return e.getUTCDay();
}
function pke(e, t) {
- return e = eX(e), HY(e.getUTCFullYear() % 100, t, 2);
+ return VY(kY.count(PY(e) - 1, e), t, 2);
}
function mke(e, t) {
- return HY(e.getUTCFullYear() % 1e4, t, 4);
+ return VY(e.getUTCFullYear() % 100, t, 2);
}
function hke(e, t) {
+ return e = $Y(e), VY(e.getUTCFullYear() % 100, t, 2);
+}
+function gke(e, t) {
+ return VY(e.getUTCFullYear() % 1e4, t, 4);
+}
+function _ke(e, t) {
var n = e.getUTCDay();
- return e = n >= 4 || n === 0 ? jY(e) : jY.ceil(e), HY(e.getUTCFullYear() % 1e4, t, 4);
+ return e = n >= 4 || n === 0 ? AY(e) : AY.ceil(e), VY(e.getUTCFullYear() % 1e4, t, 4);
}
-function gke() {
+function vke() {
return "+0000";
}
-function tX() {
+function eX() {
return "%";
}
-function nX(e) {
+function tX(e) {
return +e;
}
-function rX(e) {
+function nX(e) {
return Math.floor(e / 1e3);
}
//#endregion
//#region node_modules/d3-time-format/src/defaultLocale.js
-var iX, aX, oX;
-_ke({
+var rX, iX, aX;
+yke({
dateTime: "%x, %X",
date: "%-m/%-d/%Y",
time: "%-I:%M:%S %p",
@@ -60515,26 +60550,26 @@ _ke({
"Dec"
]
});
-function _ke(e) {
- return iX = _Oe(e), aX = iX.format, iX.parse, oX = iX.utcFormat, iX.utcParse, iX;
+function yke(e) {
+ return rX = yOe(e), iX = rX.format, rX.parse, aX = rX.utcFormat, rX.utcParse, rX;
}
//#endregion
//#region node_modules/d3-scale/src/time.js
-function vke(e) {
+function bke(e) {
return new Date(e);
}
-function yke(e) {
+function xke(e) {
return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
}
-function sX(e, t, n, r, i, a, o, s, c, l) {
- var u = CJ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
+function oX(e, t, n, r, i, a, o, s, c, l) {
+ var u = SJ(), d = u.invert, f = u.domain, p = l(".%L"), m = l(":%S"), h = l("%I:%M"), g = l("%I %p"), _ = l("%a %d"), v = l("%b %d"), y = l("%B"), b = l("%Y");
function x(e) {
return (c(e) < e ? p : s(e) < e ? m : o(e) < e ? h : a(e) < e ? g : r(e) < e ? i(e) < e ? _ : v : n(e) < e ? y : b)(e);
}
return u.invert = function(e) {
return new Date(d(e));
}, u.domain = function(e) {
- return arguments.length ? f(Array.from(e, yke)) : f().map(vke);
+ return arguments.length ? f(Array.from(e, xke)) : f().map(bke);
}, u.ticks = function(t) {
var n = f();
return e(n[0], n[n.length - 1], t ?? 10);
@@ -60542,23 +60577,23 @@ function sX(e, t, n, r, i, a, o, s, c, l) {
return t == null ? x : l(t);
}, u.nice = function(e) {
var n = f();
- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(VJ(n, e)) : u;
+ return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? f(BJ(n, e)) : u;
}, u.copy = function() {
- return xJ(u, sX(e, t, n, r, i, a, o, s, c, l));
+ return bJ(u, oX(e, t, n, r, i, a, o, s, c, l));
}, u;
}
-function bke() {
- return Aq.apply(sX(hOe, gOe, PY, MY, TY, xY, yY, _Y, gY, aX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
+function Ske() {
+ return kq.apply(oX(_Oe, vOe, NY, jY, wY, bY, vY, gY, hY, iX).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/utcTime.js
-function xke() {
- return Aq.apply(sX(pOe, mOe, FY, NY, kY, SY, bY, vY, gY, oX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
+function Cke() {
+ return kq.apply(oX(hOe, gOe, PY, MY, OY, xY, yY, _Y, hY, aX).domain([Date.UTC(2e3, 0, 1), Date.UTC(2e3, 0, 2)]), arguments);
}
//#endregion
//#region node_modules/d3-scale/src/sequential.js
-function cX() {
- var e = 0, t = 1, n, r, i, a, o = yJ, s = !1, c;
+function sX() {
+ var e = 0, t = 1, n, r, i, a, o = vJ, s = !1, c;
function l(e) {
return e == null || isNaN(e = +e) ? c : o(i === 0 ? .5 : (e = (a(e) - n) * i, s ? Math.max(0, Math.min(1, e)) : e));
}
@@ -60575,68 +60610,68 @@ function cX() {
return arguments.length ? ([n, r] = t, o = e(n, r), l) : [o(0), o(1)];
};
}
- return l.range = u(hJ), l.rangeRound = u(gJ), l.unknown = function(e) {
+ return l.range = u(mJ), l.rangeRound = u(hJ), l.unknown = function(e) {
return arguments.length ? (c = e, l) : c;
}, function(o) {
return a = o, n = o(e), r = o(t), i = n === r ? 0 : 1 / (r - n), l;
};
}
-function lX(e, t) {
+function cX(e, t) {
return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown());
}
+function lX() {
+ var e = LJ(sX()(vJ));
+ return e.copy = function() {
+ return cX(e, lX());
+ }, Aq.apply(e, arguments);
+}
function uX() {
- var e = RJ(cX()(yJ));
+ var e = WJ(sX()).domain([1, 10]);
return e.copy = function() {
- return lX(e, uX());
- }, jq.apply(e, arguments);
+ return cX(e, uX()).base(e.base());
+ }, Aq.apply(e, arguments);
}
function dX() {
- var e = GJ(cX()).domain([1, 10]);
+ var e = JJ(sX());
return e.copy = function() {
- return lX(e, dX()).base(e.base());
- }, jq.apply(e, arguments);
+ return cX(e, dX()).constant(e.constant());
+ }, Aq.apply(e, arguments);
}
function fX() {
- var e = YJ(cX());
- return e.copy = function() {
- return lX(e, fX()).constant(e.constant());
- }, jq.apply(e, arguments);
-}
-function pX() {
- var e = QJ(cX());
+ var e = ZJ(sX());
return e.copy = function() {
- return lX(e, pX()).exponent(e.exponent());
- }, jq.apply(e, arguments);
+ return cX(e, fX()).exponent(e.exponent());
+ }, Aq.apply(e, arguments);
}
-function Ske() {
- return pX.apply(null, arguments).exponent(.5);
+function wke() {
+ return fX.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/d3-scale/src/sequentialQuantile.js
-function mX() {
- var e = [], t = yJ;
+function pX() {
+ var e = [], t = vJ;
function n(n) {
- if (n != null && !isNaN(n = +n)) return t((gq(e, n, 1) - 1) / (e.length - 1));
+ if (n != null && !isNaN(n = +n)) return t((hq(e, n, 1) - 1) / (e.length - 1));
}
return n.domain = function(t) {
if (!arguments.length) return e.slice();
e = [];
for (let n of t) n != null && !isNaN(n = +n) && e.push(n);
- return e.sort(fq), n;
+ return e.sort(dq), n;
}, n.interpolator = function(e) {
return arguments.length ? (t = e, n) : t;
}, n.range = function() {
return e.map((n, r) => t(r / (e.length - 1)));
}, n.quantiles = function(t) {
- return Array.from({ length: t + 1 }, (n, r) => sDe(e, r / t));
+ return Array.from({ length: t + 1 }, (n, r) => lDe(e, r / t));
}, n.copy = function() {
- return mX(t).domain(e);
- }, jq.apply(n, arguments);
+ return pX(t).domain(e);
+ }, Aq.apply(n, arguments);
}
//#endregion
//#region node_modules/d3-scale/src/diverging.js
-function hX() {
- var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = yJ, u, d = !1, f;
+function mX() {
+ var e = 0, t = .5, n = 1, r = 1, i, a, o, s, c, l = vJ, u, d = !1, f;
function p(e) {
return isNaN(e = +e) ? f : (e = .5 + ((e = +u(e)) - a) * (r * e < r * a ? s : c), l(d ? Math.max(0, Math.min(1, e)) : e));
}
@@ -60654,7 +60689,7 @@ function hX() {
function m(e) {
return function(t) {
var n, r, i;
- return arguments.length ? ([n, r, i] = t, l = PDe(e, [
+ return arguments.length ? ([n, r, i] = t, l = IDe(e, [
n,
r,
i
@@ -60665,121 +60700,121 @@ function hX() {
];
};
}
- return p.range = m(hJ), p.rangeRound = m(gJ), p.unknown = function(e) {
+ return p.range = m(mJ), p.rangeRound = m(hJ), p.unknown = function(e) {
return arguments.length ? (f = e, p) : f;
}, function(l) {
return u = l, i = l(e), a = l(t), o = l(n), s = i === a ? 0 : .5 / (a - i), c = a === o ? 0 : .5 / (o - a), r = a < i ? -1 : 1, p;
};
}
-function gX() {
- var e = RJ(hX()(yJ));
+function hX() {
+ var e = LJ(mX()(vJ));
return e.copy = function() {
- return lX(e, gX());
- }, jq.apply(e, arguments);
+ return cX(e, hX());
+ }, Aq.apply(e, arguments);
}
-function _X() {
- var e = GJ(hX()).domain([
+function gX() {
+ var e = WJ(mX()).domain([
.1,
1,
10
]);
return e.copy = function() {
- return lX(e, _X()).base(e.base());
- }, jq.apply(e, arguments);
+ return cX(e, gX()).base(e.base());
+ }, Aq.apply(e, arguments);
}
-function vX() {
- var e = YJ(hX());
+function _X() {
+ var e = JJ(mX());
return e.copy = function() {
- return lX(e, vX()).constant(e.constant());
- }, jq.apply(e, arguments);
+ return cX(e, _X()).constant(e.constant());
+ }, Aq.apply(e, arguments);
}
-function yX() {
- var e = QJ(hX());
+function vX() {
+ var e = ZJ(mX());
return e.copy = function() {
- return lX(e, yX()).exponent(e.exponent());
- }, jq.apply(e, arguments);
+ return cX(e, vX()).exponent(e.exponent());
+ }, Aq.apply(e, arguments);
}
-function Cke() {
- return yX.apply(null, arguments).exponent(.5);
+function Tke() {
+ return vX.apply(null, arguments).exponent(.5);
}
//#endregion
//#region node_modules/victory-vendor/es/d3-scale.js
-var bX = /* @__PURE__ */ wt({
- scaleBand: () => Pq,
- scaleDiverging: () => gX,
- scaleDivergingLog: () => _X,
- scaleDivergingPow: () => yX,
- scaleDivergingSqrt: () => Cke,
- scaleDivergingSymlog: () => vX,
- scaleIdentity: () => BJ,
- scaleImplicit: () => Mq,
- scaleLinear: () => zJ,
- scaleLog: () => KJ,
- scaleOrdinal: () => Nq,
- scalePoint: () => uDe,
- scalePow: () => $J,
- scaleQuantile: () => nY,
- scaleQuantize: () => rY,
- scaleRadial: () => tY,
- scaleSequential: () => uX,
- scaleSequentialLog: () => dX,
- scaleSequentialPow: () => pX,
- scaleSequentialQuantile: () => mX,
- scaleSequentialSqrt: () => Ske,
- scaleSequentialSymlog: () => fX,
- scaleSqrt: () => rOe,
- scaleSymlog: () => XJ,
- scaleThreshold: () => iY,
- scaleTime: () => bke,
- scaleUtc: () => xke,
- tickFormat: () => LJ
+var yX = /* @__PURE__ */ wt({
+ scaleBand: () => Nq,
+ scaleDiverging: () => hX,
+ scaleDivergingLog: () => gX,
+ scaleDivergingPow: () => vX,
+ scaleDivergingSqrt: () => Tke,
+ scaleDivergingSymlog: () => _X,
+ scaleIdentity: () => zJ,
+ scaleImplicit: () => jq,
+ scaleLinear: () => RJ,
+ scaleLog: () => GJ,
+ scaleOrdinal: () => Mq,
+ scalePoint: () => fDe,
+ scalePow: () => QJ,
+ scaleQuantile: () => tY,
+ scaleQuantize: () => nY,
+ scaleRadial: () => eY,
+ scaleSequential: () => lX,
+ scaleSequentialLog: () => uX,
+ scaleSequentialPow: () => fX,
+ scaleSequentialQuantile: () => pX,
+ scaleSequentialSqrt: () => wke,
+ scaleSequentialSymlog: () => dX,
+ scaleSqrt: () => aOe,
+ scaleSymlog: () => YJ,
+ scaleThreshold: () => rY,
+ scaleTime: () => Ske,
+ scaleUtc: () => Cke,
+ tickFormat: () => IJ
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineConfiguredScale.js
-function wke(e) {
- if (e in bX) return bX[e]();
- var t = `scale${cB(e)}`;
- if (t in bX) return bX[t]();
+function Eke(e) {
+ if (e in yX) return yX[e]();
+ var t = `scale${sB(e)}`;
+ if (t in yX) return yX[t]();
}
-function xX(e, t, n) {
+function bX(e, t, n) {
if (typeof e == "function") return e.copy().domain(t).range(n);
if (e != null) {
- var r = wke(e);
+ var r = Eke(e);
if (r != null) return r.domain(t).range(n), r;
}
}
-function SX(e, t, n, r) {
- if (n != null && r != null) return typeof e.scale == "function" ? xX(e.scale, n, r) : xX(t, n, r);
+function xX(e, t, n, r) {
+ if (n != null && r != null) return typeof e.scale == "function" ? bX(e.scale, n, r) : bX(t, n, r);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineRealScaleType.js
-function Tke(e) {
- return `scale${cB(e)}`;
+function Dke(e) {
+ return `scale${sB(e)}`;
}
-function Eke(e) {
- return Tke(e) in bX;
+function Oke(e) {
+ return Dke(e) in yX;
}
-var CX = (e, t, n) => {
+var SX = (e, t, n) => {
if (e != null) {
var { scale: r, type: i } = e;
if (r === "auto") return i === "category" && n && (n.indexOf("LineChart") >= 0 || n.indexOf("AreaChart") >= 0 || n.indexOf("ComposedChart") >= 0 && !t) ? "point" : i === "category" ? "band" : "linear";
- if (typeof r == "string") return Eke(r) ? r : "point";
+ if (typeof r == "string") return Oke(r) ? r : "point";
}
};
//#endregion
//#region node_modules/recharts/es6/util/scale/createCategoricalInverse.js
-function Dke(e, t) {
+function kke(e, t) {
for (var n = 0, r = e.length, i = e[0] < e[e.length - 1]; n < r;) {
var a = Math.floor((n + r) / 2);
(i ? e[a] < t : e[a] > t) ? n = a + 1 : r = a;
}
return n;
}
-function wX(e, t) {
+function CX(e, t) {
if (e) {
var n = t ?? e.domain(), r = n.map((t) => e(t) ?? 0), i = e.range();
if (!(n.length === 0 || i.length < 2)) return (e) => {
- var t = Dke(r, e);
+ var t = kke(r, e);
if (t <= 0) return n[0];
if (t >= n.length) return n[n.length - 1];
var i = r[t - 1] ?? 0, a = r[t] ?? 0;
@@ -60789,12 +60824,12 @@ function wX(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineInverseScaleFunction.js
-function Oke(e) {
- if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : wX(e, void 0);
+function Ake(e) {
+ if (e != null) return "invert" in e && typeof e.invert == "function" ? e.invert.bind(e) : CX(e, void 0);
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/axisSelectors.js
-function TX(e, t) {
+function wX(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -60804,30 +60839,30 @@ function TX(e, t) {
}
return n;
}
-function EX(e) {
+function TX(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? TX(Object(n), !0).forEach(function(t) {
- kke(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : TX(Object(n)).forEach(function(t) {
+ t % 2 ? wX(Object(n), !0).forEach(function(t) {
+ jke(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : wX(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function kke(e, t, n) {
- return (t = Ake(t)) in e ? Object.defineProperty(e, t, {
+function jke(e, t, n) {
+ return (t = Mke(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ake(e) {
- var t = jke(e, "string");
+function Mke(e) {
+ var t = Nke(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function jke(e, t) {
+function Nke(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -60837,7 +60872,7 @@ function jke(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var DX = [0, "auto"], OX = {
+var EX = [0, "auto"], DX = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
@@ -60866,13 +60901,13 @@ var DX = [0, "auto"], OX = {
type: "category",
unit: void 0,
niceTicks: "auto"
-}, kX = (e, t) => e.cartesianAxis.xAxis[t], AX = (e, t) => kX(e, t) ?? OX, jX = {
+}, OX = (e, t) => e.cartesianAxis.xAxis[t], kX = (e, t) => OX(e, t) ?? DX, AX = {
allowDataOverflow: !1,
allowDecimals: !0,
allowDuplicatedCategory: !0,
angle: 0,
dataKey: void 0,
- domain: DX,
+ domain: EX,
hide: !0,
id: 0,
includeHidden: !1,
@@ -60895,7 +60930,7 @@ var DX = [0, "auto"], OX = {
unit: void 0,
niceTicks: "auto",
width: 60
-}, MX = (e, t) => e.cartesianAxis.yAxis[t], NX = (e, t) => MX(e, t) ?? jX, Mke = {
+}, jX = (e, t) => e.cartesianAxis.yAxis[t], MX = (e, t) => jX(e, t) ?? AX, Pke = {
domain: [0, "auto"],
includeHidden: !1,
reversed: !1,
@@ -60908,31 +60943,31 @@ var DX = [0, "auto"], OX = {
scale: "auto",
type: "number",
unit: ""
-}, PX = (e, t) => e.cartesianAxis.zAxis[t] ?? Mke, FX = (e, t, n) => {
+}, NX = (e, t) => e.cartesianAxis.zAxis[t] ?? Pke, PX = (e, t, n) => {
switch (t) {
- case "xAxis": return AX(e, n);
- case "yAxis": return NX(e, n);
- case "zAxis": return PX(e, n);
- case "angleAxis": return KK(e, n);
- case "radiusAxis": return qK(e, n);
+ case "xAxis": return kX(e, n);
+ case "yAxis": return MX(e, n);
+ case "zAxis": return NX(e, n);
+ case "angleAxis": return GK(e, n);
+ case "radiusAxis": return KK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, Nke = (e, t, n) => {
+}, Fke = (e, t, n) => {
switch (t) {
- case "xAxis": return AX(e, n);
- case "yAxis": return NX(e, n);
+ case "xAxis": return kX(e, n);
+ case "yAxis": return MX(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, IX = (e, t, n) => {
+}, FX = (e, t, n) => {
switch (t) {
- case "xAxis": return AX(e, n);
- case "yAxis": return NX(e, n);
- case "angleAxis": return KK(e, n);
- case "radiusAxis": return qK(e, n);
+ case "xAxis": return kX(e, n);
+ case "yAxis": return MX(e, n);
+ case "angleAxis": return GK(e, n);
+ case "radiusAxis": return KK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, LX = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
-function RX(e, t) {
+}, IX = (e) => e.graphicalItems.cartesianItems.some((e) => e.type === "bar") || e.graphicalItems.polarItems.some((e) => e.type === "radialBar");
+function LX(e, t) {
return (n) => {
switch (e) {
case "xAxis": return "xAxisId" in n && n.xAxisId === t;
@@ -60944,58 +60979,58 @@ function RX(e, t) {
}
};
}
-var zX = (e) => e.graphicalItems.cartesianItems, Pke = $([tq, nq], RX), BX = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), VX = $([
- zX,
- FX,
- Pke
-], BX, { memoizeOptions: { resultEqualityCheck: sq } }), HX = $([VX], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(aq)), UX = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Fke = $([VX], UX), WX = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Ike = $([VX], WX, { memoizeOptions: { resultEqualityCheck: sq } }), GX = (e, t) => {
+var RX = (e) => e.graphicalItems.cartesianItems, Ike = $([eq, tq], LX), zX = (e, t, n) => e.filter(n).filter((e) => t?.includeHidden === !0 || !e.hide), BX = $([
+ RX,
+ PX,
+ Ike
+], zX, { memoizeOptions: { resultEqualityCheck: oq } }), VX = $([BX], (e) => e.filter((e) => e.type === "area" || e.type === "bar").filter(iq)), HX = (e) => e.filter((e) => !("stackId" in e) || e.stackId === void 0), Lke = $([BX], HX), UX = (e) => e.map((e) => e.data).filter(Boolean).flat(1), Rke = $([BX], UX, { memoizeOptions: { resultEqualityCheck: oq } }), WX = (e, t) => {
var { chartData: n = [], dataStartIndex: r, dataEndIndex: i } = t;
return e.length > 0 ? e : n.slice(r, i + 1);
-}, KX = $([Ike, pK], GX), qX = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: pU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: pU(e, t.dataKey) })), JX = $([
- KX,
- FX,
- VX
-], qX);
-function YX(e) {
- if (tB(e) || e instanceof Date) {
+}, GX = $([Rke, fK], WX), KX = (e, t, n) => t?.dataKey == null ? n.length > 0 ? n.map((e) => e.dataKey).flatMap((t) => e.map((e) => ({ value: fU(e, t) }))) : e.map((e) => ({ value: e })) : e.map((e) => ({ value: fU(e, t.dataKey) })), qX = $([
+ GX,
+ PX,
+ BX
+], KX);
+function JX(e) {
+ if (eB(e) || e instanceof Date) {
var t = Number(e);
- if (lU(t)) return t;
+ if (cU(t)) return t;
}
}
-function XX(e) {
+function YX(e) {
if (Array.isArray(e)) {
- var t = [YX(e[0]), YX(e[1])];
- return hK(t) ? t : void 0;
+ var t = [JX(e[0]), JX(e[1])];
+ return mK(t) ? t : void 0;
}
- var n = YX(e);
+ var n = JX(e);
if (n != null) return [n, n];
}
-function ZX(e) {
- return e.map(YX).filter(lB);
+function XX(e) {
+ return e.map(JX).filter(cB);
}
-function Lke(e, t) {
- var n = YX(e), r = YX(t);
+function zke(e, t) {
+ var n = JX(e), r = JX(t);
return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
}
-var Rke = $([JX], (e) => e?.map((e) => e.value).sort(Lke));
-function QX(e, t) {
+var Bke = $([qX], (e) => e?.map((e) => e.value).sort(zke));
+function ZX(e, t) {
switch (e) {
case "xAxis": return t.direction === "x";
case "yAxis": return t.direction === "y";
default: return !1;
}
}
-function zke(e, t, n) {
- return !n || typeof t != "number" || $z(t) || !n.length ? [] : ZX(n.flatMap((n) => {
- var r = pU(e, n.dataKey), i, a;
- if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!lU(i) || !lU(a))) return [t - i, t + a];
+function Vke(e, t, n) {
+ return !n || typeof t != "number" || Qz(t) || !n.length ? [] : XX(n.flatMap((n) => {
+ var r = fU(e, n.dataKey), i, a;
+ if (Array.isArray(r) ? [i, a] = r : i = a = r, !(!cU(i) || !cU(a))) return [t - i, t + a];
}));
}
-var $X = (e) => IX(e, cq(e), lq(e)), eZ = $([$X], (e) => e?.dataKey), Bke = $([
- HX,
- pK,
- $X
-], iq), tZ = (e, t, n, r) => {
+var QX = (e) => FX(e, sq(e), cq(e)), $X = $([QX], (e) => e?.dataKey), Hke = $([
+ VX,
+ fK,
+ QX
+], rq), eZ = (e, t, n, r) => {
var i = t.reduce((e, t) => {
if (t.stackId == null) return e;
var n = e[t.stackId];
@@ -61004,168 +61039,168 @@ var $X = (e) => IX(e, cq(e), lq(e)), eZ = $([$X], (e) => e?.dataKey), Bke = $([
return Object.fromEntries(Object.entries(i).map((t) => {
var [i, a] = t, o = r ? [...a].reverse() : a;
return [i, {
- stackedData: BCe(e, o.map(rq), n),
+ stackedData: HCe(e, o.map(nq), n),
graphicalItems: o
}];
}));
-}, nZ = $([
- Bke,
- HX,
- jK,
- MK
-], tZ), rZ = (e, t, n, r) => {
+}, tZ = $([
+ Hke,
+ VX,
+ AK,
+ jK
+], eZ), nZ = (e, t, n, r) => {
var { dataStartIndex: i, dataEndIndex: a } = t;
if (r == null && n !== "zAxis") {
- var o = UCe(e, i, a);
+ var o = GCe(e, i, a);
if (o == null || o[0] !== 0 || o[1] !== 0) return o;
}
-}, Vke = $([FX], (e) => e.allowDataOverflow), iZ = (e) => {
- if (e == null || !("domain" in e)) return DX;
+}, Uke = $([PX], (e) => e.allowDataOverflow), rZ = (e) => {
+ if (e == null || !("domain" in e)) return EX;
if (e.domain != null) return e.domain;
if ("ticks" in e && e.ticks != null) {
if (e.type === "number") {
- var t = ZX(e.ticks);
+ var t = XX(e.ticks);
return [Math.min(...t), Math.max(...t)];
}
if (e.type === "category") return e.ticks.map(String);
}
- return e?.domain ?? DX;
-}, aZ = $([FX], iZ), oZ = $([aZ, Vke], _K), Hke = $([
- nZ,
- dK,
- tq,
- oZ
-], rZ, { memoizeOptions: { resultEqualityCheck: oq } }), sZ = (e) => e.errorBars, Uke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => QX(n, e)), cZ = function() {
+ return e?.domain ?? EX;
+}, iZ = $([PX], rZ), aZ = $([iZ, Uke], gK), Wke = $([
+ tZ,
+ uK,
+ eq,
+ aZ
+], nZ, { memoizeOptions: { resultEqualityCheck: aq } }), oZ = (e) => e.errorBars, Gke = (e, t, n) => e.flatMap((e) => t[e.id]).filter(Boolean).filter((e) => ZX(n, e)), sZ = function() {
var e = [...arguments].filter(Boolean);
if (e.length !== 0) {
var t = e.flat();
return [Math.min(...t), Math.max(...t)];
}
-}, lZ = (e, t, n, r, i) => {
+}, cZ = (e, t, n, r, i) => {
var a, o;
if (n.length > 0 && e.forEach((e) => {
n.forEach((n) => {
- var s = r[n.id]?.filter((e) => QX(i, e)), c = pU(e, t.dataKey ?? n.dataKey), l = zke(e, c, s);
+ var s = r[n.id]?.filter((e) => ZX(i, e)), c = fU(e, t.dataKey ?? n.dataKey), l = Vke(e, c, s);
if (l.length >= 2) {
var u = Math.min(...l), d = Math.max(...l);
(a == null || u < a) && (a = u), (o == null || d > o) && (o = d);
}
- var f = XX(c);
+ var f = YX(c);
f != null && (a = a == null ? f[0] : Math.min(a, f[0]), o = o == null ? f[1] : Math.max(o, f[1]));
});
}), t?.dataKey != null && e.forEach((e) => {
- var n = XX(pU(e, t.dataKey));
+ var n = YX(fU(e, t.dataKey));
n != null && (a = a == null ? n[0] : Math.min(a, n[0]), o = o == null ? n[1] : Math.max(o, n[1]));
- }), lU(a) && lU(o)) return [a, o];
-}, Wke = $([
- KX,
- FX,
- Fke,
- sZ,
- tq
-], lZ, { memoizeOptions: { resultEqualityCheck: oq } });
-function Gke(e) {
+ }), cU(a) && cU(o)) return [a, o];
+}, Kke = $([
+ GX,
+ PX,
+ Lke,
+ oZ,
+ eq
+], cZ, { memoizeOptions: { resultEqualityCheck: aq } });
+function qke(e) {
var { value: t } = e;
- if (tB(t) || t instanceof Date) return t;
-}
-var Kke = (e, t, n) => {
- var r = e.map(Gke).filter((e) => e != null);
- return n && (t.dataKey == null || t.allowDuplicatedCategory && iB(r)) ? uK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
-}, uZ = (e) => e.referenceElements.dots, dZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), qke = $([
- uZ,
- tq,
- nq
-], dZ), fZ = (e) => e.referenceElements.areas, Jke = $([
+ if (eB(t) || t instanceof Date) return t;
+}
+var Jke = (e, t, n) => {
+ var r = e.map(qke).filter((e) => e != null);
+ return n && (t.dataKey == null || t.allowDuplicatedCategory && rB(r)) ? lK(0, e.length) : t.allowDuplicatedCategory ? r : Array.from(new Set(r));
+}, lZ = (e) => e.referenceElements.dots, uZ = (e, t, n) => e.filter((e) => e.ifOverflow === "extendDomain").filter((e) => t === "xAxis" ? e.xAxisId === n : e.yAxisId === n), Yke = $([
+ lZ,
+ eq,
+ tq
+], uZ), dZ = (e) => e.referenceElements.areas, Xke = $([
+ dZ,
+ eq,
+ tq
+], uZ), fZ = (e) => e.referenceElements.lines, Zke = $([
fZ,
- tq,
- nq
-], dZ), pZ = (e) => e.referenceElements.lines, Yke = $([
- pZ,
- tq,
- nq
-], dZ), mZ = (e, t) => {
+ eq,
+ tq
+], uZ), pZ = (e, t) => {
if (e != null) {
- var n = ZX(e.map((e) => t === "xAxis" ? e.x : e.y));
+ var n = XX(e.map((e) => t === "xAxis" ? e.x : e.y));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Xke = $(qke, tq, mZ), hZ = (e, t) => {
+}, Qke = $(Yke, eq, pZ), mZ = (e, t) => {
if (e != null) {
- var n = ZX(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
+ var n = XX(e.flatMap((e) => [t === "xAxis" ? e.x1 : e.y1, t === "xAxis" ? e.x2 : e.y2]));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, Zke = $([Jke, tq], hZ);
-function Qke(e) {
- if (e.x != null) return ZX([e.x]);
+}, $ke = $([Xke, eq], mZ);
+function eAe(e) {
+ if (e.x != null) return XX([e.x]);
var t = e.segment?.map((e) => e.x);
- return t == null || t.length === 0 ? [] : ZX(t);
+ return t == null || t.length === 0 ? [] : XX(t);
}
-function $ke(e) {
- if (e.y != null) return ZX([e.y]);
+function tAe(e) {
+ if (e.y != null) return XX([e.y]);
var t = e.segment?.map((e) => e.y);
- return t == null || t.length === 0 ? [] : ZX(t);
+ return t == null || t.length === 0 ? [] : XX(t);
}
-var gZ = (e, t) => {
+var hZ = (e, t) => {
if (e != null) {
- var n = e.flatMap((e) => t === "xAxis" ? Qke(e) : $ke(e));
+ var n = e.flatMap((e) => t === "xAxis" ? eAe(e) : tAe(e));
if (n.length !== 0) return [Math.min(...n), Math.max(...n)];
}
-}, eAe = $(Xke, $([Yke, tq], gZ), Zke, (e, t, n) => cZ(e, n, t)), _Z = (e, t, n, r, i, a, o, s) => n ?? qEe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? cZ(r, a, i) : cZ(a, i), e.allowDataOverflow), tAe = $([
- FX,
+}, nAe = $(Qke, $([Zke, eq], hZ), $ke, (e, t, n) => sZ(e, n, t)), gZ = (e, t, n, r, i, a, o, s) => n ?? YEe(t, o === "vertical" && s === "xAxis" || o === "horizontal" && s === "yAxis" ? sZ(r, a, i) : sZ(a, i), e.allowDataOverflow), rAe = $([
+ PX,
+ iZ,
aZ,
- oZ,
- Hke,
Wke,
- eAe,
- eW,
- tq
-], _Z, { memoizeOptions: { resultEqualityCheck: oq } }), nAe = [0, 1], vZ = (e, t, n, r, i, a, o) => {
+ Kke,
+ nAe,
+ $U,
+ eq
+], gZ, { memoizeOptions: { resultEqualityCheck: aq } }), iAe = [0, 1], _Z = (e, t, n, r, i, a, o) => {
if (e != null && n != null && n.length !== 0 || o !== void 0) {
- var { dataKey: s, type: c } = e, l = mU(t, a);
- return l && s == null ? uK(0, n?.length ?? 0) : c === "category" ? Kke(r, e, l) : i === "expand" ? nAe : o;
- }
-}, yZ = $([
- FX,
- eW,
- KX,
- JX,
- jK,
- tq,
- tAe
-], vZ), bZ = $([
- FX,
- LX,
- NK
-], CX), xZ = (e, t, n) => {
+ var { dataKey: s, type: c } = e, l = pU(t, a);
+ return l && s == null ? lK(0, n?.length ?? 0) : c === "category" ? Jke(r, e, l) : i === "expand" ? iAe : o;
+ }
+}, vZ = $([
+ PX,
+ $U,
+ GX,
+ qX,
+ AK,
+ eq,
+ rAe
+], _Z), yZ = $([
+ PX,
+ IX,
+ MK
+], SX), bZ = (e, t, n) => {
var { niceTicks: r } = t;
if (r !== "none") {
- var i = iZ(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
- if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && hK(e)) {
- if (a) return TK(e, t.tickCount, t.allowDecimals, r);
- if (t.type === "number") return EK(e, t.tickCount, t.allowDecimals, r);
+ var i = rZ(t), a = Array.isArray(i) && (i[0] === "auto" || i[1] === "auto");
+ if ((r === "snap125" || r === "adaptive") && t != null && t.tickCount && mK(e)) {
+ if (a) return wK(e, t.tickCount, t.allowDecimals, r);
+ if (t.type === "number") return TK(e, t.tickCount, t.allowDecimals, r);
}
if (r === "auto" && n === "linear" && t != null && t.tickCount) {
- if (a && hK(e)) return TK(e, t.tickCount, t.allowDecimals, "adaptive");
- if (t.type === "number" && hK(e)) return EK(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (a && mK(e)) return wK(e, t.tickCount, t.allowDecimals, "adaptive");
+ if (t.type === "number" && mK(e)) return TK(e, t.tickCount, t.allowDecimals, "adaptive");
}
}
-}, SZ = $([
- yZ,
- IX,
- bZ
-], xZ), CZ = (e, t, n, r) => {
- if (r !== "angleAxis" && e?.type === "number" && hK(t) && Array.isArray(n) && n.length > 0) {
+}, xZ = $([
+ vZ,
+ FX,
+ yZ
+], bZ), SZ = (e, t, n, r) => {
+ if (r !== "angleAxis" && e?.type === "number" && mK(t) && Array.isArray(n) && n.length > 0) {
var i = t[0], a = n[0] ?? 0, o = t[1], s = n[n.length - 1] ?? 0;
return [Math.min(i, a), Math.max(o, s)];
}
return t;
-}, rAe = $([
- FX,
- yZ,
- SZ,
- tq
-], CZ), wZ = $($(JX, FX, (e, t) => {
+}, aAe = $([
+ PX,
+ vZ,
+ xZ,
+ eq
+], SZ), CZ = $($(qX, PX, (e, t) => {
if (!(!t || t.type !== "number")) {
- var n = Infinity, r = Array.from(ZX(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
+ var n = Infinity, r = Array.from(XX(e.map((e) => e.value))).sort((e, t) => e - t), i = r[0], a = r[r.length - 1];
if (i == null || a == null) return Infinity;
var o = a - i;
if (o === 0) return Infinity;
@@ -61178,22 +61213,22 @@ var gZ = (e, t) => {
}
return n / o;
}
-}), eW, kK, PU, (e, t, n, r, i) => i, (e, t, n, r, i) => {
- if (!lU(e)) return 0;
+}), $U, OK, NU, (e, t, n, r, i) => i, (e, t, n, r, i) => {
+ if (!cU(e)) return 0;
var a = t === "vertical" ? r.height : r.width;
if (i === "gap") return e * a / 2;
if (i === "no-gap") {
- var o = rB(n, e * a), s = e * a / 2;
+ var o = nB(n, e * a), s = e * a / 2;
return s - o - (s - o) / a * o;
}
return 0;
-}), iAe = (e, t, n) => {
- var r = AX(e, t);
- return r == null || typeof r.padding != "string" ? 0 : wZ(e, "xAxis", t, n, r.padding);
-}, aAe = (e, t, n) => {
- var r = NX(e, t);
- return r == null || typeof r.padding != "string" ? 0 : wZ(e, "yAxis", t, n, r.padding);
-}, oAe = $(AX, iAe, (e, t) => {
+}), oAe = (e, t, n) => {
+ var r = kX(e, t);
+ return r == null || typeof r.padding != "string" ? 0 : CZ(e, "xAxis", t, n, r.padding);
+}, sAe = (e, t, n) => {
+ var r = MX(e, t);
+ return r == null || typeof r.padding != "string" ? 0 : CZ(e, "yAxis", t, n, r.padding);
+}, cAe = $(kX, oAe, (e, t) => {
if (e == null) return {
left: 0,
right: 0
@@ -61206,7 +61241,7 @@ var gZ = (e, t) => {
left: (n.left ?? 0) + t,
right: (n.right ?? 0) + t
};
-}), sAe = $(NX, aAe, (e, t) => {
+}), lAe = $(MX, sAe, (e, t) => {
if (e == null) return {
top: 0,
bottom: 0
@@ -61219,98 +61254,98 @@ var gZ = (e, t) => {
top: (n.top ?? 0) + t,
bottom: (n.bottom ?? 0) + t
};
-}), cAe = $([
- PU,
- oAe,
- RU,
+}), uAe = $([
+ NU,
+ cAe,
LU,
+ IU,
(e, t, n) => n
], (e, t, n, r, i) => {
var { padding: a } = r;
return i ? [a.left, n.width - a.right] : [e.left + t.left, e.left + e.width - t.right];
-}), lAe = $([
- PU,
- eW,
- sAe,
- RU,
+}), dAe = $([
+ NU,
+ $U,
+ lAe,
LU,
+ IU,
(e, t, n) => n
], (e, t, n, r, i, a) => {
var { padding: o } = i;
return a ? [r.height - o.bottom, o.top] : t === "horizontal" ? [e.top + e.height - n.bottom, e.top + n.top] : [e.top + n.top, e.top + e.height - n.bottom];
-}), TZ = (e, t, n, r) => {
+}), wZ = (e, t, n, r) => {
switch (t) {
- case "xAxis": return cAe(e, n, r);
- case "yAxis": return lAe(e, n, r);
- case "zAxis": return PX(e, n)?.range;
- case "angleAxis": return QK(e);
- case "radiusAxis": return $K(e, n);
+ case "xAxis": return uAe(e, n, r);
+ case "yAxis": return dAe(e, n, r);
+ case "zAxis": return NX(e, n)?.range;
+ case "angleAxis": return ZK(e);
+ case "radiusAxis": return QK(e, n);
default: return;
}
-}, EZ = $([FX, TZ], BK), DZ = $([
- FX,
- bZ,
- $([bZ, rAe], dq),
- EZ
-], SX), OZ = (e, t, n, r) => {
+}, TZ = $([PX, wZ], zK), EZ = $([
+ PX,
+ yZ,
+ $([yZ, aAe], uq),
+ TZ
+], xX), DZ = (e, t, n, r) => {
if (n != null && n.dataKey != null) {
var { type: i, scale: a } = n;
- if (mU(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
+ if (pU(e, r) && (i === "number" || a !== "auto")) return t.map((e) => e.value);
}
-}, kZ = $([
- eW,
- JX,
- IX,
- tq
-], OZ), AZ = $([DZ], uq);
-$([DZ], Oke), $([DZ, Rke], wX), $([
- VX,
- sZ,
- tq
-], Uke);
-function jZ(e, t) {
+}, OZ = $([
+ $U,
+ qX,
+ FX,
+ eq
+], DZ), kZ = $([EZ], lq);
+$([EZ], Ake), $([EZ, Bke], CX), $([
+ BX,
+ oZ,
+ eq
+], Gke);
+function AZ(e, t) {
return e.id < t.id ? -1 : +(e.id > t.id);
}
-var MZ = (e, t) => t, NZ = (e, t, n) => n, uAe = $(AU, MZ, NZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(jZ)), dAe = $(jU, MZ, NZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(jZ)), PZ = (e, t) => ({
+var jZ = (e, t) => t, MZ = (e, t, n) => n, fAe = $(kU, jZ, MZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(AZ)), pAe = $(AU, jZ, MZ, (e, t, n) => e.filter((e) => e.orientation === t).filter((e) => e.mirror === n).sort(AZ)), NZ = (e, t) => ({
width: e.width,
height: t.height
-}), fAe = (e, t) => ({
+}), mAe = (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-}), FZ = $(PU, AX, PZ), pAe = (e, t, n) => {
+}), PZ = $(NU, kX, NZ), hAe = (e, t, n) => {
switch (t) {
case "top": return e.top;
case "bottom": return n - e.bottom;
default: return 0;
}
-}, mAe = (e, t, n) => {
+}, gAe = (e, t, n) => {
switch (t) {
case "left": return e.left;
case "right": return n - e.right;
default: return 0;
}
-}, hAe = $(OU, PU, uAe, MZ, NZ, (e, t, n, r, i) => {
+}, _Ae = $(DU, NU, fAe, jZ, MZ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = PZ(t, n);
- o ??= pAe(t, r, e);
+ var s = NZ(t, n);
+ o ??= hAe(t, r, e);
var c = r === "top" && !i || r === "bottom" && i;
a[n.id] = o - Number(c) * s.height, o += (c ? -1 : 1) * s.height;
}), a;
-}), gAe = $(DU, PU, dAe, MZ, NZ, (e, t, n, r, i) => {
+}), vAe = $(EU, NU, pAe, jZ, MZ, (e, t, n, r, i) => {
var a = {}, o;
return n.forEach((n) => {
- var s = fAe(t, n);
- o ??= mAe(t, r, e);
+ var s = mAe(t, n);
+ o ??= gAe(t, r, e);
var c = r === "left" && !i || r === "right" && i;
a[n.id] = o - Number(c) * s.width, o += (c ? -1 : 1) * s.width;
}), a;
-}), _Ae = $([
- PU,
- AX,
+}), yAe = $([
+ NU,
+ kX,
(e, t) => {
- var n = AX(e, t);
- if (n != null) return hAe(e, n.orientation, n.mirror);
+ var n = kX(e, t);
+ if (n != null) return _Ae(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -61324,12 +61359,12 @@ var MZ = (e, t) => t, NZ = (e, t, n) => n, uAe = $(AU, MZ, NZ, (e, t, n) => e.fi
y: i
};
}
-}), vAe = $([
- PU,
- NX,
+}), bAe = $([
+ NU,
+ MX,
(e, t) => {
- var n = NX(e, t);
- if (n != null) return gAe(e, n.orientation, n.mirror);
+ var n = MX(e, t);
+ if (n != null) return vAe(e, n.orientation, n.mirror);
},
(e, t) => t
], (e, t, n, r) => {
@@ -61343,38 +61378,38 @@ var MZ = (e, t) => t, NZ = (e, t, n) => n, uAe = $(AU, MZ, NZ, (e, t, n) => e.fi
y: e.top
};
}
-}), IZ = $(PU, NX, (e, t) => ({
+}), FZ = $(NU, MX, (e, t) => ({
width: typeof t.width == "number" ? t.width : 60,
height: e.height
-})), LZ = (e, t, n) => {
+})), IZ = (e, t, n) => {
switch (t) {
- case "xAxis": return FZ(e, n).width;
- case "yAxis": return IZ(e, n).height;
+ case "xAxis": return PZ(e, n).width;
+ case "yAxis": return FZ(e, n).height;
default: return;
}
-}, RZ = (e, t, n, r) => {
+}, LZ = (e, t, n, r) => {
if (n != null) {
- var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = mU(e, r), c = t.map((e) => e.value);
- if (o && s && a === "category" && i && iB(c)) return c;
+ var { allowDuplicatedCategory: i, type: a, dataKey: o } = n, s = pU(e, r), c = t.map((e) => e.value);
+ if (o && s && a === "category" && i && rB(c)) return c;
}
-}, zZ = $([
- eW,
- JX,
- FX,
- tq
-], RZ), BZ = $([
- eW,
- Nke,
- bZ,
- AZ,
- zZ,
+}, RZ = $([
+ $U,
+ qX,
+ PX,
+ eq
+], LZ), zZ = $([
+ $U,
+ Fke,
+ yZ,
kZ,
- TZ,
- SZ,
- tq
+ RZ,
+ OZ,
+ wZ,
+ xZ,
+ eq
], (e, t, n, r, i, a, o, s, c) => {
if (t != null) {
- var l = mU(e, c);
+ var l = pU(e, c);
return {
angle: t.angle,
interval: t.interval,
@@ -61396,107 +61431,107 @@ var MZ = (e, t) => t, NZ = (e, t, n) => n, uAe = $(AU, MZ, NZ, (e, t, n) => e.fi
scale: r
};
}
-}), VZ = (e, t, n, r, i, a, o, s, c) => {
+}), BZ = (e, t, n, r, i, a, o, s, c) => {
if (t != null && r != null) {
- var l = mU(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
- m = c === "angleAxis" && a != null && a.length >= 2 ? Qz(a[0] - a[1]) * 2 * m : m;
+ var l = pU(e, c), { type: u, ticks: d, tickCount: f } = t, p = n === "scaleBand" && typeof r.bandwidth == "function" ? r.bandwidth() / 2 : 2, m = u === "category" && r.bandwidth ? r.bandwidth() / p : 0;
+ m = c === "angleAxis" && a != null && a.length >= 2 ? Zz(a[0] - a[1]) * 2 * m : m;
var h = d || i;
return h ? h.map((e, t) => {
var n = o ? o.indexOf(e) : e, i = r.map(n);
- return lU(i) ? {
+ return cU(i) ? {
index: t,
coordinate: i + m,
value: e,
offset: m
} : null;
- }).filter(lB) : l && s ? s.map((e, t) => {
+ }).filter(cB) : l && s ? s.map((e, t) => {
var n = r.map(e);
- return lU(n) ? {
+ return cU(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(lB) : r.ticks ? r.ticks(f).map((e, t) => {
+ }).filter(cB) : r.ticks ? r.ticks(f).map((e, t) => {
var n = r.map(e);
- return lU(n) ? {
+ return cU(n) ? {
coordinate: n + m,
value: e,
index: t,
offset: m
} : null;
- }).filter(lB) : r.domain().map((e, t) => {
+ }).filter(cB) : r.domain().map((e, t) => {
var n = r.map(e);
- return lU(n) ? {
+ return cU(n) ? {
coordinate: n + m,
value: o ? o[e] : e,
index: t,
offset: m
} : null;
- }).filter(lB);
+ }).filter(cB);
}
-}, HZ = $([
- eW,
- IX,
- bZ,
- AZ,
- SZ,
- TZ,
- zZ,
+}, VZ = $([
+ $U,
+ FX,
+ yZ,
kZ,
- tq
-], VZ), UZ = (e, t, n, r, i, a, o) => {
+ xZ,
+ wZ,
+ RZ,
+ OZ,
+ eq
+], BZ), HZ = (e, t, n, r, i, a, o) => {
if (t != null && n != null && r != null && r[0] !== r[1]) {
- var s = mU(e, o), { tickCount: c } = t, l = 0;
- return l = o === "angleAxis" && r?.length >= 2 ? Qz(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
+ var s = pU(e, o), { tickCount: c } = t, l = 0;
+ return l = o === "angleAxis" && r?.length >= 2 ? Zz(r[0] - r[1]) * 2 * l : l, s && a ? a.map((e, t) => {
var r = n.map(e);
- return lU(r) ? {
+ return cU(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(lB) : n.ticks ? n.ticks(c).map((e, t) => {
+ }).filter(cB) : n.ticks ? n.ticks(c).map((e, t) => {
var r = n.map(e);
- return lU(r) ? {
+ return cU(r) ? {
coordinate: r + l,
value: e,
index: t,
offset: l
} : null;
- }).filter(lB) : n.domain().map((e, t) => {
+ }).filter(cB) : n.domain().map((e, t) => {
var r = n.map(e);
- return lU(r) ? {
+ return cU(r) ? {
coordinate: r + l,
value: i ? i[e] : e,
index: t,
offset: l
} : null;
- }).filter(lB);
+ }).filter(cB);
}
-}, WZ = $([
- eW,
- IX,
- AZ,
- TZ,
- zZ,
+}, UZ = $([
+ $U,
+ FX,
kZ,
- tq
-], UZ), GZ = $(FX, AZ, (e, t) => {
- if (e != null && t != null) return EX(EX({}, e), {}, { scale: t });
+ wZ,
+ RZ,
+ OZ,
+ eq
+], HZ), WZ = $(PX, kZ, (e, t) => {
+ if (e != null && t != null) return TX(TX({}, e), {}, { scale: t });
});
-$((e, t, n) => PX(e, n), $([$([
- FX,
- bZ,
+$((e, t, n) => NX(e, n), $([$([
+ PX,
yZ,
- EZ
-], SX)], uq), (e, t) => {
- if (e != null && t != null) return EX(EX({}, e), {}, { scale: t });
+ vZ,
+ TZ
+], xX)], lq), (e, t) => {
+ if (e != null && t != null) return TX(TX({}, e), {}, { scale: t });
});
-var yAe = $([
- eW,
- AU,
- jU
+var xAe = $([
+ $U,
+ kU,
+ AU
], (e, t, n) => {
switch (e) {
case "horizontal": return t.some((e) => e.reversed) ? "right-to-left" : "left-to-right";
@@ -61518,41 +61553,41 @@ $([(e, t, n) => e.renderedTicks[t]?.[n]], (e) => {
});
//#endregion
//#region node_modules/recharts/es6/state/selectors/selectTooltipEventType.js
-var KZ = (e) => e.options.defaultTooltipEventType, qZ = (e) => e.options.validateTooltipEventTypes;
-function JZ(e, t, n) {
+var GZ = (e) => e.options.defaultTooltipEventType, KZ = (e) => e.options.validateTooltipEventTypes;
+function qZ(e, t, n) {
if (e == null) return t;
var r = e ? "axis" : "item";
return n == null ? t : n.includes(r) ? r : t;
}
-function YZ(e, t) {
- return JZ(t, KZ(e), qZ(e));
+function JZ(e, t) {
+ return qZ(t, GZ(e), KZ(e));
}
-function bAe(e) {
- return Q((t) => YZ(t, e));
+function SAe(e) {
+ return Q((t) => JZ(t, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveLabel.js
-var XZ = (e, t) => {
+var YZ = (e, t) => {
var n, r = Number(t);
- if (!($z(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
-}, xAe = (e) => e.tooltip.settings, ZZ = {
+ if (!(Qz(r) || t == null)) return r >= 0 ? e == null || (n = e[r]) == null ? void 0 : n.value : void 0;
+}, CAe = (e) => e.tooltip.settings, XZ = {
active: !1,
index: null,
dataKey: void 0,
graphicalItemId: void 0,
coordinate: void 0
-}, QZ = PH({
+}, ZZ = NH({
name: "tooltip",
initialState: {
itemInteraction: {
- click: ZZ,
- hover: ZZ
+ click: XZ,
+ hover: XZ
},
axisInteraction: {
- click: ZZ,
- hover: ZZ
+ click: XZ,
+ hover: XZ
},
- keyboardInteraction: ZZ,
+ keyboardInteraction: XZ,
syncInteraction: {
active: !1,
index: null,
@@ -61574,23 +61609,23 @@ var XZ = (e, t) => {
reducers: {
addTooltipEntrySettings: {
reducer(e, t) {
- e.tooltipItemPayloads.push(GW(t.payload));
+ e.tooltipItemPayloads.push(WW(t.payload));
},
- prepare: AH()
+ prepare: kH()
},
replaceTooltipEntrySettings: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xH(e).tooltipItemPayloads.indexOf(GW(n));
- i > -1 && (e.tooltipItemPayloads[i] = GW(r));
+ var { prev: n, next: r } = t.payload, i = bH(e).tooltipItemPayloads.indexOf(WW(n));
+ i > -1 && (e.tooltipItemPayloads[i] = WW(r));
},
- prepare: AH()
+ prepare: kH()
},
removeTooltipEntrySettings: {
reducer(e, t) {
- var n = xH(e).tooltipItemPayloads.indexOf(GW(t.payload));
+ var n = bH(e).tooltipItemPayloads.indexOf(WW(t.payload));
n > -1 && e.tooltipItemPayloads.splice(n, 1);
},
- prepare: AH()
+ prepare: kH()
},
setTooltipSettingsState(e, t) {
e.settings = t.payload;
@@ -61620,10 +61655,10 @@ var XZ = (e, t) => {
e.keyboardInteraction.active = t.payload.active, e.keyboardInteraction.index = t.payload.activeIndex, e.keyboardInteraction.coordinate = t.payload.activeCoordinate;
}
}
-}), { addTooltipEntrySettings: SAe, replaceTooltipEntrySettings: CAe, removeTooltipEntrySettings: wAe, setTooltipSettingsState: TAe, setActiveMouseOverItemIndex: $Z, mouseLeaveItem: EAe, mouseLeaveChart: eQ, setActiveClickItemIndex: DAe, setMouseOverAxisIndex: tQ, setMouseClickAxisIndex: OAe, setSyncInteraction: nQ, setKeyboardInteraction: rQ } = QZ.actions, kAe = QZ.reducer;
+}), { addTooltipEntrySettings: wAe, replaceTooltipEntrySettings: TAe, removeTooltipEntrySettings: EAe, setTooltipSettingsState: DAe, setActiveMouseOverItemIndex: QZ, mouseLeaveItem: OAe, mouseLeaveChart: $Z, setActiveClickItemIndex: kAe, setMouseOverAxisIndex: eQ, setMouseClickAxisIndex: AAe, setSyncInteraction: tQ, setKeyboardInteraction: nQ } = ZZ.actions, jAe = ZZ.reducer;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipInteractionState.js
-function iQ(e, t) {
+function rQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61633,30 +61668,30 @@ function iQ(e, t) {
}
return n;
}
-function aQ(e) {
+function iQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? iQ(Object(n), !0).forEach(function(t) {
- AAe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : iQ(Object(n)).forEach(function(t) {
+ t % 2 ? rQ(Object(n), !0).forEach(function(t) {
+ MAe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : rQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function AAe(e, t, n) {
- return (t = jAe(t)) in e ? Object.defineProperty(e, t, {
+function MAe(e, t, n) {
+ return (t = NAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function jAe(e) {
- var t = MAe(e, "string");
+function NAe(e) {
+ var t = PAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function MAe(e, t) {
+function PAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61666,22 +61701,22 @@ function MAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function NAe(e, t, n) {
+function FAe(e, t, n) {
return t === "axis" ? n === "click" ? e.axisInteraction.click : e.axisInteraction.hover : n === "click" ? e.itemInteraction.click : e.itemInteraction.hover;
}
-function PAe(e) {
+function IAe(e) {
return e.index != null;
}
-var oQ = (e, t, n, r) => {
- if (t == null) return ZZ;
- var i = NAe(e, t, n);
- if (i == null) return ZZ;
+var aQ = (e, t, n, r) => {
+ if (t == null) return XZ;
+ var i = FAe(e, t, n);
+ if (i == null) return XZ;
if (i.active) return i;
if (e.keyboardInteraction.active) return e.keyboardInteraction;
if (e.syncInteraction.active && e.syncInteraction.index != null) return e.syncInteraction;
var a = e.settings.active === !0;
- if (PAe(i)) {
- if (a) return aQ(aQ({}, i), {}, { active: !0 });
+ if (IAe(i)) {
+ if (a) return iQ(iQ({}, i), {}, { active: !0 });
} else if (r != null) return {
active: !0,
coordinate: void 0,
@@ -61689,11 +61724,11 @@ var oQ = (e, t, n, r) => {
index: r,
graphicalItemId: void 0
};
- return aQ(aQ({}, ZZ), {}, { coordinate: i.coordinate });
+ return iQ(iQ({}, XZ), {}, { coordinate: i.coordinate });
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineActiveTooltipIndex.js
-function FAe(e) {
+function LAe(e) {
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
if (e instanceof Date) {
var t = e.valueOf();
@@ -61702,25 +61737,25 @@ function FAe(e) {
var n = Number(e);
return Number.isFinite(n) ? n : void 0;
}
-function IAe(e, t) {
- var n = FAe(e), r = t[0], i = t[1];
+function RAe(e, t) {
+ var n = LAe(e), r = t[0], i = t[1];
return n !== void 0 && n >= Math.min(r, i) && n <= Math.max(r, i);
}
-function LAe(e, t, n) {
+function zAe(e, t, n) {
if (n == null || t == null) return !0;
- var r = pU(e, t);
- return r == null || !hK(n) || IAe(r, n);
+ var r = fU(e, t);
+ return r == null || !mK(n) || RAe(r, n);
}
-var sQ = (e, t, n, r) => {
+var oQ = (e, t, n, r) => {
var i = e?.index;
if (i == null) return null;
var a = Number(i);
- if (!lU(a)) return i;
+ if (!cU(a)) return i;
var o = 0, s = Infinity;
t.length > 0 && (s = t.length - 1);
var c = Math.max(o, Math.min(a, s)), l = t[c];
- return l == null || LAe(l, n, r) ? String(c) : null;
-}, cQ = (e, t, n, r, i, a, o) => {
+ return l == null || zAe(l, n, r) ? String(c) : null;
+}, sQ = (e, t, n, r, i, a, o) => {
if (a != null) {
var s = o[0]?.getPosition(a);
if (s != null) return s;
@@ -61736,7 +61771,7 @@ var sQ = (e, t, n, r) => {
};
}
}
-}, lQ = (e, t, n, r) => {
+}, cQ = (e, t, n, r) => {
if (t === "axis") return e.tooltipItemPayloads;
if (e.tooltipItemPayloads.length === 0) return [];
var i = n === "hover" ? e.itemInteraction.hover.graphicalItemId : e.itemInteraction.click.graphicalItemId;
@@ -61746,10 +61781,10 @@ var sQ = (e, t, n, r) => {
return a == null ? [] : [a];
}
return e.tooltipItemPayloads.filter((e) => e.settings?.graphicalItemId === i);
-}, uQ = (e) => e.options.tooltipPayloadSearcher, dQ = (e) => e.tooltip;
+}, lQ = (e) => e.options.tooltipPayloadSearcher, uQ = (e) => e.tooltip;
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineTooltipPayload.js
-function fQ(e, t) {
+function dQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -61759,30 +61794,30 @@ function fQ(e, t) {
}
return n;
}
-function pQ(e) {
+function fQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? fQ(Object(n), !0).forEach(function(t) {
- RAe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : fQ(Object(n)).forEach(function(t) {
+ t % 2 ? dQ(Object(n), !0).forEach(function(t) {
+ BAe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : dQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function RAe(e, t, n) {
- return (t = zAe(t)) in e ? Object.defineProperty(e, t, {
+function BAe(e, t, n) {
+ return (t = VAe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zAe(e) {
- var t = BAe(e, "string");
+function VAe(e) {
+ var t = HAe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BAe(e, t) {
+function HAe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -61792,222 +61827,222 @@ function BAe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function VAe(e) {
+function UAe(e) {
if (typeof e == "string" || typeof e == "number") return e;
}
-function HAe(e) {
+function WAe(e) {
if (typeof e == "string" || typeof e == "number" || typeof e == "boolean") return e;
}
-function UAe(e) {
+function GAe(e) {
if (typeof e == "string" || typeof e == "number") return e;
if (typeof e == "function") return (t) => e(t);
}
-function mQ(e) {
+function pQ(e) {
if (typeof e == "string") return e;
}
-function WAe(e) {
+function KAe(e) {
if (!(typeof e != "object" || !e)) return {
- name: "name" in e ? VAe(e.name) : void 0,
- unit: "unit" in e ? HAe(e.unit) : void 0,
- dataKey: "dataKey" in e ? UAe(e.dataKey) : void 0,
+ name: "name" in e ? UAe(e.name) : void 0,
+ unit: "unit" in e ? WAe(e.unit) : void 0,
+ dataKey: "dataKey" in e ? GAe(e.dataKey) : void 0,
payload: "payload" in e ? e.payload : void 0,
- color: "color" in e ? mQ(e.color) : void 0,
- fill: "fill" in e ? mQ(e.fill) : void 0
+ color: "color" in e ? pQ(e.color) : void 0,
+ fill: "fill" in e ? pQ(e.fill) : void 0
};
}
-function GAe(e, t) {
+function qAe(e, t) {
return e ?? t;
}
-var hQ = (e, t, n, r, i, a, o) => {
+var mQ = (e, t, n, r, i, a, o) => {
if (t != null && a != null) {
var { chartData: s, computedData: c, dataStartIndex: l, dataEndIndex: u } = n;
return e.reduce((e, n) => {
- var { dataDefinedOnItem: d, settings: f } = n, p = GAe(d, s), m = Array.isArray(p) ? cU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? oB(m, r, i) : a(m, t, c, g);
+ var { dataDefinedOnItem: d, settings: f } = n, p = qAe(d, s), m = Array.isArray(p) ? sU(p, l, u) : p, h = f?.dataKey ?? r, g = f?.nameKey, _ = r && Array.isArray(m) && !Array.isArray(m[0]) && o === "axis" ? aB(m, r, i) : a(m, t, c, g);
return Array.isArray(_) ? _.forEach((t) => {
- var n = WAe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = pQ(pQ({}, f), {}, {
+ var n = KAe(t), r = n?.name, i = n?.dataKey, a = n?.payload, o = fQ(fQ({}, f), {}, {
name: r,
unit: n?.unit,
color: n?.color ?? f?.color,
fill: n?.fill ?? f?.fill
});
- e.push(TU({
+ e.push(wU({
tooltipEntrySettings: o,
dataKey: i,
payload: a,
- value: pU(a, i),
+ value: fU(a, i),
name: r == null ? void 0 : String(r)
}));
- }) : e.push(TU({
+ }) : e.push(wU({
tooltipEntrySettings: f,
dataKey: h,
payload: _,
- value: pU(_, h),
- name: pU(_, g) ?? f?.name
+ value: fU(_, h),
+ name: fU(_, g) ?? f?.name
})), e;
}, []);
}
-}, gQ = $([
- $X,
- LX,
- NK
-], CX), _Q = $([
+}, hQ = $([
+ QX,
+ IX,
+ MK
+], SX), gQ = $([
$([(e) => e.graphicalItems.cartesianItems, (e) => e.graphicalItems.polarItems], (e, t) => [...e, ...t]),
- $X,
- $([cq, lq], RX)
-], BX, { memoizeOptions: { resultEqualityCheck: sq } }), KAe = $([_Q], (e) => e.filter(aq)), vQ = $([$([_Q], WX, { memoizeOptions: { resultEqualityCheck: sq } }), dK], GX), qAe = $([
- KAe,
- dK,
- $X
-], iq), yQ = $([
- vQ,
- $X,
- _Q
-], qX), bQ = $([$X], iZ), xQ = $([bQ, $([$X], (e) => e.allowDataOverflow)], _K), JAe = $([
+ QX,
+ $([sq, cq], LX)
+], zX, { memoizeOptions: { resultEqualityCheck: oq } }), JAe = $([gQ], (e) => e.filter(iq)), _Q = $([$([gQ], UX, { memoizeOptions: { resultEqualityCheck: oq } }), uK], WX), YAe = $([
+ JAe,
+ uK,
+ QX
+], rq), vQ = $([
+ _Q,
+ QX,
+ gQ
+], KX), yQ = $([QX], rZ), bQ = $([yQ, $([QX], (e) => e.allowDataOverflow)], gK), XAe = $([
$([
- qAe,
- $([_Q], (e) => e.filter(aq)),
- jK,
- MK
- ], tZ),
- dK,
- cq,
- xQ
-], rZ), YAe = $([
- vQ,
- $X,
- $([_Q], UX),
- sZ,
+ YAe,
+ $([gQ], (e) => e.filter(iq)),
+ AK,
+ jK
+ ], eZ),
+ uK,
+ sq,
+ bQ
+], nZ), ZAe = $([
+ _Q,
+ QX,
+ $([gQ], HX),
+ oZ,
+ sq
+], cZ, { memoizeOptions: { resultEqualityCheck: aq } }), QAe = $([$([
+ lZ,
+ sq,
cq
-], lZ, { memoizeOptions: { resultEqualityCheck: oq } }), XAe = $([$([
- uZ,
- cq,
- lq
-], dZ), cq], mZ), ZAe = $([$([
- fZ,
- cq,
- lq
-], dZ), cq], hZ), SQ = $([
- $X,
- eW,
+], uZ), sq], pZ), $Ae = $([$([
+ dZ,
+ sq,
+ cq
+], uZ), sq], mZ), xQ = $([
+ QX,
+ $U,
+ _Q,
vQ,
- yQ,
- jK,
- cq,
+ AK,
+ sq,
$([
- $X,
+ QX,
+ yQ,
bQ,
- xQ,
- JAe,
- YAe,
+ XAe,
+ ZAe,
$([
- XAe,
+ QAe,
$([$([
- pZ,
- cq,
- lq
- ], dZ), cq], gZ),
- ZAe
- ], cZ),
- eW,
- cq
- ], _Z)
-], vZ), QAe = $([
- $X,
- SQ,
+ fZ,
+ sq,
+ cq
+ ], uZ), sq], hZ),
+ $Ae
+ ], sZ),
+ $U,
+ sq
+ ], gZ)
+], _Z), eje = $([
+ QX,
+ xQ,
$([
- SQ,
- $X,
- gQ
- ], xZ),
- cq
-], CZ), CQ = (e) => TZ(e, cq(e), lq(e), !1), wQ = $([$X, CQ], BK), TQ = $([$([
- $X,
- gQ,
- QAe,
- wQ
-], SX)], uq), EQ = $([
- eW,
- $X,
- gQ,
- TQ,
- CQ,
+ xQ,
+ QX,
+ hQ
+ ], bZ),
+ sq
+], SZ), SQ = (e) => wZ(e, sq(e), cq(e), !1), CQ = $([QX, SQ], zK), wQ = $([$([
+ QX,
+ hQ,
+ eje,
+ CQ
+], xX)], lq), TQ = $([
+ $U,
+ QX,
+ hQ,
+ wQ,
+ SQ,
$([
- eW,
- yQ,
- $X,
- cq
- ], RZ),
+ $U,
+ vQ,
+ QX,
+ sq
+ ], LZ),
$([
- eW,
- yQ,
- $X,
- cq
- ], OZ),
- cq
+ $U,
+ vQ,
+ QX,
+ sq
+ ], DZ),
+ sq
], (e, t, n, r, i, a, o, s) => {
if (t) {
- var { type: c } = t, l = mU(e, s);
+ var { type: c } = t, l = pU(e, s);
if (r) {
var u = n === "scaleBand" && r.bandwidth ? r.bandwidth() / 2 : 2, d = c === "category" && r.bandwidth ? r.bandwidth() / u : 0;
- return d = s === "angleAxis" && i != null && i?.length >= 2 ? Qz(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
+ return d = s === "angleAxis" && i != null && i?.length >= 2 ? Zz(i[0] - i[1]) * 2 * d : d, l && o ? o.map((e, t) => {
var n = r.map(e);
- return lU(n) ? {
+ return cU(n) ? {
coordinate: n + d,
value: e,
index: t,
offset: d
} : null;
- }).filter(lB) : r.domain().map((e, t) => {
+ }).filter(cB) : r.domain().map((e, t) => {
var n = r.map(e);
- return lU(n) ? {
+ return cU(n) ? {
coordinate: n + d,
value: a ? a[e] : e,
index: t,
offset: d
} : null;
- }).filter(lB);
+ }).filter(cB);
}
}
-}), DQ = $([
+}), EQ = $([
+ GZ,
KZ,
- qZ,
- xAe
-], (e, t, n) => JZ(n.shared, e, t)), OQ = (e) => e.tooltip.settings.trigger, kQ = (e) => e.tooltip.settings.defaultIndex, AQ = $([
- dQ,
+ CAe
+], (e, t, n) => qZ(n.shared, e, t)), DQ = (e) => e.tooltip.settings.trigger, OQ = (e) => e.tooltip.settings.defaultIndex, kQ = $([
+ uQ,
+ EQ,
DQ,
- OQ,
- kQ
-], oQ), jQ = $([
- AQ,
- vQ,
- eZ,
- SQ
-], sQ), MQ = $([EQ, jQ], XZ), NQ = $([AQ], (e) => {
+ OQ
+], aQ), AQ = $([
+ kQ,
+ _Q,
+ $X,
+ xQ
+], oQ), jQ = $([TQ, AQ], YZ), MQ = $([kQ], (e) => {
if (e) return e.dataKey;
-}), $Ae = $([AQ], (e) => {
+}), tje = $([kQ], (e) => {
if (e) return e.graphicalItemId;
-}), PQ = $([
- dQ,
+}), NQ = $([
+ uQ,
+ EQ,
DQ,
- OQ,
- kQ
-], lQ), eje = $([AQ, $([
+ OQ
+], cQ), nje = $([kQ, $([
+ EU,
DU,
- OU,
- eW,
- PU,
- EQ,
- kQ,
- PQ
-], cQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), tje = $([AQ], (e) => e?.active ?? !1), nje = $([$([
- PQ,
+ $U,
+ NU,
+ TQ,
+ OQ,
+ NQ
+], sQ)], (e, t) => e != null && e.coordinate ? e.coordinate : t), rje = $([kQ], (e) => e?.active ?? !1), ije = $([$([
+ NQ,
+ AQ,
+ uK,
+ $X,
jQ,
- dK,
- eZ,
- MQ,
- uQ,
- DQ
-], hQ)], (e) => {
+ lQ,
+ EQ
+], mQ)], (e) => {
if (e != null) {
var t = e.map((e) => e.payload).filter((e) => e != null);
return Array.from(new Set(t));
@@ -62015,7 +62050,7 @@ var hQ = (e, t, n, r, i, a, o) => {
});
//#endregion
//#region node_modules/recharts/es6/context/useTooltipAxis.js
-function FQ(e, t) {
+function PQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62025,30 +62060,30 @@ function FQ(e, t) {
}
return n;
}
-function IQ(e) {
+function FQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? FQ(Object(n), !0).forEach(function(t) {
- rje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : FQ(Object(n)).forEach(function(t) {
+ t % 2 ? PQ(Object(n), !0).forEach(function(t) {
+ aje(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : PQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rje(e, t, n) {
- return (t = ije(t)) in e ? Object.defineProperty(e, t, {
+function aje(e, t, n) {
+ return (t = oje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function ije(e) {
- var t = aje(e, "string");
+function oje(e) {
+ var t = sje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aje(e, t) {
+function sje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62058,13 +62093,13 @@ function aje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var oje = () => Q($X), sje = () => {
- var e = oje(), t = Q(EQ), n = Q(TQ);
- return wU(!e || !n ? void 0 : IQ(IQ({}, e), {}, { scale: n }), t);
+var cje = () => Q(QX), lje = () => {
+ var e = cje(), t = Q(TQ), n = Q(wQ);
+ return CU(!e || !n ? void 0 : FQ(FQ({}, e), {}, { scale: n }), t);
};
//#endregion
//#region node_modules/recharts/es6/util/getActiveCoordinate.js
-function LQ(e, t) {
+function IQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62074,30 +62109,30 @@ function LQ(e, t) {
}
return n;
}
-function RQ(e) {
+function LQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? LQ(Object(n), !0).forEach(function(t) {
- cje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : LQ(Object(n)).forEach(function(t) {
+ t % 2 ? IQ(Object(n), !0).forEach(function(t) {
+ uje(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : IQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cje(e, t, n) {
- return (t = lje(t)) in e ? Object.defineProperty(e, t, {
+function uje(e, t, n) {
+ return (t = dje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lje(e) {
- var t = uje(e, "string");
+function dje(e) {
+ var t = fje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uje(e, t) {
+function fje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62107,7 +62142,7 @@ function uje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var dje = (e, t, n, r) => {
+var pje = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "horizontal") return {
@@ -62123,18 +62158,18 @@ var dje = (e, t, n, r) => {
x: 0,
y: 0
};
-}, fje = (e, t, n, r) => {
+}, mje = (e, t, n, r) => {
var i = t.find((e) => e && e.index === n);
if (i) {
if (e === "centric") {
var a = i.coordinate, { radius: o } = r;
- return RQ(RQ(RQ({}, r), nK(r.cx, r.cy, o, a)), {}, {
+ return LQ(LQ(LQ({}, r), tK(r.cx, r.cy, o, a)), {}, {
angle: a,
radius: o
});
}
var s = i.coordinate, { angle: c } = r;
- return RQ(RQ(RQ({}, r), nK(r.cx, r.cy, s, c)), {}, {
+ return LQ(LQ(LQ({}, r), tK(r.cx, r.cy, s, c)), {}, {
angle: c,
radius: s
});
@@ -62153,19 +62188,19 @@ var dje = (e, t, n, r) => {
y: 0
};
};
-function pje(e, t) {
+function hje(e, t) {
var { relativeX: n, relativeY: r } = e;
return n >= t.left && n <= t.left + t.width && r >= t.top && r <= t.top + t.height;
}
-var zQ = (e, t, n, r, i) => {
+var RQ = (e, t, n, r, i) => {
var a = t?.length ?? 0;
if (a <= 1 || e == null) return 0;
if (r === "angleAxis" && i != null && Math.abs(Math.abs(i[1] - i[0]) - 360) <= 1e-6) for (var o = 0; o < a; o++) {
var s = o > 0 ? n[o - 1]?.coordinate : n[a - 1]?.coordinate, c = n[o]?.coordinate, l = o >= a - 1 ? n[0]?.coordinate : n[o + 1]?.coordinate, u = void 0;
if (s != null && c != null && l != null) {
- if (Qz(c - s) !== Qz(l - c)) {
+ if (Zz(c - s) !== Zz(l - c)) {
var d = [];
- if (Qz(l - c) === Qz(i[1] - i[0])) {
+ if (Zz(l - c) === Zz(i[1] - i[0])) {
u = l;
var f = c + i[1] - i[0];
d[0] = Math.min(f, (f + s) / 2), d[1] = Math.max(f, (f + s) / 2);
@@ -62190,78 +62225,78 @@ var zQ = (e, t, n, r, i) => {
}
}
return -1;
-}, BQ = () => Q(NK), VQ = (e, t) => t, HQ = (e, t, n) => n, UQ = (e, t, n, r) => r, mje = $(EQ, (e) => tV(e, (e) => e.coordinate)), WQ = $([
- dQ,
+}, zQ = () => Q(MK), BQ = (e, t) => t, VQ = (e, t, n) => n, HQ = (e, t, n, r) => r, gje = $(TQ, (e) => eV(e, (e) => e.coordinate)), UQ = $([
+ uQ,
+ BQ,
VQ,
- HQ,
- UQ
-], oQ), GQ = $([
- WQ,
- vQ,
- eZ,
- SQ
-], sQ), hje = (e, t, n) => {
+ HQ
+], aQ), WQ = $([
+ UQ,
+ _Q,
+ $X,
+ xQ
+], oQ), _je = (e, t, n) => {
if (t != null) {
- var r = dQ(e);
+ var r = uQ(e);
return t === "axis" ? n === "hover" ? r.axisInteraction.hover.dataKey : r.axisInteraction.click.dataKey : n === "hover" ? r.itemInteraction.hover.dataKey : r.itemInteraction.click.dataKey;
}
-}, KQ = $([
- dQ,
+}, GQ = $([
+ uQ,
+ BQ,
VQ,
- HQ,
- UQ
-], lQ), qQ = $([
+ HQ
+], cQ), KQ = $([
+ EU,
DU,
- OU,
- eW,
- PU,
- EQ,
- UQ,
- KQ
-], cQ), gje = $([WQ, qQ], (e, t) => e.coordinate ?? t), JQ = $([EQ, GQ], XZ), _je = $([
- KQ,
+ $U,
+ NU,
+ TQ,
+ HQ,
+ GQ
+], sQ), vje = $([UQ, KQ], (e, t) => e.coordinate ?? t), qQ = $([TQ, WQ], YZ), yje = $([
GQ,
- dK,
- eZ,
- JQ,
- uQ,
- VQ
-], hQ), vje = $([WQ, GQ], (e, t) => ({
+ WQ,
+ uK,
+ $X,
+ qQ,
+ lQ,
+ BQ
+], mQ), bje = $([UQ, WQ], (e, t) => ({
isActive: e.active && t != null,
activeIndex: t
-})), yje = (e, t, n, r, i, a, o) => {
- if (!(!e || !n || !r || !i) && pje(e, o)) {
- var s = zQ(WCe(e, t), a, i, n, r), c = dje(t, i, s, e);
+})), xje = (e, t, n, r, i, a, o) => {
+ if (!(!e || !n || !r || !i) && hje(e, o)) {
+ var s = RQ(KCe(e, t), a, i, n, r), c = pje(t, i, s, e);
return {
activeIndex: String(s),
activeCoordinate: c
};
}
-}, bje = (e, t, n, r, i, a, o) => {
+}, Sje = (e, t, n, r, i, a, o) => {
if (!(!e || !r || !i || !a || !n)) {
- var s = PEe(e, n);
+ var s = IEe(e, n);
if (s) {
- var c = zQ(GCe(s, t), o, a, r, i), l = fje(t, a, c, s);
+ var c = RQ(qCe(s, t), o, a, r, i), l = mje(t, a, c, s);
return {
activeIndex: String(c),
activeCoordinate: l
};
}
}
-}, xje = (e, t, n, r, i, a, o, s) => {
- if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? yje(e, t, r, i, a, o, s) : bje(e, t, n, r, i, a, o);
-}, Sje = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
+}, Cje = (e, t, n, r, i, a, o, s) => {
+ if (!(!e || !t || !r || !i || !a)) return t === "horizontal" || t === "vertical" ? xje(e, t, r, i, a, o, s) : Sje(e, t, n, r, i, a, o);
+}, wje = $((e) => e.zIndex.zIndexMap, (e, t) => t, (e, t, n) => n, (e, t, n) => {
if (t != null) {
var r = e[t];
if (r != null) return n ? r.panoramaElement : r.element;
}
-}), Cje = $((e) => e.zIndex.zIndexMap, (e) => {
- var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(LK));
+}), Tje = $((e) => e.zIndex.zIndexMap, (e) => {
+ var t = Object.keys(e).map((e) => parseInt(e, 10)).concat(Object.values(IK));
return Array.from(new Set(t)).sort((e, t) => e - t);
-}, { memoizeOptions: { resultEqualityCheck: tDe } });
+}, { memoizeOptions: { resultEqualityCheck: rDe } });
//#endregion
//#region node_modules/recharts/es6/state/zIndexSlice.js
-function YQ(e, t) {
+function JQ(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62271,30 +62306,30 @@ function YQ(e, t) {
}
return n;
}
-function XQ(e) {
+function YQ(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? YQ(Object(n), !0).forEach(function(t) {
- wje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : YQ(Object(n)).forEach(function(t) {
+ t % 2 ? JQ(Object(n), !0).forEach(function(t) {
+ Eje(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : JQ(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function wje(e, t, n) {
- return (t = Tje(t)) in e ? Object.defineProperty(e, t, {
+function Eje(e, t, n) {
+ return (t = Dje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Tje(e) {
- var t = Eje(e, "string");
+function Dje(e) {
+ var t = Oje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Eje(e, t) {
+function Oje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62304,17 +62339,17 @@ function Eje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var Dje = { zIndexMap: Object.values(LK).reduce((e, t) => XQ(XQ({}, e), {}, { [t]: {
+var kje = { zIndexMap: Object.values(IK).reduce((e, t) => YQ(YQ({}, e), {}, { [t]: {
element: void 0,
panoramaElement: void 0,
consumers: 0
-} }), {}) }, Oje = new Set(Object.values(LK));
-function kje(e) {
- return Oje.has(e);
+} }), {}) }, Aje = new Set(Object.values(IK));
+function jje(e) {
+ return Aje.has(e);
}
-var ZQ = PH({
+var XQ = NH({
name: "zIndex",
- initialState: Dje,
+ initialState: kje,
reducers: {
registerZIndexPortal: {
reducer: (e, t) => {
@@ -62325,61 +62360,61 @@ var ZQ = PH({
panoramaElement: void 0
};
},
- prepare: AH()
+ prepare: kH()
},
unregisterZIndexPortal: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
- e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !kje(n) && delete e.zIndexMap[n]);
+ e.zIndexMap[n] && (--e.zIndexMap[n].consumers, e.zIndexMap[n].consumers <= 0 && !jje(n) && delete e.zIndexMap[n]);
},
- prepare: AH()
+ prepare: kH()
},
registerZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n, element: r, isPanorama: i } = t.payload;
- e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = GW(r) : e.zIndexMap[n].element = GW(r) : e.zIndexMap[n] = {
+ e.zIndexMap[n] ? i ? e.zIndexMap[n].panoramaElement = WW(r) : e.zIndexMap[n].element = WW(r) : e.zIndexMap[n] = {
consumers: 0,
- element: i ? void 0 : GW(r),
- panoramaElement: i ? GW(r) : void 0
+ element: i ? void 0 : WW(r),
+ panoramaElement: i ? WW(r) : void 0
};
},
- prepare: AH()
+ prepare: kH()
},
unregisterZIndexPortalElement: {
reducer: (e, t) => {
var { zIndex: n } = t.payload;
e.zIndexMap[n] && (t.payload.isPanorama ? e.zIndexMap[n].panoramaElement = void 0 : e.zIndexMap[n].element = void 0);
},
- prepare: AH()
+ prepare: kH()
}
}
-}), { registerZIndexPortal: Aje, unregisterZIndexPortal: jje, registerZIndexPortalElement: Mje, unregisterZIndexPortalElement: Nje } = ZQ.actions, Pje = ZQ.reducer;
+}), { registerZIndexPortal: Mje, unregisterZIndexPortal: Nje, registerZIndexPortalElement: Pje, unregisterZIndexPortalElement: Fje } = XQ.actions, Ije = XQ.reducer;
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexLayer.js
-function QQ(e) {
- var { zIndex: t, children: n } = e, r = bwe() && t !== void 0 && t !== 0, i = IU(), a = qB();
- (0, R.useLayoutEffect)(() => r ? (a(Aje({ zIndex: t })), () => {
- a(jje({ zIndex: t }));
- }) : uB, [
+function ZQ(e) {
+ var { zIndex: t, children: n } = e, r = Swe() && t !== void 0 && t !== 0, i = FU(), a = KB();
+ (0, R.useLayoutEffect)(() => r ? (a(Mje({ zIndex: t })), () => {
+ a(Nje({ zIndex: t }));
+ }) : lB, [
a,
t,
r
]);
- var o = Q((e) => Sje(e, t, i));
+ var o = Q((e) => wje(e, t, i));
return r ? o ? /*#__PURE__*/ (0, rp.createPortal)(n, o) : null : n;
}
//#endregion
//#region node_modules/recharts/es6/component/Cursor.js
-function $Q() {
- return $Q = Object.assign ? Object.assign.bind() : function(e) {
+function QQ() {
+ return QQ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, $Q.apply(null, arguments);
+ }, QQ.apply(null, arguments);
}
-function e$(e, t) {
+function $Q(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62389,30 +62424,30 @@ function e$(e, t) {
}
return n;
}
-function t$(e) {
+function e$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? e$(Object(n), !0).forEach(function(t) {
- Fje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e$(Object(n)).forEach(function(t) {
+ t % 2 ? $Q(Object(n), !0).forEach(function(t) {
+ Lje(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $Q(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Fje(e, t, n) {
- return (t = Ije(t)) in e ? Object.defineProperty(e, t, {
+function Lje(e, t, n) {
+ return (t = Rje(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Ije(e) {
- var t = Lje(e, "string");
+function Rje(e) {
+ var t = zje(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Lje(e, t) {
+function zje(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62422,18 +62457,18 @@ function Lje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function Rje(e) {
+function Bje(e) {
var { cursor: t, cursorComp: n, cursorProps: r } = e;
return /*#__PURE__*/ (0, R.isValidElement)(t) ? /*#__PURE__*/ (0, R.cloneElement)(t, r) : /*#__PURE__*/ (0, R.createElement)(n, r);
}
-function zje(e) {
+function Vje(e) {
var { coordinate: t, payload: n, index: r, offset: i, tooltipAxisBandSize: a, layout: o, cursor: s, tooltipEventType: c, chartName: l } = e, u = t, d = n, f = r;
if (!s || !u || l !== "ScatterChart" && c !== "axis") return null;
var p, m, h;
- if (l === "ScatterChart") p = u, m = RTe, h = LK.cursorLine;
- else if (l === "BarChart") p = zTe(o, u, i, a), m = ZG, h = LK.cursorRectangle;
- else if (o === "radial" && gB(u)) {
- var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = rK(u);
+ if (l === "ScatterChart") p = u, m = BTe, h = IK.cursorLine;
+ else if (l === "BarChart") p = VTe(o, u, i, a), m = XG, h = IK.cursorRectangle;
+ else if (o === "radial" && hB(u)) {
+ var { cx: g, cy: _, radius: v, startAngle: y, endAngle: b } = nK(u);
p = {
cx: g,
cy: _,
@@ -62441,25 +62476,25 @@ function zje(e) {
endAngle: b,
innerRadius: v,
outerRadius: v
- }, m = cK, h = LK.cursorLine;
- } else p = { points: GEe(o, u, i) }, m = wG, h = LK.cursorLine;
- var x = typeof s == "object" && "className" in s ? s.className : void 0, S = t$(t$(t$(t$({
+ }, m = sK, h = IK.cursorLine;
+ } else p = { points: qEe(o, u, i) }, m = CG, h = IK.cursorLine;
+ var x = typeof s == "object" && "className" in s ? s.className : void 0, S = e$(e$(e$(e$({
stroke: "#ccc",
pointerEvents: "none"
- }, i), p), GR(s)), {}, {
+ }, i), p), WR(s)), {}, {
payload: d,
payloadIndex: f,
className: Sh("recharts-tooltip-cursor", x)
});
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ R.createElement(Rje, {
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex ?? h }, /*#__PURE__*/ R.createElement(Bje, {
cursor: s,
cursorComp: m,
cursorProps: S
}));
}
-function Bje(e) {
- var t = sje(), n = ZU(), r = tW(), i = BQ();
- return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ R.createElement(zje, $Q({}, e, {
+function Hje(e) {
+ var t = lje(), n = XU(), r = eW(), i = zQ();
+ return t == null || n == null || r == null || i == null ? null : /*#__PURE__*/ R.createElement(Vje, QQ({}, e, {
offset: n,
layout: r,
tooltipAxisBandSize: t,
@@ -62468,7 +62503,7 @@ function Bje(e) {
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipPortalContext.js
-var n$ = /*#__PURE__*/ (0, R.createContext)(null), Vje = () => (0, R.useContext)(n$), Hje = (/* @__PURE__ */ Dt((/* @__PURE__ */ Ct(((e, t) => {
+var t$ = /*#__PURE__*/ (0, R.createContext)(null), Uje = () => (0, R.useContext)(t$), Wje = (/* @__PURE__ */ Dt((/* @__PURE__ */ Ct(((e, t) => {
var n = Object.prototype.hasOwnProperty, r = "~";
function i() {}
Object.create && (i.prototype = Object.create(null), new i().__proto__ || (r = !1));
@@ -62555,12 +62590,12 @@ var n$ = /*#__PURE__*/ (0, R.createContext)(null), Vje = () => (0, R.useContext)
var t;
return e ? (t = r ? r + e : e, this._events[t] && s(this, t)) : (this._events = new i(), this._eventsCount = 0), this;
}, c.prototype.off = c.prototype.removeListener, c.prototype.addListener = c.prototype.on, c.prefixed = r, c.EventEmitter = c, t !== void 0 && (t.exports = c);
-})))(), 1)).default, r$ = new Hje(), i$ = "recharts.syncEvent.tooltip", a$ = "recharts.syncEvent.brush", o$ = (e, t) => {
+})))(), 1)).default, n$ = new Wje(), r$ = "recharts.syncEvent.tooltip", i$ = "recharts.syncEvent.brush", a$ = (e, t) => {
if (t && Array.isArray(e)) {
var n = Number.parseInt(t, 10);
- if (!$z(n)) return e[n];
+ if (!Qz(n)) return e[n];
}
-}, s$ = PH({
+}, o$ = NH({
name: "options",
initialState: {
chartName: "",
@@ -62571,13 +62606,13 @@ var n$ = /*#__PURE__*/ (0, R.createContext)(null), Vje = () => (0, R.useContext)
reducers: { createEventEmitter: (e) => {
e.eventEmitter ??= Symbol("rechartsEventEmitter");
} }
-}), Uje = s$.reducer, { createEventEmitter: Wje } = s$.actions;
+}), Gje = o$.reducer, { createEventEmitter: Kje } = o$.actions;
//#endregion
//#region node_modules/recharts/es6/synchronisation/syncSelectors.js
-function Gje(e) {
+function qje(e) {
return e.tooltip.syncInteraction;
}
-var c$ = PH({
+var s$ = NH({
name: "chartData",
initialState: {
chartData: void 0,
@@ -62587,7 +62622,7 @@ var c$ = PH({
},
reducers: {
setChartData(e, t) {
- if (e.chartData = GW(t.payload), t.payload == null) {
+ if (e.chartData = WW(t.payload), t.payload == null) {
e.dataStartIndex = 0, e.dataEndIndex = 0;
return;
}
@@ -62601,8 +62636,8 @@ var c$ = PH({
n != null && (e.dataStartIndex = n), r != null && (e.dataEndIndex = r);
}
}
-}), { setChartData: l$, setDataStartEndIndexes: Kje, setComputedData: qje } = c$.actions, Jje = c$.reducer, Yje = ["x", "y"];
-function u$(e, t) {
+}), { setChartData: c$, setDataStartEndIndexes: Jje, setComputedData: Yje } = s$.actions, Xje = s$.reducer, Zje = ["x", "y"];
+function l$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62612,30 +62647,30 @@ function u$(e, t) {
}
return n;
}
-function d$(e) {
+function u$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? u$(Object(n), !0).forEach(function(t) {
- Xje(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u$(Object(n)).forEach(function(t) {
+ t % 2 ? l$(Object(n), !0).forEach(function(t) {
+ Qje(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : l$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Xje(e, t, n) {
- return (t = Zje(t)) in e ? Object.defineProperty(e, t, {
+function Qje(e, t, n) {
+ return (t = $je(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Zje(e) {
- var t = Qje(e, "string");
+function $je(e) {
+ var t = eMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Qje(e, t) {
+function eMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62645,16 +62680,16 @@ function Qje(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function $je(e, t) {
+function tMe(e, t) {
if (e == null) return {};
- var n, r, i = eMe(e, t);
+ var n, r, i = nMe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function eMe(e, t) {
+function nMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -62663,20 +62698,20 @@ function eMe(e, t) {
}
return n;
}
-function tMe() {
- var e = Q(PK), t = Q(IK), n = qB(), r = Q(FK), i = Q(EQ), a = tW(), o = XU(), s = Q((e) => e.rootProps.className);
+function rMe() {
+ var e = Q(NK), t = Q(FK), n = KB(), r = Q(PK), i = Q(TQ), a = eW(), o = YU(), s = Q((e) => e.rootProps.className);
(0, R.useEffect)(() => {
- if (e == null) return uB;
+ if (e == null) return lB;
var s = (s, c, l) => {
if (t !== l && e === s) {
if (r === "index") {
var u;
if (o && c != null && (u = c.payload) != null && u.coordinate && c.payload.sourceViewBox) {
- var d = c.payload.coordinate, { x: f, y: p } = d, m = $je(d, Yje), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = d$(d$({}, m), {}, {
+ var d = c.payload.coordinate, { x: f, y: p } = d, m = tMe(d, Zje), { x: h, y: g, width: _, height: v } = c.payload.sourceViewBox, y = u$(u$({}, m), {}, {
x: o.x + (_ ? (f - h) / _ : 0) * o.width,
y: o.y + (v ? (p - g) / v : 0) * o.height
});
- n(d$(d$({}, c), {}, { payload: d$(d$({}, c.payload), {}, { coordinate: y }) }));
+ n(u$(u$({}, c), {}, { payload: u$(u$({}, c.payload), {}, { coordinate: y }) }));
} else n(c);
return;
}
@@ -62692,7 +62727,7 @@ function tMe() {
})] : r === "value" && (b = i.find((e) => String(e.value) === c.payload.label));
var { coordinate: x } = c.payload;
if (b == null || c.payload.active === !1 || x == null || o == null) {
- n(nQ({
+ n(tQ({
active: !1,
coordinate: void 0,
dataKey: void 0,
@@ -62707,7 +62742,7 @@ function tMe() {
x: a === "horizontal" ? b.coordinate : w,
y: a === "horizontal" ? T : b.coordinate
};
- n(nQ({
+ n(tQ({
active: c.payload.active,
coordinate: E,
dataKey: c.payload.dataKey,
@@ -62719,8 +62754,8 @@ function tMe() {
}
}
};
- return r$.on(i$, s), () => {
- r$.off(i$, s);
+ return n$.on(r$, s), () => {
+ n$.off(r$, s);
};
}, [
s,
@@ -62733,15 +62768,15 @@ function tMe() {
o
]);
}
-function nMe() {
- var e = Q(PK), t = Q(IK), n = qB();
+function iMe() {
+ var e = Q(NK), t = Q(FK), n = KB();
(0, R.useEffect)(() => {
- if (e == null) return uB;
+ if (e == null) return lB;
var r = (r, i, a) => {
- t !== a && e === r && n(Kje(i));
+ t !== a && e === r && n(Jje(i));
};
- return r$.on(a$, r), () => {
- r$.off(a$, r);
+ return n$.on(i$, r), () => {
+ n$.off(i$, r);
};
}, [
n,
@@ -62749,17 +62784,17 @@ function nMe() {
e
]);
}
-function rMe() {
- var e = qB();
+function aMe() {
+ var e = KB();
(0, R.useEffect)(() => {
- e(Wje());
- }, [e]), tMe(), nMe();
+ e(Kje());
+ }, [e]), rMe(), iMe();
}
-function iMe(e, t, n, r, i, a) {
- var o = Q((n) => hje(n, e, t)), s = Q($Ae), c = Q(IK), l = Q(PK), u = Q(FK), d = Q(Gje)?.active, f = XU();
+function oMe(e, t, n, r, i, a) {
+ var o = Q((n) => _je(n, e, t)), s = Q(tje), c = Q(FK), l = Q(NK), u = Q(PK), d = Q(qje)?.active, f = YU();
(0, R.useEffect)(() => {
if (!d && l != null && c != null) {
- var e = nQ({
+ var e = tQ({
active: a,
coordinate: n,
dataKey: o,
@@ -62768,7 +62803,7 @@ function iMe(e, t, n, r, i, a) {
sourceViewBox: f,
graphicalItemId: s
});
- r$.emit(i$, l, e, c);
+ n$.emit(r$, l, e, c);
}
}, [
d,
@@ -62786,7 +62821,7 @@ function iMe(e, t, n, r, i, a) {
}
//#endregion
//#region node_modules/recharts/es6/component/Tooltip.js
-function f$(e, t) {
+function d$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62796,30 +62831,30 @@ function f$(e, t) {
}
return n;
}
-function p$(e) {
+function f$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? f$(Object(n), !0).forEach(function(t) {
- aMe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : f$(Object(n)).forEach(function(t) {
+ t % 2 ? d$(Object(n), !0).forEach(function(t) {
+ sMe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function aMe(e, t, n) {
- return (t = oMe(t)) in e ? Object.defineProperty(e, t, {
+function sMe(e, t, n) {
+ return (t = cMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function oMe(e) {
- var t = sMe(e, "string");
+function cMe(e) {
+ var t = lMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function sMe(e, t) {
+function lMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62829,13 +62864,13 @@ function sMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function cMe(e) {
+function uMe(e) {
return e.dataKey;
}
-function lMe(e, t) {
- return /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ R.createElement(e, t) : /*#__PURE__*/ R.createElement(mTe, t);
+function dMe(e, t) {
+ return /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? /*#__PURE__*/ R.createElement(e, t) : /*#__PURE__*/ R.createElement(gTe, t);
}
-var m$ = [], uMe = {
+var p$ = [], fMe = {
allowEscapeViewBox: {
x: !1,
y: !1
@@ -62861,10 +62896,10 @@ var m$ = [], uMe = {
useTranslate3d: !1,
wrapperStyle: {}
};
-function dMe(e) {
- var t = bB(e, uMe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = qB(), S = typeof v == "number" ? String(v) : v;
+function pMe(e) {
+ var t = yB(e, fMe), { active: n, allowEscapeViewBox: r, animationDuration: i, animationEasing: a, content: o, filterNull: s, isAnimationActive: c, offset: l, payloadUniqBy: u, position: d, reverseDirection: f, useTranslate3d: p, wrapperStyle: m, cursor: h, shared: g, trigger: _, defaultIndex: v, portal: y, axisId: b } = t, x = KB(), S = typeof v == "number" ? String(v) : v;
(0, R.useEffect)(() => {
- x(TAe({
+ x(DAe({
shared: g,
trigger: _,
axisId: b,
@@ -62879,20 +62914,20 @@ function dMe(e) {
n,
S
]);
- var C = XU(), w = mG(), T = bAe(g), { activeIndex: E, isActive: D } = Q((e) => vje(e, T, _, S)) ?? {}, O = Q((e) => _je(e, T, _, S)), k = Q((e) => JQ(e, T, _, S)), A = Q((e) => gje(e, T, _, S)), j = O, M = Vje(), N = n ?? D ?? !1, [ee, te] = iV([j, N]), P = T === "axis" ? k : void 0;
- iMe(T, _, A, P, E, N);
+ var C = YU(), w = pG(), T = SAe(g), { activeIndex: E, isActive: D } = Q((e) => bje(e, T, _, S)) ?? {}, O = Q((e) => yje(e, T, _, S)), k = Q((e) => qQ(e, T, _, S)), A = Q((e) => vje(e, T, _, S)), j = O, M = Uje(), N = n ?? D ?? !1, [ee, te] = rV([j, N]), P = T === "axis" ? k : void 0;
+ oMe(T, _, A, P, E, N);
var F = y ?? M;
if (F == null || C == null || T == null) return null;
- var ne = j ?? m$;
- N || (ne = m$), s && ne.length && (ne = GB(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, cMe));
- var re = ne.length > 0, ie = p$(p$({}, t), {}, {
+ var ne = j ?? p$;
+ N || (ne = p$), s && ne.length && (ne = WB(ne.filter((e) => e.value != null && (e.hide !== !0 || t.includeHidden)), u, uMe));
+ var re = ne.length > 0, ie = f$(f$({}, t), {}, {
payload: ne,
label: P,
active: N,
activeIndex: E,
coordinate: A,
accessibilityLayer: w
- }), ae = /*#__PURE__*/ R.createElement(wTe, {
+ }), ae = /*#__PURE__*/ R.createElement(ETe, {
allowEscapeViewBox: r,
animationDuration: i,
animationEasing: a,
@@ -62909,8 +62944,8 @@ function dMe(e) {
lastBoundingBox: ee,
innerRef: te,
hasPortalFromProps: !!y
- }, lMe(o, ie));
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ (0, rp.createPortal)(ae, F), N && /*#__PURE__*/ R.createElement(Bje, {
+ }, dMe(o, ie));
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ (0, rp.createPortal)(ae, F), N && /*#__PURE__*/ R.createElement(Hje, {
cursor: h,
tooltipEventType: T,
coordinate: A,
@@ -62920,23 +62955,23 @@ function dMe(e) {
}
//#endregion
//#region node_modules/recharts/es6/component/Cell.js
-var h$ = (e) => null;
-h$.displayName = "Cell";
+var m$ = (e) => null;
+m$.displayName = "Cell";
//#endregion
//#region node_modules/recharts/es6/util/LRUCache.js
-function fMe(e, t, n) {
- return (t = pMe(t)) in e ? Object.defineProperty(e, t, {
+function mMe(e, t, n) {
+ return (t = hMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function pMe(e) {
- var t = mMe(e, "string");
+function hMe(e) {
+ var t = gMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function mMe(e, t) {
+function gMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -62946,9 +62981,9 @@ function mMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var hMe = class {
+var _Me = class {
constructor(e) {
- fMe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
+ mMe(this, "cache", /* @__PURE__ */ new Map()), this.maxSize = e;
}
get(e) {
var t = this.cache.get(e);
@@ -62971,7 +63006,7 @@ var hMe = class {
};
//#endregion
//#region node_modules/recharts/es6/util/DOMUtils.js
-function g$(e, t) {
+function h$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -62981,30 +63016,30 @@ function g$(e, t) {
}
return n;
}
-function gMe(e) {
+function vMe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? g$(Object(n), !0).forEach(function(t) {
- _Me(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g$(Object(n)).forEach(function(t) {
+ t % 2 ? h$(Object(n), !0).forEach(function(t) {
+ yMe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function _Me(e, t, n) {
- return (t = vMe(t)) in e ? Object.defineProperty(e, t, {
+function yMe(e, t, n) {
+ return (t = bMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function vMe(e) {
- var t = yMe(e, "string");
+function bMe(e) {
+ var t = xMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function yMe(e, t) {
+function xMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63014,10 +63049,10 @@ function yMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var _$ = gMe({}, {
+var g$ = vMe({}, {
cacheSize: 2e3,
enableCache: !0
-}), v$ = new hMe(_$.cacheSize), bMe = {
+}), _$ = new _Me(g$.cacheSize), SMe = {
position: "absolute",
top: "-20000px",
left: 0,
@@ -63025,14 +63060,14 @@ var _$ = gMe({}, {
margin: 0,
border: "none",
whiteSpace: "pre"
-}, y$ = "recharts_measurement_span";
-function xMe(e, t) {
+}, v$ = "recharts_measurement_span";
+function CMe(e, t) {
return `${e}|${t.fontSize || ""}|${t.fontFamily || ""}|${t.fontWeight || ""}|${t.fontStyle || ""}|${t.letterSpacing || ""}|${t.textTransform || ""}`;
}
-var b$ = (e, t) => {
+var y$ = (e, t) => {
try {
- var n = document.getElementById(y$);
- n || (n = document.createElement("span"), n.setAttribute("id", y$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, bMe, t), n.textContent = `${e}`;
+ var n = document.getElementById(v$);
+ n || (n = document.createElement("span"), n.setAttribute("id", v$), n.setAttribute("aria-hidden", "true"), document.body.appendChild(n)), Object.assign(n.style, SMe, t), n.textContent = `${e}`;
var r = n.getBoundingClientRect();
return {
width: r.width,
@@ -63044,31 +63079,31 @@ var b$ = (e, t) => {
height: 0
};
}
-}, x$ = function(e) {
+}, b$ = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
- if (e == null || uG.isSsr) return {
+ if (e == null || lG.isSsr) return {
width: 0,
height: 0
};
- if (!_$.enableCache) return b$(e, t);
- var n = xMe(e, t), r = v$.get(n);
+ if (!g$.enableCache) return y$(e, t);
+ var n = CMe(e, t), r = _$.get(n);
if (r) return r;
- var i = b$(e, t);
- return v$.set(n, i), i;
-}, S$;
-function SMe(e, t, n) {
- return (t = CMe(t)) in e ? Object.defineProperty(e, t, {
+ var i = y$(e, t);
+ return _$.set(n, i), i;
+}, x$;
+function wMe(e, t, n) {
+ return (t = TMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function CMe(e) {
- var t = wMe(e, "string");
+function TMe(e) {
+ var t = EMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function wMe(e, t) {
+function EMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63078,7 +63113,7 @@ function wMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var C$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, w$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, TMe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, EMe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, DMe = {
+var S$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, C$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, DMe = /^(px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q)$/, OMe = /(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/, kMe = {
cm: 96 / 2.54,
mm: 96 / 25.4,
pt: 96 / 72,
@@ -63086,7 +63121,7 @@ var C$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, w$ = /(
in: 96,
Q: 96 / 101.6,
px: 1
-}, OMe = [
+}, AMe = [
"cm",
"mm",
"pt",
@@ -63095,20 +63130,20 @@ var C$ = /(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/, w$ = /(
"Q",
"px"
];
-function kMe(e) {
- return OMe.includes(e);
+function jMe(e) {
+ return AMe.includes(e);
}
-var T$ = "NaN";
-function AMe(e, t) {
- return e * DMe[t];
+var w$ = "NaN";
+function MMe(e, t) {
+ return e * kMe[t];
}
-var E$ = class e {
+var T$ = class e {
static parse(t) {
- var [, n, r] = EMe.exec(t) ?? [];
+ var [, n, r] = OMe.exec(t) ?? [];
return n == null ? e.NaN : new e(parseFloat(n), r ?? "");
}
constructor(e, t) {
- this.num = e, this.unit = t, this.num = e, this.unit = t, $z(e) && (this.unit = ""), t !== "" && !TMe.test(t) && (this.num = NaN, this.unit = ""), kMe(t) && (this.num = AMe(e, t), this.unit = "px");
+ this.num = e, this.unit = t, this.num = e, this.unit = t, Qz(e) && (this.unit = ""), t !== "" && !DMe.test(t) && (this.num = NaN, this.unit = ""), jMe(t) && (this.num = MMe(e, t), this.unit = "px");
}
add(t) {
return this.unit === t.unit ? new e(this.num + t.num, this.unit) : new e(NaN, "");
@@ -63126,50 +63161,50 @@ var E$ = class e {
return `${this.num}${this.unit}`;
}
isNaN() {
- return $z(this.num);
+ return Qz(this.num);
}
};
-S$ = E$, SMe(E$, "NaN", new S$(NaN, ""));
-function D$(e) {
- if (e == null || e.includes(T$)) return T$;
+x$ = T$, wMe(T$, "NaN", new x$(NaN, ""));
+function E$(e) {
+ if (e == null || e.includes(w$)) return w$;
for (var t = e; t.includes("*") || t.includes("/");) {
- var [, n, r, i] = C$.exec(t) ?? [], a = E$.parse(n ?? ""), o = E$.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
- if (s.isNaN()) return T$;
- t = t.replace(C$, s.toString());
+ var [, n, r, i] = S$.exec(t) ?? [], a = T$.parse(n ?? ""), o = T$.parse(i ?? ""), s = r === "*" ? a.multiply(o) : a.divide(o);
+ if (s.isNaN()) return w$;
+ t = t.replace(S$, s.toString());
}
for (; t.includes("+") || /.-\d+(?:\.\d+)?/.test(t);) {
- var [, c, l, u] = w$.exec(t) ?? [], d = E$.parse(c ?? ""), f = E$.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
- if (p.isNaN()) return T$;
- t = t.replace(w$, p.toString());
+ var [, c, l, u] = C$.exec(t) ?? [], d = T$.parse(c ?? ""), f = T$.parse(u ?? ""), p = l === "+" ? d.add(f) : d.subtract(f);
+ if (p.isNaN()) return w$;
+ t = t.replace(C$, p.toString());
}
return t;
}
-var O$ = /\(([^()]*)\)/;
-function jMe(e) {
- for (var t = e, n; (n = O$.exec(t)) != null;) {
+var D$ = /\(([^()]*)\)/;
+function NMe(e) {
+ for (var t = e, n; (n = D$.exec(t)) != null;) {
var [, r] = n;
- t = t.replace(O$, D$(r));
+ t = t.replace(D$, E$(r));
}
return t;
}
-function MMe(e) {
+function PMe(e) {
var t = e.replace(/\s+/g, "");
- return t = jMe(t), t = D$(t), t;
+ return t = NMe(t), t = E$(t), t;
}
-function NMe(e) {
+function FMe(e) {
try {
- return MMe(e);
+ return PMe(e);
} catch {
- return T$;
+ return w$;
}
}
-function k$(e) {
- var t = NMe(e.slice(5, -1));
- return t === T$ ? "" : t;
+function O$(e) {
+ var t = FMe(e.slice(5, -1));
+ return t === w$ ? "" : t;
}
//#endregion
//#region node_modules/recharts/es6/component/Text.js
-var PMe = [
+var IMe = [
"x",
"y",
"lineHeight",
@@ -63178,32 +63213,32 @@ var PMe = [
"scaleToFit",
"textAnchor",
"verticalAnchor"
-], FMe = [
+], LMe = [
"dx",
"dy",
"angle",
"className",
"breakAll"
];
-function A$() {
- return A$ = Object.assign ? Object.assign.bind() : function(e) {
+function k$() {
+ return k$ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, A$.apply(null, arguments);
+ }, k$.apply(null, arguments);
}
-function j$(e, t) {
+function A$(e, t) {
if (e == null) return {};
- var n, r, i = IMe(e, t);
+ var n, r, i = RMe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function IMe(e, t) {
+function RMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63212,28 +63247,28 @@ function IMe(e, t) {
}
return n;
}
-var M$ = /[ \f\n\r\t\v\u2028\u2029]+/, N$ = (e) => {
+var j$ = /[ \f\n\r\t\v\u2028\u2029]+/, M$ = (e) => {
var { children: t, breakAll: n, style: r } = e;
try {
var i = [];
- return sB(t) || (i = n ? t.toString().split("") : t.toString().split(M$)), {
+ return oB(t) || (i = n ? t.toString().split("") : t.toString().split(j$)), {
wordsWithComputedWidth: i.map((e) => ({
word: e,
- width: x$(e, r).width
+ width: b$(e, r).width
})),
- spaceWidth: n ? 0 : x$("\xA0", r).width
+ spaceWidth: n ? 0 : b$("\xA0", r).width
};
} catch {
return null;
}
};
-function P$(e) {
+function N$(e) {
return e === "start" || e === "middle" || e === "end" || e === "inherit";
}
-function LMe(e) {
- return sB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
+function zMe(e) {
+ return oB(e) || typeof e == "string" || typeof e == "number" || typeof e == "boolean";
}
-var F$ = (e, t, n, r) => e.reduce((e, i) => {
+var P$ = (e, t, n, r) => e.reduce((e, i) => {
var { word: a, width: o } = i, s = e[e.length - 1];
if (s && o != null && (t == null || r || s.width + o + n < Number(t))) s.words.push(a), s.width += o + n;
else {
@@ -63244,20 +63279,20 @@ var F$ = (e, t, n, r) => e.reduce((e, i) => {
e.push(c);
}
return e;
-}, []), I$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), RMe = "…", L$ = (e, t, n, r, i, a, o, s) => {
- var c = N$({
+}, []), F$ = (e) => e.reduce((e, t) => e.width > t.width ? e : t), BMe = "…", I$ = (e, t, n, r, i, a, o, s) => {
+ var c = M$({
breakAll: n,
style: r,
- children: e.slice(0, t) + RMe
+ children: e.slice(0, t) + BMe
});
if (!c) return [!1, []];
- var l = F$(c.wordsWithComputedWidth, a, o, s);
- return [l.length > i || I$(l).width > Number(a), l];
-}, zMe = (e, t, n, r, i) => {
- var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = F$(t, r, n, i);
- if (!l || i || !(d.length > a || I$(d).width > Number(r))) return d;
+ var l = P$(c.wordsWithComputedWidth, a, o, s);
+ return [l.length > i || F$(l).width > Number(a), l];
+}, VMe = (e, t, n, r, i) => {
+ var { maxLines: a, children: o, style: s, breakAll: c } = e, l = Z(a), u = String(o), d = P$(t, r, n, i);
+ if (!l || i || !(d.length > a || F$(d).width > Number(r))) return d;
for (var f = 0, p = u.length - 1, m = 0, h; f <= p && m <= u.length - 1;) {
- var g = Math.floor((f + p) / 2), [_, v] = L$(u, g - 1, c, s, a, r, n, i), [y] = L$(u, g, c, s, a, r, n, i);
+ var g = Math.floor((f + p) / 2), [_, v] = I$(u, g - 1, c, s, a, r, n, i), [y] = I$(u, g, c, s, a, r, n, i);
if (!_ && !y && (f = g + 1), _ && y && (p = g - 1), !_ && y) {
h = v;
break;
@@ -63265,13 +63300,13 @@ var F$ = (e, t, n, r) => e.reduce((e, i) => {
m++;
}
return h || d;
-}, R$ = (e) => [{
- words: sB(e) ? [] : e.toString().split(M$),
+}, L$ = (e) => [{
+ words: oB(e) ? [] : e.toString().split(j$),
width: void 0
-}], BMe = (e) => {
+}], HMe = (e) => {
var { width: t, scaleToFit: n, children: r, style: i, breakAll: a, maxLines: o } = e;
- if ((t || n) && !uG.isSsr) {
- var s, c, l = N$({
+ if ((t || n) && !lG.isSsr) {
+ var s, c, l = M$({
breakAll: a,
children: r,
style: i
@@ -63279,28 +63314,28 @@ var F$ = (e, t, n, r) => e.reduce((e, i) => {
if (l) {
var { wordsWithComputedWidth: u, spaceWidth: d } = l;
s = u, c = d;
- } else return R$(r);
- return zMe({
+ } else return L$(r);
+ return VMe({
breakAll: a,
children: r,
maxLines: o,
style: i
}, s, c, t, !!n);
}
- return R$(r);
-}, z$ = "#808080", VMe = {
+ return L$(r);
+}, R$ = "#808080", UMe = {
angle: 0,
breakAll: !1,
capHeight: "0.71em",
- fill: z$,
+ fill: R$,
lineHeight: "1em",
scaleToFit: !1,
textAnchor: "start",
verticalAnchor: "end",
x: 0,
y: 0
-}, B$ = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = bB(e, VMe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = j$(n, PMe), f = (0, R.useMemo)(() => BMe({
+}, z$ = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = yB(e, UMe), { x: r, y: i, lineHeight: a, capHeight: o, fill: s, scaleToFit: c, textAnchor: l, verticalAnchor: u } = n, d = A$(n, IMe), f = (0, R.useMemo)(() => HMe({
breakAll: d.breakAll,
children: d.children,
maxLines: d.maxLines,
@@ -63314,32 +63349,32 @@ var F$ = (e, t, n, r) => e.reduce((e, i) => {
c,
d.style,
d.width
- ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = j$(d, FMe);
- if (!tB(r) || !tB(i) || f.length === 0) return null;
+ ]), { dx: p, dy: m, angle: h, className: g, breakAll: _ } = d, v = A$(d, LMe);
+ if (!eB(r) || !eB(i) || f.length === 0) return null;
var y = Number(r) + (Z(p) ? p : 0), b = Number(i) + (Z(m) ? m : 0);
- if (!lU(y) || !lU(b)) return null;
+ if (!cU(y) || !cU(b)) return null;
var x;
switch (u) {
case "start":
- x = k$(`calc(${o})`);
+ x = O$(`calc(${o})`);
break;
case "middle":
- x = k$(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
+ x = O$(`calc(${(f.length - 1) / 2} * -${a} + (${o} / 2))`);
break;
- default: x = k$(`calc(${f.length - 1} * -${a})`);
+ default: x = O$(`calc(${f.length - 1} * -${a})`);
}
var S = [], C = f[0];
if (c && C != null) {
var w = C.width, { width: T } = d;
S.push(`scale(${Z(T) && Z(w) ? T / w : 1})`);
}
- return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ R.createElement("text", A$({}, KR(v), {
+ return h && S.push(`rotate(${h}, ${y}, ${b})`), S.length && (v.transform = S.join(" ")), /*#__PURE__*/ R.createElement("text", k$({}, GR(v), {
ref: t,
x: y,
y: b,
className: Sh("recharts-text", g),
textAnchor: l,
- fill: s.includes("url") ? z$ : s
+ fill: s.includes("url") ? R$ : s
}), f.map((e, t) => {
var n = e.words.join(_ ? "" : " ");
return /*#__PURE__*/ R.createElement("tspan", {
@@ -63349,10 +63384,10 @@ var F$ = (e, t, n, r) => e.reduce((e, i) => {
}, n);
}));
});
-B$.displayName = "Text";
+z$.displayName = "Text";
//#endregion
//#region node_modules/recharts/es6/cartesian/getCartesianPosition.js
-function V$(e, t) {
+function B$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63362,30 +63397,30 @@ function V$(e, t) {
}
return n;
}
-function H$(e) {
+function V$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? V$(Object(n), !0).forEach(function(t) {
- HMe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : V$(Object(n)).forEach(function(t) {
+ t % 2 ? B$(Object(n), !0).forEach(function(t) {
+ WMe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : B$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HMe(e, t, n) {
- return (t = UMe(t)) in e ? Object.defineProperty(e, t, {
+function WMe(e, t, n) {
+ return (t = GMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function UMe(e) {
- var t = WMe(e, "string");
+function GMe(e) {
+ var t = KMe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WMe(e, t) {
+function KMe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63395,8 +63430,8 @@ function WMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var GMe = (e) => {
- var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = YU(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
+var qMe = (e) => {
+ var { viewBox: t, position: n, offset: r = 0, parentViewBox: i, clamp: a } = e, { x: o, y: s, height: c, upperWidth: l, lowerWidth: u } = JU(t), d = o, f = o + (l - u) / 2, p = (d + f) / 2, m = (l + u) / 2, h = d + l / 2, g = c >= 0 ? 1 : -1, _ = g * r, v = g > 0 ? "end" : "start", y = g > 0 ? "start" : "end", b = l >= 0 ? 1 : -1, x = b * r, S = b > 0 ? "end" : "start", C = b > 0 ? "start" : "end", w = i;
if (n === "top") {
var T = {
x: d + l / 2,
@@ -63437,68 +63472,68 @@ var GMe = (e) => {
width: m,
height: c
} : {};
- return n === "insideLeft" ? H$({
+ return n === "insideLeft" ? V$({
x: p + x,
y: s + c / 2,
horizontalAnchor: C,
verticalAnchor: "middle"
- }, k) : n === "insideRight" ? H$({
+ }, k) : n === "insideRight" ? V$({
x: p + m - x,
y: s + c / 2,
horizontalAnchor: S,
verticalAnchor: "middle"
- }, k) : n === "insideTop" ? H$({
+ }, k) : n === "insideTop" ? V$({
x: d + l / 2,
y: s + _,
horizontalAnchor: "middle",
verticalAnchor: y
- }, k) : n === "insideBottom" ? H$({
+ }, k) : n === "insideBottom" ? V$({
x: f + u / 2,
y: s + c - _,
horizontalAnchor: "middle",
verticalAnchor: v
- }, k) : n === "insideTopLeft" ? H$({
+ }, k) : n === "insideTopLeft" ? V$({
x: d + x,
y: s + _,
horizontalAnchor: C,
verticalAnchor: y
- }, k) : n === "insideTopRight" ? H$({
+ }, k) : n === "insideTopRight" ? V$({
x: d + l - x,
y: s + _,
horizontalAnchor: S,
verticalAnchor: y
- }, k) : n === "insideBottomLeft" ? H$({
+ }, k) : n === "insideBottomLeft" ? V$({
x: f + x,
y: s + c - _,
horizontalAnchor: C,
verticalAnchor: v
- }, k) : n === "insideBottomRight" ? H$({
+ }, k) : n === "insideBottomRight" ? V$({
x: f + u - x,
y: s + c - _,
horizontalAnchor: S,
verticalAnchor: v
- }, k) : n && typeof n == "object" && (Z(n.x) || eB(n.x)) && (Z(n.y) || eB(n.y)) ? H$({
- x: o + rB(n.x, m),
- y: s + rB(n.y, c),
+ }, k) : n && typeof n == "object" && (Z(n.x) || $z(n.x)) && (Z(n.y) || $z(n.y)) ? V$({
+ x: o + nB(n.x, m),
+ y: s + nB(n.y, c),
horizontalAnchor: "end",
verticalAnchor: "end"
- }, k) : H$({
+ }, k) : V$({
x: h,
y: s + c / 2,
horizontalAnchor: "middle",
verticalAnchor: "middle"
}, k);
-}, KMe = ["labelRef"], qMe = ["content"];
-function U$(e, t) {
+}, JMe = ["labelRef"], YMe = ["content"];
+function H$(e, t) {
if (e == null) return {};
- var n, r, i = JMe(e, t);
+ var n, r, i = XMe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function JMe(e, t) {
+function XMe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63507,7 +63542,7 @@ function JMe(e, t) {
}
return n;
}
-function W$(e, t) {
+function U$(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -63517,30 +63552,30 @@ function W$(e, t) {
}
return n;
}
-function G$(e) {
+function W$(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? W$(Object(n), !0).forEach(function(t) {
- YMe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : W$(Object(n)).forEach(function(t) {
+ t % 2 ? U$(Object(n), !0).forEach(function(t) {
+ ZMe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U$(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function YMe(e, t, n) {
- return (t = XMe(t)) in e ? Object.defineProperty(e, t, {
+function ZMe(e, t, n) {
+ return (t = QMe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function XMe(e) {
- var t = ZMe(e, "string");
+function QMe(e) {
+ var t = $Me(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ZMe(e, t) {
+function $Me(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -63550,16 +63585,16 @@ function ZMe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function K$() {
- return K$ = Object.assign ? Object.assign.bind() : function(e) {
+function G$() {
+ return G$ = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, K$.apply(null, arguments);
+ }, G$.apply(null, arguments);
}
-var q$ = /*#__PURE__*/ (0, R.createContext)(null), J$ = (e) => {
+var K$ = /*#__PURE__*/ (0, R.createContext)(null), q$ = (e) => {
var { x: t, y: n, upperWidth: r, lowerWidth: i, width: a, height: o, children: s } = e, c = (0, R.useMemo)(() => ({
x: t,
y: n,
@@ -63575,11 +63610,11 @@ var q$ = /*#__PURE__*/ (0, R.createContext)(null), J$ = (e) => {
a,
o
]);
- return /*#__PURE__*/ R.createElement(q$.Provider, { value: c }, s);
-}, Y$ = () => {
- var e = (0, R.useContext)(q$), t = XU();
- return e || (t ? YU(t) : void 0);
-}, X$ = /*#__PURE__*/ (0, R.createContext)(null), QMe = (e) => {
+ return /*#__PURE__*/ R.createElement(K$.Provider, { value: c }, s);
+}, J$ = () => {
+ var e = (0, R.useContext)(K$), t = YU();
+ return e || (t ? JU(t) : void 0);
+}, Y$ = /*#__PURE__*/ (0, R.createContext)(null), eNe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, startAngle: a, endAngle: o, clockWise: s, children: c } = e, l = (0, R.useMemo)(() => ({
cx: t,
cy: n,
@@ -63597,15 +63632,15 @@ var q$ = /*#__PURE__*/ (0, R.createContext)(null), J$ = (e) => {
o,
s
]);
- return /*#__PURE__*/ R.createElement(X$.Provider, { value: l }, c);
-}, Z$ = () => {
- var e = (0, R.useContext)(X$), t = Q(eq);
+ return /*#__PURE__*/ R.createElement(Y$.Provider, { value: l }, c);
+}, X$ = () => {
+ var e = (0, R.useContext)(Y$), t = Q($K);
return e || t;
-}, $Me = (e) => {
- var { value: t, formatter: n } = e, r = sB(e.children) ? t : e.children;
+}, tNe = (e) => {
+ var { value: t, formatter: n } = e, r = oB(e.children) ? t : e.children;
return typeof n == "function" ? n(r) : r;
-}, Q$ = (e) => e != null && typeof e == "function", eNe = (e, t) => Qz(t - e) * Math.min(Math.abs(t - e), 360), tNe = (e, t, n, r, i) => {
- var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = eNe(d, f), g = h >= 0 ? 1 : -1, _, v;
+}, Z$ = (e) => e != null && typeof e == "function", nNe = (e, t) => Zz(t - e) * Math.min(Math.abs(t - e), 360), rNe = (e, t, n, r, i) => {
+ var { offset: a, className: o } = e, { cx: s, cy: c, innerRadius: l, outerRadius: u, startAngle: d, endAngle: f, clockWise: p } = i, m = (l + u) / 2, h = nNe(d, f), g = h >= 0 ? 1 : -1, _, v;
switch (t) {
case "insideStart":
_ = d + g * a, v = p;
@@ -63619,20 +63654,20 @@ var q$ = /*#__PURE__*/ (0, R.createContext)(null), J$ = (e) => {
default: throw Error(`Unsupported position ${t}`);
}
v = h <= 0 ? v : !v;
- var y = nK(s, c, m, _), b = nK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
+ var y = tK(s, c, m, _), b = tK(s, c, m, _ + (v ? 1 : -1) * 359), x = `M${y.x},${y.y}
A${m},${m},0,1,${+!v},
- ${b.x},${b.y}`, S = sB(e.id) ? nB("recharts-radial-line-") : e.id;
- return /*#__PURE__*/ R.createElement("text", K$({}, r, {
+ ${b.x},${b.y}`, S = oB(e.id) ? tB("recharts-radial-line-") : e.id;
+ return /*#__PURE__*/ R.createElement("text", G$({}, r, {
dominantBaseline: "central",
className: Sh("recharts-radial-bar-label", o)
}), /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("path", {
id: S,
d: x
})), /*#__PURE__*/ R.createElement("textPath", { xlinkHref: `#${S}` }, n));
-}, nNe = (e, t, n) => {
+}, iNe = (e, t, n) => {
var { cx: r, cy: i, innerRadius: a, outerRadius: o, startAngle: s, endAngle: c } = e, l = (s + c) / 2;
if (n === "outside") {
- var { x: u, y: d } = nK(r, i, o + t, l);
+ var { x: u, y: d } = tK(r, i, o + t, l);
return {
x: u,
y: d,
@@ -63658,22 +63693,22 @@ var q$ = /*#__PURE__*/ (0, R.createContext)(null), J$ = (e) => {
textAnchor: "middle",
verticalAnchor: "end"
};
- var { x: f, y: p } = nK(r, i, (a + o) / 2, l);
+ var { x: f, y: p } = tK(r, i, (a + o) / 2, l);
return {
x: f,
y: p,
textAnchor: "middle",
verticalAnchor: "middle"
};
-}, $$ = (e) => e != null && "cx" in e && Z(e.cx), rNe = {
+}, Q$ = (e) => e != null && "cx" in e && Z(e.cx), aNe = {
angle: 0,
offset: 5,
- zIndex: LK.label,
+ zIndex: IK.label,
position: "middle",
textBreakAll: !1
};
-function iNe(e) {
- if (!$$(e)) return e;
+function oNe(e) {
+ if (!Q$(e)) return e;
var { cx: t, cy: n, outerRadius: r } = e, i = r * 2;
return {
x: t - r,
@@ -63684,100 +63719,100 @@ function iNe(e) {
height: i
};
}
-function e1(e) {
- var t = bB(e, rNe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = Z$(), f = Y$(), p = n == null ? i === "center" ? f : d ?? f : $$(n) ? n : YU(n), m, h, g = iNe(p);
- if (!p || sB(a) && sB(o) && !/*#__PURE__*/ (0, R.isValidElement)(s) && typeof s != "function") return null;
- var _ = G$(G$({}, t), {}, { viewBox: p });
+function $$(e) {
+ var t = yB(e, aNe), { viewBox: n, parentViewBox: r, position: i, value: a, children: o, content: s, className: c = "", textBreakAll: l, labelRef: u } = t, d = X$(), f = J$(), p = n == null ? i === "center" ? f : d ?? f : Q$(n) ? n : JU(n), m, h, g = oNe(p);
+ if (!p || oB(a) && oB(o) && !/*#__PURE__*/ (0, R.isValidElement)(s) && typeof s != "function") return null;
+ var _ = W$(W$({}, t), {}, { viewBox: p });
if (/*#__PURE__*/ (0, R.isValidElement)(s)) {
- var { labelRef: v } = _, y = U$(_, KMe);
+ var { labelRef: v } = _, y = H$(_, JMe);
return /*#__PURE__*/ (0, R.cloneElement)(s, y);
}
if (typeof s == "function") {
- var { content: b } = _, x = U$(_, qMe);
+ var { content: b } = _, x = H$(_, YMe);
if (m = /*#__PURE__*/ (0, R.createElement)(s, x), /*#__PURE__*/ (0, R.isValidElement)(m)) return m;
- } else m = $Me(t);
- var S = KR(t);
- if ($$(p)) {
- if (i === "insideStart" || i === "insideEnd" || i === "end") return tNe(t, i, m, S, p);
- h = nNe(p, t.offset, t.position);
+ } else m = tNe(t);
+ var S = GR(t);
+ if (Q$(p)) {
+ if (i === "insideStart" || i === "insideEnd" || i === "end") return rNe(t, i, m, S, p);
+ h = iNe(p, t.offset, t.position);
} else {
if (!g) return null;
- var C = GMe({
+ var C = qMe({
viewBox: g,
position: i,
offset: t.offset,
- parentViewBox: $$(r) ? void 0 : r,
+ parentViewBox: Q$(r) ? void 0 : r,
clamp: !0
});
- h = G$(G$({
+ h = W$(W$({
x: C.x,
y: C.y,
textAnchor: C.horizontalAnchor,
verticalAnchor: C.verticalAnchor
}, C.width === void 0 ? {} : { width: C.width }), C.height === void 0 ? {} : { height: C.height });
}
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(B$, K$({
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(z$, G$({
ref: u,
className: Sh("recharts-label", c)
}, S, h, {
- textAnchor: P$(S.textAnchor) ? S.textAnchor : h.textAnchor,
+ textAnchor: N$(S.textAnchor) ? S.textAnchor : h.textAnchor,
breakAll: l
}), m));
}
-e1.displayName = "Label";
-var t1 = (e, t, n) => {
+$$.displayName = "Label";
+var e1 = (e, t, n) => {
if (!e) return null;
var r = {
viewBox: t,
labelRef: n
};
- return e === !0 ? /*#__PURE__*/ R.createElement(e1, K$({ key: "label-implicit" }, r)) : tB(e) ? /*#__PURE__*/ R.createElement(e1, K$({
+ return e === !0 ? /*#__PURE__*/ R.createElement($$, G$({ key: "label-implicit" }, r)) : eB(e) ? /*#__PURE__*/ R.createElement($$, G$({
key: "label-implicit",
value: e
- }, r)) : /*#__PURE__*/ (0, R.isValidElement)(e) ? e.type === e1 ? /*#__PURE__*/ (0, R.cloneElement)(e, G$({ key: "label-implicit" }, r)) : /*#__PURE__*/ R.createElement(e1, K$({
+ }, r)) : /*#__PURE__*/ (0, R.isValidElement)(e) ? e.type === $$ ? /*#__PURE__*/ (0, R.cloneElement)(e, W$({ key: "label-implicit" }, r)) : /*#__PURE__*/ R.createElement($$, G$({
key: "label-implicit",
content: e
- }, r)) : Q$(e) ? /*#__PURE__*/ R.createElement(e1, K$({
+ }, r)) : Z$(e) ? /*#__PURE__*/ R.createElement($$, G$({
key: "label-implicit",
content: e
- }, r)) : e && typeof e == "object" ? /*#__PURE__*/ R.createElement(e1, K$({}, e, { key: "label-implicit" }, r)) : null;
+ }, r)) : e && typeof e == "object" ? /*#__PURE__*/ R.createElement($$, G$({}, e, { key: "label-implicit" }, r)) : null;
};
-function n1(e) {
+function t1(e) {
var { label: t, labelRef: n } = e;
- return t1(t, Y$(), n) || null;
+ return e1(t, J$(), n) || null;
}
-function aNe(e) {
+function sNe(e) {
var { label: t } = e;
- return t1(t, Z$()) || null;
+ return e1(t, X$()) || null;
}
//#endregion
//#region node_modules/recharts/es6/component/LabelList.js
-var oNe = ["valueAccessor"], sNe = [
+var cNe = ["valueAccessor"], lNe = [
"dataKey",
"clockWise",
"id",
"textBreakAll",
"zIndex"
];
-function r1() {
- return r1 = Object.assign ? Object.assign.bind() : function(e) {
+function n1() {
+ return n1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, r1.apply(null, arguments);
+ }, n1.apply(null, arguments);
}
-function i1(e, t) {
+function r1(e, t) {
if (e == null) return {};
- var n, r, i = cNe(e, t);
+ var n, r, i = uNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function cNe(e, t) {
+function uNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63786,21 +63821,21 @@ function cNe(e, t) {
}
return n;
}
-var lNe = (e) => {
+var dNe = (e) => {
var t = Array.isArray(e.value) ? e.value[e.value.length - 1] : e.value;
- if (LMe(t)) return t;
-}, a1 = /*#__PURE__*/ (0, R.createContext)(void 0), o1 = a1.Provider, s1 = /*#__PURE__*/ (0, R.createContext)(void 0), uNe = s1.Provider;
-function dNe() {
- return (0, R.useContext)(a1);
-}
-function fNe() {
- return (0, R.useContext)(s1);
-}
-function c1(e) {
- var { valueAccessor: t = lNe } = e, n = i1(e, oNe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = i1(n, sNe), l = dNe(), u = fNe(), d = l || u;
- return !d || !d.length ? null : /*#__PURE__*/ R.createElement(QQ, { zIndex: s ?? LK.label }, /*#__PURE__*/ R.createElement(XR, { className: "recharts-label-list" }, d.map((e, i) => {
- var s = sB(r) ? t(e, i) : pU(e.payload, r), l = sB(a) ? {} : { id: `${a}-${i}` };
- return /*#__PURE__*/ R.createElement(e1, r1({ key: `label-${i}` }, KR(e), c, l, {
+ if (zMe(t)) return t;
+}, i1 = /*#__PURE__*/ (0, R.createContext)(void 0), a1 = i1.Provider, o1 = /*#__PURE__*/ (0, R.createContext)(void 0), fNe = o1.Provider;
+function pNe() {
+ return (0, R.useContext)(i1);
+}
+function mNe() {
+ return (0, R.useContext)(o1);
+}
+function s1(e) {
+ var { valueAccessor: t = dNe } = e, n = r1(e, cNe), { dataKey: r, clockWise: i, id: a, textBreakAll: o, zIndex: s } = n, c = r1(n, lNe), l = pNe(), u = mNe(), d = l || u;
+ return !d || !d.length ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: s ?? IK.label }, /*#__PURE__*/ R.createElement(YR, { className: "recharts-label-list" }, d.map((e, i) => {
+ var s = oB(r) ? t(e, i) : fU(e.payload, r), l = oB(a) ? {} : { id: `${a}-${i}` };
+ return /*#__PURE__*/ R.createElement($$, n1({ key: `label-${i}` }, GR(e), c, l, {
fill: n.fill ?? e.fill,
parentViewBox: e.parentViewBox,
value: s,
@@ -63811,41 +63846,41 @@ function c1(e) {
}));
})));
}
-c1.displayName = "LabelList";
-function l1(e) {
+s1.displayName = "LabelList";
+function c1(e) {
var { label: t } = e;
- return t ? t === !0 ? /*#__PURE__*/ R.createElement(c1, { key: "labelList-implicit" }) : /*#__PURE__*/ R.isValidElement(t) || Q$(t) ? /*#__PURE__*/ R.createElement(c1, {
+ return t ? t === !0 ? /*#__PURE__*/ R.createElement(s1, { key: "labelList-implicit" }) : /*#__PURE__*/ R.isValidElement(t) || Z$(t) ? /*#__PURE__*/ R.createElement(s1, {
key: "labelList-implicit",
content: t
- }) : typeof t == "object" ? /*#__PURE__*/ R.createElement(c1, r1({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
+ }) : typeof t == "object" ? /*#__PURE__*/ R.createElement(s1, n1({ key: "labelList-implicit" }, t, { type: String(t.type) })) : null : null;
}
//#endregion
//#region node_modules/recharts/es6/shape/Polygon.js
-var pNe = [
+var hNe = [
"points",
"className",
"baseLinePoints",
"connectNulls"
-], mNe;
-function u1() {
- return u1 = Object.assign ? Object.assign.bind() : function(e) {
+], gNe;
+function l1() {
+ return l1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, u1.apply(null, arguments);
+ }, l1.apply(null, arguments);
}
-function hNe(e, t) {
+function _Ne(e, t) {
if (e == null) return {};
- var n, r, i = gNe(e, t);
+ var n, r, i = vNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function gNe(e, t) {
+function vNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -63854,23 +63889,23 @@ function gNe(e, t) {
}
return n;
}
-function _Ne(e, t) {
+function yNe(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var d1 = (e) => e != null && e.x === +e.x && e.y === +e.y, vNe = function() {
+var u1 = (e) => e != null && e.x === +e.x && e.y === +e.y, bNe = function() {
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = [[]];
e.forEach((e) => {
var n = t[t.length - 1];
- d1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
+ u1(e) ? n && n.push(e) : n && n.length > 0 && t.push([]);
});
var n = e[0], r = t[t.length - 1];
- d1(n) && r && r.push(n);
+ u1(n) && r && r.push(n);
var i = t[t.length - 1];
return i && i.length <= 0 && (t = t.slice(0, -1)), t;
-}, f1 = (e, t) => {
- var n = vNe(e);
+}, d1 = (e, t) => {
+ var n = bNe(e);
t && (n = [n.reduce((e, t) => [...e, ...t], [])]);
- var r = n.map((e) => e.reduce((e, t, n) => Zz(mNe ||= _Ne([
+ var r = n.map((e) => e.reduce((e, t, n) => Xz(gNe ||= yNe([
"",
"",
"",
@@ -63878,29 +63913,29 @@ var d1 = (e) => e != null && e.x === +e.x && e.y === +e.y, vNe = function() {
""
]), e, n === 0 ? "M" : "L", t.x, t.y), "")).join("");
return n.length === 1 ? `${r}Z` : r;
-}, yNe = (e, t, n) => {
- var r = f1(e, n);
- return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${f1(Array.from(t).reverse(), n).slice(1)}`;
-}, p1 = (e) => {
- var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = hNe(e, pNe);
+}, xNe = (e, t, n) => {
+ var r = d1(e, n);
+ return `${r.slice(-1) === "Z" ? r.slice(0, -1) : r}L${d1(Array.from(t).reverse(), n).slice(1)}`;
+}, f1 = (e) => {
+ var { points: t, className: n, baseLinePoints: r, connectNulls: i } = e, a = _Ne(e, hNe);
if (!t || !t.length) return null;
var o = Sh("recharts-polygon", n);
if (r && r.length) {
- var s = a.stroke && a.stroke !== "none", c = yNe(t, r, i);
- return /*#__PURE__*/ R.createElement("g", { className: o }, /*#__PURE__*/ R.createElement("path", u1({}, KR(a), {
+ var s = a.stroke && a.stroke !== "none", c = xNe(t, r, i);
+ return /*#__PURE__*/ R.createElement("g", { className: o }, /*#__PURE__*/ R.createElement("path", l1({}, GR(a), {
fill: c.slice(-1) === "Z" ? a.fill : "none",
stroke: "none",
d: c
- })), s ? /*#__PURE__*/ R.createElement("path", u1({}, KR(a), {
+ })), s ? /*#__PURE__*/ R.createElement("path", l1({}, GR(a), {
fill: "none",
- d: f1(t, i)
- })) : null, s ? /*#__PURE__*/ R.createElement("path", u1({}, KR(a), {
+ d: d1(t, i)
+ })) : null, s ? /*#__PURE__*/ R.createElement("path", l1({}, GR(a), {
fill: "none",
- d: f1(r, i)
+ d: d1(r, i)
})) : null);
}
- var l = f1(t, i);
- return /*#__PURE__*/ R.createElement("path", u1({}, KR(a), {
+ var l = d1(t, i);
+ return /*#__PURE__*/ R.createElement("path", l1({}, GR(a), {
fill: l.slice(-1) === "Z" ? a.fill : "none",
className: o,
d: l
@@ -63908,111 +63943,111 @@ var d1 = (e) => e != null && e.x === +e.x && e.y === +e.y, vNe = function() {
};
//#endregion
//#region node_modules/recharts/es6/shape/Dot.js
-function m1() {
- return m1 = Object.assign ? Object.assign.bind() : function(e) {
+function p1() {
+ return p1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, m1.apply(null, arguments);
+ }, p1.apply(null, arguments);
}
-var h1 = (e) => {
+var m1 = (e) => {
var { cx: t, cy: n, r, className: i } = e, a = Sh("recharts-dot", i);
- return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ R.createElement("circle", m1({}, WR(e), _B(e), {
+ return Z(t) && Z(n) && Z(r) ? /*#__PURE__*/ R.createElement("circle", p1({}, UR(e), gB(e), {
className: a,
cx: t,
cy: n,
r
})) : null;
-}, g1 = (e) => e.graphicalItems.polarItems, _1 = $([
- g1,
- FX,
- $([tq, nq], RX)
-], BX), v1 = $([$([_1], WX), fK], GX), y1 = $([
- v1,
- FX,
- _1
-], qX);
+}, h1 = (e) => e.graphicalItems.polarItems, g1 = $([
+ h1,
+ PX,
+ $([eq, tq], LX)
+], zX), _1 = $([$([g1], UX), dK], WX), v1 = $([
+ _1,
+ PX,
+ g1
+], KX);
$([
- v1,
- FX,
- _1
+ _1,
+ PX,
+ g1
], (e, t, n) => n.length > 0 ? e.flatMap((e) => n.flatMap((n) => ({
- value: pU(e, t.dataKey ?? n.dataKey),
+ value: fU(e, t.dataKey ?? n.dataKey),
errorDomain: []
}))).filter(Boolean) : t?.dataKey == null ? e.map((e) => ({
value: e,
errorDomain: []
})) : e.map((e) => ({
- value: pU(e, t.dataKey),
+ value: fU(e, t.dataKey),
errorDomain: []
})));
-var b1 = () => void 0, x1 = $([
- FX,
- eW,
+var y1 = () => void 0, b1 = $([
+ PX,
+ $U,
+ _1,
v1,
- y1,
- jK,
- tq,
+ AK,
+ eq,
$([
- FX,
+ PX,
+ iZ,
aZ,
- oZ,
- b1,
+ y1,
$([
- v1,
- FX,
_1,
- sZ,
- tq
- ], lZ),
- b1,
- eW,
- tq
- ], _Z)
-], vZ), S1 = $([
- x1,
- IX,
- bZ
-], xZ), bNe = $([bZ, $([
+ PX,
+ g1,
+ oZ,
+ eq
+ ], cZ),
+ y1,
+ $U,
+ eq
+ ], gZ)
+], _Z), x1 = $([
+ b1,
FX,
+ yZ
+], bZ), SNe = $([yZ, $([
+ PX,
+ b1,
x1,
- S1,
- tq
-], CZ)], dq), C1 = (e, t, n) => {
+ eq
+], SZ)], uq), S1 = (e, t, n) => {
switch (t) {
- case "angleAxis": return KK(e, n);
- case "radiusAxis": return qK(e, n);
+ case "angleAxis": return GK(e, n);
+ case "radiusAxis": return KK(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, w1 = (e, t, n) => {
+}, C1 = (e, t, n) => {
switch (t) {
- case "angleAxis": return $Ee(e, n);
- case "radiusAxis": return eDe(e, n);
+ case "angleAxis": return tDe(e, n);
+ case "radiusAxis": return nDe(e, n);
default: throw Error(`Unexpected axis type: ${t}`);
}
-}, T1 = $([$([
- C1,
- bZ,
- bNe,
- w1
-], SX)], uq), E1 = $([
- eW,
- y1,
- IX,
- tq
-], OZ), D1 = $([
- eW,
- C1,
- bZ,
- T1,
+}, w1 = $([$([
S1,
+ yZ,
+ SNe,
+ C1
+], xX)], lq), T1 = $([
+ $U,
+ v1,
+ FX,
+ eq
+], DZ), E1 = $([
+ $U,
+ S1,
+ yZ,
w1,
- zZ,
- E1,
- tq
-], VZ), xNe = $([D1], (e) => {
+ x1,
+ C1,
+ RZ,
+ T1,
+ eq
+], BZ), CNe = $([E1], (e) => {
if (e) {
var t = /* @__PURE__ */ new Map();
return e.forEach((e) => {
@@ -64020,19 +64055,19 @@ var b1 = () => void 0, x1 = $([
t.has(n) || t.set(n, e);
}), Array.from(t.values());
}
-}), SNe = $([
- eW,
+}), wNe = $([
+ $U,
+ S1,
+ w1,
C1,
+ RZ,
T1,
- w1,
- zZ,
- E1,
- tq
-], UZ), CNe = $([(e, t) => D1(e, "angleAxis", t, !1)], (e) => {
+ eq
+], HZ), TNe = $([(e, t) => E1(e, "angleAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), wNe = $([(e, t) => D1(e, "radiusAxis", t, !1)], (e) => {
+}), ENe = $([(e, t) => E1(e, "radiusAxis", t, !1)], (e) => {
if (e) return e.map((e) => e.coordinate);
-}), TNe = [
+}), DNe = [
"gridType",
"radialLines",
"angleAxisId",
@@ -64045,16 +64080,16 @@ var b1 = () => void 0, x1 = $([
"polarRadius",
"zIndex"
];
-function ENe(e, t) {
+function ONe(e, t) {
if (e == null) return {};
- var n, r, i = DNe(e, t);
+ var n, r, i = kNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function DNe(e, t) {
+function kNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64063,16 +64098,16 @@ function DNe(e, t) {
}
return n;
}
-function O1() {
- return O1 = Object.assign ? Object.assign.bind() : function(e) {
+function D1() {
+ return D1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, O1.apply(null, arguments);
+ }, D1.apply(null, arguments);
}
-function k1(e, t) {
+function O1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64082,30 +64117,30 @@ function k1(e, t) {
}
return n;
}
-function A1(e) {
+function k1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? k1(Object(n), !0).forEach(function(t) {
- ONe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k1(Object(n)).forEach(function(t) {
+ t % 2 ? O1(Object(n), !0).forEach(function(t) {
+ ANe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function ONe(e, t, n) {
- return (t = kNe(t)) in e ? Object.defineProperty(e, t, {
+function ANe(e, t, n) {
+ return (t = jNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kNe(e) {
- var t = ANe(e, "string");
+function jNe(e) {
+ var t = MNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ANe(e, t) {
+function MNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64115,69 +64150,69 @@ function ANe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var jNe = (e, t, n, r) => {
+var NNe = (e, t, n, r) => {
var i = "";
return r.forEach((r, a) => {
- var o = nK(t, n, e, r);
+ var o = tK(t, n, e, r);
i += a ? `L ${o.x},${o.y}` : `M ${o.x},${o.y}`;
}), i += "Z", i;
-}, MNe = (e) => {
+}, PNe = (e) => {
var { cx: t, cy: n, innerRadius: r, outerRadius: i, polarAngles: a, radialLines: o } = e;
if (!a || !a.length || !o) return null;
- var s = A1({ stroke: "#ccc" }, WR(e));
+ var s = k1({ stroke: "#ccc" }, UR(e));
return /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid-angle" }, a.map((e) => {
- var a = nK(t, n, r, e), o = nK(t, n, i, e);
- return /*#__PURE__*/ R.createElement("line", O1({ key: `line-${e}` }, s, {
+ var a = tK(t, n, r, e), o = tK(t, n, i, e);
+ return /*#__PURE__*/ R.createElement("line", D1({ key: `line-${e}` }, s, {
x1: a.x,
y1: a.y,
x2: o.x,
y2: o.y
}));
}));
-}, j1 = (e) => {
- var { cx: t, cy: n, radius: r } = e, i = A1({
+}, A1 = (e) => {
+ var { cx: t, cy: n, radius: r } = e, i = k1({
stroke: "#ccc",
fill: "none"
- }, WR(e));
- return /*#__PURE__*/ R.createElement("circle", O1({}, i, {
+ }, UR(e));
+ return /*#__PURE__*/ R.createElement("circle", D1({}, i, {
className: Sh("recharts-polar-grid-concentric-circle", e.className),
cx: t,
cy: n,
r
}));
-}, M1 = (e) => {
- var { radius: t } = e, n = A1({
+}, j1 = (e) => {
+ var { radius: t } = e, n = k1({
stroke: "#ccc",
fill: "none"
- }, WR(e));
- return /*#__PURE__*/ R.createElement("path", O1({}, n, {
+ }, UR(e));
+ return /*#__PURE__*/ R.createElement("path", D1({}, n, {
className: Sh("recharts-polar-grid-concentric-polygon", e.className),
- d: jNe(t, e.cx, e.cy, e.polarAngles)
+ d: NNe(t, e.cx, e.cy, e.polarAngles)
}));
-}, NNe = (e) => {
+}, FNe = (e) => {
var { polarRadius: t, gridType: n } = e;
if (!t || !t.length) return null;
var r = Math.max(...t), i = e.fill && e.fill !== "none";
- return /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ R.createElement(j1, O1({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ R.createElement(M1, O1({}, e, { radius: r })), t.map((t, r) => {
+ return /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid-concentric" }, i && n === "circle" && /*#__PURE__*/ R.createElement(A1, D1({}, e, { radius: r })), i && n !== "circle" && /*#__PURE__*/ R.createElement(j1, D1({}, e, { radius: r })), t.map((t, r) => {
var i = r;
- return n === "circle" ? /*#__PURE__*/ R.createElement(j1, O1({ key: i }, e, {
+ return n === "circle" ? /*#__PURE__*/ R.createElement(A1, D1({ key: i }, e, {
fill: "none",
radius: t
- })) : /*#__PURE__*/ R.createElement(M1, O1({ key: i }, e, {
+ })) : /*#__PURE__*/ R.createElement(j1, D1({ key: i }, e, {
fill: "none",
radius: t
}));
}));
-}, PNe = {
+}, INe = {
angleAxisId: 0,
radiusAxisId: 0,
gridType: "polygon",
radialLines: !0,
- zIndex: LK.grid
-}, N1 = (e) => {
- var t = bB(e, PNe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = ENe(t, TNe), m = Q(eq), h = Q((e) => CNe(e, i)), g = Q((e) => wNe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
+ zIndex: IK.grid
+}, M1 = (e) => {
+ var t = yB(e, INe), { gridType: n, radialLines: r, angleAxisId: i, radiusAxisId: a, cx: o, cy: s, innerRadius: c, outerRadius: l, polarAngles: u, polarRadius: d, zIndex: f } = t, p = ONe(t, DNe), m = Q($K), h = Q((e) => TNe(e, i)), g = Q((e) => ENe(e, a)), _ = Array.isArray(u) ? u : h, v = Array.isArray(d) ? d : g;
if (_ == null || v == null) return null;
- var y = A1({
+ var y = k1({
cx: m?.cx ?? o ?? 0,
cy: m?.cy ?? s ?? 0,
innerRadius: m?.innerRadius ?? c ?? 0,
@@ -64186,13 +64221,13 @@ var jNe = (e, t, n, r) => {
polarRadius: v,
zIndex: f
}, p), { outerRadius: b } = y;
- return b <= 0 ? null : /*#__PURE__*/ R.createElement(QQ, { zIndex: y.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ R.createElement(NNe, O1({
+ return b <= 0 ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: y.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-polar-grid" }, /*#__PURE__*/ R.createElement(FNe, D1({
gridType: n,
radialLines: r
}, y, {
polarAngles: _,
polarRadius: v
- })), /*#__PURE__*/ R.createElement(MNe, O1({
+ })), /*#__PURE__*/ R.createElement(PNe, D1({
gridType: n,
radialLines: r
}, y, {
@@ -64200,19 +64235,19 @@ var jNe = (e, t, n, r) => {
polarRadius: v
}))));
};
-N1.displayName = "PolarGrid";
+M1.displayName = "PolarGrid";
//#endregion
//#region node_modules/es-toolkit/dist/compat/_internal/toArray.mjs
-function P1(e) {
+function N1(e) {
return Array.isArray(e) ? e : Array.from(e);
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/maxBy.mjs
-function FNe(e, t = TB) {
+function LNe(e, t = wB) {
if (e == null) return;
- let n = P1(e);
+ let n = N1(e);
if (n.length === 0) return;
- let r = UB(t), i, a;
+ let r = HB(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o > a) && (a = o, i = t);
@@ -64221,11 +64256,11 @@ function FNe(e, t = TB) {
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/math/minBy.mjs
-function INe(e, t = TB) {
+function RNe(e, t = wB) {
if (e == null) return;
- let n = P1(e);
+ let n = N1(e);
if (n.length === 0) return;
- let r = UB(t), i, a;
+ let r = HB(t), i, a;
for (let e = 0; e < n.length; e++) {
let t = n[e], o = r(t, e, n);
o == null || Number.isNaN(o) || typeof o == "symbol" || (a === void 0 || o < a) && (a = o, i = t);
@@ -64234,7 +64269,7 @@ function INe(e, t = TB) {
}
//#endregion
//#region node_modules/recharts/es6/state/polarAxisSlice.js
-var F1 = PH({
+var P1 = NH({
name: "polarAxis",
initialState: {
radiusAxis: {},
@@ -64242,47 +64277,47 @@ var F1 = PH({
},
reducers: {
addRadiusAxis(e, t) {
- e.radiusAxis[t.payload.id] = GW(t.payload);
+ e.radiusAxis[t.payload.id] = WW(t.payload);
},
removeRadiusAxis(e, t) {
delete e.radiusAxis[t.payload.id];
},
addAngleAxis(e, t) {
- e.angleAxis[t.payload.id] = GW(t.payload);
+ e.angleAxis[t.payload.id] = WW(t.payload);
},
removeAngleAxis(e, t) {
delete e.angleAxis[t.payload.id];
}
}
-}), { addRadiusAxis: LNe, removeRadiusAxis: RNe, addAngleAxis: zNe, removeAngleAxis: BNe } = F1.actions, VNe = F1.reducer;
+}), { addRadiusAxis: zNe, removeRadiusAxis: BNe, addAngleAxis: VNe, removeAngleAxis: HNe } = P1.actions, UNe = P1.reducer;
//#endregion
//#region node_modules/recharts/es6/util/getClassNameFromUnknown.js
-function I1(e) {
+function F1(e) {
return e && typeof e == "object" && "className" in e && typeof e.className == "string" ? e.className : "";
}
//#endregion
//#region node_modules/recharts/es6/polar/PolarRadiusAxis.js
-var HNe = ["type"], UNe = [
+var WNe = ["type"], GNe = [
"cx",
"cy",
"angle",
"axisLine"
-], WNe = [
+], KNe = [
"angle",
"tickFormatter",
"stroke",
"tick"
];
-function L1() {
- return L1 = Object.assign ? Object.assign.bind() : function(e) {
+function I1() {
+ return I1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, L1.apply(null, arguments);
+ }, I1.apply(null, arguments);
}
-function R1(e, t) {
+function L1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64292,30 +64327,30 @@ function R1(e, t) {
}
return n;
}
-function z1(e) {
+function R1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? R1(Object(n), !0).forEach(function(t) {
- GNe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R1(Object(n)).forEach(function(t) {
+ t % 2 ? L1(Object(n), !0).forEach(function(t) {
+ qNe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function GNe(e, t, n) {
- return (t = KNe(t)) in e ? Object.defineProperty(e, t, {
+function qNe(e, t, n) {
+ return (t = JNe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function KNe(e) {
- var t = qNe(e, "string");
+function JNe(e) {
+ var t = YNe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qNe(e, t) {
+function YNe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64325,16 +64360,16 @@ function qNe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function B1(e, t) {
+function z1(e, t) {
if (e == null) return {};
- var n, r, i = JNe(e, t);
+ var n, r, i = XNe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function JNe(e, t) {
+function XNe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64343,20 +64378,20 @@ function JNe(e, t) {
}
return n;
}
-var YNe = "radiusAxis";
-function XNe(e) {
- var t = qB(), n = iW(), r = (0, R.useMemo)(() => {
- var { type: t } = e, r = B1(e, HNe), i = VK(n, "radiusAxis", t);
- if (i != null) return z1(z1({}, r), {}, { type: i });
+var ZNe = "radiusAxis";
+function QNe(e) {
+ var t = KB(), n = rW(), r = (0, R.useMemo)(() => {
+ var { type: t } = e, r = z1(e, WNe), i = BK(n, "radiusAxis", t);
+ if (i != null) return R1(R1({}, r), {}, { type: i });
}, [e, n]);
- return (0, R.useEffect)(() => r == null ? uB : (t(LNe(r)), () => {
- t(RNe(r));
+ return (0, R.useEffect)(() => r == null ? lB : (t(zNe(r)), () => {
+ t(BNe(r));
}), [t, r]), null;
}
-var ZNe = (e, t, n, r) => {
+var $Ne = (e, t, n, r) => {
var { coordinate: i } = e;
- return nK(n, r, i, t);
-}, QNe = (e) => {
+ return tK(n, r, i, t);
+}, ePe = (e) => {
var t;
switch (e) {
case "left":
@@ -64368,49 +64403,49 @@ var ZNe = (e, t, n, r) => {
default: t = "middle";
}
return t;
-}, $Ne = (e, t, n, r) => {
- var i = FNe(r, (e) => e.coordinate || 0);
+}, tPe = (e, t, n, r) => {
+ var i = LNe(r, (e) => e.coordinate || 0);
return {
cx: t,
cy: n,
startAngle: e,
endAngle: e,
- innerRadius: INe(r, (e) => e.coordinate || 0)?.coordinate || 0,
+ innerRadius: RNe(r, (e) => e.coordinate || 0)?.coordinate || 0,
outerRadius: i?.coordinate || 0,
clockWise: !1
};
-}, ePe = (e, t) => {
- var { cx: n, cy: r, angle: i, axisLine: a } = e, o = B1(e, UNe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = nK(n, r, s[0], i), l = nK(n, r, s[1], i), u = z1(z1(z1({}, WR(o)), {}, { fill: "none" }, WR(a)), {}, {
+}, nPe = (e, t) => {
+ var { cx: n, cy: r, angle: i, axisLine: a } = e, o = z1(e, GNe), s = t.reduce((e, t) => [Math.min(e[0], t.coordinate), Math.max(e[1], t.coordinate)], [Infinity, -Infinity]), c = tK(n, r, s[0], i), l = tK(n, r, s[1], i), u = R1(R1(R1({}, UR(o)), {}, { fill: "none" }, UR(a)), {}, {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
});
- return /*#__PURE__*/ R.createElement("line", L1({ className: "recharts-polar-radius-axis-line" }, u));
-}, tPe = (e, t, n) => /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ R.createElement(B$, L1({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), nPe = (e, t) => {
- var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = B1(e, WNe), s = QNe(e.orientation), c = WR(o), l = GR(a), u = t.map((t, o) => {
- var u = ZNe(t, e.angle, e.cx, e.cy), d = z1(z1(z1(z1({
+ return /*#__PURE__*/ R.createElement("line", I1({ className: "recharts-polar-radius-axis-line" }, u));
+}, rPe = (e, t, n) => /*#__PURE__*/ R.isValidElement(e) ? /*#__PURE__*/ R.cloneElement(e, t) : typeof e == "function" ? e(t) : /*#__PURE__*/ R.createElement(z$, I1({}, t, { className: "recharts-polar-radius-axis-tick-value" }), n), iPe = (e, t) => {
+ var { angle: n, tickFormatter: r, stroke: i, tick: a } = e, o = z1(e, KNe), s = ePe(e.orientation), c = UR(o), l = WR(a), u = t.map((t, o) => {
+ var u = $Ne(t, e.angle, e.cx, e.cy), d = R1(R1(R1(R1({
textAnchor: s,
transform: `rotate(${90 - n}, ${u.x}, ${u.y})`
}, c), {}, {
stroke: "none",
fill: i
}, l), {}, { index: o }, u), {}, { payload: t });
- return /*#__PURE__*/ R.createElement(XR, L1({
- className: Sh("recharts-polar-radius-axis-tick", I1(a)),
+ return /*#__PURE__*/ R.createElement(YR, I1({
+ className: Sh("recharts-polar-radius-axis-tick", F1(a)),
key: `tick-${t.coordinate}`
- }, vB(e, t, o)), tPe(a, d, r ? r(t.value, o) : t.value));
+ }, _B(e, t, o)), rPe(a, d, r ? r(t.value, o) : t.value));
});
- return /*#__PURE__*/ R.createElement(XR, { className: "recharts-polar-radius-axis-ticks" }, u);
-}, rPe = (e) => {
- var { radiusAxisId: t } = e, n = Q(eq), r = Q((e) => T1(e, "radiusAxis", t)), i = Q((e) => D1(e, "radiusAxis", t, !1));
+ return /*#__PURE__*/ R.createElement(YR, { className: "recharts-polar-radius-axis-ticks" }, u);
+}, aPe = (e) => {
+ var { radiusAxisId: t } = e, n = Q($K), r = Q((e) => w1(e, "radiusAxis", t)), i = Q((e) => E1(e, "radiusAxis", t, !1));
if (n == null || !i || !i.length || r == null) return null;
- var a = z1(z1({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: a.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-polar-radius-axis", YNe, a.className) }, s && ePe(a, i), o && nPe(a, i), /*#__PURE__*/ R.createElement(QMe, $Ne(a.angle, a.cx, a.cy, i), /*#__PURE__*/ R.createElement(aNe, { label: a.label }), a.children)));
+ var a = R1(R1({}, e), {}, { scale: r }, n), { tick: o, axisLine: s } = a;
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: a.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: Sh("recharts-polar-radius-axis", ZNe, a.className) }, s && nPe(a, i), o && iPe(a, i), /*#__PURE__*/ R.createElement(eNe, tPe(a.angle, a.cx, a.cy, i), /*#__PURE__*/ R.createElement(sNe, { label: a.label }), a.children)));
};
-function V1(e) {
- var t = bB(e, zK);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(XNe, {
+function B1(e) {
+ var t = yB(e, RK);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(QNe, {
domain: t.domain,
id: t.radiusAxisId,
scale: t.scale,
@@ -64427,22 +64462,22 @@ function V1(e) {
ticks: t.ticks,
tickCount: t.tickCount,
tick: t.tick
- }), /*#__PURE__*/ R.createElement(rPe, t));
+ }), /*#__PURE__*/ R.createElement(aPe, t));
}
-V1.displayName = "PolarRadiusAxis";
+B1.displayName = "PolarRadiusAxis";
//#endregion
//#region node_modules/recharts/es6/polar/PolarAngleAxis.js
-var iPe = ["children", "type"], aPe = ["ref"];
-function H1() {
- return H1 = Object.assign ? Object.assign.bind() : function(e) {
+var oPe = ["children", "type"], sPe = ["ref"];
+function V1() {
+ return V1 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, H1.apply(null, arguments);
+ }, V1.apply(null, arguments);
}
-function U1(e, t) {
+function H1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64452,30 +64487,30 @@ function U1(e, t) {
}
return n;
}
-function W1(e) {
+function U1(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? U1(Object(n), !0).forEach(function(t) {
- oPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U1(Object(n)).forEach(function(t) {
+ t % 2 ? H1(Object(n), !0).forEach(function(t) {
+ cPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function oPe(e, t, n) {
- return (t = sPe(t)) in e ? Object.defineProperty(e, t, {
+function cPe(e, t, n) {
+ return (t = lPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function sPe(e) {
- var t = cPe(e, "string");
+function lPe(e) {
+ var t = uPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function cPe(e, t) {
+function uPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64485,16 +64520,16 @@ function cPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function G1(e, t) {
+function W1(e, t) {
if (e == null) return {};
- var n, r, i = lPe(e, t);
+ var n, r, i = dPe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function lPe(e, t) {
+function dPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64503,47 +64538,47 @@ function lPe(e, t) {
}
return n;
}
-var K1 = 1e-5, uPe = Math.cos(tK(45)), dPe = "angleAxis";
-function fPe(e) {
- var t = qB(), n = iW(), r = (0, R.useMemo)(() => {
- var { children: t, type: r } = e, i = G1(e, iPe), a = VK(n, "angleAxis", r);
- if (a != null) return W1(W1({}, i), {}, { type: a });
- }, [e, n]), i = r === Q((e) => KK(e, r?.id));
- return (0, R.useEffect)(() => r == null ? uB : (t(zNe(r)), () => {
- t(BNe(r));
+var G1 = 1e-5, fPe = Math.cos(eK(45)), pPe = "angleAxis";
+function mPe(e) {
+ var t = KB(), n = rW(), r = (0, R.useMemo)(() => {
+ var { children: t, type: r } = e, i = W1(e, oPe), a = BK(n, "angleAxis", r);
+ if (a != null) return U1(U1({}, i), {}, { type: a });
+ }, [e, n]), i = r === Q((e) => GK(e, r?.id));
+ return (0, R.useEffect)(() => r == null ? lB : (t(VNe(r)), () => {
+ t(HNe(r));
}), [t, r]), i ? e.children : null;
}
-var pPe = (e, t) => {
- var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = nK(n, r, i, e.coordinate), l = nK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
+var hPe = (e, t) => {
+ var { cx: n, cy: r, radius: i, orientation: a, tickSize: o } = t, s = o || 8, c = tK(n, r, i, e.coordinate), l = tK(n, r, i + (a === "inner" ? -1 : 1) * s, e.coordinate);
return {
x1: c.x,
y1: c.y,
x2: l.x,
y2: l.y
};
-}, mPe = (e, t) => {
- var n = Math.cos(tK(-e.coordinate));
- return n > K1 ? t === "outer" ? "start" : "end" : n < -K1 ? t === "outer" ? "end" : "start" : "middle";
-}, hPe = (e) => {
- var t = Math.cos(tK(-e.coordinate)), n = Math.sin(tK(-e.coordinate));
- return Math.abs(t) <= uPe ? n > 0 ? "start" : "end" : "middle";
-}, gPe = (e) => {
+}, gPe = (e, t) => {
+ var n = Math.cos(eK(-e.coordinate));
+ return n > G1 ? t === "outer" ? "start" : "end" : n < -G1 ? t === "outer" ? "end" : "start" : "middle";
+}, _Pe = (e) => {
+ var t = Math.cos(eK(-e.coordinate)), n = Math.sin(eK(-e.coordinate));
+ return Math.abs(t) <= fPe ? n > 0 ? "start" : "end" : "middle";
+}, vPe = (e) => {
var { cx: t, cy: n, radius: r, axisLineType: i, axisLine: a, ticks: o } = e;
if (!a) return null;
- var s = W1(W1({}, WR(e)), {}, { fill: "none" }, WR(a));
- if (i === "circle") return /*#__PURE__*/ R.createElement(h1, H1({ className: "recharts-polar-angle-axis-line" }, s, {
+ var s = U1(U1({}, UR(e)), {}, { fill: "none" }, UR(a));
+ if (i === "circle") return /*#__PURE__*/ R.createElement(m1, V1({ className: "recharts-polar-angle-axis-line" }, s, {
cx: t,
cy: n,
r
}));
- var c = o.map((e) => nK(t, n, r, e.coordinate));
- return /*#__PURE__*/ R.createElement(p1, H1({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
-}, _Pe = (e) => {
+ var c = o.map((e) => tK(t, n, r, e.coordinate));
+ return /*#__PURE__*/ R.createElement(f1, V1({ className: "recharts-polar-angle-axis-line" }, s, { points: c }));
+}, yPe = (e) => {
var { tick: t, tickProps: n, value: r } = e;
- return t ? /*#__PURE__*/ R.isValidElement(t) ? /*#__PURE__*/ R.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ R.createElement(B$, H1({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
-}, vPe = (e) => {
- var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = WR(e), { ref: s } = o, c = G1(o, aPe), l = GR(t), u = W1(W1({}, c), {}, { fill: "none" }, WR(n)), d = a.map((a, o) => {
- var s = pPe(a, e), d = mPe(a, e.orientation), f = hPe(a), p = W1(W1(W1({}, c), {}, {
+ return t ? /*#__PURE__*/ R.isValidElement(t) ? /*#__PURE__*/ R.cloneElement(t, n) : typeof t == "function" ? t(n) : /*#__PURE__*/ R.createElement(z$, V1({}, n, { className: "recharts-polar-angle-axis-tick-value" }), r) : null;
+}, bPe = (e) => {
+ var { tick: t, tickLine: n, tickFormatter: r, stroke: i, ticks: a } = e, o = UR(e), { ref: s } = o, c = W1(o, sPe), l = WR(t), u = U1(U1({}, c), {}, { fill: "none" }, UR(n)), d = a.map((a, o) => {
+ var s = hPe(a, e), d = gPe(a, e.orientation), f = _Pe(a), p = U1(U1(U1({}, c), {}, {
textAnchor: d,
verticalAnchor: f,
stroke: "none",
@@ -64554,28 +64589,28 @@ var pPe = (e, t) => {
x: s.x2,
y: s.y2
});
- return /*#__PURE__*/ R.createElement(XR, H1({
- className: Sh("recharts-polar-angle-axis-tick", I1(t)),
+ return /*#__PURE__*/ R.createElement(YR, V1({
+ className: Sh("recharts-polar-angle-axis-tick", F1(t)),
key: `tick-${a.coordinate}`
- }, vB(e, a, o)), n && /*#__PURE__*/ R.createElement("line", H1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ R.createElement(_Pe, {
+ }, _B(e, a, o)), n && /*#__PURE__*/ R.createElement("line", V1({ className: "recharts-polar-angle-axis-tick-line" }, u, s)), /*#__PURE__*/ R.createElement(yPe, {
tick: t,
tickProps: p,
value: r ? r(a.value, o) : a.value
}));
});
- return /*#__PURE__*/ R.createElement(XR, { className: "recharts-polar-angle-axis-ticks" }, d);
-}, yPe = (e) => {
- var { angleAxisId: t } = e, n = Q(eq), r = Q((e) => T1(e, "angleAxis", t)), i = IU(), a = Q((e) => xNe(e, "angleAxis", t, i));
+ return /*#__PURE__*/ R.createElement(YR, { className: "recharts-polar-angle-axis-ticks" }, d);
+}, xPe = (e) => {
+ var { angleAxisId: t } = e, n = Q($K), r = Q((e) => w1(e, "angleAxis", t)), i = FU(), a = Q((e) => CNe(e, "angleAxis", t, i));
if (n == null || !a || !a.length || r == null) return null;
- var o = W1(W1(W1({}, e), {}, { scale: r }, n), {}, {
+ var o = U1(U1(U1({}, e), {}, { scale: r }, n), {}, {
radius: n.outerRadius,
ticks: a
});
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: o.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-polar-angle-axis", dPe, o.className) }, /*#__PURE__*/ R.createElement(gPe, o), /*#__PURE__*/ R.createElement(vPe, o)));
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: o.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: Sh("recharts-polar-angle-axis", pPe, o.className) }, /*#__PURE__*/ R.createElement(vPe, o), /*#__PURE__*/ R.createElement(bPe, o)));
};
-function q1(e) {
- var t = bB(e, RK);
- return /*#__PURE__*/ R.createElement(fPe, {
+function K1(e) {
+ var t = yB(e, LK);
+ return /*#__PURE__*/ R.createElement(mPe, {
id: t.angleAxisId,
scale: t.scale,
type: t.type,
@@ -64592,12 +64627,12 @@ function q1(e) {
ticks: t.ticks,
tick: t.tick,
domain: t.domain
- }, /*#__PURE__*/ R.createElement(yPe, t));
+ }, /*#__PURE__*/ R.createElement(xPe, t));
}
-q1.displayName = "PolarAngleAxis";
+K1.displayName = "PolarAngleAxis";
//#endregion
//#region node_modules/react-is/cjs/react-is.production.js
-var bPe = /* @__PURE__ */ Ct(((e) => {
+var SPe = /* @__PURE__ */ Ct(((e) => {
var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), p = Symbol.for("react.view_transition");
function m(e) {
if (typeof e == "object" && e) {
@@ -64626,26 +64661,26 @@ var bPe = /* @__PURE__ */ Ct(((e) => {
e.isFragment = function(e) {
return m(e) === r;
};
-})), xPe = (/* @__PURE__ */ Ct(((e, t) => {
- t.exports = bPe();
-})))(), J1 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", Y1 = null, X1 = null, Z1 = (e) => {
- if (e === Y1 && Array.isArray(X1)) return X1;
+})), CPe = (/* @__PURE__ */ Ct(((e, t) => {
+ t.exports = SPe();
+})))(), q1 = (e) => typeof e == "string" ? e : e ? e.displayName || e.name || "Component" : "", J1 = null, Y1 = null, X1 = (e) => {
+ if (e === J1 && Array.isArray(Y1)) return Y1;
var t = [];
return R.Children.forEach(e, (e) => {
- sB(e) || ((0, xPe.isFragment)(e) ? t = t.concat(Z1(e.props.children)) : t.push(e));
- }), X1 = t, Y1 = e, t;
+ oB(e) || ((0, CPe.isFragment)(e) ? t = t.concat(X1(e.props.children)) : t.push(e));
+ }), Y1 = t, J1 = e, t;
};
-function Q1(e, t) {
+function Z1(e, t) {
var n = [], r = [];
- return r = Array.isArray(t) ? t.map((e) => J1(e)) : [J1(t)], Z1(e).forEach((e) => {
- var t = Yz(e, "type.displayName") || Yz(e, "type.name");
+ return r = Array.isArray(t) ? t.map((e) => q1(e)) : [q1(t)], X1(e).forEach((e) => {
+ var t = Jz(e, "type.displayName") || Jz(e, "type.name");
t && r.indexOf(t) !== -1 && n.push(e);
}), n;
}
-var $1 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
+var Q1 = (e) => e && typeof e == "object" && "clipDot" in e ? !!e.clipDot : !0;
//#endregion
//#region node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
-function SPe(e) {
+function wPe(e) {
if (typeof e != "object" || !e) return !1;
if (Object.getPrototypeOf(e) === null) return !0;
if (Object.prototype.toString.call(e) !== "[object Object]") {
@@ -64658,8 +64693,8 @@ function SPe(e) {
}
//#endregion
//#region node_modules/recharts/es6/shape/Trapezoid.js
-var CPe, wPe, TPe, EPe, DPe;
-function e0(e, t) {
+var TPe, EPe, DPe, OPe, kPe;
+function $1(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64669,30 +64704,30 @@ function e0(e, t) {
}
return n;
}
-function t0(e) {
+function e0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? e0(Object(n), !0).forEach(function(t) {
- OPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : e0(Object(n)).forEach(function(t) {
+ t % 2 ? $1(Object(n), !0).forEach(function(t) {
+ APe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $1(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function OPe(e, t, n) {
- return (t = kPe(t)) in e ? Object.defineProperty(e, t, {
+function APe(e, t, n) {
+ return (t = jPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kPe(e) {
- var t = APe(e, "string");
+function jPe(e) {
+ var t = MPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function APe(e, t) {
+function MPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64702,42 +64737,42 @@ function APe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function n0() {
- return n0 = Object.assign ? Object.assign.bind() : function(e) {
+function t0() {
+ return t0 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, n0.apply(null, arguments);
+ }, t0.apply(null, arguments);
}
-function r0(e, t) {
+function n0(e, t) {
return t ||= e.slice(0), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
}
-var i0 = (e, t, n, r, i) => {
- var a = n - r, o = Zz(CPe ||= r0([
+var r0 = (e, t, n, r, i) => {
+ var a = n - r, o = Xz(TPe ||= n0([
"M ",
",",
""
]), e, t);
- return o += Zz(wPe ||= r0([
+ return o += Xz(EPe ||= n0([
"L ",
",",
""
- ]), e + n, t), o += Zz(TPe ||= r0([
+ ]), e + n, t), o += Xz(DPe ||= n0([
"L ",
",",
""
- ]), e + n - a / 2, t + i), o += Zz(EPe ||= r0([
+ ]), e + n - a / 2, t + i), o += Xz(OPe ||= n0([
"L ",
",",
""
- ]), e + n - a / 2 - r, t + i), o += Zz(DPe ||= r0([
+ ]), e + n - a / 2 - r, t + i), o += Xz(kPe ||= n0([
"L ",
",",
" Z"
]), e, t), o;
-}, jPe = {
+}, NPe = {
x: 0,
y: 0,
upperWidth: 0,
@@ -64747,8 +64782,8 @@ var i0 = (e, t, n, r, i) => {
animationBegin: 0,
animationDuration: 1500,
animationEasing: "ease"
-}, MPe = (e) => {
- var t = bB(e, jPe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, R.useRef)(null), [p, m] = (0, R.useState)(-1), h = (0, R.useRef)(i), g = (0, R.useRef)(a), _ = (0, R.useRef)(o), v = (0, R.useRef)(n), y = (0, R.useRef)(r), b = UG(e, "trapezoid-");
+}, PPe = (e) => {
+ var t = yB(e, NPe), { x: n, y: r, upperWidth: i, lowerWidth: a, height: o, className: s } = t, { animationEasing: c, animationDuration: l, animationBegin: u, isUpdateAnimationActive: d } = t, f = (0, R.useRef)(null), [p, m] = (0, R.useState)(-1), h = (0, R.useRef)(i), g = (0, R.useRef)(a), _ = (0, R.useRef)(o), v = (0, R.useRef)(n), y = (0, R.useRef)(r), b = HG(e, "trapezoid-");
if ((0, R.useEffect)(() => {
if (f.current && f.current.getTotalLength) try {
var e = f.current.getTotalLength();
@@ -64756,12 +64791,12 @@ var i0 = (e, t, n, r, i) => {
} catch {}
}, []), n !== +n || r !== +r || i !== +i || a !== +a || o !== +o || i === 0 && a === 0 || o === 0) return null;
var x = Sh("recharts-trapezoid", s);
- if (!d) return /*#__PURE__*/ R.createElement("g", null, /*#__PURE__*/ R.createElement("path", n0({}, KR(t), {
+ if (!d) return /*#__PURE__*/ R.createElement("g", null, /*#__PURE__*/ R.createElement("path", t0({}, GR(t), {
className: x,
- d: i0(n, r, i, a, o)
+ d: r0(n, r, i, a, o)
})));
- var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = kG(["strokeDasharray"], l, c);
- return /*#__PURE__*/ R.createElement(HG, {
+ var S = h.current, C = g.current, w = _.current, T = v.current, E = y.current, D = `0px ${p === -1 ? 1 : p}px`, O = `${p}px ${p}px`, k = OG(["strokeDasharray"], l, c);
+ return /*#__PURE__*/ R.createElement(VG, {
animationId: b,
key: b,
canBegin: p > 0,
@@ -64770,35 +64805,35 @@ var i0 = (e, t, n, r, i) => {
isActive: d,
begin: u
}, (e) => {
- var s = aB(S, i, e), c = aB(C, a, e), l = aB(w, o, e), u = aB(T, n, e), d = aB(E, r, e);
+ var s = iB(S, i, e), c = iB(C, a, e), l = iB(w, o, e), u = iB(T, n, e), d = iB(E, r, e);
f.current && (h.current = s, g.current = c, _.current = l, v.current = u, y.current = d);
var p = e > 0 ? {
transition: k,
strokeDasharray: O
} : { strokeDasharray: D };
- return /*#__PURE__*/ R.createElement("path", n0({}, KR(t), {
+ return /*#__PURE__*/ R.createElement("path", t0({}, GR(t), {
className: x,
- d: i0(u, d, s, c, l),
+ d: r0(u, d, s, c, l),
ref: f,
- style: t0(t0({}, p), t.style)
+ style: e0(e0({}, p), t.style)
}));
});
-}, NPe = [
+}, FPe = [
"option",
"shapeType",
"activeClassName",
"inActiveClassName"
];
-function PPe(e, t) {
+function IPe(e, t) {
if (e == null) return {};
- var n, r, i = FPe(e, t);
+ var n, r, i = LPe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function FPe(e, t) {
+function LPe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -64807,7 +64842,7 @@ function FPe(e, t) {
}
return n;
}
-function a0(e, t) {
+function i0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -64817,30 +64852,30 @@ function a0(e, t) {
}
return n;
}
-function o0(e) {
+function a0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? a0(Object(n), !0).forEach(function(t) {
- IPe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : a0(Object(n)).forEach(function(t) {
+ t % 2 ? i0(Object(n), !0).forEach(function(t) {
+ RPe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : i0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function IPe(e, t, n) {
- return (t = LPe(t)) in e ? Object.defineProperty(e, t, {
+function RPe(e, t, n) {
+ return (t = zPe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function LPe(e) {
- var t = RPe(e, "string");
+function zPe(e) {
+ var t = BPe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function RPe(e, t) {
+function BPe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -64850,68 +64885,68 @@ function RPe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function zPe(e, t) {
- return o0(o0({}, t), e);
+function VPe(e, t) {
+ return a0(a0({}, t), e);
}
-function BPe(e, t) {
+function HPe(e, t) {
return e === "symbols";
}
-function s0(e) {
+function o0(e) {
var { shapeType: t, elementProps: n } = e;
switch (t) {
- case "rectangle": return /*#__PURE__*/ R.createElement(ZG, n);
- case "trapezoid": return /*#__PURE__*/ R.createElement(MPe, n);
- case "sector": return /*#__PURE__*/ R.createElement(cK, n);
+ case "rectangle": return /*#__PURE__*/ R.createElement(XG, n);
+ case "trapezoid": return /*#__PURE__*/ R.createElement(PPe, n);
+ case "sector": return /*#__PURE__*/ R.createElement(sK, n);
case "symbols":
- if (BPe(t, n)) return /*#__PURE__*/ R.createElement(hB, n);
+ if (HPe(t, n)) return /*#__PURE__*/ R.createElement(mB, n);
break;
- case "curve": return /*#__PURE__*/ R.createElement(wG, n);
+ case "curve": return /*#__PURE__*/ R.createElement(CG, n);
default: return null;
}
}
-function VPe(e) {
+function UPe(e) {
return /*#__PURE__*/ (0, R.isValidElement)(e) ? e.props : e;
}
-function c0(e) {
- var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = PPe(e, NPe), o;
- if (/*#__PURE__*/ (0, R.isValidElement)(t)) o = /*#__PURE__*/ (0, R.cloneElement)(t, o0(o0({}, a), VPe(t)));
+function s0(e) {
+ var { option: t, shapeType: n, activeClassName: r = "recharts-active-shape", inActiveClassName: i = "recharts-shape" } = e, a = IPe(e, FPe), o;
+ if (/*#__PURE__*/ (0, R.isValidElement)(t)) o = /*#__PURE__*/ (0, R.cloneElement)(t, a0(a0({}, a), UPe(t)));
else if (typeof t == "function") o = t(a, a.index);
- else if (SPe(t) && typeof t != "boolean") {
- var s = zPe(t, a);
- o = /*#__PURE__*/ R.createElement(s0, {
+ else if (wPe(t) && typeof t != "boolean") {
+ var s = VPe(t, a);
+ o = /*#__PURE__*/ R.createElement(o0, {
shapeType: n,
elementProps: s
});
} else {
var c = a;
- o = /*#__PURE__*/ R.createElement(s0, {
+ o = /*#__PURE__*/ R.createElement(o0, {
shapeType: n,
elementProps: c
});
}
- return a.isActive ? /*#__PURE__*/ R.createElement(XR, { className: r }, o) : /*#__PURE__*/ R.createElement(XR, { className: i }, o);
+ return a.isActive ? /*#__PURE__*/ R.createElement(YR, { className: r }, o) : /*#__PURE__*/ R.createElement(YR, { className: i }, o);
}
//#endregion
//#region node_modules/recharts/es6/context/tooltipContext.js
-var l0 = (e, t, n) => {
- var r = qB();
+var c0 = (e, t, n) => {
+ var r = KB();
return (i, a) => (o) => {
- e?.(i, a, o), r($Z({
+ e?.(i, a, o), r(QZ({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
activeGraphicalItemId: n
}));
};
-}, u0 = (e) => {
- var t = qB();
+}, l0 = (e) => {
+ var t = KB();
return (n, r) => (i) => {
- e?.(n, r, i), t(EAe());
+ e?.(n, r, i), t(OAe());
};
-}, d0 = (e, t, n) => {
- var r = qB();
+}, u0 = (e, t, n) => {
+ var r = KB();
return (i, a) => (o) => {
- e?.(i, a, o), r(DAe({
+ e?.(i, a, o), r(kAe({
activeIndex: String(a),
activeDataKey: t,
activeCoordinate: i.tooltipPosition,
@@ -64921,10 +64956,10 @@ var l0 = (e, t, n) => {
};
//#endregion
//#region node_modules/recharts/es6/state/SetTooltipEntrySettings.js
-function f0(e) {
- var { tooltipEntrySettings: t } = e, n = qB(), r = IU(), i = (0, R.useRef)(null);
+function d0(e) {
+ var { tooltipEntrySettings: t } = e, n = KB(), r = FU(), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- r || (i.current === null ? n(SAe(t)) : i.current !== t && n(CAe({
+ r || (i.current === null ? n(wAe(t)) : i.current !== t && n(TAe({
prev: i.current,
next: t
})), i.current = t);
@@ -64933,15 +64968,15 @@ function f0(e) {
n,
r
]), (0, R.useLayoutEffect)(() => () => {
- i.current &&= (n(wAe(i.current)), null);
+ i.current &&= (n(EAe(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/state/SetLegendPayload.js
-function p0(e) {
- var { legendPayload: t } = e, n = qB(), r = IU(), i = (0, R.useRef)(null);
+function f0(e) {
+ var { legendPayload: t } = e, n = KB(), r = FU(), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- r || (i.current === null ? n(JW(t)) : i.current !== t && n(YW({
+ r || (i.current === null ? n(qW(t)) : i.current !== t && n(JW({
prev: i.current,
next: t
})), i.current = t);
@@ -64950,13 +64985,13 @@ function p0(e) {
r,
t
]), (0, R.useLayoutEffect)(() => () => {
- i.current &&= (n(XW(i.current)), null);
+ i.current &&= (n(YW(i.current)), null);
}, [n]), null;
}
-function m0(e) {
- var { legendPayload: t } = e, n = qB(), r = Q(eW), i = (0, R.useRef)(null);
+function p0(e) {
+ var { legendPayload: t } = e, n = KB(), r = Q($U), i = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- (r === "centric" || r === "radial") && (i.current === null ? n(JW(t)) : i.current !== t && n(YW({
+ (r === "centric" || r === "radial") && (i.current === null ? n(qW(t)) : i.current !== t && n(JW({
prev: i.current,
next: t
})), i.current = t);
@@ -64965,27 +65000,27 @@ function m0(e) {
r,
t
]), (0, R.useLayoutEffect)(() => () => {
- i.current &&= (n(XW(i.current)), null);
+ i.current &&= (n(YW(i.current)), null);
}, [n]), null;
}
//#endregion
//#region node_modules/recharts/es6/util/useId.js
-var HPe = R.useId ?? (() => {
- var [e] = R.useState(() => nB("uid-"));
+var WPe = R.useId ?? (() => {
+ var [e] = R.useState(() => tB("uid-"));
return e;
});
//#endregion
//#region node_modules/recharts/es6/util/useUniqueId.js
-function UPe(e, t) {
- var n = HPe();
+function GPe(e, t) {
+ var n = WPe();
return t || (e ? `${e}-${n}` : n);
}
//#endregion
//#region node_modules/recharts/es6/context/RegisterGraphicalItemId.js
-var WPe = /*#__PURE__*/ (0, R.createContext)(void 0), h0 = (e) => {
- var { id: t, type: n, children: r } = e, i = UPe(`recharts-${n}`, t);
- return /*#__PURE__*/ R.createElement(WPe.Provider, { value: i }, r(i));
-}, g0 = PH({
+var KPe = /*#__PURE__*/ (0, R.createContext)(void 0), m0 = (e) => {
+ var { id: t, type: n, children: r } = e, i = GPe(`recharts-${n}`, t);
+ return /*#__PURE__*/ R.createElement(KPe.Provider, { value: i }, r(i));
+}, h0 = NH({
name: "graphicalItems",
initialState: {
cartesianItems: [],
@@ -64994,80 +65029,80 @@ var WPe = /*#__PURE__*/ (0, R.createContext)(void 0), h0 = (e) => {
reducers: {
addCartesianGraphicalItem: {
reducer(e, t) {
- e.cartesianItems.push(GW(t.payload));
+ e.cartesianItems.push(WW(t.payload));
},
- prepare: AH()
+ prepare: kH()
},
replaceCartesianGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xH(e).cartesianItems.indexOf(GW(n));
- i > -1 && (e.cartesianItems[i] = GW(r));
+ var { prev: n, next: r } = t.payload, i = bH(e).cartesianItems.indexOf(WW(n));
+ i > -1 && (e.cartesianItems[i] = WW(r));
},
- prepare: AH()
+ prepare: kH()
},
removeCartesianGraphicalItem: {
reducer(e, t) {
- var n = xH(e).cartesianItems.indexOf(GW(t.payload));
+ var n = bH(e).cartesianItems.indexOf(WW(t.payload));
n > -1 && e.cartesianItems.splice(n, 1);
},
- prepare: AH()
+ prepare: kH()
},
addPolarGraphicalItem: {
reducer(e, t) {
- e.polarItems.push(GW(t.payload));
+ e.polarItems.push(WW(t.payload));
},
- prepare: AH()
+ prepare: kH()
},
removePolarGraphicalItem: {
reducer(e, t) {
- var n = xH(e).polarItems.indexOf(GW(t.payload));
+ var n = bH(e).polarItems.indexOf(WW(t.payload));
n > -1 && e.polarItems.splice(n, 1);
},
- prepare: AH()
+ prepare: kH()
},
replacePolarGraphicalItem: {
reducer(e, t) {
- var { prev: n, next: r } = t.payload, i = xH(e).polarItems.indexOf(GW(n));
- i > -1 && (e.polarItems[i] = GW(r));
+ var { prev: n, next: r } = t.payload, i = bH(e).polarItems.indexOf(WW(n));
+ i > -1 && (e.polarItems[i] = WW(r));
},
- prepare: AH()
+ prepare: kH()
}
}
-}), { addCartesianGraphicalItem: GPe, replaceCartesianGraphicalItem: KPe, removeCartesianGraphicalItem: qPe, addPolarGraphicalItem: JPe, removePolarGraphicalItem: YPe, replacePolarGraphicalItem: XPe } = g0.actions, ZPe = g0.reducer, _0 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = qB(), n = (0, R.useRef)(null);
+}), { addCartesianGraphicalItem: qPe, replaceCartesianGraphicalItem: JPe, removeCartesianGraphicalItem: YPe, addPolarGraphicalItem: XPe, removePolarGraphicalItem: ZPe, replacePolarGraphicalItem: QPe } = h0.actions, $Pe = h0.reducer, g0 = /*#__PURE__*/ (0, R.memo)((e) => {
+ var t = KB(), n = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- n.current === null ? t(GPe(e)) : n.current !== e && t(KPe({
+ n.current === null ? t(qPe(e)) : n.current !== e && t(JPe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(qPe(n.current)), null);
+ n.current &&= (t(YPe(n.current)), null);
}, [t]), null;
-}), v0 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = qB(), n = (0, R.useRef)(null);
+}), _0 = /*#__PURE__*/ (0, R.memo)((e) => {
+ var t = KB(), n = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => {
- n.current === null ? t(JPe(e)) : n.current !== e && t(XPe({
+ n.current === null ? t(XPe(e)) : n.current !== e && t(QPe({
prev: n.current,
next: e
})), n.current = e;
}, [t, e]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(YPe(n.current)), null);
+ n.current &&= (t(ZPe(n.current)), null);
}, [t]), null;
});
//#endregion
//#region node_modules/es-toolkit/dist/array/last.mjs
-function QPe(e) {
+function eFe(e) {
return e[e.length - 1];
}
//#endregion
//#region node_modules/es-toolkit/dist/compat/array/last.mjs
-function $Pe(e) {
- if (!(!EB(e) || e.length === 0)) return QPe(P1(e));
+function tFe(e) {
+ if (!(!TB(e) || e.length === 0)) return eFe(N1(e));
}
//#endregion
//#region node_modules/recharts/es6/component/Dots.js
-var eFe = ["points"];
-function y0(e, t) {
+var nFe = ["points"];
+function v0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65077,30 +65112,30 @@ function y0(e, t) {
}
return n;
}
-function b0(e) {
+function y0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? y0(Object(n), !0).forEach(function(t) {
- tFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : y0(Object(n)).forEach(function(t) {
+ t % 2 ? v0(Object(n), !0).forEach(function(t) {
+ rFe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : v0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tFe(e, t, n) {
- return (t = nFe(t)) in e ? Object.defineProperty(e, t, {
+function rFe(e, t, n) {
+ return (t = iFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nFe(e) {
- var t = rFe(e, "string");
+function iFe(e) {
+ var t = aFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rFe(e, t) {
+function aFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65110,25 +65145,25 @@ function rFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function x0() {
- return x0 = Object.assign ? Object.assign.bind() : function(e) {
+function b0() {
+ return b0 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, x0.apply(null, arguments);
+ }, b0.apply(null, arguments);
}
-function iFe(e, t) {
+function oFe(e, t) {
if (e == null) return {};
- var n, r, i = aFe(e, t);
+ var n, r, i = sFe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function aFe(e, t) {
+function sFe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65137,21 +65172,21 @@ function aFe(e, t) {
}
return n;
}
-function oFe(e) {
+function cFe(e) {
var { option: t, dotProps: n, className: r } = e;
if (/*#__PURE__*/ (0, R.isValidElement)(t)) return /*#__PURE__*/ (0, R.cloneElement)(t, n);
if (typeof t == "function") return t(n);
- var i = Sh(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = iFe(a, eFe);
- return /*#__PURE__*/ R.createElement(h1, x0({}, s, { className: i }));
+ var i = Sh(r, typeof t == "boolean" ? "" : t.className), a = n ?? {}, { points: o } = a, s = oFe(a, nFe);
+ return /*#__PURE__*/ R.createElement(m1, b0({}, s, { className: i }));
}
-function sFe(e, t) {
+function lFe(e, t) {
return e == null ? !1 : t ? !0 : e.length === 1;
}
-function S0(e) {
- var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = LK.scatter } = e;
- if (!sFe(t, n)) return null;
- var u = $1(n), d = hbe(n), f = t.map((e, r) => {
- var s = b0(b0(b0({ r: 3 }, o), d), {}, {
+function x0(e) {
+ var { points: t, dot: n, className: r, dotClassName: i, dataKey: a, baseProps: o, needClip: s, clipPathId: c, zIndex: l = IK.scatter } = e;
+ if (!lFe(t, n)) return null;
+ var u = Q1(n), d = _be(n), f = t.map((e, r) => {
+ var s = y0(y0(y0({ r: 3 }, o), d), {}, {
index: r,
cx: e.x ?? void 0,
cy: e.y ?? void 0,
@@ -65160,18 +65195,18 @@ function S0(e) {
payload: e.payload,
points: t
});
- return /*#__PURE__*/ R.createElement(oFe, {
+ return /*#__PURE__*/ R.createElement(cFe, {
key: `dot-${r}`,
option: n,
dotProps: s,
className: i
});
}), p = {};
- return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ R.createElement(QQ, { zIndex: l }, /*#__PURE__*/ R.createElement(XR, x0({ className: r }, p), f));
+ return s && c != null && (p.clipPath = `url(#clipPath-${u ? "" : "dots-"}${c})`), /*#__PURE__*/ R.createElement(ZQ, { zIndex: l }, /*#__PURE__*/ R.createElement(YR, b0({ className: r }, p), f));
}
//#endregion
//#region node_modules/recharts/es6/state/cartesianAxisSlice.js
-function C0(e, t) {
+function S0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65181,30 +65216,30 @@ function C0(e, t) {
}
return n;
}
-function w0(e) {
+function C0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? C0(Object(n), !0).forEach(function(t) {
- cFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : C0(Object(n)).forEach(function(t) {
+ t % 2 ? S0(Object(n), !0).forEach(function(t) {
+ uFe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function cFe(e, t, n) {
- return (t = lFe(t)) in e ? Object.defineProperty(e, t, {
+function uFe(e, t, n) {
+ return (t = dFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function lFe(e) {
- var t = uFe(e, "string");
+function dFe(e) {
+ var t = fFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function uFe(e, t) {
+function fFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65214,7 +65249,7 @@ function uFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var T0 = PH({
+var w0 = NH({
name: "cartesianAxis",
initialState: {
xAxis: {},
@@ -65224,60 +65259,60 @@ var T0 = PH({
reducers: {
addXAxis: {
reducer(e, t) {
- e.xAxis[t.payload.id] = GW(t.payload);
+ e.xAxis[t.payload.id] = WW(t.payload);
},
- prepare: AH()
+ prepare: kH()
},
replaceXAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = GW(r));
+ e.xAxis[n.id] !== void 0 && (n.id !== r.id && delete e.xAxis[n.id], e.xAxis[r.id] = WW(r));
},
- prepare: AH()
+ prepare: kH()
},
removeXAxis: {
reducer(e, t) {
delete e.xAxis[t.payload.id];
},
- prepare: AH()
+ prepare: kH()
},
addYAxis: {
reducer(e, t) {
- e.yAxis[t.payload.id] = GW(t.payload);
+ e.yAxis[t.payload.id] = WW(t.payload);
},
- prepare: AH()
+ prepare: kH()
},
replaceYAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = GW(r));
+ e.yAxis[n.id] !== void 0 && (n.id !== r.id && delete e.yAxis[n.id], e.yAxis[r.id] = WW(r));
},
- prepare: AH()
+ prepare: kH()
},
removeYAxis: {
reducer(e, t) {
delete e.yAxis[t.payload.id];
},
- prepare: AH()
+ prepare: kH()
},
addZAxis: {
reducer(e, t) {
- e.zAxis[t.payload.id] = GW(t.payload);
+ e.zAxis[t.payload.id] = WW(t.payload);
},
- prepare: AH()
+ prepare: kH()
},
replaceZAxis: {
reducer(e, t) {
var { prev: n, next: r } = t.payload;
- e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = GW(r));
+ e.zAxis[n.id] !== void 0 && (n.id !== r.id && delete e.zAxis[n.id], e.zAxis[r.id] = WW(r));
},
- prepare: AH()
+ prepare: kH()
},
removeZAxis: {
reducer(e, t) {
delete e.zAxis[t.payload.id];
},
- prepare: AH()
+ prepare: kH()
},
updateYAxisWidth(e, t) {
var { id: n, width: r } = t.payload, i = e.yAxis[n];
@@ -65285,22 +65320,22 @@ var T0 = PH({
var a = i.widthHistory || [];
if (a.length === 3 && a[0] === a[2] && r === a[1] && r !== i.width && Math.abs(r - (a[0] ?? 0)) <= 1) return;
var o = [...a, r].slice(-3);
- e.yAxis[n] = w0(w0({}, i), {}, {
+ e.yAxis[n] = C0(C0({}, i), {}, {
width: r,
widthHistory: o
});
}
}
}
-}), { addXAxis: dFe, replaceXAxis: fFe, removeXAxis: pFe, addYAxis: mFe, replaceYAxis: hFe, removeYAxis: gFe, addZAxis: _Fe, replaceZAxis: vFe, removeZAxis: yFe, updateYAxisWidth: bFe } = T0.actions, xFe = T0.reducer, SFe = $([
- $([PU], (e) => ({
+}), { addXAxis: pFe, replaceXAxis: mFe, removeXAxis: hFe, addYAxis: gFe, replaceYAxis: _Fe, removeYAxis: vFe, addZAxis: yFe, replaceZAxis: bFe, removeZAxis: xFe, updateYAxisWidth: SFe } = w0.actions, CFe = w0.reducer, wFe = $([
+ $([NU], (e) => ({
top: e.top,
bottom: e.bottom,
left: e.left,
right: e.right
})),
- DU,
- OU
+ EU,
+ DU
], (e, t, n) => {
if (!(!e || t == null || n == null)) return {
x: e.left,
@@ -65308,10 +65343,10 @@ var T0 = PH({
width: Math.max(0, t - e.left - e.right),
height: Math.max(0, n - e.top - e.bottom)
};
-}), E0 = () => Q(SFe), CFe = () => Q(nje);
+}), T0 = () => Q(wFe), TFe = () => Q(ije);
//#endregion
//#region node_modules/recharts/es6/component/ActivePoints.js
-function D0(e, t) {
+function E0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65321,30 +65356,30 @@ function D0(e, t) {
}
return n;
}
-function O0(e) {
+function D0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? D0(Object(n), !0).forEach(function(t) {
- wFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D0(Object(n)).forEach(function(t) {
+ t % 2 ? E0(Object(n), !0).forEach(function(t) {
+ EFe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : E0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function wFe(e, t, n) {
- return (t = TFe(t)) in e ? Object.defineProperty(e, t, {
+function EFe(e, t, n) {
+ return (t = DFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function TFe(e) {
- var t = EFe(e, "string");
+function DFe(e) {
+ var t = OFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function EFe(e, t) {
+function OFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65354,10 +65389,10 @@ function EFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var DFe = (e) => {
+var kFe = (e) => {
var { point: t, childIndex: n, mainColor: r, activeDot: i, dataKey: a, clipPath: o } = e;
if (i === !1 || t.x == null || t.y == null) return null;
- var s = O0(O0(O0({}, {
+ var s = D0(D0(D0({}, {
index: n,
dataKey: a,
cx: t.x,
@@ -65368,17 +65403,17 @@ var DFe = (e) => {
stroke: "#fff",
payload: t.payload,
value: t.value
- }), GR(i)), _B(i)), c = /*#__PURE__*/ (0, R.isValidElement)(i) ? /*#__PURE__*/ (0, R.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ R.createElement(h1, s);
- return /*#__PURE__*/ R.createElement(XR, {
+ }), WR(i)), gB(i)), c = /*#__PURE__*/ (0, R.isValidElement)(i) ? /*#__PURE__*/ (0, R.cloneElement)(i, s) : typeof i == "function" ? i(s) : /*#__PURE__*/ R.createElement(m1, s);
+ return /*#__PURE__*/ R.createElement(YR, {
className: "recharts-active-dot",
clipPath: o
}, c);
};
-function k0(e) {
- var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = LK.activeDot } = e, s = Q(jQ), c = CFe();
+function O0(e) {
+ var { points: t, mainColor: n, activeDot: r, itemDataKey: i, clipPath: a, zIndex: o = IK.activeDot } = e, s = Q(AQ), c = TFe();
if (t == null || c == null) return null;
var l = t.find((e) => c.includes(e.payload));
- return sB(l) ? null : /*#__PURE__*/ R.createElement(QQ, { zIndex: o }, /*#__PURE__*/ R.createElement(DFe, {
+ return oB(l) ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: o }, /*#__PURE__*/ R.createElement(kFe, {
point: l,
childIndex: Number(s),
mainColor: n,
@@ -65389,7 +65424,7 @@ function k0(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/radarSelectors.js
-function A0(e, t) {
+function k0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65399,30 +65434,30 @@ function A0(e, t) {
}
return n;
}
-function j0(e) {
+function A0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? A0(Object(n), !0).forEach(function(t) {
- OFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : A0(Object(n)).forEach(function(t) {
+ t % 2 ? k0(Object(n), !0).forEach(function(t) {
+ AFe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function OFe(e, t, n) {
- return (t = kFe(t)) in e ? Object.defineProperty(e, t, {
+function AFe(e, t, n) {
+ return (t = jFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kFe(e) {
- var t = AFe(e, "string");
+function jFe(e) {
+ var t = MFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function AFe(e, t) {
+function MFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65432,16 +65467,16 @@ function AFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var M0 = (e, t) => T1(e, "radiusAxis", t), jFe = $([M0], (e) => {
+var j0 = (e, t) => w1(e, "radiusAxis", t), NFe = $([j0], (e) => {
if (e != null) return { scale: e };
-}), MFe = $([qK, M0], (e, t) => {
- if (e != null && t != null) return j0(j0({}, e), {}, { scale: t });
-}), NFe = (e, t, n, r) => D1(e, "radiusAxis", t, r), N0 = (e, t, n) => KK(e, n), P0 = (e, t, n) => T1(e, "angleAxis", n), PFe = $([N0, P0], (e, t) => {
- if (e != null && t != null) return j0(j0({}, e), {}, { scale: t });
-}), FFe = (e, t, n, r) => D1(e, "angleAxis", n, r), IFe = $([
+}), PFe = $([KK, j0], (e, t) => {
+ if (e != null && t != null) return A0(A0({}, e), {}, { scale: t });
+}), FFe = (e, t, n, r) => E1(e, "radiusAxis", t, r), M0 = (e, t, n) => GK(e, n), N0 = (e, t, n) => w1(e, "angleAxis", n), IFe = $([M0, N0], (e, t) => {
+ if (e != null && t != null) return A0(A0({}, e), {}, { scale: t });
+}), LFe = (e, t, n, r) => E1(e, "angleAxis", n, r), RFe = $([
+ M0,
N0,
- P0,
- eq
+ $K
], (e, t, n) => {
if (n != null && t != null) return {
scale: t,
@@ -65450,40 +65485,40 @@ var M0 = (e, t) => T1(e, "radiusAxis", t), jFe = $([M0], (e) => {
cx: n.cx,
cy: n.cy
};
-}), LFe = (e, t, n, r, i) => i, RFe = $([
- eW,
- MFe,
- NFe,
+}), zFe = (e, t, n, r, i) => i, BFe = $([
+ $U,
PFe,
- FFe
-], (e, t, n, r, i) => mU(e, "radiusAxis") ? wU(t, n, !1) : wU(r, i, !1)), zFe = $([
- jFe,
+ FFe,
IFe,
- fK,
- $([g1, LFe], (e, t) => {
+ LFe
+], (e, t, n, r, i) => pU(e, "radiusAxis") ? CU(t, n, !1) : CU(r, i, !1)), VFe = $([
+ NFe,
+ RFe,
+ dK,
+ $([h1, zFe], (e, t) => {
if (e != null) return e.find((e) => e.type === "radar" && t === e.id)?.dataKey;
}),
- RFe
+ BFe
], (e, t, n, r, i) => {
var { chartData: a, dataStartIndex: o, dataEndIndex: s } = n;
- if (e != null && t != null && a != null && i != null && r != null) return YFe({
+ if (e != null && t != null && a != null && i != null && r != null) return ZFe({
radiusAxis: e,
angleAxis: t,
displayedData: a.slice(o, s + 1),
dataKey: r,
bandSize: i
});
-}), BFe = ["id"];
-function F0() {
- return F0 = Object.assign ? Object.assign.bind() : function(e) {
+}), HFe = ["id"];
+function P0() {
+ return P0 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, F0.apply(null, arguments);
+ }, P0.apply(null, arguments);
}
-function I0(e, t) {
+function F0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65493,30 +65528,30 @@ function I0(e, t) {
}
return n;
}
-function L0(e) {
+function I0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? I0(Object(n), !0).forEach(function(t) {
- VFe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I0(Object(n)).forEach(function(t) {
+ t % 2 ? F0(Object(n), !0).forEach(function(t) {
+ UFe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : F0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function VFe(e, t, n) {
- return (t = HFe(t)) in e ? Object.defineProperty(e, t, {
+function UFe(e, t, n) {
+ return (t = WFe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function HFe(e) {
- var t = UFe(e, "string");
+function WFe(e) {
+ var t = GFe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function UFe(e, t) {
+function GFe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65526,16 +65561,16 @@ function UFe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function WFe(e, t) {
+function KFe(e, t) {
if (e == null) return {};
- var n, r, i = GFe(e, t);
+ var n, r, i = qFe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function GFe(e, t) {
+function qFe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -65544,42 +65579,42 @@ function GFe(e, t) {
}
return n;
}
-function R0(e, t) {
+function L0(e, t) {
return e && e !== "none" ? e : t;
}
-var KFe = (e) => {
+var JFe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
- color: R0(r, i),
- value: EU(n, t),
+ color: L0(r, i),
+ value: TU(n, t),
payload: e
}];
-}, qFe = /*#__PURE__*/ R.memo((e) => {
+}, YFe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, tooltipType: s, id: c } = e, l = {
dataDefinedOnItem: void 0,
- getPosition: uB,
+ getPosition: lB,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
nameKey: void 0,
dataKey: t,
- name: EU(a, t),
+ name: TU(a, t),
hide: o,
type: s,
- color: R0(n, i),
+ color: L0(n, i),
unit: "",
graphicalItemId: c
}
};
- return /*#__PURE__*/ R.createElement(f0, { tooltipEntrySettings: l });
+ return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: l });
});
-function JFe(e) {
- var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = WR(WFe(n, BFe));
- return /*#__PURE__*/ R.createElement(S0, {
+function XFe(e) {
+ var { points: t, props: n } = e, { dot: r, dataKey: i } = n, { id: a } = n, o = UR(KFe(n, HFe));
+ return /*#__PURE__*/ R.createElement(x0, {
points: t,
dot: r,
className: "recharts-radar-dots",
@@ -65588,11 +65623,11 @@ function JFe(e) {
baseProps: o
});
}
-function YFe(e) {
+function ZFe(e) {
var { radiusAxis: t, angleAxis: n, displayedData: r, dataKey: i, bandSize: a } = e, { cx: o, cy: s } = n, c = !1, l = [], u = n.type === "number" ? 0 : a ?? 0;
r.forEach((e, r) => {
- var a = pU(e, n.dataKey, r), d = pU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? $Pe(d) : d, m = sB(p) ? 0 : t.scale.map(p) ?? 0;
- Array.isArray(d) && d.length >= 2 && (c = !0), l.push(L0(L0({}, nK(o, s, m, f)), {}, {
+ var a = fU(e, n.dataKey, r), d = fU(e, i), f = (n.scale.map(a) ?? 0) + u, p = Array.isArray(d) ? tFe(d) : d, m = oB(p) ? 0 : t.scale.map(p) ?? 0;
+ Array.isArray(d) && d.length >= 2 && (c = !0), l.push(I0(I0({}, tK(o, s, m, f)), {}, {
name: a,
value: d,
cx: o,
@@ -65605,8 +65640,8 @@ function YFe(e) {
var d = [];
return c && l.forEach((e) => {
if (Array.isArray(e.value)) {
- var n = e.value[0], r = sB(n) ? 0 : t.scale.map(n) ?? 0;
- d.push(L0(L0({}, e), {}, { radius: r }, nK(o, s, r, e.angle)));
+ var n = e.value[0], r = oB(n) ? 0 : t.scale.map(n) ?? 0;
+ d.push(I0(I0({}, e), {}, { radius: r }, tK(o, s, r, e.angle)));
} else d.push(e);
}), {
points: l,
@@ -65614,7 +65649,7 @@ function YFe(e) {
baseLinePoints: d
};
}
-function XFe(e) {
+function QFe(e) {
var { showLabels: t, points: n, children: r } = e, i = n.map((e) => {
var t = {
x: e.x,
@@ -65624,7 +65659,7 @@ function XFe(e) {
upperWidth: 0,
height: 0
};
- return L0(L0({}, t), {}, {
+ return I0(I0({}, t), {}, {
value: e.value ?? "",
payload: e.payload,
parentViewBox: void 0,
@@ -65632,12 +65667,12 @@ function XFe(e) {
fill: void 0
});
});
- return /*#__PURE__*/ R.createElement(o1, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ R.createElement(a1, { value: t ? i : void 0 }, r);
}
-function ZFe(e) {
+function $Fe(e) {
var { points: t, baseLinePoints: n, props: r } = e;
if (t == null) return null;
- var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ R.isValidElement(i) ? /*#__PURE__*/ R.cloneElement(i, L0(L0({}, r), {}, { points: t })) : typeof i == "function" ? i(L0(L0({}, r), {}, { points: t })) : /*#__PURE__*/ R.createElement(p1, F0({}, KR(r), {
+ var { shape: i, isRange: a, connectNulls: o } = r, s = /*#__PURE__*/ R.isValidElement(i) ? /*#__PURE__*/ R.cloneElement(i, I0(I0({}, r), {}, { points: t })) : typeof i == "function" ? i(I0(I0({}, r), {}, { points: t })) : /*#__PURE__*/ R.createElement(f1, P0({}, GR(r), {
onMouseEnter: (e) => {
var { onMouseEnter: t } = r;
t && t(r, e);
@@ -65650,31 +65685,31 @@ function ZFe(e) {
baseLinePoints: a ? n : void 0,
connectNulls: o
}));
- return /*#__PURE__*/ R.createElement(XR, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ R.createElement(JFe, {
+ return /*#__PURE__*/ R.createElement(YR, { className: "recharts-radar-polygon" }, s, /*#__PURE__*/ R.createElement(XFe, {
props: r,
points: t
}));
}
-var z0 = (e, t, n) => (r, i) => {
+var R0 = (e, t, n) => (r, i) => {
var a = e && e[Math.floor(i * t)];
- return a ? L0(L0({}, r), {}, {
- x: aB(a.x, r.x, n),
- y: aB(a.y, r.y, n)
- }) : L0(L0({}, r), {}, {
- x: aB(r.cx, r.x, n),
- y: aB(r.cy, r.y, n)
+ return a ? I0(I0({}, r), {}, {
+ x: iB(a.x, r.x, n),
+ y: iB(a.y, r.y, n)
+ }) : I0(I0({}, r), {}, {
+ x: iB(r.cx, r.x, n),
+ y: iB(r.cy, r.y, n)
});
};
-function QFe(e) {
- var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = UG(t, "recharts-radar-"), [_, v] = (0, R.useState)(!1), y = !_, b = (0, R.useCallback)(() => {
+function eIe(e) {
+ var { props: t, previousPointsRef: n, previousBaseLinePointsRef: r } = e, { points: i, baseLinePoints: a, isAnimationActive: o, animationBegin: s, animationDuration: c, animationEasing: l, onAnimationEnd: u, onAnimationStart: d } = t, f = n.current, p = r.current, m = f ? f.length / i.length : 1, h = p ? p.length / a.length : 1, g = HG(t, "recharts-radar-"), [_, v] = (0, R.useState)(!1), y = !_, b = (0, R.useCallback)(() => {
typeof u == "function" && u(), v(!1);
}, [u]), x = (0, R.useCallback)(() => {
typeof d == "function" && d(), v(!0);
}, [d]);
- return /*#__PURE__*/ R.createElement(XFe, {
+ return /*#__PURE__*/ R.createElement(QFe, {
showLabels: y,
points: i
- }, /*#__PURE__*/ R.createElement(HG, {
+ }, /*#__PURE__*/ R.createElement(VG, {
animationId: g,
begin: s,
duration: c,
@@ -65684,23 +65719,23 @@ function QFe(e) {
onAnimationEnd: b,
onAnimationStart: x
}, (e) => {
- var o = e === 1 ? i : i.map(z0(f, m, e)), s = e === 1 ? a : a?.map(z0(p, h, e));
- return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ R.createElement(ZFe, {
+ var o = e === 1 ? i : i.map(R0(f, m, e)), s = e === 1 ? a : a?.map(R0(p, h, e));
+ return e > 0 && (n.current = o, r.current = s), /*#__PURE__*/ R.createElement($Fe, {
points: o,
baseLinePoints: s,
props: t
});
- }), /*#__PURE__*/ R.createElement(l1, { label: t.label }), t.children);
+ }), /*#__PURE__*/ R.createElement(c1, { label: t.label }), t.children);
}
-function $Fe(e) {
+function tIe(e) {
var t = (0, R.useRef)(void 0), n = (0, R.useRef)(void 0);
- return /*#__PURE__*/ R.createElement(QFe, {
+ return /*#__PURE__*/ R.createElement(eIe, {
props: e,
previousPointsRef: t,
previousBaseLinePointsRef: n
});
}
-var eIe = {
+var nIe = {
activeDot: !0,
angleAxisId: 0,
animationBegin: 0,
@@ -65712,33 +65747,33 @@ var eIe = {
label: !1,
legendType: "rect",
radiusAxisId: 0,
- zIndex: LK.area
+ zIndex: IK.area
};
-function tIe(e) {
+function rIe(e) {
var { hide: t, className: n, points: r } = e;
if (t) return null;
var i = Sh("recharts-radar", n);
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: i }, /*#__PURE__*/ R.createElement($Fe, e)), /*#__PURE__*/ R.createElement(k0, {
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: i }, /*#__PURE__*/ R.createElement(tIe, e)), /*#__PURE__*/ R.createElement(O0, {
points: r,
- mainColor: R0(e.stroke, e.fill),
+ mainColor: L0(e.stroke, e.fill),
itemDataKey: e.dataKey,
activeDot: e.activeDot
}));
}
-function nIe(e) {
- var t = IU(), n = Q((n) => zFe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
- return n?.points == null ? null : /*#__PURE__*/ R.createElement(tIe, F0({}, e, {
+function iIe(e) {
+ var t = FU(), n = Q((n) => VFe(n, e.radiusAxisId, e.angleAxisId, t, e.id));
+ return n?.points == null ? null : /*#__PURE__*/ R.createElement(rIe, P0({}, e, {
points: n?.points,
baseLinePoints: n?.baseLinePoints,
isRange: n?.isRange
}));
}
-function B0(e) {
- var t = bB(e, eIe);
- return /*#__PURE__*/ R.createElement(h0, {
+function z0(e) {
+ var t = yB(e, nIe);
+ return /*#__PURE__*/ R.createElement(m0, {
id: t.id,
type: "radar"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(v0, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(_0, {
type: "radar",
id: e,
data: void 0,
@@ -65746,7 +65781,7 @@ function B0(e) {
hide: t.hide,
angleAxisId: t.angleAxisId,
radiusAxisId: t.radiusAxisId
- }), /*#__PURE__*/ R.createElement(m0, { legendPayload: KFe(t) }), /*#__PURE__*/ R.createElement(qFe, {
+ }), /*#__PURE__*/ R.createElement(p0, { legendPayload: JFe(t) }), /*#__PURE__*/ R.createElement(YFe, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -65755,33 +65790,33 @@ function B0(e) {
hide: t.hide,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ R.createElement(nIe, F0({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(iIe, P0({}, t, { id: e }))));
}
-B0.displayName = "Radar";
+z0.displayName = "Radar";
//#endregion
//#region node_modules/recharts/es6/util/RadialBarUtils.js
-function V0() {
- return V0 = Object.assign ? Object.assign.bind() : function(e) {
+function B0() {
+ return B0 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, V0.apply(null, arguments);
+ }, B0.apply(null, arguments);
}
-function H0(e) {
+function V0(e) {
return typeof e == "string" ? parseInt(e, 10) : e;
}
-function U0(e) {
- return /*#__PURE__*/ R.createElement(c0, V0({ shapeType: "sector" }, e));
+function H0(e) {
+ return /*#__PURE__*/ R.createElement(s0, B0({ shapeType: "sector" }, e));
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineBarSizeList.js
-var W0 = (e, t, n) => {
+var U0 = (e, t, n) => {
var r = n ?? e;
- if (!sB(r)) return rB(r, t, 0);
-}, G0 = (e, t, n) => {
- var r = {}, i = e.filter(aq), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
+ if (!oB(r)) return nB(r, t, 0);
+}, W0 = (e, t, n) => {
+ var r = {}, i = e.filter(iq), a = e.filter((e) => e.stackId == null), o = i.reduce((e, t) => {
var n = e[t.stackId];
return n ??= [], n.push(t), e[t.stackId] = n, e;
}, r), s = Object.entries(o).map((e) => {
@@ -65789,18 +65824,18 @@ var W0 = (e, t, n) => {
return {
stackId: r,
dataKeys: i.map((e) => e.dataKey),
- barSize: W0(t, n, i[0]?.barSize)
+ barSize: U0(t, n, i[0]?.barSize)
};
}), c = a.map((e) => ({
stackId: void 0,
dataKeys: [e.dataKey].filter((e) => e != null),
- barSize: W0(t, n, e.barSize)
+ barSize: U0(t, n, e.barSize)
}));
return [...s, ...c];
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/combiners/combineAllBarPositions.js
-function K0(e, t) {
+function G0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65810,30 +65845,30 @@ function K0(e, t) {
}
return n;
}
-function q0(e) {
+function K0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? K0(Object(n), !0).forEach(function(t) {
- rIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K0(Object(n)).forEach(function(t) {
+ t % 2 ? G0(Object(n), !0).forEach(function(t) {
+ aIe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rIe(e, t, n) {
- return (t = iIe(t)) in e ? Object.defineProperty(e, t, {
+function aIe(e, t, n) {
+ return (t = oIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iIe(e) {
- var t = aIe(e, "string");
+function oIe(e) {
+ var t = sIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aIe(e, t) {
+function sIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65843,11 +65878,11 @@ function aIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function oIe(e, t, n, r, i) {
+function cIe(e, t, n, r, i) {
var a = r.length;
if (!(a < 1)) {
- var o = rB(e, n, 0, !0), s, c = [];
- if (lU(r[0]?.barSize)) {
+ var o = nB(e, n, 0, !0), s, c = [];
+ if (cU(r[0]?.barSize)) {
var l = !1, u = n / a, d = r.reduce((e, t) => e + (t.barSize || 0), 0);
d += (a - 1) * o, d >= n && (d -= (a - 1) * o, o = 0), d >= n && u > 0 && (l = !0, u *= .9, d = a * u);
var f = {
@@ -65866,11 +65901,11 @@ function oIe(e, t, n, r, i) {
return f = n.position, r;
}, c);
} else {
- var p = rB(t, n, 0, !0);
+ var p = nB(t, n, 0, !0);
n - 2 * p - (a - 1) * o <= 0 && (o = 0);
var m = (n - 2 * p - (a - 1) * o) / a;
m > 1 && (m >>= 0);
- var h = lU(i) ? Math.min(m, i) : m;
+ var h = cU(i) ? Math.min(m, i) : m;
s = r.reduce((e, t, n) => [...e, {
stackId: t.stackId,
dataKeys: t.dataKeys,
@@ -65883,11 +65918,11 @@ function oIe(e, t, n, r, i) {
return s;
}
}
-var J0 = (e, t, n, r, i, a, o) => {
- var s = sB(o) ? t : o, c = oIe(n, r, i === a ? a : i, e, s);
- return i !== a && c != null && (c = c.map((e) => q0(q0({}, e), {}, { position: q0(q0({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
-}, Y0 = (e, t) => {
- var n = rq(t);
+var q0 = (e, t, n, r, i, a, o) => {
+ var s = oB(o) ? t : o, c = cIe(n, r, i === a ? a : i, e, s);
+ return i !== a && c != null && (c = c.map((e) => K0(K0({}, e), {}, { position: K0(K0({}, e.position), {}, { offset: e.position.offset - i / 2 }) }))), c;
+}, J0 = (e, t) => {
+ var n = nq(t);
if (!(!e || n == null || t == null)) {
var { stackId: r } = t;
if (r != null) {
@@ -65898,7 +65933,7 @@ var J0 = (e, t, n, r, i, a, o) => {
}
}
}
-}, X0 = (e, t) => {
+}, Y0 = (e, t) => {
if (e != null && t != null) {
var n = e.find((e) => e.stackId === t.stackId && t.dataKey != null && e.dataKeys.includes(t.dataKey));
if (n != null) return n.position;
@@ -65906,7 +65941,7 @@ var J0 = (e, t, n, r, i, a, o) => {
};
//#endregion
//#region node_modules/recharts/es6/state/selectors/radialBarSelectors.js
-function Z0(e, t) {
+function X0(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -65916,30 +65951,30 @@ function Z0(e, t) {
}
return n;
}
-function Q0(e) {
+function Z0(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Z0(Object(n), !0).forEach(function(t) {
- sIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Z0(Object(n)).forEach(function(t) {
+ t % 2 ? X0(Object(n), !0).forEach(function(t) {
+ lIe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : X0(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function sIe(e, t, n) {
- return (t = cIe(t)) in e ? Object.defineProperty(e, t, {
+function lIe(e, t, n) {
+ return (t = uIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function cIe(e) {
- var t = lIe(e, "string");
+function uIe(e) {
+ var t = dIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function lIe(e, t) {
+function dIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -65949,81 +65984,81 @@ function lIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var $0 = $([(e, t) => qK(e, t), (e, t) => T1(e, "radiusAxis", t)], (e, t) => {
- if (e != null && t != null) return Q0(Q0({}, e), {}, { scale: t });
-}), e2 = (e, t) => SNe(e, "radiusAxis", t, !1), t2 = $([(e, t, n) => KK(e, n), (e, t, n) => T1(e, "angleAxis", n)], (e, t) => {
- if (e != null && t != null) return Q0(Q0({}, e), {}, { scale: t });
-}), n2 = (e, t, n) => D1(e, "angleAxis", n, !1), r2 = $([g1, (e, t, n, r) => r], (e, t) => {
+var Q0 = $([(e, t) => KK(e, t), (e, t) => w1(e, "radiusAxis", t)], (e, t) => {
+ if (e != null && t != null) return Z0(Z0({}, e), {}, { scale: t });
+}), $0 = (e, t) => wNe(e, "radiusAxis", t, !1), e2 = $([(e, t, n) => GK(e, n), (e, t, n) => w1(e, "angleAxis", n)], (e, t) => {
+ if (e != null && t != null) return Z0(Z0({}, e), {}, { scale: t });
+}), t2 = (e, t, n) => E1(e, "angleAxis", n, !1), n2 = $([h1, (e, t, n, r) => r], (e, t) => {
if (e.some((e) => e.type === "radialBar" && t.dataKey === e.dataKey && t.stackId === e.stackId)) return t;
-}), i2 = $([
- eW,
+}), r2 = $([
+ $U,
+ Q0,
$0,
e2,
- t2,
- n2
-], (e, t, n, r, i) => mU(e, "radiusAxis") ? wU(t, n, !1) : wU(r, i, !1)), uIe = $([
- t2,
- $0,
- eW
+ t2
+], (e, t, n, r, i) => pU(e, "radiusAxis") ? CU(t, n, !1) : CU(r, i, !1)), fIe = $([
+ e2,
+ Q0,
+ $U
], (e, t, n) => {
var r = n === "radial" ? e : t;
- if (r != null && r.scale != null) return xU({ numericAxis: r });
-}), dIe = (e, t, n, r, i) => i, fIe = (e, t, n, r, i) => n, pIe = (e, t, n, r, i) => t, a2 = (e, t, n, r, i) => r.maxBarSize, o2 = (e) => e.type === "radialBar", mIe = $([$([
+ if (r != null && r.scale != null) return bU({ numericAxis: r });
+}), pIe = (e, t, n, r, i) => i, mIe = (e, t, n, r, i) => n, hIe = (e, t, n, r, i) => t, i2 = (e, t, n, r, i) => r.maxBarSize, a2 = (e) => e.type === "radialBar", gIe = $([$([
$([
$([
- eW,
- g1,
- fIe,
- pIe
- ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(o2)),
- AK,
+ $U,
+ h1,
+ mIe,
+ hIe
+ ], (e, t, n, r) => t.filter((t) => e === "centric" ? t.angleAxisId === n : t.radiusAxisId === r).filter((e) => e.hide === !1).filter(a2)),
+ kK,
() => void 0
- ], G0),
+ ], W0),
+ EK,
DK,
OK,
- kK,
$([
- eW,
- DK,
+ $U,
+ EK,
+ e2,
t2,
- n2,
+ Q0,
$0,
- e2,
- a2
+ i2
], (e, t, n, r, i, a, o) => {
- var s = sB(o) ? t : o;
- return e === "centric" ? wU(n, r, !0) ?? s ?? 0 : wU(i, a, !0) ?? s ?? 0;
+ var s = oB(o) ? t : o;
+ return e === "centric" ? CU(n, r, !0) ?? s ?? 0 : CU(i, a, !0) ?? s ?? 0;
}),
- i2,
- a2
-], J0), r2], X0), s2 = $([_1], (e) => e.filter(o2).filter(aq)), c2 = $([
+ r2,
+ i2
+], q0), n2], Y0), o2 = $([g1], (e) => e.filter(a2).filter(iq)), s2 = $([
$([
- s2,
- fK,
- $X
- ], iq),
- s2,
- jK,
- MK
-], tZ), hIe = $([
+ o2,
+ dK,
+ QX
+ ], rq),
+ o2,
+ AK,
+ jK
+], eZ), _Ie = $([
+ e2,
t2,
- n2,
+ Q0,
$0,
- e2,
- dK,
+ uK,
+ n2,
r2,
- i2,
- eW,
- uIe,
- eq,
- dIe,
- mIe,
- $([(e, t, n) => eW(e) === "centric" ? c2(e, "radiusAxis", t) : c2(e, "angleAxis", n), r2], Y0)
+ $U,
+ fIe,
+ $K,
+ pIe,
+ gIe,
+ $([(e, t, n) => $U(e) === "centric" ? s2(e, "radiusAxis", t) : s2(e, "angleAxis", n), n2], J0)
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = i;
if (a == null || n == null || e == null || p == null || o == null || d == null || s !== "centric" && s !== "radial" || r == null || l == null) return [];
var { dataKey: g, minPointSize: _ } = a, { cx: v, cy: y, startAngle: b, endAngle: x } = l;
- return MIe({
+ return PIe({
angleAxis: e,
angleAxisTicks: t,
bandSize: o,
@@ -66044,7 +66079,7 @@ var $0 = $([(e, t) => qK(e, t), (e, t) => T1(e, "radiusAxis", t)], (e, t) => {
stackedDomain: f ? (s === "centric" ? n : e).scale.domain() : null,
startAngle: b
});
-}), gIe = $([fK, (e, t) => t], (e, t) => {
+}), vIe = $([dK, (e, t) => t], (e, t) => {
var { chartData: n, dataStartIndex: r, dataEndIndex: i } = e;
if (n == null) return [];
var a = n.slice(r, i + 1);
@@ -66057,31 +66092,31 @@ var $0 = $([(e, t) => qK(e, t), (e, t) => T1(e, "radiusAxis", t)], (e, t) => {
});
//#endregion
//#region node_modules/recharts/es6/zIndex/getZIndexFromUnknown.js
-function l2(e, t) {
- return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && lU(e.zIndex) ? e.zIndex : t;
+function c2(e, t) {
+ return e && typeof e == "object" && "zIndex" in e && typeof e.zIndex == "number" && cU(e.zIndex) ? e.zIndex : t;
}
//#endregion
//#region node_modules/recharts/es6/polar/RadialBar.js
-var _Ie = [
+var yIe = [
"shape",
"activeShape",
"cornerRadius",
"id"
-], vIe = [
+], bIe = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], yIe = ["value", "background"];
-function u2() {
- return u2 = Object.assign ? Object.assign.bind() : function(e) {
+], xIe = ["value", "background"];
+function l2() {
+ return l2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, u2.apply(null, arguments);
+ }, l2.apply(null, arguments);
}
-function d2(e, t) {
+function u2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -66091,30 +66126,30 @@ function d2(e, t) {
}
return n;
}
-function f2(e) {
+function d2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? d2(Object(n), !0).forEach(function(t) {
- bIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : d2(Object(n)).forEach(function(t) {
+ t % 2 ? u2(Object(n), !0).forEach(function(t) {
+ SIe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : u2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bIe(e, t, n) {
- return (t = xIe(t)) in e ? Object.defineProperty(e, t, {
+function SIe(e, t, n) {
+ return (t = CIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xIe(e) {
- var t = SIe(e, "string");
+function CIe(e) {
+ var t = wIe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function SIe(e, t) {
+function wIe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66124,16 +66159,16 @@ function SIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function p2(e, t) {
+function f2(e, t) {
if (e == null) return {};
- var n, r, i = CIe(e, t);
+ var n, r, i = TIe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function CIe(e, t) {
+function TIe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66142,8 +66177,8 @@ function CIe(e, t) {
}
return n;
}
-var m2 = [];
-function wIe(e) {
+var p2 = [];
+function EIe(e) {
var { showLabels: t, sectors: n, children: r } = e, i = n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -66160,15 +66195,15 @@ function wIe(e) {
},
fill: e.fill
}));
- return /*#__PURE__*/ R.createElement(uNe, { value: t ? i : void 0 }, r);
+ return /*#__PURE__*/ R.createElement(fNe, { value: t ? i : void 0 }, r);
}
-function TIe(e) {
- var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = p2(n, _Ie), l = WR(c), u = Q(jQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = p2(n, vIe), h = l0(d, n.dataKey, s), g = u0(p), _ = d0(f, n.dataKey, s);
- return t == null ? null : /*#__PURE__*/ R.createElement(wIe, {
+function DIe(e) {
+ var { sectors: t, allOtherRadialBarProps: n, showLabels: r } = e, { shape: i, activeShape: a, cornerRadius: o, id: s } = n, c = f2(n, yIe), l = UR(c), u = Q(AQ), { onMouseEnter: d, onClick: f, onMouseLeave: p } = n, m = f2(n, bIe), h = c0(d, n.dataKey, s), g = l0(p), _ = u0(f, n.dataKey, s);
+ return t == null ? null : /*#__PURE__*/ R.createElement(EIe, {
showLabels: r,
sectors: t
}, t.map((e, t) => {
- var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = f2(f2(f2(f2({}, l), {}, { cornerRadius: H0(o) }, e), vB(m, e, t)), {}, {
+ var n = !!(a && u === String(t)), r = h(e, t), s = g(e, t), d = _(e, t), f = d2(d2(d2(d2({}, l), {}, { cornerRadius: V0(o) }, e), _B(m, e, t)), {}, {
onMouseEnter: r,
onMouseLeave: s,
onClick: d,
@@ -66179,19 +66214,19 @@ function TIe(e) {
option: n ? a : i,
index: t
});
- return n ? /*#__PURE__*/ R.createElement(QQ, {
- zIndex: LK.activeBar,
+ return n ? /*#__PURE__*/ R.createElement(ZQ, {
+ zIndex: IK.activeBar,
key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}`
- }, /*#__PURE__*/ R.createElement(U0, f)) : /*#__PURE__*/ R.createElement(U0, u2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
- }), /*#__PURE__*/ R.createElement(l1, { label: n.label }), n.children);
+ }, /*#__PURE__*/ R.createElement(H0, f)) : /*#__PURE__*/ R.createElement(H0, l2({ key: `sector-${e.cx}-${e.cy}-${e.innerRadius}-${e.outerRadius}-${e.startAngle}-${e.endAngle}-${t}` }, f));
+ }), /*#__PURE__*/ R.createElement(c1, { label: n.label }), n.children);
}
-function EIe(e) {
- var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = UG(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, R.useState)(!1), m = (0, R.useCallback)(() => {
+function OIe(e) {
+ var { props: t, previousSectorsRef: n } = e, { sectors: r, isAnimationActive: i, animationBegin: a, animationDuration: o, animationEasing: s, onAnimationEnd: c, onAnimationStart: l } = t, u = HG(t, "recharts-radialbar-"), d = n.current, [f, p] = (0, R.useState)(!1), m = (0, R.useCallback)(() => {
typeof c == "function" && c(), p(!1);
}, [c]), h = (0, R.useCallback)(() => {
typeof l == "function" && l(), p(!0);
}, [l]);
- return /*#__PURE__*/ R.createElement(HG, {
+ return /*#__PURE__*/ R.createElement(VG, {
animationId: u,
begin: a,
duration: o,
@@ -66201,37 +66236,37 @@ function EIe(e) {
onAnimationEnd: m,
key: u
}, (e) => {
- var i = e === 1 ? r : (r ?? m2).map((t, n) => {
+ var i = e === 1 ? r : (r ?? p2).map((t, n) => {
var r = d && d[n];
- if (r) return f2(f2({}, t), {}, {
- startAngle: aB(r.startAngle, t.startAngle, e),
- endAngle: aB(r.endAngle, t.endAngle, e)
+ if (r) return d2(d2({}, t), {}, {
+ startAngle: iB(r.startAngle, t.startAngle, e),
+ endAngle: iB(r.endAngle, t.endAngle, e)
});
var { endAngle: i, startAngle: a } = t;
- return f2(f2({}, t), {}, { endAngle: aB(a, i, e) });
+ return d2(d2({}, t), {}, { endAngle: iB(a, i, e) });
});
- return e > 0 && (n.current = i ?? null), /*#__PURE__*/ R.createElement(TIe, {
- sectors: i ?? m2,
+ return e > 0 && (n.current = i ?? null), /*#__PURE__*/ R.createElement(DIe, {
+ sectors: i ?? p2,
allOtherRadialBarProps: t,
showLabels: !f
});
});
}
-function DIe(e) {
+function kIe(e) {
var t = (0, R.useRef)(null);
- return /*#__PURE__*/ R.createElement(EIe, {
+ return /*#__PURE__*/ R.createElement(OIe, {
props: e,
previousSectorsRef: t
});
}
-function OIe(e) {
- var t = Q((t) => gIe(t, e.legendType));
- return /*#__PURE__*/ R.createElement(m0, { legendPayload: t ?? [] });
+function AIe(e) {
+ var t = Q((t) => vIe(t, e.legendType));
+ return /*#__PURE__*/ R.createElement(p0, { legendPayload: t ?? [] });
}
-var kIe = /*#__PURE__*/ R.memo((e) => {
+var jIe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, sectors: n, stroke: r, strokeWidth: i, name: a, hide: o, fill: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: n,
- getPosition: uB,
+ getPosition: lB,
settings: {
graphicalItemId: l,
stroke: r,
@@ -66239,45 +66274,45 @@ var kIe = /*#__PURE__*/ R.memo((e) => {
fill: s,
nameKey: void 0,
dataKey: t,
- name: EU(a, t),
+ name: TU(a, t),
hide: o,
type: c,
color: s,
unit: ""
}
};
- return /*#__PURE__*/ R.createElement(f0, { tooltipEntrySettings: u });
-}), AIe = class extends R.PureComponent {
+ return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: u });
+}), MIe = class extends R.PureComponent {
renderBackground(e) {
if (e == null) return null;
- var { cornerRadius: t } = this.props, n = GR(this.props.background);
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: l2(this.props.background, LK.barBackground) }, e.map((e, r) => {
- var { value: i, background: a } = e, o = p2(e, yIe);
+ var { cornerRadius: t } = this.props, n = WR(this.props.background);
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: c2(this.props.background, IK.barBackground) }, e.map((e, r) => {
+ var { value: i, background: a } = e, o = f2(e, xIe);
if (!a) return null;
- var s = f2(f2(f2(f2(f2({ cornerRadius: H0(t) }, o), {}, { fill: "#eee" }, a), n), vB(this.props, e, r)), {}, {
+ var s = d2(d2(d2(d2(d2({ cornerRadius: V0(t) }, o), {}, { fill: "#eee" }, a), n), _B(this.props, e, r)), {}, {
index: r,
className: Sh("recharts-radial-bar-background-sector", String(n?.className)),
option: a,
isActive: !1
});
- return /*#__PURE__*/ R.createElement(U0, u2({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));
+ return /*#__PURE__*/ R.createElement(H0, l2({ key: `background-${o.cx}-${o.cy}-${o.innerRadius}-${o.outerRadius}-${o.startAngle}-${o.endAngle}-${r}` }, s));
}));
}
render() {
var { hide: e, sectors: t, className: n, background: r } = this.props;
if (e) return null;
var i = Sh("recharts-area", n);
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: this.props.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: i }, r && /*#__PURE__*/ R.createElement(XR, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ R.createElement(XR, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ R.createElement(DIe, this.props))));
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: this.props.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: i }, r && /*#__PURE__*/ R.createElement(YR, { className: "recharts-radial-bar-background" }, this.renderBackground(t)), /*#__PURE__*/ R.createElement(YR, { className: "recharts-radial-bar-sectors" }, /*#__PURE__*/ R.createElement(kIe, this.props))));
}
};
-function jIe(e) {
- var t = R.useMemo(() => Q1(e.children, h$), [e.children]), n = R.useMemo(() => ({
+function NIe(e) {
+ var t = R.useMemo(() => Z1(e.children, m$), [e.children]), n = R.useMemo(() => ({
data: void 0,
hide: !1,
id: e.id,
dataKey: e.dataKey,
minPointSize: e.minPointSize,
- stackId: vU(e.stackId),
+ stackId: _U(e.stackId),
maxBarSize: e.maxBarSize,
barSize: e.barSize,
type: "radialBar",
@@ -66292,8 +66327,8 @@ function jIe(e) {
e.barSize,
e.angleAxisId,
e.radiusAxisId
- ]), r = Q((r) => hIe(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? m2;
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(kIe, {
+ ]), r = Q((r) => _Ie(r, e.radiusAxisId, e.angleAxisId, n, t)) ?? p2;
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(jIe, {
dataKey: e.dataKey,
sectors: r,
stroke: e.stroke,
@@ -66303,9 +66338,9 @@ function jIe(e) {
fill: e.fill,
tooltipType: e.tooltipType,
id: e.id
- }), /*#__PURE__*/ R.createElement(AIe, u2({}, e, { sectors: r })));
+ }), /*#__PURE__*/ R.createElement(MIe, l2({}, e, { sectors: r })));
}
-var h2 = {
+var m2 = {
angleAxisId: 0,
animationBegin: 0,
animationDuration: 1500,
@@ -66320,14 +66355,14 @@ var h2 = {
legendType: "rect",
minPointSize: 0,
radiusAxisId: 0,
- zIndex: LK.bar
+ zIndex: IK.bar
};
-function MIe(e) {
+function PIe(e) {
var { displayedData: t, stackedData: n, dataStartIndex: r, stackedDomain: i, dataKey: a, baseValue: o, layout: s, radiusAxis: c, radiusAxisTicks: l, bandSize: u, pos: d, angleAxis: f, minPointSize: p, cx: m, cy: h, angleAxisTicks: g, cells: _, startAngle: v, endAngle: y } = e;
- return g == null || l == null ? m2 : (t ?? []).map((e, t) => {
+ return g == null || l == null ? p2 : (t ?? []).map((e, t) => {
var b, x, S, C, w, T;
- if (n ? b = _U(n[r + t], i) : (b = pU(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
- if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = bU({
+ if (n ? b = gU(n[r + t], i) : (b = fU(e, a), Array.isArray(b) || (b = [o, b])), s === "radial") {
+ if (C = f.scale.map(b[0]) ?? v, w = f.scale.map(b[1]) ?? y, x = yU({
axis: c,
ticks: l,
bandSize: u,
@@ -66338,7 +66373,7 @@ function MIe(e) {
S = x + d.size;
var E = w - C;
if (Math.abs(p) > 0 && Math.abs(E) < Math.abs(p)) {
- var D = Qz(E || p) * (Math.abs(p) - Math.abs(E));
+ var D = Zz(E || p) * (Math.abs(p) - Math.abs(E));
w += D;
}
T = { background: {
@@ -66350,7 +66385,7 @@ function MIe(e) {
endAngle: y
} };
}
- } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = bU({
+ } else if (x = c.scale.map(b[0]), S = c.scale.map(b[1]), C = yU({
axis: f,
ticks: g,
bandSize: u,
@@ -66361,11 +66396,11 @@ function MIe(e) {
w = C + d.size;
var O = S - x;
if (Math.abs(p) > 0 && Math.abs(O) < Math.abs(p)) {
- var k = Qz(O || p) * (Math.abs(p) - Math.abs(O));
+ var k = Zz(O || p) * (Math.abs(p) - Math.abs(O));
S += k;
}
}
- return f2(f2(f2({}, e), T), {}, {
+ return d2(d2(d2({}, e), T), {}, {
payload: e,
value: n ? b : b[1],
cx: m,
@@ -66377,38 +66412,38 @@ function MIe(e) {
}, _ && _[t] && _[t].props);
});
}
-function g2(e) {
- var t = bB(e, h2);
- return /*#__PURE__*/ R.createElement(h0, {
+function h2(e) {
+ var t = yB(e, m2);
+ return /*#__PURE__*/ R.createElement(m0, {
id: t.id,
type: "radialBar"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(v0, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(_0, {
type: "radialBar",
id: e,
data: void 0,
dataKey: t.dataKey,
- hide: t.hide ?? h2.hide,
- angleAxisId: t.angleAxisId ?? h2.angleAxisId,
- radiusAxisId: t.radiusAxisId ?? h2.radiusAxisId,
- stackId: vU(t.stackId),
+ hide: t.hide ?? m2.hide,
+ angleAxisId: t.angleAxisId ?? m2.angleAxisId,
+ radiusAxisId: t.radiusAxisId ?? m2.radiusAxisId,
+ stackId: _U(t.stackId),
barSize: t.barSize,
minPointSize: t.minPointSize,
maxBarSize: t.maxBarSize
- }), /*#__PURE__*/ R.createElement(OIe, t), /*#__PURE__*/ R.createElement(jIe, u2({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(AIe, t), /*#__PURE__*/ R.createElement(NIe, l2({}, t, { id: e }))));
}
-g2.displayName = "RadialBar";
+h2.displayName = "RadialBar";
//#endregion
//#region node_modules/recharts/es6/context/chartDataContext.js
-var _2 = (e) => {
- var { chartData: t } = e, n = qB(), r = IU();
- return (0, R.useEffect)(() => r ? () => {} : (n(l$(t)), () => {
- n(l$(void 0));
+var g2 = (e) => {
+ var { chartData: t } = e, n = KB(), r = FU();
+ return (0, R.useEffect)(() => r ? () => {} : (n(c$(t)), () => {
+ n(c$(void 0));
}), [
t,
n,
r
]), null;
-}, v2 = {
+}, _2 = {
x: 0,
y: 0,
width: 0,
@@ -66419,13 +66454,13 @@ var _2 = (e) => {
bottom: 0,
left: 0
}
-}, y2 = PH({
+}, v2 = NH({
name: "brush",
- initialState: v2,
+ initialState: _2,
reducers: { setBrushSettings(e, t) {
- return t.payload == null ? v2 : t.payload;
+ return t.payload == null ? _2 : t.payload;
} }
-}), { setBrushSettings: NIe } = y2.actions, PIe = y2.reducer, FIe = (e, t) => {
+}), { setBrushSettings: FIe } = v2.actions, IIe = v2.reducer, LIe = (e, t) => {
var { x: n, y: r } = e, { x: i, y: a } = t;
return {
x: Math.min(n, i),
@@ -66433,9 +66468,9 @@ var _2 = (e) => {
width: Math.abs(i - n),
height: Math.abs(a - r)
};
-}, IIe = (e) => {
+}, RIe = (e) => {
var { x1: t, y1: n, x2: r, y2: i } = e;
- return FIe({
+ return LIe({
x: t,
y: n
}, {
@@ -66443,13 +66478,13 @@ var _2 = (e) => {
y: i
});
};
-function LIe(e) {
+function zIe(e) {
return (e % 180 + 180) % 180;
}
-var RIe = function(e) {
- var { width: t, height: n } = e, r = LIe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
+var BIe = function(e) {
+ var { width: t, height: n } = e, r = zIe(arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0) * Math.PI / 180, i = Math.atan(n / t), a = r > i && r < Math.PI - i ? n / Math.sin(r) : t / Math.cos(r);
return Math.abs(a);
-}, b2 = PH({
+}, y2 = NH({
name: "referenceElements",
initialState: {
dots: [],
@@ -66461,35 +66496,35 @@ var RIe = function(e) {
e.dots.push(t.payload);
},
removeDot: (e, t) => {
- var n = xH(e).dots.findIndex((e) => e === t.payload);
+ var n = bH(e).dots.findIndex((e) => e === t.payload);
n !== -1 && e.dots.splice(n, 1);
},
addArea: (e, t) => {
e.areas.push(t.payload);
},
removeArea: (e, t) => {
- var n = xH(e).areas.findIndex((e) => e === t.payload);
+ var n = bH(e).areas.findIndex((e) => e === t.payload);
n !== -1 && e.areas.splice(n, 1);
},
addLine: (e, t) => {
- e.lines.push(GW(t.payload));
+ e.lines.push(WW(t.payload));
},
removeLine: (e, t) => {
- var n = xH(e).lines.findIndex((e) => e === t.payload);
+ var n = bH(e).lines.findIndex((e) => e === t.payload);
n !== -1 && e.lines.splice(n, 1);
}
}
-}), { addDot: zIe, removeDot: BIe, addArea: VIe, removeArea: HIe, addLine: UIe, removeLine: WIe } = b2.actions, GIe = b2.reducer, x2 = /*#__PURE__*/ (0, R.createContext)(void 0), KIe = (e) => {
- var { children: t } = e, [n] = (0, R.useState)(`${nB("recharts")}-clip`), r = E0();
+}), { addDot: VIe, removeDot: HIe, addArea: UIe, removeArea: WIe, addLine: GIe, removeLine: KIe } = y2.actions, qIe = y2.reducer, b2 = /*#__PURE__*/ (0, R.createContext)(void 0), JIe = (e) => {
+ var { children: t } = e, [n] = (0, R.useState)(`${tB("recharts")}-clip`), r = T0();
if (r == null) return null;
var { x: i, y: a, width: o, height: s } = r;
- return /*#__PURE__*/ R.createElement(x2.Provider, { value: n }, /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("clipPath", { id: n }, /*#__PURE__*/ R.createElement("rect", {
+ return /*#__PURE__*/ R.createElement(b2.Provider, { value: n }, /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("clipPath", { id: n }, /*#__PURE__*/ R.createElement("rect", {
x: i,
y: a,
height: s,
width: o
}))), t);
-}, qIe = () => (0, R.useContext)(x2), JIe = class {
+}, YIe = () => (0, R.useContext)(b2), XIe = class {
constructor(e) {
var { x: t, y: n } = e;
this.xAxisScale = t, this.yAxisScale = n;
@@ -66515,7 +66550,7 @@ var RIe = function(e) {
};
//#endregion
//#region node_modules/recharts/es6/cartesian/ReferenceLine.js
-function S2(e, t) {
+function x2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -66525,30 +66560,30 @@ function S2(e, t) {
}
return n;
}
-function C2(e) {
+function S2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? S2(Object(n), !0).forEach(function(t) {
- YIe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : S2(Object(n)).forEach(function(t) {
+ t % 2 ? x2(Object(n), !0).forEach(function(t) {
+ ZIe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : x2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function YIe(e, t, n) {
- return (t = XIe(t)) in e ? Object.defineProperty(e, t, {
+function ZIe(e, t, n) {
+ return (t = QIe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function XIe(e) {
- var t = ZIe(e, "string");
+function QIe(e) {
+ var t = $Ie(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ZIe(e, t) {
+function $Ie(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66558,27 +66593,27 @@ function ZIe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function w2() {
- return w2 = Object.assign ? Object.assign.bind() : function(e) {
+function C2() {
+ return C2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, w2.apply(null, arguments);
+ }, C2.apply(null, arguments);
}
-var QIe = (e, t) => {
+var eLe = (e, t) => {
var n;
if (/*#__PURE__*/ R.isValidElement(e)) n = /*#__PURE__*/ R.cloneElement(e, t);
else if (typeof e == "function") n = e(t);
else {
- if (!lU(t.x1) || !lU(t.y1) || !lU(t.x2) || !lU(t.y2)) return null;
- n = /*#__PURE__*/ R.createElement("line", w2({}, t, { className: "recharts-reference-line-line" }));
+ if (!cU(t.x1) || !cU(t.y1) || !cU(t.x2) || !cU(t.y2)) return null;
+ n = /*#__PURE__*/ R.createElement("line", C2({}, t, { className: "recharts-reference-line-line" }));
}
return n;
-}, $Ie = (e, t, n, r, i, a) => {
+}, tLe = (e, t, n, r, i, a) => {
var { x: o, width: s } = a, c = i.map(e, { position: n });
- if (!lU(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!cU(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: o + s,
y: c
@@ -66587,9 +66622,9 @@ var QIe = (e, t) => {
y: c
}];
return r === "left" ? l.reverse() : l;
-}, eLe = (e, t, n, r, i, a) => {
+}, nLe = (e, t, n, r, i, a) => {
var { y: o, height: s } = a, c = i.map(e, { position: n });
- if (!lU(c) || t === "discard" && !i.isInRange(c)) return null;
+ if (!cU(c) || t === "discard" && !i.isInRange(c)) return null;
var l = [{
x: c,
y: o + s
@@ -66598,7 +66633,7 @@ var QIe = (e, t) => {
y: o
}];
return r === "top" ? l.reverse() : l;
-}, tLe = (e, t, n, r) => {
+}, rLe = (e, t, n, r) => {
var i = [r.mapWithFallback(e[0], {
position: n,
fallback: "rangeMin"
@@ -66607,43 +66642,43 @@ var QIe = (e, t) => {
fallback: "rangeMax"
})];
return t === "discard" && i.some((e) => !r.isInRange(e)) ? null : i;
-}, nLe = (e, t, n, r, i, a, o) => {
- var { x: s, y: c, segment: l, ifOverflow: u } = o, d = tB(s);
- return tB(c) ? $Ie(c, u, r, a, t, n) : d ? eLe(s, u, r, i, e, n) : l != null && l.length === 2 ? tLe(l, u, r, new JIe({
+}, iLe = (e, t, n, r, i, a, o) => {
+ var { x: s, y: c, segment: l, ifOverflow: u } = o, d = eB(s);
+ return eB(c) ? tLe(c, u, r, a, t, n) : d ? nLe(s, u, r, i, e, n) : l != null && l.length === 2 ? rLe(l, u, r, new XIe({
x: e,
y: t
})) : null;
};
-function rLe(e) {
- var t = qB();
- return (0, R.useEffect)(() => (t(UIe(e)), () => {
- t(WIe(e));
+function aLe(e) {
+ var t = KB();
+ return (0, R.useEffect)(() => (t(GIe(e)), () => {
+ t(KIe(e));
})), null;
}
-function iLe(e) {
- var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = IU(), s = qIe(), c = Q((e) => AX(e, t)), l = Q((e) => NX(e, n)), u = Q((e) => AZ(e, "xAxis", t, o)), d = Q((e) => AZ(e, "yAxis", n, o)), f = XU();
+function oLe(e) {
+ var { xAxisId: t, yAxisId: n, shape: r, className: i, ifOverflow: a } = e, o = FU(), s = YIe(), c = Q((e) => kX(e, t)), l = Q((e) => MX(e, n)), u = Q((e) => kZ(e, "xAxis", t, o)), d = Q((e) => kZ(e, "yAxis", n, o)), f = YU();
if (!s || !f || c == null || l == null || u == null || d == null) return null;
- var p = nLe(u, d, f, e.position, c.orientation, l.orientation, e);
+ var p = iLe(u, d, f, e.position, c.orientation, l.orientation, e);
if (!p) return null;
var m = p[0], h = p[1];
if (m == null || h == null) return null;
- var { x: g, y: _ } = m, { x: v, y } = h, b = C2(C2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, KR(e)), {}, {
+ var { x: g, y: _ } = m, { x: v, y } = h, b = S2(S2({ clipPath: a === "hidden" ? `url(#${s})` : void 0 }, GR(e)), {}, {
x1: g,
y1: _,
x2: v,
y2: y
- }), x = IIe({
+ }), x = RIe({
x1: g,
y1: _,
x2: v,
y2: y
});
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-reference-line", i) }, QIe(r, b), /*#__PURE__*/ R.createElement(J$, w2({}, x, {
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: Sh("recharts-reference-line", i) }, eLe(r, b), /*#__PURE__*/ R.createElement(q$, C2({}, x, {
lowerWidth: x.width,
upperWidth: x.width
- }), /*#__PURE__*/ R.createElement(n1, { label: e.label }), e.children)));
+ }), /*#__PURE__*/ R.createElement(t1, { label: e.label }), e.children)));
}
-var aLe = {
+var sLe = {
ifOverflow: "discard",
xAxisId: 0,
yAxisId: 0,
@@ -66653,23 +66688,23 @@ var aLe = {
fillOpacity: 1,
strokeWidth: 1,
position: "middle",
- zIndex: LK.line
+ zIndex: IK.line
};
-function T2(e) {
- var t = bB(e, aLe);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(rLe, {
+function w2(e) {
+ var t = yB(e, sLe);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aLe, {
yAxisId: t.yAxisId,
xAxisId: t.xAxisId,
ifOverflow: t.ifOverflow,
x: t.x,
y: t.y,
segment: t.segment
- }), /*#__PURE__*/ R.createElement(iLe, t));
+ }), /*#__PURE__*/ R.createElement(oLe, t));
}
-T2.displayName = "ReferenceLine";
+w2.displayName = "ReferenceLine";
//#endregion
//#region node_modules/recharts/es6/util/getEveryNth.js
-function E2(e, t) {
+function T2(e, t) {
if (t < 1) return [];
if (t === 1) return e;
for (var n = [], r = 0; r < e.length; r += t) {
@@ -66680,13 +66715,13 @@ function E2(e, t) {
}
//#endregion
//#region node_modules/recharts/es6/util/TickUtils.js
-function oLe(e, t, n) {
- return RIe({
+function cLe(e, t, n) {
+ return BIe({
width: e.width + t.width,
height: e.height + t.height
}, n);
}
-function sLe(e, t, n) {
+function lLe(e, t, n) {
var r = n === "width", { x: i, y: a, width: o, height: s } = e;
return t === 1 ? {
start: r ? i : a,
@@ -66696,33 +66731,33 @@ function sLe(e, t, n) {
end: r ? i : a
};
}
-function D2(e, t, n, r, i) {
+function E2(e, t, n, r, i) {
if (e * t < e * r || e * t > e * i) return !1;
var a = n();
return e * (t - e * a / 2 - r) >= 0 && e * (t + e * a / 2 - i) <= 0;
}
-function cLe(e, t) {
- return E2(e, t + 1);
+function uLe(e, t) {
+ return T2(e, t + 1);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getEquidistantTicks.js
-function lLe(e, t, n, r, i) {
+function dLe(e, t, n, r, i) {
for (var a = (r || []).slice(), { start: o, end: s } = t, c = 0, l = 1, u = o, d = function() {
var t = r?.[c];
- if (t === void 0) return { v: E2(r, l) };
- var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || D2(e, p, f, u, s);
+ if (t === void 0) return { v: T2(r, l) };
+ var a = c, d, f = () => (d === void 0 && (d = n(t, a)), d), p = t.coordinate, m = c === 0 || E2(e, p, f, u, s);
m || (c = 0, u = o, l += 1), m && (u = p + e * (f() / 2 + i), c += l);
}, f; l <= a.length;) if (f = d(), f) return f.v;
return [];
}
-function uLe(e, t, n, r, i) {
+function fLe(e, t, n, r, i) {
var a = (r || []).slice().length;
if (a === 0) return [];
for (var { start: o, end: s } = t, c = 1; c <= a; c++) {
for (var l = (a - 1) % c, u = o, d = !0, f = function() {
var t = r[m];
if (t == null) return 0;
- var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || D2(e, f, c, u, s);
+ var a = m, o, c = () => (o === void 0 && (o = n(t, a)), o), f = t.coordinate, p = m === l || E2(e, f, c, u, s);
if (!p) return d = !1, 1;
p && (u = f + e * (c() / 2 + i));
}, p, m = l; m < a && (p = f(), p === 0 || p !== 1); m += c);
@@ -66738,7 +66773,7 @@ function uLe(e, t, n, r, i) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/getTicks.js
-function O2(e, t) {
+function D2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -66748,30 +66783,30 @@ function O2(e, t) {
}
return n;
}
-function k2(e) {
+function O2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? O2(Object(n), !0).forEach(function(t) {
- dLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O2(Object(n)).forEach(function(t) {
+ t % 2 ? D2(Object(n), !0).forEach(function(t) {
+ pLe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : D2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dLe(e, t, n) {
- return (t = fLe(t)) in e ? Object.defineProperty(e, t, {
+function pLe(e, t, n) {
+ return (t = mLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fLe(e) {
- var t = pLe(e, "string");
+function mLe(e) {
+ var t = hLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pLe(e, t) {
+function hLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66781,26 +66816,26 @@ function pLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function mLe(e, t, n, r, i) {
+function gLe(e, t, n, r, i) {
for (var a = (r || []).slice(), o = a.length, { start: s } = t, { end: c } = t, l = function(t) {
var r = a[t];
if (r == null) return 1;
var l = r, u, d = () => (u === void 0 && (u = n(r, t)), u);
if (t === o - 1) {
var f = e * (l.coordinate + e * d() / 2 - c);
- a[t] = l = k2(k2({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
- } else a[t] = l = k2(k2({}, l), {}, { tickCoord: l.coordinate });
- l.tickCoord != null && D2(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = k2(k2({}, l), {}, { isShow: !0 }));
+ a[t] = l = O2(O2({}, l), {}, { tickCoord: f > 0 ? l.coordinate - f * e : l.coordinate });
+ } else a[t] = l = O2(O2({}, l), {}, { tickCoord: l.coordinate });
+ l.tickCoord != null && E2(e, l.tickCoord, d, s, c) && (c = l.tickCoord - e * (d() / 2 + i), a[t] = O2(O2({}, l), {}, { isShow: !0 }));
}, u = o - 1; u >= 0; u--) if (l(u)) continue;
return a;
}
-function hLe(e, t, n, r, i, a) {
+function _Le(e, t, n, r, i, a) {
var o = (r || []).slice(), s = o.length, { start: c, end: l } = t;
if (a) {
var u = r[s - 1];
if (u != null) {
var d = n(u, s - 1), f = e * (u.coordinate + e * d / 2 - l);
- o[s - 1] = u = k2(k2({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && D2(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = k2(k2({}, u), {}, { isShow: !0 }));
+ o[s - 1] = u = O2(O2({}, u), {}, { tickCoord: f > 0 ? u.coordinate - f * e : u.coordinate }), u.tickCoord != null && E2(e, u.tickCoord, () => d, c, l) && (l = u.tickCoord - e * (d / 2 + i), o[s - 1] = O2(O2({}, u), {}, { isShow: !0 }));
}
}
for (var p = a ? s - 1 : s, m = function(t) {
@@ -66809,17 +66844,17 @@ function hLe(e, t, n, r, i, a) {
var a = r, s, u = () => (s === void 0 && (s = n(r, t)), s);
if (t === 0) {
var d = e * (a.coordinate - e * u() / 2 - c);
- o[t] = a = k2(k2({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
- } else o[t] = a = k2(k2({}, a), {}, { tickCoord: a.coordinate });
- a.tickCoord != null && D2(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = k2(k2({}, a), {}, { isShow: !0 }));
+ o[t] = a = O2(O2({}, a), {}, { tickCoord: d < 0 ? a.coordinate - d * e : a.coordinate });
+ } else o[t] = a = O2(O2({}, a), {}, { tickCoord: a.coordinate });
+ a.tickCoord != null && E2(e, a.tickCoord, u, c, l) && (c = a.tickCoord + e * (u() / 2 + i), o[t] = O2(O2({}, a), {}, { isShow: !0 }));
}, h = 0; h < p; h++) if (m(h)) continue;
return o;
}
-function A2(e, t, n) {
+function k2(e, t, n) {
var { tick: r, ticks: i, viewBox: a, minTickGap: o, orientation: s, interval: c, tickFormatter: l, unit: u, angle: d } = e;
if (!i || !i.length || !r) return [];
- if (Z(c) || uG.isSsr) return cLe(i, Z(c) ? c : 0) ?? [];
- var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? x$(u, {
+ if (Z(c) || lG.isSsr) return uLe(i, Z(c) ? c : 0) ?? [];
+ var f = [], p = s === "top" || s === "bottom" ? "width" : "height", m = u && p === "width" ? b$(u, {
fontSize: t,
letterSpacing: n
}) : {
@@ -66827,19 +66862,19 @@ function A2(e, t, n) {
height: 0
}, h = (e, r) => {
var i = typeof l == "function" ? l(e.value, r) : e.value;
- return p === "width" ? oLe(x$(i, {
+ return p === "width" ? cLe(b$(i, {
fontSize: t,
letterSpacing: n
- }), m, d) : x$(i, {
+ }), m, d) : b$(i, {
fontSize: t,
letterSpacing: n
})[p];
- }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? Qz(_.coordinate - g.coordinate) : 1, y = sLe(a, v, p);
- return c === "equidistantPreserveStart" ? lLe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? uLe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? hLe(v, y, h, i, o, c === "preserveStartEnd") : mLe(v, y, h, i, o), f.filter((e) => e.isShow));
+ }, g = i[0], _ = i[1], v = i.length >= 2 && g != null && _ != null ? Zz(_.coordinate - g.coordinate) : 1, y = lLe(a, v, p);
+ return c === "equidistantPreserveStart" ? dLe(v, y, h, i, o) : c === "equidistantPreserveEnd" ? fLe(v, y, h, i, o) : (f = c === "preserveStart" || c === "preserveStartEnd" ? _Le(v, y, h, i, o, c === "preserveStartEnd") : gLe(v, y, h, i, o), f.filter((e) => e.isShow));
}
//#endregion
//#region node_modules/recharts/es6/util/YAxisUtils.js
-var gLe = (e) => {
+var vLe = (e) => {
var { ticks: t, label: n, labelGapWithTick: r = 5, tickSize: i = 0, tickMargin: a = 0 } = e, o = 0;
if (t) {
Array.from(t).forEach((e) => {
@@ -66852,7 +66887,7 @@ var gLe = (e) => {
return Math.round(l);
}
return 0;
-}, j2 = PH({
+}, A2 = NH({
name: "renderedTicks",
initialState: {
xAxis: {},
@@ -66861,14 +66896,14 @@ var gLe = (e) => {
reducers: {
setRenderedTicks: (e, t) => {
var { axisType: n, axisId: r, ticks: i } = t.payload;
- e[n][r] = GW(i);
+ e[n][r] = WW(i);
},
removeRenderedTicks: (e, t) => {
var { axisType: n, axisId: r } = t.payload;
delete e[n][r];
}
}
-}), { setRenderedTicks: _Le, removeRenderedTicks: vLe } = j2.actions, yLe = j2.reducer, bLe = [
+}), { setRenderedTicks: yLe, removeRenderedTicks: bLe } = A2.actions, xLe = A2.reducer, SLe = [
"axisLine",
"width",
"height",
@@ -66878,16 +66913,16 @@ var gLe = (e) => {
"axisType",
"axisId"
];
-function xLe(e, t) {
+function CLe(e, t) {
if (e == null) return {};
- var n, r, i = SLe(e, t);
+ var n, r, i = wLe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function SLe(e, t) {
+function wLe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -66896,16 +66931,16 @@ function SLe(e, t) {
}
return n;
}
-function M2() {
- return M2 = Object.assign ? Object.assign.bind() : function(e) {
+function j2() {
+ return j2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, M2.apply(null, arguments);
+ }, j2.apply(null, arguments);
}
-function N2(e, t) {
+function M2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -66915,30 +66950,30 @@ function N2(e, t) {
}
return n;
}
-function P2(e) {
+function N2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? N2(Object(n), !0).forEach(function(t) {
- CLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N2(Object(n)).forEach(function(t) {
+ t % 2 ? M2(Object(n), !0).forEach(function(t) {
+ TLe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : M2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function CLe(e, t, n) {
- return (t = wLe(t)) in e ? Object.defineProperty(e, t, {
+function TLe(e, t, n) {
+ return (t = ELe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function wLe(e) {
- var t = TLe(e, "string");
+function ELe(e) {
+ var t = DLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function TLe(e, t) {
+function DLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -66948,7 +66983,7 @@ function TLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var F2 = {
+var P2 = {
x: 0,
y: 0,
width: 0,
@@ -66970,15 +67005,15 @@ var F2 = {
tickSize: 6,
tickMargin: 2,
interval: "preserveEnd",
- zIndex: LK.axis
+ zIndex: IK.axis
};
-function ELe(e) {
+function OLe(e) {
var { x: t, y: n, width: r, height: i, orientation: a, mirror: o, axisLine: s, otherSvgProps: c } = e;
if (!s) return null;
- var l = P2(P2(P2({}, c), WR(s)), {}, { fill: "none" });
+ var l = N2(N2(N2({}, c), UR(s)), {}, { fill: "none" });
if (a === "top" || a === "bottom") {
var u = +(a === "top" && !o || a === "bottom" && o);
- l = P2(P2({}, l), {}, {
+ l = N2(N2({}, l), {}, {
x1: t,
y1: n + u * i,
x2: t + r,
@@ -66986,16 +67021,16 @@ function ELe(e) {
});
} else {
var d = +(a === "left" && !o || a === "right" && o);
- l = P2(P2({}, l), {}, {
+ l = N2(N2({}, l), {}, {
x1: t + d * r,
y1: n,
x2: t + d * r,
y2: n + i
});
}
- return /*#__PURE__*/ R.createElement("line", M2({}, l, { className: Sh("recharts-cartesian-axis-line", Yz(s, "className")) }));
+ return /*#__PURE__*/ R.createElement("line", j2({}, l, { className: Sh("recharts-cartesian-axis-line", Jz(s, "className")) }));
}
-function DLe(e, t, n, r, i, a, o, s, c) {
+function kLe(e, t, n, r, i, a, o, s, c) {
var l, u, d, f, p, m, h = s ? -1 : 1, g = e.tickSize || o, _ = Z(e.tickCoord) ? e.tickCoord : e.coordinate;
switch (a) {
case "top":
@@ -67022,14 +67057,14 @@ function DLe(e, t, n, r, i, a, o, s, c) {
}
};
}
-function OLe(e, t) {
+function ALe(e, t) {
switch (e) {
case "left": return t ? "start" : "end";
case "right": return t ? "end" : "start";
default: return "middle";
}
}
-function kLe(e, t) {
+function jLe(e, t) {
switch (e) {
case "left":
case "right": return "middle";
@@ -67037,19 +67072,19 @@ function kLe(e, t) {
default: return t ? "end" : "start";
}
}
-function ALe(e) {
+function MLe(e) {
var { option: t, tickProps: n, value: r } = e, i, a = Sh(n.className, "recharts-cartesian-axis-tick-value");
- if (/*#__PURE__*/ R.isValidElement(t)) i = /*#__PURE__*/ R.cloneElement(t, P2(P2({}, n), {}, { className: a }));
- else if (typeof t == "function") i = t(P2(P2({}, n), {}, { className: a }));
+ if (/*#__PURE__*/ R.isValidElement(t)) i = /*#__PURE__*/ R.cloneElement(t, N2(N2({}, n), {}, { className: a }));
+ else if (typeof t == "function") i = t(N2(N2({}, n), {}, { className: a }));
else {
var o = "recharts-cartesian-axis-tick-value";
- typeof t != "boolean" && (o = Sh(o, I1(t))), i = /*#__PURE__*/ R.createElement(B$, M2({}, n, { className: o }), r);
+ typeof t != "boolean" && (o = Sh(o, F1(t))), i = /*#__PURE__*/ R.createElement(z$, j2({}, n, { className: o }), r);
}
return i;
}
-function jLe(e) {
- var { ticks: t, axisType: n, axisId: r } = e, i = qB();
- return (0, R.useEffect)(() => r == null || n == null ? uB : (i(_Le({
+function NLe(e) {
+ var { ticks: t, axisType: n, axisId: r } = e, i = KB();
+ return (0, R.useEffect)(() => r == null || n == null ? lB : (i(yLe({
ticks: t.map((e) => ({
value: e.value,
coordinate: e.coordinate,
@@ -67059,7 +67094,7 @@ function jLe(e) {
axisId: r,
axisType: n
})), () => {
- i(vLe({
+ i(bLe({
axisId: r,
axisType: n
}));
@@ -67070,17 +67105,17 @@ function jLe(e) {
n
]), null;
}
-var MLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = A2(P2(P2({}, b), {}, { ticks: n }), v, y), T = WR(b), E = GR(r), D = P$(T.textAnchor) ? T.textAnchor : OLe(u, d), O = kLe(u, d), k = {};
+var PLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { ticks: n = [], tick: r, tickLine: i, stroke: a, tickFormatter: o, unit: s, padding: c, tickTextProps: l, orientation: u, mirror: d, x: f, y: p, width: m, height: h, tickSize: g, tickMargin: _, fontSize: v, letterSpacing: y, getTicksConfig: b, events: x, axisType: S, axisId: C } = e, w = k2(N2(N2({}, b), {}, { ticks: n }), v, y), T = UR(b), E = WR(r), D = N$(T.textAnchor) ? T.textAnchor : ALe(u, d), O = jLe(u, d), k = {};
typeof i == "object" && (k = i);
- var A = P2(P2({}, T), {}, { fill: "none" }, k), j = w.map((e) => P2({ entry: e }, DLe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
+ var A = N2(N2({}, T), {}, { fill: "none" }, k), j = w.map((e) => N2({ entry: e }, kLe(e, f, p, m, h, u, g, d, _))), M = j.map((e) => {
var { entry: t, line: n } = e;
- return /*#__PURE__*/ R.createElement(XR, {
+ return /*#__PURE__*/ R.createElement(YR, {
className: "recharts-cartesian-axis-tick",
key: `tick-${t.value}-${t.coordinate}-${t.tickCoord}`
- }, i && /*#__PURE__*/ R.createElement("line", M2({}, A, n, { className: Sh("recharts-cartesian-axis-tick-line", Yz(i, "className")) })));
+ }, i && /*#__PURE__*/ R.createElement("line", j2({}, A, n, { className: Sh("recharts-cartesian-axis-tick-line", Jz(i, "className")) })));
}), N = j.map((e, t) => {
- var { entry: n, tick: i } = e, u = P2(P2({}, P2(P2(P2(P2({ verticalAnchor: O }, T), {}, {
+ var { entry: n, tick: i } = e, u = N2(N2({}, N2(N2(N2(N2({ verticalAnchor: O }, T), {}, {
textAnchor: D,
stroke: "none",
fill: a
@@ -67091,26 +67126,26 @@ var MLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
tickFormatter: o,
padding: c
}, l), {}, { angle: l?.angle ?? T.angle ?? 0 })), E);
- return /*#__PURE__*/ R.createElement(XR, M2({
+ return /*#__PURE__*/ R.createElement(YR, j2({
className: "recharts-cartesian-axis-tick-label",
key: `tick-label-${n.value}-${n.coordinate}-${n.tickCoord}`
- }, vB(x, n, t)), r && /*#__PURE__*/ R.createElement(ALe, {
+ }, _B(x, n, t)), r && /*#__PURE__*/ R.createElement(MLe, {
option: r,
tickProps: u,
value: `${typeof o == "function" ? o(n.value, t) : n.value}${s || ""}`
}));
});
- return /*#__PURE__*/ R.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ R.createElement(jLe, {
+ return /*#__PURE__*/ R.createElement("g", { className: `recharts-cartesian-axis-ticks recharts-${S}-ticks` }, /*#__PURE__*/ R.createElement(NLe, {
ticks: w,
axisId: C,
axisType: S
- }), N.length > 0 && /*#__PURE__*/ R.createElement(QQ, { zIndex: LK.label }, /*#__PURE__*/ R.createElement("g", {
+ }), N.length > 0 && /*#__PURE__*/ R.createElement(ZQ, { zIndex: IK.label }, /*#__PURE__*/ R.createElement("g", {
className: `recharts-cartesian-axis-tick-labels recharts-${S}-tick-labels`,
ref: t
}, N)), M.length > 0 && /*#__PURE__*/ R.createElement("g", { className: `recharts-cartesian-axis-tick-lines recharts-${S}-tick-lines` }, M));
-}), NLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = xLe(e, bLe), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(""), h = (0, R.useRef)(null);
- (0, R.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => gLe({
+}), FLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { axisLine: n, width: r, height: i, className: a, hide: o, ticks: s, axisType: c, axisId: l } = e, u = CLe(e, SLe), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(""), h = (0, R.useRef)(null);
+ (0, R.useImperativeHandle)(t, () => ({ getCalculatedWidth: () => vLe({
ticks: h.current,
label: e.labelRef?.current,
labelGapWithTick: 5,
@@ -67128,7 +67163,7 @@ var MLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
}
}
}, [d, p]);
- return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ R.createElement(QQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(XR, { className: Sh("recharts-cartesian-axis", a) }, /*#__PURE__*/ R.createElement(ELe, {
+ return o || r != null && r <= 0 || i != null && i <= 0 ? null : /*#__PURE__*/ R.createElement(ZQ, { zIndex: e.zIndex }, /*#__PURE__*/ R.createElement(YR, { className: Sh("recharts-cartesian-axis", a) }, /*#__PURE__*/ R.createElement(OLe, {
x: e.x,
y: e.y,
width: r,
@@ -67136,8 +67171,8 @@ var MLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
orientation: e.orientation,
mirror: e.mirror,
axisLine: n,
- otherSvgProps: WR(e)
- }), /*#__PURE__*/ R.createElement(MLe, {
+ otherSvgProps: UR(e)
+ }), /*#__PURE__*/ R.createElement(PLe, {
ref: g,
axisType: c,
events: u,
@@ -67161,32 +67196,32 @@ var MLe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
x: e.x,
y: e.y,
axisId: l
- }), /*#__PURE__*/ R.createElement(J$, {
+ }), /*#__PURE__*/ R.createElement(q$, {
x: e.x,
y: e.y,
width: e.width,
height: e.height,
lowerWidth: e.width,
upperWidth: e.width
- }, /*#__PURE__*/ R.createElement(n1, {
+ }, /*#__PURE__*/ R.createElement(t1, {
label: e.label,
labelRef: e.labelRef
}), e.children)));
-}), I2 = /*#__PURE__*/ R.forwardRef((e, t) => {
- var n = bB(e, F2);
- return /*#__PURE__*/ R.createElement(NLe, M2({}, n, { ref: t }));
+}), F2 = /*#__PURE__*/ R.forwardRef((e, t) => {
+ var n = yB(e, P2);
+ return /*#__PURE__*/ R.createElement(FLe, j2({}, n, { ref: t }));
});
-I2.displayName = "CartesianAxis";
+F2.displayName = "CartesianAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/CartesianGrid.js
-var PLe = [
+var ILe = [
"x1",
"y1",
"x2",
"y2",
"key"
-], FLe = ["offset"], ILe = ["xAxisId", "yAxisId"], LLe = ["xAxisId", "yAxisId"];
-function L2(e, t) {
+], LLe = ["offset"], RLe = ["xAxisId", "yAxisId"], zLe = ["xAxisId", "yAxisId"];
+function I2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67196,30 +67231,30 @@ function L2(e, t) {
}
return n;
}
-function R2(e) {
+function L2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? L2(Object(n), !0).forEach(function(t) {
- RLe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L2(Object(n)).forEach(function(t) {
+ t % 2 ? I2(Object(n), !0).forEach(function(t) {
+ BLe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : I2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function RLe(e, t, n) {
- return (t = zLe(t)) in e ? Object.defineProperty(e, t, {
+function BLe(e, t, n) {
+ return (t = VLe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function zLe(e) {
- var t = BLe(e, "string");
+function VLe(e) {
+ var t = HLe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function BLe(e, t) {
+function HLe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67229,25 +67264,25 @@ function BLe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function z2() {
- return z2 = Object.assign ? Object.assign.bind() : function(e) {
+function R2() {
+ return R2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, z2.apply(null, arguments);
+ }, R2.apply(null, arguments);
}
-function B2(e, t) {
+function z2(e, t) {
if (e == null) return {};
- var n, r, i = VLe(e, t);
+ var n, r, i = ULe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function VLe(e, t) {
+function ULe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67256,7 +67291,7 @@ function VLe(e, t) {
}
return n;
}
-var HLe = (e) => {
+var WLe = (e) => {
var { fill: t } = e;
if (!t || t === "none") return null;
var { fillOpacity: n, x: r, y: i, width: a, height: o, ry: s } = e;
@@ -67272,13 +67307,13 @@ var HLe = (e) => {
className: "recharts-cartesian-grid-bg"
});
};
-function V2(e) {
+function B2(e) {
var { option: t, lineItemProps: n } = e, r;
if (/*#__PURE__*/ R.isValidElement(t)) r = /*#__PURE__*/ R.cloneElement(t, n);
else if (typeof t == "function") r = t(n);
else {
- var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = WR(B2(n, PLe)) ?? {}, { offset: u } = l, d = B2(l, FLe);
- r = /*#__PURE__*/ R.createElement("line", z2({}, d, {
+ var { x1: i, y1: a, x2: o, y2: s, key: c } = n, l = UR(z2(n, ILe)) ?? {}, { offset: u } = l, d = z2(l, LLe);
+ r = /*#__PURE__*/ R.createElement("line", R2({}, d, {
x1: i,
y1: a,
x2: o,
@@ -67289,11 +67324,11 @@ function V2(e) {
}
return r;
}
-function ULe(e) {
+function GLe(e) {
var { x: t, width: n, horizontal: r = !0, horizontalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = B2(e, ILe), c = i.map((e, i) => {
- var a = R2(R2({}, s), {}, {
+ var { xAxisId: a, yAxisId: o } = e, s = z2(e, RLe), c = i.map((e, i) => {
+ var a = L2(L2({}, s), {}, {
x1: t,
y1: e,
x2: t + n,
@@ -67301,7 +67336,7 @@ function ULe(e) {
key: `line-${i}`,
index: i
});
- return /*#__PURE__*/ R.createElement(V2, {
+ return /*#__PURE__*/ R.createElement(B2, {
key: `line-${i}`,
option: r,
lineItemProps: a
@@ -67309,11 +67344,11 @@ function ULe(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid-horizontal" }, c);
}
-function WLe(e) {
+function KLe(e) {
var { y: t, height: n, vertical: r = !0, verticalPoints: i } = e;
if (!r || !i || !i.length) return null;
- var { xAxisId: a, yAxisId: o } = e, s = B2(e, LLe), c = i.map((e, i) => {
- var a = R2(R2({}, s), {}, {
+ var { xAxisId: a, yAxisId: o } = e, s = z2(e, zLe), c = i.map((e, i) => {
+ var a = L2(L2({}, s), {}, {
x1: e,
y1: t,
x2: e,
@@ -67321,7 +67356,7 @@ function WLe(e) {
key: `line-${i}`,
index: i
});
- return /*#__PURE__*/ R.createElement(V2, {
+ return /*#__PURE__*/ R.createElement(B2, {
option: r,
lineItemProps: a,
key: `line-${i}`
@@ -67329,7 +67364,7 @@ function WLe(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid-vertical" }, c);
}
-function GLe(e) {
+function qLe(e) {
var { horizontalFill: t, fillOpacity: n, x: r, y: i, width: a, height: o, horizontalPoints: s, horizontal: c = !0 } = e;
if (!c || !t || !t.length || s == null) return null;
var l = s.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -67352,7 +67387,7 @@ function GLe(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-gridstripes-horizontal" }, u);
}
-function KLe(e) {
+function JLe(e) {
var { vertical: t = !0, verticalFill: n, fillOpacity: r, x: i, y: a, width: o, height: s, verticalPoints: c } = e;
if (!t || !n || !n.length) return null;
var l = c.map((e) => Math.round(e + i - i)).sort((e, t) => e - t);
@@ -67375,10 +67410,10 @@ function KLe(e) {
});
return /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-gridstripes-vertical" }, u);
}
-var qLe = (e, t) => {
+var YLe = (e, t) => {
var { xAxis: n, width: r, height: i, offset: a } = e;
- return hU(A2(R2(R2(R2({}, F2), n), {}, {
- ticks: gU(n, !0),
+ return mU(k2(L2(L2(L2({}, P2), n), {}, {
+ ticks: hU(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -67386,10 +67421,10 @@ var qLe = (e, t) => {
height: i
}
})), a.left, a.left + a.width, t);
-}, JLe = (e, t) => {
+}, XLe = (e, t) => {
var { yAxis: n, width: r, height: i, offset: a } = e;
- return hU(A2(R2(R2(R2({}, F2), n), {}, {
- ticks: gU(n, !0),
+ return mU(k2(L2(L2(L2({}, P2), n), {}, {
+ ticks: hU(n, !0),
viewBox: {
x: 0,
y: 0,
@@ -67397,7 +67432,7 @@ var qLe = (e, t) => {
height: i
}
})), a.top, a.top + a.height, t);
-}, YLe = {
+}, ZLe = {
horizontal: !0,
vertical: !0,
horizontalPoints: [],
@@ -67409,36 +67444,36 @@ var qLe = (e, t) => {
xAxisId: 0,
yAxisId: 0,
syncWithTicks: !1,
- zIndex: LK.grid
+ zIndex: IK.grid
};
-function H2(e) {
- var t = QU(), n = $U(), r = ZU(), i = R2(R2({}, bB(e, YLe)), {}, {
+function V2(e) {
+ var t = ZU(), n = QU(), r = XU(), i = L2(L2({}, yB(e, ZLe)), {}, {
x: Z(e.x) ? e.x : r.left,
y: Z(e.y) ? e.y : r.top,
width: Z(e.width) ? e.width : r.width,
height: Z(e.height) ? e.height : r.height
- }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = IU(), h = Q((e) => BZ(e, "xAxis", a, m)), g = Q((e) => BZ(e, "yAxis", o, m));
- if (!uU(l) || !uU(u) || !Z(s) || !Z(c)) return null;
- var _ = i.verticalCoordinatesGenerator || qLe, v = i.horizontalCoordinatesGenerator || JLe, { horizontalPoints: y, verticalPoints: b } = i;
+ }), { xAxisId: a, yAxisId: o, x: s, y: c, width: l, height: u, syncWithTicks: d, horizontalValues: f, verticalValues: p } = i, m = FU(), h = Q((e) => zZ(e, "xAxis", a, m)), g = Q((e) => zZ(e, "yAxis", o, m));
+ if (!lU(l) || !lU(u) || !Z(s) || !Z(c)) return null;
+ var _ = i.verticalCoordinatesGenerator || YLe, v = i.horizontalCoordinatesGenerator || XLe, { horizontalPoints: y, verticalPoints: b } = i;
if ((!y || !y.length) && typeof v == "function") {
var x = f && f.length, S = v({
- yAxis: g ? R2(R2({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
+ yAxis: g ? L2(L2({}, g), {}, { ticks: x ? f : g.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, x ? !0 : d);
- zU(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
+ RU(Array.isArray(S), `horizontalCoordinatesGenerator should return Array but instead it returned [${typeof S}]`), Array.isArray(S) && (y = S);
}
if ((!b || !b.length) && typeof _ == "function") {
var C = p && p.length, w = _({
- xAxis: h ? R2(R2({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,
+ xAxis: h ? L2(L2({}, h), {}, { ticks: C ? p : h.ticks }) : void 0,
width: t ?? l,
height: n ?? u,
offset: r
}, C ? !0 : d);
- zU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
+ RU(Array.isArray(w), `verticalCoordinatesGenerator should return Array but instead it returned [${typeof w}]`), Array.isArray(w) && (b = w);
}
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: i.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ R.createElement(HLe, {
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: i.zIndex }, /*#__PURE__*/ R.createElement("g", { className: "recharts-cartesian-grid" }, /*#__PURE__*/ R.createElement(WLe, {
fill: i.fill,
fillOpacity: i.fillOpacity,
x: i.x,
@@ -67446,22 +67481,22 @@ function H2(e) {
width: i.width,
height: i.height,
ry: i.ry
- }), /*#__PURE__*/ R.createElement(GLe, z2({}, i, { horizontalPoints: y })), /*#__PURE__*/ R.createElement(KLe, z2({}, i, { verticalPoints: b })), /*#__PURE__*/ R.createElement(ULe, z2({}, i, {
+ }), /*#__PURE__*/ R.createElement(qLe, R2({}, i, { horizontalPoints: y })), /*#__PURE__*/ R.createElement(JLe, R2({}, i, { verticalPoints: b })), /*#__PURE__*/ R.createElement(GLe, R2({}, i, {
offset: r,
horizontalPoints: y,
xAxis: h,
yAxis: g
- })), /*#__PURE__*/ R.createElement(WLe, z2({}, i, {
+ })), /*#__PURE__*/ R.createElement(KLe, R2({}, i, {
offset: r,
verticalPoints: b,
xAxis: h,
yAxis: g
}))));
}
-H2.displayName = "CartesianGrid";
+V2.displayName = "CartesianGrid";
//#endregion
//#region node_modules/recharts/es6/state/errorBarSlice.js
-var U2 = PH({
+var H2 = NH({
name: "errorBars",
initialState: {},
reducers: {
@@ -67478,17 +67513,17 @@ var U2 = PH({
e[n] && (e[n] = e[n].filter((e) => e.dataKey !== r.dataKey || e.direction !== r.direction));
}
}
-}), { addErrorBar: XLe, replaceErrorBar: ZLe, removeErrorBar: QLe } = U2.actions, $Le = U2.reducer, eRe = ["children"];
-function tRe(e, t) {
+}), { addErrorBar: QLe, replaceErrorBar: $Le, removeErrorBar: eRe } = H2.actions, tRe = H2.reducer, nRe = ["children"];
+function rRe(e, t) {
if (e == null) return {};
- var n, r, i = nRe(e, t);
+ var n, r, i = iRe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function nRe(e, t) {
+function iRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67497,7 +67532,7 @@ function nRe(e, t) {
}
return n;
}
-var rRe = /*#__PURE__*/ (0, R.createContext)({
+var aRe = /*#__PURE__*/ (0, R.createContext)({
data: [],
xAxisId: "xAxis-0",
yAxisId: "yAxis-0",
@@ -67508,22 +67543,22 @@ var rRe = /*#__PURE__*/ (0, R.createContext)({
}),
errorBarOffset: 0
});
-function W2(e) {
- var { children: t } = e, n = tRe(e, eRe);
- return /*#__PURE__*/ R.createElement(rRe.Provider, { value: n }, t);
+function U2(e) {
+ var { children: t } = e, n = rRe(e, nRe);
+ return /*#__PURE__*/ R.createElement(aRe.Provider, { value: n }, t);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/GraphicalItemClipPath.js
-function G2(e, t) {
- var n = Q((t) => AX(t, e)), r = Q((e) => NX(e, t)), i = n?.allowDataOverflow ?? OX.allowDataOverflow, a = r?.allowDataOverflow ?? jX.allowDataOverflow;
+function W2(e, t) {
+ var n = Q((t) => kX(t, e)), r = Q((e) => MX(e, t)), i = n?.allowDataOverflow ?? DX.allowDataOverflow, a = r?.allowDataOverflow ?? AX.allowDataOverflow;
return {
needClip: i || a,
needClipX: i,
needClipY: a
};
}
-function K2(e) {
- var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = E0(), { needClipX: a, needClipY: o, needClip: s } = G2(t, n);
+function G2(e) {
+ var { xAxisId: t, yAxisId: n, clipPathId: r } = e, i = T0(), { needClipX: a, needClipY: o, needClip: s } = W2(t, n);
if (!s || !i) return null;
var { x: c, y: l, width: u, height: d } = i;
return /*#__PURE__*/ R.createElement("clipPath", { id: `clipPath-${r}` }, /*#__PURE__*/ R.createElement("rect", {
@@ -67535,30 +67570,30 @@ function K2(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/lineSelectors.js
-var q2 = (e, t, n, r) => GZ(e, "xAxis", t, r), J2 = (e, t, n, r) => WZ(e, "xAxis", t, r), Y2 = (e, t, n, r) => GZ(e, "yAxis", n, r), X2 = (e, t, n, r) => WZ(e, "yAxis", n, r), iRe = $([
- eW,
- q2,
- Y2,
+var K2 = (e, t, n, r) => WZ(e, "xAxis", t, r), q2 = (e, t, n, r) => UZ(e, "xAxis", t, r), J2 = (e, t, n, r) => WZ(e, "yAxis", n, r), Y2 = (e, t, n, r) => UZ(e, "yAxis", n, r), oRe = $([
+ $U,
+ K2,
J2,
- X2
-], (e, t, n, r, i) => mU(e, "xAxis") ? wU(t, r, !1) : wU(n, i, !1)), aRe = (e, t, n, r, i) => i;
-function oRe(e) {
+ q2,
+ Y2
+], (e, t, n, r, i) => pU(e, "xAxis") ? CU(t, r, !1) : CU(n, i, !1)), sRe = (e, t, n, r, i) => i;
+function cRe(e) {
return e.type === "line";
}
-var sRe = $([
- eW,
+var lRe = $([
+ $U,
+ K2,
+ J2,
q2,
Y2,
- J2,
- X2,
- $([zX, aRe], (e, t) => e.filter(oRe).find((e) => e.id === t)),
- iRe,
- pK
+ $([RX, sRe], (e, t) => e.filter(cRe).find((e) => e.id === t)),
+ oRe,
+ fK
], (e, t, n, r, i, a, o, s) => {
var { chartData: c, dataStartIndex: l, dataEndIndex: u } = s;
if (!(a == null || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || o == null || e !== "horizontal" && e !== "vertical")) {
var { dataKey: d, data: f } = a, p = f != null && f.length > 0 ? f : c?.slice(l, u + 1);
- if (p != null) return DRe({
+ if (p != null) return kRe({
layout: e,
xAxis: t,
yAxis: n,
@@ -67572,8 +67607,8 @@ var sRe = $([
});
//#endregion
//#region node_modules/recharts/es6/util/getRadiusAndStrokeWidthFromDot.js
-function Z2(e) {
- var t = GR(e), n = 3, r = 2;
+function X2(e) {
+ var t = WR(e), n = 3, r = 2;
if (t != null) {
var { r: i, strokeWidth: a } = t, o = Number(i), s = Number(a);
return (Number.isNaN(o) || o < 0) && (o = n), (Number.isNaN(s) || s < 0) && (s = r), {
@@ -67588,13 +67623,13 @@ function Z2(e) {
}
//#endregion
//#region node_modules/recharts/es6/cartesian/Line.js
-var cRe = ["id"], lRe = [
+var uRe = ["id"], dRe = [
"type",
"layout",
"connectNulls",
"needClip",
"shape"
-], uRe = [
+], fRe = [
"activeDot",
"animateNewValues",
"animationBegin",
@@ -67610,16 +67645,16 @@ var cRe = ["id"], lRe = [
"yAxisId",
"id"
];
-function Q2() {
- return Q2 = Object.assign ? Object.assign.bind() : function(e) {
+function Z2() {
+ return Z2 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, Q2.apply(null, arguments);
+ }, Z2.apply(null, arguments);
}
-function $2(e, t) {
+function Q2(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -67629,30 +67664,30 @@ function $2(e, t) {
}
return n;
}
-function e4(e) {
+function $2(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? $2(Object(n), !0).forEach(function(t) {
- dRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : $2(Object(n)).forEach(function(t) {
+ t % 2 ? Q2(Object(n), !0).forEach(function(t) {
+ pRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Q2(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dRe(e, t, n) {
- return (t = fRe(t)) in e ? Object.defineProperty(e, t, {
+function pRe(e, t, n) {
+ return (t = mRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fRe(e) {
- var t = pRe(e, "string");
+function mRe(e) {
+ var t = hRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pRe(e, t) {
+function hRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -67662,16 +67697,16 @@ function pRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function t4(e, t) {
+function e4(e, t) {
if (e == null) return {};
- var n, r, i = mRe(e, t);
+ var n, r, i = gRe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function mRe(e, t) {
+function gRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -67680,27 +67715,27 @@ function mRe(e, t) {
}
return n;
}
-var hRe = (e) => {
+var _Re = (e) => {
var { dataKey: t, name: n, stroke: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: EU(n, t),
+ value: TU(n, t),
payload: e
}];
-}, gRe = /*#__PURE__*/ R.memo((e) => {
+}, vRe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: uB,
+ getPosition: lB,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: EU(o, t),
+ name: TU(o, t),
hide: s,
type: l,
color: r,
@@ -67708,15 +67743,15 @@ var hRe = (e) => {
graphicalItemId: u
}
};
- return /*#__PURE__*/ R.createElement(f0, { tooltipEntrySettings: d });
-}), n4 = (e, t) => `${t}px ${e}px`;
-function _Re(e, t) {
+ return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: d });
+}), t4 = (e, t) => `${t}px ${e}px`;
+function yRe(e, t) {
for (var n = e.length % 2 == 0 ? e : [...e, 0], r = [], i = 0; i < t; ++i) r.push(...n);
return r;
}
-var vRe = (e, t, n) => {
+var bRe = (e, t, n) => {
var r = n.reduce((e, t) => e + t, 0);
- if (!r) return n4(t, e);
+ if (!r) return t4(t, e);
for (var i = Math.floor(e / r), a = e % r, o = [], s = 0, c = 0; s < n.length; c += (l = n[s]) ?? 0, ++s) {
var l, u = n[s];
if (u != null && c + u > a) {
@@ -67726,14 +67761,14 @@ var vRe = (e, t, n) => {
}
var d = o.length % 2 == 0 ? [0, t] : [t];
return [
- ..._Re(n, i),
+ ...yRe(n, i),
...o,
...d
].map((e) => `${e}px`).join(", ");
};
-function yRe(e) {
- var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = WR(t4(r, cRe));
- return /*#__PURE__*/ R.createElement(S0, {
+function xRe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { dot: i, dataKey: a, needClip: o } = r, { id: s } = r, c = UR(e4(r, uRe));
+ return /*#__PURE__*/ R.createElement(x0, {
points: n,
dot: i,
className: "recharts-line-dots",
@@ -67744,7 +67779,7 @@ function yRe(e) {
clipPathId: t
});
}
-function bRe(e) {
+function SRe(e) {
var { showLabels: t, children: n, points: r } = e, i = (0, R.useMemo)(() => r?.map((e) => {
var t = {
x: e.x ?? 0,
@@ -67754,7 +67789,7 @@ function bRe(e) {
upperWidth: 0,
height: 0
};
- return e4(e4({}, t), {}, {
+ return $2($2({}, t), {}, {
value: e.value,
payload: e.payload,
viewBox: t,
@@ -67762,10 +67797,10 @@ function bRe(e) {
fill: void 0
});
}), [r]);
- return /*#__PURE__*/ R.createElement(o1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ R.createElement(a1, { value: t ? i : void 0 }, n);
}
-function r4(e) {
- var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = e4(e4({}, KR(t4(a, lRe))), {}, {
+function n4(e) {
+ var { clipPathId: t, pathRef: n, points: r, strokeDasharray: i, props: a } = e, { type: o, layout: s, connectNulls: c, needClip: l, shape: u } = a, d = $2($2({}, GR(e4(a, dRe))), {}, {
fill: "none",
className: "recharts-line-curve",
clipPath: l ? `url(#clipPath-${t})` : void 0,
@@ -67775,34 +67810,34 @@ function r4(e) {
connectNulls: c,
strokeDasharray: i ?? a.strokeDasharray
});
- return /*#__PURE__*/ R.createElement(R.Fragment, null, r?.length > 1 && /*#__PURE__*/ R.createElement(c0, Q2({
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, r?.length > 1 && /*#__PURE__*/ R.createElement(s0, Z2({
shapeType: "curve",
option: u
- }, d, { pathRef: n })), /*#__PURE__*/ R.createElement(yRe, {
+ }, d, { pathRef: n })), /*#__PURE__*/ R.createElement(xRe, {
points: r,
clipPathId: t,
props: a
}));
}
-function xRe(e) {
+function CRe(e) {
try {
return e && e.getTotalLength && e.getTotalLength() || 0;
} catch {
return 0;
}
}
-function SRe(e) {
- var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = UG(o, "recharts-line-"), y = (0, R.useRef)(v), [b, x] = (0, R.useState)(!1), S = !b, C = (0, R.useCallback)(() => {
+function wRe(e) {
+ var { clipPathId: t, props: n, pathRef: r, previousPointsRef: i, longestAnimatedLengthRef: a } = e, { points: o, strokeDasharray: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, animateNewValues: f, width: p, height: m, onAnimationEnd: h, onAnimationStart: g } = n, _ = i.current, v = HG(o, "recharts-line-"), y = (0, R.useRef)(v), [b, x] = (0, R.useState)(!1), S = !b, C = (0, R.useCallback)(() => {
typeof h == "function" && h(), x(!1);
}, [h]), w = (0, R.useCallback)(() => {
typeof g == "function" && g(), x(!0);
- }, [g]), T = xRe(r.current), E = (0, R.useRef)(0);
+ }, [g]), T = CRe(r.current), E = (0, R.useRef)(0);
y.current !== v && (E.current = a.current, y.current = v);
var D = E.current;
- return /*#__PURE__*/ R.createElement(bRe, {
+ return /*#__PURE__*/ R.createElement(SRe, {
points: o,
showLabels: S
- }, n.children, /*#__PURE__*/ R.createElement(HG, {
+ }, n.children, /*#__PURE__*/ R.createElement(VG, {
animationId: v,
begin: l,
duration: u,
@@ -67812,26 +67847,26 @@ function SRe(e) {
onAnimationStart: w,
key: v
}, (e) => {
- var l = aB(D, T + D, e), u = Math.min(l, T), d = c ? s ? vRe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : n4(T, u) : s == null ? void 0 : String(s);
+ var l = iB(D, T + D, e), u = Math.min(l, T), d = c ? s ? bRe(u, T, `${s}`.split(/[,\s]+/gim).map((e) => parseFloat(e))) : t4(T, u) : s == null ? void 0 : String(s);
if (e > 0 && T > 0 && (i.current = o, a.current = Math.max(a.current, u)), _) {
var h = _.length / o.length, g = e === 1 ? o : o.map((t, n) => {
var r = Math.floor(n * h);
if (_[r]) {
var i = _[r];
- return e4(e4({}, t), {}, {
- x: aB(i.x, t.x, e),
- y: aB(i.y, t.y, e)
+ return $2($2({}, t), {}, {
+ x: iB(i.x, t.x, e),
+ y: iB(i.y, t.y, e)
});
}
- return f ? e4(e4({}, t), {}, {
- x: aB(p * 2, t.x, e),
- y: aB(m / 2, t.y, e)
- }) : e4(e4({}, t), {}, {
+ return f ? $2($2({}, t), {}, {
+ x: iB(p * 2, t.x, e),
+ y: iB(m / 2, t.y, e)
+ }) : $2($2({}, t), {}, {
x: t.x,
y: t.y
});
});
- return i.current = g, /*#__PURE__*/ R.createElement(r4, {
+ return i.current = g, /*#__PURE__*/ R.createElement(n4, {
props: n,
points: g,
clipPathId: t,
@@ -67839,18 +67874,18 @@ function SRe(e) {
strokeDasharray: d
});
}
- return /*#__PURE__*/ R.createElement(r4, {
+ return /*#__PURE__*/ R.createElement(n4, {
props: n,
points: o,
clipPathId: t,
pathRef: r,
strokeDasharray: d
});
- }), /*#__PURE__*/ R.createElement(l1, { label: n.label }));
+ }), /*#__PURE__*/ R.createElement(c1, { label: n.label }));
}
-function CRe(e) {
+function TRe(e) {
var { clipPathId: t, props: n } = e, r = (0, R.useRef)(null), i = (0, R.useRef)(0), a = (0, R.useRef)(null);
- return /*#__PURE__*/ R.createElement(SRe, {
+ return /*#__PURE__*/ R.createElement(wRe, {
props: n,
clipPathId: t,
previousPointsRef: r,
@@ -67858,17 +67893,17 @@ function CRe(e) {
pathRef: a
});
}
-var wRe = (e, t) => ({
+var ERe = (e, t) => ({
x: e.x ?? void 0,
y: e.y ?? void 0,
value: e.value,
- errorVal: pU(e.payload, t)
-}), TRe = class extends R.Component {
+ errorVal: fU(e.payload, t)
+}), DRe = class extends R.Component {
render() {
var { hide: e, dot: t, points: n, className: r, xAxisId: i, yAxisId: a, top: o, left: s, width: c, height: l, id: u, needClip: d, zIndex: f } = this.props;
if (e) return null;
- var p = Sh("recharts-line", r), m = u, { r: h, strokeWidth: g } = Z2(t), _ = $1(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: f }, /*#__PURE__*/ R.createElement(XR, { className: p }, d && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(K2, {
+ var p = Sh("recharts-line", r), m = u, { r: h, strokeWidth: g } = X2(t), _ = Q1(t), v = h * 2 + g, y = d ? `url(#clipPath-${_ ? "" : "dots-"}${m})` : void 0;
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: f }, /*#__PURE__*/ R.createElement(YR, { className: p }, d && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(G2, {
clipPathId: m,
xAxisId: i,
yAxisId: a
@@ -67877,16 +67912,16 @@ var wRe = (e, t) => ({
y: o - v / 2,
width: c + v,
height: l + v
- }))), /*#__PURE__*/ R.createElement(W2, {
+ }))), /*#__PURE__*/ R.createElement(U2, {
xAxisId: i,
yAxisId: a,
data: n,
- dataPointFormatter: wRe,
+ dataPointFormatter: ERe,
errorBarOffset: 0
- }, /*#__PURE__*/ R.createElement(CRe, {
+ }, /*#__PURE__*/ R.createElement(TRe, {
props: this.props,
clipPathId: m
- }))), /*#__PURE__*/ R.createElement(k0, {
+ }))), /*#__PURE__*/ R.createElement(O0, {
activeDot: this.props.activeDot,
points: n,
mainColor: this.props.stroke,
@@ -67894,7 +67929,7 @@ var wRe = (e, t) => ({
clipPath: y
}));
}
-}, i4 = {
+}, r4 = {
activeDot: !0,
animateNewValues: !0,
animationBegin: 0,
@@ -67911,14 +67946,14 @@ var wRe = (e, t) => ({
strokeWidth: 1,
xAxisId: 0,
yAxisId: 0,
- zIndex: LK.line,
+ zIndex: IK.line,
type: "linear"
};
-function ERe(e) {
- var t = bB(e, i4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = t4(t, uRe), { needClip: _ } = G2(p, m), v = E0(), y = tW(), b = IU(), x = Q((e) => sRe(e, p, m, b, h));
+function ORe(e) {
+ var t = yB(e, r4), { activeDot: n, animateNewValues: r, animationBegin: i, animationDuration: a, animationEasing: o, connectNulls: s, dot: c, hide: l, isAnimationActive: u, label: d, legendType: f, xAxisId: p, yAxisId: m, id: h } = t, g = e4(t, fRe), { needClip: _ } = W2(p, m), v = T0(), y = eW(), b = FU(), x = Q((e) => lRe(e, p, m, b, h));
if (y !== "horizontal" && y !== "vertical" || x == null || v == null) return null;
var { height: S, width: C, x: w, y: T } = v;
- return /*#__PURE__*/ R.createElement(TRe, Q2({}, g, {
+ return /*#__PURE__*/ R.createElement(DRe, Z2({}, g, {
id: h,
connectNulls: s,
dot: c,
@@ -67942,23 +67977,23 @@ function ERe(e) {
needClip: _
}));
}
-function DRe(e) {
+function kRe(e) {
var { layout: t, xAxis: n, yAxis: r, xAxisTicks: i, yAxisTicks: a, dataKey: o, bandSize: s, displayedData: c } = e;
return c.map((e, c) => {
- var l = pU(e, o);
+ var l = fU(e, o);
if (t === "horizontal") return {
- x: yU({
+ x: vU({
axis: n,
ticks: i,
bandSize: s,
entry: e,
index: c
}),
- y: (sB(l) ? null : r.scale.map(l)) ?? null,
+ y: (oB(l) ? null : r.scale.map(l)) ?? null,
value: l,
payload: e
};
- var u = sB(l) ? null : n.scale.map(l), d = yU({
+ var u = oB(l) ? null : n.scale.map(l), d = vU({
axis: r,
ticks: a,
bandSize: s,
@@ -67973,12 +68008,12 @@ function DRe(e) {
};
}).filter(Boolean);
}
-function ORe(e) {
- var t = bB(e, i4), n = IU();
- return /*#__PURE__*/ R.createElement(h0, {
+function ARe(e) {
+ var t = yB(e, r4), n = FU();
+ return /*#__PURE__*/ R.createElement(m0, {
id: t.id,
type: "line"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(p0, { legendPayload: hRe(t) }), /*#__PURE__*/ R.createElement(gRe, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: _Re(t) }), /*#__PURE__*/ R.createElement(vRe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -67989,7 +68024,7 @@ function ORe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ R.createElement(_0, {
+ }), /*#__PURE__*/ R.createElement(g0, {
type: "line",
id: e,
data: t.data,
@@ -67999,50 +68034,50 @@ function ORe(e) {
dataKey: t.dataKey,
hide: t.hide,
isPanorama: n
- }), /*#__PURE__*/ R.createElement(ERe, Q2({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(ORe, Z2({}, t, { id: e }))));
}
-var a4 = /*#__PURE__*/ R.memo(ORe, $W);
-a4.displayName = "Line";
+var i4 = /*#__PURE__*/ R.memo(ARe, QW);
+i4.displayName = "Line";
//#endregion
//#region node_modules/recharts/es6/state/selectors/graphicalItemSelectors.js
-function o4(e, t) {
+function a4(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.xAxisId ?? 0;
}
-function s4(e, t) {
+function o4(e, t) {
return e.graphicalItems.cartesianItems.find((e) => e.id === t)?.yAxisId ?? 0;
}
//#endregion
//#region node_modules/recharts/es6/state/selectors/areaSelectors.js
-var c4 = (e, t, n) => GZ(e, "xAxis", o4(e, t), n), l4 = (e, t, n) => WZ(e, "xAxis", o4(e, t), n), u4 = (e, t, n) => GZ(e, "yAxis", s4(e, t), n), d4 = (e, t, n) => WZ(e, "yAxis", s4(e, t), n), kRe = $([
- eW,
+var s4 = (e, t, n) => WZ(e, "xAxis", a4(e, t), n), c4 = (e, t, n) => UZ(e, "xAxis", a4(e, t), n), l4 = (e, t, n) => WZ(e, "yAxis", o4(e, t), n), u4 = (e, t, n) => UZ(e, "yAxis", o4(e, t), n), jRe = $([
+ $U,
+ s4,
+ l4,
c4,
- u4,
+ u4
+], (e, t, n, r, i) => pU(e, "xAxis") ? CU(t, r, !1) : CU(n, i, !1)), d4 = $([RX, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), f4 = (e) => pU($U(e), "xAxis") ? "yAxis" : "xAxis", MRe = (e, t) => f4(e) === "yAxis" ? o4(e, t) : a4(e, t), NRe = $([
+ $U,
+ s4,
l4,
- d4
-], (e, t, n, r, i) => mU(e, "xAxis") ? wU(t, r, !1) : wU(n, i, !1)), f4 = $([zX, (e, t) => t], (e, t) => e.filter((e) => e.type === "area").find((e) => e.id === t)), p4 = (e) => mU(eW(e), "xAxis") ? "yAxis" : "xAxis", ARe = (e, t) => p4(e) === "yAxis" ? s4(e, t) : o4(e, t), jRe = $([
- eW,
c4,
u4,
- l4,
- d4,
- $([f4, (e, t, n) => nZ(e, p4(e), ARe(e, t), n)], (e, t) => {
+ $([d4, (e, t, n) => tZ(e, f4(e), MRe(e, t), n)], (e, t) => {
if (e != null && t != null) {
- var { stackId: n } = e, r = rq(e);
+ var { stackId: n } = e, r = nq(e);
if (n != null && r != null) {
var i = (t[n]?.stackedData)?.find((e) => e.key === r);
if (i != null) return i.map((e) => [e[0], e[1]]);
}
}
}),
- mK,
- kRe,
- f4,
- YEe
+ pK,
+ jRe,
+ d4,
+ ZEe
], (e, t, n, r, i, a, o, s, c, l) => {
var { chartData: u, dataStartIndex: d, dataEndIndex: f } = o;
if (!(c == null || e !== "horizontal" && e !== "vertical" || t == null || n == null || r == null || i == null || r.length === 0 || i.length === 0 || s == null)) {
var { data: p } = c, m = p && p.length > 0 ? p : u?.slice(d, f + 1);
- if (m != null) return ZRe({
+ if (m != null) return $Re({
layout: e,
xAxis: t,
yAxis: n,
@@ -68056,7 +68091,7 @@ var c4 = (e, t, n) => GZ(e, "xAxis", o4(e, t), n), l4 = (e, t, n) => WZ(e, "xAxi
bandSize: s
});
}
-}), MRe = ["id"], NRe = [
+}), PRe = ["id"], FRe = [
"activeDot",
"animationBegin",
"animationDuration",
@@ -68072,25 +68107,25 @@ var c4 = (e, t, n) => GZ(e, "xAxis", o4(e, t), n), l4 = (e, t, n) => WZ(e, "xAxi
"xAxisId",
"yAxisId"
];
-function m4() {
- return m4 = Object.assign ? Object.assign.bind() : function(e) {
+function p4() {
+ return p4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, m4.apply(null, arguments);
+ }, p4.apply(null, arguments);
}
-function h4(e, t) {
+function m4(e, t) {
if (e == null) return {};
- var n, r, i = PRe(e, t);
+ var n, r, i = IRe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function PRe(e, t) {
+function IRe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68099,7 +68134,7 @@ function PRe(e, t) {
}
return n;
}
-function g4(e, t) {
+function h4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -68109,30 +68144,30 @@ function g4(e, t) {
}
return n;
}
-function _4(e) {
+function g4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? g4(Object(n), !0).forEach(function(t) {
- FRe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : g4(Object(n)).forEach(function(t) {
+ t % 2 ? h4(Object(n), !0).forEach(function(t) {
+ LRe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : h4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function FRe(e, t, n) {
- return (t = IRe(t)) in e ? Object.defineProperty(e, t, {
+function LRe(e, t, n) {
+ return (t = RRe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function IRe(e) {
- var t = LRe(e, "string");
+function RRe(e) {
+ var t = zRe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function LRe(e, t) {
+function zRe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68142,42 +68177,42 @@ function LRe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function v4(e, t) {
+function _4(e, t) {
return e && e !== "none" ? e : t;
}
-var RRe = (e) => {
+var BRe = (e) => {
var { dataKey: t, name: n, stroke: r, fill: i, legendType: a, hide: o } = e;
return [{
inactive: o,
dataKey: t,
type: a,
- color: v4(r, i),
- value: EU(n, t),
+ color: _4(r, i),
+ value: TU(n, t),
payload: e
}];
-}, zRe = /*#__PURE__*/ R.memo((e) => {
+}, VRe = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, data: n, stroke: r, strokeWidth: i, fill: a, name: o, hide: s, unit: c, tooltipType: l, id: u } = e, d = {
dataDefinedOnItem: n,
- getPosition: uB,
+ getPosition: lB,
settings: {
stroke: r,
strokeWidth: i,
fill: a,
dataKey: t,
nameKey: void 0,
- name: EU(o, t),
+ name: TU(o, t),
hide: s,
type: l,
- color: v4(r, a),
+ color: _4(r, a),
unit: c,
graphicalItemId: u
}
};
- return /*#__PURE__*/ R.createElement(f0, { tooltipEntrySettings: d });
+ return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: d });
});
-function BRe(e) {
- var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = WR(r);
- return /*#__PURE__*/ R.createElement(S0, {
+function HRe(e) {
+ var { clipPathId: t, points: n, props: r } = e, { needClip: i, dot: a, dataKey: o } = r, s = UR(r);
+ return /*#__PURE__*/ R.createElement(x0, {
points: n,
dot: a,
className: "recharts-area-dots",
@@ -68188,7 +68223,7 @@ function BRe(e) {
clipPathId: t
});
}
-function VRe(e) {
+function URe(e) {
var { showLabels: t, children: n, points: r } = e, i = r.map((e) => {
var t = {
x: e.x ?? 0,
@@ -68198,7 +68233,7 @@ function VRe(e) {
upperWidth: 0,
height: 0
};
- return _4(_4({}, t), {}, {
+ return g4(g4({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: void 0,
@@ -68206,11 +68241,11 @@ function VRe(e) {
fill: void 0
});
});
- return /*#__PURE__*/ R.createElement(o1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ R.createElement(a1, { value: t ? i : void 0 }, n);
}
-function y4(e) {
- var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = h4(a, MRe), p = WR(f), m = KR(f);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, t?.length > 1 && /*#__PURE__*/ R.createElement(XR, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ R.createElement(wG, m4({}, m, {
+function v4(e) {
+ var { points: t, baseLine: n, needClip: r, clipPathId: i, props: a } = e, { layout: o, type: s, stroke: c, connectNulls: l, isRange: u } = a, { id: d } = a, f = m4(a, PRe), p = UR(f), m = GR(f);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, t?.length > 1 && /*#__PURE__*/ R.createElement(YR, { clipPath: r ? `url(#clipPath-${i})` : void 0 }, /*#__PURE__*/ R.createElement(CG, p4({}, m, {
id: d,
points: t,
connectNulls: l,
@@ -68219,29 +68254,29 @@ function y4(e) {
layout: o,
stroke: "none",
className: "recharts-area-area"
- })), c !== "none" && /*#__PURE__*/ R.createElement(wG, m4({}, p, {
+ })), c !== "none" && /*#__PURE__*/ R.createElement(CG, p4({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: t
- })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ R.createElement(wG, m4({}, p, {
+ })), c !== "none" && u && Array.isArray(n) && /*#__PURE__*/ R.createElement(CG, p4({}, p, {
className: "recharts-area-curve",
layout: o,
type: s,
connectNulls: l,
fill: "none",
points: n
- }))), /*#__PURE__*/ R.createElement(BRe, {
+ }))), /*#__PURE__*/ R.createElement(HRe, {
points: t,
props: f,
clipPathId: i
}));
}
-function HRe(e) {
+function WRe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.y, o = r[r.length - 1]?.y;
- if (!lU(a) || !lU(o)) return null;
+ if (!cU(a) || !cU(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.x || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.x || 0), c)), Z(c) ? /*#__PURE__*/ R.createElement("rect", {
x: 0,
@@ -68250,9 +68285,9 @@ function HRe(e) {
height: Math.floor(s)
}) : null;
}
-function URe(e) {
+function GRe(e) {
var { alpha: t, baseLine: n, points: r, strokeWidth: i } = e, a = r[0]?.x, o = r[r.length - 1]?.x;
- if (!lU(a) || !lU(o)) return null;
+ if (!cU(a) || !cU(o)) return null;
var s = t * Math.abs(a - o), c = Math.max(...r.map((e) => e.y || 0));
return Z(n) ? c = Math.max(n, c) : n && Array.isArray(n) && n.length && (c = Math.max(...n.map((e) => e.y || 0), c)), Z(c) ? /*#__PURE__*/ R.createElement("rect", {
x: a < o ? a : a - s,
@@ -68261,35 +68296,35 @@ function URe(e) {
height: Math.floor(c + (i ? parseInt(`${i}`, 10) : 1))
}) : null;
}
-function WRe(e) {
+function KRe(e) {
var { alpha: t, layout: n, points: r, baseLine: i, strokeWidth: a } = e;
- return n === "vertical" ? /*#__PURE__*/ R.createElement(HRe, {
+ return n === "vertical" ? /*#__PURE__*/ R.createElement(WRe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
- }) : /*#__PURE__*/ R.createElement(URe, {
+ }) : /*#__PURE__*/ R.createElement(GRe, {
alpha: t,
points: r,
baseLine: i,
strokeWidth: a
});
}
-function GRe(e) {
- var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = UG((0, R.useMemo)(() => ({
+function qRe(e) {
+ var { needClip: t, clipPathId: n, props: r, previousPointsRef: i, previousBaselineRef: a } = e, { points: o, baseLine: s, isAnimationActive: c, animationBegin: l, animationDuration: u, animationEasing: d, onAnimationStart: f, onAnimationEnd: p } = r, m = HG((0, R.useMemo)(() => ({
points: o,
baseLine: s
- }), [o, s]), "recharts-area-"), h = nW(), [g, _] = (0, R.useState)(!1), v = !g, y = (0, R.useCallback)(() => {
+ }), [o, s]), "recharts-area-"), h = tW(), [g, _] = (0, R.useState)(!1), v = !g, y = (0, R.useCallback)(() => {
typeof p == "function" && p(), _(!1);
}, [p]), b = (0, R.useCallback)(() => {
typeof f == "function" && f(), _(!0);
}, [f]);
if (h == null) return null;
var x = i.current, S = a.current;
- return /*#__PURE__*/ R.createElement(VRe, {
+ return /*#__PURE__*/ R.createElement(URe, {
showLabels: v,
points: o
- }, r.children, /*#__PURE__*/ R.createElement(HG, {
+ }, r.children, /*#__PURE__*/ R.createElement(VG, {
animationId: m,
begin: l,
duration: u,
@@ -68304,24 +68339,24 @@ function GRe(e) {
var r = Math.floor(n * l);
if (x[r]) {
var i = x[r];
- return _4(_4({}, t), {}, {
- x: aB(i.x, t.x, e),
- y: aB(i.y, t.y, e)
+ return g4(g4({}, t), {}, {
+ x: iB(i.x, t.x, e),
+ y: iB(i.y, t.y, e)
});
}
return t;
- }), d = Z(s) ? aB(S, s, e) : sB(s) || $z(s) ? aB(S, 0, e) : s.map((t, n) => {
+ }), d = Z(s) ? iB(S, s, e) : oB(s) || Qz(s) ? iB(S, 0, e) : s.map((t, n) => {
var r = Math.floor(n * l);
if (Array.isArray(S) && S[r]) {
var i = S[r];
- return _4(_4({}, t), {}, {
- x: aB(i.x, t.x, e),
- y: aB(i.y, t.y, e)
+ return g4(g4({}, t), {}, {
+ x: iB(i.x, t.x, e),
+ y: iB(i.y, t.y, e)
});
}
return t;
});
- return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ R.createElement(y4, {
+ return e > 0 && (i.current = u, a.current = d), /*#__PURE__*/ R.createElement(v4, {
points: u,
baseLine: d,
needClip: t,
@@ -68329,24 +68364,24 @@ function GRe(e) {
props: r
});
}
- return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ R.createElement(XR, null, c && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ R.createElement(WRe, {
+ return e > 0 && (i.current = o, a.current = s), /*#__PURE__*/ R.createElement(YR, null, c && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement("clipPath", { id: `animationClipPath-${n}` }, /*#__PURE__*/ R.createElement(KRe, {
alpha: e,
points: o,
baseLine: s,
layout: h,
strokeWidth: r.strokeWidth
- }))), /*#__PURE__*/ R.createElement(XR, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ R.createElement(y4, {
+ }))), /*#__PURE__*/ R.createElement(YR, { clipPath: `url(#animationClipPath-${n})` }, /*#__PURE__*/ R.createElement(v4, {
points: o,
baseLine: s,
needClip: t,
clipPathId: n,
props: r
})));
- }), /*#__PURE__*/ R.createElement(l1, { label: r.label }));
+ }), /*#__PURE__*/ R.createElement(c1, { label: r.label }));
}
-function KRe(e) {
+function JRe(e) {
var { needClip: t, clipPathId: n, props: r } = e, i = (0, R.useRef)(null), a = (0, R.useRef)();
- return /*#__PURE__*/ R.createElement(GRe, {
+ return /*#__PURE__*/ R.createElement(qRe, {
needClip: t,
clipPathId: n,
props: r,
@@ -68354,12 +68389,12 @@ function KRe(e) {
previousBaselineRef: a
});
}
-var qRe = class extends R.PureComponent {
+var YRe = class extends R.PureComponent {
render() {
var { hide: e, dot: t, points: n, className: r, top: i, left: a, needClip: o, xAxisId: s, yAxisId: c, width: l, height: u, id: d, baseLine: f, zIndex: p } = this.props;
if (e) return null;
- var m = Sh("recharts-area", r), h = d, { r: g, strokeWidth: _ } = Z2(t), v = $1(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: p }, /*#__PURE__*/ R.createElement(XR, { className: m }, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(K2, {
+ var m = Sh("recharts-area", r), h = d, { r: g, strokeWidth: _ } = X2(t), v = Q1(t), y = g * 2 + _, b = o ? `url(#clipPath-${v ? "" : "dots-"}${h})` : void 0;
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: p }, /*#__PURE__*/ R.createElement(YR, { className: m }, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(G2, {
clipPathId: h,
xAxisId: s,
yAxisId: c
@@ -68368,25 +68403,25 @@ var qRe = class extends R.PureComponent {
y: i - y / 2,
width: l + y,
height: u + y
- }))), /*#__PURE__*/ R.createElement(KRe, {
+ }))), /*#__PURE__*/ R.createElement(JRe, {
needClip: o,
clipPathId: h,
props: this.props
- })), /*#__PURE__*/ R.createElement(k0, {
+ })), /*#__PURE__*/ R.createElement(O0, {
points: n,
- mainColor: v4(this.props.stroke, this.props.fill),
+ mainColor: _4(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: b
- }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ R.createElement(k0, {
+ }), this.props.isRange && Array.isArray(f) && /*#__PURE__*/ R.createElement(O0, {
points: f,
- mainColor: v4(this.props.stroke, this.props.fill),
+ mainColor: _4(this.props.stroke, this.props.fill),
itemDataKey: this.props.dataKey,
activeDot: this.props.activeDot,
clipPath: b
}));
}
-}, JRe = {
+}, XRe = {
activeDot: !0,
animationBegin: 0,
animationDuration: 1500,
@@ -68404,13 +68439,13 @@ var qRe = class extends R.PureComponent {
label: !1,
xAxisId: 0,
yAxisId: 0,
- zIndex: LK.area
+ zIndex: IK.area
};
-function YRe(e) {
- var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = h4(e, NRe), g = tW(), _ = BQ(), { needClip: v } = G2(p, m), y = IU(), { points: b, isRange: x, baseLine: S } = Q((t) => jRe(t, e.id, y)) ?? {}, C = E0();
+function ZRe(e) {
+ var { activeDot: t, animationBegin: n, animationDuration: r, animationEasing: i, connectNulls: a, dot: o, fill: s, fillOpacity: c, hide: l, isAnimationActive: u, legendType: d, stroke: f, xAxisId: p, yAxisId: m } = e, h = m4(e, FRe), g = eW(), _ = zQ(), { needClip: v } = W2(p, m), y = FU(), { points: b, isRange: x, baseLine: S } = Q((t) => NRe(t, e.id, y)) ?? {}, C = T0();
if (g !== "horizontal" && g !== "vertical" || C == null || _ !== "AreaChart" && _ !== "ComposedChart") return null;
var { height: w, width: T, x: E, y: D } = C;
- return !b || !b.length ? null : /*#__PURE__*/ R.createElement(qRe, m4({}, h, {
+ return !b || !b.length ? null : /*#__PURE__*/ R.createElement(YRe, p4({}, h, {
activeDot: t,
animationBegin: n,
animationDuration: r,
@@ -68436,7 +68471,7 @@ function YRe(e) {
yAxisId: m
}));
}
-var XRe = (e, t, n, r, i) => {
+var QRe = (e, t, n, r, i) => {
var a = n ?? t;
if (Z(a)) return a;
var o = e === "horizontal" ? i : r, s = o.scale.domain();
@@ -68446,17 +68481,17 @@ var XRe = (e, t, n, r, i) => {
}
return a === "dataMin" ? s[0] : a === "dataMax" ? s[1] : s[0];
};
-function ZRe(e) {
- var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = XRe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
+function $Re(e) {
+ var { areaSettings: { connectNulls: t, baseValue: n, dataKey: r }, stackedData: i, layout: a, chartBaseValue: o, xAxis: s, yAxis: c, displayedData: l, dataStartIndex: u, xAxisTicks: d, yAxisTicks: f, bandSize: p } = e, m = i && i.length, h = QRe(a, o, n, s, c), g = a === "horizontal", _ = !1, v = l.map((e, n) => {
var a;
if (m) a = i[u + n];
else {
- var o = pU(e, r);
+ var o = fU(e, r);
Array.isArray(o) ? (a = o, _ = !0) : a = [h, o];
}
- var l = a?.[1] ?? null, v = l == null || m && !t && pU(e, r) == null;
+ var l = a?.[1] ?? null, v = l == null || m && !t && fU(e, r) == null;
return g ? {
- x: yU({
+ x: vU({
axis: s,
ticks: d,
bandSize: p,
@@ -68468,7 +68503,7 @@ function ZRe(e) {
payload: e
} : {
x: v ? null : s.scale.map(l) ?? null,
- y: yU({
+ y: vU({
axis: c,
ticks: f,
bandSize: p,
@@ -68496,12 +68531,12 @@ function ZRe(e) {
isRange: _
};
}
-function QRe(e) {
- var t = bB(e, JRe), n = IU();
- return /*#__PURE__*/ R.createElement(h0, {
+function eze(e) {
+ var t = yB(e, XRe), n = FU();
+ return /*#__PURE__*/ R.createElement(m0, {
id: t.id,
type: "area"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(p0, { legendPayload: RRe(t) }), /*#__PURE__*/ R.createElement(zRe, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: BRe(t) }), /*#__PURE__*/ R.createElement(VRe, {
dataKey: t.dataKey,
data: t.data,
stroke: t.stroke,
@@ -68512,7 +68547,7 @@ function QRe(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ R.createElement(_0, {
+ }), /*#__PURE__*/ R.createElement(g0, {
type: "area",
id: e,
data: t.data,
@@ -68520,115 +68555,115 @@ function QRe(e) {
xAxisId: t.xAxisId,
yAxisId: t.yAxisId,
zAxisId: 0,
- stackId: vU(t.stackId),
+ stackId: _U(t.stackId),
hide: t.hide,
barSize: void 0,
baseValue: t.baseValue,
isPanorama: n,
connectNulls: t.connectNulls
- }), /*#__PURE__*/ R.createElement(YRe, m4({}, t, { id: e }))));
+ }), /*#__PURE__*/ R.createElement(ZRe, p4({}, t, { id: e }))));
}
-var b4 = /*#__PURE__*/ R.memo(QRe, $W);
-b4.displayName = "Area";
+var y4 = /*#__PURE__*/ R.memo(eze, QW);
+y4.displayName = "Area";
//#endregion
//#region node_modules/tiny-invariant/dist/esm/tiny-invariant.js
-var $Re = "Invariant failed";
-function eze(e, t) {
- if (!e) throw Error($Re);
+var tze = "Invariant failed";
+function nze(e, t) {
+ if (!e) throw Error(tze);
}
//#endregion
//#region node_modules/recharts/es6/util/BarUtils.js
-function x4() {
- return x4 = Object.assign ? Object.assign.bind() : function(e) {
+function b4() {
+ return b4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, x4.apply(null, arguments);
+ }, b4.apply(null, arguments);
}
-function S4(e) {
- return /*#__PURE__*/ R.createElement(c0, x4({
+function x4(e) {
+ return /*#__PURE__*/ R.createElement(s0, b4({
shapeType: "rectangle",
activeClassName: "recharts-active-bar",
inActiveClassName: "recharts-inactive-bar"
}, e));
}
-var tze = function(e) {
+var rze = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
return (n, r) => {
if (Z(e)) return e;
- var i = Z(n) || sB(n);
- return i ? e(n, r) : (!i && eze(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
+ var i = Z(n) || oB(n);
+ return i ? e(n, r) : (!i && nze(!1, `minPointSize callback function received a value with type of ${typeof n}. Currently only numbers or null/undefined are supported.`), t);
};
-}, nze = (e, t, n) => n, C4 = $([zX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), rze = $([C4], (e) => e?.maxBarSize), ize = (e, t, n, r) => r, aze = $([
- eW,
- zX,
+}, ize = (e, t, n) => n, S4 = $([RX, (e, t) => t], (e, t) => e.filter((e) => e.type === "bar").find((e) => e.id === t)), aze = $([S4], (e) => e?.maxBarSize), oze = (e, t, n, r) => r, sze = $([
+ $U,
+ RX,
+ a4,
o4,
- s4,
- nze
-], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), oze = (e, t, n) => {
- var r = eW(e), i = o4(e, t), a = s4(e, t);
- if (i != null && a != null) return r === "horizontal" ? nZ(e, "yAxis", a, n) : nZ(e, "xAxis", i, n);
-}, sze = $([
- aze,
- AK,
+ ize
+], (e, t, n, r, i) => t.filter((t) => e === "horizontal" ? t.xAxisId === n : t.yAxisId === r).filter((e) => e.isPanorama === i).filter((e) => e.hide === !1).filter((e) => e.type === "bar")), cze = (e, t, n) => {
+ var r = $U(e), i = a4(e, t), a = o4(e, t);
+ if (i != null && a != null) return r === "horizontal" ? tZ(e, "yAxis", a, n) : tZ(e, "xAxis", i, n);
+}, lze = $([
+ sze,
+ kK,
(e, t) => {
- var n = eW(e), r = o4(e, t), i = s4(e, t);
- if (r != null && i != null) return n === "horizontal" ? LZ(e, "xAxis", r) : LZ(e, "yAxis", i);
+ var n = $U(e), r = a4(e, t), i = o4(e, t);
+ if (r != null && i != null) return n === "horizontal" ? IZ(e, "xAxis", r) : IZ(e, "yAxis", i);
}
-], G0), cze = (e, t, n) => {
- var r = C4(e, t);
+], W0), uze = (e, t, n) => {
+ var r = S4(e, t);
if (r == null) return 0;
- var i = o4(e, t), a = s4(e, t);
+ var i = a4(e, t), a = o4(e, t);
if (i == null || a == null) return 0;
- var o = eW(e), s = DK(e), { maxBarSize: c } = r, l = sB(c) ? s : c, u, d;
- return o === "horizontal" ? (u = GZ(e, "xAxis", i, n), d = WZ(e, "xAxis", i, n)) : (u = GZ(e, "yAxis", a, n), d = WZ(e, "yAxis", a, n)), wU(u, d, !0) ?? l ?? 0;
-}, w4 = (e, t, n) => {
- var r = eW(e), i = o4(e, t), a = s4(e, t);
+ var o = $U(e), s = EK(e), { maxBarSize: c } = r, l = oB(c) ? s : c, u, d;
+ return o === "horizontal" ? (u = WZ(e, "xAxis", i, n), d = UZ(e, "xAxis", i, n)) : (u = WZ(e, "yAxis", a, n), d = UZ(e, "yAxis", a, n)), CU(u, d, !0) ?? l ?? 0;
+}, C4 = (e, t, n) => {
+ var r = $U(e), i = a4(e, t), a = o4(e, t);
if (i != null && a != null) {
var o, s;
- return r === "horizontal" ? (o = GZ(e, "xAxis", i, n), s = WZ(e, "xAxis", i, n)) : (o = GZ(e, "yAxis", a, n), s = WZ(e, "yAxis", a, n)), wU(o, s);
+ return r === "horizontal" ? (o = WZ(e, "xAxis", i, n), s = UZ(e, "xAxis", i, n)) : (o = WZ(e, "yAxis", a, n), s = UZ(e, "yAxis", a, n)), CU(o, s);
}
-}, lze = $([
+}, dze = $([
+ NU,
PU,
- FU,
(e, t, n) => {
- var r = o4(e, t);
- if (r != null) return GZ(e, "xAxis", r, n);
+ var r = a4(e, t);
+ if (r != null) return WZ(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = s4(e, t);
- if (r != null) return GZ(e, "yAxis", r, n);
+ var r = o4(e, t);
+ if (r != null) return WZ(e, "yAxis", r, n);
},
(e, t, n) => {
- var r = o4(e, t);
- if (r != null) return WZ(e, "xAxis", r, n);
+ var r = a4(e, t);
+ if (r != null) return UZ(e, "xAxis", r, n);
},
(e, t, n) => {
- var r = s4(e, t);
- if (r != null) return WZ(e, "yAxis", r, n);
+ var r = o4(e, t);
+ if (r != null) return UZ(e, "yAxis", r, n);
},
$([$([
- sze,
+ lze,
+ EK,
DK,
OK,
- kK,
- cze,
- w4,
- rze
- ], J0), C4], X0),
- eW,
- mK,
- w4,
- $([oze, C4], Y0),
+ uze,
+ C4,
+ aze
+ ], q0), S4], Y0),
+ $U,
+ pK,
C4,
- ize
+ $([cze, S4], J0),
+ S4,
+ oze
], (e, t, n, r, i, a, o, s, c, l, u, d, f) => {
var { chartData: p, dataStartIndex: m, dataEndIndex: h } = c;
if (!(d == null || o == null || t == null || s !== "horizontal" && s !== "vertical" || n == null || r == null || i == null || a == null || l == null)) {
var { data: g } = d, _ = g != null && g.length > 0 ? g : p?.slice(m, h + 1);
- if (_ != null) return Lze({
+ if (_ != null) return zze({
layout: s,
barSettings: d,
pos: o,
@@ -68645,26 +68680,26 @@ var tze = function(e) {
dataStartIndex: m
});
}
-}), uze = ["index"];
-function T4() {
- return T4 = Object.assign ? Object.assign.bind() : function(e) {
+}), fze = ["index"];
+function w4() {
+ return w4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, T4.apply(null, arguments);
+ }, w4.apply(null, arguments);
}
-function dze(e, t) {
+function pze(e, t) {
if (e == null) return {};
- var n, r, i = fze(e, t);
+ var n, r, i = mze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function fze(e, t) {
+function mze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68673,45 +68708,45 @@ function fze(e, t) {
}
return n;
}
-var E4 = /*#__PURE__*/ (0, R.createContext)(void 0), pze = (e) => {
- var t = (0, R.useContext)(E4);
+var T4 = /*#__PURE__*/ (0, R.createContext)(void 0), hze = (e) => {
+ var t = (0, R.useContext)(T4);
if (t != null) return t.stackId;
- if (e != null) return vU(e);
-}, mze = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, hze = (e) => {
- var t = (0, R.useContext)(E4);
+ if (e != null) return _U(e);
+}, gze = (e, t) => `recharts-bar-stack-clip-path-${e}-${t}`, _ze = (e) => {
+ var t = (0, R.useContext)(T4);
if (t != null) {
var { stackId: n } = t;
- return `url(#${mze(n, e)})`;
+ return `url(#${gze(n, e)})`;
}
-}, D4 = (e) => {
- var { index: t } = e, n = dze(e, uze), r = hze(t);
- return /*#__PURE__*/ R.createElement(XR, T4({
+}, E4 = (e) => {
+ var { index: t } = e, n = pze(e, fze), r = _ze(t);
+ return /*#__PURE__*/ R.createElement(YR, w4({
className: "recharts-bar-stack-layer",
clipPath: r
}, n));
-}, gze = [
+}, vze = [
"onMouseEnter",
"onMouseLeave",
"onClick"
-], _ze = [
+], yze = [
"value",
"background",
"tooltipPosition"
-], vze = ["id"], yze = [
+], bze = ["id"], xze = [
"onMouseEnter",
"onClick",
"onMouseLeave"
];
-function O4() {
- return O4 = Object.assign ? Object.assign.bind() : function(e) {
+function D4() {
+ return D4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, O4.apply(null, arguments);
+ }, D4.apply(null, arguments);
}
-function k4(e, t) {
+function O4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -68721,30 +68756,30 @@ function k4(e, t) {
}
return n;
}
-function A4(e) {
+function k4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? k4(Object(n), !0).forEach(function(t) {
- bze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : k4(Object(n)).forEach(function(t) {
+ t % 2 ? O4(Object(n), !0).forEach(function(t) {
+ Sze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : O4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function bze(e, t, n) {
- return (t = xze(t)) in e ? Object.defineProperty(e, t, {
+function Sze(e, t, n) {
+ return (t = Cze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function xze(e) {
- var t = Sze(e, "string");
+function Cze(e) {
+ var t = wze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Sze(e, t) {
+function wze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -68754,16 +68789,16 @@ function Sze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function j4(e, t) {
+function A4(e, t) {
if (e == null) return {};
- var n, r, i = Cze(e, t);
+ var n, r, i = Tze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Cze(e, t) {
+function Tze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -68772,27 +68807,27 @@ function Cze(e, t) {
}
return n;
}
-var wze = (e) => {
+var Eze = (e) => {
var { dataKey: t, name: n, fill: r, legendType: i, hide: a } = e;
return [{
inactive: a,
dataKey: t,
type: i,
color: r,
- value: EU(n, t),
+ value: TU(n, t),
payload: e
}];
-}, Tze = /*#__PURE__*/ R.memo((e) => {
+}, Dze = /*#__PURE__*/ R.memo((e) => {
var { dataKey: t, stroke: n, strokeWidth: r, fill: i, name: a, hide: o, unit: s, tooltipType: c, id: l } = e, u = {
dataDefinedOnItem: void 0,
- getPosition: uB,
+ getPosition: lB,
settings: {
stroke: n,
strokeWidth: r,
fill: i,
dataKey: t,
nameKey: void 0,
- name: EU(a, t),
+ name: TU(a, t),
hide: o,
type: c,
color: i,
@@ -68800,19 +68835,19 @@ var wze = (e) => {
graphicalItemId: l
}
};
- return /*#__PURE__*/ R.createElement(f0, { tooltipEntrySettings: u });
+ return /*#__PURE__*/ R.createElement(d0, { tooltipEntrySettings: u });
});
-function Eze(e) {
- var t = Q(jQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = j4(a, gze), u = l0(o, r, a.id), d = u0(s), f = d0(c, r, a.id);
+function Oze(e) {
+ var t = Q(AQ), { data: n, dataKey: r, background: i, allOtherBarProps: a } = e, { onMouseEnter: o, onMouseLeave: s, onClick: c } = a, l = A4(a, vze), u = c0(o, r, a.id), d = l0(s), f = u0(c, r, a.id);
if (!i || n == null) return null;
- var p = GR(i);
- return /*#__PURE__*/ R.createElement(QQ, { zIndex: l2(i, LK.barBackground) }, n.map((e, n) => {
- var { value: a, background: o, tooltipPosition: s } = e, c = j4(e, _ze);
+ var p = WR(i);
+ return /*#__PURE__*/ R.createElement(ZQ, { zIndex: c2(i, IK.barBackground) }, n.map((e, n) => {
+ var { value: a, background: o, tooltipPosition: s } = e, c = A4(e, yze);
if (!o) return null;
- var m = u(e, n), h = d(e, n), g = f(e, n), _ = A4(A4(A4(A4(A4({
+ var m = u(e, n), h = d(e, n), g = f(e, n), _ = k4(k4(k4(k4(k4({
option: i,
isActive: String(n) === t
- }, c), {}, { fill: "#eee" }, o), p), vB(l, e, n)), {}, {
+ }, c), {}, { fill: "#eee" }, o), p), _B(l, e, n)), {}, {
onMouseEnter: m,
onMouseLeave: h,
onClick: g,
@@ -68820,10 +68855,10 @@ function Eze(e) {
index: n,
className: "recharts-bar-background-rectangle"
});
- return /*#__PURE__*/ R.createElement(S4, O4({ key: `background-bar-${n}` }, _));
+ return /*#__PURE__*/ R.createElement(x4, D4({ key: `background-bar-${n}` }, _));
}));
}
-function Dze(e) {
+function kze(e) {
var { showLabels: t, children: n, rects: r } = e, i = r?.map((e) => {
var t = {
x: e.x,
@@ -68833,7 +68868,7 @@ function Dze(e) {
upperWidth: e.width,
height: e.height
};
- return A4(A4({}, t), {}, {
+ return k4(k4({}, t), {}, {
value: e.value,
payload: e.payload,
parentViewBox: e.parentViewBox,
@@ -68841,10 +68876,10 @@ function Dze(e) {
fill: e.fill
});
});
- return /*#__PURE__*/ R.createElement(o1, { value: t ? i : void 0 }, n);
+ return /*#__PURE__*/ R.createElement(a1, { value: t ? i : void 0 }, n);
}
-function Oze(e) {
- var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(jQ), c = Q(NQ), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, R.useState)(!1), [f, p] = (0, R.useState)(!1);
+function Aze(e) {
+ var { shape: t, activeBar: n, baseProps: r, entry: i, index: a, dataKey: o } = e, s = Q(AQ), c = Q(MQ), l = n && String(i.originalDataIndex) === s && (c == null || o === c), [u, d] = (0, R.useState)(!1), [f, p] = (0, R.useState)(!1);
(0, R.useEffect)(() => {
var e;
return l ? (d(!0), e = requestAnimationFrame(() => {
@@ -68855,42 +68890,42 @@ function Oze(e) {
}, [l]);
var m = (0, R.useCallback)(() => {
l || d(!1);
- }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ R.createElement(S4, O4({}, r, { name: String(r.name) }, i, {
+ }, [l]), h = l && f, g = l || u, _ = l ? n === !0 ? t : n : t, v = /*#__PURE__*/ R.createElement(x4, D4({}, r, { name: String(r.name) }, i, {
isActive: h,
option: _,
index: a,
dataKey: o,
onTransitionEnd: m
}));
- return g ? /*#__PURE__*/ R.createElement(QQ, { zIndex: LK.activeBar }, /*#__PURE__*/ R.createElement(D4, { index: i.originalDataIndex }, v)) : v;
+ return g ? /*#__PURE__*/ R.createElement(ZQ, { zIndex: IK.activeBar }, /*#__PURE__*/ R.createElement(E4, { index: i.originalDataIndex }, v)) : v;
}
-function kze(e) {
+function jze(e) {
var { shape: t, baseProps: n, entry: r, index: i, dataKey: a } = e;
- return /*#__PURE__*/ R.createElement(S4, O4({}, n, { name: String(n.name) }, r, {
+ return /*#__PURE__*/ R.createElement(x4, D4({}, n, { name: String(n.name) }, r, {
isActive: !1,
option: t,
index: i,
dataKey: a
}));
}
-function Aze(e) {
- var { data: t, props: n } = e, r = WR(n) ?? {}, { id: i } = r, a = j4(r, vze), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = j4(n, yze), p = l0(l, s, i), m = u0(d), h = d0(u, s, i);
- return t ? /*#__PURE__*/ R.createElement(R.Fragment, null, t.map((e, t) => /*#__PURE__*/ R.createElement(D4, O4({
+function Mze(e) {
+ var { data: t, props: n } = e, r = UR(n) ?? {}, { id: i } = r, a = A4(r, bze), { shape: o, dataKey: s, activeBar: c } = n, { onMouseEnter: l, onClick: u, onMouseLeave: d } = n, f = A4(n, xze), p = c0(l, s, i), m = l0(d), h = u0(u, s, i);
+ return t ? /*#__PURE__*/ R.createElement(R.Fragment, null, t.map((e, t) => /*#__PURE__*/ R.createElement(E4, D4({
index: e.originalDataIndex,
key: `rectangle-${e?.x}-${e?.y}-${e?.value}-${t}`,
className: "recharts-bar-rectangle"
- }, vB(f, e, t), {
+ }, _B(f, e, t), {
onMouseEnter: p(e, t),
onMouseLeave: m(e, t),
onClick: h(e, t)
- }), c ? /*#__PURE__*/ R.createElement(Oze, {
+ }), c ? /*#__PURE__*/ R.createElement(Aze, {
shape: o,
activeBar: c,
baseProps: a,
entry: e,
index: t,
dataKey: s
- }) : /*#__PURE__*/ R.createElement(kze, {
+ }) : /*#__PURE__*/ R.createElement(jze, {
shape: o,
baseProps: a,
entry: e,
@@ -68898,16 +68933,16 @@ function Aze(e) {
dataKey: s
})))) : null;
}
-function jze(e) {
- var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = UG(t, "recharts-bar-"), [p, m] = (0, R.useState)(!1), h = !p, g = (0, R.useCallback)(() => {
+function Nze(e) {
+ var { props: t, previousRectanglesRef: n } = e, { data: r, layout: i, isAnimationActive: a, animationBegin: o, animationDuration: s, animationEasing: c, onAnimationEnd: l, onAnimationStart: u } = t, d = n.current, f = HG(t, "recharts-bar-"), [p, m] = (0, R.useState)(!1), h = !p, g = (0, R.useCallback)(() => {
typeof l == "function" && l(), m(!1);
}, [l]), _ = (0, R.useCallback)(() => {
typeof u == "function" && u(), m(!0);
}, [u]);
- return /*#__PURE__*/ R.createElement(Dze, {
+ return /*#__PURE__*/ R.createElement(kze, {
showLabels: h,
rects: r
- }, /*#__PURE__*/ R.createElement(HG, {
+ }, /*#__PURE__*/ R.createElement(VG, {
animationId: f,
begin: o,
duration: s,
@@ -68919,69 +68954,69 @@ function jze(e) {
}, (e) => {
var a = e === 1 ? r : r?.map((t, n) => {
var r = d && d[n];
- if (r) return A4(A4({}, t), {}, {
- x: aB(r.x, t.x, e),
- y: aB(r.y, t.y, e),
- width: aB(r.width, t.width, e),
- height: aB(r.height, t.height, e)
+ if (r) return k4(k4({}, t), {}, {
+ x: iB(r.x, t.x, e),
+ y: iB(r.y, t.y, e),
+ width: iB(r.width, t.width, e),
+ height: iB(r.height, t.height, e)
});
if (i === "horizontal") {
- var a = aB(0, t.height, e), o = aB(t.stackedBarStart, t.y, e);
- return A4(A4({}, t), {}, {
+ var a = iB(0, t.height, e), o = iB(t.stackedBarStart, t.y, e);
+ return k4(k4({}, t), {}, {
y: o,
height: a
});
}
- var s = aB(0, t.width, e), c = aB(t.stackedBarStart, t.x, e);
- return A4(A4({}, t), {}, {
+ var s = iB(0, t.width, e), c = iB(t.stackedBarStart, t.x, e);
+ return k4(k4({}, t), {}, {
width: s,
x: c
});
});
- return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ R.createElement(XR, null, /*#__PURE__*/ R.createElement(Aze, {
+ return e > 0 && (n.current = a ?? null), a == null ? null : /*#__PURE__*/ R.createElement(YR, null, /*#__PURE__*/ R.createElement(Mze, {
props: t,
data: a
}));
- }), /*#__PURE__*/ R.createElement(l1, { label: t.label }), t.children);
+ }), /*#__PURE__*/ R.createElement(c1, { label: t.label }), t.children);
}
-function Mze(e) {
+function Pze(e) {
var t = (0, R.useRef)(null);
- return /*#__PURE__*/ R.createElement(jze, {
+ return /*#__PURE__*/ R.createElement(Nze, {
previousRectanglesRef: t,
props: e
});
}
-var M4 = 0, Nze = (e, t) => {
+var j4 = 0, Fze = (e, t) => {
var n = Array.isArray(e.value) ? e.value[1] : e.value;
return {
x: e.x,
y: e.y,
value: n,
- errorVal: pU(e, t)
+ errorVal: fU(e, t)
};
-}, Pze = class extends R.PureComponent {
+}, Ize = class extends R.PureComponent {
render() {
var { hide: e, data: t, dataKey: n, className: r, xAxisId: i, yAxisId: a, needClip: o, background: s, id: c } = this.props;
if (e || t == null) return null;
var l = Sh("recharts-bar", r), u = c;
- return /*#__PURE__*/ R.createElement(XR, {
+ return /*#__PURE__*/ R.createElement(YR, {
className: l,
id: c
- }, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(K2, {
+ }, o && /*#__PURE__*/ R.createElement("defs", null, /*#__PURE__*/ R.createElement(G2, {
clipPathId: u,
xAxisId: i,
yAxisId: a
- })), /*#__PURE__*/ R.createElement(XR, {
+ })), /*#__PURE__*/ R.createElement(YR, {
className: "recharts-bar-rectangles",
clipPath: o ? `url(#clipPath-${u})` : void 0
- }, /*#__PURE__*/ R.createElement(Eze, {
+ }, /*#__PURE__*/ R.createElement(Oze, {
data: t,
dataKey: n,
background: s,
allOtherBarProps: this.props
- }), /*#__PURE__*/ R.createElement(Mze, this.props)));
+ }), /*#__PURE__*/ R.createElement(Pze, this.props)));
}
-}, Fze = {
+}, Lze = {
activeBar: !1,
animationBegin: 0,
animationDuration: 400,
@@ -68991,22 +69026,22 @@ var M4 = 0, Nze = (e, t) => {
isAnimationActive: "auto",
label: !1,
legendType: "rect",
- minPointSize: M4,
+ minPointSize: j4,
xAxisId: 0,
yAxisId: 0,
- zIndex: LK.bar
+ zIndex: IK.bar
};
-function Ize(e) {
- var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = G2(t, n), f = tW(), p = IU(), m = Q1(e.children, h$), h = Q((t) => lze(t, e.id, p, m));
+function Rze(e) {
+ var { xAxisId: t, yAxisId: n, hide: r, legendType: i, minPointSize: a, activeBar: o, animationBegin: s, animationDuration: c, animationEasing: l, isAnimationActive: u } = e, { needClip: d } = W2(t, n), f = eW(), p = FU(), m = Z1(e.children, m$), h = Q((t) => dze(t, e.id, p, m));
if (f !== "vertical" && f !== "horizontal") return null;
var g, _ = h?.[0];
- return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ R.createElement(W2, {
+ return g = _ == null || _.height == null || _.width == null ? 0 : f === "vertical" ? _.height / 2 : _.width / 2, /*#__PURE__*/ R.createElement(U2, {
xAxisId: t,
yAxisId: n,
data: h,
- dataPointFormatter: Nze,
+ dataPointFormatter: Fze,
errorBarOffset: g
- }, /*#__PURE__*/ R.createElement(Pze, O4({}, e, {
+ }, /*#__PURE__*/ R.createElement(Ize, D4({}, e, {
layout: f,
needClip: d,
data: h,
@@ -69022,20 +69057,20 @@ function Ize(e) {
isAnimationActive: u
})));
}
-function Lze(e) {
- var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = xU({ numericAxis: _ }), b = _.scale.map(y);
+function zze(e) {
+ var { layout: t, barSettings: { dataKey: n, minPointSize: r, hasCustomShape: i }, pos: a, bandSize: o, xAxis: s, yAxis: c, xAxisTicks: l, yAxisTicks: u, stackedData: d, displayedData: f, offset: p, cells: m, parentViewBox: h, dataStartIndex: g } = e, _ = t === "horizontal" ? c : s, v = d ? _.scale.domain() : null, y = bU({ numericAxis: _ }), b = _.scale.map(y);
return f.map((e, f) => {
var _, x, S, C, w, T;
if (d) {
var E = d[f + g];
if (E == null) return null;
- _ = _U(E, v);
- } else _ = pU(e, n), Array.isArray(_) || (_ = [y, _]);
- var D = tze(r, M4)(_[1], f);
+ _ = gU(E, v);
+ } else _ = fU(e, n), Array.isArray(_) || (_ = [y, _]);
+ var D = rze(r, j4)(_[1], f);
if (t === "horizontal") {
var O = c.scale.map(_[0]), k = c.scale.map(_[1]);
if (O == null || k == null) return null;
- x = bU({
+ x = yU({
axis: s,
ticks: l,
bandSize: o,
@@ -69044,19 +69079,19 @@ function Lze(e) {
index: f
}), S = k ?? O ?? void 0, C = a.size;
var A = O - k;
- if (w = $z(A) ? 0 : A, T = {
+ if (w = Qz(A) ? 0 : A, T = {
x,
y: p.top,
width: C,
height: p.height
}, Math.abs(D) > 0 && Math.abs(w) < Math.abs(D)) {
- var j = Qz(w || D) * (Math.abs(D) - Math.abs(w));
+ var j = Zz(w || D) * (Math.abs(D) - Math.abs(w));
S -= j, w += j;
}
} else {
var M = s.scale.map(_[0]), N = s.scale.map(_[1]);
if (M == null || N == null) return null;
- if (x = M, S = bU({
+ if (x = M, S = yU({
axis: c,
ticks: u,
bandSize: o,
@@ -69069,11 +69104,11 @@ function Lze(e) {
width: p.width,
height: w
}, Math.abs(D) > 0 && Math.abs(C) < Math.abs(D)) {
- var ee = Qz(C || D) * (Math.abs(D) - Math.abs(C));
+ var ee = Zz(C || D) * (Math.abs(D) - Math.abs(C));
C += ee;
}
}
- return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : A4(A4({}, e), {}, {
+ return x == null || S == null || C == null || w == null || !i && (C === 0 || w === 0) ? null : k4(k4({}, e), {}, {
stackedBarStart: b,
x,
y: S,
@@ -69091,12 +69126,12 @@ function Lze(e) {
}, m && m[f] && m[f].props);
}).filter(Boolean);
}
-function Rze(e) {
- var t = bB(e, Fze), n = pze(t.stackId), r = IU();
- return /*#__PURE__*/ R.createElement(h0, {
+function Bze(e) {
+ var t = yB(e, Lze), n = hze(t.stackId), r = FU();
+ return /*#__PURE__*/ R.createElement(m0, {
id: t.id,
type: "bar"
- }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(p0, { legendPayload: wze(t) }), /*#__PURE__*/ R.createElement(Tze, {
+ }, (e) => /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(f0, { legendPayload: Eze(t) }), /*#__PURE__*/ R.createElement(Dze, {
dataKey: t.dataKey,
stroke: t.stroke,
strokeWidth: t.strokeWidth,
@@ -69106,7 +69141,7 @@ function Rze(e) {
unit: t.unit,
tooltipType: t.tooltipType,
id: e
- }), /*#__PURE__*/ R.createElement(_0, {
+ }), /*#__PURE__*/ R.createElement(g0, {
type: "bar",
id: e,
data: void 0,
@@ -69121,23 +69156,23 @@ function Rze(e) {
maxBarSize: t.maxBarSize,
isPanorama: r,
hasCustomShape: t.shape != null
- }), /*#__PURE__*/ R.createElement(QQ, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(Ize, O4({}, t, { id: e })))));
+ }), /*#__PURE__*/ R.createElement(ZQ, { zIndex: t.zIndex }, /*#__PURE__*/ R.createElement(Rze, D4({}, t, { id: e })))));
}
-var N4 = /*#__PURE__*/ R.memo(Rze, $W);
-N4.displayName = "Bar";
+var M4 = /*#__PURE__*/ R.memo(Bze, QW);
+M4.displayName = "Bar";
//#endregion
//#region node_modules/recharts/es6/util/axisPropsAreEqual.js
-var zze = ["domain", "range"], Bze = ["domain", "range"];
-function P4(e, t) {
+var Vze = ["domain", "range"], Hze = ["domain", "range"];
+function N4(e, t) {
if (e == null) return {};
- var n, r, i = Vze(e, t);
+ var n, r, i = Uze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Vze(e, t) {
+function Uze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69146,31 +69181,31 @@ function Vze(e, t) {
}
return n;
}
-function F4(e, t) {
+function P4(e, t) {
return e === t ? !0 : Array.isArray(e) && e.length === 2 && Array.isArray(t) && t.length === 2 ? e[0] === t[0] && e[1] === t[1] : !1;
}
-function I4(e, t) {
+function F4(e, t) {
if (e === t) return !0;
- var { domain: n, range: r } = e, i = P4(e, zze), { domain: a, range: o } = t, s = P4(t, Bze);
- return !F4(n, a) || !F4(r, o) ? !1 : $W(i, s);
+ var { domain: n, range: r } = e, i = N4(e, Vze), { domain: a, range: o } = t, s = N4(t, Hze);
+ return !P4(n, a) || !P4(r, o) ? !1 : QW(i, s);
}
//#endregion
//#region node_modules/recharts/es6/cartesian/XAxis.js
-var Hze = ["type"], Uze = [
+var Wze = ["type"], Gze = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], Wze = ["id", "scale"];
-function L4() {
- return L4 = Object.assign ? Object.assign.bind() : function(e) {
+], Kze = ["id", "scale"];
+function I4() {
+ return I4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, L4.apply(null, arguments);
+ }, I4.apply(null, arguments);
}
-function R4(e, t) {
+function L4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -69180,30 +69215,30 @@ function R4(e, t) {
}
return n;
}
-function z4(e) {
+function R4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? R4(Object(n), !0).forEach(function(t) {
- Gze(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R4(Object(n)).forEach(function(t) {
+ t % 2 ? L4(Object(n), !0).forEach(function(t) {
+ qze(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : L4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function Gze(e, t, n) {
- return (t = Kze(t)) in e ? Object.defineProperty(e, t, {
+function qze(e, t, n) {
+ return (t = Jze(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function Kze(e) {
- var t = qze(e, "string");
+function Jze(e) {
+ var t = Yze(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function qze(e, t) {
+function Yze(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -69213,16 +69248,16 @@ function qze(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function B4(e, t) {
+function z4(e, t) {
if (e == null) return {};
- var n, r, i = Jze(e, t);
+ var n, r, i = Xze(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function Jze(e, t) {
+function Xze(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69231,24 +69266,24 @@ function Jze(e, t) {
}
return n;
}
-function Yze(e) {
- var t = qB(), n = (0, R.useRef)(null), r = nW(), { type: i } = e, a = B4(e, Hze), o = VK(r, "xAxis", i), s = (0, R.useMemo)(() => {
- if (o != null) return z4(z4({}, a), {}, { type: o });
+function Zze(e) {
+ var t = KB(), n = (0, R.useRef)(null), r = tW(), { type: i } = e, a = z4(e, Wze), o = BK(r, "xAxis", i), s = (0, R.useMemo)(() => {
+ if (o != null) return R4(R4({}, a), {}, { type: o });
}, [a, o]);
return (0, R.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(dFe(s)) : n.current !== s && t(fFe({
+ s != null && (n.current === null ? t(pFe(s)) : n.current !== s && t(mFe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(pFe(n.current)), null);
+ n.current &&= (t(hFe(n.current)), null);
}, [t]), null;
}
-var Xze = (e) => {
- var { xAxisId: t, className: n } = e, r = Q(FU), i = IU(), a = "xAxis", o = Q((e) => HZ(e, a, t, i)), s = Q((e) => FZ(e, t)), c = Q((e) => _Ae(e, t)), l = Q((e) => kX(e, t));
+var Qze = (e) => {
+ var { xAxisId: t, className: n } = e, r = Q(PU), i = FU(), a = "xAxis", o = Q((e) => VZ(e, a, t, i)), s = Q((e) => PZ(e, t)), c = Q((e) => yAe(e, t)), l = Q((e) => OX(e, t));
if (s == null || c == null || l == null) return null;
- var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = B4(e, Uze), { id: m, scale: h } = l, g = B4(l, Wze);
- return /*#__PURE__*/ R.createElement(I2, L4({}, p, g, {
+ var { dangerouslySetInnerHTML: u, ticks: d, scale: f } = e, p = z4(e, Gze), { id: m, scale: h } = l, g = z4(l, Kze);
+ return /*#__PURE__*/ R.createElement(F2, I4({}, p, g, {
x: c.x,
y: c.y,
width: s.width,
@@ -69259,33 +69294,33 @@ var Xze = (e) => {
axisType: a,
axisId: t
}));
-}, Zze = {
- allowDataOverflow: OX.allowDataOverflow,
- allowDecimals: OX.allowDecimals,
- allowDuplicatedCategory: OX.allowDuplicatedCategory,
- angle: OX.angle,
- axisLine: F2.axisLine,
- height: OX.height,
+}, $ze = {
+ allowDataOverflow: DX.allowDataOverflow,
+ allowDecimals: DX.allowDecimals,
+ allowDuplicatedCategory: DX.allowDuplicatedCategory,
+ angle: DX.angle,
+ axisLine: P2.axisLine,
+ height: DX.height,
hide: !1,
- includeHidden: OX.includeHidden,
- interval: OX.interval,
+ includeHidden: DX.includeHidden,
+ interval: DX.interval,
label: !1,
- minTickGap: OX.minTickGap,
- mirror: OX.mirror,
- orientation: OX.orientation,
- padding: OX.padding,
- reversed: OX.reversed,
- scale: OX.scale,
- tick: OX.tick,
- tickCount: OX.tickCount,
- tickLine: F2.tickLine,
- tickSize: F2.tickSize,
- type: OX.type,
- niceTicks: OX.niceTicks,
+ minTickGap: DX.minTickGap,
+ mirror: DX.mirror,
+ orientation: DX.orientation,
+ padding: DX.padding,
+ reversed: DX.reversed,
+ scale: DX.scale,
+ tick: DX.tick,
+ tickCount: DX.tickCount,
+ tickLine: P2.tickLine,
+ tickSize: P2.tickSize,
+ type: DX.type,
+ niceTicks: DX.niceTicks,
xAxisId: 0
-}, V4 = /*#__PURE__*/ R.memo((e) => {
- var t = bB(e, Zze);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(Yze, {
+}, B4 = /*#__PURE__*/ R.memo((e) => {
+ var t = yB(e, $ze);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(Zze, {
allowDataOverflow: t.allowDataOverflow,
allowDecimals: t.allowDecimals,
allowDuplicatedCategory: t.allowDuplicatedCategory,
@@ -69311,26 +69346,26 @@ var Xze = (e) => {
type: t.type,
unit: t.unit,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ R.createElement(Xze, t));
-}, I4);
-V4.displayName = "XAxis";
+ }), /*#__PURE__*/ R.createElement(Qze, t));
+}, F4);
+B4.displayName = "XAxis";
//#endregion
//#region node_modules/recharts/es6/cartesian/YAxis.js
-var Qze = ["type"], $ze = [
+var eBe = ["type"], tBe = [
"dangerouslySetInnerHTML",
"ticks",
"scale"
-], eBe = ["id", "scale"];
-function H4() {
- return H4 = Object.assign ? Object.assign.bind() : function(e) {
+], nBe = ["id", "scale"];
+function V4() {
+ return V4 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, H4.apply(null, arguments);
+ }, V4.apply(null, arguments);
}
-function U4(e, t) {
+function H4(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -69340,30 +69375,30 @@ function U4(e, t) {
}
return n;
}
-function W4(e) {
+function U4(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? U4(Object(n), !0).forEach(function(t) {
- tBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U4(Object(n)).forEach(function(t) {
+ t % 2 ? H4(Object(n), !0).forEach(function(t) {
+ rBe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H4(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function tBe(e, t, n) {
- return (t = nBe(t)) in e ? Object.defineProperty(e, t, {
+function rBe(e, t, n) {
+ return (t = iBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function nBe(e) {
- var t = rBe(e, "string");
+function iBe(e) {
+ var t = aBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function rBe(e, t) {
+function aBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -69373,16 +69408,16 @@ function rBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function G4(e, t) {
+function W4(e, t) {
if (e == null) return {};
- var n, r, i = iBe(e, t);
+ var n, r, i = oBe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function iBe(e, t) {
+function oBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69391,27 +69426,27 @@ function iBe(e, t) {
}
return n;
}
-function aBe(e) {
- var t = qB(), n = (0, R.useRef)(null), r = nW(), { type: i } = e, a = G4(e, Qze), o = VK(r, "yAxis", i), s = (0, R.useMemo)(() => {
- if (o != null) return W4(W4({}, a), {}, { type: o });
+function sBe(e) {
+ var t = KB(), n = (0, R.useRef)(null), r = tW(), { type: i } = e, a = W4(e, eBe), o = BK(r, "yAxis", i), s = (0, R.useMemo)(() => {
+ if (o != null) return U4(U4({}, a), {}, { type: o });
}, [o, a]);
return (0, R.useLayoutEffect)(() => {
- s != null && (n.current === null ? t(mFe(s)) : n.current !== s && t(hFe({
+ s != null && (n.current === null ? t(gFe(s)) : n.current !== s && t(_Fe({
prev: n.current,
next: s
})), n.current = s);
}, [s, t]), (0, R.useLayoutEffect)(() => () => {
- n.current &&= (t(gFe(n.current)), null);
+ n.current &&= (t(vFe(n.current)), null);
}, [t]), null;
}
-function oBe(e) {
- var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = Q(FU), c = IU(), l = qB(), u = "yAxis", d = Q((e) => IZ(e, t)), f = Q((e) => vAe(e, t)), p = Q((e) => HZ(e, u, t, c)), m = Q((e) => MX(e, t));
+function cBe(e) {
+ var { yAxisId: t, className: n, width: r, label: i } = e, a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = Q(PU), c = FU(), l = KB(), u = "yAxis", d = Q((e) => FZ(e, t)), f = Q((e) => bAe(e, t)), p = Q((e) => VZ(e, u, t, c)), m = Q((e) => jX(e, t));
if ((0, R.useLayoutEffect)(() => {
- if (!(r !== "auto" || !d || Q$(i) || /*#__PURE__*/ (0, R.isValidElement)(i) || m == null)) {
+ if (!(r !== "auto" || !d || Z$(i) || /*#__PURE__*/ (0, R.isValidElement)(i) || m == null)) {
var e = a.current;
if (e) {
var n = e.getCalculatedWidth();
- Math.round(d.width) !== Math.round(n) && l(bFe({
+ Math.round(d.width) !== Math.round(n) && l(SFe({
id: t,
width: n
}));
@@ -69426,8 +69461,8 @@ function oBe(e) {
r,
m
]), d == null || f == null || m == null) return null;
- var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = G4(e, $ze), { id: y, scale: b } = m, x = G4(m, eBe);
- return /*#__PURE__*/ R.createElement(I2, H4({}, v, x, {
+ var { dangerouslySetInnerHTML: h, ticks: g, scale: _ } = e, v = W4(e, tBe), { id: y, scale: b } = m, x = W4(m, nBe);
+ return /*#__PURE__*/ R.createElement(F2, V4({}, v, x, {
ref: a,
labelRef: o,
x: f.x,
@@ -69442,33 +69477,33 @@ function oBe(e) {
axisId: t
}));
}
-var sBe = {
- allowDataOverflow: jX.allowDataOverflow,
- allowDecimals: jX.allowDecimals,
- allowDuplicatedCategory: jX.allowDuplicatedCategory,
- angle: jX.angle,
- axisLine: F2.axisLine,
+var lBe = {
+ allowDataOverflow: AX.allowDataOverflow,
+ allowDecimals: AX.allowDecimals,
+ allowDuplicatedCategory: AX.allowDuplicatedCategory,
+ angle: AX.angle,
+ axisLine: P2.axisLine,
hide: !1,
- includeHidden: jX.includeHidden,
- interval: jX.interval,
+ includeHidden: AX.includeHidden,
+ interval: AX.interval,
label: !1,
- minTickGap: jX.minTickGap,
- mirror: jX.mirror,
- orientation: jX.orientation,
- padding: jX.padding,
- reversed: jX.reversed,
- scale: jX.scale,
- tick: jX.tick,
- tickCount: jX.tickCount,
- tickLine: F2.tickLine,
- tickSize: F2.tickSize,
- type: jX.type,
- niceTicks: jX.niceTicks,
- width: jX.width,
+ minTickGap: AX.minTickGap,
+ mirror: AX.mirror,
+ orientation: AX.orientation,
+ padding: AX.padding,
+ reversed: AX.reversed,
+ scale: AX.scale,
+ tick: AX.tick,
+ tickCount: AX.tickCount,
+ tickLine: P2.tickLine,
+ tickSize: P2.tickSize,
+ type: AX.type,
+ niceTicks: AX.niceTicks,
+ width: AX.width,
yAxisId: 0
-}, K4 = /*#__PURE__*/ R.memo((e) => {
- var t = bB(e, sBe);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aBe, {
+}, G4 = /*#__PURE__*/ R.memo((e) => {
+ var t = yB(e, lBe);
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(sBe, {
interval: t.interval,
id: t.yAxisId,
scale: t.scale,
@@ -69494,27 +69529,27 @@ var sBe = {
tick: t.tick,
tickFormatter: t.tickFormatter,
niceTicks: t.niceTicks
- }), /*#__PURE__*/ R.createElement(oBe, t));
-}, I4);
-K4.displayName = "YAxis";
-var q4 = $([
+ }), /*#__PURE__*/ R.createElement(cBe, t));
+}, F4);
+G4.displayName = "YAxis";
+var K4 = $([
(e, t) => t,
- eW,
- eq,
- cq,
- wQ,
- EQ,
- mje,
- PU
-], xje);
+ $U,
+ $K,
+ sq,
+ CQ,
+ TQ,
+ gje,
+ NU
+], Cje);
//#endregion
//#region node_modules/recharts/es6/util/getRelativeCoordinate.js
-function cBe(e) {
+function uBe(e) {
return "getBBox" in e.currentTarget && typeof e.currentTarget.getBBox == "function";
}
-function J4(e) {
+function q4(e) {
var t = e.currentTarget.getBoundingClientRect(), n, r;
- if (cBe(e)) {
+ if (uBe(e)) {
var i = e.currentTarget.getBBox();
n = i.width > 0 ? t.width / i.width : 1, r = i.height > 0 ? t.height / i.height : 1;
} else {
@@ -69529,55 +69564,55 @@ function J4(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/mouseEventsMiddleware.js
-var Y4 = TH("mouseClick"), X4 = aU();
-X4.startListening({
- actionCreator: Y4,
+var J4 = wH("mouseClick"), Y4 = iU();
+Y4.startListening({
+ actionCreator: J4,
effect: (e, t) => {
- var n = e.payload, r = q4(t.getState(), J4(n));
- r?.activeIndex != null && t.dispatch(OAe({
+ var n = e.payload, r = K4(t.getState(), q4(n));
+ r?.activeIndex != null && t.dispatch(AAe({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
});
-var Z4 = TH("mouseMove"), Q4 = aU(), $4 = null, e3 = null, t3 = null;
-Q4.startListening({
- actionCreator: Z4,
+var X4 = wH("mouseMove"), Z4 = iU(), Q4 = null, $4 = null, e3 = null;
+Z4.startListening({
+ actionCreator: X4,
effect: (e, t) => {
var n = e.payload, { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i?.includes("mousemove");
- $4 !== null && (cancelAnimationFrame($4), $4 = null), e3 !== null && (typeof r != "number" || !a) && (clearTimeout(e3), e3 = null), t3 = J4(n);
+ Q4 !== null && (cancelAnimationFrame(Q4), Q4 = null), $4 !== null && (typeof r != "number" || !a) && (clearTimeout($4), $4 = null), e3 = q4(n);
var o = () => {
- var e = t.getState(), n = YZ(e, e.tooltip.settings.shared);
- if (!t3) {
- $4 = null, e3 = null;
+ var e = t.getState(), n = JZ(e, e.tooltip.settings.shared);
+ if (!e3) {
+ Q4 = null, $4 = null;
return;
}
if (n === "axis") {
- var r = q4(e, t3);
- r?.activeIndex == null ? t.dispatch(eQ()) : t.dispatch(tQ({
+ var r = K4(e, e3);
+ r?.activeIndex == null ? t.dispatch($Z()) : t.dispatch(eQ({
activeIndex: r.activeIndex,
activeDataKey: void 0,
activeCoordinate: r.activeCoordinate
}));
}
- $4 = null, e3 = null;
+ Q4 = null, $4 = null;
};
if (!a) {
o();
return;
}
- r === "raf" ? $4 = requestAnimationFrame(o) : typeof r == "number" && e3 === null && (e3 = setTimeout(o, r));
+ r === "raf" ? Q4 = requestAnimationFrame(o) : typeof r == "number" && $4 === null && ($4 = setTimeout(o, r));
}
});
//#endregion
//#region node_modules/recharts/es6/state/reduxDevtoolsJsonStringifyReplacer.js
-function lBe(e, t) {
+function dBe(e, t) {
return t instanceof HTMLElement ? `HTMLElement <${t.tagName} class="${t.className}">` : t === window ? "global.window" : e === "children" && typeof t == "object" && t ? "<<CHILDREN>>" : t;
}
//#endregion
//#region node_modules/recharts/es6/state/rootPropsSlice.js
-var n3 = {
+var t3 = {
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -69589,70 +69624,70 @@ var n3 = {
syncMethod: "index",
baseValue: void 0,
reverseStackOrder: !1
-}, r3 = PH({
+}, n3 = NH({
name: "rootProps",
- initialState: n3,
+ initialState: t3,
reducers: { updateOptions: (e, t) => {
- e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? n3.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
+ e.accessibilityLayer = t.payload.accessibilityLayer, e.barCategoryGap = t.payload.barCategoryGap, e.barGap = t.payload.barGap ?? t3.barGap, e.barSize = t.payload.barSize, e.maxBarSize = t.payload.maxBarSize, e.stackOffset = t.payload.stackOffset, e.syncId = t.payload.syncId, e.syncMethod = t.payload.syncMethod, e.className = t.payload.className, e.baseValue = t.payload.baseValue, e.reverseStackOrder = t.payload.reverseStackOrder;
} }
-}), uBe = r3.reducer, { updateOptions: dBe } = r3.actions, i3 = PH({
+}), fBe = n3.reducer, { updateOptions: pBe } = n3.actions, r3 = NH({
name: "polarOptions",
initialState: null,
reducers: { updatePolarOptions: (e, t) => e === null ? t.payload : (e.startAngle = t.payload.startAngle, e.endAngle = t.payload.endAngle, e.cx = t.payload.cx, e.cy = t.payload.cy, e.innerRadius = t.payload.innerRadius, e.outerRadius = t.payload.outerRadius, e) }
-}), { updatePolarOptions: fBe } = i3.actions, pBe = i3.reducer, a3 = TH("keyDown"), o3 = TH("focus"), s3 = TH("blur"), c3 = aU(), l3 = null, u3 = null, d3 = null;
-c3.startListening({
- actionCreator: a3,
+}), { updatePolarOptions: mBe } = r3.actions, hBe = r3.reducer, i3 = wH("keyDown"), a3 = wH("focus"), o3 = wH("blur"), s3 = iU(), c3 = null, l3 = null, u3 = null;
+s3.startListening({
+ actionCreator: i3,
effect: (e, t) => {
- d3 = e.payload, l3 !== null && (cancelAnimationFrame(l3), l3 = null);
+ u3 = e.payload, c3 !== null && (cancelAnimationFrame(c3), c3 = null);
var { throttleDelay: n, throttledEvents: r } = t.getState().eventSettings, i = r === "all" || r.includes("keydown");
- u3 !== null && (typeof n != "number" || !i) && (clearTimeout(u3), u3 = null);
+ l3 !== null && (typeof n != "number" || !i) && (clearTimeout(l3), l3 = null);
var a = () => {
try {
var e = t.getState();
if (e.rootProps.accessibilityLayer === !1) return;
- var { keyboardInteraction: n } = e.tooltip, r = d3;
+ var { keyboardInteraction: n } = e.tooltip, r = u3;
if (r !== "ArrowRight" && r !== "ArrowLeft" && r !== "Enter") return;
- var i = sQ(n, vQ(e), eZ(e), SQ(e)), a = i == null ? -1 : Number(i);
+ var i = oQ(n, _Q(e), $X(e), xQ(e)), a = i == null ? -1 : Number(i);
if (!Number.isFinite(a) || a < 0) return;
- var o = EQ(e);
+ var o = TQ(e);
if (r === "Enter") {
- var s = qQ(e, "axis", "hover", String(n.index));
- t.dispatch(rQ({
+ var s = KQ(e, "axis", "hover", String(n.index));
+ t.dispatch(nQ({
active: !n.active,
activeIndex: n.index,
activeCoordinate: s
}));
return;
}
- var c = yAe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
+ var c = xAe(e) === "left-to-right" ? 1 : -1, l = a + (r === "ArrowRight" ? 1 : -1) * c;
if (o == null || l >= o.length || l < 0) return;
- var u = qQ(e, "axis", "hover", String(l));
- t.dispatch(rQ({
+ var u = KQ(e, "axis", "hover", String(l));
+ t.dispatch(nQ({
active: !0,
activeIndex: l.toString(),
activeCoordinate: u
}));
} finally {
- l3 = null, u3 = null;
+ c3 = null, l3 = null;
}
};
if (!i) {
a();
return;
}
- n === "raf" ? l3 = requestAnimationFrame(a) : typeof n == "number" && u3 === null && (a(), d3 = null, u3 = setTimeout(() => {
- d3 ? a() : (u3 = null, l3 = null);
+ n === "raf" ? c3 = requestAnimationFrame(a) : typeof n == "number" && l3 === null && (a(), u3 = null, l3 = setTimeout(() => {
+ u3 ? a() : (l3 = null, c3 = null);
}, n));
}
-}), c3.startListening({
- actionCreator: o3,
+}), s3.startListening({
+ actionCreator: a3,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var { keyboardInteraction: r } = n.tooltip;
if (!r.active && r.index == null) {
- var i = "0", a = qQ(n, "axis", "hover", String(i));
- t.dispatch(rQ({
+ var i = "0", a = KQ(n, "axis", "hover", String(i));
+ t.dispatch(nQ({
active: !0,
activeIndex: i,
activeCoordinate: a
@@ -69660,13 +69695,13 @@ c3.startListening({
}
}
}
-}), c3.startListening({
- actionCreator: s3,
+}), s3.startListening({
+ actionCreator: o3,
effect: (e, t) => {
var n = t.getState();
if (n.rootProps.accessibilityLayer !== !1) {
var { keyboardInteraction: r } = n.tooltip;
- r.active && t.dispatch(rQ({
+ r.active && t.dispatch(nQ({
active: !1,
activeIndex: r.index,
activeCoordinate: r.coordinate
@@ -69676,7 +69711,7 @@ c3.startListening({
});
//#endregion
//#region node_modules/recharts/es6/util/createEventProxy.js
-function f3(e) {
+function d3(e) {
e.persist();
var { currentTarget: t } = e;
return new Proxy(e, { get: (e, n) => {
@@ -69687,36 +69722,36 @@ function f3(e) {
}
//#endregion
//#region node_modules/recharts/es6/state/externalEventsMiddleware.js
-var p3 = TH("externalEvent"), m3 = aU(), h3 = /* @__PURE__ */ new Map(), g3 = /* @__PURE__ */ new Map(), _3 = /* @__PURE__ */ new Map();
-m3.startListening({
- actionCreator: p3,
+var f3 = wH("externalEvent"), p3 = iU(), m3 = /* @__PURE__ */ new Map(), h3 = /* @__PURE__ */ new Map(), g3 = /* @__PURE__ */ new Map();
+p3.startListening({
+ actionCreator: f3,
effect: (e, t) => {
var { handler: n, reactEvent: r } = e.payload;
if (n != null) {
- var i = r.type, a = f3(r);
- _3.set(i, {
+ var i = r.type, a = d3(r);
+ g3.set(i, {
handler: n,
reactEvent: a
});
- var o = h3.get(i);
- o !== void 0 && (cancelAnimationFrame(o), h3.delete(i));
- var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = g3.get(i);
- d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), g3.delete(i));
+ var o = m3.get(i);
+ o !== void 0 && (cancelAnimationFrame(o), m3.delete(i));
+ var { throttleDelay: s, throttledEvents: c } = t.getState().eventSettings, l = c, u = l === "all" || l?.includes(i), d = h3.get(i);
+ d !== void 0 && (typeof s != "number" || !u) && (clearTimeout(d), h3.delete(i));
var f = () => {
- var e = _3.get(i);
+ var e = g3.get(i);
try {
if (!e) return;
var { handler: n, reactEvent: r } = e, a = t.getState(), o = {
- activeCoordinate: eje(a),
- activeDataKey: NQ(a),
- activeIndex: jQ(a),
- activeLabel: MQ(a),
- activeTooltipIndex: jQ(a),
- isTooltipActive: tje(a)
+ activeCoordinate: nje(a),
+ activeDataKey: MQ(a),
+ activeIndex: AQ(a),
+ activeLabel: jQ(a),
+ activeTooltipIndex: AQ(a),
+ isTooltipActive: rje(a)
};
n && n(o, r);
} finally {
- h3.delete(i), g3.delete(i), _3.delete(i);
+ m3.delete(i), h3.delete(i), g3.delete(i);
}
};
if (!u) {
@@ -69725,19 +69760,19 @@ m3.startListening({
}
if (s === "raf") {
var p = requestAnimationFrame(f);
- h3.set(i, p);
+ m3.set(i, p);
} else if (typeof s == "number") {
- if (!g3.has(i)) {
+ if (!h3.has(i)) {
f();
var m = setTimeout(f, s);
- g3.set(i, m);
+ h3.set(i, m);
}
} else f();
}
}
});
-var mBe = $([
- $([dQ], (e) => e.tooltipItemPayloads),
+var gBe = $([
+ $([uQ], (e) => e.tooltipItemPayloads),
(e, t) => t,
(e, t, n) => n
], (e, t, n) => {
@@ -69748,65 +69783,65 @@ var mBe = $([
if (i != null) return i(t);
}
}
-}), v3 = TH("touchMove"), y3 = aU(), b3 = null, x3 = null, S3 = null, C3 = null;
-y3.startListening({
- actionCreator: v3,
+}), _3 = wH("touchMove"), v3 = iU(), y3 = null, b3 = null, x3 = null, S3 = null;
+v3.startListening({
+ actionCreator: _3,
effect: (e, t) => {
var n = e.payload;
if (n.touches != null && n.touches.length !== 0) {
- C3 = f3(n);
+ S3 = d3(n);
var { throttleDelay: r, throttledEvents: i } = t.getState().eventSettings, a = i === "all" || i.includes("touchmove");
- b3 !== null && (cancelAnimationFrame(b3), b3 = null), x3 !== null && (typeof r != "number" || !a) && (clearTimeout(x3), x3 = null), S3 = Array.from(n.touches).map((e) => J4({
+ y3 !== null && (cancelAnimationFrame(y3), y3 = null), b3 !== null && (typeof r != "number" || !a) && (clearTimeout(b3), b3 = null), x3 = Array.from(n.touches).map((e) => q4({
clientX: e.clientX,
clientY: e.clientY,
currentTarget: n.currentTarget
}));
var o = () => {
- if (C3 != null) {
- var e = t.getState(), n = YZ(e, e.tooltip.settings.shared);
+ if (S3 != null) {
+ var e = t.getState(), n = JZ(e, e.tooltip.settings.shared);
if (n === "axis") {
- var r = S3?.[0];
+ var r = x3?.[0];
if (r == null) {
- b3 = null, x3 = null;
+ y3 = null, b3 = null;
return;
}
- var i = q4(e, r);
- i?.activeIndex != null && t.dispatch(tQ({
+ var i = K4(e, r);
+ i?.activeIndex != null && t.dispatch(eQ({
activeIndex: i.activeIndex,
activeDataKey: void 0,
activeCoordinate: i.activeCoordinate
}));
} else if (n === "item") {
- var a = C3.touches[0];
+ var a = S3.touches[0];
if (document.elementFromPoint == null || a == null) return;
var o = document.elementFromPoint(a.clientX, a.clientY);
if (!o || !o.getAttribute) return;
- var s = o.getAttribute(qCe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = _Q(e).find((e) => e.id === c);
+ var s = o.getAttribute(YCe), c = o.getAttribute("data-recharts-item-id") ?? void 0, l = gQ(e).find((e) => e.id === c);
if (s == null || l == null || c == null) return;
- var { dataKey: u } = l, d = mBe(e, s, c);
- t.dispatch($Z({
+ var { dataKey: u } = l, d = gBe(e, s, c);
+ t.dispatch(QZ({
activeDataKey: u,
activeIndex: s,
activeCoordinate: d,
activeGraphicalItemId: c
}));
}
- b3 = null, x3 = null;
+ y3 = null, b3 = null;
}
};
if (!a) {
o();
return;
}
- r === "raf" ? b3 = requestAnimationFrame(o) : typeof r == "number" && x3 === null && (o(), C3 = null, x3 = setTimeout(() => {
- C3 ? o() : (x3 = null, b3 = null);
+ r === "raf" ? y3 = requestAnimationFrame(o) : typeof r == "number" && b3 === null && (o(), S3 = null, b3 = setTimeout(() => {
+ S3 ? o() : (b3 = null, y3 = null);
}, r));
}
}
});
//#endregion
//#region node_modules/recharts/es6/state/eventSettingsSlice.js
-var w3 = {
+var C3 = {
throttleDelay: "raf",
throttledEvents: [
"mousemove",
@@ -69815,33 +69850,33 @@ var w3 = {
"scroll",
"wheel"
]
-}, T3 = PH({
+}, w3 = NH({
name: "eventSettings",
- initialState: w3,
+ initialState: C3,
reducers: { setEventSettings: (e, t) => {
- t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = GW(t.payload.throttledEvents));
+ t.payload.throttleDelay != null && (e.throttleDelay = t.payload.throttleDelay), t.payload.throttledEvents != null && (e.throttledEvents = WW(t.payload.throttledEvents));
} }
-}), { setEventSettings: hBe } = T3.actions, gBe = T3.reducer, _Be = fV({
- brush: PIe,
- cartesianAxis: xFe,
- chartData: Jje,
- errorBars: $Le,
- eventSettings: gBe,
- graphicalItems: ZPe,
- layout: PCe,
- legend: Mwe,
- options: Uje,
- polarAxis: VNe,
- polarOptions: pBe,
- referenceElements: GIe,
- renderedTicks: yLe,
- rootProps: uBe,
- tooltip: kAe,
- zIndex: Pje
-}), vBe = function(e) {
+}), { setEventSettings: _Be } = w3.actions, vBe = w3.reducer, yBe = dV({
+ brush: IIe,
+ cartesianAxis: CFe,
+ chartData: Xje,
+ errorBars: tRe,
+ eventSettings: vBe,
+ graphicalItems: $Pe,
+ layout: ICe,
+ legend: Pwe,
+ options: Gje,
+ polarAxis: UNe,
+ polarOptions: hBe,
+ referenceElements: qIe,
+ renderedTicks: xLe,
+ rootProps: fBe,
+ tooltip: jAe,
+ zIndex: Ije
+}), bBe = function(e) {
var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "Chart";
- return oCe({
- reducer: _Be,
+ return cCe({
+ reducer: yBe,
preloadedState: e,
middleware: (e) => e({
serializableCheck: !1,
@@ -69851,40 +69886,40 @@ var w3 = {
"production"
].includes("es6")
}).concat([
- X4.middleware,
- Q4.middleware,
- c3.middleware,
- m3.middleware,
- y3.middleware
+ Y4.middleware,
+ Z4.middleware,
+ s3.middleware,
+ p3.middleware,
+ v3.middleware
]),
enhancers: (e) => {
var t = e;
- return typeof e == "function" && (t = e()), t.concat(MH({ type: "raf" }));
+ return typeof e == "function" && (t = e()), t.concat(jH({ type: "raf" }));
},
- devTools: uG.devToolsEnabled && {
- serialize: { replacer: lBe },
+ devTools: lG.devToolsEnabled && {
+ serialize: { replacer: dBe },
name: `recharts-${t}`
}
});
};
//#endregion
//#region node_modules/recharts/es6/state/RechartsStoreProvider.js
-function E3(e) {
- var { preloadedState: t, children: n, reduxStoreName: r } = e, i = IU(), a = (0, R.useRef)(null);
+function T3(e) {
+ var { preloadedState: t, children: n, reduxStoreName: r } = e, i = FU(), a = (0, R.useRef)(null);
if (i) return n;
- a.current ??= vBe(t, r);
- var o = KB;
- return /*#__PURE__*/ R.createElement(Kwe, {
+ a.current ??= bBe(t, r);
+ var o = GB;
+ return /*#__PURE__*/ R.createElement(Jwe, {
context: o,
store: a.current
}, n);
}
//#endregion
//#region node_modules/recharts/es6/state/ReportMainChartProps.js
-function yBe(e) {
- var { layout: t, margin: n } = e, r = qB(), i = IU();
+function xBe(e) {
+ var { layout: t, margin: n } = e, r = KB(), i = FU();
return (0, R.useEffect)(() => {
- i || (r(jCe(t)), r(ACe(n)));
+ i || (r(NCe(t)), r(MCe(n)));
}, [
r,
i,
@@ -69892,31 +69927,31 @@ function yBe(e) {
n
]), null;
}
-var D3 = /*#__PURE__*/ (0, R.memo)(yBe, $W);
+var E3 = /*#__PURE__*/ (0, R.memo)(xBe, QW);
//#endregion
//#region node_modules/recharts/es6/state/ReportChartProps.js
-function O3(e) {
- var t = qB();
+function D3(e) {
+ var t = KB();
return (0, R.useEffect)(() => {
- t(dBe(e));
+ t(pBe(e));
}, [t, e]), null;
}
-var k3 = /*#__PURE__*/ (0, R.memo)((e) => {
- var t = qB();
+var O3 = /*#__PURE__*/ (0, R.memo)((e) => {
+ var t = KB();
return (0, R.useEffect)(() => {
- t(hBe(e));
+ t(_Be(e));
}, [t, e]), null;
-}, $W);
+}, QW);
//#endregion
//#region node_modules/recharts/es6/zIndex/ZIndexPortal.js
-function A3(e) {
- var { zIndex: t, isPanorama: n } = e, r = (0, R.useRef)(null), i = qB();
- return (0, R.useLayoutEffect)(() => (r.current && i(Mje({
+function k3(e) {
+ var { zIndex: t, isPanorama: n } = e, r = (0, R.useRef)(null), i = KB();
+ return (0, R.useLayoutEffect)(() => (r.current && i(Pje({
zIndex: t,
element: r.current,
isPanorama: n
})), () => {
- i(Nje({
+ i(Fje({
zIndex: t,
isPanorama: n
}));
@@ -69930,15 +69965,15 @@ function A3(e) {
className: `recharts-zIndex-layer_${t}`
});
}
-function j3(e) {
- var { children: t, isPanorama: n } = e, r = Q(Cje);
+function A3(e) {
+ var { children: t, isPanorama: n } = e, r = Q(Tje);
if (!r || r.length === 0) return t;
var i = r.filter((e) => e < 0), a = r.filter((e) => e > 0);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, i.map((e) => /*#__PURE__*/ R.createElement(A3, {
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, i.map((e) => /*#__PURE__*/ R.createElement(k3, {
key: e,
zIndex: e,
isPanorama: n
- })), t, a.map((e) => /*#__PURE__*/ R.createElement(A3, {
+ })), t, a.map((e) => /*#__PURE__*/ R.createElement(k3, {
key: e,
zIndex: e,
isPanorama: n
@@ -69946,17 +69981,17 @@ function j3(e) {
}
//#endregion
//#region node_modules/recharts/es6/container/RootSurface.js
-var bBe = ["children"];
-function xBe(e, t) {
+var SBe = ["children"];
+function CBe(e, t) {
if (e == null) return {};
- var n, r, i = SBe(e, t);
+ var n, r, i = wBe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function SBe(e, t) {
+function wBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -69965,55 +70000,55 @@ function SBe(e, t) {
}
return n;
}
-function M3() {
- return M3 = Object.assign ? Object.assign.bind() : function(e) {
+function j3() {
+ return j3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, M3.apply(null, arguments);
+ }, j3.apply(null, arguments);
}
-var CBe = {
+var TBe = {
width: "100%",
height: "100%",
display: "block"
-}, wBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = QU(), r = $U(), i = mG();
- if (!uU(n) || !uU(r)) return null;
+}, EBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = ZU(), r = QU(), i = pG();
+ if (!lU(n) || !lU(r)) return null;
var { children: a, otherAttributes: o, title: s, desc: c } = e, l, u;
- return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ R.createElement(JR, M3({}, o, {
+ return o != null && (l = typeof o.tabIndex == "number" ? o.tabIndex : i ? 0 : void 0, u = typeof o.role == "string" ? o.role : i ? "application" : void 0), /*#__PURE__*/ R.createElement(qR, j3({}, o, {
title: s,
desc: c,
role: u,
tabIndex: l,
width: n,
height: r,
- style: CBe,
+ style: TBe,
ref: t
}), a);
-}), TBe = (e) => {
- var { children: t } = e, n = Q(RU);
+}), DBe = (e) => {
+ var { children: t } = e, n = Q(LU);
if (!n) return null;
var { width: r, height: i, y: a, x: o } = n;
- return /*#__PURE__*/ R.createElement(JR, {
+ return /*#__PURE__*/ R.createElement(qR, {
width: r,
height: i,
x: o,
y: a
}, t);
-}, N3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { children: n } = e, r = xBe(e, bBe);
- return IU() ? /*#__PURE__*/ R.createElement(TBe, null, /*#__PURE__*/ R.createElement(j3, { isPanorama: !0 }, n)) : /*#__PURE__*/ R.createElement(wBe, M3({ ref: t }, r), /*#__PURE__*/ R.createElement(j3, { isPanorama: !1 }, n));
+}, M3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { children: n } = e, r = CBe(e, SBe);
+ return FU() ? /*#__PURE__*/ R.createElement(DBe, null, /*#__PURE__*/ R.createElement(A3, { isPanorama: !0 }, n)) : /*#__PURE__*/ R.createElement(EBe, j3({ ref: t }, r), /*#__PURE__*/ R.createElement(A3, { isPanorama: !1 }, n));
});
//#endregion
//#region node_modules/recharts/es6/util/useReportScale.js
-function EBe() {
- var e = qB(), [t, n] = (0, R.useState)(null), r = Q(KCe);
+function OBe() {
+ var e = KB(), [t, n] = (0, R.useState)(null), r = Q(JCe);
return (0, R.useEffect)(() => {
if (t != null) {
var n = t.getBoundingClientRect().width / t.offsetWidth;
- lU(n) && n !== r && e(NCe(n));
+ cU(n) && n !== r && e(FCe(n));
}
}, [
t,
@@ -70023,7 +70058,7 @@ function EBe() {
}
//#endregion
//#region node_modules/recharts/es6/chart/RechartsWrapper.js
-function P3(e, t) {
+function N3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70033,30 +70068,30 @@ function P3(e, t) {
}
return n;
}
-function DBe(e) {
+function kBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? P3(Object(n), !0).forEach(function(t) {
- OBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : P3(Object(n)).forEach(function(t) {
+ t % 2 ? N3(Object(n), !0).forEach(function(t) {
+ ABe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : N3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function OBe(e, t, n) {
- return (t = kBe(t)) in e ? Object.defineProperty(e, t, {
+function ABe(e, t, n) {
+ return (t = jBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function kBe(e) {
- var t = ABe(e, "string");
+function jBe(e) {
+ var t = MBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function ABe(e, t) {
+function MBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70066,17 +70101,17 @@ function ABe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-function F3() {
- return F3 = Object.assign ? Object.assign.bind() : function(e) {
+function P3() {
+ return P3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, F3.apply(null, arguments);
+ }, P3.apply(null, arguments);
}
-var jBe = () => (rMe(), null);
-function I3(e) {
+var NBe = () => (aMe(), null);
+function F3(e) {
if (typeof e == "number") return e;
if (typeof e == "string") {
var t = parseFloat(e);
@@ -70084,10 +70119,10 @@ function I3(e) {
}
return 0;
}
-var MBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+var PBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var n = (0, R.useRef)(null), [r, i] = (0, R.useState)({
- containerWidth: I3(e.style?.width),
- containerHeight: I3(e.style?.height)
+ containerWidth: F3(e.style?.width),
+ containerHeight: F3(e.style?.height)
}), a = (0, R.useCallback)((e, t) => {
i((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -70112,14 +70147,14 @@ var MBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
}, [t, a]);
return (0, R.useEffect)(() => () => {
n.current?.disconnect();
- }, [a]), /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aW, {
+ }, [a]), /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
width: r.containerWidth,
height: r.containerHeight
- }), /*#__PURE__*/ R.createElement("div", F3({ ref: o }, e)));
-}), NBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ R.createElement("div", P3({ ref: o }, e)));
+}), FBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e, [i, a] = (0, R.useState)({
- containerWidth: I3(n),
- containerHeight: I3(r)
+ containerWidth: F3(n),
+ containerHeight: F3(r)
}), o = (0, R.useCallback)((e, t) => {
a((n) => {
var r = Math.round(e), i = Math.round(t);
@@ -70134,32 +70169,32 @@ var MBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
o(n, r);
}
}, [t, o]);
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aW, {
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
width: i.containerWidth,
height: i.containerHeight
- }), /*#__PURE__*/ R.createElement("div", F3({ ref: s }, e)));
-}), PBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ R.createElement("div", P3({ ref: s }, e)));
+}), IBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aW, {
+ return /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
width: n,
height: r
- }), /*#__PURE__*/ R.createElement("div", F3({ ref: t }, e)));
-}), FBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ }), /*#__PURE__*/ R.createElement("div", P3({ ref: t }, e)));
+}), LBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
var { width: n, height: r } = e;
- return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ R.createElement(NBe, F3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ R.createElement(PBe, F3({}, e, {
+ return typeof n == "string" || typeof r == "string" ? /*#__PURE__*/ R.createElement(FBe, P3({}, e, { ref: t })) : typeof n == "number" && typeof r == "number" ? /*#__PURE__*/ R.createElement(IBe, P3({}, e, {
width: n,
height: r,
ref: t
- })) : /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aW, {
+ })) : /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
width: n,
height: r
- }), /*#__PURE__*/ R.createElement("div", F3({ ref: t }, e)));
+ }), /*#__PURE__*/ R.createElement("div", P3({ ref: t }, e)));
});
-function IBe(e) {
- return e ? MBe : FBe;
+function RBe(e) {
+ return e ? PBe : LBe;
}
-var LBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, R.useRef)(null), x = qB(), [S, C] = (0, R.useState)(null), [w, T] = (0, R.useState)(null), E = EBe(), D = qU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, R.useCallback)((e) => {
+var zBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { children: n, className: r, height: i, onClick: a, onContextMenu: o, onDoubleClick: s, onMouseDown: c, onMouseEnter: l, onMouseLeave: u, onMouseMove: d, onMouseUp: f, onTouchEnd: p, onTouchMove: m, onTouchStart: h, style: g, width: _, responsive: v, dispatchTouchEvents: y = !0 } = e, b = (0, R.useRef)(null), x = KB(), [S, C] = (0, R.useState)(null), [w, T] = (0, R.useState)(null), E = OBe(), D = KU(), O = D?.width > 0 ? D.width : _, k = D?.height > 0 ? D.height : i, A = (0, R.useCallback)((e) => {
E(e), typeof t == "function" && t(e), C(e), T(e), e != null && (b.current = e);
}, [
E,
@@ -70167,58 +70202,58 @@ var LBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
C,
T
]), j = (0, R.useCallback)((e) => {
- x(Y4(e)), x(p3({
+ x(J4(e)), x(f3({
handler: a,
reactEvent: e
}));
}, [x, a]), M = (0, R.useCallback)((e) => {
- x(Z4(e)), x(p3({
+ x(X4(e)), x(f3({
handler: l,
reactEvent: e
}));
}, [x, l]), N = (0, R.useCallback)((e) => {
- x(eQ()), x(p3({
+ x($Z()), x(f3({
handler: u,
reactEvent: e
}));
}, [x, u]), ee = (0, R.useCallback)((e) => {
- x(Z4(e)), x(p3({
+ x(X4(e)), x(f3({
handler: d,
reactEvent: e
}));
}, [x, d]), te = (0, R.useCallback)(() => {
- x(o3());
+ x(a3());
}, [x]), P = (0, R.useCallback)(() => {
- x(s3());
+ x(o3());
}, [x]), F = (0, R.useCallback)((e) => {
- x(a3(e.key));
+ x(i3(e.key));
}, [x]), ne = (0, R.useCallback)((e) => {
- x(p3({
+ x(f3({
handler: o,
reactEvent: e
}));
}, [x, o]), re = (0, R.useCallback)((e) => {
- x(p3({
+ x(f3({
handler: s,
reactEvent: e
}));
}, [x, s]), ie = (0, R.useCallback)((e) => {
- x(p3({
+ x(f3({
handler: c,
reactEvent: e
}));
}, [x, c]), ae = (0, R.useCallback)((e) => {
- x(p3({
+ x(f3({
handler: f,
reactEvent: e
}));
}, [x, f]), oe = (0, R.useCallback)((e) => {
- x(p3({
+ x(f3({
handler: h,
reactEvent: e
}));
}, [x, h]), se = (0, R.useCallback)((e) => {
- y && x(v3(e)), x(p3({
+ y && x(_3(e)), x(f3({
handler: m,
reactEvent: e
}));
@@ -70227,16 +70262,16 @@ var LBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
y,
m
]), ce = (0, R.useCallback)((e) => {
- x(p3({
+ x(f3({
handler: p,
reactEvent: e
}));
- }, [x, p]), le = IBe(v);
- return /*#__PURE__*/ R.createElement(n$.Provider, { value: S }, /*#__PURE__*/ R.createElement(ZR.Provider, { value: w }, /*#__PURE__*/ R.createElement(le, {
+ }, [x, p]), le = RBe(v);
+ return /*#__PURE__*/ R.createElement(t$.Provider, { value: S }, /*#__PURE__*/ R.createElement(XR.Provider, { value: w }, /*#__PURE__*/ R.createElement(le, {
width: O ?? g?.width,
height: k ?? g?.height,
className: Sh("recharts-wrapper", r),
- style: DBe({
+ style: kBe({
position: "relative",
cursor: "default",
width: O,
@@ -70257,8 +70292,8 @@ var LBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
onTouchMove: se,
onTouchStart: oe,
ref: A
- }, /*#__PURE__*/ R.createElement(jBe, null), n)));
-}), RBe = [
+ }, /*#__PURE__*/ R.createElement(NBe, null), n)));
+}), BBe = [
"width",
"height",
"responsive",
@@ -70269,16 +70304,16 @@ var LBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
"title",
"desc"
];
-function zBe(e, t) {
+function VBe(e, t) {
if (e == null) return {};
- var n, r, i = BBe(e, t);
+ var n, r, i = HBe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function BBe(e, t) {
+function HBe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -70287,16 +70322,16 @@ function BBe(e, t) {
}
return n;
}
-var L3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = WR(zBe(e, RBe));
- return c ? /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(aW, {
+var I3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var { width: n, height: r, responsive: i, children: a, className: o, style: s, compact: c, title: l, desc: u } = e, d = UR(VBe(e, BBe));
+ return c ? /*#__PURE__*/ R.createElement(R.Fragment, null, /*#__PURE__*/ R.createElement(iW, {
width: n,
height: r
- }), /*#__PURE__*/ R.createElement(N3, {
+ }), /*#__PURE__*/ R.createElement(M3, {
otherAttributes: d,
title: l,
desc: u
- }, a)) : /*#__PURE__*/ R.createElement(LBe, {
+ }, a)) : /*#__PURE__*/ R.createElement(zBe, {
className: o,
style: s,
width: n,
@@ -70313,25 +70348,25 @@ var L3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
onTouchStart: e.onTouchStart,
onTouchMove: e.onTouchMove,
onTouchEnd: e.onTouchEnd
- }, /*#__PURE__*/ R.createElement(N3, {
+ }, /*#__PURE__*/ R.createElement(M3, {
otherAttributes: d,
title: l,
desc: u,
ref: t
- }, /*#__PURE__*/ R.createElement(KIe, null, a)));
+ }, /*#__PURE__*/ R.createElement(JIe, null, a)));
});
//#endregion
//#region node_modules/recharts/es6/chart/CartesianChart.js
-function R3() {
- return R3 = Object.assign ? Object.assign.bind() : function(e) {
+function L3() {
+ return L3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, R3.apply(null, arguments);
+ }, L3.apply(null, arguments);
}
-function z3(e, t) {
+function R3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70341,30 +70376,30 @@ function z3(e, t) {
}
return n;
}
-function VBe(e) {
+function UBe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? z3(Object(n), !0).forEach(function(t) {
- HBe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : z3(Object(n)).forEach(function(t) {
+ t % 2 ? R3(Object(n), !0).forEach(function(t) {
+ WBe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : R3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function HBe(e, t, n) {
- return (t = UBe(t)) in e ? Object.defineProperty(e, t, {
+function WBe(e, t, n) {
+ return (t = GBe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function UBe(e) {
- var t = WBe(e, "string");
+function GBe(e) {
+ var t = KBe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function WBe(e, t) {
+function KBe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70374,7 +70409,7 @@ function WBe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var GBe = VBe({
+var qBe = UBe({
accessibilityLayer: !0,
barCategoryGap: "10%",
barGap: 4,
@@ -70389,24 +70424,24 @@ var GBe = VBe({
reverseStackOrder: !1,
stackOffset: "none",
syncMethod: "index"
-}, w3), B3 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- var n = bB(e.categoricalChartProps, GBe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
+}, C3), z3 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ var n = yB(e.categoricalChartProps, qBe), { chartName: r, defaultTooltipEventType: i, validateTooltipEventTypes: a, tooltipPayloadSearcher: o, categoricalChartProps: s } = e, c = {
chartName: r,
defaultTooltipEventType: i,
validateTooltipEventTypes: a,
tooltipPayloadSearcher: o,
eventEmitter: void 0
};
- return /*#__PURE__*/ R.createElement(E3, {
+ return /*#__PURE__*/ R.createElement(T3, {
preloadedState: { options: c },
reduxStoreName: s.id ?? r
- }, /*#__PURE__*/ R.createElement(_2, { chartData: s.data }), /*#__PURE__*/ R.createElement(D3, {
+ }, /*#__PURE__*/ R.createElement(g2, { chartData: s.data }), /*#__PURE__*/ R.createElement(E3, {
layout: n.layout,
margin: n.margin
- }), /*#__PURE__*/ R.createElement(k3, {
+ }), /*#__PURE__*/ R.createElement(O3, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ R.createElement(O3, {
+ }), /*#__PURE__*/ R.createElement(D3, {
baseValue: n.baseValue,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -70418,52 +70453,52 @@ var GBe = VBe({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ R.createElement(L3, R3({}, n, { ref: t })));
-}), KBe = ["axis"], qBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(B3, {
+ }), /*#__PURE__*/ R.createElement(I3, L3({}, n, { ref: t })));
+}), JBe = ["axis"], YBe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
chartName: "LineChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: KBe,
- tooltipPayloadSearcher: o$,
+ validateTooltipEventTypes: JBe,
+ tooltipPayloadSearcher: a$,
categoricalChartProps: e,
ref: t
-})), JBe = ["axis", "item"], V3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(B3, {
+})), XBe = ["axis", "item"], B3 = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
chartName: "BarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: JBe,
- tooltipPayloadSearcher: o$,
+ validateTooltipEventTypes: XBe,
+ tooltipPayloadSearcher: a$,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/state/ReportPolarOptions.js
-function YBe(e) {
- var t = qB();
+function ZBe(e) {
+ var t = KB();
return (0, R.useEffect)(() => {
- t(fBe(e));
+ t(mBe(e));
}, [t, e]), null;
}
//#endregion
//#region node_modules/recharts/es6/chart/PolarChart.js
-var XBe = ["layout"];
-function H3() {
- return H3 = Object.assign ? Object.assign.bind() : function(e) {
+var QBe = ["layout"];
+function V3() {
+ return V3 = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
- }, H3.apply(null, arguments);
+ }, V3.apply(null, arguments);
}
-function ZBe(e, t) {
+function $Be(e, t) {
if (e == null) return {};
- var n, r, i = QBe(e, t);
+ var n, r, i = eVe(e, t);
if (Object.getOwnPropertySymbols) {
var a = Object.getOwnPropertySymbols(e);
for (r = 0; r < a.length; r++) n = a[r], t.indexOf(n) === -1 && {}.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
}
return i;
}
-function QBe(e, t) {
+function eVe(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -70472,7 +70507,7 @@ function QBe(e, t) {
}
return n;
}
-function U3(e, t) {
+function H3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70482,30 +70517,30 @@ function U3(e, t) {
}
return n;
}
-function $Be(e) {
+function tVe(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? U3(Object(n), !0).forEach(function(t) {
- eVe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : U3(Object(n)).forEach(function(t) {
+ t % 2 ? H3(Object(n), !0).forEach(function(t) {
+ nVe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function eVe(e, t, n) {
- return (t = tVe(t)) in e ? Object.defineProperty(e, t, {
+function nVe(e, t, n) {
+ return (t = rVe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function tVe(e) {
- var t = nVe(e, "string");
+function rVe(e) {
+ var t = iVe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function nVe(e, t) {
+function iVe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70515,7 +70550,7 @@ function nVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var W3 = $Be({
+var U3 = tVe({
accessibilityLayer: !0,
stackOffset: "none",
barCategoryGap: "10%",
@@ -70534,24 +70569,24 @@ var W3 = $Be({
cy: "50%",
innerRadius: 0,
outerRadius: "80%"
-}, w3), G3 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
- var n = bB(e.categoricalChartProps, W3), { layout: r } = n, i = ZBe(n, XBe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
+}, C3), W3 = /*#__PURE__*/ (0, R.forwardRef)(function(e, t) {
+ var n = yB(e.categoricalChartProps, U3), { layout: r } = n, i = $Be(n, QBe), { chartName: a, defaultTooltipEventType: o, validateTooltipEventTypes: s, tooltipPayloadSearcher: c } = e, l = {
chartName: a,
defaultTooltipEventType: o,
validateTooltipEventTypes: s,
tooltipPayloadSearcher: c,
eventEmitter: void 0
};
- return /*#__PURE__*/ R.createElement(E3, {
+ return /*#__PURE__*/ R.createElement(T3, {
preloadedState: { options: l },
reduxStoreName: n.id ?? a
- }, /*#__PURE__*/ R.createElement(_2, { chartData: n.data }), /*#__PURE__*/ R.createElement(D3, {
+ }, /*#__PURE__*/ R.createElement(g2, { chartData: n.data }), /*#__PURE__*/ R.createElement(E3, {
layout: r,
margin: n.margin
- }), /*#__PURE__*/ R.createElement(k3, {
+ }), /*#__PURE__*/ R.createElement(O3, {
throttleDelay: n.throttleDelay,
throttledEvents: n.throttledEvents
- }), /*#__PURE__*/ R.createElement(O3, {
+ }), /*#__PURE__*/ R.createElement(D3, {
baseValue: void 0,
accessibilityLayer: n.accessibilityLayer,
barCategoryGap: n.barCategoryGap,
@@ -70563,18 +70598,18 @@ var W3 = $Be({
syncMethod: n.syncMethod,
className: n.className,
reverseStackOrder: n.reverseStackOrder
- }), /*#__PURE__*/ R.createElement(YBe, {
+ }), /*#__PURE__*/ R.createElement(ZBe, {
cx: n.cx,
cy: n.cy,
startAngle: n.startAngle,
endAngle: n.endAngle,
innerRadius: n.innerRadius,
outerRadius: n.outerRadius
- }), /*#__PURE__*/ R.createElement(L3, H3({}, i, { ref: t })));
+ }), /*#__PURE__*/ R.createElement(I3, V3({}, i, { ref: t })));
});
//#endregion
//#region node_modules/recharts/es6/chart/RadarChart.js
-function K3(e, t) {
+function G3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70584,30 +70619,30 @@ function K3(e, t) {
}
return n;
}
-function q3(e) {
+function K3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? K3(Object(n), !0).forEach(function(t) {
- rVe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : K3(Object(n)).forEach(function(t) {
+ t % 2 ? G3(Object(n), !0).forEach(function(t) {
+ aVe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : G3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function rVe(e, t, n) {
- return (t = iVe(t)) in e ? Object.defineProperty(e, t, {
+function aVe(e, t, n) {
+ return (t = oVe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function iVe(e) {
- var t = aVe(e, "string");
+function oVe(e) {
+ var t = sVe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function aVe(e, t) {
+function sVe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70617,31 +70652,31 @@ function aVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var oVe = ["axis"], sVe = q3(q3({}, W3), {}, {
+var cVe = ["axis"], lVe = K3(K3({}, U3), {}, {
layout: "centric",
startAngle: 90,
endAngle: -270
-}), cVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = bB(e, sVe);
- return /*#__PURE__*/ R.createElement(G3, {
+}), uVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = yB(e, lVe);
+ return /*#__PURE__*/ R.createElement(W3, {
chartName: "RadarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: oVe,
- tooltipPayloadSearcher: o$,
+ validateTooltipEventTypes: cVe,
+ tooltipPayloadSearcher: a$,
categoricalChartProps: n,
ref: t
});
-}), lVe = ["axis"], uVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(B3, {
+}), dVe = ["axis"], fVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => /*#__PURE__*/ R.createElement(z3, {
chartName: "AreaChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: lVe,
- tooltipPayloadSearcher: o$,
+ validateTooltipEventTypes: dVe,
+ tooltipPayloadSearcher: a$,
categoricalChartProps: e,
ref: t
}));
//#endregion
//#region node_modules/recharts/es6/chart/RadialBarChart.js
-function J3(e, t) {
+function q3(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -70651,30 +70686,30 @@ function J3(e, t) {
}
return n;
}
-function Y3(e) {
+function J3(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? J3(Object(n), !0).forEach(function(t) {
- dVe(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : J3(Object(n)).forEach(function(t) {
+ t % 2 ? q3(Object(n), !0).forEach(function(t) {
+ pVe(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : q3(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-function dVe(e, t, n) {
- return (t = fVe(t)) in e ? Object.defineProperty(e, t, {
+function pVe(e, t, n) {
+ return (t = mVe(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-function fVe(e) {
- var t = pVe(e, "string");
+function mVe(e) {
+ var t = hVe(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function pVe(e, t) {
+function hVe(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -70684,59 +70719,59 @@ function pVe(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-var mVe = ["axis", "item"], hVe = Y3(Y3({}, W3), {}, {
+var gVe = ["axis", "item"], _Ve = J3(J3({}, U3), {}, {
layout: "radial",
startAngle: 0,
endAngle: 360
-}), gVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
- var n = bB(e, hVe);
- return /*#__PURE__*/ R.createElement(G3, {
+}), vVe = /*#__PURE__*/ (0, R.forwardRef)((e, t) => {
+ var n = yB(e, _Ve);
+ return /*#__PURE__*/ R.createElement(W3, {
chartName: "RadialBarChart",
defaultTooltipEventType: "axis",
- validateTooltipEventTypes: mVe,
- tooltipPayloadSearcher: o$,
+ validateTooltipEventTypes: gVe,
+ tooltipPayloadSearcher: a$,
categoricalChartProps: n,
ref: t
});
});
//#endregion
//#region src/react/charts/cn.ts
-function X3(...e) {
- return CE(Sh(e));
+function Y3(...e) {
+ return SE(Sh(e));
}
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-chart.tsx
-var Z3 = {
+var X3 = {
light: "",
dark: ".dark"
-}, Q3 = Object.keys(Z3);
-function _Ve(e) {
- for (let [t, n] of Object.entries(e)) if (n.colors && !Q3.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${Q3.join(", ")}). Received empty object or invalid keys.`);
+}, Z3 = Object.keys(X3);
+function yVe(e) {
+ for (let [t, n] of Object.entries(e)) if (n.colors && !Z3.some((e) => n.colors?.[e] !== void 0)) throw Error(`[EvilCharts] Invalid chart config for "${t}": colors object must have at least one theme key (${Z3.join(", ")}). Received empty object or invalid keys.`);
}
-var $3 = R.createContext(null);
-function e6() {
- let e = R.useContext($3);
+var Q3 = R.createContext(null);
+function $3() {
+ let e = R.useContext(Q3);
if (!e) throw Error("useChart must be used within a <ChartContainer />");
return e;
}
-function t6({ id: e, config: t, initialDimension: n = {
+function e6({ id: e, config: t, initialDimension: n = {
width: 320,
height: 200
}, className: r, children: i, footer: a, ...o }) {
let s = R.useId(), c = `chart-${e ?? s.replace(/:/g, "")}`;
- return _Ve(t), /* @__PURE__ */ (0, B.jsx)($3.Provider, {
+ return yVe(t), /* @__PURE__ */ (0, B.jsx)(Q3.Provider, {
value: { config: t },
children: /* @__PURE__ */ (0, B.jsxs)("div", {
"data-slot": "chart",
"data-chart": c,
- className: X3("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
+ className: Y3("min-h-0 w-full flex-1", "[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border relative flex flex-col justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", !a && "aspect-video", r),
...o,
children: [
- /* @__PURE__ */ (0, B.jsx)(r6, {
+ /* @__PURE__ */ (0, B.jsx)(n6, {
id: c,
config: t
}),
- /* @__PURE__ */ (0, B.jsx)(JU, {
+ /* @__PURE__ */ (0, B.jsx)(qU, {
className: "min-h-0 w-full flex-1",
initialDimension: n,
children: i
@@ -70746,7 +70781,7 @@ function t6({ id: e, config: t, initialDimension: n = {
})
});
}
-function n6({ isLoading: e }) {
+function t6({ isLoading: e }) {
return e ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "pointer-events-none absolute inset-0 z-20 flex items-center justify-center",
children: /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -70755,7 +70790,7 @@ function n6({ isLoading: e }) {
})
}) : null;
}
-function vVe(e, t) {
+function bVe(e, t) {
let n = e.length;
if (n >= t) return e.slice(0, t);
let r = [], i = Math.floor(t / n), a = t % n;
@@ -70765,46 +70800,46 @@ function vVe(e, t) {
}
return r;
}
-var r6 = ({ id: e, config: t }) => {
+var n6 = ({ id: e, config: t }) => {
let n = Object.entries(t).filter(([, e]) => e.colors);
if (!n.length) return null;
let r = (e) => n.flatMap(([t, n]) => {
let r = n.colors?.[e];
- return !r || !Array.isArray(r) || r.length === 0 ? [] : vVe(r, a6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
- }).filter(Boolean).join("\n"), i = Object.entries(Z3).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
+ return !r || !Array.isArray(r) || r.length === 0 ? [] : bVe(r, i6(n)).map((e, n) => ` --color-${t}-${n}: ${e};`);
+ }).filter(Boolean).join("\n"), i = Object.entries(X3).map(([t, n]) => `${n} [data-chart=${e}] {\n${r(t)}\n}`).join("\n");
return /* @__PURE__ */ (0, B.jsx)("style", { dangerouslySetInnerHTML: { __html: i } });
};
-function i6(e, t, n) {
+function r6(e, t, n) {
if (typeof t != "object" || !t) return;
let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
}
-function a6(e) {
+function i6(e) {
if (!e.colors) return 1;
- let t = Q3.map((t) => e.colors?.[t]?.length ?? 0);
+ let t = Z3.map((t) => e.colors?.[t]?.length ?? 0);
return Math.max(...t, 1);
}
-var yVe = (e = 10, t = 0, n = 70) => {
+var xVe = (e = 10, t = 0, n = 70) => {
let r = n - t;
return Array.from({ length: e }, () => ({ loading: Math.floor(Math.random() * r) + t }));
-}, bVe = {
+}, SVe = {
sm: "rounded-sm",
md: "rounded-md",
lg: "rounded-lg",
xl: "rounded-xl"
-}, xVe = {
+}, CVe = {
default: "bg-background",
"frosted-glass": "bg-background/70 backdrop-blur-sm"
};
-function o6({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
- let { config: h } = e6(), g = R.useMemo(() => {
+function a6({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: i = !1, hideIndicator: a = !1, label: o, labelFormatter: s, labelClassName: c, formatter: l, nameKey: u, labelKey: d, selected: f, roundness: p = "lg", variant: m = "default" }) {
+ let { config: h } = $3(), g = R.useMemo(() => {
if (i || !t?.length) return null;
- let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = i6(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
+ let [e] = t, n = `${d ?? e?.dataKey ?? e?.name ?? "value"}`, r = r6(h, e, n), a = !d && typeof o == "string" ? h[o]?.label ?? o : r?.label;
return s ? /* @__PURE__ */ (0, B.jsx)("div", {
- className: X3("font-medium", c),
+ className: Y3("font-medium", c),
children: s(a, t)
}) : a ? /* @__PURE__ */ (0, B.jsx)("div", {
- className: X3("font-medium", c),
+ className: Y3("font-medium", c),
children: a
}) : null;
}, [
@@ -70819,23 +70854,23 @@ function o6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
if (!e || !t?.length) return /* @__PURE__ */ (0, B.jsx)("span", { className: "p-4" });
let _ = t.length === 1 && r !== "dot";
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: X3("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", bVe[p], xVe[m], n),
+ className: Y3("border-border/50 grid min-w-32 items-start gap-1.5 border px-2.5 py-1.5 text-xs shadow-xl", SVe[p], CVe[m], n),
children: [_ ? null : g, /* @__PURE__ */ (0, B.jsx)("div", {
className: "grid gap-1.5",
children: t.filter((e) => e.type !== "none").map((e, t) => {
- let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = i6(h, e, n), o = i ? a6(i) : 1;
+ let n = `${(u && e.payload ? e.payload[u] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, i = r6(h, e, n), o = i ? i6(i) : 1;
return /* @__PURE__ */ (0, B.jsx)("div", {
- className: X3("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
+ className: Y3("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center", f != null && f !== e.dataKey && "opacity-30"),
children: l && e?.value !== void 0 && e.name ? l(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [i?.icon ? /* @__PURE__ */ (0, B.jsx)(i.icon, {}) : !a && /* @__PURE__ */ (0, B.jsx)("div", {
- className: X3("shrink-0 rounded-[2px]", {
+ className: Y3("shrink-0 rounded-[2px]", {
"h-2.5 w-2.5": r === "dot",
"w-1": r === "line",
"w-0 border-[1.5px] border-dashed bg-transparent!": r === "dashed",
"my-0.5": _ && r === "dashed"
}),
- style: SVe(n, o)
+ style: wVe(n, o)
}), /* @__PURE__ */ (0, B.jsxs)("div", {
- className: X3("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
+ className: Y3("flex flex-1 justify-between gap-4 leading-none", _ ? "items-end" : "items-center"),
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "grid gap-1.5",
children: [_ ? g : null, /* @__PURE__ */ (0, B.jsx)("span", {
@@ -70852,27 +70887,27 @@ function o6({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
})]
});
}
-function SVe(e, t) {
+function wVe(e, t) {
return t <= 1 ? { background: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-var s6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, B.jsx)(dMe, {
+var o6 = ({ animationDuration: e = 200, ...t }) => /* @__PURE__ */ (0, B.jsx)(pMe, {
animationDuration: e,
...t
});
//#endregion
//#region src/react/evilcharts/registry/ui/recharts-legend.tsx
-function c6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
- let { config: u } = e6();
+function s6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAlign: i, align: a = "right", selected: o, onSelectChange: s, isClickable: c, variant: l = "rounded-square" }) {
+ let { config: u } = $3();
return r?.length ? /* @__PURE__ */ (0, B.jsx)("div", {
- className: X3("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
+ className: Y3("flex items-center gap-4 select-none", a === "left" && "justify-start", a === "center" && "justify-center", a === "right" && "justify-end", i === "top" ? "pb-4" : "pt-4", e),
children: r.filter((e) => e.type !== "none").map((e) => {
- let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = i6(u, e, r), a = o === null || o === r, d = i ? a6(i) : 1;
+ let r = `${(n && e.payload ? e.payload[n] : void 0) ?? e.value ?? e.dataKey ?? "value"}`, i = r6(u, e, r), a = o === null || o === r, d = i ? i6(i) : 1;
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: X3("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
+ className: Y3("[&>svg]:text-muted-foreground flex items-center gap-1.5 transition-opacity [&>svg]:h-3 [&>svg]:w-3", !a && "opacity-30", c && "cursor-pointer"),
onClick: () => {
c && s?.(o === r ? null : r);
},
- children: [i?.icon && !t ? /* @__PURE__ */ (0, B.jsx)(i.icon, {}) : /* @__PURE__ */ (0, B.jsx)(CVe, {
+ children: [i?.icon && !t ? /* @__PURE__ */ (0, B.jsx)(i.icon, {}) : /* @__PURE__ */ (0, B.jsx)(TVe, {
variant: l,
dataKey: r,
colorsCount: d
@@ -70881,8 +70916,8 @@ function c6({ className: e, hideIcon: t = !1, nameKey: n, payload: r, verticalAl
})
}) : null;
}
-function CVe({ variant: e, dataKey: t, colorsCount: n }) {
- let r = wVe(t, n), i = TVe(t, n);
+function TVe({ variant: e, dataKey: t, colorsCount: n }) {
+ let r = EVe(t, n), i = DVe(t, n);
switch (e) {
case "square": return /* @__PURE__ */ (0, B.jsx)("div", {
className: "h-2 w-2 shrink-0",
@@ -70914,10 +70949,10 @@ function CVe({ variant: e, dataKey: t, colorsCount: n }) {
});
}
}
-function wVe(e, t) {
+function EVe(e, t) {
return t <= 1 ? { backgroundColor: `var(--color-${e}-0)` } : { background: `linear-gradient(to right, ${Array.from({ length: t }, (n, r) => `var(--color-${e}-${r}) ${r / (t - 1) * 100}%`).join(", ")})` };
}
-function TVe(e, t) {
+function DVe(e, t) {
let n = {
WebkitMask: "linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0)",
WebkitMaskComposite: "xor",
@@ -70932,12 +70967,12 @@ function TVe(e, t) {
...n
};
}
-var l6 = rG, u6 = () => null, d6 = {
+var c6 = nG, l6 = () => null, u6 = {
stiffness: 300,
damping: 35,
mass: .8
};
-function EVe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
+function OVe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
let i = R.useRef(null), [a, o] = R.useState(!1), s = (0, R.useCallback)((e) => !n.current || t <= 1 ? 0 : Math.round(e / n.current.getBoundingClientRect().width * (t - 1)), [t, n]), c = (0, R.useCallback)((t, n) => {
t.preventDefault(), t.target.setPointerCapture(t.pointerId), i.current = {
type: n,
@@ -70983,7 +71018,7 @@ function EVe({ range: e, totalPoints: t, containerRef: n, commit: r }) {
])
};
}
-function DVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
+function kVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "area", height: a = 56, className: o, stacked: s = !1, strokeVariant: c = "solid", connectNulls: l = !1, barRadius: u, startIndex: d, endIndex: f, defaultStartIndex: p = 0, defaultEndIndex: m, onChange: h, formatLabel: g, curveType: _ = "monotone", minSpan: v = 2, showLabels: y = !0, skipStyle: b = !1 }) {
let x = R.useRef(null), S = R.useMemo(() => n ?? Object.keys(t), [n, t]), C = e.length, w = R.useId().replace(/:/g, ""), T = d !== void 0 && f !== void 0, [E, D] = R.useState(() => ({
startIndex: Math.max(0, Math.min(p, C - 1)),
endIndex: Math.max(0, Math.min(m ?? C - 1, C - 1))
@@ -71017,7 +71052,7 @@ function DVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
startIndex: n,
endIndex: r
};
- }, [C, v]), { isDragging: A, bind: j } = EVe({
+ }, [C, v]), { isDragging: A, bind: j } = OVe({
range: E,
totalPoints: C,
containerRef: x,
@@ -71044,7 +71079,7 @@ function DVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]);
let N = C > 1 ? M.startIndex / (C - 1) * 100 : 0, ee = C > 1 ? M.endIndex / (C - 1) * 100 : 100, te = Kf(N), P = Kf(ee);
te.get() !== N && te.set(N), P.get() !== ee && P.set(ee);
- let F = $f(te, d6), ne = $f(P, d6), re = Yf(F, (e) => `${e}%`), ie = Yf(ne, (e) => `${e}%`), ae = Yf(F, (e) => `${e}%`), oe = Yf(ne, (e) => `${Math.max(0, 100 - e)}%`), se = Kf(`${Math.max(0, ee - N)}%`), ce = (0, R.useCallback)(() => {
+ let F = $f(te, u6), ne = $f(P, u6), re = Yf(F, (e) => `${e}%`), ie = Yf(ne, (e) => `${e}%`), ae = Yf(F, (e) => `${e}%`), oe = Yf(ne, (e) => `${Math.max(0, 100 - e)}%`), se = Kf(`${Math.max(0, ee - N)}%`), ce = (0, R.useCallback)(() => {
se.set(`${Math.max(0, ne.get() - F.get())}%`);
}, [
F,
@@ -71064,16 +71099,16 @@ function DVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
return C === 0 ? null : /* @__PURE__ */ (0, B.jsxs)("div", {
ref: x,
"data-chart": b ? void 0 : w,
- className: X3("group relative select-none", o),
+ className: Y3("group relative select-none", o),
style: { height: a },
children: [
- !b && /* @__PURE__ */ (0, B.jsx)(r6, {
+ !b && /* @__PURE__ */ (0, B.jsx)(n6, {
id: w,
config: t
}),
/* @__PURE__ */ (0, B.jsx)("div", {
className: "absolute inset-0 overflow-hidden rounded-md",
- children: /* @__PURE__ */ (0, B.jsx)(OVe, {
+ children: /* @__PURE__ */ (0, B.jsx)(AVe, {
data: e,
keys: S,
chartConfig: t,
@@ -71102,13 +71137,13 @@ function DVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
},
...j("middle")
}),
- /* @__PURE__ */ (0, B.jsx)(f6, {
+ /* @__PURE__ */ (0, B.jsx)(d6, {
side: "left",
position: re,
label: y ? le(M.startIndex) : void 0,
bind: j("left")
}),
- /* @__PURE__ */ (0, B.jsx)(f6, {
+ /* @__PURE__ */ (0, B.jsx)(d6, {
side: "right",
position: ie,
label: y ? le(M.endIndex) : void 0,
@@ -71117,16 +71152,16 @@ function DVe({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "
]
});
}
-function f6({ side: e, position: t, label: n, bind: r }) {
+function d6({ side: e, position: t, label: n, bind: r }) {
let i = e === "left";
return /* @__PURE__ */ (0, B.jsxs)(ap.div, {
className: "absolute inset-y-0 z-10",
style: { left: t },
children: [/* @__PURE__ */ (0, B.jsx)("div", {
- className: X3("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
+ className: Y3("group absolute inset-y-0 flex w-3 cursor-ew-resize touch-none items-center justify-center after:absolute after:inset-y-0 after:-left-4 after:w-11 after:content-['']", i ? "" : "-translate-x-full"),
...r,
children: /* @__PURE__ */ (0, B.jsx)("div", {
- className: X3("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
+ className: Y3("bg-muted-foreground group-hover:bg-foreground relative flex h-4 w-1.5 items-center justify-center rounded-md transition-colors", i ? "-left-[5.5px]" : "-right-[5.5px]"),
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-[2px]",
children: [
@@ -71137,15 +71172,15 @@ function f6({ side: e, position: t, label: n, bind: r }) {
})
})
}), n && /* @__PURE__ */ (0, B.jsx)("div", {
- className: X3("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
+ className: Y3("bg-foreground text-background pointer-events-none absolute -bottom-3 -translate-y-1/2 rounded-[3px] px-1 py-px text-[8px] leading-tight font-medium whitespace-nowrap opacity-0 group-hover:opacity-100", i ? "left-1.5" : "right-1.5"),
children: n
})]
});
}
-function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
+function AVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chartId: a, stacked: o, strokeVariant: s = "solid", connectNulls: c = !1, barRadius: l }) {
let u = R.useMemo(() => Object.entries(n).filter(([e]) => t.includes(e)).map(([e, t]) => ({
dataKey: e,
- colorsCount: a6(t)
+ colorsCount: i6(t)
})), [n, t]), d = s === "dashed" || s === "animated-dashed" ? "4 4" : void 0, f = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [r === "area" && /* @__PURE__ */ (0, B.jsxs)("linearGradient", {
id: `${a}-zm-vertical-fade`,
x1: "0",
@@ -71199,10 +71234,10 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
})] })] }, e);
})] });
- if (r === "line") return /* @__PURE__ */ (0, B.jsx)(JU, {
+ if (r === "line") return /* @__PURE__ */ (0, B.jsx)(qU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, B.jsxs)(qBe, {
+ children: /* @__PURE__ */ (0, B.jsxs)(YBe, {
data: e,
margin: {
top: 4,
@@ -71210,7 +71245,7 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(a4, {
+ children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(i4, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -71226,10 +71261,10 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
});
if (r === "bar") {
let n = l ?? 3;
- return /* @__PURE__ */ (0, B.jsx)(JU, {
+ return /* @__PURE__ */ (0, B.jsx)(qU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, B.jsxs)(V3, {
+ children: /* @__PURE__ */ (0, B.jsxs)(B3, {
data: e,
margin: {
top: 2,
@@ -71239,7 +71274,7 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
},
barGap: 2,
barSize: 14,
- children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(N4, {
+ children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(M4, {
dataKey: e,
fill: `url(#${a}-zm-${e})`,
fillOpacity: .35,
@@ -71255,10 +71290,10 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
- return /* @__PURE__ */ (0, B.jsx)(JU, {
+ return /* @__PURE__ */ (0, B.jsx)(qU, {
width: "100%",
height: "100%",
- children: /* @__PURE__ */ (0, B.jsxs)(uVe, {
+ children: /* @__PURE__ */ (0, B.jsxs)(fVe, {
data: e,
margin: {
top: 4,
@@ -71266,7 +71301,7 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
bottom: 0,
left: 0
},
- children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(b4, {
+ children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: f }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(y4, {
type: i,
dataKey: e,
stroke: `url(#${a}-zm-${e})`,
@@ -71284,7 +71319,7 @@ function OVe({ data: e, keys: t, chartConfig: n, variant: r, curveType: i, chart
})
});
}
-function kVe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
+function jVe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
let [r, i] = R.useState({
startIndex: t,
endIndex: n ?? Math.max(0, e.length - 1)
@@ -71308,7 +71343,7 @@ function kVe({ data: e, defaultStartIndex: t = 0, defaultEndIndex: n }) {
}
};
}
-var AVe = {
+var MVe = {
dots: ({ id: e }) => /* @__PURE__ */ (0, B.jsx)("pattern", {
id: e,
x: "0",
@@ -71480,9 +71515,9 @@ var AVe = {
})
})
};
-function p6({ variant: e }) {
- let t = (0, R.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = AVe[e];
- return /* @__PURE__ */ (0, B.jsxs)(QQ, {
+function f6({ variant: e }) {
+ let t = (0, R.useId)().replace(/:/g, ""), n = `${t}-bg-${e}`, r = `${t}-bg-edge-fade`, i = `${t}-bg-blur`, a = MVe[e];
+ return /* @__PURE__ */ (0, B.jsxs)(ZQ, {
zIndex: -1,
children: [/* @__PURE__ */ (0, B.jsxs)("defs", { children: [
/* @__PURE__ */ (0, B.jsx)(a, { id: n }),
@@ -71512,20 +71547,20 @@ function p6({ variant: e }) {
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-bar-chart.tsx
-var m6 = 2, jVe = "loading", MVe = 2e3, NVe = "evil-stacked", PVe = .5, FVe = .05, IVe = [
+var p6 = 2, NVe = "loading", PVe = 2e3, FVe = "evil-stacked", IVe = .5, LVe = .05, RVe = [
0,
.7,
.5,
1
-], h6 = (0, R.createContext)(null);
-function g6() {
- let e = (0, R.use)(h6);
+], m6 = (0, R.createContext)(null);
+function h6() {
+ let e = (0, R.use)(m6);
if (!e) throw Error("Bar chart parts (<Bar />, <XAxis />, …) must be used within <EvilBarChart />");
return e;
}
-function _6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = m6, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
- let _ = (0, R.useId)().replace(/:/g, ""), [v] = (0, R.useState)(() => Date.now()), [y, b] = (0, R.useState)(f), [x, S] = (0, R.useState)(!1), { loadingData: C, onShimmerExit: w } = tHe(m, h), { visibleData: T, brushProps: E } = kVe({ data: t }), D = (0, R.useMemo)(() => {
- let e = R.Children.toArray(n), t = e.find((e) => (0, R.isValidElement)(e) && e.type === u6), r = (0, R.isValidElement)(t) ? t.props : {};
+function g6({ config: e, data: t, children: n, className: r, chartProps: i, stackType: a = "default", layout: o = "vertical", barRadius: s = p6, animationType: c = "left-to-right", barGap: l, barCategoryGap: u, backgroundVariant: d, defaultSelectedDataKey: f = null, onSelectionChange: p, isLoading: m = !1, loadingBars: h, xDataKey: g }) {
+ let _ = (0, R.useId)().replace(/:/g, ""), [v] = (0, R.useState)(() => Date.now()), [y, b] = (0, R.useState)(f), [x, S] = (0, R.useState)(!1), { loadingData: C, onShimmerExit: w } = rHe(m, h), { visibleData: T, brushProps: E } = jVe({ data: t }), D = (0, R.useMemo)(() => {
+ let e = R.Children.toArray(n), t = e.find((e) => (0, R.isValidElement)(e) && e.type === l6), r = (0, R.isValidElement)(t) ? t.props : {};
return {
slot: {
present: (0, R.isValidElement)(t),
@@ -71533,7 +71568,7 @@ function _6({ config: e, data: t, children: n, className: r, chartProps: i, stac
formatLabel: r.formatLabel,
onChange: r.onChange
},
- chartChildren: e.filter((e) => !((0, R.isValidElement)(e) && e.type === u6))
+ chartChildren: e.filter((e) => !((0, R.isValidElement)(e) && e.type === l6))
};
}, [n]), O = D.slot.present, k = a === "stacked" || a === "percent", A = o === "horizontal", j = O && !m ? T : t, M = (0, R.useCallback)((e) => {
b(e), p?.(e);
@@ -71562,12 +71597,12 @@ function _6({ config: e, data: t, children: n, className: r, chartProps: i, stac
M,
x
]);
- return /* @__PURE__ */ (0, B.jsx)(h6, {
+ return /* @__PURE__ */ (0, B.jsx)(m6, {
value: N,
- children: /* @__PURE__ */ (0, B.jsxs)(t6, {
+ children: /* @__PURE__ */ (0, B.jsxs)(e6, {
className: r,
config: e,
- footer: O && !m && /* @__PURE__ */ (0, B.jsx)(DVe, {
+ footer: O && !m && /* @__PURE__ */ (0, B.jsx)(kVe, {
data: t,
chartConfig: e,
xDataKey: g,
@@ -71583,7 +71618,7 @@ function _6({ config: e, data: t, children: n, className: r, chartProps: i, stac
E.onChange(e), D.slot.onChange?.(e);
}
}),
- children: [/* @__PURE__ */ (0, B.jsx)(n6, { isLoading: m }), /* @__PURE__ */ (0, B.jsxs)(V3, {
+ children: [/* @__PURE__ */ (0, B.jsx)(t6, { isLoading: m }), /* @__PURE__ */ (0, B.jsxs)(B3, {
id: _,
accessibilityLayer: !0,
layout: A ? "vertical" : "horizontal",
@@ -71595,10 +71630,10 @@ function _6({ config: e, data: t, children: n, className: r, chartProps: i, stac
onMouseLeave: () => S(!1),
...i,
children: [
- d && /* @__PURE__ */ (0, B.jsx)(p6, { variant: d }),
- /* @__PURE__ */ (0, B.jsx)(T2, { color: "white" }),
+ d && /* @__PURE__ */ (0, B.jsx)(f6, { variant: d }),
+ /* @__PURE__ */ (0, B.jsx)(w2, { color: "white" }),
D.chartChildren,
- m && /* @__PURE__ */ (0, B.jsx)(nHe, {
+ m && /* @__PURE__ */ (0, B.jsx)(iHe, {
chartId: _,
onShimmerExit: w
})
@@ -71607,8 +71642,8 @@ function _6({ config: e, data: t, children: n, className: r, chartProps: i, stac
})
});
}
-function LVe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
- let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = g6(), b = (0, R.useId)().replace(/:/g, ""), x = ep();
+function zVe({ dataKey: e, variant: t = "default", radius: n, animationType: r, isClickable: i = !1, enableHoverHighlight: a = !1, glowing: o = !1, bufferBar: s = !1, barProps: c }) {
+ let { config: l, isStacked: u, isHorizontal: d, isLoading: f, barRadius: p, animationType: m, introStartedAt: h, dataLength: g, selectedDataKey: _, selectDataKey: v, isMouseInChart: y } = h6(), b = (0, R.useId)().replace(/:/g, ""), x = ep();
if (f) return null;
let S = n ?? p, C = _ === e, w = x ? "none" : r ?? m, T = {
id: b,
@@ -71628,65 +71663,65 @@ function LVe({ dataKey: e, variant: t = "default", radius: n, animationType: r,
i && v(C ? null : e);
}
};
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(N4, {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(M4, {
dataKey: e,
- stackId: u ? NVe : void 0,
+ stackId: u ? FVe : void 0,
fill: `url(#${b}-colors-${e})`,
radius: S,
isAnimationActive: !1,
style: i || a ? { cursor: "pointer" } : void 0,
- shape: (e) => /* @__PURE__ */ (0, B.jsx)(v6, {
+ shape: (e) => /* @__PURE__ */ (0, B.jsx)(_6, {
...e,
...T,
animationType: w
}),
- activeBar: (e) => /* @__PURE__ */ (0, B.jsx)(v6, {
+ activeBar: (e) => /* @__PURE__ */ (0, B.jsx)(_6, {
...e,
...T,
animationType: "none"
}),
...c
}), /* @__PURE__ */ (0, B.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, B.jsx)(KVe, {
+ /* @__PURE__ */ (0, B.jsx)(JVe, {
id: b,
dataKey: e,
config: l
}),
- t === "hatched" && /* @__PURE__ */ (0, B.jsx)(qVe, {
+ t === "hatched" && /* @__PURE__ */ (0, B.jsx)(YVe, {
id: b,
dataKey: e
}),
- t === "duotone" && /* @__PURE__ */ (0, B.jsx)(YVe, {
+ t === "duotone" && /* @__PURE__ */ (0, B.jsx)(ZVe, {
id: b,
dataKey: e,
config: l
}),
- t === "duotone-reverse" && /* @__PURE__ */ (0, B.jsx)(XVe, {
+ t === "duotone-reverse" && /* @__PURE__ */ (0, B.jsx)(QVe, {
id: b,
dataKey: e,
config: l
}),
- t === "gradient" && /* @__PURE__ */ (0, B.jsx)(ZVe, {
+ t === "gradient" && /* @__PURE__ */ (0, B.jsx)($Ve, {
id: b,
dataKey: e
}),
- t === "stripped" && /* @__PURE__ */ (0, B.jsx)(QVe, {
+ t === "stripped" && /* @__PURE__ */ (0, B.jsx)(eHe, {
id: b,
dataKey: e
}),
- s && /* @__PURE__ */ (0, B.jsx)(JVe, {
+ s && /* @__PURE__ */ (0, B.jsx)(XVe, {
id: b,
dataKey: e
}),
- o && /* @__PURE__ */ (0, B.jsx)($Ve, {
+ o && /* @__PURE__ */ (0, B.jsx)(tHe, {
id: b,
dataKey: e
})
] })] });
}
-function RVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
- let { isLoading: o, isHorizontal: s } = g6();
- return o ? null : /* @__PURE__ */ (0, B.jsx)(V4, {
+function BVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, type: i, ...a }) {
+ let { isLoading: o, isHorizontal: s } = h6();
+ return o ? null : /* @__PURE__ */ (0, B.jsx)(B4, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -71695,9 +71730,9 @@ function RVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...a
});
}
-function zVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
- let { isLoading: s, isHorizontal: c } = g6();
- return s ? null : /* @__PURE__ */ (0, B.jsx)(K4, {
+function VVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap: r = 8, width: i = "auto", type: a, ...o }) {
+ let { isLoading: s, isHorizontal: c } = h6();
+ return s ? null : /* @__PURE__ */ (0, B.jsx)(G4, {
tickLine: e,
axisLine: t,
tickMargin: n,
@@ -71707,33 +71742,33 @@ function zVe({ tickLine: e = !1, axisLine: t = !1, tickMargin: n = 8, minTickGap
...o
});
}
-function BVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
- let { isHorizontal: i } = g6();
- return /* @__PURE__ */ (0, B.jsx)(H2, {
+function HVe({ strokeDasharray: e = "3 3", vertical: t, horizontal: n, ...r }) {
+ let { isHorizontal: i } = h6();
+ return /* @__PURE__ */ (0, B.jsx)(V2, {
strokeDasharray: e,
vertical: t ?? i,
horizontal: n ?? !i,
...r
});
}
-function VVe({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = g6();
- return r ? null : /* @__PURE__ */ (0, B.jsx)(s6, {
+function UVe({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = h6();
+ return r ? null : /* @__PURE__ */ (0, B.jsx)(o6, {
cursor: !1,
defaultIndex: n,
- content: /* @__PURE__ */ (0, B.jsx)(o6, {
+ content: /* @__PURE__ */ (0, B.jsx)(a6, {
selected: i,
roundness: t,
variant: e
})
});
}
-function HVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
- let { selectedDataKey: i, selectDataKey: a } = g6();
- return /* @__PURE__ */ (0, B.jsx)(l6, {
+function WVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClickable: r = !1 }) {
+ let { selectedDataKey: i, selectDataKey: a } = h6();
+ return /* @__PURE__ */ (0, B.jsx)(c6, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, B.jsx)(c6, {
+ content: /* @__PURE__ */ (0, B.jsx)(s6, {
selected: i,
onSelectChange: a,
isClickable: r,
@@ -71741,8 +71776,8 @@ function HVe({ variant: e, align: t = "right", verticalAlign: n = "top", isClick
})
});
}
-var v6 = (e) => {
- let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = UVe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : WVe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = GVe({
+var _6 = (e) => {
+ let { x: t = 0, y: n = 0, width: r = 0, height: i = 0, id: a, dataKey: o, variant: s, barRadius: c, glowing: l, bufferBar: u, isClickable: d, enableHoverHighlight: f, isMouseInChart: p, isHorizontal: m = !1, animationType: h = "none", introStartedAt: g = 0, selectedDataKey: _, isActive: v, dataLength: y = 0, onClick: b } = e, x = typeof e.index == "number" ? e.index : -1, S = u && y > 0 && x === y - 1, C = s === "stripped", w = GVe(h, x, y, m, g), T = S ? `url(#${a}-buffer-hatched-${o})` : KVe(s, a, o), E = l ? `url(#${a}-bar-glow-${o})` : void 0, D = qVe({
isClickable: d,
selectedDataKey: _,
dataKey: o,
@@ -71754,7 +71789,7 @@ var v6 = (e) => {
c,
0,
0
- ] : c, A = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(ZG, {
+ ] : c, A = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(XG, {
x: t,
y: n,
width: r,
@@ -71765,7 +71800,7 @@ var v6 = (e) => {
filter: E,
stroke: S ? `url(#${a}-colors-${o})` : void 0,
strokeWidth: S ? 1 : void 0
- }), C && /* @__PURE__ */ (0, B.jsx)(ZG, {
+ }), C && /* @__PURE__ */ (0, B.jsx)(XG, {
x: t,
y: n - 4,
width: r,
@@ -71776,7 +71811,7 @@ var v6 = (e) => {
return /* @__PURE__ */ (0, B.jsxs)("g", {
style: O,
onClick: b,
- children: [/* @__PURE__ */ (0, B.jsx)(ZG, {
+ children: [/* @__PURE__ */ (0, B.jsx)(XG, {
...e,
fill: "transparent"
}), w ? /* @__PURE__ */ (0, B.jsx)(ap.g, {
@@ -71787,7 +71822,7 @@ var v6 = (e) => {
children: A
}) : A]
});
-}, UVe = (e, t, n, r, i) => {
+}, GVe = (e, t, n, r, i) => {
if (e === "none" || t < 0 || n <= 0) return null;
let a = n - 1, o = a / 2, s;
switch (e) {
@@ -71802,11 +71837,11 @@ var v6 = (e) => {
break;
default: s = t;
}
- let c = s * FVe * 1e3, l = PVe * 1e3, u = c + l, d = Date.now() - i;
+ let c = s * LVe * 1e3, l = IVe * 1e3, u = c + l, d = Date.now() - i;
if (d >= u) return null;
let f = d <= c ? 0 : (d - c) / l, p = {
duration: (u - Math.max(d, c)) / 1e3,
- ease: IVe,
+ ease: RVe,
delay: Math.max(0, c - d) / 1e3
};
return r ? {
@@ -71820,7 +71855,7 @@ var v6 = (e) => {
transition: p,
style: { originY: 1 }
};
-}, WVe = (e, t, n) => {
+}, KVe = (e, t, n) => {
switch (e) {
case "hatched": return `url(#${t}-hatched-${n})`;
case "duotone": return `url(#${t}-duotone-${n})`;
@@ -71829,11 +71864,11 @@ var v6 = (e) => {
case "stripped": return `url(#${t}-stripped-${n})`;
default: return `url(#${t}-colors-${n})`;
}
-}, GVe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
+}, qVe = ({ isClickable: e, selectedDataKey: t, dataKey: n, enableHoverHighlight: r, isMouseInChart: i, isActive: a }) => {
let o = e && t !== null ? t === null || t === n ? 1 : .15 : 1;
return r && i ? a ? o : o * .3 : o;
-}, KVe = ({ id: e, dataKey: t, config: n }) => {
- let r = a6(n[t] ?? {});
+}, JVe = ({ id: e, dataKey: t, config: n }) => {
+ let r = i6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
@@ -71854,7 +71889,7 @@ var v6 = (e) => {
}, i);
})
});
-}, qVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
+}, YVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("pattern", {
id: `${e}-hatched-mask-pattern`,
x: "0",
@@ -71895,7 +71930,7 @@ var v6 = (e) => {
mask: `url(#${e}-hatched-mask-${t})`
})
})
-] }), JVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
+] }), XVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("pattern", {
id: `${e}-buffer-hatched-mask-pattern`,
x: "0",
@@ -71936,8 +71971,8 @@ var v6 = (e) => {
mask: `url(#${e}-buffer-hatched-mask-${t})`
})
})
-] }), YVe = ({ id: e, dataKey: t, config: n }) => {
- let r = a6(n[t] ?? {});
+] }), ZVe = ({ id: e, dataKey: t, config: n }) => {
+ let r = i6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("linearGradient", {
id: `${e}-duotone-mask-gradient-${t}`,
@@ -72004,8 +72039,8 @@ var v6 = (e) => {
})
})
] });
-}, XVe = ({ id: e, dataKey: t, config: n }) => {
- let r = a6(n[t] ?? {});
+}, QVe = ({ id: e, dataKey: t, config: n }) => {
+ let r = i6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("linearGradient", {
id: `${e}-duotone-reverse-mask-gradient-${t}`,
@@ -72072,7 +72107,7 @@ var v6 = (e) => {
})
})
] });
-}, ZVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
+}, $Ve = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("linearGradient", {
id: `${e}-gradient-mask-gradient`,
x1: "0",
@@ -72109,7 +72144,7 @@ var v6 = (e) => {
mask: `url(#${e}-gradient-mask-${t})`
})
})
-] }), QVe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
+] }), eHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("linearGradient", {
id: `${e}-stripped-mask-gradient`,
x1: "0",
@@ -72146,7 +72181,7 @@ var v6 = (e) => {
mask: `url(#${e}-stripped-mask-${t})`
})
})
-] }), $Ve = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)("filter", {
+] }), tHe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)("filter", {
id: `${e}-bar-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -72166,35 +72201,35 @@ var v6 = (e) => {
}),
/* @__PURE__ */ (0, B.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, B.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, B.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), eHe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
+}), nHe = (e = 17, t = .05, n = .9) => Array.from({ length: e }, (r, i) => {
let a = i / (e - 1), o = t + Math.sin(a * Math.PI) ** 2 * (n - t);
return {
offset: `${(a * 100).toFixed(0)}%`,
opacity: Number(o.toFixed(3))
};
});
-function tHe(e, t = 12) {
+function rHe(e, t = 12) {
let [n, r] = (0, R.useState)(!1), i = (0, R.useCallback)(() => {
e && r((e) => !e);
}, [e]);
return {
- loadingData: (0, R.useMemo)(() => yVe(t, 20, 80), [t, n]),
+ loadingData: (0, R.useMemo)(() => xVe(t, 20, 80), [t, n]),
onShimmerExit: i
};
}
-var nHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(N4, {
- dataKey: jVe,
+var iHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(M4, {
+ dataKey: NVe,
fill: "currentColor",
fillOpacity: .15,
- radius: m6,
+ radius: p6,
isAnimationActive: !1,
legendType: "none",
style: { mask: `url(#${e}-loading-mask)` }
-}), /* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)(rHe, {
+}), /* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)(aHe, {
chartId: e,
onShimmerExit: t
-}) })] }), rHe = ({ chartId: e, onShimmerExit: t }) => {
- let n = eHe(), r = (0, R.useRef)(-1);
+}) })] }), aHe = ({ chartId: e, onShimmerExit: t }) => {
+ let n = nHe(), r = (0, R.useRef)(-1);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${e}-loading-mask-gradient`,
@@ -72225,7 +72260,7 @@ var nHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fr
initial: { x: -1 },
animate: { x: 2 },
transition: {
- duration: MVe / 1e3,
+ duration: PVe / 1e3,
ease: "linear",
repeat: Infinity,
repeatType: "loop"
@@ -72247,11 +72282,11 @@ var nHe = ({ chartId: e, onShimmerExit: t }) => /* @__PURE__ */ (0, B.jsxs)(B.Fr
})
] });
};
-_6.Bar = LVe, _6.XAxis = RVe, _6.YAxis = zVe, _6.Grid = BVe, _6.Tooltip = VVe, _6.Legend = HVe, _6.Brush = u6;
+g6.Bar = zVe, g6.XAxis = BVe, g6.YAxis = VVe, g6.Grid = HVe, g6.Tooltip = UVe, g6.Legend = WVe, g6.Brush = l6;
//#endregion
//#region src/react/charts/chart-card.tsx
-var y6 = `${kE({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
-function b6({ title: e, figure: t, note: n }) {
+var v6 = `${OE({ radius: "chart" })} flex flex-col gap-4 max-sm:p-4`;
+function y6({ title: e, figure: t, note: n }) {
return /* @__PURE__ */ (0, B.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
children: [/* @__PURE__ */ (0, B.jsxs)("span", {
@@ -72269,24 +72304,24 @@ function b6({ title: e, figure: t, note: n }) {
})]
});
}
-var x6 = [
+var b6 = [
"var(--color-chart-1)",
"var(--color-chart-2)",
"var(--color-chart-3)",
"var(--color-chart-4)",
"var(--color-chart-5)",
"var(--color-chart-6)"
-], S6 = (e) => ({ light: [e] }), C6 = (e) => `s${e}`;
-function iHe(e) {
- return Object.fromEntries(e.map((e, t) => [C6(t), {
+], x6 = (e) => ({ light: [e] }), S6 = (e) => `s${e}`;
+function oHe(e) {
+ return Object.fromEntries(e.map((e, t) => [S6(t), {
label: e,
- colors: S6(x6[t % x6.length])
+ colors: x6(b6[t % b6.length])
}]));
}
//#endregion
//#region src/react/charts/chart-tip.tsx
-var w6 = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
-function T6({ swatch: e, name: t, value: n }) {
+var C6 = "flex min-w-32 flex-col gap-1.5 rounded-lg border border-border/50 bg-background px-2.5 py-1.5 text-xs shadow-xl";
+function w6({ swatch: e, name: t, value: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex w-full items-center gap-2",
children: [e, /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -72301,33 +72336,33 @@ function T6({ swatch: e, name: t, value: n }) {
})]
});
}
-var E6 = "size-2.5 shrink-0 rounded-xs";
-function aHe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
- let { config: o } = e6(), s = (t ?? []).filter((e) => e.type !== "none");
+var T6 = "size-2.5 shrink-0 rounded-xs";
+function sHe({ active: e, payload: t, label: n, nameKey: r, valueKey: i, hideLabel: a }) {
+ let { config: o } = $3(), s = (t ?? []).filter((e) => e.type !== "none");
if (!e || !s.length) return /* @__PURE__ */ (0, B.jsx)("span", { className: "p-4" });
let c = a || typeof n != "string" ? null : o[n]?.label ?? n;
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: w6,
+ className: C6,
children: [c ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "font-medium text-foreground",
children: c
}) : null, s.map((e, t) => {
- let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = i6(o, e, a), c = i ? n[i] : e.value;
- return /* @__PURE__ */ (0, B.jsx)(T6, {
+ let n = e.payload ?? {}, a = `${(r ? n[r] : void 0) ?? e.name ?? e.dataKey ?? "value"}`, s = r6(o, e, a), c = i ? n[i] : e.value;
+ return /* @__PURE__ */ (0, B.jsx)(w6, {
name: s?.label ?? e.name,
value: Number(c ?? 0),
swatch: /* @__PURE__ */ (0, B.jsx)("i", {
- className: E6,
+ className: T6,
style: { background: `var(--color-${a}-0)` }
})
}, a + t);
})]
});
}
-function D6({ nameKey: e, valueKey: t, hideLabel: n }) {
- return /* @__PURE__ */ (0, B.jsx)(s6, {
+function E6({ nameKey: e, valueKey: t, hideLabel: n }) {
+ return /* @__PURE__ */ (0, B.jsx)(o6, {
cursor: !1,
- content: /* @__PURE__ */ (0, B.jsx)(aHe, {
+ content: /* @__PURE__ */ (0, B.jsx)(sHe, {
nameKey: e,
valueKey: t,
hideLabel: n
@@ -72336,12 +72371,12 @@ function D6({ nameKey: e, valueKey: t, hideLabel: n }) {
}
//#endregion
//#region src/react/charts/bar-card.tsx
-var O6 = [0, (e) => e * 1.2], k6 = (e) => ({
+var D6 = [0, (e) => e * 1.2], O6 = (e) => ({
position: e,
className: "fill-text-secondary",
formatter: (e) => Number(e).toLocaleString()
});
-function A6({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {
+function k6({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vertical" }) {
let o = r.filter((e) => Number.isFinite(e.value) && e.value >= 0).map((e) => ({
name: e.name,
value: e.value
@@ -72349,53 +72384,53 @@ function A6({ title: e, unit: t, series: n, rows: r, color: i, layout: a = "vert
if (!s) return null;
let c = a === "horizontal";
return /* @__PURE__ */ (0, B.jsxs)("section", {
- className: y6,
+ className: v6,
"aria-label": e,
- children: [/* @__PURE__ */ (0, B.jsx)(b6, {
+ children: [/* @__PURE__ */ (0, B.jsx)(y6, {
title: e,
figure: s.toLocaleString(),
note: t
- }), /* @__PURE__ */ (0, B.jsxs)(_6, {
+ }), /* @__PURE__ */ (0, B.jsxs)(g6, {
data: o,
config: { value: {
label: n,
- colors: S6(i)
+ colors: x6(i)
} },
layout: a,
barRadius: 4,
className: c ? "aspect-auto h-64 flex-none text-text-secondary" : "aspect-auto h-56 flex-none text-text-secondary",
children: [
- /* @__PURE__ */ (0, B.jsx)(_6.Grid, {}),
- c ? /* @__PURE__ */ (0, B.jsx)(_6.YAxis, {
+ /* @__PURE__ */ (0, B.jsx)(g6.Grid, {}),
+ c ? /* @__PURE__ */ (0, B.jsx)(g6.YAxis, {
dataKey: "name",
interval: 0
- }) : /* @__PURE__ */ (0, B.jsx)(_6.XAxis, {
+ }) : /* @__PURE__ */ (0, B.jsx)(g6.XAxis, {
dataKey: "name",
interval: 0
}),
- c ? /* @__PURE__ */ (0, B.jsx)(_6.XAxis, {
+ c ? /* @__PURE__ */ (0, B.jsx)(g6.XAxis, {
hide: !0,
- domain: O6
- }) : /* @__PURE__ */ (0, B.jsx)(_6.YAxis, {
+ domain: D6
+ }) : /* @__PURE__ */ (0, B.jsx)(g6.YAxis, {
hide: !0,
- domain: O6
+ domain: D6
}),
- /* @__PURE__ */ (0, B.jsx)(_6.Bar, {
+ /* @__PURE__ */ (0, B.jsx)(g6.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: k6(c ? "right" : "top")
+ label: O6(c ? "right" : "top")
}
}),
- /* @__PURE__ */ (0, B.jsx)(D6, {})
+ /* @__PURE__ */ (0, B.jsx)(E6, {})
]
})]
});
}
//#endregion
//#region src/react/charts/heat.ts
-var j6 = [
+var A6 = [
"周一",
"周二",
"周三",
@@ -72403,8 +72438,8 @@ var j6 = [
"周五",
"周六",
"周日"
-], M6 = (e, t) => e ? Math.max(.12, e / t) : 0;
-function oHe(e) {
+], j6 = (e, t) => e ? Math.max(.12, e / t) : 0;
+function cHe(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;
@@ -72414,14 +72449,14 @@ function oHe(e) {
return {
cells: t.flatMap((e, t) => e.map((e, n) => ({
key: `${t}-${n}`,
- label: `${j6[t]} ${n}:00`,
+ label: `${A6[t]} ${n}:00`,
count: e,
- share: M6(e, r)
+ share: j6(e, r)
}))),
total: n.reduce((e, t) => e + t, 0)
};
}
-function sHe(e) {
+function lHe(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,
@@ -72439,7 +72474,7 @@ function sHe(e) {
key: r,
label: r,
count: s,
- share: M6(s, o)
+ share: j6(s, o)
};
});
return {
@@ -72451,7 +72486,7 @@ function sHe(e) {
}
//#endregion
//#region src/react/charts/heat-card.tsx
-var N6 = 14, P6 = 17, F6 = {
+var M6 = 14, N6 = 17, P6 = {
4: {
fill: "fill-chart-4",
dot: "bg-chart-4"
@@ -72460,42 +72495,42 @@ var N6 = 14, P6 = 17, F6 = {
fill: "fill-chart-5",
dot: "bg-chart-5"
}
-}, cHe = {
+}, uHe = {
start: "translate-x-0",
center: "-translate-x-1/2",
end: "-translate-x-full"
};
-function lHe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
+function dHe({ cell: e, series: t, tone: n, left: r, top: i, anchor: a }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
"aria-hidden": !0,
style: {
left: `${r}%`,
top: `${i}%`
},
- className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${w6} ${cHe[a]}`,
+ className: `pointer-events-none absolute z-10 -mt-2 -translate-y-full ${C6} ${uHe[a]}`,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "font-medium text-foreground",
children: e.label
- }), /* @__PURE__ */ (0, B.jsx)(T6, {
+ }), /* @__PURE__ */ (0, B.jsx)(w6, {
name: t,
value: e.count,
- swatch: /* @__PURE__ */ (0, B.jsx)("i", { className: `${E6} ${F6[n].dot}` })
+ swatch: /* @__PURE__ */ (0, B.jsx)("i", { className: `${T6} ${P6[n].dot}` })
})]
});
}
-function I6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
- let [l, u] = (0, R.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * P6, m = f + a * P6, h = (e) => ({
- x: d + e % i * P6,
- y: f + Math.floor(e / i) * P6
- }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + N6 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
+function F6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis: o, footer: s, tone: c }) {
+ let [l, u] = (0, R.useState)(-1), d = o ? 30 : 0, f = o ? 18 : 0, p = d + i * N6, m = f + a * N6, h = (e) => ({
+ x: d + e % i * N6,
+ y: f + Math.floor(e / i) * N6
+ }), g = n[l], _ = g ? h(l) : null, v = _ ? (_.x + M6 / 2) / p : 0, y = v < .1 ? "start" : v > .9 ? "end" : "center", b = _ ? {
start: _.x,
- center: _.x + N6 / 2,
- end: _.x + N6
+ center: _.x + M6 / 2,
+ end: _.x + M6
}[y] : 0;
return /* @__PURE__ */ (0, B.jsxs)("section", {
- className: y6,
+ className: v6,
children: [
- /* @__PURE__ */ (0, B.jsx)(b6, {
+ /* @__PURE__ */ (0, B.jsx)(y6, {
title: e,
figure: (g ? g.count : r).toLocaleString(),
note: g ? g.label : t.unit
@@ -72518,19 +72553,19 @@ function I6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
"aria-label": `${e.label},${e.count} ${t.cellUnit}`,
x: r,
y: i,
- width: N6,
- height: N6,
+ width: M6,
+ height: M6,
rx: 3,
fillOpacity: e.share || 1,
opacity: l >= 0 && l !== n ? .4 : 1,
- className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${F6[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
+ className: e.share ? `outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring ${P6[c].fill}` : "fill-chart-track outline-none transition-opacity duration-200 focus-visible:stroke-border-focus-ring",
onPointerEnter: () => u(n),
onFocus: () => u(n),
onBlur: () => u(-1)
}, e.key);
})]
})
- }), g && _ ? /* @__PURE__ */ (0, B.jsx)(lHe, {
+ }), g && _ ? /* @__PURE__ */ (0, B.jsx)(dHe, {
cell: g,
series: t.series,
tone: c,
@@ -72546,24 +72581,24 @@ function I6({ title: e, words: t, cells: n, total: r, columns: i, rows: a, axis:
]
});
}
-var uHe = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [j6.map((e, t) => /* @__PURE__ */ (0, B.jsx)("text", {
+var fHe = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [A6.map((e, t) => /* @__PURE__ */ (0, B.jsx)("text", {
x: 0,
- y: 18 + t * P6 + 7,
+ y: 18 + t * N6 + 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, B.jsx)("text", {
- x: 30 + t * P6,
+ x: 30 + t * N6,
y: 8,
dominantBaseline: "middle",
className: "fill-text-secondary text-caption-1-regular",
children: t
}, t))] });
-function L6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
- let o = oHe(e), s = sHe(e);
+function I6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a }) {
+ let o = cHe(e), s = lHe(e);
return s.cells.length ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "inline-grid w-full items-start gap-5 lg:grid-cols-2",
- children: [/* @__PURE__ */ (0, B.jsx)(I6, {
+ children: [/* @__PURE__ */ (0, B.jsx)(F6, {
title: t,
words: r,
tone: i,
@@ -72571,9 +72606,9 @@ function L6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
total: o.total,
columns: 24,
rows: 7,
- axis: uHe,
+ axis: fHe,
footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("span", { children: "星期 × 小时" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e?.timezone || "UTC+08:00" })] })
- }), /* @__PURE__ */ (0, B.jsx)(I6, {
+ }), /* @__PURE__ */ (0, B.jsx)(F6, {
title: n,
words: r,
tone: i,
@@ -72584,7 +72619,7 @@ function L6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
footer: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("span", { children: s.start }), /* @__PURE__ */ (0, B.jsx)("span", { children: s.end })] })
})]
}) : a ? /* @__PURE__ */ (0, B.jsxs)("section", {
- className: y6,
+ className: v6,
children: [/* @__PURE__ */ (0, B.jsx)("h3", {
className: "text-title-2-medium text-text-primary",
children: t
@@ -72596,7 +72631,7 @@ function L6({ activity: e, title: t, dailyTitle: n, words: r, tone: i, empty: a
}
//#endregion
//#region src/react/components/expandable-ranking.tsx
-function R6({ children: e, className: t = "", previewCount: n = 10 }) {
+function L6({ children: e, className: t = "", previewCount: n = 10 }) {
let r = (0, R.useId)(), i = (0, R.useRef)(null), [a, o] = (0, R.useState)(!1), [s, c] = (0, R.useState)(!1), l = R.Children.toArray(e), u = l.length > n;
(0, R.useLayoutEffect)(() => {
let e = i.current;
@@ -72637,20 +72672,20 @@ function R6({ children: e, className: t = "", previewCount: n = 10 }) {
onClick: () => {
c(!0), o((e) => !e);
},
- children: /* @__PURE__ */ (0, B.jsx)(mT, { "aria-hidden": !0 })
+ children: /* @__PURE__ */ (0, B.jsx)(pT, { "aria-hidden": !0 })
}) : null]
});
}
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radial-chart.tsx
-var dHe = "30%", fHe = "100%", z6 = 5, B6 = 14, pHe = 5, V6 = 1500, H6 = (0, R.createContext)(null);
-function U6() {
- let e = (0, R.use)(H6);
+var pHe = "30%", mHe = "100%", R6 = 5, z6 = 14, hHe = 5, B6 = 1500, V6 = (0, R.createContext)(null);
+function H6() {
+ let e = (0, R.use)(V6);
if (!e) throw Error("Radial chart parts (<RadialBar />, <Tooltip />, …) must be used within <EvilRadialChart />");
return e;
}
-function W6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = dHe, outerRadius: l = fHe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
- let m = (0, R.useId)().replace(/:/g, ""), [h, g] = (0, R.useState)(u), _ = bHe(f), v = _He(o), y = (0, R.useCallback)((e, t) => {
+function U6({ config: e, data: t, nameKey: n, children: r, className: i, chartProps: a, variant: o = "full", max: s, innerRadius: c = pHe, outerRadius: l = mHe, defaultSelectedDataKey: u = null, onSelectionChange: d, isLoading: f = !1, backgroundVariant: p }) {
+ let m = (0, R.useId)().replace(/:/g, ""), [h, g] = (0, R.useState)(u), _ = SHe(f), v = yHe(o), y = (0, R.useCallback)((e, t) => {
g(e), d?.(e === null ? null : {
dataKey: e,
value: t ?? 0
@@ -72677,12 +72712,12 @@ function W6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
h,
y
]);
- return /* @__PURE__ */ (0, B.jsx)(H6, {
+ return /* @__PURE__ */ (0, B.jsx)(V6, {
value: x,
- children: /* @__PURE__ */ (0, B.jsxs)(t6, {
+ children: /* @__PURE__ */ (0, B.jsxs)(e6, {
className: i,
config: e,
- children: [/* @__PURE__ */ (0, B.jsx)(n6, { isLoading: f }), /* @__PURE__ */ (0, B.jsxs)(gVe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(t6, { isLoading: f }), /* @__PURE__ */ (0, B.jsxs)(vVe, {
id: m,
data: f ? _ : b,
innerRadius: c,
@@ -72693,16 +72728,16 @@ function W6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
cy: v.cy,
...a,
children: [
- s != null && s > 0 && /* @__PURE__ */ (0, B.jsx)(q1, {
+ s != null && s > 0 && /* @__PURE__ */ (0, B.jsx)(K1, {
type: "number",
domain: [0, s],
tick: !1,
axisLine: !1
}),
- p && /* @__PURE__ */ (0, B.jsx)(p6, { variant: p }),
+ p && /* @__PURE__ */ (0, B.jsx)(f6, { variant: p }),
r,
- f && /* @__PURE__ */ (0, B.jsx)(xHe, {}),
- /* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)(vHe, {
+ f && /* @__PURE__ */ (0, B.jsx)(CHe, {}),
+ /* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)(bHe, {
config: e,
chartId: m
}) })
@@ -72711,9 +72746,9 @@ function W6({ config: e, data: t, nameKey: n, children: r, className: i, chartPr
})
});
}
-function mHe({ dataKey: e, cornerRadius: t = z6, barSize: n = B6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
- let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = U6();
- return s ? null : /* @__PURE__ */ (0, B.jsx)(g2, {
+function gHe({ dataKey: e, cornerRadius: t = R6, barSize: n = z6, showBackground: r = !0, isClickable: i = !1, radialBarProps: a }) {
+ let { nameKey: o, isLoading: s, selectedBar: c, selectBar: l } = H6();
+ return s ? null : /* @__PURE__ */ (0, B.jsx)(h2, {
dataKey: e,
cornerRadius: t,
barSize: n,
@@ -72727,7 +72762,7 @@ function mHe({ dataKey: e, cornerRadius: t = z6, barSize: n = B6, showBackground
},
shape: (e) => {
let t = e[o], n = c === null || c === t;
- return /* @__PURE__ */ (0, B.jsx)(cK, {
+ return /* @__PURE__ */ (0, B.jsx)(sK, {
...e,
opacity: i && !n ? .15 : 1,
className: "transition-opacity duration-200"
@@ -72736,12 +72771,12 @@ function mHe({ dataKey: e, cornerRadius: t = z6, barSize: n = B6, showBackground
...a
});
}
-function hHe({ variant: e, roundness: t, defaultIndex: n }) {
- let { nameKey: r, isLoading: i } = U6();
- return i ? null : /* @__PURE__ */ (0, B.jsx)(s6, {
+function _He({ variant: e, roundness: t, defaultIndex: n }) {
+ let { nameKey: r, isLoading: i } = H6();
+ return i ? null : /* @__PURE__ */ (0, B.jsx)(o6, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, B.jsx)(o6, {
+ content: /* @__PURE__ */ (0, B.jsx)(a6, {
nameKey: r,
hideLabel: !0,
roundness: t,
@@ -72749,12 +72784,12 @@ function hHe({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-function gHe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = U6();
- return a ? null : /* @__PURE__ */ (0, B.jsx)(l6, {
+function vHe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { nameKey: i, isLoading: a, selectedBar: o, selectBar: s } = H6();
+ return a ? null : /* @__PURE__ */ (0, B.jsx)(c6, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, B.jsx)(c6, {
+ content: /* @__PURE__ */ (0, B.jsx)(s6, {
selected: o,
onSelectChange: s,
isClickable: r,
@@ -72763,7 +72798,7 @@ function gHe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-function _He(e) {
+function yHe(e) {
switch (e) {
case "semi": return {
startAngle: 180,
@@ -72779,8 +72814,8 @@ function _He(e) {
};
}
}
-var vHe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, B.jsx)(B.Fragment, { children: Object.entries(e).map(([e, n]) => {
- let r = a6(n);
+var bHe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, B.jsx)(B.Fragment, { children: Object.entries(e).map(([e, n]) => {
+ let r = i6(n);
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${t}-radial-colors-${e}`,
x1: "0",
@@ -72802,47 +72837,47 @@ var vHe = ({ config: e, chartId: t }) => /* @__PURE__ */ (0, B.jsx)(B.Fragment,
})
}, `${t}-radial-colors-${e}`);
}) });
-function yHe() {
- return Array.from({ length: pHe }, (e, t) => ({
+function xHe() {
+ return Array.from({ length: hHe }, (e, t) => ({
name: `loading${t}`,
value: 40 + Math.random() * 60
}));
}
-function bHe(e) {
+function SHe(e) {
let [t, n] = (0, R.useState)(0);
return (0, R.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
n((e) => e + 1);
- }, V6);
+ }, B6);
return () => clearInterval(t);
- }, [e]), (0, R.useMemo)(() => yHe(), [t]);
+ }, [e]), (0, R.useMemo)(() => xHe(), [t]);
}
-var xHe = () => /* @__PURE__ */ (0, B.jsx)(g2, {
+var CHe = () => /* @__PURE__ */ (0, B.jsx)(h2, {
dataKey: "value",
- cornerRadius: z6,
- barSize: B6,
+ cornerRadius: R6,
+ barSize: z6,
background: !0,
isAnimationActive: !0,
- animationDuration: V6,
+ animationDuration: B6,
animationEasing: "ease-in-out",
- shape: (e) => /* @__PURE__ */ (0, B.jsx)(cK, {
+ shape: (e) => /* @__PURE__ */ (0, B.jsx)(sK, {
...e,
fill: "currentColor",
fillOpacity: .25
})
});
-W6.RadialBar = mHe, W6.Tooltip = hHe, W6.Legend = gHe;
+U6.RadialBar = gHe, U6.Tooltip = _He, U6.Legend = vHe;
//#endregion
//#region src/react/stats/radial-card.tsx
-var SHe = [
+var wHe = [
"bg-chart-1",
"bg-chart-2",
"bg-chart-3",
"bg-chart-4",
"bg-chart-5",
"bg-chart-6"
-], CHe = [
+], THe = [
"aria-pressed:bg-chart-1/10 aria-pressed:ring-chart-1",
"aria-pressed:bg-chart-2/10 aria-pressed:ring-chart-2",
"aria-pressed:bg-chart-3/10 aria-pressed:ring-chart-3",
@@ -72850,15 +72885,15 @@ var SHe = [
"aria-pressed:bg-chart-5/10 aria-pressed:ring-chart-5",
"aria-pressed:bg-chart-6/10 aria-pressed:ring-chart-6"
];
-function G6({ title: e, rows: t, unit: n = "个视频" }) {
+function W6({ title: e, rows: t, unit: n = "个视频" }) {
let [r, i] = (0, R.useState)(-1), [a, o] = (0, R.useState)(-1), s = t.filter((e) => Number.isFinite(e.value) && e.value >= 0);
if (!s.length) return null;
let c = a >= 0 ? a : r, l = s.reduce((e, t) => e + t.value, 0), u = s[c], d = (e) => i((t) => t === e ? -1 : e), f = s.map((e, t) => ({
- slice: C6(t),
+ slice: S6(t),
value: e.value
}));
return /* @__PURE__ */ (0, B.jsxs)("section", {
- className: y6,
+ className: v6,
children: [
/* @__PURE__ */ (0, B.jsxs)("header", {
className: "flex flex-wrap items-end justify-between gap-x-4 gap-y-1",
@@ -72880,18 +72915,18 @@ function G6({ title: e, rows: t, unit: n = "个视频" }) {
role: "img",
"aria-label": e,
onPointerLeave: () => o(-1),
- children: /* @__PURE__ */ (0, B.jsxs)(W6, {
+ children: /* @__PURE__ */ (0, B.jsxs)(U6, {
data: f,
nameKey: "slice",
- config: iHe(s.map((e) => e.name)),
- max: abe(s.map((e) => e.value)),
+ config: oHe(s.map((e) => e.name)),
+ max: sbe(s.map((e) => e.value)),
innerRadius: "22%",
className: "aspect-auto h-75 max-sm:h-65",
- children: [/* @__PURE__ */ (0, B.jsx)(W6.RadialBar, {
+ children: [/* @__PURE__ */ (0, B.jsx)(U6.RadialBar, {
dataKey: "value",
- barSize: obe(s.length),
+ barSize: cbe(s.length),
radialBarProps: {
- shape: (e) => /* @__PURE__ */ (0, B.jsx)(cK, {
+ shape: (e) => /* @__PURE__ */ (0, B.jsx)(sK, {
...e,
opacity: c >= 0 && c !== e.index ? .3 : 1,
className: "cursor-pointer transition-opacity duration-200"
@@ -72899,7 +72934,7 @@ function G6({ title: e, rows: t, unit: n = "个视频" }) {
onClick: (e, t) => d(t),
onMouseEnter: (e, t) => o(t)
}
- }), /* @__PURE__ */ (0, B.jsx)(D6, {
+ }), /* @__PURE__ */ (0, B.jsx)(E6, {
nameKey: "slice",
hideLabel: !0
})]
@@ -72915,13 +72950,13 @@ function G6({ title: e, rows: t, unit: n = "个视频" }) {
onPointerLeave: () => o(-1),
onFocus: () => o(t),
onBlur: () => o(-1),
- className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${CHe[t % 6]}`,
+ className: `flex min-w-0 cursor-pointer flex-col items-start gap-1 rounded-xl bg-background-tertiary-default p-2.5 text-left outline-none aria-pressed:ring-1 aria-pressed:ring-inset focus-visible:ring-2 focus-visible:ring-border-focus-ring ${THe[t % 6]}`,
children: [
/* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 items-center gap-1.5 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, B.jsx)("i", {
"aria-hidden": !0,
- className: `size-3 shrink-0 rounded-sm ${SHe[t % 6]}`
+ className: `size-3 shrink-0 rounded-sm ${wHe[t % 6]}`
}), e.name]
}),
/* @__PURE__ */ (0, B.jsx)("b", {
@@ -72940,8 +72975,8 @@ function G6({ title: e, rows: t, unit: n = "个视频" }) {
}
//#endregion
//#region src/react/stats/stats-page.tsx
-var wHe = 10, K6 = x6[5], THe = x6[4], EHe = `${kE()} flex flex-col gap-4`, DHe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", OHe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", kHe = "开始播放后,这里会显示最近的真实观看证据。", AHe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", jHe = "添加媒体文件夹后,这里会显示存储空间。";
-function q6({ term: e, value: t }) {
+var EHe = 10, G6 = b6[5], DHe = b6[4], OHe = `${OE()} flex flex-col gap-4`, kHe = "添加媒体文件夹或关注来源后,这里会显示馆藏统计。", AHe = "补全资料或添加标签后,这里会显示馆藏中的内容标签。", jHe = "开始播放后,这里会显示最近的真实观看证据。", MHe = "刮削或手动打标之后,这里会显示每个来源覆盖了多少视频。", NHe = "添加媒体文件夹后,这里会显示存储空间。";
+function K6({ term: e, value: t }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-h-16 min-w-0 flex-col gap-1.5 rounded-2lg bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, B.jsx)("span", {
@@ -72953,7 +72988,7 @@ function q6({ term: e, value: t }) {
})]
});
}
-function J6({ term: e, value: t, total: n }) {
+function q6({ term: e, value: t, total: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
children: [/* @__PURE__ */ (0, B.jsxs)("p", {
@@ -72962,17 +72997,17 @@ function J6({ term: e, value: t, total: n }) {
className: "tabular-nums",
children: [t.toLocaleString(), /* @__PURE__ */ (0, B.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [LR(t, n), "%"]
+ children: [IR(t, n), "%"]
})]
})]
- }), /* @__PURE__ */ (0, B.jsx)(PE, {
+ }), /* @__PURE__ */ (0, B.jsx)(NE, {
label: `${e}:${t.toLocaleString()} / ${n.toLocaleString()}`,
value: t,
max: Math.max(n, 1)
})]
});
}
-function Y6({ term: e, figure: t, unit: n }) {
+function J6({ term: e, figure: t, unit: n }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-64 md:pr-6 md:pb-0",
children: [
@@ -72991,28 +73026,28 @@ function Y6({ term: e, figure: t, unit: n }) {
]
});
}
-function X6({ headline: e, children: t }) {
+function Y6({ headline: e, children: t }) {
return /* @__PURE__ */ (0, B.jsxs)("div", {
- className: `${EHe} md:flex-row md:gap-6`,
+ className: `${OHe} md:flex-row md:gap-6`,
children: [e, /* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 grow",
children: t
})]
});
}
-function MHe({ data: e, configurable: t, openMediaSettings: n }) {
+function PHe({ data: e, configurable: t, openMediaSettings: n }) {
return e.by_loc.reduce((e, t) => e + t.videos, 0) ? /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-5",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2",
- children: [/* @__PURE__ */ (0, B.jsx)(G6, {
+ children: [/* @__PURE__ */ (0, B.jsx)(W6, {
title: "网盘与本地",
rows: e.by_loc.map((e) => ({
name: I[e.k] ?? e.k,
value: e.videos,
detail: ye(e.bytes)
}))
- }), /* @__PURE__ */ (0, B.jsx)(G6, {
+ }), /* @__PURE__ */ (0, B.jsx)(W6, {
title: "媒体库",
rows: e.by_library.map((e) => ({
name: e.name,
@@ -73023,49 +73058,49 @@ function MHe({ data: e, configurable: t, openMediaSettings: n }) {
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3",
children: [
- /* @__PURE__ */ (0, B.jsx)(A6, {
+ /* @__PURE__ */ (0, B.jsx)(k6, {
title: "时长",
unit: "个视频",
series: "视频",
- color: K6,
- rows: ube(e.by_length)
+ color: G6,
+ rows: fbe(e.by_length)
}),
- /* @__PURE__ */ (0, B.jsx)(A6, {
+ /* @__PURE__ */ (0, B.jsx)(k6, {
title: "画质",
unit: "个视频",
series: "视频",
- color: K6,
- rows: BR(e.by_quality)
+ color: G6,
+ rows: zR(e.by_quality)
}),
- /* @__PURE__ */ (0, B.jsx)(A6, {
+ /* @__PURE__ */ (0, B.jsx)(k6, {
title: "文件类型",
unit: "个条目",
series: "条目",
- color: K6,
+ color: G6,
layout: "horizontal",
- rows: cbe(e.by_medium)
+ rows: ube(e.by_medium)
})
]
})]
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: hae,
+ icon: gae,
title: "还没有视频",
actions: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [t ? /* @__PURE__ */ (0, B.jsx)(J, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
- }) : null, /* @__PURE__ */ (0, B.jsx)(OE, {
+ }) : null, /* @__PURE__ */ (0, B.jsx)(DE, {
variant: "secondary",
href: "/follow-manage?tab=add",
size: "small",
children: "添加关注"
})] }),
- children: DHe
+ children: kHe
});
}
-function NHe({ data: e }) {
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(L6, {
+function FHe({ data: e }) {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(I6, {
activity: e.play_activity,
title: "播放时间",
dailyTitle: "每日播放",
@@ -73075,40 +73110,40 @@ function NHe({ data: e }) {
cellUnit: "个作品"
},
tone: 5
- }), /* @__PURE__ */ (0, B.jsx)(A6, {
+ }), /* @__PURE__ */ (0, B.jsx)(k6, {
title: "播放次数",
unit: "个作品",
series: "作品",
- color: THe,
- rows: fbe(e.replays)
+ color: DHe,
+ rows: mbe(e.replays)
})] });
}
-function PHe({ attribution: e }) {
+function IHe({ attribution: e }) {
let t = e.videos;
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col",
children: [
- /* @__PURE__ */ (0, B.jsx)(J6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "有创作者",
value: e.creator,
total: t
}),
- /* @__PURE__ */ (0, B.jsx)(J6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "有番号",
value: e.code,
total: t
}),
- /* @__PURE__ */ (0, B.jsx)(J6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "有厂牌",
value: e.studio,
total: t
}),
- /* @__PURE__ */ (0, B.jsx)(J6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "已抽帧",
value: e.thumb,
total: t
}),
- /* @__PURE__ */ (0, B.jsx)(J6, {
+ /* @__PURE__ */ (0, B.jsx)(q6, {
term: "已探测时长",
value: e.duration,
total: t
@@ -73116,7 +73151,7 @@ function PHe({ attribution: e }) {
]
});
}
-function FHe({ volume: e }) {
+function LHe({ volume: e }) {
let t = e.total, n = e.used ?? 0;
return /* @__PURE__ */ (0, B.jsxs)("article", {
className: "flex min-w-0 flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -73133,11 +73168,11 @@ function FHe({ volume: e }) {
className: "whitespace-nowrap tabular-nums",
children: [ye(n), /* @__PURE__ */ (0, B.jsxs)("span", {
className: "ml-1.5 text-caption-1-regular text-text-secondary",
- children: [LR(n, t), "%"]
+ children: [IR(n, t), "%"]
})]
})]
}),
- t == null ? null : /* @__PURE__ */ (0, B.jsx)(PE, {
+ t == null ? null : /* @__PURE__ */ (0, B.jsx)(NE, {
label: `${e.label}空间使用率`,
value: n,
max: Math.max(t, 1)
@@ -73155,25 +73190,25 @@ function FHe({ volume: e }) {
]
});
}
-function IHe({ volumes: e, configurable: t, openMediaSettings: n }) {
+function RHe({ volumes: e, configurable: t, openMediaSettings: n }) {
return e.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-col",
- children: e.map((e) => /* @__PURE__ */ (0, B.jsx)(FHe, { volume: e }, `${e.kind}:${e.label}`))
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ children: e.map((e) => /* @__PURE__ */ (0, B.jsx)(LHe, { volume: e }, `${e.kind}:${e.label}`))
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: ET,
+ icon: TT,
title: "还没有存储来源",
actions: t ? /* @__PURE__ */ (0, B.jsx)(J, {
size: "small",
onClick: n,
children: "添加媒体文件夹"
}) : void 0,
- children: jHe
+ children: NHe
});
}
-function LHe({ tags: e, tagLabel: t, onTag: n }) {
- return e.length ? /* @__PURE__ */ (0, B.jsx)(R6, {
- previewCount: wHe,
+function zHe({ tags: e, tagLabel: t, onTag: n }) {
+ return e.length ? /* @__PURE__ */ (0, B.jsx)(L6, {
+ previewCount: EHe,
className: "inline-grid w-full gap-x-6 gap-y-1 sm:grid-cols-2",
children: e.map((e, r) => /* @__PURE__ */ (0, B.jsx)("li", {
className: "min-w-0",
@@ -73197,24 +73232,24 @@ function LHe({ tags: e, tagLabel: t, onTag: n }) {
]
})
}, e.k))
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: kT,
+ icon: OT,
title: "还没有内容标签",
- actions: /* @__PURE__ */ (0, B.jsx)(OE, {
+ actions: /* @__PURE__ */ (0, B.jsx)(DE, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: OHe
+ children: AHe
});
}
-function RHe({ rows: e }) {
+function BHe({ rows: e }) {
return e.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex flex-col gap-5",
children: e.map((e) => {
- let t = RR(e);
+ let t = LR(e);
return /* @__PURE__ */ (0, B.jsxs)("article", {
className: "flex flex-wrap items-center gap-x-6 gap-y-2",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -73222,41 +73257,41 @@ function RHe({ rows: e }) {
children: [/* @__PURE__ */ (0, B.jsx)("h3", {
className: "min-w-0 text-body-2-medium text-text-primary",
children: /* @__PURE__ */ (0, B.jsx)("a", {
- href: ibe(e),
+ href: obe(e),
"data-middle-truncate": !0,
className: "block max-w-full overflow-hidden whitespace-nowrap hover:underline",
children: e.name
})
}), /* @__PURE__ */ (0, B.jsxs)("p", {
className: "flex flex-wrap gap-3 text-caption-1-regular text-text-secondary",
- children: [/* @__PURE__ */ (0, B.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, B.jsx)("span", { children: rbe(e) })]
+ children: [/* @__PURE__ */ (0, B.jsx)("span", { children: e.creator ?? "" }), /* @__PURE__ */ (0, B.jsx)("span", { children: abe(e) })]
})]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "min-w-0 basis-40",
- children: [/* @__PURE__ */ (0, B.jsx)(PE, {
+ children: [/* @__PURE__ */ (0, B.jsx)(NE, {
label: `真实观看 ${t.toFixed(0)}%`,
value: t
}), /* @__PURE__ */ (0, B.jsx)("small", {
className: "mt-1.5 block text-caption-1-regular text-text-secondary",
- children: `真实 ${t.toFixed(0)}% · 到达 ${zR(e).toFixed(0)}%`
+ children: `真实 ${t.toFixed(0)}% · 到达 ${RR(e).toFixed(0)}%`
})]
})]
}, `${e.kind}:${e.id}`);
})
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: DT,
+ icon: ET,
title: "还没有观看记录",
- actions: /* @__PURE__ */ (0, B.jsx)(OE, {
+ actions: /* @__PURE__ */ (0, B.jsx)(DE, {
variant: "secondary",
href: "/",
size: "small",
children: "浏览馆藏"
}),
- children: kHe
+ children: jHe
});
}
-function zHe({ sources: e, videos: t }) {
+function VHe({ sources: e, videos: t }) {
return e.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "inline-grid w-full gap-x-8 gap-y-6 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)("article", {
@@ -73275,7 +73310,7 @@ function zHe({ sources: e, videos: t }) {
})]
})]
}),
- /* @__PURE__ */ (0, B.jsx)(PE, {
+ /* @__PURE__ */ (0, B.jsx)(NE, {
label: `${e.k} 覆盖视频`,
value: e.assets,
max: Math.max(t, 1)
@@ -73286,27 +73321,27 @@ function zHe({ sources: e, videos: t }) {
})
]
}, e.k))
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: kT,
+ icon: OT,
title: "还没有标签来源",
- actions: /* @__PURE__ */ (0, B.jsx)(OE, {
+ actions: /* @__PURE__ */ (0, B.jsx)(DE, {
variant: "secondary",
href: "/data-cleanup",
size: "small",
children: "补全资料"
}),
- children: AHe
+ children: MHe
});
}
-function Z6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
- return /* @__PURE__ */ (0, B.jsx)(gk, {
+function X6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
+ return /* @__PURE__ */ (0, B.jsx)(hk, {
id: e,
- className: SM({
+ className: xM({
interactive: !0,
selectable: !0
}),
- children: /* @__PURE__ */ (0, B.jsx)(EM, {
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: t,
icon: i,
accent: a,
@@ -73315,76 +73350,76 @@ function Z6({ id: e, label: t, figure: n, detail: r, icon: i, accent: a }) {
})
});
}
-function BHe(e) {
- let t = wS({
- queryKey: FR,
- queryFn: ({ signal: e }) => IR(e)
+function HHe(e) {
+ let t = CS({
+ queryKey: PR,
+ queryFn: ({ signal: e }) => FR(e)
}), n = t.data;
- if (!n) return /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ if (!n) return /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "馆藏统计读取失败",
children: t.error ? U(t.error) : "未取得统计数据,请刷新页面重试。"
}) });
- let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = LR(n.tag_cov, n.attribution.videos);
- return /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
+ let r = n.consumption, i = n.storage_summary, a = n.by_loc.reduce((e, t) => e + t.videos, 0), o = n.by_loc.reduce((e, t) => e + t.bytes, 0), s = IR(n.tag_cov, n.attribution.videos);
+ return /* @__PURE__ */ (0, B.jsxs)(jE, { children: [
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-caption-1-regular text-text-secondary",
children: `账本当前快照 · ${a.toLocaleString()} 个视频 · ${ye(o)}`
}),
- /* @__PURE__ */ (0, B.jsxs)(mk, {
+ /* @__PURE__ */ (0, B.jsxs)(pk, {
defaultSelectedKey: "inventory",
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, B.jsxs)(hk, {
+ /* @__PURE__ */ (0, B.jsxs)(mk, {
"aria-label": "统计视图",
- className: CM,
+ className: SM,
children: [
- /* @__PURE__ */ (0, B.jsx)(Z6, {
+ /* @__PURE__ */ (0, B.jsx)(X6, {
id: "inventory",
label: "馆藏视频",
- icon: ST,
+ icon: xT,
accent: 0,
figure: a.toLocaleString(),
detail: ye(o)
}),
- /* @__PURE__ */ (0, B.jsx)(Z6, {
+ /* @__PURE__ */ (0, B.jsx)(X6, {
id: "viewing",
label: "看过",
- icon: TT,
+ icon: wT,
accent: 1,
figure: r.played.toLocaleString(),
- detail: nbe(r.play_seconds)
+ detail: ibe(r.play_seconds)
}),
- /* @__PURE__ */ (0, B.jsx)(Z6, {
+ /* @__PURE__ */ (0, B.jsx)(X6, {
id: "coverage",
label: "内容标签",
- icon: kT,
+ icon: OT,
accent: 2,
figure: `${s}%`,
detail: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- /* @__PURE__ */ (0, B.jsx)(Z6, {
+ /* @__PURE__ */ (0, B.jsx)(X6, {
id: "storage",
label: "使用空间",
- icon: ET,
+ icon: TT,
accent: 3,
figure: `${i.online} 个卷`,
detail: i.measured ? `已用 ${ye(i.used)}` : "容量未取得"
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(_k, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "inventory",
- children: /* @__PURE__ */ (0, B.jsx)(MHe, {
+ children: /* @__PURE__ */ (0, B.jsx)(PHe, {
data: n,
...e
})
}),
- /* @__PURE__ */ (0, B.jsxs)(_k, {
+ /* @__PURE__ */ (0, B.jsxs)(gk, {
id: "viewing",
className: "flex flex-col gap-5",
- children: [/* @__PURE__ */ (0, B.jsx)(X6, {
- headline: /* @__PURE__ */ (0, B.jsx)(Y6, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Y6, {
+ headline: /* @__PURE__ */ (0, B.jsx)(J6, {
term: "观看",
figure: r.played.toLocaleString(),
unit: "个作品有播放记录"
@@ -73392,62 +73427,62 @@ function BHe(e) {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(K6, {
term: "馆藏观看",
value: r.library_played
}),
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(K6, {
term: "在线直接观看",
value: r.online_played
}),
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(K6, {
term: "高潮计数",
value: r.o_total
}),
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(K6, {
term: "快进扫过",
value: r.skimmed
}),
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(K6, {
term: "喜欢",
value: r.liked
}),
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(K6, {
term: "明确不喜欢",
value: r.dislike
}),
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(K6, {
term: "看过了",
value: r.seen
}),
- /* @__PURE__ */ (0, B.jsx)(q6, {
+ /* @__PURE__ */ (0, B.jsx)(K6, {
term: "回收站",
value: r.trash
})
]
})
- }), /* @__PURE__ */ (0, B.jsx)(NHe, { data: n })]
+ }), /* @__PURE__ */ (0, B.jsx)(FHe, { data: n })]
}),
- /* @__PURE__ */ (0, B.jsx)(_k, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "coverage",
- children: /* @__PURE__ */ (0, B.jsx)(X6, {
- headline: /* @__PURE__ */ (0, B.jsx)(Y6, {
+ children: /* @__PURE__ */ (0, B.jsx)(Y6, {
+ headline: /* @__PURE__ */ (0, B.jsx)(J6, {
term: "内容标签覆盖",
figure: `${s}%`,
unit: `${n.tag_cov.toLocaleString()} / ${n.attribution.videos.toLocaleString()}`
}),
- children: /* @__PURE__ */ (0, B.jsx)(PHe, { attribution: n.attribution })
+ children: /* @__PURE__ */ (0, B.jsx)(IHe, { attribution: n.attribution })
})
}),
- /* @__PURE__ */ (0, B.jsx)(_k, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "storage",
- children: /* @__PURE__ */ (0, B.jsx)(X6, {
- headline: /* @__PURE__ */ (0, B.jsx)(Y6, {
+ children: /* @__PURE__ */ (0, B.jsx)(Y6, {
+ headline: /* @__PURE__ */ (0, B.jsx)(J6, {
term: "使用空间",
figure: String(i.measured),
unit: "个卷已取得容量"
}),
- children: /* @__PURE__ */ (0, B.jsx)(IHe, {
+ children: /* @__PURE__ */ (0, B.jsx)(RHe, {
volumes: n.storage_volumes,
...e
})
@@ -73455,51 +73490,51 @@ function BHe(e) {
})
]
}),
- /* @__PURE__ */ (0, B.jsxs)(mk, {
+ /* @__PURE__ */ (0, B.jsxs)(pk, {
defaultSelectedKey: "tags",
- className: `${kE({ padding: "none" })} flex flex-col`,
+ className: `${OE({ padding: "none" })} flex flex-col`,
children: [
/* @__PURE__ */ (0, B.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, B.jsxs)(gA, {
+ children: /* @__PURE__ */ (0, B.jsxs)(hA, {
"aria-label": "统计维度",
- className: vA,
+ className: _A,
children: [
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(hk, {
id: "tags",
- className: yA,
+ className: vA,
children: "内容标签"
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(hk, {
id: "recent",
- className: yA,
+ className: vA,
children: "最近看过"
}),
- /* @__PURE__ */ (0, B.jsx)(gk, {
+ /* @__PURE__ */ (0, B.jsx)(hk, {
id: "sources",
- className: yA,
+ className: vA,
children: "标签来源"
})
]
})
}),
- /* @__PURE__ */ (0, B.jsx)(_k, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "tags",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, B.jsx)(LHe, {
+ children: /* @__PURE__ */ (0, B.jsx)(zHe, {
tags: n.top_tags,
...e
})
}),
- /* @__PURE__ */ (0, B.jsx)(_k, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "recent",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, B.jsx)(RHe, { rows: n.recent })
+ children: /* @__PURE__ */ (0, B.jsx)(BHe, { rows: n.recent })
}),
- /* @__PURE__ */ (0, B.jsx)(_k, {
+ /* @__PURE__ */ (0, B.jsx)(gk, {
id: "sources",
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, B.jsx)(zHe, {
+ children: /* @__PURE__ */ (0, B.jsx)(VHe, {
sources: n.tag_source,
videos: n.attribution.videos
})
@@ -73510,66 +73545,66 @@ function BHe(e) {
}
//#endregion
//#region node_modules/d3-sankey/src/align.js
-function VHe(e, t) {
+function UHe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
//#endregion
//#region node_modules/d3-sankey/src/constant.js
-function Q6(e) {
+function Z6(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-sankey/src/sankey.js
+function Q6(e, t) {
+ return e8(e.source, t.source) || e.index - t.index;
+}
function $6(e, t) {
- return t8(e.source, t.source) || e.index - t.index;
+ return e8(e.target, t.target) || e.index - t.index;
}
function e8(e, t) {
- return t8(e.target, t.target) || e.index - t.index;
-}
-function t8(e, t) {
return e.y0 - t.y0;
}
-function n8(e) {
+function t8(e) {
return e.value;
}
-function HHe(e) {
+function WHe(e) {
return e.index;
}
-function UHe(e) {
+function GHe(e) {
return e.nodes;
}
-function WHe(e) {
+function KHe(e) {
return e.links;
}
-function r8(e, t) {
+function n8(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function i8({ nodes: e }) {
+function r8({ 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 GHe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = HHe, c = VHe, l, u, d = UHe, f = WHe, p = 6;
+function qHe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = WHe, c = UHe, l, u, d = GHe, f = KHe, 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), i8(e), e;
+ return h(e), g(e), _(e), v(e), x(e), r8(e), e;
}
m.update = function(e) {
- return i8(e), e;
+ return r8(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : Q6(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : Z6(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : Q6(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : Z6(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -73577,9 +73612,9 @@ function GHe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : Q6(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : Z6(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : Q6(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : Z6(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -73595,12 +73630,12 @@ function GHe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = r8(n, t)), typeof i != "object" && (i = r.target = r8(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = n8(n, t)), typeof i != "object" && (i = r.target = n8(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(kq(t.sourceLinks, n8), kq(t.targetLinks, n8)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(Oq(t.sourceLinks, t8), Oq(t.targetLinks, t8)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -73625,7 +73660,7 @@ function GHe() {
}
}
function y({ nodes: t }) {
- let r = Tq(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = wq(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];
@@ -73634,7 +73669,7 @@ function GHe() {
return o;
}
function b(e) {
- let n = Eq(e, (e) => (r - t - (e.length - 1) * o) / kq(e, n8));
+ let n = Tq(e, (e) => (r - t - (e.length - 1) * o) / Oq(e, t8));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -73651,7 +73686,7 @@ function GHe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (Tq(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (wq(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);
@@ -73670,7 +73705,7 @@ function GHe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(t8), w(i, n);
+ l === void 0 && i.sort(e8), w(i, n);
}
}
function C(e, t, n) {
@@ -73686,7 +73721,7 @@ function GHe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(t8), w(i, n);
+ l === void 0 && i.sort(e8), w(i, n);
}
}
function w(e, n) {
@@ -73707,12 +73742,12 @@ function GHe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(e8);
- for (let { target: { targetLinks: t } } of e) t.sort($6);
+ for (let { source: { sourceLinks: e } } of t) e.sort($6);
+ for (let { target: { targetLinks: t } } of e) t.sort(Q6);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(e8), n.sort($6);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort($6), n.sort(Q6);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -73742,15 +73777,15 @@ function GHe() {
}
//#endregion
//#region node_modules/d3-path/src/path.js
-var a8 = Math.PI, o8 = 2 * a8, s8 = 1e-6, KHe = o8 - s8;
-function c8() {
+var i8 = Math.PI, a8 = 2 * i8, o8 = 1e-6, JHe = a8 - o8;
+function s8() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function l8() {
- return new c8();
+function c8() {
+ return new s8();
}
-c8.prototype = l8.prototype = {
- constructor: c8,
+s8.prototype = c8.prototype = {
+ constructor: s8,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -73771,11 +73806,11 @@ c8.prototype = l8.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 > s8) {
- if (!(Math.abs(u * s - c * l) > s8) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > o8) {
+ if (!(Math.abs(u * s - c * l) > o8) || !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((a8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > s8 && (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((i8 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > o8 && (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);
}
}
},
@@ -73783,7 +73818,7 @@ c8.prototype = l8.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) > s8 || Math.abs(this._y1 - l) > s8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % o8 + o8), d > KHe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > s8 && (this._ += "A" + n + "," + n + ",0," + +(d >= a8) + "," + 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) > o8 || Math.abs(this._y1 - l) > o8) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % a8 + a8), d > JHe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > o8 && (this._ += "A" + n + "," + n + ",0," + +(d >= i8) + "," + 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";
@@ -73794,90 +73829,90 @@ c8.prototype = l8.prototype = {
};
//#endregion
//#region node_modules/d3-shape/src/constant.js
-function u8(e) {
+function l8(e) {
return function() {
return e;
};
}
//#endregion
//#region node_modules/d3-shape/src/point.js
-function qHe(e) {
+function YHe(e) {
return e[0];
}
-function JHe(e) {
+function XHe(e) {
return e[1];
}
//#endregion
//#region node_modules/d3-shape/src/array.js
-var YHe = Array.prototype.slice;
+var ZHe = Array.prototype.slice;
//#endregion
//#region node_modules/d3-shape/src/link/index.js
-function XHe(e) {
+function QHe(e) {
return e.source;
}
-function ZHe(e) {
+function $He(e) {
return e.target;
}
-function QHe(e) {
- var t = XHe, n = ZHe, r = qHe, i = JHe, a = null;
+function eUe(e) {
+ var t = QHe, n = $He, r = YHe, i = XHe, a = null;
function o() {
- var o, s = YHe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = l8(), 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 = ZHe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = c8(), 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 : u8(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : l8(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : u8(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : l8(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function $He(e, t, n, r, i) {
+function tUe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function eUe() {
- return QHe($He);
+function nUe() {
+ return eUe(tUe);
}
//#endregion
//#region node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function tUe(e) {
+function rUe(e) {
return [e.source.x1, e.y0];
}
-function nUe(e) {
+function iUe(e) {
return [e.target.x0, e.y1];
}
-function rUe() {
- return eUe().source(tUe).target(nUe);
+function aUe() {
+ return nUe().source(rUe).target(iUe);
}
//#endregion
//#region src/react/taste/taste.ts
-var iUe = "/api/taste", d8 = "/api/taste/refresh", aUe = "/api/taste/import", oUe = "/api/taste/source", f8 = (e) => ["taste", e], sUe = ["taste", "refresh"], cUe = [
+var oUe = "/api/taste", u8 = "/api/taste/refresh", sUe = "/api/taste/import", cUe = "/api/taste/source", d8 = (e) => ["taste", e], lUe = ["taste", "refresh"], uUe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], p8 = (e, t) => W(`${iUe}?window=${e}`, t), lUe = (e) => W(d8, e);
-async function uUe(e, t) {
+], f8 = (e, t) => W(`${oUe}?window=${e}`, t), dUe = (e) => W(u8, e);
+async function fUe(e, t) {
await p.fetchQuery({
- queryKey: f8(e),
- queryFn: () => p8(e, t)
+ queryKey: d8(e),
+ queryFn: () => f8(e, t)
});
}
-var dUe = (e) => G(d8, {
+var pUe = (e) => G(u8, {
window: e,
background: !0
-}), fUe = (e, t) => G(oUe, {
+}), mUe = (e, t) => G(cUe, {
operation: "remove",
source_key: e,
window: t
});
-async function pUe(e) {
- let t = await fetch(aUe, {
+async function hUe(e) {
+ let t = await fetch(sUe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -73891,39 +73926,39 @@ async function pUe(e) {
} catch {}
if (!t.ok) {
let e = n?.error;
- throw new RS(e || `导入失败(${t.status})`, t.status, n);
+ throw new LS(e || `导入失败(${t.status})`, t.status, n);
}
return n;
}
-var mUe = 1e4, m8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", hUe = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, gUe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function _Ue(e) {
+var gUe = 1e4, p8 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—", _Ue = (e) => e >= 3600 ? `${(e / 3600).toFixed(1)} 小时` : `${Math.round(e / 60)} 分钟`, vUe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function yUe(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 vUe(e) {
- let t = e.map(gUe), n = Math.max(1, ...t);
+function bUe(e) {
+ let t = e.map(vUe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var h8 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var m8 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
name: e.name,
value: Number(e.score)
})).sort((e, t) => t.value - e.value).slice(0, t);
-function yUe(e) {
- let t = h8(e, 6);
+function xUe(e) {
+ let t = m8(e, 6);
return t.length < 3 ? [] : t;
}
-var g8 = {
+var h8 = {
width: 720,
height: 435
-}, _8 = {
+}, g8 = {
source: 145,
target: 545
};
-function bUe(e = []) {
+function SUe(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 = GHe().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 = qHe().nodeId((e) => e.id).nodeWidth(10).nodePadding(22).extent([[155, 16], [535, 404]])({
nodes: [...n.map((e) => ({
id: `source:${e}`,
name: e,
@@ -73938,7 +73973,7 @@ function bUe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), a = t.reduce((e, t) => e + t.value, 0), o = rUe();
+ }), a = t.reduce((e, t) => e + t.value, 0), o = aUe();
return {
nodes: i.nodes.map((e) => ({
id: e.id,
@@ -73968,11 +74003,11 @@ function bUe(e = []) {
total: a
};
}
-var xUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, v8 = R.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
+var CUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, _8 = R.memo(function({ cx: e, cy: t, dataKey: n, chartId: r, className: i, fillOpacity: a = 1, type: o = "default", maskId: s }) {
let c = R.useId().replace(/:/g, ""), l = `url(#${r}-colors-${String(n)})`;
if (e === void 0 || t === void 0) return null;
switch (o) {
- case "border": return /* @__PURE__ */ (0, B.jsx)(b8, {
+ case "border": return /* @__PURE__ */ (0, B.jsx)(y8, {
cx: e,
cy: t,
dotId: c,
@@ -73981,7 +74016,7 @@ var xUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, v8 = R.memo(functio
className: i,
maskId: s
});
- case "colored-border": return /* @__PURE__ */ (0, B.jsx)(x8, {
+ case "colored-border": return /* @__PURE__ */ (0, B.jsx)(b8, {
cx: e,
cy: t,
dotId: c,
@@ -73990,7 +74025,7 @@ var xUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, v8 = R.memo(functio
className: i,
maskId: s
});
- default: return /* @__PURE__ */ (0, B.jsx)(y8, {
+ default: return /* @__PURE__ */ (0, B.jsx)(v8, {
cx: e,
cy: t,
dotId: c,
@@ -74000,7 +74035,7 @@ var xUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, v8 = R.memo(functio
maskId: s
});
}
-}), y8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
+}), v8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
className: a,
mask: o ? `url(#${o})` : void 0,
children: [/* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)("clipPath", {
@@ -74020,9 +74055,9 @@ var xUe = (e) => e.length > 18 ? `${e.slice(0, 16)}…` : e, v8 = R.memo(functio
clipPath: `url(#dot-clip-${n})`
})]
}));
-y8.displayName = "DefaultDot";
-var b8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
- className: X3(a, "text-background"),
+v8.displayName = "DefaultDot";
+var y8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
+ className: Y3(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)("clipPath", {
@@ -74058,9 +74093,9 @@ var b8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
}) })
]
}));
-b8.displayName = "PrimaryBorderDot";
-var x8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
- className: X3(a, "text-background"),
+y8.displayName = "PrimaryBorderDot";
+var b8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, className: a, maskId: o }) => /* @__PURE__ */ (0, B.jsxs)("g", {
+ className: Y3(a, "text-background"),
mask: o ? `url(#${o})` : void 0,
children: [
/* @__PURE__ */ (0, B.jsx)("defs", { children: /* @__PURE__ */ (0, B.jsx)("clipPath", {
@@ -74088,17 +74123,17 @@ var x8 = R.memo(({ cx: e, cy: t, dotId: n, fillOpacity: r, gradientUrl: i, class
})
]
}));
-x8.displayName = "ColoredBorderDot";
+b8.displayName = "ColoredBorderDot";
//#endregion
//#region src/react/evilcharts/registry/charts/recharts-radar-chart.tsx
-var SUe = 1, CUe = .3, wUe = 6, S8 = 1500, C8 = "value", w8 = (0, R.createContext)(null);
-function T8() {
- let e = (0, R.use)(w8);
+var wUe = 1, TUe = .3, EUe = 6, x8 = 1500, S8 = "value", C8 = (0, R.createContext)(null);
+function w8() {
+ let e = (0, R.use)(C8);
if (!e) throw Error("Radar chart parts (<Radar />, <PolarAngleAxis />, …) must be used within <EvilRadarChart />");
return e;
}
-function E8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
- let u = (0, R.useId)().replace(/:/g, ""), [d, f] = (0, R.useState)(o), p = LUe(c, l), m = (0, R.useCallback)((e) => {
+function T8({ config: e, data: t, children: n, className: r, chartProps: i, backgroundVariant: a, defaultSelectedDataKey: o = null, onSelectionChange: s, isLoading: c = !1, loadingPoints: l }) {
+ let u = (0, R.useId)().replace(/:/g, ""), [d, f] = (0, R.useState)(o), p = zUe(c, l), m = (0, R.useCallback)((e) => {
f(e), s?.(e);
}, [s]), h = (0, R.useMemo)(() => ({
config: e,
@@ -74111,37 +74146,37 @@ function E8({ config: e, data: t, children: n, className: r, chartProps: i, back
d,
m
]);
- return /* @__PURE__ */ (0, B.jsx)(w8, {
+ return /* @__PURE__ */ (0, B.jsx)(C8, {
value: h,
- children: /* @__PURE__ */ (0, B.jsxs)(t6, {
+ children: /* @__PURE__ */ (0, B.jsxs)(e6, {
className: r,
config: e,
- children: [/* @__PURE__ */ (0, B.jsx)(n6, { isLoading: c }), /* @__PURE__ */ (0, B.jsxs)(cVe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(t6, { isLoading: c }), /* @__PURE__ */ (0, B.jsxs)(uVe, {
id: u,
data: c ? p : t,
...i,
children: [
- a && /* @__PURE__ */ (0, B.jsx)(p6, { variant: a }),
+ a && /* @__PURE__ */ (0, B.jsx)(f6, { variant: a }),
n,
- c && /* @__PURE__ */ (0, B.jsx)(RUe, {})
+ c && /* @__PURE__ */ (0, B.jsx)(BUe, {})
]
})]
})
});
}
-function TUe({ dataKey: e, variant: t = "filled", fillOpacity: n = CUe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
- let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = T8(), d = (0, R.useId)().replace(/:/g, "");
+function DUe({ dataKey: e, variant: t = "filled", fillOpacity: n = TUe, isGlowing: r = !1, isClickable: i = !1, children: a, radarProps: o }) {
+ let { config: s, isLoading: c, selectedDataKey: l, selectDataKey: u } = w8(), d = (0, R.useId)().replace(/:/g, "");
if (c) return null;
let f = i && l !== null && l !== e, p = {
stroke: f ? .2 : 1,
fill: f ? .1 : 1,
dot: f ? .2 : 1
- }, m = t === "filled", { dot: h, activeDot: g } = jUe(a, d, e, p.dot);
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(B0, {
+ }, m = t === "filled", { dot: h, activeDot: g } = NUe(a, d, e, p.dot);
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(z0, {
dataKey: e,
stroke: `url(#${d}-radar-stroke-${e})`,
strokeOpacity: p.stroke,
- strokeWidth: SUe,
+ strokeWidth: wUe,
fill: m ? `url(#${d}-radar-fill-${e})` : "none",
fillOpacity: m ? n * p.fill : 0,
dot: h,
@@ -74154,30 +74189,30 @@ function TUe({ dataKey: e, variant: t = "filled", fillOpacity: n = CUe, isGlowin
},
...o
}), /* @__PURE__ */ (0, B.jsxs)("defs", { children: [
- /* @__PURE__ */ (0, B.jsx)(MUe, {
+ /* @__PURE__ */ (0, B.jsx)(PUe, {
id: d,
dataKey: e,
config: s
}),
- /* @__PURE__ */ (0, B.jsx)(NUe, {
+ /* @__PURE__ */ (0, B.jsx)(FUe, {
id: d,
dataKey: e,
config: s
}),
- m && /* @__PURE__ */ (0, B.jsx)(PUe, {
+ m && /* @__PURE__ */ (0, B.jsx)(IUe, {
id: d,
dataKey: e,
config: s
}),
- r && /* @__PURE__ */ (0, B.jsx)(FUe, {
+ r && /* @__PURE__ */ (0, B.jsx)(LUe, {
id: d,
dataKey: e
})
] })] });
}
-var D8 = () => null, O8 = () => null;
-function EUe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
- return /* @__PURE__ */ (0, B.jsx)(N1, {
+var E8 = () => null, D8 = () => null;
+function OUe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacity: n = .2, strokeDasharray: r = "3 4", ...i }) {
+ return /* @__PURE__ */ (0, B.jsx)(M1, {
gridType: e,
stroke: t,
strokeOpacity: n,
@@ -74185,47 +74220,47 @@ function EUe({ gridType: e = "polygon", stroke: t = "currentColor", strokeOpacit
...i
});
}
-function DUe({ tick: e = {
+function kUe({ tick: e = {
fill: "currentColor",
fontSize: 12
}, tickLine: t = !1, ...n }) {
- let { isLoading: r } = T8();
- return r ? null : /* @__PURE__ */ (0, B.jsx)(q1, {
+ let { isLoading: r } = w8();
+ return r ? null : /* @__PURE__ */ (0, B.jsx)(K1, {
tick: e,
tickLine: t,
...n
});
}
-function OUe({ tick: e = {
+function AUe({ tick: e = {
fill: "currentColor",
fontSize: 10
}, tickLine: t = !1, axisLine: n = !1, ...r }) {
- let { isLoading: i } = T8();
- return i ? null : /* @__PURE__ */ (0, B.jsx)(V1, {
+ let { isLoading: i } = w8();
+ return i ? null : /* @__PURE__ */ (0, B.jsx)(B1, {
tick: e,
tickLine: t,
axisLine: n,
...r
});
}
-function kUe({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, selectedDataKey: i } = T8();
- return r ? null : /* @__PURE__ */ (0, B.jsx)(s6, {
+function jUe({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, selectedDataKey: i } = w8();
+ return r ? null : /* @__PURE__ */ (0, B.jsx)(o6, {
defaultIndex: n,
cursor: !1,
- content: /* @__PURE__ */ (0, B.jsx)(o6, {
+ content: /* @__PURE__ */ (0, B.jsx)(a6, {
selected: i,
roundness: t,
variant: e
})
});
}
-function AUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { isLoading: i, selectedDataKey: a, selectDataKey: o } = T8();
- return i ? null : /* @__PURE__ */ (0, B.jsx)(l6, {
+function MUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { isLoading: i, selectedDataKey: a, selectDataKey: o } = w8();
+ return i ? null : /* @__PURE__ */ (0, B.jsx)(c6, {
verticalAlign: n,
align: t,
- content: /* @__PURE__ */ (0, B.jsx)(c6, {
+ content: /* @__PURE__ */ (0, B.jsx)(s6, {
selected: a,
onSelectChange: o,
isClickable: r,
@@ -74233,22 +74268,22 @@ function AUe({ variant: e, align: t = "center", verticalAlign: n = "bottom", isC
})
});
}
-var jUe = (e, t, n, r) => {
+var NUe = (e, t, n, r) => {
let i = !1, a = !1;
return R.Children.forEach(e, (e) => {
if ((0, R.isValidElement)(e)) {
- if (e.type === D8) {
+ if (e.type === E8) {
let { variant: a } = e.props;
- i = /* @__PURE__ */ (0, B.jsx)(v8, {
+ i = /* @__PURE__ */ (0, B.jsx)(_8, {
type: a,
dataKey: n,
chartId: t,
fillOpacity: r
});
}
- if (e.type === O8) {
+ if (e.type === D8) {
let { variant: i } = e.props;
- a = /* @__PURE__ */ (0, B.jsx)(v8, {
+ a = /* @__PURE__ */ (0, B.jsx)(_8, {
type: i,
dataKey: n,
chartId: t,
@@ -74260,7 +74295,7 @@ var jUe = (e, t, n, r) => {
dot: i,
activeDot: a
};
-}, k8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("stop", {
+}, O8 = ({ dataKey: e, colorsCount: t, opacities: n }) => t === 1 ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("stop", {
offset: "0%",
stopColor: `var(--color-${e}-0)`,
stopOpacity: n?.[0]
@@ -74275,46 +74310,46 @@ var jUe = (e, t, n, r) => {
stopColor: `var(--color-${e}-${i}, var(--color-${e}-0))`,
stopOpacity: n?.[i]
}, a);
-}) }), MUe = ({ id: e, dataKey: t, config: n }) => {
- let r = a6(n[t] ?? {});
+}) }), PUe = ({ id: e, dataKey: t, config: n }) => {
+ let r = i6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "0",
- children: /* @__PURE__ */ (0, B.jsx)(k8, {
+ children: /* @__PURE__ */ (0, B.jsx)(O8, {
dataKey: t,
colorsCount: r
})
});
-}, NUe = ({ id: e, dataKey: t, config: n }) => {
- let r = a6(n[t] ?? {});
+}, FUe = ({ id: e, dataKey: t, config: n }) => {
+ let r = i6(n[t] ?? {});
return /* @__PURE__ */ (0, B.jsx)("linearGradient", {
id: `${e}-radar-stroke-${t}`,
x1: "0",
y1: "0",
x2: "1",
y2: "1",
- children: /* @__PURE__ */ (0, B.jsx)(k8, {
+ children: /* @__PURE__ */ (0, B.jsx)(O8, {
dataKey: t,
colorsCount: r
})
});
-}, PUe = ({ id: e, dataKey: t, config: n }) => {
- let r = a6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
+}, IUe = ({ id: e, dataKey: t, config: n }) => {
+ let r = i6(n[t] ?? {}), i = r === 1 ? [.8, .3] : Array.from({ length: r }, (e, t) => t === 0 ? .8 : .3);
return /* @__PURE__ */ (0, B.jsx)("radialGradient", {
id: `${e}-radar-fill-${t}`,
cx: "50%",
cy: "50%",
r: "50%",
- children: /* @__PURE__ */ (0, B.jsx)(k8, {
+ children: /* @__PURE__ */ (0, B.jsx)(O8, {
dataKey: t,
colorsCount: r,
opacities: i
})
});
-}, FUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)("filter", {
+}, LUe = ({ id: e, dataKey: t }) => /* @__PURE__ */ (0, B.jsxs)("filter", {
id: `${e}-radar-glow-${t}`,
x: "-50%",
y: "-50%",
@@ -74334,7 +74369,7 @@ var jUe = (e, t, n, r) => {
}),
/* @__PURE__ */ (0, B.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, B.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, B.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-}), IUe = (e) => [
+}), RUe = (e) => [
"A",
"B",
"C",
@@ -74343,20 +74378,20 @@ var jUe = (e, t, n, r) => {
"F"
].slice(0, e).map((e) => ({
skill: e,
- [C8]: 30 + Math.random() * 70
+ [S8]: 30 + Math.random() * 70
}));
-function LUe(e, t = wUe) {
+function zUe(e, t = EUe) {
let [n, r] = (0, R.useState)(0);
return (0, R.useEffect)(() => {
if (!e) return;
let t = setInterval(() => {
r((e) => e + 1);
- }, S8);
+ }, x8);
return () => clearInterval(t);
- }, [e]), (0, R.useMemo)(() => IUe(t), [t, n]);
+ }, [e]), (0, R.useMemo)(() => RUe(t), [t, n]);
}
-var RUe = () => /* @__PURE__ */ (0, B.jsx)(B0, {
- dataKey: C8,
+var BUe = () => /* @__PURE__ */ (0, B.jsx)(z0, {
+ dataKey: S8,
stroke: "currentColor",
strokeOpacity: .3,
strokeWidth: 2,
@@ -74364,30 +74399,30 @@ var RUe = () => /* @__PURE__ */ (0, B.jsx)(B0, {
fillOpacity: .1,
dot: !1,
isAnimationActive: !0,
- animationDuration: S8,
+ animationDuration: x8,
animationEasing: "ease-in-out"
});
-E8.Radar = TUe, E8.Dot = D8, E8.ActiveDot = O8, E8.PolarGrid = EUe, E8.PolarAngleAxis = DUe, E8.PolarRadiusAxis = OUe, E8.Tooltip = kUe, E8.Legend = AUe;
+T8.Radar = DUe, T8.Dot = E8, T8.ActiveDot = D8, T8.PolarGrid = OUe, T8.PolarAngleAxis = kUe, T8.PolarRadiusAxis = AUe, T8.Tooltip = jUe, T8.Legend = MUe;
//#endregion
//#region src/react/taste/charts.tsx
-var zUe = [
+var VUe = [
"stroke-chart-1",
"stroke-chart-2",
"stroke-chart-3",
"stroke-chart-4",
"stroke-chart-5",
"stroke-chart-6"
-], BUe = [
+], HUe = [
"fill-chart-1",
"fill-chart-2",
"fill-chart-3",
"fill-chart-4",
"fill-chart-5",
"fill-chart-6"
-], A8 = { value: {
+], k8 = { value: {
label: "标签命中",
- colors: S6(x6[3])
-} }, VUe = [
+ colors: x6(b6[3])
+} }, UUe = [
"min-h-24",
"min-h-24",
"min-h-24",
@@ -74397,78 +74432,78 @@ var zUe = [
"min-h-52",
"min-h-60",
"min-h-64"
-], HUe = 26, UUe = { radius: A8.value }, WUe = (e, t) => Math.sqrt(e / t);
-function GUe({ rows: e, label: t }) {
- let n = yUe(e);
+], WUe = 26, GUe = { radius: k8.value }, KUe = (e, t) => Math.sqrt(e / t);
+function qUe({ rows: e, label: t }) {
+ let n = xUe(e);
if (!n.length) return null;
let r = n[0].value, i = n.map((e) => ({
...e,
- radius: WUe(e.value, r)
+ radius: KUe(e.value, r)
}));
return /* @__PURE__ */ (0, B.jsx)("div", {
role: "img",
"aria-label": `${t}:${i.map((e) => e.name).join(",")}`,
- children: /* @__PURE__ */ (0, B.jsxs)(E8, {
+ children: /* @__PURE__ */ (0, B.jsxs)(T8, {
data: i,
- config: UUe,
+ config: GUe,
chartProps: { outerRadius: "58%" },
className: "aspect-auto h-70 text-text-secondary",
children: [
- /* @__PURE__ */ (0, B.jsx)(E8.PolarGrid, {}),
- /* @__PURE__ */ (0, B.jsx)(E8.PolarAngleAxis, { dataKey: "name" }),
- /* @__PURE__ */ (0, B.jsx)(E8.PolarRadiusAxis, {
+ /* @__PURE__ */ (0, B.jsx)(T8.PolarGrid, {}),
+ /* @__PURE__ */ (0, B.jsx)(T8.PolarAngleAxis, { dataKey: "name" }),
+ /* @__PURE__ */ (0, B.jsx)(T8.PolarRadiusAxis, {
domain: [0, 1],
allowDecimals: !0,
tick: !1
}),
- /* @__PURE__ */ (0, B.jsx)(E8.Radar, { dataKey: "radius" }),
- /* @__PURE__ */ (0, B.jsx)(D6, { valueKey: "value" })
+ /* @__PURE__ */ (0, B.jsx)(T8.Radar, { dataKey: "radius" }),
+ /* @__PURE__ */ (0, B.jsx)(E6, { valueKey: "value" })
]
})
});
}
-function KUe({ rows: e, label: t }) {
- let n = h8(e, 8);
+function JUe({ rows: e, label: t }) {
+ let n = m8(e, 8);
return n.length ? /* @__PURE__ */ (0, B.jsx)("section", {
"aria-label": t,
- className: `flex grow flex-col ${VUe[n.length]}`,
- children: /* @__PURE__ */ (0, B.jsxs)(_6, {
+ className: `flex grow flex-col ${UUe[n.length]}`,
+ children: /* @__PURE__ */ (0, B.jsxs)(g6, {
data: n,
- config: A8,
+ config: k8,
layout: "horizontal",
barRadius: 4,
- chartProps: { maxBarSize: HUe },
+ chartProps: { maxBarSize: WUe },
className: "aspect-auto text-text-secondary",
children: [
- /* @__PURE__ */ (0, B.jsx)(_6.YAxis, {
+ /* @__PURE__ */ (0, B.jsx)(g6.YAxis, {
dataKey: "name",
interval: 0
}),
- /* @__PURE__ */ (0, B.jsx)(_6.XAxis, {
+ /* @__PURE__ */ (0, B.jsx)(g6.XAxis, {
hide: !0,
- domain: O6
+ domain: D6
}),
- /* @__PURE__ */ (0, B.jsx)(_6.Bar, {
+ /* @__PURE__ */ (0, B.jsx)(g6.Bar, {
dataKey: "value",
enableHoverHighlight: !0,
barProps: {
dataKey: "value",
- label: k6("right")
+ label: O6("right")
}
}),
- /* @__PURE__ */ (0, B.jsx)(D6, {})
+ /* @__PURE__ */ (0, B.jsx)(E6, {})
]
})
}) : null;
}
-function qUe({ flows: e }) {
- let [t, n] = (0, R.useState)(null), r = bUe(e);
+function YUe({ flows: e }) {
+ let [t, n] = (0, R.useState)(null), r = SUe(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, B.jsxs)("section", {
- className: y6,
+ className: v6,
children: [
- /* @__PURE__ */ (0, B.jsx)(b6, {
+ /* @__PURE__ */ (0, B.jsx)(y6, {
title: "创作者线索来源",
figure: (t ? t.value : r.total).toLocaleString(),
note: t ? t.label : "条线索"
@@ -74476,7 +74511,7 @@ function qUe({ flows: e }) {
/* @__PURE__ */ (0, B.jsx)("div", {
className: "min-w-0 overflow-x-auto",
children: /* @__PURE__ */ (0, B.jsxs)("svg", {
- viewBox: `0 0 ${g8.width} ${g8.height}`,
+ viewBox: `0 0 ${h8.width} ${h8.height}`,
fill: "none",
role: "img",
"aria-label": "来源网站与创作者线索",
@@ -74490,7 +74525,7 @@ function qUe({ flows: e }) {
"aria-label": `${e.label}:${e.value} 条线索`,
fillOpacity: 0,
strokeOpacity: a(e, e.label) ? .55 : .08,
- className: `outline-none transition-opacity ${zUe[e.color]}`,
+ className: `outline-none transition-opacity ${VUe[e.color]}`,
onPointerEnter: () => n({
value: e.value,
label: e.label,
@@ -74524,15 +74559,15 @@ function qUe({ flows: e }) {
width: 10,
height: e.height,
rx: 5,
- className: e.side === "source" ? BUe[e.color] : "fill-text-secondary"
+ className: e.side === "source" ? HUe[e.color] : "fill-text-secondary"
}), /* @__PURE__ */ (0, B.jsxs)("text", {
- x: _8[e.side],
+ x: g8[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: [xUe(e.name), /* @__PURE__ */ (0, B.jsx)("tspan", {
- x: _8[e.side],
+ children: [CUe(e.name), /* @__PURE__ */ (0, B.jsx)("tspan", {
+ x: g8[e.side],
dy: 15,
children: e.side === "source" ? e.value.toLocaleString() : `${e.share.toFixed(1)}%`
})]
@@ -74549,11 +74584,11 @@ function qUe({ flows: e }) {
}
//#endregion
//#region src/react/taste/taste-page.tsx
-var JUe = 10, j8 = CE(wk, Tk, "text-body-2-medium"), M8 = `${kE()} flex flex-col gap-4`, N8 = "rounded-xl bg-background-primary-default p-3", YUe = "读取运行 Peach 的这台电脑上的浏览记录", XUe = "导入或读取浏览记录后,这里会列出已采集设备。", ZUe = "馆藏里暂时没有对得上浏览信号的标签。", QUe = "采集浏览记录后,这里会显示聚合后的口味证据。", $Ue = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", eWe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", tWe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", nWe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", rWe = "这个数据源将不再用于口味分析。原始导出文件保留。", P8 = "peach-taste-guide-dismissed";
-function F8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
+var XUe = 10, A8 = SE(Ck, wk, "text-body-2-medium"), j8 = `${OE()} flex flex-col gap-4`, M8 = "rounded-xl bg-background-primary-default p-3", ZUe = "读取运行 Peach 的这台电脑上的浏览记录", QUe = "导入或读取浏览记录后,这里会列出已采集设备。", $Ue = "馆藏里暂时没有对得上浏览信号的标签。", eWe = "采集浏览记录后,这里会显示聚合后的口味证据。", tWe = "这些词在浏览记录中出现,但 Peach 观看记录还没有对应证据", nWe = "在运行 Peach 的电脑上使用浏览器:点上面的「读取浏览器历史」。", rWe = "记录在其他设备上:导出文件后,点上面的「导入历史文件」。多台设备的文件分别导入。", iWe = "需要刷新时再次读取或导入;数据源可在页面底部移除。", aWe = "这个数据源将不再用于口味分析。原始导出文件保留。", N8 = "peach-taste-guide-dismissed";
+function P8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
return /* @__PURE__ */ (0, B.jsx)("div", {
- className: SM(),
- children: /* @__PURE__ */ (0, B.jsx)(EM, {
+ className: xM(),
+ children: /* @__PURE__ */ (0, B.jsx)(TM, {
label: t,
icon: e,
accent: i,
@@ -74562,7 +74597,7 @@ function F8({ icon: e, term: t, figure: n, detail: r, accent: i }) {
})
});
}
-function I8({ name: e, domain: t }) {
+function F8({ name: e, domain: t }) {
return /* @__PURE__ */ (0, B.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, B.jsx)("img", {
@@ -74576,22 +74611,22 @@ function I8({ name: e, domain: t }) {
})]
});
}
-function iWe({ html: e }) {
+function oWe({ html: e }) {
return /* @__PURE__ */ (0, B.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 ${oL}`,
+ 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 ${aL}`,
dangerouslySetInnerHTML: { __html: e }
});
}
-function aWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
- if (!e.length) return /* @__PURE__ */ (0, B.jsx)(AE, {
+function sWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
+ if (!e.length) return /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: MT,
+ icon: jT,
title: "暂无足够证据",
children: r
});
- let a = vUe(e);
- return /* @__PURE__ */ (0, B.jsx)(R6, {
- previewCount: JUe,
+ let a = bUe(e);
+ return /* @__PURE__ */ (0, B.jsx)(L6, {
+ previewCount: XUe,
className: "inline-grid w-full gap-x-7 gap-y-2 sm:grid-cols-2",
children: e.map((e, r) => {
let o = !!t && !!e.peach_items, s = String(e.source_domain || ""), c = /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
@@ -74610,15 +74645,15 @@ function aWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
className: "w-6 shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: r + 1
}),
- n === "domain" ? /* @__PURE__ */ (0, B.jsx)(I8, {
+ n === "domain" ? /* @__PURE__ */ (0, B.jsx)(F8, {
name: e.name,
domain: e.name
}) : null,
- n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, B.jsx)(I8, {
+ n === "creator" && !e.entity_id && !e.has_avatar && s ? /* @__PURE__ */ (0, B.jsx)(F8, {
name: e.name,
domain: s
}) : null,
- n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, B.jsx)(iWe, { html: k(e.name, e.entity_id ? {
+ n !== "none" && n !== "domain" && (e.entity_id || e.has_avatar || !s) ? /* @__PURE__ */ (0, B.jsx)(oWe, { html: k(e.name, e.entity_id ? {
id: e.entity_id,
has_image: !!e.has_image,
image_version: e.image_version,
@@ -74631,10 +74666,10 @@ function aWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
children: e.name
}), /* @__PURE__ */ (0, B.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: _Ue(e)
+ children: yUe(e)
})]
}),
- o ? /* @__PURE__ */ (0, B.jsx)(gT, {
+ o ? /* @__PURE__ */ (0, B.jsx)(hT, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
}) : null
@@ -74654,31 +74689,31 @@ function aWe({ rows: e, kind: t, visual: n, empty: r, onSignal: i }) {
})
});
}
-function L8({ label: e, panels: t, onSignal: n }) {
- return /* @__PURE__ */ (0, B.jsxs)(mk, {
- className: `${kE({ padding: "none" })} flex flex-col`,
+function I8({ label: e, panels: t, onSignal: n }) {
+ return /* @__PURE__ */ (0, B.jsxs)(pk, {
+ className: `${OE({ padding: "none" })} flex flex-col`,
children: [/* @__PURE__ */ (0, B.jsx)("div", {
className: "px-4 pt-3",
- children: /* @__PURE__ */ (0, B.jsx)(gA, {
+ children: /* @__PURE__ */ (0, B.jsx)(hA, {
"aria-label": e,
- className: vA,
- children: t.map((e) => /* @__PURE__ */ (0, B.jsx)(gk, {
+ className: _A,
+ children: t.map((e) => /* @__PURE__ */ (0, B.jsx)(hk, {
id: e.id,
- className: yA,
+ className: vA,
children: e.name
}, e.id))
})
- }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(_k, {
+ }), t.map((e) => /* @__PURE__ */ (0, B.jsx)(gk, {
id: e.id,
className: "px-4 pt-3.5 pb-4",
- children: /* @__PURE__ */ (0, B.jsx)(aWe, {
+ children: /* @__PURE__ */ (0, B.jsx)(sWe, {
...e.props,
onSignal: n
})
}, e.id))]
});
}
-function oWe({ data: e, onSignal: t, navigate: n }) {
+function cWe({ data: e, onSignal: t, navigate: n }) {
let r = e.analysis;
if (!r?.headline) return null;
let i = r.confidence || {}, a = [...(r.explore || []).map((e) => ({
@@ -74693,7 +74728,7 @@ function oWe({ data: e, onSignal: t, navigate: n }) {
act: () => n(e.route)
}))];
return /* @__PURE__ */ (0, B.jsxs)("section", {
- className: M8,
+ className: j8,
"aria-label": "口味总结",
children: [
/* @__PURE__ */ (0, B.jsxs)("header", {
@@ -74719,7 +74754,7 @@ function oWe({ data: e, onSignal: t, navigate: n }) {
r.points?.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "inline-grid w-full gap-3 sm:grid-cols-2",
children: r.points.map((e) => /* @__PURE__ */ (0, B.jsxs)("div", {
- className: `flex min-w-0 flex-col gap-1 ${N8}`,
+ className: `flex min-w-0 flex-col gap-1 ${M8}`,
children: [/* @__PURE__ */ (0, B.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
children: e.label
@@ -74734,7 +74769,7 @@ function oWe({ data: e, onSignal: t, navigate: n }) {
children: a.map((e) => /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
onClick: e.act,
- className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${N8} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
+ className: `flex w-full min-w-0 cursor-pointer items-center gap-3 ${M8} text-left outline-none hover:bg-background-primary-hover focus-visible:ring-2 focus-visible:ring-border-focus-ring`,
children: [/* @__PURE__ */ (0, B.jsxs)("span", {
className: "flex min-w-0 grow flex-col gap-1",
children: [/* @__PURE__ */ (0, B.jsx)("b", {
@@ -74744,44 +74779,44 @@ function oWe({ data: e, onSignal: t, navigate: n }) {
className: "text-caption-1-regular text-text-secondary",
children: e.detail
})]
- }), /* @__PURE__ */ (0, B.jsx)(gT, {
+ }), /* @__PURE__ */ (0, B.jsx)(hT, {
"aria-hidden": !0,
className: "size-4 shrink-0 text-text-tertiary"
})]
}, e.key))
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: MT,
+ icon: jT,
title: "还没有可探索的入口",
- children: ZUe
+ children: $Ue
})
]
});
}
-function sWe({ onboarding: e, done: t }) {
+function lWe({ onboarding: e, done: t }) {
let [n, r] = (0, R.useState)(() => {
try {
- return localStorage.getItem(P8) === "1";
+ return localStorage.getItem(N8) === "1";
} catch {
return !1;
}
});
return t || n ? null : /* @__PURE__ */ (0, B.jsx)("div", {
- className: kE({
+ className: OE({
padding: "none",
className: "p-4"
}),
- children: /* @__PURE__ */ (0, B.jsxs)(Wk, {
+ children: /* @__PURE__ */ (0, B.jsxs)(Uk, {
summary: "浏览器历史记录导入指南",
defaultOpen: e,
children: [
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: eWe
+ children: nWe
}),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: tWe
+ children: rWe
}),
/* @__PURE__ */ (0, B.jsxs)("ul", {
className: "flex list-disc flex-col gap-1 pl-5 text-body-2-regular text-text-secondary",
@@ -74811,7 +74846,7 @@ function sWe({ onboarding: e, done: t }) {
}),
/* @__PURE__ */ (0, B.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: nWe
+ children: iWe
}),
/* @__PURE__ */ (0, B.jsx)("span", {
className: "self-start",
@@ -74820,7 +74855,7 @@ function sWe({ onboarding: e, done: t }) {
size: "small",
onClick: () => {
try {
- localStorage.setItem(P8, "1");
+ localStorage.setItem(N8, "1");
} catch {}
r(!0);
},
@@ -74831,7 +74866,7 @@ function sWe({ onboarding: e, done: t }) {
})
});
}
-function cWe({ busy: e, onRefresh: t, onImport: n }) {
+function uWe({ busy: e, onRefresh: t, onImport: n }) {
let r = (0, R.useRef)(null), [i, a] = (0, R.useState)(!1), o = (e) => {
a(!1), e();
};
@@ -74840,15 +74875,15 @@ function cWe({ busy: e, onRefresh: t, onImport: n }) {
"data-split-button": !0,
"data-variant": "primary",
children: [/* @__PURE__ */ (0, B.jsx)(J, {
- leadingIcon: xT,
- title: YUe,
+ leadingIcon: bT,
+ title: ZUe,
onClick: t,
...X(e),
children: "读取浏览器历史"
}), /* @__PURE__ */ (0, B.jsx)(J, {
ref: r,
iconOnly: !0,
- leadingIcon: mT,
+ leadingIcon: pT,
"aria-label": "更多取得浏览记录的方式",
"aria-haspopup": "dialog",
"aria-expanded": i,
@@ -74857,29 +74892,29 @@ function cWe({ busy: e, onRefresh: t, onImport: n }) {
e || a(!0);
}
})]
- }), /* @__PURE__ */ (0, B.jsx)(xO, {
+ }), /* @__PURE__ */ (0, B.jsx)(bO, {
triggerRef: r,
isOpen: i,
onOpenChange: a,
placement: "bottom end",
offset: 4,
- className: Ck,
- children: /* @__PURE__ */ (0, B.jsxs)(DM, {
+ className: Sk,
+ children: /* @__PURE__ */ (0, B.jsxs)(EM, {
"aria-label": "更多取得浏览记录的方式",
className: "flex w-52 flex-col gap-1 outline-none",
children: [/* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
- className: j8,
+ className: A8,
onClick: () => o(t),
- children: [/* @__PURE__ */ (0, B.jsx)(xT, {
+ children: [/* @__PURE__ */ (0, B.jsx)(bT, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "读取浏览器历史"]
}), /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
- className: j8,
+ className: A8,
onClick: () => o(n),
- children: [/* @__PURE__ */ (0, B.jsx)(NT, {
+ children: [/* @__PURE__ */ (0, B.jsx)(MT, {
"aria-hidden": !0,
className: "size-4 shrink-0"
}), "导入历史文件"]
@@ -74887,15 +74922,15 @@ function cWe({ busy: e, onRefresh: t, onImport: n }) {
})
})] });
}
-function lWe({ sources: e, window: t, toast: n }) {
- let r = DS({
- mutationFn: (e) => fUe(e, t),
+function dWe({ sources: e, window: t, toast: n }) {
+ let r = ES({
+ mutationFn: (e) => mUe(e, t),
onSuccess: (e) => {
- p.setQueryData(f8(t), e.dashboard), n("已移除口味数据源");
+ p.setQueryData(d8(t), e.dashboard), n("已移除口味数据源");
}
});
return /* @__PURE__ */ (0, B.jsxs)("section", {
- className: M8,
+ className: j8,
"aria-label": "数据源",
children: [
/* @__PURE__ */ (0, B.jsx)("h3", {
@@ -74909,14 +74944,14 @@ function lWe({ sources: e, window: t, toast: n }) {
e.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "inline-grid w-full gap-2 sm:grid-cols-2",
children: e.map((e) => /* @__PURE__ */ (0, B.jsxs)("div", {
- className: `flex min-w-0 items-center gap-3 ${N8}`,
+ className: `flex min-w-0 items-center gap-3 ${M8}`,
children: [
/* @__PURE__ */ (0, B.jsx)("span", {
className: "inline-grid size-8 shrink-0 place-items-center rounded-lg text-text-secondary",
- children: e.browser === "browserexport" ? /* @__PURE__ */ (0, B.jsx)(NT, {
+ children: e.browser === "browserexport" ? /* @__PURE__ */ (0, B.jsx)(MT, {
"aria-hidden": !0,
className: "size-4"
- }) : /* @__PURE__ */ (0, B.jsx)(ST, {
+ }) : /* @__PURE__ */ (0, B.jsx)(xT, {
"aria-hidden": !0,
className: "size-4"
})
@@ -74936,12 +74971,12 @@ function lWe({ sources: e, window: t, toast: n }) {
size: "small",
"aria-label": `移除 ${e.profile}`,
iconOnly: !0,
- leadingIcon: CT,
+ leadingIcon: ST,
...X(r.isPending),
onClick: () => {
r.isPending || je({
title: "移除口味数据源",
- body: rWe,
+ body: aWe,
confirmLabel: "移除口味数据源",
onConfirm: () => r.mutateAsync(e.source_key)
});
@@ -74949,32 +74984,32 @@ function lWe({ sources: e, window: t, toast: n }) {
})
]
}, e.source_key))
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: ST,
+ icon: xT,
title: "还没有数据源",
- children: XUe
+ children: QUe
})
]
});
}
-function uWe(e) {
- let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, R.useState)("all"), [s, c] = (0, R.useState)("browser"), l = (0, R.useRef)(null), u = wS({
- queryKey: f8(a),
- queryFn: ({ signal: e }) => p8(a, e),
- placeholderData: kS.keepPreviousData
- }), { job: d, running: f, outcome: m, start: h } = VM({
- queryKey: sUe,
- queryFn: ({ signal: e }) => lUe(e),
- start: () => dUe(a),
- idlePollMs: mUe,
+function fWe(e) {
+ let { onSignal: t, navigate: n, toast: r, onboarding: i } = e, [a, o] = (0, R.useState)("all"), [s, c] = (0, R.useState)("browser"), l = (0, R.useRef)(null), u = CS({
+ queryKey: d8(a),
+ queryFn: ({ signal: e }) => f8(a, e),
+ placeholderData: OS.keepPreviousData
+ }), { job: d, running: f, outcome: m, start: h } = BM({
+ queryKey: lUe,
+ queryFn: ({ signal: e }) => dUe(e),
+ start: () => pUe(a),
+ idlePollMs: gUe,
onFinish: (e) => {
e.status !== "failed" && (p.invalidateQueries({ queryKey: ["taste"] }), r("已更新口味分析"));
}
- }), g = DS({
- mutationFn: (e) => pUe(e),
+ }), g = ES({
+ mutationFn: (e) => hUe(e),
onSuccess: (e) => {
- p.setQueryData(f8("all"), e.dashboard), o("all"), r("已导入口味数据");
+ p.setQueryData(d8("all"), e.dashboard), o("all"), r("已导入口味数据");
}
}), _ = (e) => {
let t = e.currentTarget.files?.[0];
@@ -74982,47 +75017,47 @@ function uWe(e) {
}, v = () => {
f || h.isPending || (h.reset(), h.mutate());
}, y = u.data;
- if (!y) return /* @__PURE__ */ (0, B.jsx)(ME, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ if (!y) return /* @__PURE__ */ (0, B.jsx)(jE, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "口味分析读取失败",
children: u.error ? U(u.error) : "读取口味分析失败"
}) });
let b = y.summary || {}, x = y.coverage || {}, S = y.rankings || {}, C = y.storage || {}, w = S.browser_categories || [], T = y.gaps || [], E = x.tagged || 0, D = x.identified || 0, O = h.error ? U(h.error) : g.error ? U(g.error) : m?.status === "failed" ? m.error || "读取未取得" : "";
- return /* @__PURE__ */ (0, B.jsxs)(ME, { children: [
- /* @__PURE__ */ (0, B.jsxs)(mk, {
+ return /* @__PURE__ */ (0, B.jsxs)(jE, { children: [
+ /* @__PURE__ */ (0, B.jsxs)(pk, {
selectedKey: s,
onSelectionChange: (e) => c(String(e)),
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-3",
- children: [/* @__PURE__ */ (0, B.jsxs)(gA, {
+ children: [/* @__PURE__ */ (0, B.jsxs)(hA, {
"aria-label": "口味证据来源",
- className: vA,
- children: [/* @__PURE__ */ (0, B.jsx)(gk, {
+ className: _A,
+ children: [/* @__PURE__ */ (0, B.jsx)(hk, {
id: "browser",
- className: yA,
+ className: vA,
children: "浏览器记录"
- }), /* @__PURE__ */ (0, B.jsx)(gk, {
+ }), /* @__PURE__ */ (0, B.jsx)(hk, {
id: "peach",
- className: yA,
+ className: vA,
children: "Peach 内部"
})]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(Dk, {
+ /* @__PURE__ */ (0, B.jsx)(Ek, {
"aria-label": "分析范围",
selectedKey: a,
onSelectionChange: (e) => {
e !== null && o(String(e));
},
- children: cUe.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Ok, {
+ children: uUe.map(([e, t]) => /* @__PURE__ */ (0, B.jsx)(Dk, {
id: e,
children: t
}, e))
}),
- /* @__PURE__ */ (0, B.jsx)(cWe, {
+ /* @__PURE__ */ (0, B.jsx)(uWe, {
busy: f || h.isPending || g.isPending,
onRefresh: v,
onImport: () => l.current?.click()
@@ -75038,7 +75073,7 @@ function uWe(e) {
]
})]
}),
- /* @__PURE__ */ (0, B.jsx)(sWe, {
+ /* @__PURE__ */ (0, B.jsx)(lWe, {
onboarding: i,
done: !!(b.history_sources || y.updated_at)
}),
@@ -75046,48 +75081,48 @@ function uWe(e) {
"aria-live": "polite",
className: "flex flex-col gap-3 empty:hidden",
children: [
- f ? /* @__PURE__ */ (0, B.jsx)(LM, {
+ f ? /* @__PURE__ */ (0, B.jsx)(IM, {
label: d?.message || "正在读取浏览记录并更新口味分析",
value: d?.checked,
total: d?.total
}) : null,
- g.isPending ? /* @__PURE__ */ (0, B.jsx)(LM, { label: "正在导入历史文件" }) : null,
+ g.isPending ? /* @__PURE__ */ (0, B.jsx)(IM, { label: "正在导入历史文件" }) : null,
O ? /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
children: O
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsxs)(_k, {
+ /* @__PURE__ */ (0, B.jsxs)(gk, {
id: "browser",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: CM,
+ className: SM,
children: [
- /* @__PURE__ */ (0, B.jsx)(F8, {
+ /* @__PURE__ */ (0, B.jsx)(P8, {
accent: 0,
- icon: DT,
+ icon: ET,
term: "浏览记录",
figure: Number(b.history_visits || 0).toLocaleString(),
- detail: `${b.history_sources || 0} 个数据源 · ${m8(b.range_start)}—${m8(b.range_end)}`
+ detail: `${b.history_sources || 0} 个数据源 · ${p8(b.range_start)}—${p8(b.range_end)}`
}),
- /* @__PURE__ */ (0, B.jsx)(F8, {
+ /* @__PURE__ */ (0, B.jsx)(P8, {
accent: 1,
- icon: kT,
+ icon: OT,
term: "口味维度",
figure: w.length.toLocaleString(),
detail: w[0]?.name || "尚无主维度"
}),
- /* @__PURE__ */ (0, B.jsx)(F8, {
+ /* @__PURE__ */ (0, B.jsx)(P8, {
accent: 2,
- icon: MT,
+ icon: jT,
term: "浏览候选",
figure: T.length.toLocaleString()
}),
- /* @__PURE__ */ (0, B.jsx)(F8, {
+ /* @__PURE__ */ (0, B.jsx)(P8, {
accent: 3,
- icon: ST,
+ icon: xT,
term: "私有导出",
figure: Number(C.exports || 0).toLocaleString(),
detail: ye(C.bytes || 0)
@@ -75095,7 +75130,7 @@ function uWe(e) {
]
}),
/* @__PURE__ */ (0, B.jsxs)("section", {
- className: `${M8} md:flex-row md:gap-6`,
+ className: `${j8} md:flex-row md:gap-6`,
"aria-label": "浏览器画像",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 flex-col gap-2 pb-5 md:w-80 md:pr-6 md:pb-0",
@@ -75104,29 +75139,29 @@ function uWe(e) {
className: "text-caption-1-regular text-text-secondary",
children: "浏览器画像"
}),
- /* @__PURE__ */ (0, B.jsx)(GUe, {
+ /* @__PURE__ */ (0, B.jsx)(qUe, {
rows: w,
label: "主要口味维度"
}),
/* @__PURE__ */ (0, B.jsx)("small", {
className: "text-caption-1-regular text-text-secondary",
- children: y.updated_at ? `更新于 ${m8(y.updated_at)}` : "尚未采集浏览记录"
+ children: y.updated_at ? `更新于 ${p8(y.updated_at)}` : "尚未采集浏览记录"
})
]
}), /* @__PURE__ */ (0, B.jsx)("div", {
className: "flex min-w-0 grow flex-col",
- children: w.length ? /* @__PURE__ */ (0, B.jsx)(KUe, {
+ children: w.length ? /* @__PURE__ */ (0, B.jsx)(JUe, {
rows: w,
label: "口味维度排名"
- }) : /* @__PURE__ */ (0, B.jsx)(AE, {
+ }) : /* @__PURE__ */ (0, B.jsx)(kE, {
shell: "plain",
- icon: MT,
+ icon: jT,
title: "暂无口味维度",
- children: QUe
+ children: eWe
})
})]
}),
- /* @__PURE__ */ (0, B.jsx)(L6, {
+ /* @__PURE__ */ (0, B.jsx)(I6, {
activity: y.activity,
title: "浏览活跃时间",
dailyTitle: "每日活跃",
@@ -75138,8 +75173,8 @@ function uWe(e) {
tone: 4,
empty: "还没有可用于分析的口味网站访问记录。"
}),
- /* @__PURE__ */ (0, B.jsx)(qUe, { flows: y.creator_flows }),
- /* @__PURE__ */ (0, B.jsx)(L8, {
+ /* @__PURE__ */ (0, B.jsx)(YUe, { flows: y.creator_flows }),
+ /* @__PURE__ */ (0, B.jsx)(I8, {
label: "浏览器口味维度",
onSignal: t,
panels: [
@@ -75180,49 +75215,49 @@ function uWe(e) {
rows: T,
kind: "",
visual: "none",
- empty: $Ue
+ empty: tWe
}
}
]
})
]
}),
- /* @__PURE__ */ (0, B.jsxs)(_k, {
+ /* @__PURE__ */ (0, B.jsxs)(gk, {
id: "peach",
className: "flex flex-col gap-5",
children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
- className: CM,
+ className: SM,
children: [
- /* @__PURE__ */ (0, B.jsx)(F8, {
+ /* @__PURE__ */ (0, B.jsx)(P8, {
accent: 0,
- icon: TT,
+ icon: wT,
term: "Peach 看过",
figure: Number(b.peach_items || 0).toLocaleString(),
- detail: hUe(b.peach_seconds || 0)
+ detail: _Ue(b.peach_seconds || 0)
}),
- /* @__PURE__ */ (0, B.jsx)(F8, {
+ /* @__PURE__ */ (0, B.jsx)(P8, {
accent: 1,
- icon: mae,
+ icon: hae,
term: "喜欢",
figure: Number(b.liked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, B.jsx)(F8, {
+ /* @__PURE__ */ (0, B.jsx)(P8, {
accent: 2,
- icon: pae,
+ icon: mae,
term: "不合口味",
figure: Number(b.disliked || 0).toLocaleString()
}),
- /* @__PURE__ */ (0, B.jsx)(F8, {
+ /* @__PURE__ */ (0, B.jsx)(P8, {
accent: 3,
- icon: kT,
+ icon: OT,
term: "有标签",
figure: E.toLocaleString()
})
]
}),
/* @__PURE__ */ (0, B.jsxs)("section", {
- className: `${M8} md:flex-row md:gap-6`,
+ className: `${j8} md:flex-row md:gap-6`,
"aria-label": "Peach 观看",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 flex-col gap-0.5 pb-5 md:w-72 md:pr-6 md:pb-0",
@@ -75242,18 +75277,18 @@ function uWe(e) {
]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 grow flex-col",
- children: [/* @__PURE__ */ (0, B.jsx)(R8, {
+ children: [/* @__PURE__ */ (0, B.jsx)(L8, {
term: "有标签",
value: E,
rest: x.untagged || 0
- }), /* @__PURE__ */ (0, B.jsx)(R8, {
+ }), /* @__PURE__ */ (0, B.jsx)(L8, {
term: "有身份",
value: D,
rest: x.unidentified || 0
})]
})]
}),
- /* @__PURE__ */ (0, B.jsx)(L8, {
+ /* @__PURE__ */ (0, B.jsx)(I8, {
label: "Peach 口味维度",
onSignal: t,
panels: [
@@ -75293,19 +75328,19 @@ function uWe(e) {
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(oWe, {
+ /* @__PURE__ */ (0, B.jsx)(cWe, {
data: y,
onSignal: t,
navigate: n
}),
- /* @__PURE__ */ (0, B.jsx)(lWe, {
+ /* @__PURE__ */ (0, B.jsx)(dWe, {
sources: y.sources || [],
window: a,
toast: r
})
] });
}
-function R8({ term: e, value: t, rest: n }) {
+function L8({ term: e, value: t, rest: n }) {
let r = Math.max(t + n, 1);
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col gap-1.5 border-b border-separator-border py-3 last:border-b-0",
@@ -75318,7 +75353,7 @@ function R8({ term: e, value: t, rest: n }) {
children: `${n} 项待补`
})]
})]
- }), /* @__PURE__ */ (0, B.jsx)(PE, {
+ }), /* @__PURE__ */ (0, B.jsx)(NE, {
label: `${e}:${t.toLocaleString()} / ${r.toLocaleString()}`,
value: t,
max: r
@@ -75327,18 +75362,18 @@ function R8({ term: e, value: t, rest: n }) {
}
//#endregion
//#region src/react/router/managed-routes.tsx
-function dWe(e, t, n) {
+function pWe(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
}
let r = t.managePath(e);
- B8(r) ? n(r) : t.openManage(e);
+ z8(r) ? n(r) : t.openManage(e);
}
-var z8 = {
+var R8 = {
"/stats": {
- prefetch: (e, t) => tbe(t),
- page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(BHe, {
+ prefetch: (e, t) => rbe(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(HHe, {
tagLabel: ct,
onTag: t.openTag,
configurable: e.configurable,
@@ -75348,8 +75383,8 @@ var z8 = {
})
},
"/taste": {
- prefetch: (e, t) => uUe("all", t),
- page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(uWe, {
+ prefetch: (e, t) => fUe("all", t),
+ page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(fWe, {
onSignal: t.openTasteSignal,
navigate: n,
toast: (e) => t.receipt(e),
@@ -75357,8 +75392,8 @@ var z8 = {
})
},
"/review": {
- prefetch: (e, t) => kj(t),
- page: (e, t) => /* @__PURE__ */ (0, B.jsx)(Dve, {
+ prefetch: (e, t) => Oj(t),
+ page: (e, t) => /* @__PURE__ */ (0, B.jsx)(kve, {
...e,
route: t.routeReview,
openItem: t.openItem,
@@ -75368,24 +75403,24 @@ var z8 = {
})
},
"/data-cleanup": {
- prefetch: (e, t) => cde(t),
- page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(hfe, {
+ prefetch: (e, t) => lde(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(gfe, {
failure: t.failure,
- open: (e) => dWe(e, t, n),
+ open: (e) => pWe(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
})
},
"/duplicates": {
- prefetch: (e, t) => Lle(t),
- page: (e, t) => /* @__PURE__ */ (0, B.jsx)(sme, {
+ prefetch: (e, t) => Rle(t),
+ page: (e, t) => /* @__PURE__ */ (0, B.jsx)(cme, {
openItem: t.openItem,
failure: t.failure,
toast: (e, { undo: n } = {}) => t.receipt(e, n ? { undo: n } : {})
})
},
"/quality-goals": {
- prefetch: (e, t) => tue(t),
- page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(dve, {
+ prefetch: (e, t) => nue(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(pve, {
openItem: t.openItem,
javTitleHtml: st,
javDisplayName: ot,
@@ -75396,19 +75431,19 @@ var z8 = {
})
},
"/scraping": {
- prefetch: (e, t) => Pve(t),
- page: (e, t) => /* @__PURE__ */ (0, B.jsx)(Vve, { toast: (e) => t.toast(e) })
+ prefetch: (e, t) => Ive(t),
+ page: (e, t) => /* @__PURE__ */ (0, B.jsx)(Uve, { toast: (e) => t.toast(e) })
},
"/configuration": {
- prefetch: (e, t) => SR(t),
- page: (e, t) => /* @__PURE__ */ (0, B.jsx)($ye, {
+ prefetch: (e, t) => xR(t),
+ page: (e, t) => /* @__PURE__ */ (0, B.jsx)(tbe, {
receipt: (e) => t.receipt(e),
reopenTutorial: t.reopenTutorial
})
},
"/diagnostics": {
- prefetch: (e, t) => cme(t),
- page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(fme, {
+ prefetch: (e, t) => lme(t),
+ page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(pme, {
navigate: n,
openItem: t.openItem,
receipt: (e) => t.receipt(e),
@@ -75418,12 +75453,12 @@ var z8 = {
})
},
"/activity": {
- prefetch: (e, t) => Sce(t),
- page: (e) => /* @__PURE__ */ (0, B.jsx)(Gce, { ...e.prefill ? { prefill: e.prefill } : {} })
+ prefetch: (e, t) => Cce(t),
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(Kce, { ...e.prefill ? { prefill: e.prefill } : {} })
},
"/follow-manage": {
- prefetch: (e, t) => Wme(t, e.tab),
- page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(m_e, {
+ prefetch: (e, t) => Gme(t, e.tab),
+ page: (e, t, n) => /* @__PURE__ */ (0, B.jsx)(h_e, {
...e,
route: t.routeFollowManage,
savePreference: t.saveFollowPreference,
@@ -75434,10 +75469,10 @@ var z8 = {
}
})
}
-}, B8 = (e) => Object.hasOwn(z8, e), V8 = {
+}, z8 = (e) => Object.hasOwn(R8, e), B8 = {
"/playlists": {
- prefetch: (e, t) => Z_e(t),
- page: (e, t) => /* @__PURE__ */ (0, B.jsx)(lve, {
+ prefetch: (e, t) => $_e(t),
+ page: (e, t) => /* @__PURE__ */ (0, B.jsx)(dve, {
revision: e.revision,
openPlaylist: t.openPlaylist,
openEntity: t.openEntity,
@@ -75446,12 +75481,12 @@ var z8 = {
})
},
"/follow": {
- prefetch: (e, t) => Qme(e, t),
- page: (e) => /* @__PURE__ */ (0, B.jsx)(She, { ...e })
+ prefetch: (e, t) => $me(e, t),
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(Che, { ...e })
}
-}, H8 = (e) => Object.hasOwn(V8, e), U8 = {
- prefetch: (e, t) => Ffe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, B.jsx)(O_e, {
+}, V8 = (e) => Object.hasOwn(B8, e), H8 = {
+ prefetch: (e, t) => Lfe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, B.jsx)(A_e, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -75464,82 +75499,82 @@ var z8 = {
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
+}, U8 = {
+ "/performers": H8,
+ "/creators": H8,
+ "/studios": H8,
+ "/agencies": H8,
+ "/tags": H8
}, W8 = {
- "/performers": U8,
- "/creators": U8,
- "/studios": U8,
- "/agencies": U8,
- "/tags": U8
+ prefetch: (e) => Efe(e),
+ page: (e) => /* @__PURE__ */ (0, B.jsx)($pe, { ...e })
}, G8 = {
- prefetch: (e) => wfe(e),
- page: (e) => /* @__PURE__ */ (0, B.jsx)(Qpe, { ...e })
+ "/performers/*": W8,
+ "/studios/*": W8,
+ "/creators/*": W8,
+ "/series/*": W8,
+ "/agencies/*": W8
}, K8 = {
- "/performers/*": G8,
- "/studios/*": G8,
- "/creators/*": G8,
- "/series/*": G8,
- "/agencies/*": G8
-}, q8 = {
"/": {
- prefetch: (e, t) => kre(e, t),
- page: (e) => /* @__PURE__ */ (0, B.jsx)(UA, { ...e })
+ prefetch: (e, t) => Are(e, t),
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(HA, { ...e })
},
"/junk-files": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, B.jsx)(U_e, { ...e })
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(G_e, { ...e })
}
-}, J8 = (e) => Object.hasOwn(q8, e), fWe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, B.jsx)(Y_e, { ...e }) : /* @__PURE__ */ (0, B.jsx)(zM, { ...e }), Y8 = {
+}, q8 = (e) => Object.hasOwn(K8, e), mWe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, B.jsx)(Z_e, { ...e }) : /* @__PURE__ */ (0, B.jsx)(RM, { ...e }), J8 = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, B.jsx)(ole, { ...e })
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(sle, { ...e })
},
"feed-new": {
- prefetch: (e) => yfe(e),
- page: (e) => /* @__PURE__ */ (0, B.jsx)(pme, { ...e })
+ prefetch: (e) => xfe(e),
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(mme, { ...e })
},
"library-processing": {
- prefetch: (e, t) => nj(t),
- page: (e) => /* @__PURE__ */ (0, B.jsx)(fWe, { ...e })
+ prefetch: (e, t) => tj(t),
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(mWe, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, B.jsx)(Kve, { ...e })
+ page: (e) => /* @__PURE__ */ (0, B.jsx)(Jve, { ...e })
}
-}, X8 = (e) => Object.hasOwn(Y8, e), pWe = [
+}, Y8 = (e) => Object.hasOwn(J8, e), hWe = [
"/",
"/unseen",
"/watch-later",
"/flagged",
"/trash",
"/junk-files"
-], mWe = [
- ...Object.keys(z8),
- ...Object.keys(V8),
- ...Object.keys(W8),
- ...Object.keys(K8),
- ...pWe
-], Z8 = (e) => B8(e) || H8(e) || Object.hasOwn(W8, e) || Object.hasOwn(K8, e) || J8(e) || X8(e);
-function Q8(e) {
- return B8(e) ? z8[e] : H8(e) ? V8[e] : J8(e) ? q8[e] : X8(e) ? Y8[e] : Object.hasOwn(W8, e) ? W8[e] : K8[e];
+], gWe = [
+ ...Object.keys(R8),
+ ...Object.keys(B8),
+ ...Object.keys(U8),
+ ...Object.keys(G8),
+ ...hWe
+], X8 = (e) => z8(e) || V8(e) || Object.hasOwn(U8, e) || Object.hasOwn(G8, e) || q8(e) || Y8(e);
+function Z8(e) {
+ return z8(e) ? R8[e] : V8(e) ? B8[e] : q8(e) ? K8[e] : Y8(e) ? J8[e] : Object.hasOwn(U8, e) ? U8[e] : G8[e];
}
-function hWe(e, t, n) {
- return Z8(e) ? Q8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function _We(e, t, n) {
+ return X8(e) ? Z8(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function gWe(e, t, n, r) {
- return Q8(e).page(t, n, r);
+function vWe(e, t, n, r) {
+ return Z8(e).page(t, n, r);
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/url.js
-var _We = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, vWe = /^[\\/]{2}/;
-function yWe(e, t) {
+var yWe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, bWe = /^[\\/]{2}/;
+function xWe(e, t) {
return t + e.replace(/\\/g, "/");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/history.js
-function $8(e, t) {
+function Q8(e, t) {
if (e === !1 || e == null) throw Error(t);
}
-function e5(e, t) {
+function $8(e, t) {
if (!e) {
typeof console < "u" && console.warn(t);
try {
@@ -75547,10 +75582,10 @@ function e5(e, t) {
} catch {}
}
}
-function bWe({ pathname: e = "/", search: t = "", hash: n = "" }) {
+function SWe({ pathname: e = "/", search: t = "", hash: n = "" }) {
return t && t !== "?" && (e += t.charAt(0) === "?" ? t : "?" + t), n && n !== "#" && (e += n.charAt(0) === "#" ? n : "#" + n), e;
}
-function t5(e) {
+function e5(e) {
let t = {};
if (e) {
let n = e.indexOf("#");
@@ -75562,21 +75597,21 @@ function t5(e) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/utils.js
-function xWe(e, t, n = "/") {
- return SWe(e, t, n, !1);
+function CWe(e, t, n = "/") {
+ return wWe(e, t, n, !1);
}
-function SWe(e, t, n, r, i) {
- let a = c5((typeof t == "string" ? t5(t) : t).pathname || "/", n);
+function wWe(e, t, n, r, i) {
+ let a = s5((typeof t == "string" ? e5(t) : t).pathname || "/", n);
if (a == null) return null;
- let o = i ?? CWe(e), s = null, c = IWe(a);
- for (let e = 0; s == null && e < o.length; ++e) s = FWe(o[e], c, r);
+ let o = i ?? TWe(e), s = null, c = RWe(a);
+ for (let e = 0; s == null && e < o.length; ++e) s = LWe(o[e], c, r);
return s;
}
-function CWe(e) {
- let t = n5(e);
- return wWe(t), t;
+function TWe(e) {
+ let t = t5(e);
+ return EWe(t), t;
}
-function n5(e, t = [], n = [], r = "", i = !1) {
+function t5(e, t = [], n = [], r = "", i = !1) {
let a = (e, a, o = i, s) => {
let c = {
relativePath: s === void 0 ? e.path || "" : s,
@@ -75586,14 +75621,14 @@ function n5(e, t = [], n = [], r = "", i = !1) {
};
if (c.relativePath.startsWith("/")) {
if (!c.relativePath.startsWith(r) && o) return;
- $8(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
+ Q8(c.relativePath.startsWith(r), `Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`), c.relativePath = c.relativePath.slice(r.length);
}
- let l = f5([r, c.relativePath]), u = n.concat(c);
- e.children && e.children.length > 0 && ($8(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), n5(e.children, t, u, l, o)), !(e.path == null && !e.index) && t.push({
+ let l = d5([r, c.relativePath]), u = n.concat(c);
+ e.children && e.children.length > 0 && (Q8(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), t5(e.children, t, u, l, o)), !(e.path == null && !e.index) && t.push({
path: l,
- score: NWe(l, e.index),
+ score: FWe(l, e.index),
routesMeta: u.map((e, t) => {
- let [n, r] = s5(e.relativePath, e.caseSensitive, t === u.length - 1);
+ let [n, r] = o5(e.relativePath, e.caseSensitive, t === u.length - 1);
return {
...e,
matcher: n,
@@ -75604,68 +75639,68 @@ function n5(e, t = [], n = [], r = "", i = !1) {
};
return e.forEach((e, t) => {
if (e.path === "" || !e.path?.includes("?")) a(e, t);
- else for (let n of r5(e.path)) a(e, t, !0, n);
+ else for (let n of n5(e.path)) a(e, t, !0, n);
}), t;
}
-function r5(e) {
+function n5(e) {
let t = e.split("/");
if (t.length === 0) return [];
let [n, ...r] = t, i = n.endsWith("?"), a = n.replace(/\?$/, "");
if (r.length === 0) return i ? [a, ""] : [a];
- let o = r5(r.join("/")), s = [];
+ let o = n5(r.join("/")), s = [];
return s.push(...o.map((e) => e === "" ? a : [a, e].join("/"))), i && s.push(...o), s.map((t) => e.startsWith("/") && t === "" ? "/" : t);
}
-function wWe(e) {
- e.sort((e, t) => e.score === t.score ? PWe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
+function EWe(e) {
+ e.sort((e, t) => e.score === t.score ? IWe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);
}
-var TWe = /^:[\w-]+$/, EWe = /^:[\w-]+/, DWe = 3.5, OWe = 3, kWe = 2, AWe = 1, jWe = 10, MWe = -2, i5 = (e) => e === "*";
-function NWe(e, t) {
+var DWe = /^:[\w-]+$/, OWe = /^:[\w-]+/, kWe = 3.5, AWe = 3, jWe = 2, MWe = 1, NWe = 10, PWe = -2, r5 = (e) => e === "*";
+function FWe(e, t) {
let n = e.split("/"), r = n.length;
- return n.some(i5) && (r += MWe), t && (r += kWe), n.filter((e) => !i5(e)).reduce((e, t) => e + (TWe.test(t) ? OWe : EWe.test(t) ? DWe : t === "" ? AWe : jWe), r);
+ return n.some(r5) && (r += PWe), t && (r += jWe), n.filter((e) => !r5(e)).reduce((e, t) => e + (DWe.test(t) ? AWe : OWe.test(t) ? kWe : t === "" ? MWe : NWe), r);
}
-function PWe(e, t) {
+function IWe(e, t) {
return e.length === t.length && e.slice(0, -1).every((e, n) => e === t[n]) ? e[e.length - 1] - t[t.length - 1] : 0;
}
-function FWe(e, t, n = !1) {
+function LWe(e, t, n = !1) {
let { routesMeta: r } = e, i = {}, a = "/", o = [];
for (let e = 0; e < r.length; ++e) {
let s = r[e], c = e === r.length - 1, l = a === "/" ? t : t.slice(a.length) || "/", u = {
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: c
- }, d = s.matcher && s.compiledParams ? o5(u, l, s.matcher, s.compiledParams) : a5(u, l), f = s.route;
- if (!d && c && n && !r[r.length - 1].route.index && (d = a5({
+ }, d = s.matcher && s.compiledParams ? a5(u, l, s.matcher, s.compiledParams) : i5(u, l), f = s.route;
+ if (!d && c && n && !r[r.length - 1].route.index && (d = i5({
path: s.relativePath,
caseSensitive: s.caseSensitive,
end: !1
}, l)), !d) return null;
Object.assign(i, d.params), o.push({
params: i,
- pathname: f5([a, d.pathname]),
- pathnameBase: VWe(f5([a, d.pathnameBase])),
+ pathname: d5([a, d.pathname]),
+ pathnameBase: UWe(d5([a, d.pathnameBase])),
route: f
- }), d.pathnameBase !== "/" && (a = f5([a, d.pathnameBase]));
+ }), d.pathnameBase !== "/" && (a = d5([a, d.pathnameBase]));
}
return o;
}
-function a5(e, t) {
+function i5(e, t) {
typeof e == "string" && (e = {
path: e,
caseSensitive: !1,
end: !0
});
- let [n, r] = s5(e.path, e.caseSensitive, e.end);
- return o5(e, t, n, r);
+ let [n, r] = o5(e.path, e.caseSensitive, e.end);
+ return a5(e, t, n, r);
}
-function o5(e, t, n, r) {
+function a5(e, t, n, r) {
let i = t.match(n);
if (!i) return null;
- let a = i[0], o = p5(a, 1), s = i.slice(1);
+ let a = i[0], o = f5(a, 1), s = i.slice(1);
return {
params: r.reduce((e, { paramName: t, isOptional: n }, r) => {
if (t === "*") {
let e = s[r] || "";
- o = p5(a.slice(0, a.length - e.length), 1);
+ o = f5(a.slice(0, a.length - e.length), 1);
}
let i = s[r];
return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;
@@ -75675,8 +75710,8 @@ function o5(e, t, n, r) {
pattern: e
};
}
-function s5(e, t = !1, n = !0) {
- e5(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
+function o5(e, t = !1, n = !0) {
+ $8(e === "*" || !e.endsWith("*") || e.endsWith("/*"), `Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`);
let r = [], i = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (e, t, n, i, a) => {
if (r.push({
paramName: t,
@@ -75689,46 +75724,46 @@ function s5(e, t = !1, n = !0) {
}).replace(/\/([\w-]+)\?(?=\/|$|\()/g, "(?:/$1)?");
return e.endsWith("*") ? (r.push({ paramName: "*" }), i += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? i += "\\/*$" : e !== "" && e !== "/" && (i += "(?:(?=\\/|$))"), [new RegExp(i, t ? void 0 : "i"), r];
}
-function IWe(e) {
+function RWe(e) {
try {
return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");
} catch (t) {
- return e5(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
+ return $8(!1, `The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`), e;
}
}
-function c5(e, t) {
+function s5(e, t) {
if (t === "/") return e;
if (!e.toLowerCase().startsWith(t.toLowerCase())) return null;
let n = t.endsWith("/") ? t.length - 1 : t.length, r = e.charAt(n);
return r && r !== "/" ? null : e.slice(n) || "/";
}
-function LWe(e, t = "/") {
- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? t5(e) : e, a;
- return n ? (n = d5(n), a = n.startsWith("/") || n.startsWith("\\") ? l5(n.substring(1), "/") : l5(n, t)) : a = t, {
+function zWe(e, t = "/") {
+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? e5(e) : e, a;
+ return n ? (n = u5(n), a = n.startsWith("/") || n.startsWith("\\") ? c5(n.substring(1), "/") : c5(n, t)) : a = t, {
pathname: a,
- search: HWe(r),
- hash: UWe(i)
+ search: WWe(r),
+ hash: GWe(i)
};
}
-function l5(e, t) {
- let n = p5(t).split("/");
+function c5(e, t) {
+ let n = f5(t).split("/");
return e.split("/").forEach((e) => {
e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);
}), n.length > 1 ? n.join("/") : "/";
}
-function u5(e, t, n, r) {
+function l5(e, t, n, r) {
return `Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`;
}
-function RWe(e) {
+function BWe(e) {
return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);
}
-function zWe(e) {
- let t = RWe(e);
+function VWe(e) {
+ let t = BWe(e);
return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);
}
-function BWe(e, t, n, r = !1) {
+function HWe(e, t, n, r = !1) {
let i;
- typeof e == "string" ? i = t5(e) : (i = { ...e }, $8(!i.pathname || !i.pathname.includes("?"), u5("?", "pathname", "search", i)), $8(!i.pathname || !i.pathname.includes("#"), u5("#", "pathname", "hash", i)), $8(!i.search || !i.search.includes("#"), u5("#", "search", "hash", i)));
+ typeof e == "string" ? i = e5(e) : (i = { ...e }, Q8(!i.pathname || !i.pathname.includes("?"), l5("?", "pathname", "search", i)), Q8(!i.pathname || !i.pathname.includes("#"), l5("#", "pathname", "hash", i)), Q8(!i.search || !i.search.includes("#"), l5("#", "search", "hash", i)));
let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;
if (o == null) s = n;
else {
@@ -75740,16 +75775,16 @@ function BWe(e, t, n, r = !1) {
}
s = e >= 0 ? t[e] : "/";
}
- let c = LWe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
+ let c = zWe(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");
return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;
}
-var d5 = (e) => e.replace(/[\\/]{2,}/g, "/"), f5 = (e) => d5(e.join("/"));
-function p5(e, t = 0) {
+var u5 = (e) => e.replace(/[\\/]{2,}/g, "/"), d5 = (e) => u5(e.join("/"));
+function f5(e, t = 0) {
let n = e.length;
for (; n > t && e.charCodeAt(n - 1) === 47;) n--;
return n === e.length ? e : e.slice(0, n);
}
-var VWe = (e) => p5(e).replace(/^\/*/, "/"), HWe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, UWe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, WWe = class {
+var UWe = (e) => f5(e).replace(/^\/*/, "/"), WWe = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, GWe = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, KWe = class {
status;
statusText;
data;
@@ -75759,26 +75794,26 @@ var VWe = (e) => p5(e).replace(/^\/*/, "/"), HWe = (e) => !e || e === "?" ? "" :
this.status = e, this.statusText = t || "", this.internal = r, n instanceof Error ? (this.data = n.toString(), this.error = n) : this.data = n;
}
};
-function GWe(e) {
+function qWe(e) {
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;
}
-function KWe(e) {
- return f5(e.map((e) => e.route.path).filter(Boolean)) || "/";
+function JWe(e) {
+ return d5(e.map((e) => e.route.path).filter(Boolean)) || "/";
}
-var m5 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
-function qWe(e, t) {
+var p5 = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;
+function YWe(e, t) {
let n = e;
- if (typeof n != "string" || !_We.test(n)) return {
+ if (typeof n != "string" || !yWe.test(n)) return {
absoluteURL: void 0,
isExternal: !1,
to: n
};
let r = n, i = !1;
- if (m5) try {
- let e = new URL(window.location.href), r = vWe.test(n) ? new URL(yWe(n, e.protocol)) : new URL(n), a = c5(r.pathname, t);
+ if (p5) try {
+ let e = new URL(window.location.href), r = bWe.test(n) ? new URL(xWe(n, e.protocol)) : new URL(n), a = s5(r.pathname, t);
r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;
} catch {
- e5(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
+ $8(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);
}
return {
absoluteURL: r,
@@ -75788,45 +75823,45 @@ function qWe(e, t) {
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/navigation.js
-var h5 = new URL("http://localhost");
-function g5(e) {
+var m5 = new URL("http://localhost");
+function h5(e) {
if (e.createURL) return e.createURL("/");
try {
- return new URL(e.createHref("/"), h5);
+ return new URL(e.createHref("/"), m5);
} catch {
- return h5;
+ return m5;
}
}
-function _5(e, t) {
+function g5(e, t) {
return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);
}
-function JWe(e, t) {
+function XWe(e, t) {
if (e.startsWith("//")) return !0;
let n = t.protocol.toLowerCase();
return e.toLowerCase().startsWith(n) ? t.host === "" || e.slice(n.length).startsWith("//") : !1;
}
-function v5(e, t, n, r) {
+function _5(e, t, n, r) {
let i = null;
try {
i = e == null ? null : new URL(e, n);
} catch {}
- let a = new URL(t, n), o = i != null && !_5(i, n), s = !_5(a, n);
+ let a = new URL(t, n), o = i != null && !g5(i, n), s = !g5(a, n);
if (r === "reject") {
if (o || s) throw Error("External navigation is not allowed");
- } else if (s && (i == null || !JWe(e, i) || !_5(i, a))) throw Error("External navigation is not allowed");
+ } else if (s && (i == null || !XWe(e, i) || !g5(i, a))) throw Error("External navigation is not allowed");
}
//#endregion
//#region node_modules/react-router/dist/production/lib/router/router.js
-var y5 = [
+var v5 = [
"POST",
"PUT",
"PATCH",
"DELETE"
];
-new Set(y5);
-var YWe = ["GET", ...y5];
-new Set(YWe);
-var XWe = [
+new Set(v5);
+var ZWe = ["GET", ...v5];
+new Set(ZWe);
+var QWe = [
"about:",
"blob:",
"chrome:",
@@ -75838,85 +75873,85 @@ var XWe = [
"filesystem:",
"javascript:"
];
-function ZWe(e) {
+function $We(e) {
try {
- return XWe.includes(new URL(e).protocol);
+ return QWe.includes(new URL(e).protocol);
} catch {
return !1;
}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/context.js
+var y5 = R.createContext(null);
+y5.displayName = "DataRouter";
+var eGe = R.createContext(null);
+eGe.displayName = "DataRouterState";
var b5 = R.createContext(null);
-b5.displayName = "DataRouter";
-var QWe = R.createContext(null);
-QWe.displayName = "DataRouterState";
+b5.displayName = "DataRouterData";
+var tGe = R.createContext(null);
+tGe.displayName = "DataRouterNavigation";
+var nGe = R.createContext(!1), rGe = R.createContext({ isTransitioning: !1 });
+rGe.displayName = "ViewTransition";
+var iGe = R.createContext(null);
+iGe.displayName = "Fetchers";
+var aGe = R.createContext(null);
+aGe.displayName = "Await";
var x5 = R.createContext(null);
-x5.displayName = "DataRouterData";
-var $We = R.createContext(null);
-$We.displayName = "DataRouterNavigation";
-var eGe = R.createContext(!1), tGe = R.createContext({ isTransitioning: !1 });
-tGe.displayName = "ViewTransition";
-var nGe = R.createContext(null);
-nGe.displayName = "Fetchers";
-var rGe = R.createContext(null);
-rGe.displayName = "Await";
+x5.displayName = "Navigation";
var S5 = R.createContext(null);
-S5.displayName = "Navigation";
-var C5 = R.createContext(null);
-C5.displayName = "Location";
-var w5 = R.createContext({
+S5.displayName = "Location";
+var C5 = R.createContext({
outlet: null,
matches: [],
isDataRoute: !1
});
-w5.displayName = "Route";
-var T5 = R.createContext(!1);
-T5.displayName = "IsDataRoute";
-var E5 = R.createContext(void 0);
-E5.displayName = "RouteId";
-var D5 = R.createContext(null);
-D5.displayName = "RouteError";
+C5.displayName = "Route";
+var w5 = R.createContext(!1);
+w5.displayName = "IsDataRoute";
+var T5 = R.createContext(void 0);
+T5.displayName = "RouteId";
+var E5 = R.createContext(null);
+E5.displayName = "RouteError";
//#endregion
//#region node_modules/react-router/dist/production/lib/errors.js
-var O5 = "REACT_ROUTER_ERROR", iGe = "REDIRECT", aGe = "ROUTE_ERROR_RESPONSE";
-function oGe(e) {
- if (e.startsWith(`${O5}:${iGe}:{`)) try {
+var D5 = "REACT_ROUTER_ERROR", oGe = "REDIRECT", sGe = "ROUTE_ERROR_RESPONSE";
+function cGe(e) {
+ if (e.startsWith(`${D5}:${oGe}:{`)) try {
let t = JSON.parse(e.slice(28));
if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string" && typeof t.location == "string" && typeof t.reloadDocument == "boolean" && typeof t.replace == "boolean") return t;
} catch {}
}
-function sGe(e) {
- if (e.startsWith(`${O5}:${aGe}:{`)) try {
+function lGe(e) {
+ if (e.startsWith(`${D5}:${sGe}:{`)) try {
let t = JSON.parse(e.slice(40));
- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new WWe(t.status, t.statusText, t.data);
+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new KWe(t.status, t.statusText, t.data);
} catch {}
}
//#endregion
//#region node_modules/react-router/dist/production/lib/hooks.js
-function k5() {
- return R.useContext(C5) != null;
+function O5() {
+ return R.useContext(S5) != null;
}
-function A5() {
- return $8(k5(), "useLocation() may be used only in the context of a <Router> component."), R.useContext(C5).location;
+function k5() {
+ return Q8(O5(), "useLocation() may be used only in the context of a <Router> component."), R.useContext(S5).location;
}
-var j5 = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
-function cGe() {
- return R.useContext(T5) ? bGe() : lGe();
+var A5 = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
+function uGe() {
+ return R.useContext(w5) ? SGe() : dGe();
}
-function lGe() {
- $8(k5(), "useNavigate() may be used only in the context of a <Router> component.");
- let e = R.useContext(b5), { basename: t, navigator: n } = R.useContext(S5), { matches: r } = R.useContext(w5), { pathname: i } = A5(), a = JSON.stringify(zWe(r)), o = R.useRef(!1);
+function dGe() {
+ Q8(O5(), "useNavigate() may be used only in the context of a <Router> component.");
+ let e = R.useContext(y5), { basename: t, navigator: n } = R.useContext(x5), { matches: r } = R.useContext(C5), { pathname: i } = k5(), a = JSON.stringify(VWe(r)), o = R.useRef(!1);
return R.useLayoutEffect(() => {
o.current = !0;
}), R.useCallback((r, s = {}) => {
- if (e5(o.current, j5), !o.current) return;
+ if ($8(o.current, A5), !o.current) return;
if (typeof r == "number") {
n.go(r);
return;
}
- let c = BWe(r, JSON.parse(a), i, s.relative === "path");
- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : f5([t, c.pathname])), v5(typeof r == "string" ? r : bWe(r), n.createHref(c), g5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
+ let c = HWe(r, JSON.parse(a), i, s.relative === "path");
+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : d5([t, c.pathname])), _5(typeof r == "string" ? r : SWe(r), n.createHref(c), h5(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);
}, [
t,
n,
@@ -75926,19 +75961,19 @@ function lGe() {
]);
}
R.createContext(null);
-function uGe(e, t) {
- return M5(e, t);
+function fGe(e, t) {
+ return j5(e, t);
}
-function M5(e, t, n) {
- $8(k5(), "useRoutes() may be used only in the context of a <Router> component.");
- let { navigator: r } = R.useContext(S5), { matches: i } = R.useContext(w5), a = i[i.length - 1], o = a ? a.params : {};
+function j5(e, t, n) {
+ Q8(O5(), "useRoutes() may be used only in the context of a <Router> component.");
+ let { navigator: r } = R.useContext(x5), { matches: i } = R.useContext(C5), a = i[i.length - 1], o = a ? a.params : {};
a && a.pathname;
let s = a ? a.pathnameBase : "/";
a && a.route;
- let c = A5(), l;
+ let c = k5(), l;
if (t) {
- let e = typeof t == "string" ? t5(t) : t;
- $8(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
+ let e = typeof t == "string" ? e5(t) : t;
+ Q8(s === "/" || e.pathname?.startsWith(s), `When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${s}" but pathname "${e.pathname}" was given in the \`location\` prop.`), l = e;
} else l = c;
let u = l.pathname || "/", d = u;
if (s !== "/") {
@@ -75946,13 +75981,13 @@ function M5(e, t, n) {
d = "/" + u.replace(/^\//, "").split("/").slice(e.length).join("/");
}
let f;
- f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : xWe(e, { pathname: d });
- let p = gGe(f && f.map((e) => Object.assign({}, e, {
+ f = n ? n.state.matches.length ? n.state.matches.map((e) => Object.assign(e, { route: n.manifest[e.route.id] || e.route })) : n.router.match(n.state.location) : CWe(e, { pathname: d });
+ let p = vGe(f && f.map((e) => Object.assign({}, e, {
params: Object.assign({}, o, e.params),
- pathname: f5([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
- pathnameBase: e.pathnameBase === "/" ? s : f5([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
+ pathname: d5([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),
+ pathnameBase: e.pathnameBase === "/" ? s : d5([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])
})), i, n);
- return t && p ? /* @__PURE__ */ R.createElement(C5.Provider, { value: {
+ return t && p ? /* @__PURE__ */ R.createElement(S5.Provider, { value: {
location: {
pathname: "/",
search: "",
@@ -75965,14 +76000,14 @@ function M5(e, t, n) {
navigationType: "POP"
} }, p) : p;
}
-function dGe() {
- let e = yGe(), t = GWe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
+function pGe() {
+ let e = xGe(), t = qWe(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;
return /* @__PURE__ */ R.createElement(R.Fragment, null, /* @__PURE__ */ R.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ R.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ R.createElement("pre", { style: {
padding: "0.5rem",
backgroundColor: "rgba(200,200,200, 0.5)"
} }, n) : null, null);
}
-var fGe = /* @__PURE__ */ R.createElement(dGe, null), pGe = class extends R.Component {
+var mGe = /* @__PURE__ */ R.createElement(pGe, null), hGe = class extends R.Component {
constructor(e) {
super(e), this.state = {
location: e.location,
@@ -75980,7 +76015,7 @@ var fGe = /* @__PURE__ */ R.createElement(dGe, null), pGe = class extends R.Comp
error: e.error
};
}
- static contextType = eGe;
+ static contextType = nGe;
static getDerivedStateFromError(e) {
return { error: e };
}
@@ -76001,30 +76036,30 @@ var fGe = /* @__PURE__ */ R.createElement(dGe, null), pGe = class extends R.Comp
render() {
let e = this.state.error;
if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {
- let t = sGe(e.digest);
+ let t = lGe(e.digest);
t && (e = t);
}
- let t = e === void 0 ? this.props.children : /* @__PURE__ */ R.createElement(w5.Provider, { value: this.props.routeContext }, /* @__PURE__ */ R.createElement(T5.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ R.createElement(E5.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ R.createElement(D5.Provider, {
+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ R.createElement(C5.Provider, { value: this.props.routeContext }, /* @__PURE__ */ R.createElement(w5.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ R.createElement(T5.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ R.createElement(E5.Provider, {
value: e,
children: this.props.component
}))));
- return this.context ? /* @__PURE__ */ R.createElement(mGe, { error: e }, t) : t;
+ return this.context ? /* @__PURE__ */ R.createElement(gGe, { error: e }, t) : t;
}
-}, N5 = /* @__PURE__ */ new WeakMap();
-function mGe({ children: e, error: t }) {
- let { basename: n, navigator: r } = R.useContext(S5);
+}, M5 = /* @__PURE__ */ new WeakMap();
+function gGe({ children: e, error: t }) {
+ let { basename: n, navigator: r } = R.useContext(x5);
if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {
- let e = oGe(t.digest);
+ let e = cGe(t.digest);
if (e) {
- let i = N5.get(t);
+ let i = M5.get(t);
if (i) throw i;
- let a = qWe(e.location, n), o = a.absoluteURL || a.to;
- if (v5(e.location, o, g5(r), "allow-explicit"), ZWe(o)) throw Error("Invalid redirect location");
- if (m5 && !N5.get(t)) {
+ let a = YWe(e.location, n), o = a.absoluteURL || a.to;
+ if (_5(e.location, o, h5(r), "allow-explicit"), $We(o)) throw Error("Invalid redirect location");
+ if (p5 && !M5.get(t)) {
if (a.isExternal || e.reloadDocument) window.location.href = o;
else {
let n = Promise.resolve().then(() => window.__reactRouterDataRouter.navigate(a.to, { replace: e.replace }));
- throw N5.set(t, n), n;
+ throw M5.set(t, n), n;
}
}
return /* @__PURE__ */ R.createElement("meta", {
@@ -76035,11 +76070,11 @@ function mGe({ children: e, error: t }) {
}
return e;
}
-function hGe({ routeContext: e, match: t, children: n }) {
- let r = R.useContext(b5);
- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ R.createElement(w5.Provider, { value: e }, /* @__PURE__ */ R.createElement(T5.Provider, { value: e.isDataRoute }, /* @__PURE__ */ R.createElement(E5.Provider, { value: t.route.id }, n)));
+function _Ge({ routeContext: e, match: t, children: n }) {
+ let r = R.useContext(y5);
+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ R.createElement(C5.Provider, { value: e }, /* @__PURE__ */ R.createElement(w5.Provider, { value: e.isDataRoute }, /* @__PURE__ */ R.createElement(T5.Provider, { value: t.route.id }, n)));
}
-function gGe(e, t = [], n) {
+function vGe(e, t = [], n) {
let r = n?.state;
if (e == null) {
if (!r) return null;
@@ -76050,7 +76085,7 @@ function gGe(e, t = [], n) {
let i = e, a = r?.errors;
if (a != null) {
let e = i.findIndex((e) => e.route.id && a?.[e.route.id] !== void 0);
- $8(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
+ Q8(e >= 0, `Could not find a matching route for errors on route IDs: ${Object.keys(a).join(",")}`), i = i.slice(0, Math.min(i.length, e + 1));
}
let o = !1, s = -1;
if (n && r) {
@@ -76070,16 +76105,16 @@ function gGe(e, t = [], n) {
c(e, {
location: r.location,
params: r.matches?.[0]?.params ?? {},
- pattern: KWe(r.matches),
+ pattern: JWe(r.matches),
errorInfo: t
});
} : void 0;
return i.reduceRight((e, n, c) => {
let u, d = !1, f = null, p = null;
- r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || fGe, o && (s < 0 && c === 0 ? (xGe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
+ r && (u = a && n.route.id ? a[n.route.id] : void 0, f = n.route.errorElement || mGe, o && (s < 0 && c === 0 ? (CGe("route-fallback", !1, "No `HydrateFallback` element provided to render during initial hydration"), d = !0, p = null) : s === c && (d = !0, p = n.route.hydrateFallbackElement || null)));
let m = t.concat(i.slice(0, c + 1)), h = () => {
let t;
- return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ R.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ R.createElement(hGe, {
+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ R.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ R.createElement(_Ge, {
match: n,
routeContext: {
outlet: e,
@@ -76089,7 +76124,7 @@ function gGe(e, t = [], n) {
children: t
});
};
- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ R.createElement(pGe, {
+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ R.createElement(hGe, {
location: r.location,
revalidation: r.revalidation,
component: f,
@@ -76104,44 +76139,44 @@ function gGe(e, t = [], n) {
}) : h();
}, null);
}
-function P5(e) {
+function N5(e) {
return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;
}
-function _Ge(e) {
- let t = R.useContext(b5);
- return $8(t, P5(e)), t;
+function yGe(e) {
+ let t = R.useContext(y5);
+ return Q8(t, N5(e)), t;
}
-function vGe(e) {
- let t = R.useContext(x5);
- return $8(t, P5(e)), t;
+function bGe(e) {
+ let t = R.useContext(b5);
+ return Q8(t, N5(e)), t;
}
-function F5(e) {
- let t = R.useContext(E5);
- return $8(t, `${e} can only be used on routes that contain a unique "id"`), t;
+function P5(e) {
+ let t = R.useContext(T5);
+ return Q8(t, `${e} can only be used on routes that contain a unique "id"`), t;
}
-function yGe() {
- let e = R.useContext(D5), t = vGe("useRouteError"), n = F5("useRouteError");
+function xGe() {
+ let e = R.useContext(E5), t = bGe("useRouteError"), n = P5("useRouteError");
return e === void 0 ? t.errors?.[n] : e;
}
-function bGe() {
- let { router: e } = _Ge("useNavigate"), t = F5("useNavigate"), n = R.useRef(!1);
+function SGe() {
+ let { router: e } = yGe("useNavigate"), t = P5("useNavigate"), n = R.useRef(!1);
return R.useLayoutEffect(() => {
n.current = !0;
}), R.useCallback(async (r, i = {}) => {
- e5(n.current, j5), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
+ $8(n.current, A5), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {
fromRouteId: t,
...i
}));
}, [e, t]);
}
-var I5 = {};
-function xGe(e, t, n) {
- !t && !I5[e] && (I5[e] = !0, e5(!1, n));
+var F5 = {};
+function CGe(e, t, n) {
+ !t && !F5[e] && (F5[e] = !0, $8(!1, n));
}
-R.memo(SGe);
-function SGe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
- let a = R.useContext(b5);
- return $8(a, "You must render this element inside a <DataRouterContext.Provider> element"), M5(e, void 0, {
+R.memo(wGe);
+function wGe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
+ let a = R.useContext(y5);
+ return Q8(a, "You must render this element inside a <DataRouterContext.Provider> element"), j5(e, void 0, {
router: a.router,
manifest: t,
state: n,
@@ -76149,11 +76184,11 @@ function SGe({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {
onError: i
});
}
-function L5(e) {
- $8(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
+function I5(e) {
+ Q8(!1, "A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.");
}
-function CGe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
- $8(!k5(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
+function TGe({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {
+ Q8(!O5(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");
let s = e.replace(/^\/*/, "/"), c = R.useMemo(() => ({
basename: s,
navigator: i,
@@ -76166,9 +76201,9 @@ function CGe({ basename: e = "/", children: t = null, location: n, navigationTyp
a,
o
]);
- typeof n == "string" && (n = t5(n));
+ typeof n == "string" && (n = e5(n));
let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = R.useMemo(() => {
- let e = c5(l, s);
+ let e = s5(l, s);
return e == null ? null : {
location: {
pathname: e,
@@ -76190,27 +76225,27 @@ function CGe({ basename: e = "/", children: t = null, location: n, navigationTyp
r,
m
]);
- return e5(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ R.createElement(S5.Provider, { value: c }, /* @__PURE__ */ R.createElement(C5.Provider, {
+ return $8(h != null, `<Router basename="${s}"> is not able to match the URL "${l}${u}${d}" because it does not start with the basename, so the <Router> won't render anything.`), h == null ? null : /* @__PURE__ */ R.createElement(x5.Provider, { value: c }, /* @__PURE__ */ R.createElement(S5.Provider, {
children: t,
value: h
}));
}
-function R5({ children: e, location: t }) {
- return uGe(z5(e), t);
+function L5({ children: e, location: t }) {
+ return fGe(R5(e), t);
}
R.Component;
-function z5(e, t = []) {
+function R5(e, t = []) {
let n = [];
return R.Children.forEach(e, (e, r) => {
if (!R.isValidElement(e)) return;
let i = [...t, r];
if (e.type === R.Fragment) {
- n.push.apply(n, z5(e.props.children, i));
+ n.push.apply(n, R5(e.props.children, i));
return;
}
- $8(e.type === L5, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
+ Q8(e.type === I5, `[${typeof e.type == "string" ? e.type : e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`);
let a = e.props;
- $8(!a.index || !a.children, "An index route cannot have child routes.");
+ Q8(!a.index || !a.children, "An index route cannot have child routes.");
let o = {
id: a.id || i.join("-"),
caseSensitive: a.caseSensitive,
@@ -76229,17 +76264,17 @@ function z5(e, t = []) {
handle: a.handle,
lazy: a.lazy
};
- a.children && (o.children = z5(a.children, i)), n.push(o);
+ a.children && (o.children = R5(a.children, i)), n.push(o);
}), n;
}
//#endregion
//#region src/react/router/router.tsx
-var B5 = (0, R.createContext)(0), V5 = (0, R.createContext)(null);
-function wGe({ children: e }) {
+var z5 = (0, R.createContext)(0), B5 = (0, R.createContext)(null);
+function EGe({ children: e }) {
let [t, n] = (0, R.useState)(() => mt.navigation);
- return (0, R.useLayoutEffect)(() => (n(mt.navigation), mt.listen(n)), []), /* @__PURE__ */ (0, B.jsx)(B5.Provider, {
+ return (0, R.useLayoutEffect)(() => (n(mt.navigation), mt.listen(n)), []), /* @__PURE__ */ (0, B.jsx)(z5.Provider, {
value: t.seq,
- children: /* @__PURE__ */ (0, B.jsx)(CGe, {
+ children: /* @__PURE__ */ (0, B.jsx)(TGe, {
location: t.location,
navigationType: t.action,
navigator: mt,
@@ -76247,44 +76282,44 @@ function wGe({ children: e }) {
})
});
}
-function TGe() {
- let e = (0, R.useContext)(B5);
+function DGe() {
+ let e = (0, R.useContext)(z5);
return (0, R.useLayoutEffect)(() => {
queueMicrotask(() => ht(e));
}, [e]), null;
}
-function EGe({ target: e }) {
- let t = cGe();
+function OGe({ target: e }) {
+ let t = uGe();
return (0, R.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function DGe(e, t, n) {
+function kGe(e, t, n) {
let r = new URL(e, window.location.href);
- if (!B8(r.pathname)) {
+ if (!z8(r.pathname)) {
t.navigate(e);
return;
}
n(`${r.pathname}${r.search}${r.hash}`);
}
-function OGe() {
- let e = (0, R.useContext)(V5), [t, n] = (0, R.useState)(pt), r = (0, R.useRef)(null);
+function AGe() {
+ let e = (0, R.useContext)(B5), [t, n] = (0, R.useState)(pt), r = (0, R.useRef)(null);
(0, R.useLayoutEffect)(() => (n(pt()), ft((e, t) => {
t ? (0, rp.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, R.useMemo)(() => (t) => {
- e && r.current && DGe(t, e, r.current);
+ e && r.current && kGe(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(EGe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, B.jsx)(kGe, {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(OGe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, B.jsx)(jGe, {
entry: t,
- children: /* @__PURE__ */ (0, B.jsx)(AGe, {
+ children: /* @__PURE__ */ (0, B.jsx)(MGe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var kGe = class extends R.Component {
+var jGe = class extends R.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
@@ -76295,90 +76330,90 @@ var kGe = class extends R.Component {
render() {
return this.state.failed ? null : this.props.children;
}
-}, AGe = (0, R.memo)(function({ entry: e, actions: t, go: n }) {
- return Z8(e.path) ? (0, rp.createPortal)(gWe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, MGe = (0, R.memo)(function({ entry: e, actions: t, go: n }) {
+ return X8(e.path) ? (0, rp.createPortal)(vWe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function jGe({ children: e }) {
- let t = A5(), n = ut(t.state);
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)(R5, {
+function NGe({ children: e }) {
+ let t = k5(), n = ut(t.state);
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)(L5, {
location: n ?? t,
children: [
- mWe.map((e) => /* @__PURE__ */ (0, B.jsx)(L5, {
+ gWe.map((e) => /* @__PURE__ */ (0, B.jsx)(I5, {
path: e,
element: null
}, e)),
- /* @__PURE__ */ (0, B.jsx)(L5, {
+ /* @__PURE__ */ (0, B.jsx)(I5, {
path: "/resource-sync",
element: null
}),
- /* @__PURE__ */ (0, B.jsx)(L5, {
+ /* @__PURE__ */ (0, B.jsx)(I5, {
path: "*",
element: e
})
]
- }), /* @__PURE__ */ (0, B.jsxs)(R5, { children: [lt.map((e) => /* @__PURE__ */ (0, B.jsx)(L5, {
+ }), /* @__PURE__ */ (0, B.jsxs)(L5, { children: [lt.map((e) => /* @__PURE__ */ (0, B.jsx)(I5, {
path: e,
element: null
- }, e)), /* @__PURE__ */ (0, B.jsx)(L5, {
+ }, e)), /* @__PURE__ */ (0, B.jsx)(I5, {
path: "*",
element: null
})] })] });
}
-function MGe({ children: e, actions: t = null }) {
- return /* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(V5.Provider, {
+function PGe({ children: e, actions: t = null }) {
+ return /* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(B5.Provider, {
value: t,
- children: /* @__PURE__ */ (0, B.jsxs)(wGe, { children: [
- /* @__PURE__ */ (0, B.jsx)(TGe, {}),
- /* @__PURE__ */ (0, B.jsx)(OGe, {}),
- /* @__PURE__ */ (0, B.jsx)(jGe, { children: e })
+ children: /* @__PURE__ */ (0, B.jsxs)(EGe, { children: [
+ /* @__PURE__ */ (0, B.jsx)(DGe, {}),
+ /* @__PURE__ */ (0, B.jsx)(AGe, {}),
+ /* @__PURE__ */ (0, B.jsx)(NGe, { children: e })
] })
}) });
}
-var NGe = { onCaughtError: (e) => {
+var FGe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
-} }, H5 = null;
-function PGe(e) {
- if (H5) return;
- H5 = (0, ip.createRoot)(document.createElement("div"), NGe);
- let t = H5;
- (0, rp.flushSync)(() => t.render(/* @__PURE__ */ (0, B.jsx)(MGe, { actions: e })));
+} }, V5 = null;
+function IGe(e) {
+ if (V5) return;
+ V5 = (0, ip.createRoot)(document.createElement("div"), FGe);
+ let t = V5;
+ (0, rp.flushSync)(() => t.render(/* @__PURE__ */ (0, B.jsx)(PGe, { actions: e })));
}
//#endregion
//#region src/number-setting.ts
-function U5(e, t, n, r) {
+function H5(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
//#endregion
//#region src/react/settings/configuration-summary.tsx
-var FGe = (e) => {
+var LGe = (e) => {
let t = e.updates;
return t ? t.message ? `${t.current_version} · ${t.message}` : t.current_version : "未取得";
};
-function IGe({ openConfiguration: e }) {
- let t = wS({
- queryKey: bR,
- queryFn: ({ signal: e }) => xR(e)
+function RGe({ openConfiguration: e }) {
+ let t = CS({
+ queryKey: yR,
+ queryFn: ({ signal: e }) => bR(e)
}), n = t.data;
return /* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex flex-col",
- children: [n ? /* @__PURE__ */ (0, B.jsxs)(Hk, { children: [
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ children: [n ? /* @__PURE__ */ (0, B.jsxs)(Vk, { children: [
+ /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "媒体库",
children: `${n.library_count} 个`
}),
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "端口",
children: String(n.port)
}),
- /* @__PURE__ */ (0, B.jsx)(Uk, {
+ /* @__PURE__ */ (0, B.jsx)(Hk, {
term: "更新",
- children: FGe(n)
+ children: LGe(n)
})
- ] }) : /* @__PURE__ */ (0, B.jsx)(Ik, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
+ ] }) : /* @__PURE__ */ (0, B.jsx)(Fk, { children: /* @__PURE__ */ (0, B.jsx)(Y, {
tone: "error",
title: "配置读取失败",
children: t.error ? U(t.error) : "未取得配置,请刷新页面重试。"
- }) }), /* @__PURE__ */ (0, B.jsx)(Lk, {
+ }) }), /* @__PURE__ */ (0, B.jsx)(Ik, {
status: "媒体文件夹、端口、代理与更新在配置页上改。",
children: /* @__PURE__ */ (0, B.jsx)(J, {
onClick: e,
@@ -76389,16 +76424,16 @@ function IGe({ openConfiguration: e }) {
}
//#endregion
//#region src/react/settings-panel/legacy-controls.tsx
-var W5 = (e) => e.map(([e, t, n]) => n ? [
+var U5 = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function G5({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function W5({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, R.useRef)(null), d = (0, R.useRef)(null), f = (0, R.useRef)(l);
return f.current = l, (0, R.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Re(t, n, W5(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Re(t, n, U5(r), i, {
attr: a,
className: o,
text: s
@@ -76416,13 +76451,13 @@ function G5({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function K5({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
+function G5({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a = !1, hidden: o, describedBy: s, epoch: c, onPick: l, decorate: u }) {
let d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(-1), m = (0, R.useRef)(l);
return m.current = l, (0, R.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = Je(W5(n), r, { label: t });
+ e.innerHTML = Je(U5(n), r, { label: t });
let i = at(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -76435,7 +76470,7 @@ function K5({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function LGe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function zGe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, R.useRef)(null), c = (0, R.useRef)(null), l = (0, R.useRef)({
onStep: a,
onSettle: o
@@ -76470,7 +76505,7 @@ function LGe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
}
//#endregion
//#region src/react/settings-panel/glow-settings.tsx
-var RGe = [
+var BGe = [
[
"strength",
"强度",
@@ -76497,7 +76532,7 @@ var RGe = [
100
]
];
-function zGe({ host: e, spot: t, index: n, glow: r }) {
+function VGe({ host: e, spot: t, index: n, glow: r }) {
let i = h[n], a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), [c, l] = (0, R.useState)("all");
(0, R.useLayoutEffect)(() => {
let [e, t, n] = [
@@ -76536,7 +76571,7 @@ function zGe({ host: e, spot: t, index: n, glow: r }) {
children: u
})]
}),
- /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-down" })
+ /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-down" })
]
}), /* @__PURE__ */ (0, B.jsxs)("div", {
className: "popmenu",
@@ -76575,7 +76610,7 @@ function zGe({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function BGe({ host: e }) {
+function HGe({ host: e }) {
let t = e.store.value.homeGlow, n = E(t.preset);
return /* @__PURE__ */ (0, B.jsxs)("section", {
"data-glow-setting": "",
@@ -76594,7 +76629,7 @@ function BGe({ host: e }) {
children: T(t.preset)
})]
}),
- /* @__PURE__ */ (0, B.jsx)(LS, {
+ /* @__PURE__ */ (0, B.jsx)(IS, {
store: e.store,
label: "光晕配色"
}),
@@ -76605,7 +76640,7 @@ function BGe({ host: e }) {
}),
/* @__PURE__ */ (0, B.jsx)("div", {
"data-glow-fields": "",
- children: RGe.map(([r, i, a]) => /* @__PURE__ */ (0, B.jsx)(LGe, {
+ children: BGe.map(([r, i, a]) => /* @__PURE__ */ (0, B.jsx)(zGe, {
field: r,
label: i,
max: a,
@@ -76627,7 +76662,7 @@ function BGe({ host: e }) {
hidden: n,
children: [/* @__PURE__ */ (0, B.jsx)("h4", { children: "颜色" }), /* @__PURE__ */ (0, B.jsx)("div", {
"data-glow-stops": "",
- children: v.map((n, r) => /* @__PURE__ */ (0, B.jsx)(zGe, {
+ children: v.map((n, r) => /* @__PURE__ */ (0, B.jsx)(VGe, {
host: e,
spot: n,
index: r,
@@ -76652,7 +76687,7 @@ function BGe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/number-setting.tsx
-var VGe = {
+var UGe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -76693,10 +76728,10 @@ var VGe = {
optional: !0,
fallback: 60
}
-}, q5 = (e) => `peach.number.${e}`;
-function J5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = VGe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, R.useRef)(0);
- d.current ||= U5(Number(localStorage.getItem(q5(e))), o, s, n && n > 0 ? n : l);
+}, K5 = (e) => `peach.number.${e}`;
+function q5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = UGe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, R.useRef)(0);
+ d.current ||= H5(Number(localStorage.getItem(K5(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, R.useState)(n ?? 0), [m, h] = (0, R.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, R.useState)(""), v = (0, R.useRef)(null), y = (0, R.useRef)(i);
y.current = i, (0, R.useLayoutEffect)(() => {
n !== null && (p(n), n > 0 && h(String(n)));
@@ -76708,7 +76743,7 @@ function J5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`);
return;
}
- t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(q5(e), String(d.current)), y.current(d.current);
+ t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(K5(e), String(d.current)), y.current(d.current);
}
}, x = (0, R.useRef)(b);
x.current = b, (0, R.useEffect)(() => {
@@ -76723,7 +76758,7 @@ function J5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
p(d.current), h(String(d.current)), y.current(d.current);
return;
}
- t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(q5(e), String(d.current)), p(0), y.current(0);
+ t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(K5(e), String(d.current)), p(0), y.current(0);
}, w = r || n === null;
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-number-setting": "",
@@ -76773,13 +76808,13 @@ function J5({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
//#endregion
//#region src/react/sidebar/sidebar-order.ts
-function Y5(e) {
- let { mutate: t } = Xj();
+function J5(e) {
+ let { mutate: t } = Yj();
return (0, R.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function X5(e, t, n, r) {
+function Y5(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -76789,17 +76824,17 @@ function X5(e, t, n, r) {
}
//#endregion
//#region src/react/settings-panel/sidebar-order.tsx
-var HGe = "__home__", Z5 = (e) => e === "" ? HGe : e;
-function UGe({ host: e }) {
- let t = Y5(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, R.useState)(null), [c, l] = (0, R.useState)(!1), [u, d] = (0, R.useState)(null), [f, p] = (0, R.useState)(null), m = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (e, r, i) => {
- let a = X5(n, e, r, i);
+var WGe = "__home__", X5 = (e) => e === "" ? WGe : e;
+function GGe({ host: e }) {
+ let t = J5(e.store), n = e.store.value.sidebarOrder, r = new Map(e.navCatalog.map((e) => [e[0], e])), i = n.map((e) => r.get(e)).filter((e) => e !== void 0), a = e.navCatalog.filter(([e]) => !n.includes(e)), [o, s] = (0, R.useState)(null), [c, l] = (0, R.useState)(!1), [u, d] = (0, R.useState)(null), [f, p] = (0, R.useState)(null), m = (0, R.useRef)(null), h = (0, R.useRef)(null), g = (e, r, i) => {
+ let a = Y5(n, e, r, i);
a && t(a);
}, _ = (e, r) => {
let i = n.indexOf(e), a = i + r;
if (i < 0 || a < 0 || a >= n.length) return;
let o = [...n];
[o[i], o[a]] = [o[a], o[i]], t(o);
- }, v = a.find(([e]) => Z5(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => X5(e) === o) ?? a[0], y = () => {
h.current && Ne(h.current), l(!1);
}, b = () => {
let e = h.current;
@@ -76820,7 +76855,7 @@ function UGe({ host: e }) {
}, C = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", Z5(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", X5(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -76852,9 +76887,9 @@ function UGe({ host: e }) {
/* @__PURE__ */ (0, B.jsx)("i", {
"data-sidebar-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, B.jsx)(cT, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, B.jsx)(sT, { name: "grip-vertical" })
}),
- /* @__PURE__ */ (0, B.jsx)(cT, { name: a ?? "" }),
+ /* @__PURE__ */ (0, B.jsx)(sT, { name: a ?? "" }),
/* @__PURE__ */ (0, B.jsx)("b", { children: r })
]
}), /* @__PURE__ */ (0, B.jsxs)("span", {
@@ -76868,7 +76903,7 @@ function UGe({ host: e }) {
title: "上移",
disabled: o === 0,
onClick: () => _(e, -1),
- children: /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-up" })
+ children: /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-up" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -76878,7 +76913,7 @@ function UGe({ host: e }) {
title: "下移",
disabled: o === i.length - 1,
onClick: () => _(e, 1),
- children: /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-down" })
}),
/* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -76890,11 +76925,11 @@ function UGe({ host: e }) {
onClick: () => {
n.length > 1 && t(n.filter((t) => t !== e));
},
- children: /* @__PURE__ */ (0, B.jsx)(cT, { name: "eye-off" })
+ children: /* @__PURE__ */ (0, B.jsx)(sT, { name: "eye-off" })
})
]
})]
- }, Z5(e))), /* @__PURE__ */ (0, B.jsxs)("div", {
+ }, X5(e))), /* @__PURE__ */ (0, B.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -76910,13 +76945,13 @@ function UGe({ host: e }) {
ref: m,
onClick: b,
children: v ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
- /* @__PURE__ */ (0, B.jsx)(cT, { name: v[2] ?? "" }),
+ /* @__PURE__ */ (0, B.jsx)(sT, { name: v[2] ?? "" }),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-sidebar-add-label": "",
children: v[1]
}),
- /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-down" })
- ] }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(cT, { name: "check" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "全部页面都已显示" })] })
+ /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-down" })
+ ] }) : /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)(sT, { name: "check" }), /* @__PURE__ */ (0, B.jsx)("span", { children: "全部页面都已显示" })] })
}), a.length ? /* @__PURE__ */ (0, B.jsx)("div", {
className: "popmenu",
"data-sidebar-add-menu": "",
@@ -76927,15 +76962,15 @@ function UGe({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": Z5(e),
+ "data-sidebar-add-option": X5(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(Z5(e)), y(), m.current?.focus();
+ s(X5(e)), y(), m.current?.focus();
},
- children: [/* @__PURE__ */ (0, B.jsx)(cT, { name: n ?? "" }), /* @__PURE__ */ (0, B.jsx)("span", { children: t })]
- }, Z5(e)))
+ children: [/* @__PURE__ */ (0, B.jsx)(sT, { name: n ?? "" }), /* @__PURE__ */ (0, B.jsx)("span", { children: t })]
+ }, X5(e)))
}) : null]
}), /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
@@ -76952,7 +76987,7 @@ function UGe({ host: e }) {
}
//#endregion
//#region src/react/settings-panel/settings-panel.tsx
-var Q5 = [
+var Z5 = [
["界面", "ri-palette-line"],
["浏览", "ri-layout-grid-line"],
["播放", "ri-play-circle-line"],
@@ -76960,7 +76995,7 @@ var Q5 = [
["关注", "ri-rss-line"],
["安全", "ri-shield-check-line"],
["这台电脑", "ri-macbook-line"]
-], WGe = [
+], KGe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -76969,16 +77004,16 @@ var Q5 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], GGe = [["desc", "降序"], ["asc", "升序"]], KGe = [
+], qGe = [["desc", "降序"], ["asc", "升序"]], JGe = [
["off", "关闭"],
["precise", "精准"],
["coarse", "粗略"]
-], qGe = [
+], YGe = [
["7", "每周"],
["30", "每月"],
["90", "每季"],
["0", "从不"]
-], JGe = [[
+], XGe = [[
"cover",
"官方封面",
""
@@ -76986,7 +77021,7 @@ var Q5 = [
"thumbnail",
"预览图",
""
-]], YGe = [
+]], ZGe = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -77011,91 +77046,91 @@ var Q5 = [
"feedHideExcerptDescription",
"把出过的正片剪成十几分钟单卖的,比如ハイライト厂牌。"
]
-], XGe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", $5 = null, e7 = null, t7 = null, n7 = {
+], QGe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", Q5 = null, $5 = null, e7 = null, t7 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
machine: "none"
-}, r7 = 0, i7 = null;
-function ZGe() {
- return (!e7 || !t7?.isConnected) && (e7?.unmount(), t7 = document.createElement("div"), t7.dataset.settingsHost = "", document.body.append(t7), e7 = (0, ip.createRoot)(t7)), e7;
+}, n7 = 0, r7 = null;
+function $Ge() {
+ return (!$5 || !e7?.isConnected) && ($5?.unmount(), e7 = document.createElement("div"), e7.dataset.settingsHost = "", document.body.append(e7), $5 = (0, ip.createRoot)(e7)), $5;
}
-function a7() {
- let e = $5;
- e && (0, rp.flushSync)(() => ZGe().render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(iKe, {
+function i7() {
+ let e = Q5;
+ e && (0, rp.flushSync)(() => $Ge().render(/* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(aKe, {
host: e,
- view: n7
+ view: t7
}) })));
}
-function o7(e) {
- n7 = {
- ...n7,
+function a7(e) {
+ t7 = {
+ ...t7,
...e
- }, a7();
+ }, i7();
}
-async function QGe(e) {
- if (n7.machine === "summary") return;
+async function eKe(e) {
+ if (t7.machine === "summary") return;
let t = await e.configurable();
- if (n7.open) {
+ if (t7.open) {
if (!t) {
- o7({ machine: "note" });
+ a7({ machine: "note" });
return;
}
try {
- await SR(new AbortController().signal);
+ await xR(new AbortController().signal);
} catch {}
- n7.open && o7({ machine: "summary" });
+ t7.open && a7({ machine: "summary" });
}
}
-function $Ge(e = "") {
- let t = $5;
+function tKe(e = "") {
+ let t = Q5;
if (!t) return;
- Ae(), r7 += 1, i7 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let n = Q5.findIndex(([t]) => t === e), r = Aue();
- o7({
+ Ae(), n7 += 1, r7 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let n = Z5.findIndex(([t]) => t === e), r = jue();
+ a7({
open: !0,
closing: !1,
- epoch: n7.epoch + 1,
- tab: n >= 0 ? n : n7.tab
+ epoch: t7.epoch + 1,
+ tab: n >= 0 ? n : t7.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), QGe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), eKe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function s7() {
- if (!n7.open || n7.closing) return;
- let e = ++r7;
- o7({ closing: !0 });
+function o7() {
+ if (!t7.open || t7.closing) return;
+ let e = ++n7;
+ a7({ closing: !0 });
let t = () => {
- e !== r7 || !n7.closing || (o7({
+ e !== n7 || !t7.closing || (a7({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), i7 instanceof HTMLElement && document.contains(i7) && i7.focus(), i7 = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), r7 instanceof HTMLElement && document.contains(r7) && r7.focus(), r7 = null);
};
if (matchMedia("(prefers-reduced-motion: reduce)").matches) {
queueMicrotask(t);
return;
}
- t7?.querySelector("[data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);
+ e7?.querySelector("[data-settings-card]")?.addEventListener("animationend", t, { once: !0 }), setTimeout(t, 380);
}
-var eKe = {
- open: $Ge,
- close: s7,
- isOpen: () => n7.open,
+var nKe = {
+ open: tKe,
+ close: o7,
+ isOpen: () => t7.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function tKe(e) {
- return $5 = e, a7(), eKe;
+function rKe(e) {
+ return Q5 = e, i7(), nKe;
}
-function nKe(e) {
+function iKe(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(XGe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(QGe)].filter((e) => e.getClientRects().length > 0);
if (!t.length) return;
let n = t[0], r = t[t.length - 1];
e.shiftKey && document.activeElement === n ? (e.preventDefault(), r.focus()) : !e.shiftKey && document.activeElement === r && (e.preventDefault(), n.focus());
}
-var c7 = (e) => `settings-tab-${e}`, l7 = (e) => e === Q5.length - 1 ? "machineGroup" : `settings-group-${e}`;
-function rKe({ tab: e, epoch: t, onSelect: n }) {
+var s7 = (e) => `settings-tab-${e}`, c7 = (e) => e === Z5.length - 1 ? "machineGroup" : `settings-group-${e}`;
+function l7({ tab: e, epoch: t, onSelect: n }) {
let r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(e), s = (0, R.useRef)([]), c = (e, t) => {
let n = i.current;
if (!n) return;
@@ -77123,7 +77158,7 @@ function rKe({ tab: e, epoch: t, onSelect: n }) {
o.current = e, l.current(s.current[e], t);
}, [e, t]);
let u = (e, t) => {
- let r = Q5.length, i = t;
+ let r = Z5.length, i = t;
if (e.key === "ArrowRight" || e.key === "ArrowDown") i = (t + 1) % r;
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") i = (t + r - 1) % r;
else if (e.key === "Home") i = 0;
@@ -77152,11 +77187,11 @@ function rKe({ tab: e, epoch: t, onSelect: n }) {
role: "presentation",
children: "设置"
}),
- Q5.map(([t, r], i) => /* @__PURE__ */ (0, B.jsxs)("button", {
+ Z5.map(([t, r], i) => /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
role: "tab",
- id: c7(i),
- "aria-controls": l7(i),
+ id: s7(i),
+ "aria-controls": c7(i),
"aria-selected": i === e,
tabIndex: i === e ? 0 : -1,
ref: (e) => {
@@ -77167,7 +77202,7 @@ function rKe({ tab: e, epoch: t, onSelect: n }) {
onPointerEnter: (e) => {
e.pointerType !== "touch" && c(e.currentTarget, !0);
},
- children: [/* @__PURE__ */ (0, B.jsx)(Rie, { name: r }), t]
+ children: [/* @__PURE__ */ (0, B.jsx)(zie, { name: r }), t]
}, t))
]
});
@@ -77175,11 +77210,11 @@ function rKe({ tab: e, epoch: t, onSelect: n }) {
function u7({ index: e, tab: t, children: n }) {
return /* @__PURE__ */ (0, B.jsxs)("section", {
"data-setting-group": "",
- id: l7(e),
+ id: c7(e),
role: "tabpanel",
- "aria-labelledby": c7(e),
+ "aria-labelledby": s7(e),
hidden: e !== t,
- children: [/* @__PURE__ */ (0, B.jsx)("h3", { children: Q5[e][0] }), n]
+ children: [/* @__PURE__ */ (0, B.jsx)("h3", { children: Z5[e][0] }), n]
});
}
function d7({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
@@ -77211,7 +77246,7 @@ var p7 = ({ html: e, ...t }) => /* @__PURE__ */ (0, B.jsx)("small", {
...t,
dangerouslySetInnerHTML: { __html: e }
}), m7 = () => `${Qe("保存中")}<span>正在保存…</span>`, h7 = (e, t) => e instanceof Error && e.message || t;
-function iKe({ host: e, view: t }) {
+function aKe({ host: e, view: t }) {
(0, R.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = (0, R.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -77232,7 +77267,7 @@ function iKe({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (e) => {
- e !== n7.tab && o7({ tab: e });
+ e !== t7.tab && a7({ tab: e });
}, p = () => e.store.save();
return /* @__PURE__ */ (0, B.jsx)("section", {
"data-settings-panel": "",
@@ -77243,9 +77278,9 @@ function iKe({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: nKe,
+ onKeyDown: iKe,
onClick: (e) => {
- e.target === e.currentTarget && s7();
+ e.target === e.currentTarget && o7();
},
children: /* @__PURE__ */ (0, B.jsxs)("div", {
"data-settings-card": "",
@@ -77256,19 +77291,19 @@ function iKe({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, B.jsx)("h2", {
id: "settingsTitle",
- children: Q5[t.tab][0]
+ children: Z5[t.tab][0]
}), /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
id: "settingsClose",
"aria-label": "关闭设置",
- onClick: s7,
+ onClick: o7,
children: /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-x" })
})
})]
}),
- /* @__PURE__ */ (0, B.jsx)(rKe, {
+ /* @__PURE__ */ (0, B.jsx)(l7, {
tab: t.tab,
epoch: d,
onSelect: f
@@ -77284,7 +77319,7 @@ function iKe({ host: e, view: t }) {
/* @__PURE__ */ (0, B.jsx)(f7, {
title: "主题",
description: "跟随系统,或固定用浅色、深色。",
- children: /* @__PURE__ */ (0, B.jsx)(G5, {
+ children: /* @__PURE__ */ (0, B.jsx)(W5, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -77330,23 +77365,23 @@ function iKe({ host: e, view: t }) {
n.homeGlow.on = t, p(), e.changed("glow");
}
}),
- /* @__PURE__ */ (0, B.jsx)(BGe, { host: e }),
+ /* @__PURE__ */ (0, B.jsx)(HGe, { host: e }),
/* @__PURE__ */ (0, B.jsxs)("section", {
"data-sidebar-setting": "",
"aria-labelledby": "sidebarOrderTitle",
children: [/* @__PURE__ */ (0, B.jsxs)("span", { children: [/* @__PURE__ */ (0, B.jsx)("b", {
id: "sidebarOrderTitle",
children: "左侧导航"
- }), /* @__PURE__ */ (0, B.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, B.jsx)(UGe, { host: e })]
+ }), /* @__PURE__ */ (0, B.jsx)("small", { children: "直接拖动排序;可隐藏入口,也可从具体页面列表重新添加。窄栏和筛选抽屉会保持一致。" })] }), /* @__PURE__ */ (0, B.jsx)(GGe, { host: e })]
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(oKe, {
+ /* @__PURE__ */ (0, B.jsx)(sKe, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, B.jsx)(cKe, {
+ /* @__PURE__ */ (0, B.jsx)(lKe, {
host: e,
tab: t.tab,
epoch: d
@@ -77354,12 +77389,12 @@ function iKe({ host: e, view: t }) {
/* @__PURE__ */ (0, B.jsx)(u7, {
index: 3,
tab: t.tab,
- children: /* @__PURE__ */ (0, B.jsx)(uKe, {
+ children: /* @__PURE__ */ (0, B.jsx)(dKe, {
host: e,
epoch: d
})
}),
- /* @__PURE__ */ (0, B.jsx)(dKe, {
+ /* @__PURE__ */ (0, B.jsx)(fKe, {
host: e,
tab: t.tab,
epoch: d
@@ -77379,7 +77414,7 @@ function iKe({ host: e, view: t }) {
/* @__PURE__ */ (0, B.jsx)(u7, {
index: 6,
tab: t.tab,
- children: /* @__PURE__ */ (0, B.jsx)(pKe, {
+ children: /* @__PURE__ */ (0, B.jsx)(mKe, {
host: e,
machine: t.machine
})
@@ -77390,7 +77425,7 @@ function iKe({ host: e, view: t }) {
})
});
}
-function aKe(e, t) {
+function oKe(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Le("arrow-up", "arrow-down", "a", {
@@ -77400,7 +77435,7 @@ function aKe(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function oKe({ host: e, tab: t, epoch: n }) {
+function sKe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save(), a = r.defaultSort === "seed", o = r.defaultSortDirection === "asc";
return /* @__PURE__ */ (0, B.jsxs)(u7, {
index: 1,
@@ -77411,7 +77446,7 @@ function oKe({ host: e, tab: t, epoch: n }) {
description: "首页每次加载的作品数量。",
children: /* @__PURE__ */ (0, B.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, B.jsx)(J5, {
+ children: /* @__PURE__ */ (0, B.jsx)(q5, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -77430,19 +77465,19 @@ function oKe({ host: e, tab: t, epoch: n }) {
}),
children: /* @__PURE__ */ (0, B.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, B.jsx)(K5, {
+ children: [/* @__PURE__ */ (0, B.jsx)(G5, {
id: "defaultSortSetting",
label: "默认排序",
- options: WGe,
+ options: KGe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, B.jsx)(K5, {
+ }), /* @__PURE__ */ (0, B.jsx)(G5, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: GGe,
+ options: qGe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -77451,7 +77486,7 @@ function oKe({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => aKe(e, o)
+ decorate: (e) => oKe(e, o)
})]
})
}),
@@ -77471,18 +77506,18 @@ function oKe({ host: e, tab: t, epoch: n }) {
/* @__PURE__ */ (0, B.jsx)(f7, {
title: "JAV 默认封面",
description: "首页、接着看和 Mix 等位置共用;缺图时使用另一种封面。",
- children: /* @__PURE__ */ (0, B.jsx)(G5, {
+ children: /* @__PURE__ */ (0, B.jsx)(W5, {
id: "javImageSetting",
name: "jav-image",
legend: "JAV 默认封面",
- options: JGe,
+ options: XGe,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
text: !0,
epoch: n,
onChoose: (t) => {
- r.javImage = FC(t), i(), e.changed("javImage");
+ r.javImage = PC(t), i(), e.changed("javImage");
}
})
}),
@@ -77490,7 +77525,7 @@ function oKe({ host: e, tab: t, epoch: n }) {
title: "视频封面默认大小",
kind: "related",
description: "首页和 JAV 等视频列表共用;小图展示完整封套,大图展示完整正封。",
- children: /* @__PURE__ */ (0, B.jsx)(G5, {
+ children: /* @__PURE__ */ (0, B.jsx)(W5, {
id: "javSizeSetting",
name: "video-size",
legend: "视频封面默认大小",
@@ -77512,7 +77547,7 @@ function oKe({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- YGe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, B.jsx)(sKe, {
+ ZGe.map(([t, n, r, i, a, o]) => /* @__PURE__ */ (0, B.jsx)(cKe, {
host: e,
id: t,
settingKey: n,
@@ -77524,8 +77559,8 @@ function oKe({ host: e, tab: t, epoch: n }) {
]
});
}
-function sKe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
- let s = Xj(), [c, l] = (0, R.useState)(null), u = (0, R.useRef)(null), d = e.store.value, f = (t) => {
+function cKe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a, description: o }) {
+ let s = Yj(), [c, l] = (0, R.useState)(null), u = (0, R.useRef)(null), d = e.store.value, f = (t) => {
l(t), Ye(u.current), s.mutate({ [n]: t }, {
onSuccess: (i) => {
d[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -77553,7 +77588,7 @@ function sKe({ host: e, id: t, settingKey: n, label: r, title: i, describedBy: a
})]
});
}
-function cKe({ host: e, tab: t, epoch: n }) {
+function lKe({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
return /* @__PURE__ */ (0, B.jsxs)(u7, {
index: 2,
@@ -77564,12 +77599,12 @@ function cKe({ host: e, tab: t, epoch: n }) {
description: "转圈完成后进入放大预览。",
children: /* @__PURE__ */ (0, B.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, B.jsx)(J5, {
+ children: /* @__PURE__ */ (0, B.jsx)(q5, {
id: "hoverDelaySetting",
label: "悬停放大",
value: r.hoverDelaySeconds,
onApply: (t) => {
- r.hoverDelaySeconds = U5(t, 0, 60, 5), i(), e.changed("hoverDelay");
+ r.hoverDelaySeconds = H5(t, 0, 60, 5), i(), e.changed("hoverDelay");
}
}, n)
})
@@ -77597,7 +77632,7 @@ function cKe({ host: e, tab: t, epoch: n }) {
description: "卡片预览和详情播放器共用。",
children: /* @__PURE__ */ (0, B.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, B.jsx)(J5, {
+ children: /* @__PURE__ */ (0, B.jsx)(q5, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: r.seekSeconds,
@@ -77607,13 +77642,13 @@ function cKe({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, B.jsx)(lKe, { epoch: n }),
+ /* @__PURE__ */ (0, B.jsx)(uKe, { epoch: n }),
/* @__PURE__ */ (0, B.jsx)(f7, {
title: "相关推荐",
description: "详情下方一次显示的相似作品数量。",
children: /* @__PURE__ */ (0, B.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, B.jsx)(J5, {
+ children: /* @__PURE__ */ (0, B.jsx)(q5, {
id: "relatedLimitSetting",
label: "相关推荐",
value: r.relatedLimit,
@@ -77626,15 +77661,15 @@ function cKe({ host: e, tab: t, epoch: n }) {
]
});
}
-function lKe({ epoch: e }) {
- let t = wS({
- queryKey: qj,
- queryFn: ({ signal: e }) => Yj(e)
- }), n = Mue(), r = n.reset;
+function uKe({ epoch: e }) {
+ let t = CS({
+ queryKey: Kj,
+ queryFn: ({ signal: e }) => Jj(e)
+ }), n = Nue(), r = n.reset;
(0, R.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data?.mode || "off", a = n.isPending ? m7() : t.isFetching ? Be("正在读取状态") : n.isError ? g7(h7(n.error, "保存失败")) : t.isError ? g7(`状态未取得:${h7(t.error, String(t.error))}`) : t.data ? g7(Pue(t.data)) : "读取运行状态…";
+ let i = t.data?.mode || "off", a = n.isPending ? m7() : t.isFetching ? Be("正在读取状态") : n.isError ? g7(h7(n.error, "保存失败")) : t.isError ? g7(`状态未取得:${h7(t.error, String(t.error))}`) : t.data ? g7(Fue(t.data)) : "读取运行状态…";
return /* @__PURE__ */ (0, B.jsx)(f7, {
title: "视频缩略图采集",
description: /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("small", { children: "拖动进度条时按时间点看画面。精准每 10 秒一张,粗略每 30 秒一张;两小时的片子约 720 / 240 张,占 20–100 / 7–35 MB。只采集本机磁盘上的片子,网盘上的每张都要回源拉一次。" }), /* @__PURE__ */ (0, B.jsx)(p7, {
@@ -77642,10 +77677,10 @@ function lKe({ epoch: e }) {
"aria-live": "polite",
html: a
})] }),
- children: /* @__PURE__ */ (0, B.jsx)(K5, {
+ children: /* @__PURE__ */ (0, B.jsx)(G5, {
id: "videoThumbnailSetting",
label: "视频缩略图采集",
- options: KGe,
+ options: JGe,
value: n.isPending || n.isError ? n.variables ?? i : i,
disabled: n.isPending || t.isFetching,
epoch: e,
@@ -77653,26 +77688,26 @@ function lKe({ epoch: e }) {
})
});
}
-function uKe({ host: e, epoch: t }) {
- let n = e.store.value, r = Xj();
+function dKe({ host: e, epoch: t }) {
+ let n = e.store.value, r = Yj();
return /* @__PURE__ */ (0, B.jsx)(f7, {
title: "搜索记录",
description: "保存在 Peach 账本,所有访问端同步。",
children: /* @__PURE__ */ (0, B.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, B.jsx)(J5, {
+ children: /* @__PURE__ */ (0, B.jsx)(q5, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = U5(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = H5(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
}
}, t)
})
});
}
-function dKe({ host: e, tab: t, epoch: n }) {
- let r = e.store.value, i = Xj(), a = Xj(), [o, s] = (0, R.useState)("");
+function fKe({ host: e, tab: t, epoch: n }) {
+ let r = e.store.value, i = Yj(), a = Yj(), [o, s] = (0, R.useState)("");
(0, R.useEffect)(() => {
s("");
}, [n]);
@@ -77697,7 +77732,7 @@ function dKe({ host: e, tab: t, epoch: n }) {
"aria-live": "polite",
children: o
})] }),
- children: /* @__PURE__ */ (0, B.jsx)(K5, {
+ children: /* @__PURE__ */ (0, B.jsx)(G5, {
id: "followInitialDaysSetting",
label: "首次采集历史范围",
options: e.followInitialRanges,
@@ -77707,14 +77742,14 @@ function dKe({ host: e, tab: t, epoch: n }) {
onPick: (e) => c(Number(e))
})
}),
- /* @__PURE__ */ (0, B.jsx)(fKe, { epoch: n }),
+ /* @__PURE__ */ (0, B.jsx)(pKe, { epoch: n }),
/* @__PURE__ */ (0, B.jsx)(f7, {
title: "头像与站点图标刷新",
description: "创作者头像、来源图标和外链圆标保存在本机,到期后下次显示时重新取一次;视频与图片不保存。",
- children: /* @__PURE__ */ (0, B.jsx)(K5, {
+ children: /* @__PURE__ */ (0, B.jsx)(G5, {
id: "metadataRefreshSetting",
label: "头像与站点图标刷新",
- options: qGe,
+ options: YGe,
value: String(r.metadataRefreshDays),
epoch: n,
onPick: (t) => {
@@ -77726,15 +77761,15 @@ function dKe({ host: e, tab: t, epoch: n }) {
]
});
}
-function fKe({ epoch: e }) {
- let t = wS({
- queryKey: Kj,
- queryFn: ({ signal: e }) => Jj(e)
- }), n = jue(), r = n.reset;
+function pKe({ epoch: e }) {
+ let t = CS({
+ queryKey: Gj,
+ queryFn: ({ signal: e }) => qj(e)
+ }), n = Mue(), r = n.reset;
(0, R.useEffect)(() => {
r();
}, [e, r]);
- let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? m7() : t.isFetching ? Be("正在读取状态") : n.isError ? g7(h7(n.error, "保存失败")) : t.isError ? g7(`状态未取得:${h7(t.error, String(t.error))}`) : i ? g7(Nue(i)) : "读取运行状态…";
+ let i = t.data, a = n.isPending || t.isFetching || t.isError && !n.isError, o = n.isPending ? m7() : t.isFetching ? Be("正在读取状态") : n.isError ? g7(h7(n.error, "保存失败")) : t.isError ? g7(`状态未取得:${h7(t.error, String(t.error))}`) : i ? g7(Pue(i)) : "读取运行状态…";
return /* @__PURE__ */ (0, B.jsx)(f7, {
title: "关注自动更新",
description: /* @__PURE__ */ (0, B.jsx)(p7, {
@@ -77744,7 +77779,7 @@ function fKe({ epoch: e }) {
}),
children: /* @__PURE__ */ (0, B.jsx)("div", {
id: "followScheduleSetting",
- children: /* @__PURE__ */ (0, B.jsx)(J5, {
+ children: /* @__PURE__ */ (0, B.jsx)(q5, {
id: "followScheduleSetting",
label: "关注自动更新",
value: i && !a ? i.enabled ? i.interval_minutes : 0 : null,
@@ -77754,13 +77789,13 @@ function fKe({ epoch: e }) {
})
});
}
-function pKe({ host: e, machine: t }) {
+function mKe({ host: e, machine: t }) {
return t === "summary" ? /* @__PURE__ */ (0, B.jsx)("div", {
id: "machineSettings",
children: /* @__PURE__ */ (0, B.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, B.jsx)(IGe, { openConfiguration: () => {
- s7(), e.openConfiguration();
+ children: /* @__PURE__ */ (0, B.jsx)(RGe, { openConfiguration: () => {
+ o7(), e.openConfiguration();
} })
})
}, "summary") : t === "note" ? /* @__PURE__ */ (0, B.jsx)("div", {
@@ -77773,7 +77808,7 @@ function g7(e) {
}
//#endregion
//#region src/react/sidebar/sidebar-island.tsx
-var _7 = "__home__", mKe = {
+var _7 = "__home__", hKe = {
creator: 26,
tag: 30,
tech: 16
@@ -77786,13 +77821,13 @@ function C7() {
let e = y7;
if (!e || !b7) return;
let t = x7, n = S7;
- (0, rp.flushSync)(() => b7.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(_Ke, {
+ (0, rp.flushSync)(() => b7.render(/* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(vKe, {
host: e,
props: t,
epoch: n
}) })));
}
-var hKe = {
+var gKe = {
render(e) {
x7 = e, C7();
},
@@ -77800,23 +77835,23 @@ var hKe = {
S7 += 1, C7();
}
};
-function gKe(e) {
+function _Ke(e) {
return y7 = e, x7 = {
content: null,
filters: {},
latest: null
- }, e.scroll.replaceChildren(), b7 = (0, ip.createRoot)(e.scroll), C7(), e.attached(), hKe;
+ }, e.scroll.replaceChildren(), b7 = (0, ip.createRoot)(e.scroll), C7(), e.attached(), gKe;
}
-function _Ke({ host: e, props: t, epoch: n }) {
+function vKe({ host: e, props: t, epoch: n }) {
let r = (0, R.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, B.jsx)(vKe, {
+ /* @__PURE__ */ (0, B.jsx)(yKe, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, B.jsx)(bKe, {
+ t.content ? /* @__PURE__ */ (0, B.jsx)(xKe, {
host: e,
content: t.content,
filters: t.filters,
@@ -77824,8 +77859,8 @@ function _Ke({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function vKe({ host: e, epoch: t, version: n }) {
- let r = Y5(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, R.useRef)(null), l = (0, R.useRef)(null), u = mA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || _7 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function yKe({ host: e, epoch: t, version: n }) {
+ let r = J5(e.store), i = e.store.value.sidebarOrder, a = new Map(e.navCatalog.map((e) => [e[0], e])), o = i.map((e) => a.get(e)).filter((e) => e !== void 0), s = o.map(([t]) => e.navOn(t)), c = (0, R.useRef)(null), l = (0, R.useRef)(null), u = pA(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || _7 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, R.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
return [
@@ -77858,7 +77893,7 @@ function vKe({ host: e, epoch: t, version: n }) {
t.preventDefault();
let n = f, a = m?.key === e && m.after;
g();
- let o = n === null ? null : X5(i, n, e, a);
+ let o = n === null ? null : Y5(i, n, e, a);
o && r(o);
},
onDragEnd: g
@@ -77881,7 +77916,7 @@ function vKe({ host: e, epoch: t, version: n }) {
"data-sidebar-home-logo": "",
src: "/peach-logo.png",
alt: ""
- }) : /* @__PURE__ */ (0, B.jsx)(cT, { name: r }), /* @__PURE__ */ (0, B.jsx)("span", { children: n })]
+ }) : /* @__PURE__ */ (0, B.jsx)(sT, { name: r }), /* @__PURE__ */ (0, B.jsx)("span", { children: n })]
}, t || _7))
}), v ? (0, rp.createPortal)(/* @__PURE__ */ (0, B.jsx)("span", {
"data-sidebar-glide": "",
@@ -77890,7 +77925,7 @@ function vKe({ host: e, epoch: t, version: n }) {
}), v) : null] });
}
var w7 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function yKe(e) {
+function bKe(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -77903,7 +77938,7 @@ function yKe(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function bKe({ host: e, content: t, filters: n, latest: r }) {
+function xKe({ host: e, content: t, filters: n, latest: r }) {
let i = t.kind === "catalog" ? t.key : `follow:${t.selected.join(",")}:${t.tags.map((e) => e.value).join(",")}`;
(0, R.useLayoutEffect)(() => {
t.kind === "catalog" && Ue(e.scroll, "drawer");
@@ -77912,8 +77947,8 @@ function bKe({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? xKe(e, t.facets, n, r, i) : [SKe(e, t.tags, new Set(t.selected))], o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, B.jsx)(CKe, {
+ let a = t.kind === "catalog" ? SKe(e, t.facets, n, r, i) : [CKe(e, t.tags, new Set(t.selected))], o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, B.jsx)(wKe, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -77922,8 +77957,8 @@ function bKe({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function xKe(e, t, n, r, i) {
- let a = yKe(r), o = (t, r, i) => {
+function SKe(e, t, n, r, i) {
+ let a = bKe(r), o = (t, r, i) => {
if (!t.length) return null;
let o = w7(n, r);
return /* @__PURE__ */ (0, B.jsx)(D7, {
@@ -77948,12 +77983,12 @@ function xKe(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, B.jsx)(TKe, {
+ body: /* @__PURE__ */ (0, B.jsx)(EKe, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: mKe[d],
+ limit: hKe[d],
filterKey: l,
selected: f,
counts: a,
@@ -77968,7 +78003,7 @@ function xKe(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, B.jsx)(EKe, {
+ body: /* @__PURE__ */ (0, B.jsx)(DKe, {
host: e,
filters: n
})
@@ -77991,7 +78026,7 @@ function xKe(e, t, n, r, i) {
} : null
];
}
-function SKe(e, t, n) {
+function CKe(e, t, n) {
return t.length ? {
title: "内容标签",
kind: "online",
@@ -78011,7 +78046,7 @@ function T7(e, t) {
} catch {}
return n === null ? t : n === "open";
}
-function CKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+function wKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
let o = (0, R.useRef)(null), s = (0, R.useRef)(null), [c, l] = (0, R.useState)(() => T7(e, n)), u = (0, R.useRef)(!1);
(0, R.useLayoutEffect)(() => {
let t = o.current, r = s.current;
@@ -78037,7 +78072,7 @@ function CKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
"aria-expanded": c,
"aria-controls": f,
onClick: d,
- children: [/* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-right" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e })]
+ children: [/* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-right" }), /* @__PURE__ */ (0, B.jsx)("span", { children: e })]
}), /* @__PURE__ */ (0, B.jsx)("div", {
ref: s,
"data-sidebar-collapse": "",
@@ -78058,8 +78093,8 @@ function CKe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
});
}
var E7 = (0, R.createContext)(() => {});
-function wKe({ dot: e }) {
- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, B.jsx)(cT, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, B.jsx)("img", {
+function TKe({ dot: e }) {
+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, B.jsx)(sT, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, B.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
@@ -78082,7 +78117,7 @@ function D7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }
title: e.offline,
onClick: () => a.toggleChip(t, e.value, n),
children: [
- /* @__PURE__ */ (0, B.jsx)(wKe, { dot: e.dot }),
+ /* @__PURE__ */ (0, B.jsx)(TKe, { dot: e.dot }),
/* @__PURE__ */ (0, B.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -78097,7 +78132,7 @@ function D7({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a }
})
});
}
-function TKe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+function EKe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
let u = (0, R.useContext)(E7), [d, f] = (0, R.useState)(null), [p, m] = (0, R.useState)(e);
p !== e && (m(e), f(null));
let h = (0, R.useRef)(null), g = (0, R.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
@@ -78138,7 +78173,7 @@ function TKe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
all: !_
}), _ && u());
},
- children: /* @__PURE__ */ (0, B.jsx)(cT, { name: "chevron-down" })
+ children: /* @__PURE__ */ (0, B.jsx)(sT, { name: "chevron-down" })
}) : null] });
}
function O7({ rows: e, host: t, selected: n, badges: r }) {
@@ -78163,7 +78198,7 @@ function O7({ rows: e, host: t, selected: n, badges: r }) {
});
}
var k7 = (e, t) => e ? Math.min(v7, Number(e) / 60) : t;
-function EKe({ host: e, filters: t }) {
+function DKe({ host: e, filters: t }) {
let n = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [r, i] = (0, R.useState)(n), [a, o] = (0, R.useState)(() => [k7(t.dur_min, 0), k7(t.dur_max, v7)]), [s, c] = (0, R.useState)("max");
r !== n && (i(n), o([k7(t.dur_min, 0), k7(t.dur_max, v7)]));
let [l, u] = a, d = (0, R.useRef)(null), f = (0, R.useRef)(null), p = (0, R.useRef)(null), m = (0, R.useRef)(a);
@@ -78233,17 +78268,17 @@ function EKe({ host: e, filters: t }) {
}
//#endregion
//#region src/board-skeleton.ts
-var A7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, DKe = () => `${A7("80%")}${A7("48%")}`, OKe = (e, t) => e.repeat(t);
-function kKe() {
- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${A7("85%")}${A7("65%")}${OKe(DKe(), 4)}</div></aside></div>`;
+var A7 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, OKe = () => `${A7("80%")}${A7("48%")}`, kKe = (e, t) => e.repeat(t);
+function AKe() {
+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="skeleton-lines">${A7("85%")}${A7("65%")}${kKe(OKe(), 4)}</div></aside></div>`;
}
//#endregion
//#region src/react/follow-detail/follow-detail.ts
-var j7 = (e) => ["follow-item", e], AKe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, jKe = "/api/follow/save", MKe = "/api/follow/media/hide";
+var j7 = (e) => ["follow-item", e], jKe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, MKe = "/api/follow/save", NKe = "/api/follow/media/hide";
async function M7(e, t) {
- let n = await W(AKe(e), t);
+ let n = await W(jKe(e), t);
for (let t of n.groups || []) {
- let r = FF(t).find((t) => t.id === e);
+ let r = PF(t).find((t) => t.id === e);
if (r) return {
item: r,
group: t,
@@ -78253,10 +78288,10 @@ async function M7(e, t) {
}
throw Error("这条关注内容已不存在");
}
-async function NKe(e, t) {
- let n = j7(e.id), r = $me(e.id), i = p.getQueryData(jF) ? null : p.fetchQuery({
- queryKey: jF,
- queryFn: () => MF(t)
+async function PKe(e, t) {
+ let n = j7(e.id), r = ehe(e.id), i = p.getQueryData(AF) ? null : p.fetchQuery({
+ queryKey: AF,
+ queryFn: () => jF(t)
});
r ? p.setQueryData(n, {
...r,
@@ -78266,8 +78301,8 @@ async function NKe(e, t) {
queryFn: () => M7(e.id, t)
}), await i;
}
-function PKe(e, t, n, r) {
- let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && BF(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
+function FKe(e, t, n, r) {
+ let i = e.media_items || [], a = r === "images" ? "image" : "video", o = i.find((e) => e.media_kind === a) || i[0], s = i.length ? i.find((e) => e.index === (n ?? o.index)) || o : null, c = i.filter((e) => e.media_kind === "image"), l = c.findIndex((e) => e.index === s?.index), u = c.length > 1 && l >= 0, d = i.length > 1 && !u, f = !i.length && t && zF(t).length > 1 ? t : null, p = s?.media_kind || e.media_kind || "", m = (u ? [...c, e] : [s, e]).filter((e) => !!e && (e.width || 0) > 0 && (e.height || 0) > 0);
return {
embedded: i,
selected: s,
@@ -78281,32 +78316,32 @@ function PKe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var FKe = (e) => FF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), IKe = {
+var IKe = (e) => PF(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), LKe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, LKe = {
+}, RKe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function RKe(e) {
+function zKe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return IKe[t] || t;
+ return LKe[t] || t;
} catch {
return "外部文件页";
}
}
function N7(e, t) {
- return LKe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+ return RKe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function zKe(e, t, n = "") {
+function BKe(e, t, n = "") {
let r = n;
!r && e.is_release && (r = t.variant_label || t.variant_kind || ""), r ||= t.variant_kind === "wip" ? "WIP" : t.variant_label || t.variant_kind || "视频";
let i = e.is_release ? t.summary || (t.has_media ? "(仅附件)" : "(无正文)") : t.title;
@@ -78315,16 +78350,16 @@ function zKe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var BKe = (e) => String(e.name || "").trim(), P7 = (e, t) => e.tag_types?.[t] || "unknown", VKe = /* @__PURE__ */ new Set([
+var VKe = (e) => String(e.name || "").trim(), P7 = (e, t) => e.tag_types?.[t] || "unknown", HKe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function HKe(e, t) {
+function UKe(e, t) {
let n = P7(e, t);
- return `r34-${VKe.has(n) ? n : "general"}`;
+ return `r34-${HKe.has(n) ? n : "general"}`;
}
var F7 = [
"copyright",
@@ -78333,23 +78368,23 @@ var F7 = [
"general",
"metadata"
];
-function UKe(e, t) {
+function WKe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
let n = F7.indexOf(P7(e, t));
return n < 0 ? F7.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function WKe(e, t) {
+function GKe(e, t) {
let n = t.find((t) => t.id === e.source_id), r = t.filter((e) => n?.author_key && e.author_key === n.author_key);
return !r.length && n && r.push(n), r;
}
-var GKe = (e, t) => ({
+var KKe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
}), I7 = (e) => e?.size ? { size: e.size } : {};
-function KKe(e, t) {
+function qKe(e, t) {
let { images: n, kind: r, src: i, selected: a } = t;
return n.length ? n.map((t, r) => ({
src: `/follow-stream?id=${e.id}&media=${t.index}`,
@@ -78376,7 +78411,7 @@ function KKe(e, t) {
total: 1
}] : [];
}
-var qKe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
+var JKe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态";
//#endregion
//#region src/react/components/mix-queue.tsx
function L7({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
@@ -78430,29 +78465,29 @@ function R7({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var JKe = ({ label: e, count: t }) => /* @__PURE__ */ (0, B.jsxs)("h3", {
+var YKe = ({ label: e, count: t }) => /* @__PURE__ */ (0, B.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
" ",
/* @__PURE__ */ (0, B.jsx)("span", { children: t })
]
-}), z7 = (e) => Number(e) > 0, YKe = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
+}), z7 = (e) => Number(e) > 0, XKe = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: L(e) }
}), B7 = L("external-link", "externalmark");
-function XKe(e) {
- let { id: t, actions: n } = e, r = wS({
+function ZKe(e) {
+ let { id: t, actions: n } = e, r = CS({
queryKey: j7(t),
queryFn: ({ signal: e }) => M7(t, e)
- }), i = wS({
- queryKey: jF,
- queryFn: ({ signal: e }) => MF(e)
+ }), i = CS({
+ queryKey: AF,
+ queryFn: ({ signal: e }) => jF(e)
}), a = (0, R.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, R.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, B.jsx)(ZKe, {
+ return r.data ? /* @__PURE__ */ (0, B.jsx)(QKe, {
...e,
data: r.data,
- context: GKe(r.data, a),
+ context: KKe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, B.jsx)("div", {
@@ -78463,7 +78498,7 @@ function XKe(e) {
"data-follow-detail-media": "none",
children: [/* @__PURE__ */ (0, B.jsx)(V7, { onClose: n.close }), /* @__PURE__ */ (0, B.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? /* @__PURE__ */ (0, B.jsx)(NA, {
+ children: r.isError ? /* @__PURE__ */ (0, B.jsx)(MA, {
message: Te(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -78480,8 +78515,8 @@ var V7 = ({ onClose: e }) => /* @__PURE__ */ (0, B.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function ZKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
- let { item: s, group: c } = e, l = PKe(s, c, n, i), u = tqe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, R.useState)({
+function QKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, helpers: a, actions: o }) {
+ let { item: s, group: c } = e, l = FKe(s, c, n, i), u = nqe(s, o, r), d = `${s.id}:${l.selected?.index ?? ""}`, [f, p] = (0, R.useState)({
key: "",
kind: ""
}), m = {
@@ -78501,7 +78536,7 @@ function ZKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
s,
l.kind
]);
- let h = !l.embedded.length && l.collection ? FKe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, B.jsx)(G7, {
+ let h = !l.embedded.length && l.collection ? IKe(l.collection) : void 0, g = l.embeddedQueue ? /* @__PURE__ */ (0, B.jsx)(G7, {
item: s,
current: l.selected.index,
helpers: a,
@@ -78514,7 +78549,7 @@ function ZKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
actions: o,
onMedia: r,
currentId: s.id
- }) : /* @__PURE__ */ (0, B.jsx)($Ke, {
+ }) : /* @__PURE__ */ (0, B.jsx)(eqe, {
group: l.collection,
itemId: s.id,
helpers: a,
@@ -78525,7 +78560,7 @@ function ZKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
"data-with-queue": g ? "" : void 0,
"data-follow-detail": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(QKe, {
+ /* @__PURE__ */ (0, B.jsx)($Ke, {
item: s,
media: l,
helpers: a,
@@ -78534,7 +78569,7 @@ function ZKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
issues: m
}, d),
g,
- /* @__PURE__ */ (0, B.jsx)(eqe, {
+ /* @__PURE__ */ (0, B.jsx)(tqe, {
item: s,
data: e,
context: t,
@@ -78547,8 +78582,8 @@ function ZKe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, hel
]
});
}
-function QKe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
- let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, R.useRef)(null), [p, m] = (0, R.useState)(null), h = KKe(e, t), g = o?.thumb_url || e.thumb_url || "", _ = e.playable && a === "video", v = e.playable && a === "image" ? s : e.thumb_url || "", y = e.playable && a === "image" && g && g !== s ? g : "", [b, x] = (0, R.useState)(v), S = (0, R.useRef)({
+function $Ke({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
+ let { kind: a, selected: o, src: s, images: c, position: l, carousel: u, frameRatio: d } = t, f = (0, R.useRef)(null), [p, m] = (0, R.useState)(null), h = qKe(e, t), g = o?.thumb_url || e.thumb_url || "", _ = e.playable && a === "video", v = e.playable && a === "image" ? s : e.thumb_url || "", y = e.playable && a === "image" && g && g !== s ? g : "", [b, x] = (0, R.useState)(v), S = (0, R.useRef)({
item: e,
selected: o
}), C = (0, R.useRef)(i.failed);
@@ -78585,7 +78620,7 @@ function QKe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
src: b,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: h.length ? () => void UN(Math.max(0, l), h) : void 0,
+ onClick: h.length ? () => void VN(Math.max(0, l), h) : void 0,
onError: () => {
if (y && b !== y) {
x(y), i.thumbFallback();
@@ -78597,7 +78632,7 @@ function QKe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: KF(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: GF(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, B.jsx)("span", { children: "没有可用预览" })]
}),
u ? /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
@@ -78655,8 +78690,8 @@ function W7(e) {
t && e.wireDrag(t);
}, [e]);
}
-function $Ke({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = BF(e), a = W7(n);
+function eqe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = zF(e), a = W7(n);
return /* @__PURE__ */ (0, B.jsx)(L7, {
kind: "collection",
"data-follow-queue": "",
@@ -78665,7 +78700,7 @@ function $Ke({ group: e, itemId: t, helpers: n, actions: r }) {
listRef: a,
summary: `${e.primary.title || "未命名合集"} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = zKe(e, n, i ? n.provider_label : ""), o = i ? KF(n.provider, n.provider_label) : "";
+ let i = e.duplicates.includes(n), a = BKe(e, n, i ? n.provider_label : ""), o = i ? GF(n.provider, n.provider_label) : "";
return /* @__PURE__ */ (0, B.jsxs)(R7, {
current: n.id === t,
"data-follow-queue-item": n.id,
@@ -78688,7 +78723,7 @@ function $Ke({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, B.jsx)("time", {
dateTime: n.published_at || "",
- children: $F(n)
+ children: QF(n)
})]
})]
}, n.id);
@@ -78713,7 +78748,7 @@ function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
onClose: i.close,
listRef: s,
summary: `${e.title || "未命名内容"} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, B.jsx)(JKe, {
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, B.jsx)(YKe, {
label: n.label,
count: n.items.length
}, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, B.jsxs)(R7, {
@@ -78725,7 +78760,7 @@ function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
pic: n.thumb_url ? /* @__PURE__ */ (0, B.jsx)(U7, { src: n.thumb_url }) : /* @__PURE__ */ (0, B.jsx)(H7, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, B.jsx)("b", {
"data-middle-truncate": "",
- children: BKe(n)
+ children: VKe(n)
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -78733,13 +78768,13 @@ function G7({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function eqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function tqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
let { kind: c, selected: l, src: u } = r, d = {
primary: e,
variants: [],
duplicates: [],
has_wip: e.variant_kind === "wip"
- }, f = ZF(d, e), p = YF(e, WKe(e, t.sources), n), m = p.credited ? "" : e.author && be(e.author) !== be(p.author) ? e.author : "", h = QF(e, n), g = UKe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
+ }, f = XF(d, e), p = JF(e, GKe(e, t.sources), n), m = p.credited ? "" : e.author && be(e.author) !== be(p.author) ? e.author : "", h = ZF(e, n), g = WKe(e, o.tagLabel), _ = e.status === "saved", { busy: v } = i, y = (e) => v.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -78755,7 +78790,7 @@ function eqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-title": "",
"data-follow-detail-name": "",
"data-reveal-line": "",
- dangerouslySetInnerHTML: { __html: XF(d, e) + ge(e.title) }
+ dangerouslySetInnerHTML: { __html: YF(d, e) + ge(e.title) }
}), e.url ? /* @__PURE__ */ (0, B.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -78782,7 +78817,7 @@ function eqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, B.jsx)("span", { children: $F(e) }),
+ /* @__PURE__ */ (0, B.jsx)("span", { children: QF(e) }),
z7(e.duration) ? /* @__PURE__ */ (0, B.jsx)("span", { children: ve(e.duration) }) : null,
f ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-follow-badges": "",
@@ -78816,7 +78851,7 @@ function eqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [RKe(e), /* @__PURE__ */ (0, B.jsx)("span", {
+ children: [zKe(e), /* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: B7 }
})]
@@ -78925,7 +78960,7 @@ function eqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...y(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, B.jsx)(U7, { src: e.thumb_url }) : /* @__PURE__ */ (0, B.jsx)(YKe, { name: "image-off" }), /* @__PURE__ */ (0, B.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, B.jsx)(U7, { src: e.thumb_url }) : /* @__PURE__ */ (0, B.jsx)(XKe, { name: "image-off" }), /* @__PURE__ */ (0, B.jsx)("i", { dangerouslySetInnerHTML: { __html: L("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -78939,7 +78974,7 @@ function eqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-follow-detail-tags": "",
children: g.map((t) => /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
- "data-tag-cat": HKe(e, t),
+ "data-tag-cat": UKe(e, t),
"data-follow-tag": t,
onClick: () => s.openTag(t),
children: o.tagLabel(t)
@@ -78949,7 +78984,7 @@ function eqe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function tqe(e, t, n) {
+function nqe(e, t, n) {
let r = e.id, i = j7(r), [a, o] = (0, R.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
@@ -78960,17 +78995,17 @@ function tqe(e, t, n) {
...t.item,
status: e
}
- }), the(r, e);
+ }), nhe(r, e);
}, d = (e) => {
c(Te(e) || "操作失败"), t.failure("更新关注状态", e);
- }, f = DS({
- mutationFn: ({ to: e }) => G(GP, {
+ }, f = ES({
+ mutationFn: ({ to: e }) => G(WP, {
item: r,
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && xL(), t.toast(qKe(n), { undo: i === "saved" ? void 0 : async () => {
- await G(GP, {
+ u(n), c(""), n === "ignored" && bL(), t.toast(JKe(n), { undo: i === "saved" ? void 0 : async () => {
+ await G(WP, {
item: r,
to: i
}), u(i);
@@ -78978,16 +79013,16 @@ function tqe(e, t, n) {
},
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
- }), m = DS({
- mutationFn: () => G(jKe, { item: r }),
+ }), m = ES({
+ mutationFn: () => G(MKe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到账本");
},
onError: d,
onSettled: () => l("save", !1)
- }), h = DS({
+ }), h = ES({
mutationFn: async ({ index: e, hidden: t }) => {
- await G(MKe, {
+ await G(NKe, {
item: r,
media: e,
hidden: t
@@ -78998,17 +79033,17 @@ function tqe(e, t, n) {
},
onSuccess: (e, { hidden: r, next: a }) => {
let o = p.getQueryData(i);
- o && ehe(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
+ o && the(o.item), n(a), c(""), t.toast(r ? "已隐藏这张图" : "已恢复显示");
},
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
- }), g = wS({
- queryKey: i_e(r),
- queryFn: ({ signal: e }) => s_e(r, e)
- }).data?.want ?? null, _ = DS({
- mutationFn: async (e) => (e ? await bL([e.id]) : await yL({ follow: r }), !e),
+ }), g = CS({
+ queryKey: a_e(r),
+ queryFn: ({ signal: e }) => c_e(r, e)
+ }).data?.want ?? null, _ = ES({
+ mutationFn: async (e) => (e ? await yL([e.id]) : await vL({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), xL();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), bL();
},
onError: d,
onSettled: () => l("want", !1)
@@ -79048,19 +79083,19 @@ function tqe(e, t, n) {
}
//#endregion
//#region src/react/components/overlay-host.ts
-function nqe(e) {
+function rqe(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
if (t) return t;
let n = e.ownerDocument.createElement("div");
return n.className = "peach-react", n.dataset.reactOverlays = "", e.append(n), n;
}
-function rqe(e) {
+function iqe(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return nqe(n ?? t.body);
+ return rqe(n ?? t.body);
}
//#endregion
//#region src/react/cover-crop/cover-crop.ts
-var iqe = "/api/cover-crop", aqe = (e, t) => G(iqe, {
+var aqe = "/api/cover-crop", oqe = (e, t) => G(aqe, {
code: e,
box: t
});
@@ -79079,7 +79114,7 @@ function K7({ className: e }) {
children: /* @__PURE__ */ (0, B.jsx)("use", { href: "#i-crop" })
});
}
-function oqe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function sqe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, R.useState)(!1), o = (0, R.useRef)(null);
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsx)("button", {
ref: o,
@@ -79092,13 +79127,13 @@ function oqe({ code: e, coverUrl: t, box: n, onSaved: r }) {
className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",
children: /* @__PURE__ */ (0, B.jsx)(K7, { className: "size-3.75" })
}), /* @__PURE__ */ (0, B.jsx)(ry, {
- getContainer: () => rqe(o.current),
- children: /* @__PURE__ */ (0, B.jsx)(rP, {
+ getContainer: () => iqe(o.current),
+ children: /* @__PURE__ */ (0, B.jsx)(tP, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, B.jsx)(sqe, {
+ children: /* @__PURE__ */ (0, B.jsx)(cqe, {
code: e,
coverUrl: t,
box: n,
@@ -79108,9 +79143,9 @@ function oqe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function sqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, R.useState)(null), [s, c] = (0, R.useState)(null), [l, u] = (0, R.useState)(!0), d = NM(), f = DS({
- mutationFn: (t) => aqe(e, t),
+function cqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, R.useState)(null), [s, c] = (0, R.useState)(null), [l, u] = (0, R.useState)(!0), d = MM(), f = ES({
+ mutationFn: (t) => oqe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -79122,19 +79157,19 @@ function sqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : ipe(e, IC);
- c($N(t, e, null));
+ } : ope(e, FC);
+ c(ZN(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, B.jsx)(iP, { children: /* @__PURE__ */ (0, B.jsx)(K7, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, B.jsx)(nP, { children: /* @__PURE__ */ (0, B.jsx)(K7, { className: "size-6" }) }),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, B.jsx)(nD, {
+ /* @__PURE__ */ (0, B.jsx)(tD, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -79149,8 +79184,8 @@ function sqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsx)(FM, {
- icon: yT,
+ /* @__PURE__ */ (0, B.jsx)(PM, {
+ icon: vT,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -79160,24 +79195,24 @@ function sqe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, B.jsx)("div", {
ref: d,
className: "flex min-h-0 flex-1 flex-col items-center gap-4 overflow-y-auto border-t border-separator-border px-5 py-4",
- children: /* @__PURE__ */ (0, B.jsx)(oP, {
+ children: /* @__PURE__ */ (0, B.jsx)(iP, {
src: t,
- aspect: l ? IC : null,
+ aspect: l ? FC : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- ZN(e) && p(e);
+ YN(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, B.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, B.jsx)(aL, {
+ children: [/* @__PURE__ */ (0, B.jsx)(iL, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c($N(s, a, IC));
+ u(e), e && s && a && c(ZN(s, a, FC));
},
children: /* @__PURE__ */ (0, B.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -79213,14 +79248,14 @@ var q7 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
});
-function cqe(e) {
- let { queue: t, actions: n } = e, r = wS({
- queryKey: t ? UC(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => QC(t, e.helpers, n),
+function lqe(e) {
+ let { queue: t, actions: n } = e, r = CS({
+ queryKey: t ? HC(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => ZC(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? tw(i, e.id) : t ? null : e.id, o = wS({
- queryKey: HC(a ?? 0),
- queryFn: ({ signal: e }) => ZC(a, e),
+ }), i = t && r.data || null, a = i ? ew(i, e.id) : t ? null : e.id, o = CS({
+ queryKey: VC(a ?? 0),
+ queryFn: ({ signal: e }) => XC(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -79233,7 +79268,7 @@ function cqe(e) {
"data-item-media": "none",
children: [/* @__PURE__ */ (0, B.jsx)(Y7, { onClose: n.close }), /* @__PURE__ */ (0, B.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, B.jsx)(NA, {
+ children: e ? /* @__PURE__ */ (0, B.jsx)(MA, {
message: Te(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -79243,9 +79278,9 @@ function cqe(e) {
})
});
}
- return /* @__PURE__ */ (0, B.jsx)(lqe, {
+ return /* @__PURE__ */ (0, B.jsx)(uqe, {
...e,
- item: zre(o.data, i),
+ item: Bre(o.data, i),
queue: i
}, o.data.id);
}
@@ -79258,36 +79293,36 @@ var Y7 = ({ onClose: e }) => /* @__PURE__ */ (0, B.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: L("x") }
});
-function lqe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = Tqe(t, r, i.tagLabel), o = (0, R.useRef)(t);
+function uqe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = Eqe(t, r, i.tagLabel), o = (0, R.useRef)(t);
(0, R.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, R.useEffect)(() => {
- n?.kind === "playlist" && G(WC, {
+ n?.kind === "playlist" && G(UC, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = $re(t, i.sourceOffline(t.location || ""));
+ let s = eie(t, i.sourceOffline(t.location || ""));
return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [/* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(uqe, {
+ /* @__PURE__ */ (0, B.jsx)(dqe, {
item: t,
gate: s,
helpers: i,
actions: r
}),
- n ? /* @__PURE__ */ (0, B.jsx)(fqe, {
+ n ? /* @__PURE__ */ (0, B.jsx)(pqe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- /* @__PURE__ */ (0, B.jsx)(hqe, {
+ /* @__PURE__ */ (0, B.jsx)(gqe, {
item: t,
queue: n,
write: a,
@@ -79295,9 +79330,9 @@ function lqe(e) {
actions: r
})
]
- }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, B.jsx)(wqe, { ...e }) : null] });
+ }), !n && e.relatedLimit > 0 ? /* @__PURE__ */ (0, B.jsx)(Tqe, { ...e }) : null] });
}
-function uqe({ item: e, gate: t, helpers: n, actions: r }) {
+function dqe({ item: e, gate: t, helpers: n, actions: r }) {
let [i, a] = (0, R.useState)(t ? "" : "auto"), o = (0, R.useRef)(null), s = (0, R.useRef)(e);
(0, R.useLayoutEffect)(() => {
let e = o.current;
@@ -79308,7 +79343,7 @@ function uqe({ item: e, gate: t, helpers: n, actions: r }) {
ref: o,
"data-stage-media": "",
"data-item-media": t || "video",
- children: [/* @__PURE__ */ (0, B.jsx)(Y7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, B.jsx)(dqe, {
+ children: [/* @__PURE__ */ (0, B.jsx)(Y7, { onClose: r.close }), t === "offline" ? /* @__PURE__ */ (0, B.jsx)(fqe, {
item: e,
badge: c,
helpers: n,
@@ -79337,7 +79372,7 @@ function uqe({ item: e, gate: t, helpers: n, actions: r }) {
}) : null]
});
}
-function dqe({ item: e, badge: t, helpers: n, actions: r }) {
+function fqe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, R.useState)(!1), [o, s] = (0, R.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -79362,8 +79397,8 @@ function dqe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function fqe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = Yre(e), a = (0, R.useRef)(null), o = mqe(e, t, r), s = (0, R.useRef)(o);
+function pqe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = Xre(e), a = (0, R.useRef)(null), o = hqe(e, t, r), s = (0, R.useRef)(o);
s.current = o;
let c = (0, R.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -79371,7 +79406,7 @@ function fqe({ queue: e, itemId: t, helpers: n, actions: r }) {
attribute: "data-queue-row",
onMove: (e, t, n) => s.current.move(+e, +t, n)
}));
- }, [n, e.kind]), l = pqe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, B.jsx)("button", {
+ }, [n, e.kind]), l = mqe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, B.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -79399,10 +79434,10 @@ function fqe({ queue: e, itemId: t, helpers: n, actions: r }) {
listRef: c,
children: e.items.map((i) => {
let a = e.kind === "editions" && i.edition_label ? /* @__PURE__ */ (0, B.jsx)("i", {
- className: `javedition ${qre[i.edition_label] || "censored"}`,
+ className: `javedition ${Jre[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && ew(i);
+ }) : null, s = e.kind === "playlist" && $C(i);
return /* @__PURE__ */ (0, B.jsxs)(R7, {
current: i.id === t,
"data-queue-item": i.id,
@@ -79442,14 +79477,14 @@ function fqe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? lw(i.part_label) : re(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" ? cw(i.part_label) : re(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function pqe(e, t) {
- let n = DS({ mutationFn: (t) => G(WC, {
+function mqe(e, t) {
+ let n = ES({ mutationFn: (t) => G(UC, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -79462,14 +79497,14 @@ function pqe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function mqe(e, t, n) {
- let r = UC({
+function hqe(e, t, n) {
+ let r = HC({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (p.setQueryData(r, $C(e)), e), a = (t) => G(WC, {
+ }), i = (e) => (p.setQueryData(r, QC(e)), e), a = (t) => G(UC, {
id: e.playlistId,
...t
- }).then((e) => e.playlist), o = DS({
+ }).then((e) => e.playlist), o = ES({
mutationFn: (e) => a({
action: "reorder",
asset_ids: e
@@ -79482,8 +79517,8 @@ function mqe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Zre(s, t, r, c);
- if (Qre(l, s)) return;
+ let l = Qre(s, t, r, c);
+ if ($re(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -79529,7 +79564,7 @@ function mqe(e, t, n) {
}
};
}
-function hqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function gqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, R.useState)(!1);
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-stage-side": "",
@@ -79537,7 +79572,7 @@ function hqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, B.jsx)(gqe, {
+ /* @__PURE__ */ (0, B.jsx)(_qe, {
item: e,
queue: t,
helpers: r,
@@ -79549,7 +79584,7 @@ function hqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, B.jsx)(vqe, {
+ /* @__PURE__ */ (0, B.jsx)(yqe, {
item: e,
write: n
}),
@@ -79584,18 +79619,18 @@ function hqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, B.jsx)(yqe, {
+ /* @__PURE__ */ (0, B.jsx)(bqe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, B.jsx)(bqe, {
+ /* @__PURE__ */ (0, B.jsx)(xqe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, B.jsx)(Sqe, { item: e }),
+ /* @__PURE__ */ (0, B.jsx)(Cqe, { item: e }),
/* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -79689,7 +79724,7 @@ function hqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
]
}),
- /* @__PURE__ */ (0, B.jsx)(Cqe, {
+ /* @__PURE__ */ (0, B.jsx)(wqe, {
item: e,
open: s,
write: n
@@ -79713,7 +79748,7 @@ function hqe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function gqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+function _qe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
let a = (0, R.useRef)(null), [o, s] = (0, R.useState)(!1), [c, l] = (0, R.useState)(!1);
(0, R.useLayoutEffect)(() => {
let e = a.current;
@@ -79723,7 +79758,7 @@ function gqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}, n = new ResizeObserver(t);
return n.observe(e), t(), () => n.disconnect();
}, []);
- let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Xre(e, t);
+ let u = () => s((e) => !e), d = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Zre(e, t);
return /* @__PURE__ */ (0, B.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, B.jsxs)("div", {
@@ -79754,19 +79789,19 @@ function gqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, B.jsx)(oqe, {
+ children: /* @__PURE__ */ (0, B.jsx)(sqe, {
code: e.cover_key || e.code || "",
coverUrl: M(e),
box: e.poster_box || null,
onSaved: (t) => {
p.invalidateQueries({
- queryKey: HC(e.id),
+ queryKey: VC(e.id),
exact: !0
- }), VC((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), BC((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, B.jsx)(_qe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, B.jsx)(vqe, {
id: e.id,
actions: r,
onStatus: i
@@ -79776,7 +79811,7 @@ function gqe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function _qe({ id: e, actions: t, onStatus: n }) {
+function vqe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, R.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -79809,14 +79844,14 @@ function _qe({ id: e, actions: t, onStatus: n }) {
children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "folder-sync" })
})] });
}
-function vqe({ item: e, write: t }) {
- let n = rw(e.rating);
+function yqe({ item: e, write: t }) {
+ let n = nw(e.rating);
return /* @__PURE__ */ (0, B.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": nw(e.rating),
+ "data-value": tw(e.rating),
children: [/* @__PURE__ */ (0, B.jsx)("div", {
"data-rating-stars": "",
children: [
@@ -79838,12 +79873,12 @@ function vqe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, B.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Hre(e.rating)
+ children: Ure(e.rating)
})]
});
}
-function yqe({ item: e, actions: t }) {
- let n = (0, R.useMemo)(() => Vre(e), [e]), [r, i] = (0, R.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function bqe({ item: e, actions: t }) {
+ let n = (0, R.useMemo)(() => Hre(e), [e]), [r, i] = (0, R.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r, o = e === "performer" ? /* @__PURE__ */ (0, B.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${ge(n.name.slice(0, 1))}</span>` + te({
@@ -79918,7 +79953,7 @@ function yqe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: mT,
+ trailingIcon: pT,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -79963,8 +79998,8 @@ function yqe({ item: e, actions: t }) {
]
});
}
-function bqe({ item: e, write: t, helpers: n, actions: r }) {
- let i = Wre(e, n);
+function xqe({ item: e, write: t, helpers: n, actions: r }) {
+ let i = Gre(e, n);
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-stage-tags": "",
id: "detailTags",
@@ -79985,14 +80020,14 @@ function bqe({ item: e, write: t, helpers: n, actions: r }) {
onClick: () => t.removeTag(e),
children: /* @__PURE__ */ (0, B.jsx)(q7, { name: "x" })
})]
- }, e.k)), /* @__PURE__ */ (0, B.jsx)(xqe, {
+ }, e.k)), /* @__PURE__ */ (0, B.jsx)(Sqe, {
item: e,
write: t,
helpers: n
})]
});
}
-function xqe({ item: e, write: t, helpers: n }) {
+function Sqe({ item: e, write: t, helpers: n }) {
let r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(!1), [s, c] = (0, R.useState)(!1), [l, u] = (0, R.useState)(""), [d, f] = (0, R.useState)(""), [p, m] = (0, R.useState)(-1), h = (0, R.useCallback)(() => {
i.current && Ne(i.current), c(!1);
}, []);
@@ -80006,7 +80041,7 @@ function xqe({ item: e, write: t, helpers: n }) {
clearTimeout(t), document.removeEventListener("pointerdown", e, !0);
};
}, [s, h]);
- let g = s ? Kre(d, n.tagCandidates(), cw()) : {
+ let g = s ? qre(d, n.tagCandidates(), sw()) : {
recent: [],
results: [],
create: ""
@@ -80034,12 +80069,12 @@ function xqe({ item: e, write: t, helpers: n }) {
if (n.key === "Enter") {
n.preventDefault();
let r = p >= 0 ? _[p] : null;
- r ? v(r, r.n !== -1 && iw(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
+ r ? v(r, r.n !== -1 && rw(e, r.k)) : l.trim() && (h(), t.addTag(l.trim()));
}
}
}, b = -1, x = (t) => {
b += 1;
- let r = b, i = iw(e, t.k);
+ let r = b, i = rw(e, t.k);
return /* @__PURE__ */ (0, B.jsxs)("button", {
type: "button",
"data-pick": t.k,
@@ -80136,8 +80171,8 @@ function xqe({ item: e, write: t, helpers: n }) {
})]
})] });
}
-function Sqe({ item: e }) {
- let t = eie(e);
+function Cqe({ item: e }) {
+ let t = tie(e);
return /* @__PURE__ */ (0, B.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, B.jsxs)("div", {
@@ -80171,7 +80206,7 @@ function Sqe({ item: e }) {
})]
});
}
-function Cqe({ item: e, open: t, write: n }) {
+function wqe({ item: e, open: t, write: n }) {
let [r, i] = (0, R.useState)(e.like_reason || ""), a = (0, R.useRef)(null);
(0, R.useEffect)(() => {
t && a.current?.focus();
@@ -80210,10 +80245,10 @@ function Cqe({ item: e, open: t, write: n }) {
})]
});
}
-function wqe(e) {
- let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = wS({
- queryKey: Ire(t.id, n),
- queryFn: async ({ signal: e }) => (await W(Rre(t.id, n), e)).items || []
+function Tqe(e) {
+ let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = CS({
+ queryKey: Lre(t.id, n),
+ queryFn: async ({ signal: e }) => (await W(zre(t.id, n), e)).items || []
}), [o] = (0, R.useState)(() => r.relatedSkeletonHtml()), s = (0, R.useCallback)((e) => {
e && (Fe(e), r.wireDrag(e));
}, [r]);
@@ -80226,7 +80261,7 @@ function wqe(e) {
ref: s,
id: "nrow",
"data-related-row": "",
- children: a.data ? /* @__PURE__ */ (0, B.jsx)(UA, {
+ children: a.data ? /* @__PURE__ */ (0, B.jsx)(HA, {
mode: "items",
variant: "next",
items: a.data,
@@ -80243,8 +80278,8 @@ function wqe(e) {
})]
});
}
-function Tqe(e, t, n) {
- let r = e.id, i = HC(r), [a, o] = (0, R.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), d = (e, t) => o((n) => {
+function Eqe(e, t, n) {
+ let r = e.id, i = VC(r), [a, o] = (0, R.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, R.useState)(""), [l, u] = (0, R.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), f = () => p.getQueryData(i) || e, m = (e) => {
@@ -80260,11 +80295,11 @@ function Tqe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return BC(r, n), t;
+ return zC(r, n), t;
}, h = (e, t) => G(e, {
id: r,
...t
- }), g = DS({
+ }), g = ES({
mutationFn: ({ run: e }) => e(),
onError: (e, { action: n }) => t.failure(n, e),
onSettled: (e, t, { name: n }) => d(n, !1)
@@ -80275,7 +80310,7 @@ function Tqe(e, t, n) {
run: n
}));
}, v = async (e, t) => {
- let n = await h(GC, t === void 0 ? { kind: e } : {
+ let n = await h(WC, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -80295,21 +80330,21 @@ function Tqe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => _(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = Ure(n, e);
- await v("rate", r), t.toast(r ? `已评 ${rw(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = Wre(n, e);
+ await v("rate", r), t.toast(r ? `已评 ${nw(r)} 星` : "已取消评分", { undo: async () => {
await v("rate", n);
} });
}),
feedback: (e) => _(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await v(e);
- t.toast(uw(e, r), { undo: async () => {
+ t.toast(lw(e, r), { undo: async () => {
e === "o" ? await v("o-undo") : e === "dispose" ? await v("dispose") : (r.feedback && await v(r.feedback), n.feedback && await v(n.feedback)), await t.trashChanged(f().disposal || null, !0);
} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);
}),
later: () => _("later", "更新稍后看", async () => {
- let e = await h(qC, {});
+ let e = await h(KC, {});
m({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- m({ watch_later: (await h(qC, {})).watch_later });
+ m({ watch_later: (await h(KC, {})).watch_later });
} });
}),
quality: () => _("quality", "更新版本需求", async () => {
@@ -80319,9 +80354,9 @@ function Tqe(e, t, n) {
}, n = (e) => m({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await h(JC, { wanted: !e.wanted });
+ }), r = await h(qC, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await h(JC, e));
+ n(await h(qC, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -80335,7 +80370,7 @@ function Tqe(e, t, n) {
});
u("保存中…");
try {
- o(await h(YC, {
+ o(await h(JC, {
liked: a,
reason: i
}));
@@ -80345,7 +80380,7 @@ function Tqe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await h(YC, r));
+ o(await h(JC, r));
} });
});
},
@@ -80354,11 +80389,11 @@ function Tqe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- m((t) => aw(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await h(KC, {
+ m((t) => iw(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await h(GC, {
operation: "add",
tag: e.k
- }), m((t) => ow(t, e));
+ }), m((t) => aw(t, e));
} });
}),
addTag: (e) => {
@@ -80367,14 +80402,14 @@ function Tqe(e, t, n) {
(await h("/api/item-tag", {
operation: "add",
tag: r
- })).ok && (m((e) => ow(e, {
+ })).ok && (m((e) => aw(e, {
k: r,
cat: "general"
- })), Gre(r), t.toast(`已添加标签「${n(r)}」`, { undo: async () => {
- await h(KC, {
+ })), Kre(r), t.toast(`已添加标签「${n(r)}」`, { undo: async () => {
+ await h(GC, {
operation: "remove",
tag: r
- }), m((e) => aw(e, r));
+ }), m((e) => iw(e, r));
} }));
});
}
@@ -80383,16 +80418,16 @@ function Tqe(e, t, n) {
//#endregion
//#region src/react/stage/stage-player.ts
var X7 = null, Z7 = null, Q7 = null, $7 = null, e9 = null, t9 = !1, n9 = 0, r9 = null, i9 = () => !1, a9 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function Eqe(e, t) {
- X7 = e, i9 = () => t.isOpen(), r9 = () => t.requestClose(), qne({
+function Dqe(e, t) {
+ X7 = e, i9 = () => t.isOpen(), r9 = () => t.requestClose(), Jne({
...e.player,
stage: () => document.getElementById("stage")
- }), Jne({
+ }), Yne({
inMiniplayer: (e) => Z7?.player === e,
kind: (e) => Z7?.player === e ? Z7.kind : Q7?.kind ?? $7?.kind ?? "item",
expand: () => C9(),
toMiniplayer: () => w9()
- }), o9 || (o9 = !0, addEventListener("pagehide", () => yC()));
+ }), o9 || (o9 = !0, addEventListener("pagehide", () => vC()));
}
var o9 = !1;
function s9() {
@@ -80402,10 +80437,10 @@ function s9() {
function c9(e) {
$7 = e;
}
-var Dqe = () => $7;
+var Oqe = () => $7;
function l9(e, t) {
let { kind: n, item: r, media: i = null } = t, a = a9(n, r.id, i?.index ?? null);
- if (Z7 && Z7.key === a) return Oqe(e, Z7);
+ if (Z7 && Z7.key === a) return kqe(e, Z7);
Z7 && S9();
let o = {
player: null,
@@ -80417,7 +80452,7 @@ function l9(e, t) {
Q7 = o;
let s = document.createElement("video");
t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !0, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);
- let c = NC(s, {
+ let c = MC(s, {
kind: n,
item: r,
media: i,
@@ -80430,12 +80465,12 @@ function l9(e, t) {
});
return () => {
let e = !!o.player && Z7?.player === o.player;
- Q7 === o && (Q7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), yC());
+ Q7 === o && (Q7 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), vC());
};
}
-function Oqe(e, t) {
+function kqe(e, t) {
let { player: n } = t;
- b9(t), Z7 = null, x9(), n.el().classList.remove("vjs-peach-mini"), jC(e), e.append(n.el()), JS(n);
+ b9(t), Z7 = null, x9(), n.el().classList.remove("vjs-peach-mini"), AC(e), e.append(n.el()), qS(n);
let r = {
player: n,
kind: t.kind,
@@ -80444,22 +80479,22 @@ function Oqe(e, t) {
key: t.key
};
Q7 = r;
- let i = MC(n, e);
- return YS(n), () => {
- Q7 === r && (Q7 = null), i(), Z7?.player !== n && (qS() === n && JS(null), dC(n), yC());
+ let i = jC(n, e);
+ return JS(n), () => {
+ Q7 === r && (Q7 = null), i(), Z7?.player !== n && (KS() === n && qS(null), uC(n), vC());
};
}
var u9 = () => {
let e = Q7?.player;
return e && !e.isDisposed() ? e : null;
};
-function kqe(e) {
+function Aqe(e) {
let t = t9;
t9 = !1, Z7?.pending && S9();
let n = Q7, r = n?.player, i = $7;
if (!n || !r || r.isDisposed() || !i || !e9) return;
let a = s9().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && Pqe({
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && Fqe({
player: r,
kind: n.kind,
item: n.item,
@@ -80467,7 +80502,7 @@ function kqe(e) {
key: n.key
}, i);
}
-function Aqe(e, t) {
+function jqe(e, t) {
if (t9 = !1, Z7) {
if (Z7.kind === e && Z7.item.id === t) {
Z7.pending = !0, x9();
@@ -80480,11 +80515,11 @@ function d9(e) {
e9 = e, e9 && v9();
}
var f9 = () => !!Z7 && !Z7.pending && !Z7.player.isDisposed();
-function jqe() {
+function Mqe() {
return f9() ? e9?.frame.querySelector("video") ?? null : null;
}
-function Mqe() {
- return i9() ? document.getElementById("stage")?.querySelector("video") ?? null : jqe();
+function Nqe() {
+ return i9() ? document.getElementById("stage")?.querySelector("video") ?? null : Mqe();
}
function p9(e) {
e9 && (e9.title.textContent = e.title || "", e9.sub.textContent = e.sub || "", e9.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
@@ -80533,7 +80568,7 @@ function y9(e) {
function b9(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function Nqe() {
+function Pqe() {
let e = e9?.root;
if (!e) return;
let t = e.hidden;
@@ -80554,7 +80589,7 @@ function x9() {
e.style.transform = "";
}
}
-function Pqe(e, t) {
+function Fqe(e, t) {
if (!e9) return;
let n = {
...e,
@@ -80562,13 +80597,13 @@ function Pqe(e, t) {
off: [],
pending: !1
};
- Z7 = n, n9++, e.player.el().classList.add("vjs-peach-mini"), e9.frame.prepend(e.player.el()), p9(t), y9(n), Nqe(), YS(e.player);
+ Z7 = n, n9++, e.player.el().classList.add("vjs-peach-mini"), e9.frame.prepend(e.player.el()), p9(t), y9(n), Pqe(), JS(e.player);
}
function S9() {
let e = Z7;
e && b9(e), Z7 = null, n9++;
let t = e?.player ?? null;
- t && qS() === t && JS(null), dC(t), t && yC(), e9?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), GS(), x9();
+ t && KS() === t && qS(null), uC(t), t && vC(), e9?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), WS(), x9();
}
function C9() {
if (!f9() || !Z7) return;
@@ -80582,7 +80617,7 @@ function w9() {
}
i9() && u9() && r9 && (t9 = !0, r9());
}
-function Fqe() {
+function Iqe() {
let e = Z7?.player;
!e || e.isDisposed() || (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
@@ -80595,7 +80630,7 @@ function T9(e) {
function E9(e) {
return !(!f9() || !e || e.part_group || e.edition_group || e.medium && e.medium !== "video" || e.cost === "metered" && e.location !== "online" || e.location === "online" && !e.follow_item_id || s9().sourceOffline(String(e.location ?? "")));
}
-async function Iqe(e) {
+async function Lqe(e) {
if (!f9() || !Z7 || !e9) return;
let t = ++n9, n = await pe(`/api/item?id=${e}`).catch(() => null);
if (t !== n9 || !f9() || !Z7 || !e9 || !n || n.error) return;
@@ -80604,7 +80639,7 @@ async function Iqe(e) {
return;
}
let r = Z7;
- b9(r), qS() === r.player && JS(null), dC(r.player), yC(), e9.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ b9(r), KS() === r.player && qS(null), uC(r.player), vC(), e9.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", e9.frame.prepend(i);
let a = {
@@ -80613,14 +80648,14 @@ async function Iqe(e) {
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- p9(a), NC(i, {
+ p9(a), MC(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
if (t !== n9) {
- r && qS() === r && JS(null), dC(r);
+ r && KS() === r && qS(null), uC(r);
return;
}
if (!r) {
@@ -80648,9 +80683,9 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, B.jsx)("use", { href: `#i-${e}` })
-}), Lqe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, O9 = (e) => (t) => {
+}), Rqe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, O9 = (e) => (t) => {
t.stopPropagation(), e();
-}, Rqe = (0, R.memo)(function() {
+}, zqe = (0, R.memo)(function() {
let e = (0, R.useRef)(null), t = (0, R.useRef)(null), n = (0, R.useRef)(null), r = (0, R.useRef)(null), i = (0, R.useRef)(null), a = (0, R.useRef)(null), o = (0, R.useRef)(null), s = (0, R.useRef)(null), c = (0, R.useRef)(null), l = (0, R.useRef)(null);
return (0, R.useLayoutEffect)(() => (d9({
root: e.current,
@@ -80662,7 +80697,7 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => d9(null)), []), (0, R.useEffect)(() => Bqe(e.current, t.current), []), /* @__PURE__ */ (0, B.jsx)("aside", {
+ }), () => d9(null)), []), (0, R.useEffect)(() => Vqe(e.current, t.current), []), /* @__PURE__ */ (0, B.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -80712,8 +80747,8 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: O9(Fqe),
- dangerouslySetInnerHTML: Lqe
+ onClick: O9(Iqe),
+ dangerouslySetInnerHTML: Rqe
}),
/* @__PURE__ */ (0, B.jsx)("button", {
ref: o,
@@ -80752,7 +80787,7 @@ var D9 = ({ name: e }) => /* @__PURE__ */ (0, B.jsx)("svg", {
})
});
});
-function zqe(e, t, n) {
+function Bqe(e, t, n) {
let r = e.getBoundingClientRect(), i = (r.top + r.height / 2 < innerHeight / 2 ? "t" : "b") + (r.left + r.width / 2 < innerWidth / 2 ? "l" : "r"), a = parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--topH")) || 56, o = {
left: r.left - t,
top: r.top - n
@@ -80774,7 +80809,7 @@ function zqe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function Bqe(e, t) {
+function Vqe(e, t) {
let n = null, r = (e) => {
if (!(e.button !== 0 || e.target.closest("[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek],.vjs-control-bar"))) {
n = {
@@ -80800,7 +80835,7 @@ function Bqe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), zqe(e, i.dx, i.dy));
+ }, 0), Bqe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -80820,21 +80855,21 @@ function R9() {
if (!k9) throw Error("舞台还没有接上宿主(configureStage)");
return k9;
}
-function Vqe() {
+function Hqe() {
return (!A9 || !j9?.isConnected) && (A9?.unmount(), j9 = document.createElement("div"), j9.dataset.stageHost = "", document.body.append(j9), A9 = (0, ip.createRoot)(j9)), A9;
}
function z9() {
- let e = Vqe();
- (0, rp.flushSync)(() => e.render(/* @__PURE__ */ (0, B.jsx)(jS, { children: /* @__PURE__ */ (0, B.jsx)(Hqe, { view: M9 }) })));
+ let e = Hqe();
+ (0, rp.flushSync)(() => e.render(/* @__PURE__ */ (0, B.jsx)(AS, { children: /* @__PURE__ */ (0, B.jsx)(Uqe, { view: M9 }) })));
}
-function Hqe({ view: e }) {
- return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [e ? /* @__PURE__ */ (0, B.jsx)(Uqe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, B.jsx)(Rqe, {})] });
+function Uqe({ view: e }) {
+ return /* @__PURE__ */ (0, B.jsxs)(B.Fragment, { children: [e ? /* @__PURE__ */ (0, B.jsx)(Wqe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, B.jsx)(zqe, {})] });
}
var B9 = () => /* @__PURE__ */ (0, B.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: kKe() }
+ dangerouslySetInnerHTML: { __html: AKe() }
});
function V9(e) {
let t = e.currentTarget;
@@ -80842,7 +80877,7 @@ function V9(e) {
let n = t.getBoundingClientRect();
return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;
}
-function Uqe({ view: e }) {
+function Wqe({ view: e }) {
let t = (0, R.useRef)(null);
(0, R.useLayoutEffect)(() => {
let e = t.current, n = (e) => {
@@ -80850,7 +80885,7 @@ function Uqe({ view: e }) {
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, B.jsx)(cqe, { ...r.props }) : /* @__PURE__ */ (0, B.jsx)(XKe, { ...r.props });
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, B.jsx)(lqe, { ...r.props }) : /* @__PURE__ */ (0, B.jsx)(ZKe, { ...r.props });
return /* @__PURE__ */ (0, B.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -80889,7 +80924,7 @@ function U9(e, t) {
let n = L9();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function Wqe(e) {
+function Gqe(e) {
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
@@ -80951,7 +80986,7 @@ function Wqe(e) {
}
};
}
-function Gqe(e, t) {
+function Kqe(e, t) {
let n = e.querySelector(":scope > [data-stage-fade]");
e.setAttribute("data-stage-reveal", ""), e.getBoundingClientRect(), e.setAttribute("data-stage-revealing", "");
let r = 0, i = () => {
@@ -80964,13 +80999,13 @@ function Gqe(e, t) {
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-async function Kqe(e) {
+async function qqe(e) {
M9 && W9({ miniplayer: !1 });
let t = ++N9, n = new AbortController();
- P9 = n, F9 = !1, I9 = !1, Aqe(e.kind, e.id ?? NaN), M9 = {
+ P9 = n, F9 = !1, I9 = !1, jqe(e.kind, e.id ?? NaN), M9 = {
generation: t,
request: e,
- content: Wqe(e),
+ content: Gqe(e),
phase: "skeleton"
}, z9();
let r = L9();
@@ -80978,7 +81013,7 @@ async function Kqe(e) {
Fe(r), document.body.setAttribute("data-detail-open", ""), r.open || r.showModal();
let i = M9.content;
try {
- i.kind === "item" ? await Bre(i.props, n.signal) : await NKe(i.props, n.signal);
+ i.kind === "item" ? await Vre(i.props, n.signal) : await PKe(i.props, n.signal);
} catch {
if (n.signal.aborted) return;
}
@@ -80987,11 +81022,11 @@ async function Kqe(e) {
M9 = {
...M9,
phase: a ? "content" : "reveal"
- }, z9(), a || Gqe(r, t), Ke(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, z9(), a || Kqe(r, t), Ke(r, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let o = document.activeElement;
(o === r || !r.contains(o)) && r.querySelector("#closeStage")?.focus();
}
-function qqe() {
+function Jqe() {
let e = L9();
return !e?.open || e.hasAttribute("data-closing") || matchMedia("(prefers-reduced-motion: reduce)").matches ? Promise.resolve() : (e.setAttribute("data-closing", ""), new Promise((t) => {
let n = 0, r = () => {
@@ -81003,11 +81038,11 @@ function qqe() {
}));
}
function W9({ miniplayer: e = !0 } = {}) {
- if (N9++, P9?.abort(), P9 = null, kqe(e), !M9) return;
+ if (N9++, P9?.abort(), P9 = null, Aqe(e), !M9) return;
let t = L9();
- t && ue(t), GS(), t?.open && t.close(), M9 = null, F9 = !1, I9 = !1, z9(), c9(null), document.body.removeAttribute("data-detail-open");
+ t && ue(t), WS(), t?.open && t.close(), M9 = null, F9 = !1, I9 = !1, z9(), c9(null), document.body.removeAttribute("data-detail-open");
}
-function Jqe(e) {
+function Yqe(e) {
!M9 || M9.content.kind !== "item" || (M9 = {
...M9,
content: {
@@ -81019,60 +81054,60 @@ function Jqe(e) {
}
}, z9());
}
-function Yqe() {
- let e = Dqe(), t = e?.kind === "item" ? e.item : null, n = t ? N(t, R9().player.settings().javImage) : "";
+function Xqe() {
+ let e = Oqe(), t = e?.kind === "item" ? e.item : null, n = t ? N(t, R9().player.settings().javImage) : "";
if (!n) return;
let r = u9();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var Xqe = {
- open: Kqe,
- update: Jqe,
- exit: qqe,
+var Zqe = {
+ open: qqe,
+ update: Yqe,
+ exit: Jqe,
dispose: W9,
requestClose: H9,
- repaintPoster: Yqe,
+ repaintPoster: Xqe,
isOpen: () => !!M9,
- activeVideo: () => Mqe(),
+ activeVideo: () => Nqe(),
toggleTheater: () => {
- M9 && uC(!R9().player.settings().theaterMode);
+ M9 && lC(!R9().player.settings().theaterMode);
},
toggleMiniplayer: () => w9(),
closeMiniplayer: () => S9(),
miniplayerActive: () => f9(),
miniplayerTakesCard: (e) => E9(e),
miniplayerPlay: (e) => {
- Iqe(e);
+ Lqe(e);
}
};
-function Zqe(e) {
- return k9 = e, Eqe(e, {
+function Qqe(e) {
+ return k9 = e, Dqe(e, {
isOpen: () => !!M9,
requestClose: H9
- }), z9(), Xqe;
+ }), z9(), Zqe;
}
//#endregion
//#region node_modules/sonner/dist/index.mjs
-function Qqe(e) {
+function $qe(e) {
if (!e || typeof document > "u") return;
let t = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style");
n.type = "text/css", t.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e));
}
-var $qe = (e) => {
+var eJe = (e) => {
switch (e) {
- case "success": return nJe;
- case "info": return iJe;
- case "warning": return rJe;
- case "error": return aJe;
+ case "success": return rJe;
+ case "info": return aJe;
+ case "warning": return iJe;
+ case "error": return oJe;
default: return null;
}
-}, eJe = Array(12).fill(0), tJe = ({ visible: e, className: t }) => /*#__PURE__*/ R.createElement("div", {
+}, tJe = Array(12).fill(0), nJe = ({ visible: e, className: t }) => /*#__PURE__*/ R.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ R.createElement("div", { className: "sonner-spinner" }, eJe.map((e, t) => /*#__PURE__*/ R.createElement("div", {
+}, /*#__PURE__*/ R.createElement("div", { className: "sonner-spinner" }, tJe.map((e, t) => /*#__PURE__*/ R.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), nJe = /*#__PURE__*/ R.createElement("svg", {
+})))), rJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -81083,7 +81118,7 @@ var $qe = (e) => {
fillRule: "evenodd",
d: "M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",
clipRule: "evenodd"
-})), rJe = /*#__PURE__*/ R.createElement("svg", {
+})), iJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -81094,7 +81129,7 @@ var $qe = (e) => {
fillRule: "evenodd",
d: "M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",
clipRule: "evenodd"
-})), iJe = /*#__PURE__*/ R.createElement("svg", {
+})), aJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -81105,7 +81140,7 @@ var $qe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",
clipRule: "evenodd"
-})), aJe = /*#__PURE__*/ R.createElement("svg", {
+})), oJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -81116,7 +81151,7 @@ var $qe = (e) => {
fillRule: "evenodd",
d: "M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",
clipRule: "evenodd"
-})), oJe = /*#__PURE__*/ R.createElement("svg", {
+})), sJe = /*#__PURE__*/ R.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -81137,7 +81172,7 @@ var $qe = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), sJe = () => {
+})), cJe = () => {
let [e, t] = R.useState(document.hidden);
return R.useEffect(() => {
let e = () => {
@@ -81145,7 +81180,7 @@ var $qe = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, cJe = 1, lJe = 100, G9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : cJe++, K9 = new class {
+}, lJe = 1, uJe = 100, G9 = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : lJe++, K9 = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -81155,7 +81190,7 @@ var $qe = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - lJe;
+ let e = this.toasts.length - uJe;
e <= 0 || (this.toasts = this.toasts.filter((t) => e > 0 && this.dismissedToasts.has(t.id) ? (this.dismissedToasts.delete(t.id), e--, !1) : !0));
}, this.create = (e) => {
let { message: t, ...n } = e, r = G9(e), i = this.pendingDismissals.get(r);
@@ -81233,7 +81268,7 @@ var $qe = (e) => {
type: "default",
message: e
});
- else if (dJe(e) && !e.ok) {
+ else if (fJe(e) && !e.ok) {
i = !1;
let r = typeof t.error == "function" ? await t.error(`HTTP error! status: ${e.status}`) : t.error, a = typeof t.description == "function" ? await t.description(`HTTP error! status: ${e.status}`) : t.description, o = typeof r == "object" && !R.isValidElement(r) ? r : { message: r };
this.create({
@@ -81286,7 +81321,7 @@ var $qe = (e) => {
}), n;
}, this.getActiveToasts = () => this.toasts.filter((e) => !this.dismissedToasts.has(e.id)), this.subscribers = [], this.toasts = [], this.dismissedToasts = /* @__PURE__ */ new Set(), this.pendingDismissals = /* @__PURE__ */ new Map();
}
-}(), uJe = (e, t) => K9.message(e, t), dJe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", q9 = Object.assign(uJe, {
+}(), dJe = (e, t) => K9.message(e, t), fJe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", q9 = Object.assign(dJe, {
success: K9.success,
info: K9.info,
warning: K9.warning,
@@ -81300,20 +81335,20 @@ var $qe = (e) => {
getHistory: () => K9.toasts,
getToasts: () => K9.getActiveToasts()
});
-Qqe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
+$qe("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999;transition:transform .4s ease}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [data-content]{display:flex;flex-direction:column;gap:2px;flex:1;min-width:0}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--normal-text);background:var(--normal-bg);border:1px solid var(--normal-border);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast][data-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]::before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y,0)) translateX(var(--swipe-amount-x,0));transition:none}[data-sonner-toast][data-swiped=true]{-webkit-user-select:none;user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{from{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-sonner-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-theme=dark]{--normal-bg:#000;--normal-bg-hover:hsl(0, 0%, 12%);--normal-border:hsl(0, 0%, 20%);--normal-border-hover:hsl(0, 0%, 25%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");
function J9(e) {
return e.label !== void 0;
}
-var fJe = 3, pJe = "24px", mJe = "16px", Y9 = 4e3, hJe = 356, gJe = 14, _Je = 45, vJe = 200;
+var pJe = 3, mJe = "24px", hJe = "16px", Y9 = 4e3, gJe = 356, _Je = 14, vJe = 45, yJe = 200;
function X9(...e) {
return e.filter(Boolean).join(" ");
}
-function yJe(e) {
+function bJe(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var bJe = (e) => {
- let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = R.useState(null), [O, k] = R.useState(null), [A, j] = R.useState(!1), [M, N] = R.useState(!1), [ee, te] = R.useState(!1), [P, F] = R.useState(!1), [ne, re] = R.useState(!1), [ie, ae] = R.useState(0), [oe, se] = R.useState(0), ce = R.useRef(n.duration || y || Y9), le = R.useRef(null), ue = R.useRef(null), de = c === 0, fe = c + 1 <= o, I = n.type, pe = I ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = R.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = R.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = R.useMemo(() => n.duration || y || Y9, [n.duration, y]), be = R.useRef(0), L = R.useRef(0), xe = R.useRef(0), Se = R.useRef(null), [Ce, we] = b.split("-"), Te = R.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), Ee = sJe(), De = R.useMemo(() => e.swipeDirections ?? yJe(b), [e.swipeDirections, b]), Oe = n.invert || t, ke = I === "loading";
+var xJe = (e) => {
+ let { invert: t, toast: n, unstyled: r, interacting: i, setHeights: a, visibleToasts: o, heights: s, index: c, toasts: l, expanded: u, removeToast: d, defaultRichColors: f, closeButton: p, style: m, cancelButtonStyle: h, actionButtonStyle: g, className: _ = "", descriptionClassName: v = "", duration: y, position: b, gap: x, expandByDefault: S, classNames: C, icons: w, closeButtonAriaLabel: T = "Close toast" } = e, [E, D] = R.useState(null), [O, k] = R.useState(null), [A, j] = R.useState(!1), [M, N] = R.useState(!1), [ee, te] = R.useState(!1), [P, F] = R.useState(!1), [ne, re] = R.useState(!1), [ie, ae] = R.useState(0), [oe, se] = R.useState(0), ce = R.useRef(n.duration || y || Y9), le = R.useRef(null), ue = R.useRef(null), de = c === 0, fe = c + 1 <= o, I = n.type, pe = I ?? "default", me = n.dismissible !== !1, he = n.className || "", ge = n.descriptionClassName || "", _e = R.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ve = R.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), ye = R.useMemo(() => n.duration || y || Y9, [n.duration, y]), be = R.useRef(0), L = R.useRef(0), xe = R.useRef(0), Se = R.useRef(null), [Ce, we] = b.split("-"), Te = R.useMemo(() => s.reduce((e, t, n) => n >= _e ? e : e + t.height, 0), [s, _e]), Ee = cJe(), De = R.useMemo(() => e.swipeDirections ?? bJe(b), [e.swipeDirections, b]), Oe = n.invert || t, ke = I === "loading";
L.current = R.useMemo(() => _e * x + Te, [_e, Te]), R.useEffect(() => {
ce.current = ye;
}, [ye]), R.useEffect(() => {
@@ -81354,7 +81389,7 @@ var bJe = (e) => {
let Ae = R.useCallback(() => {
N(!0), ae(L.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, vJe);
+ }, yJe);
}, [
n,
d,
@@ -81387,12 +81422,12 @@ var bJe = (e) => {
return w?.loading ? /*#__PURE__*/ R.createElement("div", {
className: X9(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": I === "loading"
- }, w.loading) : /*#__PURE__*/ R.createElement(tJe, {
+ }, w.loading) : /*#__PURE__*/ R.createElement(nJe, {
className: X9(C?.loader, n?.classNames?.loader),
visible: I === "loading"
});
}
- let Me = n.icon || w?.[I] || $qe(I);
+ let Me = n.icon || w?.[I] || eJe(I);
return /*#__PURE__*/ R.createElement("li", {
tabIndex: 0,
ref: ue,
@@ -81439,7 +81474,7 @@ var bJe = (e) => {
if (P || !me) return;
Se.current = null;
let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? De.includes(e > 0 ? "right" : "left") : De.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= _Je || a > .11)) {
+ if ((E === "x" ? De.includes(e > 0 ? "right" : "left") : De.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= vJe || a > .11)) {
ae(L.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Ae(), F(!0);
return;
}
@@ -81480,7 +81515,7 @@ var bJe = (e) => {
Ae(), n.onDismiss == null || n.onDismiss.call(n, n);
},
className: X9(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? oJe) : null, (I || n.icon || n.promise) && n.icon !== null && (w?.[I] !== null || n.icon) ? /*#__PURE__*/ R.createElement("div", {
+ }, w?.close ?? sJe) : null, (I || n.icon || n.promise) && n.icon !== null && (w?.[I] !== null || n.icon) ? /*#__PURE__*/ R.createElement("div", {
"data-icon": "",
className: X9(C?.icon, n?.classNames?.icon)
}, I === "loading" ? n.icon || je() : n.promise ? je() : null, I === "loading" ? null : Me) : null, /*#__PURE__*/ R.createElement("div", {
@@ -81515,10 +81550,10 @@ function Z9() {
let e = document.documentElement.getAttribute("dir");
return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;
}
-function xJe(e, t) {
+function SJe(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? mJe : pJe;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? hJe : mJe;
function o(e) {
[
"top",
@@ -81539,8 +81574,8 @@ function xJe(e, t) {
}) : o(a);
}), n;
}
-var SJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
- let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = fJe, toastOptions: g, dir: _ = Z9(), gap: v = gJe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = R.useState([]), w = R.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = R.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = R.useState([]), [O, k] = R.useState(!1), [A, j] = R.useState(!1), [M, N] = R.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = R.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = R.useRef(null), F = R.useRef(!1), ne = R.useCallback((e) => {
+var CJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
+ let { id: n, invert: r, position: i = "bottom-right", hotkey: a = ["altKey", "KeyT"], expand: o, closeButton: s, className: c, offset: l, mobileOffset: u, theme: d = "light", richColors: f, duration: p, style: m, visibleToasts: h = pJe, toastOptions: g, dir: _ = Z9(), gap: v = _Je, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = R.useState([]), w = R.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = R.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = R.useState([]), [O, k] = R.useState(!1), [A, j] = R.useState(!1), [M, N] = R.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), ee = R.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = R.useRef(null), F = R.useRef(!1), ne = R.useCallback((e) => {
C((t) => (t.find((t) => t.id === e.id)?.delete || K9.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
return R.useEffect(() => K9.subscribe((e) => {
@@ -81626,10 +81661,10 @@ var SJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${hJe}px`,
+ "--width": `${gJe}px`,
"--gap": `${v}px`,
...m,
- ...xJe(l, u)
+ ...SJe(l, u)
},
onBlur: (e) => {
F.current && !e.currentTarget.contains(e.relatedTarget) && (F.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -81647,7 +81682,7 @@ var SJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ R.createElement(bJe, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ R.createElement(xJe, {
key: n.id,
icons: y,
index: i,
@@ -81681,8 +81716,8 @@ var SJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), $9 = !1, CJe = (e, t) => {
- $9 || ($9 = !0, (0, ip.createRoot)(e).render(/* @__PURE__ */ (0, B.jsx)(SJe, {
+}), $9 = !1, wJe = (e, t) => {
+ $9 || ($9 = !0, (0, ip.createRoot)(e).render(/* @__PURE__ */ (0, B.jsx)(CJe, {
position: "bottom-right",
closeButton: !0,
gap: 8,
@@ -81703,7 +81738,7 @@ var SJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
error: Q9(t.error, !1)
}
})));
-}, wJe = (e, t) => {
+}, TJe = (e, t) => {
let n = t.alert ? q9.error : q9.success, r = t.action;
n(/* @__PURE__ */ (0, B.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
@@ -81717,4 +81752,4 @@ var SJe = /*#__PURE__*/ R.forwardRef(function(e, t) {
});
};
//#endregion
-export { Une as configureBatchDock, Gne as configureGlowPicker, Mie as configureImmerse, Vie as configureManageHeader, PGe as configureRouter, tKe as configureSettingsPanel, gKe as configureSidebar, Zqe as configureStage, CJe as mountToaster, hWe as prefetchManagedRoute, wJe as showToast };
+export { Wne as configureBatchDock, Kne as configureGlowPicker, Nie as configureImmerse, Hie as configureManageHeader, IGe as configureRouter, rKe as configureSettingsPanel, _Ke as configureSidebar, Qqe as configureStage, wJe as mountToaster, _We as prefetchManagedRoute, TJe as showToast };
diff --git a/web/dist/peach-ui.js b/web/dist/peach-ui.js
index 8304a241f..3d8d4a0a2 100644
--- a/web/dist/peach-ui.js
+++ b/web/dist/peach-ui.js
@@ -4036,7 +4036,7 @@ function Ma(e) {
}
//#endregion
//#region src/card-art/markup.ts
-var Na = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, Pa = (e, t = !1) => Na(`/cover?code=${encodeURIComponent(e.code || "")}${t ? "&thumb=1" : ""}`, e.cover_version), Fa = (e, t, n) => Na(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), Ia = (e) => e && typeof e == "object" ? e : null;
+var Na = (e, t) => t ? `${e}&v=${encodeURIComponent(t)}` : e, Pa = (e, t = !1) => Na(`/cover?code=${encodeURIComponent(e.cover_key || e.code || "")}${t ? "&thumb=1" : ""}`, e.cover_version), Fa = (e, t, n) => Na(`/logo?studio=${encodeURIComponent(e)}&variant=${t}`, n), Ia = (e) => e && typeof e == "object" ? e : null;
function La(e) {
return e && e.is_jav ? "女优" : "艺人";
}
@@ -4118,7 +4118,10 @@ function qa(e, n, r, i) {
} : Ja(e, n, r, i);
}
function Ja(e, t, n, r) {
- return e.is_jav ? Ka(e, t, n, r) : !e.has_thumb && !e.has_local_poster ? Ga : {
+ return e.is_jav ? Ka(e, t, n, r) : e.has_cover && e.cover_key ? {
+ kind: "cover",
+ html: Wa(e, t, n)
+ } : !e.has_thumb && !e.has_local_poster ? Ga : {
kind: "thumb",
html: `<img class="poster" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="${n ? "eager" : "lazy"}">`
};
@@ -4128,7 +4131,7 @@ function Ya(e, t) {
}
function Xa(e, t) {
let n = e.has_thumb || e.has_local_poster ? `/poster?id=${e.id}&c=4` : "";
- return e.is_jav && ie(e, t) === "cover" ? Pa(e) : n;
+ return e.is_jav ? ie(e, t) === "cover" ? Pa(e) : n : e.has_cover && e.cover_key ? Pa(e) : n;
}
function Za(e) {
let t = e.performers || [], n = e.performer_entities || [], r = t[0] || "", i = e.is_jav && r ? "" : e.creator || "";