Peach: Local-first video metadata scraper and media manager.
chore(deps): 发版前更新稳定依赖
longmeidaoad963cb6b88b
diff --git a/docs/reference-snapshots/upstream-review.md b/docs/reference-snapshots/upstream-review.mdindex 0bec2fd65..ab4283e06 100644--- a/docs/reference-snapshots/upstream-review.md+++ b/docs/reference-snapshots/upstream-review.md@@ -4,6 +4,10 @@## amane 桥+### 稳定版 v0.23.0 暂不采用++2026-10-28 复核官方 [v0.23.0](https://github.com/sqzw-x/amane/releases/tag/v0.23.0),提交 `4230de458c3197e1e17b6c5b42cc385fc6961d15`。[相对现固定提交的差集](https://github.com/sqzw-x/amane/compare/fd9294fbe5b4aa88ce1df84d534f6816ad9460d5...4230de458c3197e1e17b6c5b42cc385fc6961d15)含 16 个提交、142 个文件,爬虫只改了 `theporndb`;桥消费的 makers、prestige、faleno、dahlia、mgstage、fc2club、freejavbt、airav、avsox 站点类和 `amane.net` 都没有变化,其余是 CLI、服务端与图片代理。继续固定 v0.22.1;桥接站点或网络接口出现修复时再升级。+### 稳定版 v0.22.1 的桥接范围2026-10-26 静态复核官方 [v0.22.1](https://github.com/sqzw-x/amane/releases/tag/v0.22.1),固定提交 `fd9294fbe5b4aa88ce1df84d534f6816ad9460d5`。[相对固定基线的差集](https://github.com/sqzw-x/amane/compare/cc42cee6ecf290cf05af1caa347d2dc2d5aeffcd...fd9294fbe5b4aa88ce1df84d534f6816ad9460d5)含 55 个提交。按桥直接消费的模型、站点、检索身份与网络接口判断采用范围;上游 main 的未发布提交不作为稳定发行依赖。diff --git a/frontend/package-lock.json b/frontend/package-lock.jsonindex 69038b2df..c4c95956d 100644--- a/frontend/package-lock.json+++ b/frontend/package-lock.json@@ -7,18 +7,18 @@"name": "peach-frontend","dependencies": {"@remixicon/react": "4.9.0",- "@tanstack/query-core": "5.104.5",- "@tanstack/react-query": "5.104.5",+ "@tanstack/query-core": "5.105.0",+ "@tanstack/react-query": "5.105.0","@tanstack/react-table": "9.3.1","clsx": "2.1.1","d3-sankey": "0.12.3","diff": "9.0.0",- "motion": "14.6.0",+ "motion": "14.7.1","react": "19.3.1","react-aria": "3.53.1","react-aria-components": "1.22.1","react-dom": "19.3.1",- "react-router": "8.5.0",+ "react-router": "8.5.1","recharts": "3.10.1","sonner": "2.0.8","tailwind-merge": "3.7.0"@@ -33,8 +33,8 @@"@types/react-dom": "19.3.0","agentation": "3.1.2","happy-dom": "21.0.4",- "oxc-parser": "0.155.0",- "oxlint": "1.89.0",+ "oxc-parser": "0.156.0",+ "oxlint": "1.90.0","playwright-core": "1.64.1","tailwindcss": "4.3.3","typescript": "7.0.2",@@ -136,9 +136,9 @@}},"node_modules/@oxc-parser/binding-android-arm-eabi": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.155.0.tgz",- "integrity": "sha512-A6xv7hDtnTm+xlZ7utn6rRQpRMJHRhVr3gjRGqlx0RUX84mNk0pAsy6YN/wWhuOTkaZhRrrzaLxf0NfbH77j2w==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm-eabi/-/binding-android-arm-eabi-0.156.0.tgz",+ "integrity": "sha512-RMq7DKNzEp1T51QKNLTn0NryNEt2IYfh7mZBlIdi2Ju52ltOEDMeIXv0XBpA6dL7j7ChjlcovtGcc1Jv4qMipg==","cpu": ["arm"],@@ -153,9 +153,9 @@}},"node_modules/@oxc-parser/binding-android-arm64": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm64/-/binding-android-arm64-0.155.0.tgz",- "integrity": "sha512-T1wWwH9/JI5g7Z4kEQwDOwhToxdDhRyOTklH+uuNpJ16m3MZFmGl+l2rKc0NHQdbVRG2LTOBsNjpW3h1BWytPA==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-android-arm64/-/binding-android-arm64-0.156.0.tgz",+ "integrity": "sha512-mwkWKhOBpmh8fWc3m4MiLsmEAtx0YuHmvyo9ff557cnb3QZ2kt2eauSz75wCGIpiZG3gUsJ4WwzEjm4R4/BHig==","cpu": ["arm64"],@@ -170,9 +170,9 @@}},"node_modules/@oxc-parser/binding-darwin-arm64": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.155.0.tgz",- "integrity": "sha512-ZoRB3qJxJ8DWA41jHja+YeB0lLfjBy4T+Kr15vnN1k65X3zbJt3rPZftEwN4Ju4tmA4K/T9dWWD7Z8ewQLnrVA==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-arm64/-/binding-darwin-arm64-0.156.0.tgz",+ "integrity": "sha512-6pGR5fUszM9M4eBBapqpGjCRJolFwuCldx8bRQjqXyM09cQysBTWVF2Ttg4UNJVxYSaw5RRINbveCOOCrsuGvA==","cpu": ["arm64"],@@ -187,9 +187,9 @@}},"node_modules/@oxc-parser/binding-darwin-x64": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.155.0.tgz",- "integrity": "sha512-vxtL86BtM+IgrpejA86nbTk5j0HKTIMeuaJ1fQciw6p9RfavPtIPjI7gN34owap0yG9txXBaAWpGdxokNwdqIw==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-darwin-x64/-/binding-darwin-x64-0.156.0.tgz",+ "integrity": "sha512-M9QghL7uCAqMKjYJv1rDGblfEvkeQu3QzTPd7Uwo16gG3uO7m9ikVQ9OL8FZTnKzU4vbCEby6kTlEkqN+JeEMA==","cpu": ["x64"],@@ -204,9 +204,9 @@}},"node_modules/@oxc-parser/binding-freebsd-x64": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-freebsd-x64/-/binding-freebsd-x64-0.155.0.tgz",- "integrity": "sha512-tN6Ru5e0UVnWaIuiH8jEwnvxuxg7FvhWwSd3oe5oDhOD4ObsSr9/N6WfHLjilUWlPPj65ptwrSDH0Y7lzwTzmw==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-freebsd-x64/-/binding-freebsd-x64-0.156.0.tgz",+ "integrity": "sha512-lX0ANxSwAOrpOT7NHB+YsrBqDJ8sOVon5m7GS9eQtkuUeNzQMMGpFsJLsStawTbrdwOF5KDVxgPWcKmt/DIZUQ==","cpu": ["x64"],@@ -221,9 +221,9 @@}},"node_modules/@oxc-parser/binding-linux-arm-gnueabihf": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.155.0.tgz",- "integrity": "sha512-h4ozA5n6L6lwolsz9iwunEhKWnIVbmFRots5QxEix0H6nJ5ICpuDa7PuShuhfpIDFe3+Qvyscioyiv+9g+4Syg==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-0.156.0.tgz",+ "integrity": "sha512-iPgYpasRcqk7X3TGncQg7B+6RotDvG8weug0UrgF+FXLf4KmaNDyT91BKONlqbHcNgK9Nryp7AEZGuQn32fP6g==","cpu": ["arm"],@@ -238,9 +238,9 @@}},"node_modules/@oxc-parser/binding-linux-arm-musleabihf": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.155.0.tgz",- "integrity": "sha512-058/+LardpfuUlsKIvBGk/CYoakEVcMgqYx8GgyUZeOxFWTojYLlCc1Gb60/y21v3esDhHidgiY/Zbq9LpBhaQ==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-0.156.0.tgz",+ "integrity": "sha512-sJqJDEZevtkEfoxrXfaRTkSt6Itckr549cIfBbs11UgXv8bFyqQsXTQa6iKm8mTiWYmCDDFJf7TLnqxcbqzPOw==","cpu": ["arm"],@@ -255,9 +255,9 @@}},"node_modules/@oxc-parser/binding-linux-arm64-gnu": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.155.0.tgz",- "integrity": "sha512-nrOt2Y3xIAzu+lSPzH0864ieO+iCCXgoo9qFlGANE8Xh0cQ+RP8Wstfp+/wXN2YCyb98cAGzX0VruKYw7it/jw==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-0.156.0.tgz",+ "integrity": "sha512-mrQs5OdRiqKskRuWEORPKT6YGIFhrpVvCvL9hqVaIh60EzgR4qjPvSsV6hWZcOfyWHBTbdEvfnDJPh/eQlxPRQ==","cpu": ["arm64"],@@ -275,9 +275,9 @@}},"node_modules/@oxc-parser/binding-linux-arm64-musl": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.155.0.tgz",- "integrity": "sha512-KYAayyN5hQbJPtGKtRxlyc8XYmyntOplyXSQzTDrmbz7l/GCrzQbSswvyJFBTH1LGtsZrbXOAfN52i/Kz6kLKg==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-arm64-musl/-/binding-linux-arm64-musl-0.156.0.tgz",+ "integrity": "sha512-ZtPqgCU3+wpU7dvX7YbaEiw71r0UdguzuPhcx4PIEZSs4XFqc6F5wXCtNdb6M7m3DMErlxrwosryoXrzYOY/Gg==","cpu": ["arm64"],@@ -295,9 +295,9 @@}},"node_modules/@oxc-parser/binding-linux-ppc64-gnu": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.155.0.tgz",- "integrity": "sha512-CSuSY5hfjtsBnHXydOj8jiNfS1qHbdPZuPz1YL1cSgK7VmNYP+QlZIbG0BBYYBgX/vYEgZwbG9mBdW4YairZ5w==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-0.156.0.tgz",+ "integrity": "sha512-ZuGRT/adReZZJn3PYNneb1HQIOH0iIZ2fzFgC1/XJYpMQ5KsRKmWIEzy3wEFsUwIOTomCmnmTZ/zbFYo9z9VeA==","cpu": ["ppc64"],@@ -315,9 +315,9 @@}},"node_modules/@oxc-parser/binding-linux-riscv64-gnu": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.155.0.tgz",- "integrity": "sha512-7KCfOQm+Nz2N8trAXbQkal4TQ5756WVEmhm35y816YHvyFnEfVsICsiV5k0pEszNf/fRm4cm2i6i18SJ6/iCWg==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-0.156.0.tgz",+ "integrity": "sha512-T+iWCeAOoEAJpHqr6/pogHIv98g9p8Ctccysm/h962hG4ayX5OL2c0Ih4oYe+JuFndLXy/OASvwMlTPe76sIiw==","cpu": ["riscv64"],@@ -335,9 +335,9 @@}},"node_modules/@oxc-parser/binding-linux-riscv64-musl": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.155.0.tgz",- "integrity": "sha512-JSlhgoK+/g1TGJI5NuADx2+6syhxnQNLCWLXyO5QLFyetomcr/vIxSdiNlmyAv963YXUzCuwAwRG6npZ5xyJ1A==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-0.156.0.tgz",+ "integrity": "sha512-wL55bI2kVKfwdxScbw60zVgzAqbQbmE5zpSPWPZoZ9RSG8egm6ITE/UWE5mDWlglxz1QElJCcUbpaJCtHD11BQ==","cpu": ["riscv64"],@@ -355,9 +355,9 @@}},"node_modules/@oxc-parser/binding-linux-s390x-gnu": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.155.0.tgz",- "integrity": "sha512-WFIX+dPokWp64mi434Md3U3lJaTwNxAphvGjpltoyQjGUsdXavOIRrnp9dOS34Hd75HOAwDxAI+YwWOwqmJbtg==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-0.156.0.tgz",+ "integrity": "sha512-+D+JilhLqwrDLODYEl4qtovVwgxKALb23FkAWBiPvgmUWYgjCV83KKuwwxZJM8GCdKlNA1vt3iKtow8HUFjXtg==","cpu": ["s390x"],@@ -375,9 +375,9 @@}},"node_modules/@oxc-parser/binding-linux-x64-gnu": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.155.0.tgz",- "integrity": "sha512-g6xSDC/JpbnVOz5uafMGyK3txBVRFMQTx8opv/yHXGxqV3ZMVl3bf7W8XrSnF68dmy3gM4dgReNryuE53+WkeQ==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-gnu/-/binding-linux-x64-gnu-0.156.0.tgz",+ "integrity": "sha512-jRfwpN4xKrsEpC+SgrUPY5k0mINYZn7aLrt22I3uQFoumiSgHgsLYgS9f84ntbkvSydH4HiwGuDa2b1XCHaJzw==","cpu": ["x64"],@@ -395,9 +395,9 @@}},"node_modules/@oxc-parser/binding-linux-x64-musl": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.155.0.tgz",- "integrity": "sha512-6/4xlxKlZJWrQ0uwDFPc0H9+xLu7068CKhX3vIDW3SbvP/lVgnVuT5v6dyugeWskWpuxqF/WJ4WKwhxjU3pG2w==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-linux-x64-musl/-/binding-linux-x64-musl-0.156.0.tgz",+ "integrity": "sha512-P/ajnypgLmxmuRRyCIZcp2o4lOwmCaXYH5+eqDTcCW+MCTI+csKSw/Zc6GB67jZoVa4ey3q1jXEt7S60adBEMQ==","cpu": ["x64"],@@ -415,9 +415,9 @@}},"node_modules/@oxc-parser/binding-openharmony-arm64": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-openharmony-arm64/-/binding-openharmony-arm64-0.155.0.tgz",- "integrity": "sha512-tltklL0J0XjDxIRTBXWOBhvc2mitcmES45pIxhwDWfxRyqz7Vkeu0NekTZEIxGE4f/lXgq3vZcjjffteQOVorg==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-openharmony-arm64/-/binding-openharmony-arm64-0.156.0.tgz",+ "integrity": "sha512-WSN6rQZZc9KqgZ4lMfjVDvqKhVOCjey/YEZIPisGXmwBqwgWOzru207dyiH50LHcf1n9LO2oceGk/id6RL9v0g==","cpu": ["arm64"],@@ -432,9 +432,9 @@}},"node_modules/@oxc-parser/binding-win32-arm64-msvc": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.155.0.tgz",- "integrity": "sha512-alAb9TzjatUEsOeoncAziUnfdTDxfyswhalFZ9sC6plUgATIUx2NIZ0+bMn6aJ28AduS1OpG/OAisr/YISn4Ig==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-0.156.0.tgz",+ "integrity": "sha512-l21Tz6tjraGBC3JefVeJZ9pojD0fCiB62PydAv+i9nrqJX7z/pDmyDNYLamDr/PRcQ4UQbFwkSnz7NKBB9UMLw==","cpu": ["arm64"],@@ -449,9 +449,9 @@}},"node_modules/@oxc-parser/binding-win32-ia32-msvc": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.155.0.tgz",- "integrity": "sha512-yc5cbSfcGmRv/KpxDFuyk8adEBaWd/9HilWvBbQ4bFbus1V2PUh2mGB2Cfq9rqZTqLeiMT8x0skV+LKp9hOMgQ==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-0.156.0.tgz",+ "integrity": "sha512-CUq0ZFl/RODqPiIgfNNSamkpTj5x8AjBTkR/y1DNVIQiTGnmWqjHcn3o08ZW3q/LgkI4g9G9g6UirmmQFvuOZw==","cpu": ["ia32"],@@ -466,9 +466,9 @@}},"node_modules/@oxc-parser/binding-win32-x64-msvc": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.155.0.tgz",- "integrity": "sha512-8heq6jGq+rfpTDRDjoQiBHw0maQZf3IXkS99pdHQZPoTL5kyF5qyPS0RidUlSdnWDIqxXb5nux7GBD9cT+imUw==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-parser/binding-win32-x64-msvc/-/binding-win32-x64-msvc-0.156.0.tgz",+ "integrity": "sha512-dcpx5Y1x2v/cs7U/q3SZMvmxfyXjVvqC86jMuw2ZZUbHDd7W2cW7uSMQfg3GLVaE68Su3H9xd/Pc4v6QNyeSRg==","cpu": ["x64"],@@ -493,9 +493,9 @@}},"node_modules/@oxlint/binding-android-arm-eabi": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm-eabi/-/binding-android-arm-eabi-1.89.0.tgz",- "integrity": "sha512-Pflpba5F3gRAQ12sWglRxvWTHEdAusNDvmi4Y5N1T5SY1AGkM7AixOnET8qkrnLJ/F32qAlNokO6eCknT8tmnw==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm-eabi/-/binding-android-arm-eabi-1.90.0.tgz",+ "integrity": "sha512-sgfalb1HuxYjiAa4wESZ626z1FGusqNcXYHyB5oIOEprS2sbPg0UYEfo83uF1GNG70DIfZxHkXuE6KFrlSdn8Q==","cpu": ["arm"],@@ -510,9 +510,9 @@}},"node_modules/@oxlint/binding-android-arm64": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm64/-/binding-android-arm64-1.89.0.tgz",- "integrity": "sha512-dYmyD1x7LaPlb79vZWUcpTShk8dI9z1I+IubtqrBxWNJaDhQdPHwcsvg7q5StTU4xWyd9AwPfLaTYFZY8NZgtQ==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-android-arm64/-/binding-android-arm64-1.90.0.tgz",+ "integrity": "sha512-RcKhz1ETMq+fazE9TKS2+5NIRGwigm/nW8egqF0LI+A8Yw2iW5r0E/C3XAPRiwIm/vcPiutIRIa6IQCIKhZsTQ==","cpu": ["arm64"],@@ -527,9 +527,9 @@}},"node_modules/@oxlint/binding-darwin-arm64": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-arm64/-/binding-darwin-arm64-1.89.0.tgz",- "integrity": "sha512-Z/oxOPiIqiS7fItRdxaaOEC+6GD3OpGi0IxoR0dMefzQHolsKLzScw2DNcu/5gUPok3tv+G9mslvYB5bo3i0qg==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-arm64/-/binding-darwin-arm64-1.90.0.tgz",+ "integrity": "sha512-PSrxMvP6mx+p1karZcUxLdy9lpaP+JWQPti4al9FgTaPhxE+pT/BjhGExloVVSWgZgIfOlLOjVyyq8BXlodhLQ==","cpu": ["arm64"],@@ -544,9 +544,9 @@}},"node_modules/@oxlint/binding-darwin-x64": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-x64/-/binding-darwin-x64-1.89.0.tgz",- "integrity": "sha512-eAjTkHSjAxrdCPJxO6y5sPQL5pYLKb2kvxZz9UU7tXnOZk9I/HLtkvx9S7GHY883k+AmL/eC7mqFt+w7WCwk0w==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-darwin-x64/-/binding-darwin-x64-1.90.0.tgz",+ "integrity": "sha512-OLbU9qsrV2Q8QxT2OEzOPdO8zCCpyI8qB+hDI8yr6RsYELtkf0FAZhJdfjM/RnLHKzt44HWwAPnk92vBtKofvw==","cpu": ["x64"],@@ -561,9 +561,9 @@}},"node_modules/@oxlint/binding-freebsd-x64": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-freebsd-x64/-/binding-freebsd-x64-1.89.0.tgz",- "integrity": "sha512-0lNCA9Tl1n1FKpqy2/9ckp0kIuSrtJ/l9bMRgaEhOtM7TsOHshFuwOcvW8oA9teXLMOJT61LjEKWiaHDFGxF/w==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-freebsd-x64/-/binding-freebsd-x64-1.90.0.tgz",+ "integrity": "sha512-fBA4pWyVDARmNucQqpyFuPC49xYf1r+sX7dxPL5fNPQrSMLum39Sn56tZ9JPleWC7FzLPwSQ7plYYfirYBHF8A==","cpu": ["x64"],@@ -578,9 +578,9 @@}},"node_modules/@oxlint/binding-linux-arm-gnueabihf": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.89.0.tgz",- "integrity": "sha512-OTFEvi9W+JczaZD1Caj17SGCoW8H7TE+fvx0D7ATEWa1Lohn91UMxFQ6r145SiGy/yCxeIwptMys/RAM7gSVSQ==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.90.0.tgz",+ "integrity": "sha512-zhxH78eP2nR6/pGdhBc7MIfjhhcgATeu8fkmkFJbuzfk6Cj0FzBxyEhL85yDqrCybjx+G2YDzZGsxIO9kvO4Iw==","cpu": ["arm"],@@ -595,9 +595,9 @@}},"node_modules/@oxlint/binding-linux-arm-musleabihf": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-1.89.0.tgz",- "integrity": "sha512-fRxgNHvBLswj6MrhW2uBq5UDhPRQlCbHeq/Nf8yuG9zOxhDsXqX/mi2PX1axgsQxMm88el7HLiJAzglAnflYxw==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm-musleabihf/-/binding-linux-arm-musleabihf-1.90.0.tgz",+ "integrity": "sha512-MvYmpHyJqUJjEvkZbJHdwfdL45cGn8EVBkYmoXFiaYFW9suoD3dbJl5mBdpy0DVgdjlyddmldbRtk3cCgETadQ==","cpu": ["arm"],@@ -612,9 +612,9 @@}},"node_modules/@oxlint/binding-linux-arm64-gnu": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.89.0.tgz",- "integrity": "sha512-v9ENzHvwrQoYSWTtviH1pOYc7R9UovDxVofnck50cNmPihRRTcrg5X0UlRbLOZ7IVtxPOlh2hb7kDO+FpE8SfQ==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.90.0.tgz",+ "integrity": "sha512-L13Sy+Kg0nZhwTsToniqjUFPA2TuM6962qCZ5Wp5KeB517Tw7ApdLTTtlb+bF86fcZZa2EtvCVvAJxk4Dya/MQ==","cpu": ["arm64"],@@ -632,9 +632,9 @@}},"node_modules/@oxlint/binding-linux-arm64-musl": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.89.0.tgz",- "integrity": "sha512-vfffe8mQ484AzVadlUOFpgL+JDwhvs9hrzxTgQP1FVfi4ZEUUYeffXlzC9dFV7Dgnu5s/KrNKvfmG6HxBd/ISQ==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.90.0.tgz",+ "integrity": "sha512-wFDdZWGpzIPFdJFjSLWnKB0TGzFriTKUIrl04iMqMyM9BBIJTuerfCHYa0WpDSjr5x3lcW/CHLyacSt886WpGg==","cpu": ["arm64"],@@ -652,9 +652,9 @@}},"node_modules/@oxlint/binding-linux-ppc64-gnu": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.89.0.tgz",- "integrity": "sha512-Buonlp4hVS7RGNP5M7bPpGNQrenyzA2C64JcO/oz9C1c6dGOXJ7VEAnaiAMY7voou0JYyCJdvDVlFQc5DZX3DQ==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.90.0.tgz",+ "integrity": "sha512-FRywfn+MoKn8xpBSzgNwNVliSKRI2QXkxi/iF7o6FEQs8Bh8z2RpVTaFAcO3pchXjvB2eGNFIoLLQABIQ+u7VA==","cpu": ["ppc64"],@@ -672,9 +672,9 @@}},"node_modules/@oxlint/binding-linux-riscv64-gnu": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-1.89.0.tgz",- "integrity": "sha512-1eVwJJrJ3lYIPT+cm7BcBBZZXY6IQZP/oyonaruTor/MrVyWOpvnwt1oD5CLdsHg5aVBIxXodQSvt+1gK6ck5w==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-gnu/-/binding-linux-riscv64-gnu-1.90.0.tgz",+ "integrity": "sha512-IS2PaUgpc/qeLADTyhUNmdx3x4ijs9pjJdPKBYHaT+mAE7k3FsjnHPTjhpsak1b++h6CIPhv6WX9Z+y7Pw0voQ==","cpu": ["riscv64"],@@ -692,9 +692,9 @@}},"node_modules/@oxlint/binding-linux-riscv64-musl": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-1.89.0.tgz",- "integrity": "sha512-fRQQsKUGShdEL5Fl9o9uhj3grkZbeXKLv0icQ5tspUCNYSDy8wzzEcP1WC2bKdTQ0rSszbKlO3iiHORxV22DLg==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-riscv64-musl/-/binding-linux-riscv64-musl-1.90.0.tgz",+ "integrity": "sha512-s7JFKRkGS8O7i2ZVODfuO++NC7sH6HDqpMn8lYxw91w0SXJOxnAVjQ8utvmDwLMMT0jaSkuOKuUYJDGDtu4sHQ==","cpu": ["riscv64"],@@ -712,9 +712,9 @@}},"node_modules/@oxlint/binding-linux-s390x-gnu": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.89.0.tgz",- "integrity": "sha512-dEtYjIy6+fHcjKklsmtmMkZRhwHr2UbzjmpvuPtQYSeN9awQ2hx5JLms5Wvri+8P/NZtD8v5hfgHALUql+/Ycg==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.90.0.tgz",+ "integrity": "sha512-b0GxrOQr5VONCkd7KLSqmP6b6nqZuTpuS8QPQHzltmqdXP5bY0Jl0CZ0QmlCTrS3ExaLYbioFYOARzNbYvcApQ==","cpu": ["s390x"],@@ -732,9 +732,9 @@}},"node_modules/@oxlint/binding-linux-x64-gnu": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.89.0.tgz",- "integrity": "sha512-hqjwIj5KOYM8Wjef/p7IruNi1iByLhSzbMBk62y22P/E8q7Jj0Pp+DeUTKTRYyZYCDtU1wEGlnWOnttHbyNIww==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.90.0.tgz",+ "integrity": "sha512-iaJeShJtgUp8rZbt9YUdTAGOpmX5KogCLba17Jp1tWdJ3F4M3D2g2TKUyI1FMTHxKH9NNHuQcuC2kZRg6IV7yQ==","cpu": ["x64"],@@ -752,9 +752,9 @@}},"node_modules/@oxlint/binding-linux-x64-musl": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-musl/-/binding-linux-x64-musl-1.89.0.tgz",- "integrity": "sha512-iAQN3e6o9UgUCcdGwqRx/jYcKbG3HK7ur3rH6lTqVcQeNGZ85AeWIg6cgn/edwFQ0ofEZZItMwkzyCVTahnvEA==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-linux-x64-musl/-/binding-linux-x64-musl-1.90.0.tgz",+ "integrity": "sha512-/aZoXnL5WBLCXuzfHqvEFXcm4iwYmr/cYByHDTXzLFzJdE5DC7bm6phpWqHv6BeqpVgY9IpBAxGDv2WEkl5JCg==","cpu": ["x64"],@@ -772,9 +772,9 @@}},"node_modules/@oxlint/binding-openharmony-arm64": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-openharmony-arm64/-/binding-openharmony-arm64-1.89.0.tgz",- "integrity": "sha512-MNxjEByz3N/7Q4qFQuPWvc14TpN9LoD3pECEDsJTZbP/wyB7U+hduUXEl7QAbbgVezFwsb9sWtNUO6XVBndOhg==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-openharmony-arm64/-/binding-openharmony-arm64-1.90.0.tgz",+ "integrity": "sha512-SMhk7ozwoxYDKfYqGZCQEfULOKDneF9uhaoIf2neoDLWvNtjY9yVeL7YHmE5L9WdKvMpWNwwZxhenxBu6AgfOg==","cpu": ["arm64"],@@ -789,9 +789,9 @@}},"node_modules/@oxlint/binding-win32-arm64-msvc": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.89.0.tgz",- "integrity": "sha512-xxe+i9wfuFso/VnoL4mfj0UlzE+cfCFiUB06vkXCMyQdgVVmItF5FfAF4tATAktSU6uHruWR+FjqvAT9cHZZzg==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.90.0.tgz",+ "integrity": "sha512-KBvR3A9fO7fCi2vCP8ifWvlia7tGEQV9NaYh+IGwa/7Groy48Mt/UaYqMK9/zOtAWl20BUCf6RPqzJ32fRw33Q==","cpu": ["arm64"],@@ -806,9 +806,9 @@}},"node_modules/@oxlint/binding-win32-ia32-msvc": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.89.0.tgz",- "integrity": "sha512-saFy07cO94E664glwgLmKLI40HgTL1PY86y4T6+ud4niX4H0Kdqjcmqmjps7mQNdBytV5guGbXDdyQtRfeLbLA==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-ia32-msvc/-/binding-win32-ia32-msvc-1.90.0.tgz",+ "integrity": "sha512-+x42rDHQGbTCuT3EzpWAzhP3NoVPE/cJsG4gnrakOSg0olV+GCdMpPU23Nvrl3zZMnXxFZdTtDv4D3SuaA5ZeQ==","cpu": ["ia32"],@@ -823,9 +823,9 @@}},"node_modules/@oxlint/binding-win32-x64-msvc": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.89.0.tgz",- "integrity": "sha512-hLFJ/o0f/dTJh/EW0vmcbREYSQO9tYgfiAAlsOkiLFiJuRRWvYtFELUXN5o2ijpSo/tlO1n+YlWN58tZwPG18A==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/@oxlint/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.90.0.tgz",+ "integrity": "sha512-30JiaFEBUB9peEOcvVM8ggo88SoN/IdSr9DW505JdBji/R6dM66gKEiG65hw6qcaF2f4mO0cEJ+RwRZprmun9g==","cpu": ["x64"],@@ -2883,9 +2883,9 @@}},"node_modules/@tanstack/query-core": {- "version": "5.104.5",- "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.104.5.tgz",- "integrity": "sha512-Q94gI8Opd+CbdVNOdj8ZCyV8WqLYitrDq1t96Xc8WZT6lY0r5iRnJLXYDxMex7EEf2v+mXvn4FcjaBKSxXZQ9A==",+ "version": "5.105.0",+ "resolved": "https://registry.npmjs.org/@tanstack/query-core/-/query-core-5.105.0.tgz",+ "integrity": "sha512-7p56vRmT/z4UJ6sctGIdl5WRUQyUv53IUpUwEKi2g97zMbO7zh8ZsCLffGAvCPBR4xD72e3VXsDyLwXHhoNTMQ==","license": "MIT","funding": {"type": "github",@@ -2893,12 +2893,12 @@}},"node_modules/@tanstack/react-query": {- "version": "5.104.5",- "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.104.5.tgz",- "integrity": "sha512-RORgFe052U+93weaNuqg7qHq7vNVNzXN/VrXqD4bbAuQCWUqOl2lV5Ui9flWk5CVvMyL/Bh27QWhzwH0aaOx9g==",+ "version": "5.105.0",+ "resolved": "https://registry.npmjs.org/@tanstack/react-query/-/react-query-5.105.0.tgz",+ "integrity": "sha512-y+hMuDERvgg6ay1da0V1a6ZC0ZONt7dELxSFkqRZuwm7p1TTZs0MoXrPlBRflIpRoYjvzQVYxycnLImpFLhWrw==","license": "MIT","dependencies": {- "@tanstack/query-core": "5.104.5"+ "@tanstack/query-core": "5.105.0"},"funding": {"type": "github",@@ -3894,13 +3894,13 @@}},"node_modules/framer-motion": {- "version": "14.6.0",- "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-14.6.0.tgz",- "integrity": "sha512-MzBgZxGgoHPfSLEXmo4o5XlZvb+nVRFdHtGjVhm6LMIEJKTt/8hNO023euL5mYyzc8llV/hQTfjnN68tNRHalw==",+ "version": "14.7.1",+ "resolved": "https://registry.npmjs.org/framer-motion/-/framer-motion-14.7.1.tgz",+ "integrity": "sha512-mFDYZxyfeZnpvL/zEQEqLZNYVA/ya47c9TBfZb/PEoNBBVSVvCLkMrCv9U38cuw72W161XENZwZB0+4nIBLEJg==","license": "MIT","dependencies": {- "motion-dom": "14.6.0",- "motion-utils": "14.6.0",+ "motion-dom": "14.7.1",+ "motion-utils": "14.7.0","tslib": "^2.4.0"},"peerDependencies": {@@ -4338,12 +4338,12 @@}},"node_modules/motion": {- "version": "14.6.0",- "resolved": "https://registry.npmjs.org/motion/-/motion-14.6.0.tgz",- "integrity": "sha512-qqaZbyubgk7x3zxjPgP1l3Br/KQXol/IIV1uqb358SoN4ApcqNuV7+wyDPg/XLErmuyQL5lL8JVI/fOmDsmBKQ==",+ "version": "14.7.1",+ "resolved": "https://registry.npmjs.org/motion/-/motion-14.7.1.tgz",+ "integrity": "sha512-o+q7MExUC0RuCUF62HxF9v+fNVX7pUMYZqlyigQJJFAgAsmnnSlAOYeG41hGYkamxFR0rdBA0KXpaBJ28/GGAw==","license": "MIT","dependencies": {- "framer-motion": "14.6.0",+ "framer-motion": "14.7.1","tslib": "^2.4.0"},"peerDependencies": {@@ -4360,18 +4360,18 @@}},"node_modules/motion-dom": {- "version": "14.6.0",- "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-14.6.0.tgz",- "integrity": "sha512-lIojTl9aYSPIkeOOSzBliy1nNvpdO3JtVzW2WgTXQlOP4ZMuJhtWO3fP7OD4TVFwlRucdvxlDSMkL+fEQnQ52A==",+ "version": "14.7.1",+ "resolved": "https://registry.npmjs.org/motion-dom/-/motion-dom-14.7.1.tgz",+ "integrity": "sha512-p9q9F7+HoijbQjUG/cSGNmWS2t1OaAKxkd2RG5gQJRoDwoTap/Khb7K1P5rLW90crnSmx0rcRXzh3Jd5UNrpEw==","license": "MIT","dependencies": {- "motion-utils": "14.6.0"+ "motion-utils": "14.7.0"}},"node_modules/motion-utils": {- "version": "14.6.0",- "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-14.6.0.tgz",- "integrity": "sha512-bZJo2AmQ2aOFkaato6VXrTbkPG0XhMzivWUWSaI59pxyllj8QMQUFZ84MYRQnPkK+7dr4KldyJwF2+RM0sdq/w==",+ "version": "14.7.0",+ "resolved": "https://registry.npmjs.org/motion-utils/-/motion-utils-14.7.0.tgz",+ "integrity": "sha512-woO0/Nb7ys75f94fjvQi/6leiHGvZUYkeHUPEZ3vxsV+9OpEVhkxp01x8MlRwX0zt31EqgXsKDAoBoJLC148Tw==","license": "MIT"},"node_modules/nanoid": {@@ -4408,13 +4408,13 @@}},"node_modules/oxc-parser": {- "version": "0.155.0",- "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.155.0.tgz",- "integrity": "sha512-C/ReSf1JUFukK/zvk6jhcNibSssvas5+ktIzK7fbKVd3CedWe59C3QwHEOrEZj/4Rt9+xg0Jeis/Jv1F/KM1mw==",+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/oxc-parser/-/oxc-parser-0.156.0.tgz",+ "integrity": "sha512-7JhjgOfZjrIFJH5TlHrpRua864Si5GvwrPr5+eIRCY2sszhKXo6pyhP0HQKOGTtfO4UowwZ72XTGba0+lZphOQ==","dev": true,"license": "MIT","dependencies": {- "@oxc-project/types": "^0.155.0"+ "@oxc-project/types": "^0.156.0"},"engines": {"node": "^20.19.0 || >=22.12.0"@@ -4423,31 +4423,41 @@"url": "https://github.com/sponsors/oxc-project"},"optionalDependencies": {- "@oxc-parser/binding-android-arm-eabi": "0.155.0",- "@oxc-parser/binding-android-arm64": "0.155.0",- "@oxc-parser/binding-darwin-arm64": "0.155.0",- "@oxc-parser/binding-darwin-x64": "0.155.0",- "@oxc-parser/binding-freebsd-x64": "0.155.0",- "@oxc-parser/binding-linux-arm-gnueabihf": "0.155.0",- "@oxc-parser/binding-linux-arm-musleabihf": "0.155.0",- "@oxc-parser/binding-linux-arm64-gnu": "0.155.0",- "@oxc-parser/binding-linux-arm64-musl": "0.155.0",- "@oxc-parser/binding-linux-ppc64-gnu": "0.155.0",- "@oxc-parser/binding-linux-riscv64-gnu": "0.155.0",- "@oxc-parser/binding-linux-riscv64-musl": "0.155.0",- "@oxc-parser/binding-linux-s390x-gnu": "0.155.0",- "@oxc-parser/binding-linux-x64-gnu": "0.155.0",- "@oxc-parser/binding-linux-x64-musl": "0.155.0",- "@oxc-parser/binding-openharmony-arm64": "0.155.0",- "@oxc-parser/binding-win32-arm64-msvc": "0.155.0",- "@oxc-parser/binding-win32-ia32-msvc": "0.155.0",- "@oxc-parser/binding-win32-x64-msvc": "0.155.0"+ "@oxc-parser/binding-android-arm-eabi": "0.156.0",+ "@oxc-parser/binding-android-arm64": "0.156.0",+ "@oxc-parser/binding-darwin-arm64": "0.156.0",+ "@oxc-parser/binding-darwin-x64": "0.156.0",+ "@oxc-parser/binding-freebsd-x64": "0.156.0",+ "@oxc-parser/binding-linux-arm-gnueabihf": "0.156.0",+ "@oxc-parser/binding-linux-arm-musleabihf": "0.156.0",+ "@oxc-parser/binding-linux-arm64-gnu": "0.156.0",+ "@oxc-parser/binding-linux-arm64-musl": "0.156.0",+ "@oxc-parser/binding-linux-ppc64-gnu": "0.156.0",+ "@oxc-parser/binding-linux-riscv64-gnu": "0.156.0",+ "@oxc-parser/binding-linux-riscv64-musl": "0.156.0",+ "@oxc-parser/binding-linux-s390x-gnu": "0.156.0",+ "@oxc-parser/binding-linux-x64-gnu": "0.156.0",+ "@oxc-parser/binding-linux-x64-musl": "0.156.0",+ "@oxc-parser/binding-openharmony-arm64": "0.156.0",+ "@oxc-parser/binding-win32-arm64-msvc": "0.156.0",+ "@oxc-parser/binding-win32-ia32-msvc": "0.156.0",+ "@oxc-parser/binding-win32-x64-msvc": "0.156.0"+ }+ },+ "node_modules/oxc-parser/node_modules/@oxc-project/types": {+ "version": "0.156.0",+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.156.0.tgz",+ "integrity": "sha512-1Duyg48TdJNdyhEB8Xn1L36bT9Pv6GUtlKjHxOys8xkaF/rQq3XJE+bAurSK/AgIz5mGFsb77cn9Pb20+WCScw==",+ "dev": true,+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/oxc-project"}},"node_modules/oxlint": {- "version": "1.89.0",- "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.89.0.tgz",- "integrity": "sha512-a25hkfo61okGPvJz432fRIPoxlKtNnOVy9w4rzrmGgNm4iVTPwpSQlmdqNWnp6p9QyyPVfAZRgnf5XvSBZFk/A==",+ "version": "1.90.0",+ "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.90.0.tgz",+ "integrity": "sha512-RkTN9EmgIUpLuhNoLhO3OliMGJlvb3Dk7XVjBZnfoMCHrVpuz5ESd97klfiyYeV7XfA2lNLnDCPMkUI+Qw5How==","dev": true,"license": "MIT","bin": {@@ -4460,28 +4470,28 @@"url": "https://github.com/sponsors/oxc-project"},"optionalDependencies": {- "@oxlint/binding-android-arm-eabi": "1.89.0",- "@oxlint/binding-android-arm64": "1.89.0",- "@oxlint/binding-darwin-arm64": "1.89.0",- "@oxlint/binding-darwin-x64": "1.89.0",- "@oxlint/binding-freebsd-x64": "1.89.0",- "@oxlint/binding-linux-arm-gnueabihf": "1.89.0",- "@oxlint/binding-linux-arm-musleabihf": "1.89.0",- "@oxlint/binding-linux-arm64-gnu": "1.89.0",- "@oxlint/binding-linux-arm64-musl": "1.89.0",- "@oxlint/binding-linux-ppc64-gnu": "1.89.0",- "@oxlint/binding-linux-riscv64-gnu": "1.89.0",- "@oxlint/binding-linux-riscv64-musl": "1.89.0",- "@oxlint/binding-linux-s390x-gnu": "1.89.0",- "@oxlint/binding-linux-x64-gnu": "1.89.0",- "@oxlint/binding-linux-x64-musl": "1.89.0",- "@oxlint/binding-openharmony-arm64": "1.89.0",- "@oxlint/binding-win32-arm64-msvc": "1.89.0",- "@oxlint/binding-win32-ia32-msvc": "1.89.0",- "@oxlint/binding-win32-x64-msvc": "1.89.0"+ "@oxlint/binding-android-arm-eabi": "1.90.0",+ "@oxlint/binding-android-arm64": "1.90.0",+ "@oxlint/binding-darwin-arm64": "1.90.0",+ "@oxlint/binding-darwin-x64": "1.90.0",+ "@oxlint/binding-freebsd-x64": "1.90.0",+ "@oxlint/binding-linux-arm-gnueabihf": "1.90.0",+ "@oxlint/binding-linux-arm-musleabihf": "1.90.0",+ "@oxlint/binding-linux-arm64-gnu": "1.90.0",+ "@oxlint/binding-linux-arm64-musl": "1.90.0",+ "@oxlint/binding-linux-ppc64-gnu": "1.90.0",+ "@oxlint/binding-linux-riscv64-gnu": "1.90.0",+ "@oxlint/binding-linux-riscv64-musl": "1.90.0",+ "@oxlint/binding-linux-s390x-gnu": "1.90.0",+ "@oxlint/binding-linux-x64-gnu": "1.90.0",+ "@oxlint/binding-linux-x64-musl": "1.90.0",+ "@oxlint/binding-openharmony-arm64": "1.90.0",+ "@oxlint/binding-win32-arm64-msvc": "1.90.0",+ "@oxlint/binding-win32-ia32-msvc": "1.90.0",+ "@oxlint/binding-win32-x64-msvc": "1.90.0"},"peerDependencies": {- "oxlint-tsgolint": ">=7.0.2003",+ "oxlint-tsgolint": ">=7.0.2005","vite-plus": "*"},"peerDependenciesMeta": {@@ -4682,9 +4692,9 @@}},"node_modules/react-router": {- "version": "8.5.0",- "resolved": "https://registry.npmjs.org/react-router/-/react-router-8.5.0.tgz",- "integrity": "sha512-9nEd/deifcTJIIcUaNIyQGkyXD0D6QVB9XD2O5GgHpP3xu3U5RXm87YQ8++Wn8JQWgMBM/5+PjWPM/7n7O7WHA==",+ "version": "8.5.1",+ "resolved": "https://registry.npmjs.org/react-router/-/react-router-8.5.1.tgz",+ "integrity": "sha512-5u1eQ46QjuXjNfEnLwzrnou1Bm5dquO3xjVYkkMYCudtkicD2AQHtx+fvXzPATtPJx8TW6DR1x1TDRqsfHyZBw==","license": "MIT","dependencies": {"@remix-run/route-pattern": "^0.22.1",diff --git a/frontend/package.json b/frontend/package.jsonindex 953c78c5d..c821bbb79 100644--- a/frontend/package.json+++ b/frontend/package.json@@ -19,18 +19,18 @@},"dependencies": {"@remixicon/react": "4.9.0",- "@tanstack/query-core": "5.104.5",- "@tanstack/react-query": "5.104.5",+ "@tanstack/query-core": "5.105.0",+ "@tanstack/react-query": "5.105.0","@tanstack/react-table": "9.3.1","clsx": "2.1.1","d3-sankey": "0.12.3","diff": "9.0.0",- "motion": "14.6.0",+ "motion": "14.7.1","react": "19.3.1","react-aria": "3.53.1","react-aria-components": "1.22.1","react-dom": "19.3.1",- "react-router": "8.5.0",+ "react-router": "8.5.1","recharts": "3.10.1","sonner": "2.0.8","tailwind-merge": "3.7.0"@@ -45,8 +45,8 @@"@types/react-dom": "19.3.0","agentation": "3.1.2","happy-dom": "21.0.4",- "oxc-parser": "0.155.0",- "oxlint": "1.89.0",+ "oxc-parser": "0.156.0",+ "oxlint": "1.90.0","playwright-core": "1.64.1","tailwindcss": "4.3.3","typescript": "7.0.2",diff --git a/package-lock.json b/package-lock.jsonindex 01b60112c..366152f20 100644--- a/package-lock.json+++ b/package-lock.json@@ -10,7 +10,7 @@"@phosphor-icons/core": "2.1.1","@videojs/cdn": "10.2.0","healthicons": "2.0.0",- "lucide-static": "1.61.0",+ "lucide-static": "1.62.0","remixicon": "4.9.1","swiper": "14.3.0"},@@ -50,9 +50,9 @@"license": "MIT"},"node_modules/lucide-static": {- "version": "1.61.0",- "resolved": "https://registry.npmjs.org/lucide-static/-/lucide-static-1.61.0.tgz",- "integrity": "sha512-yLAiQB3MWUJEstsEDAwenSA3m7vr1tdLvgnC16Q/XMxRRma0DWwMs8M2bWlvgShrIs1m2mWMJ+0AiahqQO4GrA==",+ "version": "1.62.0",+ "resolved": "https://registry.npmjs.org/lucide-static/-/lucide-static-1.62.0.tgz",+ "integrity": "sha512-WBZA/m2PvkFpMGHDtsBck5P2A9G4ehLlYu4GwwICcmEm1BvYVgj00lCDxKRWLlbMlOibLaiwdQ88G5pHkSWgwA==","dev": true,"license": "ISC"},diff --git a/package.json b/package.jsonindex 6b460b7c4..77d7c1666 100644--- a/package.json+++ b/package.json@@ -14,7 +14,7 @@"@videojs/cdn": "10.2.0","@phosphor-icons/core": "2.1.1","healthicons": "2.0.0",- "lucide-static": "1.61.0",+ "lucide-static": "1.62.0","remixicon": "4.9.1","swiper": "14.3.0"}diff --git a/pyproject.toml b/pyproject.tomlindex 47871dfc9..1bc3fe00b 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -39,7 +39,7 @@ dependencies = [# grpcio 与 protobuf 给云下载调 CloudDrive2 的 gRPC 接口(`downloads_clouddrive.py`)。# 消息代码由 grpcio-tools 1.84.0 生成后提交,它自带的 protoc 对应 protobuf 7.35.1,# 运行时 protobuf 必须同一大版本且不低于它。- "grpcio==1.84.1",+ "grpcio==1.85.0","httpx==0.28.1","m3u8==6.0.0","pillow==13.0.0",@@ -72,7 +72,7 @@ peach-tray = "peach.error_reporting:tray_main"dev = ["filelock==4.2.4","psutil==7.2.2",- "ruff==0.17.2",+ "ruff==0.17.3","seiso==0.4.0",]build = [diff --git a/tools/amane-bridge/uv.lock b/tools/amane-bridge/uv.lockindex dde33ac14..6c40adb8c 100644--- a/tools/amane-bridge/uv.lock+++ b/tools/amane-bridge/uv.lock@@ -723,11 +723,11 @@ wheels = [[[package]]name = "logfire-api"-version = "5.3.0"+version = "5.4.0"source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/9d/eb/f79e2c30fb46040fe54e9e994d3e93534ccb01756858e98165329ff17652/logfire_api-5.3.0.tar.gz", hash = "sha256:e3e4265c926dd505d7986d1970f5a4d8fb1b20fe033d2ff12b419ca7f163b533", size = 99890, upload-time = "2026-10-23T15:11:02.864Z" }+sdist = { url = "https://files.pythonhosted.org/packages/10/3e/065cbc78fbfdbf96194833522c6a9a3677c67c6e66987b226eccbf0e0d0b/logfire_api-5.4.0.tar.gz", hash = "sha256:328b3fae6eaced55875339cf58521ebf13a9117bdb8be40f717f056aa62c43d3", size = 101625, upload-time = "2026-10-26T15:17:54.196Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/da/13/d6c1400252d4c060e5202967a6c123b80537f5694afad8921df7f0fd6b9e/logfire_api-5.3.0-py3-none-any.whl", hash = "sha256:eaa86578338c8feab4064f8bf206391554d0dc95679ca8eee27fccf722541132", size = 151954, upload-time = "2026-10-23T15:10:58.323Z" },+ { url = "https://files.pythonhosted.org/packages/4c/03/1e412a0bbae5d7cab75cf2645aa6e330835db95d76c20b9912af495dcd6a/logfire_api-5.4.0-py3-none-any.whl", hash = "sha256:00297901da03e350bcf4ebe3d829f3617ebbe62b000e5d53d3c485223c258204", size = 154066, upload-time = "2026-10-26T15:17:49.827Z" },][[package]]@@ -896,7 +896,7 @@ wheels = [[[package]]name = "openai"-version = "3.37.0"+version = "3.40.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "anyio" },@@ -906,9 +906,9 @@ dependencies = [{ name = "sniffio" },{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/0a/66/d4c48dc690e36b297c178636d8434050ac92df9db8a4c89d9bd451cccc95/openai-3.37.0.tar.gz", hash = "sha256:670bd6f699000d43a2073bcf94374a55bb133bfe5de0d084d47eb9bb9f6a8e5d", size = 2325534, upload-time = "2026-10-22T20:04:39.602Z" }+sdist = { url = "https://files.pythonhosted.org/packages/31/ce/5b2e20d41c4e82dbb4be0192c62ce53516111896f642466fa71b82dccf0f/openai-3.40.0.tar.gz", hash = "sha256:df309d434130e89a23e9c687fc4bcd3df0df705a33d3872503c87448df69f56f", size = 2391443, upload-time = "2026-10-27T15:38:54.916Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/56/73/c605f0cee1882e453a4b7fc2f17f4a42a7d4c1ed2304aff4b163ffade819/openai-3.37.0-py3-none-any.whl", hash = "sha256:d9f5b000f52397a7f9f946012744c5bc4c962eed3c100385252464c273a63e57", size = 2303939, upload-time = "2026-10-22T20:04:37.707Z" },+ { url = "https://files.pythonhosted.org/packages/1c/d2/b59435562e893730bb620c720ddaaa84b016e870c9b7b6b85fb505540bdc/openai-3.40.0-py3-none-any.whl", hash = "sha256:dfcfd4f65ee5a8bb824da90c9ad7fa0dda7f3bd472a7c564dffc6183f0a0b55c", size = 2353063, upload-time = "2026-10-27T15:38:52.679Z" },][[package]]@@ -1034,7 +1034,7 @@ wheels = [[[package]]name = "pydantic-ai-slim"-version = "2.61.0"+version = "2.63.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "anyio" },@@ -1046,9 +1046,9 @@ dependencies = [{ name = "pydantic-graph" },{ name = "typing-inspection" },]-sdist = { url = "https://files.pythonhosted.org/packages/cc/c9/a50232708b51eea19100fa515ebf2f4bcf92d1110c0cba0abd0aa1117ec6/pydantic_ai_slim-2.61.0.tar.gz", hash = "sha256:fe134b7fb8c65ca1e102bcd4c46bd8253866423f9a639ba7ed2341b6eb34b8f2", size = 2172199, upload-time = "2026-10-24T03:55:35.493Z" }+sdist = { url = "https://files.pythonhosted.org/packages/73/c3/7c9c8d071249f8ff3225531c7decec7b35149741cc4330db2dc56b2a3393/pydantic_ai_slim-2.63.0.tar.gz", hash = "sha256:dd8bde21754001a9d9be4ae79bada4dcbea5142e3d9fce4c13efaf972674a764", size = 2320687, upload-time = "2026-10-28T02:03:33.909Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/05/03/c8795de4456582b9d04f35c0778c8cb0f2e8b432e250c42c86d1844c039b/pydantic_ai_slim-2.61.0-py3-none-any.whl", hash = "sha256:1d1a2b651de2555c6d0e22e14716969db7cc4f7ff5bd0e06578d5fa6648be462", size = 2514560, upload-time = "2026-10-24T03:55:24.447Z" },+ { url = "https://files.pythonhosted.org/packages/b2/70/93c22c81829c7739fc24241eedc0bdadb4294859014d3a9ae667db0cf5c5/pydantic_ai_slim-2.63.0-py3-none-any.whl", hash = "sha256:0694051caa2357ddac4e98ec69e1ae509e20cffc2f4a658217fbd35e83b96339", size = 2682890, upload-time = "2026-10-28T02:03:21.635Z" },][package.optional-dependencies]@@ -1138,7 +1138,7 @@ wheels = [[[package]]name = "pydantic-graph"-version = "2.61.0"+version = "2.63.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "anyio" },@@ -1146,9 +1146,9 @@ dependencies = [{ name = "pydantic" },{ name = "typing-inspection" },]-sdist = { url = "https://files.pythonhosted.org/packages/f8/45/c48137400dffe74ab0a414adb3596493890a376e96d96b5508aad80ff929/pydantic_graph-2.61.0.tar.gz", hash = "sha256:30e93a073998d8bc90ef2b765a8e9b0dc443cca47eb54da78ed8a6986884752d", size = 46274, upload-time = "2026-10-24T03:55:39.161Z" }+sdist = { url = "https://files.pythonhosted.org/packages/9b/b5/ad651d8c39cf2c537307ad68d4d1e7d75fd34566a405abc5370e1467c4fe/pydantic_graph-2.63.0.tar.gz", hash = "sha256:ffd687a20b7c6b2914c95e19f4b1501c9768763289b482eea82dd72b2488366e", size = 46461, upload-time = "2026-10-28T02:03:37.688Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/dc/91/6adc6c0e8275343dec885176a24f6bb12164c3ef79c025fe6e3af3895e95/pydantic_graph-2.61.0-py3-none-any.whl", hash = "sha256:e304dc150ffa148ce04c3b9b248d0333c639abb6812c4cf4f5bcaa9a8eec17fc", size = 53439, upload-time = "2026-10-24T03:55:29.873Z" },+ { url = "https://files.pythonhosted.org/packages/98/da/4e35663fc8c174b583c908975e9cb2a24c3ee55b714adbff8974b0472f61/pydantic_graph-2.63.0-py3-none-any.whl", hash = "sha256:803eef2c9b24798d0d13372f7e9d1600920abb96e114368c7add7a57436cb7b2", size = 53642, upload-time = "2026-10-28T02:03:27.55Z" },][[package]]diff --git a/uv.lock b/uv.lockindex 5eaeb168a..202597d0d 100644--- a/uv.lock+++ b/uv.lock@@ -618,33 +618,33 @@ wheels = [[[package]]name = "grpcio"-version = "1.84.1"+version = "1.85.0"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "typing-extensions" },]-sdist = { url = "https://files.pythonhosted.org/packages/c0/3a/5c8e0eea2af3d30cb20d33ac325a98d9b799c069d63101ca4da20bcc776a/grpcio-1.84.1.tar.gz", hash = "sha256:446e7876b9b991fa124c1d414899fa7cf95f89a3e71237ea0161863dc0b2c09f", size = 13421202, upload-time = "2026-10-22T14:59:43.986Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/4c/d8/bbc616bd123ddc2fd1f53f49e40cf537f7dd9c483f47bb21be61c4aa0ae1/grpcio-1.84.1-cp314-cp314-linux_armv7l.whl", hash = "sha256:42ffbbc11fe2e4b02a4b51b090f8ca6727414748cf551539665b5592372263e8", size = 6393649, upload-time = "2026-10-22T14:58:56.534Z" },- { url = "https://files.pythonhosted.org/packages/80/25/71e0903ca23c483aad588daa7744f9b01c149db9cbfa13eb24ef5f813a2e/grpcio-1.84.1-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:f2482ebe5e3a9c6d1f99859e135cc0ca370362e3b2a94cb6304f64943997bfcb", size = 12308221, upload-time = "2026-10-22T14:58:58.92Z" },- { url = "https://files.pythonhosted.org/packages/28/01/a0207b967ab991bc009030763e3c7e6280cbeda1de06351e16034d34547e/grpcio-1.84.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:b8fb04fe0ded6fb1c5edd4c90ed39193d7b6226214685111b25a153ccb33a52a", size = 6963837, upload-time = "2026-10-22T14:59:01.562Z" },- { url = "https://files.pythonhosted.org/packages/38/74/a4171ad8c4b0e80371afb27503cad580d4cae2f116b56adbb9dafa7e3c76/grpcio-1.84.1-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:ffc0be893d8df55f0d23afbd3b776ede444847260a4a00ac80326a32dac91ad3", size = 7722977, upload-time = "2026-10-22T14:59:03.784Z" },- { url = "https://files.pythonhosted.org/packages/4e/b8/73e85d67437fa4324933cc625a6a8e8e5f22fbdfe6757d949a6958b87479/grpcio-1.84.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ccd8be89a73d276336cbf223b22bd5c677d9fd15233100f208845c6a0c7cbc72", size = 7126919, upload-time = "2026-10-22T14:59:05.982Z" },- { url = "https://files.pythonhosted.org/packages/03/60/734b781ca01f562e6e01c84ef8e762f1ebcfccd02b29be0b77513fc26da0/grpcio-1.84.1-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:ced0c5ef2709964aca16e6af6f74f682b57872d2f7c7c553916c6b86dac64fa4", size = 7685628, upload-time = "2026-10-22T14:59:08.495Z" },- { url = "https://files.pythonhosted.org/packages/5a/c8/03051aa012430b2dbd15fbf9af42482d945197b7886c77c557475d1bb4bb/grpcio-1.84.1-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:28caf3df58096e2cb06f0f7e672160e65e9df5e053f392594d93d33a15fe1ef1", size = 8728232, upload-time = "2026-10-22T14:59:10.709Z" },- { url = "https://files.pythonhosted.org/packages/58/83/c87911b98ed766d7084d64053dc06f7855267f686b673dc0bb1ac8c07aee/grpcio-1.84.1-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:f4b64099afaccdeeb987240af47aa1fc14f57285d3d2ff000c7327228624999a", size = 8088730, upload-time = "2026-10-22T14:59:13.431Z" },- { url = "https://files.pythonhosted.org/packages/88/bf/6b18690790c0c4d7062749785bc8e515881a8a4058f46cb2925c86adc9e0/grpcio-1.84.1-cp314-cp314-win32.whl", hash = "sha256:116b4796da0e7fca3fdf6edf422ea7521c25d8c4be64ab7e3b5e2a77c832b0ed", size = 4527749, upload-time = "2026-10-22T14:59:15.712Z" },- { url = "https://files.pythonhosted.org/packages/b8/d9/ee50fe67481254c45c9b709b31ba468e4c90925018f4507c424369a9abd5/grpcio-1.84.1-cp314-cp314-win_amd64.whl", hash = "sha256:3875f4c4caf0c54ac370b66322f0bf2d46e9d21414be36ea8b7f618badb3b87c", size = 5359432, upload-time = "2026-10-22T14:59:18.331Z" },- { url = "https://files.pythonhosted.org/packages/c4/c0/fc3341990f75cba2096d07ea5e7a8f78af8cb36f6b1fd78660b8c1220e11/grpcio-1.84.1-cp315-cp315-linux_armv7l.whl", hash = "sha256:775f98cb476625936061b91e3c1da229112b212a6b2a70fefc9c87e5aaf9fba6", size = 6393689, upload-time = "2026-10-22T14:59:20.402Z" },- { url = "https://files.pythonhosted.org/packages/c9/f4/6b9a70760bbd8e927f31452ed2ba33cc3dc1a327f1b46c44f65ddb6dbf0a/grpcio-1.84.1-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:cfdc7530e5707ab6e5c80fc624f89e26ddf8f38d3e89e5226dd7e55c080e9b65", size = 12325454, upload-time = "2026-10-22T14:59:22.805Z" },- { url = "https://files.pythonhosted.org/packages/ea/87/e44f1c73d4c003a10a8c9b348b44296e99ec5623b70fb441ad250f4b532b/grpcio-1.84.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:c61a0d5c60506b2371444716b56d6c633d3c56a17c703566bcca39604c02c12c", size = 6984778, upload-time = "2026-10-22T14:59:25.385Z" },- { url = "https://files.pythonhosted.org/packages/19/9f/efd7828266b9e5ff0764af8420d52add5acfc13382d073596f15d7dfc183/grpcio-1.84.1-cp315-cp315-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:79b3ee4683290b3cfabadc718a008c3474073b585bc450231a842c21c2ef1f27", size = 7073415, upload-time = "2026-10-22T14:59:27.503Z" },- { url = "https://files.pythonhosted.org/packages/80/5e/de257fc887b5a4e955173fb28a76a39fdb69f12e0d99987ed723c937c419/grpcio-1.84.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:c8ae49802f09cc272546592b3656207de6f719e50a6a0d1654e613aaba6336ac", size = 7165478, upload-time = "2026-10-22T14:59:30.083Z" },- { url = "https://files.pythonhosted.org/packages/75/b0/66840129d46b06a5159277206a1f706ff755d725fdd0652e7acf6961a930/grpcio-1.84.1-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:1e25f45414b3a53bfc1fe43b980f9d0cae9e194a62541d5f6bef0846758162ac", size = 7707719, upload-time = "2026-10-22T14:59:32.284Z" },- { url = "https://files.pythonhosted.org/packages/10/0d/92682af96b05c1d5e5ce1ea82a3969b221c9d58112a097ff637946e395c6/grpcio-1.84.1-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:de3c31abc0d052511744a817506e03534f14e32dadab8ec19f63f2d4facd05f3", size = 8079074, upload-time = "2026-10-22T14:59:34.507Z" },- { url = "https://files.pythonhosted.org/packages/0c/69/1e426aa52c23640430eed1728c0f7c1167bb64eb7b0a31bb5ce9a500f73c/grpcio-1.84.1-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:6ce0835704f30d4954aa0a68352fc9cc30242cc85f39d7b6cd20c0790e05925b", size = 8118408, upload-time = "2026-10-22T14:59:37.082Z" },- { url = "https://files.pythonhosted.org/packages/72/66/037c29a3668a32f2dbd287ceac43286797ffe14c95e7234db75c42ea10dc/grpcio-1.84.1-cp315-cp315-win32.whl", hash = "sha256:43d8b84b3e2b7505e4902ab6288ceee699cfec5435ed879bb53f876b2966ee33", size = 4527284, upload-time = "2026-10-22T14:59:39.362Z" },- { url = "https://files.pythonhosted.org/packages/c3/87/4dea740311428c40fa0da674e0ecfa28f572809cba4cbc9c568918c82d2e/grpcio-1.84.1-cp315-cp315-win_amd64.whl", hash = "sha256:c8e1c15e81f65efb317906754fdba4a85d2eac9cff250d8a3fb3ccb3a4e52db9", size = 5360072, upload-time = "2026-10-22T14:59:41.328Z" },+sdist = { url = "https://files.pythonhosted.org/packages/5b/34/60907c03ef43039c1e91ed5bdfae41ada5648264f013cabc3f186600e571/grpcio-1.85.0.tar.gz", hash = "sha256:8aa2647afcbe5a87783e9626a2ece6277db33c6604c21690d19b5bd15609e36d", size = 14084753, upload-time = "2026-10-26T06:20:17.622Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/ad/2f/8d037027d50fe4aecd23da96cea59faf194c86be7c8c7c77b5fff6079aa1/grpcio-1.85.0-cp314-cp314-linux_armv7l.whl", hash = "sha256:86bd1d2e197d3e4cde1c04136db48bf22a6fe873b7f55c83e9747d5b36f0cbb4", size = 6802126, upload-time = "2026-10-26T06:19:32.382Z" },+ { url = "https://files.pythonhosted.org/packages/c7/6e/cd0520477b161d728410c3bb37fcea46eb06aee9f9f3fb410050ba5eb62d/grpcio-1.85.0-cp314-cp314-macosx_11_0_universal2.whl", hash = "sha256:7a24e53259c2005c77b03c48272eec4b374eba027d077e84d0e99f9e30747439", size = 12639174, upload-time = "2026-10-26T06:19:34.695Z" },+ { url = "https://files.pythonhosted.org/packages/e6/e2/95409a6366aa30d9224d1f6231702ff53fa3f6cb652cdca682295981e593/grpcio-1.85.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:6248ed9a86c4191a0d8d7fe54eaea0511aadcadc2ec128daa995eaac91e42880", size = 7185955, upload-time = "2026-10-26T06:19:37.174Z" },+ { url = "https://files.pythonhosted.org/packages/38/f4/b55aaa568ce74f9aa01aeff90646dc223fb86085cf10da1d198df2c799c4/grpcio-1.85.0-cp314-cp314-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:c5f993fa6b3bf0af33ed7c2bc42f58d22f10964607cf614c2c08b67db80ced60", size = 8186857, upload-time = "2026-10-26T06:19:39.4Z" },+ { url = "https://files.pythonhosted.org/packages/03/45/04eec36d0dabc90a640b72084ca67aad34f24f312477cea803ad47faea52/grpcio-1.85.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d2ba969495b45ff5e0d10451898387427906b82e28c3c1cfae2dda006e25e18d", size = 7366839, upload-time = "2026-10-26T06:19:41.438Z" },+ { url = "https://files.pythonhosted.org/packages/58/b2/53bb7e2285b55f1208ae743102187e6d29168e1e48ab2146dce5f3a57d21/grpcio-1.85.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:9c91ad19d92ff81600c087db4829c26b47f9dafd04ed0a26c35e21a05d20f671", size = 7941256, upload-time = "2026-10-26T06:19:43.717Z" },+ { url = "https://files.pythonhosted.org/packages/af/00/62b62f26b2d56cb3b2f5a61a2b5d90fe9614bec12e322d127e536d59414a/grpcio-1.85.0-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:26147a7a3c9d1c865cc16b3f98e5c38e5606932aba236b7627ca7eb4378c5c7e", size = 9176088, upload-time = "2026-10-26T06:19:45.858Z" },+ { url = "https://files.pythonhosted.org/packages/b0/eb/33604ec3b625e0970fcdea07e69c30a9199264b24174e5eff7d79e8598ce/grpcio-1.85.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:beb6ffcf5253f4247efa47837d876e42157969127657fad4a68be181830ddadd", size = 8315128, upload-time = "2026-10-26T06:19:48.589Z" },+ { url = "https://files.pythonhosted.org/packages/e2/eb/1a4e1fedc1001ab756de206e37be8d20887607bd71d4a0be45afb461c615/grpcio-1.85.0-cp314-cp314-win32.whl", hash = "sha256:a03fee5e413938ddb71aa2fd7c52520e2fc3aec2e9602d50464272c75b274a54", size = 4853035, upload-time = "2026-10-26T06:19:50.601Z" },+ { url = "https://files.pythonhosted.org/packages/7e/34/eca74515cd7e1c15312d3f77440dc5c48ed3421110188176b5e37226bc9f/grpcio-1.85.0-cp314-cp314-win_amd64.whl", hash = "sha256:a11c8c322a19d6d3cd6fb645127e8f1ca4e8041d05e41e9b24c7678ec7391021", size = 5758315, upload-time = "2026-10-26T06:19:52.659Z" },+ { url = "https://files.pythonhosted.org/packages/cf/1c/3911ce2422982aeb416464d8c1a3132c3863e54cfc8410abf221d54d8a78/grpcio-1.85.0-cp315-cp315-linux_armv7l.whl", hash = "sha256:e0b87fde3b80955343b37cf9b9deac52432e9e7a4b3e0f92abbd61fee0f7b184", size = 6801625, upload-time = "2026-10-26T06:19:54.707Z" },+ { url = "https://files.pythonhosted.org/packages/b4/53/6295c603bdd5bfdb434e6078367f1353ffcb61c800c0d355bb67f5008937/grpcio-1.85.0-cp315-cp315-macosx_10_15_universal2.whl", hash = "sha256:27b024f8420c9d63f7df9f51d4c2d2e54fcf3b26c9963041f5fc75b83f35e87b", size = 12656837, upload-time = "2026-10-26T06:19:56.727Z" },+ { url = "https://files.pythonhosted.org/packages/40/a6/fe53a3a2b9795f08afa5279a71b13ae707fe6efba7cbea27054c675b2ca4/grpcio-1.85.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:dc726ae4f2f4e2215cb1b987b8ddd7f4f2f253d6ceb48cfbb9b88555d325e10a", size = 7208194, upload-time = "2026-10-26T06:19:59.075Z" },+ { url = "https://files.pythonhosted.org/packages/48/76/5f0eb661982b6607ed01b924b204f9cb3efc343acf296268f1c1a84309b6/grpcio-1.85.0-cp315-cp315-manylinux2014_i686.manylinux_2_17_i686.whl", hash = "sha256:3b463b3b97f35149a3f69234de92eddfd7c94c9c19794e3b264ccba7b6b03fac", size = 7509929, upload-time = "2026-10-26T06:20:01.597Z" },+ { url = "https://files.pythonhosted.org/packages/e2/04/60edfa818df088600b05d474dfdb96bce4eb368298e3d22a3d52f29d25dc/grpcio-1.85.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:426e41a32d10f841f41fc67e4e6d150af7e7c7c3433fe61fa3a0ca19a8dc9885", size = 7409352, upload-time = "2026-10-26T06:20:03.719Z" },+ { url = "https://files.pythonhosted.org/packages/8b/20/795653e089eaf1a4ff3eef48a43d5a1011775660fc74b4b1a479681dcbe2/grpcio-1.85.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:a8dd5c3823194811c5e6932b454bcaa7b8e474a7690ed4ce6246bd502849a82c", size = 7963532, upload-time = "2026-10-26T06:20:05.86Z" },+ { url = "https://files.pythonhosted.org/packages/79/e9/969c1a1345b5b4f52ef5fba4bbedfe341d1e2cd5bf8a70eac4b7214e8970/grpcio-1.85.0-cp315-cp315-musllinux_1_2_i686.whl", hash = "sha256:c8accda49358f99875057ff1ec6a79fead12dac41ac63c1c1e1757a2aab14c1d", size = 8505105, upload-time = "2026-10-26T06:20:08.156Z" },+ { url = "https://files.pythonhosted.org/packages/b8/96/2bcc39af001975ae8410c06653b12c3a48c2260d0f4941409acab84f88e5/grpcio-1.85.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:2a04b67a146f1a95e2bd281614be89b662973535a94eac944135ea86b2e5a7ef", size = 8345176, upload-time = "2026-10-26T06:20:10.988Z" },+ { url = "https://files.pythonhosted.org/packages/cc/05/d88d3938644c2735fa8c2552cf854371b3d0a9b007565bad321d59955195/grpcio-1.85.0-cp315-cp315-win32.whl", hash = "sha256:b2da79c303f23e66d08baaa0c78d8b8630c700e1562babb1f326ada0a97ee5d0", size = 4852843, upload-time = "2026-10-26T06:20:13.02Z" },+ { url = "https://files.pythonhosted.org/packages/0f/b0/7880a36e2b1389810ab4bca52f236144f376d7f7adc25aaaed1721e06dd1/grpcio-1.85.0-cp315-cp315-win_amd64.whl", hash = "sha256:dd88a98073ebc0e6771ff8c2fd9451fbf887f575b0da9d30246ee1b2813f6b57", size = 5758125, upload-time = "2026-10-26T06:20:15.047Z" },][[package]]@@ -1264,7 +1264,7 @@ requires-dist = [{ name = "fastapi", specifier = "==0.162.0" },{ name = "filelock", specifier = "==4.2.4" },{ name = "filelock", marker = "extra == 'dev'", specifier = "==4.2.4" },- { name = "grpcio", specifier = "==1.84.1" },+ { name = "grpcio", specifier = "==1.85.0" },{ name = "httpx", specifier = "==0.28.1" },{ name = "itsdangerous", specifier = "==2.2.0" },{ name = "m3u8", specifier = "==6.0.0" },@@ -1281,7 +1281,7 @@ requires-dist = [{ name = "pyobjc-framework-cocoa", marker = "sys_platform == 'darwin' and extra == 'macos'", specifier = "==12.2.2" },{ name = "pystray", specifier = "==0.19.5" },{ name = "resvg-py", specifier = "==0.5.0" },- { name = "ruff", marker = "extra == 'dev'", specifier = "==0.17.2" },+ { name = "ruff", marker = "extra == 'dev'", specifier = "==0.17.3" },{ name = "seiso", marker = "extra == 'dev'", specifier = "==0.4.0" },{ name = "sentry-sdk", specifier = "==2.73.0" },{ name = "smbprotocol", specifier = "==1.17.0" },@@ -2152,27 +2152,27 @@ wheels = [[[package]]name = "ruff"-version = "0.17.2"-source = { registry = "https://pypi.org/simple" }-sdist = { url = "https://files.pythonhosted.org/packages/ae/58/690cf56da80c8f2c8bf12042b6017beac2c34fe961f65420bcb3fb7fac38/ruff-0.17.2.tar.gz", hash = "sha256:84d632402d14c23b488f941db23712d6736a013225162062d34558c3f3c780eb", size = 5333400, upload-time = "2026-10-22T18:38:00.181Z" }-wheels = [- { url = "https://files.pythonhosted.org/packages/98/b8/8b6d69c57e8fe1cc6af1aa7493b72a1a5b5a8afe34694e302025441729d4/ruff-0.17.2-py3-none-linux_armv6l.whl", hash = "sha256:96a65e755d8dba094707fb23ab602111d9a31ec2835b3a6992a1914a8fcb211e", size = 10183857, upload-time = "2026-10-22T18:37:14.956Z" },- { url = "https://files.pythonhosted.org/packages/e8/61/12cc2ff7b2fa90a268ce1e2162c23aaf76e601d22623f6a31b0eeaa764b0/ruff-0.17.2-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:39c5b55c960515cdb32be16e69efb5734c589c06a0eb38a22694524a336b889d", size = 10210904, upload-time = "2026-10-22T18:37:17.985Z" },- { url = "https://files.pythonhosted.org/packages/e8/7c/b8850a8e4ad29f64a827dd6c6902db4a9aa538fb2b9eef4e26084001a3bb/ruff-0.17.2-py3-none-macosx_11_0_arm64.whl", hash = "sha256:92a80d2f44584dabb0189b3a6c393e37e525e04942838482010575cb81945be7", size = 9408439, upload-time = "2026-10-22T18:37:20.964Z" },- { url = "https://files.pythonhosted.org/packages/b7/b6/6a64fae86ca5e5e29d5adc311e5481de726cedf9aee607435a16c31c442a/ruff-0.17.2-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b7d0906677d89bbf3cf73cde64b5bbe2ab35df3ae43e49ee2627301e91265bac", size = 10047078, upload-time = "2026-10-22T18:37:23.717Z" },- { url = "https://files.pythonhosted.org/packages/10/19/23d376547715175aa1bd46df48df6aacc7c6439d9daf19cac15975180aa5/ruff-0.17.2-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:7cfd783590edf2b77317882631900f6a13ea2e8eacefe6ebf2370d2715299160", size = 9990478, upload-time = "2026-10-22T18:37:26.584Z" },- { url = "https://files.pythonhosted.org/packages/93/6c/34cda32cbe13adac5c6b291a307a5570d8ebd37c0c86339f0fe628e55632/ruff-0.17.2-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:122258f6ecde0e0dd1bb60b24263c3edde4338caf723fca711cc729f9bfd414a", size = 10673624, upload-time = "2026-10-22T18:37:29.767Z" },- { url = "https://files.pythonhosted.org/packages/bf/10/5d762a4dbc851d8bb47863cf3a28a61bf31c804d393b70d891fac899f5d1/ruff-0.17.2-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7f8fba429d6ac4128ab29cfb8fa6240d2fa671d04adf7f84d3b22fc7b6b6bea4", size = 11351797, upload-time = "2026-10-22T18:37:32.535Z" },- { url = "https://files.pythonhosted.org/packages/3f/04/a0e92a81faf5c81c1c98d4374c8401734ccf2b8cca7d0170cb0fec08c6e2/ruff-0.17.2-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:583bd67bb9e7061dd09bc46a0a884bae2bbd214dbcd48e509813612619683869", size = 10949414, upload-time = "2026-10-22T18:37:35.501Z" },- { url = "https://files.pythonhosted.org/packages/c3/d8/59894cf630d2d86882457a2a6a0a1533410c5c805bfbac6f6eb4b5aef69d/ruff-0.17.2-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:c60f93fec7142dba5b8f487f94bf2f6231dae24dc11e4c48648347c8b0720004", size = 10528000, upload-time = "2026-10-22T18:37:37.88Z" },- { url = "https://files.pythonhosted.org/packages/ab/95/d6e30c51e851d37e10762ad91fa1e76ddaad998589b5667962a3cfbc9edd/ruff-0.17.2-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:c555a877f8f41447e318101cfefea9bf12dfa9f82eedf90c376e57e069f917d0", size = 10571779, upload-time = "2026-10-22T18:37:40.444Z" },- { url = "https://files.pythonhosted.org/packages/f4/5a/a7e1d74fb464250137d3d4eca645d323536533b672004d04ee0e46e0caf3/ruff-0.17.2-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:ba405cbd5ec7bda1f555d5e52be1fd68d02608d4d95d24591bdac92cfacb579f", size = 10051707, upload-time = "2026-10-22T18:37:42.812Z" },- { url = "https://files.pythonhosted.org/packages/6e/f2/02fca29ca7999380f0350a7212fe755c11ab9c22d61327356cce8decdbc6/ruff-0.17.2-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:8c21b4ab24485358f17291a4f8dc5399b834e963b8efedd920fe4fdb02081bb4", size = 9998227, upload-time = "2026-10-22T18:37:45.224Z" },- { url = "https://files.pythonhosted.org/packages/d1/00/55aa604a093dfdc1526e570fae0bb7d37a2221c7b4728d5f080b2add16ba/ruff-0.17.2-py3-none-musllinux_1_2_i686.whl", hash = "sha256:5875a16b0de70b43cb81eabea5ae5e8f5d1b2fd1b5e6ed07f80cfe5019d0bd5a", size = 10377692, upload-time = "2026-10-22T18:37:47.704Z" },- { url = "https://files.pythonhosted.org/packages/e4/5a/a7a640f47bb906ec8fa233ea84319d503e6dee02b59e3901bd312ebd1f9b/ruff-0.17.2-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:2d086be452eed686aa51271ecf2cbe5037956517cc6ee39a17b4489ac12f8bbe", size = 10790587, upload-time = "2026-10-22T18:37:50.191Z" },- { url = "https://files.pythonhosted.org/packages/2c/d4/c3b74e1b4808438ea7f14bb914478025e2d51261f60774a54a0fa222ec46/ruff-0.17.2-py3-none-win32.whl", hash = "sha256:6bce7d1f5165701ae18f5df85c65afe78cddfa6c5fb4b9bdb0014d60388f3edd", size = 9870537, upload-time = "2026-10-22T18:37:52.486Z" },- { url = "https://files.pythonhosted.org/packages/1c/9a/c7da96c2c96d20704cf9027f7a5121da272a8c05f1d1531ba949e3b3df04/ruff-0.17.2-py3-none-win_amd64.whl", hash = "sha256:1b59d447f197bef9ef48a22ba1a6016137753c6099e9bac9c36eb566e422424c", size = 10282826, upload-time = "2026-10-22T18:37:55.2Z" },- { url = "https://files.pythonhosted.org/packages/81/60/a3604c79cb02777b6cb84da894104021986f06c4bc41375102cc95049a32/ruff-0.17.2-py3-none-win_arm64.whl", hash = "sha256:195ad918027f817c119310ca89a42d347887dfc28934aaa869325e9c5dc9d962", size = 9827036, upload-time = "2026-10-22T18:37:58.031Z" },+version = "0.17.3"+source = { registry = "https://pypi.org/simple" }+sdist = { url = "https://files.pythonhosted.org/packages/59/73/81f140c4edd9cc323de5478e6bbd3bbcfae9a82692df1a258de8cec6a6d2/ruff-0.17.3.tar.gz", hash = "sha256:a57049c8addb3662073859bb55a7ad35aa54f8a7c9ed268911d1333c5aadaaa9", size = 5339444, upload-time = "2026-10-27T00:34:05.914Z" }+wheels = [+ { url = "https://files.pythonhosted.org/packages/9e/8c/083365310c4e79c842f25bf5a842facbd9b0c0ec336f96dffa5074fe723d/ruff-0.17.3-py3-none-linux_armv6l.whl", hash = "sha256:ab86b84cd9d05e56d329742c0cabdcbe2d1d56c98f4a04aab9b5b66196febfb4", size = 10216522, upload-time = "2026-10-27T00:33:29.822Z" },+ { url = "https://files.pythonhosted.org/packages/72/26/4b2edf31cfebe9605d8f6ed8f1d6f376d3a53d4c9a123e62661c64c440f0/ruff-0.17.3-py3-none-macosx_10_12_x86_64.whl", hash = "sha256:e407b4a6852853a9a2cdce96963e94ad9775578bb44e7561a0f2829f3cc04b11", size = 10217786, upload-time = "2026-10-27T00:33:33.949Z" },+ { url = "https://files.pythonhosted.org/packages/a2/7e/537aba4b7f54397a374d2f6a6fc93e9c8015e18553f31a4a7b7dbced48b5/ruff-0.17.3-py3-none-macosx_11_0_arm64.whl", hash = "sha256:b75cc113b3aca388933d8296b667b1ac401a80317ea3074c9b0a66541199da29", size = 9440362, upload-time = "2026-10-27T00:33:35.784Z" },+ { url = "https://files.pythonhosted.org/packages/3d/66/283e39734f66c8a5ebaa93c22eb7b7515779a0b1d5a5c0ad20e05c0edb41/ruff-0.17.3-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ab5fa7ed5ce18554ea69d850ad162cbaa0c85fc47c08d83a569f806681c9a6ad", size = 10094281, upload-time = "2026-10-27T00:33:38.216Z" },+ { url = "https://files.pythonhosted.org/packages/21/4c/1ffc768497bd025a32c72152771e40c0b99bddc5cc6e4f50c7949a395346/ruff-0.17.3-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:c673c170e27834d1262e3a9c1e97bdc9b9c3b180c63d89173ce69747232474c1", size = 10022543, upload-time = "2026-10-27T00:33:40.181Z" },+ { url = "https://files.pythonhosted.org/packages/73/c3/f90db547301080fcb82c92abf914c8bd57b89911d9b65a6c4cc6b52d0635/ruff-0.17.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6a754c0341bc9ca151b7b335988b3263921c08859f84ca219b70cee825571b6f", size = 10683921, upload-time = "2026-10-27T00:33:42.182Z" },+ { url = "https://files.pythonhosted.org/packages/e5/98/92d4a8a26c6c96cf1a5b34dd59036d8a71e52d650aab065c58867e964e63/ruff-0.17.3-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:4590b9d86c0b1543ebb09094254e191cd43fe8edaf330baa035aab03da251532", size = 11373408, upload-time = "2026-10-27T00:33:44.19Z" },+ { url = "https://files.pythonhosted.org/packages/43/02/1f24d2e3064c9753926deeb901afa57777b37ee46799b09ddd7aee6e5145/ruff-0.17.3-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:bbde18beccd98c29a227c63c99022e3443b99258e08326df6425dfe0443705ef", size = 10977469, upload-time = "2026-10-27T00:33:46.179Z" },+ { url = "https://files.pythonhosted.org/packages/f0/20/fecedea2209f574ab92033b344e01a7f0c2dc76c6d6d19a14c9f8141173f/ruff-0.17.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7fa4b0f931cdbcb8a52044f370a3eb429fb42eb88807b0e800fcaa98dd42b24e", size = 10577491, upload-time = "2026-10-27T00:33:48.233Z" },+ { url = "https://files.pythonhosted.org/packages/33/36/b93fdf0bc6f84f0cd487aadfb0354deb40013669ea35ac3d26855de1e959/ruff-0.17.3-py3-none-manylinux_2_31_riscv64.whl", hash = "sha256:39405f341deec934b4289634324ad695f72df2970f9121582872eaf5b722f0f5", size = 10608748, upload-time = "2026-10-27T00:33:50.284Z" },+ { url = "https://files.pythonhosted.org/packages/5d/b7/7d3f5f14145daead1efb0b9a8289ed1daa100f419d60774375951723ce00/ruff-0.17.3-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:68074094f55ca3d29ab19491f640282f7a84061c4c7977aa5094b968ca457e9a", size = 10075057, upload-time = "2026-10-27T00:33:52.074Z" },+ { url = "https://files.pythonhosted.org/packages/b0/ed/93ff7a5909ee56e2bd4b982deae9e0efb2724417874a90c9e41ad66c6dd7/ruff-0.17.3-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:27bb571ac78fef178fe5118d2827df95c2aae74a48fff2b15f6acd03af5ff5bb", size = 10022431, upload-time = "2026-10-27T00:33:54.061Z" },+ { url = "https://files.pythonhosted.org/packages/9b/07/a83b9eeec8c1c3c0e4eda15f06c3a91001bfd2687ea2f07b750719bf9712/ruff-0.17.3-py3-none-musllinux_1_2_i686.whl", hash = "sha256:029c37cbd3de48ca37aa12117bead2d065f15da17d66bf84e0d4274013705db2", size = 10394903, upload-time = "2026-10-27T00:33:56.158Z" },+ { url = "https://files.pythonhosted.org/packages/af/b2/05c39857c2526fcbebe46ad93a8dc97424656dfef14d3ef933abe1ffd331/ruff-0.17.3-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:692fdb46d0fd9c71e380947dc5fc72f2c3f881073bc1f739e4579376231affbe", size = 10799780, upload-time = "2026-10-27T00:33:58.204Z" },+ { url = "https://files.pythonhosted.org/packages/ec/d9/47171a16739eb7a353936b31c20cf54340531e68c9af7d72fd7a784e235d/ruff-0.17.3-py3-none-win32.whl", hash = "sha256:46539cb031b01fd29ae0a02142483c46640b233ee12bb1c1b690bffa1555d5ca", size = 9908481, upload-time = "2026-10-27T00:34:00.087Z" },+ { url = "https://files.pythonhosted.org/packages/d0/a0/f08c1631bfd81faa6a90eaf70c37c786c11bed2046302b56bb506c25e1a0/ruff-0.17.3-py3-none-win_amd64.whl", hash = "sha256:56b8ffb3f3b3cbccb8b76b71b38261b7ed982ef5d20f5b447b1b61a7f4949b24", size = 10341333, upload-time = "2026-10-27T00:34:02.099Z" },+ { url = "https://files.pythonhosted.org/packages/99/d5/4ad4ed31413c301430918e70d3d38ae6f097af0766cb9ab8c9d502b2a4d6/ruff-0.17.3-py3-none-win_arm64.whl", hash = "sha256:81fce74bcd6be0e9da7c67c7553fd0f1f12964a2052cd728ef917b937a5ca1d9", size = 9854332, upload-time = "2026-10-27T00:34:03.847Z" },][[package]]@@ -2405,16 +2405,16 @@ wheels = [[[package]]name = "urllib3-future"-version = "2.25.903"+version = "2.25.904"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "h11" },{ name = "jh2" },{ name = "qh3", marker = "(platform_machine == 'AMD64' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'ARM64' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'aarch64' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'arm64' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'armv7l' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'i686' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'ppc64' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'ppc64le' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'riscv64' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'riscv64gc' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 's390x' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'x86' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'x86_64' and platform_python_implementation == 'CPython' and sys_platform == 'darwin') or (platform_machine == 'AMD64' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'ARM64' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'aarch64' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'arm64' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'armv7l' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'i686' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'ppc64' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'ppc64le' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'riscv64' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'riscv64gc' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 's390x' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'x86' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'x86_64' and platform_python_implementation == 'CPython' and sys_platform == 'linux') or (platform_machine == 'AMD64' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 'ARM64' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 'aarch64' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 'arm64' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 'armv7l' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 'i686' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 'ppc64' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 'ppc64le' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 'riscv64' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 'riscv64gc' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 's390x' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 'x86' and platform_python_implementation == 'CPython' and sys_platform == 'win32') or (platform_machine == 'x86_64' and platform_python_implementation == 'CPython' and sys_platform == 'win32')" },]-sdist = { url = "https://files.pythonhosted.org/packages/71/f0/3d87b7ecd92df7accecd0a4ac4d816cb151fabf6fdee359fe5d66f9b5f7d/urllib3_future-2.25.903.tar.gz", hash = "sha256:ef0011def1c6724f418d7970200ab8ccaf7d034ece152717b368afe512fb6d53", size = 1590562, upload-time = "2026-10-21T08:30:13.196Z" }+sdist = { url = "https://files.pythonhosted.org/packages/7b/69/e2eeaf260c29b21ecc48b5c8ba6ade1e2e79be6499a8367627d1ce4d4bb5/urllib3_future-2.25.904.tar.gz", hash = "sha256:2ea5bcd64433e6d05ff1684a3cef51e94f33506f08e8fed344108d2abd0f416b", size = 1703564, upload-time = "2026-10-27T04:41:22.716Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/59/6c/74a64afac964dc9ed0bc4c41871c73d386e4fb1867411b73fb50a7b7657f/urllib3_future-2.25.903-py3-none-any.whl", hash = "sha256:39352d455023402d86c4c1f567eba4f8b1bbf65571f8df96c2f5697c8058825f", size = 873806, upload-time = "2026-10-21T08:30:10.833Z" },+ { url = "https://files.pythonhosted.org/packages/02/89/f3c2b4db103a3a794da560355ec4bceb631128523d719b883a595df92d39/urllib3_future-2.25.904-py3-none-any.whl", hash = "sha256:530e6588ccaed48385098e98e35c4cf61439e18dc635995a9d1ab0c781d380d9", size = 890163, upload-time = "2026-10-27T04:41:20.659Z" },][[package]]diff --git a/web/dist/peach-app.chart-tip-CSA44p1l.js b/web/dist/peach-app.chart-tip-Dv3VREj-.jssimilarity index 99%rename from web/dist/peach-app.chart-tip-CSA44p1l.jsrename to web/dist/peach-app.chart-tip-Dv3VREj-.jsindex 43de54558..b2b58babb 100644--- a/web/dist/peach-app.chart-tip-CSA44p1l.js+++ b/web/dist/peach-app.chart-tip-Dv3VREj-.js@@ -1,7 +1,7 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e17bc0bf-c450-4e91-be2e-c28dfe72fa8d", e._sentryDebugIdIdentifier = "sentry-dbid-e17bc0bf-c450-4e91-be2e-c28dfe72fa8d");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b45c0b23-4ab8-4198-bfd8-c9f131e0354a", e._sentryDebugIdIdentifier = "sentry-dbid-b45c0b23-4ab8-4198-bfd8-c9f131e0354a");} catch {}})();import { MotionConfigContext as e, WithPromise as t, __commonJSMin as n, __exportAll as r, __toESM as i, asNumber as a, calcGeneratorVelocity as o, cancelFrame as s, cardClass as c, clsx as l, collectMotionValues as u, cx as d, frame as f, interpolate as p, isMotionValue as m, max as h, min as g, motion as _, motionValue as v, require_jsx_runtime as y, require_react as b, require_react_dom as x, require_with_selector as S, resolveStartTime as C, spring as w, time as T, useConstant as E, useIsomorphicLayoutEffect as D, useReducedMotion as O } from "./peach-app.js";@@ -131,11 +131,22 @@ function ae(e) {let t = ie(u.current, e);return u.current = void 0, t;}+// node_modules/framer-motion/dist/es/value/use-follow-value.mjs+function oe(t, n, r) {+ let { isStatic: i } = (0, P.useContext)(e), a = () => m(t) ? t.get() : t;+ if (i) return ae(a);+ let o = re(a());+ return (0, P.useInsertionEffect)(() => r(o, t, n), [o, JSON.stringify(n)]), o;+}+// node_modules/framer-motion/dist/es/value/use-spring.mjs+function se(e, t = {}) {+ return oe(e, t, te);+}// node_modules/framer-motion/dist/es/value/use-transform.mjs-function oe(e, t, n, r) {+function ce(e, t, n, r) {if (typeof e == "function") return ae(e);- if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return ce(e, t, n, r);- let i = typeof t == "function" ? t : k(t, n, r), a = Array.isArray(e) ? se(e, i) : se([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;+ if (n !== void 0 && !Array.isArray(n) && typeof t != "function") return ue(e, t, n, r);+ let i = typeof t == "function" ? t : k(t, n, r), a = Array.isArray(e) ? le(e, i) : le([e], ([e]) => i(e)), o = Array.isArray(e) ? void 0 : e.accelerate;if (o && !o.isTransformed && typeof t != "function" && Array.isArray(n) && r?.clamp !== !1) {let e = r?.ease;a.accelerate = {@@ -156,7 +167,7 @@ function oe(e, t, n, r) {}return a;}-function se(e, t) {+function le(e, t) {let n = E(() => []);return ie(e, () => {n.length = 0;@@ -165,22 +176,11 @@ function se(e, t) {return t(n);});}-function ce(e, t, n, r) {+function ue(e, t, n, r) {let i = E(() => Object.keys(n)), a = E(() => ({}));- for (let o of i) a[o] = oe(e, t, n[o], r);+ for (let o of i) a[o] = ce(e, t, n[o], r);return a;}-// node_modules/framer-motion/dist/es/value/use-follow-value.mjs-function le(t, n, r) {- let { isStatic: i } = (0, P.useContext)(e), a = () => m(t) ? t.get() : t;- if (i) return oe(a);- let o = re(a());- return (0, P.useInsertionEffect)(() => r(o, t, n), [o, JSON.stringify(n)]), o;-}-// node_modules/framer-motion/dist/es/value/use-spring.mjs-function ue(e, t = {}) {- return le(e, t, te);-}// node_modules/d3-array/src/ascending.jsfunction de(e, t) {return e < t ? -1 : e > t ? 1 : e >= t ? 0 : NaN;@@ -18470,14 +18470,14 @@ function EB({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "a]);let ee = w > 1 ? N.startIndex / (w - 1) * 100 : 0, te = w > 1 ? N.endIndex / (w - 1) * 100 : 100, ie = re(ee), ae = re(te);ie.get() !== ee && ie.set(ee), ae.get() !== te && ae.set(te);- let se = ue(ie, wB), ce = ue(ae, wB), le = oe(se, (e) => `${e}%`), de = oe(ce, (e) => `${e}%`), fe = oe(se, (e) => `${e}%`), pe = oe(ce, (e) => `${Math.max(0, 100 - e)}%`), me = re(`${Math.max(0, te - ee)}%`), he = (0, P.useCallback)(() => {- me.set(`${Math.max(0, ce.get() - se.get())}%`);+ let oe = se(ie, wB), le = se(ae, wB), ue = ce(oe, (e) => `${e}%`), de = ce(le, (e) => `${e}%`), fe = ce(oe, (e) => `${e}%`), pe = ce(le, (e) => `${Math.max(0, 100 - e)}%`), me = re(`${Math.max(0, te - ee)}%`), he = (0, P.useCallback)(() => {+ me.set(`${Math.max(0, le.get() - oe.get())}%`);}, [- se,- ce,+ oe,+ le,me]);- ne(se, "change", he), ne(ce, "change", he);+ ne(oe, "change", he), ne(le, "change", he);let ge = (0, P.useCallback)((t) => {if (!r) return String(t);let n = e[t]?.[r];@@ -18523,14 +18523,14 @@ function EB({ data: e, chartConfig: t, dataKeys: n, xDataKey: r, variant: i = "a/* @__PURE__ */ (0, $.jsx)(_.div, {className: "absolute inset-y-0 cursor-grab touch-none rounded-sm border active:cursor-grabbing",style: {- left: le,+ left: ue,width: me},...M("middle")}),/* @__PURE__ */ (0, $.jsx)(DB, {side: "left",- position: le,+ position: ue,label: b ? ge(N.startIndex) : void 0,bind: M("left")}),@@ -19798,4 +19798,4 @@ function kV({ nameKey: e, valueKey: t, hideLabel: n, format: r }) {}export { Nj as ActivePoints, OA as AnimatedItems, uV as CHART_CARD, xV as CHART_COLORS, uk as CartesianLabelListContextProvider, yV as CategoryTick, hD as Cell, jB as ChartBackground, oB as ChartContainer, dV as ChartEmpty, bV as ChartHead, SB as ChartLegend, vB as ChartLegendContent, kV as ChartTip, _B as ChartTooltip, hB as ChartTooltipContent, Rf as Curve, xl as DATA_ITEM_GRAPHICAL_ITEM_ID_ATTRIBUTE_NAME, bl as DATA_ITEM_INDEX_ATTRIBUTE_NAME, J as DefaultZIndexes, vk as Dot, sj as Dots, VB as EvilBarChart, hk as LabelList, gk as LabelListFromLabelProp, et as Layer, sB as LoadingIndicator, Zz as PolarChart, UO as PolarLabelContextProvider, nk as PolarLabelFromLabelProp, fk as PolarLabelListContextProvider, RA as RegisterGraphicalItemId, zm as Sector, YA as SetPolarGraphicalItem, aA as SetPolarLegendPayload, rA as SetTooltipEntrySettings, $k as Shape, TV as TIP_SURFACE, DV as TIP_SWATCH, OO as Text, EV as TipRow, hE as ZIndexLayer, wr as adaptEventsOfChild, jk as addAngleAxis, kk as addRadiusAxis, jE as arrayTooltipSearcher, vV as categoryAxisWidth, eB as cn, Jj as combineAllBarPositions, RC as combineAxisTicks, Xj as combineBarPosition, Vj as combineBarSizeList, gC as combineCategoricalDomain, vx as combineConfiguredScale, rg as combineDisplayedStackedData, BC as combineGraphicalItemTicks, bS as combineStackGroups, Yj as combineStackedData, V as createSelector, Nh as defaultPolarAngleAxisProps, Xz as defaultPolarChartProps, Ph as defaultPolarRadiusAxisProps, hm as degreeToRadian, Vk as findAllByType, _V as fitLabel, lt as get, Ih as getAxisTypeBasedOnLayout, ll as getBandSizeOfAxis, rl as getBaseValueOfBar, nl as getCateCoordinateOfBar, Pk as getClassNameFromUnknown, dB as getColorsCount, vm as getMaxRadius, el as getNormalizedStackId, bt as getPercentValue, dl as getTooltipNameProp, G as getValueByDataKey, Zj as getZIndexFromUnknown, Gr as identity, I as interpolate, qr as isArrayLike, Jc as isCategoricalAxis, L as isNullish, F as isNumber, ig as isStacked, Yi as iteratee, yA as matchAnimationItems, pA as matchAppend, fA as matchByIndex, mt as mathSign, Tt as noop, Y as pickAxisType, _m as polarToCartesian, ug as rechartsScaleFactory, Mk as removeAngleAxis, Ak as removeRadiusAxis, Ar as resolveDefaultProps, pt as roundTemplateLiteral, pT as selectActiveTooltipDataKey, mT as selectActiveTooltipGraphicalItemId, dT as selectActiveTooltipIndex, Wh as selectAngleAxis, Zh as selectAngleAxisRangeWithReversed, wh as selectBarCategoryGap, Ch as selectBarGap, Gm as selectChartDataAndAlwaysIgnoreIndexes, Wm as selectChartDataWithIndexes, K as selectChartLayout, Ml as selectChartOffsetInternal, IC as selectDuplicateDomain, Sk as selectPolarAppliedValues, Ek as selectPolarAxisCheckedDomain, bk as selectPolarItemsSettings, Tk as selectPolarNiceTicks, eg as selectPolarViewBox, Gh as selectRadiusAxis, $h as selectRadiusAxisRangeWithReversed, tC as selectRealScaleType, Kx as selectRenderableAxisSettings, Dh as selectReverseStackOrder, Th as selectRootBarSize, Sh as selectRootMaxBarSize, Eh as selectStackOffsetType, _S as selectTooltipAxis, yk as selectUnfilteredPolarItems, wV as sliceConfig, CV as sliceKey, He as svgPropertiesAndEvents, Be as svgPropertiesNoEvents, Ve as svgPropertiesNoEventsFromUnknown, SV as tone, Zc as truncateByDomain, DA as useAnimationCallbacks, bA as useAnimationStartSnapshot, z as useAppDispatch, B as useAppSelector, Il as useIsPanorama, nA as useMouseClickItemDispatch, eA as useMouseEnterItemDispatch, tA as useMouseLeaveItemDispatch, Du as usePolarChartLayout };-//# debugId=e17bc0bf-c450-4e91-be2e-c28dfe72fa8d\ No newline at end of file+//# debugId=b45c0b23-4ab8-4198-bfd8-c9f131e0354a\ No newline at end of filediff --git a/web/dist/peach-app.configuration-page-DYCnGeTI.js b/web/dist/peach-app.configuration-page-Cpe1NwYj.jssimilarity index 99%rename from web/dist/peach-app.configuration-page-DYCnGeTI.jsrename to web/dist/peach-app.configuration-page-Cpe1NwYj.jsindex 1a162de80..49dba42d3 100644--- a/web/dist/peach-app.configuration-page-DYCnGeTI.js+++ b/web/dist/peach-app.configuration-page-Cpe1NwYj.js@@ -1,10 +1,10 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "ae6f963f-32f5-4a57-85d4-508081f4bb59", e._sentryDebugIdIdentifier = "sentry-dbid-ae6f963f-32f5-4a57-85d4-508081f4bb59");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "10cfb236-1b3c-48e6-8a96-23f7030ea9bf", e._sentryDebugIdIdentifier = "sentry-dbid-10cfb236-1b3c-48e6-8a96-23f7030ea9bf");} catch {}})();-import { AnimatedItems as e, Cell as t, ChartBackground as n, ChartContainer as r, ChartLegend as i, ChartLegendContent as a, ChartTip as o, ChartTooltip as s, ChartTooltipContent as c, Curve as l, DATA_ITEM_GRAPHICAL_ITEM_ID_ATTRIBUTE_NAME as u, DATA_ITEM_INDEX_ATTRIBUTE_NAME as d, DefaultZIndexes as f, EvilBarChart as p, LabelList as m, LabelListFromLabelProp as h, Layer as g, LoadingIndicator as _, PolarChart as v, PolarLabelContextProvider as y, PolarLabelListContextProvider as b, RegisterGraphicalItemId as x, Sector as S, SetPolarGraphicalItem as C, SetPolarLegendPayload as w, SetTooltipEntrySettings as T, Shape as ee, TIP_SWATCH as te, Text as ne, ZIndexLayer as re, adaptEventsOfChild as ie, arrayTooltipSearcher as ae, createSelector as oe, defaultPolarChartProps as se, findAllByType as ce, get as le, getClassNameFromUnknown as ue, getColorsCount as de, getMaxRadius as fe, getPercentValue as pe, getTooltipNameProp as me, getValueByDataKey as he, interpolate as ge, isNumber as _e, matchAppend as ve, mathSign as ye, polarToCartesian as be, resolveDefaultProps as xe, selectActiveTooltipDataKey as Se, selectActiveTooltipGraphicalItemId as Ce, selectActiveTooltipIndex as we, selectChartDataAndAlwaysIgnoreIndexes as Te, selectChartOffsetInternal as Ee, selectUnfilteredPolarItems as De, svgPropertiesNoEvents as Oe, svgPropertiesNoEventsFromUnknown as ke, tone as Ae, useAnimationCallbacks as je, useAppSelector as Me, useMouseClickItemDispatch as Ne, useMouseEnterItemDispatch as Pe, useMouseLeaveItemDispatch as Fe, usePolarChartLayout as Ie } from "./peach-app.chart-tip-CSA44p1l.js";+import { AnimatedItems as e, Cell as t, ChartBackground as n, ChartContainer as r, ChartLegend as i, ChartLegendContent as a, ChartTip as o, ChartTooltip as s, ChartTooltipContent as c, Curve as l, DATA_ITEM_GRAPHICAL_ITEM_ID_ATTRIBUTE_NAME as u, DATA_ITEM_INDEX_ATTRIBUTE_NAME as d, DefaultZIndexes as f, EvilBarChart as p, LabelList as m, LabelListFromLabelProp as h, Layer as g, LoadingIndicator as _, PolarChart as v, PolarLabelContextProvider as y, PolarLabelListContextProvider as b, RegisterGraphicalItemId as x, Sector as S, SetPolarGraphicalItem as C, SetPolarLegendPayload as w, SetTooltipEntrySettings as T, Shape as ee, TIP_SWATCH as te, Text as ne, ZIndexLayer as re, adaptEventsOfChild as ie, arrayTooltipSearcher as ae, createSelector as oe, defaultPolarChartProps as se, findAllByType as ce, get as le, getClassNameFromUnknown as ue, getColorsCount as de, getMaxRadius as fe, getPercentValue as pe, getTooltipNameProp as me, getValueByDataKey as he, interpolate as ge, isNumber as _e, matchAppend as ve, mathSign as ye, polarToCartesian as be, resolveDefaultProps as xe, selectActiveTooltipDataKey as Se, selectActiveTooltipGraphicalItemId as Ce, selectActiveTooltipIndex as we, selectChartDataAndAlwaysIgnoreIndexes as Te, selectChartOffsetInternal as Ee, selectUnfilteredPolarItems as De, svgPropertiesNoEvents as Oe, svgPropertiesNoEventsFromUnknown as ke, tone as Ae, useAnimationCallbacks as je, useAppSelector as Me, useMouseClickItemDispatch as Ne, useMouseEnterItemDispatch as Pe, useMouseLeaveItemDispatch as Fe, usePolarChartLayout as Ie } from "./peach-app.chart-tip-Dv3VREj-.js";import { $2ec61d1d4f780267$export$a8a3e93435678ff9 as Le, $3a442827418ebe87$export$eb2fcfdbd7ba97d4 as Re, $542a13ca2fa5b484$export$5b6b19405a83ff9d as ze, $72abaeab4d80592f$export$78efe591171d7d45 as Be, $bd263d78e9bf3c56$export$f5c9f3c2c4054eec as Ve, $ea3928288112382f$export$439d29a4e110a164 as He, $f2ff30fde7b014be$export$3ddf2d174ce01153 as Ue, $fe21c36db05242bb$export$a98f0dcb43a68a25 as We, $fe21c36db05242bb$export$d7b12c4107be0d61 as Ge, ACCENTS as Ke, ApiError as qe, Button as E, ButtonLink as Je, CLOUD_LOCATIONS as Ye, CLOUD_PROXY_HELP as Xe, CONFIGURATION_KEY as Ze, CONFIGURATION_URL as Qe, CREDENTIAL_STATE as $e, Checkbox as D, Chip as et, Disclosure as O, ENTRY_LINKS_HELP as tt, ENTRY_LINKS_HINT as nt, EmptyState as rt, ErrorText as k, ExternalLink as A, FEED_SCHEDULE_KEY as it, FOLLOW_CREDENTIALS_KEY as at, FOLLOW_INITIAL_RANGE_OPTIONS as ot, FOLLOW_SCHEDULE_KEY as st, Fact as j, FactList as ct, FieldLabel as lt, Footer as M, Help as N, HintText as ut, Input as P, LIBRARY_FOLDER_HELP as dt, LIBRARY_PROCESSING_KEY as ft, Label as pt, LinkButton as mt, LoadingDots as ht, M6 as gt, MEDIA_PROCESSING_KEY as _t, MEDIA_PROCESSING_URL as vt, MEDIA_SOURCE_ICONS as yt, MENU_POPOVER_SURFACE as bt, Note as F, PICK_FOLDER_URL as xt, POLICY_COLUMNS as St, POLICY_COVER_NOTE as Ct, POLICY_MATRIX as wt, POLICY_SUMMARY as Tt, PathLine as Et, PillTabList as Dt, Progress as Ot, Rows as I, SEGMENT as kt, SEGMENTED_TRACK as At, SETTINGS_KEY as jt, SETTINGS_URL as Mt, Section as L, SectionSkeleton as Nt, SegmentedRadioGroup as Pt, Select as Ft, Select$1 as R, SelectItem as z, SettingsCard as It, SettingsRow as B, SiteLabel as Lt, SourceLabel as Rt, SourceMark as zt, Stack as V, StatusLabel as H, Switch as U, THUMBNAIL_JOBS_KEY as Bt, TaskCenterLink as Vt, TextField as Ht, TextFieldContext as Ut, __toESM as Wt, animate as Gt, apiGet as W, apiSend as G, appSettingsStore as Kt, boundedPreference as qt, busyProps as K, cardClass as Jt, cloudProxySkeleton as Yt, clsx as Xt, cn as Zt, confirmModal as Qt, credentialDone as $t, credentialsSkeleton as en, cx as tn, errorMessage as q, fetchConfiguration as nn, fetchCredentials as rn, fetchFeedSchedule as an, fetchFollowSchedule as on, fetchMediaProcessing as sn, fetchSettings as cn, fetchThumbnailJobs as ln, fmtSize as J, indexersSkeleton as un, javBrowserSkeleton as dn, momentText as fn, motion as pn, overlayHost as mn, peachHistory$1 as hn, previewLibraryColor as gn, providerIcon as _n, queryClient as vn, randomId as yn, rememberShape as bn, require_jsx_runtime as xn, require_react as Sn, saveCredential as Cn, schedulePollInterval as wn, settingsPath as Tn, shellNavigate as En, sortCx as Dn, sourceDefaultCost as On, useAction as Y, useClientUpdates as kn, useLibraryTints as An, useMutation as jn, useQuery as X, useReducedMotion as Mn, useRunSchedule as Nn, useSaveFollowSchedule as Pn, useSaveSettings as Fn, useSaveThumbnailMode as In } from "./peach-app.js";import { CodeBlock as Ln } from "./peach-app.code-block-CyDva4Ms.js";import { FolderField as Rn, FolderFieldLine as zn, FolderRow as Bn, MEDIA_SOURCES as Vn, MediaReadPolicy as Hn, MediaReadPolicyHelp as Un, SourceSelect as Wn, isCloudSource as Gn, sourceMark as Kn, useFolderRows as qn } from "./peach-app.folder-rows-BWBfTyUD.js";@@ -5458,4 +5458,4 @@ function $o({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i}export { Xo as ConfigurationPage };-//# debugId=ae6f963f-32f5-4a57-85d4-508081f4bb59\ No newline at end of file+//# debugId=10cfb236-1b3c-48e6-8a96-23f7030ea9bf\ No newline at end of filediff --git a/web/dist/peach-app.expandable-ranking-D7U1tjmx.js b/web/dist/peach-app.expandable-ranking-icp-Mk4j.jssimilarity index 99%rename from web/dist/peach-app.expandable-ranking-D7U1tjmx.jsrename to web/dist/peach-app.expandable-ranking-icp-Mk4j.jsindex 77b41c813..e261dff95 100644--- a/web/dist/peach-app.expandable-ranking-D7U1tjmx.js+++ b/web/dist/peach-app.expandable-ranking-icp-Mk4j.js@@ -1,10 +1,10 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a0e57136-67d3-4921-9ac7-16078f8a818d", e._sentryDebugIdIdentifier = "sentry-dbid-a0e57136-67d3-4921-9ac7-16078f8a818d");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "db98772f-5dcd-459b-a208-05e648c064b2", e._sentryDebugIdIdentifier = "sentry-dbid-db98772f-5dcd-459b-a208-05e648c064b2");} catch {}})();-import { CHART_CARD as e, CategoryTick as t, ChartEmpty as n, ChartHead as r, ChartTip as i, Dot as a, EvilBarChart as o, Layer as s, TIP_SURFACE as c, TIP_SWATCH as l, Text as u, TipRow as d, ZIndexLayer as f, adaptEventsOfChild as p, addAngleAxis as m, categoryAxisWidth as h, combineAxisTicks as g, combineCategoricalDomain as _, combineConfiguredScale as v, combineGraphicalItemTicks as y, createSelector as b, defaultPolarAngleAxisProps as x, degreeToRadian as S, getAxisTypeBasedOnLayout as ee, getClassNameFromUnknown as te, noop as ne, pickAxisType as C, polarToCartesian as w, rechartsScaleFactory as re, removeAngleAxis as ie, resolveDefaultProps as ae, roundTemplateLiteral as oe, selectAngleAxis as T, selectAngleAxisRangeWithReversed as se, selectChartLayout as E, selectDuplicateDomain as D, selectPolarAppliedValues as ce, selectPolarAxisCheckedDomain as le, selectPolarNiceTicks as ue, selectPolarViewBox as de, selectRadiusAxis as fe, selectRadiusAxisRangeWithReversed as pe, selectRealScaleType as me, selectRenderableAxisSettings as he, svgPropertiesAndEvents as O, svgPropertiesNoEvents as k, svgPropertiesNoEventsFromUnknown as ge, tone as _e, useAppDispatch as ve, useAppSelector as A, useIsPanorama as ye, usePolarChartLayout as be } from "./peach-app.chart-tip-CSA44p1l.js";+import { CHART_CARD as e, CategoryTick as t, ChartEmpty as n, ChartHead as r, ChartTip as i, Dot as a, EvilBarChart as o, Layer as s, TIP_SURFACE as c, TIP_SWATCH as l, Text as u, TipRow as d, ZIndexLayer as f, adaptEventsOfChild as p, addAngleAxis as m, categoryAxisWidth as h, combineAxisTicks as g, combineCategoricalDomain as _, combineConfiguredScale as v, combineGraphicalItemTicks as y, createSelector as b, defaultPolarAngleAxisProps as x, degreeToRadian as S, getAxisTypeBasedOnLayout as ee, getClassNameFromUnknown as te, noop as ne, pickAxisType as C, polarToCartesian as w, rechartsScaleFactory as re, removeAngleAxis as ie, resolveDefaultProps as ae, roundTemplateLiteral as oe, selectAngleAxis as T, selectAngleAxisRangeWithReversed as se, selectChartLayout as E, selectDuplicateDomain as D, selectPolarAppliedValues as ce, selectPolarAxisCheckedDomain as le, selectPolarNiceTicks as ue, selectPolarViewBox as de, selectRadiusAxis as fe, selectRadiusAxisRangeWithReversed as pe, selectRealScaleType as me, selectRenderableAxisSettings as he, svgPropertiesAndEvents as O, svgPropertiesNoEvents as k, svgPropertiesNoEventsFromUnknown as ge, tone as _e, useAppDispatch as ve, useAppSelector as A, useIsPanorama as ye, usePolarChartLayout as be } from "./peach-app.chart-tip-Dv3VREj-.js";import { __toESM as xe, clsx as j, f1 as Se, require_jsx_runtime as Ce, require_react as we } from "./peach-app.js";// node_modules/recharts/es6/shape/Polygon.jsvar M = /* @__PURE__ */ xe(we()), Te = [@@ -624,4 +624,4 @@ function ct({ children: e, className: t = "", previewCount: n = 10 }) {}export { st as ActivityHeat, Y as BAR_DOMAIN, Qe as BarCard, ct as ExpandableRanking, q as PolarAngleAxis, I as Polygon, X as barLabel, z as selectPolarAxisScale, V as selectPolarAxisTicks, Pe as selectPolarGraphicalItemAxisTicks };-//# debugId=a0e57136-67d3-4921-9ac7-16078f8a818d\ No newline at end of file+//# debugId=db98772f-5dcd-459b-a208-05e648c064b2\ No newline at end of filediff --git a/web/dist/peach-app.js b/web/dist/peach-app.jsindex b22f58c94..89f792d08 100644--- a/web/dist/peach-app.js+++ b/web/dist/peach-app.js@@ -2,7 +2,7 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "bfe0b3c3-2688-4dbb-9446-19fc79c0fce9", e._sentryDebugIdIdentifier = "sentry-dbid-bfe0b3c3-2688-4dbb-9446-19fc79c0fce9");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "5143d984-db3a-4d75-9c58-957fda8c1dec", e._sentryDebugIdIdentifier = "sentry-dbid-5143d984-db3a-4d75-9c58-957fda8c1dec");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, n) => {@@ -2297,7 +2297,7 @@ var k = /* @__PURE__ */ o(((e) => {}function hi(e) {if (e == null || typeof e == "string") return e;- var t = null, n = Pd;+ var t = null, n = W;if (n !== null) for (var r = 0; r < n.length; r++) {var i = e[n[r]];if (i != null) {@@ -6250,7 +6250,7 @@ var k = /* @__PURE__ */ o(((e) => {cacheSignal: function() {return Ca(ka).controller.signal;}- }, td = typeof WeakMap == "function" ? WeakMap : Map, nd = 0, rd = null, id = null, ad = 0, od = 0, sd = null, cd = !1, ld = !1, ud = !1, dd = 0, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = null, yd = null, bd = !1, xd = 0, Sd = 0, Cd = Infinity, wd = null, Td = null, Ed = 0, Dd = null, Od = null, kd = 0, Ad = 0, jd = null, Md = null, Nd = null, W = null, Pd = null, Fd = 0, Id = null;+ }, td = typeof WeakMap == "function" ? WeakMap : Map, nd = 0, rd = null, id = null, ad = 0, od = 0, sd = null, cd = !1, ld = !1, ud = !1, dd = 0, fd = 0, pd = 0, md = 0, hd = 0, gd = 0, _d = 0, vd = null, yd = null, bd = !1, xd = 0, Sd = 0, Cd = Infinity, wd = null, Td = null, Ed = 0, Dd = null, Od = null, kd = 0, Ad = 0, jd = null, Md = null, Nd = null, Pd = null, W = null, Fd = 0, Id = null;function Ld() {return nd & 2 && ad !== 0 ? ad & -ad : he.T === null ? xt() : Vf();}@@ -6266,7 +6266,7 @@ var k = /* @__PURE__ */ o(((e) => {function zd(e, t) {if (t != null) {var n = e.stateNode, r = n.ref;- r === null && (r = n.ref = Up(mi(e.memoizedProps, n))), W === null && (W = []), W.push(t.bind(null, r));+ r === null && (r = n.ref = Up(mi(e.memoizedProps, n))), Pd === null && (Pd = []), Pd.push(t.bind(null, r));}}function Bd(e, t, n) {@@ -6611,7 +6611,7 @@ var k = /* @__PURE__ */ o(((e) => {}function uf(e, t, n, r, i, a, o) {var s = t.lanes | t.childLanes;- if (Ad = s, s |= bi, ht(e, n, s, r, i, a), W = null, (n & 335544064) === n ? (Pd = Pa(e), r = 10262) : (Pd = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Ef(Ke, function() {+ if (Ad = s, s |= bi, ht(e, n, s, r, i, a), Pd = null, (n & 335544064) === n ? (W = Pa(e), r = 10262) : (W = null, r = 10256), (t.subtreeFlags & r) !== 0 || (t.flags & r) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, Ef(Ke, function() {return vf(), null;})) : (e.callbackNode = null, e.callbackPriority = 0), Vl = !1, r = !!(t.flags & 13878), t.subtreeFlags & 13878 || r) {r = he.T, he.T = null, i = I.p, I.p = 2, a = nd, nd |= 4;@@ -6621,7 +6621,7 @@ var k = /* @__PURE__ */ o(((e) => {nd = a, I.p = i, he.T = r;}}- Ed = 1, Vl ? Nd = Vp(o, e.containerInfo, Pd, pf, mf, ff, hf, vf, df, null, null) : (pf(), mf(), hf());+ Ed = 1, Vl ? Nd = Vp(o, e.containerInfo, W, pf, mf, ff, hf, vf, df, null, null) : (pf(), mf(), hf());}function df(e) {if (Ed !== 0) {@@ -6719,7 +6719,7 @@ var k = /* @__PURE__ */ o(((e) => {he.T = n, I.p = a;}}- if (i = W, o = Pd, Pd = null, i !== null && (W = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);+ if (i = Pd, o = W, W = null, i !== null && (Pd = null, o === null && (o = []), e !== null)) for (c = 0; c < i.length; c++) n = (0, i[c])(o), n !== void 0 && e.finished.finally(n);kd & 3 && _f(), Nf(t), a = t.pendingLanes, r & 261930 && a & 42 ? t === Id ? Fd++ : (Fd = 0, Id = t) : (Fd = 0, Id = null), Pf(0, !1);}}@@ -14353,11 +14353,10 @@ var rd = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "nanticipate: Ju}, ad = (e) => typeof e == "string", od = (e) => {if (/* @__PURE__ */ rd(e)) {- e.length;let [t, n, r, i] = e;return /* @__PURE__ */ Hu(t, n, r, i);}- return ad(e) ? (id[e], `${e}`, id[e]) : e;+ return ad(e) ? id[e] : e;}, sd = {delta: 0,timestamp: 0,@@ -14408,51 +14407,53 @@ var Cd = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(test: /*@__PURE__*/ wd("rgb", "red"),parse: /*@__PURE__*/ Td("red", "green", "blue"),transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + Dd.transform(e) + ", " + Dd.transform(t) + ", " + Dd.transform(n) + ", " + dd(yd.transform(r)) + ")"+}, kd = (e, t, n) => {+ let r = e.substring(1 + t * n, 1 + (t + 1) * n);+ return n > 1 ? r : r + r;};-// node_modules/motion-dom/dist/es/value/types/color/hex.mjs-function kd(e) {- let t = "", n = "", r = "", i = "";- return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {- red: parseInt(t, 16),- green: parseInt(n, 16),- blue: parseInt(r, 16),- alpha: i ? parseInt(i, 16) / 255 : 1+function Ad(e) {+ let t = e.length > 5 ? 2 : 1, n = kd(e, 3, t);+ return {+ red: parseInt(kd(e, 0, t), 16),+ green: parseInt(kd(e, 1, t), 16),+ blue: parseInt(kd(e, 2, t), 16),+ alpha: n ? parseInt(n, 16) / 255 : 1};}-var Ad = {+var jd = {test: /*@__PURE__*/ wd("#"),- parse: kd,+ parse: Ad,transform: Od.transform-}, jd = /* @__NO_SIDE_EFFECTS__ */ (e) => ({+}, Md = /* @__NO_SIDE_EFFECTS__ */ (e) => ({test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,parse: parseFloat,transform: (t) => `${t}${e}`-}), Md = /*@__PURE__*/ jd("deg"), Nd = /*@__PURE__*/ jd("%"), W = /*@__PURE__*/ jd("px"), Pd = /*@__PURE__*/ jd("vh"), Fd = /*@__PURE__*/ jd("vw"), Id = {- ...Nd,- parse: (e) => Nd.parse(e) / 100,- transform: (e) => Nd.transform(e * 100)-}, Ld = {+}), Nd = /*@__PURE__*/ Md("deg"), Pd = /*@__PURE__*/ Md("%"), W = /*@__PURE__*/ Md("px"), Fd = /*@__PURE__*/ Md("vh"), Id = /*@__PURE__*/ Md("vw"), Ld = {+ ...Pd,+ parse: (e) => Pd.parse(e) / 100,+ transform: (e) => Pd.transform(e * 100)+}, Rd = {test: /*@__PURE__*/ wd("hsl", "hue"),parse: /*@__PURE__*/ Td("hue", "saturation", "lightness"),- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Nd.transform(dd(t)) + ", " + Nd.transform(dd(n)) + ", " + dd(yd.transform(r)) + ")"-}, Rd = {- test: (e) => Od.test(e) || Ad.test(e) || Ld.test(e),- parse: (e) => Od.test(e) ? Od.parse(e) : Ld.test(e) ? Ld.parse(e) : Ad.parse(e),- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Od.transform(e) : Ld.transform(e),+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Pd.transform(dd(t)) + ", " + Pd.transform(dd(n)) + ", " + dd(yd.transform(r)) + ")"+}, zd = {+ test: (e) => Od.test(e) || jd.test(e) || Rd.test(e),+ parse: (e) => Od.test(e) ? Od.parse(e) : Rd.test(e) ? Rd.parse(e) : jd.parse(e),+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? Od.transform(e) : Rd.transform(e),getAnimatableNone: (e) => {- let t = Rd.parse(e);- return t.alpha = 0, Rd.transform(t);+ let t = zd.parse(e);+ return t.alpha = 0, zd.transform(t);}-}, zd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, Bd = /*@__PURE__*/ new RegExp(xd.source), Vd = /*@__PURE__*/ new RegExp(zd.source, "i");-function Hd(e) {- return isNaN(e) && typeof e == "string" && (Bd.test(e) || Vd.test(e));+}, Bd = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu, Vd = /*@__PURE__*/ new RegExp(xd.source), Hd = /*@__PURE__*/ new RegExp(Bd.source, "i");+function Ud(e) {+ return isNaN(e) && typeof e == "string" && (Vd.test(e) || Hd.test(e));}-var Ud = "number", Wd = "color", Gd = "var", Kd = "var(", qd = "${}", Jd = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;-function Yd(e) {+var Wd = "number", Gd = "color", Kd = "var", qd = "var(", Jd = "${}", Yd = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)(?![a-z]*\()/giu;+function Xd(e) {let t = e.toString();- return Bd.test(t) || Vd.test(t);+ return Vd.test(t) || Hd.test(t);}-function Xd(e) {+function Zd(e) {let t = e.toString(), n = [], r = {color: [],number: [],@@ -14460,50 +14461,50 @@ function Xd(e) {}, i = [], a = 0;return {values: n,- split: t.replace(Jd, (e) => (Rd.test(e) ? (r.color.push(a), i.push(Wd), n.push(Rd.parse(e))) : e.startsWith(Kd) ? (r.var.push(a), i.push(Gd), n.push(e)) : (r.number.push(a), i.push(Ud), n.push(parseFloat(e))), ++a, qd)).split(qd),+ split: t.replace(Yd, (e) => (zd.test(e) ? (r.color.push(a), i.push(Gd), n.push(zd.parse(e))) : e.startsWith(qd) ? (r.var.push(a), i.push(Kd), n.push(e)) : (r.number.push(a), i.push(Wd), n.push(parseFloat(e))), ++a, Jd)).split(Jd),indexes: r,types: i};}-function Zd(e) {- return Xd(e).values;+function Qd(e) {+ return Zd(e).values;}-function Qd({ split: e, types: t }) {+function $d({ split: e, types: t }) {let n = e.length;return (r) => {let i = "";for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {let e = t[a];- i += e === Ud ? dd(r[a]) : e === Wd ? Rd.transform(r[a]) : r[a];+ i += e === Wd ? dd(r[a]) : e === Gd ? zd.transform(r[a]) : r[a];}return i;};}-function $d(e) {- return Qd(Xd(e));+function ef(e) {+ return $d(Zd(e));}-var ef = (e) => typeof e == "number" ? 0 : Rd.test(e) ? Rd.getAnimatableNone(e) : e, tf = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : ef(e);-function nf(e) {- let t = Xd(e);- return Qd(t)(t.values.map((e, n) => tf(e, t.split[n])));+var tf = (e) => typeof e == "number" ? 0 : zd.test(e) ? zd.getAnimatableNone(e) : e, nf = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : tf(e);+function rf(e) {+ let t = Zd(e);+ return $d(t)(t.values.map((e, n) => nf(e, t.split[n])));}-var rf = {- test: Hd,- parse: Zd,- createTransformer: $d,- getAnimatableNone: nf+var af = {+ test: Ud,+ parse: Qd,+ createTransformer: ef,+ getAnimatableNone: rf};// node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs-function af(e, t, n) {+function of(e, t, n) {return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;}-function of({ hue: e, saturation: t, lightness: n, alpha: r }) {+function sf({ hue: e, saturation: t, lightness: n, alpha: r }) {e /= 360, t /= 100, n /= 100;let i = 0, a = 0, o = 0;if (!t) i = a = o = n;else {let r = n < .5 ? n * (1 + t) : n + t - n * t, s = 2 * n - r;- i = af(s, r, e + 1 / 3), a = af(s, r, e), o = af(s, r, e - 1 / 3);+ i = of(s, r, e + 1 / 3), a = of(s, r, e), o = of(s, r, e - 1 / 3);}return {red: Math.round(i * 255),@@ -14513,59 +14514,59 @@ function of({ hue: e, saturation: t, lightness: n, alpha: r }) {};}// node_modules/motion-dom/dist/es/utils/mix/immediate.mjs-function sf(e, t) {+function cf(e, t) {return (n) => n > 0 ? t : e;}// node_modules/motion-dom/dist/es/utils/mix/number.mjs-var cf = (e, t, n) => e + (t - e) * n, lf = (e, t, n) => {+var lf = (e, t, n) => e + (t - e) * n, uf = (e, t, n) => {let r = e * e, i = n * (t * t - r) + r;return i < 0 ? 0 : Math.sqrt(i);-}, uf = [- Ad,+}, df = [+ jd,Od,- Ld-], df = (e) => uf.find((t) => t.test(e));-function ff(e) {- let t = df(e);- if (!t) return `${e}`, !1;+ Rd+], ff = (e) => df.find((t) => t.test(e));+function pf(e) {+ let t = ff(e);+ if (!t) return !1;let n = t.parse(e);- return t === Ld && (n = of(n)), n;+ return t === Rd && (n = sf(n)), n;}-var pf = (e, t) => {- let n = ff(e), r = ff(t);- if (!n || !r) return sf(e, t);+var mf = (e, t) => {+ let n = pf(e), r = pf(t);+ if (!n || !r) return cf(e, t);let i = { ...n };- return (e) => (i.red = lf(n.red, r.red, e), i.green = lf(n.green, r.green, e), i.blue = lf(n.blue, r.blue, e), i.alpha = cf(n.alpha, r.alpha, e), Od.transform(i));-}, mf = /* @__PURE__ */ new Set(["none", "hidden"]);-function hf(e, t) {- return mf.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;+ return (e) => (i.red = uf(n.red, r.red, e), i.green = uf(n.green, r.green, e), i.blue = uf(n.blue, r.blue, e), i.alpha = lf(n.alpha, r.alpha, e), Od.transform(i));+}, hf = /* @__PURE__ */ new Set(["none", "hidden"]);+function gf(e, t) {+ return hf.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;}// node_modules/motion-dom/dist/es/utils/mix/complex.mjs-function gf(e, t) {- return (n) => cf(e, t, n);+function _f(e, t) {+ return (n) => lf(e, t, n);}-function _f(e) {- return typeof e == "number" ? gf : typeof e == "string" ? hd(e) ? sf : Rd.test(e) ? pf : xf : Array.isArray(e) ? vf : typeof e == "object" ? Rd.test(e) ? pf : yf : sf;+function vf(e) {+ return typeof e == "number" ? _f : typeof e == "string" ? hd(e) ? cf : zd.test(e) ? mf : Sf : Array.isArray(e) ? yf : typeof e == "object" ? zd.test(e) ? mf : bf : cf;}-function vf(e, t) {- let n = [...e], r = n.length, i = e.map((e, n) => _f(e)(e, t[n]));+function yf(e, t) {+ let n = [...e], r = n.length, i = e.map((e, n) => vf(e)(e, t[n]));return (e) => {for (let t = 0; t < r; t++) n[t] = i[t](e);return n;};}-function yf(e, t) {+function bf(e, t) {let n = {...e,...t}, r = {};- for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = _f(e[i])(e[i], t[i]));+ for (let i in n) e[i] !== void 0 && t[i] !== void 0 && (r[i] = vf(e[i])(e[i], t[i]));return (e) => {for (let t in r) n[t] = r[t](e);return n;};}-function bf(e, t) {+function xf(e, t) {let n = [], r = {color: 0,var: 0,@@ -14577,28 +14578,28 @@ function bf(e, t) {}return n;}-var xf = (e, t) => {- let n = rf.createTransformer(t), r = Xd(e), i = Xd(t);- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? mf.has(e) && !i.values.length || mf.has(t) && !r.values.length ? hf(e, t) : Pu(vf(bf(r, i), i.values), n) : (`${e}${t}`, sf(e, t));-}, Sf = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;-function Cf(e, t) {- let n = Sf.exec(e);+var Sf = (e, t) => {+ let n = Zd(e), r = Zd(t);+ return n.indexes.var.length === r.indexes.var.length && n.indexes.color.length === r.indexes.color.length && n.indexes.number.length >= r.indexes.number.length ? hf.has(e) && !r.values.length || hf.has(t) && !n.values.length ? gf(e, t) : Pu(yf(xf(n, r), r.values), $d(r)) : cf(e, t);+}, Cf = /^(-?(?:\d+(?:\.\d*)?|\.\d+))([a-z%]*)$/iu;+function wf(e, t) {+ let n = Cf.exec(e);if (!n) return;- let r = Sf.exec(t);+ let r = Cf.exec(t);if (!r || n[2] !== r[2]) return;let i = n[2], a = parseFloat(n[1]), o = parseFloat(r[1]);- return (e) => dd(cf(a, o, e)) + i;+ return (e) => dd(lf(a, o, e)) + i;}-function wf(e, t, n) {- if (typeof e == "number" && typeof t == "number" && typeof n == "number") return cf(e, t, n);+function Tf(e, t, n) {+ if (typeof e == "number" && typeof t == "number" && typeof n == "number") return lf(e, t, n);if (typeof e == "string" && typeof t == "string") {- let n = Cf(e, t);+ let n = wf(e, t);if (n) return n;}- return _f(e)(e, t);+ return vf(e)(e, t);}// node_modules/motion-dom/dist/es/frameloop/order.mjs-var Tf = [+var Ef = ["setup","read","resolveKeyframes",@@ -14609,7 +14610,7 @@ var Tf = ["postRender"];// node_modules/motion-dom/dist/es/frameloop/render-step.mjs-function Ef(e) {+function Df(e) {let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a, o = /* @__PURE__ */ new Set(), s = {delta: 0,timestamp: 0,@@ -14639,55 +14640,55 @@ function Ef(e) {return l;}// node_modules/motion-dom/dist/es/frameloop/batcher.mjs-var Df = 40;-function Of(e, t, n = {+var Of = 40;+function kf(e, t, n = {delta: 0,timestamp: 0,isProcessing: !1}) {- let r = !1, i = !0, a = () => r = !0, o = Tf.reduce((e, t) => (e[t] = Ef(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {+ let r = !1, i = !0, a = () => r = !0, o = Ef.reduce((e, t) => (e[t] = Df(a), e), {}), { setup: s, read: c, resolveKeyframes: l, preUpdate: u, update: d, preRender: f, render: p, postRender: m } = o, h = () => {let a = Ou.useManualTiming, o = a ? n.timestamp : performance.now();- r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, Df), 1)), n.timestamp = o, n.isProcessing = !0, s.process(n), c.process(n), l.process(n), u.process(n), d.process(n), f.process(n), p.process(n), m.process(n), n.isProcessing = !1, r && t && (i = !1, e(h));+ r = !1, a || (n.delta = i ? 1e3 / 60 : Math.max(Math.min(o - n.timestamp, Of), 1)), n.timestamp = o, n.isProcessing = !0, s.process(n), c.process(n), l.process(n), u.process(n), d.process(n), f.process(n), p.process(n), m.process(n), n.isProcessing = !1, r && t && (i = !1, e(h));}, g = () => {r = !0, i = !0, n.isProcessing || e(h);};return {- schedule: Tf.reduce((e, t) => {+ schedule: Ef.reduce((e, t) => {let n = o[t];return e[t] = (e, t = !1, i = !1) => (r || g(), n.schedule(e, t, i)), e;}, {}),cancel: (e) => {- for (let t = 0; t < Tf.length; t++) o[Tf[t]].cancel(e);+ for (let t = 0; t < Ef.length; t++) o[Ef[t]].cancel(e);},state: n,steps: o};}// node_modules/motion-dom/dist/es/frameloop/frame.mjs-var { schedule: kf, cancel: Af, steps: jf } = /* @__PURE__ */ Of(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Nu, !0, sd), Mf = (e) => {+var { schedule: Af, cancel: jf, steps: Mf } = /* @__PURE__ */ kf(typeof requestAnimationFrame < "u" ? requestAnimationFrame : Nu, !0, sd), Nf = (e) => {let t = ({ timestamp: t }) => e(t);return {- start: (e = !0) => kf.update(t, e),- stop: () => Af(t),+ start: (e = !0) => Af.update(t, e),+ stop: () => jf(t),now: () => sd.isProcessing ? sd.timestamp : ud.now()};-}, Nf = (e, t, n = 10) => {+}, Pf = (e, t, n = 10) => {let r = "", i = Math.max(Math.round(t / n), 2);for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";return `linear(${r.substring(0, r.length - 2)})`;-}, Pf = 2e4;-function Ff(e, t = 50, n = Pf, r) {+}, Ff = 2e4;+function If(e, t = 50, n = Ff, r) {let i = 0, a = e.next(i);for (r?.push(a.value); !a.done && i < n;) i += t, a = e.next(i), r?.push(a.value);return i >= n ? Infinity : i;}// node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs-function If(e, t = 100, n) {+function Lf(e, t = 100, n) {let { keyframes: r, velocity: i } = e, a = r && r[r.length - 1] - r[0], o = n({...e,velocity: i && a ? i * t / a : i,keyframes: [0, t]- }), s = Math.min(Ff(o), Pf);+ }), s = Math.min(If(o), Ff);return {type: "keyframes",ease: (e) => o.next(s * e).value / t,@@ -14695,81 +14696,61 @@ function If(e, t = 100, n) {};}// node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var Lf = {- stiffness: 100,- damping: 10,- mass: 1,- duration: 800,- bounce: .3,- visualDuration: .3,- restSpeed: {- granular: .01,- default: 2- },- restDelta: {- granular: .005,- default: .5- },- minDuration: .01,- maxDuration: 10,- minDamping: .05-}, Rf = (e) => e < 0 ? 1 / Math.max(1 + e, Lf.minDamping) : Math.max(1 - e, Lf.minDamping);-function zf(e, t) {+var Rf = 100, zf = 10, Bf = 1, Vf = 800, Hf = .3, Uf = .3, Wf = .01, Gf = 2, Kf = .005, qf = .5, Jf = .01, Yf = 10, Xf = .05, Zf = (e) => e < 0 ? 1 / Math.max(1 + e, Xf) : Math.max(1 - e, Xf);+function Qf(e, t) {if (!(e > 1)) return 1;let n = Math.sqrt(e * e - 1), r = e - n, i = e + n, a = 2 * n * Math.exp(-t) * (1 + t);- return Hf((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return tp((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function Bf(e, t) {+function $f(e, t) {return e * Math.sqrt(1 - t * t);}-var Vf = 12;-function Hf(e, t, n) {+var ep = 12;+function tp(e, t, n) {let r = n;- for (let n = 1; n < Vf; n++) r -= e(r) / t(r);+ for (let n = 1; n < ep; n++) r -= e(r) / t(r);return r;}-var Uf = .001;-function Wf({ duration: e = Lf.duration, bounce: t = Lf.bounce }) {- let n, r;- Lf.maxDuration;- let i = Rf(t);- e = Du(Lf.minDuration, Lf.maxDuration, /* @__PURE__ */ Ru(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = Bf(t, i), o = Math.exp(-r);- return Uf - n / a * o;+var np = .001;+function rp({ duration: e = Vf, bounce: t = Hf }) {+ let n, r, i = Zf(t);+ e = Du(Jf, Yf, /* @__PURE__ */ Ru(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = $f(t, i), o = Math.exp(-r);+ return np - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Bf(t * t, i);- return (-n(t) + Uf > 0 ? -1 : 1) * -a * o / s;+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = $f(t * t, i);+ return (-n(t) + np > 0 ? -1 : 1) * -a * o / s;}) : (n = (t) => -.001 + Math.exp(-t * e) * (t * e + 1), r = (t) => Math.exp(-t * e) * (-t * (e * e)));- let a = 5 / e, o = Hf(n, r, a), s = o * zf(i, o * e), c = s * s;+ let a = 5 / e, o = tp(n, r, a), s = o * Qf(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),duration: /* @__PURE__ */ Lu(e)};}-var Gf = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function Kf(e, t) {- if (Gf(e, t)) return e;+var ip = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function ap(e, t) {+ if (ip(e, t)) return e;}-function qf(e) {- let t = Kf(e.stiffness), n = Kf(e.damping, !0), r = Kf(e.mass), i = {+function op(e) {+ let t = ap(e.stiffness), n = ap(e.damping, !0), r = ap(e.mass), i = {...e,- stiffness: t ?? Lf.stiffness,- damping: n ?? Lf.damping,- mass: r ?? Lf.mass,+ stiffness: t ?? Rf,+ damping: n ?? zf,+ mass: r ?? Bf,isResolvedFromDuration: !1,isTimeDefined: (t ?? n ?? r) === void 0 && (e.duration !== void 0 || e.bounce !== void 0)};if (i.isTimeDefined) {if (e.visualDuration) {- let t = Rf(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * zf(t, 2 * Math.PI / 1.2);+ let t = Zf(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Qf(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);- } else Object.assign(i, Wf(i)), i.isResolvedFromDuration = !0;- Gf(i.stiffness) && Gf(i.damping, !0) || (i.stiffness = Lf.stiffness, i.damping = Lf.damping);+ } else Object.assign(i, rp(i)), i.isResolvedFromDuration = !0;+ ip(i.stiffness) && ip(i.damping, !0) || (i.stiffness = Rf, i.damping = zf);}return i;}-function Jf(e = Lf.visualDuration, t = Lf.bounce) {+function sp(e = Uf, t = Hf) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -14777,7 +14758,7 @@ function Jf(e = Lf.visualDuration, t = Lf.bounce) {}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {done: !1,value: r- }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = qf({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Ru(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Ru(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = op({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Ru(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Ru(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -14785,12 +14766,12 @@ function Jf(e = Lf.visualDuration, t = Lf.bounce) {restDelta: 0}, _ = () => {let e = Math.abs(g.delta) < 5;- g.restSpeed = n.restSpeed || (e ? Lf.restSpeed.granular : Lf.restSpeed.default), g.restDelta = n.restDelta || (e ? Lf.restDelta.granular : Lf.restDelta.default);+ g.restSpeed = n.restSpeed || (e ? Wf : Gf), g.restDelta = n.restDelta || (e ? Kf : qf);};_();let v, y, b;if (p < 1) {- let e = Bf(m, p), t = {+ let e = $f(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -14813,7 +14794,7 @@ function Jf(e = Lf.visualDuration, t = Lf.bounce) {e.C = g.velocity + m * g.delta;}, y = (t) => Math.exp(-m * t) * (m * e.C * t - g.velocity);} else {- let e = m * Math.sqrt(p * p - 1), t = h - e, n = h + e, r = d ? Infinity : 300 / e, i = (e, t) => Math.exp(t > r ? -e * r - h * (t - r) : -e * t), a = {+ let e = m * Math.sqrt(p * p - 1), t = h - e, n = h + e, r = e < 1 || d ? Infinity : 300 / e, i = (e, t) => Math.exp(t > r ? (h - e) * r - h * t : -e * t), a = {S: 0,F: 0};@@ -14839,29 +14820,29 @@ function Jf(e = Lf.visualDuration, t = Lf.bounce) {return a.value = a.done ? g.target : t, a;},toString: () => {- let e = Math.min(Ff(S), Pf), t = Nf((t) => S.next(e * t).value, e, 30);+ let e = Math.min(If(S), Ff), t = Pf((t) => S.next(e * t).value, e, 30);return e + "ms " + t;},toTransition: () => {}};return S;}-var Yf = /* @__PURE__ */ Object.assign(Jf, { applyToOptions: (e) => {- let t = If(e, 100, Jf);+var cp = /* @__PURE__ */ Object.assign(sp, { applyToOptions: (e) => {+ let t = Lf(e, 100, sp);return e.ease = t.ease, e.duration = /* @__PURE__ */ Lu(t.duration), e.type = "keyframes", e;} });// node_modules/motion-dom/dist/es/animation/generators/inertia.mjs-function Xf({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {+function lp({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {let d = e[0], f = {done: !1,value: d- }, p = (e) => e < s || e > c, m = (e) => s === void 0 ? c : c === void 0 || Math.abs(s - e) < Math.abs(c - e) ? s : c, h = n * t, g = d + h, _ = o === void 0 ? g : o(g);+ }, p = (e) => e < s || e > c, m = (e) => s === void 0 ? c : c === void 0 || Math.abs(s - e) < Math.abs(c - e) ? s : c, h = n * t, g = d + h, _ = o ? o(g) : g;_ !== g && (h = _ - d);let v = (e) => -h * Math.exp(-e / r), y = (e) => {let t = v(e);- f.done = Math.abs(t) <= l, f.value = f.done ? _ : _ + t;+ f.done = Math.abs(t) <= l, f.value = f.done ? _ : e ? _ + t : d;}, b, x, S = (e) => {- p(f.value) && (b = e, x = Yf({+ p(f.value) && (b = e, x = cp({keyframes: [f.value, m(f.value)],velocity: -v(e) / r * 1e3,damping: i,@@ -14879,21 +14860,21 @@ function Xf({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32};}// node_modules/motion-dom/dist/es/utils/interpolate.mjs-function Zf(e, t, n) {- let r = [], i = n || Ou.mix || wf, a = e.length - 1;+function up(e, t, n) {+ let r = [], i = n || Ou.mix || Tf, a = e.length - 1;for (let n = 0; n < a; n++) {let a = i(e[n], e[n + 1]);t && (a = Pu(Array.isArray(t) ? t[n] || Nu : t, a)), r.push(a);}return r;}-function Qf(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {+function dp(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {let a = e.length;- if (t.length, a === 1) return () => t[0];+ if (a === 1) return () => t[0];if (a === 2 && t[0] === t[1]) return () => t[1];let o = e[0] === e[1];e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());- let s = Zf(t, r, i), c = s.length, l = (n) => {+ let s = up(t, r, i), c = s.length, l = (n) => {if (o && n < e[0]) return t[0];let r = 0;if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);@@ -14903,74 +14884,74 @@ function Qf(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {return n ? (t) => l(Du(e[0], e[a - 1], t)) : l;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs-function $f(e, t) {+function fp(e, t) {let n = e[e.length - 1];for (let r = 1; r <= t; r++) {let i = /* @__PURE__ */ Fu(0, t, r);- e.push(cf(n, 1, i));+ e.push(lf(n, 1, i));}}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs-function ep(e) {+function pp(e) {let t = [0];- return $f(t, e.length - 1), t;+ return fp(t, e.length - 1), t;}// node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs-function tp(e, t) {+function mp(e, t) {return e.map((e) => e * t);}// node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs-function np(e, t) {+function hp(e, t) {return e.map(() => t || ed).splice(0, e.length - 1);}-function rp({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {+function gp({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {let i = /* @__PURE__ */ td(r) ? r.map(od) : od(r) || ed, a = {done: !1,value: t[0]};if (t.length === 2 && !Array.isArray(i) && (!n || n.length !== 2 || n[0] === 0 && n[1] === 1)) {- let [n, r] = t, o = n === r ? void 0 : (Ou.mix || wf)(n, r);+ let [n, r] = t, o = n === r ? void 0 : (Ou.mix || Tf)(n, r);return {calculatedDuration: e,next: (t) => (a.value = o ? o(i(e > 0 ? Du(0, 1, t / e) : 1)) : r, a.done = t >= e, a)};}- let o = Qf(tp(n && n.length === t.length ? n : ep(t), e), t, { ease: Array.isArray(i) ? i : np(t, i) });+ let o = dp(mp(n && n.length === t.length ? n : pp(t), e), t, { ease: Array.isArray(i) ? i : hp(t, i) });return {calculatedDuration: e,next: (t) => (a.value = o(t), a.done = t >= e, a)};}// node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs-var ip = 5;-function ap(e, t, n) {- let r = Math.max(t - ip, 0);+var _p = 5;+function vp(e, t, n) {+ let r = Math.max(t - _p, 0);return /* @__PURE__ */ zu(n - e(r), t - r);}-function op(e, t, n = 0) {- return t <= 0 ? n : e.velocity ? e.velocity(t) : ap((t) => e.next(t).value, t, e.next(t).value);+function yp(e, t, n = 0) {+ return t <= 0 ? n : e.velocity ? e.velocity(t) : vp((t) => e.next(t).value, t, e.next(t).value);}// node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs-var sp = (e) => e !== null;-function cp(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {- let a = e.filter(sp), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;+var bp = (e) => e !== null;+function xp(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(bp), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;return !o || r === void 0 ? a[o] : r;}// node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs-var lp = {- decay: Xf,- inertia: Xf,- tween: rp,- keyframes: rp,- spring: Yf+var Sp = {+ decay: lp,+ inertia: lp,+ tween: gp,+ keyframes: gp,+ spring: cp};-function up(e) {- typeof e.type == "string" && (e.type = lp[e.type]);+function Cp(e) {+ typeof e.type == "string" && (e.type = Sp[e.type]);}// node_modules/motion-dom/dist/es/animation/utils/resolve-start-time.mjs-var dp = 40, fp = (e, t) => t - e > dp && !Ou.useManualTiming ? t : e;+var wp = 40, Tp = (e, t) => t - e > wp && !Ou.useManualTiming ? t : e;// node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function pp(e, t) {+function Ep(e, t) {return {kind: e,animation: t,@@ -14979,11 +14960,11 @@ function pp(e, t) {frameIsProcessing: sd.isProcessing};}-function mp(e, t, n) {+function Dp(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...pp("animation-start", e),+ ...Ep("animation-start", e),options: n ? {...t,...n@@ -14991,17 +14972,17 @@ function mp(e, t, n) {});} catch {}}-function hp(e, t) {+function Op(e, t) {let n = globalThis.__MOTION_INSPECT__;if (n) try {n({- ...pp("layout-animation-start", e),+ ...Ep("layout-animation-start", e),node: t});} catch {}}// node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var gp = class {+var kp = class {constructor() {this.isResolved = !1;}@@ -15019,7 +15000,7 @@ var gp = class {then(e, t) {return this.finished.then(e, t);}-}, _p = (e) => e / 100, vp = (e) => Math.round(e * 1e4) / 1e4, yp = class extends gp {+}, Ap = (e) => e / 100, jp = (e) => Math.round(e * 1e4) / 1e4, Mp = class extends kp {constructor(e) {super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {done: !1,@@ -15027,13 +15008,13 @@ var gp = class {}, this.stop = () => {let { motionValue: e } = this.options;e && e.updatedAt !== ud.now() && this.tick(ud.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), mp(this, this.options);+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Dp(this, this.options);}initAnimation() {let { options: e } = this;- up(e);- let { type: t = rp, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || rp;- s !== rp && typeof o[0] != "number" && (this.mixKeyframes = Pu(_p, wf(o[0], o[1])), o = [0, 100]);+ Cp(e);+ let { type: t = gp, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || gp;+ s !== gp && typeof o[0] != "number" && (this.mixKeyframes = Pu(Ap, Tf(o[0], o[1])), o = [0, 100]);let c = s(o === e.keyframes ? e : {...e,keyframes: o@@ -15042,32 +15023,31 @@ var gp = class {...e,keyframes: [...o].reverse(),velocity: -a- })), c.calculatedDuration === null && (c.calculatedDuration = Ff(c));+ })), c.calculatedDuration === null && (c.calculatedDuration = If(c));let { calculatedDuration: l } = c;this.calculatedDuration = l, this.resolvedDuration = l + r, this.totalDuration = this.resolvedDuration * (n + 1) - r, this.generator = c;}updateTime(e) {- let t = Math.round(e - this.startTime) * this.playbackSpeed;- this.currentTime = this.holdTime === null ? t : this.holdTime;+ this.currentTime = this.holdTime ?? Math.round(e - this.startTime) * this.playbackSpeed;}tick(e, t = !1) {let { generator: n, totalDuration: r, calculatedDuration: i } = this;if (this.startTime === null) return n.next(0);let { delay: a = 0, keyframes: o, type: s, onUpdate: c, finalKeyframe: l } = this.options;- this.startTime === this.pendingStartTime && (this.startTime = fp(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);+ this.startTime === this.pendingStartTime && (this.startTime = Tp(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);let u = this.currentTime - a * (this.playbackSpeed >= 0 ? 1 : -1), d = this.playbackSpeed >= 0 ? u < 0 : u > r;this.currentTime = Math.max(u, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);let f = this.generate(this.currentTime, d), { done: p } = f;- !d && i !== null && (p = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);+ d || (p = this.playbackSpeed >= 0 ? i < Infinity ? this.currentTime >= r : p : this.currentTime <= 0);let m = this.holdTime === null && (this.state === "finished" || this.state === "running" && p);- return m && s !== Xf && (f.value = cp(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;+ return m && s !== lp && (f.value = xp(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;}at(e) {- return this.holdTime ?? vp((e - this.startTime) * this.playbackSpeed);+ return this.holdTime ?? jp((e - this.startTime) * this.playbackSpeed);}sampleAt(e, t) {let { options: n, totalDuration: r } = this, i = this.at(e) - (n.delay || 0);- return i >= r && n.type !== Xf ? cp(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;+ return i >= r && n.type !== lp ? xp(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;}generate(e, t) {let { generator: n, totalDuration: r, mixKeyframes: i, mirroredGenerator: a, resolvedDuration: o } = this, { keyframes: s, repeat: c, repeatType: l, repeatDelay: u } = this.options, d = e, f = n;@@ -15078,15 +15058,11 @@ var gp = class {let p;return t ? (this.delayState.value = s[0], p = this.delayState) : p = f.next(d), i && !t && (p.value = i(p.value)), p;}- then(e, t) {- return this.finished.then(e, t);- }get duration() {return /* @__PURE__ */ Ru(this.calculatedDuration);}get iterationDuration() {- let { delay: e = 0 } = this.options || {};- return this.duration + /* @__PURE__ */ Ru(e);+ return this.duration + /* @__PURE__ */ Ru(this.options.delay ?? 0);}get time() {return /* @__PURE__ */ Ru(this.currentTime);@@ -15095,7 +15071,7 @@ var gp = class {e = /* @__PURE__ */ Lu(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));}getGeneratorVelocity() {- return op(this.generator, this.currentTime, this.options.velocity);+ return yp(this.generator, this.currentTime, this.options.velocity);}get speed() {return this.playbackSpeed;@@ -15106,7 +15082,7 @@ var gp = class {}play() {if (this.isStopped) return;- let { driver: e = Mf, startTime: t } = this.options;+ let { driver: e = Nf, startTime: t } = this.options;this.driver ||= e((e) => this.tick(e)), this.options.onPlay?.();let n = this.driver.now();this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? (this.pendingStartTime = n) : this.startTime = n - this.holdTime / (this.playbackSpeed || 1), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();@@ -15124,10 +15100,7 @@ var gp = class {this.holdTime = null, this.startTime = 0, this.tick(0), this.teardown(), this.options.onCancel?.();}teardown() {- this.state = "idle", this.stopDriver(), this.startTime = this.holdTime = null;- }- stopDriver() {- this.driver &&= (this.driver.stop(), void 0);+ this.state = "idle", this.driver?.stop(), this.driver = void 0, this.startTime = this.holdTime = null;}sample(e) {return this.startTime = 0, this.tick(e, !0);@@ -15135,51 +15108,51 @@ var gp = class {attachTimeline(e) {return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);}-}, bp = /* @__PURE__ */ new Set([+}, Np = /* @__PURE__ */ new Set(["brightness","contrast","saturate","opacity"]);-function xp(e) {+function Pp(e) {let [t, n] = e.slice(0, -1).split("(");if (t === "drop-shadow") return e;let [r] = n.match(xd) || [];if (!r) return e;- let i = n.replace(r, ""), a = +!!bp.has(t);+ let i = n.replace(r, ""), a = +!!Np.has(t);return r !== n && (a *= 100), t + "(" + a + i + ")";}-var Sp = /\b([a-z-]*)\(.*?\)/gu, Cp = {- ...rf,+var Fp = /\b([a-z-]*)\(.*?\)/gu, Ip = {+ ...af,getAnimatableNone: (e) => {- let t = e.match(Sp);- return t ? t.map(xp).join(" ") : e;+ let t = e.match(Fp);+ return t ? t.map(Pp).join(" ") : e;}-}, wp = {- ...rf,+}, Lp = {+ ...af,getAnimatableNone: (e) => {- let t = rf.parse(e);- return rf.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {+ let t = af.parse(e);+ return af.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {...e,alpha: 1} : e));}-}, Tp = {+}, Rp = {...vd,transform: Math.round-}, Ep = {- rotate: Md,- pathRotation: Md,- rotateX: Md,- rotateY: Md,- rotateZ: Md,+}, zp = {+ rotate: Nd,+ pathRotation: Nd,+ rotateX: Nd,+ rotateY: Nd,+ rotateZ: Nd,scale: bd,scaleX: bd,scaleY: bd,scaleZ: bd,- skew: Md,- skewX: Md,- skewY: Md,+ skew: Nd,+ skewX: Nd,+ skewY: Nd,distance: W,translateX: W,translateY: W,@@ -15190,10 +15163,10 @@ var Sp = /\b([a-z-]*)\(.*?\)/gu, Cp = {perspective: W,transformPerspective: W,opacity: yd,- originX: Id,- originY: Id,+ originX: Ld,+ originY: Ld,originZ: W-}, Dp = {+}, Bp = {borderWidth: W,borderTopWidth: W,borderRightWidth: W,@@ -15244,38 +15217,38 @@ var Sp = /\b([a-z-]*)\(.*?\)/gu, Cp = {fontSize: W,backgroundPositionX: W,backgroundPositionY: W,- ...Ep,- zIndex: Tp,+ ...zp,+ zIndex: Rp,fillOpacity: yd,strokeOpacity: yd,- numOctaves: Tp-}, Op = {- ...Dp,- color: Rd,- backgroundColor: Rd,- outlineColor: Rd,- fill: Rd,- stroke: Rd,- borderColor: Rd,- borderTopColor: Rd,- borderRightColor: Rd,- borderBottomColor: Rd,- borderLeftColor: Rd,- filter: Cp,- WebkitFilter: Cp,- mask: wp,- WebkitMask: wp-}, kp = (e) => Op[e], Ap = /*@__PURE__*/ new Set([Cp, wp]);-function jp(e, t) {- let n = kp(e);- return Ap.has(n) || (n = rf), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;+ numOctaves: Rp+}, Vp = {+ ...Bp,+ color: zd,+ backgroundColor: zd,+ outlineColor: zd,+ fill: zd,+ stroke: zd,+ borderColor: zd,+ borderTopColor: zd,+ borderRightColor: zd,+ borderBottomColor: zd,+ borderLeftColor: zd,+ filter: Ip,+ WebkitFilter: Ip,+ mask: Lp,+ WebkitMask: Lp+}, Hp = (e) => Vp[e], Up = /*@__PURE__*/ new Set([Ip, Lp]);+function Wp(e, t) {+ let n = Hp(e);+ return Up.has(n) || (n = af), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;}// node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function Mp(e) {+function Gp(e) {for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);}// node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs-var Np = (e) => e * 180 / Math.PI, Pp = (e) => Ip(Np(Math.atan2(e[1], e[0]))), Fp = {+var Kp = (e) => e * 180 / Math.PI, qp = (e) => Yp(Kp(Math.atan2(e[1], e[0]))), Jp = {x: 4,y: 5,translateX: 4,@@ -15284,54 +15257,44 @@ var Np = (e) => e * 180 / Math.PI, Pp = (e) => Ip(Np(Math.atan2(e[1], e[0]))), FscaleY: 3,scaleZ: () => 1,scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,- rotate: Pp,- rotateZ: Pp,- skewX: (e) => Np(Math.atan(e[1])),- skewY: (e) => Np(Math.atan(e[2])),+ rotate: qp,+ rotateZ: qp,+ skewX: (e) => Kp(Math.atan(e[1])),+ skewY: (e) => Kp(Math.atan(e[2])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2-}, Ip = (e) => (e %= 360, e < 0 && (e += 360), e), Lp = Pp, Rp = (e) => Math.hypot(e[0], e[1]), zp = (e) => Math.hypot(e[4], e[5]), Bp = {+}, Yp = (e) => (e %= 360, e < 0 && (e += 360), e), Xp = qp, Zp = (e) => Math.hypot(e[0], e[1]), Qp = (e) => Math.hypot(e[4], e[5]), $p = {x: 12,y: 13,z: 14,translateX: 12,translateY: 13,translateZ: 14,- scaleX: Rp,- scaleY: zp,+ scaleX: Zp,+ scaleY: Qp,scaleZ: (e) => Math.hypot(e[8], e[9], e[10]),- scale: (e) => (Rp(e) + zp(e)) / 2,- rotateX: (e) => Ip(Np(Math.atan2(e[6], e[5]))),- rotateY: (e) => Ip(Np(Math.atan2(-e[2], e[0]))),- rotateZ: Lp,- rotate: Lp,- skewX: (e) => Np(Math.atan(e[4])),- skewY: (e) => Np(Math.atan(e[1])),+ scale: (e) => (Zp(e) + Qp(e)) / 2,+ rotateX: (e) => Yp(Kp(Math.atan2(e[6], e[5]))),+ rotateY: (e) => Yp(Kp(Math.atan2(-e[2], e[0]))),+ rotateZ: Xp,+ rotate: Xp,+ skewX: (e) => Kp(Math.atan(e[4])),+ skewY: (e) => Kp(Math.atan(e[1])),skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2};-function Vp(e) {+function em(e) {return +!!e.includes("scale");}-function Hp(e, t) {- if (!e || e === "none") return Vp(t);- let n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u), r, i;- if (n) r = Bp, i = n;- else {- let t = e.match(/^matrix\(([-\d.e\s,]+)\)$/u);- r = Fp, i = t;- }- if (!i) return Vp(t);- let a = r[t], o = i[1].split(",").map(Wp);- return typeof a == "function" ? a(o) : o[a];+function tm(e, t) {+ if (!e || e === "none") return em(t);+ let n = e.match(/^matrix(3d)?\(([-\d.e\s,]+)\)$/u);+ if (!n) return em(t);+ let r = (n[1] ? $p : Jp)[t], i = n[2].split(",").map((e) => parseFloat(e));+ return typeof r == "function" ? r(i) : i[r];}-var Up = (e, t) => {+var nm = (e, t) => {let { transform: n = "none" } = getComputedStyle(e);- return Hp(n, t);-};-function Wp(e) {- return parseFloat(e.trim());-}-// node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs-var Gp = [+ return tm(n, t);+}, rm = ["transformPerspective","x","y",@@ -15350,14 +15313,14 @@ var Gp = ["skew","skewX","skewY"-], Kp = /* @__PURE__ */ new Set([...Gp, "pathRotation"]), qp = (e) => e === vd || e === W, Jp = /* @__PURE__ */ new Set([+], im = /* @__PURE__ */ new Set([...rm, "pathRotation"]), am = (e) => e === vd || e === W, om = /* @__PURE__ */ new Set(["x","y","z"-]), Yp = /* @__PURE__ */ Gp.filter((e) => !Jp.has(e));-function Xp(e) {+]), sm = /* @__PURE__ */ rm.filter((e) => !om.has(e));+function cm(e) {let t = [];- return Yp.forEach((n) => {+ return sm.forEach((n) => {let r = e.getValue(n);if (r !== void 0) {let e = r.get(), i = +!!n.startsWith("scale");@@ -15366,16 +15329,16 @@ function Xp(e) {}}), t;}-var Zp = /* @__PURE__ */ new Set(["bottom", "right"]);-function Qp(e, t, n, r, i, a) {+var lm = /* @__PURE__ */ new Set(["bottom", "right"]);+function um(e, t, n, r, i, a) {let o = parseFloat(e);if (!isNaN(o)) return o;let { min: s, max: c } = t()[n], l = c - s;return a === "border-box" ? l : l - parseFloat(r) - parseFloat(i);}-var $p = ({ transform: e }) => Hp(e, "x"), em = ({ transform: e }) => Hp(e, "y"), tm = {- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => Qp(e, i, "x", t, n, r),- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => Qp(e, i, "y", t, n, r),+var dm = ({ transform: e }) => tm(e, "x"), fm = ({ transform: e }) => tm(e, "y"), pm = {+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => um(e, i, "x", t, n, r),+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => um(e, i, "y", t, n, r),top: ({ top: e }) => parseFloat(e),left: ({ left: e }) => parseFloat(e),bottom: ({ top: e }, t) => {@@ -15386,20 +15349,20 @@ var $p = ({ transform: e }) => Hp(e, "x"), em = ({ transform: e }) => Hp(e, "y")let { x: n } = t();return parseFloat(e) + (n.max - n.min);},- x: $p,- y: em,- translateX: $p,- translateY: em-}, nm = /* @__PURE__ */ new Set(), rm = !1, im = !1, am = !1;-function om() {- if (im) {+ x: dm,+ y: fm,+ translateX: dm,+ translateY: fm+}, mm = /* @__PURE__ */ new Set(), hm = !1, gm = !1, _m = !1;+function vm() {+ if (gm) {let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();- nm.forEach((r) => {- r.needsMeasurement && (e.push(r), t.add(r.element), Zp.has(r.name) && n.add(r.element));+ mm.forEach((r) => {+ r.needsMeasurement && (e.push(r), t.add(r.element), lm.has(r.name) && n.add(r.element));});let r = /* @__PURE__ */ new Map();n.forEach((e) => {- let t = Xp(e);+ let t = cm(e);t.length && (r.set(e, t), e.render());}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {e.render();@@ -15411,29 +15374,29 @@ function om() {e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);});}- im = !1, rm = !1, nm.forEach((e) => e.complete(am)), nm.clear();+ gm = !1, hm = !1, mm.forEach((e) => e.complete(_m)), mm.clear();}-function sm() {- nm.forEach((e) => {- e.readKeyframes(), e.needsMeasurement && (im = !0);+function ym() {+ mm.forEach((e) => {+ e.readKeyframes(), e.needsMeasurement && (gm = !0);});}-function cm() {- am = !0, sm(), om(), am = !1;+function bm() {+ _m = !0, ym(), vm(), _m = !1;}-function lm(e, t, n) {+function xm(e, t, n) {if (typeof e == "string") {if (ku(e) || ju(e)) return parseFloat(e);- if (!rf.test(e) && rf.test(n)) return jp(t, n);+ if (!af.test(e) && af.test(n)) return Wp(t, n);}return e ?? void 0;}-var um = class {+var Sm = class {constructor(e, t, n, r, i, a = !1) {this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;}scheduleResolve() {- this.state = "scheduled", this.isAsync ? (nm.add(this), rm || (rm = !0, kf.read(sm), kf.resolveKeyframes(om))) : (this.readKeyframes(), this.complete());+ this.state = "scheduled", this.isAsync ? (mm.add(this), hm || (hm = !0, Af.read(ym), Af.resolveKeyframes(vm))) : (this.readKeyframes(), this.complete());}readKeyframes() {let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;@@ -15441,71 +15404,71 @@ var um = class {let i = r?.get(), a = e[e.length - 1];if (i !== void 0) e[0] = i;else if (n && t) {- let r = lm(n.readValue(t, a), t, a);+ let r = xm(n.readValue(t, a), t, a);r !== void 0 && (e[0] = r);}e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);}- Mp(e);+ Gp(e);}setFinalKeyframe() {}measureInitialState() {}renderEndStyles() {}measureEndState() {}complete(e = !1) {- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), nm.delete(this);+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), mm.delete(this);}cancel() {- this.state === "scheduled" && (nm.delete(this), this.state = "pending");+ this.state === "scheduled" && (mm.delete(this), this.state = "pending");}resume() {this.state === "pending" && this.scheduleResolve();}-}, dm = (e) => e.startsWith("--");+}, Cm = (e) => e.startsWith("--");// node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function fm(e, t, n) {- dm(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function wm(e, t, n) {+ Cm(t) ? e.style.setProperty(t, n) : e.style[t] = n;}// node_modules/motion-dom/dist/es/utils/supports/flags.mjs-var pm = {};+var Tm = {};// node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function mm(e, t) {+function Em(e, t) {let n = /* @__PURE__ */ Mu(e);- return () => pm[t] ?? n();+ return () => Tm[t] ?? n();}// node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var hm = /* @__PURE__ */ mm(() => window.ScrollTimeline !== void 0, "scrollTimeline"), gm = /*@__PURE__*/ mm(() => {+var Dm = /* @__PURE__ */ Em(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Om = /*@__PURE__*/ Em(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), _m = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, vm = {+}, "linearEasing"), km = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, Am = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ _m([+ circIn: /*@__PURE__*/ km([0,.65,.55,1]),- circOut: /*@__PURE__*/ _m([+ circOut: /*@__PURE__*/ km([.55,0,1,.45]),- backIn: /*@__PURE__*/ _m([+ backIn: /*@__PURE__*/ km([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ _m([+ backOut: /*@__PURE__*/ km([.33,1.53,.69,@@ -15513,14 +15476,14 @@ var hm = /* @__PURE__ */ mm(() => window.ScrollTimeline !== void 0, "scrollTimel])};// node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function ym(e, t) {- if (e) return typeof e == "function" ? gm() ? Nf(e, t) : "ease-out" : /* @__PURE__ */ rd(e) ? _m(e) : Array.isArray(e) ? e.map((e) => ym(e, t) || vm.easeOut) : vm[e];+function jm(e, t) {+ if (e) return typeof e == "function" ? Om() ? Pf(e, t) : "ease-out" : /* @__PURE__ */ rd(e) ? km(e) : Array.isArray(e) ? e.map((e) => jm(e, t) || Am.easeOut) : Am[e];}// node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs-function bm(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {+function Mm(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {let u = { [t]: n };c && (u.offset = c);- let d = ym(s, i);+ let d = jm(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -15533,27 +15496,27 @@ function bm(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTypreturn l && (f.pseudoElement = l), e.animate(u, f);}// node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function xm(e) {+function Nm(e) {return typeof e == "function" && "applyToOptions" in e;}// node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs-function Sm({ type: e, ...t }) {- return xm(e) && gm() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+function Pm({ type: e, ...t }) {+ return Nm(e) && Om() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}// node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var Cm = class extends gp {+var Fm = class extends kp {constructor(e) {if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;- this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;- let c = Sm(e);- this.animation = bm(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e;+ let c = Pm(e);+ this.animation = Mm(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {if (this.finishedTime = this.time, !i) {- let e = cp(r, this.options, o, this.speed);- this.updateMotionValue && this.updateMotionValue(e), fm(t, n, e), this.animation.cancel();+ let e = xp(r, this.options, o, this.speed);+ this.updateMotionValue?.(e), wm(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, mp(this, e, c);+ }, Dp(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -15607,22 +15570,22 @@ var Cm = class extends gp {this.manualStartTime = this.animation.startTime = e;}attachTimeline({ timeline: e, onAttach: t, observe: n }) {- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && hm() ? (this.animation.timeline = e, t?.(this.animation), Nu) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Dm() ? (this.animation.timeline = e, t?.(this.animation), Nu) : n(this);}-}, wm = {+}, Im = {anticipate: Ju,backInOut: qu,circInOut: Zu};-function Tm(e) {- return e in wm;+function Lm(e) {+ return e in Im;}-function Em(e) {- typeof e.ease == "string" && Tm(e.ease) && (e.ease = wm[e.ease]);+function Rm(e) {+ typeof e.ease == "string" && Lm(e.ease) && (e.ease = Im[e.ease]);}-var Dm = class extends Cm {+var zm = class extends Fm {constructor(e) {- Em(e), up(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;+ Rm(e), Cp(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;}elapsed() {return this.state === "running" ? (ud.now() - this.startTime) * this.speed : this.time * 1e3;@@ -15630,7 +15593,7 @@ var Dm = class extends Cm {sample(e) {if (!this.sampler) {let { motionValue: e, onUpdate: t, onComplete: n, onPlay: r, onStop: i, element: a, ...o } = this.options;- this.sampler = new yp({+ this.sampler = new Mp({...o,autoplay: !1}), this.sampler.stop();@@ -15649,40 +15612,39 @@ var Dm = class extends Cm {return;}let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? Du(0, 10, a) : 0, s = this.sample(a);- n && r && fm(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));+ n && r && wm(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));}-}, Om = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (rf.test(e) || e === "0") && !e.startsWith("url("));+}, Bm = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (af.test(e) || e === "0") && !e.startsWith("url("));// node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs-function km(e) {+function Vm(e) {let t = e[0];if (e.length === 1) return !0;for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;}-function Am(e, t, n, r) {+function Hm(e, t, n, r) {let i = e[0];if (i === null) return !1;if (t === "display" || t === "visibility") return !0;- let a = e[e.length - 1], o = Om(i, t), s = Om(a, t);- return !o || !s ? (o !== s && `${t}${i}${a}${o ? a : i}`, !1) : km(e) || (n === "spring" || xm(n)) && r;+ let a = e[e.length - 1], o = Bm(i, t), s = Bm(a, t);+ return !o || !s ? !1 : Vm(e) || (n === "spring" || Nm(n)) && r;}// node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs-function jm(e) {+function Um(e) {e.duration = 0, e.type = "keyframes";}// node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs-var Mm = /* @__PURE__ */ new Set([+var Wm = /* @__PURE__ */ new Set(["opacity","clipPath","filter",- "transform",- "backgroundColor"-]), Nm = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;-function Pm(e) {- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Nm.test(e[t])) return !0;+ "transform"+]), Gm = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;+function Km(e) {+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && Gm.test(e[t])) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs-var Fm = /* @__PURE__ */ new Set([+var qm = /* @__PURE__ */ new Set(["color","backgroundColor","outlineColor",@@ -15693,71 +15655,58 @@ var Fm = /* @__PURE__ */ new Set(["borderRightColor","borderBottomColor","borderLeftColor"-]), Im = () => !Ou.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");-function Lm(e) {+]), Jm = () => !Ou.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");+function Ym(e) {let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;- if (!n || !(Mm.has(n) || Fm.has(n))) return !1;+ if (!n || !(Wm.has(n) || qm.has(n))) return !1;let c = t?.owner?.current;if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;let { onUpdate: l, transformTemplate: u } = t.owner.getProps();- return Im() && (Mm.has(n) || Fm.has(n) && Pm(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";+ return Jm() && (Wm.has(n) || qm.has(n) && Km(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia";}// node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs-var Rm = (e, t) => t && typeof e == "number" ? t.transform(e) : e, zm = {+var Xm = (e, t) => t && typeof e == "number" ? t.transform(e) : e, Zm = {x: "translateX",y: "translateY",z: "translateZ",transformPerspective: "perspective"-}, Bm = Gp.length;-function Vm(e, t, n) {- let r = "", i = !0;- for (let a = 0; a < Bm; a++) {- let o = Gp[a], s = e[o];- if (s === void 0) continue;- let c = !0;- if (typeof s == "number") c = s === +!!o.startsWith("scale");- else {- let e = parseFloat(s);- c = o.startsWith("scale") ? e === 1 : e === 0;- }- if (!c || n) {- let e = Rm(s, Dp[o]);- if (!c) {- i = !1;- let t = zm[o] || o;- r += `${t}(${e}) `;- }- n && (t[o] = e);- }- }- let a = e.pathRotation;- return a && (i = !1, r += `rotate(${Rm(a, Dp.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;+}, Qm = rm.length, $m = {}, eh = (e, t, n = Xm(t, zp[e])) => ($m[e] || ($m[e] = (Zm[e] || e) + "(")) + n + ")", th = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");+function nh(e, t, n) {+ let r = "";+ for (let i = 0; i < Qm; i++) {+ let a = rm[i], o = e[a];+ if (o === void 0) continue;+ let s = n && (t[a] = Xm(o, Bp[a]));+ th(a, o) || (r += eh(a, o, s || void 0) + " ");+ }+ let i = e.pathRotation;+ return i && (r += eh("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";}// node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs-var Hm = /* @__PURE__ */ new WeakMap(), Um = 200, Wm = .001, Gm = .1, Km = .001, qm = 100, Jm = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), Ym = (e, t) => e - t, Xm = (e, t, n) => {+var rh = /* @__PURE__ */ new WeakMap(), ih = 200, ah = .001, oh = .1, sh = .001, ch = 100, lh = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), uh = (e, t) => e - t, dh = (e, t, n) => {let r = [];- for (let i = 0; i <= n; i++) r.push(cf(e, t, i / n));+ for (let i = 0; i <= n; i++) r.push(lf(e, t, i / n));return r;-}, Zm = (e) => e.motionValue.owner, Qm = (e) => Hm.get(e), $m = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), eh = ({ name: e, motionValue: t }) => e && Gp.includes(e) && t?.owner?.current instanceof HTMLElement && Im() && gm();-function th(e) {- let t = Zm(e), { onUpdate: n, transformTemplate: r } = t.getProps();- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && ($m(t, "transform") || "none") === "none" && !$m(t, "pathRotation") && !t.projection?.isProjecting();+}, fh = (e) => e.motionValue.owner, ph = (e) => rh.get(e), mh = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), hh = ({ name: e, motionValue: t }) => e && rm.includes(e) && t?.owner?.current instanceof HTMLElement && Jm() && Om();+function gh(e) {+ let t = fh(e), { onUpdate: n, transformTemplate: r } = t.getProps();+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (mh(t, "transform") || "none") === "none" && !mh(t, "pathRotation") && !t.projection?.isProjecting();}-var nh = class extends yp {+var _h = class extends Mp {constructor(e) {- let t = Zm(e).current, { driver: n = Mf } = e, r, i = th(e);+ let t = fh(e).current, { driver: n = Nf } = e, r, i = gh(e);e.driver = (e) => {let i = n(e);return {js: i,now: i.now,start: (e = !0) => {- let n = Qm(t);+ let n = ph(t);!n || n.isJS ? i.start(e) : n.schedule(!1, !e);},stop: () => {i.stop();- let e = Qm(t);+ let e = ph(t);e && !e.isFinishing && e.release(r);}};@@ -15768,7 +15717,7 @@ var nh = class extends yp {};}get group() {- return Qm(Zm(this.options).current);+ return ph(fh(this.options).current);}get js() {return this.driver?.js;@@ -15788,8 +15737,8 @@ var nh = class extends yp {return this.isAccelerated() ? this.sampleAt(ud.now()) : void 0;}tween() {- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ rd(n) ? _m(n) : Jm(n) && vm[n];- if (o && !i && !r && e.length === 2 && t === rp && this.holdTime === null) {+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ rd(n) ? km(n) : lh(n) && Am[n];+ if (o && !i && !r && e.length === 2 && t === gp && this.holdTime === null) {let e = this.startTime + a / this.speed;return [e,@@ -15799,7 +15748,7 @@ var nh = class extends yp {}}boundaries(e, t) {- let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || rp) === rp ? u || ep(d) : [0, 1], m = n + o / r, h = [];+ let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || gp) === gp ? u || pp(d) : [0, 1], m = n + o / r, h = [];if (this.holdTime !== null || !(i > 0)) return h;for (let n = Math.max(0, Math.floor((e - m) * r / i)); n <= s; n++) {let a = m + n * i / r;@@ -15819,7 +15768,7 @@ var nh = class extends yp {this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);}play() {- this.isStopped || ((this.group || rh(Zm(this.options))).tracks.add(this), super.play());+ this.isStopped || ((this.group || vh(fh(this.options))).tracks.add(this), super.play());}pause() {super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));@@ -15839,70 +15788,73 @@ var nh = class extends yp {return this.canAccelerate = !1, this.group?.demote(!0), super.attachTimeline(e);}};-function rh(e) {+function vh(e) {let t = e.current, n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = {}, a = [], o = /* @__PURE__ */ new Map(), s = [], c = !1, l = !1, u = !1, d = !1, f = -Infinity, p = (e) => {for (let t of n) if (t.name === e) return !0;}, m = (t, n) => {let o = {};- for (let s of t === void 0 ? Gp : a) {- let a = r.get(s), c = t === void 0 ? $m(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];+ for (let s of t === void 0 ? rm : a) {+ let a = r.get(s), c = t === void 0 ? mh(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];c !== void 0 && (o[s] = c);}return o;}, h = (e, t) => {- let n = "", r = m(e, t);- for (let e in r) n += (zm[e] || e) + "(" + Rm(r[e], Dp[e]) + ") ";- return n || "none";- }, g = (e = m()) => {- t.style.transform = Vm(e, {});- }, _ = (e = !0) => {- e && g(), s.forEach(({ animation: e }) => e.cancel()), s = [];- }, v = (e, t, n = Infinity) => {+ let n = "";+ for (let r in e) {+ let i = e[r];+ t && th(r, i) || (n += eh(r, i) + " ");+ }+ return (t ? n.trim() : n) || "none";+ }, g = (e, t) => h(m(e, t)), _ = (e = m()) => {+ t.style.transform = h(e, !0);+ }, v = (e = !0) => {+ e && _(), s.forEach(({ animation: e }) => e.cancel()), s = [];+ }, y = (e, n) => new Animation(new KeyframeEffect(t, e, n)), b = (e, t, n = Infinity) => {let r = {animation: e,offset: t,end: n};e.startTime = ud.now() + t, n < Infinity && (e.onfinish = () => {- r.isDone = !0, s.some((e) => e.end === Infinity) && (e.cancel(), s = s.filter((e) => e !== r)), O.schedule(!1);- }), e.oncancel = () => s.includes(r) && O.demote(), s.push(r);- }, y = (e, t, n) => {+ r.isDone = !0, s.some((e) => e.end === Infinity) && (e.cancel(), s = s.filter((e) => e !== r)), A.schedule(!1);+ }), e.oncancel = () => s.includes(r) && A.demote(), s.push(r);+ }, x = (e, t, n) => {let r = (t, n) => Math.abs(e(n) - e(t)), i = r(t, n);for (; n - t > .01;) {let e = (t + n) / 2;r(t, e) > r(e, n) ? n = e : t = e;}return r(t, n) > i / 2 ? [t, n] : [];- }, b = (e, t, n, r) => {- let i = Math.min(Um, Math.max(2, Math.ceil((n - t) / 10)));+ }, S = (e, t, n, r) => {+ let i = Math.min(ih, Math.max(2, Math.ceil((n - t) / 10)));if (r.length * 4 > i) return;- let a = Xm(t, n, i).concat(r).sort(Ym), o = (e) => /* @__PURE__ */ Fu(t, n, e), s, c;+ let a = dh(t, n, i).concat(r).sort(uh), o = (e) => /* @__PURE__ */ Fu(t, n, e), s, c;for (let t of e) {- let e = a.map((e) => t.numberAt(e)), [n] = e, r = e.map((e) => e - n), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * Wm > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);+ let e = a.map((e) => t.numberAt(e)), [n] = e, r = e.map((e) => e - n), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * ah > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);if (!o) {- if (l.some((e) => !(Math.abs(e) <= Wm))) return;+ if (l.some((e) => !(Math.abs(e) <= ah))) return;} else if (!s) s = l, c = (e) => (t.numberAt(e) - n) / o;- else if (l.some((e, t) => !(Math.abs(e - s[t]) <= Wm))) return;+ else if (l.some((e, t) => !(Math.abs(e - s[t]) <= ah))) return;}- if (!s || s.every((e, t) => Math.abs(e - o(a[t])) <= Wm)) return "linear";- let l = [], u = (e, t = c(e)) => l.push(vp(t) + " " + vp(o(e) * 100) + "%");+ if (!s || s.every((e, t) => Math.abs(e - o(a[t])) <= ah)) return "linear";+ let l = [], u = (e, t = c(e)) => l.push(jp(t) + " " + jp(o(e) * 100) + "%");return s.forEach((e, t) => {- t && Math.abs(e - s[t - 1]) > .2 && y(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);+ t && Math.abs(e - s[t - 1]) > .2 && x(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);}), "linear(" + l + ")";- }, x = (e, t, n, r) => {- let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? Km : Gm))), o = (t, n, r) => {+ }, C = (e, t, n, r) => {+ let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? sh : oh))), o = (t, n, r) => {if (n - t < 1 || a(t, n)) i.push(n);else if (r < 4) o(t, (t + n) / 2, r + 1), o((t + n) / 2, n, r + 1);else {- for (let r of e) i.push(...y((e) => r.numberAt(e), t, n));+ for (let r of e) i.push(...x((e) => r.numberAt(e), t, n));i.push(n);}- }, s = Xm(t, n, Math.ceil((n - t) / 100));+ }, s = dh(t, n, Math.ceil((n - t) / 100));for (let e of r) s.push(e, Math.min(e + .01, n));let c = t;- for (let e of s.sort(Ym)) e > c && o(c, e, 0), c = e;- return i.sort(Ym);- }, S = (e) => {+ for (let e of s.sort(uh)) e > c && o(c, e, 0), c = e;+ return i.sort(uh);+ }, w = (e) => {let t;for (let n of e) {let e = n.tween();@@ -15910,60 +15862,60 @@ function rh(e) {t = e;}return t;- }, C = (e, n, r, i = { fill: "both" }, a, o) => {- let s = e.flatMap((e) => e.boundaries(n, r)), c = o || b(e, n, r, s), l = c ? [n, r] : x(e, n, r, s), u = l.map((e) => h(e, a)), d = { transform: u };- return c || (d.offset = l.map((e) => /* @__PURE__ */ Fu(n, r, e))), u.every((e) => e === u[0]) && (g(m(n, a)), d = null), t.animate(d, {- ...i,- duration: r - n,- easing: c || "linear"+ }, T = (e, t, n, r = { fill: "both" }, i, a) => {+ let o = e.flatMap((e) => e.boundaries(t, n)), s = a || S(e, t, n, o), c = s ? [t, n] : C(e, t, n, o), l = c.map((e) => g(e, i)), u = { transform: l };+ return s || (u.offset = c.map((e) => /* @__PURE__ */ Fu(t, n, e))), l.every((e) => e === l[0]) && (_(m(t, i)), u = null), y(u, {+ ...r,+ duration: n - t,+ easing: s || "linear"});- }, w = (c) => {- let l = c, u = 0, d = 0, f = [], p = [], m = /* @__PURE__ */ new Set();+ }, E = (t) => {+ let c = t, l = 0, u = 0, d = [], f = [], p = /* @__PURE__ */ new Set();r.clear(), o = /* @__PURE__ */ new Map();for (let e of n) {r.set(e.name, e);- let [t, n] = e.timing(), i = t === Infinity;+ let [n, i] = e.timing(), a = n === Infinity;if (o.set(e, [- e.at(c),+ e.at(t),e.speed,- i- ]), i) e.sync();+ a+ ]), a) e.sync();else {if (e.speed < 0) return;- if (n) {- if (u) {- let e = (t - d) / n;- if (Math.abs(n - u) > 1 || Math.abs(e - Math.round(e)) * u > 1) return;- } else u = n, d = t;- p.push(e);- } else m.add(t);- f.push(e), l = Math.max(l, t);+ if (i) {+ if (l) {+ let e = (n - u) / i;+ if (Math.abs(i - l) > 1 || Math.abs(e - Math.round(e)) * l > 1) return;+ } else l = i, u = n;+ f.push(e);+ } else p.add(n);+ d.push(e), c = Math.max(c, n);}}- i = {}, a = Gp.filter((t) => {+ i = {}, a = rm.filter((t) => {if (r.has(t)) return !0;- let n = i[t] = $m(e, t);+ let n = i[t] = mh(e, t);return n !== void 0 && parseFloat(n) !== +!!t.startsWith("scale");- }), _(!1);- let h = !u && S(f);+ }), v(!1);+ let m = !l && w(d);try {- if (h && h[1] > c) {- let [e, t, n] = h;- v(C(f, e, t, void 0, void 0, n), e - c, t - e);- } else l > c && (v(C(f, c, l), 0, l - c), m.forEach((e) => e < l - 1 && v(t.animate(null, { duration: e - c }), 0, e - c)));- if (u) {- let e = d + Math.floor((l - d) / u) * u;- v(C(p, e, e + u, {+ if (m && m[1] > t) {+ let [e, n, r] = m;+ b(T(d, e, n, void 0, void 0, r), e - t, n - e);+ } else c > t && (b(T(d, t, c), 0, c - t), p.forEach((e) => e < c - 1 && b(y(null, { duration: e - t }), 0, e - t)));+ if (l) {+ let e = u + Math.floor((c - u) / l) * l;+ b(T(f, e, e + l, {iterations: Infinity,- iterationStart: (l - e) / u,+ iterationStart: (c - e) / l,fill: "forwards"- }, l), l - c);+ }, c), c - t);}} catch {return;}- return s.length || _(), !0;- }, T = (e) => {+ return s.length || v(), !0;+ }, D = (e) => {let t, r = 0;for (let i of n) {let n = o.get(i);@@ -15986,83 +15938,83 @@ function rh(e) {for (let { animation: n, offset: i, isDone: a } of s) {if (a) continue;let o = t - i;- r ? (n.playbackRate = r, n.startTime = e - o / r) : (n.pause(), n.currentTime = o);+ r && n.updatePlaybackRate && n.playState === "running" && Math.abs(Number(n.currentTime) - o) < 20 ? n.playbackRate !== r && n.updatePlaybackRate(r) : r ? (n.playbackRate = r, n.startTime = e - o / r) : (n.startTime = null, n.currentTime = o);}return !0;- }, E = () => !n.size && (u = !0, Qm(t) === O && Hm.delete(t), O.isJS || _(), !0), D = () => {+ }, O = () => !n.size && (u = !0, ph(t) === A && rh.delete(t), A.isJS || v(), !0), k = () => {let t = ud.now();- if (O.isJS || (O.isFinishing = !0, n.forEach((n) => {+ if (A.isJS || (A.isFinishing = !0, n.forEach((n) => {let [r, a] = n.timing();- n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = $m(e, n.name), o.has(n) || (c = !0));- }), O.isFinishing = !1), l = !1, u || (n.forEach(({ state: e }, t) => {+ n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = mh(e, n.name), o.has(n) || (c = !0));+ }), A.isFinishing = !1), l = !1, u || (n.forEach(({ state: e }, t) => {(e === "idle" || e === "finished") && n.delete(t);- }), E())) return;- for (let e of n) if (!e.canAccelerate) return O.demote(!0);- O.isJS && (O.isJS = !1, c = !0, n.forEach((e) => e.js?.stop()));+ }), O())) return;+ for (let e of n) if (!e.canAccelerate) return A.demote(!0);+ A.isJS && (A.isJS = !1, c = !0, n.forEach((e) => e.js?.stop()));let r = c, a = d;- if (c = d = !1, r || !T(t)) {+ if (c = d = !1, r || !D(t)) {if (a) {- if (t - f < qm) return O.demote();+ if (t - f < ch) return A.demote();f = t;}- if (!w(t)) return O.demote();+ if (!E(t)) return A.demote();}- }, O = {+ }, A = {tracks: n,isJS: !1,isFinishing: !1,schedule(e, t) {- u || (c ||= e, d ||= !!t, l || (l = !0, sd.isProcessing ? kf.render(D, !1, !0) : queueMicrotask(D)));+ u || (c ||= e, d ||= !!t, l || (l = !0, sd.isProcessing ? Af.render(k, !1, !0) : queueMicrotask(k)));},release(e) {let { state: t } = e;- (t === "idle" || t === "finished") && n.delete(e), E() || O.schedule(!0);+ (t === "idle" || t === "finished") && n.delete(e), O() || A.schedule(!0);},check() {- if (!O.isJS) {- for (let t in i) if ($m(e, t) !== i[t] && !p(t)) return O.schedule(!0, !0);+ if (!A.isJS) {+ for (let t in i) if (mh(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);}},demote(e) {- O.isJS || u || (n.forEach((t) => {+ if (!(A.isJS || u)) return n.forEach((t) => {t.isAccelerated() && t.sync(), e || (t.canAccelerate = !1);- }), O.isJS = !0, o = /* @__PURE__ */ new Map(), _(), n.forEach((e) => e.state === "running" && e.js?.start()));+ }), A.isJS = !0, o = /* @__PURE__ */ new Map(), v(), n.forEach((e) => e.state === "running" && e.js?.start()), !0;}};- return Hm.set(t, O), O;+ return rh.set(t, A), A;}// node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs-var ih = class extends gp {+var yh = class extends kp {constructor(e) {super(), this.stop = () => {this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();}, this.createdAt = ud.now();let { keyframes: t, name: n, motionValue: r, element: i } = e, a = e;a.autoplay ??= !0, a.delay ??= 0, a.type ??= "keyframes", a.repeat ??= 0, a.repeatDelay ??= 0, a.repeatType ??= "loop";- let o = i?.KeyframeResolver || um;+ let o = i?.KeyframeResolver || Sm;this.keyframeResolver = new o(t, (e, t, n) => this.onKeyframesResolved(e, t, a, !n), n, r, i), this.keyframeResolver?.scheduleResolve();}onKeyframesResolved(e, t, n, r) {this.keyframeResolver = void 0;let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;this.resolvedAt = ud.now();- let u = !0;- Am(e, i, a, o) || (u = !1, (Ou.instantAnimations || !s) && l?.(cp(e, n, t)), e[0] = e[e.length - 1], jm(n), n.repeat = 0);+ let u = Hm(e, i, a, o);+ u || ((Ou.instantAnimations || !s) && l?.(xp(e, n, t)), e[0] = e[e.length - 1], Um(n), n.repeat = 0);let { onComplete: d } = n;n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {d?.(), this.notifyFinished();};- let f = u && !c && Lm(n), p = !f && eh(n);- r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= fp(this.createdAt, this.resolvedAt));+ let f = u && !c && Ym(n), p = !f && hh(n);+ r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Tp(this.createdAt, this.resolvedAt));let m;if (f) {n.element = n.motionValue?.owner?.current;try {- m = new Dm(n);+ m = new zm(n);} catch {- m = new yp(n);+ m = new Mp(n);}- } else m = p ? new nh(n) : new yp(n);+ } else m = p ? new _h(n) : new Mp(n);this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;}get finished() {@@ -16075,7 +16027,7 @@ var ih = class extends gp {return this._animation?.liveValue?.();}get animation() {- return this._animation || (this.keyframeResolver?.resume(), cm()), this._animation;+ return this._animation || (this.keyframeResolver?.resume(), bm()), this._animation;}get duration() {return this.animation.duration;@@ -16114,9 +16066,9 @@ var ih = class extends gp {this.animation.complete();}cancel() {- this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();+ this._animation?.cancel(), this.keyframeResolver?.cancel();}-}, ah = class {+}, bh = class {constructor(e) {this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);}@@ -16156,10 +16108,10 @@ var ih = class extends gp {return this.getAll("startTime");}get duration() {- return oh(this.animations, "duration");+ return xh(this.animations, "duration");}get iterationDuration() {- return oh(this.animations, "iterationDuration");+ return xh(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -16177,7 +16129,7 @@ var ih = class extends gp {this.runAll("complete");}};-function oh(e, t) {+function xh(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -16186,30 +16138,30 @@ function oh(e, t) {return n;}// node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var sh = class extends ah {+var Sh = class extends bh {then(e, t) {return this.finished.finally(e).then(() => {});}-}, ch = /* @__PURE__ */ new WeakMap(), lh = (e, t = "") => `${e}:${t}`;-function uh(e) {- let t = ch.get(e);- return t || (t = /* @__PURE__ */ new Map(), ch.set(e, t)), t;+}, Ch = /* @__PURE__ */ new WeakMap(), wh = (e, t = "") => `${e}:${t}`;+function Th(e) {+ let t = Ch.get(e);+ return t || (t = /* @__PURE__ */ new Map(), Ch.set(e, t)), t;}// node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs-function dh(e, t, n, r = 0, i = 1) {+function Eh(e, t, n, r = 0, i = 1) {let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;}// node_modules/motion-dom/dist/es/value/index.mjs-var fh = 30, ph = (e) => !isNaN(parseFloat(e)), mh = { current: void 0 }, hh = class {+var Dh = 30, Oh = (e) => !isNaN(parseFloat(e)), kh = { current: void 0 }, Ah = class {constructor(e, t = {}) {this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {let t = ud.now();- if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.notifyChange(), this.dependents)) for (let e of this.dependents) e.dirty();+ if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.dirty(), this.dependents)) for (let e of this.dependents) e.dirty();}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;}setCurrent(e) {- this.current = e, this.updatedAt = ud.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = ph(this.current));+ this.current = e, this.updatedAt = ud.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = Oh(this.current));}setPrevFrameValue(e = this.current) {this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;@@ -16228,7 +16180,7 @@ var fh = 30, ph = (e) => !isNaN(parseFloat(e)), mh = { current: void 0 }, hh = c};}stopIfUnobserved() {- kf.read(() => {+ Af.read(() => {!this.changeSubscriber && !this.events.change?.getSize() && this.stop();});}@@ -16246,23 +16198,20 @@ var fh = 30, ph = (e) => !isNaN(parseFloat(e)), mh = { current: void 0 }, hh = cthis.set(t), this.prev = void 0, this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt - n;}jump(e, t = !0) {- this.updateAndNotify(e), this.prev = e, this.prevUpdatedAt = this.prevFrameValue = void 0, t && this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();+ this.updateAndNotify(e), this.prev = e, this.prevUpdatedAt = this.prevFrameValue = void 0, t && this.stop(), this.stopPassiveEffect?.();}dirty() {- this.notifyChange();- }- notifyChange() {let { current: e, changeSubscriber: t } = this;t ? t(e) : this.events.change?.notify(e);}addDependent(e) {- this.dependents ||= /* @__PURE__ */ new Set(), this.dependents.add(e);+ (this.dependents ||= /* @__PURE__ */ new Set()).add(e);}removeDependent(e) {- this.dependents && this.dependents.delete(e);+ this.dependents?.delete(e);}get() {- mh.current && mh.current.push(this);+ kh.current?.push(this);let e = this.animation?.liveValue?.();return e === void 0 ? this.current : e;}@@ -16274,8 +16223,8 @@ var fh = 30, ph = (e) => !isNaN(parseFloat(e)), mh = { current: void 0 }, hh = c}getVelocity() {let e = ud.now();- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > fh) return 0;- let t = Math.min(this.updatedAt - this.prevUpdatedAt, fh);+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Dh) return 0;+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, Dh);return /* @__PURE__ */ zu(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);}start(e) {@@ -16283,28 +16232,25 @@ var fh = 30, ph = (e) => !isNaN(parseFloat(e)), mh = { current: void 0 }, hh = cthis.hasAnimated = !0;let n = !1, r;r = e(() => {- n = !0, this.events.animationComplete?.notify(), this.animation === r && this.clearAnimation(), t();+ n = !0, this.events.animationComplete?.notify(), this.animation === r && (this.animation = void 0), t();}), n || (this.animation = r), this.events.animationStart?.notify();});}stop() {- this.animation && (this.animation.stop(), this.events.animationCancel && this.events.animationCancel.notify()), this.clearAnimation();+ this.animation && (this.animation.stop(), this.events.animationCancel?.notify()), this.animation = void 0;}isAnimating() {return !!this.animation;}- clearAnimation() {- this.animation = void 0;- }destroy() {- this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();+ this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect?.();}};-function gh(e, t) {- return new hh(e, t);+function jh(e, t) {+ return new Ah(e, t);}// node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function _h(e, t) {+function Mh(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -16315,25 +16261,25 @@ function _h(e, t) {return e;}// node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function vh(e, t) {+function Nh(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : _h(n, e);+ return n === e ? n : Mh(n, e);}// node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs-var yh = {+var Ph = {type: "spring",stiffness: 500,damping: 25,restSpeed: 10-}, bh = (e) => ({+}, Fh = (e) => ({type: "spring",stiffness: 550,damping: e === 0 ? 2 * Math.sqrt(550) : 30,restSpeed: 10-}), xh = {+}), Ih = {type: "keyframes",duration: .8-}, Sh = {+}, Lh = {type: "keyframes",ease: [.25,@@ -16342,7 +16288,7 @@ var yh = {1],duration: .3-}, Ch = (e, { keyframes: t }) => t.length > 2 ? xh : Kp.has(e) ? e.startsWith("scale") ? bh(t[1]) : yh : Sh, wh = /* @__PURE__ */ new Set([+}, Rh = (e, { keyframes: t }) => t.length > 2 ? Ih : im.has(e) ? e.startsWith("scale") ? Fh(t[1]) : Ph : Lh, zh = /* @__PURE__ */ new Set(["when","delay","delayChildren",@@ -16352,15 +16298,16 @@ var yh = {"repeatType","repeatDelay","from",- "elapsed"+ "elapsed",+ "out"]);-function Th(e) {- for (let t in e) if (!wh.has(t)) return !0;+function Bh(e) {+ for (let t in e) if (!zh.has(t)) return !0;return !1;}// node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs-var Eh = (e, t, n, r = {}, i, a) => (o) => {- let s = vh(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;+var Vh = (e, t, n, r = {}, i, a) => (o) => {+ let s = Nh(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;l -= /* @__PURE__ */ Lu(c);let u = {keyframes: Array.isArray(n) ? n : [null, n],@@ -16379,198 +16326,197 @@ var Eh = (e, t, n, r = {}, i, a) => (o) => {element: a ? void 0 : i,hasOnUpdate: !!s.onUpdate};- Th(s) || Object.assign(u, Ch(e, u)), u.duration &&= /* @__PURE__ */ Lu(u.duration), u.repeatDelay &&= /* @__PURE__ */ Lu(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);+ Bh(s) || Object.assign(u, Rh(e, u)), u.duration &&= /* @__PURE__ */ Lu(u.duration), u.repeatDelay &&= /* @__PURE__ */ Lu(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);let d = !1;- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (jm(u), u.delay === 0 && (d = !0)), (Ou.instantAnimations || Ou.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, jm(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {- let e = cp(u.keyframes, s);+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (Um(u), u.delay === 0 && (d = !0)), (Ou.instantAnimations || Ou.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, Um(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {+ let e = xp(u.keyframes, s);if (e !== void 0) {- kf.update(() => {+ Af.update(() => {u.onUpdate(e), u.onComplete();});return;}}- return s.isSync ? new yp(u) : new ih(u);-}, Dh = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;-function Oh(e) {- let t = Dh.exec(e);+ return s.isSync ? new Mp(u) : new yh(u);+}, Hh = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;+function Uh(e) {+ let t = Hh.exec(e);if (!t) return [,];let [, n, r, i] = t;return [`--${n ?? r}`, i];}-function kh(e, t, n = 1) {- `${e}`;- let [r, i] = Oh(e);+function Wh(e, t, n = 1) {+ let [r, i] = Uh(e);if (!r) return;let a = window.getComputedStyle(t).getPropertyValue(r);if (a) {let e = a.trim();return ku(e) ? parseFloat(e) : e;}- return hd(i) ? kh(i, t, n + 1) : i;+ return hd(i) ? Wh(i, t, n + 1) : i;}// node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs-function Ah(e) {+function Gh(e) {let t = [{}, {}];return e?.values.forEach((e, n) => {t[0][n] = e.get(), t[1][n] = e.getVelocity();}), t;}-function jh(e, t, n, r) {- let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Ah(r)) : t;+function Kh(e, t, n, r) {+ let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Gh(r)) : t;return t = i(t), typeof t == "string" && (t = e.variants && e.variants[t]), i(t);}// node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs-function Mh(e, t, n) {- return jh(e.getProps(), t, n, e);+function qh(e, t, n) {+ return Kh(e.getProps(), t, n, e);}-var Nh = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, Ph = /* @__PURE__ */ new Set([+var Jh = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, Yh = /* @__PURE__ */ new Set(["width","height","top","left","right","bottom",- ...Gp-]), Fh = (e) => Array.isArray(e);+ ...rm+]), Xh = (e) => Array.isArray(e);// node_modules/motion-dom/dist/es/render/utils/setters.mjs-function Ih(e, t, n) {- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, gh(n));+function Zh(e, t, n) {+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, jh(n));}-function Lh(e) {- return Fh(e) ? e[e.length - 1] || 0 : e;+function Qh(e) {+ return Xh(e) ? e[e.length - 1] || 0 : e;}-function Rh(e, t) {- let { transitionEnd: n = {}, transition: r = {}, ...i } = Mh(e, t) || {};+function $h(e, t) {+ let { transitionEnd: n = {}, transition: r = {}, ...i } = qh(e, t) || {};i = {...i,...n};- for (let t in i) Ih(e, t, Lh(i[t]));+ for (let t in i) Zh(e, t, Qh(i[t]));}// node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs-var zh = (e) => !!(e && e.getVelocity);+var eg = (e) => !!(e && e.getVelocity);// node_modules/motion-dom/dist/es/value/will-change/is.mjs-function Bh(e) {- return !!(zh(e) && e.add);+function tg(e) {+ return !!(eg(e) && e.add);}// node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs-function Vh(e, t) {+function ng(e, t) {let n = e.getValue("willChange");- if (Bh(n)) return n.add(t);+ if (tg(n)) return n.add(t);if (!n && Ou.WillChange) {let n = new Ou.WillChange("auto");e.addValue("willChange", n), n.add(t);}}// node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs-var Hh = "data-framer-appear-id";+var rg = "data-framer-appear-id";// node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs-function Uh(e) {- return e.props[Hh];+function ig(e) {+ return e.props[rg];}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs-var Wh = typeof window < "u";-function Gh({ protectedKeys: e, needsAnimating: t }, n) {+var eee = typeof window < "u";+function tee({ protectedKeys: e, needsAnimating: t }, n) {let r = n in e && !t[n];return t[n] = !1, r;}-function Kh(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {+function ag(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();- a = a ? _h(a, c) : c;+ a = a ? Mh(a, c) : c;let l = a?.reduceMotion, u = a?.skipAnimations;r && (a = r);let d = [], f = i && e.animationState?.getState()[i], p = a?.path;p && (p.animateValues ? p.animateValues((t) => e.getValue(t, e.latestValues[t] ?? 0), s, a, n, d) : p.animateVisualElement?.(e, s, a, n, d));for (let t in s) {let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];- if (i === void 0 || f && Gh(f, t)) continue;+ if (i === void 0 || f && tee(f, t)) continue;let o = {delay: n,- ...vh(a || {}, t)+ ...Nh(f?.out[t] || a || {}, t)};u && (o.skipAnimations = !0);let c = r.get();if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {- kf.update(() => r.set(i));+ Af.update(() => r.set(i));continue;}let p = !1;- if (Wh && window.MotionHandoffAnimation) {- let n = Uh(e);+ if (eee && window.MotionHandoffAnimation) {+ let n = ig(e);if (n) {- let e = window.MotionHandoffAnimation(n, t, kf);+ let e = window.MotionHandoffAnimation(n, t, Af);e !== null && (o.startTime = e, p = !0);}}- Vh(e, t);+ ng(e, t);let m = l ?? e.shouldReduceMotion;- r.start(Eh(t, r, i, m && Ph.has(t) ? { type: !1 } : o, e, p));+ r.start(Vh(t, r, i, m && Yh.has(t) ? { type: !1 } : o, e, p));let h = r.animation;h && d.push(h);}if (o) {- let t = () => kf.update(() => {- o && Rh(e, o);+ let t = () => Af.update(() => {+ o && $h(e, o);});d.length ? Promise.all(d).then(t) : t();}return d;}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs-function qh(e, t, n = {}) {- let r = Mh(e, t, Nh(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? Kh(e, r, n) : []), o = (r = 0) => {+function og(e, t, n = {}) {+ let r = qh(e, t, Jh(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? ag(e, r, n) : []), o = (r = 0) => {let { variantChildren: a } = e, { delayChildren: o = 0, staggerChildren: s, staggerDirection: c } = i, l = [];return a?.forEach((e) => {- e.notify("AnimationStart", t), l.push(qh(e, t, {+ e.notify("AnimationStart", t), l.push(og(e, t, {...n,- delay: r + (typeof o == "function" ? 0 : o) + dh(a, e, o, s, c)+ delay: r + (typeof o == "function" ? 0 : o) + Eh(a, e, o, s, c)}).then(() => e.notify("AnimationComplete", t)));}), Promise.all(l);}, { when: s } = i;return s ? s === "beforeChildren" ? a().then(() => o()) : o().then(a) : Promise.all([a(), o(n.delay)]);}// node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs-function Jh(e, t, n = {}) {- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => qh(e, t, n))) : typeof t == "string" ? qh(e, t, n) : Promise.all(Kh(e, Mh(e, t, n.custom), n))).then(() => {+function sg(e, t, n = {}) {+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => og(e, t, n))) : typeof t == "string" ? og(e, t, n) : Promise.all(ag(e, qh(e, t, n.custom), n))).then(() => {e.notify("AnimationComplete", t);});}// node_modules/motion-dom/dist/es/value/types/auto.mjs-var Yh = {+var nee = {test: (e) => e === "auto",parse: (e) => e-}, Xh = (e) => (t) => t.test(e), Zh = [+}, ree = (e) => (t) => t.test(e), cg = [vd,W,+ Pd,Nd,- Md,+ Id,Fd,- Pd,- Yh-], Qh = (e) => Zh.find(Xh(e));+ nee+], lg = (e) => cg.find(ree(e));// node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs-function $h(e) {+function iee(e) {return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || ju(e);}// node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs-var eg = /* @__PURE__ */ new Set([+var aee = /* @__PURE__ */ new Set(["auto","none","0"]);-function tg(e, t, n) {+function oee(e, t, n) {let r = 0, i;for (; r < e.length && !i;) {let t = e[r];- typeof t == "string" && !eg.has(t) && Yd(t) && (i = e[r]), r++;+ typeof t == "string" && !aee.has(t) && Xd(t) && (i = e[r]), r++;}- if (i && n) for (let r of t) e[r] !== i && (e[r] = jp(n, i));+ if (i && n) for (let r of t) e[r] !== i && (e[r] = Wp(n, i));}// node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs-var ng = class extends um {- constructor(e, t, n, r, i) {- super(e, t, n, r, i, !0);+var ug = class extends Sm {+ constructor() {+ super(...arguments), this.isAsync = !0;}scheduleResolve() {if (this.canReadNow() && (this.readKeyframes(), !this.needsMeasurement)) return this.complete();@@ -16584,66 +16530,64 @@ var ng = class extends um {}readKeyframes() {let { unresolvedKeyframes: e, element: t, name: n } = this;- if (!t || !t.current) return;+ if (!t?.current) return;super.readKeyframes();for (let n = 0; n < e.length; n++) {let r = e[n];if (typeof r == "string" && (r = r.trim(), hd(r))) {- let i = kh(r, t.current);+ let i = Wh(r, t.current);i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);}}- if (this.resolveNoneKeyframes(), !Ph.has(n) || e.length !== 2) return;+ if (this.resolveNoneKeyframes(), !Yh.has(n) || e.length !== 2) return;let [r, i] = e;if (typeof r == "number" && typeof i == "number") return;- let a = Qh(r), o = Qh(i);- if (_d(r) !== _d(i) && tm[n]) this.needsMeasurement = !0;+ let a = lg(r), o = lg(i);+ if (_d(r) !== _d(i) && pm[n]) this.needsMeasurement = !0;else if (a !== o) {- if (qp(a) && qp(o)) for (let t = 0; t < e.length; t++) {+ if (am(a) && am(o)) for (let t = 0; t < e.length; t++) {let n = e[t];typeof n == "string" && (e[t] = parseFloat(n));}- else tm[n] && (this.needsMeasurement = !0);+ else pm[n] && (this.needsMeasurement = !0);}}resolveNoneKeyframes() {let { unresolvedKeyframes: e, name: t } = this, n = [];- for (let t = 0; t < e.length; t++) (e[t] === null || $h(e[t])) && n.push(t);- n.length && tg(e, n, t);+ for (let t = 0; t < e.length; t++) (e[t] === null || iee(e[t])) && n.push(t);+ n.length && oee(e, n, t);}measure() {let { element: e, name: t } = this;- return tm[t](window.getComputedStyle(e.current), () => e.measureViewportBox());+ return pm[t](window.getComputedStyle(e.current), () => e.measureViewportBox());}measureInitialState() {let { element: e, unresolvedKeyframes: t, name: n } = this;- if (!e || !e.current) return;+ if (!e?.current) return;n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = this.measure(), t[0] = this.measuredOrigin;let r = t[t.length - 1];r !== void 0 && this.motionValue?.jump(r, !1);}measureEndState() {let { element: e, unresolvedKeyframes: t } = this;- if (!e || !e.current) return;+ if (!e?.current) return;this.motionValue?.jump(this.measuredOrigin, !1);let n = t.length - 1, r = t[n];- t[n] = this.measure(), r !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = r), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {- e.getValue(t).set(n);- }), this.resolveNoneKeyframes();+ t[n] = this.measure(), r !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = r), this.resolveNoneKeyframes();}-}, rg = [+}, dg = ["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"-], eee = /* @__PURE__ */ new Set([+], see = /* @__PURE__ */ new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius",- ...rg,+ ...dg,"width","maxWidth","height",@@ -16686,21 +16630,21 @@ var ng = class extends um {"backgroundPositionY"]);// node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs-function tee(e, t) {- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && eee.has(t) && (e[n] = e[n] + "px");+function cee(e, t) {+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && see.has(t) && (e[n] = e[n] + "px");}// node_modules/motion-dom/dist/es/animation/animate/effects.mjs-var ig = [];-function nee(e) {- typeof e.test == "function" && e.read, ag(e), ig.unshift(e);+var fg = [];+function lee(e) {+ pg(e), fg.unshift(e);}-function ag(e) {- Eu(ig, e);+function pg(e) {+ Eu(fg, e);}-function ree(e) {- return ig.find((t) => t.test(e));+function uee(e) {+ return fg.find((t) => t.test(e));}-function og(e, t, n = {}, r) {+function mg(e, t, n = {}, r) {let i = [], { velocity: a, path: o } = n, s = n.reduceMotion ?? r?.shouldReduceMotion;o?.animateValues && r && (t = { ...t }, o.animateValues(e, t, n, 0, i));for (let o in t) {@@ -16708,62 +16652,62 @@ function og(e, t, n = {}, r) {let c = t[o];if (c === void 0) continue;let l = e(o), u = l.get();- u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? kf.update(() => l.set(c)) : (l.start(Eh(o, l, c, s && Ph.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? Af.update(() => l.set(c)) : (l.start(Vh(o, l, c, s && Yh.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));}let { transitionEnd: c } = t;if (c) {- let t = () => kf.update(() => {+ let t = () => Af.update(() => {for (let t in c) e(t).set(c[t]);});i.length ? Promise.all(i).then(t) : t();}return i;}-function sg(e, t, n, r, i) {- return og((r) => {+function hg(e, t, n, r, i) {+ return mg((r) => {let a = e.get(t, r);if (!a) {let o;if (!i) {let i = n[r];- o = iee(i) ?? e.read(t, r, i), `${r}`;+ o = gg(i) ?? e.read(t, r, i);}- a = gh(o, { owner: i }), e(t, { [r]: a });+ a = jh(o, { owner: i }), e(t, { [r]: a });}return a;}, n, r, i);}-function iee(e) {+function gg(e) {let t = Array.isArray(e) ? e[0] : void 0;return t === null ? void 0 : t;}// node_modules/motion-dom/dist/es/utils/is-html-element.mjs-function cg(e) {+function _g(e) {return Au(e) && "offsetHeight" in e && !("ownerSVGElement" in e);}// node_modules/motion-dom/dist/es/utils/is-svg-element.mjs-function lg(e) {+function vg(e) {return Au(e) && "ownerSVGElement" in e;}// node_modules/motion-dom/dist/es/scope/active.mjs-var ug = {};-function dg(e) {- return ug.current?.add(e), e;+var yg = {};+function bg(e) {+ return yg.current?.add(e), e;}-var fg = (e) => ug.current ? ug.current.bind(e) : e;+var xg = (e) => yg.current ? yg.current.bind(e) : e;// node_modules/motion-dom/dist/es/utils/resolve-elements.mjs-function pg(e, t, n) {+function Sg(e, t, n) {if (e == null) return [];if (e instanceof EventTarget) return [e];if (typeof e == "string") {- let r = t ? t.current : ug.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);+ let r = t ? t.current : yg.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);return i ? Array.from(i) : [];}return Array.from(e).filter((e) => e != null);}// node_modules/motion-dom/dist/es/effects/MotionValueState.mjs-var aee = class {- constructor(e = kf.render) {+var dee = class {+ constructor(e = Af.render) {this.step = e, this.values = /* @__PURE__ */ new Map(), this.pending = [], this.numPending = 0, this.flush = () => {let { pending: e, numPending: t } = this;this.numPending = 0;@@ -16806,10 +16750,10 @@ var aee = class {}};// node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs-function mg(e, { step: t, ...n } = {}) {+function Cg(e, { step: t, ...n } = {}) {let r = /* @__PURE__ */ new WeakMap();return Object.assign((n, i) => {- let a = r.get(n) ?? new aee(t);+ let a = r.get(n) ?? new dee(t);r.set(n, a);let o = [];for (let t in i) {@@ -16826,84 +16770,83 @@ function mg(e, { step: t, ...n } = {}) {});}// node_modules/motion-dom/dist/es/effects/style/transform.mjs-var hg = {};-function oee(e) {+function fee(e) {let t = "", { transformKeys: n = [], transformValues: r = {} } = e;for (let e = 0; e < n.length; e++) {let i = n[e], a = r[i].getCurrent();- a !== void 0 && (typeof a == "number" ? a : parseFloat(a)) !== +!!i.startsWith("scale") && (t += (t && " ") + (hg[i] || (hg[i] = (zm[i] || i) + "(")) + Rm(a, Ep[i]) + ")");+ a !== void 0 && (th(i, a) || (t += (t && " ") + eh(i, a)));}let i = e.get("pathRotation")?.get();- return i && (t += (t && " ") + "rotate(" + Rm(i, Ep.pathRotation) + ")"), t || "none";+ return i && (t += (t && " ") + eh("rotate", i)), t || "none";}// node_modules/motion-dom/dist/es/effects/style/index.mjs-var gg = /* @__PURE__ */ new Set([+var wg = /* @__PURE__ */ new Set(["originX","originY","originZ"-]), _g = (e, t) => Rm(e.get(t)?.get(), Dp[t]), vg = (e, t, n, r) => {+]), Tg = (e, t) => Xm(e.get(t)?.get(), Bp[t]), Eg = (e, t, n, r) => {let i, a;- if (Kp.has(n)) {+ if (im.has(n)) {if (n !== "pathRotation") {let e = t.transformKeys ??= [];- (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => Gp.indexOf(e) - Gp.indexOf(t)));+ (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => rm.indexOf(e) - rm.indexOf(t)));}- t.get("transform") || (!cg(e) && !t.get("transformBox") && vg(e, t, "transformBox", new hh("fill-box")), t.set("transform", new hh("none"), () => {- Hm.get(e)?.check(), e.style.transform = oee(t);+ t.get("transform") || (!_g(e) && !t.get("transformBox") && Eg(e, t, "transformBox", new Ah("fill-box")), t.set("transform", new Ah("none"), () => {+ rh.get(e)?.check(), e.style.transform = fee(t);})), a = t.get("transform");- } else gg.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new hh(""), () => {- let n = _g(t, "originX") ?? "50%", r = _g(t, "originY") ?? "50%", i = _g(t, "originZ") ?? 0;+ } else wg.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new Ah(""), () => {+ let n = Tg(t, "originX") ?? "50%", r = Tg(t, "originY") ?? "50%", i = Tg(t, "originZ") ?? 0;e.style.transformOrigin = `${n} ${r} ${i}`;- }), a = t.get("transformOrigin")) : i = dm(n) ? () => {+ }), a = t.get("transformOrigin")) : i = Cm(n) ? () => {e.style.setProperty(n, r.getCurrent());} : () => {- e.style[n] = Rm(r.getCurrent(), Dp[n]);+ e.style[n] = Xm(r.getCurrent(), Bp[n]);};return t.set(n, r, i, a);-}, see = (e) => cg(e) || lg(e), yg = (e, t) => {- if (Kp.has(t)) return Up(e, t);- let n = getComputedStyle(e), r = dm(t) ? n.getPropertyValue(t) : n[t];+}, pee = (e) => _g(e) || vg(e), Dg = (e, t) => {+ if (im.has(t)) return nm(e, t);+ let n = getComputedStyle(e), r = Cm(t) ? n.getPropertyValue(t) : n[t];return typeof r == "string" && r.trim() || 0;-}, bg = /*@__PURE__*/ mg(vg, {- test: see,- read: yg+}, mee = /*@__PURE__*/ Cg(Eg, {+ test: pee,+ read: Dg});// node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs-function xg(e) {+function Og(e) {return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);}// node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs-function Sg(e, t, n) {+function kg(e, t, n) {let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;for (let e in t) {let n = t[e];- if (Kp.has(e)) o = !0;+ if (im.has(e)) o = !0;else if (pd(e)) i[e] = n;else {- let t = Rm(n, Dp[e]);+ let t = Xm(n, Bp[e]);e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;}}- if (t.transform || (o || n ? r.transform = Vm(t, e.transform, n) : r.transform &&= "none"), s) {+ if (t.transform || (o || n ? r.transform = nh(t, e.transform, n) : r.transform &&= "none"), s) {let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;r.transformOrigin = `${e} ${t} ${n}`;}}// node_modules/motion-dom/dist/es/render/svg/utils/path.mjs-var cee = {+var hee = {offset: "stroke-dashoffset",array: "stroke-dasharray"-}, lee = {+}, gee = {offset: "strokeDashoffset",array: "strokeDasharray"};-function uee(e, t, n = 1, r = 0, i = !0) {+function _ee(e, t, n = 1, r = 0, i = !0) {e.pathLength = 1;- let a = i ? cee : lee;+ let a = i ? hee : gee;e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;}// node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs-var Cg = [+var Ag = ["transform","opacity","clipPath",@@ -16913,52 +16856,52 @@ var Cg = ["offsetRotate","offsetAnchor"];-function wg(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {- if (Sg(e, s, l), c) {+function jg(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {+ if (kg(e, s, l), c) {e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);return;}e.attrs = e.style, e.style = {};let { attrs: d, style: f } = e;- for (let e of Cg) d[e] !== void 0 && (f[e] = d[e], delete d[e]);- (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && uee(d, i, a, o, !1);+ for (let e of Ag) d[e] !== void 0 && (f[e] = d[e], delete d[e]);+ (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && _ee(d, i, a, o, !1);}// node_modules/motion-dom/dist/es/effects/attr/index.mjs-function dee(e, t) {+function vee(e, t) {if (!(t in e)) return !1;let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);return n && typeof n.set == "function";}-var Tg = (e, t, n, r, i = n) => {- let a = dee(e, i);- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = xg(i));- let o = Dp[n] || Dp[i], s = a ? () => {- e[i] = Rm(r.get(), Dp[n]);+var Mg = (e, t, n, r, i = n) => {+ let a = vee(e, i);+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Og(i));+ let o = Bp[n] || Bp[i], s = a ? () => {+ e[i] = Xm(r.get(), Bp[n]);} : () => {- let t = Rm(r.get(), o);+ let t = Xm(r.get(), o);t == null ? e.removeAttribute(i) : e.setAttribute(i, String(t));};return t.set(n, r, s);};// node_modules/motion-dom/dist/es/effects/svg/index.mjs-function fee(e, t, n, r) {- return kf.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {+function yee(e, t, n, r) {+ return Af.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {let t = r.get();e.setAttribute("stroke-dashoffset", `${-t}`);- }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new hh("1 1"), () => {+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new Ah("1 1"), () => {let n = t.get("pathLength")?.get() ?? 1, r = t.get("pathSpacing")?.get();e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);}), t.set(n, r, void 0, t.get("stroke-dasharray")));}-var pee = /*@__PURE__*/ mg((e, t, n, r) => n.startsWith("path") && !Kp.has(n) ? fee(e, t, n, r) : n.startsWith("attr") ? Tg(e, t, n, r, Eg(n)) : (Kp.has(n) || gg.has(n) || dm(n) || n in e.style ? vg : Tg)(e, t, n, r), {- test: lg,- read: (e, t) => Kp.has(t) ? Dp[t]?.default || 0 : dm(t) || Cg.includes(t) ? yg(e, t) || e.getAttribute(xg(t)) || 0 : (t = Eg(t), e.getAttribute(xg(t)) ?? e.getAttribute(t) ?? void 0)+var bee = /*@__PURE__*/ Cg((e, t, n, r) => n.startsWith("path") && !im.has(n) ? yee(e, t, n, r) : n.startsWith("attr") ? Mg(e, t, n, r, Ng(n)) : (im.has(n) || wg.has(n) || Cm(n) || n in e.style ? Eg : Mg)(e, t, n, r), {+ test: vg,+ read: (e, t) => im.has(t) ? Bp[t]?.default || 0 : Cm(t) || Ag.includes(t) ? Dg(e, t) || e.getAttribute(Og(t)) || 0 : (t = Ng(t), e.getAttribute(Og(t)) ?? e.getAttribute(t) ?? void 0)});-function Eg(e) {+function Ng(e) {return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());}// node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs-function Dg({ top: e, left: t, right: n, bottom: r }) {+function Pg({ top: e, left: t, right: n, bottom: r }) {return {x: {min: t,@@ -16970,7 +16913,7 @@ function Dg({ top: e, left: t, right: n, bottom: r }) {}};}-function mee({ x: e, y: t }) {+function xee({ x: e, y: t }) {return {top: t.min,right: e.max,@@ -16978,7 +16921,7 @@ function mee({ x: e, y: t }) {left: e.min};}-function hee(e, t) {+function See(e, t) {if (!t) return e;let n = t({x: e.left,@@ -16995,72 +16938,79 @@ function hee(e, t) {};}// node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs-function Og(e) {+function Fg(e) {return e === void 0 || e === 1;}-function kg({ scale: e, scaleX: t, scaleY: n }) {- return !Og(e) || !Og(t) || !Og(n);+function Ig({ scale: e, scaleX: t, scaleY: n }) {+ return !Fg(e) || !Fg(t) || !Fg(n);}-function Ag(e) {- return kg(e) || jg(e) || e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;+var Lg = [+ "rotate",+ "rotateX",+ "rotateY",+ "rotateZ",+ "skewX",+ "skewY"+];+function Rg(e) {+ return Ig(e) || Bg(e) || zg(e);}-function jg(e) {- return Mg(e.x) || Mg(e.y);+function zg(e) {+ return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;}-function Mg(e) {+function Bg(e) {+ return Vg(e.x) || Vg(e.y);+}+function Vg(e) {return e && e !== "0%";}// node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs-function Ng(e, t, n) {+function Hg(e, t, n) {return n + t * (e - n);}-function Pg(e, t, n, r, i) {- return i !== void 0 && (e = Ng(e, i, r)), Ng(e, n, r) + t;+function Ug(e, t, n, r, i) {+ return i !== void 0 && (e = Hg(e, i, r)), Hg(e, n, r) + t;}-function Fg(e, t = 0, n = 1, r, i) {- e.min = Pg(e.min, t, n, r, i), e.max = Pg(e.max, t, n, r, i);+function Wg(e, t = 0, n = 1, r, i) {+ e.min = Ug(e.min, t, n, r, i), e.max = Ug(e.max, t, n, r, i);}-function Ig(e, { x: t, y: n }) {- Fg(e.x, t.translate, t.scale, t.originPoint), Fg(e.y, n.translate, n.scale, n.originPoint);+function Gg(e, { x: t, y: n }) {+ Wg(e.x, t.translate, t.scale, t.originPoint), Wg(e.y, n.translate, n.scale, n.originPoint);}-var Lg = .999999999999, Rg = 1.0000000000001;-function zg(e, t, n, r = !1) {+var Kg = .999999999999, qg = 1.0000000000001;+function Cee(e, t, n, r = !1) {let i = n.length;if (!i) return;t.x = t.y = 1;let a, o;- for (let s = 0; s < i; s++) {- a = n[s], o = a.projectionDelta;- let { visualElement: i } = a.options;- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (Bg(e.x, -a.scroll.offset.x), Bg(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Ig(e, o)), r && Ag(a.latestValues) && Ug(e, a.latestValues, a.layout?.layoutBox));- }- t.x < Rg && t.x > Lg && (t.x = 1), t.y < Rg && t.y > Lg && (t.y = 1);+ for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (Jg(e.x, -a.scroll.offset.x), Jg(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, Gg(e, o)), r && (r.path?.[s] || r) !== a && Rg(a.latestValues) && Zg(e, a.latestValues, a.layout?.layoutBox));+ t.x < qg && t.x > Kg && (t.x = 1), t.y < qg && t.y > Kg && (t.y = 1);}-function Bg(e, t) {+function Jg(e, t) {e.min += t, e.max += t;}-function Vg(e, t, n, r, i = .5) {- Fg(e, t, n, cf(e.min, e.max, i), r);+function Yg(e, t, n, r, i = .5) {+ Wg(e, t, n, lf(e.min, e.max, i), r);}-function Hg(e, t) {+function Xg(e, t) {return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;}-function Ug(e, t, n) {+function Zg(e, t, n) {let r = n ?? e;- Vg(e.x, Hg(t.x, r.x), t.scaleX, t.scale, t.originX), Vg(e.y, Hg(t.y, r.y), t.scaleY, t.scale, t.originY);+ Yg(e.x, Xg(t.x, r.x), t.scaleX, t.scale, t.originX), Yg(e.y, Xg(t.y, r.y), t.scaleY, t.scale, t.originY);}// node_modules/motion-dom/dist/es/projection/utils/measure.mjs-function Wg(e, t) {- return Dg(hee(e.getBoundingClientRect(), t));+function Qg(e, t) {+ return Pg(See(e.getBoundingClientRect(), t));}-function Gg(e, t, n) {- let r = Wg(e, n), { scroll: i } = t;- return i && (Bg(r.x, i.offset.x), Bg(r.y, i.offset.y)), r;+function wee(e, t, n) {+ let r = Qg(e, n), { scroll: i } = t;+ return i && (Jg(r.x, i.offset.x), Jg(r.y, i.offset.y)), r;}// node_modules/motion-dom/dist/es/animation/animate/element.mjs-var Kg = {}, qg = (e) => lg(e) ? pee : bg, Jg = class {+var Tee = {}, Eee = (e) => vg(e) ? bee : mee, Dee = class {constructor(e, t) {- this.effect = e, this.current = t, this.KeyframeResolver = ng;+ this.effect = e, this.current = t, this.KeyframeResolver = ug;}getValue(e) {return this.effect.get(this.current, e);@@ -17072,19 +17022,19 @@ var Kg = {}, qg = (e) => lg(e) ? pee : bg, Jg = class {this.effect.flush(this.current);}measureViewportBox() {- return Wg(this.current);+ return Qg(this.current);}getProps() {- return Kg;+ return Tee;}};-function Yg(e, t, n, r) {- if (ug.current?.track(e), r) return og((e) => r.getValue(e, null), t, n, r);- let i = qg(e);- return sg(i, e, t, n, new Jg(i, e));+function Oee(e, t, n, r) {+ if (yg.current?.track(e), r) return mg((e) => r.getValue(e, null), t, n, r);+ let i = Eee(e);+ return hg(i, e, t, n, new Dee(i, e));}// node_modules/motion-dom/dist/es/effects/prop/index.mjs-var Xg = /*@__PURE__*/ mg((e, t, n, r) => t.set(n, r, () => {+var kee = /*@__PURE__*/ Cg((e, t, n, r) => t.set(n, r, () => {e[n] = r.get();}), {test: (e) => Au(e),@@ -17092,166 +17042,159 @@ var Xg = /*@__PURE__*/ mg((e, t, n, r) => t.set(n, r, () => {let n = e[t];return typeof n == "string" || typeof n == "number" ? n : void 0;}-}), { schedule: Zg, cancel: gee } = /* @__PURE__ */ Of(queueMicrotask, !1);+}), { schedule: $g, cancel: Aee } = /* @__PURE__ */ kf(queueMicrotask, !1);// node_modules/motion-dom/dist/es/animation/animate/single-value.mjs-function Qg(e, t, n) {- let r = zh(e) ? e : gh(e);- return r.start(Eh("", r, t, n)), r.animation;+function e_(e, t, n) {+ let r = eg(e) ? e : jh(e);+ return r.start(Vh("", r, t, n)), r.animation;}// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs-var $g = {}, e_ = {+var t_ = {}, n_ = {value: null,addProjectionMetrics: null};// node_modules/motion-dom/dist/es/utils/delay.mjs-function _ee(e, t) {+function jee(e, t) {let n = ud.now();- e = fg(e);+ e = xg(e);let r = ({ timestamp: i }) => {let a = i - n;- a >= t && (Af(r), e(a - t));+ a >= t && (jf(r), e(a - t));};- return kf.setup(r, !0), dg(() => Af(r));+ return Af.setup(r, !0), bg(() => jf(r));}// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs-function vee(e) {- return lg(e) && e.tagName === "svg";+function Mee(e) {+ return vg(e) && e.tagName === "svg";}// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs-function t_(e) {- return zh(e) ? e.get() : e;+function r_(e) {+ return eg(e) ? e.get() : e;}// node_modules/motion-dom/dist/es/value/utils/as-number.mjs-var n_ = (e) => typeof e == "number" ? e : parseFloat(e), yee = rg.length, r_ = [- "rotate",- "rotateX",- "rotateY",- "rotateZ",- "skewX",- "skewY"-], bee = r_.length, i_ = (e) => typeof e == "number" || W.test(e);-function xee(e, t, n, r, i, a) {- i ? (e.opacity = cf(0, n.opacity ?? 1, See(r)), e.opacityExit = cf(t.opacity ?? 1, 0, Cee(r))) : a && (e.opacity = cf(t.opacity ?? 1, n.opacity ?? 1, r));- for (let i = 0; i < yee; i++) {- let a = rg[i], o = a_(t, a), s = a_(n, a);- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || i_(o) === i_(s) ? (e[a] = Math.max(cf(n_(o), n_(s), r), 0), (Nd.test(s) || Nd.test(o)) && (e[a] += "%")) : e[a] = s);+var i_ = (e) => typeof e == "number" ? e : parseFloat(e), Nee = dg.length, a_ = (e) => typeof e == "number" || W.test(e);+function Pee(e, t, n, r, i, a) {+ i ? (e.opacity = lf(0, n.opacity ?? 1, Fee(r)), e.opacityExit = lf(t.opacity ?? 1, 0, Iee(r))) : a && (e.opacity = lf(t.opacity ?? 1, n.opacity ?? 1, r));+ for (let i = 0; i < Nee; i++) {+ let a = dg[i], o = o_(t, a), s = o_(n, a);+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || a_(o) === a_(s) ? (e[a] = Math.max(lf(i_(o), i_(s), r), 0), (Pd.test(s) || Pd.test(o)) && (e[a] += "%")) : e[a] = s);}- for (let i = 0; i < bee; i++) {- let a = r_[i];- (t[a] || n[a]) && (e[a] = cf(t[a] || 0, n[a] || 0, r));+ for (let i = 0; i < Lg.length; i++) {+ let a = Lg[i];+ (t[a] || n[a]) && (e[a] = lf(t[a] || 0, n[a] || 0, r));}}-function a_(e, t) {+function o_(e, t) {return e[t] === void 0 ? e.borderRadius : e[t];}-var See = /*@__PURE__*/ o_(0, .5, Xu), Cee = /*@__PURE__*/ o_(.5, .95, Nu);-function o_(e, t, n) {+var Fee = /*@__PURE__*/ s_(0, .5, Xu), Iee = /*@__PURE__*/ s_(.5, .95, Nu);+function s_(e, t, n) {return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Fu(e, t, r));}// node_modules/motion-dom/dist/es/projection/geometry/copy.mjs-function s_(e, t) {- e.min = t.min, e.max = t.max;-}function c_(e, t) {- s_(e.x, t.x), s_(e.y, t.y);+ e.min = t.min, e.max = t.max;}function l_(e, t) {+ c_(e.x, t.x), c_(e.y, t.y);+}+function u_(e, t) {e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;}// node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs-var wee = .9999, Tee = 1.0001, Eee = -.01, Dee = .01;-function u_(e) {+var Lee = .9999, Ree = 1.0001, zee = -.01, Bee = .01;+function d_(e) {return e.max - e.min;}-function Oee(e, t, n) {+function Vee(e, t, n) {return Math.abs(e - t) <= n;}-function d_(e, t, n, r = .5) {- e.origin = r, e.originPoint = cf(t.min, t.max, e.origin), e.scale = u_(n) / u_(t), e.translate = cf(n.min, n.max, e.origin) - e.originPoint, (e.scale >= wee && e.scale <= Tee || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Eee && e.translate <= Dee || isNaN(e.translate)) && (e.translate = 0);-}-function f_(e, t, n, r) {- d_(e.x, t.x, n.x, r ? r.originX : void 0), d_(e.y, t.y, n.y, r ? r.originY : void 0);-}-function p_(e, t, n, r = 0) {- e.min = (r ? cf(n.min, n.max, r) : n.min) + t.min, e.max = e.min + u_(t);+function f_(e, t, n, r = .5) {+ e.origin = r, e.originPoint = lf(t.min, t.max, e.origin), e.scale = d_(n) / d_(t), e.translate = lf(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Lee && e.scale <= Ree || isNaN(e.scale)) && (e.scale = 1), (e.translate >= zee && e.translate <= Bee || isNaN(e.translate)) && (e.translate = 0);}-function kee(e, t, n, r) {- p_(e.x, t.x, n.x, r?.x), p_(e.y, t.y, n.y, r?.y);+function p_(e, t, n, r) {+ f_(e.x, t.x, n.x, r?.originX), f_(e.y, t.y, n.y, r?.originY);}function m_(e, t, n, r = 0) {- let i = r ? cf(n.min, n.max, r) : n.min;- e.min = t.min - i, e.max = e.min + u_(t);+ e.min = (r ? lf(n.min, n.max, r) : n.min) + t.min, e.max = e.min + d_(t);}-function h_(e, t, n, r) {+function Hee(e, t, n, r) {m_(e.x, t.x, n.x, r?.x), m_(e.y, t.y, n.y, r?.y);}+function h_(e, t, n, r = 0) {+ let i = r ? lf(n.min, n.max, r) : n.min;+ e.min = t.min - i, e.max = e.min + d_(t);+}+function g_(e, t, n, r) {+ h_(e.x, t.x, n.x, r?.x), h_(e.y, t.y, n.y, r?.y);+}// node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs-function g_(e, t, n, r, i) {- return e -= t, e = Ng(e, 1 / n, r), i !== void 0 && (e = Ng(e, 1 / i, r)), e;+function __(e, t, n, r, i) {+ return e -= t, e = Hg(e, 1 / n, r), i !== void 0 && (e = Hg(e, 1 / i, r)), e;}-function Aee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {- if (Nd.test(t) && (t = parseFloat(t), t = cf(o.min, o.max, t / 100) - o.min), typeof t != "number") return;- let s = cf(a.min, a.max, r);- e === a && (s -= t), e.min = g_(e.min, t, n, s, i), e.max = g_(e.max, t, n, s, i);+function Uee(e, t = 0, n = 1, r = .5, i, a = e, o = e) {+ if (Pd.test(t) && (t = parseFloat(t), t = lf(o.min, o.max, t / 100) - o.min), typeof t != "number") return;+ let s = lf(a.min, a.max, r);+ e === a && (s -= t), e.min = __(e.min, t, n, s, i), e.max = __(e.max, t, n, s, i);}-function __(e, t, [n, r, i], a, o) {- Aee(e, t[n], t[r], t[i], t.scale, a, o);+function v_(e, t, [n, r, i], a, o) {+ Uee(e, t[n], t[r], t[i], t.scale, a, o);}-var jee = [+var Wee = ["x","scaleX","originX"-], Mee = [+], Gee = ["y","scaleY","originY"];-function v_(e, t, n, r) {- __(e.x, t, jee, n ? n.x : void 0, r ? r.x : void 0), __(e.y, t, Mee, n ? n.y : void 0, r ? r.y : void 0);+function y_(e, t, n, r) {+ v_(e.x, t, Wee, n?.x, r?.x), v_(e.y, t, Gee, n?.y, r?.y);}// node_modules/motion-dom/dist/es/projection/geometry/models.mjs-var y_ = () => ({+var b_ = () => ({translate: 0,scale: 1,origin: 0,originPoint: 0-}), b_ = () => ({- x: y_(),- y: y_()}), x_ = () => ({+ x: b_(),+ y: b_()+}), S_ = () => ({min: 0,max: 0-}), S_ = () => ({- x: x_(),- y: x_()+}), C_ = () => ({+ x: S_(),+ y: S_()});// node_modules/motion-dom/dist/es/projection/geometry/utils.mjs-function C_(e) {- return e.translate === 0 && e.scale === 1;-}function w_(e) {- return C_(e.x) && C_(e.y);-}-function T_(e, t) {- return e.min === t.min && e.max === t.max;+ return e.translate === 0 && e.scale === 1;}-function Nee(e, t) {- return T_(e.x, t.x) && T_(e.y, t.y);+function T_(e) {+ return w_(e.x) && w_(e.y);}function E_(e, t) {- return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);+ return e.min === t.min && e.max === t.max;}function D_(e, t) {return E_(e.x, t.x) && E_(e.y, t.y);}-function O_(e) {- return u_(e.x) / u_(e.y);+function O_(e, t) {+ return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);}function k_(e, t) {+ return O_(e.x, t.x) && O_(e.y, t.y);+}+function A_(e) {+ return d_(e.x) / d_(e.y);+}+function j_(e, t) {return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;}// node_modules/motion-dom/dist/es/projection/shared/stack.mjs-var Pee = class {+var M_ = class {constructor() {this.members = [];}@@ -17299,47 +17242,51 @@ var Pee = class {}};// node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs-function A_(e, t) {+function N_(e, t) {return t.max === t.min ? 0 : e / (t.max - t.min) * 100;}-var j_ = { correct: (e, t) => {+var P_ = { correct: (e, t) => {if (!t.target) return e;if (typeof e == "string") {if (W.test(e)) e = parseFloat(e);else return e;}- return `${A_(e, t.target.x)}% ${A_(e, t.target.y)}%`;-} }, Fee = {- borderRadius: /* @__PURE__ */ Object.assign({}, j_, { applyTo: /* @__PURE__ */ rg.slice() }),- borderTopLeftRadius: j_,- borderTopRightRadius: j_,- borderBottomLeftRadius: j_,- borderBottomRightRadius: j_,+ return `${N_(e, t.target.x)}% ${N_(e, t.target.y)}%`;+} }, F_ = {+ borderRadius: /* @__PURE__ */ Object.assign({}, P_, { applyTo: /* @__PURE__ */ dg.slice() }),+ borderTopLeftRadius: P_,+ borderTopRightRadius: P_,+ borderBottomLeftRadius: P_,+ borderBottomRightRadius: P_,boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {- let r = e, i = rf.parse(e);+ let r = e, i = af.parse(e);if (i.length > 5) return r;- let a = rf.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;+ let a = af.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;i[0 + o] /= s, i[1 + o] /= c;- let l = cf(s, c, .5);+ let l = lf(s, c, .5);return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);} }};// node_modules/motion-dom/dist/es/projection/styles/transform.mjs-function Iee(e, t, n) {+function I_(e, t, n) {let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {- let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, rotateZ: s, skewX: c, skewY: l } = n;- e && (r = `perspective(${e}px) ${r}`), t && (r += `rotate(${t}deg) `), i && (r += `rotate(${i}deg) `), a && (r += `rotateX(${a}deg) `), o && (r += `rotateY(${o}deg) `), s && (r += `rotateZ(${s}deg) `), c && (r += `skewX(${c}deg) `), l && (r += `skewY(${l}deg) `);+ let { transformPerspective: e } = n;+ e && (r = `perspective(${e}px) ${r}`);+ for (let e = 0; e < Lg.length; e++) {+ let t = Lg[e], i = n[t];+ i && (r += `${t}(${i}deg) `), !e && n.pathRotation && (r += `rotate(${n.pathRotation}deg) `);+ }}let s = e.x.scale * t.x, c = e.y.scale * t.y;return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";}// node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs-function M_(e) {+function L_(e) {return [e("x"), e("y")];}// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs-var Lee = (e, t) => e.depth - t.depth, Ree = class {+var R_ = (e, t) => e.depth - t.depth, z_ = class {constructor() {this.children = [], this.isDirty = !1;}@@ -17350,76 +17297,74 @@ var Lee = (e, t) => e.depth - t.depth, Ree = class {Eu(this.children, e), this.isDirty = !0;}forEach(e) {- this.isDirty && this.children.sort(Lee), this.isDirty = !1, this.children.forEach(e);+ this.isDirty && this.children.sort(R_), this.isDirty = !1, this.children.forEach(e);}-}, N_ = {+}, B_ = {hasAnimatedSinceResize: !0,hasEverUpdated: !1-}, P_ = {+}, V_ = {nodes: 0,calculatedTargetDeltas: 0,calculatedProjections: 0-}, F_ = [- "",- "X",- "Y",- "Z"-], zee = 1e3, Bee = 0;-function I_(e, t, n, r) {+}, H_ = [+ "z",+ "skew",+ "skewZ"+], Kee = 1e3, qee = 0;+function U_(e, t, n, r) {let { latestValues: i } = t;i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));}-var L_ = ({ instance: e }) => e && Hm.get(e)?.demote();-function R_(e) {+var W_ = (e) => e.instance && rh.get(e.instance)?.demote() && e.resetSkewAndRotation();+function G_(e) {if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;let { visualElement: t } = e.options;if (!t) return;- let n = Uh(t);+ let n = ig(t);if (window.MotionHasOptimisedAnimation(n, "transform")) {let { layout: t, layoutId: r } = e.options;- window.MotionCancelOptimisedAnimation(n, "transform", kf, !(t || r));+ window.MotionCancelOptimisedAnimation(n, "transform", Af, !(t || r));}let { parent: r } = e;- r && !r.hasCheckedOptimisedAppear && R_(r);+ r && !r.hasCheckedOptimisedAppear && G_(r);}-function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {- return Object.assign($g, {- ...Fee,- ...$g+function K_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {+ return Object.assign(t_, {+ ...F_,+ ...t_}), class {constructor(e = {}, n = t?.()) {- this.id = Bee++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {+ this.id = qee++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {x: 1,y: 1}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());}, this.updateProjection = () => {- this.projectionUpdateScheduled = !1, e_.value && (P_.nodes = P_.calculatedTargetDeltas = P_.calculatedProjections = 0), this.nodes.forEach(Uee), this.nodes.forEach(Zee), this.nodes.forEach(Qee), this.nodes.forEach(Wee), e_.addProjectionMetrics && e_.addProjectionMetrics(P_);+ this.projectionUpdateScheduled = !1, n_.value && (V_.nodes = V_.calculatedTargetDeltas = V_.calculatedProjections = 0), this.nodes.forEach(Xee), this.nodes.forEach(ite), this.nodes.forEach(ate), this.nodes.forEach(Zee), n_.addProjectionMetrics && n_.addProjectionMetrics(V_);}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;- this.root === this && (this.nodes = new Ree());+ this.root === this && (this.nodes = new z_());}addEventListener(e, t) {return this.eventHandlers.has(e) || this.eventHandlers.set(e, new Iu()), this.eventHandlers.get(e).add(t);}notifyListeners(e, ...t) {- let n = this.eventHandlers.get(e);- n && n.notify(...t);+ this.eventHandlers.get(e)?.notify(...t);}hasListeners(e) {return this.eventHandlers.has(e);}mount(t) {if (this.instance) return;- this.isSVG = lg(t) && !vee(t), this.instance = t;+ this.isSVG = vg(t) && !Mee(t), this.instance = t;let { layoutId: n, layout: r, visualElement: i } = this.options;- if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {+ if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent?.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {let n, r = 0, i = () => this.root.updateBlockedByResize = !1;- kf.read(() => {+ Af.read(() => {r = window.innerWidth;}), e(t, () => {let e = window.innerWidth;- e !== r && (r = e, this.root.updateBlockedByResize = !0, n && n(), n = _ee(i, 250), N_.hasAnimatedSinceResize && (N_.hasAnimatedSinceResize = !1, this.nodes.forEach(H_)));+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = jee(i, 250), B_.hasAnimatedSinceResize && (B_.hasAnimatedSinceResize = !1, this.nodes.forEach(Y_)));});}n && this.root.registerSharedNode(n, this), this.addLayoutListener();@@ -17431,23 +17376,21 @@ function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.target = void 0, this.relativeTarget = void 0;return;}- let a = this.options.transition || n.getDefaultTransition() || q_, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !D_(this.targetLayout, i), l = !t && r;+ let a = this.options.transition || n.getDefaultTransition() || lte, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !k_(this.targetLayout, i), l = !t && r;if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);let t = {- ...vh(a, "layout"),+ ...Nh(a, "layout"),onPlay: o,onComplete: s};(n.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);- } else t || H_(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();+ } else t || Y_(this), this.isLead() && this.options.onExitComplete?.();this.targetLayout = i;}));}unmount() {- this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);- let e = this.getStack();- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, Af(this.updateProjection);+ this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this), this.getStack()?.remove(this), this.parent?.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), this.hasLayoutListener = !1, jf(this.updateProjection);}blockUpdate() {this.updateManuallyBlocked = !0;@@ -17459,7 +17402,7 @@ function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkreturn this.updateManuallyBlocked || this.updateBlockedByResize;}startUpdate() {- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach($ee), this.animationId++);+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(ote), this.animationId++);}getTransformTemplate() {let { visualElement: e } = this.options;@@ -17467,14 +17410,14 @@ function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}willUpdate(e = !0) {if (this.root.hasTreeAnimated = !0, this.root.isUpdateBlocked()) {- this.options.onExitComplete && this.options.onExitComplete();+ this.options.onExitComplete?.();return;}- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && R_(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;- L_(this), this.isLayoutDirty = !0;+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && G_(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;+ W_(this), this.isLayoutDirty = !0;for (let e = 0; e < this.path.length; e++) {let t = this.path[e];- t.shouldResetTransform = !0, L_(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);+ t.shouldResetTransform = !0, W_(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);}let { layoutId: t, layout: n } = this.options;if (t === void 0 && !n) return;@@ -17484,65 +17427,65 @@ function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkupdate() {if (this.updateScheduled = !1, this.isUpdateBlocked()) {let e = this.updateBlockedByResize;- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Kee), this.nodes.forEach(B_);+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach($ee), this.nodes.forEach(q_);return;}if (this.animationId <= this.animationCommitId) {- this.nodes.forEach(V_);+ this.nodes.forEach(J_);return;}- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Jee), this.nodes.forEach(Yee), this.nodes.forEach(Xee), this.nodes.forEach(Vee), this.nodes.forEach(Hee)) : this.nodes.forEach(V_), this.clearAllSnapshots();+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(tte), this.nodes.forEach(nte), this.nodes.forEach(rte), this.nodes.forEach(Jee), this.nodes.forEach(Yee)) : this.nodes.forEach(J_), this.clearAllSnapshots();let e = ud.now();- sd.delta = Du(0, 1e3 / 60, e - sd.timestamp), sd.timestamp = e, sd.isProcessing = !0, jf.update.process(sd), jf.preRender.process(sd), jf.render.process(sd), sd.isProcessing = !1;+ sd.delta = Du(0, 1e3 / 60, e - sd.timestamp), sd.timestamp = e, sd.isProcessing = !0, Mf.update.process(sd), Mf.preRender.process(sd), Mf.render.process(sd), sd.isProcessing = !1;}didUpdate() {- this.updateScheduled || (this.updateScheduled = !0, Zg.read(this.scheduleUpdate));+ this.updateScheduled || (this.updateScheduled = !0, $g.read(this.scheduleUpdate));}clearAllSnapshots() {- this.nodes.forEach(Gee), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));+ this.nodes.forEach(Qee), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));}scheduleUpdateProjection() {- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, kf.preRender(this.updateProjection, !1, !0));+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, Af.preRender(this.updateProjection, !1, !0));}scheduleCheckAfterUnmount() {- kf.postRender(() => {+ Af.postRender(() => {this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();});}updateSnapshot() {- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !u_(this.snapshot.measuredBox.x) && !u_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !d_(this.snapshot.measuredBox.x) && !d_(this.snapshot.measuredBox.y) && (this.snapshot = void 0));}updateLayout() {if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();let e = this.layout;- this.layout = this.measure(!1), this.layoutCorrected ||= S_(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);+ this.layout = this.measure(!1), this.layoutCorrected ||= C_(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);let { visualElement: t } = this.options;- t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);+ t?.notify("LayoutMeasure", this.layout.layoutBox, e?.layoutBox);}updateScroll(e = "measure") {- let t = !!(this.options.layoutScroll && this.instance);- if (this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === e && (t = !1), t && this.instance) {- let t = r(this.instance);+ let { scroll: t, instance: i } = this, { animationId: a } = this.root;+ if (this.options.layoutScroll && i && !(t && t.animationId === a && t.phase === e)) {+ let o = r(i);this.scroll = {- animationId: this.root.animationId,+ animationId: a,phase: e,- isRoot: t,- offset: n(this.instance),- wasRoot: this.scroll ? this.scroll.isRoot : t+ isRoot: o,+ offset: n(i),+ wasRoot: t ? t.isRoot : o};}}resetTransform() {if (!i) return;let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;- e && L_(this);- let t = this.projectionDelta && !w_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;- e && this.instance && (t || Ag(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());+ e && W_(this);+ let t = this.projectionDelta && !T_(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;+ e && this.instance && (t || Rg(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());}measure(e = !0) {let t = this.measurePageBox(), n = this.removeElementScroll(t);- return e && (n = this.removeTransform(n)), Z_(n), {+ return e && (n = this.removeTransform(n)), ute(n), {animationId: this.root.animationId,measuredBox: t,layoutBox: n,@@ -17552,42 +17495,42 @@ function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, check}measurePageBox() {let { visualElement: e } = this.options;- if (!e) return S_();+ if (!e) return C_();let t = e.measureViewportBox();- if (!(this.scroll?.wasRoot || this.path.some($_))) {+ if (!(this.scroll?.wasRoot || this.path.some(dte))) {let { scroll: e } = this.root;- e && (Bg(t.x, e.offset.x), Bg(t.y, e.offset.y));+ e && (Jg(t.x, e.offset.x), Jg(t.y, e.offset.y));}return t;}removeElementScroll(e) {- let t = S_();- if (c_(t, e), this.scroll?.wasRoot) return t;+ let t = C_();+ if (l_(t, e), this.scroll?.wasRoot) return t;for (let n = 0; n < this.path.length; n++) {let r = this.path[n], { scroll: i, options: a } = r;- r !== this.root && i && a.layoutScroll && (i.wasRoot && c_(t, e), Bg(t.x, i.offset.x), Bg(t.y, i.offset.y));+ r !== this.root && i && a.layoutScroll && (i.wasRoot && l_(t, e), Jg(t.x, i.offset.x), Jg(t.y, i.offset.y));}return t;}- applyTransform(e, t = !1, n, r) {- let i = n || S_();- c_(i, e);- for (let e = 0; e < this.path.length; e++) {+ applyTransform(e, t = !1, n, r, i = 0) {+ let a = n || C_();+ l_(a, e);+ for (let e = i; e < this.path.length; e++) {let n = this.path[e];- !t && n.options.layoutScroll && n.scroll && n !== n.root && (Bg(i.x, -n.scroll.offset.x), Bg(i.y, -n.scroll.offset.y)), Ag(n.latestValues) && Ug(i, n.latestValues, n.layout?.layoutBox);+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (Jg(a.x, -n.scroll.offset.x), Jg(a.y, -n.scroll.offset.y)), Rg(n.latestValues) && Zg(a, n.latestValues, n.layout?.layoutBox);}- return !r && Ag(this.latestValues) && Ug(i, this.latestValues, this.layout?.layoutBox), i;+ return !r && Rg(this.latestValues) && Zg(a, this.latestValues, this.layout?.layoutBox), a;}removeTransform(e) {- let t = S_();- c_(t, e);+ let t = C_();+ l_(t, e);for (let e = 0; e < this.path.length; e++) {let n = this.path[e];- if (!Ag(n.latestValues)) continue;+ if (!Rg(n.latestValues)) continue;let r;- n.instance && (kg(n.latestValues) && n.updateSnapshot(), r = S_(), c_(r, n.measurePageBox())), v_(t, n.latestValues, n.snapshot?.layoutBox, r);+ n.instance && (Ig(n.latestValues) && n.updateSnapshot(), r = C_(), l_(r, n.measurePageBox())), y_(t, n.latestValues, n.snapshot?.layoutBox, r);}- return Ag(this.latestValues) && v_(t, this.latestValues), t;+ return Rg(this.latestValues) && y_(t, this.latestValues), t;}setTargetDelta(e) {this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;@@ -17614,16 +17557,16 @@ function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (!this.layout || !(r || i)) return;this.resolvedRelativeTargetAt = sd.timestamp;let a = this.getClosestProjectingParent();- !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = S_(), this.targetWithTransforms = S_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), kee(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : c_(this.target, this.layout.layoutBox), Ig(this.target, this.targetDelta)) : c_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), e_.value && P_.calculatedTargetDeltas++);+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = C_(), this.targetWithTransforms = C_()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Hee(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : l_(this.target, this.layout.layoutBox), Gg(this.target, this.targetDelta)) : l_(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), n_.value && V_.calculatedTargetDeltas++);}getClosestProjectingParent() {- if (!(!this.parent || kg(this.parent.latestValues) || jg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();+ if (!(!this.parent || Ig(this.parent.latestValues) || Bg(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();}isProjecting() {return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);}createRelativeTarget(e, t, n) {- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = S_(), this.relativeTargetOrigin = S_(), h_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), c_(this.relativeTarget, this.relativeTargetOrigin);+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = C_(), this.relativeTargetOrigin = C_(), g_(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), l_(this.relativeTarget, this.relativeTargetOrigin);}removeRelativeTarget() {this.relativeParent = this.relativeTarget = void 0;@@ -17632,12 +17575,12 @@ function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checklet e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === sd.timestamp && (n = !1), n) return;let { layout: r, layoutId: i } = this.options;- if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;- c_(this.layoutCorrected, this.layout.layoutBox);+ if (this.isTreeAnimating = !!(this.parent?.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;+ l_(this.layoutCorrected, this.layout.layoutBox);let a = this.treeScale.x, o = this.treeScale.y;- zg(this.layoutCorrected, this.treeScale, this.path, t), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = S_());+ Cee(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = C_());let { target: s } = e;- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (l_(this.prevProjectionDelta.x, this.projectionDelta.x), l_(this.prevProjectionDelta.y, this.projectionDelta.y)), f_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && k_(this.projectionDelta.x, this.prevProjectionDelta.x) && k_(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), e_.value && P_.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (u_(this.prevProjectionDelta.x, this.projectionDelta.x), u_(this.prevProjectionDelta.y, this.projectionDelta.y)), p_(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && j_(this.projectionDelta.x, this.prevProjectionDelta.x) && j_(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), n_.value && V_.calculatedProjections++) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());}hide() {this.isVisible = !1;@@ -17646,29 +17589,25 @@ function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkthis.isVisible = !0;}scheduleRender(e = !0) {- if (this.options.visualElement?.scheduleRender(), e) {- let e = this.getStack();- e && e.scheduleRender();- }- this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);+ this.options.visualElement?.scheduleRender(), e && this.getStack()?.scheduleRender(), this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);}createProjectionDeltas() {- this.prevProjectionDelta = b_(), this.projectionDelta = b_(), this.projectionDeltaWithTransform = b_();+ this.prevProjectionDelta = x_(), this.projectionDelta = x_(), this.projectionDeltaWithTransform = x_();}setAnimationOrigin(e, t = !1, n) {- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = b_();+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = x_();this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;- let s = S_(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(K_));+ let s = C_(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(cte));this.animationProgress = 0;let f, p = n?.interpolateProjection(e);this.mixTargetDelta = (t) => {let n = t / 1e3, r = p?.(n);- r ? (o.x.translate = r.x, o.x.scale = cf(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = cf(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (U_(o.x, e.x, n), U_(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (h_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), G_(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Nee(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= S_(), c_(f, this.relativeTarget)), c && (this.animationValues = a, xee(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;+ X_(o.x, e.x, n), X_(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (g_(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), ste(this.relativeTarget, this.relativeTargetOrigin, s, n), f && D_(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= C_(), l_(f, this.relativeTarget)), c && (this.animationValues = a, Pee(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);}startAnimation(e) {- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (Af(this.pendingAnimation), void 0), this.pendingAnimation = kf.update(() => {- N_.hasAnimatedSinceResize = !0, this.motionValue ||= gh(0), this.motionValue.jump(0, !1), this.currentAnimation = Qg(this.motionValue, [0, 1e3], {+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (jf(this.pendingAnimation), void 0), this.pendingAnimation = Af.update(() => {+ B_.hasAnimatedSinceResize = !0, this.motionValue ||= jh(0), this.motionValue.jump(0, !1), this.currentAnimation = e_(this.motionValue, [0, 1e3], {...e,velocity: 0,isSync: !0,@@ -17678,7 +17617,7 @@ function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkonComplete: () => {e.onComplete && e.onComplete(), this.completeAnimation();}- }), hp(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;+ }), Op(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;});}completeAnimation() {@@ -17687,27 +17626,24 @@ function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checke && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");}finishAnimation() {- this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(zee), this.currentAnimation.stop()), this.completeAnimation();+ this.currentAnimation && (this.mixTargetDelta?.(Kee), this.currentAnimation.stop()), this.completeAnimation();}applyTransformsToTarget() {let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;if (t && i && n) {- if (this !== e && this.layout && n && Q_(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {- i = this.target || S_();- let t = u_(this.layout.layoutBox.x);- i.x.min = e.target.x.min, i.x.max = i.x.min + t;- let n = u_(this.layout.layoutBox.y);- i.y.min = e.target.y.min, i.y.max = i.y.min + n;+ if (this !== e && this.layout && n && nv(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {+ let { layoutBox: e } = this.layout, t = i;+ i = this.target || C_(), tv(i.x, t.x, e.x), tv(i.y, t.y, e.y);}- c_(t, i), Ug(t, r), f_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);+ l_(t, i), Zg(t, r), p_(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);}}registerSharedNode(e, t) {- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Pee()), this.sharedNodes.get(e).add(t);+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new M_()), this.sharedNodes.get(e).add(t);let n = t.options.initialPromotionConfig;t.promote({- transition: n ? n.transition : void 0,- preserveFollowOpacity: n && n.shouldPreserveFollowOpacity ? n.shouldPreserveFollowOpacity(t) : void 0+ transition: n?.transition,+ preserveFollowOpacity: n?.shouldPreserveFollowOpacity ? n.shouldPreserveFollowOpacity(t) : void 0});}isLead() {@@ -17727,174 +17663,168 @@ function z_({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkif (e) return this.root.sharedNodes.get(e);}promote({ needsReset: e, transition: t, preserveFollowOpacity: n } = {}) {- let r = this.getStack();- r && r.promote(this, n), e && (this.projectionDelta = void 0, this.needsReset = !0), t && this.setOptions({ transition: t });+ this.getStack()?.promote(this, n), e && (this.projectionDelta = void 0, this.needsReset = !0), t && this.setOptions({ transition: t });}relegate() {- let e = this.getStack();- return e ? e.relegate(this) : !1;+ return this.getStack()?.relegate(this) || !1;}resetSkewAndRotation() {let { visualElement: e } = this.options;if (!e) return;- let t = !1, { latestValues: n } = e;- if ((n.z || n.rotate || n.rotateX || n.rotateY || n.rotateZ || n.skewX || n.skewY) && (t = !0), !t) return;- let r = {};- n.z && I_("z", e, r, this.animationValues);- for (let t = 0; t < F_.length; t++) I_(`rotate${F_[t]}`, e, r, this.animationValues), I_(`skew${F_[t]}`, e, r, this.animationValues);+ let { latestValues: t } = e;+ if (!zg(t)) return;+ let n = {};+ for (let t = 0; t < H_.length; t++) U_(H_[t], e, n, this.animationValues);+ for (let t = 0; t < Lg.length; t++) U_(Lg[t], e, n, this.animationValues);e.render();- for (let t in r) e.setStaticValue(t, r[t]), this.animationValues && (this.animationValues[t] = r[t]);+ for (let t in n) e.setStaticValue(t, n[t]), this.animationValues && (this.animationValues[t] = n[t]);e.scheduleRender();}applyProjectionStyles(e, t) {if (!this.instance || this.isSVG) return;- if (!this.isVisible) {+ let n = this.getLead();+ if (!this.isVisible && n !== this) {e.visibility = "hidden";return;}- let n = this.getTransformTemplate();+ let r = this.getTransformTemplate();if (this.needsReset) {- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = t_(t?.pointerEvents) || "", e.transform = n ? n(this.latestValues, "") : "none";+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = r_(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";return;}- let r = this.getLead();- if (!this.projectionDelta || !this.layout || !r.target) {- this.options.layoutId && (e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = t_(t?.pointerEvents) || ""), this.hasProjected && !Ag(this.latestValues) && (e.transform = n ? n({}, "") : "none", this.hasProjected = !1);+ if (!this.projectionDelta || !this.layout || !n.target) {+ (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = r_(t?.pointerEvents) || ""), this.hasProjected && !Rg(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);return;}e.visibility = "";- let i = r.animationValues || r.latestValues;+ let i = n.animationValues || n.latestValues;this.applyTransformsToTarget();- let a = Iee(this.projectionDeltaWithTransform, this.treeScale, i);- n && (a = n(i, a)), e.transform = a;+ let a = I_(this.projectionDeltaWithTransform, this.treeScale, i);+ r && (a = r(i, a)), e.transform = a;let { x: o, y: s } = this.projectionDelta;- e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = r.animationValues ? r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;- for (let t in $g) {+ e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = n.animationValues ? n === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : n === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;+ for (let t in t_) {if (i[t] === void 0) continue;- let { correct: n, applyTo: o, isCSSVariable: s } = $g[t], c = a === "none" ? i[t] : n(i[t], r);+ let { correct: r, applyTo: o, isCSSVariable: s } = t_[t], c = a === "none" ? i[t] : r(i[t], n);if (o) {let t = o.length;for (let n = 0; n < t; n++) e[o[n]] = c;} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;}- this.options.layoutId && (e.pointerEvents = r === this ? t_(t?.pointerEvents) || "" : "none");+ this.options.layoutId && (e.pointerEvents = n === this ? r_(t?.pointerEvents) || "" : "none");}clearSnapshot() {this.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;}resetTree() {- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(B_), this.root.sharedNodes.clear();+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(q_), this.root.sharedNodes.clear();}};}-function Vee(e) {- e.updateLayout(), qee(e);+function Jee(e) {+ e.updateLayout(), ete(e);}-function Hee(e) {+function Yee(e) {let t = e.resumeFrom?.snapshot || e.snapshot;if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {- let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source;- if (i === "size") M_((e) => {- let r = a ? t.measuredBox[e] : t.layoutBox[e], i = u_(r);- r.min = n[e].min, r.max = r.min + i;- });- else if (i === "x" || i === "y") {- let e = i === "x" ? "y" : "x";- s_(a ? t.measuredBox[e] : t.layoutBox[e], n[e]);- } else Q_(i, t.layoutBox, n) && M_((r) => {- let i = a ? t.measuredBox[r] : t.layoutBox[r], o = u_(n[r]);- i.max = i.min + o, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[r].max = e.relativeTarget[r].min + o);- });- let o = b_();- f_(o, n, t.layoutBox);- let s = b_();- a ? f_(s, e.applyTransform(r, !0), t.measuredBox) : f_(s, n, t.layoutBox);- let c = !w_(o), l = !1;- if (!e.resumeFrom) {- let r = e.getClosestProjectingParent();- if (r && !r.resumeFrom) {- let { snapshot: i, layout: a } = r;- if (i && a) {- let o = e.options.layoutAnchor || void 0, s = S_();- h_(s, t.layoutBox, i.layoutBox, o);- let c = S_();- h_(c, n, a.layoutBox, o), D_(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);- }+ let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source, o = (r, a) => {+ if (i === "size") L_((e) => {+ let t = d_(r[e]);+ r[e].min = a[e].min, r[e].max = r[e].min + t;+ });+ else if (i === "x" || i === "y") {+ let e = i === "x" ? "y" : "x";+ c_(r[e], a[e]);+ } else nv(i, t.layoutBox, n) && L_((t) => {+ let n = d_(a[t]);+ r[t].max = r[t].min + n, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[t].max = e.relativeTarget[t].min + n);+ });+ }, s = a ? t.measuredBox : t.layoutBox;+ o(s, n);+ let c = x_();+ p_(c, n, t.layoutBox);+ let l = x_();+ p_(l, a ? e.applyTransform(r, !0) : n, s);+ let u = !T_(c), d = !1, f = e.getClosestProjectingParent();+ if ((!e.resumeFrom || f?.options.layoutRoot && e.resumeFrom.path.includes(f)) && f && !f.resumeFrom) {+ let { snapshot: r, layout: i } = f;+ if (r && i) {+ let s = e.options.layoutAnchor || void 0, c = C_();+ g_(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);+ let l = C_();+ g_(l, n, i.layoutBox, s), a && o(c, l), k_(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);}}e.notifyListeners("didUpdate", {layout: n,snapshot: t,- delta: s,- layoutDelta: o,- hasLayoutChanged: c,- hasRelativeLayoutChanged: l+ delta: l,+ layoutDelta: c,+ hasLayoutChanged: u,+ hasRelativeLayoutChanged: d});- } else if (e.isLead()) {- let { onExitComplete: t } = e.options;- t && t();- }+ } else e.isLead() && e.options.onExitComplete?.();e.options.transition = void 0;}-function Uee(e) {- e_.value && P_.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);+function Xee(e) {+ n_.value && V_.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);}-function Wee(e) {+function Zee(e) {e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;}-function Gee(e) {+function Qee(e) {e.clearSnapshot();}-function B_(e) {+function q_(e) {e.clearMeasurements();}-function Kee(e) {+function $ee(e) {e.isLayoutDirty = !0, e.updateLayout();}-function V_(e) {+function J_(e) {e.isLayoutDirty = !1;}-function qee(e) {+function ete(e) {let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;let i = n.dragSnapshot;- M_((e) => Bg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));+ L_((e) => Jg(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));}-function Jee(e) {+function tte(e) {e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);}-function Yee(e) {+function nte(e) {e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));}-function Xee(e) {+function rte(e) {let { visualElement: t } = e.options;- t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();+ t?.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();}-function H_(e) {+function Y_(e) {e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;}-function Zee(e) {+function ite(e) {e.resolveTargetDelta();}-function Qee(e) {+function ate(e) {e.calcProjection();}-function $ee(e) {+function ote(e) {e.resetSkewAndRotation();}-function U_(e, t, n) {- e.translate = cf(t.translate, 0, n), e.scale = cf(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;+function X_(e, t, n) {+ e.translate = lf(t.translate, 0, n), e.scale = lf(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;}-function W_(e, t, n, r) {- e.min = cf(t.min, n.min, r), e.max = cf(t.max, n.max, r);+function Z_(e, t, n, r) {+ e.min = lf(t.min, n.min, r), e.max = lf(t.max, n.max, r);}-function G_(e, t, n, r) {- W_(e.x, t.x, n.x, r), W_(e.y, t.y, n.y, r);+function ste(e, t, n, r) {+ Z_(e.x, t.x, n.x, r), Z_(e.y, t.y, n.y, r);}-function K_(e) {- return e.animationValues && e.animationValues.opacityExit !== void 0;+function cte(e) {+ return e.animationValues?.opacityExit !== void 0;}-var q_ = {+var lte = {duration: .45,ease: [.4,@@ -17902,58 +17832,61 @@ var q_ = {.1,1]-}, J_ = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Y_ = J_("applewebkit/") && !J_("chrome/") ? Math.round : Nu;-function X_(e) {- e.min = Y_(e.min), e.max = Y_(e.max);+}, Q_ = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), $_ = Q_("applewebkit/") && !Q_("chrome/") ? Math.round : Nu;+function ev(e) {+ e.min = $_(e.min), e.max = $_(e.max);}-function Z_(e) {- X_(e.x), X_(e.y);+function ute(e) {+ ev(e.x), ev(e.y);}-function Q_(e, t, n) {- return e === "position" || e === "preserve-aspect" && !Oee(O_(t), O_(n), .2);+function tv(e, t, n) {+ e.max = d_(n) + (e.min = t.min);}-function $_(e) {+function nv(e, t, n) {+ return e === "position" || e === "preserve-aspect" && !Vee(A_(t), A_(n), .2);+}+function dte(e) {return e !== e.root && e.scroll?.wasRoot;}// node_modules/motion-dom/dist/es/events/add-dom-event.mjs-function ev(e, t, n, r = { passive: !0 }) {+function rv(e, t, n, r = { passive: !0 }) {return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);}// node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs-var tv = /* @__PURE__ */ z_({- attachResizeListener: (e, t) => ev(e, "resize", t),+var fte = /* @__PURE__ */ K_({+ attachResizeListener: (e, t) => rv(e, "resize", t),measureScroll: () => ({x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,y: document.documentElement.scrollTop || document.body?.scrollTop || 0}),checkIsScrollRoot: () => !0-}), nv = { current: void 0 }, rv = /* @__PURE__ */ z_({+}), iv = { current: void 0 }, av = /* @__PURE__ */ K_({measureScroll: (e) => ({x: e.scrollLeft,y: e.scrollTop}),defaultParent: () => {- if (!nv.current) {- let e = new tv({});- e.mount(window), e.setOptions({ layoutScroll: !0 }), nv.current = e;+ if (!iv.current) {+ let e = new fte({});+ e.mount(window), e.setOptions({ layoutScroll: !0 }), iv.current = e;}- return nv.current;+ return iv.current;},resetTransform: (e, t) => {e.style.transform = t === void 0 ? "none" : t;},checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"-}), iv = /* @__PURE__ */ new WeakMap();+}), ov = /* @__PURE__ */ new WeakMap();// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs-function av(e) {+function sv(e) {return typeof e == "object" && !!e && typeof e.start == "function";}// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs-function ov(e) {+function cv(e) {return typeof e == "string" || Array.isArray(e);}// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs-var sv = [+var lv = ["animate","whileInView","whileFocus",@@ -17961,29 +17894,29 @@ var sv = ["whileTap","whileDrag","exit"-], cv = /* @__PURE__ */ ["initial"].concat(sv);+], uv = /* @__PURE__ */ ["initial"].concat(lv);// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs-function lv(e) {- if (av(e.animate)) return !0;- for (let t = 0; t < cv.length; t++) if (ov(e[cv[t]])) return !0;+function dv(e) {+ if (sv(e.animate)) return !0;+ for (let t = 0; t < uv.length; t++) if (cv(e[uv[t]])) return !0;return !1;}-function uv(e) {- return !!(lv(e) || e.variants);+function fv(e) {+ return !!(dv(e) || e.variants);}// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs-function ete(e, t, n) {+function pte(e, t, n) {for (let r in t) {let i = t[r], a = n[r];- if (zh(i)) e.addValue(r, i);- else if (zh(a)) e.addValue(r, gh(i, { owner: e }));+ if (eg(i)) e.addValue(r, i);+ else if (eg(a)) e.addValue(r, jh(i, { owner: e }));else if (a !== i) {if (e.hasValue(r)) {let t = e.getValue(r);t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);} else {let t = e.getStaticValue(r);- e.addValue(r, gh(t === void 0 ? i : t, { owner: e }));+ e.addValue(r, jh(t === void 0 ? i : t, { owner: e }));}}}@@ -17991,17 +17924,17 @@ function ete(e, t, n) {return t;}// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs-var dv = { current: null }, fv = { current: !1 }, tte = typeof window < "u";-function pv() {- if (fv.current = !0, tte) {+var pv = { current: null }, mv = { current: !1 }, mte = typeof window < "u";+function hv() {+ if (mv.current = !0, mte) {if (window.matchMedia) {- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => dv.current = e.matches;+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => pv.current = e.matches;e.addEventListener("change", t), t();- } else dv.current = !1;+ } else pv.current = !1;}}// node_modules/motion-dom/dist/es/render/VisualElement.mjs-var mv = [+var gv = ["AnimationStart","AnimationComplete","Update",@@ -18009,35 +17942,35 @@ var mv = ["LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"-], hv = {};-function gv(e) {- hv = e;+], _v = {};+function vv(e) {+ _v = e;}-function nte() {- return hv;+function hte() {+ return _v;}-var rte = class {+var gte = class {scrapeMotionValuesFromProps(e, t, n) {return {};}constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = um, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = Sm, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));}, this.renderScheduledAt = 0, this.scheduleRender = () => {let e = ud.now();- this.renderScheduledAt < e && (this.renderScheduledAt = e, kf.render(this.render, !1, !0));+ this.renderScheduledAt < e && (this.renderScheduledAt = e, Af.render(this.render, !1, !0));};let { latestValues: c, renderState: l } = o;- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = lv(t), this.isVariantNode = uv(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = dv(t), this.isVariantNode = fv(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);for (let e in d) {let t = d[e];- c[e] !== void 0 && zh(t) && t.set(c[e]);+ c[e] !== void 0 && eg(t) && t.set(c[e]);}}mount(e) {if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];- if (this.current = e, iv.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.isVariantNode && !this.isControllingVariants) {+ if (this.current = e, ov.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {let e = this;doe = e.props.inherit !== !1 && e.parent;@@ -18047,10 +17980,10 @@ var rte = class {t.add(this), this.removeFromVariantTree = () => t.delete(this);}}- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (fv.current || pv(), this.shouldReduceMotion = dv.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (mv.current || hv(), this.shouldReduceMotion = pv.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;}unmount() {- this.projection && this.projection.unmount(), Af(this.notifyUpdate), Af(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);+ this.projection?.unmount(), jf(this.notifyUpdate), jf(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);for (let e in this.events) this.events[e].clear();for (let e in this.features) {let t = this.features[e];@@ -18059,14 +17992,14 @@ var rte = class {this.current = null;}addChild(e) {- this.children.add(e), this.enteringChildren ??= /* @__PURE__ */ new Set(), this.enteringChildren.add(e);+ this.children.add(e), (this.enteringChildren ||= /* @__PURE__ */ new Set()).add(e);}removeChild(e) {- this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);+ this.children.delete(e), this.enteringChildren?.delete(e);}bindToMotionValue(e, t) {- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && Mm.has(e) && this.current instanceof HTMLElement) {- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new Cm({+ if (this.valueSubscriptions.get(e)?.(), t.accelerate && Wm.has(e) && this.current instanceof HTMLElement) {+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new Fm({element: this.current,name: e,keyframes: r,@@ -18079,13 +18012,13 @@ var rte = class {});return;}- let n = Kp.has(e);+ let n = im.has(e);n && this.onBindTransform && this.onBindTransform();let r = t.on("change", (t) => {- this.latestValues[e] = t, this.props.onUpdate && kf.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), Hm.get(this.current)?.check()), this.scheduleRender();+ this.latestValues[e] = t, this.props.onUpdate && Af.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), rh.get(this.current)?.check()), this.scheduleRender();}), i;typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {- r(), i && i();+ r(), i?.();});}sortNodePosition(e) {@@ -18093,8 +18026,8 @@ var rte = class {}updateFeatures() {let e = "animation";- for (e in hv) {- let t = hv[e];+ for (e in _v) {+ let t = _v[e];if (!t) continue;let { isEnabled: n, Feature: r } = t;if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {@@ -18107,7 +18040,7 @@ var rte = class {this.build(this.renderState, this.latestValues, this.props);}measureViewportBox() {- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : S_();+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : C_();}getStaticValue(e) {return this.latestValues[e];@@ -18117,20 +18050,20 @@ var rte = class {}update(e, t) {let { transformTemplate: n, onUpdate: r } = this.props;- (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && Hm.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;- for (let t = 0; t < mv.length; t++) {- let n = mv[t];- this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);+ (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && rh.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;+ for (let t = 0; t < gv.length; t++) {+ let n = gv[t];+ this.propEventSubscriptions[n]?.(), delete this.propEventSubscriptions[n];let r = e["on" + n];r && (this.propEventSubscriptions[n] = this.on(n, r));}- this.prevMotionValues = ete(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();+ this.prevMotionValues = pte(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();}getProps() {return this.props;}getVariant(e) {- return this.props.variants ? this.props.variants[e] : void 0;+ return this.props.variants?.[e];}getDefaultTransition() {return this.props.transition;@@ -18147,37 +18080,34 @@ var rte = class {}}removeValue(e) {- this.values.delete(e);- let t = this.valueSubscriptions.get(e);- t && (t(), this.valueSubscriptions.delete(e)), delete this.latestValues[e], this.removeValueFromRenderState(e, this.renderState);+ this.values.delete(e), this.valueSubscriptions.get(e)?.(), this.valueSubscriptions.delete(e), delete this.latestValues[e], this.removeValueFromRenderState(e, this.renderState);}hasValue(e) {return this.values.has(e);}getValue(e, t) {- if (this.props.values && this.props.values[e]) return this.props.values[e];- let n = this.values.get(e);- return n === void 0 && t !== void 0 && (n = gh(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n;+ let n = this.props.values?.[e];+ return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = jh(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);}readValue(e, t) {let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);- return n != null && (typeof n == "string" && (ku(n) || ju(n)) ? n = parseFloat(n) : typeof n != "number" && !rf.test(n) && rf.test(t) && (n = jp(e, t)), this.setBaseTarget(e, zh(n) ? n.get() : n)), zh(n) ? n.get() : n;+ return n != null && (typeof n == "string" && (ku(n) || ju(n)) ? n = parseFloat(n) : typeof n != "number" && !af.test(n) && af.test(t) && (n = Wp(e, t)), this.setBaseTarget(e, eg(n) ? n.get() : n)), eg(n) ? n.get() : n;}setBaseTarget(e, t) {this.baseTarget[e] = t;}on(e, t) {- return this.events[e] || (this.events[e] = new Iu()), this.events[e].add(t);+ return (this.events[e] || (this.events[e] = new Iu())).add(t);}notify(e, ...t) {- this.events[e] && this.events[e].notify(...t);+ this.events[e]?.notify(...t);}scheduleRenderMicrotask() {- Zg.render(this.render);+ $g.render(this.render);}-}, _v = class extends rte {+}, yv = class extends gte {constructor() {- super(...arguments), this.KeyframeResolver = ng;+ super(...arguments), this.KeyframeResolver = ug;}sortInstanceNodePosition(e, t) {return e.compareDocumentPosition(t) & 2 ? 1 : -1;@@ -18192,105 +18122,105 @@ var rte = class {handleChildMotionValue() {this.childSubscription && (this.childSubscription(), delete this.childSubscription);let { children: e } = this.props;- zh(e) && (this.childSubscription = e.on("change", (e) => {+ eg(e) && (this.childSubscription = e.on("change", (e) => {this.current && (this.current.textContent = `${e}`);}));}};// node_modules/motion-dom/dist/es/render/html/utils/render.mjs-function vv(e, { style: t, vars: n }, r, i) {+function bv(e, { style: t, vars: n }, r, i) {let a = e.style, o;for (o in t) a[o] = t[o];for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);}// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs-function yv(e, { layout: t, layoutId: n }) {- return Kp.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!$g[e] || e === "opacity");+function xv(e, { layout: t, layoutId: n }) {+ return im.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!t_[e] || e === "opacity");}// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs-function bv(e, t, n) {+function Sv(e, t, n) {let r = e.style, i = t?.style, a = {};if (!r) return a;- for (let t in r) (zh(r[t]) || i && zh(i[t]) || yv(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);+ for (let t in r) (eg(r[t]) || i && eg(i[t]) || xv(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);return a;}// node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs-function ite(e) {+function _te(e) {return window.getComputedStyle(e);}-var ate = class extends _v {+var vte = class extends yv {constructor() {- super(...arguments), this.type = "html", this.renderInstance = vv;+ super(...arguments), this.type = "html", this.renderInstance = bv;}mount(e) {- e.style, super.mount(e);+ super.mount(e);}readValueFromInstance(e, t) {- if (Kp.has(t)) return this.projection?.isProjecting ? Vp(t) : Up(e, t);+ if (im.has(t)) return this.projection?.isProjecting ? em(t) : nm(e, t);{- let n = ite(e), r = (pd(t) ? n.getPropertyValue(t) : n[t]) || 0;+ let n = _te(e), r = (pd(t) ? n.getPropertyValue(t) : n[t]) || 0;return typeof r == "string" ? r.trim() : r;}}measureInstanceViewportBox(e, { transformPagePoint: t }) {- return Wg(e, t);+ return Qg(e, t);}build(e, t, n) {- Sg(e, t, n.transformTemplate);+ kg(e, t, n.transformTemplate);}scrapeMotionValuesFromProps(e, t, n) {- return bv(e, t, n);+ return Sv(e, t, n);}-}, xv = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;+}, Cv = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;// node_modules/motion-dom/dist/es/events/event-info.mjs-function Sv(e) {+function wv(e) {return { point: {x: e.pageX,y: e.pageY} };}-var ote = (e) => (t) => xv(t) && e(t, Sv(t));+var yte = (e) => (t) => Cv(t) && e(t, wv(t));// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs-function Cv(e, t, n, r) {- return ev(e, t, ote(n), r);+function Tv(e, t, n, r) {+ return rv(e, t, yte(n), r);}// node_modules/motion-dom/dist/es/resize/handle-element.mjs-var wv = /* @__PURE__ */ new WeakMap(), Tv, Ev = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : lg(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ste = /*@__PURE__*/ Ev("inline", "width", "offsetWidth"), cte = /*@__PURE__*/ Ev("block", "height", "offsetHeight");-function lte({ target: e, borderBoxSize: t }) {- wv.get(e)?.forEach((n) => {+var Ev = /* @__PURE__ */ new WeakMap(), Dv, Ov = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : vg(r) && "getBBox" in r ? r.getBBox()[t] : r[n], bte = /*@__PURE__*/ Ov("inline", "width", "offsetWidth"), xte = /*@__PURE__*/ Ov("block", "height", "offsetHeight");+function Ste({ target: e, borderBoxSize: t }) {+ Ev.get(e)?.forEach((n) => {n(e, {get width() {- return ste(e, t);+ return bte(e, t);},get height() {- return cte(e, t);+ return xte(e, t);}});});}-function ute(e) {- e.forEach(lte);+function Cte(e) {+ e.forEach(Ste);}-function dte() {- typeof ResizeObserver < "u" && (Tv = new ResizeObserver(ute));+function wte() {+ typeof ResizeObserver < "u" && (Dv = new ResizeObserver(Cte));}-function fte(e, t) {- Tv || dte();- let n = pg(e);+function Tte(e, t) {+ Dv || wte();+ let n = Sg(e);return n.forEach((e) => {- let n = wv.get(e);- n || (n = /* @__PURE__ */ new Set(), wv.set(e, n)), n.add(t), Tv?.observe(e);+ let n = Ev.get(e);+ n || (n = /* @__PURE__ */ new Set(), Ev.set(e, n)), n.add(t), Dv?.observe(e);}), () => {n.forEach((e) => {- let n = wv.get(e);- n?.delete(t), n?.size || Tv?.unobserve(e);+ let n = Ev.get(e);+ n?.delete(t), n?.size || Dv?.unobserve(e);});};}// node_modules/motion-dom/dist/es/resize/handle-window.mjs-var Dv = /* @__PURE__ */ new Set(), Ov;-function pte() {- Ov = () => {+var kv = /* @__PURE__ */ new Set(), Av;+function Ete() {+ Av = () => {let e = {get width() {return window.innerWidth;@@ -18299,35 +18229,35 @@ function pte() {return window.innerHeight;}};- Dv.forEach((t) => t(e));- }, window.addEventListener("resize", Ov);+ kv.forEach((t) => t(e));+ }, window.addEventListener("resize", Av);}-function mte(e) {- return Dv.add(e), Ov || pte(), () => {- Dv.delete(e), !Dv.size && typeof Ov == "function" && (window.removeEventListener("resize", Ov), Ov = void 0);+function Dte(e) {+ return kv.add(e), Av || Ete(), () => {+ kv.delete(e), !kv.size && typeof Av == "function" && (window.removeEventListener("resize", Av), Av = void 0);};}// node_modules/motion-dom/dist/es/resize/index.mjs-function kv(e, t) {- return dg(typeof e == "function" ? mte(e) : fte(e, t));+function jv(e, t) {+ return bg(typeof e == "function" ? Dte(e) : Tte(e, t));}// node_modules/motion-dom/dist/es/utils/distance.mjs-var Av = (e, t) => Math.abs(e - t);-function hte(e, t) {- let n = Av(e.x, t.x), r = Av(e.y, t.y);+var Mv = (e, t) => Math.abs(e - t);+function Ote(e, t) {+ let n = Mv(e.x, t.x), r = Mv(e.y, t.y);return Math.sqrt(n ** 2 + r ** 2);}// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs-var jv = /*#__PURE__*/ new Set(["auto", "scroll"]), Mv = class {+var Nv = /*#__PURE__*/ new Set(["auto", "scroll"]), Pv = class {constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {- if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {+ if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.onElementScroll = (e) => {this.handleScroll(e.target);}, this.onWindowScroll = () => {this.handleScroll(window);}, this.updatePoint = () => {if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Nv(this.lastRawMoveEventInfo, this.transformPagePoint));- let e = Fv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = hte(e.offset, {+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Iv(this.lastRawMoveEventInfo, this.transformPagePoint));+ let e = Rv(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = Ote(e.offset, {x: 0,y: 0}) >= this.distanceThreshold;@@ -18338,97 +18268,89 @@ var jv = /*#__PURE__*/ new Set(["auto", "scroll"]), Mv = class {timestamp: ud.now()});let { onStart: i, onMove: a } = this.handlers;- t || (i && i(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a && a(this.lastMoveEvent, e);+ t || (i?.(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a?.(this.lastMoveEvent, e);}, this.handlePointerMove = (e, t) => {- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Nv(t, this.transformPagePoint), this.hasPendingMove = !0, kf.update(this.updatePoint, !0);+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Iv(t, this.transformPagePoint), this.hasPendingMove = !0, Af.update(this.updatePoint, !0);}, this.handlePointerUp = (e, t) => {this.hasPendingMove && this.updatePoint(), this.end();let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;- if ((this.dragSnapToOrigin || !this.startEvent) && i && i(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;- let a = Fv(e.type === "pointercancel" ? this.lastMoveEventInfo : Nv(t, this.transformPagePoint), this.history);- this.startEvent && n && n(e, a), r && r(e, a);- }, !xv(e)) return;+ if ((this.dragSnapToOrigin || !this.startEvent) && i?.(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;+ let a = Rv(e.type === "pointercancel" ? this.lastMoveEventInfo : Iv(t, this.transformPagePoint), this.history);+ this.startEvent && n?.(e, a), r?.(e, a);+ }, !Cv(e)) return;this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;- let s = Nv(Sv(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = sd;+ let s = Iv(wv(e), this.transformPagePoint), { point: c } = s;this.history = [{...c,- timestamp: l+ timestamp: ud.now()}];- let { onSessionStart: u } = t;- u && u(e, Fv(s, this.history));- let d = {+ let { onSessionStart: l } = t;+ l && l(e, Rv(s, this.history));+ let u = {passive: !0,capture: !0};- this.removeListeners = Pu(Cv(this.contextWindow, "pointermove", this.handlePointerMove, d), Cv(this.contextWindow, "pointerup", this.handlePointerUp, d), Cv(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);+ this.removeListeners = Pu(Tv(this.contextWindow, "pointermove", this.handlePointerMove, u), Tv(this.contextWindow, "pointerup", this.handlePointerUp, u), Tv(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);}startScrollTracking(e) {let t = e.parentElement;for (; t;) {let e = getComputedStyle(t);- (jv.has(e.overflowX) || jv.has(e.overflowY)) && this.scrollPositions.set(t, {- x: t.scrollLeft,- y: t.scrollTop- }), t = t.parentElement;- }- this.scrollPositions.set(window, {- x: window.scrollX,- y: window.scrollY- }), window.addEventListener("scroll", this.onElementScroll, { capture: !0 }), window.addEventListener("scroll", this.onWindowScroll), this.removeScrollListeners = () => {- window.removeEventListener("scroll", this.onElementScroll, { capture: !0 }), window.removeEventListener("scroll", this.onWindowScroll);- };+ (Nv.has(e.overflowX) || Nv.has(e.overflowY)) && this.scrollPositions.set(t, Fv(t)), t = t.parentElement;+ }+ this.scrollPositions.set(window, Fv(window)), this.removeScrollListeners = Pu(rv(window, "scroll", this.onElementScroll, { capture: !0 }), rv(window, "scroll", this.onWindowScroll, {}));}handleScroll(e) {let t = this.scrollPositions.get(e);if (!t) return;- let n = e === window, r = n ? {- x: window.scrollX,- y: window.scrollY- } : {- x: e.scrollLeft,- y: e.scrollTop- }, i = {+ let n = e === window, r = Fv(e), i = {x: r.x - t.x,y: r.y - t.y};- (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), kf.update(this.updatePoint, !0));+ (i.x !== 0 || i.y !== 0) && (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), Af.update(this.updatePoint, !0));}updateHandlers(e) {this.handlers = e;}end() {- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), Af(this.updatePoint);+ this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), jf(this.updatePoint);}+}, Fv = (e) => e === window ? {+ x: window.scrollX,+ y: window.scrollY+} : {+ x: e.scrollLeft,+ y: e.scrollTop};-function Nv(e, t) {+function Iv(e, t) {return t ? { point: t(e.point) } : e;}-function Pv(e, t) {+function Lv(e, t) {return {x: e.x - t.x,y: e.y - t.y};}-function Fv({ point: e }, t) {+function Rv({ point: e }, t) {return {point: e,- delta: Pv(e, Iv(t)),- offset: Pv(e, gte(t)),- velocity: _te(t, .1)+ delta: Lv(e, zv(t)),+ offset: Lv(e, kte(t)),+ velocity: Ate(t, .1)};}-function gte(e) {+function kte(e) {return e[0];}-function Iv(e) {+function zv(e) {return e[e.length - 1];}-function _te(e, t) {+function Ate(e, t) {if (e.length < 2) return {x: 0,y: 0};- let n = e.length - 1, r = null, i = Iv(e);+ let n = e.length - 1, r = null, i = zv(e);for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Lu(t)));) n--;if (!r) return {x: 0,@@ -18447,151 +18369,156 @@ function _te(e, t) {return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;}// node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs-var vte = /* @__PURE__ */ new Set([+var jte = /* @__PURE__ */ new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);-function yte(e) {- return vte.has(e.tagName) || e.isContentEditable === !0;+function Mte(e) {+ return jte.has(e.tagName) || e.isContentEditable === !0;}-var bte = /* @__PURE__ */ new Set([+var Nte = /* @__PURE__ */ new Set(["INPUT","SELECT","TEXTAREA"]);-function xte(e) {- return bte.has(e.tagName) || e.isContentEditable === !0;+function Bv(e) {+ return Nte.has(e.tagName) || e.isContentEditable === !0;}// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs-var Lv = {+var Vv = {x: !1,y: !1};-function Rv() {- return Lv.x || Lv.y;+function Hv() {+ return Vv.x || Vv.y;}// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs-function Ste(e) {- return e === "x" || e === "y" ? Lv[e] ? null : (Lv[e] = !0, () => {- Lv[e] = !1;- }) : Lv.x || Lv.y ? null : (Lv.x = Lv.y = !0, () => {- Lv.x = Lv.y = !1;+function Pte(e) {+ return e === "x" || e === "y" ? Vv[e] ? null : (Vv[e] = !0, () => {+ Vv[e] = !1;+ }) : Vv.x || Vv.y ? null : (Vv.x = Vv.y = !0, () => {+ Vv.x = Vv.y = !1;});}// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs-function Cte(e, { min: t, max: n }, r) {- return t !== void 0 && e < t ? e = r ? cf(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? cf(n, e, r.max) : Math.min(e, n)), e;+function Fte(e, { min: t, max: n }, r) {+ return t !== void 0 && e < t ? e = r ? lf(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? lf(n, e, r.max) : Math.min(e, n)), e;}-function zv(e, t, n) {+function Uv(e, t, n) {return {min: t === void 0 ? void 0 : e.min + t,max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)};}-function wte(e, { top: t, left: n, bottom: r, right: i }) {+function Ite(e, { top: t, left: n, bottom: r, right: i }) {return {- x: zv(e.x, n, i),- y: zv(e.y, t, r)+ x: Uv(e.x, n, i),+ y: Uv(e.y, t, r)};}-function Bv(e, t) {+function Wv(e, t) {let n = t.min - e.min, r = t.max - e.max;return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {min: n,max: r};}-function Tte(e, t) {+function Lte(e, t) {return {- x: Bv(e.x, t.x),- y: Bv(e.y, t.y)+ x: Wv(e.x, t.x),+ y: Wv(e.y, t.y)};}-function Ete(e, t) {- let n = .5, r = u_(e), i = u_(t);+function Rte(e, t) {+ let n = .5, r = d_(e), i = d_(t);return i > r ? n = /* @__PURE__ */ Fu(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Fu(e.min, e.max - i, t.min)), Du(0, 1, n);}-function Dte(e, t) {+function zte(e, t) {let n = {};return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;}-var Vv = .35;-function Ote(e = Vv) {- return e === !1 ? e = 0 : e === !0 && (e = Vv), {- x: Hv(e, "left", "right"),- y: Hv(e, "top", "bottom")+var Gv = .35;+function Bte(e = Gv) {+ return e === !1 ? e = 0 : e === !0 && (e = Gv), {+ x: Kv(e, "left", "right"),+ y: Kv(e, "top", "bottom")};}-function Hv(e, t, n) {+function Kv(e, t, n) {return {- min: Uv(e, t),- max: Uv(e, n)+ min: qv(e, t),+ max: qv(e, n)};}-function Uv(e, t) {+function qv(e, t) {return typeof e == "number" ? e : e[t] || 0;}// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs-var kte = /* @__PURE__ */ new WeakMap(), Ate = class {+function Jv(e) {+ let t = "";+ for (let n of e.path) {+ n.scroll = void 0, n.updateScroll();+ let { scroll: r } = n;+ n !== e.root && r && (t += r.offset.x + "," + r.offset.y + ",");+ }+ return t;+}+var Vte = /* @__PURE__ */ new WeakMap(), Hte = class {constructor(e, t = () => e.getProps()) {this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {x: 0,y: 0- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = S_(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = C_(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;}start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {- let { presenceContext: r } = this.visualElement;- if (r && r.isPresent === !1) return;- let i = (e) => {+ if (this.visualElement.presenceContext?.isPresent === !1) return;+ let r = (e) => {t && this.snapToCursor(e), this.stopAnimation();- }, a = (e, t) => {+ }, i = (e, t) => {let { drag: n, dragPropagation: r, onDragStart: i } = this.getProps();- if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = Ste(n), !this.openDragLock)) return;- this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), M_((e) => {+ if (n && !r && (this.openDragLock?.(), this.openDragLock = Pte(n), !this.openDragLock)) return;+ this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints();+ let { projection: a } = this.visualElement;+ a && (a.isAnimationBlocked = !0, a.target = void 0), L_((e) => {let t = this.getAxisMotionValue(e).get() || 0;- if (hd(t) && (t = kh(t, this.visualElement.current) || 0), W.test(t)) t = parseFloat(t);- else if (Nd.test(t)) {- let { projection: n } = this.visualElement;- if (n && n.layout) {- let r = n.layout.layoutBox[e];- r && (t = u_(r) * (parseFloat(t) / 100));- }+ if (hd(t) && (t = Wh(t, this.visualElement.current) || 0), W.test(t)) t = parseFloat(t);+ else if (Pd.test(t)) {+ let n = a?.layout?.layoutBox[e];+ n && (t = d_(n) * (parseFloat(t) / 100));}this.originPoint[e] = t;- }), i && kf.update(() => i(e, t), !1, !0), Vh(this.visualElement, "transform");- let { animationState: a } = this.visualElement;- a && a.setActive("whileDrag", !0);- }, o = (e, t) => {+ }), i && Af.update(() => i(e, t), !1, !0), ng(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);+ }, a = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t;let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();if (!n && !this.openDragLock) return;let { offset: o } = t;if (r && this.currentDirection === null) {- if (this.currentDirection = Mte(o), this.currentDirection === null) return;+ if (this.currentDirection = Wte(o), this.currentDirection === null) return;i && i(this.currentDirection);}- this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && kf.update(() => a(e, t), !1, !0);- }, s = (e, t) => {+ this.updateAxis("x", o), this.updateAxis("y", o), this.visualElement.render(), a && Af.update(() => a(e, t), !1, !0);+ }, o = (e, t) => {this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;- }, c = () => {+ }, s = () => {let { dragSnapToOrigin: e } = this.getProps();(e || this.constraints) && this.startAnimation({x: 0,y: 0});- }, { dragSnapToOrigin: l } = this.getProps();- this.panSession = new Mv(e, {- onSessionStart: i,- onStart: a,- onMove: o,- onSessionEnd: s,- resumeAnimation: c+ }, { dragSnapToOrigin: c } = this.getProps();+ this.panSession = new Pv(e, {+ onSessionStart: r,+ onStart: i,+ onMove: a,+ onSessionEnd: o,+ resumeAnimation: s}, {transformPagePoint: this.visualElement.getTransformPagePoint(),- dragSnapToOrigin: l,+ dragSnapToOrigin: c,distanceThreshold: n,contextWindow: this.visualElement.current?.ownerDocument.defaultView,element: this.visualElement.current@@ -18603,47 +18530,45 @@ var kte = /* @__PURE__ */ new WeakMap(), Ate = class {let { velocity: o } = i;this.startAnimation(o, n);let { onDragEnd: s } = this.getProps();- s && kf.postRender(() => s(r, i));+ s && Af.postRender(() => s(r, i));}cancel() {this.isDragging = !1;let { projection: e, animationState: t } = this.visualElement;- e && (e.isAnimationBlocked = !1), this.endPanSession();- let { dragPropagation: n } = this.getProps();- !n && this.openDragLock && (this.openDragLock(), this.openDragLock = null), t && t.setActive("whileDrag", !1);+ e && (e.isAnimationBlocked = !1), this.endPanSession(), !this.getProps().dragPropagation && this.openDragLock && (this.openDragLock(), this.openDragLock = null), t?.setActive("whileDrag", !1);}endPanSession() {- this.panSession && this.panSession.end(), this.panSession = void 0;+ this.panSession?.end(), this.panSession = void 0;}- updateAxis(e, t, n) {- let { drag: r } = this.getProps();- if (!n || !qv(e, r, this.currentDirection)) return;- let i = this.getAxisMotionValue(e), a = this.originPoint[e] + n[e];- this.constraints && this.constraints[e] && (a = Cte(a, this.constraints[e], this.elastic[e])), i.set(a);+ updateAxis(e, t) {+ let { drag: n } = this.readProps();+ if (!t || !Qv(e, n, this.currentDirection)) return;+ let r = this.getAxisMotionValue(e), i = this.originPoint[e] + t[e], a = this.constraints && this.constraints[e];+ a && (i = Fte(i, a, this.elastic[e])), r.set(i);}resolveConstraints() {- let { dragConstraints: e, dragElastic: t } = this.getProps(), n = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : this.visualElement.projection?.layout, r = this.constraints;- Wv(e) ? this.constraints ||= this.resolveRefConstraints() : this.constraints = e && n ? wte(n.layoutBox, e) : !1, this.elastic = Ote(t), r !== this.constraints && !Wv(e) && n && this.constraints && !this.hasMutatedConstraints && M_((e) => {- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Dte(n.layoutBox[e], this.constraints[e]));+ let { dragConstraints: e, dragElastic: t } = this.getProps(), { projection: n } = this.visualElement, r = n && (n.layout || n.measure(!1)), i = this.constraints;+ Yv(e) ? this.constraints && this.scroll === Jv(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r ? Ite(r.layoutBox, e) : !1, this.elastic = Bte(t), i !== this.constraints && !Yv(e) && r && this.constraints && !this.hasMutatedConstraints && L_((e) => {+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = zte(r.layoutBox[e], this.constraints[e]));});}resolveRefConstraints() {let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();- if (!Wv(e)) return !1;- let n = Gv(e), { projection: r } = this.visualElement;+ if (!Yv(e)) return !1;+ let n = Xv(e), { projection: r } = this.visualElement;if (!r || !r.layout) return !1;- r.root && (r.root.scroll = void 0, r.root.updateScroll());- let i = Gg(n, r.root, this.visualElement.getTransformPagePoint()), a = Tte(r.layout.layoutBox, i);+ this.scroll = Jv(r);+ let i = wee(n, r.root, this.visualElement.getTransformPagePoint()), a = Lte(r.layout.layoutBox, r.removeElementScroll(i));if (t) {- let e = t(mee(a));- this.hasMutatedConstraints = !!e, e && (a = Dg(e));+ let e = t(xee(a));+ this.hasMutatedConstraints = !!e, e && (a = Pg(e));}return a;}startAnimation(e, t) {- let { drag: n, dragMomentum: r, dragElastic: i, dragTransition: a, dragSnapToOrigin: o, onDragTransitionEnd: s } = this.getProps(), c = this.constraints || {}, l = M_((s) => {- if (!qv(s, t || n, this.currentDirection)) return;- let l = c && c[s] || {};+ let { drag: n, dragMomentum: r, dragElastic: i, dragTransition: a, dragSnapToOrigin: o, onDragTransitionEnd: s } = this.getProps(), c = this.constraints || {}, l = L_((s) => {+ if (!Qv(s, t || n, this.currentDirection)) return;+ let l = c[s] || {};(o === !0 || o === s) && (l = {min: 0,max: 0@@ -18665,10 +18590,10 @@ var kte = /* @__PURE__ */ new WeakMap(), Ate = class {}startAxisValueAnimation(e, t) {let n = this.getAxisMotionValue(e);- return Vh(this.visualElement, e), n.start(Eh(e, n, 0, t, this.visualElement, !1));+ return ng(this.visualElement, e), n.start(Vh(e, n, 0, t, this.visualElement, !1));}stopAnimation() {- M_((e) => this.getAxisMotionValue(e).stop());+ L_((e) => this.getAxisMotionValue(e).stop());}getAxisMotionValue(e) {let t = `_drag${e.toUpperCase()}`;@@ -18679,97 +18604,93 @@ var kte = /* @__PURE__ */ new WeakMap(), Ate = class {x: e,y: t}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();- M_((e) => {- if (!qv(e, n, this.currentDirection)) return;+ L_((e) => {+ if (!Qv(e, n, this.currentDirection)) return;let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];- t.set((t.get() || 0) + i[e] - cf(r, o, .5));+ t.set((t.get() || 0) + i[e] - lf(r, o, .5));});}scalePositionWithinConstraints() {if (!this.visualElement.current) return;let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;- if (!Wv(t) || !n || !this.constraints) return;+ if (!Yv(t) || !n || !this.constraints) return;this.stopAnimation();let r = this.constraints, i = {x: 0,y: 0};- M_((e) => {+ L_((e) => {let t = this.getAxisMotionValue(e).get();- i[e] = Ete({+ i[e] = Rte({min: t,max: t}, r[e]);});let { transformTemplate: a } = this.visualElement.getProps();- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), M_((t) => {+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), L_((t) => {let n = this.getAxisMotionValue(t);- if (!qv(t, e, null) || !n.get()) return;+ if (!Qv(t, e, null) || !n.get()) return;let { min: r, max: a } = this.constraints[t];- n.set(cf(r, a, i[t]));+ n.set(lf(r, a, i[t]));}), this.visualElement.render();}addListeners() {if (!this.visualElement.current) return;- kte.set(this.visualElement, this);- let e = this.visualElement.current, t = Cv(e, "pointerdown", (t) => {- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && xte(i);+ Vte.set(this.visualElement, this);+ let e = this.visualElement.current, t = Tv(e, "pointerdown", (t) => {+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Bv(i);n && r && !a && this.start(t);}), n, r = () => {- let { dragConstraints: t } = this.getProps(), r = Wv(t) && Gv(t);- r && (this.constraints = this.resolveRefConstraints(), n ||= jte(e, r, () => this.scalePositionWithinConstraints()));+ let { dragConstraints: t } = this.getProps(), r = Yv(t) && Xv(t);+ r && (this.constraints = this.resolveRefConstraints(), n ||= Ute(e, r, () => this.scalePositionWithinConstraints()));}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);- i && !i.layout && (i.root && i.root.updateScroll(), i.updateLayout()), kf.read(r);- let o = ev(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {- this.isDragging && t && (M_((t) => {- if (!qv(t, this.getProps().drag, this.currentDirection)) return;+ i.layout || (i.root?.updateScroll(), i.updateLayout()), Af.read(r);+ let o = rv(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {+ this.isDragging && t && (L_((t) => {+ if (!Qv(t, this.getProps().drag, this.currentDirection)) return;let n = this.getAxisMotionValue(t);this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate);}), this.visualElement.render());}));return () => {- o(), t(), a(), s && s(), n && n();+ o(), t(), a(), s(), n?.();};}getProps() {- let e = this.readProps(), { drag: t = !1, dragDirectionLock: n = !1, dragPropagation: r = !1, dragConstraints: i = !1, dragElastic: a = Vv, dragMomentum: o = !0 } = e;+ let e = this.readProps(), { dragElastic: t = Gv, dragMomentum: n = !0 } = e;return {...e,- drag: t,- dragDirectionLock: n,- dragPropagation: r,- dragConstraints: i,- dragElastic: a,- dragMomentum: o+ dragElastic: t,+ dragMomentum: n};}};-function Wv(e) {+function Yv(e) {return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);}-var Gv = (e) => "current" in e ? e.current : e;-function Kv(e) {+var Xv = (e) => "current" in e ? e.current : e;+function Zv(e) {let t = !0;return () => {t ? t = !1 : e();};}-function jte(e, t, n) {- let r = kv(e, Kv(n)), i = kv(t, Kv(n));+function Ute(e, t, n) {+ let r = jv(e, Zv(n)), i = jv(t, Zv(n));return () => {r(), i();};}-function qv(e, t, n) {+function Qv(e, t, n) {return (t === !0 || t === e) && (n === null || n === e);}-function Mte(e, t = 10) {+function Wte(e, t = 10) {let n = null;return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;}// node_modules/motion-dom/dist/es/gestures/utils/setup.mjs-function Jv(e, t) {- let n = pg(e), r = new AbortController();+function $v(e, t) {+ let n = Sg(e), r = new AbortController();return [n,{@@ -18777,16 +18698,16 @@ function Jv(e, t) {...t,signal: r.signal},- dg(() => r.abort())+ bg(() => r.abort())];}// node_modules/motion-dom/dist/es/gestures/hover.mjs-function Nte(e) {- return !(e.pointerType === "touch" || Rv());+function Gte(e) {+ return !(e.pointerType === "touch" || Hv());}-function Pte(e, t, n = {}) {- t = fg(t);- let [r, i, a] = Jv(e, n);+function Kte(e, t, n = {}) {+ t = xg(t);+ let [r, i, a] = $v(e, n);return r.forEach((e) => {let n = !1, r = !1, a, o = () => {e.removeEventListener("pointerleave", u);@@ -18800,7 +18721,7 @@ function Pte(e, t, n = {}) {e.pointerType !== "touch" && (n ? r = !0 : s(e));};e.addEventListener("pointerenter", (n) => {- if (!Nte(n)) return;+ if (!Gte(n)) return;r = !1;let o = t(e, n);typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));@@ -18808,71 +18729,71 @@ function Pte(e, t, n = {}) {}), a;}// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs-var Yv = (e, t) => t ? e === t || Yv(e, t.parentElement) : !1, Xv = /* @__PURE__ */ new WeakSet();+var ey = (e, t) => t ? e === t || ey(e, t.parentElement) : !1, ty = /* @__PURE__ */ new WeakSet();// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs-function Zv(e) {+function ny(e) {return (t) => {t.key === "Enter" && e(t);};}-function Qv(e, t) {+function ry(e, t) {e.dispatchEvent(new PointerEvent("pointer" + t, {isPrimary: !0,bubbles: !0}));}-var Fte = (e, t) => {- let n = !1, r = Zv(() => {- Xv.has(e) || (n = !0, Qv(e, "down"));- }), i = Zv(() => {- n && (n = !1, Qv(e, "up"));+var iy = (e, t) => {+ let n = !1, r = ny(() => {+ ty.has(e) || (n = !0, ry(e, "down"));+ }), i = ny(() => {+ n && (n = !1, ry(e, "up"));});e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && Qv(e, "cancel");+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && ry(e, "cancel");}, {...t,once: !0});};// node_modules/motion-dom/dist/es/gestures/press/index.mjs-function $v(e) {- return xv(e) && !Rv();+function ay(e) {+ return Cv(e) && !Hv();}-var ey = /* @__PURE__ */ new WeakSet();-function Ite(e, t, n = {}) {- t = fg(t);- let [r, i, a] = Jv(e, n), o = (e) => {+var oy = /* @__PURE__ */ new WeakSet();+function qte(e, t, n = {}) {+ t = xg(t);+ let [r, i, a] = $v(e, n), o = (e) => {let r = e.currentTarget;- if (!$v(e) || ey.has(e)) return;- Xv.add(r), n.stopPropagation && ey.add(e);+ if (!ay(e) || oy.has(e)) return;+ ty.add(r), n.stopPropagation && oy.add(e);let a = t(r, e), o = {...i,capture: !0}, s = (e, t) => {- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), Xv.has(r) && Xv.delete(r), $v(e) && typeof a == "function" && a(e, { success: t });+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), ty.has(r) && ty.delete(r), ay(e) && typeof a == "function" && a(e, { success: t });}, c = (e) => {- s(e, r === window || r === document || n.useGlobalTarget || Yv(r, e.target));+ s(e, r === window || r === document || n.useGlobalTarget || ey(r, e.target));}, l = (e) => {s(e, !1);};window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);};return r.forEach((e) => {- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), cg(e) && (e.addEventListener("focus", () => Fte(e, i), i), !yte(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), _g(e) && (e.addEventListener("focus", () => iy(e, i), i), !Mte(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));}), a;}// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function ty(e, t) {+function sy(e, t) {let n = window.getComputedStyle(e);- return dm(t) ? n.getPropertyValue(t) : n[t];+ return Cm(t) ? n.getPropertyValue(t) : n[t];}// node_modules/motion-dom/dist/es/render/Feature.mjs-var ny = class {+var cy = class {constructor(e) {this.isMounted = !1, this.node = e;}update() {}-}, ry = /* @__PURE__ */ new Set([+}, ly = /* @__PURE__ */ new Set(["baseFrequency","diffuseConstant","kernelMatrix",@@ -18896,58 +18817,58 @@ var ny = class {"startOffset","textLength","lengthAdjust"-]), iy = (e) => typeof e == "string" && e.toLowerCase() === "svg";+]), uy = (e) => typeof e == "string" && e.toLowerCase() === "svg";// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs-function Lte(e, t, n, r) {- vv(e, t, void 0, r);- for (let n in t.attrs) e.setAttribute(ry.has(n) ? n : xg(n), t.attrs[n]);+function Jte(e, t, n, r) {+ bv(e, t, void 0, r);+ for (let n in t.attrs) e.setAttribute(ly.has(n) ? n : Og(n), t.attrs[n]);}// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs-function ay(e, t, n) {- let r = bv(e, t, n);- for (let n in e) if (n !== "children" && (zh(e[n]) || zh(t[n]))) {- let t = Gp.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);+function dy(e, t, n) {+ let r = Sv(e, t, n);+ for (let n in e) if (n !== "children" && (eg(e[n]) || eg(t[n]))) {+ let t = rm.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);r[t] = e[n];}return r;}// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs-var Rte = class extends _v {+var Yte = class extends yv {constructor() {- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = S_;+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = C_;}getBaseTargetFromProps(e, t) {- return Kp.has(t) ? super.getBaseTargetFromProps(e, t) ?? Vp(t) : e[t];+ return im.has(t) ? super.getBaseTargetFromProps(e, t) ?? em(t) : e[t];}getDefaultValue(e) {- return Kp.has(e) ? this.latestValues[e] ?? Vp(e) : void 0;+ return im.has(e) ? this.latestValues[e] ?? em(e) : void 0;}readValueFromInstance(e, t) {- if (Kp.has(t)) {- let e = kp(t);+ if (im.has(t)) {+ let e = Hp(t);return e && e.default || 0;}- if (Cg.includes(t)) {+ if (Ag.includes(t)) {let n = getComputedStyle(e)[t];if (typeof n == "string" && n) return n.trim();}- return t = ry.has(t) ? t : xg(t), e.getAttribute(t);+ return t = ly.has(t) ? t : Og(t), e.getAttribute(t);}scrapeMotionValuesFromProps(e, t, n) {- return ay(e, t, n);+ return dy(e, t, n);}build(e, t, n) {- wg(e, t, this.isSVGTag, n.transformTemplate, n.style);+ jg(e, t, this.isSVGTag, n.transformTemplate, n.style);}renderInstance(e, t, n, r) {- Lte(e, t, n, r);+ Jte(e, t, n, r);}mount(e) {- this.isSVGTag = iy(e.tagName), super.mount(e);+ this.isSVGTag = uy(e.tagName), super.mount(e);}};// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs-function oy(e, t) {+function fy(e, t) {if (!Array.isArray(t)) return !1;let n = t.length;if (n !== e.length) return !1;@@ -18955,74 +18876,78 @@ function oy(e, t) {return !0;}// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs-var zte = [...sv].reverse();-function Bte(e) {- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Jh(e, t, n))), n = sy(), r = !0, i = !1;+var Xte = [...lv].reverse(), py = (e) => e?.out === !0 ? e : e?.out;+function Zte(e) {+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => sg(e, t, n))), n = my(), r = !0, i = !1;function a(a) {- let { props: o, parent: s, manuallyAnimateOnMount: c } = e, l = r || i, u = [], d = /* @__PURE__ */ new Set(), f = {}, p = Infinity, m = e;+ let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && qh(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;do- m = m.props.inherit !== !1 && m.parent;- while (m && !m.isControllingVariants);- if (zte.forEach((t, r) => {- let i = n[t], h = o[t], g = m && m.props[t], _ = h === void 0 ? ov(g) || g === !1 ? g : void 0 : h, v = ov(_), y = t === a ? i.isActive : null;- y === !1 && (p = r);- let b = v && h === void 0 && !(l && c);- if (i.protectedKeys = { ...f }, !i.isActive && y === null || !_ && !i.prevProp || av(_) || typeof _ == "boolean") return;- if (t === "exit" && i.isActive && y !== !0) {- f = {- ...f,+ g = g.props.inherit !== !1 && g.parent;+ while (g && !g.isControllingVariants);+ let _ = u && py(f(l ?? (g && g.props.initial))?.transition);+ if (Xte.forEach((t, r) => {+ let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? cv(f) || f === !1 ? f : void 0 : l, y = cv(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);+ if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || sv(v) || typeof v == "boolean") return;+ if (b === !1 && (h = r), t === "exit" && i.isActive && b !== !0) {+ m = {+ ...m,...i.prevResolvedValues};return;}- let x = Vte(i.prevProp, _), S = x || v && (y && !b || r > p), C = !1, w = Array.isArray(_) ? _ : [_], T = {};- if (y !== !1) for (let n of w) {- let { transition: r, transitionEnd: i, ...a } = Mh(e, n, Nh(e, t)) || {};- T = {- ...T,+ let S = Qte(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;+ if (b !== !1) for (let n of T) {+ let { transition: r, transitionEnd: i, ...a } = qh(e, n, Jh(e, t)) || {};+ E = {+ ...E,...a,...i- };+ }, D = py(r) || D;}- let { prevResolvedValues: E } = i;+ let { prevResolvedValues: O } = i;for (let t in {- ...E,- ...T+ ...O,+ ...E}) {- if (t in f) continue;- let n = T[t], r = E[t], a = Array.isArray(n) && Array.isArray(r) ? !oy(n, r) || x : n !== r;- if (a && n == null) d.add(t);- else if (a || n !== void 0 && d.has(t)) {- S = !0, d.delete(t) && (C = !0), i.needsAnimating[t] = !0;+ if (t in m) continue;+ let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !fy(n, r) || S : n !== r, o;+ if (a && n == null) p.has(t) || p.set(t, i.prevOut);+ else if (a || n !== void 0 && p.has(t)) {+ C = !0, o = p.get(t) || _, p.delete(t) && (w = !0), i.needsAnimating[t] = !0;let n = e.getValue(t);n && (n.liveStyle = !1);} else i.protectedKeys[t] = !0;+ i.out[t] = o;}- if (i.prevProp = _, i.prevResolvedValues = T, i.isActive && (f = {- ...f,- ...T- }), S && (!(b && x) || C)) for (let n of w) {+ if (i.prevProp = v, i.prevResolvedValues = E, i.prevOut = D, i.isActive && (m = {+ ...m,+ ...E+ }), C && (!(x && S) || w)) for (let n of T) {let r = { type: t };- if (typeof n == "string" && l && c && s?.enteringChildren) {- let t = Mh(s, n)?.transition?.delayChildren;- r.delay = dh(s.enteringChildren, e, t);+ if (typeof n == "string" && u && c && s?.enteringChildren) {+ let t = qh(s, n)?.transition?.delayChildren;+ r.delay = Eh(s.enteringChildren, e, t);}- u.push({+ d.push({animation: n,options: r});}- }), d.size) {- let { initial: t } = o, n = {}, r = typeof t != "boolean" && Mh(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom);- r && r.transition && (n.transition = r.transition), d.forEach((i) => {- let a = e.getValue(i);- a && (a.liveStyle = !0);- let s = r && !Array.isArray(t) ? r[i] : void 0, c = e.getBaseTargetFromProps(o, i);- n[i] = (s === void 0 ? c !== void 0 && !zh(c) ? c : e.initialValues[i] === void 0 ? e.baseTarget[i] : void 0 : s) ?? null;- }), u.push({ animation: n });+ }), p.size) {+ let t = {}, n = f(), r = n?.transition;+ p.forEach((i, a) => {+ i && (r = {+ ...r || e.getDefaultTransition(),+ [a]: i+ });+ let s = e.getValue(a);+ s && (s.liveStyle = !0);+ let c = n && !Array.isArray(l) ? n[a] : void 0, u = e.getBaseTargetFromProps(o, a);+ t[a] = (c === void 0 ? u !== void 0 && !eg(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;+ }), r && (t.transition = r), d.push({ animation: t });}- let h = l && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);- return r = i = !1, !h && u.length ? t(u) : Promise.resolve();+ let v = u && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);+ return r = i = !1, !v && d.length ? t(d) : Promise.resolve();}function o(t, r) {if (n[t].isActive === r) return Promise.resolve();@@ -19039,58 +18964,74 @@ function Bte(e) {},getState: () => n,reset: () => {- n = sy(), i = !0;+ n = my(), i = !0;}};}-function Vte(e, t) {- return typeof t == "string" ? t !== e : Array.isArray(t) ? !oy(t, e) : !1;+function Qte(e, t) {+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !fy(t, e) : !1;}-function sy() {+function my() {let e = {};- for (let t of sv) e[t] = {+ for (let t of lv) e[t] = {isActive: t === "animate",protectedKeys: {},needsAnimating: {},- prevResolvedValues: {}+ prevResolvedValues: {},+ out: {}};return e;}// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs-var cy = /* @__PURE__ */ (0, P.createContext)({+var hy = /* @__PURE__ */ (0, P.createContext)({transformPagePoint: (e) => e,isStatic: !1,reducedMotion: "never"});// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs-function ly(e, t) {+function gy(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}-function Hte(...e) {+function $te(...e) {return (t) => {let n = !1, r = e.map((e) => {- let r = ly(e, t);+ let r = gy(e, t);return !n && typeof r == "function" && (n = !0), r;});if (n) return () => {for (let t = 0; t < r.length; t++) {let n = r[t];- typeof n == "function" ? n() : ly(e[t], null);+ typeof n == "function" ? n() : gy(e[t], null);}};};}-function uy(...e) {- return P.useCallback(Hte(...e), e);+function ene(...e) {+ return P.useCallback($te(...e), e);}// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs-var dy = class extends P.Component {+var _y = (e) => {+ let { width: t, height: n } = e?.getBoundingClientRect() || {};+ return [t / e?.offsetWidth || 1, n / e?.offsetHeight || 1];+}, vy = (e) => {+ let { left: t, top: n } = e.getBoundingClientRect(), r = e;+ for (; r = r.parentElement || r.parentNode?.host;) {+ let { scrollLeft: e, scrollTop: i } = r;+ if (e || i) {+ let [a, o] = _y(r);+ t += e * a, n += i * o;+ }+ if (getComputedStyle(r).position === "fixed") break;+ }+ let [i, a] = _y(e.offsetParent);+ return [t / i, n / a];+}, tne = class extends P.Component {getSnapshotBeforeUpdate(e) {let t = this.props.getElement();- if (cg(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {- let e = t.offsetParent, n = cg(e) && e.offsetWidth || 0, r = cg(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;- a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction;+ if (_g(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {+ let e = t.offsetParent, n = _g(e) && e.offsetWidth || 0, r = _g(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = vy(t);}return null;}@@ -19099,7 +19040,7 @@ var dy = class extends P.Component {return this.props.children;}};-function Ute({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {+function nne({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {let s = (0, P.useId)(), c = (0, P.useRef)(null), l = (0, P.useRef)({width: 0,height: 0,@@ -19108,27 +19049,31 @@ function Ute({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:right: 0,bottom: 0,direction: "ltr"- }), { nonce: u } = (0, P.useContext)(cy), d = uy(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current;+ }), { nonce: u } = (0, P.useContext)(hy), d = ene(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {+ let { width: t, height: i, top: a, left: o, right: c, bottom: u, direction: d } = l.current, f = d === "rtl", p = n === "left" ? f ? `right:${c}` : `left:${o}` : f ? `left:${o}` : `right:${c}`, m = r === "bottom" ? `bottom:${u}` : `top:${a}`;+ e?.insertRule(`[data-motion-pop-id="${s}"]{position:absolute!important;width:${t}px!important;height:${i}px!important;${p}px!important;${m}px!important}`);+ };return (0, P.useInsertionEffect)(() => {- let { width: e, height: o, top: c, left: d, right: p, bottom: m, direction: h } = l.current, g = f();- if (t || a === !1 || !g || !e || !o) return;- let _ = h === "rtl", v = n === "left" ? _ ? `right: ${p}` : `left: ${d}` : _ ? `left: ${d}` : `right: ${p}`, y = r === "bottom" ? `bottom: ${m}` : `top: ${c}`;- g.dataset.motionPopId = s;- let b = g.ownerDocument, x = b.createElement("style");- u && (x.nonce = u);- let S = i ?? b.head;- return S.appendChild(x), x.sheet && x.sheet.insertRule(`- [data-motion-pop-id="${s}"] {- position: absolute !important;- width: ${e}px !important;- height: ${o}px !important;- ${v}px !important;- ${y}px !important;- }- `), () => {- g.removeAttribute("data-motion-pop-id"), S.contains(x) && S.removeChild(x);+ let { width: e, height: n } = l.current, r = f();+ if (t || a === !1 || !r || !e || !n) return;+ r.dataset.motionPopId = s;+ let o = r.ownerDocument, c = o.createElement("style");+ u && (c.nonce = u);+ let d = i ?? o.head;+ d.appendChild(c), p(c.sheet);+ let m = 0, h = 0;+ return $g.setup(() => {+ let [e, t] = vy(r);+ m = l.current.point[0] - e, h = l.current.point[1] - t;+ }), $g.read(() => {+ let { sheet: e } = c;+ if (!e || !m && !h) return;+ let t = l.current;+ t.left += m, t.right -= m, t.top += h, t.bottom -= h, e.deleteRule(0), p(e);+ }), () => {+ r.removeAttribute("data-motion-pop-id"), d.contains(c) && d.removeChild(c);};- }, [t]), (0, F.jsx)(dy, {+ }, [t]), (0, F.jsx)(tne, {isPresent: t,getElement: f,sizeRef: l,@@ -19137,8 +19082,8 @@ function Ute({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:});}// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs-var Wte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {- let u = Su(Gte), d = (0, P.useId)(), f = (0, P.useRef)(), p = (0, P.useRef)(n), m = (0, P.useRef)(r);+var rne = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {+ let u = Su(ine), d = (0, P.useId)(), f = (0, P.useRef)(), p = (0, P.useRef)(n), m = (0, P.useRef)(r);Cu(() => {p.current = n, m.current = r;});@@ -19164,7 +19109,7 @@ var Wte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: iu.forEach((e, t) => u.set(t, !1));}, [n]), P.useEffect(() => {!n && !u.size && r && r();- }, [n]), e = (0, F.jsx)(Ute, {+ }, [n]), e = (0, F.jsx)(nne, {pop: o === "popLayout",isPresent: n,anchorX: s,@@ -19177,11 +19122,11 @@ var Wte = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: ichildren: e});};-function Gte() {+function ine() {return /* @__PURE__ */ new Map();}// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs-function fy(e = !0) {+function yy(e = !0) {let t = (0, P.useContext)(wu);if (t === null) return [!0, null];let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, P.useId)();@@ -19195,23 +19140,23 @@ function fy(e = !0) {]);return !n && r ? [!1, o] : [!0];}-function py() {- return Kte((0, P.useContext)(wu));+function by() {+ return xy((0, P.useContext)(wu));}-function Kte(e) {+function xy(e) {return e === null || e.isPresent;}// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs-var my = (e) => e.key || "";-function hy(e) {+var Sy = (e) => e.key || "";+function Cy(e) {let t = [];return P.Children.forEach(e, (e) => {(0, P.isValidElement)(e) && t.push(e);}), t;}// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs-var gy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {- let [u, d] = fy(o), f = (0, P.useMemo)(() => hy(e), [e]), p = o && !u ? [] : f.map(my), m = (0, P.useRef)(!0), h = Su(() => /* @__PURE__ */ new Map()), g = (0, P.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, P.useState)(f), [y, b] = (0, P.useState)(f);+var wy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {+ let [u, d] = yy(o), f = (0, P.useMemo)(() => Cy(e), [e]), p = o && !u ? [] : f.map(Sy), m = (0, P.useRef)(!0), h = Su(() => /* @__PURE__ */ new Map()), g = (0, P.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, P.useState)(f), [y, b] = (0, P.useState)(f);Cu(() => {o && !u && !y.length && d?.();}, [@@ -19227,7 +19172,7 @@ var gy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence}, [y]), Cu(() => {m.current = !1;for (let e = 0; e < y.length; e++) {- let t = my(y[e]);+ let t = Sy(y[e]);p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);}}, [@@ -19239,15 +19184,15 @@ var gy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceif (f !== _) {let e = [...f], t = 0;for (let n of y) {- let r = p.indexOf(my(n));+ let r = p.indexOf(Sy(n));r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;}- return S.every((e) => h.get(my(e))) ? e = f : a === "wait" && (e = S), b(hy(e)), v(f), null;+ return S.every((e) => h.get(Sy(e))) ? e = f : a === "wait" && (e = S), b(Cy(e)), v(f), null;}let { forceRender: C } = (0, P.useContext)(xu);return (0, F.jsx)(F.Fragment, { children: y.map((e) => {- let _ = my(e), b = o && !u ? !1 : f === y || p.includes(_);- return (0, F.jsx)(Wte, {+ let _ = Sy(e), b = o && !u ? !1 : f === y || p.includes(_);+ return (0, F.jsx)(rne, {isPresent: b,initial: !m.current || n ? void 0 : !1,custom: t,@@ -19268,17 +19213,8 @@ var gy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presencechildren: e}, _);}) });-}, _y = /* @__PURE__ */ (0, P.createContext)({ strict: !1 }), vy = {- animation: [- "animate",- "variants",- "whileHover",- "whileTap",- "exit",- "whileInView",- "whileFocus",- "whileDrag"- ],+}, Ty = /* @__PURE__ */ (0, P.createContext)({ strict: !1 }), Ey = {+ animation: ["variants", ...lv],exit: ["exit"],drag: ["drag", "dragControls"],focus: ["whileFocus"],@@ -19305,32 +19241,32 @@ var gy = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence"onViewportLeave"],layout: ["layout", "layoutId"]-}, yy = !1;-function by() {- if (yy) return;+}, Dy = !1;+function ane() {+ if (Dy) return;let e = {};- for (let t in vy) e[t] = { isEnabled: (e) => vy[t].some((t) => !!e[t]) };- gv(e), yy = !0;+ for (let t in Ey) e[t] = { isEnabled: (e) => Ey[t].some((t) => !!e[t]) };+ vv(e), Dy = !0;}-function xy() {- return by(), nte();+function Oy() {+ return ane(), hte();}// node_modules/framer-motion/dist/es/motion/features/load-features.mjs-function qte(e) {- let t = xy();+function one(e) {+ let t = Oy();for (let n in e) t[n] = {...t[n],...e[n]};- gv(t);+ vv(t);}// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs-function Jte({ children: e, ...t }) {- let n = (0, P.useContext)(cy);+function sne({ children: e, ...t }) {+ let n = (0, P.useContext)(hy);t = {...n,...t- }, t.transition = _h(t.transition, n.transition), t.isStatic = Su(() => t.isStatic);+ }, t.transition = Mh(t.transition, n.transition), t.isStatic = Su(() => t.isStatic);let r = (0, P.useMemo)(() => t, [JSON.stringify(t.transition),t.transformPagePoint,@@ -19338,77 +19274,77 @@ function Jte({ children: e, ...t }) {t.skipAnimations,t.isValidProp]);- return (0, F.jsx)(cy.Provider, {+ return (0, F.jsx)(hy.Provider, {value: r,children: e});}// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs-var Sy = /* @__PURE__ */ (0, P.createContext)({});+var ky = /* @__PURE__ */ (0, P.createContext)({});// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs-function Yte(e, t) {- if (lv(e)) {+function cne(e, t) {+ if (dv(e)) {let { initial: t, animate: n } = e;return {- initial: t === !1 || ov(t) ? t : void 0,- animate: ov(n) ? n : void 0+ initial: t === !1 || cv(t) ? t : void 0,+ animate: cv(n) ? n : void 0};}return e.inherit === !1 ? {} : t;}// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs-function Xte(e) {- let { initial: t, animate: n } = Yte(e, (0, P.useContext)(Sy));+function lne(e) {+ let { initial: t, animate: n } = cne(e, (0, P.useContext)(ky));return (0, P.useMemo)(() => ({initial: t,animate: n- }), [Cy(t), Cy(n)]);+ }), [Ay(t), Ay(n)]);}-function Cy(e) {+function Ay(e) {return Array.isArray(e) ? e.join(" ") : e;}// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs-var wy = () => ({+var jy = () => ({style: {},transform: {},transformOrigin: {},vars: {}});// node_modules/framer-motion/dist/es/render/html/use-props.mjs-function Ty(e, t, n) {- for (let r in t) !zh(t[r]) && !yv(r, n) && (e[r] = t[r]);+function My(e, t, n) {+ for (let r in t) !eg(t[r]) && !xv(r, n) && (e[r] = t[r]);}-function Zte({ transformTemplate: e }, t) {+function une({ transformTemplate: e }, t) {return (0, P.useMemo)(() => {- let n = wy();- return Sg(n, t, e), Object.assign({}, n.vars, n.style);+ let n = jy();+ return kg(n, t, e), Object.assign({}, n.vars, n.style);}, [t]);}-function Qte(e, t) {+function dne(e, t) {let n = e.style || {}, r = {};- return Ty(r, n, e), Object.assign(r, Zte(e, t)), r;+ return My(r, n, e), Object.assign(r, une(e, t)), r;}-function $te(e, t) {- let n = {}, r = Qte(e, t);+function fne(e, t) {+ let n = {}, r = dne(e, t);return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;}// node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs-var Ey = () => ({- ...wy(),+var Ny = () => ({+ ...jy(),attrs: {}});// node_modules/framer-motion/dist/es/render/svg/use-props.mjs-function ene(e, t, n, r) {+function pne(e, t, n, r) {let i = (0, P.useMemo)(() => {- let n = Ey();- return wg(n, t, iy(r), e.transformTemplate, e.style), {+ let n = Ny();+ return jg(n, t, uy(r), e.transformTemplate, e.style), {...n.attrs,style: { ...n.style }};}, [t]);if (e.style) {let t = {};- return Ty(t, e.style, e), {+ return My(t, e.style, e), {...i,style: {...t,@@ -19419,21 +19355,21 @@ function ene(e, t, n, r) {return i;}// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs-var tne = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));-function Dy(e) {- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || tne.has(e);+var mne = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));+function Py(e) {+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || mne.has(e);}// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs-function nne(e, t) {- return e.startsWith("on") ? !Dy(e) : t?.(e) ?? !Dy(e);+function hne(e, t) {+ return e.startsWith("on") ? !Py(e) : t?.(e) ?? !Py(e);}-function rne(e, t, n, r) {+function gne(e, t, n, r) {let i = {};- for (let a in e) a === "values" && typeof e.values == "object" || zh(e[a]) || (nne(a, r) || n === !0 && Dy(a) || !t && !Dy(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);+ for (let a in e) a === "values" && typeof e.values == "object" || eg(e[a]) || (hne(a, r) || n === !0 && Py(a) || !t && !Py(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);return i;}// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs-var ine = [+var _ne = ["animate","circle","defs",@@ -19461,40 +19397,40 @@ var ine = ["view"];// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs-function Oy(e) {- return typeof e != "string" || e.includes("-") ? !1 : !!(ine.indexOf(e) > -1 || /[A-Z]/u.test(e));+function Fy(e) {+ return typeof e != "string" || e.includes("-") ? !1 : !!(_ne.indexOf(e) > -1 || /[A-Z]/u.test(e));}// node_modules/framer-motion/dist/es/render/dom/use-render.mjs-function ane(e, t, n, { latestValues: r }, i, a = !1, o, s) {- let c = (o ?? Oy(e) ? ene : $te)(t, r, i, e), l = rne(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {+function vne(e, t, n, { latestValues: r }, i, a = !1, o, s) {+ let c = (o ?? Fy(e) ? pne : fne)(t, r, i, e), l = gne(t, typeof e == "string", a, s), u = e === P.Fragment ? {} : {...l,...c,ref: n- }, { children: d } = t, f = (0, P.useMemo)(() => zh(d) ? d.get() : d, [d]);+ }, { children: d } = t, f = (0, P.useMemo)(() => eg(d) ? d.get() : d, [d]);return (0, P.createElement)(e, {...u,children: f});}// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs-function one({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {+function yne({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {return {- latestValues: sne(n, r, i, e),+ latestValues: bne(n, r, i, e),renderState: t()};}-function sne(e, t, n, r) {+function bne(e, t, n, r) {let i = {}, a = r(e, {});- for (let e in a) i[e] = t_(a[e]);- let { initial: o, animate: s } = e, c = lv(e), l = uv(e);+ for (let e in a) i[e] = r_(a[e]);+ let { initial: o, animate: s } = e, c = dv(e), l = fv(e);t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));let u = n ? n.initial === !1 : !1;u ||= o === !1;let d = u ? s : o;- if (d && typeof d != "boolean" && !av(d)) {+ if (d && typeof d != "boolean" && !sv(d)) {let t = Array.isArray(d) ? d : [d];for (let n = 0; n < t.length; n++) {- let r = jh(e, t[n]);+ let r = Kh(e, t[n]);if (r) {let { transitionEnd: e, transition: t, ...n } = r;for (let e in n) {@@ -19511,18 +19447,18 @@ function sne(e, t, n, r) {}return i;}-var ky = (e) => (t, n) => {- let r = (0, P.useContext)(Sy), i = (0, P.useContext)(wu), a = () => one(e, t, r, i);+var Iy = (e) => (t, n) => {+ let r = (0, P.useContext)(ky), i = (0, P.useContext)(wu), a = () => yne(e, t, r, i);return n ? a() : Su(a);-}, cne = /*@__PURE__*/ ky({- scrapeMotionValuesFromProps: bv,- createRenderState: wy-}), lne = /*@__PURE__*/ ky({- scrapeMotionValuesFromProps: ay,- createRenderState: Ey-}), une = /* @__PURE__ */ Symbol.for("motionComponentSymbol");+}, xne = /*@__PURE__*/ Iy({+ scrapeMotionValuesFromProps: Sv,+ createRenderState: jy+}), Sne = /*@__PURE__*/ Iy({+ scrapeMotionValuesFromProps: dy,+ createRenderState: Ny+}), Cne = /* @__PURE__ */ Symbol.for("motionComponentSymbol");// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs-function dne(e, t, n) {+function wne(e, t, n) {let r = (0, P.useRef)(n);(0, P.useInsertionEffect)(() => {r.current = n;@@ -19540,14 +19476,14 @@ function dne(e, t, n) {}, [t]);}// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs-var Ay = /* @__PURE__ */ (0, P.createContext)({});+var Ly = /* @__PURE__ */ (0, P.createContext)({});// node_modules/framer-motion/dist/es/utils/is-ref-object.mjs-function fne(e) {+function Tne(e) {return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");}// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs-function pne(e, t, n, r, i, a) {- let { visualElement: o } = (0, P.useContext)(Sy), s = (0, P.useContext)(_y), c = (0, P.useContext)(wu), l = (0, P.useContext)(cy), u = l.reducedMotion, d = l.skipAnimations, f = (0, P.useRef)(null), p = (0, P.useRef)(!1);+function Ene(e, t, n, r, i, a) {+ let { visualElement: o } = (0, P.useContext)(ky), s = (0, P.useContext)(Ty), c = (0, P.useContext)(wu), l = (0, P.useContext)(hy), u = l.reducedMotion, d = l.skipAnimations, f = (0, P.useRef)(null), p = (0, P.useRef)(!1);r ||= s.renderer, !f.current && r && (f.current = r(e, {visualState: t,parent: o,@@ -19558,11 +19494,11 @@ function pne(e, t, n, r, i, a) {skipAnimations: d,isSVG: a}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));- let m = f.current, h = (0, P.useContext)(Ay);- m && !m.projection && i && (m.type === "html" || m.type === "svg") && mne(f.current, n, i, h), (0, P.useInsertionEffect)(() => {+ let m = f.current, h = (0, P.useContext)(Ly);+ m && !m.projection && i && (m.type === "html" || m.type === "svg") && Dne(f.current, n, i, h), (0, P.useInsertionEffect)(() => {m && m.props !== n && m.update(n, c);});- let g = n[Hh], _ = (0, P.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));+ let g = n[rg], _ = (0, P.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));return Cu(() => {p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);}, []), Cu(() => {@@ -19573,12 +19509,12 @@ function pne(e, t, n, r, i, a) {}), !1), m.enteringChildren = void 0);}), m;}-function mne(e, t, n, r) {- let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t, f = e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : jy(e.parent));+function Dne(e, t, n, r) {+ let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t, f = e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : Ry(e.parent));f.setOptions({layoutId: i,layout: a,- alwaysMeasureLayout: !!o || s && fne(s),+ alwaysMeasureLayout: !!o || s && Tne(s),visualElement: e,animationType: typeof a == "string" ? a : "both",initialPromotionConfig: r,@@ -19590,90 +19526,90 @@ function mne(e, t, n, r) {let p = f.getStack()?.lead;p && !f.root.isUpdateBlocked() && (p.willUpdate(), p.scheduleCheckAfterUnmount());}-function jy(e) {- if (e) return e.options.allowProjection === !1 ? jy(e.parent) : e.projection;+function Ry(e) {+ if (e) return e.options.allowProjection === !1 ? Ry(e.parent) : e.projection;}// node_modules/framer-motion/dist/es/motion/index.mjs-function My(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {- r && qte(r);- let a = n ? n === "svg" : Oy(e), o = a ? lne : cne;+function zy(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {+ r && one(r);+ let a = n ? n === "svg" : Fy(e), o = a ? Sne : xne;function s(n, s) {- let c, l = Ny(n);- Su(() => !!nv.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {+ let c, l = One(n);+ Su(() => !!iv.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {...n,initial: !1});let u = {- ...(0, P.useContext)(cy),+ ...(0, P.useContext)(hy),...n,layoutId: l- }, { isStatic: d, isValidProp: f } = u, p = Xte(n), m = o(n, d);+ }, { isStatic: d, isValidProp: f } = u, p = lne(n), m = o(n, d);if (!d && typeof window < "u") {- Py(u, r);- let t = Fy(u);- c = t.MeasureLayout, p.visualElement = pne(e, m, u, i, t.ProjectionNode, a);+ kne(u, r);+ let t = Ane(u);+ p.visualElement = Ene(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);}- return (0, F.jsxs)(Sy.Provider, {+ return (0, F.jsxs)(ky.Provider, {value: p,children: [c && p.visualElement ? (0, F.jsx)(c, {visualElement: p.visualElement,...u- }) : null, ane(e, n, dne(m, p.visualElement, s), m, d, t, a, f)]+ }) : null, vne(e, n, wne(m, p.visualElement, s), m, d, t, a, f)]});}s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;let c = (0, P.forwardRef)(s);- return c[une] = e, c;+ return c[Cne] = e, c;}-function Ny({ layoutId: e }) {+function One({ layoutId: e }) {let t = (0, P.useContext)(xu).id;return t && e !== void 0 ? t + "-" + e : e;}-function Py(e, t) {- (0, P.useContext)(_y).strict;+function kne(e, t) {+ (0, P.useContext)(Ty).strict;}-function Fy(e) {- let { drag: t, layout: n } = xy();+function Ane(e) {+ let { drag: t, layout: n } = Oy();if (!t && !n) return {};let r = {...t,...n};return {- MeasureLayout: t?.isEnabled(e) || n?.isEnabled(e) ? r.MeasureLayout : void 0,+ MeasureLayout: r.MeasureLayout,+ isEnabled: t?.isEnabled(e) || n?.isEnabled(e),ProjectionNode: r.ProjectionNode};}// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs-function Iy(e, t) {- if (typeof Proxy > "u") return My;- let n = /* @__PURE__ */ new Map(), r = (n, r) => My(n, r, e, t);- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, My(a, void 0, e, t)), n.get(a)) });+function jne(e, t) {+ if (typeof Proxy > "u") return zy;+ let n = /* @__PURE__ */ new Map(), r = (n, r) => zy(n, r, e, t);+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, zy(a, void 0, e, t)), n.get(a)) });}// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs-var Ly = (e, t) => t.isSVG ?? Oy(e) ? new Rte(t) : new ate(t, { allowProjection: e !== P.Fragment }), Ry = class extends ny {+var Mne = (e, t) => t.isSVG ?? Fy(e) ? new Yte(t) : new vte(t, { allowProjection: e !== P.Fragment }), Nne = class extends cy {constructor(e) {- super(e), e.animationState ||= Bte(e);+ super(e), e.animationState ||= Zte(e);}updateAnimationControlsSubscription() {let { animate: e } = this.node.getProps();- av(e) && (this.unmountControls = e.subscribe(this.node));+ sv(e) && (this.unmountControls = e.subscribe(this.node));}mount() {this.updateAnimationControlsSubscription();}update() {- let { animate: e } = this.node.getProps(), { animate: t } = this.node.prevProps || {};- e !== t && this.updateAnimationControlsSubscription();+ this.node.getProps().animate !== this.node.prevProps?.animate && this.updateAnimationControlsSubscription();}unmount() {this.node.animationState.reset(), this.unmountControls?.();}-}, hne = 0, gne = {- animation: { Feature: Ry },- exit: { Feature: class extends ny {+}, Pne = 0, Fne = {+ animation: { Feature: Nne },+ exit: { Feature: class extends cy {constructor() {- super(...arguments), this.id = hne++;+ super(...arguments), this.id = Pne++;}update() {let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;@@ -19684,7 +19620,7 @@ var Ly = (e, t) => t.isSVG ?? Oy(e) ? new Rte(t) : new ate(t, { allowProjection:if (this.exit === !0) {let { initial: e } = this.node.getProps();if (e && !Array.isArray(e)) {- let { transition: t, transitionEnd: n, ...r } = Mh(this.node, e) || {};+ let { transition: t, transitionEnd: n, ...r } = qh(this.node, e) || {};for (let e in r) this.node.getValue(e)?.jump(r[e]);}this.node.blockInitialAnimation = !1, n.reset(), n.animateChanges();@@ -19703,9 +19639,9 @@ var Ly = (e, t) => t.isSVG ?? Oy(e) ? new Rte(t) : new ate(t, { allowProjection:}unmount() {}} }-}, _ne = class extends ny {+}, Ine = class extends cy {constructor(e) {- super(e), this.removeGroupControls = Nu, this.removeListeners = Nu, this.controls = new Ate(e);+ super(e), this.removeGroupControls = Nu, this.removeListeners = Nu, this.controls = new Hte(e);}mount() {let { dragControls: e } = this.node.getProps();@@ -19718,114 +19654,120 @@ var Ly = (e, t) => t.isSVG ?? Oy(e) ? new Rte(t) : new ate(t, { allowProjection:unmount() {this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();}-}, vne = ({ current: e }) => e ? e.ownerDocument.defaultView : null, zy = (e) => (t, n) => {- e && kf.update(() => e(t, n), !1, !0);-}, yne = class extends ny {+}, By = (e) => (t, n) => {+ e && Af.update(() => e(t, n), !1, !0);+}, Lne = class extends cy {constructor() {super(...arguments), this.removePointerDownListener = Nu;}onPointerDown(e) {- this.session = new Mv(e, this.createPanHandlers(), {+ this.session = new Pv(e, this.createPanHandlers(), {transformPagePoint: this.node.getTransformPagePoint(),- contextWindow: vne(this.node)+ contextWindow: this.node.current?.ownerDocument.defaultView});}createPanHandlers() {let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();return {- onSessionStart: zy(e),- onStart: zy(t),- onMove: zy(n),+ onSessionStart: By(e),+ onStart: By(t),+ onMove: By(n),onEnd: (e, t) => {- delete this.session, r && kf.postRender(() => r(e, t));+ delete this.session, r && Af.postRender(() => r(e, t));}};}mount() {- this.removePointerDownListener = Cv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));+ this.removePointerDownListener = Tv(this.node.current, "pointerdown", (e) => this.onPointerDown(e));}update() {- this.session && this.session.updateHandlers(this.createPanHandlers());+ this.session?.updateHandlers(this.createPanHandlers());}unmount() {- this.removePointerDownListener(), this.session && this.session.end();+ this.removePointerDownListener(), this.session?.end();}-}, By = !1, Vy = ({ layout: e, layoutDependency: t }) => ({+}, Vy = !1, Hy = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({layout: e,layoutDependency: t,+ layoutAnchor: n,animationType: typeof e == "string" ? e : "both"-}), bne = class extends P.Component {+}), Uy = (e, t) => {+ let { snapshot: n } = e, r = e.getStack();+ r?.remove(e);+ let i = r?.lead;+ if (r?.prevLead === e && i.resumeFrom === e && (i.resumeFrom = i.currentAnimation = e.resumingFrom = void 0), e.options.layoutId = t, !t) e.needsShow = !0;+ else return e.root.registerSharedNode(t, e), () => {+ let { resumeFrom: t } = e;+ t?.isPresent !== !1 && e.getStack().members.includes(t) && (t.hide(), e.resumeFrom = void 0, e.snapshot = n);+ };+}, Rne = class extends P.Component {componentDidMount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;- i && (t.group && t.group.add(i), n && n.register && r && n.register(i), By && i.root.didUpdate(), i.addEventListener("animationComplete", () => {- this.safeToRemove();- }), i.setOptions({+ i && (t.group?.add(i), r && n?.register?.(i), Vy && i.root.didUpdate(), i.options.layoutId !== r && Uy(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({...i.options,- ...Vy(this.props),+ ...Hy(this.props),onExitComplete: () => this.safeToRemove()- })), N_.hasEverUpdated = !0;+ })), B_.hasEverUpdated = !0;}getSnapshotBeforeUpdate(e) {- let { layout: t, layoutDependency: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;- return o && (o.isPresent = a, (e.layoutDependency !== n || e.layout !== t) && o.setOptions({+ let { layoutDependency: t, layoutId: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Uy(o, n)), o.setOptions({...o.options,- ...Vy(this.props)- }), By = !0, i || e.layoutDependency !== n || n === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || kf.postRender(() => {- let e = o.getStack();- e && e.members.length || this.safeToRemove();+ ...Hy(this.props)+ }), Vy = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || Af.postRender(() => {+ o.getStack()?.members.length || this.safeToRemove();}))), null;}componentDidUpdate() {- let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;- n && (n.options.layoutAnchor = t, n.root.didUpdate(), Zg.postRender(() => {- !n.currentAnimation && n.isLead() && this.safeToRemove();+ let { projection: e } = this.props.visualElement;+ e && (this.takeOver?.(), e.root.didUpdate(), $g.postRender(() => {+ !e.currentAnimation && e.isLead() && this.safeToRemove();}));}componentWillUnmount() {let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;- By = !0, r && (r.scheduleCheckAfterUnmount(), t && t.group && t.group.remove(r), n && n.deregister && n.deregister(r));+ Vy = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));}safeToRemove() {- let { safeToRemove: e } = this.props;- e && e();+ this.props.safeToRemove?.();}render() {return null;}};-function Hy(e) {- let [t, n] = fy(), r = (0, P.useContext)(xu);- return (0, F.jsx)(bne, {+function Wy(e) {+ let [t, n] = yy(), r = (0, P.useContext)(xu);+ return (0, F.jsx)(Rne, {...e,layoutGroup: r,- switchLayoutGroup: (0, P.useContext)(Ay),+ switchLayoutGroup: (0, P.useContext)(Ly),isPresent: t,safeToRemove: n});}// node_modules/framer-motion/dist/es/motion/features/drag.mjs-var xne = {- pan: { Feature: yne },+var zne = {+ pan: { Feature: Lne },drag: {- Feature: _ne,- ProjectionNode: rv,- MeasureLayout: Hy+ Feature: Ine,+ ProjectionNode: av,+ MeasureLayout: Wy}};// node_modules/framer-motion/dist/es/gestures/hover.mjs-function Uy(e, t, n) {- let { props: r } = e;- e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");- let i = r["onHover" + n];- i && kf.postRender(() => i(t, Sv(t)));+function Gy(e, t, n, r) {+ let { props: i } = e, a = "while" + n;+ e.animationState && i[a] && e.animationState.setActive(a, r === "Start");+ let o = i["on" + n + r];+ o && Af.postRender(() => o(t, wv(t)));}-var Sne = class extends ny {+var Bne = class extends cy {mount() {let { current: e } = this.node;- e && (this.unmount = Pte(e, (e, t) => (Uy(this.node, t, "Start"), (e) => Uy(this.node, e, "End"))));+ e && (this.unmount = Kte(e, (e, t) => (Gy(this.node, t, "Hover", "Start"), (e) => Gy(this.node, e, "Hover", "End"))));}unmount() {}-}, Cne = class extends ny {+}, Vne = class extends cy {constructor() {super(...arguments), this.isActive = !1;}@@ -19842,55 +19784,51 @@ var Sne = class extends ny {this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);}mount() {- this.unmount = Pu(ev(this.node.current, "focus", () => this.onFocus()), ev(this.node.current, "blur", () => this.onBlur()));+ this.unmount = Pu(rv(this.node.current, "focus", () => this.onFocus()), rv(this.node.current, "blur", () => this.onBlur()));}unmount() {}};// node_modules/framer-motion/dist/es/gestures/press.mjs-function Wy(e, t, n) {- let { props: r } = e;- if (e.current instanceof HTMLButtonElement && e.current.disabled) return;- e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");- let i = r["onTap" + (n === "End" ? "" : n)];- i && kf.postRender(() => i(t, Sv(t)));-}-var wne = class extends ny {+function Ky(e, t, n) {+ e.current instanceof HTMLButtonElement && e.current.disabled || Gy(e, t, "Tap", n);+}+var Hne = class extends cy {mount() {let { current: e } = this.node;if (!e) return;let { globalTapTarget: t, propagate: n } = this.node.props;- this.unmount = Ite(e, (e, t) => (Wy(this.node, t, "Start"), (e, { success: t }) => Wy(this.node, e, t ? "End" : "Cancel")), {+ this.unmount = qte(e, (e, t) => (Ky(this.node, t, "Start"), (e, { success: t }) => Ky(this.node, e, t ? "" : "Cancel")), {useGlobalTarget: t,stopPropagation: n?.tap === !1});}unmount() {}-}, Gy = /* @__PURE__ */ new WeakMap(), Ky = /* @__PURE__ */ new WeakMap(), Tne = (e) => {- let t = Gy.get(e.target);+}, qy = /* @__PURE__ */ new WeakMap(), Jy = /* @__PURE__ */ new WeakMap(), Une = (e) => {+ let t = qy.get(e.target);t && t(e);-}, Ene = (e) => {- e.forEach(Tne);+}, Wne = (e) => {+ e.forEach(Une);};-function Dne({ root: e, ...t }) {+function Gne({ root: e, ...t }) {let n = e || document;- Ky.has(n) || Ky.set(n, {});- let r = Ky.get(n), i = JSON.stringify(t);- return r[i] || (r[i] = new IntersectionObserver(Ene, {+ Jy.has(n) || Jy.set(n, {});+ let r = Jy.get(n), i = JSON.stringify(t);+ return r[i] || (r[i] = new IntersectionObserver(Wne, {root: e,...t})), r[i];}-function One(e, t, n) {- let r = Dne(t);- return Gy.set(e, n), r.observe(e), () => {- Gy.delete(e), r.unobserve(e);+function Kne(e, t, n) {+ let r = Gne(t);+ return qy.set(e, n), r.observe(e), () => {+ qy.delete(e), r.unobserve(e);};}// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs-var kne = {+var qne = {some: 0,all: 1-}, Ane = class extends ny {+}, Jne = class extends cy {constructor() {super(...arguments), this.hasEnteredView = !1, this.isInView = !1;}@@ -19899,7 +19837,7 @@ var kne = {let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {root: t ? t.current : void 0,rootMargin: n,- threshold: typeof r == "number" ? r : kne[r]+ threshold: typeof r == "number" ? r : qne[r]}, o = (e) => {let { isIntersecting: t } = e;if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;@@ -19907,7 +19845,7 @@ var kne = {let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;a && a(e);};- this.stopObserver = One(this.node.current, a, o);+ this.stopObserver = Kne(this.node.current, a, o);}mount() {this.startObserver();@@ -19919,202 +19857,211 @@ var kne = {"amount","margin","root"- ].some(jne(e, t)) && this.startObserver();+ ].some(Yne(e, t)) && this.startObserver();}unmount() {this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;}};-function jne({ viewport: e = {} }, { viewport: t = {} } = {}) {+function Yne({ viewport: e = {} }, { viewport: t = {} } = {}) {return (n) => e[n] !== t[n];}// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs-var Mne = /*@__PURE__*/ Iy(/* @__PURE__ */ Object.assign({}, gne, {- inView: { Feature: Ane },- tap: { Feature: wne },- focus: { Feature: Cne },- hover: { Feature: Sne }-}, xne, { layout: {- ProjectionNode: rv,- MeasureLayout: Hy-} }), Ly);+var Xne = /*@__PURE__*/ jne(/* @__PURE__ */ Object.assign({}, Fne, {+ inView: { Feature: Jne },+ tap: { Feature: Hne },+ focus: { Feature: Vne },+ hover: { Feature: Bne }+}, zne, { layout: {+ ProjectionNode: av,+ MeasureLayout: Wy+} }), Mne);// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs-function qy() {- !fv.current && pv();- let [e] = (0, P.useState)(dv.current);+function Yy() {+ !mv.current && hv();+ let [e] = (0, P.useState)(pv.current);return e;}// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs-function Jy(e) {+function Xy(e) {return typeof e == "object" && !Array.isArray(e);}// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs-function Yy(e, t, n, r) {- return e == null ? [] : typeof e == "string" && Jy(t) ? pg(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];+function Zy(e, t, n, r) {+ return e == null ? [] : typeof e == "string" && Xy(t) ? Sg(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs-function Nne(e, t, n) {+function Zne(e, t, n) {return e * (t + 1) + n * t;}// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs-function Xy(e, t, n, r) {- return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;+function Qy(e, t) {+ if (t.has(e)) return t.get(e);+ let [, n, r] = e.match(/^(.+?)([+-][\d.]+)$/) || [];+ return t.has(n) ? Math.max(0, t.get(n) + parseFloat(r)) : void 0;+}+function Qne(e, t, n, r) {+ return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : Qy(t, r) ?? e;}// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs-function Pne(e, t, n) {+function $ne(e, t, n) {for (let r = 0; r < e.length; r++) {let i = e[r];i.at > t && i.at < n && (Eu(e, i), r--);}}-function Fne(e, t, n, r, i, a) {- Pne(e, i, a);+function ere(e, t, n, r, i, a) {+ $ne(e, i, a);for (let o = 0; o < t.length; o++) e.push({value: t[o],- at: cf(i, a, r[o]),+ at: lf(i, a, r[o]),easing: /* @__PURE__ */ nd(n, o)});}// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs-function Ine(e, t, n = 0) {+function tre(e, t, n = 0) {let r = t + 1 + t * n;for (let t = 0; t < e.length; t++) e[t] = e[t] / r;}// node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs-function Lne(e, t) {+function nre(e, t) {return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;}// node_modules/framer-motion/dist/es/animation/sequence/create.mjs-var Rne = "easeInOut", Zy = 20;-function zne(e, { defaultTransition: t = {}, ...n } = {}, r, i) {- let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;- for (let n = 0; n < e.length; n++) {- let o = e[n];- if (typeof o == "string") {- l.set(o, d);- continue;- }- if (!Array.isArray(o)) {- l.set(o.name, Xy(d, o.at, u, l));- continue;- }- let [p, m, h = {}] = o;- h.at !== void 0 && (d = Xy(d, h.at, u, l));- let g = 0, _ = (e, n, r, o = 0, s = 0) => {- let c = Bne(e), { delay: l = 0, times: u = ep(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(o, s) : l, S = c.length, C = xm(p) ? p : i?.[p || "keyframes"];- if (S <= 2 && C) {- let e = 100;- if (S === 2 && Une(c)) {- let t = c[1] - c[0];- e = Math.abs(t);+var rre = "easeInOut", ire = 20;+function are(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {+ let o = t.duration || .3, s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = {}, u = /* @__PURE__ */ new Map(), d = 0, f = 0, p = 0, m = (e, n) => {+ let a = n, s = (e) => typeof e == "number" ? n + e : Qne(f, e, d, u);+ for (let n = 0; n < e.length; n++) {+ let h = e[n];+ if (typeof h == "string") {+ u.set(h, f);+ continue;+ }+ if (!Array.isArray(h)) {+ let e = h.at === void 0 ? f : s(h.at);+ "sequence" in h ? (d = f = e, f = m(h.sequence, e), d = e, a = Math.max(a, f)) : u.set(h.name, e);+ continue;+ }+ let [g, _, v = {}] = h;+ v.at !== void 0 && (f = s(v.at));+ let y = 0, b = (e, n, r, a = 0, s = 0) => {+ let c = ore(e), { delay: l = 0, times: u = pp(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n, x = typeof l == "function" ? l(a, s) : l, S = c.length, C = Nm(d) ? d : i?.[d || "keyframes"];+ if (S <= 2 && C) {+ let e = 100;+ if (S === 2 && lre(c)) {+ let t = c[1] - c[0];+ e = Math.abs(t);+ }+ let n = {+ ...t,+ ..._+ };+ b !== void 0 && (n.duration = /* @__PURE__ */ Lu(b));+ let r = Lf(n, e, C);+ v = r.ease, b = r.duration;}- let n = {- ...t,- ...v- };- b !== void 0 && (n.duration = /* @__PURE__ */ Lu(b));- let r = If(n, e, C);- y = r.ease, b = r.duration;- }- b ??= a;- let w = d + x;- u.length === 1 && u[0] === 0 && (u[1] = 1);- let T = u.length - c.length;- if (T > 0 && $f(u, T), c.length === 1 && c.unshift(null), m && `${m}${Zy}`, m && m < Zy) {- let e = b > 0 ? _ / b : 0;- b = Nne(b, m, _);- let t = [...c], n = [...u];- y = Array.isArray(y) ? [...y] : [y];- let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;- i && (a = [...t].reverse(), h === "reverse" && (o = [...r].reverse().map((e) => typeof e == "function" ? /* @__PURE__ */ Wu(e) : e)));- for (let s = 0; s < m; s++) {- let l = i && s % 2 == 0, d = l ? a : t, f = l ? o : r, p = (s + 1) * (1 + e);- e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);- for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ nd(f, e - 1));+ b ??= o;+ let w = f + x;+ u.length === 1 && u[0] === 0 && (u[1] = 1);+ let T = u.length - c.length;+ if (T > 0 && fp(u, T), c.length === 1 && c.unshift(null), m && m < ire) {+ let e = b > 0 ? g / b : 0;+ b = Zne(b, m, g);+ let t = [...c], n = [...u];+ v = Array.isArray(v) ? [...v] : [v];+ let r = [...v], i = h === "reverse" || h === "mirror", a = t, o = r;+ i && (a = [...t].reverse(), h === "reverse" && (o = [...r].reverse().map((e) => typeof e == "function" ? /* @__PURE__ */ Wu(e) : e)));+ for (let s = 0; s < m; s++) {+ let l = i && s % 2 == 0, d = l ? a : t, f = l ? o : r, p = (s + 1) * (1 + e);+ e > 0 && (c.push(c[c.length - 1]), u.push(p), v.push("linear")), c.push(...d);+ for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ nd(f, e - 1));+ }+ tre(u, m, e);+ }+ let E = w + b;+ ere(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);+ };+ if (eg(g)) {+ let e = $y(g, c);+ b(_, v, eb("default", e));+ } else {+ let e = Zy(g, _, r, l), t = e.length;+ for (let n = 0; n < t; n++) {+ _ = _, v = v;+ let r = e[n], i = $y(r, c);+ for (let e in _) b(_[e], sre(v, e), eb(e, i), n, t);}- Ine(u, m, e);- }- let E = w + b;- Fne(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);- };- if (zh(p)) {- let e = Qy(p, s);- _(m, h, $y("default", e));- } else {- let e = Yy(p, m, r, c), t = e.length;- for (let n = 0; n < t; n++) {- m = m, h = h;- let r = e[n], i = Qy(r, s);- for (let e in m) _(m[e], Vne(h, e), $y(e, i), n, t);}+ d = f, f += y, a = Math.max(a, f);}- u = d, d += g;- }- return s.forEach((e, r) => {+ return a;+ };+ return m(e, 0), a && (a.duration = p, a.labels = u), c.forEach((e, r) => {for (let i in e) {let a = e[i];- a.sort(Lne);- let s = [], c = [], l = [];+ a.sort(nre);+ let o = [], c = [], l = [];for (let e = 0; e < a.length; e++) {let { at: t, value: n, easing: r } = a[e];- s.push(n), c.push(/* @__PURE__ */ Fu(0, f, t)), l.push(r || "easeOut");+ o.push(n), c.push(/* @__PURE__ */ Fu(0, p, t)), l.push(r || "easeOut");}- c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(Rne)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {+ c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(rre)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {keyframes: {},transition: {}});- let u = o.get(r);- u.keyframes[i] = s;- let { type: d, ...p } = t;+ let u = s.get(r);+ u.keyframes[i] = o;+ let { type: d, ...f } = t;u.transition[i] = {- ...p,- duration: f,+ ...f,+ duration: p,ease: l,times: c,...n};}- }), o;+ }), s;}-function Qy(e, t) {+function $y(e, t) {return !t.has(e) && t.set(e, {}), t.get(e);}-function $y(e, t) {+function eb(e, t) {return t[e] || (t[e] = []), t[e];}-function Bne(e) {+function ore(e) {return Array.isArray(e) ? e : [e];}-function Vne(e, t) {+function sre(e, t) {return e && e[t] ? {...e,...e[t]} : { ...e };}-var Hne = (e) => typeof e == "number", Une = (e) => e.every(Hne);+var cre = (e) => typeof e == "number", lre = (e) => e.every(cre);// node_modules/framer-motion/dist/es/animation/animate/subject.mjs-function Wne(e, t) {- return zh(e) || typeof e == "number" || typeof e == "string" && !Jy(t);+function ure(e, t) {+ return eg(e) || typeof e == "number" || typeof e == "string" && !Xy(t);}-function eb(e, t, n, r) {+function tb(e, t, n, r) {let i = [];- if (Wne(e, t)) i.push(Qg(e, Jy(t) && t.default || t, n && (n.default || n)));+ if (ure(e, t)) i.push(e_(e, Xy(t) && t.default || t, n && (n.default || n)));else {if (e == null) return i;- let a = Yy(e, t, r), o = a.length;+ let a = Zy(e, t, r), o = a.length;for (let e = 0; e < o; e++) {let r = a[e], s = { ...n };- "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Yg(r, t, s, iv.get(r))) : i.push(...sg(ree(r) ?? Xg, r, t, s));+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...Oee(r, t, s, ov.get(r))) : i.push(...hg(uee(r) ?? kee, r, t, s));}}return i;}// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs-function Gne(e, t, n) {- let r = [];- return zne(e.map((e) => {+function dre(e, t, n, r) {+ let i = [];+ return are(e.map((e) => {if (Array.isArray(e) && typeof e[0] == "function") {- let t = e[0], n = gh(0);+ let t = e[0], n = jh(0);return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [n,[0, 1],@@ -20126,59 +20073,292 @@ function Gne(e, t, n) {];}return e;- }), t, n, { spring: Yf }).forEach(({ keyframes: e, transition: t }, n) => {- r.push(...eb(n, e, t));- }), r;+ }), t, n, { spring: cp }, r).forEach(({ keyframes: e, transition: t }, n) => {+ i.push(...tb(n, e, t));+ }), i;+}+// node_modules/framer-motion/dist/es/animation/timeline/index.mjs+var nb = 0;+function fre(e, t) {+ let n = [...e], r = typeof n[0] == "function" ? Math.max(1, n.length - 1) : 2;+ return n[r] = {+ ...n[r],+ at: t+ }, n;}+var rb = (e, t) => t === void 0 ? e : {+ name: e,+ at: t+};+function ib(e) {+ e.pause(), e.time = 0, e.stop();+}+var ab = class e {+ constructor(e = [], t = {}, n) {+ this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.isWrapped = !1, this.stop = () => {+ this.flush(), this.group?.stop();+ }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new Sh(n), this.watch()) : (this.invalidate(), this.flush());+ let { scope: r } = t;+ r && (r.animations.push(this), this.finished.then(() => Eu(r.animations, this)));+ }+ add(t, n) {+ return t instanceof e && t.adopt(this), this.push({+ item: t,+ at: n+ });+ }+ call(e, t) {+ return this.push({+ item: e,+ at: t,+ marker: {+ name: "_m" + nb++,+ time: 0,+ callback: e+ }+ });+ }+ addPause(e, t) {+ return this.push({+ item: t || {},+ at: e,+ marker: {+ name: "_m" + nb++,+ time: 0,+ callback: t,+ pause: !0+ }+ });+ }+ move(e, t) {+ return this.entries.forEach((n) => {+ n.item === e && (n.at = t);+ }), this.invalidate();+ }+ remove(t) {+ return t instanceof e && (t.parent = void 0), this.entries = this.entries.filter((e) => e.item !== t), this.invalidate();+ }+ clear() {+ return this.entries = [], this.invalidate();+ }+ getLabelTime(e) {+ return this.flush(), this.labels.get(e);+ }+ seek(e) {+ return this.time = this.resolve(e), this;+ }+ playTo(e) {+ let t = this.resolve(e), n = Math.abs(this.speed);+ return this.speed = t < this.time ? -n : n, this.stopAt = t, this.clock || this.invalidate(), this.play(), this;+ }+ reverse() {+ return this.speed = -this.speed, this.play(), this;+ }+ get progress() {+ return this.duration ? this.time / this.duration : 0;+ }+ set progress(e) {+ this.time = e * this.duration;+ }+ get time() {+ return this.active()?.time ?? 0;+ }+ set time(e) {+ this.flush(), this.prevTime = e, this.group && (this.group.time = e), this.repeatIndex = this.currentRepeat();+ }+ get speed() {+ return this.playbackSpeed;+ }+ set speed(e) {+ this.playbackSpeed = e, this.group && (this.group.speed = e);+ }+ get duration() {+ return this.flush(), this.isWrapped ? this.group.duration : this.totalDuration;+ }+ get iterationDuration() {+ return this.flush(), this.isWrapped ? this.group.iterationDuration : this.totalDuration;+ }+ get state() {+ return this.active()?.state ?? "idle";+ }+ get startTime() {+ return this.active()?.startTime ?? null;+ }+ play() {+ this.flush(), this.isPaused = !1, this.group?.play(), this.isDone && (this.newFinished(), this.watch());+ }+ pause() {+ this.flush(), this.isPaused = !0, this.group?.pause();+ }+ cancel() {+ this.flush(), this.group?.cancel();+ }+ complete() {+ this.flush(), this.group?.complete();+ }+ attachTimeline(e) {+ return this.flush(), this.scrollTimeline = e, this.detachScroll = this.group?.attachTimeline(e), () => {+ this.scrollTimeline = void 0, this.detachScroll?.();+ };+ }+ then(e, t) {+ return this.finished.then(e, t);+ }+ active() {+ return this.flush(), this.group?.animations.length ? this.group : void 0;+ }+ push(e) {+ return this.entries.push(e), this.invalidate();+ }+ invalidate() {+ return this.parent ? this.parent.invalidate() : this.isDirty || (this.isDirty = !0, queueMicrotask(() => this.flush())), this;+ }+ flush() {+ this.isDirty && !this.parent && this.build();+ }+ adopt(e) {+ this.group &&= (ib(this.group), void 0), this.isDirty = !1, this.parent = e;+ }+ build() {+ this.isDirty = !1, this.isWrapped = !1;+ let e = this.group, t = 0;+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, ib(e)), this.isRebuilding = !1);+ let { defaultTransition: n, onComplete: r, onUpdate: i, onRepeat: a, onReverseComplete: o, autoplay: s, scope: c, ...l } = this.options, u = {};+ c?.reduceMotion !== void 0 && (u.reduceMotion = c.reduceMotion), c?.skipAnimations !== void 0 && (u.skipAnimations = c.skipAnimations), Object.assign(u, l);+ let d = /* @__PURE__ */ new Map(), f = {}, p = dre(this.toSequence(d), {+ defaultTransition: n,+ ...u+ }, c, f), m = f.labels, h = u.duration ?? f.duration, g = f.duration ? h / f.duration : 1;+ if (m.forEach((e, t) => m.set(t, e * g)), this.markers = [], d.forEach((e, t) => {+ e.time = m.get(t), m.delete(t), h = Math.max(h, e.time), this.markers.push(e);+ }), this.markers.sort((e, t) => e.time - t.time), this.labels = m, this.totalDuration = h, this.clock = this.clockAnimation = void 0, this.markers.length || this.stopAt !== void 0 || i || a) {+ let e = this.clock = jh(0);+ e.on("change", (t) => e === this.clock && this.onClock(t)), p.unshift(this.clockAnimation = e_(e, [0, h], {+ ...u,+ duration: h,+ ease: "linear"+ }));+ }+ let _ = this.group = new Sh(p);+ t = Math.min(t, h), this.isDone && t < h && this.newFinished(), this.scrollTimeline ? this.detachScroll = _.attachTimeline(this.scrollTimeline) : (_.speed = this.playbackSpeed, this.isPaused && _.pause(), t && (_.time = t)), this.repeatIndex = this.currentRepeat(), this.prevTime = t || -1, this.watch();+ }+ toSequence(t) {+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), rb(i.name, r)) : n instanceof e ? {+ sequence: n.toSequence(t),+ at: r+ } : typeof n == "string" ? rb(n, r) : r === void 0 ? n : Array.isArray(n) ? fre(n, r) : {+ ...n,+ at: r+ });+ }+ resolve(e) {+ return this.flush(), typeof e == "number" ? e : Qy(e, this.labels) ?? this.time;+ }+ currentRepeat() {+ let { repeat: e = 0, repeatDelay: t = 0, delay: n = 0 } = this.options, r = this.totalDuration + t, i = (this.clockAnimation?.time ?? 0) - n;+ return r && i > 0 ? Math.min(e, Math.floor(i / r)) : 0;+ }+ onClock(e) {+ let t = this.prevTime;+ if (this.prevTime = e, this.isRebuilding) return;+ let { onUpdate: n, onRepeat: r, repeatType: i = "loop" } = this.options;+ n?.(e);+ let a = this.currentRepeat();+ if (a !== this.repeatIndex && (this.repeatIndex = a, r?.(), i === "loop")) {+ let e = this.speed > 0;+ if (this.cross(t, e ? this.totalDuration : 0)) return;+ t = e ? -1 : Infinity;+ }+ this.cross(t, e);+ }+ cross(e, t) {+ if (e === t) return;+ let n = t > e, r = (r) => n ? r > e && r <= t : r < e && r >= t, i = n ? this.markers : [...this.markers].reverse();+ for (let e of i) if (r(e.time) && (e.callback?.(n ? 1 : -1), e.pause)) return this.pauseAt(e.time);+ if (this.stopAt !== void 0 && r(this.stopAt)) return this.pauseAt(this.stopAt), this.stopAt = void 0, !0;+ }+ pauseAt(e) {+ return this.pause(), this.time = e, !0;+ }+ watch() {+ let e = this.group;+ e.finished.then(() => {+ if (e !== this.group || this.isDone) return;+ this.isDone = !0;+ let { onComplete: t, onReverseComplete: n } = this.options;+ (this.speed < 0 && n || t)?.(), this.resolveFinished();+ });+ }+ newFinished() {+ this.isDone = !1, this.finished = new Promise((e) => {+ this.resolveFinished = e;+ });+ }+};// node_modules/framer-motion/dist/es/animation/animate/index.mjs-function Kne(e) {+function ob(e) {return Array.isArray(e) && e.some(Array.isArray);}-function qne(e = {}) {+function sb(e = {}) {let { scope: t, reduceMotion: n, skipAnimations: r } = e;function i(e, i, a) {- let o = [], s, c = ug.current, l = c?.transition, u = {};- if (n !== void 0 && (u.reduceMotion = n), r !== void 0 && (u.skipAnimations = r), Kne(e)) {- let { onComplete: n, ...r } = i || {};- typeof n == "function" && (s = n), l && (r.defaultTransition = {- ...l,- ...r.defaultTransition- }), o = Gne(e, {- ...u,- ...r- }, t);+ let o = yg.current, s = o?.transition, c = {};+ n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r);+ let l;+ if (ob(e)) {+ let n = {+ ...c,+ ...i,+ scope: t+ };+ s && (n.defaultTransition = {+ ...s,+ ...n.defaultTransition+ }), l = new ab(e, n);} else {- let { onComplete: n, ...r } = a || {};- typeof n == "function" && (s = n), o = eb(e, i, {- ...u,- ...l,+ let { onComplete: n, ...r } = a || {}, o = {+ ...c,+ ...s,...r- }, t);+ }, { onUpdate: u } = r;+ l = new ab([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [+ u || (() => {}),+ Array.isArray(i) ? i : [e, i],+ {+ ...o,+ onUpdate: void 0+ }+ ] : [+ e,+ i,+ o+ ]], {+ ...c,+ onComplete: n,+ scope: t+ }, tb(e, i, o, t));}- let d = new sh(o);- return s && d.finished.then(s), c && d.finished.then(c.add(() => d.stop())), t && (t.animations.push(d), d.finished.then(() => {- Eu(t.animations, d);- })), d;+ return o && l.finished.then(o.add(() => l.stop())), l;}return i;}-var tb = /* @__PURE__ */ Object.assign(/* @__PURE__ */ qne(), {- addEffect: nee,- removeEffect: ag+var cb = /* @__PURE__ */ Object.assign(/* @__PURE__ */ sb(), {+ addEffect: lee,+ removeEffect: pg});// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function Jne(e, t, n, r) {+function lb(e, t, n, r) {if (e == null) return [];- let i = pg(e, r), a = i.length, o = [];+ let i = Sg(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {let r = i[e], s = { ...n };typeof s.delay == "function" && (s.delay = s.delay(e, a));for (let e in t) {let n = t[e];Array.isArray(n) || (n = [n]);- let i = { ...vh(s, e) };+ let i = { ...Nh(s, e) };i.duration &&= /* @__PURE__ */ Lu(i.duration), i.delay &&= /* @__PURE__ */ Lu(i.delay);- let a = uh(r), c = lh(e, i.pseudoElement || ""), l = a.get(c);+ let a = Th(r), c = wh(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,key: c,@@ -20194,21 +20374,21 @@ function Jne(e, t, n, r) {}for (let e = 0; e < o.length; e++) {let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;- !a && t[0] === null && (t[0] = ty(r, i)), Mp(t), tee(t, i), !a && t.length < 2 && t.unshift(ty(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = sy(r, i)), Gp(t), cee(t, i), !a && t.length < 2 && t.unshift(sy(r, i)), n.keyframes = t;}let s = [];for (let e = 0; e < o.length; e++) {- let { map: t, key: n, options: r } = o[e], i = new Cm(r);+ let { map: t, key: n, options: r } = o[e], i = new Fm(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}-var Yne = /*@__PURE__*/ ((e) => {+var ub = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new sh(Jne(t, n, r, e));+ return new Sh(lb(t, n, r, e));}return t;-})(), nb = Mne, rb = class {+})(), db = Xne, fb = class {constructor(e) {this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;}@@ -20223,22 +20403,22 @@ var Yne = /*@__PURE__*/ ((e) => {let r = this.clone();return t.addDescendants(r, e), r;}-}, ib = class extends rb {+}, pb = class extends fb {filter(e, t, n) {- let [r, i] = cb(e, t, this.firstChildKey, n), a = this.clone();+ let [r, i] = vb(e, t, this.firstChildKey, n), a = this.clone();return a.firstChildKey = r, a.lastChildKey = i, a;}};-(class extends rb {+(class extends fb {static {this.type = "header";}});-var ab = class extends rb {+var mb = class extends fb {static {this.type = "loader";}-}, ob = class extends ib {+}, hb = class extends pb {static {this.type = "item";}@@ -20249,7 +20429,7 @@ var ab = class extends rb {}return null;}-}, Xne = class extends ib {+}, gb = class extends pb {static {this.type = "section";}@@ -20261,7 +20441,7 @@ var ab = class extends rb {}return null;}-}, sb = class {+}, _b = class {get size() {return this.itemCount;}@@ -20336,14 +20516,14 @@ var ab = class extends rb {this.firstKey = e, this.lastKey = t, this.frozen = !n;}filter(e) {- let t = new this.constructor(), [n, r] = cb(this, t, this.firstKey, e);+ let t = new this.constructor(), [n, r] = vb(this, t, this.firstKey, e);return t?.commit(n, r), t;}constructor() {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;}};-function cb(e, t, n, r) {+function vb(e, t, n, r) {if (n == null) return [null, null];let i = null, a = null, o = e.getItem(n);for (; o != null;) {@@ -20357,7 +20537,7 @@ function cb(e, t, n, r) {return [i?.key ?? null, a?.key ?? null];}// node_modules/react-aria/dist/private/collections/Document.mjs-var lb = class {+var yb = class {constructor(e) {this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;}@@ -20438,7 +20618,7 @@ var lb = class {for (; e && e.isHidden;) e = e.previousSibling;return e;}-}, ub = class e extends lb {+}, bb = class e extends yb {constructor(e, t) {super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;}@@ -20489,7 +20669,7 @@ var lb = class {setAttribute() {}setAttributeNS() {}removeAttribute() {}-}, Zne = class extends lb {+}, pre = class extends yb {constructor(e) {super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;}@@ -20497,7 +20677,7 @@ var lb = class {return !0;}createElement(e) {- return new ub(e, this);+ return new bb(e, this);}getMutableCollection() {return this.nextCollection ||= this.collection.clone(), this.nextCollection;@@ -20519,8 +20699,8 @@ var lb = class {return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;}updateCollection() {- for (let e of this.dirtyNodes) e instanceof ub && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();- for (let e of this.dirtyNodes) e instanceof ub ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);+ for (let e of this.dirtyNodes) e instanceof bb && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();+ for (let e of this.dirtyNodes) e instanceof bb ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));}queueUpdate() {@@ -20538,13 +20718,13 @@ var lb = class {}};// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs-function db(e) {+function xb(e) {let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, P.useMemo)(() => void 0, [t]), s = (0, P.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);return (0, P.useMemo)(() => {if (n && typeof t == "function") {let e = [];for (let a of n) {- let n = Qne(a) ? a : null, o = n ? s.get(n) : null;+ let n = mre(a) ? a : null, o = n ? s.get(n) : null;if (!o) {o = t(a);let c = o.props.id ?? a?.key ?? a?.id;@@ -20569,7 +20749,7 @@ function db(e) {i]);}-function Qne(e) {+function mre(e) {switch (typeof e) {case "object": return e != null;case "function":@@ -20578,24 +20758,24 @@ function Qne(e) {}}// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs-function fb(e) {+function Sb(e) {e.focus({ preventScroll: !0 });}// node_modules/react-aria/dist/private/utils/domHelpers.mjs-var pb = (e) => $ne(e) ? e.document : ere(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), mb = (e) => pb(e)?.defaultView ?? (typeof window < "u" ? window : void 0);-function hb(e) {+var Cb = (e) => hre(e) ? e.document : gre(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), wb = (e) => Cb(e)?.defaultView ?? (typeof window < "u" ? window : void 0);+function Tb(e) {return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";}-function $ne(e) {+function hre(e) {return typeof e == "object" && !!e && "window" in e && e.window === e;}-function ere(e) {- return hb(e) && e.nodeType === 9;+function gre(e) {+ return Tb(e) && e.nodeType === 9;}-function gb(e) {- return hb(e) && e.nodeType === 11 && "host" in e;+function Eb(e) {+ return Tb(e) && e.nodeType === 11 && "host" in e;}-function _b(e, t, n, r) {+function Db(e, t, n, r) {if (n == null || e == null) return () => {};let i = Array.isArray(e) ? e : [e];for (let e of i) e.addEventListener(t, n, r);@@ -20603,7 +20783,7 @@ function _b(e, t, n, r) {for (let e of i) e.removeEventListener(t, n, r);};}-function vb(e, t, n, r) {+function Ob(e, t, n, r) {if (e == null) return () => {};let i = [], a = Array.isArray(e) ? e : [e];for (let e of a) {@@ -20617,70 +20797,70 @@ function vb(e, t, n, r) {};}// node_modules/react-stately/dist/private/flags/flags.mjs-var tre = !1;-function yb() {- return tre;+var _re = !1;+function kb() {+ return _re;}// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs-function bb(e, t) {- if (!yb()) return t && e ? e.contains(t) : !1;+function Ab(e, t) {+ if (!kb()) return t && e ? e.contains(t) : !1;if (!e || !t) return !1;let n = t;for (; n != null;) {if (n === e) return !0;- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : gb(n) ? n.host : n.parentNode;+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : Eb(n) ? n.host : n.parentNode;}return !1;}-var xb = (e = document) => {- if (!yb()) return e.activeElement;+var jb = (e = document) => {+ if (!kb()) return e.activeElement;let t = e.activeElement;for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;return t;};function G(e) {- if (yb() && e.target instanceof Element && e.target.shadowRoot) {+ if (kb() && e.target instanceof Element && e.target.shadowRoot) {if ("composedPath" in e) return e.composedPath()[0] ?? null;if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;}return e.target;}-function Sb(e, t) {+function Mb(e, t) {if (t === null) return [];- t ??= mb(e);+ t ??= wb(e);let n = [t];- if (!yb() || !e || e === t) return n;+ if (!kb() || !e || e === t) return n;let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;- for (; gb(i) && i !== r;) n.push(i), i = i.host.getRootNode();+ for (; Eb(i) && i !== r;) n.push(i), i = i.host.getRootNode();return n;}-function Cb(e) {+function Nb(e) {if (!e) return !1;- let t = e.getRootNode(), n = mb(e);+ let t = e.getRootNode(), n = wb(e);if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;let r = t.activeElement;return r != null && e.contains(r);}// node_modules/react-aria/dist/private/utils/isElementVisible.mjs-var nre = typeof Element < "u" && "checkVisibility" in Element.prototype;-function wb(e) {- let t = mb(e);+var vre = typeof Element < "u" && "checkVisibility" in Element.prototype;+function yre(e) {+ let t = wb(e);if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";if (i) {- let { getComputedStyle: t } = mb(e), { display: n, visibility: r } = t(e);+ let { getComputedStyle: t } = wb(e), { display: n, visibility: r } = t(e);i = n !== "none" && r !== "hidden" && r !== "collapse";}return i;}-function Tb(e, t) {+function bre(e, t) {return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);}-function Eb(e, t) {- return nre ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && wb(e) && Tb(e, t) && (!e.parentElement || Eb(e.parentElement, e));+function Pb(e, t) {+ return vre ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && yre(e) && bre(e, t) && (!e.parentElement || Pb(e.parentElement, e));}// node_modules/react-aria/dist/private/utils/isFocusable.mjs-var Db = [+var Fb = ["input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])",@@ -20695,39 +20875,39 @@ var Db = ["video[controls]","[contenteditable]:not([contenteditable^=\"false\"])","permission"-], Ob = Db.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";-Db.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");-var kb = Db.join(":not([hidden]):not([tabindex=\"-1\"]),");-function Ab(e, t) {- return e.matches(Ob) && !Mb(e) && (t?.skipVisibilityCheck || Eb(e));+], xre = Fb.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";+Fb.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");+var Sre = Fb.join(":not([hidden]):not([tabindex=\"-1\"]),");+function Ib(e, t) {+ return e.matches(xre) && !Rb(e) && (t?.skipVisibilityCheck || Pb(e));}-function jb(e) {- return e.matches(kb) && Eb(e) && !Mb(e);+function Lb(e) {+ return e.matches(Sre) && Pb(e) && !Rb(e);}-function Mb(e) {+function Rb(e) {let t = e;for (; t != null;) {- if (t instanceof mb(t).HTMLElement && t.inert) return !0;+ if (t instanceof wb(t).HTMLElement && t.inert) return !0;t = t.parentElement;}return !1;}// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs-var Nb = typeof document < "u" ? P.useLayoutEffect : () => {};+var zb = typeof document < "u" ? P.useLayoutEffect : () => {};// node_modules/react-aria/dist/private/interactions/utils.mjs-function Pb(e) {+function Bb(e) {let t = e;return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;}-function Fb(e, t) {+function Vb(e, t) {Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });}-function Ib(e) {+function Hb(e) {let t = (0, P.useRef)({isFocused: !1,observer: null});- return Nb(() => {+ return zb(() => {let e = t.current;return () => {e.observer &&= (e.observer.disconnect(), null);@@ -20739,14 +20919,14 @@ function Ib(e) {let n = r;n.addEventListener("focusout", (r) => {if (t.current.isFocused = !1, n.disabled) {- let t = Pb(r);+ let t = Bb(r);e?.(t);}t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);}, { once: !0 }), t.current.observer = new MutationObserver(() => {if (t.current.isFocused && n.disabled) {t.current.observer?.disconnect();- let e = n === xb() ? null : xb();+ let e = n === jb() ? null : jb();n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: e@@ -20759,80 +20939,80 @@ function Ib(e) {}}, [e]);}-var Lb = !1;-function Rb(e) {- for (; e && !Ab(e, { skipVisibilityCheck: !0 });) e = e.parentElement;- let t = xb(mb(e).document);+var Ub = !1;+function Cre(e) {+ for (; e && !Ib(e, { skipVisibilityCheck: !0 });) e = e.parentElement;+ let t = jb(wb(e).document);if (!t || t === e) return;- let n = e?.getRootNode(), r = n != null && gb(n) ? n : mb(e), i = (t) => t === e || hb(t) && bb(e, t), a = (e) => e === t || t != null && hb(e) && bb(t, e);- Lb = !0;+ let n = e?.getRootNode(), r = n != null && Eb(n) ? n : wb(e), i = (t) => t === e || Tb(t) && Ab(e, t), a = (e) => e === t || t != null && Tb(e) && Ab(t, e);+ Ub = !0;let o = !1, s = (e) => {(a(G(e)) || o) && e.stopImmediatePropagation();}, c = (n) => {- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, fb(t), d()));+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, Sb(t), d()));}, l = (e) => {(i(G(e)) || o) && e.stopImmediatePropagation();}, u = (e) => {- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, fb(t), d()));+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, Sb(t), d()));};r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);let d = () => {- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), Lb = !1, o = !1;+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), Ub = !1, o = !1;}, f = requestAnimationFrame(d);return d;}// node_modules/react-aria/dist/private/utils/platform.mjs-function zb(e) {+function Wb(e) {if (typeof window > "u" || window.navigator == null) return !1;let t = window.navigator.userAgentData?.brands;return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);}-function Bb(e) {+function Gb(e) {return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);}-function Vb(e) {+function Kb(e) {let t = null;return () => (t ??= e(), t);}-var Hb = Vb(function() {- return Bb(/^Mac/i);-}), Ub = Vb(function() {- return Bb(/^iPhone/i);-}), Wb = Vb(function() {- return Bb(/^iPad/i) || Hb() && navigator.maxTouchPoints > 1;-}), Gb = Vb(function() {- return Ub() || Wb();-}), Kb = Vb(function() {- return Hb() || Gb();-}), qb = Vb(function() {- return zb(/AppleWebKit/i) && (Gb() || !Jb());-}), Jb = Vb(function() {- return zb(/Chrome|CriOS|CrMo/i);-}), Yb = Vb(function() {- return zb(/Android/i);+var qb = Kb(function() {+ return Gb(/^Mac/i);+}), wre = Kb(function() {+ return Gb(/^iPhone/i);+}), Jb = Kb(function() {+ return Gb(/^iPad/i) || qb() && navigator.maxTouchPoints > 1;+}), Yb = Kb(function() {+ return wre() || Jb();+}), Tre = Kb(function() {+ return qb() || Yb();+}), Xb = Kb(function() {+ return Wb(/AppleWebKit/i) && (Yb() || !Zb());+}), Zb = Kb(function() {+ return Wb(/Chrome|CriOS|CrMo/i);+}), Qb = Kb(function() {+ return Wb(/Android/i);});// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs-function Xb(e) {- return e.pointerType === "" && e.isTrusted ? !0 : Yb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;+function $b(e) {+ return e.pointerType === "" && e.isTrusted ? !0 : Qb() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;}-function Zb(e) {- return !Yb() && e.width === 0 && e.height === 0 || Yb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";+function Ere(e) {+ return !Qb() && e.width === 0 && e.height === 0 || Qb() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";}// node_modules/react-aria/dist/private/utils/openLink.mjs-var rre = /*#__PURE__*/ (0, P.createContext)({+var Dre = /*#__PURE__*/ (0, P.createContext)({isNative: !0,- open: ore,+ open: Are,useHref: (e) => e});-function Qb() {- return (0, P.useContext)(rre);+function ex() {+ return (0, P.useContext)(Dre);}-function ire(e, t) {+function Ore(e, t) {let n = e.getAttribute("target");return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;}-function $b(e, t, n = !0) {- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = qb() && Hb() && !Wb() ? new KeyboardEvent("keydown", {+function tx(e, t, n = !0) {+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = Xb() && qb() && !Jb() ? new KeyboardEvent("keydown", {keyIdentifier: "Enter",metaKey: r,ctrlKey: i,@@ -20847,21 +21027,21 @@ function $b(e, t, n = !0) {bubbles: !0,cancelable: !0});- $b.isOpening = n, fb(e), e.dispatchEvent(s), $b.isOpening = !1;+ tx.isOpening = n, Sb(e), e.dispatchEvent(s), tx.isOpening = !1;}-$b.isOpening = !1;-function are(e, t) {+tx.isOpening = !1;+function kre(e, t) {if (e instanceof HTMLAnchorElement) t(e);else if (e.hasAttribute("data-href")) {let n = document.createElement("a");n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);}}-function ore(e, t) {- are(e, (e) => $b(e, t));+function Are(e, t) {+ kre(e, (e) => tx(e, t));}-function ex(e) {- let t = Qb().useHref(e.href ?? "");+function nx(e) {+ let t = ex().useHref(e.href ?? "");return {"data-href": e.href ? t : void 0,"data-target": e.target,@@ -20871,8 +21051,8 @@ function ex(e) {"data-referrer-policy": e.referrerPolicy};}-function tx(e) {- let t = Qb().useHref(e?.href ?? ""), n = {};+function rx(e) {+ let t = ex().useHref(e?.href ?? ""), n = {};if (e) for (let r of ["href","target",@@ -20883,138 +21063,138 @@ function tx(e) {]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);return n;}-function sre(e, t, n, r) {- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && ire(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));+function jre(e, t, n, r) {+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Ore(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));}// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs-var nx = {+var ix = {prefix: String(Math.round(Math.random() * 1e10)),current: 0-}, rx = /*#__PURE__*/ P.createContext(nx), cre = /*#__PURE__*/ P.createContext(!1);+}, ax = /*#__PURE__*/ P.createContext(ix), Mre = /*#__PURE__*/ P.createContext(!1);typeof window < "u" && window.document && window.document.createElement;-var ix = /* @__PURE__ */ new WeakMap();-function lre(e = !1) {- let t = (0, P.useContext)(rx), n = (0, P.useRef)(null);+var ox = /* @__PURE__ */ new WeakMap();+function Nre(e = !1) {+ let t = (0, P.useContext)(ax), n = (0, P.useRef)(null);if (n.current === null && !e) {let e = P.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;if (e) {- let n = ix.get(e);- n == null ? ix.set(e, {+ let n = ox.get(e);+ n == null ? ox.set(e, {id: t.current,state: e.memoizedState- }) : e.memoizedState !== n.state && (t.current = n.id, ix.delete(e));+ }) : e.memoizedState !== n.state && (t.current = n.id, ox.delete(e));}n.current = ++t.current;}return n.current;}-function ure(e) {- let t = (0, P.useContext)(rx), n = lre(!!e), r = `react-aria${t.prefix}`;+function Pre(e) {+ let t = (0, P.useContext)(ax), n = Nre(!!e), r = `react-aria${t.prefix}`;return e || `${r}-${n}`;}-function dre(e) {- let t = P.useId(), [n] = (0, P.useState)(ax()), r = n ? "react-aria" : `react-aria${nx.prefix}`;+function Fre(e) {+ let t = P.useId(), [n] = (0, P.useState)(sx()), r = n ? "react-aria" : `react-aria${ix.prefix}`;return e || `${r}-${t}`;}-var fre = typeof P.useId == "function" ? dre : ure;-function pre() {+var Ire = typeof P.useId == "function" ? Fre : Pre;+function Lre() {return !1;}-function mre() {+function Rre() {return !0;}-function hre(e) {+function zre(e) {return () => {};}-function ax() {- return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore(hre, pre, mre) : (0, P.useContext)(cre);+function sx() {+ return typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore(zre, Lre, Rre) : (0, P.useContext)(Mre);}// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs-var ox = null, sx = /* @__PURE__ */ new Set(), cx = /* @__PURE__ */ new Map(), lx = !1, ux = !1, gre = {+var cx = null, lx = /* @__PURE__ */ new Set(), ux = /* @__PURE__ */ new Map(), dx = !1, fx = !1, Bre = {Tab: !0,Escape: !0};-function dx(e, t) {- for (let n of sx) n(e, t);-}-function _re(e) {- return !(e.metaKey || !Hb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");-}-function fx(e) {- lx = !0, !$b.isOpening && _re(e) && (ox = "keyboard", dx("keyboard", e));+function px(e, t) {+ for (let n of lx) n(e, t);}-function px(e) {- ox = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (lx = !0, dx("pointer", e));+function Vre(e) {+ return !(e.metaKey || !qb() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");}function mx(e) {- !$b.isOpening && Xb(e) && (lx = !0, ox = "virtual");+ dx = !0, !tx.isOpening && Vre(e) && (cx = "keyboard", px("keyboard", e));}function hx(e) {- if (Lb) return;- let t = G(e), n = mb(t), r = pb(t);- t === n ? ux = !0 : t !== r && e.isTrusted && (!lx && !ux && (ox = "virtual", dx("virtual", e)), lx = !1, ux = !1);+ cx = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (dx = !0, px("pointer", e));}-function gx() {- Lb || (lx = !1, ux = !0);+function gx(e) {+ !tx.isOpening && $b(e) && (dx = !0, cx = "virtual");}function _x(e) {- let t = xb(pb(G(e)));+ if (Ub) return;+ let t = G(e), n = wb(t), r = Cb(t);+ t === n ? fx = !0 : t !== r && e.isTrusted && (!dx && !fx && (cx = "virtual", px("virtual", e)), dx = !1, fx = !1);+}+function vx() {+ Ub || (dx = !1, fx = !0);+}+function yx(e) {+ let t = jb(Cb(G(e)));queueMicrotask(() => {- xb(pb(G(e))) !== t && Sx("keyboard");+ jb(Cb(G(e))) !== t && wx("keyboard");});}-function vx(e) {+function bx(e) {if (typeof window > "u" || typeof document > "u") return;- let t = mb(e), n = pb(e);- if (cx.get(t)) return;+ let t = wb(e), n = Cb(e);+ if (ux.get(t)) return;let r = t.HTMLElement.prototype.focus;Reflect.defineProperty(t.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,value: function() {- lx = !0, r.apply(this, arguments);+ dx = !0, r.apply(this, arguments);}- }), n.addEventListener("keydown", fx, !0), n.addEventListener("keyup", fx, !0), n.addEventListener("click", mx, !0), n.addEventListener("invalid", _x, !0), t.addEventListener("focus", hx, !0), t.addEventListener("blur", gx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", px, !0), n.addEventListener("pointermove", px, !0), n.addEventListener("pointerup", px, !0)), t.addEventListener("beforeunload", () => {- yx(e);- }, { once: !0 }), cx.set(t, { focus: r });+ }), n.addEventListener("keydown", mx, !0), n.addEventListener("keyup", mx, !0), n.addEventListener("click", gx, !0), n.addEventListener("invalid", yx, !0), t.addEventListener("focus", _x, !0), t.addEventListener("blur", vx, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", hx, !0), n.addEventListener("pointermove", hx, !0), n.addEventListener("pointerup", hx, !0)), t.addEventListener("beforeunload", () => {+ xx(e);+ }, { once: !0 }), ux.set(t, { focus: r });}-var yx = (e, t) => {- let n = mb(e), r = pb(e);- t && r.removeEventListener("DOMContentLoaded", t), cx.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {+var xx = (e, t) => {+ let n = wb(e), r = Cb(e);+ t && r.removeEventListener("DOMContentLoaded", t), ux.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {configurable: !0,writable: !0,- value: cx.get(n).focus- }), r.removeEventListener("keydown", fx, !0), r.removeEventListener("keyup", fx, !0), r.removeEventListener("click", mx, !0), r.removeEventListener("invalid", _x, !0), n.removeEventListener("focus", hx, !0), n.removeEventListener("blur", gx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", px, !0), r.removeEventListener("pointermove", px, !0), r.removeEventListener("pointerup", px, !0)), cx.delete(n));+ value: ux.get(n).focus+ }), r.removeEventListener("keydown", mx, !0), r.removeEventListener("keyup", mx, !0), r.removeEventListener("click", gx, !0), r.removeEventListener("invalid", yx, !0), n.removeEventListener("focus", _x, !0), n.removeEventListener("blur", vx, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", hx, !0), r.removeEventListener("pointermove", hx, !0), r.removeEventListener("pointerup", hx, !0)), ux.delete(n));};-function vre(e) {- let t = pb(e), n;+function Hre(e) {+ let t = Cb(e), n;return t.readyState === "loading" ? (n = () => {- vx(e);- }, t.addEventListener("DOMContentLoaded", n)) : vx(e), () => yx(e, n);+ bx(e);+ }, t.addEventListener("DOMContentLoaded", n)) : bx(e), () => xx(e, n);}-typeof document < "u" && vre();-function bx() {- return ox !== "pointer";+typeof document < "u" && Hre();+function Sx() {+ return cx !== "pointer";}-function xx() {- return ox;+function Cx() {+ return cx;}-function Sx(e) {- ox = e, dx(e, null);+function wx(e) {+ cx = e, px(e, null);}-function Cx() {- vx();- let [e, t] = (0, P.useState)(ox);+function Tx() {+ bx();+ let [e, t] = (0, P.useState)(cx);return (0, P.useEffect)(() => {let e = () => {- t(ox);+ t(cx);};- return sx.add(e), () => {- sx.delete(e);+ return lx.add(e), () => {+ lx.delete(e);};- }, []), ax() ? null : e;+ }, []), sx() ? null : e;}-var yre = /* @__PURE__ */ new Set([+var Ure = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21025,107 +21205,107 @@ var yre = /* @__PURE__ */ new Set(["submit","reset"]);-function bre(e, t, n) {- let r = n ? G(n) : void 0, i = pb(r), a = mb(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = xb(i);- return e = e || u instanceof o && !yre.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !gre[n.key]);+function Wre(e, t, n) {+ let r = n ? G(n) : void 0, i = Cb(r), a = wb(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = jb(i);+ return e = e || u instanceof o && !Ure.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Bre[n.key]);}-function wx(e = {}) {- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || bx());- return Tx((e) => {+function Ex(e = {}) {+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, P.useState)(n || Sx());+ return Dx((e) => {i(e);}, [t], { isTextInput: t }), { isFocusVisible: r };}-function Tx(e, t, n) {- vx(), (0, P.useEffect)(() => {+function Dx(e, t, n) {+ bx(), (0, P.useEffect)(() => {if (n?.enabled === !1) return;let t = (t, r) => {- bre(!!n?.isTextInput, t, r) && e(bx());+ Wre(!!n?.isTextInput, t, r) && e(Sx());};- return sx.add(t), () => {- sx.delete(t);+ return lx.add(t), () => {+ lx.delete(t);};}, t);}// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs-var Ex = /* @__PURE__ */ new Map(), Dx = /* @__PURE__ */ new Set();-function Ox(e) {+var Ox = /* @__PURE__ */ new Map(), kx = /* @__PURE__ */ new Set();+function Ax(e) {return "propertyName" in e;}-function xre(e) {+function Gre(e) {let t = G(e);- if (!Ox(e) || !t) return;- let n = Ex.get(t);- n || (n = /* @__PURE__ */ new Set(), Ex.set(t, n), t.addEventListener("transitioncancel", kx, { once: !0 })), n.add(e.propertyName);+ if (!Ax(e) || !t) return;+ let n = Ox.get(t);+ n || (n = /* @__PURE__ */ new Set(), Ox.set(t, n), t.addEventListener("transitioncancel", jx, { once: !0 })), n.add(e.propertyName);}-function kx(e) {+function jx(e) {let t = G(e);- if (!Ox(e) || !t) return;- let n = Ex.get(t);- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", kx), Ex.delete(t)), Ex.size === 0)) for (let e of Dx) e(!0), Dx.delete(e);+ if (!Ax(e) || !t) return;+ let n = Ox.get(t);+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", jx), Ox.delete(t)), Ox.size === 0)) for (let e of kx) e(!0), kx.delete(e);}-function Ax() {- _b(document, "transitionrun", xre), _b(document, "transitionend", kx);+function Mx() {+ Db(document, "transitionrun", Gre), Db(document, "transitionend", jx);}-function Sre() {- for (let [e] of Ex) "isConnected" in e && !e.isConnected && Ex.delete(e);+function Kre() {+ for (let [e] of Ox) "isConnected" in e && !e.isConnected && Ox.delete(e);}-typeof document < "u" && (document.readyState === "loading" ? _b(document, "DOMContentLoaded", Ax) : Ax());-function jx(e) {+typeof document < "u" && (document.readyState === "loading" ? Db(document, "DOMContentLoaded", Mx) : Mx());+function Nx(e) {let t = window.requestAnimationFrame(() => {- if (Sre(), Ex.size === 0) return e(!1);- Dx.add(e);+ if (Kre(), Ox.size === 0) return e(!1);+ kx.add(e);});return () => {- window.cancelAnimationFrame(t), Dx.delete(e);+ window.cancelAnimationFrame(t), kx.delete(e);};}// node_modules/react-aria/dist/private/interactions/focusSafely.mjs-function Mx(e) {+function Px(e) {if (!e.isConnected) return;- let t = pb(e);- if (xx() === "virtual") {- let n = xb(t);- jx(() => {- let r = xb(t);- (r === n || r === t.body) && e.isConnected && fb(e);+ let t = Cb(e);+ if (Cx() === "virtual") {+ let n = jb(t);+ Nx(() => {+ let r = jb(t);+ (r === n || r === t.body) && e.isConnected && Sb(e);});- } else fb(e);+ } else Sb(e);}// node_modules/react-aria/dist/private/utils/chain.mjs-function Nx(...e) {+function Fx(...e) {return (...t) => {for (let n of e) typeof n == "function" && n(...t);};}// node_modules/react-aria/dist/private/utils/useValueEffect.mjs-function Cre(e) {+function qre(e) {let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(t), i = (0, P.useRef)(null), a = (0, P.useRef)(() => {if (!i.current) return;let e = i.current.next();e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);});- return Nb(() => {+ return zb(() => {r.current = t, i.current && a.current();}), [t, (0, P.useCallback)((e) => {i.current = e(r.current), a.current();}, [a])];}// node_modules/react-aria/dist/private/utils/useId.mjs-var wre = !!(typeof window < "u" && window.document && window.document.createElement), Px = /* @__PURE__ */ new Map(), Fx;-typeof FinalizationRegistry < "u" && (Fx = new FinalizationRegistry((e) => {- Px.delete(e);+var Jre = !!(typeof window < "u" && window.document && window.document.createElement), Ix = /* @__PURE__ */ new Map(), Lx;+typeof FinalizationRegistry < "u" && (Lx = new FinalizationRegistry((e) => {+ Ix.delete(e);}));-var Ix = /* @__PURE__ */ new WeakMap();-function Lx(e) {- let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = fre(t), a = (0, P.useRef)(null), o = Ix.get(a);- if (Fx && o !== i && (o != null && Fx.unregister(a), Fx.register(a, i, a), Ix.set(a, i)), wre) {- let e = Px.get(i);- e && !e.includes(r) ? e.push(r) : Px.set(i, [r]);- }- return Nb(() => {+var Rx = /* @__PURE__ */ new WeakMap();+function zx(e) {+ let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(null), i = Ire(t), a = (0, P.useRef)(null), o = Rx.get(a);+ if (Lx && o !== i && (o != null && Lx.unregister(a), Lx.register(a, i, a), Rx.set(a, i)), Jre) {+ let e = Ix.get(i);+ e && !e.includes(r) ? e.push(r) : Ix.set(i, [r]);+ }+ return zb(() => {let e = i;return () => {- Fx && (Fx.unregister(a), Ix.delete(a)), Px.delete(e);+ Lx && (Lx.unregister(a), Rx.delete(a)), Ix.delete(e);};}, [i]), (0, P.useEffect)(() => {let e = r.current;@@ -21134,57 +21314,57 @@ function Lx(e) {};}), i;}-function Tre(e, t) {+function Yre(e, t) {if (e === t) return e;- let n = Px.get(e);+ let n = Ix.get(e);if (n) return n.forEach((e) => e.current = t), t;- let r = Px.get(t);+ let r = Ix.get(t);return r ? (r.forEach((t) => t.current = e), e) : t;}-function Rx(e = []) {- let t = Lx(), [n, r] = Cre(t), i = (0, P.useCallback)(() => {+function Bx(e = []) {+ let t = zx(), [n, r] = qre(t), i = (0, P.useCallback)(() => {r(function* () {yield t, yield document.getElementById(t) ? t : void 0;});}, [t, r]);- return Nb(i, [+ return zb(i, [t,i,...e]), n;}// node_modules/react-aria/dist/private/utils/mergeRefs.mjs-function zx(...e) {+function Vx(...e) {return e.length === 1 && e[0] ? e[0] : (t) => {let n = !1, r = e.map((e) => {- let r = Bx(e, t);+ let r = Hx(e, t);return n ||= typeof r == "function", r;});if (n) return () => {r.forEach((t, n) => {- typeof t == "function" ? t() : Bx(e[n], null);+ typeof t == "function" ? t() : Hx(e[n], null);});};};}-function Bx(e, t) {+function Hx(e, t) {if (typeof e == "function") return e(t);e != null && (e.current = t);}// node_modules/clsx/dist/clsx.mjs-function Vx(e) {+function Ux(e) {var t, n, r = "";if (typeof e == "string" || typeof e == "number") r += e;else if (typeof e == "object") {if (Array.isArray(e)) {var i = e.length;- for (t = 0; t < i; t++) e[t] && (n = Vx(e[t])) && (r && (r += " "), r += n);+ for (t = 0; t < i; t++) e[t] && (n = Ux(e[t])) && (r && (r += " "), r += n);} else for (n in e) e[n] && (r && (r += " "), r += n);}return r;}-function Hx() {- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Vx(e)) && (r && (r += " "), r += t);+function Wx() {+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = Ux(e)) && (r && (r += " "), r += t);return r;}// node_modules/react-aria/dist/private/utils/mergeProps.mjs@@ -21194,17 +21374,17 @@ function K(...e) {let r = e[n];for (let e in r) {let n = t[e], i = r[e];- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = Nx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Hx(n, i) : e === "id" && n && i ? t.id = Tre(n, i) : e === "ref" && n && i ? t.ref = zx(n, i) : t[e] = i === void 0 ? n : i;+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = Fx(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = Wx(n, i) : e === "id" && n && i ? t.id = Yre(n, i) : e === "ref" && n && i ? t.ref = Vx(n, i) : t[e] = i === void 0 ? n : i;}}return t;}// node_modules/react-aria/dist/private/interactions/useFocus.mjs-function Ux(e) {+function Gx(e) {let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, P.useCallback)((e) => {if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;- }, [r, i]), o = Ib(a), s = (0, P.useCallback)((e) => {- let t = G(e), r = pb(t), a = r ? xb(r) : xb();+ }, [r, i]), o = Hb(a), s = (0, P.useCallback)((e) => {+ let t = G(e), r = Cb(t), a = r ? jb(r) : jb();t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));}, [i,@@ -21217,7 +21397,7 @@ function Ux(e) {} };}// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs-function Wx(e) {+function Kx(e) {if (e) return (t) => {let n = !0;e({@@ -21241,33 +21421,33 @@ function Wx(e) {};}// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs-var Ere = /* @__PURE__ */ new Set([+var Xre = /* @__PURE__ */ new Set(["shift","alt","control","meta","mod"-]), Dre = [+]), Zre = ["Alt","Control","Meta","Shift"];-function Ore(e) {+function Qre(e) {let t = /* @__PURE__ */ new Set();- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(Hb() ? "Meta" : "Control"), t;+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(qb() ? "Meta" : "Control"), t;}-function kre(e) {+function $re(e) {let t = /* @__PURE__ */ new Set();return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;}-function Gx(e) {- return Dre.filter((t) => e.has(t));+function qx(e) {+ return Zre.filter((t) => e.has(t));}-function Are(e) {+function eie(e) {let t = e.split("+").reduce((e, t) => {let n = t.toLowerCase();- return Ere.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;+ return Xre.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;}, {shift: !1,alt: !1,@@ -21279,10 +21459,10 @@ function Are(e) {if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);return t;}-function Kx(e) {+function Jx(e) {return e.toLowerCase();}-var jre = {+var tie = {space: " ",esc: "escape",del: "delete",@@ -21294,26 +21474,26 @@ var jre = {pageup: "pageup",pagedown: "pagedown"};-function Mre(e) {- let t = Kx(e);- return jre[t] ?? t;+function nie(e) {+ let t = Jx(e);+ return tie[t] ?? t;}-function Nre(e) {- let t = Gx(Ore(e)), n = Mre(e.key);+function rie(e) {+ let t = qx(Qre(e)), n = nie(e.key);return t.length > 0 ? `${t.join("+")}+${n}` : n;}-function Pre(e) {- let t = Gx(kre(e)), n = Kx(e.key);+function iie(e) {+ let t = qx($re(e)), n = Jx(e.key);return (t.length > 0 ? `${t.join("+")}+` : "") + n;}-function Fre(e) {+function aie(e) {let t = /* @__PURE__ */ new Map();for (let [n, r] of Object.entries(e)) {- let e = Are(n);- t.set(Nre(e), r);+ let e = eie(n);+ t.set(rie(e), r);}return (e) => {- let n = Pre(e), r = t.get(n), i = r?.(e);+ let n = iie(e), r = t.get(n), i = r?.(e);i === void 0 && r !== void 0 ? i = {shouldContinuePropagation: !1,shouldPreventDefault: !0@@ -21324,23 +21504,23 @@ function Fre(e) {};}// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs-function qx(e) {+function Yx(e) {let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;if (t) {- let o = Fre(t), s = Wx((e) => {- bb(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();- }), c = Wx((e) => {- bb(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();+ let o = aie(t), s = Kx((e) => {+ Ab(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();+ }), c = Kx((e) => {+ Ab(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();});- i = e.onKeyDown ? Nx(e.onKeyDown, s) : s, a = e.onKeyUp ? Nx(e.onKeyUp, c) : c;- } else i = Wx(e.onKeyDown), a = Wx(e.onKeyUp);+ i = e.onKeyDown ? Fx(e.onKeyDown, s) : s, a = e.onKeyUp ? Fx(e.onKeyUp, c) : c;+ } else i = Kx(e.onKeyDown), a = Kx(e.onKeyUp);return { keyboardProps: e.isDisabled ? {} : {onKeyDown: i,onKeyUp: a} };}// node_modules/react-aria/dist/private/utils/useObjectRef.mjs-function Jx(e) {+function Xx(e) {let t = (0, P.useRef)(null), n = (0, P.useRef)(void 0), r = (0, P.useCallback)((t) => {if (typeof e == "function") {let n = e, r = n(t);@@ -21362,25 +21542,25 @@ function Jx(e) {}), [r]);}// node_modules/react-aria/dist/private/utils/useSyncRef.mjs-function Yx(e, t) {- Nb(() => {+function Zx(e, t) {+ zb(() => {if (e && e.ref && t) return e.ref.current = t.current, () => {e.ref && (e.ref.current = null);};});}// node_modules/react-aria/dist/private/interactions/useFocusable.mjs-var Xx = /*#__PURE__*/ P.createContext(null);-function Ire(e) {- let t = (0, P.useContext)(Xx) || {};- Yx(t, e);+var Qx = /*#__PURE__*/ P.createContext(null);+function oie(e) {+ let t = (0, P.useContext)(Qx) || {};+ Zx(t, e);let { ref: n, ...r } = t;return r;}-function Zx(e, t) {- let { focusProps: n } = Ux(e), { keyboardProps: r } = qx(e), i = K(n, r), a = Ire(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);+function $x(e, t) {+ let { focusProps: n } = Gx(e), { keyboardProps: r } = Yx(e), i = K(n, r), a = oie(t), o = e.isDisabled ? {} : a, s = (0, P.useRef)(e.autoFocus);(0, P.useEffect)(() => {- s.current && t.current && Mx(t.current), s.current = !1;+ s.current && t.current && Px(t.current), s.current = !1;}, [t]);let c = e.excludeFromTabOrder ? -1 : 0;return e.isDisabled && (c = void 0), { focusableProps: K({@@ -21414,21 +21594,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.preturn this.content.insertBefore(e, t);}}));-var Qx = /*#__PURE__*/ (0, P.createContext)(!1);-function Lre(e) {- if ((0, P.useContext)(Qx)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);- let t = /*#__PURE__*/ P.createElement(Qx.Provider, { value: !0 }, e.children);+var eS = /*#__PURE__*/ (0, P.createContext)(!1);+function sie(e) {+ if ((0, P.useContext)(eS)) return /*#__PURE__*/ P.createElement(P.Fragment, null, e.children);+ let t = /*#__PURE__*/ P.createElement(eS.Provider, { value: !0 }, e.children);return /*#__PURE__*/ P.createElement("template", null, t);}-function $x(e) {- let t = (t, n) => (0, P.useContext)(Qx) ? null : e(t, n);+function tS(e) {+ let t = (t, n) => (0, P.useContext)(eS) ? null : e(t, n);return t.displayName = e.displayName || e.name, (0, P.forwardRef)(t);}-function eS() {- return (0, P.useContext)(Qx);+function nS() {+ return (0, P.useContext)(eS);}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js-var Rre = /* @__PURE__ */ o(((e) => {+var cie = /* @__PURE__ */ o(((e) => {var t = A();function n(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;@@ -21466,47 +21646,47 @@ var Rre = /* @__PURE__ */ o(((e) => {}var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;-})), tS = /* @__PURE__ */ o(((e, t) => {- t.exports = Rre();-})), zre = tS(), nS = /*#__PURE__*/ (0, P.createContext)(!1), rS = /*#__PURE__*/ (0, P.createContext)(null);-function iS(e) {- if ((0, P.useContext)(rS)) return e.content;- let { collection: t, document: n } = Ure(e.createCollection);- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(Lre, null, /*#__PURE__*/ P.createElement(rS.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(Bre, {+})), rS = /* @__PURE__ */ o(((e, t) => {+ t.exports = cie();+})), lie = rS(), iS = /*#__PURE__*/ (0, P.createContext)(!1), aS = /*#__PURE__*/ (0, P.createContext)(null);+function oS(e) {+ if ((0, P.useContext)(aS)) return e.content;+ let { collection: t, document: n } = pie(e.createCollection);+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(sie, null, /*#__PURE__*/ P.createElement(aS.Provider, { value: n }, e.content)), /*#__PURE__*/ P.createElement(uie, {render: e.children,collection: t}));}-function Bre({ collection: e, render: t }) {+function uie({ collection: e, render: t }) {return t(e);}-function Vre(e, t, n) {- let r = ax(), i = (0, P.useRef)(r);+function die(e, t, n) {+ let r = sx(), i = (0, P.useRef)(r);i.current = r;let a = (0, P.useCallback)(() => i.current ? n() : t(), [t, n]);- return (0, zre.useSyncExternalStore)(e, a);+ return (0, lie.useSyncExternalStore)(e, a);}-var Hre = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : Vre;-function Ure(e) {- let [t] = (0, P.useState)(() => new Zne(e?.() || new sb()));+var fie = typeof P.useSyncExternalStore == "function" ? P.useSyncExternalStore : die;+function pie(e) {+ let [t] = (0, P.useState)(() => new pre(e?.() || new _b()));return {- collection: Hre((0, P.useCallback)((e) => t.subscribe(e), [t]), (0, P.useCallback)(() => {+ collection: fie((0, P.useCallback)((e) => t.subscribe(e), [t]), (0, P.useCallback)(() => {let e = t.getCollection();return t.isSSR && t.resetAfterSSR(), e;}, [t]), (0, P.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),document: t};}-var aS = /*#__PURE__*/ (0, P.createContext)(null);-function Wre(e) {- return class extends rb {+var sS = /*#__PURE__*/ (0, P.createContext)(null);+function mie(e) {+ return class extends fb {static {this.type = e;}};}-function oS(e, t, n, r, i, a) {- typeof e == "string" && (e = Wre(e));+function cS(e, t, n, r, i, a) {+ typeof e == "string" && (e = mie(e));let o = (0, P.useCallback)((i) => {i?.setProps(t, n, e, r, a);}, [@@ -21515,82 +21695,82 @@ function oS(e, t, n, r, i, a) {r,a,e- ]), s = (0, P.useContext)(aS);+ ]), s = (0, P.useContext)(sS);if (s) {let o = s.ownerDocument.nodesByProps.get(t);- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ P.createElement(aS.Provider, { value: o }, i) : null;+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ P.createElement(sS.Provider, { value: o }, i) : null;}return /*#__PURE__*/ P.createElement(e.type, { ref: o }, i);}-function sS(e, t) {+function lS(e, t) {let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, P.forwardRef)((r, i) => {- let a = (0, P.useContext)(Xx);- if (!(0, P.useContext)(nS)) {+ let a = (0, P.useContext)(Qx);+ if (!(0, P.useContext)(iS)) {if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");return t(r, i);}- return oS(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement(Xx.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));+ return cS(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ P.createElement(Qx.Provider, { value: a }, /*#__PURE__*/ P.createElement(n, { node: e })));});return r.displayName = t.name, r;}-function cS(e, t, n = lS) {- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => oS(e, t, i, null, n(t), (e) => /*#__PURE__*/ P.createElement(r, { node: e })) ?? /*#__PURE__*/ P.createElement(P.Fragment, null));+function uS(e, t, n = dS) {+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, P.forwardRef)((t, i) => cS(e, t, i, null, n(t), (e) => /*#__PURE__*/ P.createElement(r, { node: e })) ?? /*#__PURE__*/ P.createElement(P.Fragment, null));return i.displayName = t.name, i;}-function lS(e) {- return db({+function dS(e) {+ return xb({...e,addIdAndValue: !0});}-var uS = /*#__PURE__*/ (0, P.createContext)(null);-function dS(e) {- let t = (0, P.useContext)(uS), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = lS({+var fS = /*#__PURE__*/ (0, P.createContext)(null);+function pS(e) {+ let t = (0, P.useContext)(fS), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = dS({...e,idScope: r,dependencies: n});- return (0, P.useContext)(rS) && (i = /*#__PURE__*/ P.createElement(Gre, null, i)), t = (0, P.useMemo)(() => ({+ return (0, P.useContext)(aS) && (i = /*#__PURE__*/ P.createElement(hie, null, i)), t = (0, P.useMemo)(() => ({dependencies: n,idScope: r- }), [r, ...n]), /*#__PURE__*/ P.createElement(uS.Provider, { value: t }, i);+ }), [r, ...n]), /*#__PURE__*/ P.createElement(fS.Provider, { value: t }, i);}-function Gre({ children: e }) {- let t = (0, P.useContext)(rS), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(rS.Provider, { value: null }, /*#__PURE__*/ P.createElement(nS.Provider, { value: !0 }, e)), [e]);- return ax() ? /*#__PURE__*/ P.createElement(aS.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);+function hie({ children: e }) {+ let t = (0, P.useContext)(aS), n = (0, P.useMemo)(() => /*#__PURE__*/ P.createElement(aS.Provider, { value: null }, /*#__PURE__*/ P.createElement(iS.Provider, { value: !0 }, e)), [e]);+ return sx() ? /*#__PURE__*/ P.createElement(sS.Provider, { value: t }, n) : /*#__PURE__*/ (0, Lt.createPortal)(n, t);}// node_modules/react-aria/dist/private/utils/constants.mjs-var Kre = "react-aria-clear-focus", qre = "react-aria-focus";+var gie = "react-aria-clear-focus", _ie = "react-aria-focus";// node_modules/react-aria/dist/private/focus/virtualFocus.mjs-function fS(e) {- let t = Yre(pb(e));- t !== e && (t && Jre(t, e), e && pS(e, t));+function mS(e) {+ let t = yie(Cb(e));+ t !== e && (t && vie(t, e), e && hS(e, t));}-function Jre(e, t) {+function vie(e, t) {e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {bubbles: !0,relatedTarget: t}));}-function pS(e, t) {+function hS(e, t) {e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {bubbles: !0,relatedTarget: t}));}-function Yre(e) {- let t = xb(e), n = t?.getAttribute("aria-activedescendant");+function yie(e) {+ let t = jb(e), n = t?.getAttribute("aria-activedescendant");return n && e.getElementById(n) || t;}// node_modules/react-aria/dist/private/utils/getMetaValue.mjs-function mS(e, t) {- let n = mb(t), r = pb(t);+function gS(e, t) {+ let n = wb(t), r = Cb(t);if (r == null || n == null) return;let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;}// node_modules/react-aria/dist/private/utils/keyboard.mjs-var hS = 100, gS = 600, _S = {+var _S = 100, vS = 600, yS = {isOpen: !1,screenWidth: 0,screenHeight: 0,@@ -21600,7 +21780,7 @@ var hS = 100, gS = 600, _S = {endTimeStamp: 0,resizeTimeStamp: 0,resizeTimeout: 0-}, Xre = /* @__PURE__ */ new Set([+}, bie = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -21611,7 +21791,7 @@ var hS = 100, gS = 600, _S = {"submit","reset"]);-function vS() {+function bS() {let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);return {width: e * n,@@ -21619,58 +21799,58 @@ function vS() {angle: window.screen.orientation?.angle ?? 0};}-function Zre(e) {- _S.resizeTimeStamp <= e.timeStamp + 50 && (_S.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(_S.resizeTimeout), _S.resizeTimeout = window.setTimeout(yS, 150));-}-function yS() {- let e = mS("viewport");- if (Yb() && e?.includes("overlays-content")) return;- let t = performance.now(), n = vS(), r = t - _S.startTimeStamp, i = _S.screenHeight - n.height, a = _S.screenAngle - n.angle;- Math.abs(a) % 180 && _S.screenWidth - n.height < hS && (_S.screenWidth = n.width, _S.screenHeight = n.height, _S.screenAngle = n.angle, i = 0), r > gS && (window.clearTimeout(_S.screenTimeout), _S.screenTimeout = window.setTimeout(() => {- let e = SS(document.hasFocus() ? xb() : null), t = vS();- Math.abs(_S.screenAngle - t.angle) % 180 || _S.isOpen && e || (_S.screenWidth = t.width, _S.screenHeight = t.height, _S.screenAngle = t.angle, _S.isOpen = !1);- }, gS)), r <= gS && i >= hS && (_S.endTimeStamp = t), _S.isOpen = i >= hS;+function xie(e) {+ yS.resizeTimeStamp <= e.timeStamp + 50 && (yS.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(yS.resizeTimeout), yS.resizeTimeout = window.setTimeout(xS, 150));}-function Qre() {- let e = vS(), t = _S.screenAngle - e.angle;- if (Math.abs(t) % 180 && !_S.isOpen) {- let e = _S.screenWidth;- _S.screenWidth = _S.screenHeight, _S.screenHeight = e;- }- _S.isOpen || (_S.screenAngle = e.angle);-}-function $re(e) {- let t = SS(G(e)), n = performance.now(), r = vS(), i = _S.screenHeight - r.height;- i < hS && t && (_S.screenWidth = r.width, _S.screenHeight = r.height, _S.screenAngle = r.angle, _S.startTimeStamp = n), t && window.clearTimeout(_S.screenTimeout), i >= hS && t && (_S.endTimeStamp = n);-}-function bS() {- let e = vS();- _b(window.visualViewport, "resize", qb() ? yS : Zre), _b(window.screen.orientation, "change", Qre), _b(window, "focus", $re, {+function xS() {+ let e = gS("viewport");+ if (Qb() && e?.includes("overlays-content")) return;+ let t = performance.now(), n = bS(), r = t - yS.startTimeStamp, i = yS.screenHeight - n.height, a = yS.screenAngle - n.angle;+ Math.abs(a) % 180 && yS.screenWidth - n.height < _S && (yS.screenWidth = n.width, yS.screenHeight = n.height, yS.screenAngle = n.angle, i = 0), r > vS && (window.clearTimeout(yS.screenTimeout), yS.screenTimeout = window.setTimeout(() => {+ let e = wS(document.hasFocus() ? jb() : null), t = bS();+ Math.abs(yS.screenAngle - t.angle) % 180 || yS.isOpen && e || (yS.screenWidth = t.width, yS.screenHeight = t.height, yS.screenAngle = t.angle, yS.isOpen = !1);+ }, vS)), r <= vS && i >= _S && (yS.endTimeStamp = t), yS.isOpen = i >= _S;+}+function Sie() {+ let e = bS(), t = yS.screenAngle - e.angle;+ if (Math.abs(t) % 180 && !yS.isOpen) {+ let e = yS.screenWidth;+ yS.screenWidth = yS.screenHeight, yS.screenHeight = e;+ }+ yS.isOpen || (yS.screenAngle = e.angle);+}+function Cie(e) {+ let t = wS(G(e)), n = performance.now(), r = bS(), i = yS.screenHeight - r.height;+ i < _S && t && (yS.screenWidth = r.width, yS.screenHeight = r.height, yS.screenAngle = r.angle, yS.startTimeStamp = n), t && window.clearTimeout(yS.screenTimeout), i >= _S && t && (yS.endTimeStamp = n);+}+function SS() {+ let e = bS();+ Db(window.visualViewport, "resize", Xb() ? xS : xie), Db(window.screen.orientation, "change", Sie), Db(window, "focus", Cie, {capture: !0,passive: !0- }), _S.screenWidth = e.width, _S.screenHeight = e.height, _S.screenAngle = e.angle;+ }), yS.screenWidth = e.width, yS.screenHeight = e.height, yS.screenAngle = e.angle;}-typeof document < "u" && (document.readyState === "loading" ? _b(document, "DOMContentLoaded", bS) : bS());-function xS() {- let e = mS("viewport");- return Yb() && e?.includes("overlays-content") ? !1 : _S.isOpen ? !0 : _S.startTimeStamp ? _S.endTimeStamp >= _S.startTimeStamp ? !0 : performance.now() - _S.startTimeStamp <= gS ? _S.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;+typeof document < "u" && (document.readyState === "loading" ? Db(document, "DOMContentLoaded", SS) : SS());+function CS() {+ let e = gS("viewport");+ return Qb() && e?.includes("overlays-content") ? !1 : yS.isOpen ? !0 : yS.startTimeStamp ? yS.endTimeStamp >= yS.startTimeStamp ? !0 : performance.now() - yS.startTimeStamp <= vS ? yS.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;}-function SS(e) {- if (!(e instanceof Element) || !Ab(e)) return !1;- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !Xre.has(e.type);+function wS(e) {+ if (!(e instanceof Element) || !Ib(e)) return !1;+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !bie.has(e.type);return t || n || r;}-function CS(e) {- return Hb() ? e.metaKey : e.ctrlKey;+function TS(e) {+ return qb() ? e.metaKey : e.ctrlKey;}-function wS() {- return _S.isOpen;+function ES() {+ return yS.isOpen;}// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs-var eie = P.useInsertionEffect ?? Nb;-function TS(e) {+var wie = P.useInsertionEffect ?? zb;+function DS(e) {let t = (0, P.useRef)(null);- return eie(() => {+ return wie(() => {t.current = e;}, [e]), (0, P.useCallback)((...e) => {let n = t.current;@@ -21678,10 +21858,10 @@ function TS(e) {}, []);}// node_modules/react-aria/dist/private/utils/useEvent.mjs-function ES(e, t, n, r) {- let i = TS(n), a = n == null;+function OS(e, t, n, r) {+ let i = DS(n), a = n == null;(0, P.useEffect)(() => {- if (!(a || e.current == null)) return _b(e.current, t, i, r);+ if (!(a || e.current == null)) return Db(e.current, t, i, r);}, [e,t,@@ -21690,16 +21870,16 @@ function ES(e, t, n, r) {]);}// node_modules/react-aria/dist/private/utils/useLabels.mjs-function DS(e, t) {+function kS(e, t) {let { id: n, "aria-label": r, "aria-labelledby": i } = e;- return n = Lx(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {+ return n = zx(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {id: n,"aria-label": r,"aria-labelledby": i};}// node_modules/react-aria/dist/private/i18n/utils.mjs-var tie = /* @__PURE__ */ new Set([+var Tie = /* @__PURE__ */ new Set(["Arab","Syrc","Samr",@@ -21710,7 +21890,7 @@ var tie = /* @__PURE__ */ new Set(["Adlm","Rohg","Hebr"-]), nie = /* @__PURE__ */ new Set([+]), Eie = /* @__PURE__ */ new Set(["ae","ar","arc",@@ -21731,19 +21911,19 @@ var tie = /* @__PURE__ */ new Set(["ur","yi"]);-function rie(e) {+function Die(e) {if (Intl.Locale) {let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;if (n) return n.direction === "rtl";- if (t.script) return tie.has(t.script);+ if (t.script) return Tie.has(t.script);}let t = e.split("-")[0];- return nie.has(t);+ return Eie.has(t);}// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs-var OS = Symbol.for("react-aria.i18n.locale");-function kS() {- let e = typeof window < "u" && window[OS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";+var AS = Symbol.for("react-aria.i18n.locale");+function jS() {+ let e = typeof window < "u" && window[AS] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";try {Intl.DateTimeFormat.supportedLocalesOf([e]);} catch {@@ -21751,31 +21931,31 @@ function kS() {}return {locale: e,- direction: rie(e) ? "rtl" : "ltr"+ direction: Die(e) ? "rtl" : "ltr"};}-var AS = kS(), jS = /* @__PURE__ */ new Set();-function MS() {- AS = kS();- for (let e of jS) e(AS);+var MS = jS(), NS = /* @__PURE__ */ new Set();+function PS() {+ MS = jS();+ for (let e of NS) e(MS);}-function iie() {- let e = ax(), [t, n] = (0, P.useState)(AS);- return (0, P.useEffect)(() => (jS.size === 0 && window.addEventListener("languagechange", MS), jS.add(n), () => {- jS.delete(n), jS.size === 0 && window.removeEventListener("languagechange", MS);+function Oie() {+ let e = sx(), [t, n] = (0, P.useState)(MS);+ return (0, P.useEffect)(() => (NS.size === 0 && window.addEventListener("languagechange", PS), NS.add(n), () => {+ NS.delete(n), NS.size === 0 && window.removeEventListener("languagechange", PS);}), []), e ? {- locale: typeof window < "u" && window[OS] || "en-US",+ locale: typeof window < "u" && window[AS] || "en-US",direction: "ltr"} : t;}// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs-var aie = /*#__PURE__*/ P.createContext(null);-function NS() {- let e = iie();- return (0, P.useContext)(aie) || e;+var kie = /*#__PURE__*/ P.createContext(null);+function FS() {+ let e = Oie();+ return (0, P.useContext)(kie) || e;}// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs-var oie = Symbol.for("react-aria.i18n.locale"), sie = Symbol.for("react-aria.i18n.strings"), PS = void 0, FS = class e {+var Aie = Symbol.for("react-aria.i18n.locale"), jie = Symbol.for("react-aria.i18n.strings"), IS = void 0, LS = class e {constructor(e, t = "en-US") {this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;}@@ -21786,38 +21966,38 @@ var oie = Symbol.for("react-aria.i18n.locale"), sie = Symbol.for("react-aria.i18}getStringsForLocale(e) {let t = this.strings[e];- return t || (t = cie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;+ return t || (t = Mie(e, this.strings, this.defaultLocale), this.strings[e] = t), t;}static getGlobalDictionaryForPackage(t) {if (typeof window > "u") return null;- let n = window[oie];- if (PS === void 0) {- let t = window[sie];+ let n = window[Aie];+ if (IS === void 0) {+ let t = window[jie];if (!t) return null;- PS = {};- for (let r in t) PS[r] = new e({ [n]: t[r] }, n);+ IS = {};+ for (let r in t) IS[r] = new e({ [n]: t[r] }, n);}- let r = PS?.[t];+ let r = IS?.[t];if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);return r;}};-function cie(e, t, n = "en-US") {+function Mie(e, t, n = "en-US") {if (t[e]) return t[e];- let r = lie(e), i = uie(e);+ let r = Nie(e), i = Pie(e);if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];if (t[r]) return t[r];for (let e in t) if (e.startsWith(r + "-")) return t[e];return t[n];}-function lie(e) {+function Nie(e) {return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];}-function uie(e) {+function Pie(e) {if (Intl.Locale) return new Intl.Locale(e).script;}// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs-var IS = /* @__PURE__ */ new Map(), LS = /* @__PURE__ */ new Map(), die = class {+var RS = /* @__PURE__ */ new Map(), zS = /* @__PURE__ */ new Map(), Fie = class {constructor(e, t) {this.locale = e, this.strings = t;}@@ -21828,36 +22008,36 @@ var IS = /* @__PURE__ */ new Map(), LS = /* @__PURE__ */ new Map(), die = classplural(e, t, n = "cardinal") {let r = t["=" + e];if (r) return typeof r == "function" ? r() : r;- let i = this.locale + ":" + n, a = IS.get(i);- return a || (a = new Intl.PluralRules(this.locale, { type: n }), IS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;+ let i = this.locale + ":" + n, a = RS.get(i);+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), RS.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;}number(e) {- let t = LS.get(this.locale);- return t || (t = new Intl.NumberFormat(this.locale), LS.set(this.locale, t)), t.format(e);+ let t = zS.get(this.locale);+ return t || (t = new Intl.NumberFormat(this.locale), zS.set(this.locale, t)), t.format(e);}select(e, t) {let n = e[t] || e.other;return typeof n == "function" ? n() : n;}-}, RS = /* @__PURE__ */ new WeakMap();-function fie(e) {- let t = RS.get(e);- return t || (t = new FS(e), RS.set(e, t)), t;+}, BS = /* @__PURE__ */ new WeakMap();+function Iie(e) {+ let t = BS.get(e);+ return t || (t = new LS(e), BS.set(e, t)), t;}-function pie(e, t) {- return t && FS.getGlobalDictionaryForPackage(t) || fie(e);+function Lie(e, t) {+ return t && LS.getGlobalDictionaryForPackage(t) || Iie(e);}-function zS(e, t) {- let { locale: n } = NS(), r = pie(e, t);- return (0, P.useMemo)(() => new die(n, r), [n, r]);+function VS(e, t) {+ let { locale: n } = FS(), r = Lie(e, t);+ return (0, P.useMemo)(() => new Fie(n, r), [n, r]);}// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs-var mie = /* @__PURE__ */ new Set(["id"]), hie = /* @__PURE__ */ new Set([+var Rie = /* @__PURE__ */ new Set(["id"]), zie = /* @__PURE__ */ new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"-]), gie = /* @__PURE__ */ new Set([+]), Bie = /* @__PURE__ */ new Set(["href","hrefLang","target",@@ -21865,60 +22045,60 @@ var mie = /* @__PURE__ */ new Set(["id"]), hie = /* @__PURE__ */ new Set(["download","ping","referrerPolicy"-]), _ie = /* @__PURE__ */ new Set([+]), Vie = /* @__PURE__ */ new Set(["dir","lang","hidden","inert","translate","suppressHydrationWarning"-]), BS = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), vie = /^(data-.*)$/;-function VS(e, t = {}) {+]), HS = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), Hie = /^(data-.*)$/;+function US(e, t = {}) {let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (mie.has(t) || n && hie.has(t) || r && gie.has(t) || i && _ie.has(t) || a && (BS.has(t) || t.endsWith("Capture") && BS.has(t.slice(0, -7))) || o?.has(t) || vie.test(t)) && (s[t] = e[t]);+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Rie.has(t) || n && zie.has(t) || r && Bie.has(t) || i && Vie.has(t) || a && (HS.has(t) || t.endsWith("Capture") && HS.has(t.slice(0, -7))) || o?.has(t) || Hie.test(t)) && (s[t] = e[t]);return s;}// node_modules/react-aria/dist/private/interactions/textSelection.mjs-var HS = "default", US = "", WS = /* @__PURE__ */ new WeakMap();-function GS(e) {- if (Gb() && qb()) {- if (HS === "default") {- let t = pb(e);- US = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";- }- HS = "disabled";+var WS = "default", GS = "", KS = /* @__PURE__ */ new WeakMap();+function qS(e) {+ if (Yb() && Xb()) {+ if (WS === "default") {+ let t = Cb(e);+ GS = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";+ }+ WS = "disabled";} else if (e instanceof HTMLElement || e instanceof SVGElement) {let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- WS.set(e, e.style[t]), e.style[t] = "none";+ KS.set(e, e.style[t]), e.style[t] = "none";}}-function KS(e) {- if (Gb() && qb()) {- if (HS !== "disabled") return;- HS = "restoring", setTimeout(() => {- jx(() => {- if (HS === "restoring") {- let t = pb(e);- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = US || ""), US = "", HS = "default";+function JS(e) {+ if (Yb() && Xb()) {+ if (WS !== "disabled") return;+ WS = "restoring", setTimeout(() => {+ Nx(() => {+ if (WS === "restoring") {+ let t = Cb(e);+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = GS || ""), GS = "", WS = "default";}});}, 300);- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && WS.has(e)) {- let t = WS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), WS.delete(e);+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && KS.has(e)) {+ let t = KS.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), KS.delete(e);}}// node_modules/react-aria/dist/private/utils/getNonce.mjs-var qS = /* @__PURE__ */ new WeakMap();-function JS(e) {- let t = pb(e), n = qS.get(t);- return n ??= mS("csp-nonce", t), n !== void 0 && qS.set(t, n), n;+var YS = /* @__PURE__ */ new WeakMap();+function XS(e) {+ let t = Cb(e), n = YS.get(t);+ return n ??= gS("csp-nonce", t), n !== void 0 && YS.set(t, n), n;}// node_modules/react-aria/dist/private/interactions/context.mjs-var YS = P.createContext({ register: () => {} });-YS.displayName = "PressResponderContext";+var ZS = P.createContext({ register: () => {} });+ZS.displayName = "PressResponderContext";// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs-function XS() {+function QS() {let e = (0, P.useRef)(/* @__PURE__ */ new Map()), t = (0, P.useCallback)((t, n, r, i) => {let a = i?.once ? (...t) => {e.current.delete(r), r(...t);@@ -21944,15 +22124,15 @@ function XS() {};}// node_modules/react-aria/dist/private/interactions/usePress.mjs-function yie(e) {- let t = (0, P.useContext)(YS);+function $S(e) {+ let t = (0, P.useContext)(ZS);if (t) {let { register: n, ref: r, ...i } = t;e = K(i, e), n();}- return Yx(t, e.ref), e;+ return Zx(t, e.ref), e;}-var ZS = class {+var eC = class {#e;constructor(e, t, n, r) {this.#e = !0;@@ -21965,9 +22145,9 @@ var ZS = class {get shouldStopPropagation() {return this.#e;}-}, QS = Symbol("linkClicked"), $S = "react-aria-pressable-style", eC = "data-react-aria-pressable";-function tC(e) {- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = yie(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({+}, tC = Symbol("linkClicked"), nC = "react-aria-pressable-style", rC = "data-react-aria-pressable";+function iC(e) {+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = $S(e), [m, h] = (0, P.useState)(!1), g = (0, P.useRef)({isPressed: !1,ignoreEmulatedMouseEvents: !1,didFirePressStart: !1,@@ -21977,12 +22157,12 @@ function tC(e) {isOverTarget: !1,pointerType: null,disposables: []- }), { addGlobalListener: _, removeAllGlobalListeners: v } = XS(), y = (0, P.useCallback)((e, t) => {+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = QS(), y = (0, P.useCallback)((e, t) => {let i = g.current;if (s || i.didFirePressStart) return !1;let a = !0;if (i.isTriggeringEvent = !0, r) {- let n = new ZS("pressstart", t, e);+ let n = new eC("pressstart", t, e);r(n), a = n.shouldStopPropagation;}return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;@@ -21996,11 +22176,11 @@ function tC(e) {o.didFirePressStart = !1, o.isTriggeringEvent = !0;let c = !0;if (i) {- let t = new ZS("pressend", r, e);+ let t = new eC("pressend", r, e);i(t), c = t.shouldStopPropagation;}if (n && n(!1), h(!1), t && a && !s) {- let n = new ZS("press", r, e);+ let n = new eC("press", r, e);t(n), c &&= n.shouldStopPropagation;}return o.isTriggeringEvent = !1, c;@@ -22009,19 +22189,19 @@ function tC(e) {i,n,t- ]), x = TS(b), S = TS((0, P.useCallback)((e, t) => {+ ]), x = DS(b), S = DS((0, P.useCallback)((e, t) => {let n = g.current;if (s) return !1;if (a) {n.isTriggeringEvent = !0;- let r = new ZS("pressup", t, e);+ let r = new eC("pressup", t, e);return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;}return !0;}, [s, a])), C = (0, P.useCallback)((e) => {let t = g.current;if (t.isPressed && t.target) {- t.didFirePressStart && t.pointerType != null && b(iC(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || KS(t.target);+ t.didFirePressStart && t.pointerType != null && b(sC(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || JS(t.target);for (let e of t.disposables) e();t.disposables = [];}@@ -22029,7 +22209,7 @@ function tC(e) {d,v,b- ]), w = TS(C);+ ]), w = DS(C);(0, P.useEffect)(() => {s && g.current.isPressed && w({currentTarget: g.current.target,@@ -22046,39 +22226,39 @@ function tC(e) {}, [s, o]), D = (0, P.useCallback)((e, t) => {if (!s && o) {let n = new MouseEvent("click", e);- Fb(n, t), o(Pb(n));+ Vb(n, t), o(Bb(n));}}, [s, o]), O = (0, P.useMemo)(() => {let e = g.current, t = {onKeyDown(t) {- if (rC(t.nativeEvent, t.currentTarget) && bb(t.currentTarget, G(t))) {- aC(G(t), t.key) && t.preventDefault();+ if (oC(t.nativeEvent, t.currentTarget) && Ab(t.currentTarget, G(t))) {+ lC(G(t), t.key) && t.preventDefault();let r = !0;!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));let i = t.currentTarget;- _(pb(t.currentTarget), "keyup", Nx((t) => {- rC(t, i) && !t.repeat && bb(i, G(t)) && e.target && S(iC(e.target, t), "keyboard");- }, n), !0), r && t.stopPropagation(), t.metaKey && Hb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);+ _(Cb(t.currentTarget), "keyup", Fx((t) => {+ oC(t, i) && !t.repeat && Ab(i, G(t)) && e.target && S(sC(e.target, t), "keyboard");+ }, n), !0), r && t.stopPropagation(), t.metaKey && qb() && e.metaKeyEvents?.set(t.key, t.nativeEvent);} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());},onClick(t) {- if ((!t || bb(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !$b.isOpening) {+ if ((!t || Ab(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !tx.isOpening) {let n = !0;- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || Xb(t.nativeEvent))) {+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || $b(t.nativeEvent))) {let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");E(t), n = e && r && i;} else if (e.isPressed && e.pointerType !== "keyboard") {- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(iC(t.currentTarget, t), r), a = x(iC(t.currentTarget, t), r, !0);+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(sC(t.currentTarget, t), r), a = x(sC(t.currentTarget, t), r, !0);n = i && a, e.isOverTarget = !1, E(t), w(t);}e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();}}}, n = (t) => {- if (e.isPressed && e.target && rC(t, e.target)) {- aC(G(t), t.key) && t.preventDefault();- let n = G(t), r = bb(e.target, n);- x(iC(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && nC(e.target) && bb(e.target, n) && !t[QS] && (t[QS] = !0, $b(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);+ if (e.isPressed && e.target && oC(t, e.target)) {+ lC(G(t), t.key) && t.preventDefault();+ let n = G(t), r = Ab(e.target, n);+ x(sC(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && aC(e.target) && Ab(e.target, n) && !t[tC] && (t[tC] = !0, tx(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);} else if (t.key === "Meta" && e.metaKeyEvents?.size) {let t = e.metaKeyEvents;e.metaKeyEvents = void 0;@@ -22087,39 +22267,39 @@ function tC(e) {};if (typeof PointerEvent < "u") {t.onPointerDown = (t) => {- if (t.button !== 0 || !bb(t.currentTarget, G(t))) return;- if (Zb(t.nativeEvent)) {+ if (t.button !== 0 || !Ab(t.currentTarget, G(t))) return;+ if (Ere(t.nativeEvent)) {e.pointerType = "virtual";return;}e.pointerType = t.pointerType;let i = !0;if (!e.isPressed) {- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || GS(e.target), i = y(t, e.pointerType);+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || qS(e.target), i = y(t, e.pointerType);let a = G(t);- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(pb(t.currentTarget), "pointerup", n, !1), _(pb(t.currentTarget), "pointercancel", r, !1);+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(Cb(t.currentTarget), "pointerup", n, !1), _(Cb(t.currentTarget), "pointercancel", r, !1);}i && t.stopPropagation();}, t.onMouseDown = (t) => {- if (bb(t.currentTarget, G(t)) && t.button === 0) {+ if (Ab(t.currentTarget, G(t)) && t.button === 0) {if (l) {- let n = Rb(t.target);+ let n = Cre(t.target);n && e.disposables.push(n);}t.stopPropagation();}}, t.onPointerUp = (t) => {- bb(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);+ Ab(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);}, t.onPointerEnter = (t) => {- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(iC(e.target, t), e.pointerType));+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(sC(e.target, t), e.pointerType));}, t.onPointerLeave = (t) => {- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(iC(e.target, t), e.pointerType, !1), T(t));+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(sC(e.target, t), e.pointerType, !1), T(t));};let n = (t) => {if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {- if (bb(e.target, G(t)) && e.pointerType != null) {+ if (Ab(e.target, G(t)) && e.pointerType != null) {let n = !1, r = setTimeout(() => {- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (fb(e.target), e.target.click()));+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (Sb(e.target), e.target.click()));}, 80);_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));} else w(t);@@ -22129,7 +22309,7 @@ function tC(e) {w(e);};t.onDragStart = (e) => {- bb(e.currentTarget, G(e)) && w(e);+ Ab(e.currentTarget, G(e)) && w(e);};}return t;@@ -22146,14 +22326,14 @@ function tC(e) {]);return (0, P.useEffect)(() => {if (!f) return;- let e = pb(f.current);- if (!e || !e.head || e.getElementById($S)) return;+ let e = Cb(f.current);+ if (!e || !e.head || e.getElementById(nC)) return;let t = e.createElement("style");- t.id = $S;- let n = JS(e);+ t.id = nC;+ let n = XS(e);n && (t.nonce = n), t.textContent = `@layer {- [${eC}] {+ [${rC}] {touch-action: pan-x pan-y pinch-zoom;}}@@ -22161,23 +22341,23 @@ function tC(e) {}, [f]), (0, P.useEffect)(() => {let e = g.current;return () => {- d || KS(e.target ?? void 0);+ d || JS(e.target ?? void 0);for (let t of e.disposables) t();e.disposables = [];};}, [d]), {isPressed: c || m,- pressProps: K(p, O, { [eC]: !0 })+ pressProps: K(p, O, { [rC]: !0 })};}-function nC(e) {+function aC(e) {return e.tagName === "A" && e.hasAttribute("href");}-function rC(e, t) {+function oC(e, t) {let { key: n, code: r } = e, i = t, a = i.getAttribute("role");- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof mb(i).HTMLInputElement && !oC(i, n) || i instanceof mb(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && nC(i)) && n !== "Enter");+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof wb(i).HTMLInputElement && !dC(i, n) || i instanceof wb(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && aC(i)) && n !== "Enter");}-function iC(e, t) {+function sC(e, t) {let n = t.clientX, r = t.clientY;return {currentTarget: e,@@ -22190,13 +22370,13 @@ function iC(e, t) {key: t.key};}-function bie(e) {- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !nC(e);+function cC(e) {+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !aC(e);}-function aC(e, t) {- return Hb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !oC(e, t) : bie(e);+function lC(e, t) {+ return qb() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !dC(e, t) : cC(e);}-var xie = /* @__PURE__ */ new Set([+var uC = /* @__PURE__ */ new Set(["checkbox","radio","range",@@ -22207,11 +22387,11 @@ var xie = /* @__PURE__ */ new Set(["submit","reset"]);-function oC(e, t) {- return e.type === "checkbox" || e.type === "radio" ? t === " " : xie.has(e.type);+function dC(e, t) {+ return e.type === "checkbox" || e.type === "radio" ? t === " " : uC.has(e.type);}// node_modules/react-aria/dist/private/button/useButton.mjs-function Sie(e, t) {+function fC(e, t) {let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;g = n === "button" ? {type: h,@@ -22233,7 +22413,7 @@ function Sie(e, t) {"aria-disabled": !r || n === "input" ? void 0 : r,rel: n === "a" ? m : void 0};- let { pressProps: _, isPressed: v } = tC({+ let { pressProps: _, isPressed: v } = iC({onPressStart: a,onPressEnd: o,onPressChange: c,@@ -22243,9 +22423,9 @@ function Sie(e, t) {isDisabled: r,preventFocusOnPress: l,ref: t- }), { focusableProps: y } = Zx(e, t);+ }), { focusableProps: y } = $x(e, t);u && (y.tabIndex = r ? -1 : y.tabIndex);- let b = K(y, _, VS(e, { labelable: !0 }));+ let b = K(y, _, US(e, { labelable: !0 }));return {isPressed: v,buttonProps: K(g, b, {@@ -22259,7 +22439,7 @@ function Sie(e, t) {};}// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs-var Cie = class {+var pC = class {constructor(e, t, n, r) {this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {if (e.nodeType === Node.ELEMENT_NODE) {@@ -22284,7 +22464,7 @@ var Cie = class {return this._currentNode;}set currentNode(e) {- if (!bb(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");+ if (!Ab(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");let t = [], n = e, r = e;for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });@@ -22298,7 +22478,7 @@ var Cie = class {}firstChild() {let e = this.currentNode, t = this.nextNode();- return bb(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);+ return Ab(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);}lastChild() {let e = this._walkerStack[0].lastChild();@@ -22362,44 +22542,44 @@ var Cie = class {return null;}};-function sC(e, t, n, r) {- return yb() ? new Cie(e, t, n, r) : e.createTreeWalker(t, n, r);+function mC(e, t, n, r) {+ return kb() ? new pC(e, t, n, r) : e.createTreeWalker(t, n, r);}// node_modules/react-aria/dist/private/focus/FocusScope.mjs-var cC = /*#__PURE__*/ P.createContext(null), lC = "react-aria-focus-scope-restore", uC = null;-function dC(e) {- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)([]), { parentNode: c } = (0, P.useContext)(cC) || {}, l = (0, P.useMemo)(() => new EC({ scopeRef: s }), [s]);- Nb(() => {- let e = c || DC.root;- if (DC.getTreeNode(e.scopeRef) && uC && !_C(uC, e.scopeRef)) {- let t = DC.getTreeNode(uC);+var hC = /*#__PURE__*/ P.createContext(null), gC = "react-aria-focus-scope-restore", _C = null;+function vC(e) {+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)([]), { parentNode: c } = (0, P.useContext)(hC) || {}, l = (0, P.useMemo)(() => new IC({ scopeRef: s }), [s]);+ zb(() => {+ let e = c || LC.root;+ if (LC.getTreeNode(e.scopeRef) && _C && !kC(_C, e.scopeRef)) {+ let t = LC.getTreeNode(_C);t && (e = t);}- e.addChild(l), DC.addNode(l);- }, [l, c]), Nb(() => {- let e = DC.getTreeNode(s);+ e.addChild(l), LC.addNode(l);+ }, [l, c]), zb(() => {+ let e = LC.getTreeNode(s);e && (e.contain = !!n);- }, [n]), Nb(() => {+ }, [n]), zb(() => {let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();- for (; e && e !== o.current;) t.push(e), e.addEventListener(lC, n), e = e.nextSibling;+ for (; e && e !== o.current;) t.push(e), e.addEventListener(gC, n), e = e.nextSibling;return s.current = t, () => {- for (let e of t) e.removeEventListener(lC, n);+ for (let e of t) e.removeEventListener(gC, n);};- }, [t]), Aie(s, r, n), Die(s, n), SC(s, r, n), kie(s, i), (0, P.useEffect)(() => {- let e = xb(pb(s.current ? s.current[0] : void 0)), t = null;- if (hC(e, s.current)) {- for (let n of DC.traverse()) n.scopeRef && hC(e, n.scopeRef.current) && (t = n);- t === DC.getTreeNode(s) && (uC = t.scopeRef);- }- }, [s]), Nb(() => () => {- let e = DC.getTreeNode(s)?.parent?.scopeRef ?? null;- s !== uC && !_C(s, uC) || e && !DC.getTreeNode(e) || (uC = e), DC.removeTreeNode(s);+ }, [t]), Wie(s, r, n), wC(s, n), Gie(s, r, n), Uie(s, i), (0, P.useEffect)(() => {+ let e = jb(Cb(s.current ? s.current[0] : void 0)), t = null;+ if (EC(e, s.current)) {+ for (let n of LC.traverse()) n.scopeRef && EC(e, n.scopeRef.current) && (t = n);+ t === LC.getTreeNode(s) && (_C = t.scopeRef);+ }+ }, [s]), zb(() => () => {+ let e = LC.getTreeNode(s)?.parent?.scopeRef ?? null;+ s !== _C && !kC(s, _C) || e && !LC.getTreeNode(e) || (_C = e), LC.removeTreeNode(s);}, [s]);- let u = (0, P.useMemo)(() => wie(s), []), d = (0, P.useMemo)(() => ({+ let u = (0, P.useMemo)(() => yC(s), []), d = (0, P.useMemo)(() => ({focusManager: u,parentNode: l}), [l, u]);- return /*#__PURE__*/ P.createElement(cC.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {+ return /*#__PURE__*/ P.createElement(hC.Provider, { value: d }, /*#__PURE__*/ P.createElement("span", {"data-focus-scope-start": !0,hidden: !0,ref: a@@ -22409,154 +22589,154 @@ function dC(e) {ref: o}));}-function wie(e) {+function yC(e) {return {focusNext(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || xb(pb(n[0] ?? void 0)), c = n[0].previousElementSibling, l = wC(fC(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || jb(Cb(n[0] ?? void 0)), c = n[0].previousElementSibling, l = FC(bC(n), {tabbable: i,accept: o}, n);- l.currentNode = hC(s, n) ? s : c;+ l.currentNode = EC(s, n) ? s : c;let u = l.nextNode();- return !u && a && (l.currentNode = c, u = l.nextNode()), u && vC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && AC(u, !0), u;},focusPrevious(t = {}) {- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || xb(pb(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = wC(fC(n), {+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || jb(Cb(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = FC(bC(n), {tabbable: i,accept: o}, n);- l.currentNode = hC(s, n) ? s : c;+ l.currentNode = EC(s, n) ? s : c;let u = l.previousNode();- return !u && a && (l.currentNode = c, u = l.previousNode()), u && vC(u, !0), u;+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && AC(u, !0), u;},focusFirst(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = wC(fC(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = FC(bC(n), {tabbable: r,accept: i}, n);a.currentNode = n[0].previousElementSibling;let o = a.nextNode();- return o && vC(o, !0), o;+ return o && AC(o, !0), o;},focusLast(t = {}) {- let n = e.current, { tabbable: r, accept: i } = t, a = wC(fC(n), {+ let n = e.current, { tabbable: r, accept: i } = t, a = FC(bC(n), {tabbable: r,accept: i}, n);a.currentNode = n[n.length - 1].nextElementSibling;let o = a.previousNode();- return o && vC(o, !0), o;+ return o && AC(o, !0), o;}};}-function fC(e) {+function bC(e) {return e[0].parentElement;}-function pC(e) {- let t = DC.getTreeNode(uC);+function xC(e) {+ let t = LC.getTreeNode(_C);for (; t && t.scopeRef !== e;) {if (t.contain) return !1;t = t.parent;}return !0;}-function Tie(e) {- if (!e.form) return Array.from(pb(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);- let t = e.form.elements.namedItem(e.name), n = mb(e);+function SC(e) {+ if (!e.form) return Array.from(Cb(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);+ let t = e.form.elements.namedItem(e.name), n = wb(e);return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];}-function Eie(e) {+function CC(e) {if (e.checked) return !0;- let t = Tie(e);+ let t = SC(e);return t.length > 0 && !t.some((e) => e.checked);}-function Die(e, t) {+function wC(e, t) {let n = (0, P.useRef)(void 0), r = (0, P.useRef)(void 0);- Nb(() => {+ zb(() => {let i = e.current;if (!t) {r.current &&= (cancelAnimationFrame(r.current), void 0);return;}- let a = pb(i ? i[0] : void 0), o = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !pC(e) || t.isComposing) return;- let n = xb(a), r = e.current;- if (!r || !hC(n, r)) return;- let i = wC(fC(r), { tabbable: !0 }, r);+ let a = Cb(i ? i[0] : void 0), o = (t) => {+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !xC(e) || t.isComposing) return;+ let n = jb(a), r = e.current;+ if (!r || !EC(n, r)) return;+ let i = FC(bC(r), { tabbable: !0 }, r);if (!n) return;i.currentNode = n;let o = t.shiftKey ? i.previousNode() : i.nextNode();- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (vC(o, !0), o instanceof mb(o).HTMLInputElement && o.select());+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (AC(o, !0), o instanceof wb(o).HTMLInputElement && o.select());}, s = (t) => {- (!uC || _C(uC, e)) && hC(G(t), e.current) ? (uC = e, n.current = G(t)) : pC(e) && !gC(G(t), e) ? n.current ? vC(n.current) : uC && uC.current && bC(uC.current) : pC(e) && (n.current = G(t));+ (!_C || kC(_C, e)) && EC(G(t), e.current) ? (_C = e, n.current = G(t)) : xC(e) && !DC(G(t), e) ? n.current ? AC(n.current) : _C && _C.current && MC(_C.current) : xC(e) && (n.current = G(t));}, c = (t) => {r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {- let r = xx(), i = (r === "virtual" || r === null) && Yb() && Jb(), o = xb(a);- if (!i && o && pC(e) && !gC(o, e)) {- uC = e;+ let r = Cx(), i = (r === "virtual" || r === null) && Qb() && Zb(), o = jb(a);+ if (!i && o && xC(e) && !DC(o, e)) {+ _C = e;let r = G(t);- r && r.isConnected ? (n.current = r, vC(n.current)) : uC.current && bC(uC.current);+ r && r.isConnected ? (n.current = r, AC(n.current)) : _C.current && MC(_C.current);}});};return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));};- }, [e, t]), Nb(() => () => {+ }, [e, t]), zb(() => () => {r.current && cancelAnimationFrame(r.current);}, [r]);}-function mC(e) {- return gC(e);+function TC(e) {+ return DC(e);}-function hC(e, t) {- return !e || !t ? !1 : t.some((t) => bb(t, e));+function EC(e, t) {+ return !e || !t ? !1 : t.some((t) => Ab(t, e));}-function gC(e, t = null) {+function DC(e, t = null) {if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;- for (let { scopeRef: n } of DC.traverse(DC.getTreeNode(t))) if (n && hC(e, n.current)) return !0;+ for (let { scopeRef: n } of LC.traverse(LC.getTreeNode(t))) if (n && EC(e, n.current)) return !0;return !1;}-function Oie(e) {- return gC(e, uC);+function OC(e) {+ return DC(e, _C);}-function _C(e, t) {- let n = DC.getTreeNode(t)?.parent;+function kC(e, t) {+ let n = LC.getTreeNode(t)?.parent;for (; n;) {if (n.scopeRef === e) return !0;n = n.parent;}return !1;}-function vC(e, t = !1) {+function AC(e, t = !1) {if (e != null && !t) try {- Mx(e);+ Px(e);} catch {}else if (e != null) try {e.focus();} catch {}}-function yC(e, t = !0) {- let n = e[0].previousElementSibling, r = fC(e), i = wC(r, { tabbable: t }, e);+function jC(e, t = !0) {+ let n = e[0].previousElementSibling, r = bC(e), i = FC(r, { tabbable: t }, e);i.currentNode = n;let a = i.nextNode();- return t && !a && (r = fC(e), i = wC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;+ return t && !a && (r = bC(e), i = FC(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;}-function bC(e, t = !0) {- vC(yC(e, t));+function MC(e, t = !0) {+ AC(jC(e, t));}-function kie(e, t) {+function Uie(e, t) {let n = P.useRef(t);(0, P.useEffect)(() => {- n.current && (uC = e, !hC(xb(pb(e.current ? e.current[0] : void 0)), uC.current) && e.current && bC(e.current)), n.current = !1;+ n.current && (_C = e, !EC(jb(Cb(e.current ? e.current[0] : void 0)), _C.current) && e.current && MC(e.current)), n.current = !1;}, [e]);}-function Aie(e, t, n) {- Nb(() => {+function Wie(e, t, n) {+ zb(() => {if (t || n) return;- let r = e.current, i = pb(r ? r[0] : void 0), a = (t) => {+ let r = e.current, i = Cb(r ? r[0] : void 0), a = (t) => {let n = G(t);- hC(n, e.current) ? uC = e : mC(n) || (uC = null);+ EC(n, e.current) ? _C = e : TC(n) || (_C = null);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));@@ -22567,43 +22747,43 @@ function Aie(e, t, n) {n]);}-function xC(e) {- let t = DC.getTreeNode(uC);+function NC(e) {+ let t = LC.getTreeNode(_C);for (; t && t.scopeRef !== e;) {if (t.nodeToRestore) return !1;t = t.parent;}return t?.scopeRef === e;}-function SC(e, t, n) {- let r = (0, P.useRef)(typeof document < "u" ? xb(pb(e.current ? e.current[0] : void 0)) : null);- Nb(() => {- let r = e.current, i = pb(r ? r[0] : void 0);+function Gie(e, t, n) {+ let r = (0, P.useRef)(typeof document < "u" ? jb(Cb(e.current ? e.current[0] : void 0)) : null);+ zb(() => {+ let r = e.current, i = Cb(r ? r[0] : void 0);if (!t || n) return;let a = () => {- (!uC || _C(uC, e)) && hC(xb(i), e.current) && (uC = e);+ (!_C || kC(_C, e)) && EC(jb(i), e.current) && (_C = e);};return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));};- }, [e, n]), Nb(() => {- let r = pb(e.current ? e.current[0] : void 0);+ }, [e, n]), zb(() => {+ let r = Cb(e.current ? e.current[0] : void 0);if (!t) return;let i = (t) => {- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !pC(e) || t.isComposing) return;+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !xC(e) || t.isComposing) return;let n = r.activeElement;- if (!gC(n, e) || !xC(e)) return;- let i = DC.getTreeNode(e);+ if (!DC(n, e) || !NC(e)) return;+ let i = LC.getTreeNode(e);if (!i) return;- let a = i.nodeToRestore, o = wC(r.body, { tabbable: !0 });+ let a = i.nodeToRestore, o = FC(r.body, { tabbable: !0 });o.currentNode = n;let s = t.shiftKey ? o.previousNode() : o.nextNode();- if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !gC(s, e)) && a) {+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !DC(s, e)) && a) {o.currentNode = a;dos = t.shiftKey ? o.previousNode() : o.nextNode();- while (gC(s, e));- t.preventDefault(), t.stopPropagation(), s ? vC(s, !0) : mC(a) ? vC(a, !0) : n.blur();+ while (DC(s, e));+ t.preventDefault(), t.stopPropagation(), s ? AC(s, !0) : TC(a) ? AC(a, !0) : n.blur();}};return n || r.addEventListener("keydown", i, !0), () => {@@ -22613,31 +22793,31 @@ function SC(e, t, n) {e,t,n- ]), Nb(() => {- let n = pb(e.current ? e.current[0] : void 0);+ ]), zb(() => {+ let n = Cb(e.current ? e.current[0] : void 0);if (!t) return;- let i = DC.getTreeNode(e);+ let i = LC.getTreeNode(e);if (i) return i.nodeToRestore = r.current ?? void 0, () => {- let r = DC.getTreeNode(e);+ let r = LC.getTreeNode(e);if (!r) return;- let i = r.nodeToRestore, a = xb(n);- if (t && i && (a && gC(a, e) || a === n.body && xC(e))) {- let t = DC.clone();+ let i = r.nodeToRestore, a = jb(n);+ if (t && i && (a && DC(a, e) || a === n.body && NC(e))) {+ let t = LC.clone();requestAnimationFrame(() => {if (n.activeElement === n.body) {let n = t.getTreeNode(e);for (; n;) {if (n.nodeToRestore && n.nodeToRestore.isConnected) {- CC(n.nodeToRestore);+ PC(n.nodeToRestore);return;}n = n.parent;}for (n = t.getTreeNode(e); n;) {- if (n.scopeRef && n.scopeRef.current && DC.getTreeNode(n.scopeRef)) {- let e = yC(n.scopeRef.current, !0);+ if (n.scopeRef && n.scopeRef.current && LC.getTreeNode(n.scopeRef)) {+ let e = jC(n.scopeRef.current, !0);if (e) {- CC(e);+ PC(e);return;}}@@ -22649,21 +22829,21 @@ function SC(e, t, n) {};}, [e, t]);}-function CC(e) {- e.dispatchEvent(new CustomEvent(lC, {+function PC(e) {+ e.dispatchEvent(new CustomEvent(gC, {bubbles: !0,cancelable: !0- })) && vC(e);+ })) && AC(e);}-function wC(e, t, n) {- let r = t?.tabbable ? jb : Ab, i = pb(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = sC(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {- return bb(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Eie(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || hC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;+function FC(e, t, n) {+ let r = t?.tabbable ? Lb : Ib, i = Cb(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = mC(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {+ return Ab(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!CC(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || EC(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;} });return t?.from && (a.currentNode = t.from), a;}-var TC = class e {+var Kie = class e {constructor() {- this.fastMap = /* @__PURE__ */ new Map(), this.root = new EC({ scopeRef: null }), this.fastMap.set(null, this.root);+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new IC({ scopeRef: null }), this.fastMap.set(null, this.root);}get size() {return this.fastMap.size;@@ -22674,7 +22854,7 @@ var TC = class e {addTreeNode(e, t, n) {let r = this.fastMap.get(t ?? null);if (!r) return;- let i = new EC({ scopeRef: e });+ let i = new IC({ scopeRef: e });r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);}addNode(e) {@@ -22685,7 +22865,7 @@ var TC = class e {let t = this.fastMap.get(e);if (!t) return;let n = t.parent;- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && hC(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && EC(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);let r = t.children;n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);}@@ -22697,7 +22877,7 @@ var TC = class e {for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);return t;}-}, EC = class {+}, IC = class {constructor(e) {this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;}@@ -22707,13 +22887,13 @@ var TC = class e {removeChild(e) {this.children.delete(e), e.parent = void 0;}-}, DC = new TC(), OC = 7e3, kC = null;-function AC(e, t = "assertive", n = OC) {- kC ? kC.announce(e, t, n) : (kC = new jC(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? kC.announce(e, t, n) : setTimeout(() => {- kC?.isAttached() && kC?.announce(e, t, n);+}, LC = new Kie(), RC = 7e3, zC = null;+function BC(e, t = "assertive", n = RC) {+ zC ? zC.announce(e, t, n) : (zC = new qie(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? zC.announce(e, t, n) : setTimeout(() => {+ zC?.isAttached() && zC?.announce(e, t, n);}, 100));}-var jC = class {+var qie = class {constructor() {this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {border: 0,@@ -22738,7 +22918,7 @@ var jC = class {destroy() {this.node &&= (document.body.removeChild(this.node), null);}- announce(e, t = "assertive", n = OC) {+ announce(e, t = "assertive", n = RC) {if (!this.node) return;let r = document.createElement("div");typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {@@ -22750,8 +22930,8 @@ var jC = class {}};// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs-function MC(e, t) {- let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = TS(e);+function VC(e, t) {+ let n = (0, P.useRef)(!0), r = (0, P.useRef)(null), i = DS(e);(0, P.useEffect)(() => (n.current = !0, () => {n.current = !1;}), []), (0, P.useEffect)(() => {@@ -22760,30 +22940,30 @@ function MC(e, t) {}, t);}// node_modules/react-aria/dist/private/utils/isScrollable.mjs-function NC(e, t) {+function HC(e, t) {if (!e) return !1;let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;}// node_modules/react-aria/dist/private/utils/getScrollParent.mjs-function PC(e, t) {+function UC(e, t) {let n = e;- for (NC(n, t) && (n = n.parentElement); n && !NC(n, t);) n = n.parentElement;+ for (HC(n, t) && (n = n.parentElement); n && !HC(n, t);) n = n.parentElement;return n || document.scrollingElement || document.documentElement;}// node_modules/react-aria/dist/private/utils/getScrollParents.mjs-function FC(e, t) {+function WC(e, t) {let n = [], r = document.scrollingElement || document.documentElement;- for (; e && (NC(e, t) && n.push(e), e !== r);) e = e.parentElement;+ for (; e && (HC(e, t) && n.push(e), e !== r);) e = e.parentElement;return n;}// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs-function IC(e, t, n = {}) {- e !== t && LC(e, t, t.getBoundingClientRect(), n);+function GC(e, t, n = {}) {+ e !== t && Jie(e, t, t.getBoundingClientRect(), n);}-function LC(e, t, n, r = {}) {+function Jie(e, t, n, r = {}) {let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, te = e === d ? 0 : T + E, ne = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, N = e === d ? 0 : e.offsetHeight - e.clientHeight - te, re = p + (f ? 0 : T) + x, ie = m - (f ? 0 : E) - S - N, P = h + (f ? 0 : D) + C, F = g - (f ? 0 : O) - w;- Gb() && qb() || u.direction === "ltr" ? F -= ne : u.direction === "rtl" && (P += ne);+ Yb() && Xb() || u.direction === "ltr" ? F -= ne : u.direction === "rtl" && (P += ne);let ae = k < re || A > ie, oe = j < P || M > F;if (ae && i === "start") o += k - re;else if (ae && i === "center") o += (k + A) / 2 - (re + ie) / 2;@@ -22804,7 +22984,7 @@ function LC(e, t, n, r = {}) {top: o});}-function RC(e, t = {}) {+function KC(e, t = {}) {let { containingElement: n } = t;if (e && e.isConnected) {let t = document.scrollingElement || document.documentElement;@@ -22817,45 +22997,45 @@ function RC(e, t = {}) {inline: "center"}), e.scrollIntoView?.({ block: "nearest" }));} else {- let { left: t, top: r } = e.getBoundingClientRect(), i = FC(e, !0);- for (let t of i) IC(t, e);+ let { left: t, top: r } = e.getBoundingClientRect(), i = WC(e, !0);+ for (let t of i) GC(t, e);let { left: a, top: o } = e.getBoundingClientRect();if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {- i = n ? FC(n, !0) : [];- for (let e of i) IC(e, n, {+ i = n ? WC(n, !0) : [];+ for (let e of i) GC(e, n, {block: "center",inline: "center"});- for (let t of FC(e, !0)) IC(t, e);+ for (let t of WC(e, !0)) GC(t, e);}}}}// node_modules/react-aria/dist/private/utils/useDescription.mjs-var zC = 0, BC = /* @__PURE__ */ new Map();-function VC(e) {+var Yie = 0, qC = /* @__PURE__ */ new Map();+function JC(e) {let [t, n] = (0, P.useState)();- return Nb(() => {+ return zb(() => {if (!e) return;- let t = BC.get(e);+ let t = qC.get(e);if (t) n(t.element.id);else {- let r = `react-aria-description-${zC++}`;+ let r = `react-aria-description-${Yie++}`;n(r);let i = document.createElement("div");i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {refCount: 0,element: i- }, BC.set(e, t);+ }, qC.set(e, t);}return t.refCount++, () => {- t && --t.refCount === 0 && (t.element.remove(), BC.delete(e));+ t && --t.refCount === 0 && (t.element.remove(), qC.delete(e));};}, [e]), { "aria-describedby": e ? t : void 0 };}// node_modules/react-aria/dist/private/utils/useFormReset.mjs-function HC(e, t, n) {- let r = TS((e) => {+function YC(e, t, n) {+ let r = DS((e) => {n && !e.defaultPrevented && n(t);});(0, P.useEffect)(() => {@@ -22866,21 +23046,21 @@ function HC(e, t, n) {}, [e]);}// node_modules/react-aria/dist/private/form/useFormValidation.mjs-function UC(e, t, n) {+function XC(e, t, n) {let { validationBehavior: r, focus: i } = e;- Nb(() => {+ zb(() => {if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(GC(n.current));+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Zie(n.current));}});- let a = (0, P.useRef)(!1), o = TS(() => {+ let a = (0, P.useRef)(!1), o = DS(() => {a.current || t.resetValidation();- }), s = TS((e) => {+ }), s = DS((e) => {t.displayValidation.isInvalid || t.commitValidation();let r = n?.current?.form;- !e.defaultPrevented && n && r && KC(r) === n.current && (i ? i() : n.current?.focus(), Sx("keyboard")), e.preventDefault();- }), c = TS(() => {+ !e.defaultPrevented && n && r && Qie(r) === n.current && (i ? i() : n.current?.focus(), wx("keyboard")), e.preventDefault();+ }), c = DS(() => {t.commitValidation();});(0, P.useEffect)(() => {@@ -22894,7 +23074,7 @@ function UC(e, t, n) {};}, [n, r]);}-function WC(e) {+function Xie(e) {let t = e.validity;return {badInput: t.badInput,@@ -22910,14 +23090,14 @@ function WC(e) {valid: t.valid};}-function GC(e) {+function Zie(e) {return {isInvalid: !e.validity.valid,- validationDetails: WC(e),+ validationDetails: Xie(e),validationErrors: e.validationMessage ? [e.validationMessage] : []};}-function KC(e) {+function Qie(e) {for (let t = 0; t < e.elements.length; t++) {let n = e.elements[t];if (n.validity?.valid === !1) return n;@@ -22925,23 +23105,23 @@ function KC(e) {return null;}// node_modules/react-aria/dist/private/utils/useSlot.mjs-function qC(e = !0) {+function $ie(e = !0) {let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(!1), i = (0, P.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return Nb(() => {+ return zb(() => {r.current || n(!1);}, []), [i, t];}-function JC(e = !0) {- let t = Lx(), [n, r] = qC(e);+function ZC(e = !0) {+ let t = zx(), [n, r] = $ie(e);return {id: r ? t : void 0,ref: n};}// node_modules/react-stately/dist/private/form/useFormValidationState.mjs-var YC = {+var QC = {badInput: !1,customError: !1,patternMismatch: !1,@@ -22953,18 +23133,18 @@ var YC = {typeMismatch: !1,valueMissing: !1,valid: !0-}, XC = {- ...YC,+}, $C = {+ ...QC,customError: !0,valid: !1-}, ZC = {+}, ew = {isInvalid: !1,- validationDetails: YC,+ validationDetails: QC,validationErrors: []-}, QC = (0, P.createContext)({}), $C = "__reactAriaFormValidationState";-function ew(e) {+}, eae = (0, P.createContext)({}), tw = "__reactAriaFormValidationState";+function nw(e) {if (e.__reactAriaFormValidationState) {- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[$C];+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[tw];return {realtimeValidation: t,displayValidation: n,@@ -22973,33 +23153,33 @@ function ew(e) {commitValidation: a};}- return tw(e);+ return tae(e);}-function tw(e) {+function tae(e) {let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;n && (t ||= n === "invalid");let c = t === void 0 ? null : {isInvalid: t,validationErrors: [],- validationDetails: XC- }, l = (0, P.useMemo)(() => !o || i == null ? null : iw(rw(o, i)), [o, i]);+ validationDetails: $C+ }, l = (0, P.useMemo)(() => !o || i == null ? null : iw(nae(o, i)), [o, i]);a?.validationDetails.valid && (a = void 0);- let u = (0, P.useContext)(QC), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => nw(u[e])) : nw(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);+ let u = (0, P.useContext)(eae), d = (0, P.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => rw(u[e])) : rw(u[r]) : [], [u, r]), [f, p] = (0, P.useState)(u), [m, h] = (0, P.useState)(!1);u !== f && (p(u), h(!1));- let g = (0, P.useMemo)(() => iw(m ? [] : d), [m, d]), _ = (0, P.useRef)(ZC), [v, y] = (0, P.useState)(ZC), b = (0, P.useRef)(ZC), x = () => {+ let g = (0, P.useMemo)(() => iw(m ? [] : d), [m, d]), _ = (0, P.useRef)(ew), [v, y] = (0, P.useState)(ew), b = (0, P.useRef)(ew), x = () => {if (!S) return;C(!1);let e = l || a || _.current;aw(e, b.current) || (b.current = e, y(e));}, [S, C] = (0, P.useState)(!1);return (0, P.useEffect)(x), {- realtimeValidation: c || g || l || a || ZC,+ realtimeValidation: c || g || l || a || ew,displayValidation: s === "native" ? c || g || v : c || g || l || a || v,updateValidation(e) {s === "aria" && !aw(v, e) ? y(e) : _.current = e;},resetValidation() {- let e = ZC;+ let e = ew;aw(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);},commitValidation() {@@ -23007,13 +23187,13 @@ function tw(e) {}};}-function nw(e) {+function rw(e) {return e ? Array.isArray(e) ? e : [e] : [];}-function rw(e, t) {+function nae(e, t) {if (typeof e == "function") {let n = e(t);- if (n && typeof n != "boolean") return nw(n);+ if (n && typeof n != "boolean") return rw(n);}return [];}@@ -23021,7 +23201,7 @@ function iw(e) {return e.length ? {isInvalid: !0,validationErrors: e,- validationDetails: XC+ validationDetails: $C} : null;}function aw(e, t) {@@ -23029,14 +23209,14 @@ function aw(e, t) {}// node_modules/react-aria/dist/private/toggle/useToggle.mjsfunction ow(e, t, n) {- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = ew({+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = nw({...e,value: t.isSelected}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;- UC(e, b, n);+ XC(e, b, n);let w = (e) => {e.stopPropagation(), t.setSelected(G(e).checked);- }, { pressProps: T, isPressed: E } = tC({+ }, { pressProps: T, isPressed: E } = iC({onPressStart: m,onPressEnd: h,onPressChange: g,@@ -23044,7 +23224,7 @@ function ow(e, t, n) {onPressUp: v,onClick: y,isDisabled: r- }), [D, O] = (0, P.useState)(!1), { pressProps: k } = tC({+ }), [D, O] = (0, P.useState)(!1), { pressProps: k } = iC({onPressStart(e) {e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));},@@ -23061,13 +23241,13 @@ function ow(e, t, n) {return;}_?.(r), t.toggle(), n.current?.focus();- let { [$C]: i } = e, { commitValidation: a } = i || b;+ let { [tw]: i } = e, { commitValidation: a } = i || b;a();},isDisabled: r || i- }), { focusableProps: A } = Zx(e, n), j = K(T, A), M = VS(e, { labelable: !0 });- HC(n, t.defaultSelected, t.setSelected);- let ee = JC(), te = JC();+ }), { focusableProps: A } = $x(e, n), j = K(T, A), M = US(e, { labelable: !0 });+ YC(n, t.defaultSelected, t.setSelected);+ let ee = ZC(), te = ZC();return {labelProps: K(k, { onClick: (e) => e.preventDefault() }),inputProps: K(M, {@@ -23122,17 +23302,17 @@ function sw(e, t, n) {};}// node_modules/react-aria/dist/private/checkbox/utils.mjs-var jie = /* @__PURE__ */ new WeakMap();+var rae = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/label/useLabel.mjsfunction cw(e) {let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;- t = Lx(t);- let o = Lx(), s = {};+ t = zx(t);+ let o = zx(), s = {};n && (r = r ? `${o} ${r}` : o, s = {id: o,htmlFor: a === "label" ? t : void 0});- let c = DS({+ let c = kS({id: t,"aria-label": i,"aria-labelledby": r@@ -23144,12 +23324,12 @@ function cw(e) {}// node_modules/react-aria/dist/private/label/useField.mjsfunction lw(e) {- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = cw(e), s = Rx([+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = cw(e), s = Bx([!!t,!!n,r,i- ]), c = Rx([+ ]), c = Bx([!!t,!!n,r,@@ -23168,25 +23348,25 @@ function lw(e) {}// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjsfunction uw(e) {- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = XS(), c = (0, P.useCallback)((e) => {- bb(e.currentTarget, G(e)) && a.current.isFocusWithin && !bb(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, P.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = QS(), c = (0, P.useCallback)((e) => {+ Ab(e.currentTarget, G(e)) && a.current.isFocusWithin && !Ab(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));}, [n,i,a,s- ]), l = Ib(c), u = (0, P.useCallback)((e) => {- if (!bb(e.currentTarget, G(e))) return;- let t = G(e), n = pb(t), s = xb(n);+ ]), l = Hb(c), u = (0, P.useCallback)((e) => {+ if (!Ab(e.currentTarget, G(e))) return;+ let t = G(e), n = Cb(t), s = jb(n);if (!a.current.isFocusWithin && s === t) {r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);let t = e.currentTarget;o(n, "focus", (e) => {let r = G(e);- if (a.current.isFocusWithin && !bb(t, r)) {+ if (a.current.isFocusWithin && !Ab(t, r)) {let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });- Fb(e, t);- let i = Pb(e);+ Vb(e, t);+ let i = Bb(e);c(i);}}, { capture: !0 });@@ -23207,14 +23387,14 @@ function uw(e) {} };}// node_modules/react-stately/dist/private/utils/useControlledState.mjs-var Mie = P.useInsertionEffect ?? P.useLayoutEffect;+var iae = P.useInsertionEffect ?? P.useLayoutEffect;function dw(e, t, n) {let [r, i] = (0, P.useState)(e || t), a = (0, P.useRef)(r), o = (0, P.useRef)(e !== void 0), s = e !== void 0;(0, P.useEffect)(() => {o.current, o.current = s;}, [s]);let c = s ? e : r;- Mie(() => {+ iae(() => {a.current = c;});let [, l] = (0, P.useReducer)(() => ({}), {});@@ -23240,7 +23420,7 @@ function fw(e = {}) {};}// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs-function Nie(e, t, n) {+function aae(e, t, n) {let r = fw({isReadOnly: e.isReadOnly || t.isReadOnly,isSelected: t.isSelected(e.value),@@ -23248,14 +23428,14 @@ function Nie(e, t, n) {onChange(n) {n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);}- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = jie.get(t);+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = rae.get(t);c = e.validationBehavior ?? c;- let { realtimeValidation: l } = ew({+ let { realtimeValidation: l } = nw({...e,value: r.isSelected,name: void 0,validationBehavior: "aria"- }), u = (0, P.useRef)(ZC), d = () => {+ }), u = (0, P.useRef)(ew), d = () => {t.setInvalid(e.value, l.isInvalid ? l : u.current);};(0, P.useEffect)(d);@@ -23267,7 +23447,7 @@ function Nie(e, t, n) {form: e.form || a,isRequired: e.isRequired ?? t.isRequired,validationBehavior: c,- [$C]: {+ [tw]: {realtimeValidation: f,displayValidation: p,resetValidation: t.resetValidation,@@ -23316,13 +23496,13 @@ var gw = /* @__PURE__ */ new Map(), _w = !1;try {_w = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";} catch {}-var Pie = class {+var oae = class {constructor(e, t = {}) {- this.numberFormatter = Fie(e, t), this.options = t;+ this.numberFormatter = sae(e, t), this.options = t;}format(e) {let t = "";- return t = !_w && this.options.signDisplay != null ? Iie(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;+ return t = !_w && this.options.signDisplay != null ? cae(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;}formatToParts(e) {return this.numberFormatter.formatToParts(e);@@ -23360,7 +23540,7 @@ var Pie = class {}), e;}};-function Fie(e, t = {}) {+function sae(e, t = {}) {let { numberingSystem: n } = t;n && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${n}`);let r = e + (t ? Object.entries(t).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");@@ -23368,7 +23548,7 @@ function Fie(e, t = {}) {let i = new Intl.NumberFormat(e, t);return gw.set(r, i), i;}-function Iie(e, t, n) {+function cae(e, t, n) {if (t === "auto") return e.format(n);if (t === "never") return e.format(Math.abs(n));{@@ -23386,7 +23566,7 @@ function vw(e) {didMove: !1,lastPosition: null,id: null- }), { addGlobalListener: a, removeGlobalListener: o } = XS(), s = TS((0, P.useCallback)((e, r, a, o) => {+ }), { addGlobalListener: a, removeGlobalListener: o } = QS(), s = DS((0, P.useCallback)((e, r, a, o) => {(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({type: "movestart",pointerType: r,@@ -23408,8 +23588,8 @@ function vw(e) {t,n,i- ])), c = TS((0, P.useCallback)((e, t) => {- KS(), i.current.didMove && r?.({+ ])), c = DS((0, P.useCallback)((e, t) => {+ JS(), i.current.didMove && r?.({type: "moveend",pointerType: t,shiftKey: e.shiftKey,@@ -23420,7 +23600,7 @@ function vw(e) {}, [r, i]));return { moveProps: (0, P.useMemo)(() => {let e = {}, t = () => {- GS(), i.current.didMove = !1;+ qS(), i.current.didMove = !1;};{let n = (e) => {@@ -23435,7 +23615,7 @@ function vw(e) {if (e.pointerId === i.current.id) {let t = e.pointerType || "mouse";c(e, t), i.current.id = null;- let a = mb(G(e));+ let a = wb(G(e));o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);}};@@ -23445,7 +23625,7 @@ function vw(e) {pageX: e.pageX,pageY: e.pageY}, i.current.id = e.pointerId;- let o = mb(G(e));+ let o = wb(G(e));a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);}};@@ -23508,19 +23688,19 @@ function xw(e) {return /*#__PURE__*/ P.createElement(n, K(a, o), t);}// node_modules/react-aria/dist/private/textfield/useTextField.mjs-function Lie(e, t) {- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = dw(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = Zx(e, t), d = ew({+function lae(e, t) {+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = dw(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = $x(e, t), d = nw({...e,value: c}), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = lw({...e,isInvalid: f,errorMessage: e.errorMessage || p- }), y = VS(e, { labelable: !0 }), b = {+ }), y = US(e, { labelable: !0 }), b = {type: o,pattern: e.pattern}, [x] = (0, P.useState)(c);- return HC(t, e.defaultValue ?? x, l), UC(e, d, t), {+ return YC(t, e.defaultValue ?? x, l), XC(e, d, t), {labelProps: h,inputProps: K(y, n === "input" ? b : void 0, {disabled: r,@@ -23566,9 +23746,9 @@ function Lie(e, t) {};}// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs-function Rie(e = {}) {- let { locale: t } = NS();- return (0, P.useMemo)(() => new Pie(t, e), [t, e]);+function uae(e = {}) {+ let { locale: t } = FS();+ return (0, P.useMemo)(() => new oae(t, e), [t, e]);}// node_modules/react-aria/dist/private/slider/utils.mjsvar Sw = /* @__PURE__ */ new WeakMap();@@ -23578,14 +23758,14 @@ function Cw(e, t) {return `${n.id}-${t}`;}// node_modules/react-aria/dist/private/slider/useSlider.mjs-function zie(e, t, n) {+function dae(e, t, n) {let { labelProps: r, fieldProps: i } = cw(e), a = e.orientation === "vertical";Sw.set(t, {id: r.id ?? i.id,"aria-describedby": e["aria-describedby"],"aria-details": e["aria-details"]});- let { direction: o } = NS(), { addGlobalListener: s, removeGlobalListener: c } = XS(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = vw({+ let { direction: o } = FS(), { addGlobalListener: s, removeGlobalListener: c } = QS(), l = (0, P.useRef)(null), u = o === "rtl", d = (0, P.useRef)(null), { moveProps: f } = vw({onMoveStart() {d.current = null;},@@ -23619,7 +23799,7 @@ function zie(e, t, n) {(e.pointerId ?? e.changedTouches?.[0].identifier) === p.current && (l.current != null && (t.setThumbDragging(l.current, !1), l.current = null), c(window, "mouseup", h, !1), c(window, "touchend", h, !1), c(window, "pointerup", h, !1));};return "htmlFor" in r && r.htmlFor && (delete r.htmlFor, r.onClick = () => {- document.getElementById(Cw(t, 0))?.focus(), Sx("keyboard");+ document.getElementById(Cw(t, 0))?.focus(), wx("keyboard");}), {labelProps: r,groupProps: {@@ -23648,20 +23828,20 @@ function zie(e, t, n) {};}// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs-function Bie(e, t) {- let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = NS(), { addGlobalListener: m, removeGlobalListener: h } = XS(), g = Sw.get(t), { labelProps: _, fieldProps: v } = cw({+function fae(e, t) {+ let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = FS(), { addGlobalListener: m, removeGlobalListener: h } = QS(), g = Sw.get(t), { labelProps: _, fieldProps: v } = cw({...e,id: Cw(t, n),"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()}), y = t.values[n], b = (0, P.useCallback)(() => {- s.current && fb(s.current);+ s.current && Sb(s.current);}, [s]), x = t.focusedThumb === n;(0, P.useEffect)(() => {x && b();}, [x, b]);let S = p === "rtl", C = (0, P.useRef)(null), w = (e) => {t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);- }, { keyboardProps: T } = qx({+ }, { keyboardProps: T } = Yx({shortcuts: {PageUp: () => w(() => {t.incrementThumb(n, t.pageSize);@@ -23696,7 +23876,7 @@ function Bie(e, t) {}});t.setThumbEditable(n, !d);- let { focusableProps: D } = Zx(K(e, {+ let { focusableProps: D } = $x(K(e, {onFocus: () => t.setFocusedThumb(n),onBlur: () => t.setFocusedThumb(void 0)}), s), O = (0, P.useRef)(void 0), k = (e) => {@@ -23716,7 +23896,7 @@ function Bie(e, t) {k(e.changedTouches[0].identifier);}});- return HC(s, t.defaultValues[n], (e) => {+ return YC(s, t.defaultValues[n], (e) => {t.setThumbValue(n, e);}), {inputProps: K(D, v, {@@ -23756,29 +23936,29 @@ function Bie(e, t) {};}// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs-var Vie = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;+var pae = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;function ww(e) {return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;}var Tw = /* @__PURE__ */ new WeakMap(), Ew = [];function Dw(e, t) {- let n = mb(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && Vie, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {+ let n = wb(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && pae, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));}, u = /* @__PURE__ */ new Set();- if (yb()) {+ if (kb()) {let t = i.getRootNode();for (let n of e) {let e = n.getRootNode();- for (; gb(e) && e !== t;) u.add(e), e = e.host.getRootNode();+ for (; Eb(e) && e !== t;) u.add(e), e = e.host.getRootNode();}}let d = (e) => {for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);let t = (e) => {if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;- for (let t of o) if (bb(e, t)) return NodeFilter.FILTER_SKIP;+ for (let t of o) if (Ab(e, t)) return NodeFilter.FILTER_SKIP;return NodeFilter.FILTER_ACCEPT;- }, n = sC(pb(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);+ }, n = mC(Cb(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {let e = n.nextNode();for (; e != null;) f(e), e = n.nextNode();@@ -23790,8 +23970,8 @@ function Dw(e, t) {Ew.length && Ew[Ew.length - 1].disconnect(), d(i);let p = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => bb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ww(e) ? o.add(e) : e instanceof Element && d(e);- if (yb()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => Ab(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ww(e) ? o.add(e) : e instanceof Element && d(e);+ if (kb()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23804,11 +23984,11 @@ function Dw(e, t) {subtree: !0});let m = /* @__PURE__ */ new Set();- if (yb()) for (let e of u) {+ if (kb()) for (let e of u) {let t = new MutationObserver((e) => {for (let t of e) if (t.type === "childList") {- if (t.target.isConnected && ![...o, ...s].some((e) => bb(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ww(e) ? o.add(e) : e instanceof Element && d(e);- if (yb()) {+ if (t.target.isConnected && ![...o, ...s].some((e) => Ab(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && ww(e) ? o.add(e) : e instanceof Element && d(e);+ if (kb()) {for (let e of u) if (!e.isConnected) {p.disconnect();break;@@ -23835,7 +24015,7 @@ function Dw(e, t) {}};return Ew.push(h), () => {- if (p.disconnect(), yb()) for (let e of m) e.disconnect();+ if (p.disconnect(), kb()) for (let e of m) e.disconnect();for (let e of s) {let t = Tw.get(e);t != null && (t === 1 ? (l(e, !1), Tw.delete(e)) : Tw.set(e, t - 1));@@ -23851,28 +24031,28 @@ function Ow(e) {}// node_modules/react-aria/dist/private/listbox/utils.mjsvar kw = /* @__PURE__ */ new WeakMap();-function Hie(e) {+function mae(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}-function Uie(e, t) {+function hae(e, t) {let n = kw.get(e);if (!n) throw Error("Unknown list");- return `${n.id}-option-${Hie(t)}`;+ return `${n.id}-option-${mae(t)}`;}// node_modules/react-aria/dist/private/selection/utils.mjsfunction Aw(e) {- return Kb() ? e.altKey : e.ctrlKey;+ return Tre() ? e.altKey : e.ctrlKey;}function jw(e, t) {let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);}var Mw = /* @__PURE__ */ new WeakMap();-function Wie(e) {- let t = Lx();+function gae(e) {+ let t = zx();return Mw.set(e, t), t;}-function Gie(e) {+function _ae(e) {return Mw.get(e);}// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs@@ -23995,7 +24175,7 @@ var Nw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !NC(t)) return this.getFirstKey();+ if (t && !HC(t)) return this.getFirstKey();let i = e;if (this.orientation === "horizontal") {let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);@@ -24010,7 +24190,7 @@ var Nw = class {let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);if (!n) return null;let r = this.isReversed(e);- if (t && !NC(t)) return this.getLastKey();+ if (t && !HC(t)) return this.getLastKey();let i = e;if (this.orientation === "horizontal") {let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);@@ -24173,9 +24353,9 @@ hT = {"zh-TW": mT};// node_modules/react-aria/dist/private/interactions/useLongPress.mjs-var Kie = 500;+var vae = 500;function gT(e) {- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Kie, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = XS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = tC({+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = vae, accessibilityDescription: s } = e, c = (0, P.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = QS(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = iC({isDisabled: t,onPressStart(e) {if (e.continuePropagation(), d(e)) {@@ -24183,12 +24363,12 @@ function gT(e) {...e,type: "longpressstart"}), c.current = setTimeout(() => {- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), pb(e.target).activeElement !== e.target && fb(e.target), a && a({+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), Cb(e.target).activeElement !== e.target && Sb(e.target), a && a({...e,type: "longpress"}), c.current = void 0;}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });- let t = mb(e.target);+ let t = wb(e.target);l(t, "pointerup", () => {setTimeout(() => {u();@@ -24203,10 +24383,10 @@ function gT(e) {});}});- return { longPressProps: K(f, VC(a && !t ? s : void 0)) };+ return { longPressProps: K(f, JC(a && !t ? s : void 0)) };}// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs-function qie(e) {+function yae(e) {let { onContextMenu: t } = e, n = (0, P.useRef)(!1), { longPressProps: r } = gT({onLongPressStart() {n.current = !1;@@ -24219,7 +24399,7 @@ function qie(e) {});}});- return t ? { contextMenuProps: K(Gb() ? r : {}, {+ return t ? { contextMenuProps: K(Yb() ? r : {}, {onContextMenu(e) {e.stopPropagation(), e.preventDefault(), n.current = !0;let r = e.currentTarget.getBoundingClientRect();@@ -24230,7 +24410,7 @@ function qie(e) {});},onKeyDown(e) {- if (Hb() && e.ctrlKey && e.key === "Enter") {+ if (qb() && e.ctrlKey && e.key === "Enter") {n.current = !1;let r = e.currentTarget;e.stopPropagation(), setTimeout(() => {@@ -24250,11 +24430,11 @@ function qie(e) {}// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjsvar _T = /* @__PURE__ */ new WeakMap();-function Jie(e) {+function bae(e) {let { triggerRef: t, isOpen: n, onClose: r } = e;- (0, P.useEffect)(() => !n || r === null ? void 0 : _b(Sb(t.current), "scroll", (e) => {+ (0, P.useEffect)(() => !n || r === null ? void 0 : Db(Mb(t.current), "scroll", (e) => {let n = G(e);- if (!t.current || n instanceof Node && !bb(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;+ if (!t.current || n instanceof Node && !Ab(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;let i = r || _T.get(t.current);i && i();}, !0), [@@ -24264,14 +24444,14 @@ function Jie(e) {]);}// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs-function Yie(e, t, n) {+function xae(e, t, n) {let { type: r } = e, { isOpen: i } = t;(0, P.useEffect)(() => {n && n.current && _T.set(n.current, t.close);});let a;r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");- let o = Lx();+ let o = zx();return {triggerProps: {"aria-haspopup": a,@@ -24283,14 +24463,14 @@ function Yie(e, t, n) {};}// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs-function Xie(e) {+function Sae(e) {return e && e.__esModule ? e.default : e;}function vT(e, t, n) {- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = Lx(), { triggerProps: s, overlayProps: c } = Yie({ type: r }, t, n), l = (e, n, r = "first") => {+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = zx(), { triggerProps: s, overlayProps: c } = xae({ type: r }, t, n), l = (e, n, r = "first") => {if (!e || n.isDefaultPrevented()) return !1;t.toggle(r);- }, { keyboardProps: u } = qx({+ }, { keyboardProps: u } = Yx({isDisabled: i,shortcuts: {Enter: (e) => l(a !== "longPress", e, "first"),@@ -24302,7 +24482,7 @@ function vT(e, t, n) {"Alt+ArrowDown": (e) => l(!0, e, "first"),"Alt+ArrowUp": (e) => l(!0, e, "last")}- }), d = zS(Xie(hT), "@react-aria/menu"), { longPressProps: f } = gT({+ }), d = VS(Sae(hT), "@react-aria/menu"), { longPressProps: f } = gT({isDisabled: i || a !== "longPress",accessibilityDescription: d.format("longPressMessage"),onLongPressStart() {@@ -24314,14 +24494,14 @@ function vT(e, t, n) {}), p = {preventFocusOnPress: !0,onPressStart(e) {- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (fb(e.target), t.open(e.pointerType === "virtual" ? "first" : null));+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (Sb(e.target), t.open(e.pointerType === "virtual" ? "first" : null));},onPress(e) {- e.pointerType === "touch" && !i && (fb(e.target), t.toggle());+ e.pointerType === "touch" && !i && (Sb(e.target), t.toggle());}};delete s.onPress;- let { contextMenuProps: m } = qie({ onContextMenu(e) {+ let { contextMenuProps: m } = yae({ onContextMenu(e) {let n = e.target.getBoundingClientRect();t.setPoint({x: n.x + e.x,@@ -24389,8 +24569,8 @@ function bT(e) {}} : void 0,onKeyDown: t.getKeyForSearch ? (e) => {- let a = Zie(e.key);- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !bb(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {+ let a = Cae(e.key);+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !Ab(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {if (i.current.search += a, t.getKeyForSearch != null) {let a = t.getKeyForSearch(i.current.search, n.focusedKey);if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();@@ -24406,21 +24586,21 @@ function bT(e) {} : void 0} };}-function Zie(e) {+function Cae(e) {return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";}// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjsfunction xT(e, t) {let n = (0, P.useRef)(!0), r = (0, P.useRef)(null);- Nb(() => (n.current = !0, () => {+ zb(() => (n.current = !0, () => {n.current = !1;- }), []), Nb(() => {+ }), []), zb(() => {n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;}, t);}// node_modules/react-aria/dist/private/selection/useSelectableCollection.mjsfunction ST(e) {- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = NS(), _ = Qb(), v = (e, n, i) => {+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = FS(), _ = ex(), v = (e, n, i) => {if (n != null) {if (t.isLink(n) && m === "selection" && l && !Aw(e)) {(0, Lt.flushSync)(() => {@@ -24465,9 +24645,9 @@ function ST(e) {}, x = (e) => {if (n.getFirstKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getFirstKey(t.focusedKey, CS(e));+ let r = n.getFirstKey(t.focusedKey, TS(e));if (t.setFocusedKey(r), r != null) {- if (CS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (TS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24499,9 +24679,9 @@ function ST(e) {}, w = (e) => {if (n.getLastKey) {if (t.focusedKey === null && e.shiftKey) return !1;- let r = n.getLastKey(t.focusedKey, CS(e));+ let r = n.getLastKey(t.focusedKey, TS(e));if (t.setFocusedKey(r), r != null) {- if (CS(e) && e.shiftKey && t.selectionMode === "multiple") {+ if (TS(e) && e.shiftKey && t.selectionMode === "multiple") {t.extendSelection(r);return;}@@ -24532,12 +24712,12 @@ function ST(e) {else return !1;}, k = () => {if (!f && r.current) {- let e = wC(r.current, { tabbable: !0 }), t, n;+ let e = FC(r.current, { tabbable: !0 }), t, n;don = e.lastChild(), n && (t = n);while (n);- let i = xb();- t && (!Cb(t) || i && !jb(i)) && fb(t);+ let i = jb();+ t && (!Nb(t) || i && !Lb(i)) && Sb(t);}return {shouldContinuePropagation: !0,@@ -24547,11 +24727,11 @@ function ST(e) {shouldContinuePropagation: !0,shouldPreventDefault: !1}), j = (e, t) => ({- [Hb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,+ [qb() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,[e + "+Shift"]: t,- [Hb() ? e + "+Alt" : e + "+Control"]: t,+ [qb() ? e + "+Alt" : e + "+Control"]: t,[e]: t- }), { keyboardProps: M } = qx({+ }), { keyboardProps: M } = Yx({shortcuts: {...j("ArrowDown", y),...j("ArrowUp", b),@@ -24561,7 +24741,7 @@ function ST(e) {...j("PageUp", E)},allowRepeats: !0- }), { keyboardProps: ee } = qx({ shortcuts: {+ }), { keyboardProps: ee } = Yx({ shortcuts: {...j("Home", x),...j("End", w),"Mod+A": D,@@ -24572,7 +24752,7 @@ function ST(e) {top: 0,left: 0});- ES(p, "scroll", () => {+ OS(p, "scroll", () => {te.current = {top: p.current?.scrollTop ?? 0,left: p.current?.scrollLeft ?? 0@@ -24580,11 +24760,11 @@ function ST(e) {});let ne = (e) => {if (t.isFocused) {- bb(e.currentTarget, G(e)) || t.setFocused(!1);+ Ab(e.currentTarget, G(e)) || t.setFocused(!1);return;}- if (!bb(e.currentTarget, G(e))) return;- let i = xx();+ if (!Ab(e.currentTarget, G(e))) return;+ let i = Cx();t.setFocused(!0);let a = (e) => {e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));@@ -24596,12 +24776,12 @@ function ST(e) {} else p.current && (p.current.scrollTop = te.current.top, p.current.scrollLeft = te.current.left);if (t.focusedKey != null && p.current) {let e = jw(r, t.focusedKey);- e instanceof HTMLElement && (!Cb(e) && !d && fb(e), (i === "keyboard" || h && i === "virtual") && RC(e, { containingElement: r.current }));+ e instanceof HTMLElement && (!Nb(e) && !d && Sb(e), (i === "keyboard" || h && i === "virtual") && KC(e, { containingElement: r.current }));}}, N = (e) => {- bb(e.currentTarget, e.relatedTarget) || t.setFocused(!1);+ Ab(e.currentTarget, e.relatedTarget) || t.setFocused(!1);}, re = (0, P.useRef)(!1);- ES(r, qre, d ? (e) => {+ OS(r, _ie, d ? (e) => {let { detail: n } = e;e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (re.current = !0);} : void 0);@@ -24609,13 +24789,13 @@ function ST(e) {xT(() => {if (re.current) {if (ie == null) {- let e = xb();- fS(r.current), pS(e, null), t.collection.size > 0 && (re.current = !1);+ let e = jb();+ mS(r.current), hS(e, null), t.collection.size > 0 && (re.current = !1);} else t.setFocusedKey(ie), re.current = !1;}}, [ie, t.collection.size]), xT(() => {t.collection.size > 0 && (re.current = !1);- }, [t.focusedKey]), ES(r, Kre, d ? (e) => {+ }, [t.focusedKey]), OS(r, gie, d ? (e) => {e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);} : void 0);let F = (0, P.useRef)(i), ae = (0, P.useRef)(!1);@@ -24630,22 +24810,22 @@ function ST(e) {break;}}- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Mx(r.current), t.collection.size > 0 && (F.current = !1, ae.current = !0);+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && Px(r.current), t.collection.size > 0 && (F.current = !1, ae.current = !0);}});let oe = (0, P.useRef)(t.focusedKey), se = (0, P.useRef)(null);(0, P.useEffect)(() => {if (t.isFocused && t.focusedKey != null && (t.focusedKey !== oe.current || ae.current) && p.current && r.current) {- let e = xx(), n = jw(r, t.focusedKey);+ let e = Cx(), n = jw(r, t.focusedKey);if (!(n instanceof HTMLElement)) return;(e === "keyboard" || ae.current) && (se.current && cancelAnimationFrame(se.current), se.current = requestAnimationFrame(() => {- p.current && (IC(p.current, n), e !== "virtual" && RC(n, { containingElement: r.current }));+ p.current && (GC(p.current, n), e !== "virtual" && KC(n, { containingElement: r.current }));}));}- !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Mx(r.current), oe.current = t.focusedKey, ae.current = !1;+ !d && t.isFocused && t.focusedKey == null && oe.current != null && r.current && Px(r.current), oe.current = t.focusedKey, ae.current = !1;}), (0, P.useEffect)(() => () => {se.current && cancelAnimationFrame(se.current);- }, []), ES(r, "react-aria-focus-scope-restore", (e) => {+ }, []), OS(r, "react-aria-focus-scope-restore", (e) => {e.preventDefault(), t.setFocused(!0);});let ce = {@@ -24662,7 +24842,7 @@ function ST(e) {u || (ce = K(le, ce));let ue;d || (ue = t.focusedKey == null ? 0 : -1);- let de = Wie(t.collection);+ let de = gae(t.collection);return { collectionProps: K(ce, {tabIndex: ue,"data-collection": de@@ -24711,26 +24891,26 @@ function AT(e) {// node_modules/react-aria/dist/private/i18n/useCollator.mjsvar jT = /* @__PURE__ */ new Map();function MT(e) {- let { locale: t } = NS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");+ let { locale: t } = FS(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");if (jT.has(n)) return jT.get(n);let r = new Intl.Collator(t, e);return jT.set(n, r), r;}// node_modules/react-aria/dist/private/interactions/PressResponder.mjs-var Qie = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {- let r = (0, P.useRef)(!1), i = (0, P.useContext)(YS), a = K(i || {}, {+var wae = /*#__PURE__*/ P.forwardRef(({ children: e, ...t }, n) => {+ let r = (0, P.useRef)(!1), i = (0, P.useContext)(ZS), a = K(i || {}, {...t,register() {r.current = !0, i && i.register();}});- return a.ref = Jx(n || i?.ref), Yx(i, a.ref), (0, P.useEffect)(() => {+ return a.ref = Xx(n || i?.ref), Zx(i, a.ref), (0, P.useEffect)(() => {r.current ||= !0;- }, []), /*#__PURE__*/ P.createElement(YS.Provider, { value: a }, e);+ }, []), /*#__PURE__*/ P.createElement(ZS.Provider, { value: a }, e);});-function $ie({ children: e }) {+function Tae({ children: e }) {let t = (0, P.useMemo)(() => ({ register: () => {} }), []);- return /*#__PURE__*/ P.createElement(YS.Provider, { value: t }, e);+ return /*#__PURE__*/ P.createElement(ZS.Provider, { value: t }, e);}// node_modules/react-aria/dist/private/overlays/PortalProvider.mjsvar NT = /*#__PURE__*/ (0, P.createContext)({});@@ -24744,35 +24924,35 @@ function FT() {// node_modules/react-aria/dist/private/overlays/Overlay.mjsvar IT = /*#__PURE__*/ P.createContext(null);function LT(e) {- let t = ax(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ({+ let t = sx(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => ({contain: i,setContain: a}), [i, a]), { getContainer: s } = FT();if (!e.portalContainer && s && (n = s()), !n) return null;let c = e.children;- return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(dC, {+ return e.disableFocusManagement || (c = /*#__PURE__*/ P.createElement(vC, {restoreFocus: !0,contain: (e.shouldContainFocus || i) && !r- }, c)), c = /*#__PURE__*/ P.createElement(IT.Provider, { value: o }, /*#__PURE__*/ P.createElement($ie, null, /*#__PURE__*/ P.createElement(Xx.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);+ }, c)), c = /*#__PURE__*/ P.createElement(IT.Provider, { value: o }, /*#__PURE__*/ P.createElement(Tae, null, /*#__PURE__*/ P.createElement(Qx.Provider, { value: null }, c))), /*#__PURE__*/ Lt.createPortal(c, n);}function RT() {let e = (0, P.useContext)(IT)?.setContain;- Nb(() => {+ zb(() => {e?.(!0);}, [e]);}// node_modules/react-aria/dist/private/dialog/useDialog.mjs-function eae(e, t) {- let { role: n = "dialog", isEntering: r } = e, i = Rx();+function Eae(e, t) {+ let { role: n = "dialog", isEntering: r } = e, i = Bx();i = e["aria-label"] ? void 0 : i;- let a = Rx();+ let a = Bx();a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;let o = (0, P.useRef)(!1);(0, P.useEffect)(() => {- if (!r && t.current && !Cb(t.current)) {- Mx(t.current);+ if (!r && t.current && !Nb(t.current)) {+ Px(t.current);let e = setTimeout(() => {- (xb() === t.current || xb() === document.body) && (o.current = !0, t.current && (t.current.blur(), Mx(t.current)), o.current = !1);+ (jb() === t.current || jb() === document.body) && (o.current = !0, t.current && (t.current.blur(), Px(t.current)), o.current = !1);}, 500);return () => {clearTimeout(e);@@ -24782,7 +24962,7 @@ function eae(e, t) {let s = e["aria-describedby"] ?? a;return {dialogProps: {- ...VS(e, { labelable: !0 }),+ ...US(e, { labelable: !0 }),role: n,tabIndex: -1,"aria-labelledby": e["aria-labelledby"] ?? i,@@ -24799,17 +24979,17 @@ function eae(e, t) {function zT(e = {}) {let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, P.useRef)({isFocused: !1,- isFocusVisible: t || bx()+ isFocusVisible: t || Sx()}), [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, P.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, P.useCallback)((e) => {- i.current.isFocused = e, i.current.isFocusVisible = bx(), o(e), l();+ i.current.isFocused = e, i.current.isFocusVisible = Sx(), o(e), l();}, [l]);- Tx((e) => {+ Dx((e) => {i.current.isFocusVisible = e, l();}, [n, a], {enabled: a,isTextInput: n});- let { focusProps: d } = Ux({+ let { focusProps: d } = Gx({isDisabled: r,onFocusChange: u}), { focusWithinProps: f } = uw({@@ -24823,22 +25003,22 @@ function zT(e = {}) {};}// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs-function tae(e = {}) {- let { locale: t } = NS();+function Dae(e = {}) {+ let { locale: t } = FS();return (0, P.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);}// node_modules/react-aria/dist/private/interactions/useHover.mjsvar BT = !1, VT = 0;-function nae() {+function Oae() {BT = !0, setTimeout(() => {BT = !1;}, 500);}function HT(e) {- e.pointerType === "touch" && nae();+ e.pointerType === "touch" && Oae();}-function rae() {- let e = pb(null);+function kae() {+ let e = Cb(null);if (e !== void 0) return VT === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", HT), VT++, () => {VT--, !(VT > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", HT);};@@ -24850,14 +25030,14 @@ function UT(e) {pointerType: "",target: null}).current;- (0, P.useEffect)(rae, []);- let { addGlobalListener: c, removeAllGlobalListeners: l } = XS(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {+ (0, P.useEffect)(kae, []);+ let { addGlobalListener: c, removeAllGlobalListeners: l } = QS(), { hoverProps: u, triggerHoverEnd: d } = (0, P.useMemo)(() => {let e = (e, r) => {- if (s.pointerType = r, i || r === "touch" || s.isHovered || !bb(e.currentTarget, G(e))) return;+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !Ab(e.currentTarget, G(e))) return;s.isHovered = !0;let l = e.currentTarget;- s.target = l, c(pb(G(e)), "pointerover", (e) => {- s.isHovered && s.target && !bb(s.target, G(e)) && a(e, e.pointerType);+ s.target = l, c(Cb(G(e)), "pointerover", (e) => {+ s.isHovered && s.target && !Ab(s.target, G(e)) && a(e, e.pointerType);}, { capture: !0 }), t && t({type: "hoverstart",target: l,@@ -24874,7 +25054,7 @@ function UT(e) {return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {BT && t.pointerType === "mouse" || e(t, t.pointerType);}, u.onPointerLeave = (e) => {- !i && bb(e.currentTarget, G(e)) && a(e, e.pointerType);+ !i && Ab(e.currentTarget, G(e)) && a(e, e.pointerType);}), {hoverProps: u,triggerHoverEnd: a@@ -24896,19 +25076,19 @@ function UT(e) {};}// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs-function iae(e) {+function Aae(e) {let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, P.useRef)({isPointerDown: !1,ignoreEmulatedMouseEvents: !1- }), o = TS((e) => {+ }), o = DS((e) => {n && WT(e, t) && (i && i(e), a.current.isPointerDown = !0);- }), s = TS((e) => {+ }), s = DS((e) => {n && n(e);});(0, P.useEffect)(() => {let e = a.current;if (r) return;- let n = t.current, i = pb(n);+ let n = t.current, i = Cb(n);if (typeof PointerEvent < "u") {let n = (n) => {e.isPointerDown && WT(n, t) && s(n), e.isPointerDown = !1;@@ -24924,7 +25104,7 @@ function WT(e, t) {let n = G(e);if (n) {let e = n.ownerDocument;- if (!e || !bb(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;+ if (!e || !Ab(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;}return t.current ? !e.composedPath().includes(t.current) : !1;}@@ -24933,9 +25113,9 @@ var GT = /* @__PURE__ */ new WeakMap();function KT(e, t) {let { id: n } = GT.get(e) ?? {};if (!n) throw Error("Unknown list");- return `${n}-${aae(t)}`;+ return `${n}-${jae(t)}`;}-function aae(e) {+function jae(e) {return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;}// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs@@ -25453,11 +25633,11 @@ DE = {"zh-TW": EE};// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs-function oae(e) {+function Mae(e) {return e && e.__esModule ? e.default : e;}function OE(e, t) {- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = zS(oae(DE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = VS(Mae(DE), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, P.useRef)(i), o = (0, P.useCallback)(() => {if (!t.selectionManager.isFocused || i === a.current) {a.current = i;return;@@ -25482,7 +25662,7 @@ function OE(e, t) {t && c.push(r.format("deselectedItem", { item: t }));}}- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && AC(c.join(" ")), a.current = i;+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && BC(c.join(" ")), a.current = i;}, [i,t.selectionManager.selectedKeys,@@ -25493,7 +25673,7 @@ function OE(e, t) {n,r]);- MC(() => {+ VC(() => {if (t.selectionManager.isFocused) o();else {let e = requestAnimationFrame(o);@@ -25510,11 +25690,11 @@ function kE(e, t) {// node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjsfunction AE(e, t) {let n = t?.isDisabled, [r, i] = (0, P.useState)(!1);- return Nb(() => {+ return zb(() => {if (e?.current && !n) {let t = () => {if (e.current) {- let t = wC(e.current, { tabbable: !0 });+ let t = FC(e.current, { tabbable: !0 });i(!!t.nextNode());}};@@ -25532,12 +25712,12 @@ function AE(e, t) {}), !n && r;}// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs-function sae(e) {+function Nae(e) {return e && e.__esModule ? e.default : e;}function jE(e) {- let t = zS(sae(DE), "@react-aria/grid"), n = Cx(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;- return VC((0, P.useMemo)(() => {+ let t = VS(Nae(DE), "@react-aria/grid"), n = Tx(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;+ return JC((0, P.useMemo)(() => {let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;}, [@@ -25579,7 +25759,7 @@ function ME(e) {return { listProps: d };}// node_modules/react-aria/dist/private/gridlist/useGridList.mjs-function cae(e, t, n) {+function Pae(e, t, n) {let { isVirtualized: r, keyboardDelegate: i, layoutDelegate: a, onAction: o, disallowTypeAhead: s, linkBehavior: c = "action", keyboardNavigationBehavior: l = "arrow", escapeKeyBehavior: u = "clearSelection", shouldSelectOnPressUp: d } = e;!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");let { listProps: f } = ME({@@ -25597,7 +25777,7 @@ function cae(e, t, n) {autoFocus: e.autoFocus,escapeKeyBehavior: u,UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry- }), p = Lx(e.id);+ }), p = zx(e.id);GT.set(t, {id: p,onAction: o,@@ -25608,7 +25788,7 @@ function cae(e, t, n) {let m = jE({selectionManager: t.selectionManager,hasItemActions: !!o- }), h = AE(n, { isDisabled: t.collection.size !== 0 }), g = K(VS(e, { labelable: !0 }), {+ }), h = AE(n, { isDisabled: t.collection.size !== 0 }), g = K(US(e, { labelable: !0 }), {role: "grid",id: p,"aria-multiselectable": t.selectionManager.selectionMode === "multiple" ? "true" : void 0@@ -25617,8 +25797,8 @@ function cae(e, t, n) {}// node_modules/react-aria/dist/private/selection/useSelectableItem.mjsfunction NE(e) {- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = Qb();- t = Lx(t);+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = ex();+ t = zx(t);let p = (e) => {if (e.pointerType === "keyboard" && Aw(e)) n.toggleSelection(r);else {@@ -25631,11 +25811,11 @@ function NE(e) {}if (d === "override" || d === "none") return;}- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (CS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (TS(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);}};(0, P.useEffect)(() => {- r === n.focusedKey && n.isFocused && (o ? fS(i.current) : s ? s() : xb() !== i.current && i.current && Mx(i.current));+ r === n.focusedKey && n.isFocused && (o ? mS(i.current) : s ? s() : jb() !== i.current && i.current && Px(i.current));}, [i,r,@@ -25678,7 +25858,7 @@ function NE(e) {}, k.onPress = (e) => {(e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && PE(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));});- let A = Gie(n.collection);+ let A = _ae(n.collection);if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = K(k, {onPressStart(e) {e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));@@ -25693,8 +25873,8 @@ function NE(e) {"onPress","onPressUp","onClick"- ]) D[e] && (k[e] = Nx(k[e], D[e]));- let { pressProps: j, isPressed: M } = tC(k), ee = x ? (e) => {+ ]) D[e] && (k[e] = Fx(k[e], D[e]));+ let { pressProps: j, isPressed: M } = iC(k), ee = x ? (e) => {C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));} : void 0, { longPressProps: te } = gT({isDisabled: !w,@@ -25704,7 +25884,7 @@ function NE(e) {}), ne = (e) => {C.current === "touch" && T.current && e.preventDefault();}, N = d !== "none" && n.isLink(r) ? (e) => {- $b.isOpening || e.preventDefault();+ tx.isOpening || e.preventDefault();} : void 0, re = K(m, v || b || o && !c ? j : {}, w ? te : {}, {onDoubleClick: ee,onDragStartCapture: ne,@@ -25717,7 +25897,7 @@ function NE(e) {if (e != null) return e !== A;t = t.parentElement;}- return jb(e);+ return Lb(e);}, F = re.onPointerDown;re.onPointerDown = (e) => {let t = G(e);@@ -25754,18 +25934,18 @@ var IE = {rtl: "ArrowRight"}};-function lae(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = NS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = GT.get(t), f = Rx(), p = (0, P.useRef)(null), m = () => {+function Fae(e, t, n) {+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = FS(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = GT.get(t), f = Bx(), p = (0, P.useRef)(null), m = () => {if (n.current !== null) {if (a === "child") {- if (Cb(n.current) && n.current !== xb(pb(n.current))) return;- let e = wC(n.current, { tabbable: !0 }).firstChild();+ if (Nb(n.current) && n.current !== jb(Cb(n.current))) return;+ let e = FC(n.current, { tabbable: !0 }).firstChild();if (e) {- Mx(e), RC(e, { containingElement: PC(e) });+ Px(e), KC(e, { containingElement: UC(e) });return;}}- (p.current != null && r.key !== p.current || !Cb(n.current)) && Mx(n.current);+ (p.current != null && r.key !== p.current || !Nb(n.current)) && Px(n.current);}}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);if (r != null && "expandedKeys" in t) {@@ -25775,7 +25955,7 @@ function lae(e, t, n) {if (r.level >= 0 && r?.parentKey != null) {let e = t.collection.getItem(r.parentKey);if (e) {- let n = uae(e, t.collection);+ let n = Iae(e, t.collection);i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;}} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;@@ -25792,48 +25972,48 @@ function lae(e, t, n) {ref: n,isVirtualized: i,shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,- onAction: c || r.props?.onAction ? Nx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,+ onAction: c || r.props?.onAction ? Fx(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,focus: m,linkBehavior: l}), b = (e) => {- let i = xb(pb(n.current));- if (!bb(e.currentTarget, G(e)) || !n.current || !i) return;- let a = wC(n.current);+ let i = jb(Cb(n.current));+ if (!Ab(e.currentTarget, G(e)) || !n.current || !i) return;+ let a = FC(n.current);if (a.currentNode = i, !LE(e, t, r, g, s, i, n.current, o)) switch (e.key) {case "ArrowLeft":if (u === "arrow") {let t = s === "rtl" ? a.nextNode() : a.previousNode();- if (t) e.preventDefault(), e.stopPropagation(), Mx(t), RC(t, { containingElement: PC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Mx(n.current), RC(n.current, { containingElement: PC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), Px(t), KC(t, { containingElement: UC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") Px(n.current), KC(n.current, { containingElement: UC(n.current) });else {a.currentNode = n.current;let e = RE(a);- e && (Mx(e), RC(e, { containingElement: PC(n.current) }));+ e && (Px(e), KC(e, { containingElement: UC(n.current) }));}}break;case "ArrowRight":if (u === "arrow") {let t = s === "rtl" ? a.previousNode() : a.nextNode();- if (t) e.preventDefault(), e.stopPropagation(), Mx(t), RC(t, { containingElement: PC(n.current) });- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Mx(n.current), RC(n.current, { containingElement: PC(n.current) });+ if (t) e.preventDefault(), e.stopPropagation(), Px(t), KC(t, { containingElement: UC(n.current) });+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") Px(n.current), KC(n.current, { containingElement: UC(n.current) });else {a.currentNode = n.current;let e = RE(a);- e && (Mx(e), RC(e, { containingElement: PC(n.current) }));+ e && (Px(e), KC(e, { containingElement: UC(n.current) }));}}break;case "ArrowUp":- case "ArrowDown": !e.altKey && bb(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && Ab(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}}, x = (e) => {- p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && bb(n.current, e.relatedTarget) || requestAnimationFrame(() => {- a === "child" && xb(pb(n.current)) === n.current && m();- }) : bx() || t.selectionManager.setFocusedKey(r.key);+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && Ab(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ a === "child" && jb(Cb(n.current)) === n.current && m();+ }) : Sx() || t.selectionManager.setFocusedKey(r.key);}, S = (e) => {- let i = xb(pb(n.current));- if (bb(e.currentTarget, G(e)) && n.current && i) {+ let i = jb(Cb(n.current));+ if (Ab(e.currentTarget, G(e)) && n.current && i) {if (u === "tab") {if (G(e) !== n.current && e.key !== "Tab") {e.stopPropagation();@@ -25842,11 +26022,11 @@ function lae(e, t, n) {if (LE(e, t, r, g, s, i, n.current, o)) return;}if (e.key === "Tab" && u === "tab") {- let t = wC(n.current, { tabbable: !0 });+ let t = FC(n.current, { tabbable: !0 });t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}- }, C = ex(r.props), w = K(v, y.hasAction ? C : {}, {+ }, C = nx(r.props), w = K(v, y.hasAction ? C : {}, {role: "row",onKeyDownCapture: u === "arrow" || o ? b : void 0,onFocus: x,@@ -25891,27 +26071,27 @@ function RE(e) {while (n);return t;}-function uae(e, t) {+function Iae(e, t) {let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);return a;}// node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs-function dae(e) {+function Lae(e) {return e && e.__esModule ? e.default : e;}function zE(e, t) {- let { key: n } = e, r = t.selectionManager, i = Lx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);+ let { key: n } = e, r = t.selectionManager, i = zx(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);return { checkboxProps: {id: i,- "aria-label": zS(dae(DE), "@react-aria/grid").format("select"),+ "aria-label": VS(Lae(DE), "@react-aria/grid").format("select"),isSelected: o,isDisabled: a,onChange: () => r.toggleSelection(n)} };}// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs-function fae(e, t) {+function Rae(e, t) {let { key: n } = e, { checkboxProps: r } = zE(e, t);return { checkboxProps: {...r,@@ -25919,8 +26099,8 @@ function fae(e, t) {} };}// node_modules/react-aria/dist/private/listbox/useListBox.mjs-function pae(e, t, n) {- let r = VS(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");+function zae(e, t, n) {+ let r = US(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");i === "toggle" && o === "action" && (o = "override");let { listProps: s } = ME({...e,@@ -25933,7 +26113,7 @@ function pae(e, t, n) {onFocusWithin: e.onFocus,onBlurWithin: e.onBlur,onFocusWithinChange: e.onFocusChange- }), l = Lx(e.id);+ }), l = zx(e.id);kw.set(t, {id: l,shouldUseVirtualFocus: e.shouldUseVirtualFocus,@@ -25959,8 +26139,8 @@ function pae(e, t, n) {};}// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs-function mae(e) {- let { heading: t, "aria-label": n } = e, r = Lx();+function Bae(e) {+ let { heading: t, "aria-label": n } = e, r = zx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -25978,8 +26158,8 @@ function mae(e) {};}// node_modules/react-aria/dist/private/listbox/useOption.mjs-function hae(e, t, n) {- let { key: r } = e, i = kw.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Rx(), f = Rx(), p = {+function Vae(e, t, n) {+ let { key: r } = e, i = kw.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = Bx(), f = Bx(), p = {role: "option","aria-disabled": a || void 0,"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,@@ -25991,7 +26171,7 @@ function hae(e, t, n) {let e = Number(m?.index);p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = AT(t.collection);}- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Uie(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = NE({+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = hae(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = NE({selectionManager: t.selectionManager,key: r,ref: n,@@ -26000,18 +26180,18 @@ function hae(e, t, n) {isVirtualized: u,shouldUseVirtualFocus: l,isDisabled: a,- onAction: h || m?.props?.onAction ? Nx(m?.props?.onAction, h) : void 0,+ onAction: h || m?.props?.onAction ? Fx(m?.props?.onAction, h) : void 0,linkBehavior: i?.linkBehavior,UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,id: g}), { hoverProps: S } = UT({isDisabled: a || !c,onHoverStart() {- bx() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));+ Sx() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));}- }), C = VS(m?.props);+ }), C = US(m?.props);delete C.id;- let w = tx(m?.props);+ let w = rx(m?.props);return {optionProps: {...p,@@ -26021,7 +26201,7 @@ function hae(e, t, n) {labelProps: { id: d },descriptionProps: { id: f },isFocused: y,- isFocusVisible: y && t.selectionManager.isFocused && bx(),+ isFocusVisible: y && t.selectionManager.isFocused && Sx(),isSelected: o,isDisabled: a,isPressed: v,@@ -26032,10 +26212,10 @@ function hae(e, t, n) {// node_modules/react-aria/dist/private/menu/utils.mjsvar BE = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/menu/useMenu.mjs-function gae(e, t, n) {+function Hae(e, t, n) {let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;!e["aria-label"] && e["aria-labelledby"];- let s = VS(e, { labelable: !0 }), { listProps: c } = ME({+ let s = US(e, { labelable: !0 }), { listProps: c } = ME({...o,ref: n,selectionManager: t.selectionManager,@@ -26060,15 +26240,15 @@ function gae(e, t, n) {}) };}// node_modules/react-aria/dist/private/menu/useMenuItem.mjs-function _ae(e, t, n) {- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = BE.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = Qb(), M = () => {+function Uae(e, t, n) {+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = BE.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = ex(), M = () => {if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {let e = O.onAction;e(i, k?.value);}}, ee = "menuitem";w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));- let te = Rx(), ne = Rx(), N = Rx(), re = {+ let te = Bx(), ne = Bx(), N = Bx(), re = {id: r,"aria-disabled": E || void 0,role: ee,@@ -26092,7 +26272,7 @@ function _ae(e, t, n) {}, ae = (0, P.useRef)(null), oe = (e) => {e.pointerType !== "keyboard" && (ae.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (ie.current || e.target.click()), u?.(e);}, se = (e) => {- m?.(e), M(), sre(e, j, k.props.href, k?.props.routerOptions);+ m?.(e), M(), jre(e, j, k.props.href, k?.props.routerOptions);let t = ae.current?.pointerType === "keyboard" ? ae.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);t = o ?? a ?? t, A && !w && t && A(), ae.current = null;}, { itemProps: ce, isFocused: le } = NE({@@ -26104,7 +26284,7 @@ function _ae(e, t, n) {allowsDifferentPressOrigin: !0,linkBehavior: "none",shouldUseVirtualFocus: O.shouldUseVirtualFocus- }), { pressProps: ue, isPressed: de } = tC({+ }), { pressProps: ue, isPressed: de } = iC({onPressStart: l,onPress: d,onPressUp: oe,@@ -26114,17 +26294,17 @@ function _ae(e, t, n) {}), { hoverProps: fe } = UT({isDisabled: E,onHoverStart(e) {- !bx() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);+ !Sx() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);},onHoverChange: g,onHoverEnd: _- }), { keyboardProps: pe } = qx({+ }), { keyboardProps: pe } = Yx({shortcuts: {" ": (e) => {ae.current = {pointerType: "keyboard",key: " "- }, G(e).click(), Sx("keyboard");+ }, G(e).click(), wx("keyboard");},Enter: (e) => {ae.current = {@@ -26132,8 +26312,8 @@ function _ae(e, t, n) {key: "Enter"};let t = G(e);- if (t.tagName !== "A") t.click(), Sx("keyboard");- else return Sx("keyboard"), {+ if (t.tagName !== "A") t.click(), wx("keyboard");+ else return wx("keyboard"), {shouldPreventDefault: !1,shouldContinuePropagation: !1};@@ -26141,13 +26321,13 @@ function _ae(e, t, n) {},onKeyDown: v,onKeyUp: y- }), { focusableProps: me } = Zx({+ }), { focusableProps: me } = $x({onBlur: S,onFocus: b,onFocusChange: x- }, n), he = VS(k?.props);+ }, n), he = US(k?.props);delete he.id;- let I = tx(k?.props);+ let I = rx(k?.props);return {menuItemProps: {...re,@@ -26162,15 +26342,15 @@ function _ae(e, t, n) {descriptionProps: { id: ne },keyboardShortcutProps: { id: N },isFocused: le,- isFocusVisible: le && C.isFocused && bx() && !T,+ isFocusVisible: le && C.isFocused && Sx() && !T,isSelected: D,isPressed: de,isDisabled: E};}// node_modules/react-aria/dist/private/menu/useMenuSection.mjs-function vae(e) {- let { heading: t, "aria-label": n } = e, r = Lx();+function Wae(e) {+ let { heading: t, "aria-label": n } = e, r = zx();return {itemProps: { role: "presentation" },headingProps: t ? {@@ -26185,15 +26365,15 @@ function vae(e) {};}// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs-function yae() {+function Gae() {return window.ResizeObserver !== void 0;}function VE(e) {- let { ref: t, box: n, onResize: r } = e, i = TS(r);+ let { ref: t, box: n, onResize: r } = e, i = DS(r);(0, P.useEffect)(() => {let e = t?.current;if (e) {- if (yae()) {+ if (Gae()) {let t = new window.ResizeObserver((e) => {e.length && i();});@@ -26348,11 +26528,11 @@ SD = {"zh-TW": xD};// node_modules/react-aria/dist/private/overlays/DismissButton.mjs-function bae(e) {+function Kae(e) {return e && e.__esModule ? e.default : e;}function CD(e) {- let { onDismiss: t, ...n } = e, r = DS(n, zS(bae(SD), "@react-aria/overlays").format("dismiss")), i = () => {+ let { onDismiss: t, ...n } = e, r = kS(n, VS(Kae(SD), "@react-aria/overlays").format("dismiss")), i = () => {t && t();};return /*#__PURE__*/ P.createElement(xw, null, /*#__PURE__*/ P.createElement("button", {@@ -26382,11 +26562,11 @@ function TD(e, t) {c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();}, d = (e) => {(!s || s(G(e))) && (wD[wD.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;- }, { keyboardProps: f } = qx({ shortcuts: { Escape: () => {+ }, { keyboardProps: f } = Yx({ shortcuts: { Escape: () => {if (!o) l();else return !1;} } });- iae({+ Aae({ref: t,onInteractOutside: a && i ? d : void 0,onInteractOutsideStart: u@@ -26394,7 +26574,7 @@ function TD(e, t) {let { focusWithinProps: p } = uw({isDisabled: !r,onBlurWithin: (e) => {- e.relatedTarget && !Oie(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();+ e.relatedTarget && !OC(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();}});return {@@ -26406,25 +26586,25 @@ function TD(e, t) {};}// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs-var xae = 200, Sae = 50, Cae = 600, ED = /* @__PURE__ */ new WeakMap(), DD = /* @__PURE__ */ new Set(), OD = /* @__PURE__ */ new Set();-function wae(e, t) {- let n = wS();+var qae = 200, Jae = 50, Yae = 600, ED = /* @__PURE__ */ new WeakMap(), DD = /* @__PURE__ */ new Set(), OD = /* @__PURE__ */ new Set();+function Xae(e, t) {+ let n = ES();if (e !== n || t.aborted) for (let e of OD) e(n), OD.delete(e);- if (!e && n && qb() && !t.aborted) window.clearInterval(ED.get(window)), ED.set(window, kD(xae));+ if (!e && n && Xb() && !t.aborted) window.clearInterval(ED.get(window)), ED.set(window, kD(qae));else {if (e !== n || t.aborted) for (let e of DD) e(n), DD.delete(e);(OD.size + DD.size <= 0 || t.aborted) && (window.clearInterval(ED.get(window)), ED.delete(window));}}-function kD(e = Cae) {- return window.setInterval(wae, Sae, wS(), AbortSignal.timeout(e));+function kD(e = Yae) {+ return window.setInterval(Xae, Jae, ES(), AbortSignal.timeout(e));}function AD(e) {- if (!xS()) return e(!1), () => {};+ if (!CS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = SS(document.hasFocus() ? xb() : null);- if (wS() === t || wS() && !t) return e(t);+ let t = wS(document.hasFocus() ? jb() : null);+ if (ES() === t || ES() && !t) return e(t);OD.add(e), ED.has(window) || ED.set(window, kD());});});@@ -26432,12 +26612,12 @@ function AD(e) {window.cancelAnimationFrame(t), OD.delete(e);};}-function Tae(e) {- if (!xS()) return e(!1), () => {};+function Zae(e) {+ if (!CS()) return e(!1), () => {};let t = window.requestAnimationFrame(() => {t = window.requestAnimationFrame(() => {- let t = SS(document.hasFocus() ? xb() : null);- if (wS() === t) return e(t);+ let t = wS(document.hasFocus() ? jb() : null);+ if (ES() === t) return e(t);DD.add(e), ED.has(window) || ED.set(window, kD());});});@@ -26449,30 +26629,30 @@ function Tae(e) {var jD = typeof document < "u" && window.visualViewport, MD = 0, ND;function PD(e = {}) {let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;- Nb(() => {- if (!t) return MD++, MD === 1 && (ND = Gb() && qb() ? Dae() : Eae(n)), () => {+ zb(() => {+ if (!t) return MD++, MD === 1 && (ND = Yb() && Xb() ? $ae() : Qae(n)), () => {MD--, MD === 0 && ND();};}, [t, n]);}-function Eae(e) {+function Qae(e) {let t = window.innerWidth - document.documentElement.clientWidth;- return Nx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? vb(document.documentElement, "scrollbar-gutter", "stable") : vb(document.documentElement, "padding-right", `${t}px`)), vb(document.documentElement, "overflow", "hidden"), e && ID(), e && xS() && FD());+ return Fx(t > 0 && ("scrollbarGutter" in document.documentElement.style ? Ob(document.documentElement, "scrollbar-gutter", "stable") : Ob(document.documentElement, "padding-right", `${t}px`)), Ob(document.documentElement, "overflow", "hidden"), e && ID(), e && CS() && FD());}-function Dae() {- let e = vb(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {+function $ae() {+ let e = Ob(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {let r = G(e);- t = NC(r, !0) ? r : PC(r, !0), n = !1;+ t = HC(r, !0) ? r : UC(r, !0), n = !1;let i = r.ownerDocument.defaultView.getSelection();i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);- }, i = document.createElement("style"), a = JS();+ }, i = document.createElement("style"), a = XS();a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);let o = (e) => {e.touches.length === 2 || n || (!t || t === document.documentElement || t === document.body || t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth) && e.preventDefault();- }, s = ID(), c = Nx(_b(document, "touchstart", r, {+ }, s = ID(), c = Fx(Db(document, "touchstart", r, {passive: !1,capture: !0- }), _b(document, "touchmove", o, {+ }), Db(document, "touchmove", o, {passive: !1,capture: !0}), FD());@@ -26481,9 +26661,9 @@ function Dae() {};}function FD() {- return _b(document, "blur", (e) => {+ return Db(document, "blur", (e) => {let t = G(e), n = e.relatedTarget;- n && SS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });+ n && wS(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });}, !0);}function ID() {@@ -26497,9 +26677,9 @@ function ID() {preventScroll: !0}), !t || !t.preventScroll) {let e = () => {- xb() === this && Oae(this);+ jb() === this && eoe(this);};- AD((t) => t ? e() : Tae(() => e()));+ AD((t) => t ? e() : Zae(() => e()));}}}), () => {@@ -26510,10 +26690,10 @@ function ID() {});};}-function Oae(e) {+function eoe(e) {let t = document.scrollingElement || document.documentElement, n = e;for (; n && n !== t && n.isConnected;) {- let e = PC(n);+ let e = UC(n);if (e !== document.documentElement && e !== document.body && e !== n) {let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();if (r.top < t.top || r.bottom > t.top + n.clientHeight) {@@ -26530,7 +26710,7 @@ function Oae(e) {}}// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs-function kae(e, t, n) {+function toe(e, t, n) {let { overlayProps: r, underlayProps: i } = TD({...e,isOpen: t.isOpen,@@ -26563,7 +26743,7 @@ var LD = {bottom: "top",left: "right",right: "left"-}, Aae = {+}, noe = {top: "left",left: "top"}, zD = {@@ -26572,14 +26752,14 @@ var LD = {}, BD = {width: "totalWidth",height: "totalHeight"-}, VD = {}, jae = () => typeof document < "u" ? window.visualViewport : null;+}, VD = {}, roe = () => typeof document < "u" ? window.visualViewport : null;function HD(e, t) {let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;if (e.tagName === "BODY" || e.tagName === "HTML") {let l = document.documentElement;i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));} else ({width: n, height: r, top: o, left: s} = JD(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;- return qb() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {+ return Xb() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {width: n,height: r,totalWidth: i,@@ -26589,7 +26769,7 @@ function HD(e, t) {left: s};}-function Mae(e) {+function ioe(e) {return {top: e.scrollTop,left: e.scrollLeft,@@ -26601,7 +26781,7 @@ function UD(e, t, n, r, i, a, o) {let s = i.scroll[e] ?? 0, c = r[zD[e]], l = o[e] + r.scroll[LD[e]] + a, u = o[e] + r.scroll[LD[e]] + c - a, d = t - s + r.scroll[LD[e]] + o[e] - r[LD[e]], f = t - s + n + r.scroll[LD[e]] + o[e] - r[LD[e]];return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;}-function Nae(e) {+function aoe(e) {let t = window.getComputedStyle(e);return {top: parseInt(t.marginTop, 10) || 0,@@ -26612,7 +26792,7 @@ function Nae(e) {}function WD(e) {if (VD[e]) return VD[e];- let [t, n] = e.split(" "), r = LD[t] || "right", i = Aae[r];+ let [t, n] = e.split(" "), r = LD[t] || "right", i = noe[r];LD[n] || (n = "center");let a = zD[r], o = zD[i];return VD[e] = {@@ -26634,7 +26814,7 @@ function GD(e, t, n, r, i, a, o, s, c, l, u) {} else _[p] = Math.floor(e[p] + e[h] + i);return _;}-function Pae(e, t, n, r, i, a, o, s, c, l, u) {+function ooe(e, t, n, r, i, a, o, s, c, l, u) {let d = (e.top == null ? c[BD.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))@@ -26645,7 +26825,7 @@ function KD(e, t, n, r, i, a, o, s) {let { placement: c, axis: l, size: u } = a;return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[RD[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[RD[l]] - i);}-function Fae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {+function soe(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {let v = WD(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = GD(t, s, n, v, u, d, l, f, m, h, c), T = u, E = KD(s, l, t, i, a + u, v, c, g);if (o && n[y] > E) {let e = WD(`${RD[S]} ${C}`), r = GD(t, s, n, e, u, d, l, f, m, h, c);@@ -26655,7 +26835,7 @@ function Fae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));let O = UD(b, w[b], n[x], s, c, a, l);w[b] += O;- let k = Pae(w, s, l, f, i, a, n.height, D, c, g, _);+ let k = ooe(w, s, l, f, i, a, n.height, D, c, g, _);p && p < k && (k = p), n.height = Math.min(n.height, k), w = GD(t, s, n, v, T, d, l, f, m, h, c), O = UD(b, w[b], n[x], s, c, a, l), w[b] += O;let A = {}, j = t[b] - w[b] - i[LD[b]], M = j + .5 * t[x], ee = m / 2 + h, te = LD[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), ne = n[x] - te - m / 2 - h;A[b] = pw(pw(M, t[b] + m / 2 - (w[b] + i[LD[b]]), t[b] + t[x] - m / 2 - (w[b] + i[LD[b]])), ee, ne), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);@@ -26672,15 +26852,15 @@ function Fae(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {triggerAnchorPoint: re};}-function Iae(e) {- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = jae(), h = r instanceof HTMLElement ? Lae(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? JD(n, !1, p) : YD(n, h, !1, p);+function coe(e) {+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = roe(), h = r instanceof HTMLElement ? loe(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? JD(n, !1, p) : YD(n, h, !1, p);if (!g) {let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;}- let b = JD(r, !0), x = Nae(r);+ let b = JD(r, !0), x = aoe(r);b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);- let S = Mae(i), C = HD(s, m), w = HD(h, m), T;+ let S = ioe(i), C = HD(s, m), w = HD(h, m), T;if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {let e = qD(h, !1);T = {@@ -26695,8 +26875,8 @@ function Iae(e) {width: 0,height: 0} : YD(s, h, !1);- let E = bb(s, h);- return Fae(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);+ let E = Ab(s, h);+ return soe(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);}function qD(e, t) {let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();@@ -26726,7 +26906,7 @@ function YD(e, t, n, r) {}return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;}-function Lae(e) {+function loe(e) {let t = e.offsetParent;if (t && t === document.body && window.getComputedStyle(t).position === "static" && !XD(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !XD(t);) t = t.parentElement;return t || document.documentElement;@@ -26737,8 +26917,8 @@ function XD(e) {}// node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjsvar ZD = typeof document < "u" ? window.visualViewport : null;-function Rae(e) {- let { direction: t } = NS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, P.useState)(null), x = [+function uoe(e) {+ let { direction: t } = FS(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, P.useState)(null), x = [p,s,i.current,@@ -26762,8 +26942,8 @@ function Rae(e) {let C = (0, P.useCallback)(() => {if (p === !1 || !m || !i.current || !r.current || !u || ZD?.scale !== S.current) return;let e = null;- if (o.current && Cb(o.current)) {- let t = xb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();+ if (o.current && Nb(o.current)) {+ let t = jb()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();e = {type: "top",offset: (t?.top ?? 0) - n.top@@ -26771,8 +26951,8 @@ function Rae(e) {}let h = i.current;!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");- let y = Iae({- placement: Bae(s, t),+ let y = coe({+ placement: foe(s, t),overlayNode: i.current,targetNode: r.current,scrollNode: o.current || i.current,@@ -26788,14 +26968,14 @@ function Rae(e) {});if (!y.position) return;h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";- let x = xb();+ let x = jb();if (e && x && o.current) {let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];o.current.scrollTop += r - e.offset;}b(y);}, x);- Nb(C, x), zae(C), VE({+ zb(C, x), doe(C), VE({ref: i,onResize: C}), VE({@@ -26803,7 +26983,7 @@ function Rae(e) {onResize: C});let w = (0, P.useRef)(!1);- Nb(() => {+ zb(() => {let e, t = () => {w.current = !0, clearTimeout(e), e = setTimeout(() => {w.current = !1;@@ -26812,7 +26992,7 @@ function Rae(e) {w.current && t();};ZD?.addEventListener("resize", t), ZD?.addEventListener("scroll", n);- let r = _b(Sb(window), "scroll", n);+ let r = Db(Mb(window), "scroll", n);return () => {ZD?.removeEventListener("resize", t), ZD?.removeEventListener("scroll", n), r();};@@ -26820,7 +27000,7 @@ function Rae(e) {let T = (0, P.useCallback)(() => {w.current || h?.();}, [h, w]);- return Jie({+ return bae({triggerRef: r,isOpen: m,onClose: h && T@@ -26846,16 +27026,16 @@ function Rae(e) {updatePosition: C};}-function zae(e) {- Nb(() => (window.addEventListener("resize", e, !1), () => {+function doe(e) {+ zb(() => (window.addEventListener("resize", e, !1), () => {window.removeEventListener("resize", e, !1);}), [e]);}-function Bae(e, t) {+function foe(e, t) {return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");}// node_modules/react-aria/dist/private/overlays/usePopover.mjs-function Vae(e, t) {+function poe(e, t) {let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = TD({isOpen: t.isOpen,onClose: t.close,@@ -26863,7 +27043,7 @@ function Vae(e, t) {isDismissable: !a || l,isKeyboardDismissDisabled: o,shouldCloseOnInteractOutside: s- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Rae({+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = uoe({...c,targetRef: n,overlayRef: r,@@ -26891,10 +27071,10 @@ function Vae(e, t) {// node_modules/react-aria/dist/private/radio/utils.mjsvar QD = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/radio/useRadio.mjs-function Hae(e, t, n) {+function moe(e, t, n) {let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {e.stopPropagation(), t.setSelectedValue(r);- }, { pressProps: g, isPressed: _ } = tC({+ }, { pressProps: g, isPressed: _ } = iC({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -26902,7 +27082,7 @@ function Hae(e, t, n) {onPressUp: d,onClick: f,isDisabled: p- }), { pressProps: v, isPressed: y } = tC({+ }), { pressProps: v, isPressed: y } = iC({onPressStart: s,onPressEnd: c,onPressChange: l,@@ -26912,11 +27092,11 @@ function Hae(e, t, n) {onPress(e) {u?.(e), t.setSelectedValue(r), n.current?.focus();}- }), { focusableProps: b } = Zx(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = VS(e, { labelable: !0 }), C = -1;+ }), { focusableProps: b } = $x(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = US(e, { labelable: !0 }), C = -1;t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = QD.get(t);- HC(n, t.defaultSelectedValue, t.setSelectedValue), UC({ validationBehavior: O }, t, n);- let k = JC();+ YC(n, t.defaultSelectedValue, t.setSelectedValue), XC({ validationBehavior: O }, t, n);+ let k = ZC();return {labelProps: K(v, (0, P.useMemo)(() => ({onClick: (e) => e.preventDefault(),@@ -26947,13 +27127,13 @@ function Hae(e, t, n) {};}// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs-function Uae(e, t) {- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = NS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = lw({+function hoe(e, t) {+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = FS(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = lw({...e,labelElementType: "span",isInvalid: t.isInvalid,errorMessage: e.errorMessage || d- }), _ = VS(e, { labelable: !0 }), { focusWithinProps: v } = uw({+ }), _ = US(e, { labelable: !0 }), { focusWithinProps: v } = uw({onBlurWithin(n) {e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);},@@ -26961,13 +27141,13 @@ function Uae(e, t) {onFocusWithinChange: e.onFocusChange});function y(e, n) {- let r = wC(n.currentTarget, {+ let r = FC(n.currentTarget, {from: G(n),- accept: (e) => e instanceof mb(e).HTMLInputElement && e.type === "radio"+ accept: (e) => e instanceof wb(e).HTMLInputElement && e.type === "radio"}), i;return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;}- let { keyboardProps: b } = qx({+ let { keyboardProps: b } = Yx({shortcuts: {ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),@@ -26975,7 +27155,7 @@ function Uae(e, t) {ArrowUp: (e) => y("prev", e)},allowRepeats: !0- }), x = Lx(n);+ }), x = zx(n);return QD.set(t, {name: x,form: r,@@ -27005,7 +27185,7 @@ function Uae(e, t) {}// node_modules/react-aria/dist/private/select/useSelect.mjsvar $D = /* @__PURE__ */ new WeakMap();-function Wae(e, t, n) {+function goe(e, t, n) {let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = MT({usage: "search",sensitivity: "base"@@ -27018,7 +27198,7 @@ function Wae(e, t, n) {]), { menuTriggerProps: d, menuProps: f } = vT({isDisabled: i,type: "listbox"- }, t, n), { keyboardProps: p } = qx({+ }, t, n), { keyboardProps: p } = Yx({shortcuts: {ArrowLeft: () => {if (t.selectionManager.selectionMode === "multiple") return !1;@@ -27047,7 +27227,7 @@ function Wae(e, t, n) {errorMessage: e.errorMessage || g});t.selectionManager.selectionMode === "multiple" && (m = {});- let S = VS(e, { labelable: !0 }), C = K(m, d, y), w = Lx();+ let S = US(e, { labelable: !0 }), C = K(m, d, y), w = zx();return $D.set(t, {isDisabled: i,isRequired: a,@@ -27058,13 +27238,13 @@ function Wae(e, t, n) {labelProps: {...v,onClick: () => {- e.isDisabled || (n.current?.focus(), Sx("keyboard"));+ e.isDisabled || (n.current?.focus(), wx("keyboard"));}},triggerProps: K(S, {...C,isDisabled: i,- onKeyDown: Nx(C.onKeyDown, p.onKeyDown),+ onKeyDown: Fx(C.onKeyDown, p.onKeyDown),onKeyUp: p.onKeyUp,"aria-labelledby": [w,@@ -27088,7 +27268,7 @@ function Wae(e, t, n) {disallowEmptySelection: !0,linkBehavior: "selection",onBlur: (n) => {- bb(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));+ Ab(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));},"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")},@@ -27108,13 +27288,13 @@ function Wae(e, t, n) {};}// node_modules/react-aria/dist/private/select/HiddenSelect.mjs-function Gae(e, t, n) {+function _oe(e, t, n) {let r = $D.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = bw({ style: {position: "fixed",top: 0,left: 0} });- HC(e.selectRef, t.defaultValue, t.setValue), UC({+ YC(e.selectRef, t.defaultValue, t.setValue), XC({validationBehavior: c,focus: () => n.current?.focus()}, t, e.selectRef);@@ -27144,8 +27324,8 @@ function Gae(e, t, n) {}};}-function Kae(e) {- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, P.useRef)(null), c = (0, P.useRef)(null), { containerProps: l, selectProps: u } = Gae({+function voe(e) {+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, P.useRef)(null), c = (0, P.useRef)(null), { containerProps: l, selectProps: u } = _oe({...e,selectRef: t.collection.size <= 300 ? s : c}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];@@ -27199,8 +27379,8 @@ function Kae(e) {return null;}// node_modules/react-aria/dist/private/separator/useSeparator.mjs-function qae(e) {- let t = VS(e, { labelable: !0 }), n;+function yoe(e) {+ let t = US(e, { labelable: !0 }), n;return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {...t,role: "separator",@@ -27208,7 +27388,7 @@ function qae(e) {} };}// node_modules/react-aria/dist/private/switch/useSwitch.mjs-function Jae(e, t, n) {+function boe(e, t, n) {let { labelProps: r, inputProps: i, isSelected: a, ...o } = ow(e, t, n);return {labelProps: r,@@ -27225,7 +27405,7 @@ function Jae(e, t, n) {var eO = 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 Yae(e.layout) : new Nw(e.ref)), this.focusMode = e.focusMode ?? "row";+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new xoe(e.layout) : new Nw(e.ref)), this.focusMode = e.focusMode ?? "row";}isCell(e) {return e.type === "cell";@@ -27391,7 +27571,7 @@ var eO = class {}return null;}-}, Yae = class {+}, xoe = class {constructor(e) {this.layout = e;}@@ -27406,13 +27586,13 @@ var eO = class {}}, tO = /* @__PURE__ */ new WeakMap();// node_modules/react-aria/dist/private/grid/useGrid.mjs-function Xae(e, t, n) {+function Soe(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 = MT({usage: "search",sensitivity: "base"- }), { direction: g } = NS(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new eO({+ }), { direction: g } = FS(), _ = t.selectionManager.disabledBehavior, v = (0, P.useMemo)(() => a || new eO({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: _,@@ -27437,7 +27617,7 @@ function Xae(e, t, n) {scrollRef: s,disallowTypeAhead: i,escapeKeyBehavior: d- }), b = Lx(e.id);+ }), b = zx(e.id);tO.set(t, {keyboardDelegate: v,actions: {@@ -27450,8 +27630,8 @@ function Xae(e, t, n) {let x = jE({selectionManager: m,hasItemActions: !!(l || u)- }), S = VS(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {- m.isFocused ? bb(e.currentTarget, G(e)) || m.setFocused(!1) : bb(e.currentTarget, G(e)) && m.setFocused(!0);+ }), S = US(e, { labelable: !0 }), C = (0, P.useCallback)((e) => {+ m.isFocused ? Ab(e.currentTarget, G(e)) || m.setFocused(!1) : Ab(e.currentTarget, G(e)) && m.setFocused(!0);}, [m]), w = (0, P.useMemo)(() => ({onBlur: y.onBlur,onFocus: C@@ -28029,7 +28209,7 @@ VO = {"zh-TW": BO};// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs-var Zae = class extends eO {+var Coe = class extends eO {isCell(e) {return e.type === "cell" || e.type === "rowheader" || e.type === "column";}@@ -28106,14 +28286,14 @@ var Zae = class extends eO {}};// node_modules/react-aria/dist/private/table/useTable.mjs-function Qae(e) {+function woe(e) {return e && e.__esModule ? e.default : e;}-function $ae(e, t, n) {+function Toe(e, t, n) {let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = MT({usage: "search",sensitivity: "base"- }), { direction: c } = NS(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new Zae({+ }), { direction: c } = FS(), l = t.selectionManager.disabledBehavior, u = (0, P.useMemo)(() => r || new Coe({collection: t.collection,disabledKeys: t.disabledKeys,disabledBehavior: l,@@ -28132,49 +28312,49 @@ function $ae(e, t, n) {s,a,o- ]), d = Lx(e.id);+ ]), d = zx(e.id);nO.set(t, d);- let { gridProps: f } = Xae({+ let { gridProps: f } = Soe({...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 = zS(Qae(VO), "@react-aria/table"), g = (0, P.useMemo)(() => {+ let { column: p, direction: m } = t.sortDescriptor || {}, h = VS(woe(VO), "@react-aria/table"), g = (0, P.useMemo)(() => {let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;}, [m,p,t.collection.columns- ]), _ = VC(g);- return MC(() => {- g && AC(g, "assertive", 500);+ ]), _ = JC(g);+ return VC(() => {+ g && BC(g, "assertive", 500);}, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };}// node_modules/react-aria/dist/private/grid/useGridCell.mjsfunction HO(e, t, n) {- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = NS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = tO.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = () => {+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = FS(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = tO.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = () => {if (n.current) {- let e = wC(n.current);+ let e = FC(n.current);if (p === "child") {- let i = xb(pb(n.current));- if (Cb(n.current) && n.current !== i) return;- let a = pb(n.current);+ let i = jb(Cb(n.current));+ if (Nb(n.current) && n.current !== i) return;+ let a = Cb(n.current);if (!i || i === a.body || i === n.current) {let e = h.current;- if (e && m.current === r.key && bb(n.current, e)) {- Mx(e);+ if (e && m.current === r.key && Ab(n.current, e)) {+ Px(e);return;}}let o = t.selectionManager.childFocusStrategy === "last" ? UO(e) : e.firstChild();if (o) {- Mx(o);+ Px(o);return;}}- (m.current != null && r.key !== m.current || !Cb(n.current)) && Mx(n.current);+ (m.current != null && r.key !== m.current || !Nb(n.current)) && Px(n.current);}}, { itemProps: _, isPressed: v } = NE({selectionManager: t.selectionManager,@@ -28188,44 +28368,44 @@ function HO(e, t, n) {}), y = K(_, {role: "gridcell",onKeyDownCapture: f !== "tab" || o ? (e) => {- let i = xb(pb(n.current));- if (!bb(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;- let a = wC(n.current);+ let i = jb(Cb(n.current));+ if (!Ab(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;+ let a = FC(n.current);switch (a.currentNode = i, e.key) {case "ArrowLeft": {let t = l === "rtl" ? a.nextNode() : a.previousNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Mx(t), RC(t, { containingElement: PC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Px(t), KC(t, { containingElement: UC(n.current) });else {if (u.getKeyLeftOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "rtl" ? (Mx(n.current), RC(n.current, { containingElement: PC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : UO(a), t && (Mx(t), RC(t, { containingElement: PC(n.current) })));+ p === "cell" && l === "rtl" ? (Px(n.current), KC(n.current, { containingElement: UC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : UO(a), t && (Px(t), KC(t, { containingElement: UC(n.current) })));}break;}case "ArrowRight": {let t = l === "rtl" ? a.previousNode() : a.nextNode();- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Mx(t), RC(t, { containingElement: PC(n.current) });+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) Px(t), KC(t, { containingElement: UC(n.current) });else {if (u.getKeyRightOf?.(r.key) !== r.key) {n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));break;}- p === "cell" && l === "ltr" ? (Mx(n.current), RC(n.current, { containingElement: PC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? UO(a) : a.firstChild(), t && (Mx(t), RC(t, { containingElement: PC(n.current) })));+ p === "cell" && l === "ltr" ? (Px(n.current), KC(n.current, { containingElement: UC(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? UO(a) : a.firstChild(), t && (Px(t), KC(t, { containingElement: UC(n.current) })));}break;}case "ArrowUp":- case "ArrowDown": !e.altKey && bb(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));+ case "ArrowDown": !e.altKey && Ab(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));}} : void 0,onKeyDown: f === "tab" ? (e) => {- let r = xb(pb(n.current));- if (bb(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {+ let r = jb(Cb(n.current));+ if (Ab(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {if (f === "tab" && G(e) !== n.current && e.key !== "Tab") e.stopPropagation();else if (e.key === "Tab" && f === "tab") {- let t = wC(n.current, { tabbable: !0 });+ let t = FC(n.current, { tabbable: !0 });t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();}}@@ -28236,9 +28416,9 @@ function HO(e, t, n) {onFocus: (e) => {if (m.current = r.key, G(e) !== n.current) {let i = G(e);- n.current && bb(n.current, i) && (h.current = i), bx() || t.selectionManager.setFocusedKey(r.key);- } else p === "child" && e.relatedTarget && bb(n.current, e.relatedTarget) || requestAnimationFrame(() => {- p === "child" && xb(pb(n.current)) === n.current && g();+ n.current && Ab(n.current, i) && (h.current = i), Sx() || t.selectionManager.setFocusedKey(r.key);+ } else p === "child" && e.relatedTarget && Ab(n.current, e.relatedTarget) || requestAnimationFrame(() => {+ p === "child" && jb(Cb(n.current)) === n.current && g();});},...p === "child" && f === "tab" ? { tabIndex: -1 } : {}@@ -28261,7 +28441,7 @@ function UO(e) {return t;}// node_modules/react-aria/dist/private/table/useTableCell.mjs-function eoe(e, t, n) {+function Eoe(e, t, n) {let { gridCellProps: r, isPressed: i } = HO(e, t, n), a = e.node.column?.key;return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = aO(t, e.node.parentKey, a)), {gridCellProps: r,@@ -28269,24 +28449,24 @@ function eoe(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs-function toe(e) {+function Doe(e) {return e && e.__esModule ? e.default : e;}-function noe(e, t, n) {+function Ooe(e, t, n) {let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = HO({focusMode: "child",...e- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = tC({+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = iC({isDisabled: !i || o,onPress() {t.sort(r.key);},ref: n- }), { focusableProps: l } = Zx({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;- r.props.allowsSorting && !Yb() && (u = d ? f : "none");- let p = zS(toe(VO), "@react-aria/table"), m;- i && (m = `${p.format("sortable")}`, d && f && Yb() && (m = `${m}, ${p.format(f)}`));- let h = VC(m), g = t.collection.size === 0;+ }), { focusableProps: l } = $x({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;+ r.props.allowsSorting && !Qb() && (u = d ? f : "none");+ let p = VS(Doe(VO), "@react-aria/table"), m;+ i && (m = `${p.format("sortable")}`, d && f && Qb() && (m = `${m}, ${p.format(f)}`));+ let h = JC(m), g = t.collection.size === 0;return (0, P.useEffect)(() => {g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);}, [@@ -28305,17 +28485,17 @@ function noe(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs-function roe(e) {+function koe(e) {return e && e.__esModule ? e.default : e;}-function ioe(e, t, n) {- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = zS(roe(VO), "@react-aria/table"), d = Lx(), f = t.resizingColumn === r.key, p = (0, P.useRef)(f), m = (0, P.useRef)(null), h = (0, P.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, P.useState)(!1), { direction: y } = NS(), b = (0, P.useCallback)((e) => {+function Aoe(e, t, n) {+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = VS(koe(VO), "@react-aria/table"), d = zx(), f = t.resizingColumn === r.key, p = (0, P.useRef)(f), m = (0, P.useRef)(null), h = (0, P.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, P.useState)(!1), { direction: y } = FS(), b = (0, P.useCallback)((e) => {p.current || (m.current = t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.startResize(e.key), t.tableState.setKeyboardNavigationDisabled(!0), o?.(m.current)), p.current = !0;}, [t, o]), x = (0, P.useCallback)((e, n) => {let r = t.updateResizedColumns(e.key, n);s?.(r), m.current = r;}, [t, s]), S = (0, P.useCallback)((e) => {- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && Mx(i.current)), m.current = null;+ p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && Px(i.current)), m.current = null;}, [t,i,@@ -28323,7 +28503,7 @@ function ioe(e, t, n) {]), C = () => {if (g) S(r);else return !1;- }, { keyboardProps: w } = qx({ shortcuts: {+ }, { keyboardProps: w } = Yx({ shortcuts: {Escape: () => C(),Enter: () => {g ? S(r) : b(r);@@ -28346,9 +28526,9 @@ function ioe(e, t, n) {g && E.onKeyDown?.(e);}, [g, E]), O = Math.floor(t.getColumnMinWidth(r.key)), k = Math.floor(t.getColumnMaxWidth(r.key));k === Infinity && (k = 2 ** 53 - 1);- let A = Math.floor(t.getColumnWidth(r.key)), j = Cx();+ let A = Math.floor(t.getColumnWidth(r.key)), j = Tx();j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");- let M = VC(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {+ let M = JC(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {"aria-label": l,"aria-orientation": "horizontal","aria-labelledby": `${d} ${iO(t.tableState, r.key)}`,@@ -28359,11 +28539,11 @@ function ioe(e, t, n) {value: A,...M}, te = (0, P.useCallback)(() => {- n.current && Mx(n.current);- }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = TS(b);+ n.current && Px(n.current);+ }, [n]), ne = t.resizingColumn, N = (0, P.useRef)(null), re = DS(b);(0, P.useEffect)(() => {if (N.current !== ne && ne != null && ne === r.key) {- h.current = xb() === n.current, re(r);+ h.current = jb() === n.current, re(r);let e = setTimeout(() => te(), 0), t = setTimeout(te, 400);return () => {clearTimeout(e), clearTimeout(t);@@ -28379,7 +28559,7 @@ function ioe(e, t, n) {let ie = (e) => {let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);i = i > n ? n + 10 : n - 10, x(r, i);- }, { pressProps: F } = tC({+ }, { pressProps: F } = iC({preventFocusOnPress: !0,onPressStart: (e) => {e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (te(), e.pointerType !== "virtual" && b(r)));@@ -28406,19 +28586,19 @@ function ioe(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs-function aoe(e, t, n) {+function joe(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 };}// node_modules/react-aria/dist/private/grid/useGridRow.mjs-function ooe(e, t, n) {+function Moe(e, t, n) {let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = tO.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = NE({selectionManager: t.selectionManager,key: r.key,ref: n,isVirtualized: i,shouldSelectOnPressUp: c || a,- onAction: l || r?.props?.onAction ? Nx(r?.props?.onAction, l) : void 0,+ onAction: l || r?.props?.onAction ? Fx(r?.props?.onAction, l) : void 0,isDisabled: t.collection.size === 0}), f = t.selectionManager.isSelected(r.key), p = {role: "row",@@ -28432,7 +28612,7 @@ function ooe(e, t, n) {};}// node_modules/react-aria/dist/private/table/useTableRow.mjs-function soe(e) {+function Noe(e) {return e && e.__esModule ? e.default : e;}var WO = {@@ -28445,10 +28625,10 @@ var WO = {rtl: "ArrowRight"}};-function coe(e, t, n) {- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = ooe(e, t, n), { direction: s } = NS();+function Poe(e, t, n) {+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Moe(e, t, n), { direction: s } = FS();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 = zS(soe(VO), "@react-aria/table"), u = DS({+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = VS(Noe(VO), "@react-aria/table"), u = kS({"aria-label": c ? l.format("collapse") : l.format("expand"),"aria-labelledby": oO(t, r.key)}), d = {}, f = {};@@ -28477,7 +28657,7 @@ function coe(e, t, n) {};}}- let p = ex(r.props), m = o.hasAction ? p : {};+ let p = nx(r.props), m = o.hasAction ? p : {};return {rowProps: {...K(a, d, m),@@ -28491,28 +28671,28 @@ function GO(e, t) {return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);}// node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs-function loe() {+function Foe() {return { rowGroupProps: { role: "rowgroup" } };}// node_modules/react-aria/dist/private/table/useTableRowGroup.mjsfunction KO() {- return loe();+ return Foe();}// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs-function uoe(e) {+function Ioe(e) {return e && e.__esModule ? e.default : e;}-function doe(e, t) {+function Loe(e, t) {let { key: n } = e, { checkboxProps: r } = zE(e, t);return { checkboxProps: {...r,"aria-labelledby": `${r.id} ${oO(t, n)}`} };}-function foe(e) {+function Roe(e) {let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;return { checkboxProps: {- "aria-label": zS(uoe(VO), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),+ "aria-label": VS(Ioe(VO), "@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,@@ -28525,7 +28705,7 @@ function JO(e, t, n) {return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${qO.get(e)}-${n}-${t}`) : "";}// node_modules/react-aria/dist/private/tabs/useTab.mjs-function poe(e, t, n) {+function zoe(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 } = NE({selectionManager: o,key: r,@@ -28533,9 +28713,9 @@ function poe(e, t, n) {isDisabled: l,shouldSelectOnPressUp: a ?? u?.props.href != null,linkBehavior: "selection"- }), p = JO(t, r, "tab"), m = JO(t, r, "tabpanel"), { tabIndex: h } = d, g = VS(u?.props, { labelable: !0 });+ }), p = JO(t, r, "tab"), m = JO(t, r, "tabpanel"), { tabIndex: h } = d, g = US(u?.props, { labelable: !0 });delete g.id;- let _ = tx(u?.props), { focusableProps: v } = Zx({+ let _ = rx(u?.props), { focusableProps: v } = $x({...u?.props,isDisabled: l}, n);@@ -28554,7 +28734,7 @@ function poe(e, t, n) {};}// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs-var moe = class {+var Boe = class {constructor(e, t, n, r = /* @__PURE__ */ new Set()) {this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";}@@ -28597,11 +28777,11 @@ var moe = class {}};// node_modules/react-aria/dist/private/tabs/useTabList.mjs-function hoe(e, t, n) {- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = NS(), { collectionProps: l } = ST({+function Voe(e, t, n) {+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = FS(), { collectionProps: l } = ST({ref: n,selectionManager: o,- keyboardDelegate: (0, P.useMemo)(() => new moe(a, c, r, s), [+ keyboardDelegate: (0, P.useMemo)(() => new Boe(a, c, r, s), [a,s,r,@@ -28611,9 +28791,9 @@ function hoe(e, t, n) {disallowEmptySelection: !0,scrollRef: n,linkBehavior: "selection"- }), u = Lx();+ }), u = zx();return qO.set(t, u), { tabListProps: {- ...K(l, DS({+ ...K(l, kS({...e,id: u})),@@ -28623,9 +28803,9 @@ function hoe(e, t, n) {} };}// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs-function goe(e, t, n) {+function Hoe(e, t, n) {let r = AE(n) ? void 0 : 0, i = JO(t, e.id ?? t?.selectedKey, "tabpanel");- return { tabPanelProps: K(DS({+ return { tabPanelProps: K(kS({...e,id: i,"aria-labelledby": JO(t, t?.selectedKey, "tab")@@ -28637,8 +28817,8 @@ function goe(e, t, n) {}) };}// node_modules/react-aria/dist/private/tree/useTree.mjs-function _oe(e, t, n) {- let { gridProps: r } = cae(e, t, n);+function Uoe(e, t, n) {+ let { gridProps: r } = Pae(e, t, n);return r.role = "treegrid", { gridProps: r };}// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs@@ -28884,18 +29064,18 @@ kk = {"zh-TW": Ok};// node_modules/react-aria/dist/private/tree/useTreeItem.mjs-function voe(e) {+function Woe(e) {return e && e.__esModule ? e.default : e;}function Ak(e, t, n) {- let { node: r } = e, i = lae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = zS(voe(kk), "@react-aria/tree"), s = {+ let { node: r } = e, i = Fae(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = VS(Woe(kk), "@react-aria/tree"), s = {onPress: () => {i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));},excludeFromTabOrder: !0,preventFocusOnPress: !0,"data-react-aria-prevent-focus": !0,- ...DS({+ ...kS({"aria-label": a ? o.format("collapse") : o.format("expand"),"aria-labelledby": i.rowProps.id})@@ -28906,15 +29086,15 @@ function Ak(e, t, n) {};}// src/react/components/selection-dock.tsx-var jk = "(prefers-reduced-motion: reduce)", yoe = () => matchMedia(jk).matches, boe = (e) => {+var jk = "(prefers-reduced-motion: reduce)", Goe = () => matchMedia(jk).matches, Koe = (e) => {let t = matchMedia(jk);return t.addEventListener("change", e), () => t.removeEventListener("change", e);}, Mk = /* @__PURE__ */ new Map(), Nk = () => {let e = document.documentElement;Mk.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...Mk.values())}px`) : e.style.removeProperty("--selection-dock-space");};-function xoe({ children: e, count: t, label: n }) {- let r = (0, P.useRef)(null), i = py(), a = (0, P.useSyncExternalStore)(boe, yoe, () => !1), { isFocusVisible: o } = wx(), s = a || o, c = {+function qoe({ children: e, count: t, label: n }) {+ let r = (0, P.useRef)(null), i = by(), a = (0, P.useSyncExternalStore)(Koe, Goe, () => !1), { isFocusVisible: o } = Ex(), s = a || o, c = {opacity: 0,transform: "translate(-50%, 8px)"};@@ -28927,7 +29107,7 @@ function xoe({ children: e, count: t, label: n }) {return n.observe(e), window.addEventListener("resize", t), t(), () => {n.disconnect(), window.removeEventListener("resize", t), Mk.delete(e), Nk();};- }, [i]), /* @__PURE__ */ (0, F.jsxs)(nb.div, {+ }, [i]), /* @__PURE__ */ (0, F.jsxs)(db.div, {ref: r,role: "group","aria-label": n,@@ -28961,7 +29141,7 @@ function xoe({ children: e, count: t, label: n }) {});}function Pk({ visible: e, ...t }) {- return /* @__PURE__ */ (0, F.jsx)(gy, { children: e ? /* @__PURE__ */ (0, F.jsx)(xoe, { ...t }, "selection") : null });+ return /* @__PURE__ */ (0, F.jsx)(wy, { children: e ? /* @__PURE__ */ (0, F.jsx)(qoe, { ...t }, "selection") : null });}// src/react/batch-dock/batch-dock-api.tsvar Fk = {@@ -28970,7 +29150,7 @@ var Fk = {label: "取消",glyph: "x"};-function Soe(e, t = !1) {+function Joe(e, t = !1) {switch (e) {case "trash": return [{@@ -29072,28 +29252,28 @@ var Ik = null, Lk = {context: "catalog",junkDismissed: !1}, Rk = /* @__PURE__ */ new Set();-function Coe(e) {+function Yoe(e) {return Rk.add(e), () => {Rk.delete(e);};}-function woe() {+function Xoe() {for (let e of [...Rk]) e();}-var Toe = { render(e) {- Lk = e, (0, Lt.flushSync)(woe);+var Zoe = { render(e) {+ Lk = e, (0, Lt.flushSync)(Xoe);} };-function Eoe(e) {- return Ik = e, Toe;+function Qoe(e) {+ return Ik = e, Zoe;}-function Doe() {- let e = (0, P.useSyncExternalStore)(Coe, () => Lk);- return Ik ? /* @__PURE__ */ (0, F.jsx)(Ooe, {+function $oe() {+ let e = (0, P.useSyncExternalStore)(Yoe, () => Lk);+ return Ik ? /* @__PURE__ */ (0, F.jsx)(ese, {host: Ik,props: e}) : null;}-function Ooe({ host: e, props: t }) {+function ese({ host: e, props: t }) {let n = t.count > 0;return (0, P.useLayoutEffect)(() => {document.body.toggleAttribute("data-batch-dock-open", n);@@ -29107,7 +29287,7 @@ function Ooe({ host: e, props: t }) {label: "所选项目操作",visible: t.count > 0,count: `已选 ${t.count.toLocaleString()} 项`,- children: Soe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: Joe(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-batch-group": t.group,"data-batch-action": t.operation,@@ -29127,7 +29307,7 @@ function zk(e, t, n, r) {return Number.isInteger(e) && e >= t && e <= n ? e : r;}// src/settings-store.ts-function koe(e, t) {+function tse(e, t) {let n = /* @__PURE__ */ new Set(), r = 0, i = () => {r += 1, n.forEach((e) => e());};@@ -29196,7 +29376,7 @@ var Xk = ["spot1","spot2","spot3"-], Aoe = [+], nse = ["光晕一","光晕二","光晕三"@@ -29524,7 +29704,7 @@ var Xk = [},"blue"]-], $k = (e) => e === Zk, eA = [...Qk.map(([e, t]) => [e, t]), ["custom", "自定义"]], joe = (e) => (eA.find(([t]) => t === e) || eA[0])[1], tA = (e) => structuredClone((Qk.find(([t]) => t === e) || Qk[0])[2]), nA = [+], $k = (e) => e === Zk, eA = [...Qk.map(([e, t]) => [e, t]), ["custom", "自定义"]], rse = (e) => (eA.find(([t]) => t === e) || eA[0])[1], tA = (e) => structuredClone((Qk.find(([t]) => t === e) || Qk[0])[2]), nA = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -29537,7 +29717,7 @@ var Xk = [["violet", "紫罗兰"],["fuchsia", "品红"],["rose", "玫红"]-], rA = "blue", iA = (e) => nA.some(([t]) => t === e) ? e : rA, Moe = (e) => (Qk.find(([t]) => t === e) || [])[3] || "blue", Noe = [+], rA = "blue", iA = (e) => nA.some(([t]) => t === e) ? e : rA, ise = (e) => (Qk.find(([t]) => t === e) || [])[3] || "blue", ase = [["all", "全部"],["gray", "灰"],["red", "红"],@@ -29547,7 +29727,7 @@ var Xk = [["blue", "蓝"],["purple", "紫"],["brown", "棕"]-], Poe = [+], ose = [["gray","云灰",@@ -29943,11 +30123,11 @@ var Xk = ["霁蓝","#6686b8"]-], aA = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, oA = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, Foe = (e, t) => `rgba(${[+], aA = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, oA = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, sse = (e, t) => `rgba(${[1,3,5-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, Ioe = {+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, cse = {strength: [0,100,@@ -29988,7 +30168,7 @@ function cA(e) {on: t.on !== !1,preset: r};- for (let [e, [n, r, i]] of Object.entries(Ioe)) a[e] = aA(+t[e], n, r, i);+ for (let [e, [n, r, i]] of Object.entries(cse)) a[e] = aA(+t[e], n, r, i);for (let e of Xk) {let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];a[e] = {@@ -29998,8 +30178,8 @@ function cA(e) {}return a;}-var Loe = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, lA = /* @__PURE__ */ new WeakMap();-function Roe(e, t) {+var lse = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, lA = /* @__PURE__ */ new WeakMap();+function uA(e, t) {if (!e) return;let n = lA.get(e);n || (n = /* @__PURE__ */ new Map(), lA.set(e, n));@@ -30008,29 +30188,29 @@ function Roe(e, t) {};i("--glow-strength", String(r ? t.strength / 100 : 0)), i("--glow-noise", String(r ? t.noise / 100 : 0)), i("--glow-soften", (.7 + t.soften / 100 * .6).toFixed(3)), i("--glow-size", (.5 + t.size / 100).toFixed(3)), i("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), i("--glow-drift-play", t.speed ? "running" : "paused"), Xk.forEach((e, n) => {let r = t[e];- i(`--glow-spot-${n + 1}-color`, Foe(r.color, r.alpha));+ i(`--glow-spot-${n + 1}-color`, sse(r.color, r.alpha));});}-function zoe(e, t) {+function dA(e, t) {if (!e) return;let n = !t.on || $k(t.preset);e.toggleAttribute("data-glow-native", n), e.style.setProperty("--glow-drift-scale", t.speed ? (100 / t.speed).toFixed(3) : "1"), e.style.setProperty("--glow-drift-play", t.speed ? "running" : "paused"), n ? (e.style.removeProperty("--glass-tint-a"), e.style.removeProperty("--glass-tint-b")) : (e.style.setProperty("--glass-tint-a", t.spot1.color), e.style.setProperty("--glass-tint-b", t.spot2.color));}// src/appearance/settings.ts-var Boe = "peach.settings.v1", Voe = [+var fA = "peach.settings.v1", pA = ["system","light","dark"-], uA = [+], mA = [0,7,30,90-], Hoe = [+], use = ["feedHideGroupCompilations","feedHideSoloCompilations","feedHideExcerpts"-], dA = {+], hA = {batchSize: 60,defaultSort: "seed",sortDefaultsVersion: 3,@@ -30053,51 +30233,51 @@ var Boe = "peach.settings.v1", Voe = [sidebarOrder: [...Il],homeGlow: sA,accent: rA-}, fA = (e, t, n) => t.includes(e) ? e : n;-function Uoe(e) {+}, gA = (e, t, n) => t.includes(e) ? e : n;+function dse(e) {let t = e && typeof e == "object" ? e : {}, n = {- ...dA,+ ...hA,...t};- n.followInitialDays = uA.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;+ n.followInitialDays = mA.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;let r = !1, i = +n.sortDefaultsVersion || 0;i < 2 && n.defaultSort === "new" && (n.defaultSort = "seed", r = !0);let a = Wk[n.defaultSort];- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = zk(+n.batchSize, 1, 200, 60), n.defaultSort = fA(n.defaultSort, Hk, "seed"), n.hoverDelaySeconds = zk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = zk(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = zk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = zk(+n.relatedLimit, 0, 60, 20), n.feedLimit = zk(+n.feedLimit, 1, 100, 12), Object.assign(n, Pa(n)), n.theme = fA(n.theme, Voe, "system"), n.homeGlow = cA(n.homeGlow), n.accent = iA(n.accent), n.sidebarOrder = Bl(n.sidebarOrder), {+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = zk(+n.batchSize, 1, 200, 60), n.defaultSort = gA(n.defaultSort, Hk, "seed"), n.hoverDelaySeconds = zk(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = zk(+n.seekSeconds, 1, 300, 10), delete n.loginDays, delete n.metadataRefreshDays, n.ambientMode = n.ambientMode !== !1, n.theaterMode = n.theaterMode === !0, n.groupCollapse = n.groupCollapse !== !1, n.detailAutoplay = n.detailAutoplay !== !1, n.miniplayer = n.miniplayer !== !1, n.uiSounds = n.uiSounds !== !1, n.feedAutoScroll = n.feedAutoScroll !== !1, n.feedHideGroupCompilations = n.feedHideGroupCompilations !== !1, n.feedHideSoloCompilations = n.feedHideSoloCompilations === !0, n.feedHideExcerpts = n.feedHideExcerpts !== !1, n.searchHistoryLimit = zk(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = zk(+n.relatedLimit, 0, 60, 20), n.feedLimit = zk(+n.feedLimit, 1, 100, 12), Object.assign(n, Pa(n)), n.theme = gA(n.theme, pA, "system"), n.homeGlow = cA(n.homeGlow), n.accent = iA(n.accent), n.sidebarOrder = Bl(n.sidebarOrder), {settings: n,migrated: r};}-function Woe(e) {+function fse(e) {let t = {};try {t = JSON.parse(e.getItem("peach.settings.v1") || "{}");} catch {}- return Uoe(t);+ return dse(t);}-var pA = null;-function mA() {- if (pA) return pA;- let { settings: e, migrated: t } = Woe(localStorage);- return pA = koe(Boe, e), t && pA.save(), pA;+var _A = null;+function vA() {+ if (_A) return _A;+ let { settings: e, migrated: t } = fse(localStorage);+ return _A = tse(fA, e), t && _A.save(), _A;}-function hA(e, t, n = mA()) {+function yA(e, t, n = vA()) {let r = n.value, i = e && e.followInitialDays;- uA.includes(i) && (r.followInitialDays = i, n.save());- for (let t of Hoe) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());+ mA.includes(i) && (r.followInitialDays = i, n.save());+ for (let t of use) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());let a = e && e.searchHistoryLimit;- Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = zk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== dA.searchHistoryLimit && Goe(n);+ Number.isInteger(a) && a >= 0 && a <= 50 ? a !== r.searchHistoryLimit && (r.searchHistoryLimit = zk(a, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== hA.searchHistoryLimit && pse(n);let o = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;o && o.length && o.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = o, n.save());}-function Goe(e = mA()) {+function pse(e = vA()) {return on("/api/settings", {method: "POST",body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })}).catch(() => {});}// src/appearance/theme.ts-var Koe = [+var mse = [["system","跟随系统",@@ -30113,31 +30293,31 @@ var Koe = ["深色","moon"]-], qoe = null, gA = () => qoe ??= matchMedia("(prefers-color-scheme: dark)"), _A = null;-function Joe() {- return _A || (_A = document.createElement("style"), _A.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), _A.isConnected || document.head.append(_A), () => {+], hse = null, bA = () => hse ??= matchMedia("(prefers-color-scheme: dark)"), xA = null;+function gse() {+ return xA || (xA = document.createElement("style"), xA.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), xA.isConnected || document.head.append(xA), () => {getComputedStyle(document.documentElement).opacity;let e = () => {- cancelAnimationFrame(t), clearTimeout(n), _A?.remove();+ cancelAnimationFrame(t), clearTimeout(n), xA?.remove();}, t = requestAnimationFrame(e), n = setTimeout(e, 100);};}-function vA(e = mA().value.theme) {- let t = Joe(), n = document.documentElement;+function SA(e = vA().value.theme) {+ let t = gse(), n = document.documentElement;e === "system" ? delete n.dataset.theme : n.dataset.theme = e;- let r = e === "dark" || e === "system" && gA().matches;+ let r = e === "dark" || e === "system" && bA().matches;n.classList.toggle("dark", r), document.querySelectorAll("[data-board-theme]").forEach((e) => e.setAttribute("aria-pressed", String(e.dataset.boardTheme === "dark" === r))), document.querySelector(".board-theme-toggle")?.classList.toggle("is-dark", r), document.querySelectorAll("meta[data-theme-color]").forEach((e) => {e.media = e.dataset.themeColor === "dark" === r ? "all" : "not all";}), t();}-var yA = !1;-function Yoe() {- yA || (yA = !0, gA().addEventListener("change", () => {- mA().value.theme === "system" && vA();+var CA = !1;+function _se() {+ CA || (CA = !0, bA().addEventListener("change", () => {+ vA().value.theme === "system" && SA();}));}// src/appearance/layout.ts-var bA = [[+var wA = [["big","大图","maximize"@@ -30145,7 +30325,7 @@ var bA = [["small","小图","layout-grid"-]], xA = [[+]], TA = [["big","大图","maximize"@@ -30153,7 +30333,7 @@ var bA = [["small","小图","layout-grid"-]], SA = [[+]], EA = [["fixed","固定比例","layout-grid"@@ -30161,127 +30341,127 @@ var bA = [["masonry","瀑布流","columns-2"-]], CA = .75, wA = () => mA().value, TA = (e = wA()) => Na(e.javLayout), Xoe = (e = wA()) => Na(e.homeLayout), EA = (e, t = wA()) => e ? Xoe(t) : TA(t), DA = xA.map(([e]) => e), OA = SA.map(([e]) => e), kA = (e = wA()) => fA(e.photoSize, DA, "small"), AA = (e = wA()) => fA(e.photoLayout, OA, "masonry"), jA = null;-function MA(e, t = wA()) {+]], DA = .75, OA = () => vA().value, kA = (e = OA()) => Na(e.javLayout), vse = (e = OA()) => Na(e.homeLayout), AA = (e, t = OA()) => e ? vse(t) : kA(t), jA = TA.map(([e]) => e), MA = EA.map(([e]) => e), NA = (e = OA()) => gA(e.photoSize, jA, "small"), PA = (e = OA()) => gA(e.photoLayout, MA, "masonry"), FA = null;+function IA(e, t = OA()) {let n = {active: e.active,- size: EA(e.home, t),+ size: AA(e.home, t),portrait: e.portrait,javImage: t.javImage- }, r = jA;- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (jA = n), jA;+ }, r = FA;+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (FA = n), FA;}-function NA(e) {- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? CA : 16 / 9;+function LA(e) {+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? DA : 16 / 9;}-function Zoe(e, t = mA()) {+function yse(e, t = vA()) {t.value.homeLayout = Na(e), t.save();}-function PA(e, t = mA()) {+function RA(e, t = vA()) {t.value.javLayout = Na(e), t.save();}-function Qoe(e, t = mA()) {+function bse(e, t = vA()) {t.value.homeLayout = t.value.javLayout = Na(e), t.save();}-function $oe(e, t = mA()) {- t.value.photoSize = fA(e, DA, "small"), t.save();+function xse(e, t = vA()) {+ t.value.photoSize = gA(e, jA, "small"), t.save();}-function FA(e, t = mA()) {- t.value.photoLayout = fA(e, OA, "masonry"), t.save();+function zA(e, t = vA()) {+ t.value.photoLayout = gA(e, MA, "masonry"), t.save();}// src/appearance/density.ts-var IA = "density", LA = {+var BA = "density", VA = {big: "336px",dense: "168px"-}, RA = () => localStorage.getItem(IA) === "dense" ? "dense" : "big";-function zA(e, t) {- let [n, r] = xA;+}, HA = () => localStorage.getItem(BA) === "dense" ? "dense" : "big";+function UA(e, t) {+ let [n, r] = TA;if (e.querySelector("[data-icon-swap]")) Os(e, t === r[0] ? "b" : "a");else {let i = e.querySelector(":scope > [data-glass-drift]");e.innerHTML = Ds(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);}- BA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");+ WA(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");}-function BA(e, t, n) {+function WA(e, t, n) {e.getAttribute(t) !== n && e.setAttribute(t, n);}-var VA = () => document.querySelector("#density");-function HA(e = RA()) {+var GA = () => document.querySelector("#density");+function KA(e = HA()) {let t = document.documentElement;- t.style.getPropertyValue("--tile") !== LA[e] && t.style.setProperty("--tile", LA[e]), BA(document.body, "data-density", e);- let n = VA();- n && (BA(n, "aria-pressed", String(e === "dense")), BA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), zA(n, e === "big" ? "big" : "small"));+ t.style.getPropertyValue("--tile") !== VA[e] && t.style.setProperty("--tile", VA[e]), WA(document.body, "data-density", e);+ let n = GA();+ n && (WA(n, "aria-pressed", String(e === "dense")), WA(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), UA(n, e === "big" ? "big" : "small"));}-function ese() {- let e = RA() === "big" ? "dense" : "big";- localStorage.setItem(IA, e), HA(e);+function qA() {+ let e = HA() === "big" ? "dense" : "big";+ localStorage.setItem(BA, e), KA(e);}-function tse(e) {- let t = VA();- t && (BA(t, "aria-pressed", String(e === "small")), BA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), zA(t, e));+function JA(e) {+ let t = GA();+ t && (WA(t, "aria-pressed", String(e === "small")), WA(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), UA(t, e));}// src/appearance/glow.ts-function UA(e = mA()) {- Roe(document.querySelector(".glowlayer"), e.value.homeGlow);+function YA(e = vA()) {+ uA(document.querySelector(".glowlayer"), e.value.homeGlow);}-var WA = 0;-function GA(e = mA()) {- WA ||= requestAnimationFrame(() => {- WA = 0, UA(e);+var XA = 0;+function ZA(e = vA()) {+ XA ||= requestAnimationFrame(() => {+ XA = 0, YA(e);});}-function KA(e = mA()) {- zoe(document.documentElement, e.value.homeGlow);+function QA(e = vA()) {+ dA(document.documentElement, e.value.homeGlow);}-function qA(e = mA()) {+function $A(e = vA()) {document.documentElement.dataset.accent = e.value.accent;}-var JA = (e, t, n) => ({+var ej = (e, t, n) => ({key: e,label: t,native: $k(e),- fill: $k(e) ? "" : Loe(n)+ fill: $k(e) ? "" : lse(n)});-function nse(e) {- let t = Qk.map(([e, t, n]) => JA(e, t, Xk.map((e) => n[e].color)));- return e.preset === "custom" && t.push(JA("custom", "自定义", Xk.map((t) => e[t].color))), t;+function Sse(e) {+ let t = Qk.map(([e, t, n]) => ej(e, t, Xk.map((e) => n[e].color)));+ return e.preset === "custom" && t.push(ej("custom", "自定义", Xk.map((t) => e[t].color))), t;}-var rse = nA;-function ise(e, t = mA()) {+var Cse = nA;+function wse(e, t = vA()) {if (e === "custom") return;let n = t.value.homeGlow;- n.preset = e, Object.assign(n, tA(e)), t.value.accent = Moe(e), t.save(), GA(t), KA(t), qA(t);+ n.preset = e, Object.assign(n, tA(e)), t.value.accent = ise(e), t.save(), ZA(t), QA(t), $A(t);}-function ase(e, t = mA()) {- t.value.accent = iA(e), t.save(), qA(t);+function Tse(e, t = vA()) {+ t.value.accent = iA(e), t.save(), $A(t);}-function ose(e = mA()) {+function Ese(e = vA()) {let t = e.value.homeGlow;- t.preset = sA.preset, Object.assign(t, tA(t.preset)), e.value.accent = rA, e.save(), GA(e), KA(e), qA(e);+ t.preset = sA.preset, Object.assign(t, tA(t.preset)), e.value.accent = rA, e.save(), ZA(e), QA(e), $A(e);}-function YA(e, t) {+function tj(e, t) {e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && $k(t.preset)), e.toggleAttribute("data-glow-off", !t.on);}-function sse(e, t = mA()) {- return YA(e, t.value.homeGlow), t.subscribe(() => YA(e, t.value.homeGlow));+function Dse(e, t = vA()) {+ return tj(e, t.value.homeGlow), t.subscribe(() => tj(e, t.value.homeGlow));}// src/react/components/glow-preset-grid.tsx-function XA({ store: e, label: t, hidden: n }) {+function nj({ store: e, label: t, hidden: n }) {let r = e.value.homeGlow;return /* @__PURE__ */ (0, F.jsx)("div", {"data-glow-grid": "",role: "group","aria-label": t,hidden: n,- children: nse(r).map((t) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: Sse(r).map((t) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-chip": "","data-glow-preset": t.key,"aria-pressed": t.key === r.preset,title: t.label,"aria-label": t.label,- onClick: () => ise(t.key, e),+ onClick: () => wse(t.key, e),children: /* @__PURE__ */ (0, F.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30292,14 +30472,14 @@ function XA({ store: e, label: t, hidden: n }) {});}// src/react/glow-picker/glow-picker-island.tsx-var ZA = null;-function cse(e) {- ZA = e;+var rj = null;+function Ose(e) {+ rj = e;}-function lse() {- return ZA ? /* @__PURE__ */ (0, F.jsx)(use, { host: ZA }) : null;+function kse() {+ return rj ? /* @__PURE__ */ (0, F.jsx)(Ase, { host: rj }) : null;}-function use({ host: e }) {+function Ase({ host: e }) {let { store: t } = e;(0, P.useSyncExternalStore)(t.subscribe, t.version);let { homeGlow: n, accent: r } = t.value;@@ -30311,11 +30491,11 @@ function use({ host: e }) {children: [/* @__PURE__ */ (0, F.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-preset-reset": "",- onClick: () => ose(t),+ onClick: () => Ese(t),children: "重置"})]}),- /* @__PURE__ */ (0, F.jsx)(XA, {+ /* @__PURE__ */ (0, F.jsx)(nj, {store: t,label: "光晕",hidden: !n.on@@ -30329,14 +30509,14 @@ function use({ host: e }) {"data-accent-grid": "",role: "group","aria-label": "强调色",- children: rse.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: Cse.map(([e, n]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-chip": "","data-accent": e,"aria-pressed": e === r,title: n,"aria-label": n,- onClick: () => ase(e, t),+ onClick: () => Tse(e, t),children: /* @__PURE__ */ (0, F.jsx)("span", {"data-glow-ball": "","aria-hidden": "true",@@ -30354,31 +30534,31 @@ function use({ host: e }) {] });}// src/player/host.ts-var QA = null;-function dse(e) {- QA = e;+var ij = null;+function jse(e) {+ ij = e;}-function $A() {- if (!QA) throw Error("播放器还没有接上宿主(configurePlayer)");- return QA;+function aj() {+ if (!ij) throw Error("播放器还没有接上宿主(configurePlayer)");+ return ij;}// src/player/menu.ts-var ej = null;-function fse(e) {- ej = e;+var oj = null;+function Mse(e) {+ oj = e;}-function pse() {+function Nse() {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 tj = null, nj = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;-function rj() {+var sj = null, cj = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;+function lj() {let e = document.getElementById("playerMenu");e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && Wo(e, () => {e.innerHTML = "";- }), tj &&= (tj(), null);+ }), sj &&= (sj(), null);}-async function ij(e) {+async function Pse(e) {try {return await navigator.clipboard.writeText(e), !0;} catch {@@ -30391,8 +30571,8 @@ async function ij(e) {return t.remove(), n;}}-function mse(e) {- let t = !!ej?.inMiniplayer(e), n = e.peachItem, r = ej?.kind(e) ?? "item", i = (t) => {+function Fse(e) {+ let t = !!oj?.inMiniplayer(e), n = e.peachItem, r = oj?.kind(e) ?? "item", i = (t) => {let i = new URL(r === "follow" ? `/posts/${n?.id}` : `/assets/${n?.id}`, location.origin);if (r !== "follow" && location.pathname === i.pathname) {let e = new URLSearchParams(location.search);@@ -30408,7 +30588,7 @@ function mse(e) {}return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;}, a = (e, t) => {- ij(i(e)).then((e) => $A().toast(e ? t : "复制失败,请手动复制地址栏", {+ Pse(i(e)).then((e) => aj().toast(e ? t : "复制失败,请手动复制地址栏", {timeout: 4e3,warn: !e}));@@ -30420,11 +30600,11 @@ function mse(e) {}, t ? {icon: "maximize-2",label: "展开",- run: () => ej?.expand()+ run: () => oj?.expand()} : {icon: "picture-in-picture-2",label: "迷你播放器",- run: () => ej?.toMiniplayer()+ run: () => oj?.toMiniplayer()}];document.pictureInPictureEnabled && o.push({icon: "player-pip",@@ -30447,29 +30627,29 @@ function mse(e) {run: () => s.click()}), o;}-function hse(e, t, n) {- let r = pse();- rj();- let i = $A().stage();+function Ise(e, t, n) {+ let r = Nse();+ lj();+ let i = aj().stage();i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");- let a = mse(e);+ let a = Fse(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}">${nj(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? nj(R("check"), "data-player-menu-check") : ""}</button>`;+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${cj(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? cj(R("check"), "data-player-menu-check") : ""}</button>`;}).join(""), Uo(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)];- rj(), n?.run();+ lj(), n?.run();};});let s = (e) => {- r.contains(e.target) || rj();+ r.contains(e.target) || lj();}, c = (e) => {if (e.key === "Escape") {- e.preventDefault(), e.stopPropagation(), rj();+ e.preventDefault(), e.stopPropagation(), lj();return;}if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;@@ -30477,49 +30657,49 @@ function hse(e, t, n) {let t = o.indexOf(document.activeElement);o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();}, l = (t) => {- Ko(t, e.el()) && rj();+ Ko(t, e.el()) && lj();};setTimeout(() => {document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {capture: !0,passive: !0});- }, 0), tj = () => {+ }, 0), sj = () => {document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);}, o[0]?.focus();}-function gse(e) {+function Lse(e) {e.el().addEventListener("contextmenu", (t) => {- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), hse(e, t.clientX, t.clientY));- }), e.on("dispose", rj);+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Ise(e, t.clientX, t.clientY));+ }), e.on("dispose", lj);}// src/player/registry.ts-var aj = null, oj = () => aj;-function sj(e) {- aj = e;+var uj = null, dj = () => uj;+function fj(e) {+ uj = e;}-function cj(e) {+function pj(e) {e && !e.isDisposed() && requestAnimationFrame(() => {e.isDisposed() || e.trigger("resize");});}// src/player/stats.ts-function lj(e) {+function mj(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 _se(e) {+function Rse(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 uj = 3e3;-function dj(e, t) {+var hj = 3e3;+function gj(e, t) {let n = Number(e) || 0, r = On(t) || 0;return n > 0 && r > 0 ? n * 8 / r : 0;}-function vse(e) {+function zse(e) {let t = [], n = null, r = 0, i = 0;return {bitrate: Number(e) || 0,@@ -30534,10 +30714,10 @@ function vse(e) {},sample(e) {if (!e) return i;- let a = performance.now(), o = _se(e), s = e.currentTime || 0;+ let a = performance.now(), o = Rse(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 > uj * 2 && (t.length = 0);+ !i && c > 0 && (r += c), e * 1e3 > hj * 2 && (t.length = 0);}for (n = {at: a,@@ -30546,55 +30726,55 @@ function vse(e) {}, t.push({at: a,advanced: r- }); t.length > 2 && a - t[0].at > uj;) t.shift();+ }); t.length > 2 && a - t[0].at > hj;) 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 fj = 24;-function pj(e, t) {- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > fj && e.splice(0, e.length - fj);+var _j = 24;+function vj(e, t) {+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > _j && e.splice(0, e.length - _j);}-var mj = "peach-player-panel";-function hj(e, t, n, r) {- let i = [...Array(Math.max(0, fj - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {+var yj = "peach-player-panel";+function bj(e, t, n, r) {+ let i = [...Array(Math.max(0, _j - 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="${z(r)}">${o}</span>`;}-function yse() {+function Bse() {return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("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 gj(e, t = "") {+function xj(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 _j(e, t = "") {- let n = gj(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 Sj(e, t = "") {+ let n = xj(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 vj(e, t, n = "", r = null) {+function Cj(e, t, n = "", r = null) {let i = 0;try {i = Number(e?.bandwidth?.()) || 0;} catch {}- return i > 0 ? i : r ? Number(r.bits) || 0 : _j(t, n);+ return i > 0 ? i : r ? Number(r.bits) || 0 : Sj(t, n);}-function yj(e) {+function wj(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 bse(e, t) {- return e > 0 ? yj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : yj(0);+function Vse(e, t) {+ return e > 0 ? wj(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : wj(0);}// src/player/subtitle-style.ts-var bj = {+var Tj = {font: {label: "字体",values: [@@ -30697,7 +30877,7 @@ var bj = {["shadow", "阴影"]]}-}, xj = {+}, Ej = {font: "sans",size: "100",color: "white",@@ -30707,7 +30887,7 @@ var bj = {window: "black",windowOpacity: "0",edge: "shadow"-}, Sj = "peach.caption-style.v1", xse = {+}, Dj = "peach.caption-style.v1", Hse = {white: "255,255,255",yellow: "255,255,0",green: "0,255,0",@@ -30716,7 +30896,7 @@ var bj = {magenta: "255,0,255",red: "255,0,0",black: "0,0,0"-}, Sse = {+}, Use = {sans: "Arial,sans-serif",mono: "Consolas,monospace",serif: "Georgia,serif",@@ -30724,28 +30904,28 @@ var bj = {casual: "\"Comic Sans MS\",sans-serif",cursive: "cursive","small-caps": "Arial,sans-serif"-}, Cse = {+}, Wse = {none: "none",raised: "-1px -1px 0 #ddd,1px 1px 0 #222",depressed: "1px 1px 0 #ddd,-1px -1px 0 #222",outline: "-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000",shadow: "2px 2px 3px #000"};-function wse() {+function Gse() {let e = {};try {- e = JSON.parse(localStorage.getItem(Sj) || "{}") || {};+ e = JSON.parse(localStorage.getItem(Dj) || "{}") || {};} catch {}- return Object.fromEntries(Object.entries(xj).map(([t, n]) => [t, bj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));+ return Object.fromEntries(Object.entries(Ej).map(([t, n]) => [t, Tj[t].values.some(([n]) => n === e[t]) ? e[t] : n]));}-function Cj(e, t, n, r) {- let i = wse(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");+function Oj(e, t, n, r) {+ let i = Gse(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");o.className = "vjs-peach-captions", o.setAttribute("aria-hidden", "true");let s = document.createElement("div");s.className = "vjs-peach-caption-window", o.append(s), e.querySelector("media-container").append(o), e.dataset.peachCaptions = "";let c = () => {- let t = (e, t) => `rgba(${xse[e]},${Number(t) / 100})`;- e.style.setProperty("--peach-caption-font", Sse[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", Cse[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");+ let t = (e, t) => `rgba(${Hse[e]},${Number(t) / 100})`;+ e.style.setProperty("--peach-caption-font", Use[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", Wse[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");}, l = () => {s.replaceChildren();for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {@@ -30761,15 +30941,15 @@ function Cj(e, t, n, r) {if (!n.aborted) {if (e.caption_style) {let t = {- ...xj,+ ...Ej,...e.caption_style};- for (let e of Object.keys(xj)) a.has(e) || (i[e] = t[e]);+ for (let e of Object.keys(Ej)) a.has(e) || (i[e] = t[e]);c();} else {let e = !1;try {- e = !!localStorage.getItem(Sj);+ e = !!localStorage.getItem(Dj);} catch {}e && !a.size && r.save({ caption_style: i }).catch(() => {});}@@ -30777,18 +30957,18 @@ function Cj(e, t, n, r) {}), {current: () => i,set(e, t) {- bj[e].values.some(([e]) => e === t) && (a.add(e), i = {+ Tj[e].values.some(([e]) => e === t) && (a.add(e), i = {...i,[e]: t}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));},reset() {- Object.keys(xj).forEach((e) => a.add(e)), i = { ...xj }, c(), r?.save({ caption_style: i }).catch(() => {});+ Object.keys(Ej).forEach((e) => a.add(e)), i = { ...Ej }, c(), r?.save({ caption_style: i }).catch(() => {});}};}// src/player/memory.ts-var wj = /* @__PURE__ */ new Map(), Tj = /* @__PURE__ */ new WeakMap(), Tse = class {+var kj = /* @__PURE__ */ new Map(), Aj = /* @__PURE__ */ new WeakMap(), Kse = class {cleanup = new AbortController();reading;listeners = /* @__PURE__ */ new Set();@@ -30816,7 +30996,7 @@ var wj = /* @__PURE__ */ new Map(), Tj = /* @__PURE__ */ new WeakMap(), Tse = cl}load() {return this.url ? this.reading ||= (async () => {- await wj.get(this.url)?.catch(() => {});+ await kj.get(this.url)?.catch(() => {});let e = await on(this.url, { signal: this.cleanup.signal });return this.cleanup.signal.aborted || (this.restored = e, this.restorers.forEach((t) => t(e)), this.changed()), e;})().catch((e) => {@@ -30828,7 +31008,7 @@ var wj = /* @__PURE__ */ new Map(), Tj = /* @__PURE__ */ new WeakMap(), Tse = cl}save(e) {if (!this.url) return Promise.resolve();- let t = (wj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {+ let t = (kj.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {let t = {...this.unsaved,...e,@@ -30855,8 +31035,8 @@ var wj = /* @__PURE__ */ new Map(), Tj = /* @__PURE__ */ new WeakMap(), Tse = clthis.changed();}});- return wj.set(this.url, t), t.finally(() => {- wj.get(this.url) === t && wj.delete(this.url);+ return kj.set(this.url, t), t.finally(() => {+ kj.get(this.url) === t && kj.delete(this.url);}).catch(() => {}), t;}async retry() {@@ -30865,12 +31045,12 @@ var wj = /* @__PURE__ */ new Map(), Tj = /* @__PURE__ */ new WeakMap(), Tse = cl} catch {}}};-function Ej(e) {- let t = Tj.get(e);- return t || (t = new Tse(e), Tj.set(e, t)), t;+function jj(e) {+ let t = Aj.get(e);+ return t || (t = new Kse(e), Aj.set(e, t)), t;}-function Dj(e, t) {- let n = Ej(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {+function Mj(e, t) {+ let n = jj(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);};return n.restore((t) => {@@ -30883,7 +31063,7 @@ function Dj(e, t) {};}// src/player/subtitle-memory.ts-var Oj = class {+var Nj = class {player;video;changed;@@ -30894,7 +31074,7 @@ var Oj = class {ready;error = "";constructor(e, t, n = () => {}) {- this.player = e, this.video = t, this.changed = n, this.memory = Ej(e);+ this.player = e, this.video = t, this.changed = n, this.memory = jj(e);let r = this.cleanup.signal;t.textTracks.addEventListener("addtrack", () => {this.apply(), this.changed();@@ -30991,7 +31171,7 @@ var Oj = class {throw a.remove(), URL.revokeObjectURL(i), e;}}-}, kj = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", Ese = class {+}, Pj = () => "<svg viewBox=\"0 0 36 36\" aria-hidden=\"true\"><path d=\"M11,11 C9.89,11 9,11.9 9,13 L9,23 C9,24.1 9.89,25 11,25 L25,25 C26.1,25 27,24.1 27,23 L27,13 C27,11.9 26.1,11 25,11 L11,11 Z M17,17 L15.5,17 L15.5,16.5 L13.5,16.5 L13.5,19.5 L15.5,19.5 L15.5,19 L17,19 L17,20 C17,20.55 16.55,21 16,21 L13,21 C12.45,21 12,20.55 12,20 L12,16 C12,15.45 12.45,15 13,15 L16,15 C16.55,15 17,15.45 17,16 L17,17 L17,17 Z M24,17 L22.5,17 L22.5,16.5 L20.5,16.5 L20.5,19.5 L22.5,19.5 L22.5,19 L24,19 L24,20 C24,20.55 23.55,21 23,21 L20,21 C19.45,21 19,20.55 19,20 L19,16 C19,15.45 19.45,15 20,15 L23,15 C23.55,15 24,15.45 24,16 L24,17 L24,17 Z\"/></svg>", qse = class {player;video;panels;@@ -31010,7 +31190,7 @@ var Oj = class {more = !1;searched = !1;constructor(e, t, n) {- this.player = e, this.video = t, this.panels = n, this.styles = Cj(e.el(), t, this.cleanup.signal, Ej(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = kj(), this.cc.onclick = () => {+ this.player = e, this.video = t, this.panels = n, this.styles = Oj(e.el(), t, this.cleanup.signal, jj(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = Pj(), this.cc.onclick = () => {let e = this.tracks().find((e) => e.mode === "showing");e ? (this.last = e, this.select(null)) : this.tracks().length ? this.select(this.last && this.tracks().includes(this.last) ? this.last : this.tracks()[0]) : this.show();}, this.input.type = "file", this.input.accept = ".srt,.ass,.ssa,.vtt", this.input.hidden = !0, this.input.setAttribute("aria-label", "加载字幕文件"), e.el().append(this.input), this.input.addEventListener("change", () => {@@ -31020,7 +31200,7 @@ var Oj = class {this.sync(), this.page === "tracks" && this.show(0);}, { signal: this.cleanup.signal }), e.on("dispose", () => {this.hide(), this.cleanup.abort();- }), this.session = new Oj(e, t, () => {+ }), this.session = new Nj(e, t, () => {this.sync(), this.page === "tracks" && this.show(0);}), this.sync();}@@ -31068,7 +31248,7 @@ var Oj = class {}options(e = 1) {this.page = "options";- let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(bj).map(([e, n]) => {+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(Tj).map(([e, n]) => {let r = n.values.find(([n]) => n === t[e])?.[1] || "";return `<button type="button" class="vjs-peach-caption-setting" data-subtitle-style="${e}"><span>${z(n.label)}</span><b>${z(r)}</b>${R("player-menu-next")}</button>`;}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);@@ -31080,7 +31260,7 @@ var Oj = class {}styleOptions(e) {this.page = "style";- let t = bj[e];+ let t = Tj[e];this.panel(this.header(t.label) + `<div class="vjs-peach-panel-menu">${t.values.map(([t, n]) => {let r = this.styles.current()[e] === t;return `<button type="button" class="vjs-peach-menu-option" role="menuitemradio" aria-checked="${r}" data-subtitle-value="${z(t)}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${z(n)}</span></button>`;@@ -31196,7 +31376,7 @@ var Oj = class {}};// src/player/timeline.ts-function Dse(e, t) {+function Jse(e, t) {if (!Number.isFinite(e) || e < 0 || t.frames <= 0) return null;if (!t.cues?.length) return t.interval > 0 ? Math.min(t.frames - 1, Math.floor(e / t.interval)) : null;let n = 0, r = t.cues.length;@@ -31208,8 +31388,8 @@ function Dse(e, t) {return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;}// src/player/rotation.ts-function Aj(e, t) {- let n = 0, r = !1, i = Ej(e), a = e.el(), o = a.querySelector("media-container") || a, s = [+function Fj(e, t) {+ let n = 0, r = !1, i = jj(e), a = e.el(), o = a.querySelector("media-container") || a, s = ["width","height","inset",@@ -31237,7 +31417,7 @@ function Aj(e, t) {};}// src/player/pip.ts-function Ose(e, t, n, r) {+function Yse(e, t, n, r) {let i = e.el().querySelector("video");if (!i || !t) return;let a = t, o = !!document.pictureInPictureEnabled && typeof i.requestPictureInPicture == "function" || typeof i.webkitSetPresentationMode == "function";@@ -31269,7 +31449,7 @@ function Ose(e, t, n, r) {});}// src/player/controls.ts-function jj(e, t, n = "") {+function Ij(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));@@ -31280,27 +31460,27 @@ function jj(e, t, n = "") {};return o(), o;}-function Mj(e, t) {+function Lj(e, t) {e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();}-function kse(e, t = !0) {- let n = $A(), r = n.settings();+function Xse(e, t = !0) {+ let n = aj(), 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 Nj = /* @__PURE__ */ new WeakMap();-function Pj(e) {+var Rj = /* @__PURE__ */ new WeakMap();+function zj(e) {if (!e) return;- let t = $A().settings().theaterMode;- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Nj.get(e)?.(t ? "默认视图" : "影院模式");+ let t = aj().settings().theaterMode;+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), Rj.get(e)?.(t ? "默认视图" : "影院模式");}-function Fj(e, t = !0) {- let n = $A(), r = n.settings();+function Bj(e, t = !0) {+ let n = aj(), r = n.settings();r.theaterMode = !!e, t && n.saveSettings();let i = n.stage();- i?.toggleAttribute("data-theater", r.theaterMode), Pj(i?.querySelector("[data-player-theater]")), cj(oj());+ i?.toggleAttribute("data-theater", r.theaterMode), zj(i?.querySelector("[data-player-theater]")), pj(dj());}-function Ase(e) {- let t = $A().stage(), n = t?.querySelector("[data-ambient-canvas]");+function Zse(e) {+ let t = aj().stage(), n = t?.querySelector("[data-ambient-canvas]");if (!t || !n) return () => {};let r = n.getContext("2d", { alpha: !1 });if (!r) return () => {};@@ -31323,9 +31503,9 @@ function Ase(e) {}, u = (t) => {e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));}, d = (t, n) => {- i || t !== o || ($A().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());+ i || t !== o || (aj().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());}, f = () => {- !i && $A().settings().ambientMode && (l(), e.paused || u(++o));+ !i && aj().settings().ambientMode && (l(), e.paused || u(++o));}, p = (e) => {let n = !!e.detail.enabled;t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());@@ -31334,7 +31514,7 @@ function Ase(e) {i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();};}-function Ij(e, t, n = 0, r = null) {+function Vj(e, t, n = 0, r = null) {let i = e.el().querySelector(".vjs-control-bar");if (!i || i.querySelector("[data-player-quality]")) return;let a = document.createElement("div");@@ -31344,8 +31524,8 @@ function Ij(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]");- jj(s, "设置");- let l = a.querySelector(".vjs-peach-settings-menu"), u = Aj(e, t), d = Dj(e, t), f = Ej(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {+ Ij(s, "设置");+ let l = a.querySelector(".vjs-peach-settings-menu"), u = Fj(e, t), d = Mj(e, t), f = jj(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {let n = [Number(e), Number(t)].filter((e) => e > 0);return n.length ? Math.min(...n) : 0;}, v = () => {@@ -31384,11 +31564,11 @@ function Ij(e, t, n = 0, r = null) {active: n};}, b = () => l.getAttribute("aria-hidden") !== "true", x = (e) => {- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(mj, { detail: "settings" }));+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(yj, { detail: "settings" }));}, S = () => x(!1), C = (e) => {e.detail !== "settings" && S();};- document.addEventListener(mj, C);+ document.addEventListener(yj, C);let w = null, T = 0, E = (e, t) => {let n = ++T;w && (clearTimeout(w), w = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;@@ -31404,15 +31584,15 @@ function Ij(e, t, n = 0, r = null) {}), i;}, D = (e, t) => e.querySelector(t), O = "main", k = (e = 0) => {O = "main";- let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${$A().settings().ambientMode}">+ let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${aj().settings().ambientMode}">${R("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>${R("player-speed")}<span>播放速度</span><b>${n === 1 ? "正常" : `${n}×`}</b>${R("player-menu-next")}</button>- <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${kj()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button>+ <button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-subtitles><span class="vjs-peach-menu-cc" aria-hidden="true">${Pj()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-rotation>${R("rotate-cw", "vjs-peach-menu-line-icon")}<span>画面旋转</span><b>${u.angle()}°</b>${R("player-menu-next")}</button><button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${z(t.label)}</b>${R("player-menu-next")}</button><div data-player-memory-error hidden><p class="vjs-peach-subtitle-status" role="status"></p><button type="button" class="vjs-peach-menu-row" data-player-memory-retry>重试保存播放记忆</button></div></div>`, e);D(r, "[data-player-ambient]").onclick = () => {- kse(!$A().settings().ambientMode), k();+ Xse(!aj().settings().ambientMode), k();}, D(r, "[data-player-speed]").onclick = () => ne(), D(r, "[data-player-subtitles]").onclick = () => p?.show(), D(r, "[data-player-quality-view]").onclick = () => re(), D(r, "[data-player-rotation]").onclick = () => j(), D(r, "[data-player-memory-retry]").onclick = () => {f.retry();}, A();@@ -31516,8 +31696,8 @@ function Ij(e, t, n = 0, r = null) {A(), ie();});return e.on("dispose", () => {- F(), t.removeEventListener("loadedmetadata", ie), t.removeEventListener("resize", ie), t.removeEventListener("ratechange", ie), T++, document.removeEventListener("pointerdown", P), document.removeEventListener(mj, C), w && clearTimeout(w);- }), p = new Ese(e, t, {+ F(), t.removeEventListener("loadedmetadata", ie), t.removeEventListener("resize", ie), t.removeEventListener("ratechange", ie), T++, document.removeEventListener("pointerdown", P), document.removeEventListener(yj, C), w && clearTimeout(w);+ }), p = new qse(e, t, {render: E,open: () => {O = "subtitles", x(!0);@@ -31526,21 +31706,21 @@ function Ij(e, t, n = 0, r = null) {back: () => {p?.hide(), k(-1);}- }), y(), jse(e, a), Mse(e), (e) => {+ }), y(), Qse(e, a), $se(e), (e) => {h = e?.length ? e : null, ie();};}-function jse(e, t) {+function Qse(e, t) {let n = e.el().querySelector(".vjs-control-bar");if (!n || n.querySelector("[data-player-theater]")) return;- let r = $A().settings().theaterMode, i = document.createElement("div");+ let r = aj().settings().theaterMode, i = document.createElement("div");i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${R(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);let a = i.querySelector("button");- Nj.set(a, jj(a, "影院模式", "T")), Pj(a), a.onclick = (e) => {- e.stopPropagation(), Fj(!$A().settings().theaterMode);+ Rj.set(a, Ij(a, "影院模式", "T")), zj(a), a.onclick = (e) => {+ e.stopPropagation(), Bj(!aj().settings().theaterMode);};}-function Mse(e) {+function $se(e) {let t = e.el().querySelector(".vjs-control-bar");if (!t || t.querySelector(".vjs-peach-right-controls")) return;let n = t.querySelector(":scope>.vjs-play-control");@@ -31552,7 +31732,7 @@ function Mse(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 = jj(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 = Ij(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 ? "播放" : "暂停");};@@ -31563,7 +31743,7 @@ function Mse(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 = jj(p, "静音", "M"), g = () => {+ let h = Ij(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 ? "取消静音" : "静音");};@@ -31589,7 +31769,7 @@ function Mse(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 = jj(x, "显示剩余时间"), T = () => {+ let C = x.querySelector(".vjs-peach-time-text"), w = Ij(x, "显示剩余时间"), T = () => {let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = An(Math.max(0, n - t));C.textContent = `${S ? `-${r}` : An(t)} / ${An(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${An(n)};点击显示已播放时间` : `已播放 ${An(t)},总时长 ${An(n)};点击显示剩余时间`);};@@ -31601,10 +31781,10 @@ function Mse(e) {"loadedmetadata"], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);let E = t.querySelector(":scope>.vjs-picture-in-picture-control");- jj(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Ose(e, E, jj(E, "画中画"), (e) => $A().toast(e, { warn: !0 }));- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = jj(D, "全屏", "F"), A = () => {+ Ij(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), Yse(e, E, Ij(E, "画中画"), (e) => aj().toast(e, { warn: !0 }));+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = Ij(D, "全屏", "F"), A = () => {let t = !!e.isFullscreen();- e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), cj(e);+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), pj(e);};e.on(["fullscreenchange",@@ -31625,7 +31805,7 @@ function Mse(e) {});let ee = document.createElement("div");ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);- let te = ee.querySelector("button"), ne = jj(te, "展开控件"), N = (t) => {+ let te = ee.querySelector("button"), ne = Ij(te, "展开控件"), N = (t) => {e.el().classList.toggle("vjs-peach-right-expanded", t), te.setAttribute("aria-expanded", String(t)), ne(t ? "收起控件" : "展开控件");};te.onclick = (t) => {@@ -31637,7 +31817,7 @@ function Mse(e) {}, ie = new ResizeObserver(re);ie.observe(e.el()), e.on("dispose", () => ie.disconnect()), N(!1), re();}-function Lj(e, t, n = {}) {+function Hj(e, t, n = {}) {let r = e.el().querySelector(".vjs-control-bar .vjs-progress-control");if (!r || r.querySelector("[data-player-seek-preview]")) return;let i = !!t && n.thumbnail !== !1, a = document.createElement("div");@@ -31648,7 +31828,7 @@ function Lj(e, t, n = {}) {}).catch(() => {});let f = (e, n, r, i) => {if (!t) return;- let a = n.columns || 10, o = a * (n.rows || 10), s = Dse(e, n);+ let a = n.columns || 10, o = a * (n.rows || 10), s = Jse(e, n);if (s === null) return !1;let c = Math.floor(s / o), l = s % o, f = Math.ceil(Math.min(o, n.frames - c * o) / a);d = !!n.cues;@@ -31673,13 +31853,13 @@ function Lj(e, t, n = {}) {r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);});}-function Nse(e, t) {+function ece(e, t) {let n = navigator.mediaSession;if (!n || typeof n.setActionHandler != "function") return;let r = () => On(e.duration()) || On(t.duration) || 0, i = (t) => {let n = r();e.currentTime(Math.max(0, n ? Math.min(n, t) : t));- }, a = () => Math.max(1, Number($A().settings().seekSeconds) || 10), o = [+ }, a = () => Math.max(1, Number(aj().settings().seekSeconds) || 10), o = [["play", () => {e.play();}],@@ -31720,11 +31900,11 @@ function Nse(e, t) {} catch {}});}-function Rj(e) {+function Uj(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 zj(e, t) {+function Wj(e, t) {on(`/api/assets/${t}/subtitles`).then((t) => {e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {e.addRemoteTextTrack({@@ -31740,35 +31920,35 @@ function zj(e, t) {}).catch(() => {});}// src/player/progress.ts-var Bj = "peach.playback-position.v1", Vj = /* @__PURE__ */ new WeakMap();-function Hj(e) {- Vj.get(e)?.(), Vj.delete(e);+var Gj = "peach.playback-position.v1", Kj = /* @__PURE__ */ new WeakMap();+function qj(e) {+ Kj.get(e)?.(), Kj.delete(e);}-function Uj(e, t, n = null) {+function Jj(e, t, n = null) {let r = e === "follow" ? t.id : t.location === "online" ? t.follow_item_id : null;return r ? `follow:${r}:${n ?? "main"}` : `item:${t.id}`;}-function Pse(e) {+function tce(e) {try {- let t = localStorage.getItem(`${Bj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);+ let t = localStorage.getItem(`${Gj}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);return Number.isFinite(n) && n >= 0 ? n : null;} catch {return null;}}-function Fse(e, t) {- let n = Pse(e);+function nce(e, t) {+ let n = tce(e);if (n !== null) return n;let r = Number(t.leave_ratio);return r > 0 && r < 1 ? r * On(t.duration) : 0;}-function Ise(e, t) {- Hj(t);+function rce(e, t) {+ qj(t);let n = t.readyState >= 1, r = () => {if (!n || !Number.isFinite(t.currentTime)) return;let r = t.ended ? 0 : Math.max(0, t.currentTime);try {- localStorage.setItem(`${Bj}:${e}`, String(r));+ localStorage.setItem(`${Gj}:${e}`, String(r));} catch {}}, i = () => {n = !0;@@ -31782,7 +31962,7 @@ function Ise(e, t) {"pause","ended"]) t.addEventListener(e, r);- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Vj.set(t, () => {+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), Kj.set(t, () => {r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);for (let e of ["timeupdate",@@ -31794,19 +31974,19 @@ function Ise(e, t) {});}// src/player/telemetry.ts-var Wj = /* @__PURE__ */ new WeakMap();-function Gj(e) {- Wj.get(e)?.(), Wj.delete(e);+var Yj = /* @__PURE__ */ new WeakMap();+function Xj(e) {+ Yj.get(e)?.(), Yj.delete(e);}-function Kj(e, t, n, r) {+function Zj(e, t, n, r) {let i = () => t(!1), a = () => {n(), t(!1);};- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Wj.set(e, () => {+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), Yj.set(e, () => {n(), t(!1), e.onplay = null, e.ontimeupdate = null, e.onpause = null, e.onended = null, e.removeEventListener("seeking", r), e.removeEventListener("emptied", a), window.removeEventListener("pagehide", i);});}-function qj(e, t, n = {}) {+function Qj(e, t, n = {}) {if (!t) return;let r = 0, i = 0, a = 0, o = null, s = (e) => e ? document.querySelector(e) : null, c = () => {let r = On(e.duration) || On(t.duration);@@ -31847,11 +32027,11 @@ function qj(e, t, n = {}) {u(), l(!1);}, t.onended = () => {u(), l(!0), n.onEnded?.();- }, Kj(t, l, u, () => {+ }, Zj(t, l, u, () => {a++;}), c();}-function Lse(e, t) {+function ice(e, t) {let n = 0, r = 0, i = !1, a = null, o = (n) => {let i = On(e.duration) || On(t.duration);(r || n) && (on("/api/follow/activity", {@@ -31882,22 +32062,22 @@ function Lse(e, t) {s(), o(!1);}, t.onended = () => {s(), o(!0);- }, Kj(t, o, s, () => {});+ }, Zj(t, o, s, () => {});}// src/player/dispose.ts-function Jj(e) {+function $j(e) {if (!e || e.isDisposed()) return;let t = e.el()?.querySelector("video");try {e.pause();} catch {}- t && (Hj(t), Gj(t));+ t && (qj(t), Xj(t));try {e.dispose();} catch {}}// src/core/random-id.ts-function Yj() {+function eM() {if (typeof crypto.randomUUID == "function") return crypto.randomUUID();let e = crypto.getRandomValues(/* @__PURE__ */ new Uint8Array(16));e[6] = e[6] & 15 | 64, e[8] = e[8] & 63 | 128;@@ -31905,23 +32085,23 @@ function Yj() {return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;}// src/player/stream.ts-function Xj() {- return Yj();+function tM() {+ return eM();}-function Zj(e, t) {+function nM(e, t) {return {src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"};}-function Rse(e) {+function rM(e) {return e.location === "online" && e.follow_item_id ? {src: `/follow-stream?id=${e.follow_item_id}`,type: "video/mp4"} : null;}-async function Qj(e, t) {- let n = Rse(e);+async function iM(e, t) {+ let n = rM(e);if (n) return n;try {let n = await on(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);@@ -31930,9 +32110,9 @@ async function Qj(e, t) {type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")};} catch {}- return Zj(e, t);+ return nM(e, t);}-function $j(e) {+function aM(e) {e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {method: "POST",credentials: "same-origin",@@ -31941,22 +32121,22 @@ function $j(e) {document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);}).catch(() => {});}-var eM = "";-function tM() {- return eM;+var oM = "";+function sM() {+ return oM;}-function nM() {- return eM ||= Xj(), eM;+function cM() {+ return oM ||= tM(), oM;}-var zse = (e) => Zj(e, nM()), Bse = (e) => Qj(e, nM());-function rM() {- let e = eM;- e && (eM = "", $j(e));+var lM = (e) => nM(e, cM()), uM = (e) => iM(e, cM());+function dM() {+ let e = oM;+ e && (oM = "", aM(e));}// src/player/v10-player.ts-var iM = (e) => typeof e == "string" ? [e] : e, Vse = (e, t) => {+var fM = (e) => typeof e == "string" ? [e] : e, pM = (e, t) => {let n = document.createElement("div"), r = document.createElement("video-player");- n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${Yj()}`, n.setAttribute("lang", "zh-CN");+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${eM()}`, n.setAttribute("lang", "zh-CN");let i = document.createElement("media-container"), a = document.createElement("hlsjs-video");e.parentNode?.replaceChild(n, e), e.removeAttribute("id"), e.className = "vjs-tech", e.slot = "media", e.controls = !1, e.preload = t.preload === "auto" ? "auto" : t.preload === "none" ? "none" : "metadata", t.poster && (e.poster = String(t.poster)), a.append(e), i.append(a), r.append(i), n.append(r), t.controls !== !1 && i.insertAdjacentHTML("beforeend", "<div class=\"vjs-loading-spinner\" aria-label=\"正在缓冲\"></div>\n <div class=\"vjs-error-display\"><div class=\"vjs-modal-dialog-content\" role=\"alert\"></div></div>\n <div class=\"vjs-control-bar\">\n <media-play-button class=\"vjs-play-control vjs-control vjs-button\" label=\"播放\"></media-play-button>\n <div class=\"vjs-volume-panel vjs-control vjs-volume-panel-horizontal\">\n <media-mute-button class=\"vjs-mute-control vjs-control vjs-button\" label=\"静音\"></media-mute-button>\n <div class=\"vjs-volume-control vjs-volume-horizontal\"><media-volume-slider class=\"vjs-volume-bar vjs-slider vjs-slider-horizontal\" label=\"音量\">\n <media-slider-track><media-slider-fill class=\"vjs-volume-level\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-volume-thumb\"></media-slider-thumb>\n <media-slider-value class=\"vjs-volume-tooltip\"></media-slider-value>\n </media-volume-slider></div>\n </div>\n <div class=\"vjs-progress-control vjs-control\"><media-time-slider class=\"vjs-progress-holder vjs-slider vjs-slider-horizontal\" label=\"播放进度\">\n <media-slider-track><media-slider-buffer class=\"vjs-load-progress\"></media-slider-buffer><media-slider-fill class=\"vjs-play-progress\"></media-slider-fill></media-slider-track>\n <media-slider-thumb class=\"vjs-progress-thumb\"></media-slider-thumb>\n </media-time-slider></div>\n <div class=\"vjs-subtitles-control vjs-control\"><button type=\"button\" class=\"vjs-button\" aria-label=\"开启字幕\" aria-pressed=\"false\">CC</button></div>\n <media-pip-button class=\"vjs-picture-in-picture-control vjs-control vjs-button\" label=\"画中画\"></media-pip-button>\n <media-fullscreen-button class=\"vjs-fullscreen-control vjs-control vjs-button\" label=\"全屏\"></media-fullscreen-button>\n </div>");let o = new EventTarget(), s = new AbortController(), c = s.signal, l = !1, u = 0, d = 0, f = 0, p = {@@ -32051,9 +32231,9 @@ var iM = (e) => typeof e == "string" ? [e] : e, Vse = (e, t) => {e && Array.isArray(e.levels) && !x.has(e) && (x.add(e), e.on("hlsManifestParsed", w), e.on("hlsLevelSwitched", w)), w();};return e.addEventListener("loadedmetadata", T, { signal: c }), {- on: (e, t) => iM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),- off: (e, t) => iM(e).forEach((e) => o.removeEventListener(e, t)),- one: (e, t) => iM(e).forEach((e) => o.addEventListener(e, t, {+ on: (e, t) => fM(e).forEach((e) => o.addEventListener(e, t, { signal: c })),+ off: (e, t) => fM(e).forEach((e) => o.removeEventListener(e, t)),+ one: (e, t) => fM(e).forEach((e) => o.addEventListener(e, t, {once: !0,signal: c})),@@ -32108,7 +32288,7 @@ var iM = (e) => typeof e == "string" ? [e] : e, Vse = (e, t) => {n.id = String(t.id || ""), t.legacyId && (n.dataset.subtitleAlias = String(t.legacyId)), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);}};-}, Hse = "/vendor/videojs/10.2.0/", Use = [+}, mM = "/vendor/videojs/10.2.0/", hM = ["video-player.js","media/hlsjs-video.js","media/dash-video.js",@@ -32126,17 +32306,17 @@ var iM = (e) => typeof e == "string" ? [e] : e, Vse = (e, t) => {"ui/slider-value.js","i18n.js","locales/zh-CN.js"-], aM = null;-function oM() {- return aM ??= Promise.all(Use.map((e) => import(+], gM = null;+function _M() {+ return gM ??= Promise.all(hM.map((e) => import(/* @vite-ignore */- `${Hse}${e}`-))).then(() => Vse).catch((e) => {- throw aM = null, e;- }), aM;+ `${mM}${e}`+))).then(() => pM).catch((e) => {+ throw gM = null, e;+ }), gM;}// src/player/immerse-player.ts-var Wse = {+var vM = {controls: !1,preload: "auto",posterImage: !1,@@ -32148,38 +32328,38 @@ var Wse = {errorDisplay: !1,textTrackSettings: !1};-function Gse(e, t) {+function yM(e, t) {let { item: n, session: r } = t, i = null, a = !1;- return Promise.all([Qj(n, r), oM().catch(() => null)]).then(([o, s]) => {+ return Promise.all([iM(n, r), _M().catch(() => null)]).then(([o, s]) => {if (a) return;- let c = Zj(n, r), l = String(o.type || "").includes("mpegurl");+ let c = nM(n, r), l = String(o.type || "").includes("mpegurl");if (!s) e.src = (l ? c : o).src;else {- let t = s(e, Wse);- i = t, t.peachItem = n, t.peachPlaybackKey = Uj("item", n);+ let t = s(e, vM);+ i = t, t.peachItem = n, t.peachPlaybackKey = Jj("item", n);let r = new AbortController();- Cj(t.el(), e, r.signal, Ej(t)), Aj(t, e), Dj(t, e), t.on("dispose", () => r.abort()), new Oj(t, e), zj(t, n.id), l && t.one("error", () => {+ Oj(t.el(), e, r.signal, jj(t)), Fj(t, e), Mj(t, e), t.on("dispose", () => r.abort()), new Nj(t, e), Wj(t, n.id), l && t.one("error", () => {a || t.src(c);}), t.src(o);}- qj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();+ Qj(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();}), () => {- a || (a = !0, $j(r), i ? Jj(i) : (e.pause(), Gj(e), e.removeAttribute("src"), e.load()));+ a || (a = !0, aM(r), i ? $j(i) : (e.pause(), Xj(e), e.removeAttribute("src"), e.load()));};}// src/player/detail-player.ts-var sM = /* @__PURE__ */ new WeakMap(), cM = null, lM = null, uM = null;-function dM() {- cM &&= (clearInterval(cM), null), lM &&= (clearInterval(lM), null), uM &&= (clearTimeout(uM), null);+var bM = /* @__PURE__ */ new WeakMap(), xM = null, SM = null, CM = null;+function wM() {+ xM &&= (clearInterval(xM), null), SM &&= (clearInterval(SM), null), CM &&= (clearTimeout(CM), null);}-async function Kse(e, t, n, r = {}) {- let i = oj();+async function ace(e, t, n, r = {}) {+ let i = dj();if (i && !i.isDisposed()) return i;- let a = $A(), o = r.resume ?? null;+ let a = aj(), o = r.resume ?? null;o?.autoplay && (n = !0);- let s = () => r.source ? Promise.resolve(r.source) : Bse(e), c;+ let s = () => r.source ? Promise.resolve(r.source) : uM(e), c;try {- c = await oM();+ c = await _M();} catch {return t.controls = !0, s().then((e) => {t.addEventListener("loadedmetadata", () => {@@ -32205,7 +32385,7 @@ async function Kse(e, t, n, r = {}) {} }}});- sj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Uj("item", e), gse(l), l.on("loadedmetadata", () => {+ fj(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || Jj("item", e), Lse(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}`);});@@ -32213,7 +32393,7 @@ async function Kse(e, t, n, r = {}) {speed: [],activity: [],buffer: []- }, f = Number(r.size ?? e.size) || 0, p = vse(dj(f, e.duration)), m = 0, h = !1, g = () => oj() === l && !l.isDisposed(), _ = () => {+ }, f = Number(r.size ?? e.size) || 0, p = zse(gj(f, e.duration)), m = 0, h = !1, g = () => dj() === 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(() => {@@ -32224,15 +32404,15 @@ async function Kse(e, t, n, r = {}) {ready: !1,updateStats: () => {}};- sM.set(l, y), y.updateStats = () => {+ bM.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 = tM(), h = s ? gj(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 = sM(), h = s ? xj(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 = vj(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 = Cj(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 = lj(t);- pj(d.speed, x), pj(d.activity, C), pj(d.buffer, w);+ let w = mj(t);+ vj(d.speed, x), vj(d.activity, C), vj(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 ? ["网络活动",`${_ ? jn(_) : "—"} · ${h.length} 请求`,@@ -32250,17 +32430,17 @@ async function Kse(e, t, n, r = {}) {["连接速度",D,- hj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)+ bj(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)],[k[0],k[1],- hj(d.activity, "activity", Math.max(1, ...d.activity), k[2])+ bj(d.activity, "activity", Math.max(1, ...d.activity), k[2])],["缓冲健康",`${w.toFixed(1)} 秒`,- hj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)+ bj(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)],["播放时间", `${An(t.currentTime)} / ${An(u || l.duration())}`],["日期", (/* @__PURE__ */ new Date()).toLocaleString()]@@ -32276,15 +32456,15 @@ async function Kse(e, t, n, r = {}) {if (!n || l.isDisposed()) return;let r = v();r || p.sample(t);- let i = vj(l, e.id, tM(), r ? null : p), a = r ? yj(i) : bse(i, lj(t));+ let i = Cj(l, e.id, sM(), r ? null : p), a = r ? wj(i) : Vse(i, mj(t));n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;}, C = () => {let e = y.chrome?.netBadge;- e && e.isConnected && (e.hidden = !1, S(), lM && clearInterval(lM), lM = setInterval(S, 500));+ e && e.isConnected && (e.hidden = !1, S(), SM && clearInterval(SM), SM = setInterval(S, 500));}, w = () => {let e = y.chrome?.netBadge;- e && (uM && clearTimeout(uM), uM = setTimeout(() => {- e.hidden = !0, lM &&= (clearInterval(lM), null);+ e && (CM && clearTimeout(CM), CM = setTimeout(() => {+ e.hidden = !0, SM &&= (clearInterval(SM), null);}, 1400));};return l.on([@@ -32295,7 +32475,7 @@ async function Kse(e, t, n, r = {}) {], C), l.on(["canplay", "playing"], () => {S(), w();}), l.on("error", () => {- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(zse(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(lM(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {t[String(e.root_id || e.location)] !== !1 || l.isDisposed() || l.error({code: 2,message: `媒体目录无法访问 · ${a.offlineReason(String(e.root_id || e.location))}`@@ -32303,13 +32483,13 @@ async function Kse(e, t, n, r = {}) {});}), l.ready(() => {_();- let n = Ij(l, t, e.height, r.qualities ?? null);+ let n = Vj(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 = dj(r, e.duration));- }).catch(() => {}), Lj(l, e, { thumbnail: !r.source }), Nse(l, e), Rj(l), r.source || zj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);+ r > 0 && !f && (f = r, p.bitrate = gj(r, e.duration));+ }).catch(() => {}), Hj(l, e, { thumbnail: !r.source }), ece(l, e), Uj(l), r.source || Wj(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);}), s().then((e) => {g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {if (l.isDisposed()) return;@@ -32318,14 +32498,14 @@ async function Kse(e, t, n, r = {}) {}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));}).catch(() => {}), l;}-var qse = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";-function fM(e, t = null) {- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", qse), e.querySelector(":scope > #playerStatsBtn")) return;+var oce = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";+function TM(e, t = null) {+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", oce), e.querySelector(":scope > #playerStatsBtn")) return;let n = document.createElement("template");- n.innerHTML = yse(), e.insertBefore(n.content, t);+ n.innerHTML = Bse(), e.insertBefore(n.content, t);}-function pM(e, t) {- let n = sM.get(e);+function EM(e, t) {+ let n = bM.get(e);if (!n || e.isDisposed()) return () => {};let r = (e) => t.querySelector(`:scope > #${e}`), i = {statsButton: r("playerStatsBtn"),@@ -32337,29 +32517,29 @@ function pM(e, t) {if (a && o) {a.hidden = !n.ready;let e = () => {- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), cM &&= (clearInterval(cM), null));+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), xM &&= (clearInterval(xM), null));};a.onclick = () => {- o.hidden ? (document.dispatchEvent(new CustomEvent(mj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), cM && clearInterval(cM), cM = setInterval(n.updateStats, 1e3)) : e();+ o.hidden ? (document.dispatchEvent(new CustomEvent(yj, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), xM && clearInterval(xM), xM = setInterval(n.updateStats, 1e3)) : e();};let t = (t) => {t.detail !== "stats" && e();};- document.addEventListener(mj, t), s = () => document.removeEventListener(mj, t);+ document.addEventListener(yj, t), s = () => document.removeEventListener(yj, t);}- let c = e.el().querySelector("video"), l = c ? Ase(c) : () => {}, u = !0, d = () => {- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, dM()));+ let c = e.el().querySelector("video"), l = c ? Zse(c) : () => {}, u = !0, d = () => {+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, wM()));};return e.one("dispose", d), d;}-function mM(e, t) {- if (t.kind === "immerse") return Gse(e, t);- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = $A(), c = t.chrome === !1 ? null : e.parentElement;- c && fM(c, e);- let l = Uj(n, r, i?.index ?? null), u = {+function DM(e, t) {+ if (t.kind === "immerse") return yM(e, t);+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = aj(), c = t.chrome === !1 ? null : e.parentElement;+ c && TM(c, e);+ let l = Jj(n, r, i?.index ?? null), u = {playbackKey: l,resume: t.resume ?? {- time: Fse(l, r),+ time: nce(l, r),autoplay: !1}};@@ -32379,36 +32559,36 @@ function mM(e, t) {t && (e.poster = t);}let d = null, f = !1, p = () => {}, m = e, h = () => {- p(), !(d && a?.(d)) && (Hj(m), d ? (oj() === d && (sj(null), dM()), Jj(d)) : Gj(m));+ p(), !(d && a?.(d)) && (qj(m), d ? (dj() === d && (fj(null), wM()), $j(d)) : Xj(m));};- return Kse(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {- d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, Ise(l, m), n === "follow" ? Lse(r, m) : (m.addEventListener("play", () => {+ return ace(r, e, t.autoplay ?? s.settings().detailAutoplay, u).then((t) => {+ d = t, f ? h() : (m = t?.el().querySelector("video") ?? e, rce(l, m), n === "follow" ? ice(r, m) : (m.addEventListener("play", () => {on("/api/play", {method: "POST",body: JSON.stringify({ id: r.id })}).catch(() => {});- }, { once: !0 }), qj(r, m, {+ }, { once: !0 }), Qj(r, m, {watched: "#watched",mark: "#mark",ratio: "#ratioTxt"- })), t ? (c && (p = pM(t, c)), o?.(t)) : o?.(null));+ })), t ? (c && (p = EM(t, c)), o?.(t)) : o?.(null));}), () => {f = !0, h();};}// src/player/playback.ts-function hM(e) {+function OM(e) {e && (e.paused ? e.play()?.catch(() => {}) : e.pause());}-function gM(e, t) {+function kM(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);}// src/player/preview-player.ts-function _M(e, t, n) {+function sce(e, t, n) {e.controls = !1;let r = !1, i = null;- return oM().then((a) => {+ return _M().then((a) => {if (r) return;i = a(e, {controls: !0,@@ -32433,56 +32613,56 @@ function _M(e, t, n) {o.on("error", () => {r || n();}), o.ready(() => {- r || o.isDisposed() || (Ij(o, e), Lj(o, null, { thumbnail: !1 }), Rj(o));+ r || o.isDisposed() || (Vj(o, e), Hj(o, null, { thumbnail: !1 }), Uj(o));}), o.src(t);}).catch(() => {r || n();}), () => {- r = !0, Jj(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());+ r = !0, $j(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());};}// src/react/catalog-grid/catalog-view.ts-var vM = "peach.catalog-view.v1", yM = /* @__PURE__ */ new Set(), bM = "cards";-function xM() {+var AM = "peach.catalog-view.v1", jM = /* @__PURE__ */ new Set(), MM = "cards";+function NM() {try {- return localStorage.getItem(vM) === "list" ? "list" : "cards";+ return localStorage.getItem(AM) === "list" ? "list" : "cards";} catch {- return bM;+ return MM;}}-function SM(e) {- bM = e === "list" ? "list" : "cards";+function cce(e) {+ MM = e === "list" ? "list" : "cards";try {- localStorage.setItem(vM, bM);+ localStorage.setItem(AM, MM);} catch {}- yM.forEach((e) => e());+ jM.forEach((e) => e());}-function CM(e) {- yM.add(e);+function lce(e) {+ jM.add(e);let t = (t) => {- (t.key === vM || t.key === null) && e();+ (t.key === AM || t.key === null) && e();};return addEventListener("storage", t), () => {- yM.delete(e), removeEventListener("storage", t);+ jM.delete(e), removeEventListener("storage", t);};}-var wM = () => (0, P.useSyncExternalStore)(CM, xM, () => "cards");-function TM(e, t) {+var PM = () => (0, P.useSyncExternalStore)(lce, NM, () => "cards");+function FM(e, t) {let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));return t && n.set("exclude_vertical", "1"), n.toString();}-var EM = (e, t) => [+var uce = (e, t) => ["catalog-grid","catalog",e,t-], DM = (e, t) => [+], dce = (e, t) => ["catalog-grid","entity",e,t];-async function OM(e, t, n, r, i) {+async function fce(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 B(`/api/items?${a}`, i), s = {@@ -32492,22 +32672,22 @@ async function OM(e, t, n, r, i) {};return t || s.items.length || r || (s.libraryEmpty = (await B("/api/items?limit=1&thumb=0", i)).total === 0), s;}-var kM = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, AM = (e, t) => {+var pce = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, mce = (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 jM(e) {- let t = TM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";+function IM(e) {+ let t = FM(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";return {- queryKey: EM(t, e.revision || 0),- queryFn: ({ pageParam: e, signal: i }) => OM(t, e, n, r, i),+ queryKey: uce(t, e.revision || 0),+ queryFn: ({ pageParam: e, signal: i }) => fce(t, e, n, r, i),initialPageParam: 0,- getNextPageParam: kM(n)+ getNextPageParam: pce(n)};}-function MM(e) {+function hce(e) {return {- queryKey: DM(e.entityKey || "", e.revision || 0),+ queryKey: dce(e.entityKey || "", e.revision || 0),queryFn: async ({ pageParam: t, signal: n }) => {if (!e.fetchPage) return {items: [],@@ -32522,12 +32702,12 @@ function MM(e) {};},initialPageParam: 0,- getNextPageParam: AM+ getNextPageParam: mce};}-async function NM(e, t) {- if (e.mode !== "catalog" || e.wall || xM() === "list") return;- let n = jM(e);+async function gce(e, t) {+ if (e.mode !== "catalog" || e.wall || NM() === "list") return;+ let n = IM(e);await H.fetchInfiniteQuery({...n,queryFn: ({ pageParam: e }) => n.queryFn({@@ -32536,11 +32716,11 @@ async function NM(e, t) {})});}-function PM(e) {+function _ce(e) {let t = JSON.stringify(e);return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;}-function FM(e, t, n) {+function LM(e, t, n) {return n ? e.filter((e) => {let n = e.part_group?.key;if (n) {@@ -32555,24 +32735,24 @@ function FM(e, t, n) {return !0;}) : [...e];}-var IM = (e, t) => !!e && !!Ia(e, t);-function LM(e, t) {- let n = (e) => IM(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) => IM(e, t)) || e[e.length - 1];+var RM = (e, t) => !!e && !!Ia(e, t);+function vce(e, t) {+ let n = (e) => RM(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) => RM(e, t)) || e[e.length - 1];}-function RM(e, { collapse: t, mix: n, javImage: r }) {+function yce(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 = FM(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({+ let e = LM(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 = LM(e, r);+ let t = vce(e, r);t && l.splice(7, 0, {kind: "mix",seed: t@@ -32585,16 +32765,16 @@ function RM(e, { collapse: t, mix: n, javImage: r }) {pageStarts: s};}-function zM(e, t, n) {+function bce(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 BM(e, t) {+function xce(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 Jse(e, t) {+function Sce(e, t) {let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;for (let t of n) r.push({start: i,@@ -32607,10 +32787,10 @@ function Jse(e, t) {strip: null}), r;}-function VM(e, t) {- HM((t) => t.id === e, t);+function zM(e, t) {+ BM((t) => t.id === e, t);}-function HM(e, t) {+function BM(e, t) {H.setQueriesData({ queryKey: ["catalog-grid", "table"] }, (n) => n?.items.some(e) ? {...n,items: n.items.map((n) => e(n) ? {@@ -32631,34 +32811,34 @@ function HM(e, t) {} : n)});}-var UM = (e) => Math.min(Math.max(e || 0, 0), 100), WM = (e) => Math.round(UM(e) / 20), Yse = (e) => {- let t = WM(e);+var VM = (e) => Math.min(Math.max(e || 0, 0), 100), HM = (e) => Math.round(VM(e) / 20), Cce = (e) => {+ let t = HM(e);return t ? `${t} 星` : "未评分";-}, GM = (e, t) => t === WM(e) ? 0 : t * 20, KM = (e) => ["item", e], qM = (e) => [+}, UM = (e, t) => t === HM(e) ? 0 : t * 20, WM = (e) => ["item", e], GM = (e) => ["item-queue",e.kind,e.kind === "playlist" ? e.playlistId : e.seedId-], Xse = (e, t) => [+], wce = (e, t) => ["item-related",e,t-], Zse = (e) => `/api/item?id=${e}`, Qse = (e, t) => `/api/related?id=${e}&limit=${t}`, JM = "/api/playlist", YM = "/api/feedback", XM = "/api/item-tag", ZM = "/api/watch-later", QM = "/api/quality-goal", $M = "/api/preference", eN = class extends Error {};-async function tN(e, t) {- let n = await B(Zse(e), t);- if (n.error) throw new eN(n.error);+], Tce = (e) => `/api/item?id=${e}`, Ece = (e, t) => `/api/related?id=${e}&limit=${t}`, KM = "/api/playlist", qM = "/api/feedback", JM = "/api/item-tag", YM = "/api/watch-later", XM = "/api/quality-goal", ZM = "/api/preference", QM = class extends Error {};+async function $M(e, t) {+ let n = await B(Tce(e), t);+ if (n.error) throw new QM(n.error);return n;}-async function nN(e, t, n) {+async function eN(e, t, n) {if (e.kind === "mix") {- let r = e.seedId, [i, a] = await Promise.all([tN(r, n), t.mixRelated(r)]);- return H.setQueryData(KM(i.id), i), {+ let r = e.seedId, [i, a] = await Promise.all([$M(r, n), t.mixRelated(r)]);+ return H.setQueryData(WM(i.id), i), {kind: "mix",seedId: r,title: `Mix · ${po(i, t.tagLabel)}`,items: [i, ...a.filter((e) => e.id !== i.id)]};}- if (e.kind === "playlist") return rN(await B(`${JM}?id=${e.playlistId}`, n));+ if (e.kind === "playlist") return tN(await B(`${KM}?id=${e.playlistId}`, n));let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");return {@@ -32669,19 +32849,19 @@ async function nN(e, t, n) {versionCount: e.kind === "editions" ? r.count : void 0};}-var rN = (e) => ({+var tN = (e) => ({kind: "playlist",playlistId: e.id,title: e.name,items: e.items || [],currentAssetId: e.current_asset_id-}), iN = (e) => e.disposal === "vanished";-function aN(e, t) {+}), nN = (e) => e.disposal === "vanished";+function rN(e, t) {if (e.kind === "mix") return t;- let n = e.kind === "playlist" ? e.items.filter((e) => !iN(e)) : e.items;+ let n = e.kind === "playlist" ? e.items.filter((e) => !nN(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 $se(e, t) {+function Dce(e, t) {if (t?.kind !== "parts" && t?.kind !== "editions") return e;let n = t.items.find((t) => t.id === e.id)?.part_label || "";return e.part_label === n ? e : {@@ -32689,20 +32869,20 @@ function $se(e, t) {part_label: n};}-function oN(e, t) {+function iN(e, t) {if (!e || e.kind !== "parts" && e.kind !== "editions") return null;let n = e.items.findIndex((e) => e.id === t), r = e.items[n], i = e.items[n + 1];return !r?.part_label || !i?.part_label ? null : e.kind === "parts" || r.version_id != null && r.version_id === i.version_id ? i : null;}-async function sN(e, t) {+async function aN(e, t) {let { queue: n, actions: r } = e, i = null, a = !1;if (n) {- let o = qM(n);+ let o = GM(n);try {let r = n.fresh ? void 0 : H.getQueryData(o);a = !r && n.kind === "mix", i = r || await H.fetchQuery({queryKey: o,- queryFn: () => nN(n, e.helpers, t),+ queryFn: () => eN(n, e.helpers, t),staleTime: 0});} catch (n) {@@ -32714,21 +32894,21 @@ async function sN(e, t) {return;}}- let o = i ? aN(i, e.id) : e.id;+ let o = i ? rN(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 ? H.getQueryData(KM(o)) : void 0;+ let s, c = a && o === i?.seedId ? H.getQueryData(WM(o)) : void 0;try {s = c || await H.fetchQuery({- queryKey: KM(o),- queryFn: () => tN(o, t),+ queryKey: WM(o),+ queryFn: () => $M(o, t),staleTime: 0});} catch (e) {if (t.aborted) throw e;- if (e instanceof eN) {+ if (e instanceof QM) {r.redirect({ kind: "gone" });return;}@@ -32739,7 +32919,7 @@ async function sN(e, t) {id: Number(s.follow_item_id)});}-function ece(e) {+function Oce(e) {let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {let t = wn(e.name);return !e.name || n.has(t) ? !1 : (n.add(t), !0);@@ -32761,35 +32941,35 @@ function ece(e) {unowned: !i.length && !c.length && !String(e.creator || "").trim()};}-function tce(e, t) {+function kce(e, t) {let n = /* @__PURE__ */ new Map();return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {let r = wn(t.tagLabel(e.k)), i = n.get(r);(!i || wn(e.k) === r && wn(i.k) !== r) && n.set(r, e);}), [...n.values()].slice(0, 40);}-var cN = (e, t) => (e.tags || []).some((e) => wn(e.k) === wn(t)), lN = (e, t) => ({+var oN = (e, t) => (e.tags || []).some((e) => wn(e.k) === wn(t)), sN = (e, t) => ({...e,tags: (e.tags || []).filter((e) => wn(e.k) !== wn(t))-}), uN = (e, t) => cN(e, t.k) ? e : {+}), cN = (e, t) => oN(e, t.k) ? e : {...e,tags: [...e.tags || [], t]-}, dN = "peach.recentTags";-function fN() {+}, lN = "peach.recentTags";+function uN() {try {- let e = JSON.parse(localStorage.getItem(dN) || "[]");+ let e = JSON.parse(localStorage.getItem(lN) || "[]");return Array.isArray(e) ? e.map(String) : [];} catch {return [];}}-function pN(e) {+function dN(e) {try {- let t = fN().filter((t) => wn(t) !== wn(e));- localStorage.setItem(dN, JSON.stringify([e, ...t].slice(0, 12)));+ let t = uN().filter((t) => wn(t) !== wn(e));+ localStorage.setItem(lN, JSON.stringify([e, ...t].slice(0, 12)));} catch {}}-function nce(e, t, n) {+function Ace(e, t, n) {let r = wn(e), i = new Map(t.map((e) => [wn(e.k), e])), a = t.filter((e) => !r || wn(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(wn(e)) || {k: e,n: 0@@ -32800,72 +32980,72 @@ function nce(e, t, n) {create: r && !s ? e.trim() : ""};}-var rce = {+var jce = {中字: "subtitle",无码: "uncensored",无码破解: "cracked",有码: "censored"-}, ice = {+}, Mce = {mix: "Mix",parts: "分卷",editions: "版本",playlist: "播放列表"};-function ace(e) {+function Nce(e) {let t = (e.kind === "editions" ? e.versionCount ?? e.items.length : e.items.length).toLocaleString(), n = e.kind === "parts" ? `${t} 卷` : e.kind === "editions" ? `${t} 个版本` : `${t} 个视频`;return {- title: ice[e.kind],+ title: Mce[e.kind],summary: e.kind === "editions" ? n : `${e.title} · ${n}`};}-var mN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, oce = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(mN(e.part_label))}</small>` : "";-function sce(e, t, n, r) {+var fN = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Pce = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(fN(e.part_label))}</small>` : "";+function Fce(e, t, n, r) {let i = e.filter((e) => e !== t), a = i.indexOf(n);return i.splice(a + +!!r, 0, t), i;}-var cce = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);-function lce(e, t) {+var Ice = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);+function Lce(e, t) {return t ? "offline" : String(e.name || "").toLowerCase().endsWith(".iso") ? "disc" : e.location === "online" && !e.follow_item_id ? "online" : e.cost === "metered" && e.location !== "online" ? "metered" : "";}-function uce(e) {+function Rce(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 hN(e, t) {+function pN(e, t) {return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";}// src/react/immerse/immerse.ts-var dce = (e, t, n) => [+var zce = (e, t, n) => ["immerse-list",e,t,n];-function fce(e) {+function Bce(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 pce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));-function mce(e, t = Math.random) {+var Vce = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));+function Hce(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 hce(e, t) {- return mce(((await B(`/api/items?${e}`)).items || []).filter((e) => pce(e, t)));+async function Uce(e, t) {+ return Hce(((await B(`/api/items?${e}`)).items || []).filter((e) => Vce(e, t)));}-var gN = (e) => H.ensureQueryData({- queryKey: KM(e),- queryFn: ({ signal: t }) => tN(e, t)+var mN = (e) => H.ensureQueryData({+ queryKey: WM(e),+ queryFn: ({ signal: t }) => $M(e, t)});-function gce(e, t) {+function Wce(e, t) {let n = new Set(e.map((e) => e.id));return e.concat(t.filter((e) => !n.has(e.id)));}-function _ce(e) {+function Gce(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,@@ -32874,306 +33054,306 @@ function _ce(e) {ref: r && e.entity_refs?.[r]?.[0] || null};}-function vce(e, t, n) {+function Kce(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 yce(e, t) {+function qce(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 bce = 15e3, _N = {+var Jce = 15e3, hN = {open: !1,idle: !1,wide: !1,loading: null,shown: null-}, vN = null, yN = null, bN = _N, xN = /* @__PURE__ */ new Set(), SN = 0, CN = 0, wN = 0, TN = "", EN = [], DN = 0, ON = !1, kN = !1, AN = null, jN = /* @__PURE__ */ new Set(), MN = "", NN = null, PN = 0, FN = null, IN = !1;-function LN() {- if (!vN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");- return vN;+}, gN = null, _N = null, vN = hN, yN = /* @__PURE__ */ new Set(), bN = 0, xN = 0, SN = 0, CN = "", wN = [], TN = 0, EN = !1, DN = !1, ON = null, kN = /* @__PURE__ */ new Set(), AN = "", jN = null, MN = 0, NN = null, PN = !1;+function FN() {+ if (!gN) throw Error("沉浸模式还没有接上宿主(configureImmerse)");+ return gN;}-function xce(e) {- return xN.add(e), () => {- xN.delete(e);+function Yce(e) {+ return yN.add(e), () => {+ yN.delete(e);};}-function Sce() {- for (let e of [...xN]) e();+function Xce() {+ for (let e of [...yN]) e();}-function RN() {- (0, Lt.flushSync)(Sce);+function IN() {+ (0, Lt.flushSync)(Xce);}-function zN() {- let e = NN ? _j(NN.id) : 0;- return e ? `${MN} · ${yj(e)}` : MN;+function LN() {+ let e = jN ? Sj(jN.id) : 0;+ return e ? `${AN} · ${wj(e)}` : AN;}-function BN(e, t = null) {- clearInterval(PN), PN = 0, e === null ? (bN = {- ...bN,+function RN(e, t = null) {+ clearInterval(MN), MN = 0, e === null ? (vN = {+ ...vN,loading: null- }, RN()) : (MN = e, NN = t, bN = {- ...bN,- loading: zN()- }, RN(), PN = window.setInterval(() => {- NN = EN[DN] ?? null, bN = {- ...bN,- loading: zN()- }, RN();+ }, IN()) : (AN = e, jN = t, vN = {+ ...vN,+ loading: LN()+ }, IN(), MN = window.setInterval(() => {+ jN = wN[TN] ?? null, vN = {+ ...vN,+ loading: LN()+ }, IN();}, 500));}-function Cce(e) {+function Zce(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), yN.track.append(t);- let r = Xj(), i = () => {}, a = {+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), _N.track.append(t);+ let r = tM(), i = () => {}, a = {el: t,video: n,session: r,- release: () => $j(r),+ release: () => aM(r),disposed: !1,gone: new Promise((e) => {i = e;}),leave: i};- return jN.add(a), a;+ return kN.add(a), a;}-function wce(e, t) {+function Qce(e, t) {return new Promise((n) => {- e.release = mM(e.video, {+ e.release = DM(e.video, {kind: "immerse",item: t,session: e.session,onLoaded: n,onEnded: () => {- bN.open && qN(1);+ vN.open && GN(1);}}), e.gone.then(n);});}-function VN(e) {- e && !e.disposed && (e.disposed = !0, jN.delete(e), e.leave(), e.release(), e.el.remove(), AN === e && (AN = null));+function zN(e) {+ e && !e.disposed && (e.disposed = !0, kN.delete(e), e.leave(), e.release(), e.el.remove(), ON === e && (ON = null));}-var HN = [+var BN = ["loadeddata","canplay","error"];-function Tce(e) {+function $ce(e) {let { video: t } = e;return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {let r = !1, i = () => {- r || (r = !0, clearTimeout(a), HN.forEach((e) => t.removeEventListener(e, i)), n());+ r || (r = !0, clearTimeout(a), BN.forEach((e) => t.removeEventListener(e, i)), n());};- HN.forEach((e) => t.addEventListener(e, i, { once: !0 }));- let a = setTimeout(i, bce);+ BN.forEach((e) => t.addEventListener(e, i, { once: !0 }));+ let a = setTimeout(i, Jce);e.gone.then(i);});}-function UN(e) {- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = vce(e.videoWidth, e.videoHeight, n);+function VN(e) {+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = Kce(e.videoWidth, e.videoHeight, n);r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;}-var WN = () => yN?.track.querySelectorAll("video").forEach(UN);-function Ece(e) {- delete e.dataset.fit, e.readyState >= 1 ? UN(e) : e.addEventListener("loadedmetadata", () => UN(e), { once: !0 });+var HN = () => _N?.track.querySelectorAll("video").forEach(VN);+function ele(e) {+ delete e.dataset.fit, e.readyState >= 1 ? VN(e) : e.addEventListener("loadedmetadata", () => VN(e), { once: !0 });}-function Dce(e) {- bN = {- ...bN,+function tle(e) {+ vN = {+ ...vN,wide: e- }, RN(), WN();+ }, IN(), HN();}-var GN = () => {- let e = TN;+var UN = () => {+ let e = CN;return H.fetchQuery({- queryKey: dce(e, CN, wN),- queryFn: () => hce(e, LN().sourceOffline),+ queryKey: zce(e, xN, SN),+ queryFn: () => Uce(e, FN().sourceOffline),staleTime: Infinity});};-function Oce(e, t) {+function nle(e, t) {let n = () => On(e.duration) || On(t.duration);e.addEventListener("timeupdate", () => {let t = n();- t && yN && (yN.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);- }), FN = {+ t && _N && (_N.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);+ }), NN = {video: e,duration: n};}-async function KN(e = 0) {- let t = EN[DN];- if (!t || ON) return;- let n = SN;- LN().route(t.id), ON = !0, BN(e ? "切换中" : "加载中", t);+async function WN(e = 0) {+ let t = wN[TN];+ if (!t || EN) return;+ let n = bN;+ FN().route(t.id), EN = !0, RN(e ? "切换中" : "加载中", t);let r = null;try {- if (await gN(t.id).catch((e) => {- if (!(e instanceof eN)) throw e;- }), n !== SN) return;- let i = AN, a = !!(e && i);- a || VN(i);- let o = Cce(a ? e > 0 ? 100 : -100 : 0);- if (r = o, Ece(o.video), await wce(o, t), await Tce(o), o.disposed || (Dce(yce(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {+ if (await mN(t.id).catch((e) => {+ if (!(e instanceof QM)) throw e;+ }), n !== bN) return;+ let i = ON, a = !!(e && i);+ a || zN(i);+ let o = Zce(a ? e > 0 ? 100 : -100 : 0);+ if (r = o, ele(o.video), await Qce(o, t), await $ce(o), o.disposed || (tle(qce(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)), VN(i), o.el.style.transform = ""), o.disposed)) return;- AN = o, r = null, o.video.play()?.catch(() => {}), bN = {- ...bN,+ })), await new Promise((e) => setTimeout(e, 210)), zN(i), o.el.style.transform = ""), o.disposed)) return;+ ON = o, r = null, o.video.play()?.catch(() => {}), vN = {+ ...vN,idle: !1,shown: {item: t,- index: DN,- length: EN.length+ index: TN,+ length: wN.length}- }, Oce(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), BN(null);+ }, nle(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), RN(null);} catch {- VN(r), n === SN && BN(null);+ zN(r), n === bN && RN(null);} finally {- n === SN && (ON = !1);+ n === bN && (EN = !1);}}-async function qN(e) {- if (ON || !bN.open) return;- let t = SN;- if (DN += e, BN("切换中", EN[DN] ?? null), DN >= EN.length - 3 && !kN) {- kN = !0;+async function GN(e) {+ if (EN || !vN.open) return;+ let t = bN;+ if (TN += e, RN("切换中", wN[TN] ?? null), TN >= wN.length - 3 && !DN) {+ DN = !0;try {- wN += 1;- let e = await GN();- t === SN && (EN = gce(EN, e));+ SN += 1;+ let e = await UN();+ t === bN && (wN = Wce(wN, e));} catch {} finally {- kN = !1;+ DN = !1;}}- t === SN && (DN >= EN.length && (DN = 0), DN < 0 && (DN = EN.length - 1), await KN(e));+ t === bN && (TN >= wN.length && (TN = 0), TN < 0 && (TN = wN.length - 1), await WN(e));}-async function kce(e) {- let t = ++SN;- JN(), CN += 1, wN = 0, TN = fce(LN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), bN = {- ...bN,+async function rle(e) {+ let t = ++bN;+ KN(), xN += 1, SN = 0, CN = Bce(FN().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), vN = {+ ...vN,open: !0,idle: !0,shown: null- }, document.body.setAttribute("data-immerse-open", ""), BN("加载内容");+ }, document.body.setAttribute("data-immerse-open", ""), RN("加载内容");try {- let n = await GN();+ let n = await UN();if (e && !n.some((t) => t.id === e)) {- let t = await gN(e).catch((e) => {- if (e instanceof eN) return null;+ let t = await mN(e).catch((e) => {+ if (e instanceof QM) return null;throw e;});t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);}- if (t !== SN) return;- if (EN = n, !EN.length) {- YN(), LN().warn("当前筛选下没有可直接播放的内容");+ if (t !== bN) return;+ if (wN = n, !wN.length) {+ qN(), FN().warn("当前筛选下没有可直接播放的内容");return;}- DN = Math.max(0, EN.findIndex((t) => t.id === e)), await KN();+ TN = Math.max(0, wN.findIndex((t) => t.id === e)), await WN();} catch {- if (t !== SN) return;- BN(null), YN();+ if (t !== bN) return;+ RN(null), qN();}}-function JN() {- clearInterval(PN), PN = 0, tP(), $N = null, FN = null, IN = !1, [...jN].forEach(VN), ON = !1;+function KN() {+ clearInterval(MN), MN = 0, $N(), ZN = null, NN = null, PN = !1, [...kN].forEach(zN), EN = !1;}-function YN() {- bN.open && (SN++, JN(), bN = _N, document.body.removeAttribute("data-immerse-open"), RN(), LN().closed());+function qN() {+ vN.open && (bN++, KN(), vN = hN, document.body.removeAttribute("data-immerse-open"), IN(), FN().closed());}-var XN = 0, ZN = null, QN = 0, $N = null, eP = 0;-function tP() {- clearTimeout(XN), XN = 0, ZN = null;+var JN = 0, YN = null, XN = 0, ZN = null, QN = 0;+function $N() {+ clearTimeout(JN), JN = 0, YN = null;}-function Ace(e) {- let t = AN?.video;+function ile(e) {+ let t = ON?.video;if (!t) return;let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();- ZN && ZN.side === n && r - ZN.at <= 280 ? (tP(), gM(t, LN().seekSeconds() * n)) : (XN && (clearTimeout(XN), XN = 0, hM(t)), ZN = {+ YN && YN.side === n && r - YN.at <= 280 ? ($N(), kM(t, FN().seekSeconds() * n)) : (JN && (clearTimeout(JN), JN = 0, OM(t)), YN = {side: n,at: r- }, XN = window.setTimeout(() => {- XN = 0, ZN = null, bN.open && hM(AN?.video);+ }, JN = window.setTimeout(() => {+ JN = 0, YN = null, vN.open && OM(ON?.video);}, 280));}-function jce() {- Date.now() < QN || hM(AN?.video);+function ale() {+ Date.now() < XN || OM(ON?.video);}-var nP = (e) => yN?.bar.toggleAttribute("data-scrubbing", e);-function rP(e) {- yN && (yN.progress.style.width = `${(e * 100).toFixed(2)}%`);+var eP = (e) => _N?.bar.toggleAttribute("data-scrubbing", e);+function tP(e) {+ _N && (_N.progress.style.width = `${(e * 100).toFixed(2)}%`);}-function iP(e) {+function nP(e) {let t = e.target;if (e.touches.length !== 1 || !t?.closest("[data-immerse-track]")) {- $N = null;+ ZN = null;return;}- let n = AN?.video;- $N = {+ let n = ON?.video;+ ZN = {x: e.touches[0].clientX,y: e.touches[0].clientY,axis: "",from: n && n.currentTime || 0};}-function aP(e) {- if (!$N || e.touches.length !== 1) return;- let t = e.touches[0].clientX - $N.x, n = e.touches[0].clientY - $N.y;- if (!$N.axis) {+function rP(e) {+ if (!ZN || e.touches.length !== 1) return;+ let t = e.touches[0].clientX - ZN.x, n = e.touches[0].clientY - ZN.y;+ if (!ZN.axis) {if (Math.abs(t) < 12 && Math.abs(n) < 12) return;- $N.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", $N.axis === "x" && nP(!0);+ ZN.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", ZN.axis === "x" && eP(!0);}- if ($N.axis !== "x") return;- let r = AN?.video, i = r && r.duration || 0;- i && (e.preventDefault(), $N.to = Math.min(i, Math.max(0, $N.from + t / window.innerWidth * i)), rP($N.to / i));+ if (ZN.axis !== "x") return;+ let r = ON?.video, i = r && r.duration || 0;+ i && (e.preventDefault(), ZN.to = Math.min(i, Math.max(0, ZN.from + t / window.innerWidth * i)), tP(ZN.to / i));}-function oP(e) {- if (!$N) return;- let t = $N;- if ($N = null, QN = Date.now() + 700, nP(!1), t.axis === "x") {- let e = AN?.video;+function iP(e) {+ if (!ZN) return;+ let t = ZN;+ if (ZN = null, XN = Date.now() + 700, eP(!1), t.axis === "x") {+ let e = ON?.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;- Math.abs(i) > 60 ? (tP(), qN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Ace(n.clientX));+ Math.abs(i) > 60 ? ($N(), GN(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), ile(n.clientX));}-function sP() {- $N = null, nP(!1);+function aP() {+ ZN = null, eP(!1);}-function cP(e) {+function oP(e) {let t = Date.now();- t - eP < 260 || (eP = t, qN(e.deltaY > 0 ? 1 : -1));+ t - QN < 260 || (QN = t, GN(e.deltaY > 0 ? 1 : -1));}-function lP(e) {- let t = yN.bar.getBoundingClientRect();+function sP(e) {+ let t = _N.bar.getBoundingClientRect();return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));}-function Mce(e) {- FN?.duration() && (IN = !0, nP(!0), e.currentTarget.setPointerCapture(e.pointerId), rP(lP(e)), e.preventDefault());+function ole(e) {+ NN?.duration() && (PN = !0, eP(!0), e.currentTarget.setPointerCapture(e.pointerId), tP(sP(e)), e.preventDefault());}-function Nce(e) {- IN && rP(lP(e));+function sle(e) {+ PN && tP(sP(e));}-function Pce(e) {- if (!IN) return;- IN = !1, nP(!1);- let t = FN?.duration();- FN && t && (FN.video.currentTime = t * lP(e));+function cle(e) {+ if (!PN) return;+ PN = !1, eP(!1);+ let t = NN?.duration();+ NN && t && (NN.video.currentTime = t * sP(e));}-function Fce() {- IN = !1, nP(!1);+function lle() {+ PN = !1, eP(!1);}-async function uP(e, t) {- let n = await V(YM, {+async function cP(e, t) {+ let n = await V(qM, {id: e,kind: t- }), r = H.getQueryData(KM(e));- if (!r) return VM(e, {+ }), r = H.getQueryData(WM(e));+ if (!r) return zM(e, {feedback: n.feedback ?? void 0,o_count: n.o_count}), n;@@ -33182,7 +33362,7 @@ async function uP(e, t) {feedback: n.feedback ?? void 0,o_count: n.o_count};- return H.setQueryData(KM(e), i), VM(e, {+ return H.setQueryData(WM(e), i), zM(e, {feedback: i.feedback,disposal: i.disposal,watch_later: i.watch_later,@@ -33190,7 +33370,7 @@ async function uP(e, t) {o_count: i.o_count}), n;}-var Ice = [+var ule = [{kind: "dislike",glyph: "thumbs-down",@@ -33207,31 +33387,31 @@ var Ice = [label: "记一次高潮"}];-function dP(e) {+function lP(e) {return Pt({- queryKey: KM(e ?? 0),- queryFn: ({ signal: t }) => tN(e, t),+ queryKey: WM(e ?? 0),+ queryFn: ({ signal: t }) => $M(e, t),enabled: e != null,staleTime: Infinity}).data;}-function Lce({ kind: e, glyph: t, label: n, id: r }) {- let i = dP(r), a = Ft({+function dle({ kind: e, glyph: t, label: n, id: r }) {+ let i = lP(r), a = Ft({mutationFn: async (t) => {- let n = H.getQueryData(KM(t))?.feedback || null;+ let n = H.getQueryData(WM(t))?.feedback || null;return {- result: await uP(t, e),+ result: await cP(t, e),before: n};},onSuccess: ({ result: t, before: n }, r) => {- LN().toast(hN(e, t), { undo: async () => {- e === "o" ? await uP(r, "o-undo") : (t.feedback && await uP(r, t.feedback), n && await uP(r, n));+ FN().toast(pN(e, t), { undo: async () => {+ e === "o" ? await cP(r, "o-undo") : (t.feedback && await cP(r, t.feedback), n && await cP(r, n));} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {- qN(1);+ GN(1);}, 260);},- onError: (e) => LN().failure("更新反馈", e)+ onError: (e) => FN().failure("更新反馈", e)}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;return /* @__PURE__ */ (0, F.jsxs)("div", {"data-immerse-action": "",@@ -33262,11 +33442,11 @@ function Lce({ kind: e, glyph: t, label: n, id: r }) {})]});}-function Rce({ shown: e }) {- let t = e?.item ?? null, n = dP(t?.id ?? null), r = n ? _ce(n) : null, i = LN(), a = (e) => {- e.preventDefault(), n && (YN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());+function fle({ shown: e }) {+ let t = e?.item ?? null, n = lP(t?.id ?? null), r = n ? Gce(n) : null, i = FN(), a = (e) => {+ e.preventDefault(), n && (qN(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());}, o = () => {- t && (YN(), i.openItem(t.id));+ t && (qN(), i.openItem(t.id));}, s = r ? Za(r.name, r.ref, Ma(r.name), r.kind || "performer") : "";return /* @__PURE__ */ (0, F.jsxs)("div", {"data-immerse-ui": "",@@ -33295,18 +33475,18 @@ function Rce({ shown: e }) {})]});}-var zce = { __html: xs("媒体加载中") };-function Bce({ view: e }) {+var ple = { __html: xs("媒体加载中") };+function mle({ view: e }) {let t = (0, P.useRef)(null), n = (0, P.useRef)(null), r = (0, P.useRef)(null), i = (0, P.useRef)(null);(0, P.useLayoutEffect)(() => {let e = t.current;- return yN = {+ return _N = {root: e,track: n.current,bar: r.current,progress: i.current- }, e.addEventListener("touchstart", iP, { passive: !0 }), e.addEventListener("touchmove", aP, { passive: !1 }), e.addEventListener("touchend", oP, { passive: !1 }), e.addEventListener("touchcancel", sP, { passive: !0 }), e.addEventListener("wheel", cP, { passive: !0 }), () => {- e.removeEventListener("touchstart", iP), e.removeEventListener("touchmove", aP), e.removeEventListener("touchend", oP), e.removeEventListener("touchcancel", sP), e.removeEventListener("wheel", cP), yN = null;+ }, e.addEventListener("touchstart", nP, { passive: !0 }), e.addEventListener("touchmove", rP, { passive: !1 }), e.addEventListener("touchend", iP, { passive: !1 }), e.addEventListener("touchcancel", aP, { passive: !0 }), e.addEventListener("wheel", oP, { passive: !0 }), () => {+ e.removeEventListener("touchstart", nP), e.removeEventListener("touchmove", rP), e.removeEventListener("touchend", iP), e.removeEventListener("touchcancel", aP), e.removeEventListener("wheel", oP), _N = null;};}, []);let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;@@ -33323,10 +33503,10 @@ function Bce({ view: e }) {children: [/* @__PURE__ */ (0, F.jsx)("div", {ref: n,"data-immerse-track": "",- onClick: jce+ onClick: ale}), /* @__PURE__ */ (0, F.jsx)("div", {"data-immerse-actions": "",- children: Ice.map((e) => /* @__PURE__ */ (0, F.jsx)(Lce, {+ children: ule.map((e) => /* @__PURE__ */ (0, F.jsx)(dle, {...e,id: a}, e.kind))@@ -33339,7 +33519,7 @@ function Bce({ view: e }) {hidden: e.loading === null,children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-immerse-spinner": "",- dangerouslySetInnerHTML: zce+ dangerouslySetInnerHTML: ple}), /* @__PURE__ */ (0, F.jsx)("span", { children: e.loading ?? "" })]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -33347,7 +33527,7 @@ function Bce({ view: e }) {"data-immerse-close": "",title: "关闭","aria-label": "关闭",- onClick: YN,+ onClick: qN,children: /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24",children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-x" })@@ -33356,88 +33536,88 @@ function Bce({ view: e }) {/* @__PURE__ */ (0, F.jsx)("div", {ref: r,"data-immerse-bar": "",- onPointerDown: Mce,- onPointerMove: Nce,- onPointerUp: Pce,- onPointerCancel: Fce,+ onPointerDown: ole,+ onPointerMove: sle,+ onPointerUp: cle,+ onPointerCancel: lle,children: /* @__PURE__ */ (0, F.jsx)("i", { ref: i })}),- /* @__PURE__ */ (0, F.jsx)(Rce, { shown: e.shown })+ /* @__PURE__ */ (0, F.jsx)(fle, { shown: e.shown })]});}-var Vce = {- open: kce,- close: YN,- isOpen: () => bN.open,- activeVideo: () => bN.open ? AN?.video ?? null : null+var hle = {+ open: rle,+ close: qN,+ isOpen: () => vN.open,+ activeVideo: () => vN.open ? ON?.video ?? null : null};-function Hce(e) {- if (!bN.open) return;+function gle(e) {+ if (!vN.open) return;let t = e.target;- t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && qN(1), e.key === "ArrowUp" && qN(-1));+ t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && GN(1), e.key === "ArrowUp" && GN(-1));}-function Uce(e) {- let t = !vN;- return vN = e, t && (document.addEventListener("keydown", Hce), addEventListener("resize", () => {- bN.open && WN();+function _le(e) {+ let t = !gN;+ return gN = e, t && (document.addEventListener("keydown", gle), addEventListener("resize", () => {+ vN.open && HN();}), addEventListener("pagehide", () => {- jN.forEach((e) => $j(e.session));- })), Vce;+ kN.forEach((e) => aM(e.session));+ })), hle;}-function Wce() {- let e = (0, P.useSyncExternalStore)(xce, () => bN);- return vN ? /* @__PURE__ */ (0, F.jsx)(Bce, { view: e }) : null;+function vle() {+ let e = (0, P.useSyncExternalStore)(Yce, () => vN);+ return gN ? /* @__PURE__ */ (0, F.jsx)(mle, { view: e }) : null;}// src/manage-header.ts-var fP = {+var uP = {"/junk-files": "垃圾文件","/duplicates": "重复文件","/review": "人工复核","/trash": "回收站","/quality-goals": "高清版","/sources": "来源和凭证"-}, Gce = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);-function Kce(e) {- let t = fP[e.path] ? "cleanup" : e.section;+}, yle = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);+function ble(e) {+ let t = uP[e.path] ? "cleanup" : e.section;return e.menu.some(([e]) => e === t) ? t : "";}-var qce = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;-function pP(e) {+var xle = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;+function dP(e) {let t = e.sections.find(([t]) => t === e.section);if (!t) return null;- let n = fP[e.path] ?? "";+ let n = uP[e.path] ?? "";return {title: e.section === "cleanup" && n || t[1],- pressed: Kce(e),+ pressed: ble(e),crumb: n,- compact: Gce.has(e.path) || e.section === "configuration",+ compact: yle.has(e.path) || e.section === "configuration",lede: e.section === "trash" ? e.trash ? {kind: "count",- text: qce(e.trash),+ text: xle(e.trash),total: e.trash.total} : { kind: "skeleton" } : { kind: "none" }};}-var mP = (e) => e.replace(/[&<>"']/g, (e) => ({+var fP = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"-})[e]), hP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${mP(e)}"/></svg>`, gP = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";-function Jce(e) {- let t = pP(e);+})[e]), pP = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${fP(e)}"/></svg>`, mP = "<span class=\"skeleton\" data-trash-lede-skeleton=\"text\" aria-hidden=\"true\"></span><span class=\"skeleton\" data-trash-lede-skeleton=\"action\" aria-hidden=\"true\"></span>";+function Sle(e) {+ let t = dP(e);if (!t) return "";let n = e.menu.map(([e, n, r]) => {let i = e === t.pressed;- return `<button type="button" data-manage="${mP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${hP(r)}<span>${mP(n)}</span></button>`;- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${hP("chevron-right")}</li><li aria-current="true"><span>${mP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? gP : `<span data-lede-text="">${mP(t.lede.text)}</span>${t.lede.total ? Yce : ""}`}</p>`;- return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${mP(t.title)}</h2>` + i;+ return `<button type="button" data-manage="${fP(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${pP(r)}<span>${fP(n)}</span></button>`;+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${pP("chevron-right")}</li><li aria-current="true"><span>${fP(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? mP : `<span data-lede-text="">${fP(t.lede.text)}</span>${t.lede.total ? Cle : ""}`}</p>`;+ return `<nav data-manage-bar="" aria-label="管理"><div data-manage-menu="" data-pill-nav="" role="group">${n}</div></nav>` + r + `<h2 data-manage-title=""${t.compact ? " data-compact=\"\"" : ""}>${fP(t.title)}</h2>` + i;}-var Yce = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";+var Cle = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";// src/react/settings-panel/icon.tsx-function _P({ name: e }) {+function hP({ name: e }) {let { wide: t, viewBox: n } = rn(e);return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: n,@@ -33446,7 +33626,7 @@ function _P({ name: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function Xce({ name: e }) {+function wle({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -33454,88 +33634,88 @@ function Xce({ name: e }) {});}// node_modules/tailwind-merge/dist/bundle-mjs.mjs-var Zce = (e, t) => {+var Tle = (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;-}, Qce = (e, t) => ({+}, Ele = (e, t) => ({classGroupId: e,validator: t-}), vP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({+}), gP = (e = /* @__PURE__ */ new Map(), t = null, n) => ({nextPart: e,validators: t,classGroupId: n-}), yP = "-", bP = [], $ce = "arbitrary..", ele = (e) => {- let t = nle(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;+}), _P = "-", vP = [], Dle = "arbitrary..", Ole = (e) => {+ let t = Ale(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;return {getClassGroupId: (e) => {- if (e.startsWith("[") && e.endsWith("]")) return tle(e);- let n = e.split(yP);- return xP(n, +(n[0] === "" && n.length > 1), t);+ if (e.startsWith("[") && e.endsWith("]")) return kle(e);+ let n = e.split(_P);+ return yP(n, +(n[0] === "" && n.length > 1), t);},getConflictingClassGroupIds: (e, t) => {if (t) {let t = r[e], i = n[e];- return t ? i ? Zce(i, t) : t : i || bP;+ return t ? i ? Tle(i, t) : t : i || vP;}- return n[e] || bP;+ return n[e] || vP;}};-}, xP = (e, t, n) => {+}, yP = (e, t, n) => {if (e.length - t === 0) return n.classGroupId;let r = e[t], i = n.nextPart.get(r);if (i) {- let n = xP(e, t + 1, i);+ let n = yP(e, t + 1, i);if (n) return n;}let a = n.validators;if (a === null) return;- let o = t === 0 ? e.join(yP) : e.slice(t).join(yP), s = a.length;+ let o = t === 0 ? e.join(_P) : e.slice(t).join(_P), s = a.length;for (let e = 0; e < s; e++) {let t = a[e];if (t.validator(o)) return t.classGroupId;}-}, tle = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {+}, kle = (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 ? $ce + r : void 0;-})(), nle = (e) => {+ return r ? Dle + r : void 0;+})(), Ale = (e) => {let { theme: t, classGroups: n } = e;- return rle(n, t);-}, rle = (e, t) => {- let n = vP();+ return jle(n, t);+}, jle = (e, t) => {+ let n = gP();for (let r in e) {let i = e[r];- SP(i, n, r, t);+ bP(i, n, r, t);}return n;-}, SP = (e, t, n, r) => {+}, bP = (e, t, n, r) => {let i = e.length;for (let a = 0; a < i; a++) {let i = e[a];- ile(i, t, n, r);+ Mle(i, t, n, r);}-}, ile = (e, t, n, r) => {- typeof e == "string" ? ale(e, t, n) : typeof e == "function" ? ole(e, t, n, r) : sle(e, t, n, r);-}, ale = (e, t, n) => {- let r = e === "" ? t : CP(t, e);+}, Mle = (e, t, n, r) => {+ typeof e == "string" ? Nle(e, t, n) : typeof e == "function" ? Ple(e, t, n, r) : Fle(e, t, n, r);+}, Nle = (e, t, n) => {+ let r = e === "" ? t : xP(t, e);r.classGroupId = n;-}, ole = (e, t, n, r) => {- cle(e) ? SP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Qce(n, e)));-}, sle = (e, t, n, r) => {+}, Ple = (e, t, n, r) => {+ Ile(e) ? bP(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Ele(n, e)));+}, Fle = (e, t, n, r) => {let i = Object.entries(e), a = i.length;for (let e = 0; e < a; e++) {let [a, o] = i[e];- SP(o, CP(t, a), n, r);+ bP(o, xP(t, a), n, r);}-}, CP = (e, t) => {- let n = e, r = t.split(yP), i = r.length;+}, xP = (e, t) => {+ let n = e, r = t.split(_P), i = r.length;for (let e = 0; e < i; e++) {let t = r[e], i = n.nextPart.get(t);- i || (i = vP(), n.nextPart.set(t, i)), n = i;+ i || (i = gP(), n.nextPart.set(t, i)), n = i;}return n;-}, cle = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, lle = (e) => {+}, Ile = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Lle = (e) => {if (e < 1) return {get: () => void 0,set: () => {}@@ -33553,19 +33733,19 @@ var Zce = (e, t) => {e in n ? n[e] = t : i(e, t);}};-}, wP = "!", TP = ":", ule = [], EP = (e, t, n, r, i) => ({+}, SP = "!", CP = ":", Rle = [], wP = (e, t, n, r, i) => ({modifiers: e,hasImportantModifier: t,baseClassName: n,maybePostfixModifierPosition: r,isExternal: i-}), dle = (e) => {+}), zle = (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 === TP) {+ if (o === CP) {t.push(e.slice(i, s)), i = s + 1;continue;}@@ -33577,13 +33757,13 @@ var Zce = (e, t) => {o === "[" ? n++ : o === "]" ? n-- : o === "(" ? r++ : o === ")" && r--;}let s = t.length === 0 ? e : e.slice(i), c = s, l = !1;- s.endsWith(wP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(wP) && (c = s.slice(1), l = !0);+ s.endsWith(SP) ? (c = s.slice(0, -1), l = !0) : s.startsWith(SP) && (c = s.slice(1), l = !0);let u = a && a > i ? a - i : void 0;- return EP(t, l, c, u);+ return wP(t, l, c, u);};if (t) {- let e = t + TP, n = r;- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : EP(ule, !1, t, void 0, !0);+ let e = t + CP, n = r;+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : wP(Rle, !1, t, void 0, !0);}if (n) {let e = r;@@ -33593,7 +33773,7 @@ var Zce = (e, t) => {});}return r;-}, fle = (e) => {+}, Ble = (e) => {let t = /* @__PURE__ */ new Map();return e.orderSensitiveModifiers.forEach((e, n) => {t.set(e, 1e6 + n);@@ -33605,18 +33785,18 @@ var Zce = (e, t) => {}return r.length > 0 && (r.sort(), n.push(...r)), n;};-}, ple = (e) => ({- cache: lle(e.cacheSize),- parseClassName: dle(e),- sortModifiers: fle(e),- postfixLookupClassGroupIds: mle(e),- ...ele(e)-}), mle = (e) => {+}, Vle = (e) => ({+ cache: Lle(e.cacheSize),+ parseClassName: zle(e),+ sortModifiers: Ble(e),+ postfixLookupClassGroupIds: Hle(e),+ ...Ole(e)+}), Hle = (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;-}, hle = /\s+/, gle = (e, t) => {- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(hle), l = "";+}, Ule = /\s+/, Wle = (e, t) => {+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(Ule), 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) {@@ -33636,7 +33816,7 @@ var Zce = (e, t) => {}h = !1;}- let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + wP : _, y = v + g;+ let _ = d.length === 0 ? "" : d.length === 1 ? d[0] : a(d).join(":"), v = f ? _ + SP : _, y = v + g;if (s.indexOf(y) > -1) continue;s.push(y);let b = i(g, h);@@ -33647,34 +33827,34 @@ var Zce = (e, t) => {l = t + (l.length > 0 ? " " + l : l);}return l;-}, _le = (...e) => {+}, Gle = (...e) => {let t = 0, n, r, i = "";- for (; t < e.length;) (n = e[t++]) && (r = DP(n)) && (i && (i += " "), i += r);+ for (; t < e.length;) (n = e[t++]) && (r = TP(n)) && (i && (i += " "), i += r);return i;-}, DP = (e) => {+}, TP = (e) => {if (typeof e == "string") return e;let t, n = "";- for (let r = 0; r < e.length; r++) e[r] && (t = DP(e[r])) && (n && (n += " "), n += t);+ for (let r = 0; r < e.length; r++) e[r] && (t = TP(e[r])) && (n && (n += " "), n += t);return n;-}, OP = (e, ...t) => {- let n, r, i, a, o = (o) => (n = ple(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {+}, EP = (e, ...t) => {+ let n, r, i, a, o = (o) => (n = Vle(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 = gle(e, n);+ let a = Wle(e, n);return i(e, a), a;};- return a = o, (...e) => a(_le(...e));-}, vle = [], kP = (e) => {- let t = (t) => t[e] || vle;+ return a = o, (...e) => a(Gle(...e));+}, Kle = [], DP = (e) => {+ let t = (t) => t[e] || Kle;return t.isThemeGetter = !0, t.themeKey = e, t;-}, AP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, jP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, yle = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, ble = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, xle = /\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$/, Sle = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Cle = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, wle = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, MP = (e) => yle.test(e), NP = (e) => !!e && !Number.isNaN(Number(e)), PP = (e) => !!e && Number.isInteger(Number(e)), FP = (e) => e.endsWith("%") && NP(e.slice(0, -1)), IP = (e) => ble.test(e), LP = () => !0, Tle = (e) => xle.test(e) && !Sle.test(e), RP = () => !1, Ele = (e) => Cle.test(e), Dle = (e) => wle.test(e), Ole = (e) => !zP(e) && !WP(e), kle = (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)), Ale = (e) => JP(e, QP, RP), zP = (e) => AP.test(e), BP = (e) => JP(e, $P, Tle), VP = (e) => JP(e, Rle, NP), jle = (e) => JP(e, tF, LP), Mle = (e) => JP(e, eF, RP), HP = (e) => JP(e, XP, RP), Nle = (e) => JP(e, ZP, Dle), UP = (e) => JP(e, nF, Ele), WP = (e) => jP.test(e), GP = (e) => YP(e, $P), Ple = (e) => YP(e, eF), KP = (e) => YP(e, XP), Fle = (e) => YP(e, QP), Ile = (e) => YP(e, ZP), qP = (e) => YP(e, nF, !0), Lle = (e) => YP(e, tF, !0), JP = (e, t, n) => {- let r = AP.exec(e);+}, OP = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, kP = /^\((?:(\w[\w-]*):)?(.+)\)$/i, qle = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, Jle = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Yle = /\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$/, Xle = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, Zle = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Qle = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, AP = (e) => qle.test(e), jP = (e) => !!e && !Number.isNaN(Number(e)), MP = (e) => !!e && Number.isInteger(Number(e)), NP = (e) => e.endsWith("%") && jP(e.slice(0, -1)), PP = (e) => Jle.test(e), FP = () => !0, $le = (e) => Yle.test(e) && !Xle.test(e), IP = () => !1, eue = (e) => Zle.test(e), tue = (e) => Qle.test(e), nue = (e) => !LP(e) && !HP(e), rue = (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)), iue = (e) => KP(e, XP, IP), LP = (e) => OP.test(e), RP = (e) => KP(e, ZP, $le), zP = (e) => KP(e, fue, jP), aue = (e) => KP(e, $P, FP), oue = (e) => KP(e, QP, IP), BP = (e) => KP(e, JP, IP), sue = (e) => KP(e, YP, tue), VP = (e) => KP(e, eF, eue), HP = (e) => kP.test(e), UP = (e) => qP(e, ZP), cue = (e) => qP(e, QP), WP = (e) => qP(e, JP), lue = (e) => qP(e, XP), uue = (e) => qP(e, YP), GP = (e) => qP(e, eF, !0), due = (e) => qP(e, $P, !0), KP = (e, t, n) => {+ let r = OP.exec(e);return r ? r[1] ? t(r[1]) : n(r[2]) : !1;-}, YP = (e, t, n = !1) => {- let r = jP.exec(e);+}, qP = (e, t, n = !1) => {+ let r = kP.exec(e);return r ? r[1] ? t(r[1]) : n : !1;-}, XP = (e) => e === "position" || e === "percentage", ZP = (e) => e === "image" || e === "url", QP = (e) => e === "length" || e === "size" || e === "bg-size", $P = (e) => e === "length", Rle = (e) => e === "number", eF = (e) => e === "family-name", tF = (e) => e === "number" || e === "weight", nF = (e) => e === "shadow", rF = () => {- let e = kP("color"), t = kP("font"), n = kP("text"), r = kP("font-weight"), i = kP("tracking"), a = kP("leading"), o = kP("breakpoint"), s = kP("container"), c = kP("spacing"), l = kP("radius"), u = kP("shadow"), d = kP("inset-shadow"), f = kP("text-shadow"), p = kP("drop-shadow"), m = kP("blur"), h = kP("perspective"), g = kP("aspect"), _ = kP("ease"), v = kP("animate"), y = () => [+}, JP = (e) => e === "position" || e === "percentage", YP = (e) => e === "image" || e === "url", XP = (e) => e === "length" || e === "size" || e === "bg-size", ZP = (e) => e === "length", fue = (e) => e === "number", QP = (e) => e === "family-name", $P = (e) => e === "number" || e === "weight", eF = (e) => e === "shadow", tF = () => {+ let e = DP("color"), t = DP("font"), n = DP("text"), r = DP("font-weight"), i = DP("tracking"), a = DP("leading"), o = DP("breakpoint"), s = DP("container"), c = DP("spacing"), l = DP("radius"), u = DP("shadow"), d = DP("inset-shadow"), f = DP("text-shadow"), p = DP("drop-shadow"), m = DP("blur"), h = DP("perspective"), g = DP("aspect"), _ = DP("ease"), v = DP("animate"), y = () => ["auto","avoid","all",@@ -33699,8 +33879,8 @@ var Zce = (e, t) => {"left-bottom"], x = () => [...b(),- WP,- zP+ HP,+ LP], S = () => ["auto","hidden",@@ -33712,43 +33892,43 @@ var Zce = (e, t) => {"contain","none"], w = () => [- WP,- zP,+ HP,+ LP,c], T = () => [- MP,+ AP,"full","auto",...w()], E = () => [- PP,+ MP,"none","subgrid",- WP,- zP+ HP,+ LP], D = () => ["auto",{ span: ["full",- PP,- WP,- zP+ MP,+ HP,+ LP] },- PP,- WP,- zP+ MP,+ HP,+ LP], O = () => [- PP,+ MP,"auto",- WP,- zP+ HP,+ LP], k = () => ["auto","min","max","fr",- WP,- zP+ HP,+ LP], A = () => ["start","end",@@ -33768,7 +33948,7 @@ var Zce = (e, t) => {"center-safe","end-safe"], M = () => ["auto", ...w()], ee = () => [- MP,+ AP,"auto","full","dvw",@@ -33783,7 +33963,7 @@ var Zce = (e, t) => {...w()], te = () => [s,- MP,+ AP,"screen","full","dvw",@@ -33794,7 +33974,7 @@ var Zce = (e, t) => {"fit",...w()], ne = () => [- MP,+ AP,"screen","full","lh",@@ -33807,13 +33987,13 @@ var Zce = (e, t) => {...w()], N = () => [e,- WP,- zP+ HP,+ LP], re = () => [...b(),- KP,- HP,- { position: [WP, zP] }+ WP,+ BP,+ { position: [HP, LP] }], ie = () => ["no-repeat", { repeat: ["","x",@@ -33824,25 +34004,25 @@ var Zce = (e, t) => {"auto","cover","contain",- Fle,- Ale,- { size: [WP, zP] }+ lue,+ iue,+ { size: [HP, LP] }], F = () => [- FP,- GP,- BP+ NP,+ UP,+ RP], ae = () => ["","none","full",l,- WP,- zP+ HP,+ LP], oe = () => ["",- NP,- GP,- BP+ jP,+ UP,+ RP], se = () => ["solid","dashed",@@ -33866,32 +34046,32 @@ var Zce = (e, t) => {"color","luminosity"], le = () => [+ jP,NP,- FP,- KP,- HP+ WP,+ BP], ue = () => ["","none",m,- WP,- zP+ HP,+ LP], de = () => ["none",- NP,- WP,- zP+ jP,+ HP,+ LP], fe = () => ["none",- NP,- WP,- zP+ jP,+ HP,+ LP], pe = () => [- NP,- WP,- zP+ jP,+ HP,+ LP], me = () => [- MP,+ AP,"full",...w()];@@ -33905,17 +34085,17 @@ var Zce = (e, t) => {"bounce"],aspect: ["video"],- blur: [IP],- breakpoint: [IP],- color: [LP],- container: [IP],- "drop-shadow": [IP],+ blur: [PP],+ breakpoint: [PP],+ color: [FP],+ container: [PP],+ "drop-shadow": [PP],ease: ["in","out","in-out"],- font: [Ole],+ font: [nue],"font-weight": ["thin","extralight",@@ -33927,7 +34107,7 @@ var Zce = (e, t) => {"extrabold","black"],- "inset-shadow": [IP],+ "inset-shadow": [PP],leading: ["none","tight",@@ -33944,11 +34124,11 @@ var Zce = (e, t) => {"distant","none"],- radius: [IP],- shadow: [IP],- spacing: ["px", NP],- text: [IP],- "text-shadow": [IP],+ radius: [PP],+ shadow: [PP],+ spacing: ["px", jP],+ text: [PP],+ "text-shadow": [PP],tracking: ["tighter","tight",@@ -33962,9 +34142,9 @@ var Zce = (e, t) => {aspect: [{ aspect: ["auto","square",- MP,- zP,- WP,+ AP,+ LP,+ HP,g] }],container: ["container"],@@ -33972,15 +34152,15 @@ var Zce = (e, t) => {"","normal","size",- WP,- zP+ HP,+ LP] }],- "container-named": [kle],+ "container-named": [rue],columns: [{ columns: [- NP,+ jP,"auto",- zP,- WP,+ LP,+ HP,s] }],"break-after": [{ "break-after": y() }],@@ -34077,13 +34257,13 @@ var Zce = (e, t) => {"collapse"],z: [{ z: [- PP,+ MP,"auto",- WP,- zP+ HP,+ LP] }],basis: [{ basis: [- MP,+ AP,"full","auto",s,@@ -34101,32 +34281,32 @@ var Zce = (e, t) => {"wrap-reverse"] }],flex: [{ flex: [- NP,- MP,+ jP,+ AP,"auto","initial","none",- zP+ LP] }],grow: [{ grow: ["",- NP,- WP,- zP+ jP,+ HP,+ LP] }],shrink: [{ shrink: ["",- NP,- WP,- zP+ jP,+ HP,+ LP] }],order: [{ order: [- PP,+ MP,"first","last","none",- WP,- zP+ HP,+ LP] }],"grid-cols": [{ "grid-cols": E() }],"col-start-end": [{ col: D() }],@@ -34233,15 +34413,15 @@ var Zce = (e, t) => {"font-size": [{ text: ["base",n,- GP,- BP+ UP,+ RP] }],"font-smoothing": ["antialiased", "subpixel-antialiased"],"font-style": ["italic", "not-italic"],"font-weight": [{ font: [r,- Lle,- jle+ due,+ aue] }],"font-stretch": [{ "font-stretch": ["ultra-condensed",@@ -34253,15 +34433,15 @@ var Zce = (e, t) => {"expanded","extra-expanded","ultra-expanded",- FP,- zP+ NP,+ LP] }],"font-family": [{ font: [- Ple,- Mle,+ cue,+ oue,t] }],- "font-features": [{ "font-features": [zP] }],+ "font-features": [{ "font-features": [LP] }],"fvn-normal": ["normal-nums"],"fvn-ordinal": ["ordinal"],"fvn-slashed-zero": ["slashed-zero"],@@ -34270,14 +34450,14 @@ var Zce = (e, t) => {"fvn-fraction": ["diagonal-fractions", "stacked-fractions"],tracking: [{ tracking: [i,- WP,- zP+ HP,+ LP] }],"line-clamp": [{ "line-clamp": [- NP,+ jP,"none",- WP,- VP+ HP,+ zP] }],leading: [{ leading: ["none",@@ -34286,16 +34466,16 @@ var Zce = (e, t) => {] }],"list-image": [{ "list-image": ["none",- WP,- zP+ HP,+ LP] }],"list-style-position": [{ list: ["inside", "outside"] }],"list-style-type": [{ list: ["disc","decimal","none",- WP,- zP+ HP,+ LP] }],"text-alignment": [{ text: ["left",@@ -34315,18 +34495,18 @@ var Zce = (e, t) => {],"text-decoration-style": [{ decoration: [...se(), "wavy"] }],"text-decoration-thickness": [{ decoration: [- NP,+ jP,"from-font","auto",- WP,- BP+ HP,+ RP] }],"text-decoration-color": [{ decoration: N() }],"underline-offset": [{ "underline-offset": [- NP,+ jP,"auto",- WP,- zP+ HP,+ LP] }],"text-transform": ["uppercase",@@ -34347,9 +34527,9 @@ var Zce = (e, t) => {] }],indent: [{ indent: w() }],"tab-size": [{ tab: [- PP,- WP,- zP+ MP,+ HP,+ LP] }],"vertical-align": [{ align: ["baseline",@@ -34360,8 +34540,8 @@ var Zce = (e, t) => {"text-bottom","sub","super",- WP,- zP+ HP,+ LP] }],whitespace: [{ whitespace: ["normal",@@ -34389,8 +34569,8 @@ var Zce = (e, t) => {] }],content: [{ content: ["none",- WP,- zP+ HP,+ LP] }],"bg-attachment": [{ bg: ["fixed",@@ -34425,24 +34605,24 @@ var Zce = (e, t) => {"l","tl"] },- PP,- WP,- zP+ MP,+ HP,+ LP],radial: ["",- WP,- zP+ HP,+ LP],conic: ["",- PP,- WP,- zP+ MP,+ HP,+ LP]},- Ile,- Nle+ uue,+ sue] }],"bg-color": [{ bg: N() }],"gradient-from-pos": [{ from: F() }],@@ -34509,15 +34689,15 @@ var Zce = (e, t) => {"hidden"] }],"outline-offset": [{ "outline-offset": [- NP,- WP,- zP+ jP,+ HP,+ LP] }],"outline-w": [{ outline: ["",- NP,- GP,- BP+ jP,+ UP,+ RP] }],"outline-color": [{ outline: N() }],shadow: [{ shadow: [@@ -34525,35 +34705,35 @@ var Zce = (e, t) => {"inner","none",u,- qP,- UP+ GP,+ VP] }],"shadow-color": [{ shadow: N() }],"inset-shadow": [{ "inset-shadow": ["none",d,- qP,- UP+ GP,+ VP] }],"inset-shadow-color": [{ "inset-shadow": N() }],"ring-w": [{ ring: oe() }],"ring-w-inset": ["ring-inset"],"ring-color": [{ ring: N() }],- "ring-offset-w": [{ "ring-offset": [NP, BP] }],+ "ring-offset-w": [{ "ring-offset": [jP, RP] }],"ring-offset-color": [{ "ring-offset": N() }],"inset-ring-w": [{ "inset-ring": oe() }],"inset-ring-color": [{ "inset-ring": N() }],"text-shadow": [{ "text-shadow": ["none",f,- qP,- UP+ GP,+ VP] }],"text-shadow-color": [{ "text-shadow": N() }],opacity: [{ opacity: [- NP,- WP,- zP+ jP,+ HP,+ LP] }],"mix-blend": [{ "mix-blend": [...ce(),@@ -34575,7 +34755,7 @@ var Zce = (e, t) => {"intersect","exclude"] }],- "mask-image-linear-pos": [{ "mask-linear": [NP] }],+ "mask-image-linear-pos": [{ "mask-linear": [jP] }],"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": N() }],@@ -34604,7 +34784,7 @@ var Zce = (e, t) => {"mask-image-y-to-pos": [{ "mask-y-to": le() }],"mask-image-y-from-color": [{ "mask-y-from": N() }],"mask-image-y-to-color": [{ "mask-y-to": N() }],- "mask-image-radial": [{ "mask-radial": [WP, zP] }],+ "mask-image-radial": [{ "mask-radial": [HP, LP] }],"mask-image-radial-from-pos": [{ "mask-radial-from": le() }],"mask-image-radial-to-pos": [{ "mask-radial-to": le() }],"mask-image-radial-from-color": [{ "mask-radial-from": N() }],@@ -34615,7 +34795,7 @@ var Zce = (e, t) => {farthest: ["side", "corner"]}] }],"mask-image-radial-pos": [{ "mask-radial-at": b() }],- "mask-image-conic-pos": [{ "mask-conic": [NP] }],+ "mask-image-conic-pos": [{ "mask-conic": [jP] }],"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": N() }],@@ -34639,111 +34819,111 @@ var Zce = (e, t) => {"mask-type": [{ "mask-type": ["alpha", "luminance"] }],"mask-image": [{ mask: ["none",- WP,- zP+ HP,+ LP] }],filter: [{ filter: ["","none",- WP,- zP+ HP,+ LP] }],blur: [{ blur: ue() }],brightness: [{ brightness: [- NP,- WP,- zP+ jP,+ HP,+ LP] }],contrast: [{ contrast: [- NP,- WP,- zP+ jP,+ HP,+ LP] }],"drop-shadow": [{ "drop-shadow": ["","none",p,- qP,- UP+ GP,+ VP] }],"drop-shadow-color": [{ "drop-shadow": N() }],grayscale: [{ grayscale: ["",- NP,- WP,- zP+ jP,+ HP,+ LP] }],"hue-rotate": [{ "hue-rotate": [- NP,- WP,- zP+ jP,+ HP,+ LP] }],invert: [{ invert: ["",- NP,- WP,- zP+ jP,+ HP,+ LP] }],saturate: [{ saturate: [- NP,- WP,- zP+ jP,+ HP,+ LP] }],sepia: [{ sepia: ["",- NP,- WP,- zP+ jP,+ HP,+ LP] }],"backdrop-filter": [{ "backdrop-filter": ["","none",- WP,- zP+ HP,+ LP] }],"backdrop-blur": [{ "backdrop-blur": ue() }],"backdrop-brightness": [{ "backdrop-brightness": [- NP,- WP,- zP+ jP,+ HP,+ LP] }],"backdrop-contrast": [{ "backdrop-contrast": [- NP,- WP,- zP+ jP,+ HP,+ LP] }],"backdrop-grayscale": [{ "backdrop-grayscale": ["",- NP,- WP,- zP+ jP,+ HP,+ LP] }],"backdrop-hue-rotate": [{ "backdrop-hue-rotate": [- NP,- WP,- zP+ jP,+ HP,+ LP] }],"backdrop-invert": [{ "backdrop-invert": ["",- NP,- WP,- zP+ jP,+ HP,+ LP] }],"backdrop-opacity": [{ "backdrop-opacity": [- NP,- WP,- zP+ jP,+ HP,+ LP] }],"backdrop-saturate": [{ "backdrop-saturate": [- NP,- WP,- zP+ jP,+ HP,+ LP] }],"backdrop-sepia": [{ "backdrop-sepia": ["",- NP,- WP,- zP+ jP,+ HP,+ LP] }],"border-collapse": [{ border: ["collapse", "separate"] }],"border-spacing": [{ "border-spacing": w() }],@@ -34759,39 +34939,39 @@ var Zce = (e, t) => {"shadow","transform","none",- WP,- zP+ HP,+ LP] }],"transition-behavior": [{ transition: ["normal", "discrete"] }],duration: [{ duration: [- NP,+ jP,"initial",- WP,- zP+ HP,+ LP] }],ease: [{ ease: ["linear","initial",_,- WP,- zP+ HP,+ LP] }],delay: [{ delay: [- NP,- WP,- zP+ jP,+ HP,+ LP] }],animate: [{ animate: ["none",v,- WP,- zP+ HP,+ LP] }],backface: [{ backface: ["hidden", "visible"] }],perspective: [{ perspective: [h,- WP,- zP+ HP,+ LP] }],"perspective-origin": [{ "perspective-origin": x() }],rotate: [{ rotate: de() }],@@ -34807,8 +34987,8 @@ var Zce = (e, t) => {"skew-x": [{ "skew-x": pe() }],"skew-y": [{ "skew-y": pe() }],transform: [{ transform: [- WP,- zP,+ HP,+ LP,"","none","gpu",@@ -34822,9 +35002,9 @@ var Zce = (e, t) => {"translate-z": [{ "translate-z": me() }],"translate-none": ["translate-none"],zoom: [{ zoom: [- PP,- WP,- zP+ MP,+ HP,+ LP] }],accent: [{ accent: N() }],appearance: [{ appearance: ["none", "auto"] }],@@ -34874,8 +35054,8 @@ var Zce = (e, t) => {"nwse-resize","zoom-in","zoom-out",- WP,- zP+ HP,+ LP] }],"field-sizing": [{ "field-sizing": ["fixed", "content"] }],"pointer-events": [{ "pointer-events": ["auto", "none"] }],@@ -34961,15 +35141,15 @@ var Zce = (e, t) => {"scroll","contents","transform",- WP,- zP+ HP,+ LP] }],fill: [{ fill: ["none", ...N()] }],"stroke-w": [{ stroke: [- NP,- GP,- BP,- VP+ jP,+ UP,+ RP,+ zP] }],stroke: [{ stroke: ["none", ...N()] }],"forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]@@ -35227,16 +35407,16 @@ var Zce = (e, t) => {"selection"]};-}, zle = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (iF(e, "cacheSize", t), iF(e, "prefix", n), iF(e, "experimentalParseClassName", r), aF(e.theme, a.theme), aF(e.classGroups, a.classGroups), aF(e.conflictingClassGroups, a.conflictingClassGroups), aF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), iF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), iF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), oF(e.theme, i.theme), oF(e.classGroups, i.classGroups), oF(e.conflictingClassGroups, i.conflictingClassGroups), oF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), sF(e, i, "postfixLookupClassGroups"), sF(e, i, "orderSensitiveModifiers"), e), iF = (e, t, n) => {+}, pue = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (nF(e, "cacheSize", t), nF(e, "prefix", n), nF(e, "experimentalParseClassName", r), rF(e.theme, a.theme), rF(e.classGroups, a.classGroups), rF(e.conflictingClassGroups, a.conflictingClassGroups), rF(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), nF(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), nF(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), iF(e.theme, i.theme), iF(e.classGroups, i.classGroups), iF(e.conflictingClassGroups, i.conflictingClassGroups), iF(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), aF(e, i, "postfixLookupClassGroups"), aF(e, i, "orderSensitiveModifiers"), e), nF = (e, t, n) => {n !== void 0 && (e[t] = n);-}, aF = (e, t) => {- if (t) for (let n in t) iF(e, n, t[n]);-}, oF = (e, t) => {- if (t) for (let n in t) sF(e, t, n);-}, sF = (e, t, n) => {+}, rF = (e, t) => {+ if (t) for (let n in t) nF(e, n, t[n]);+}, iF = (e, t) => {+ if (t) for (let n in t) aF(e, t, n);+}, aF = (e, t, n) => {let r = t[n];r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);-}, Ble = (e, ...t) => typeof e == "function" ? OP(rF, e, ...t) : OP(() => zle(rF(), e), ...t), Vle = [+}, mue = (e, ...t) => typeof e == "function" ? EP(tF, e, ...t) : EP(() => pue(tF(), e), ...t), hue = ["large-title","display-1","display-2",@@ -35250,17 +35430,17 @@ var Zce = (e, t) => {"body-2","caption-1","caption-2"-], Hle = [+], gue = ["regular","medium","semibold","bold"-], cF = Ble({ extend: { classGroups: { "font-size": [{ text: Vle.flatMap((e) => Hle.map((t) => `${e}-${t}`)) }] } } });-function lF(e) {+], oF = mue({ extend: { classGroups: { "font-size": [{ text: hue.flatMap((e) => gue.map((t) => `${e}-${t}`)) }] } } });+function sF(e) {return e;}// src/react/components/pill-tab.tsx-var Ule = typeof window < "u" ? P.useLayoutEffect : P.useEffect, uF = lF({+var _ue = typeof window < "u" ? P.useLayoutEffect : P.useEffect, cF = sF({radius: {blue: "rounded-full",gray: "rounded-2lg"@@ -35282,9 +35462,9 @@ var Ule = typeof window < "u" ? P.useLayoutEffect : P.useEffect, uF = lF({gray: "text-text-primary"}});-function dF({ children: e, className: t, ref: n, container: r, ...i }) {+function lF({ children: e, className: t, ref: n, container: r, ...i }) {let a = (0, P.useRef)(null), [o, s] = (0, P.useState)(null);- Ule(() => {+ _ue(() => {let e = r === void 0 ? a.current : r;if (!e) return;let t = () => {@@ -35320,7 +35500,7 @@ function dF({ children: e, className: t, ref: n, container: r, ...i }) {}, l = o && /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,"data-pill-thumb": "",- className: cF("pointer-events-none absolute left-0 top-0", uF.radius[o.variant], uF.thumb[o.variant]),+ className: oF("pointer-events-none absolute left-0 top-0", cF.radius[o.variant], cF.thumb[o.variant]),style: {"--pill-left": `${o.left}px`,"--pill-top": `${o.top}px`,@@ -35331,43 +35511,43 @@ function dF({ children: e, className: t, ref: n, container: r, ...i }) {return r === void 0 ? /* @__PURE__ */ (0, F.jsxs)("div", {ref: c,role: "group",- className: cF("relative inline-flex items-center gap-1", t),+ className: oF("relative inline-flex items-center gap-1", t),...i,children: [l, e]}) : r ? (0, Lt.createPortal)(l, r) : null;}// src/react/manage-header/manage-header-island.tsx-var fF = null, pF = null, mF = /* @__PURE__ */ new Set();-function Wle(e) {- return mF.add(e), () => {- mF.delete(e);+var uF = null, dF = null, fF = /* @__PURE__ */ new Set();+function vue(e) {+ return fF.add(e), () => {+ fF.delete(e);};}-function Gle() {- for (let e of [...mF]) e();+function yue() {+ for (let e of [...fF]) e();}-var Kle = { render(e) {- pF = e, (0, Lt.flushSync)(Gle);+var bue = { render(e) {+ dF = e, (0, Lt.flushSync)(yue);} };-function qle(e) {- return fF = e, pF = null, Kle;+function xue(e) {+ return uF = e, dF = null, bue;}-function Jle() {- let e = (0, P.useSyncExternalStore)(Wle, () => pF);- return fF && e ? /* @__PURE__ */ (0, F.jsx)(Yle, {- host: fF,+function Sue() {+ let e = (0, P.useSyncExternalStore)(vue, () => dF);+ return uF && e ? /* @__PURE__ */ (0, F.jsx)(Cue, {+ host: uF,props: e}) : null;}-function Yle({ host: e, props: t }) {- let n = pP(t);+function Cue({ host: e, props: t }) {+ let n = dP(t);return n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(Xle, {+ /* @__PURE__ */ (0, F.jsx)(wue, {host: e,pressed: n.pressed,menu: t.menu}),- n.crumb ? /* @__PURE__ */ (0, F.jsx)(Zle, {+ n.crumb ? /* @__PURE__ */ (0, F.jsx)(Tue, {host: e,label: n.crumb}) : null,@@ -35376,13 +35556,13 @@ function Yle({ host: e, props: t }) {"data-compact": n.compact ? "" : void 0,children: n.title}),- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(Qle, {+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, F.jsx)(Eue, {host: e,lede: n.lede})] }) : null;}-function Xle({ host: e, pressed: t, menu: n }) {+function wue({ host: e, pressed: t, menu: n }) {let r = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");@@ -35392,7 +35572,7 @@ function Xle({ host: e, pressed: t, menu: n }) {}, [t, n]), /* @__PURE__ */ (0, F.jsx)("nav", {"data-manage-bar": "","aria-label": "管理",- children: /* @__PURE__ */ (0, F.jsx)(dF, {+ children: /* @__PURE__ */ (0, F.jsx)(lF, {ref: r,"data-manage-menu": "","data-pill-nav": "",@@ -35406,13 +35586,13 @@ function Xle({ host: e, pressed: t, menu: n }) {"data-pill-selected": a ? "" : void 0,"data-pill-variant": "gray",onClick: () => e.openManage(n),- children: [/* @__PURE__ */ (0, F.jsx)(_P, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]+ children: [/* @__PURE__ */ (0, F.jsx)(hP, { name: i }), /* @__PURE__ */ (0, F.jsx)("span", { children: r })]}, n);})})});}-function Zle({ host: e, label: t }) {+function Tue({ host: e, label: t }) {return /* @__PURE__ */ (0, F.jsx)("nav", {"data-manage-crumb": "","aria-label": "当前位置",@@ -35422,20 +35602,20 @@ function Zle({ host: e, label: t }) {t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || t.button || (t.preventDefault(), e.openDataCleanup());},children: "数据管理"- }), /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {+ }), /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-right" })] }), /* @__PURE__ */ (0, F.jsx)("li", {"aria-current": "true",children: /* @__PURE__ */ (0, F.jsx)("span", { children: t })})] })});}-function Qle({ host: e, lede: t }) {+function Eue({ host: e, lede: t }) {return /* @__PURE__ */ (0, F.jsx)("p", {className: "mono","data-manage-lede": "",children: t.kind === "skeleton" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-trash-lede-skeletons": "",- dangerouslySetInnerHTML: { __html: gP }- }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)($le, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {+ dangerouslySetInnerHTML: { __html: mP }+ }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Due, { text: t.text }), t.total ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-empty-trash": "","data-danger": "",@@ -35445,7 +35625,7 @@ function Qle({ host: e, lede: t }) {}) : null] })});}-function $le({ text: e }) {+function Due({ text: e }) {let t = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {ks(t.current, e);@@ -35455,29 +35635,29 @@ function $le({ text: e }) {});}// src/core/text-lang.ts-var eue = /[-ヿㇰ-ㇿヲ-゚]/, tue = /[㐀-鿿豈-]/, nue = /[A-Za-z]/;-function hF(e) {+var Oue = /[-ヿㇰ-ㇿヲ-゚]/, kue = /[㐀-鿿豈-]/, Aue = /[A-Za-z]/;+function pF(e) {let t = String(e ?? "");- if (eue.test(t)) return "ja";- if (!tue.test(t) && nue.test(t)) return "en";+ if (Oue.test(t)) return "ja";+ if (!kue.test(t) && Aue.test(t)) return "en";}-var rue = (e) => {- let t = hF(e);+var jue = (e) => {+ let t = pF(e);return t ? ` lang="${t}"` : "";-}, iue = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, aue = (e, t = e?.name) => {+}, Mue = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, Nue = (e, t = e?.name) => {let n = String(t || "").trim();- return e?.is_jav ? n.replace(iue, "") : n;-}, oue = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), sue = (e) => {+ return e?.is_jav ? n.replace(Mue, "") : n;+}, Pue = (e) => /[-ヿ㐀-鿿]/.test(String(e || "")), Fue = (e) => {let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);- return t.find(oue) || t[0] || "";+ return t.find(Pue) || t[0] || "";};-function gF(e, t = e?.name) {- let n = aue(e, t), r = String(e?.code || "").trim().toUpperCase();+function mF(e, t = e?.name) {+ let n = Nue(e, t), r = String(e?.code || "").trim().toUpperCase();if (!e?.is_jav || !r) return {code: "",title: n};- let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = sue(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => [+ let i = String(e?.display_code || r).trim().toUpperCase(), a = n.toUpperCase(), o = a === r || a === i || a.startsWith(r) && /^[\s._\-[\]]/.test(n.slice(r.length)) || a.startsWith(i) && /^[\s._\-[\]]/.test(n.slice(i.length)), s = a.startsWith(i) ? i.length : r.length, c = (o ? n.slice(s) : n).replace(/^[\s._-]+/, "").trim(), l = Fue(e), u = Object.prototype.hasOwnProperty.call(e || {}, "display_title") ? String(e.display_title || "").trim() : c, d = l || u, f = Array.isArray(e?.edition_badges) ? e.edition_badges.filter((e) => ["中字","无码","无码破解"@@ -35488,23 +35668,23 @@ function gF(e, t = e?.name) {badges: f};}-var _F = (e, t = e?.name) => {- let { code: n, title: r, badges: i = [] } = gF(e, t);+var hF = (e, t = e?.name) => {+ let { code: n, title: r, badges: i = [] } = mF(e, t);return n ? [n,...i,r].filter(Boolean).join(" ") : r;};-function vF(e, t = e?.name) {- let { code: n, title: r, badges: i = [] } = gF(e, t);+function gF(e, t = e?.name) {+ let { code: n, title: r, badges: i = [] } = mF(e, t);if (!n) return z(r);let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${z(e)}</small>`).join("");- return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${rue(r)}>${z(r)}</span>` : ""}`;+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${jue(r)}>${z(r)}</span>` : ""}`;}// src/react/activity/tasks.ts-var yF = "/api/tasks", bF = ["tasks"];-function cue(e, t) {+var _F = "/api/tasks", vF = ["tasks"];+function Iue(e, t) {let n = 0, r = 0, i = 0;for (let a of t) for (let [t, o] of Object.entries(e?.[String(a.id)] || {})) n += o, (t === "pending" || t === "running") && (r += o), (t === "failed" || t === "interrupted") && (i += o);return {@@ -35514,7 +35694,7 @@ function cue(e, t) {settled: n - r};}-function lue(e) {+function Lue(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {let e = t.get(n.task_key);@@ -35525,11 +35705,11 @@ function lue(e) {}return [...t.values()];}-var uue = (e, t) => B(`${yF}?${new URLSearchParams({+var Rue = (e, t) => B(`${_F}?${new URLSearchParams({before_finished_at: e.finished_at || "",before_id: String(e.id)})}`, t);-function due(...e) {+function zue(...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) => {@@ -35537,26 +35717,26 @@ function due(...e) {return n === r ? t.id - e.id : n < r ? 1 : -1;});}-var fue = 2e3, pue = 1e4, xF = (e) => e?.running?.length ? fue : pue, SF = (e) => B(yF, e);-async function mue(e) {+var Bue = 2e3, Vue = 1e4, yF = (e) => e?.running?.length ? Bue : Vue, bF = (e) => B(_F, e);+async function Hue(e) {await H.fetchQuery({- queryKey: bF,- queryFn: () => SF(e)+ queryKey: vF,+ queryFn: () => bF(e)});}-var hue = {+var xF = {manual: "手动",scheduled: "定时",startup: "启动",cli: "命令行"-}, gue = {+}, SF = {pending: "排队中",running: "进行中",succeeded: "已完成",failed: "失败",cancelled: "已取消",interrupted: "意外中断"-}, _ue = (e) => gue[e] || e, CF = {+}, CF = (e) => SF[e] || e, wF = {checked: "已检查",total: "总数",scanned: "已扫描",@@ -35633,7 +35813,7 @@ var hue = {without_code: "未识别番号",incomplete: "资料或封面未取得",result: "结果"-}, vue = [+}, TF = ["gone_count","unclear_count","source_failed",@@ -35655,14 +35835,14 @@ var hue = {"paused_count","miss","incomplete"-], yue = ["face_match_unavailable"], wF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || yue.some((t) => e.result_summary?.[t] === !0) || vue.some((t) => Number(e.result_summary?.[t]) > 0);-function bue(e) {+], EF = ["face_match_unavailable"], DF = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || EF.some((t) => e.result_summary?.[t] === !0) || TF.some((t) => Number(e.result_summary?.[t]) > 0);+function OF(e) {let t = e.result_summary?.issues;return Array.isArray(t) ? t.filter((e) => !!e && typeof e == "object" && typeof e.error == "string" && typeof e.label == "string") : [];}-var TF = /* @__PURE__ */ new Set(["library-processing"]);-function xue(e, t = !0) {- if (!wF(e) && e.status !== "failed" || TF.has(e.task_key) && !t) return null;+var kF = /* @__PURE__ */ new Set(["library-processing"]);+function AF(e, t = !0) {+ if (!DF(e) && e.status !== "failed" || kF.has(e.task_key) && !t) return null;let n = {"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],@@ -35680,12 +35860,12 @@ function xue(e, t = !0) {label: n[1]} : null;}-function Sue(e) {+function jF(e) {let t = /* @__PURE__ */ new Map();- for (let n of e) TF.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);+ for (let n of e) kF.has(n.task_key) && !n.followup_key && n.id > (t.get(n.task_key) ?? 0) && t.set(n.task_key, n.id);return new Set(t.values());}-function Cue(e) {+function MF(e) {let t = /* @__PURE__ */ new Map();for (let n of e) {if (!n.followup_key || n.parent_run_id == null) continue;@@ -35694,7 +35874,7 @@ function Cue(e) {}return t;}-function wue(e, t) {+function NF(e, t) {let n = [], r = /* @__PURE__ */ new Map();for (let i of e) {if (!t(i)) {@@ -35716,12 +35896,12 @@ function wue(e, t) {}return n;}-var Tue = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !wF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), EF = (e) => e.status === "pending" || e.status === "running";-function DF(e) {+var PF = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !DF(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), FF = (e) => e.status === "pending" || e.status === "running";+function IF(e) {let t = `${e.task_label}:`, n = e.progress_label || "", r = String(e.result_summary?.name || "") || (n.startsWith(t) ? n.slice(t.length) : n === e.task_label ? "" : n), i = e.progress_total || 0, { name: a, ...o } = e.result_summary || {};- return [r, jF(e.error) || BF(o) || (EF(e) && i > 0 ? `${kF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");+ return [r, BF(e.error) || YF(o) || (FF(e) && i > 0 ? `${RF(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");}-function OF(e) {+function LF(e) {if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";let t = Math.floor(e);if (t < 60) return `${t} 秒`;@@ -35730,19 +35910,19 @@ function OF(e) {let r = Math.floor(n / 60);return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;}-function kF(e, t) {+function RF(e, t) {let n = Math.max(0, Number(t) || 0);return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;}-function AF(e) {+function zF(e) {let t = String(e || "").split(/\r?\n/).map((e) => e.trim()).filter(Boolean);return t.length ? /^Traceback \(most recent call last\)/.test(t[0]) ? t[t.length - 1] : t[0] : "";}-function jF(e) {- let t = AF(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);+function BF(e) {+ let t = zF(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);return n ? tn(n[1]) : t;}-var MF = {+var VF = {partial: "处理已结束,部分项目需处理",complete: "处理完成",interrupted: "处理已中断",@@ -35759,11 +35939,11 @@ var MF = {三站都没对上她: "三个来源均未找到与该人物相符的资料页",已有身份: "已有创作者分类",已变: "资料已被其他操作修改,本次未保存"-}, NF = {+}, HF = {avwikidb: "AVWikiDB",javdb: "JavDB","minnano-av": "みんなのAV"-}, PF = {+}, UF = {like: "标记喜欢",seen: "标记看过",later: "加入稍后看",@@ -35774,8 +35954,8 @@ var MF = {"dismiss-junk": "确认不是垃圾","reconsider-junk": "重新判定垃圾",region: "判定产地"-}, FF = (e) => MF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${NF[t.toLowerCase()]} 资料页` : `已保存来自 ${NF[t.toLowerCase()]} 的资料`);-function IF(e) {+}, WF = (e) => VF[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${HF[t.toLowerCase()]} 资料页` : `已保存来自 ${HF[t.toLowerCase()]} 的资料`);+function GF(e) {if (!e) return "";let t = new Date(e);return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {@@ -35785,7 +35965,7 @@ function IF(e) {minute: "2-digit"});}-var LF = /* @__PURE__ */ new Set([+var KF = /* @__PURE__ */ new Set(["blocked_by","status","run_id",@@ -35794,14 +35974,14 @@ var LF = /* @__PURE__ */ new Set(["completed_at","finished_at"]);-function RF(e) {- let t = zF(e);+function qF(e) {+ let t = JF(e);return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;}-function zF(e) {- return Object.entries(e || {}).filter(([e, t]) => !LF.has(e) && (e in CF || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? jF(String(t)) : e === "outcome" || e === "result" ? FF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${CF[e]} ${jn(Number(t))}` : e === "operation" ? `操作:${PF[String(t)] || "批量操作"}` : `${CF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);+function JF(e) {+ return Object.entries(e || {}).filter(([e, t]) => !KF.has(e) && (e in wF || e === "outcome" || e === "followups" || e === "error") && (typeof t == "number" || typeof t == "string") && String(t) !== "" && (t !== 0 || e === "checked" || e === "total")).map(([e, t]) => e === "followups" ? `已安排 ${Number(t).toLocaleString()} 项补充任务` : e === "error" ? BF(String(t)) : e === "outcome" || e === "result" ? WF(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${wF[e]} ${jn(Number(t))}` : e === "operation" ? `操作:${UF[String(t)] || "批量操作"}` : `${wF[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);}-var BF = (e) => RF(e).join(" · "), VF = lF({+var YF = (e) => qF(e).join(" · "), XF = sF({base: "relative inline-flex shrink-0 items-center justify-center overflow-visible rounded-2lg bg-background-primary-default text-foreground-icon-primary border border-border-button-default shadow-xs select-none cursor-pointer transition-[background-color,border-color,box-shadow,color] duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring hover:bg-background-primary-hover hover:border-border-button-hover active:bg-background-primary-active active:border-border-button-active disabled:cursor-not-allowed disabled:bg-background-primary-disabled disabled:border-border-button-default disabled:text-icon-button-disabled-foreground disabled:opacity-60 disabled:shadow-none",size: {medium: "size-9",@@ -35812,20 +35992,20 @@ var BF = (e) => RF(e).join(" · "), VF = lF({small: "size-4 shrink-0"}});-function HF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {+function ZF({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {return /* @__PURE__ */ (0, F.jsx)("button", {ref: i,type: r,- className: cF(VF.base, VF.size[t], n),+ className: oF(XF.base, XF.size[t], n),...a,children: /* @__PURE__ */ (0, F.jsx)(e, {- className: VF.icon[t],+ className: XF.icon[t],"aria-hidden": !0})});}// src/react/components/glass-drift.tsx-function UF() {+function QF() {return /* @__PURE__ */ (0, F.jsxs)("span", {"data-glass-drift": "","aria-hidden": "true",@@ -35839,7 +36019,7 @@ function UF() {});}// src/react/components/use-stuck.ts-function WF(e) {+function $F(e) {(0, P.useEffect)(() => {let t = e.current;if (!t) return;@@ -35856,7 +36036,7 @@ function WF(e) {}, [e]);}// src/react/components/use-horizontal-scroller.ts-function GF(e, t = !0) {+function eI(e, t = !0) {let [n, r] = (0, P.useState)(null), i = (0, P.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);@@ -35870,17 +36050,17 @@ function GF(e, t = !0) {}, [n, t]), i;}// src/react/components/filter-glass.tsx-var KF = ({ className: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var tI = ({ className: e }) => /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,className: e,dangerouslySetInnerHTML: { __html: xs("正在处理") }});-function qF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {- return /* @__PURE__ */ (0, F.jsx)(HF, {+function nI({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {+ return /* @__PURE__ */ (0, F.jsx)(ZF, {...a,"data-filter-action": "",size: "small",- icon: n && r === "spinner" ? KF : t,+ icon: n && r === "spinner" ? tI : t,"aria-label": e,title: a.title || e,"aria-busy": n || void 0,@@ -35890,9 +36070,9 @@ function qF({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress}});}-function JF({ title: e, children: t }) {+function rI({ title: e, children: t }) {let n = (0, P.useRef)(null);- return WF(n), /* @__PURE__ */ (0, F.jsxs)("div", {+ return $F(n), /* @__PURE__ */ (0, F.jsxs)("div", {ref: n,role: "group","aria-label": e,@@ -35905,20 +36085,20 @@ function JF({ title: e, children: t }) {children: e}),t,- /* @__PURE__ */ (0, F.jsx)(UF, {})+ /* @__PURE__ */ (0, F.jsx)(QF, {})]});}-function YF({ 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, P.useRef)(null), f = GF(), p = GF(u);- return WF(d), /* @__PURE__ */ (0, F.jsxs)("div", {+function iI({ 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, P.useRef)(null), f = eI(), p = eI(u);+ return $F(d), /* @__PURE__ */ (0, F.jsxs)("div", {ref: d,role: "group","aria-label": e,"data-filter-glass": !0,"data-glass-pane": "",...c,- className: cF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),+ className: oF("sticky top-topbar z-10 mb-5.5 flex flex-col", i),children: [s,n === null ? null : /* @__PURE__ */ (0, F.jsx)("div", {@@ -35926,37 +36106,37 @@ function YF({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNarole: "group","aria-label": t,"data-filter-row": "top",- className: cF("flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2", a),+ className: oF("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, F.jsx)("div", {ref: p,"data-filter-row": "bottom","aria-busy": l || void 0,- className: cF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),+ className: oF("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),children: r}),- /* @__PURE__ */ (0, F.jsx)(UF, {})+ /* @__PURE__ */ (0, F.jsx)(QF, {})]});}-var XF = "flex h-8 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 ZF({ children: e, pressed: t, onPress: n, className: r, ...i }) {+var aI = "flex h-8 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 oI({ children: e, pressed: t, onPress: n, className: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",...i,"aria-pressed": t,- className: cF(XF, r),+ className: oF(aI, r),onClick: n,children: e});}-var QF = "h-8 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 $F({ children: e, onPress: t, busy: n = !1 }) {+var sI = "h-8 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 cI({ children: e, onPress: t, busy: n = !1 }) {return /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glass-pill": "",- className: QF,+ className: sI,"aria-busy": n || void 0,"aria-disabled": n || void 0,onClick: () => {@@ -35966,13 +36146,13 @@ function $F({ children: e, onPress: t, busy: n = !1 }) {});}// src/react/components/use-view-glide.ts-var eI = (e, t) => [+var lI = (e, t) => ["x","y","w","h"].every((n) => e[n] === t[n]);-function tI(e, t, n) {+function uI(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;@@ -35996,17 +36176,17 @@ function tI(e, t, n) {h: e.offsetHeight};}-function nI(e, t, n, r, { axis: i = "x" } = {}) {+function dI(e, t, n, r, { axis: i = "x" } = {}) {let a = (0, P.useRef)(null), o = (0, P.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 ? tI(u, l, i) : null;+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? uI(u, l, i) : null;if (!d || !d.w || !d.h) {Tc(s), s.hidden = !0, a.current = null;return;}let f = s.hidden ? null : a.current;- s.hidden = !1, a.current = d, !(o && f && eI(f, d)) && Cc(s, o ? f : null, d, i);+ s.hidden = !1, a.current = d, !(o && f && lI(f, d)) && Cc(s, o ? f : null, d, i);}, [e,t,@@ -36027,8 +36207,8 @@ function nI(e, t, n, r, { axis: i = "x" } = {}) {passive: !0}), addEventListener("resize", c, { passive: !0 });let l = new ResizeObserver(() => {- let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? tI(o, r, i) : null, l = a.current;- s && l && eI(s, l) || c();+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? uI(o, r, i) : null, l = a.current;+ s && l && lI(s, l) || c();}), u = t.current;if (u && r) {l.observe(u);@@ -36059,7 +36239,7 @@ function nI(e, t, n, r, { axis: i = "x" } = {}) {};}// src/react/boardui/components/base/buttons/button.tsx-var rI = lF({+var fI = sF({base: "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans select-none cursor-pointer button-press-motion outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed aria-disabled:cursor-not-allowed",size: {medium: "h-9 rounded-2lg p-2 text-body-medium",@@ -36092,52 +36272,52 @@ function q({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadireturn /* @__PURE__ */ (0, F.jsxs)("button", {ref: c,type: s,- className: cF(rI.base, rI.size[t], rI.variant[e], n && rI.iconOnlySize[t], o),+ className: oF(fI.base, fI.size[t], fI.variant[e], n && fI.iconOnlySize[t], o),...l,children: [r ? /* @__PURE__ */ (0, F.jsx)(r, {- className: rI.icon[t],+ className: fI.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, F.jsx)("span", {- className: rI.label[t],+ className: fI.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, F.jsx)(i, {- className: rI.icon[t],+ className: fI.icon[t],"aria-hidden": !0}) : null]});}-function iI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {+function pI({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {return /* @__PURE__ */ (0, F.jsxs)("a", {ref: s,- className: cF(rI.base, rI.size[t], rI.variant[e], n && rI.iconOnlySize[t], o),+ className: oF(fI.base, fI.size[t], fI.variant[e], n && fI.iconOnlySize[t], o),...c,children: [r ? /* @__PURE__ */ (0, F.jsx)(r, {- className: rI.icon[t],+ className: fI.icon[t],"aria-hidden": !0}) : null,!n && a != null && /* @__PURE__ */ (0, F.jsx)("span", {- className: rI.label[t],+ className: fI.label[t],children: a}),!n && i ? /* @__PURE__ */ (0, F.jsx)(i, {- className: rI.icon[t],+ className: fI.icon[t],"aria-hidden": !0}) : null]});}// node_modules/react-aria-components/dist/private/utils.mjs-var aI = Symbol("default");-function oI({ values: e, children: t }) {+var mI = Symbol("default");+function hI({ values: e, children: t }) {for (let [n, r] of e) t = /*#__PURE__*/ P.createElement(n.Provider, { value: r }, t);return t;}-function sI(e) {+function gI(e) {let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;return (0, P.useMemo)(() => {let e, l, u;@@ -36171,11 +36351,11 @@ function sI(e) {c]);}-function cI(e, t) {+function _I(e, t) {let n = (0, P.useContext)(e);if (t === null) return null;if (n && typeof n == "object" && "slots" in n && n.slots) {- let e = t || aI;+ let e = t || mI;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}.`);@@ -36184,8 +36364,8 @@ function cI(e, t) {}return n;}-function lI(e, t, n) {- let { ref: r, ...i } = cI(n, e.slot) || {}, a = Jx((0, P.useMemo)(() => zx(t, r), [t, r])), o = K(i, e);+function vI(e, t, n) {+ let { ref: r, ...i } = _I(n, e.slot) || {}, a = Xx((0, P.useMemo)(() => Vx(t, r), [t, r])), o = K(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,@@ -36203,42 +36383,42 @@ function lI(e, t, n) {...e.style}), [o, a];}-function uI(e = !0) {+function yI(e = !0) {let [t, n] = (0, P.useState)(e), r = (0, P.useRef)(!1), i = (0, P.useCallback)((e) => {r.current = !0, n(!!e);}, []);- return Nb(() => {+ return zb(() => {r.current || n(!1);}, []), [i, t];}-function dI(e) {+function bI(e) {let t = /^(data-.*)$/, n = {};for (let r in e) t.test(r) || (n[r] = e[r]);return n;}-function fI(e, t, n) {- let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => zx(n, a), [n, a]);- Nb(() => {}, [e, r]);+function Uue(e, t, n) {+ let { render: r, ...i } = t, a = (0, P.useRef)(null), o = (0, P.useMemo)(() => Vx(n, a), [n, a]);+ zb(() => {}, [e, r]);let s = {...i,ref: o};return r ? r(s, void 0) : /*#__PURE__*/ P.createElement(e, s);}-var pI = {}, mI = new Proxy({}, { get(e, t) {+var xI = {}, SI = new Proxy({}, { get(e, t) {if (typeof t != "string") return;- let n = pI[t];- return n || (n = /*#__PURE__*/ (0, P.forwardRef)(fI.bind(null, t)), pI[t] = n), n;-} }), hI = /*#__PURE__*/ (0, P.createContext)(null), gI = /*#__PURE__*/ (0, P.createContext)(null), _I = /*#__PURE__*/ (0, P.createContext)(null), vI = {+ let n = xI[t];+ return n || (n = /*#__PURE__*/ (0, P.forwardRef)(Uue.bind(null, t)), xI[t] = n), n;+} }), CI = /*#__PURE__*/ (0, P.createContext)(null), wI = /*#__PURE__*/ (0, P.createContext)(null), TI = /*#__PURE__*/ (0, P.createContext)(null), EI = {CollectionRoot({ collection: e, renderDropIndicator: t }) {- return yI(e, null, t);+ return DI(e, null, t);},CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {- return yI(e, t, n);+ return DI(e, t, n);}};-function yI(e, t, n) {- return db({+function DI(e, t, n) {+ return xb({items: t ? e.getChildren(t.key) : e,dependencies: [n],children(t) {@@ -36248,11 +36428,11 @@ function yI(e, t, n) {type: "item",key: t.key,dropPosition: "before"- }), r, bI(e, t, n));+ }), r, Wue(e, t, n));}});}-function bI(e, t, n) {+function Wue(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);@@ -36271,23 +36451,23 @@ function bI(e, t, n) {}return s;}-var xI = /*#__PURE__*/ (0, P.createContext)(vI);-function SI(e) {+var OI = /*#__PURE__*/ (0, P.createContext)(EI);+function kI(e) {return (0, P.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);}// node_modules/react-aria-components/dist/private/Label.mjs-var CI = /*#__PURE__*/ (0, P.createContext)({}), wI = /*#__PURE__*/ $x(function(e, t) {- [e, t] = lI(e, t, CI);- let { elementType: n = "label", ...r } = e, i = mI[n];+var AI = /*#__PURE__*/ (0, P.createContext)({}), jI = /*#__PURE__*/ tS(function(e, t) {+ [e, t] = vI(e, t, AI);+ let { elementType: n = "label", ...r } = e, i = SI[n];return /*#__PURE__*/ P.createElement(i, {className: "react-aria-Label",...r,ref: t});-}), TI = /*#__PURE__*/ (0, P.createContext)(null), EI = /*#__PURE__*/ (0, P.createContext)({}), DI = /*#__PURE__*/ $x(function(e, t) {- [e, t] = lI(e, t, EI);- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Sie(e, t);- i = Eue(i, r);+}), Gue = /*#__PURE__*/ (0, P.createContext)(null), MI = /*#__PURE__*/ (0, P.createContext)({}), NI = /*#__PURE__*/ tS(function(e, t) {+ [e, t] = vI(e, t, MI);+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = fC(e, t);+ i = que(i, r);let { focusProps: o, isFocused: s, isFocusVisible: c } = zT(e), { hoverProps: l, isHovered: u } = UT({...e,isDisabled: e.isDisabled || r@@ -36298,24 +36478,24 @@ var CI = /*#__PURE__*/ (0, P.createContext)({}), wI = /*#__PURE__*/ $x(function(isFocusVisible: c,isDisabled: e.isDisabled || !1,isPending: r ?? !1- }, f = sI({+ }, f = gI({...e,values: d,defaultClassName: "react-aria-Button"- }), p = Lx(i.id), m = Lx(), h = i["aria-labelledby"];+ }), p = zx(i.id), m = zx(), h = i["aria-labelledby"];r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));let g = (0, P.useRef)(r);(0, P.useEffect)(() => {let e = { "aria-labelledby": h || p };- (!g.current && s && r || g.current && s && !r) && AC(e, "assertive"), g.current = r;+ (!g.current && s && r || g.current && s && !r) && BC(e, "assertive"), g.current = r;}, [r,s,h,p]);- let _ = VS(e, { global: !0 });- return delete _.onClick, /*#__PURE__*/ P.createElement(mI.button, {+ let _ = US(e, { global: !0 });+ return delete _.onClick, /*#__PURE__*/ P.createElement(SI.button, {...K(_, f, i, o, l),type: i.type === "submit" && r ? "button" : i.type,id: p,@@ -36329,61 +36509,61 @@ var CI = /*#__PURE__*/ (0, P.createContext)({}), wI = /*#__PURE__*/ $x(function("data-focused": s || void 0,"data-pending": r || void 0,"data-focus-visible": c || void 0- }, /*#__PURE__*/ P.createElement(TI.Provider, { value: { id: m } }, f.children));-}), OI = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;-function Eue(e, t) {+ }, /*#__PURE__*/ P.createElement(Gue.Provider, { value: { id: m } }, f.children));+}), Kue = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;+function que(e, t) {if (t) {- for (let t in e) t.startsWith("on") && !OI.test(t) && (e[t] = void 0);+ for (let t in e) t.startsWith("on") && !Kue.test(t) && (e[t] = void 0);e.href = void 0, e.target = void 0;}return e;}// node_modules/react-aria-components/dist/private/Heading.mjs-var kI = /*#__PURE__*/ (0, P.createContext)({}), AI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = lI(e, t, kI);- let { children: n, level: r = 3, className: i, ...a } = e, o = mI[`h${r}`];+var PI = /*#__PURE__*/ (0, P.createContext)({}), FI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, PI);+ let { children: n, level: r = 3, className: i, ...a } = e, o = SI[`h${r}`];return /*#__PURE__*/ P.createElement(o, {...a,ref: t,className: i ?? "react-aria-Heading"}, n);-}), jI = /*#__PURE__*/ (0, P.createContext)({}), Due = /*#__PURE__*/ $x(function(e, t) {- [e, t] = lI(e, t, jI);- let { elementType: n = "span", ...r } = e, i = mI[n];+}), II = /*#__PURE__*/ (0, P.createContext)({}), Jue = /*#__PURE__*/ tS(function(e, t) {+ [e, t] = vI(e, t, II);+ let { elementType: n = "span", ...r } = e, i = SI[n];return /*#__PURE__*/ P.createElement(i, {className: "react-aria-Text",...r,ref: t});-}), MI = /*#__PURE__*/ (0, P.createContext)(null), NI = /*#__PURE__*/ (0, P.createContext)(null), PI = /*#__PURE__*/ (0, P.createContext)(null), FI = /*#__PURE__*/ (0, P.createContext)(null), Oue = /*#__PURE__*/ (0, P.createContext)(null), II = /*#__PURE__*/ (0, P.createContext)(null);-function kue(e, t) {- let { validationBehavior: n } = cI(NI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(Oue), a = Jx((0, P.useMemo)(() => zx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {- ...dI(e),+}), LI = /*#__PURE__*/ (0, P.createContext)(null), RI = /*#__PURE__*/ (0, P.createContext)(null), zI = /*#__PURE__*/ (0, P.createContext)(null), BI = /*#__PURE__*/ (0, P.createContext)(null), Yue = /*#__PURE__*/ (0, P.createContext)(null), VI = /*#__PURE__*/ (0, P.createContext)(null);+function Xue(e, t) {+ let { validationBehavior: n } = _I(RI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useContext)(Yue), a = Xx((0, P.useMemo)(() => Vx(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {+ ...bI(e),children: typeof e.children == "function" || e.children,value: e.value,validationBehavior: r};- return [i ? Nie(o, i, a) : sw(o, fw(e), a), a];+ return [i ? aae(o, i, a) : sw(o, fw(e), a), a];}-var Aue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+var Zue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = lI(r, t, PI);- let [i, a] = kue(e, n);- return /*#__PURE__*/ P.createElement(II.Provider, { value: {+ [e, t] = vI(r, t, zI);+ let [i, a] = Xue(e, n);+ return /*#__PURE__*/ P.createElement(VI.Provider, { value: {...i,inputRef: a,defaultClassName: "react-aria-Checkbox",isIndeterminate: e.isIndeterminate,isRequired: e.isRequired- } }, /*#__PURE__*/ P.createElement(jue, {+ } }, /*#__PURE__*/ P.createElement(Que, {...e,ref: t}));-}), jue = /*#__PURE__*/ (0, P.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, P.useContext)(II), { isFocused: p, isFocusVisible: m, focusProps: h } = zT(), g = a || o, { hoverProps: _, isHovered: v } = UT({+}), Que = /*#__PURE__*/ (0, P.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, P.useContext)(VI), { isFocused: p, isFocusVisible: m, focusProps: h } = zT(), g = a || o, { hoverProps: _, isHovered: v } = UT({...e,isDisabled: g- }), y = sI({+ }), y = gI({...e,defaultClassName: u,values: {@@ -36398,8 +36578,8 @@ var Aue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {isInvalid: c,isRequired: f || !1}- }), b = VS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(mI.label, {+ }), b = US(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(SI.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -36417,8 +36597,8 @@ var Aue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {...K(r, h),ref: l})), y.children);-}), LI = /*#__PURE__*/ (0, P.createContext)({}), RI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = lI(e, t, LI);+}), HI = /*#__PURE__*/ (0, P.createContext)({}), UI = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, HI);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 } = UT({@@ -36426,7 +36606,7 @@ var Aue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {onHoverChange: o,onHoverEnd: s,isDisabled: n- }), { isFocused: d, isFocusVisible: f, focusProps: p } = zT({ within: !0 }), m = sI({+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = zT({ within: !0 }), m = gI({...e,values: {isHovered: u,@@ -36437,7 +36617,7 @@ var Aue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Group"});- return /*#__PURE__*/ P.createElement(mI.div, {+ return /*#__PURE__*/ P.createElement(SI.div, {...K(c, p, l),...m,ref: t,@@ -36450,18 +36630,18 @@ var Aue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {"data-invalid": r || void 0,"data-readonly": i || void 0}, m.children);-}), zI = /*#__PURE__*/ (0, P.createContext)({}), Mue = (e) => {+}), WI = /*#__PURE__*/ (0, P.createContext)({}), $ue = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Nue = /*#__PURE__*/ $x(function(e, t) {- [e, t] = lI(e, t, zI);+}, ede = /*#__PURE__*/ tS(function(e, t) {+ [e, t] = vI(e, t, WI);let { hoverProps: n, isHovered: r } = UT({...e,isDisabled: e.disabled}), { isFocused: i, isFocusVisible: a, focusProps: o } = zT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = sI({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = gI({...e,values: {isHovered: r,@@ -36472,8 +36652,8 @@ var Aue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {},defaultClassName: "react-aria-Input"});- return /*#__PURE__*/ P.createElement(mI.input, {- ...K(Mue(e), o, n),+ return /*#__PURE__*/ P.createElement(SI.input, {+ ...K($ue(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -36482,9 +36662,9 @@ var Aue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Pue = 0, Fue = 100, Iue = 1;-function Lue(e) {- let { isDisabled: t = !1, minValue: n = Pue, maxValue: r = Fue, numberFormatter: i, step: a = Iue, orientation: o = "horizontal" } = e, s = (0, P.useMemo)(() => {+}), tde = 0, nde = 100, rde = 1;+function ide(e) {+ let { isDisabled: t = !1, minValue: n = tde, maxValue: r = nde, numberFormatter: i, step: a = rde, orientation: o = "horizontal" } = e, s = (0, P.useMemo)(() => {let e = (r - n) / 10;return e = hw(e, 0, e + a, a), Math.max(e, a);}, [@@ -36495,11 +36675,11 @@ function Lue(e) {n,r,a- ]), l = (0, P.useMemo)(() => c(VI(e.value)), [e.value, c]), u = (0, P.useMemo)(() => c(VI(e.defaultValue) ?? [n]), [+ ]), l = (0, P.useMemo)(() => c(KI(e.value)), [e.value, c]), u = (0, P.useMemo)(() => c(KI(e.defaultValue) ?? [n]), [e.defaultValue,n,c- ]), d = HI(e.value, e.defaultValue, e.onChange), f = HI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = dw(l, u, d), [h] = (0, P.useState)(p), [g, _] = (0, P.useState)(Array(p.length).fill(!1)), v = (0, P.useRef)(Array(p.length).fill(!0)), [y, b] = (0, P.useState)(void 0), x = (0, P.useRef)(p), S = (0, P.useRef)(g), C = (e) => {+ ]), d = qI(e.value, e.defaultValue, e.onChange), f = qI(e.value, e.defaultValue, e.onChangeEnd), [p, m] = dw(l, u, d), [h] = (0, P.useState)(p), [g, _] = (0, P.useState)(Array(p.length).fill(!1)), v = (0, P.useRef)(Array(p.length).fill(!0)), [y, b] = (0, P.useState)(void 0), x = (0, P.useRef)(p), S = (0, P.useRef)(g), C = (e) => {x.current = e, m(e);}, w = (e) => {S.current = e, _(e);@@ -36523,14 +36703,14 @@ function Lue(e) {if (t || !O(e)) return;let r = E(e), i = D(e);n = hw(n, r, i, a);- let o = BI(x.current, e, n);+ let o = GI(x.current, e, n);C(o);}function j(e, n) {if (t || !O(e)) return;n && (x.current = p);let r = S.current[e];- S.current = BI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);+ S.current = GI(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);}let M = (0, P.useRef)(null);function ee(e = p) {@@ -36588,31 +36768,31 @@ function Lue(e) {isDisabled: t};}-function BI(e, t, n) {+function GI(e, t, n) {return e[t] === n ? e : [...e.slice(0, t),n,...e.slice(t + 1)];}-function VI(e) {+function KI(e) {if (e != null) return Array.isArray(e) ? e : [e];}-function HI(e, t, n) {+function qI(e, t, n) {return (r) => {typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);};}// node_modules/react-aria-components/dist/private/Slider.mjs-var Rue = /*#__PURE__*/ (0, P.createContext)(null), UI = /*#__PURE__*/ (0, P.createContext)(null), WI = /*#__PURE__*/ (0, P.createContext)(null), zue = /*#__PURE__*/ (0, P.createContext)(null), Bue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = lI(e, t, Rue);- let n = (0, P.useRef)(null), r = Rie(e.formatOptions), i = Lue({+var ade = /*#__PURE__*/ (0, P.createContext)(null), JI = /*#__PURE__*/ (0, P.createContext)(null), YI = /*#__PURE__*/ (0, P.createContext)(null), ode = /*#__PURE__*/ (0, P.createContext)(null), sde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, ade);+ let n = (0, P.useRef)(null), r = uae(e.formatOptions), i = ide({...e,numberFormatter: r- }), [a, o] = uI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = zie({+ }), [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = dae({...e,label: o- }, i, n), d = sI({+ }, i, n), d = gI({...e,values: {orientation: i.orientation,@@ -36620,32 +36800,32 @@ var Rue = /*#__PURE__*/ (0, P.createContext)(null), UI = /*#__PURE__*/ (0, P.crestate: i},defaultClassName: "react-aria-Slider"- }), f = VS(e, { global: !0 });- return delete f.id, /*#__PURE__*/ P.createElement(oI, { values: [- [UI, i],- [WI, {+ }), f = US(e, { global: !0 });+ return delete f.id, /*#__PURE__*/ P.createElement(hI, { values: [+ [JI, i],+ [YI, {...c,ref: n}],- [zue, u],- [CI, {+ [ode, u],+ [AI, {...l,ref: a}]- ] }, /*#__PURE__*/ P.createElement(mI.div, {+ ] }, /*#__PURE__*/ P.createElement(SI.div, {...K(f, d, s),ref: t,slot: e.slot || void 0,"data-orientation": i.orientation,"data-disabled": i.isDisabled || void 0}));-}), Vue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = lI(e, t, WI);- let n = (0, P.useContext)(UI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = UT({+}), cde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, YI);+ let n = (0, P.useContext)(JI), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = UT({onHoverStart: r,onHoverEnd: i,onHoverChange: a- }), l = sI({+ }), l = gI({...e,defaultClassName: "react-aria-SliderTrack",values: {@@ -36655,7 +36835,7 @@ var Rue = /*#__PURE__*/ (0, P.createContext)(null), UI = /*#__PURE__*/ (0, P.crestate: n}});- return /*#__PURE__*/ P.createElement(mI.div, {+ return /*#__PURE__*/ P.createElement(SI.div, {...K(o, s),...l,ref: t,@@ -36663,14 +36843,14 @@ var Rue = /*#__PURE__*/ (0, P.createContext)(null), UI = /*#__PURE__*/ (0, P.cre"data-orientation": n.orientation || void 0,"data-disabled": n.isDisabled || void 0});-}), Hue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { inputRef: n = null } = e, r = (0, P.useContext)(UI), { ref: i } = cI(WI), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = uI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = Bie({+}), lde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { inputRef: n = null } = e, r = (0, P.useContext)(JI), { ref: i } = _I(YI), { index: a = 0 } = e, o = (0, P.useRef)(null), s = n || o, [c, l] = yI(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = fae({...e,index: a,trackRef: i,inputRef: s,label: l- }, r), { focusProps: g, isFocusVisible: _ } = zT(), { hoverProps: v, isHovered: y } = UT(e), b = sI({+ }, r), { focusProps: g, isFocusVisible: _ } = zT(), { hoverProps: v, isHovered: y } = UT(e), b = gI({...e,defaultClassName: "react-aria-SliderThumb",values: {@@ -36681,8 +36861,8 @@ var Rue = /*#__PURE__*/ (0, P.createContext)(null), UI = /*#__PURE__*/ (0, P.creisFocusVisible: _,isDisabled: h}- }), x = VS(e, { global: !0 });- return delete x.id, /*#__PURE__*/ P.createElement(mI.div, {+ }), x = US(e, { global: !0 });+ return delete x.id, /*#__PURE__*/ P.createElement(SI.div, {...K(x, u, v),...b,ref: t,@@ -36698,327 +36878,327 @@ var Rue = /*#__PURE__*/ (0, P.createContext)(null), UI = /*#__PURE__*/ (0, P.cre}, /*#__PURE__*/ P.createElement(xw, null, /*#__PURE__*/ P.createElement("input", {ref: s,...K(d, g)- })), /*#__PURE__*/ P.createElement(oI, { values: [[CI, {+ })), /*#__PURE__*/ P.createElement(hI, { values: [[AI, {...f,ref: c}]] }, b.children));-}), GI = {};-GI = {+}), XI = {};+XI = {colorSwatchPicker: "تغييرات الألوان",dropzoneLabel: "DropZone",selectPlaceholder: "حدد عنصرًا",tableResizer: "أداة تغيير الحجم"};// node_modules/react-aria-components/dist/private/intl/bg-BG.mjs-var KI = {};-KI = {+var ZI = {};+ZI = {colorSwatchPicker: "Цветови мостри",dropzoneLabel: "DropZone",selectPlaceholder: "Изберете предмет",tableResizer: "Преоразмерител"};// node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs-var qI = {};-qI = {+var QI = {};+QI = {colorSwatchPicker: "Vzorky barev",dropzoneLabel: "Místo pro přetažení",selectPlaceholder: "Vyberte položku",tableResizer: "Změna velikosti"};// node_modules/react-aria-components/dist/private/intl/da-DK.mjs-var JI = {};-JI = {+var $I = {};+$I = {colorSwatchPicker: "Farveprøver",dropzoneLabel: "DropZone",selectPlaceholder: "Vælg et element",tableResizer: "Størrelsesændring"};// node_modules/react-aria-components/dist/private/intl/de-DE.mjs-var YI = {};-YI = {+var eL = {};+eL = {colorSwatchPicker: "Farbfelder",dropzoneLabel: "Ablegebereich",selectPlaceholder: "Element wählen",tableResizer: "Größenanpassung"};// node_modules/react-aria-components/dist/private/intl/el-GR.mjs-var XI = {};-XI = {+var tL = {};+tL = {colorSwatchPicker: "Χρωματικά δείγματα",dropzoneLabel: "DropZone",selectPlaceholder: "Επιλέξτε ένα αντικείμενο",tableResizer: "Αλλαγή μεγέθους"};// node_modules/react-aria-components/dist/private/intl/en-US.mjs-var ZI = {};-ZI = {+var nL = {};+nL = {selectPlaceholder: "Select an item",tableResizer: "Resizer",dropzoneLabel: "DropZone",colorSwatchPicker: "Color swatches"};// node_modules/react-aria-components/dist/private/intl/es-ES.mjs-var QI = {};-QI = {+var rL = {};+rL = {colorSwatchPicker: "Muestras de colores",dropzoneLabel: "DropZone",selectPlaceholder: "Seleccionar un artículo",tableResizer: "Cambiador de tamaño"};// node_modules/react-aria-components/dist/private/intl/et-EE.mjs-var $I = {};-$I = {+var iL = {};+iL = {colorSwatchPicker: "Värvinäidised",dropzoneLabel: "DropZone",selectPlaceholder: "Valige üksus",tableResizer: "Suuruse muutja"};// node_modules/react-aria-components/dist/private/intl/fi-FI.mjs-var eL = {};-eL = {+var aL = {};+aL = {colorSwatchPicker: "Värimallit",dropzoneLabel: "DropZone",selectPlaceholder: "Valitse kohde",tableResizer: "Koon muuttaja"};// node_modules/react-aria-components/dist/private/intl/fr-FR.mjs-var tL = {};-tL = {+var oL = {};+oL = {colorSwatchPicker: "Échantillons de couleurs",dropzoneLabel: "DropZone",selectPlaceholder: "Sélectionner un élément",tableResizer: "Redimensionneur"};// node_modules/react-aria-components/dist/private/intl/he-IL.mjs-var nL = {};-nL = {+var sL = {};+sL = {colorSwatchPicker: "דוגמיות צבע",dropzoneLabel: "DropZone",selectPlaceholder: "בחר פריט",tableResizer: "שינוי גודל"};// node_modules/react-aria-components/dist/private/intl/hr-HR.mjs-var rL = {};-rL = {+var cL = {};+cL = {colorSwatchPicker: "Uzorci boja",dropzoneLabel: "Zona spuštanja",selectPlaceholder: "Odaberite stavku",tableResizer: "Promjena veličine"};// node_modules/react-aria-components/dist/private/intl/hu-HU.mjs-var iL = {};-iL = {+var lL = {};+lL = {colorSwatchPicker: "Színtárak",dropzoneLabel: "DropZone",selectPlaceholder: "Válasszon ki egy elemet",tableResizer: "Átméretező"};// node_modules/react-aria-components/dist/private/intl/it-IT.mjs-var aL = {};-aL = {+var uL = {};+uL = {colorSwatchPicker: "Campioni di colore",dropzoneLabel: "Zona di rilascio",selectPlaceholder: "Seleziona un elemento",tableResizer: "Ridimensionamento"};// node_modules/react-aria-components/dist/private/intl/ja-JP.mjs-var oL = {};-oL = {+var dL = {};+dL = {colorSwatchPicker: "カラースウォッチ",dropzoneLabel: "ドロップゾーン",selectPlaceholder: "項目を選択",tableResizer: "サイズ変更ツール"};// node_modules/react-aria-components/dist/private/intl/ko-KR.mjs-var sL = {};-sL = {+var fL = {};+fL = {colorSwatchPicker: "색상 견본",dropzoneLabel: "드롭 영역",selectPlaceholder: "항목 선택",tableResizer: "크기 조정기"};// node_modules/react-aria-components/dist/private/intl/lt-LT.mjs-var cL = {};-cL = {+var pL = {};+pL = {colorSwatchPicker: "Spalvų pavyzdžiai",dropzoneLabel: "„DropZone“",selectPlaceholder: "Pasirinkite elementą",tableResizer: "Dydžio keitiklis"};// node_modules/react-aria-components/dist/private/intl/lv-LV.mjs-var lL = {};-lL = {+var mL = {};+mL = {colorSwatchPicker: "Krāsu paraugi",dropzoneLabel: "DropZone",selectPlaceholder: "Izvēlēties vienumu",tableResizer: "Izmēra mainītājs"};// node_modules/react-aria-components/dist/private/intl/nb-NO.mjs-var uL = {};-uL = {+var hL = {};+hL = {colorSwatchPicker: "Fargekart",dropzoneLabel: "Droppsone",selectPlaceholder: "Velg et element",tableResizer: "Størrelsesendrer"};// node_modules/react-aria-components/dist/private/intl/nl-NL.mjs-var dL = {};-dL = {+var gL = {};+gL = {colorSwatchPicker: "kleurstalen",dropzoneLabel: "DropZone",selectPlaceholder: "Selecteer een item",tableResizer: "Resizer"};// node_modules/react-aria-components/dist/private/intl/pl-PL.mjs-var fL = {};-fL = {+var _L = {};+_L = {colorSwatchPicker: "Próbki kolorów",dropzoneLabel: "Strefa upuszczania",selectPlaceholder: "Wybierz element",tableResizer: "Zmiana rozmiaru"};// node_modules/react-aria-components/dist/private/intl/pt-BR.mjs-var pL = {};-pL = {+var vL = {};+vL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/pt-PT.mjs-var mL = {};-mL = {+var yL = {};+yL = {colorSwatchPicker: "Amostras de cores",dropzoneLabel: "DropZone",selectPlaceholder: "Selecione um item",tableResizer: "Redimensionador"};// node_modules/react-aria-components/dist/private/intl/ro-RO.mjs-var hL = {};-hL = {+var bL = {};+bL = {colorSwatchPicker: "Specimene de culoare",dropzoneLabel: "Zonă de plasare",selectPlaceholder: "Selectați un element",tableResizer: "Instrument de redimensionare"};// node_modules/react-aria-components/dist/private/intl/ru-RU.mjs-var gL = {};-gL = {+var xL = {};+xL = {colorSwatchPicker: "Цветовые образцы",dropzoneLabel: "DropZone",selectPlaceholder: "Выберите элемент",tableResizer: "Средство изменения размера"};// node_modules/react-aria-components/dist/private/intl/sk-SK.mjs-var _L = {};-_L = {+var SL = {};+SL = {colorSwatchPicker: "Vzorkovníky farieb",dropzoneLabel: "DropZone",selectPlaceholder: "Vyberte položku",tableResizer: "Nástroj na zmenu veľkosti"};// node_modules/react-aria-components/dist/private/intl/sl-SI.mjs-var vL = {};-vL = {+var CL = {};+CL = {colorSwatchPicker: "Barvne palete",dropzoneLabel: "DropZone",selectPlaceholder: "Izberite element",tableResizer: "Spreminjanje velikosti"};// node_modules/react-aria-components/dist/private/intl/sr-SP.mjs-var yL = {};-yL = {+var wL = {};+wL = {colorSwatchPicker: "Uzorci boje",dropzoneLabel: "DropZone",selectPlaceholder: "Izaberite stavku",tableResizer: "Promena veličine"};// node_modules/react-aria-components/dist/private/intl/sv-SE.mjs-var bL = {};-bL = {+var TL = {};+TL = {colorSwatchPicker: "Färgrutor",dropzoneLabel: "DropZone",selectPlaceholder: "Välj en artikel",tableResizer: "Storleksändrare"};// node_modules/react-aria-components/dist/private/intl/tr-TR.mjs-var xL = {};-xL = {+var EL = {};+EL = {colorSwatchPicker: "Renk örnekleri",dropzoneLabel: "Bırakma Bölgesi",selectPlaceholder: "Bir öğe seçin",tableResizer: "Yeniden boyutlandırıcı"};// node_modules/react-aria-components/dist/private/intl/uk-UA.mjs-var SL = {};-SL = {+var DL = {};+DL = {colorSwatchPicker: "Зразки кольорів",dropzoneLabel: "DropZone",selectPlaceholder: "Виберіть елемент",tableResizer: "Засіб змінення розміру"};// node_modules/react-aria-components/dist/private/intl/zh-CN.mjs-var CL = {};-CL = {+var OL = {};+OL = {colorSwatchPicker: "颜色色板",dropzoneLabel: "放置区域",selectPlaceholder: "选择一个项目",tableResizer: "尺寸调整器"};// node_modules/react-aria-components/dist/private/intl/zh-TW.mjs-var wL = {};-wL = {+var kL = {};+kL = {colorSwatchPicker: "色票",dropzoneLabel: "放置區",selectPlaceholder: "選取項目",tableResizer: "大小調整器"};// node_modules/react-aria-components/dist/private/intlStrings.mjs-var TL = {};-TL = {- "ar-AE": GI,- "bg-BG": KI,- "cs-CZ": qI,- "da-DK": JI,- "de-DE": YI,- "el-GR": XI,- "en-US": ZI,- "es-ES": QI,- "et-EE": $I,- "fi-FI": eL,- "fr-FR": tL,- "he-IL": nL,- "hr-HR": rL,- "hu-HU": iL,- "it-IT": aL,- "ja-JP": oL,- "ko-KR": sL,- "lt-LT": cL,- "lv-LV": lL,- "nb-NO": uL,- "nl-NL": dL,- "pl-PL": fL,- "pt-BR": pL,- "pt-PT": mL,- "ro-RO": hL,- "ru-RU": gL,- "sk-SK": _L,- "sl-SI": vL,- "sr-SP": yL,- "sv-SE": bL,- "tr-TR": xL,- "uk-UA": SL,- "zh-CN": CL,- "zh-TW": wL+var AL = {};+AL = {+ "ar-AE": XI,+ "bg-BG": ZI,+ "cs-CZ": QI,+ "da-DK": $I,+ "de-DE": eL,+ "el-GR": tL,+ "en-US": nL,+ "es-ES": rL,+ "et-EE": iL,+ "fi-FI": aL,+ "fr-FR": oL,+ "he-IL": sL,+ "hr-HR": cL,+ "hu-HU": lL,+ "it-IT": uL,+ "ja-JP": dL,+ "ko-KR": fL,+ "lt-LT": pL,+ "lv-LV": mL,+ "nb-NO": hL,+ "nl-NL": gL,+ "pl-PL": _L,+ "pt-BR": vL,+ "pt-PT": yL,+ "ro-RO": bL,+ "ru-RU": xL,+ "sk-SK": SL,+ "sl-SI": CL,+ "sr-SP": wL,+ "sv-SE": TL,+ "tr-TR": EL,+ "uk-UA": DL,+ "zh-CN": OL,+ "zh-TW": kL};// node_modules/react-aria-components/dist/private/DragAndDrop.mjs-var EL = /*#__PURE__*/ (0, P.createContext)({}), DL = /*#__PURE__*/ (0, P.createContext)(null), Uue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { render: n } = (0, P.useContext)(DL);+var jL = /*#__PURE__*/ (0, P.createContext)({}), ML = /*#__PURE__*/ (0, P.createContext)(null), ude = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { render: n } = (0, P.useContext)(ML);return /*#__PURE__*/ P.createElement(P.Fragment, null, n(e, t));});-function OL(e, t) {+function NL(e, t) {let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, P.useCallback)((e) => {- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ P.createElement(Uue, { target: e });+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ P.createElement(ude, { target: e });}, [t?.target,r,@@ -37026,7 +37206,7 @@ function OL(e, t) {]);return e?.useDropIndicator ? i : void 0;}-function kL(e, t, n) {+function PL(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;@@ -37047,13 +37227,13 @@ function kL(e, t, n) {return (0, P.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);}// node_modules/react-aria-components/dist/private/Header.mjs-var AL = /*#__PURE__*/ (0, P.createContext)({}), Wue = /*#__PURE__*/ (0, P.createContext)(null);-function jL(e) {+var FL = /*#__PURE__*/ (0, P.createContext)({}), dde = /*#__PURE__*/ (0, P.createContext)(null);+function IL(e) {let t = (0, P.useRef)({});- return /*#__PURE__*/ P.createElement(Wue.Provider, { value: t }, e.children);+ return /*#__PURE__*/ P.createElement(dde.Provider, { value: t }, e.children);}// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs-var ML = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), NL = /*#__PURE__*/ (0, P.createContext)({}), Gue = /*#__PURE__*/ sS(class extends rb {+var LL = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), RL = /*#__PURE__*/ (0, P.createContext)({}), fde = /*#__PURE__*/ lS(class extends fb {static {this.type = "separator";}@@ -37066,14 +37246,14 @@ var ML = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), NL = /*#__PURE_return null;}}, function(e, t) {- [e, t] = lI(e, t, NL);+ [e, t] = vI(e, t, RL);let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";c === "hr" && r === "vertical" && (c = "div");- let l = mI[c], { separatorProps: u } = qae({+ let l = SI[c], { separatorProps: u } = yoe({...s,elementType: n,orientation: r- }), d = VS(e, { global: !0 });+ }), d = US(e, { global: !0 });return /*#__PURE__*/ P.createElement(l, {render: e.render,...K(d, u),@@ -37084,12 +37264,12 @@ var ML = /*#__PURE__*/ (0, P.createContext)({ isSelected: !1 }), NL = /*#__PURE_});});// node_modules/react-aria/dist/private/utils/inertValue.mjs-function PL(e) {+function zL(e) {let t = P.version.split(".");return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;}// node_modules/react-stately/dist/private/list/ListCollection.mjs-var FL = class {+var BL = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;let t = (e) => {@@ -37133,19 +37313,19 @@ var FL = class {getChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, IL = class e extends Set {+}, VL = 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);}};// node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs-function Kue(e, t) {+function pde(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}-function LL(e) {- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, P.useRef)(!1), [, s] = (0, P.useState)(!1), c = (0, P.useRef)(null), l = (0, P.useRef)(null), [, u] = (0, P.useState)(null), [d, f] = dw((0, P.useMemo)(() => RL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => RL(e.defaultSelectedKeys, new IL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, P.useState)(i);+function HL(e) {+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, P.useRef)(!1), [, s] = (0, P.useState)(!1), c = (0, P.useRef)(null), l = (0, P.useRef)(null), [, u] = (0, P.useState)(null), [d, f] = dw((0, P.useMemo)(() => UL(e.selectedKeys), [e.selectedKeys]), (0, P.useMemo)(() => UL(e.defaultSelectedKeys, new VL()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, P.useState)(i);i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");let g = (0, P.useRef)(i);return (0, P.useEffect)(() => {@@ -37172,17 +37352,17 @@ function LL(e) {},selectedKeys: d,setSelectedKeys(e) {- (r || !Kue(e, d)) && f(e);+ (r || !pde(e, d)) && f(e);},disabledKeys: p,disabledBehavior: a};}-function RL(e, t) {- return e ? e === "all" ? "all" : new IL(e) : t;+function UL(e, t) {+ return e ? e === "all" ? "all" : new VL(e) : t;}// node_modules/react-stately/dist/private/selection/SelectionManager.mjs-var zL = class e {+var WL = 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;}@@ -37265,10 +37445,10 @@ var zL = class e {let t = this.getKey(e);if (t == null) return;let n;- if (this.state.selectedKeys === "all") n = new IL([t], t, t);+ if (this.state.selectedKeys === "all") n = new VL([t], t, t);else {let e = this.state.selectedKeys, r = e.anchorKey ?? t;- n = new IL(e, r, t);+ n = new VL(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);}@@ -37302,19 +37482,19 @@ var zL = class e {}let t = this.getKey(e);if (t == null) return;- let n = new IL(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);+ let n = new VL(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 IL([t], t, t) : new IL();+ let n = this.canSelectItem(t) ? new VL([t], t, t) : new VL();this.state.setSelectedKeys(n);}setSelectedKeys(e) {if (this.selectionMode === "none") return;- let t = new IL();+ let t = new VL();for (let n of e) {let e = this.getKey(n);if (e != null && (t.add(e), this.selectionMode === "single")) break;@@ -37337,7 +37517,7 @@ var zL = 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 IL());+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new VL());}toggleSelectAll() {this.isSelectAll ? this.clearSelection() : this.selectAll();@@ -37378,9 +37558,9 @@ var zL = class e {fullCollection: this.fullCollection ?? this.collection});}-}, que = class {+}, mde = class {build(e, t) {- return this.context = t, BL(() => this.iterateCollection(e));+ return this.context = t, GL(() => this.iterateCollection(e));}*iterateCollection(e) {let { children: t, items: n } = e;@@ -37462,10 +37642,10 @@ var zL = class e {...a,key: l,index: s,- wrapper: Jue(e.wrapper, a.wrapper)+ wrapper: hde(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 <${VL(t.type)}> in <${VL(r?.type ?? "unknown parent type")}>. Only <${VL(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 <${KL(t.type)}> in <${KL(r?.type ?? "unknown parent type")}>. Only <${KL(e.type)}> is supported.`);s++, yield t;}c = o.next(u);@@ -37487,7 +37667,7 @@ var zL = class e {wrapper: e.wrapper,shouldInvalidate: e.shouldInvalidate,hasChildNodes: e.hasChildNodes || !1,- childNodes: BL(function* () {+ childNodes: GL(function* () {if (!e.hasChildNodes || !e.childNodes) return;let n = 0;for (let r of e.childNodes()) {@@ -37506,7 +37686,7 @@ var zL = class e {this.cache = /* @__PURE__ */ new WeakMap();}};-function BL(e) {+function GL(e) {let t = [], n = null;return { *[Symbol.iterator]() {for (let e of t) yield e;@@ -37514,17 +37694,17 @@ function BL(e) {for (let e of n) t.push(e), yield e;} };}-function Jue(e, t) {+function hde(e, t) {if (e && t) return (n) => e(t(n));if (e) return e;if (t) return t;}-function VL(e) {+function KL(e) {return e[0].toUpperCase() + e.slice(1);}// node_modules/react-stately/dist/private/collections/useCollection.mjs-function HL(e, t, n) {- let r = (0, P.useMemo)(() => new que(), []), { children: i, items: a, collection: o } = e;+function qL(e, t, n) {+ let r = (0, P.useMemo)(() => new mde(), []), { children: i, items: a, collection: o } = e;return (0, P.useMemo)(() => o || t(r.build({children: i,items: a@@ -37538,27 +37718,27 @@ function HL(e, t, n) {]);}// node_modules/react-stately/dist/private/list/useListState.mjs-function UL(e) {- let { filter: t, layoutDelegate: n } = e, r = LL(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = HL(e, (0, P.useCallback)((e) => t ? new FL(t(e)) : new FL(e), [t]), (0, P.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, P.useMemo)(() => new zL(a, r, { layoutDelegate: n }), [+function JL(e) {+ let { filter: t, layoutDelegate: n } = e, r = HL(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = qL(e, (0, P.useCallback)((e) => t ? new BL(t(e)) : new BL(e), [t]), (0, P.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, P.useMemo)(() => new WL(a, r, { layoutDelegate: n }), [a,r,n]);- return WL(a, o), {+ return YL(a, o), {collection: a,disabledKeys: i,selectionManager: o};}-function Yue(e, t) {+function gde(e, t) {let n = (0, P.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);- return WL(n, r), {+ return YL(n, r), {collection: n,selectionManager: r,disabledKeys: e.disabledKeys};}-function WL(e, t) {+function YL(e, t) {let n = (0, P.useRef)(null);(0, P.useEffect)(() => {if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {@@ -37585,15 +37765,15 @@ function WL(e, t) {}, [e, t]);}// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs-function GL(e, t) {- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = TS((e) => {+function XL(e, t) {+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, P.useRef)(null), s = DS((e) => {for (let t of e) t.isIntersecting && r && r();});- Nb(() => {+ zb(() => {if (t.current) {let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;o.current = new IntersectionObserver(s, {- root: PC(t?.current),+ root: UC(t?.current),rootMargin: n}), o.current.observe(t.current);}@@ -37608,42 +37788,42 @@ function GL(e, t) {]);}// node_modules/react-aria-components/dist/private/ListBox.mjs-var KL = /*#__PURE__*/ (0, P.createContext)(null), qL = /*#__PURE__*/ (0, P.createContext)(null), Xue = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = lI(e, t, KL);- let n = (0, P.useContext)(qL);- return n ? /*#__PURE__*/ P.createElement(JL, {+var ZL = /*#__PURE__*/ (0, P.createContext)(null), QL = /*#__PURE__*/ (0, P.createContext)(null), _de = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, ZL);+ let n = (0, P.useContext)(QL);+ return n ? /*#__PURE__*/ P.createElement($L, {state: n,props: e,listBoxRef: t- }) : /*#__PURE__*/ P.createElement(iS, { content: /*#__PURE__*/ P.createElement(dS, e) }, (n) => /*#__PURE__*/ P.createElement(Zue, {+ }) : /*#__PURE__*/ P.createElement(oS, { content: /*#__PURE__*/ P.createElement(pS, e) }, (n) => /*#__PURE__*/ P.createElement(vde, {props: e,listBoxRef: t,collection: n}));});-function Zue({ props: e, listBoxRef: t, collection: n }) {+function vde({ props: e, listBoxRef: t, collection: n }) {e = {...e,collection: n,children: null,items: null};- let { layoutDelegate: r } = (0, P.useContext)(xI), i = UL({+ let { layoutDelegate: r } = (0, P.useContext)(OI), i = JL({...e,layoutDelegate: r});- return /*#__PURE__*/ P.createElement(JL, {+ return /*#__PURE__*/ P.createElement($L, {state: i,props: e,listBoxRef: t});}-function JL({ state: e, props: t, listBoxRef: n }) {- [t, n] = lI(t, n, hI);- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = Yue(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = NS(), { disabledBehavior: p, disabledKeys: m } = l, h = MT({+function $L({ state: e, props: t, listBoxRef: n }) {+ [t, n] = vI(t, n, CI);+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = gde(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = FS(), { disabledBehavior: p, disabledKeys: m } = l, h = MT({usage: "search",sensitivity: "base"- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(xI), b = (0, P.useMemo)(() => t.keyboardDelegate || new Pw({+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, P.useContext)(OI), b = (0, P.useMemo)(() => t.keyboardDelegate || new Pw({collection: c,collator: h,ref: n,@@ -37664,7 +37844,7 @@ function JL({ state: e, props: t, listBoxRef: n }) {t.keyboardDelegate,i,_- ]), { listBoxProps: x } = pae({+ ]), { listBoxProps: x } = zae({...t,shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,keyboardDelegate: b,@@ -37704,7 +37884,7 @@ function JL({ state: e, props: t, listBoxRef: n }) {layout: t.layout || "stack",orientation: a,state: s- }, ee = sI({+ }, ee = gI({...t,children: void 0,defaultClassName: "react-aria-ListBox",@@ -37714,8 +37894,8 @@ function JL({ state: e, props: t, listBoxRef: n }) {role: "option",style: { display: "contents" }}, t.renderEmptyState(M)));- let ne = VS(t, { global: !0 });- return /*#__PURE__*/ P.createElement(dC, null, /*#__PURE__*/ P.createElement(mI.div, {+ let ne = US(t, { global: !0 });+ return /*#__PURE__*/ P.createElement(vC, null, /*#__PURE__*/ P.createElement(SI.div, {...K(ne, ee, x, O, w?.collectionProps),ref: n,slot: t.slot || void 0,@@ -37726,52 +37906,52 @@ function JL({ state: e, props: t, listBoxRef: n }) {"data-focus-visible": A || void 0,"data-layout": t.layout || "stack","data-orientation": a- }, /*#__PURE__*/ P.createElement(oI, { values: [- [KL, t],- [qL, s],- [EL, {+ }, /*#__PURE__*/ P.createElement(hI, { values: [+ [ZL, t],+ [QL, s],+ [jL, {dragAndDropHooks: r,dragState: S,dropState: C}],- [NL, { elementType: "div" }],- [DL, { render: ede }],- [_I, {+ [RL, { elementType: "div" }],+ [ML, { render: xde }],+ [TI, {name: "ListBoxSection",- render: Que+ render: yde}]- ] }, /*#__PURE__*/ P.createElement(jL, null, /*#__PURE__*/ P.createElement(y, {+ ] }, /*#__PURE__*/ P.createElement(IL, null, /*#__PURE__*/ P.createElement(y, {collection: c,scrollRef: n,- persistedKeys: kL(l, r, C),- renderDropIndicator: OL(r, C)+ persistedKeys: PL(l, r, C),+ renderDropIndicator: NL(r, C)}))), te, E));}-function Que(e, t, n, r = "react-aria-ListBoxSection") {- let i = (0, P.useContext)(qL), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(EL), { CollectionBranch: s } = (0, P.useContext)(xI), [c, l] = uI(), { headingProps: u, groupProps: d } = mae({+function yde(e, t, n, r = "react-aria-ListBoxSection") {+ let i = (0, P.useContext)(QL), { dragAndDropHooks: a, dropState: o } = (0, P.useContext)(jL), { CollectionBranch: s } = (0, P.useContext)(OI), [c, l] = yI(), { headingProps: u, groupProps: d } = Bae({heading: l,"aria-label": e["aria-label"] ?? void 0- }), f = sI({+ }), f = gI({...e,id: void 0,children: void 0,defaultClassName: r,values: void 0- }), p = VS(e, { global: !0 });- return delete p.id, /*#__PURE__*/ P.createElement(mI.section, {+ }), p = US(e, { global: !0 });+ return delete p.id, /*#__PURE__*/ P.createElement(SI.section, {...K(p, f, d),ref: t- }, /*#__PURE__*/ P.createElement(AL.Provider, { value: {+ }, /*#__PURE__*/ P.createElement(FL.Provider, { value: {...u,ref: c} }, /*#__PURE__*/ P.createElement(s, {collection: i.collection,parent: n,- renderDropIndicator: OL(a, o)+ renderDropIndicator: NL(a, o)})));}-var $ue = /*#__PURE__*/ sS(ob, function(e, t, n) {- let r = Jx(t), i = (0, P.useContext)(qL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(EL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = hae({+var bde = /*#__PURE__*/ lS(hb, function(e, t, n) {+ let r = Xx(t), i = (0, P.useContext)(QL), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(jL), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Vae({key: n.key,"aria-label": e?.["aria-label"]}, i, r), { hoverProps: p, isHovered: m } = UT({@@ -37779,7 +37959,7 @@ var $ue = /*#__PURE__*/ sS(ob, function(e, t, n) {onHoverStart: n.props.onHoverStart,onHoverChange: n.props.onHoverChange,onHoverEnd: n.props.onHoverEnd- }), { keyboardProps: h } = qx(e), { focusProps: g } = Ux(e), _ = null;+ }), { keyboardProps: h } = Yx(e), { focusProps: g } = Gx(e), _ = null;o && a && (_ = a.useDraggableItem({key: n.key,hasAction: f.hasAction@@ -37790,7 +37970,7 @@ var $ue = /*#__PURE__*/ sS(ob, function(e, t, n) {key: n.key,dropPosition: "on"} }, s, r));- let y = o && o.isDragging(n.key), b = sI({+ let y = o && o.isDragging(n.key), b = gI({...e,id: void 0,children: e.children,@@ -37808,7 +37988,7 @@ var $ue = /*#__PURE__*/ sS(ob, function(e, t, n) {(0, P.useEffect)(() => {n.textValue;}, [n.textValue]);- let x = e.href ? mI.a : mI.div, S = VS(e, { global: !0 });+ let x = e.href ? SI.a : SI.div, S = US(e, { global: !0 });return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ P.createElement(x, {...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),ref: r,@@ -37822,29 +38002,29 @@ var $ue = /*#__PURE__*/ sS(ob, 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__*/ P.createElement(oI, { values: [[jI, { slots: {- [aI]: u,+ }, /*#__PURE__*/ P.createElement(hI, { values: [[II, { slots: {+ [mI]: u,label: u,description: d- } }], [ML, { isSelected: f.isSelected }]] }, b.children));+ } }], [LL, { isSelected: f.isSelected }]] }, b.children));});-function ede(e, t) {- t = Jx(t);- let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(EL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);- return a ? null : /*#__PURE__*/ P.createElement(nde, {+function xde(e, t) {+ t = Xx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(jL), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);+ return a ? null : /*#__PURE__*/ P.createElement(Cde, {...e,dropIndicatorProps: i,isDropTarget: o,ref: t});}-function tde(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = sI({+function Sde(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = gI({...i,defaultClassName: "react-aria-DropIndicator",values: { isDropTarget: r }});- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(mI.div, {+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(SI.div, {...n,...a,role: "option",@@ -37852,10 +38032,10 @@ function tde(e, t) {"data-drop-target": r || void 0}));}-var nde = /*#__PURE__*/ (0, P.forwardRef)(tde);-sS(ab, function(e, t, n) {- let r = (0, P.useContext)(qL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);- GL((0, P.useMemo)(() => ({+var Cde = /*#__PURE__*/ (0, P.forwardRef)(Sde);+lS(mb, function(e, t, n) {+ let r = (0, P.useContext)(QL), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);+ XL((0, P.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -37865,7 +38045,7 @@ sS(ab, function(e, t, n) {o,r?.collection]), c);- let l = sI({+ let l = gI({...s,id: void 0,children: n.rendered,@@ -37878,7 +38058,7 @@ sS(ab, function(e, t, n) {width: 0,height: 0},- inert: PL(!0)+ inert: zL(!0)}, /*#__PURE__*/ P.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -37887,17 +38067,17 @@ sS(ab, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(mI.div, {- ...K(VS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(SI.div, {+ ...K(US(e, { global: !0 }), { tabIndex: -1 }),...l,role: "option",ref: t}, l.children)));});// node_modules/react-aria-components/dist/private/OverlayArrow.mjs-var rde = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });+var wde = /*#__PURE__*/ (0, P.createContext)({ placement: "bottom" });// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs-function YL(e) {+function eR(e) {let [t, n] = dw(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, P.useState)(null);return {isOpen: t,@@ -37916,15 +38096,15 @@ function YL(e) {};}// node_modules/react-aria/dist/private/utils/animation.mjs-function XL(e, t = !0, n) {+function tR(e, t = !0, n) {let [r, i] = (0, P.useState)(!0), a = r && t;- return Nb(() => {- if (!t && e.current) return Nx(vb(e.current, "opacity", "0"), vb(e.current, "clip", "rect(0 0 0 0)"), vb(e.current, "clip-path", "inset(50%)"), vb(e.current, "mask-image", "linear-gradient(#0000, #0000)"));- }, [e, t]), Nb(() => {+ return zb(() => {+ if (!t && e.current) return Fx(Ob(e.current, "opacity", "0"), Ob(e.current, "clip", "rect(0 0 0 0)"), Ob(e.current, "clip-path", "inset(50%)"), Ob(e.current, "mask-image", "linear-gradient(#0000, #0000)"));+ }, [e, t]), zb(() => {if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();- }, [e, a]), QL(e, a, n, (0, P.useCallback)(() => i(!1), [])), a;+ }, [e, a]), rR(e, a, n, (0, P.useCallback)(() => i(!1), [])), a;}-function ZL(e, t, n) {+function nR(e, t, n) {let [r, i] = (0, P.useState)(t ? "open" : "closed");switch (r) {case "open":@@ -37934,13 +38114,13 @@ function ZL(e, t, n) {case "exiting": t && i("open");}let a = r === "exiting";- return QL(e, a, n, (0, P.useCallback)(() => {+ return rR(e, a, n, (0, P.useCallback)(() => {i((e) => e === "exiting" ? "closed" : e);}, [])), a;}-function QL(e, t, n, r) {- let i = (0, P.useRef)(null), a = TS(n);- Nb(() => {+function rR(e, t, n, r) {+ let i = (0, P.useRef)(null), a = DS(n);+ zb(() => {if (t && e.current && i.current !== t) {if (i.current = t, !("getAnimations" in e.current)) {r();@@ -37965,9 +38145,9 @@ function QL(e, t, n, r) {]);}// node_modules/react-aria-components/dist/private/Popover.mjs-var $L = /*#__PURE__*/ (0, P.createContext)(null), eR = /*#__PURE__*/ (0, P.createContext)(null), tR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = lI(e, t, $L);- let n = (0, P.useContext)(pR), r = YL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = ZL(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = eS(), { direction: c } = NS();+var iR = /*#__PURE__*/ (0, P.createContext)(null), aR = /*#__PURE__*/ (0, P.createContext)(null), oR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, iR);+ let n = (0, P.useContext)(vR), r = eR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = nR(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = nS(), { direction: c } = FS();if (s) {let t = e.children;return typeof t == "function" && (t = t({@@ -37978,7 +38158,7 @@ var $L = /*#__PURE__*/ (0, P.createContext)(null), eR = /*#__PURE__*/ (0, P.creadefaultChildren: null})), /*#__PURE__*/ P.createElement(P.Fragment, null, t);}- return i && !i.isOpen && !o ? null : /*#__PURE__*/ P.createElement(ide, {+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ P.createElement(Tde, {...e,triggerRef: e.triggerRef,state: i,@@ -37987,13 +38167,13 @@ var $L = /*#__PURE__*/ (0, P.createContext)(null), eR = /*#__PURE__*/ (0, P.creadir: c});});-function ide({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {- let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useContext)(eR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = Vae({+function Tde({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {+ let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useContext)(aR), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, P.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = poe({...i,offset: i.offset ?? 8,arrowRef: a,groupRef: c ? s : o- }, e), g = i.popoverRef, _ = XL(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = sI({+ }, e), g = i.popoverRef, _ = tR(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = gI({...i,defaultClassName: "react-aria-Popover",values: {@@ -38003,10 +38183,10 @@ function ide({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContextisExiting: t}}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, P.useState)(i.trigger === "PreviewTrigger");- Nb(() => {+ zb(() => {g.current && S(b && !g.current.querySelector("[role=dialog]"));}, [g, b]), (0, P.useEffect)(() => {- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || xx() !== "pointer") && g.current && !Cb(g.current) && Mx(g.current);+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || Cx() !== "pointer") && g.current && !Nb(g.current) && Px(g.current);}, [x,g,@@ -38014,12 +38194,12 @@ function ide({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext]);let C = (0, P.useMemo)(() => {let e = y.children;- for (let t of [$L, ...r ?? []]) e = /*#__PURE__*/ P.createElement(t.Provider, { value: null }, e);+ for (let t of [iR, ...r ?? []]) e = /*#__PURE__*/ P.createElement(t.Provider, { value: null }, e);return e;}, [y.children, r]), [w, T] = (0, P.useState)(null), E = (0, P.useCallback)(() => {i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");}, [i.triggerRef]);- Nb(E, [E]), VE({+ zb(E, [E]), VE({ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,onResize: E});@@ -38029,9 +38209,9 @@ function ide({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext...y.style,"--trigger-width": y.style?.["--trigger-width"] || w};- Nb(() => AD(() => u(!0)), []);- let O = /*#__PURE__*/ P.createElement(mI.div, {- ...K(VS(i, { global: !0 }), d),+ zb(() => AD(() => u(!0)), []);+ let O = /*#__PURE__*/ P.createElement(SI.div, {+ ...K(US(i, { global: !0 }), d),...y,id: x ? i.id : void 0,role: x ? "dialog" : void 0,@@ -38046,7 +38226,7 @@ function ide({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext"data-placement": m,"data-entering": v || void 0,"data-exiting": t || void 0- }, !i.isNonModal && /*#__PURE__*/ P.createElement(CD, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(rde.Provider, { value: {+ }, !i.isNonModal && /*#__PURE__*/ P.createElement(CD, { onDismiss: e.close }), /*#__PURE__*/ P.createElement(wde.Provider, { value: {...p,placement: m,ref: a@@ -38071,13 +38251,13 @@ function ide({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext}), /*#__PURE__*/ P.createElement("div", {ref: o,style: { display: "contents" }- }, /*#__PURE__*/ P.createElement(eR.Provider, { value: o }, O)));+ }, /*#__PURE__*/ P.createElement(aR.Provider, { value: o }, O)));}// node_modules/react-aria-components/dist/private/Keyboard.mjs-var ade = /*#__PURE__*/ (0, P.createContext)({});+var Ede = /*#__PURE__*/ (0, P.createContext)({});// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs-function nR(e) {- let t = YL(e), [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)([]), o = () => {+function sR(e) {+ let t = eR(e), [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)([]), o = () => {a([]), t.close();}, s = (e, t) => {a((n) => t > n.length ? n : [...n.slice(0, t), e]);@@ -38102,7 +38282,7 @@ function nR(e) {};}// node_modules/react-stately/dist/private/tree/TreeCollection.mjs-var ode = class {+var Dde = 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) => {@@ -38145,8 +38325,8 @@ var ode = class {}};// node_modules/react-stately/dist/private/tree/useTreeState.mjs-function rR(e) {- let { onExpandedChange: t } = e, [n, r] = dw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = LL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = HL(e, (0, P.useCallback)((e) => new ode(e, { expandedKeys: n }), [n]), null);+function cR(e) {+ let { onExpandedChange: t } = e, [n, r] = dw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = HL(e), a = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = qL(e, (0, P.useCallback)((e) => new Dde(e, { expandedKeys: n }), [n]), null);return (0, P.useEffect)(() => {i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);}, [o, i.focusedKey]), {@@ -38154,31 +38334,31 @@ function rR(e) {expandedKeys: n,disabledKeys: a,toggleKey: (e) => {- r(sde(n, e));+ r(Ode(n, e));},setExpandedKeys: r,- selectionManager: new zL(o, i)+ selectionManager: new WL(o, i)};}-function sde(e, t) {+function Ode(e, t) {let n = new Set(e);return n.has(t) ? n.delete(t) : n.add(t), n;}// node_modules/react-aria-components/dist/private/Menu.mjs-var iR = /*#__PURE__*/ (0, P.createContext)(null), aR = /*#__PURE__*/ (0, P.createContext)(null), oR = /*#__PURE__*/ (0, P.createContext)(null), sR = /*#__PURE__*/ (0, P.createContext)(null);-function cde(e) {- let t = nR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = vT({+var lR = /*#__PURE__*/ (0, P.createContext)(null), uR = /*#__PURE__*/ (0, P.createContext)(null), dR = /*#__PURE__*/ (0, P.createContext)(null), fR = /*#__PURE__*/ (0, P.createContext)(null);+function kde(e) {+ let t = sR(e), n = (0, P.useRef)(null), { menuTriggerProps: r, menuProps: i } = vT({...e,type: "menu"}, t, n), a = (0, P.useRef)(null);- return eS() ? null : /*#__PURE__*/ P.createElement(oI, { values: [- [iR, {+ return nS() ? null : /*#__PURE__*/ P.createElement(hI, { values: [+ [lR, {...i,ref: a}],- [pR, t],- [oR, t],- [$L, {+ [vR, t],+ [dR, t],+ [iR, {trigger: "MenuTrigger",triggerRef: n,scrollRef: a,@@ -38186,14 +38366,14 @@ function cde(e) {"aria-labelledby": i["aria-labelledby"],offset: e.trigger === "contextMenu" ? 0 : void 0}]- ] }, /*#__PURE__*/ P.createElement(Qie, {+ ] }, /*#__PURE__*/ P.createElement(wae, {...r,ref: n,isPressed: t.isOpen}, e.children));}-var lde = /*#__PURE__*/ (0, P.createContext)(null);-(class extends rb {+var Ade = /*#__PURE__*/ (0, P.createContext)(null);+(class extends fb {static {this.type = "submenutrigger";}@@ -38206,24 +38386,24 @@ var lde = /*#__PURE__*/ (0, P.createContext)(null);return null;}});-var ude = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- return [e, t] = lI(e, t, iR), /*#__PURE__*/ P.createElement(iS, { content: /*#__PURE__*/ P.createElement(dS, e) }, (n) => /*#__PURE__*/ P.createElement(dde, {+var jde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ return [e, t] = vI(e, t, lR), /*#__PURE__*/ P.createElement(oS, { content: /*#__PURE__*/ P.createElement(pS, e) }, (n) => /*#__PURE__*/ P.createElement(Mde, {props: e,collection: n,menuRef: t}));});-function dde({ props: e, collection: t, menuRef: n }) {- [e, n] = lI(e, n, hI);- let { filter: r, ...i } = e, a = (0, P.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = rR({+function Mde({ props: e, collection: t, menuRef: n }) {+ [e, n] = vI(e, n, CI);+ let { filter: r, ...i } = e, a = (0, P.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = cR({...e,collection: a,children: void 0- }), s = (0, P.useContext)(oR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(xI), { menuProps: u } = gae({+ }), s = (0, P.useContext)(dR), { isVirtualized: c, CollectionRoot: l } = (0, P.useContext)(OI), { menuProps: u } = Hae({...e,isVirtualized: c,onClose: e.onClose || s?.close- }, o, n), d = sI({+ }, o, n), d = gI({...e,children: void 0,defaultClassName: "react-aria-Menu",@@ -38233,36 +38413,36 @@ function dde({ props: e, collection: t, menuRef: n }) {role: "menuitem",style: { display: "contents" }}, e.renderEmptyState()));- let p = VS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(dC, null, /*#__PURE__*/ P.createElement(mI.div, {+ let p = US(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(vC, null, /*#__PURE__*/ P.createElement(SI.div, {...K(p, d, u),ref: n,slot: e.slot || void 0,"data-empty": o.collection.size === 0 || void 0,onScroll: e.onScroll- }, /*#__PURE__*/ P.createElement(oI, { values: [- [aR, o],- [NL, { elementType: "div" }],- [_I, {+ }, /*#__PURE__*/ P.createElement(hI, { values: [+ [uR, o],+ [RL, { elementType: "div" }],+ [TI, {name: "MenuSection",- render: cR+ render: pR}],- [lde, {+ [Ade, {parentMenuRef: n,shouldUseVirtualFocus: i?.shouldUseVirtualFocus}],- [uR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],- [hI, null],- [gI, null],- [sR, o.selectionManager],- [oR, s ?? nR({})]- ] }, /*#__PURE__*/ P.createElement(jL, null, /*#__PURE__*/ P.createElement(l, {+ [hR, { shouldCloseOnSelect: e.shouldCloseOnSelect }],+ [CI, null],+ [wI, null],+ [fR, o.selectionManager],+ [dR, s ?? sR({})]+ ] }, /*#__PURE__*/ P.createElement(IL, null, /*#__PURE__*/ P.createElement(l, {collection: o.collection,- persistedKeys: SI(o.selectionManager.focusedKey),+ persistedKeys: kI(o.selectionManager.focusedKey),scrollRef: n}))), f));}-var fde = class extends zL {+var Nde = class extends WL {constructor(e, t) {super(e.collection, t), this.parent = e;}@@ -38282,11 +38462,11 @@ var fde = class extends zL {return this.parent.childFocusStrategy;}};-function cR(e, t, n, r = "react-aria-MenuSection") {- let i = (0, P.useContext)(aR), { CollectionBranch: a } = (0, P.useContext)(xI), [o, s] = uI(), { headingProps: c, groupProps: l } = vae({+function pR(e, t, n, r = "react-aria-MenuSection") {+ let i = (0, P.useContext)(uR), { CollectionBranch: a } = (0, P.useContext)(OI), [o, s] = yI(), { headingProps: c, groupProps: l } = Wae({heading: s,"aria-label": n.props["aria-label"] ?? void 0- }), u = sI({+ }), u = gI({...e,id: void 0,children: void 0,@@ -38294,31 +38474,31 @@ function cR(e, t, n, r = "react-aria-MenuSection") {className: n.props?.className,style: n.props?.style,values: void 0- }), d = (0, P.useContext)(sR), f = LL(e), p = e.selectionMode == null ? d : new fde(d, f), m = cI(uR)?.shouldCloseOnSelect, h = VS(e, { global: !0 });- return delete h.id, /*#__PURE__*/ P.createElement(mI.section, {+ }), d = (0, P.useContext)(fR), f = HL(e), p = e.selectionMode == null ? d : new Nde(d, f), m = _I(hR)?.shouldCloseOnSelect, h = US(e, { global: !0 });+ return delete h.id, /*#__PURE__*/ P.createElement(SI.section, {...K(h, u, l),ref: t- }, /*#__PURE__*/ P.createElement(oI, { values: [- [AL, {+ }, /*#__PURE__*/ P.createElement(hI, { values: [+ [FL, {...c,ref: o}],- [sR, p],- [uR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]+ [fR, p],+ [hR, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]] }, /*#__PURE__*/ P.createElement(a, {collection: i.collection,parent: n})));}-var lR = /*#__PURE__*/ cS(Xne, cR), uR = /*#__PURE__*/ (0, P.createContext)(null), dR = /*#__PURE__*/ sS(ob, function(e, t, n) {- [e, t] = lI(e, t, uR);- let r = cI(uR)?.id, i = (0, P.useContext)(aR), a = Jx(t), o = (0, P.useContext)(sR), { isVirtualized: s } = (0, P.useContext)(xI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = _ae({+var mR = /*#__PURE__*/ uS(gb, pR), hR = /*#__PURE__*/ (0, P.createContext)(null), gR = /*#__PURE__*/ lS(hb, function(e, t, n) {+ [e, t] = vI(e, t, hR);+ let r = _I(hR)?.id, i = (0, P.useContext)(uR), a = Xx(t), o = (0, P.useContext)(fR), { isVirtualized: s } = (0, P.useContext)(OI), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Uae({...e,id: r,key: n.key,selectionManager: o,isVirtualized: s- }, i, a), { hoverProps: p, isHovered: m } = UT({ isDisabled: f.isDisabled }), h = sI({+ }, i, a), { hoverProps: p, isHovered: m } = UT({ isDisabled: f.isDisabled }), h = gI({...e,id: void 0,children: n.rendered,@@ -38332,7 +38512,7 @@ var lR = /*#__PURE__*/ cS(Xne, cR), uR = /*#__PURE__*/ (0, P.createContext)(nullhasSubmenu: !!e["aria-haspopup"],isOpen: e["aria-expanded"] === "true"}- }), g = e.href ? mI.a : mI.div, _ = VS(e, { global: !0 });+ }), g = e.href ? SI.a : SI.div, _ = US(e, { global: !0 });return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(g, {...K(_, h, c, p),ref: a,@@ -38345,19 +38525,19 @@ var lR = /*#__PURE__*/ cS(Xne, cR), uR = /*#__PURE__*/ (0, P.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__*/ P.createElement(oI, { values: [- [jI, { slots: {- [aI]: l,+ }, /*#__PURE__*/ P.createElement(hI, { values: [+ [II, { slots: {+ [mI]: l,label: l,description: u} }],- [ade, d],- [ML, { isSelected: f.isSelected }]+ [Ede, d],+ [LL, { isSelected: f.isSelected }]] }, h.children));});-sS(ab, function(e, t, n) {- let r = (0, P.useContext)(aR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);- GL((0, P.useMemo)(() => ({+lS(mb, function(e, t, n) {+ let r = (0, P.useContext)(uR), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, P.useRef)(null);+ XL((0, P.useMemo)(() => ({onLoadMore: a,collection: r?.collection,sentinelRef: c,@@ -38367,7 +38547,7 @@ sS(ab, function(e, t, n) {o,r?.collection]), c);- let l = sI({+ let l = gI({...s,id: void 0,children: n.rendered,@@ -38380,7 +38560,7 @@ sS(ab, function(e, t, n) {width: 0,height: 0},- inert: PL(!0)+ inert: zL(!0)}, /*#__PURE__*/ P.createElement("div", {"data-testid": "loadMoreSentinel",ref: c,@@ -38389,89 +38569,89 @@ sS(ab, function(e, t, n) {height: 1,width: 1}- })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(mI.div, {- ...K(VS(e, { global: !0 }), { tabIndex: -1 }),+ })), i && l.children && /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(SI.div, {+ ...K(US(e, { global: !0 }), { tabIndex: -1 }),...l,role: "menuitem",ref: t}, l.children)));});// node_modules/react-aria-components/dist/private/Dialog.mjs-var fR = /*#__PURE__*/ (0, P.createContext)(null), pR = /*#__PURE__*/ (0, P.createContext)(null), mR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+var _R = /*#__PURE__*/ (0, P.createContext)(null), vR = /*#__PURE__*/ (0, P.createContext)(null), yR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let n = e["aria-labelledby"];- [e, t] = lI(e, t, fR);- let { dialogProps: r, titleProps: i, contentProps: a } = eae({+ [e, t] = vI(e, t, _R);+ let { dialogProps: r, titleProps: i, contentProps: a } = Eae({...e,"aria-labelledby": n- }, t), o = (0, P.useContext)(pR);+ }, t), o = (0, P.useContext)(vR);!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);- let s = sI({+ let s = gI({defaultClassName: "react-aria-Dialog",className: e.className,style: e.style,children: e.children,values: { close: o?.close || (() => {}) }- }), c = VS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(mI.section, {+ }), c = US(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(SI.section, {...K(c, s, r),render: e.render,ref: t,slot: e.slot || void 0- }, /*#__PURE__*/ P.createElement(oI, { values: [- [kI, { slots: {- [aI]: {},+ }, /*#__PURE__*/ P.createElement(hI, { values: [+ [PI, { slots: {+ [mI]: {},title: {...i,level: 2}} }],- [jI, { slots: {- [aI]: {},+ [II, { slots: {+ [mI]: {},description: a} }],- [EI, { slots: {- [aI]: {},+ [MI, { slots: {+ [mI]: {},close: { onPress: () => o?.close() }} }]] }, s.children));-}), hR = typeof document < "u" && window.visualViewport;-function pde() {- let e = ax(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {+}), bR = typeof document < "u" && window.visualViewport;+function Pde() {+ let e = sx(), t = (0, P.useRef)(null), [n, r] = (0, P.useState)(() => e ? {width: 0,height: 0- } : gR());+ } : xR());return (0, P.useEffect)(() => {let e = (e) => {r((t) => e.width === t.width && e.height === t.height ? t : e);}, n = () => {- hR && hR.scale > 1 || e(gR());+ bR && bR.scale > 1 || e(xR());}, i = (n) => {- hR && hR.scale > 1 || SS(G(n)) && (t.current = AD((t) => {+ bR && bR.scale > 1 || wS(G(n)) && (t.current = AD((t) => {t || e({width: document.documentElement.clientWidth,height: document.documentElement.clientHeight});}));};- return e(gR()), Gb() && qb() && window.addEventListener("blur", i, !0), hR ? hR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {- t.current?.(), Gb() && qb() && window.removeEventListener("blur", i, !0), hR ? hR.removeEventListener("resize", n) : window.removeEventListener("resize", n);+ return e(xR()), Yb() && Xb() && window.addEventListener("blur", i, !0), bR ? bR.addEventListener("resize", n) : window.addEventListener("resize", n), () => {+ t.current?.(), Yb() && Xb() && window.removeEventListener("blur", i, !0), bR ? bR.removeEventListener("resize", n) : window.removeEventListener("resize", n);};}, []), n;}-function gR() {+function xR() {return {- width: hR ? Math.min(hR.width * hR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,- height: hR ? hR.height * hR.scale : document.documentElement.clientHeight+ width: bR ? Math.min(bR.width * bR.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,+ height: bR ? bR.height * bR.scale : document.documentElement.clientHeight};}// node_modules/react-aria-components/dist/private/Modal.mjs-var mde = /*#__PURE__*/ (0, P.createContext)(null), _R = /*#__PURE__*/ (0, P.createContext)(null), hde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- if ((0, P.useContext)(_R)) return /*#__PURE__*/ P.createElement(yR, {+var Fde = /*#__PURE__*/ (0, P.createContext)(null), SR = /*#__PURE__*/ (0, P.createContext)(null), Ide = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ if ((0, P.useContext)(SR)) return /*#__PURE__*/ P.createElement(wR, {...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__*/ P.createElement(vR, {+ return /*#__PURE__*/ P.createElement(CR, {isDismissable: n,isKeyboardDismissDisabled: r,isOpen: i,@@ -38481,15 +38661,15 @@ var mde = /*#__PURE__*/ (0, P.createContext)(null), _R = /*#__PURE__*/ (0, P.creisExiting: l,UNSTABLE_portalContainer: u,shouldCloseOnInteractOutside: d- }, /*#__PURE__*/ P.createElement(yR, {+ }, /*#__PURE__*/ P.createElement(wR, {...f,modalRef: t}, s));});-function gde(e, t) {- [e, t] = lI(e, t, mde);- let n = (0, P.useContext)(pR), r = YL(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Jx(t), o = (0, P.useRef)(null), s = ZL(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = ZL(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = ax();- return !i.isOpen && !u || d ? null : /*#__PURE__*/ P.createElement(_de, {+function Lde(e, t) {+ [e, t] = vI(e, t, Fde);+ let n = (0, P.useContext)(vR), r = eR(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = Xx(t), o = (0, P.useRef)(null), s = nR(a, i.isOpen, e.onExit), c = (0, P.useRef)(null), l = nR(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = sx();+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ P.createElement(Rde, {...e,state: i,isExiting: u,@@ -38498,12 +38678,12 @@ function gde(e, t) {onExitRef: c});}-var vR = /*#__PURE__*/ (0, P.forwardRef)(gde);-function _de({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {- let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = XL(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = kae({+var CR = /*#__PURE__*/ (0, P.forwardRef)(Lde);+function Rde({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {+ let r = n.modalRef, { state: i } = n, [a, o] = (0, P.useState)(!1), s = tR(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = toe({...n,isEntering: c- }, i, r), d = (0, P.useContext)(fR), f = t ? vde(d, { isEntering: c }) : d, p = sI({+ }, i, r), d = (0, P.useContext)(_R), f = t ? zde(d, { isEntering: c }) : d, p = gI({...n,defaultClassName: "react-aria-ModalOverlay",values: {@@ -38511,9 +38691,9 @@ function _de({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisExiting: n.isExiting,state: i}- }), m = pde(), h, g;+ }), m = Pde(), h, g;if (typeof document < "u") {- let e = NC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;+ let e = HC(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;h = e.scrollWidth - t, g = e.scrollHeight - n;}let _ = {@@ -38523,18 +38703,18 @@ function _de({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n"--page-width": h === void 0 ? void 0 : h + "px","--page-height": g === void 0 ? void 0 : g + "px"};- return Nb(() => AD(() => o(!0)), []), /*#__PURE__*/ P.createElement(LT, {+ return zb(() => AD(() => o(!0)), []), /*#__PURE__*/ P.createElement(LT, {isExiting: n.isExiting,portalContainer: e- }, /*#__PURE__*/ P.createElement(mI.div, {- ...K(VS(n, { global: !0 }), u),+ }, /*#__PURE__*/ P.createElement(SI.div, {+ ...K(US(n, { global: !0 }), u),...p,style: _,ref: n.overlayRef,"data-entering": s || void 0,"data-exiting": n.isExiting || void 0- }, /*#__PURE__*/ P.createElement(oI, { values: [- [_R, {+ }, /*#__PURE__*/ P.createElement(hI, { values: [+ [SR, {modalProps: l,modalRef: r,isExiting: n.isExiting,@@ -38542,11 +38722,11 @@ function _de({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...nisOpen: a,isDismissable: n.isDismissable}],- [pR, i],- [fR, f]+ [vR, i],+ [_R, f]] }, p.children)));}-function vde(e, t) {+function zde(e, t) {if (e && "slots" in e && e.slots) {let n = {};for (let r in e.slots) n[r] = {@@ -38563,8 +38743,8 @@ function vde(e, t) {...t};}-function yR(e) {- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(_R), s = (0, P.useContext)(pR), c = Jx((0, P.useMemo)(() => zx(e.modalRef, n), [e.modalRef, n])), l = XL(c, o, e.onEnter), u = sI({+function wR(e) {+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, P.useContext)(SR), s = (0, P.useContext)(vR), c = Xx((0, P.useMemo)(() => Vx(e.modalRef, n), [e.modalRef, n])), l = tR(c, o, e.onEnter), u = gI({...e,defaultClassName: "react-aria-Modal",values: {@@ -38573,10 +38753,10 @@ function yR(e) {state: s}});- return Nb(() => {+ return zb(() => {i && (i.current = e.onExit);- }), /*#__PURE__*/ P.createElement(mI.div, {- ...K(VS(e, { global: !0 }), t),+ }), /*#__PURE__*/ P.createElement(SI.div, {+ ...K(US(e, { global: !0 }), t),...u,ref: c,"data-entering": l || void 0,@@ -38584,9 +38764,9 @@ function yR(e) {}, a && /*#__PURE__*/ P.createElement(CD, { onDismiss: s.close }), u.children);}// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs-var yde = Math.round(Math.random() * 1e10), bde = 0;-function xde(e) {- let t = (0, P.useMemo)(() => e.name || `radio-group-${yde}-${++bde}`, [e.name]), [n, r] = dw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = ew({+var Bde = Math.round(Math.random() * 1e10), Vde = 0;+function Hde(e) {+ let t = (0, P.useMemo)(() => e.name || `radio-group-${Bde}-${++Vde}`, [e.name]), [n, r] = dw(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, P.useState)(n), [a, o] = (0, P.useState)(null), s = nw({...e,value: n}), c = (t) => {@@ -38608,16 +38788,16 @@ function xde(e) {};}// node_modules/react-aria-components/dist/private/RadioGroup.mjs-var Sde = /*#__PURE__*/ (0, P.createContext)(null), Cde = /*#__PURE__*/ (0, P.createContext)(null), bR = /*#__PURE__*/ (0, P.createContext)(null), xR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = lI(e, t, Sde);- let { validationBehavior: n } = cI(NI) || {}, r = e.validationBehavior ?? n ?? "native", i = xde({+var Ude = /*#__PURE__*/ (0, P.createContext)(null), Wde = /*#__PURE__*/ (0, P.createContext)(null), TR = /*#__PURE__*/ (0, P.createContext)(null), ER = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, Ude);+ let { validationBehavior: n } = _I(RI) || {}, r = e.validationBehavior ?? n ?? "native", i = Hde({...e,validationBehavior: r- }), [a, o] = uI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Uae({+ }), [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = hoe({...e,label: o,validationBehavior: r- }, i), f = sI({+ }, i), f = gI({...e,values: {orientation: e.orientation || "vertical",@@ -38628,8 +38808,8 @@ var Sde = /*#__PURE__*/ (0, P.createContext)(null), Cde = /*#__PURE__*/ (0, P.crstate: i},defaultClassName: "react-aria-RadioGroup"- }), p = VS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(mI.div, {+ }), p = US(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(SI.div, {...K(p, f, s),ref: t,slot: e.slot || void 0,@@ -38638,39 +38818,39 @@ var Sde = /*#__PURE__*/ (0, P.createContext)(null), Cde = /*#__PURE__*/ (0, P.cr"data-disabled": i.isDisabled || void 0,"data-readonly": i.isReadOnly || void 0,"data-required": i.isRequired || void 0- }, /*#__PURE__*/ P.createElement(oI, { values: [- [bR, i],- [CI, {+ }, /*#__PURE__*/ P.createElement(hI, { values: [+ [TR, i],+ [AI, {...c,ref: a,elementType: "span"}],- [jI, { slots: {+ [II, { slots: {description: l,errorMessage: u} }],- [MI, d]- ] }, /*#__PURE__*/ P.createElement(jL, null, f.children)));-}), SR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [LI, d]+ ] }, /*#__PURE__*/ P.createElement(IL, null, f.children)));+}), DR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = lI(r, t, Cde);- let i = P.useContext(bR), a = Jx((0, P.useMemo)(() => zx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = Hae({- ...dI(e),+ [e, t] = vI(r, t, Wde);+ let i = P.useContext(TR), a = Xx((0, P.useMemo)(() => Vx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = moe({+ ...bI(e),children: typeof e.children == "function" || e.children}, i, a);- return /*#__PURE__*/ P.createElement(CR.Provider, { value: {+ return /*#__PURE__*/ P.createElement(OR.Provider, { value: {...o,inputRef: a,defaultClassName: "react-aria-Radio"- } }, /*#__PURE__*/ P.createElement(wde, {+ } }, /*#__PURE__*/ P.createElement(Gde, {...e,ref: t}));-}), CR = /*#__PURE__*/ (0, P.createContext)(null), wde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, P.useContext)(CR), l = P.useContext(bR), { isFocused: u, isFocusVisible: d, focusProps: f } = zT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = UT({+}), OR = /*#__PURE__*/ (0, P.createContext)(null), Gde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, P.useContext)(OR), l = P.useContext(TR), { isFocused: u, isFocusVisible: d, focusProps: f } = zT(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = UT({...e,isDisabled: p- }), g = sI({+ }), g = gI({...e,defaultClassName: s,values: {@@ -38684,8 +38864,8 @@ var Sde = /*#__PURE__*/ (0, P.createContext)(null), Cde = /*#__PURE__*/ (0, P.crisInvalid: l.isInvalid,isRequired: l.isRequired}- }), _ = VS(e, { global: !0 });- return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(mI.label, {+ }), _ = US(e, { global: !0 });+ return delete _.id, delete _.onClick, /*#__PURE__*/ P.createElement(SI.label, {...K(_, n, m, g),ref: t,"data-selected": i || void 0,@@ -38703,8 +38883,8 @@ var Sde = /*#__PURE__*/ (0, P.createContext)(null), Cde = /*#__PURE__*/ (0, P.cr})), g.children);});// node_modules/react-stately/dist/private/select/useSelectState.mjs-function Tde(e) {- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = YL(e), [i, a] = (0, P.useState)(null), o = (0, P.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [+function Kde(e) {+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = eR(e), [i, a] = (0, P.useState)(null), o = (0, P.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [e.defaultValue,e.defaultSelectedKey,t@@ -38720,12 +38900,12 @@ function Tde(e) {let e = [];Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);}- }, d = UL({+ }, d = JL({...e,selectionMode: t,disallowEmptySelection: t === "single",allowDuplicateSelectionEvents: !0,- selectedKeys: (0, P.useMemo)(() => Ede(l), [l]),+ selectedKeys: (0, P.useMemo)(() => qde(l), [l]),onSelectionChange: (e) => {if (e !== "all") {if (t === "single") {@@ -38735,7 +38915,7 @@ function Tde(e) {n && r.close(), m.commitValidation();}}- }), f = d.selectionManager.firstSelectedKey, p = (0, P.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = ew({+ }), f = d.selectionManager.firstSelectedKey, p = (0, P.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = nw({...e,value: Array.isArray(l) && l.length === 0 ? null : l}), [h, g] = (0, P.useState)(!1), [_] = (0, P.useState)(l);@@ -38762,15 +38942,15 @@ function Tde(e) {setFocused: g};}-function Ede(e) {+function qde(e) {if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];}// node_modules/react-aria-components/dist/private/Select.mjs-function Dde(e) {+function Jde(e) {return e && e.__esModule ? e.default : e;}-var wR = /*#__PURE__*/ (0, P.createContext)(null), TR = /*#__PURE__*/ (0, P.createContext)(null), Ode = /*#__PURE__*/ $x(function(e, t) {- [e, t] = lI(e, t, wR);+var kR = /*#__PURE__*/ (0, P.createContext)(null), AR = /*#__PURE__*/ (0, P.createContext)(null), Yde = /*#__PURE__*/ tS(function(e, t) {+ [e, t] = vI(e, t, kR);let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, P.useMemo)(() => typeof n == "function" ? n({isOpen: !1,isDisabled: r,@@ -38785,24 +38965,24 @@ var wR = /*#__PURE__*/ (0, P.createContext)(null), TR = /*#__PURE__*/ (0, P.creai,a]);- return /*#__PURE__*/ P.createElement(iS, { content: o }, (n) => /*#__PURE__*/ P.createElement(Ade, {+ return /*#__PURE__*/ P.createElement(oS, { content: o }, (n) => /*#__PURE__*/ P.createElement(Zde, {props: e,collection: n,selectRef: t}));-}), kde = [- CI,- EI,- jI+}), Xde = [+ AI,+ MI,+ II];-function Ade({ props: e, selectRef: t, collection: n }) {- let { validationBehavior: r } = cI(NI) || {}, i = e.validationBehavior ?? r ?? "native", a = Tde({+function Zde({ props: e, selectRef: t, collection: n }) {+ let { validationBehavior: r } = _I(RI) || {}, i = e.validationBehavior ?? r ?? "native", a = Kde({...e,collection: n,children: void 0,validationBehavior: i- }), { isFocusVisible: o, focusProps: s } = zT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = uI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Wae({- ...dI(e),+ }), { isFocusVisible: o, focusProps: s } = zT({ within: !0 }), c = (0, P.useRef)(null), [l, u] = yI(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = goe({+ ...bI(e),label: u,validationBehavior: i}, a, c), y = (0, P.useMemo)(() => ({@@ -38819,48 +38999,48 @@ function Ade({ props: e, selectRef: t, collection: n }) {e.isDisabled,v.isInvalid,e.isRequired- ]), b = sI({+ ]), b = gI({...e,values: y,defaultClassName: "react-aria-Select"- }), x = VS(e, { global: !0 });+ }), x = US(e, { global: !0 });delete x.id;let S = (0, P.useRef)(null);- return /*#__PURE__*/ P.createElement(oI, { values: [- [wR, e],- [TR, a],- [ER, p],- [CI, {+ return /*#__PURE__*/ P.createElement(hI, { values: [+ [kR, e],+ [AR, a],+ [jR, p],+ [AI, {...d,ref: l,elementType: "span"}],- [EI, {+ [MI, {...f,ref: c,isPressed: a.isOpen,autoFocus: e.autoFocus}],- [pR, a],- [$L, {+ [vR, a],+ [iR, {trigger: "Select",triggerRef: c,scrollRef: S,placement: "bottom start","aria-labelledby": m["aria-labelledby"],- clearContexts: kde+ clearContexts: Xde}],- [KL, {+ [ZL, {...m,ref: S}],- [qL, a],- [jI, { slots: {+ [QL, a],+ [II, { slots: {description: h,errorMessage: g} }],- [MI, v]- ] }, /*#__PURE__*/ P.createElement(mI.div, {+ [LI, v]+ ] }, /*#__PURE__*/ P.createElement(SI.div, {...K(x, b, s),ref: t,slot: e.slot || void 0,@@ -38870,14 +39050,14 @@ function Ade({ props: e, selectRef: t, collection: n }) {"data-disabled": e.isDisabled || void 0,"data-invalid": v.isInvalid || void 0,"data-required": e.isRequired || void 0- }, b.children, /*#__PURE__*/ P.createElement(Kae, {+ }, b.children, /*#__PURE__*/ P.createElement(voe, {..._,autoComplete: e.autoComplete})));}-for (var ER = /*#__PURE__*/ (0, P.createContext)(null), jde = /*#__PURE__*/ $x(function(e, t) {- [e, t] = lI(e, t, ER);- let n = (0, P.useContext)(TR), { placeholder: r } = cI(wR), i = n.selectedItems.map((e) => {+for (var jR = /*#__PURE__*/ (0, P.createContext)(null), Qde = /*#__PURE__*/ tS(function(e, t) {+ [e, t] = vI(e, t, jR);+ let n = (0, P.useContext)(AR), { placeholder: r } = _I(kR), i = n.selectedItems.map((e) => {let t = e.props?.children;return typeof t == "function" && (t = t({isHovered: !1,@@ -38889,7 +39069,7 @@ for (var ER = /*#__PURE__*/ (0, P.createContext)(null), jde = /*#__PURE__*/ $x(fselectionMode: "single",selectionBehavior: "toggle"})), t;- }), a = tae(), o = (0, P.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, P.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [+ }), a = Dae(), o = (0, P.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, P.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [s,a,o@@ -38904,7 +39084,7 @@ for (var ER = /*#__PURE__*/ (0, P.createContext)(null), jde = /*#__PURE__*/ $x(fa,o,i- ]), u = zS(Dde(TL), "react-aria-components"), d = sI({+ ]), u = VS(Jde(AL), "react-aria-components"), d = gI({...e,defaultChildren: l ?? r ?? u.format("selectPlaceholder"),defaultClassName: "react-aria-SelectValue",@@ -38915,33 +39095,33 @@ for (var ER = /*#__PURE__*/ (0, P.createContext)(null), jde = /*#__PURE__*/ $x(fisPlaceholder: n.selectedItems.length === 0,state: n}- }), f = VS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(mI.span, {+ }), f = US(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(SI.span, {ref: t,...f,...d,"data-placeholder": n.selectedItems.length === 0 || void 0- }, /*#__PURE__*/ P.createElement(jI.Provider, { value: void 0 }, d.children));-}), Mde = /*#__PURE__*/ (0, P.createContext)(null), DR = /*#__PURE__*/ (0, P.createContext)(null), Nde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ }, /*#__PURE__*/ P.createElement(II.Provider, { value: void 0 }, d.children));+}), $de = /*#__PURE__*/ (0, P.createContext)(null), MR = /*#__PURE__*/ (0, P.createContext)(null), efe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {let { inputRef: n = null, ...r } = e;- [e, t] = lI(r, t, Mde);- let i = Jx((0, P.useMemo)(() => zx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = fw(e), o = Jae({- ...dI(e),+ [e, t] = vI(r, t, $de);+ let i = Xx((0, P.useMemo)(() => Vx(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = fw(e), o = boe({+ ...bI(e),children: typeof e.children == "function" || e.children}, a, i);- return /*#__PURE__*/ P.createElement(oI, { values: [[DR, a], [OR, {+ return /*#__PURE__*/ P.createElement(hI, { values: [[MR, a], [NR, {...o,inputRef: i,defaultClassName: "react-aria-Switch"- }]] }, /*#__PURE__*/ P.createElement(Pde, {+ }]] }, /*#__PURE__*/ P.createElement(tfe, {...e,ref: t}));-}), OR = /*#__PURE__*/ (0, P.createContext)(null), Pde = /*#__PURE__*/ (0, P.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, P.useContext)(OR), { isFocused: f, isFocusVisible: p, focusProps: m } = zT(), h = a || o, g = (0, P.useContext)(DR), { hoverProps: _, isHovered: v } = UT({+}), NR = /*#__PURE__*/ (0, P.createContext)(null), tfe = /*#__PURE__*/ (0, P.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, P.useContext)(NR), { isFocused: f, isFocusVisible: p, focusProps: m } = zT(), h = a || o, g = (0, P.useContext)(MR), { hoverProps: _, isHovered: v } = UT({...e,isDisabled: h- }), y = sI({+ }), y = gI({...e,defaultClassName: u,values: {@@ -38956,8 +39136,8 @@ for (var ER = /*#__PURE__*/ (0, P.createContext)(null), jde = /*#__PURE__*/ $x(fisRequired: d || !1,state: g}- }), b = VS(e, { global: !0 });- return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(mI.label, {+ }), b = US(e, { global: !0 });+ return delete b.id, delete b.onClick, /*#__PURE__*/ P.createElement(SI.label, {...K(b, n, _, y),ref: t,slot: e.slot || void 0,@@ -38974,7 +39154,7 @@ for (var ER = /*#__PURE__*/ (0, P.createContext)(null), jde = /*#__PURE__*/ $x(f...K(r, m),ref: l})), y.children);-}), kR = 10, AR = 5, jR = class {+}), PR = 10, FR = 5, IR = class {setup(e, t, n) {this.delegate = e, this.state = t, this.direction = n;}@@ -38984,7 +39164,7 @@ for (var ER = /*#__PURE__*/ (0, P.createContext)(null), jde = /*#__PURE__*/ $x(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) > AR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > kR && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {+ if (Math.abs(a) > FR && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > PR && (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);@@ -39063,11 +39243,11 @@ for (var ER = /*#__PURE__*/ (0, P.createContext)(null), jde = /*#__PURE__*/ $x(flastSwitchX: n});let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);- if (Math.abs(r - c.lastSwitchY) > AR && i) {+ if (Math.abs(r - c.lastSwitchY) > FR && 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 > kR && a) {+ if (l > PR && 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;}@@ -39082,7 +39262,7 @@ for (var ER = /*#__PURE__*/ (0, P.createContext)(null), jde = /*#__PURE__*/ $x(fboundaryContext: null};}-}, Fde = class {+}, nfe = class {constructor(e) {this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];let t = (r) => {@@ -39152,8 +39332,8 @@ for (var ER = /*#__PURE__*/ (0, P.createContext)(null), jde = /*#__PURE__*/ $x(fgetChildren(e) {return this.keyMap.get(e)?.childNodes || [];}-}, MR = "row-header-column-" + Math.random().toString(36).slice(2), NR = "row-header-column-" + Math.random().toString(36).slice(2); MR === NR;) NR = "row-header-column-" + Math.random().toString(36).slice(2);-function PR(e, t) {+}, LR = "row-header-column-" + Math.random().toString(36).slice(2), RR = "row-header-column-" + Math.random().toString(36).slice(2); LR === RR;) RR = "row-header-column-" + Math.random().toString(36).slice(2);+function zR(e, t) {if (t.length === 0) return [];let n = [], r = /* @__PURE__ */ new Map();for (let i of t) {@@ -39237,13 +39417,13 @@ function PR(e, t) {textValue: ""}));}-var Ide = class extends Fde {+var rfe = class extends nfe {constructor(e, t, n) {let r = /* @__PURE__ */ new Set(), i = null, a = [];if (n?.showSelectionCheckboxes) {let e = {type: "column",- key: MR,+ key: LR,value: null,textValue: "",level: 0,@@ -39258,7 +39438,7 @@ var Ide = class extends Fde {if (n?.showDragButtons) {let e = {type: "column",- key: NR,+ key: RR,value: null,textValue: "",level: 0,@@ -39285,7 +39465,7 @@ var Ide = class extends Fde {for (let t of e.childNodes) c(t);};for (let t of e) c(t);- let l = PR(s, a);+ let l = zR(s, a);if (l.forEach((e, t) => o.splice(t, 0, e)), super({columnCount: a.length,items: o,@@ -39345,15 +39525,15 @@ var Ide = class extends Fde {}};// node_modules/react-stately/dist/private/table/TableUtils.mjs-function Lde(e) {+function ife(e) {return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);}-function Rde(e) {+function afe(e) {if (!e || typeof e == "number") return 1;let t = e.match(/^(.+)(?=fr$)/);return t ? parseFloat(t[0]) : 1;}-function FR(e, t) {+function BR(e, t) {if (typeof e == "string") {let n = e.match(/^(\d+)(?=%$)/);if (!n) throw Error("Only percentages or numbers are supported for static column widths");@@ -39361,19 +39541,19 @@ function FR(e, t) {}return e;}-function IR(e, t) {- return e == null ? 2 ** 53 - 1 : FR(e, t);+function VR(e, t) {+ return e == null ? 2 ** 53 - 1 : BR(e, t);}-function LR(e, t) {- return e == null ? 0 : FR(e, t);+function HR(e, t) {+ return e == null ? 0 : BR(e, t);}-function zde(e, t, n, r, i) {+function ofe(e, t, n, r, i) {let a = e, o = Math.floor(e), s = e - o > 0;e = o;let c = !1, l = t.map((t, a) => {let o = n.get(t.key) == null ? t.width ?? t.defaultWidth ?? r?.(a) ?? "1fr" : n.get(t.key) ?? "1fr", s = !1, l = 0, u = 0, d = 0;- Lde(o) ? (l = FR(o, e), s = !0) : (u = Rde(o), u <= 0 && (s = !0));- let f = LR(t.minWidth ?? i?.(a) ?? 0, e), p = IR(t.maxWidth, e), m = Math.max(f, Math.min(l, p));+ ife(o) ? (l = BR(o, e), s = !0) : (u = afe(o), u <= 0 && (s = !0));+ let f = HR(t.minWidth ?? i?.(a) ?? 0, e), p = VR(t.maxWidth, e), m = Math.max(f, Math.min(l, p));return s ? d = m : l > m && (s = !0, d = m), s || (c = !0), {frozen: s,baseSize: l,@@ -39407,14 +39587,14 @@ function zde(e, t, n, r, i) {i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);});}- let u = Bde(l);+ let u = sfe(l);if (s && u.length > 0) {let e = a.toString().split(".")[1], t = u[u.length - 1].toString();u[u.length - 1] = Number(t + "." + e);}return u;}-function Bde(e) {+function sfe(e) {let t = 0, n = 0, r = [];return e.forEach(function(e) {let i = e.targetMainSize, a = Math.round(i + t) - n;@@ -39422,7 +39602,7 @@ function Bde(e) {}), r;}// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs-var Vde = class {+var cfe = class {constructor(e) {this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), this.getDefaultWidth = e?.getDefaultWidth ?? (() => "1fr"), this.getDefaultMinWidth = e?.getDefaultMinWidth ?? (() => 75);}@@ -39451,18 +39631,18 @@ var Vde = class {}), o;}buildColumnWidths(e, t, n) {- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), zde(e, t.columns.map((e) => ({+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), ofe(e, t.columns.map((e) => ({...e.props,key: e.key})), n, (e) => this.getDefaultWidth(t.columns[e]), (e) => this.getDefaultMinWidth(t.columns[e])).forEach((n, r) => {let i = t.columns[r].key, a = t.columns[r];- this.columnWidths.set(i, n), this.columnMinWidths.set(i, LR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, IR(a.props.maxWidth, e));+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, HR(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, VR(a.props.maxWidth, e));}), this.columnWidths;}};// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs-function Hde(e, t) {- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, P.useState)(null), s = (0, P.useMemo)(() => new Vde({+function lfe(e, t) {+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, P.useState)(null), s = (0, P.useMemo)(() => new cfe({getDefaultWidth: n,getDefaultMinWidth: r}), [n, r]), [c, l] = (0, P.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, P.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, P.useState)(t.collection.columns);@@ -39513,8 +39693,8 @@ function Hde(e, t) {]);}// node_modules/react-stately/dist/private/grid/useGridState.mjs-function Ude(e) {- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || LL(e), i = (0, P.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;+function ufe(e) {+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || HL(e), i = (0, P.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);@@ -39525,7 +39705,7 @@ function Ude(e) {}a(e, r);};- let o = (0, P.useMemo)(() => new zL(t, r), [t, r]), s = (0, P.useRef)(null);+ let o = (0, P.useMemo)(() => new WL(t, r), [t, r]), s = (0, P.useRef)(null);return (0, P.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;@@ -39563,11 +39743,11 @@ function Ude(e) {};}// node_modules/react-stately/dist/private/table/useTableState.mjs-var Wde = {+var dfe = {ascending: "descending",descending: "ascending"};-function Gde(e) {+function ffe(e) {let [t, n] = (0, P.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, P.useMemo)(() => ({showSelectionCheckboxes: i && r !== "none",showDragButtons: a,@@ -39578,7 +39758,7 @@ function Gde(e) {i,r,a- ]), c = HL(e, (0, P.useCallback)((e) => new Ide(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Ude({+ ]), c = qL(e, (0, P.useCallback)((e) => new rfe(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = ufe({...e,collection: c,disabledBehavior: e.disabledBehavior || "selection"@@ -39594,7 +39774,7 @@ function Gde(e) {sort(t, n) {e.onSortChange?.({column: t,- direction: n ?? (e.sortDescriptor?.column === t ? Wde[e.sortDescriptor.direction] : "ascending")+ direction: n ?? (e.sortDescriptor?.column === t ? dfe[e.sortDescriptor.direction] : "ascending")});},expandedKeys: d,@@ -39607,7 +39787,7 @@ function Gde(e) {treeColumn: o};}-function Kde(e, t) {+function pfe(e, t) {let n = (0, P.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);return {...e,@@ -39616,10 +39796,10 @@ function Kde(e, t) {};}// node_modules/react-aria-components/dist/private/Table.mjs-function qde(e) {+function mfe(e) {return e && e.__esModule ? e.default : e;}-var Jde = class extends sb {+var hfe = class extends _b {withExpandedKeys(e) {let t = this.clone();return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;@@ -39634,7 +39814,7 @@ var Jde = class extends sb {}get body() {for (let e of this) if (e.type === "tablebody") return e;- return new KR(-2);+ return new ZR(-2);}commit(e, t, n = !1) {this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];@@ -39660,7 +39840,7 @@ var Jde = class extends sb {for (let t of this.getChildren(e.key)) n(t);};for (let e of this.getChildren(this.head.key)) n(e);- if (this.headerRows = PR(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 = zR(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;@@ -39741,13 +39921,13 @@ var Jde = class extends sb {return r.join(" ");}constructor(...e) {- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new HR(-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 qR(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();}-}, RR = /*#__PURE__*/ (0, P.createContext)(null), Yde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let n = Jx(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);- Nb(() => {+}, UR = /*#__PURE__*/ (0, P.createContext)(null), gfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let n = Xx(t), r = (0, P.useRef)(null), i = (0, P.useRef)(null), [a, o] = (0, P.useState)(0);+ zb(() => {let e = r.current;- for (; e && e !== n.current && !NC(e);) e = e.parentElement;+ for (; e && e !== n.current && !HC(e);) e = e.parentElement;i.current = e;}, [n]), VE({ref: i,@@ -39755,14 +39935,14 @@ var Jde = class extends sb {onResize() {o(i.current?.clientWidth ?? 0);}- }), Nb(() => {+ }), zb(() => {o(i.current?.clientWidth ?? 0);}, []);let s = (0, P.useMemo)(() => ({tableRef: r,scrollRef: i,tableWidth: a,- useTableColumnResizeState: Hde,+ useTableColumnResizeState: lfe,onResizeStart: e.onResizeStart,onResize: e.onResize,onResizeEnd: e.onResizeEnd@@ -39773,17 +39953,17 @@ var Jde = class extends sb {e.onResize,e.onResizeEnd]);- return /*#__PURE__*/ P.createElement(mI.div, {+ return /*#__PURE__*/ P.createElement(SI.div, {render: e.render,- ...VS(e, { global: !0 }),+ ...US(e, { global: !0 }),ref: n,className: e.className || "react-aria-ResizableTableContainer",style: e.style,onScroll: e.onScroll- }, /*#__PURE__*/ P.createElement(RR.Provider, { value: s }, e.children));-}), Xde = /*#__PURE__*/ (0, P.createContext)(null), zR = /*#__PURE__*/ (0, P.createContext)(null), BR = /*#__PURE__*/ (0, P.createContext)(null), Zde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = lI(e, t, Xde);- let n = LL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, P.useMemo)(() => ({+ }, /*#__PURE__*/ P.createElement(UR.Provider, { value: s }, e.children));+}), _fe = /*#__PURE__*/ (0, P.createContext)(null), WR = /*#__PURE__*/ (0, P.createContext)(null), GR = /*#__PURE__*/ (0, P.createContext)(null), vfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, _fe);+ let n = HL(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, P.useMemo)(() => ({selectionBehavior: i === "none" ? null : r,selectionMode: i,disallowEmptySelection: a,@@ -39793,26 +39973,26 @@ var Jde = class extends sb {i,a,o- ]), c = /*#__PURE__*/ P.createElement(efe.Provider, { value: s }, /*#__PURE__*/ P.createElement(dS, e));- return /*#__PURE__*/ P.createElement(iS, {+ ]), c = /*#__PURE__*/ P.createElement(xfe.Provider, { value: s }, /*#__PURE__*/ P.createElement(pS, e));+ return /*#__PURE__*/ P.createElement(oS, {content: c,- createCollection: () => new Jde()- }, (r) => /*#__PURE__*/ P.createElement($de, {+ createCollection: () => new hfe()+ }, (r) => /*#__PURE__*/ P.createElement(bfe, {props: e,forwardedRef: t,selectionState: n,collection: r}));-}), Qde = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(xI);- return n ? /*#__PURE__*/ P.createElement(mI.div, {+}), yfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(OI);+ return n ? /*#__PURE__*/ P.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(mI.table, {+ }) : /*#__PURE__*/ P.createElement(SI.table, {...e,ref: t});-}), VR = {+}), KR = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -39822,26 +40002,26 @@ var Jde = class extends sb {rtl: "ArrowRight"}};-function $de({ props: e, forwardedRef: t, selectionState: n, collection: r }) {- [e, t] = lI(e, t, hI);- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, P.useContext)(RR);- t = Jx((0, P.useMemo)(() => zx(t, c?.tableRef), [t, c?.tableRef]));+function bfe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {+ [e, t] = vI(e, t, CI);+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, P.useContext)(UR);+ t = Xx((0, P.useMemo)(() => Vx(t, c?.tableRef), [t, c?.tableRef]));let [l, u] = dw(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);r = (0, P.useMemo)(() => r.withExpandedKeys(l), [r, l]);- let d = Gde({+ let d = ffe({...s,collection: r,children: void 0,UNSAFE_selectionState: n,expandedKeys: l,onExpandedChange: u- }), f = Kde(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(xI), { dragAndDropHooks: _ } = e, { gridProps: v } = $ae({+ }), f = pfe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, P.useContext)(OI), { dragAndDropHooks: _ } = e, { gridProps: v } = Toe({...s,layoutDelegate: m,isVirtualized: p}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;(0, P.useRef)(b), (0, P.useRef)(x), (0, P.useEffect)(() => {}, [b, x]);- let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = NS(), [k] = (0, P.useState)(() => new jR());+ let S, C, w, T = !1, E = null, D = (0, P.useRef)(null), { direction: O } = FS(), [k] = (0, P.useState)(() => new IR());if (b && _) {S = _.useDraggableCollectionState({collection: f.collection,@@ -39876,12 +40056,12 @@ function $de({ 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 === VR.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === VR.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);+ (e.key === KR.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === KR.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 } = zT(), ee = sI({+ let { focusProps: A, isFocused: j, isFocusVisible: M } = zT(), ee = gI({...e,children: void 0,defaultClassName: "react-aria-Table",@@ -39897,19 +40077,19 @@ function $de({ props: e, forwardedRef: t, selectionState: n, collection: r }) {tableLayout: "fixed",width: "min-content"}));- let re = VS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(oI, { values: [- [zR, f],- [BR, N],- [EL, {+ let re = US(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(hI, { values: [+ [WR, f],+ [GR, N],+ [jL, {dragAndDropHooks: _,dragState: S,dropState: C}],- [DL, { render: ufe }],- [hI, null],- [gI, null]- ] }, /*#__PURE__*/ P.createElement(dC, null, /*#__PURE__*/ P.createElement(Qde, {+ [ML, { render: jfe }],+ [CI, null],+ [wI, null]+ ] }, /*#__PURE__*/ P.createElement(vC, null, /*#__PURE__*/ P.createElement(yfe, {...K(re, ee, v, A, w?.collectionProps),style: ne,ref: t,@@ -39919,31 +40099,31 @@ function $de({ 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__*/ P.createElement(jL, null, /*#__PURE__*/ P.createElement(g, {+ }, /*#__PURE__*/ P.createElement(IL, null, /*#__PURE__*/ P.createElement(g, {collection: f.collection,scrollRef: c?.scrollRef ?? t,- persistedKeys: kL(y, _, C)+ persistedKeys: PL(y, _, C)})))), E);}-var efe = /*#__PURE__*/ (0, P.createContext)(null), HR = class extends rb {+var xfe = /*#__PURE__*/ (0, P.createContext)(null), qR = class extends fb {static {this.type = "tableheader";}-}, tfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(xI);- return n ? /*#__PURE__*/ P.createElement(mI.div, {+}, Sfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(OI);+ return n ? /*#__PURE__*/ P.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(mI.thead, {+ }) : /*#__PURE__*/ P.createElement(SI.thead, {...e,ref: t});-}), UR = /*#__PURE__*/ cS(HR, (e, t) => {- let n = (0, P.useContext)(zR).collection, r = db({+}), JR = /*#__PURE__*/ uS(qR, (e, t) => {+ let n = (0, P.useContext)(WR).collection, r = xb({items: n.headerRows,children: (0, P.useCallback)((e) => {switch (e.type) {- case "headerrow": return /*#__PURE__*/ P.createElement(rfe, { item: e });+ case "headerrow": return /*#__PURE__*/ P.createElement(wfe, { item: e });default: throw Error("Unsupported node type in TableHeader: " + e.type);}}, [])@@ -39951,23 +40131,23 @@ var efe = /*#__PURE__*/ (0, P.createContext)(null), HR = class extends rb {onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), s = sI({+ }), s = gI({...e,children: void 0,defaultClassName: "react-aria-TableHeader",values: { isHovered: o }});- return /*#__PURE__*/ P.createElement(tfe, {- ...K(VS(e, { global: !0 }), i, a),+ return /*#__PURE__*/ P.createElement(Sfe, {+ ...K(US(e, { global: !0 }), i, a),...s,ref: t,"data-hovered": o || void 0}, r);-}, (e) => /*#__PURE__*/ P.createElement(dS, {+}, (e) => /*#__PURE__*/ P.createElement(pS, {dependencies: e.dependencies,items: e.columns-}, e.children)), nfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(xI);+}, e.children)), Cfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(OI);return n ? /*#__PURE__*/ P.createElement("div", {...e,ref: t@@ -39976,41 +40156,41 @@ var efe = /*#__PURE__*/ (0, P.createContext)(null), HR = class extends rb {ref: t});});-function rfe({ item: e }) {- let t = (0, P.useRef)(null), n = (0, P.useContext)(zR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(xI), { rowProps: a } = aoe({+function wfe({ item: e }) {+ let t = (0, P.useRef)(null), n = (0, P.useContext)(WR), { isVirtualized: r, CollectionBranch: i } = (0, P.useContext)(OI), { rowProps: a } = joe({node: e,isVirtualized: r- }, n, t), { checkboxProps: o } = foe(n);- return /*#__PURE__*/ P.createElement(nfe, {+ }, n, t), { checkboxProps: o } = Roe(n);+ return /*#__PURE__*/ P.createElement(Cfe, {...a,ref: t- }, /*#__PURE__*/ P.createElement(oI, { values: [[PI, { slots: { selection: o } }], [FI, { slots: { selection: o } }]] }, /*#__PURE__*/ P.createElement(i, {+ }, /*#__PURE__*/ P.createElement(hI, { values: [[zI, { slots: { selection: o } }], [BI, { slots: { selection: o } }]] }, /*#__PURE__*/ P.createElement(i, {collection: n.collection,parent: e})));}-var ife = class extends rb {+var Tfe = class extends fb {static {this.type = "column";}-}, afe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(xI);- return n ? /*#__PURE__*/ P.createElement(mI.div, {+}, Efe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(OI);+ return n ? /*#__PURE__*/ P.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(mI.th, {+ }) : /*#__PURE__*/ P.createElement(SI.th, {...e,ref: t});-}), WR = /*#__PURE__*/ sS(ife, (e, t, n) => {- let r = Jx(t), i = (0, P.useContext)(zR), { isVirtualized: a } = (0, P.useContext)(xI), { columnHeaderProps: o, isPressed: s } = noe({+}), YR = /*#__PURE__*/ lS(Tfe, (e, t, n) => {+ let r = Xx(t), i = (0, P.useContext)(WR), { isVirtualized: a } = (0, P.useContext)(OI), { columnHeaderProps: o, isPressed: s } = Ooe({node: n,isVirtualized: a,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = zT(), d = (0, P.useContext)(BR), f = !1;+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = zT(), d = (0, P.useContext)(GR), f = !1;d && (f = d.resizingColumn === n.key);- let { hoverProps: p, isHovered: m } = UT({ isDisabled: !e.allowsSorting }), h = sI({+ let { hoverProps: p, isHovered: m } = UT({ isDisabled: !e.allowsSorting }), h = gI({...e,id: void 0,children: n.rendered,@@ -40036,8 +40216,8 @@ var ife = class extends rb {...g,width: d.getColumnWidth(n.key)});- let _ = VS(e, { global: !0 });- return delete _.id, /*#__PURE__*/ P.createElement(afe, {+ let _ = US(e, { global: !0 });+ return delete _.id, /*#__PURE__*/ P.createElement(Efe, {...K(_, o, u, p),...h,style: g,@@ -40049,29 +40229,29 @@ var ife = class extends rb {"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__*/ P.createElement(oI, { values: [[GR, {+ }, /*#__PURE__*/ P.createElement(hI, { values: [[XR, {column: n,triggerRef: r- }], [xI, vI]] }, h.children));-}), GR = /*#__PURE__*/ (0, P.createContext)(null), ofe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let n = (0, P.useContext)(BR);+ }], [OI, EI]] }, h.children));+}), XR = /*#__PURE__*/ (0, P.createContext)(null), Dfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let n = (0, P.useContext)(GR);if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");- let r = zS(qde(TL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(RR), { column: s, triggerRef: c } = (0, P.useContext)(GR), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = ioe({+ let r = VS(mfe(AL), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, P.useContext)(UR), { column: s, triggerRef: c } = (0, P.useContext)(XR), l = (0, P.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Aoe({column: s,"aria-label": e["aria-label"] || r.format("tableResizer"),onResizeStart: i,onResize: a,onResizeEnd: o,triggerRef: c- }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = zT(), { hoverProps: _, isHovered: v } = UT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = NS(), S = "both";+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = zT(), { hoverProps: _, isHovered: v } = UT(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = FS(), S = "both";S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";- let C = Jx(t), [w, T] = (0, P.useState)("");+ let C = Xx(t), [w, T] = (0, P.useState)("");(0, P.useEffect)(() => {if (!C.current) return;let e = window.getComputedStyle(C.current);T(e.cursor);}, [C, S]);- let E = sI({+ let E = gI({...e,defaultClassName: "react-aria-ColumnResizer",values: {@@ -40081,8 +40261,8 @@ var ife = class extends rb {isHovered: v,resizableDirection: S}- }), D = VS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(mI.div, {+ }), D = US(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(SI.div, {ref: C,role: "presentation",...K(D, E, u, _),@@ -40105,24 +40285,24 @@ var ife = class extends rb {},"data-testid": "cursor-overlay"}), document.body));-}), KR = class extends ib {+}), ZR = class extends pb {static {this.type = "tablebody";}-}, sfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(xI);- return n ? /*#__PURE__*/ P.createElement(mI.div, {+}, Ofe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(OI);+ return n ? /*#__PURE__*/ P.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(mI.tbody, {+ }) : /*#__PURE__*/ P.createElement(SI.tbody, {...e,ref: t});-}), qR = /*#__PURE__*/ cS(KR, (e, t, n) => {- let r = (0, P.useContext)(zR), { isVirtualized: i } = (0, P.useContext)(xI), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(xI), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(EL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {+}), QR = /*#__PURE__*/ uS(ZR, (e, t, n) => {+ let r = (0, P.useContext)(WR), { isVirtualized: i } = (0, P.useContext)(OI), a = r.collection, { CollectionBranch: o } = (0, P.useContext)(OI), { dragAndDropHooks: s, dropState: c } = (0, P.useContext)(jL), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {isDropTarget: u,isEmpty: d- }, p = sI({+ }, p = gI({...e,id: void 0,children: void 0,@@ -40131,33 +40311,33 @@ var ife = class extends rb {}), 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__*/ P.createElement(YR, {+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ P.createElement(ez, {role: "row",...t,style: r- }, /*#__PURE__*/ P.createElement(ZR, {+ }, /*#__PURE__*/ P.createElement(nz, {role: "rowheader",...n,style: r}, e.renderEmptyState(f)));}- let { rowGroupProps: g } = KO(), _ = VS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(sfe, {+ let { rowGroupProps: g } = KO(), _ = US(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(Ofe, {...K(_, p, g),ref: t,"data-empty": d || void 0- }, l && /*#__PURE__*/ P.createElement(hfe, null), /*#__PURE__*/ P.createElement(o, {+ }, l && /*#__PURE__*/ P.createElement(Ife, null), /*#__PURE__*/ P.createElement(o, {collection: a,parent: n,- renderDropIndicator: OL(s, c)+ renderDropIndicator: NL(s, c)}), m);});-(class extends ib {+(class extends pb {static {this.type = "tablefooter";}});-var JR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), cfe = class extends rb {+var $R = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), kfe = class extends fb {static {this.type = "item";}@@ -40169,17 +40349,17 @@ var JR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), cf}return null;}-}, YR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(xI);- return n ? /*#__PURE__*/ P.createElement(mI.div, {+}, ez = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(OI);+ return n ? /*#__PURE__*/ P.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(mI.tr, {+ }) : /*#__PURE__*/ P.createElement(SI.tr, {...e,ref: t});-}), XR = /*#__PURE__*/ cS(cfe, (e, t, n) => {- let r = Jx(t), i = (0, P.useContext)(zR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(EL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(xI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = coe({+}), tz = /*#__PURE__*/ uS(kfe, (e, t, n) => {+ let r = Xx(t), i = (0, P.useContext)(WR), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, P.useContext)(jL), { isVirtualized: c, CollectionBranch: l } = (0, P.useContext)(OI), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Poe({node: n,shouldSelectOnPressUp: !!o,isVirtualized: c@@ -40188,7 +40368,7 @@ var JR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), cfonHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { checkboxProps: x } = doe({ key: n.key }, i), S;+ }), { checkboxProps: x } = Loe({ key: n.key }, i), S;o && a && (S = a.useDraggableItem({key: n.key,hasDragButton: !0@@ -40203,7 +40383,7 @@ var JR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), cf(0, P.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 = sI({+ 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 = gI({...k,id: void 0,defaultClassName: "react-aria-Row",@@ -40224,11 +40404,11 @@ var JR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), cfisExpanded: j,level: n.level + 1}- }), ee = VS(e, { global: !0 });- return delete ee.id, delete ee.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, C && !C.isHidden && /*#__PURE__*/ P.createElement(YR, {+ }), ee = US(e, { global: !0 });+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, C && !C.isHidden && /*#__PURE__*/ P.createElement(ez, {role: "row",style: { height: 0 }- }, /*#__PURE__*/ P.createElement(ZR, {+ }, /*#__PURE__*/ P.createElement(nz, {role: "gridcell",colSpan: i.collection.columnCount,style: { padding: 0 }@@ -40237,7 +40417,7 @@ var JR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), cf...T,...C.dropIndicatorProps,ref: w- }))), /*#__PURE__*/ P.createElement(YR, {+ }))), /*#__PURE__*/ P.createElement(ez, {...K(ee, M, d, g, y, S?.dragProps, v),ref: r,"data-disabled": p.isDisabled || void 0,@@ -40253,17 +40433,17 @@ var JR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), cf"data-expanded": j || void 0,"data-has-child-items": A || void 0,"data-level": n.level + 1- }, /*#__PURE__*/ P.createElement(oI, { values: [- [PI, { slots: {- [aI]: {},+ }, /*#__PURE__*/ P.createElement(hI, { values: [+ [zI, { slots: {+ [mI]: {},selection: x} }],- [FI, { slots: {- [aI]: {},+ [BI, { slots: {+ [mI]: {},selection: x} }],- [EI, { slots: {- [aI]: {},+ [MI, { slots: {+ [mI]: {},chevron: f,drag: {...S?.dragButtonProps,@@ -40271,8 +40451,8 @@ var JR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), cfstyle: { pointerEvents: "none" }}} }],- [ML, { isSelected: p.isSelected }],- [JR, { isFocusVisibleWithinRow: _ }]+ [LL, { isSelected: p.isSelected }],+ [$R, { isFocusVisibleWithinRow: _ }]] }, /*#__PURE__*/ P.createElement(l, {collection: i.collection,parent: n@@ -40280,34 +40460,34 @@ var JR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), cf}, (e) => {if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");let t = [e.value].concat(e.dependencies);- return /*#__PURE__*/ P.createElement(dS, {+ return /*#__PURE__*/ P.createElement(pS, {dependencies: t,items: e.columns,idScope: e.id}, e.children);-}), lfe = class extends rb {+}), Afe = class extends fb {static {this.type = "cell";}-}, ZR = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(xI);- return n ? /*#__PURE__*/ P.createElement(mI.div, {+}, nz = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(OI);+ return n ? /*#__PURE__*/ P.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(mI.td, {+ }) : /*#__PURE__*/ P.createElement(SI.td, {...e,ref: t});-}), QR = /*#__PURE__*/ sS(lfe, (e, t, n) => {- let r = Jx(t), i = (0, P.useContext)(zR), { dragState: a } = (0, P.useContext)(EL), { isVirtualized: o } = (0, P.useContext)(xI);+}), rz = /*#__PURE__*/ lS(Afe, (e, t, n) => {+ let r = Xx(t), i = (0, P.useContext)(WR), { dragState: a } = (0, P.useContext)(jL), { isVirtualized: o } = (0, P.useContext)(OI);n.column = i.collection.columns[n.index];- let { gridCellProps: s, isPressed: c } = eoe({+ let { gridCellProps: s, isPressed: c } = Eoe({node: n,shouldSelectOnPressUp: !!a,isVirtualized: o,focusMode: e.focusMode,allowsArrowNavigation: e.allowsArrowNavigation- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = zT(), { hoverProps: f, isHovered: p } = UT({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)(JR), 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 = sI({+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = zT(), { hoverProps: f, isHovered: p } = UT({}), { isFocusVisibleWithinRow: m } = (0, P.useContext)($R), 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 = gI({...e,id: void 0,defaultClassName: "react-aria-Cell",@@ -40326,8 +40506,8 @@ var JR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), cflevel: _.level + 1,isTreeColumn: n.column.key === i.treeColumn}- }), S = VS(e, { global: !0 });- return delete S.id, /*#__PURE__*/ P.createElement(ZR, {+ }), S = US(e, { global: !0 });+ return delete S.id, /*#__PURE__*/ P.createElement(nz, {...K(S, x, s, d, f),ref: r,"data-focused": l || void 0,@@ -40341,14 +40521,14 @@ var JR = /*#__PURE__*/ (0, P.createContext)({ isFocusVisibleWithinRow: !1 }), cf"data-level": _.level + 1,"data-tree-column": n.column.key === i.treeColumn || void 0,"data-disabled": b || void 0- }, /*#__PURE__*/ P.createElement(xI.Provider, { value: vI }, x.children));+ }, /*#__PURE__*/ P.createElement(OI.Provider, { value: EI }, x.children));});-function ufe(e, t) {- t = Jx(t);- let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(EL), i = (0, P.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function jfe(e, t) {+ t = Xx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(jL), i = (0, P.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__*/ P.createElement(mfe, {+ return /*#__PURE__*/ P.createElement(Ffe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -40357,40 +40537,40 @@ function ufe(e, t) {ref: t});}-var dfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(xI);- return n ? /*#__PURE__*/ P.createElement(mI.div, {+var Mfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(OI);+ return n ? /*#__PURE__*/ P.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(mI.tr, {+ }) : /*#__PURE__*/ P.createElement(SI.tr, {...e,ref: t});-}), ffe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- let { isVirtualized: n } = (0, P.useContext)(xI);- return n ? /*#__PURE__*/ P.createElement(mI.div, {+}), Nfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ let { isVirtualized: n } = (0, P.useContext)(OI);+ return n ? /*#__PURE__*/ P.createElement(SI.div, {...e,ref: t- }) : /*#__PURE__*/ P.createElement(mI.td, {+ }) : /*#__PURE__*/ P.createElement(SI.td, {...e,ref: t});});-function pfe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(zR), { visuallyHiddenProps: c } = bw(), l = sI({+function Pfe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, P.useContext)(WR), { visuallyHiddenProps: c } = bw(), l = gI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: { "--table-row-level": a + 1 },values: { isDropTarget: r }});- return /*#__PURE__*/ P.createElement(dfe, {- ...VS(e, { global: !0 }),+ return /*#__PURE__*/ P.createElement(Mfe, {+ ...US(e, { global: !0 }),...l,role: "row",ref: t,"data-drop-target": r || void 0,"aria-level": a- }, /*#__PURE__*/ P.createElement(ffe, {+ }, /*#__PURE__*/ P.createElement(Nfe, {role: "gridcell",colSpan: s.collection.columnCount,style: { padding: 0 }@@ -40401,14 +40581,14 @@ function pfe(e, t) {ref: i}), l.children));}-var mfe = /*#__PURE__*/ (0, P.forwardRef)(pfe);-function hfe() {- let e = (0, P.useContext)(zR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(EL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = bw();- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ P.createElement(YR, {+var Ffe = /*#__PURE__*/ (0, P.forwardRef)(Pfe);+function Ife() {+ let e = (0, P.useContext)(WR), { dragAndDropHooks: t, dropState: n } = (0, P.useContext)(jL), r = (0, P.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = bw();+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ P.createElement(ez, {role: "row","aria-hidden": i["aria-hidden"],style: { height: 0 }- }, /*#__PURE__*/ P.createElement(ZR, {+ }, /*#__PURE__*/ P.createElement(nz, {role: "gridcell",colSpan: e.collection.columnCount,style: { padding: 0 }@@ -40419,9 +40599,9 @@ function hfe() {ref: r})));}-sS(ab, function(e, t, n) {- let r = (0, P.useContext)(zR), { isVirtualized: i } = (0, P.useContext)(xI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);- GL((0, P.useMemo)(() => ({+lS(mb, function(e, t, n) {+ let r = (0, P.useContext)(WR), { isVirtualized: i } = (0, P.useContext)(OI), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, P.useRef)(null);+ XL((0, P.useMemo)(() => ({onLoadMore: o,collection: r?.collection,sentinelRef: u,@@ -40431,7 +40611,7 @@ sS(ab, function(e, t, n) {s,r?.collection]), u);- let d = sI({+ let d = gI({...c,id: void 0,children: n.rendered,@@ -40439,10 +40619,10 @@ sS(ab, 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__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(YR, {+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(ez, {style: { height: 0 },- inert: PL(!0)- }, /*#__PURE__*/ P.createElement(ZR, { style: {+ inert: zL(!0)+ }, /*#__PURE__*/ P.createElement(nz, { style: {padding: 0,border: 0} }, /*#__PURE__*/ P.createElement("div", {@@ -40453,22 +40633,22 @@ sS(ab, function(e, t, n) {height: 1,width: 1}- }))), a && d.children && /*#__PURE__*/ P.createElement(YR, {- ...K(VS(e, { global: !0 }), f),+ }))), a && d.children && /*#__PURE__*/ P.createElement(ez, {+ ...K(US(e, { global: !0 }), f),...d,role: "row",ref: t,"aria-level": n.level + 1,"data-level": n.level + 1- }, /*#__PURE__*/ P.createElement(ZR, {+ }, /*#__PURE__*/ P.createElement(nz, {role: "rowheader",...p,style: m}, d.children)));});// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs-function gfe(e) {- let [t, n] = dw(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = UL({+function Lfe(e) {+ let [t, n] = dw(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, P.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = JL({...e,selectionMode: "single",disallowEmptySelection: !0,@@ -40490,24 +40670,24 @@ function gfe(e) {};}// node_modules/react-stately/dist/private/tabs/useTabListState.mjs-function _fe(e) {- let t = gfe({+function Rfe(e) {+ let t = Lfe({...e,onSelectionChange: e.onSelectionChange ? (t) => {t != null && e.onSelectionChange?.(t);} : void 0,suppressTextValueWarning: !0,- defaultSelectedKey: e.defaultSelectedKey ?? $R(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0+ defaultSelectedKey: e.defaultSelectedKey ?? iz(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, P.useRef)(i);return (0, P.useEffect)(() => {let o = i;- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = $R(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 = iz(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 $R(e, t) {+function iz(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);@@ -40516,20 +40696,20 @@ function $R(e, t) {return n;}// node_modules/react-aria-components/dist/private/Tabs.mjs-var ez = /*#__PURE__*/ (0, P.createContext)(null), tz = /*#__PURE__*/ (0, P.createContext)(null), vfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = lI(e, t, ez);+var az = /*#__PURE__*/ (0, P.createContext)(null), oz = /*#__PURE__*/ (0, P.createContext)(null), zfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, az);let { children: n, orientation: r = "horizontal" } = e;return n = (0, P.useMemo)(() => typeof n == "function" ? n({orientation: r,defaultChildren: null- }) : n, [n, r]), /*#__PURE__*/ P.createElement(iS, { content: n }, (n) => /*#__PURE__*/ P.createElement(yfe, {+ }) : n, [n, r]), /*#__PURE__*/ P.createElement(oS, { content: n }, (n) => /*#__PURE__*/ P.createElement(Bfe, {props: e,collection: n,tabsRef: t}));});-function yfe({ props: e, tabsRef: t, collection: n }) {- let { orientation: r = "horizontal" } = e, i = _fe({+function Bfe({ props: e, tabsRef: t, collection: n }) {+ let { orientation: r = "horizontal" } = e, i = Rfe({...e,collection: n,children: void 0@@ -40541,12 +40721,12 @@ function yfe({ props: e, tabsRef: t, collection: n }) {r,o,s- ]), l = sI({+ ]), l = gI({...e,defaultClassName: "react-aria-Tabs",values: c- }), u = VS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(mI.div, {+ }), u = US(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(SI.div, {...K(u, l, a),ref: t,slot: e.slot || void 0,@@ -40554,20 +40734,20 @@ function yfe({ props: e, tabsRef: t, collection: n }) {"data-orientation": r,"data-focus-visible": s || void 0,"data-disabled": i.isDisabled || void 0- }, /*#__PURE__*/ P.createElement(oI, { values: [[ez, e], [tz, i]] }, l.children));+ }, /*#__PURE__*/ P.createElement(hI, { values: [[az, e], [oz, i]] }, l.children));}-var nz = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- return (0, P.useContext)(tz) ? /*#__PURE__*/ P.createElement(bfe, {+var sz = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ return (0, P.useContext)(oz) ? /*#__PURE__*/ P.createElement(Vfe, {props: e,forwardedRef: t- }) : /*#__PURE__*/ P.createElement(dS, e);+ }) : /*#__PURE__*/ P.createElement(pS, e);});-function bfe({ props: e, forwardedRef: t }) {- let n = (0, P.useContext)(tz), { CollectionRoot: r } = (0, P.useContext)(xI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = cI(ez), o = Jx(t), { tabListProps: s } = hoe({+function Vfe({ props: e, forwardedRef: t }) {+ let n = (0, P.useContext)(oz), { CollectionRoot: r } = (0, P.useContext)(OI), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = _I(az), o = Xx(t), { tabListProps: s } = Voe({...e,orientation: i,keyboardActivation: a- }, n, o), c = sI({+ }, n, o), c = gI({...e,children: null,defaultClassName: "react-aria-TabList",@@ -40575,22 +40755,22 @@ function bfe({ props: e, forwardedRef: t }) {orientation: i,state: n}- }), l = VS(e, { global: !0 });- return delete l.id, /*#__PURE__*/ P.createElement(mI.div, {+ }), l = US(e, { global: !0 });+ return delete l.id, /*#__PURE__*/ P.createElement(SI.div, {...K(l, c, s),ref: o,"data-orientation": i || void 0- }, /*#__PURE__*/ P.createElement(jL, null, /*#__PURE__*/ P.createElement(r, {+ }, /*#__PURE__*/ P.createElement(IL, null, /*#__PURE__*/ P.createElement(r, {collection: n.collection,- persistedKeys: SI(n.selectionManager.focusedKey)+ persistedKeys: kI(n.selectionManager.focusedKey)})));}-var xfe = /*#__PURE__*/ sS(class extends rb {+var Hfe = /*#__PURE__*/ lS(class extends fb {static {this.type = "item";}}, (e, t, n) => {- let r = (0, P.useContext)(tz), i = Jx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = poe({+ let r = (0, P.useContext)(oz), i = Xx(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = zoe({key: n.key,...e}, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = zT(), { hoverProps: f, isHovered: p } = UT({@@ -40598,7 +40778,7 @@ var xfe = /*#__PURE__*/ sS(class extends rb {onHoverStart: e.onHoverStart,onHoverEnd: e.onHoverEnd,onHoverChange: e.onHoverChange- }), m = sI({+ }), m = gI({...e,id: void 0,children: n.rendered,@@ -40611,7 +40791,7 @@ var xfe = /*#__PURE__*/ sS(class extends rb {isPressed: c,isHovered: p}- }), h = n.props.href ? mI.a : mI.div, g = VS(e, { global: !0 });+ }), h = n.props.href ? SI.a : SI.div, g = US(e, { global: !0 });return delete g.id, delete g.onClick, /*#__PURE__*/ P.createElement(h, {...K(g, m, a, l, f),ref: i,@@ -40621,54 +40801,54 @@ var xfe = /*#__PURE__*/ sS(class extends rb {"data-focus-visible": d || void 0,"data-pressed": c || void 0,"data-hovered": p || void 0- }, /*#__PURE__*/ P.createElement(ML.Provider, { value: { isSelected: o } }, m.children));-}), Sfe = /*#__PURE__*/ $x(function(e, t) {- let n = (0, P.useContext)(tz), r = Jx(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);+ }, /*#__PURE__*/ P.createElement(LL.Provider, { value: { isSelected: o } }, m.children));+}), Ufe = /*#__PURE__*/ tS(function(e, t) {+ let n = (0, P.useContext)(oz), r = Xx(t), i = n.selectedKey === e.id, [a, o] = (0, P.useState)(n.selectedKey == null ? null : i);a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);- let s = ZL(r, i);- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(Cfe, {+ let s = nR(r, i);+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ P.createElement(Wfe, {...e,tabPanelRef: r,isInitiallySelected: a || !1,isExiting: s});});-function Cfe(e) {- let t = (0, P.useContext)(tz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = goe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = zT(), d = t.selectedKey === e.id, f = XL(r) && !i, p = sI({+function Wfe(e) {+ let t = (0, P.useContext)(oz), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Hoe(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = zT(), d = t.selectedKey === e.id, f = tR(r) && !i, p = gI({...e,defaultClassName: "react-aria-TabPanel",values: {isFocused: l,isFocusVisible: u,- isInert: PL(!d),+ isInert: zL(!d),isEntering: f,isExiting: a,state: t}- }), m = VS(o, { global: !0 });+ }), m = US(o, { global: !0 });delete m.id;let h = d ? K(m, s, c, p) : K(m, p);- return /*#__PURE__*/ P.createElement(mI.div, {+ return /*#__PURE__*/ P.createElement(SI.div, {...h,ref: r,"data-focused": l || void 0,"data-focus-visible": u || void 0,- inert: PL(!d || e.inert),+ inert: zL(!d || e.inert),"data-inert": d ? void 0 : "true","data-entering": f || void 0,"data-exiting": a || void 0- }, /*#__PURE__*/ P.createElement(oI, { values: [[ez, null], [tz, null]] }, /*#__PURE__*/ P.createElement(xI.Provider, { value: vI }, p.children)));+ }, /*#__PURE__*/ P.createElement(hI, { values: [[az, null], [oz, null]] }, /*#__PURE__*/ P.createElement(OI.Provider, { value: EI }, p.children)));}// node_modules/react-aria-components/dist/private/TextArea.mjs-var rz = /*#__PURE__*/ (0, P.createContext)({}), wfe = (e) => {+var cz = /*#__PURE__*/ (0, P.createContext)({}), Gfe = (e) => {let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;return i;-}, Tfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- [e, t] = lI(e, t, rz);+}, Kfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ [e, t] = vI(e, t, cz);let { hoverProps: n, isHovered: r } = UT(e), { isFocused: i, isFocusVisible: a, focusProps: o } = zT({isTextInput: !0,autoFocus: e.autoFocus- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = sI({+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = gI({...e,values: {isHovered: r,@@ -40679,8 +40859,8 @@ var rz = /*#__PURE__*/ (0, P.createContext)({}), wfe = (e) => {},defaultClassName: "react-aria-TextArea"});- return /*#__PURE__*/ P.createElement(mI.textarea, {- ...K(wfe(e), o, n),+ return /*#__PURE__*/ P.createElement(SI.textarea, {+ ...K(Gfe(e), o, n),...c,ref: t,"data-focused": i || void 0,@@ -40689,18 +40869,18 @@ var rz = /*#__PURE__*/ (0, P.createContext)({}), wfe = (e) => {"data-focus-visible": a || void 0,"data-invalid": s || void 0});-}), Efe = /*#__PURE__*/ (0, P.createContext)(null), Dfe = /*#__PURE__*/ $x(function(e, t) {- [e, t] = lI(e, t, Efe);- let { validationBehavior: n } = cI(NI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);- [e, i] = lI(e, i, gI);- let [a, o] = uI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = Lie({- ...dI(e),+}), qfe = /*#__PURE__*/ (0, P.createContext)(null), Jfe = /*#__PURE__*/ tS(function(e, t) {+ [e, t] = vI(e, t, qfe);+ let { validationBehavior: n } = _I(RI) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, P.useRef)(null);+ [e, i] = vI(e, i, wI);+ let [a, o] = yI(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, P.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = lae({+ ...bI(e),inputElementType: s,label: o,validationBehavior: r}, i), m = (0, P.useCallback)((e) => {i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");- }, [i]), h = sI({+ }, [i]), h = gI({...e,values: {isDisabled: e.isDisabled || !1,@@ -40709,8 +40889,8 @@ var rz = /*#__PURE__*/ (0, P.createContext)({}), wfe = (e) => {isRequired: e.isRequired || !1},defaultClassName: "react-aria-TextField"- }), g = VS(e, { global: !0 });- return delete g.id, /*#__PURE__*/ P.createElement(mI.div, {+ }), g = US(e, { global: !0 });+ return delete g.id, /*#__PURE__*/ P.createElement(SI.div, {...g,...h,ref: t,@@ -40719,31 +40899,31 @@ var rz = /*#__PURE__*/ (0, P.createContext)({}), wfe = (e) => {"data-invalid": p.isInvalid || void 0,"data-readonly": e.isReadOnly || void 0,"data-required": e.isRequired || void 0- }, /*#__PURE__*/ P.createElement(oI, { values: [- [CI, {+ }, /*#__PURE__*/ P.createElement(hI, { values: [+ [AI, {...l,ref: a}],- [zI, {+ [WI, {...u,ref: m}],- [rz, {+ [cz, {...u,ref: m}],- [LI, {+ [HI, {role: "presentation",isInvalid: p.isInvalid,isDisabled: e.isDisabled || !1}],- [jI, { slots: {+ [II, { slots: {description: d,errorMessage: f} }],- [MI, p]+ [LI, p]] }, h.children));-}), Ofe = class e extends sb {+}), Yfe = class e extends _b {withExpandedKeys(t, n) {let r = this.clone();return r.expandedKeys = n, e.cloneAncestorSections(n, t, r), e.cloneAncestorSections(t, n, r), r.frozen = this.frozen, r;@@ -40815,16 +40995,16 @@ var rz = /*#__PURE__*/ (0, P.createContext)({}), wfe = (e) => {constructor(...e) {super(...e), this.expandedKeys = /* @__PURE__ */ new Set();}-}, kfe = /*#__PURE__*/ (0, P.createContext)(null), iz = /*#__PURE__*/ (0, P.createContext)(null), Afe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {- return [e, t] = lI(e, t, kfe), /*#__PURE__*/ P.createElement(iS, {- content: /*#__PURE__*/ P.createElement(dS, e),- createCollection: () => new Ofe()- }, (n) => /*#__PURE__*/ P.createElement(jfe, {+}, Xfe = /*#__PURE__*/ (0, P.createContext)(null), lz = /*#__PURE__*/ (0, P.createContext)(null), Zfe = /*#__PURE__*/ (0, P.forwardRef)(function(e, t) {+ return [e, t] = vI(e, t, Xfe), /*#__PURE__*/ P.createElement(oS, {+ content: /*#__PURE__*/ P.createElement(pS, e),+ createCollection: () => new Yfe()+ }, (n) => /*#__PURE__*/ P.createElement(Qfe, {props: e,collection: n,treeRef: t}));-}), az = {+}), uz = {expand: {ltr: "ArrowRight",rtl: "ArrowLeft"@@ -40834,17 +41014,17 @@ var rz = /*#__PURE__*/ (0, P.createContext)({}), wfe = (e) => {rtl: "ArrowRight"}};-function jfe({ props: e, collection: t, treeRef: n }) {- let { dragAndDropHooks: r } = e, { direction: i } = NS(), a = MT({+function Qfe({ props: e, collection: t, treeRef: n }) {+ let { dragAndDropHooks: r } = e, { direction: i } = FS(), a = MT({usage: "search",sensitivity: "base"}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, P.useRef)(o), l = (0, P.useRef)(s);(0, P.useEffect)(() => {c.current !== o && console.warn("Drag hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior."), l.current !== s && console.warn("Drop hooks were provided during one render, but not another. This should be avoided as it may produce unexpected behavior.");}, [o, s]);- let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, P.useContext)(xI), [y, b] = dw(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, P.useState)(t), [C, w] = (0, P.useState)(y), [T, E] = (0, P.useState)(() => t.withExpandedKeys(C, y));- Rfe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));- let D = rR({+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, P.useContext)(OI), [y, b] = dw(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, P.useState)(t), [C, w] = (0, P.useState)(y), [T, E] = (0, P.useState)(() => t.withExpandedKeys(C, y));+ ape(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));+ let D = cR({...e,selectionMode: u,expandedKeys: y,@@ -40852,7 +41032,7 @@ function jfe({ props: e, collection: t, treeRef: n }) {collection: T,children: void 0,disabledBehavior: m- }), { gridProps: O } = _oe({+ }), { gridProps: O } = Uoe({...e,isVirtualized: g,layoutDelegate: _@@ -40866,7 +41046,7 @@ function jfe({ props: e, collection: t, treeRef: n }) {let e = r.DragPreview;ee = r.renderDragPreview ? /*#__PURE__*/ P.createElement(e, { ref: te }, r.renderDragPreview) : null;}- let [ne] = (0, P.useState)(() => new jR());+ let [ne] = (0, P.useState)(() => new IR());if (s && r) {A = r.useDroppableCollectionState({collection: D.collection,@@ -40896,7 +41076,7 @@ function jfe({ props: e, collection: t, treeRef: n }) {let t = A?.target;if (t && t.type === "item" && t.dropPosition === "on") {let n = D.collection.getItem(t.key);- (e.key === az.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === az.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);+ (e.key === uz.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === uz.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);}}}, A, n), M = A.isDropTarget({ type: "root" });@@ -40909,7 +41089,7 @@ function jfe({ props: e, collection: t, treeRef: n }) {selectionMode: D.selectionManager.selectionMode,allowsDragging: !!N,state: D- }, oe = sI({+ }, oe = gI({...e,children: void 0,defaultClassName: "react-aria-Tree",@@ -40926,8 +41106,8 @@ function jfe({ props: e, collection: t, treeRef: n }) {style: { display: "contents" }}, r));}- let ce = VS(e, { global: !0 });- return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(dC, null, /*#__PURE__*/ P.createElement(mI.div, {+ let ce = US(e, { global: !0 });+ return /*#__PURE__*/ P.createElement(P.Fragment, null, /*#__PURE__*/ P.createElement(vC, null, /*#__PURE__*/ P.createElement(SI.div, {...K(ce, oe, O, re, j?.collectionProps),ref: n,slot: e.slot || void 0,@@ -40937,39 +41117,39 @@ function jfe({ props: e, collection: t, treeRef: n }) {"data-focus-visible": F || void 0,"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,"data-allows-dragging": !!N || void 0- }, /*#__PURE__*/ P.createElement(oI, { values: [- [iz, D],- [EL, {+ }, /*#__PURE__*/ P.createElement(hI, { values: [+ [lz, D],+ [jL, {dragAndDropHooks: r,dragState: k,dropState: A}],- [DL, { render: Pfe }]- ] }, s && /*#__PURE__*/ P.createElement(Lfe, null), /*#__PURE__*/ P.createElement(jL, null, /*#__PURE__*/ P.createElement(h, {+ [ML, { render: tpe }]+ ] }, s && /*#__PURE__*/ P.createElement(ipe, null), /*#__PURE__*/ P.createElement(IL, null, /*#__PURE__*/ P.createElement(h, {collection: D.collection,- persistedKeys: kL(D.selectionManager, r, A),+ persistedKeys: PL(D.selectionManager, r, A),scrollRef: n,- renderDropIndicator: OL(r, A)+ renderDropIndicator: NL(r, A)}))), se)), ee);}-var Mfe = /*#__PURE__*/ sS(class extends rb {+var $fe = /*#__PURE__*/ lS(class extends fb {static {this.type = "content";}}, function(e) {- let t = (0, P.useContext)(oz), n = sI({+ let t = (0, P.useContext)(dz), n = gI({children: e.children,values: t});- return /*#__PURE__*/ P.createElement(xI.Provider, { value: vI }, n.children);-}), oz = /*#__PURE__*/ (0, P.createContext)(null), Nfe = /*#__PURE__*/ cS(class extends rb {+ return /*#__PURE__*/ P.createElement(OI.Provider, { value: EI }, n.children);+}), dz = /*#__PURE__*/ (0, P.createContext)(null), epe = /*#__PURE__*/ uS(class extends fb {static {this.type = "item";}}, (e, t, n) => {- let r = (0, P.useContext)(iz);- t = Jx(t);- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(EL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Ak({+ let r = (0, P.useContext)(lz);+ t = Xx(t);+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, P.useContext)(jL), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Ak({node: n,shouldSelectOnPressUp: !!a,focusMode: e.focusMode,@@ -40979,7 +41159,7 @@ var Mfe = /*#__PURE__*/ sS(class extends rb {onHoverStart: e.onHoverStart,onHoverChange: e.onHoverChange,onHoverEnd: e.onHoverEnd- }), { isFocusVisible: v, focusProps: y } = zT(), { isFocusVisible: b, focusProps: x } = zT({ within: !0 }), { checkboxProps: S } = fae({ key: n.key }, r), C = null;+ }), { isFocusVisible: v, focusProps: y } = zT(), { isFocusVisible: b, focusProps: x } = zT({ within: !0 }), { checkboxProps: S } = Rae({ key: n.key }, r), C = null;a && i && (C = i.useDraggableItem({key: n.key,hasDragButton: !0@@ -41023,7 +41203,7 @@ var Mfe = /*#__PURE__*/ sS(class extends rb {A,M,j- ]), te = sI({+ ]), te = gI({...e,id: void 0,children: n.rendered,@@ -41040,7 +41220,7 @@ var Mfe = /*#__PURE__*/ sS(class extends rb {(0, P.useEffect)(() => {a && ne.current;}, []);- let N = db({+ let N = xb({items: r.collection.getChildren(n.key),children: (e) => {switch (e.type) {@@ -41050,7 +41230,7 @@ var Mfe = /*#__PURE__*/ sS(class extends rb {default: throw Error("Unsupported element type in TreeRow: " + e.type);}}- }), re = Lx(), ie = VS(e, { global: !0 });+ }), re = zx(), ie = US(e, { global: !0 });return delete ie.id, delete ie.onClick, /*#__PURE__*/ P.createElement(P.Fragment, null, w && !w.isHidden && /*#__PURE__*/ P.createElement("div", {role: "row","aria-level": c["aria-level"],@@ -41073,7 +41253,7 @@ var Mfe = /*#__PURE__*/ sS(class extends rb {"aria-labelledby": `${re} ${c.id}`,tabIndex: -1,ref: D- }))), /*#__PURE__*/ P.createElement(mI.div, {+ }))), /*#__PURE__*/ P.createElement(SI.div, {...K(ie, c, y, g, x, C?.dragProps),...te,ref: t,@@ -41093,17 +41273,17 @@ var Mfe = /*#__PURE__*/ sS(class extends rb {}, /*#__PURE__*/ P.createElement("div", {...l,style: { display: "contents" }- }, /*#__PURE__*/ P.createElement(oI, { values: [- [PI, { slots: {- [aI]: {},+ }, /*#__PURE__*/ P.createElement(hI, { values: [+ [zI, { slots: {+ [mI]: {},selection: S} }],- [FI, { slots: {- [aI]: {},+ [BI, { slots: {+ [mI]: {},selection: S} }],- [EI, { slots: {- [aI]: {},+ [MI, { slots: {+ [mI]: {},chevron: {...u,ref: T@@ -41114,13 +41294,13 @@ var Mfe = /*#__PURE__*/ sS(class extends rb {style: { pointerEvents: "none" }}} }],- [oz, { ...ee }],- [ML, { isSelected: f.isSelected }]+ [dz, { ...ee }],+ [LL, { isSelected: f.isSelected }]] }, N))));});-sS(ab, function(e, t, n) {- let { isVirtualized: r } = (0, P.useContext)(xI), i = (0, P.useContext)(iz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, P.useRef)(null);- GL((0, P.useMemo)(() => ({+lS(mb, function(e, t, n) {+ let { isVirtualized: r } = (0, P.useContext)(OI), i = (0, P.useContext)(lz), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, P.useRef)(null);+ XL((0, P.useMemo)(() => ({onLoadMore: o,collection: i?.collection,sentinelRef: l,@@ -41129,11 +41309,11 @@ sS(ab, function(e, t, n) {o,s,i?.collection- ]), l), t = Jx(t);+ ]), l), t = Xx(t);let { rowProps: u, gridCellProps: d } = Ak({ node: n }, i, t), f = u["aria-level"] || 1, p = {role: "row","aria-level": u["aria-level"]- }, m = sI({+ }, m = gI({...c,id: void 0,children: n.rendered,@@ -41146,7 +41326,7 @@ sS(ab, function(e, t, n) {width: 0,height: 0},- inert: PL(!0)+ inert: zL(!0)}, /*#__PURE__*/ P.createElement("div", {"data-testid": "loadMoreSentinel",ref: l,@@ -41155,9 +41335,9 @@ sS(ab, function(e, t, n) {height: 1,width: 1}- })), a && m.children && /*#__PURE__*/ P.createElement(mI.div, {+ })), a && m.children && /*#__PURE__*/ P.createElement(SI.div, {ref: t,- ...K(VS(e), p),+ ...K(US(e), p),...m,"data-level": f}, /*#__PURE__*/ P.createElement("div", {@@ -41165,12 +41345,12 @@ sS(ab, function(e, t, n) {style: h}, m.children)));});-function Pfe(e, t) {- t = Jx(t);- let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(EL), i = (0, P.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);+function tpe(e, t) {+ t = Xx(t);+ let { dragAndDropHooks: n, dropState: r } = (0, P.useContext)(jL), i = (0, P.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__*/ P.createElement(Ife, {+ return /*#__PURE__*/ P.createElement(rpe, {...e,dropIndicatorProps: a,isDropTarget: s,@@ -41179,8 +41359,8 @@ function Pfe(e, t) {level: c});}-function Ffe(e, t) {- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = bw(), c = sI({+function npe(e, t) {+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = bw(), c = gI({...o,defaultClassName: "react-aria-DropIndicator",defaultStyle: {@@ -41189,7 +41369,7 @@ function Ffe(e, t) {},values: { isDropTarget: r }});- return /*#__PURE__*/ P.createElement(mI.div, {+ return /*#__PURE__*/ P.createElement(SI.div, {...c,role: "row","aria-level": a,@@ -41202,9 +41382,9 @@ function Ffe(e, t) {ref: i}), c.children));}-var Ife = /*#__PURE__*/ (0, P.forwardRef)(Ffe);-function Lfe() {- let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(EL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = bw();+var rpe = /*#__PURE__*/ (0, P.forwardRef)(npe);+function ipe() {+ let { dragAndDropHooks: e, dropState: t } = (0, P.useContext)(jL), n = (0, P.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = bw();return !i && r["aria-hidden"] ? null : /*#__PURE__*/ P.createElement("div", {role: "row","aria-hidden": r["aria-hidden"],@@ -41216,13 +41396,13 @@ function Lfe() {ref: n})));}-function Rfe(e, t) {+function ape(e, t) {if (e.size !== t.size) return !1;for (let n of e) if (!t.has(n)) return !1;return !0;}// node_modules/@remixicon/react/index.mjs-var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+var ope = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41230,7 +41410,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Bfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), spe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41238,7 +41418,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41246,7 +41426,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41254,7 +41434,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), lz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41262,7 +41442,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Vfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), cpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41270,7 +41450,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Hfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), lpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41278,7 +41458,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), Ufe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), upe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41286,7 +41466,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), Wfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M5 2H19C19.5523 2 20 2.44772 20 3V22.1433C20 22.4194 19.7761 22.6434 19.5 22.6434C19.4061 22.6434 19.314 22.6168 19.2344 22.5669L12 18.0313L4.76559 22.5669C4.53163 22.7136 4.22306 22.6429 4.07637 22.4089C4.02647 22.3293 4 22.2373 4 22.1433V3C4 2.44772 4.44772 2 5 2ZM18 4H6V19.4324L12 15.6707L18 19.4324V4Z" })), dpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41294,7 +41474,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), Gfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M21 19H23V21H1V19H3V4C3 3.44772 3.44772 3 4 3H14C14.5523 3 15 3.44772 15 4V19H19V11H17V9H20C20.5523 9 21 9.44772 21 10V19ZM5 5V19H13V5H5ZM7 11H11V13H7V11ZM7 7H11V9H7V7Z" })), fpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41302,7 +41482,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Kfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), ppe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41310,7 +41490,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), qfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M7.29117 20.8242L2 22L3.17581 16.7088C2.42544 15.3056 2 13.7025 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.6944 21.5746 7.29117 20.8242ZM7.58075 18.711L8.23428 19.0605C9.38248 19.6745 10.6655 20 12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 13.3345 4.32549 14.6175 4.93949 15.7657L5.28896 16.4192L4.63416 19.3658L7.58075 18.711Z" })), mpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41318,7 +41498,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Jfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), hpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41326,7 +41506,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), Yfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M9.9997 15.1709L19.1921 5.97852L20.6063 7.39273L9.9997 17.9993L3.63574 11.6354L5.04996 10.2212L9.9997 15.1709Z" })), gpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41334,7 +41514,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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 20Z" })), Xfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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 20Z" })), _pe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41342,7 +41522,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), uz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41350,7 +41530,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), vpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41358,7 +41538,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Qfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41366,7 +41546,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), $fe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), bpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41374,7 +41554,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), epe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), xpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41382,7 +41562,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), tpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Spe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41390,7 +41570,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), gz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41398,7 +41578,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), npe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Cpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41406,7 +41586,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), rpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), wpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41414,7 +41594,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), ipe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Tpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41422,7 +41602,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), ape = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M9 2.00318V2H19.9978C20.5513 2 21 2.45531 21 2.9918V21.0082C21 21.556 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5501 3 20.9932V8L9 2.00318ZM5.82918 8H9V4.83086L5.82918 8ZM11 4V9C11 9.55228 10.5523 10 10 10H5V20H19V4H11Z" })), Epe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41430,7 +41610,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), ope = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Dpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41438,7 +41618,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), spe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Ope = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41446,7 +41626,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), fz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), _z = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41454,7 +41634,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), pz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 7V19H20V7H4Z" })), vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41462,7 +41642,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), cpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M3 21C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5H20C20.5523 5 21 5.44772 21 6V9H19V7H11.5858L9.58579 5H4V16.998L5.5 11H22.5L20.1894 20.2425C20.0781 20.6877 19.6781 21 19.2192 21H3ZM19.9384 13H7.06155L5.56155 19H18.4384L19.9384 13Z" })), kpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41470,7 +41650,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), mz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M12.4142 5H21C21.5523 5 22 5.44772 22 6V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3H10.4142L12.4142 5ZM4 5V19H20V7H11.5858L9.58579 5H4ZM8.59114 13.8089C8.52934 13.5486 8.49663 13.277 8.49663 12.9978C8.49663 12.7186 8.52933 12.4471 8.59112 12.1868L7.59998 11.6146L8.59949 9.88335L9.59133 10.456C9.98424 10.0843 10.4633 9.80275 10.9954 9.64438V8.5H12.9944V9.64438C13.5265 9.80274 14.0056 10.0843 14.3985 10.4559L15.3904 9.88325L16.39 11.6145L15.3987 12.1867C15.4605 12.447 15.4932 12.7186 15.4932 12.9978C15.4932 13.277 15.4605 13.5485 15.3987 13.8088L16.39 14.3811L15.3905 16.1123L14.3986 15.5396C14.0057 15.9113 13.5266 16.1928 12.9945 16.3512V17.4956H10.9955V16.3513C10.4634 16.1929 9.98434 15.9114 9.59141 15.5397L8.59954 16.1124L7.59998 14.3812L8.59114 13.8089ZM11.9949 14.4971C12.8229 14.4971 13.4942 13.8258 13.4942 12.9978C13.4942 12.1698 12.8229 11.4985 11.9949 11.4985C11.1669 11.4985 10.4957 12.1698 10.4957 12.9978C10.4957 13.8258 11.1669 14.4971 11.9949 14.4971Z" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41478,7 +41658,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), hz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41486,7 +41666,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), lpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Ape = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41494,7 +41674,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), upe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), jpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41502,7 +41682,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), dpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Mpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41510,7 +41690,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), fpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Npe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41518,7 +41698,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), ppe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Ppe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41526,7 +41706,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), gz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41534,7 +41714,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), mpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Fpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41542,7 +41722,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), hpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Ipe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41550,7 +41730,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), _z = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M8 4H21V6H8V4ZM4.5 6.5C3.67157 6.5 3 5.82843 3 5C3 4.17157 3.67157 3.5 4.5 3.5C5.32843 3.5 6 4.17157 6 5C6 5.82843 5.32843 6.5 4.5 6.5ZM4.5 13.5C3.67157 13.5 3 12.8284 3 12C3 11.1716 3.67157 10.5 4.5 10.5C5.32843 10.5 6 11.1716 6 12C6 12.8284 5.32843 13.5 4.5 13.5ZM4.5 20.4C3.67157 20.4 3 19.7284 3 18.9C3 18.0716 3.67157 17.4 4.5 17.4C5.32843 17.4 6 18.0716 6 18.9C6 19.7284 5.32843 20.4 4.5 20.4ZM8 11H21V13H8V11ZM8 18H21V20H8V18Z" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41558,7 +41738,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), vz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41566,7 +41746,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), yz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), wz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41574,7 +41754,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), bz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Tz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41582,7 +41762,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), gpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Lpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41590,7 +41770,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), xz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Ez = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41598,7 +41778,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), _pe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Rpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41606,7 +41786,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M3 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 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), vpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M3 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 3ZM8 5H4V19H8V5ZM10 5V19H20V5H10Z" })), zpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41614,7 +41794,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), ype = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Bpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41622,7 +41802,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), bpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Vpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41630,7 +41810,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), xpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Hpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41638,7 +41818,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Spe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Upe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41646,7 +41826,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Sz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), Dz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41654,7 +41834,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Cz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Oz = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41662,7 +41842,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), Cpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Wpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41670,7 +41850,7 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => Pfill: e,...r,className: "remixicon " + (n || "")-}, P.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" })), wpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {+}, P.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" })), Gpe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => P.createElement("svg", {viewBox: "0 0 24 24",xmlns: "http://www.w3.org/2000/svg",width: t,@@ -41680,11 +41860,11 @@ var zfe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => PclassName: "remixicon " + (n || "")}, P.createElement("path", { d: "M4.50772 2.87597C4.57028 2.37554 4.99568 2 5.5 2H18.5C19.0043 2 19.4297 2.37554 19.4923 2.87597L20.9923 14.876C20.9974 14.9171 21 14.9585 21 15V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V15C3 14.9585 3.00258 14.9171 3.00772 14.876L4.50772 2.87597ZM6.38278 4L5.13278 14H18.8672L17.6172 4H6.38278ZM19 16H5V20H19V16ZM15 17H17V19H15V17ZM13 17H11V19H13V17Z" }));// src/react/boardui/components/base/input/label.tsx-function wz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, F.jsxs)(wI, {+function kz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, F.jsxs)(jI, {"data-label": "true",...a,- className: cF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),+ className: oF("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),children: [i,e && /* @__PURE__ */ (0, F.jsx)("span", {@@ -41692,7 +41872,7 @@ function wz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childrclassName: "text-body-medium text-text-error-primary",children: "*"}),- n && /* @__PURE__ */ (0, F.jsx)(dpe, {+ n && /* @__PURE__ */ (0, F.jsx)(Mpe, {className: "size-4 shrink-0 text-foreground-icon-quaternary","aria-hidden": !0})@@ -41700,32 +41880,32 @@ function wz({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr});}// src/react/boardui/components/base/input/hint-text.tsx-function Tz({ isInvalid: e = !1, className: t, ...n }) {- return /* @__PURE__ */ (0, F.jsx)(Due, {+function Az({ isInvalid: e = !1, className: t, ...n }) {+ return /* @__PURE__ */ (0, F.jsx)(Jue, {slot: e ? "errorMessage" : "description",...n,- className: cF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)+ className: oF("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)});}// src/react/boardui/components/base/input/input.tsx-var Ez = (0, P.createContext)({});-function Dz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {- return /* @__PURE__ */ (0, F.jsx)(Ez.Provider, {+var jz = (0, P.createContext)({});+function Mz({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {+ return /* @__PURE__ */ (0, F.jsx)(jz.Provider, {value: {size: e,fieldClassName: t,inputClassName: n},- children: /* @__PURE__ */ (0, F.jsx)(Dfe, {+ children: /* @__PURE__ */ (0, F.jsx)(Jfe, {...a,"data-input-size": e,- className: cF("group flex h-max w-full flex-col items-start gap-1", r),+ className: oF("group flex h-max w-full flex-col items-start gap-1", r),children: i})});}-Dz.displayName = "TextField";-var Oz = lF({+Mz.displayName = "TextField";+var Nz = sF({field: "relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",fieldSize: {medium: "p-2",@@ -41740,44 +41920,44 @@ var Oz = lF({input: "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary focus:placeholder:text-text-primary disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text disabled:cursor-not-allowed aria-invalid:placeholder:text-text-error-placeholder",icon: "size-5 shrink-0"});-function kz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {- let l = (0, P.useContext)(Ez), u = e ?? l.size ?? "medium", d = r != null;- return /* @__PURE__ */ (0, F.jsx)(RI, {+function Pz({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {+ let l = (0, P.useContext)(jz), u = e ?? l.size ?? "medium", d = r != null;+ return /* @__PURE__ */ (0, F.jsx)(UI, {ref: s,- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => cF(Oz.field, d ? Oz.fieldWithAddonSize[u] : Oz.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 }) => oF(Nz.field, d ? Nz.fieldWithAddonSize[u] : Nz.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, F.jsxs)("div", {- className: Oz.content,+ className: Nz.content,children: [/* @__PURE__ */ (0, F.jsxs)("div", {- className: Oz.leftSection,+ className: Nz.leftSection,children: [d ? r : t ? /* @__PURE__ */ (0, F.jsx)(t, {- className: Oz.icon,+ className: Nz.icon,"aria-hidden": !0- }) : null, /* @__PURE__ */ (0, F.jsx)(Nue, {+ }) : null, /* @__PURE__ */ (0, F.jsx)(ede, {ref: o,...c,- className: cF(Oz.input, l.inputClassName, a)+ className: oF(Nz.input, l.inputClassName, a)})]}), n ? /* @__PURE__ */ (0, F.jsx)(n, {- className: Oz.icon,+ className: Nz.icon,"aria-hidden": !0}) : null]})});}-kz.displayName = "InputBase";-function Az({ 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, F.jsx)(Dz, {+Pz.displayName = "InputBase";+function Fz({ 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, F.jsx)(Mz, {...d,className: u,"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- e && /* @__PURE__ */ (0, F.jsx)(wz, {+ e && /* @__PURE__ */ (0, F.jsx)(kz, {isRequired: u,isInvalid: d,tooltip: n,children: e}),- /* @__PURE__ */ (0, F.jsx)(kz, {+ /* @__PURE__ */ (0, F.jsx)(Pz, {ref: c,groupRef: l,placeholder: r,@@ -41786,24 +41966,24 @@ function Az({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, traleadingAddon: o,fieldClassName: s}),- t && /* @__PURE__ */ (0, F.jsx)(Tz, {+ t && /* @__PURE__ */ (0, F.jsx)(Az, {isInvalid: d,children: t})] })});}-Az.displayName = "Input";+Fz.displayName = "Input";// src/react/components/modal-frame.tsx-var Tpe = {+var Kpe = {"avatar-picker": "max-w-avatar-picker","cover-crop": "max-w-cover-crop",form: "max-w-form-modal",collections: "max-w-4xl"};-function jz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {- let { isFocusVisible: a } = wx();- return /* @__PURE__ */ (0, F.jsx)(vR, {+function Iz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {+ let { isFocusVisible: a } = Ex();+ return /* @__PURE__ */ (0, F.jsx)(CR, {isOpen: e,onOpenChange: t,isDismissable: !0,@@ -41811,11 +41991,11 @@ function jz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {"data-modal-kind": n,"data-motion-instant": a || void 0,className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",- children: /* @__PURE__ */ (0, F.jsx)(hde, {+ children: /* @__PURE__ */ (0, F.jsx)(Ide, {"data-modal-surface": "","data-modal-width": n,- className: `flex max-h-full w-full ${Tpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,- children: /* @__PURE__ */ (0, F.jsx)(mR, {+ className: `flex max-h-full w-full ${Kpe[n]} flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown`,+ children: /* @__PURE__ */ (0, F.jsx)(yR, {"aria-label": r,className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",children: i@@ -41823,7 +42003,7 @@ function jz({ isOpen: e, onOpenChange: t, width: n, label: r, children: i }) {})});}-function Mz({ children: e }) {+function Lz({ children: e }) {return /* @__PURE__ */ (0, F.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",@@ -41831,12 +42011,12 @@ function Mz({ children: e }) {});}// src/react/components/note.tsx-function Nz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {+function Rz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {let s = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-note-layout": "",- className: cF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),+ className: oF("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),children: [/* @__PURE__ */ (0, F.jsxs)("div", {- className: cF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),+ className: oF("flex min-w-0 flex-auto flex-col justify-center gap-0.5", a === "below" && "w-full"),children: [t ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-medium wrap-anywhere",children: t@@ -41853,37 +42033,37 @@ function Nz({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:switch (e) {case "info": return /* @__PURE__ */ (0, F.jsx)("div", {role: "status",- className: cF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),+ className: oF("@container flex flex-col gap-2 rounded-2lg bg-notification-information-background px-3 py-2 text-notification-information-foreground", o),children: s});case "success": return /* @__PURE__ */ (0, F.jsx)("div", {role: "status",- className: cF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),+ className: oF("@container flex flex-col gap-2 rounded-2lg bg-notification-success-background px-3 py-2 text-notification-success-foreground", o),children: s});case "warning": return /* @__PURE__ */ (0, F.jsx)("div", {role: "note",- className: cF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),+ className: oF("@container flex flex-col gap-2 rounded-2lg bg-status-yellow-background px-3 py-2 text-status-yellow-text", o),children: s});case "error": return /* @__PURE__ */ (0, F.jsx)("div", {role: "alert",- className: cF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),+ className: oF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-error px-3 py-2 text-text-error-primary", o),children: s});default: return /* @__PURE__ */ (0, F.jsx)("div", {role: "note",- className: cF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),+ className: oF("@container flex flex-col gap-2 rounded-2lg bg-background-tertiary-default px-3 py-2 text-text-secondary", o),children: s});}}// src/react/components/empty-state.tsx-var Epe = {+var qpe = {standard: "min-h-80 px-6 py-12",compact: "min-h-60 px-4 py-6"};-function Dpe({ target: e, children: t }) {+function Jpe({ target: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)(q, {size: "small",variant: "secondary",@@ -41891,11 +42071,11 @@ function Dpe({ target: e, children: t }) {children: t});}-function Pz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {+function zz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-empty-state": "","data-empty-size": i,- className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${Epe[i]}`,+ className: `flex min-w-0 max-w-full flex-col items-center justify-center gap-2 rounded-floating border border-separator-border bg-background-secondary-default text-center ${qpe[i]}`,children: [/* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,@@ -41921,9 +42101,9 @@ function Pz({ icon: e, title: t, actions: n, children: r, size: i = "standard" }});}// src/react/components/sprite-glyph.tsx-var Fz = /* @__PURE__ */ new Map();-function Iz(e) {- let t = Fz.get(e);+var Bz = /* @__PURE__ */ new Map();+function Vz(e) {+ let t = Bz.get(e);if (t) return t;let { wide: n, viewBox: r } = rn(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,@@ -41939,10 +42119,10 @@ function Iz(e) {className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});- return i.displayName = `SpriteGlyph(${e})`, Fz.set(e, i), i;+ return i.displayName = `SpriteGlyph(${e})`, Bz.set(e, i), i;}// src/react/components/settings-dialog-close.tsx-function Lz({ label: e, id: t, onPress: n }) {+function Hz({ label: e, id: t, onPress: n }) {return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",id: t,@@ -41957,60 +42137,60 @@ function Lz({ label: e, id: t, onPress: n }) {});}// src/react/settings/busy-props.ts-function Rz(e) {+function Uz(e) {return e ? {"aria-busy": !0,"aria-disabled": !0} : {};}// src/react/library-shortcuts/library-shortcuts.ts-var zz = ["library-shortcuts"], Bz = "/api/library-shortcuts";-function Vz(e = !0) {+var Wz = ["library-shortcuts"], Gz = "/api/library-shortcuts";+function Kz(e = !0) {return Pt({- queryKey: zz,- queryFn: ({ signal: e }) => B(Bz, e),+ queryKey: Wz,+ queryFn: ({ signal: e }) => B(Gz, e),enabled: e,refetchOnMount: e ? "always" : !1});}-function Hz() {+function qz() {return Ft({- mutationKey: zz,- mutationFn: (e) => V(Bz, e),+ mutationKey: Wz,+ mutationFn: (e) => V(Gz, e),onSuccess: (e, t) => {- H.setQueryData(zz, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));+ H.setQueryData(Wz, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));}});}-function Uz(e, t) {+function Jz(e, t) {return e.some((e) => t.scope === "online" ? e.scope === "online" && e.tag_id === t.tag_id : e.scope !== "online" && (t.entity_id ? e.entity_id === t.entity_id : e.kind === t.kind && e.name === t.name));}-function Ope(e) {+function Ype(e) {return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : hn(e.kind, e.name, e.entity_id);}// src/react/library-shortcuts/shortcut-controls.tsx-var Wz = Iz("star"), kpe = Iz("bookmark-plus"), Gz = Iz("chevron-right"), Kz = {+var Yz = Vz("star"), Xpe = Vz("bookmark-plus"), Xz = Vz("chevron-right"), Zz = {performer: "艺人",creator: "创作者",studio: "片商与厂牌",series: "系列",agency: "事务所",tag: "标签"-}, qz = {- all: Iz("star"),- performer: Iz("user-round"),- creator: Iz("user-round"),- studio: Iz("clapperboard"),- series: Iz("film"),- agency: Iz("briefcase"),- tag: Iz("tags"),- filters: Iz("list-filter")-}, Jz = [+}, Qz = {+ all: Vz("star"),+ performer: Vz("user-round"),+ creator: Vz("user-round"),+ studio: Vz("clapperboard"),+ series: Vz("film"),+ agency: Vz("briefcase"),+ tag: Vz("tags"),+ filters: Vz("list-filter")+}, $z = [["all", "全部"],- ...Object.entries(Kz),+ ...Object.entries(Zz),["filters", "保存的筛选"]];-function Yz({ label: e, children: t, ...n }) {+function eB({ label: e, children: t, ...n }) {return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",...n,@@ -42020,19 +42200,19 @@ function Yz({ label: e, children: t, ...n }) {children: t});}-function Xz({ item: e }) {- return /* @__PURE__ */ (0, F.jsx)(Ape, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);+function tB({ item: e }) {+ return /* @__PURE__ */ (0, F.jsx)(Zpe, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);}-function Ape({ item: e }) {- let t = Vz(!1), n = (0, P.useRef)(t.data), r = Hz(), i = t.data && t.data !== n.current ? Uz(t.data.favorites || [], e) : e.favorite ?? (t.data ? Uz(t.data.favorites || [], e) : !1);+function Zpe({ item: e }) {+ let t = Kz(!1), n = (0, P.useRef)(t.data), r = qz(), i = t.data && t.data !== n.current ? Jz(t.data.favorites || [], e) : e.favorite ?? (t.data ? Jz(t.data.favorites || [], e) : !1);return /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex min-w-0 flex-col gap-1",children: [- /* @__PURE__ */ (0, F.jsx)(Yz, {+ /* @__PURE__ */ (0, F.jsx)(eB, {"data-favorite": "","aria-pressed": !!i,label: `${i ? "取消收藏" : "收藏"}${e.name}`,- ...Rz(r.isPending),+ ...Uz(r.isPending),onClick: () => {r.isPending || r.mutate({action: "favorite",@@ -42043,9 +42223,9 @@ function Ape({ item: e }) {children: r.isPending ? /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,dangerouslySetInnerHTML: { __html: xs("") }- }) : /* @__PURE__ */ (0, F.jsx)(Wz, {})+ }) : /* @__PURE__ */ (0, F.jsx)(Yz, {})}),- r.isError ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ r.isError ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: Wn(r.error)}) : null,@@ -42059,37 +42239,37 @@ function Ape({ item: e }) {]});}-function Zz({ currentHref: e, kind: t }) {+function nB({ currentHref: e, kind: t }) {let [n, r] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-shortcuts-entry": "",- children: /* @__PURE__ */ (0, F.jsx)(qF, {+ children: /* @__PURE__ */ (0, F.jsx)(nI, {"data-shortcuts-trigger": "",label: "我的收藏",- icon: Wz,+ icon: Yz,"aria-haspopup": "dialog","aria-expanded": n,onPress: () => r(!0)})- }), /* @__PURE__ */ (0, F.jsx)(jz, {+ }), /* @__PURE__ */ (0, F.jsx)(Iz, {isOpen: n,onOpenChange: r,width: "collections",label: "我的收藏",- children: n ? /* @__PURE__ */ (0, F.jsx)(jpe, {+ children: n ? /* @__PURE__ */ (0, F.jsx)(Qpe, {currentHref: e,kind: t,close: () => r(!1)}) : null})] });}-function jpe({ currentHref: e, kind: t, close: n }) {- let r = Vz(), i = Hz(), [a, o] = (0, P.useState)(""), [s, c] = (0, P.useState)(t || "all"), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), p = (0, P.useId)(), [m, h] = (0, P.useState)(() => matchMedia("(max-width: 760px)").matches);+function Qpe({ currentHref: e, kind: t, close: n }) {+ let r = Kz(), i = qz(), [a, o] = (0, P.useState)(""), [s, c] = (0, P.useState)(t || "all"), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), p = (0, P.useId)(), [m, h] = (0, P.useState)(() => matchMedia("(max-width: 760px)").matches);(0, P.useEffect)(() => {let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);return e.addEventListener("change", t), () => e.removeEventListener("change", t);}, []);- let g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(s), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = nI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });+ let g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(s), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = dI(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });(0, P.useLayoutEffect)(() => {b.current && (x.current = yo(b.current) || null);}, []), (0, P.useLayoutEffect)(() => {@@ -42102,7 +42282,7 @@ function jpe({ currentHref: e, kind: t, close: n }) {}, [s]), (0, P.useLayoutEffect)(() => {x.current?.();});- let C = Jz.find(([e]) => e === s)?.[1] || "全部", w = (e) => {+ let C = $z.find(([e]) => e === s)?.[1] || "全部", w = (e) => {let t = [...e.currentTarget.querySelectorAll("[role=\"tab\"]")], n = t.indexOf(e.target);if (n < 0) return;let r = e.key === "Home" ? 0 : e.key === "End" ? t.length - 1 : ["ArrowDown", "ArrowRight"].includes(e.key) ? (n + 1) % t.length : ["ArrowUp", "ArrowLeft"].includes(e.key) ? (n + t.length - 1) % t.length : -1;@@ -42125,7 +42305,7 @@ function jpe({ currentHref: e, kind: t, close: n }) {children: [/* @__PURE__ */ (0, F.jsx)("h2", {className: "text-title-2-semibold text-text-primary",children: C- }), /* @__PURE__ */ (0, F.jsx)(Lz, {+ }), /* @__PURE__ */ (0, F.jsx)(Hz, {label: "关闭我的收藏",onPress: n})]@@ -42155,8 +42335,8 @@ function jpe({ currentHref: e, kind: t, close: n }) {role: "presentation",children: "我的收藏"}),- Jz.map(([e, t]) => {- let n = qz[e] || Wz, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;+ $z.map(([e, t]) => {+ let n = Qz[e] || Yz, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",role: "tab",@@ -42188,17 +42368,17 @@ function jpe({ currentHref: e, kind: t, close: n }) {href: "/flagged",onClick: n,children: [- /* @__PURE__ */ (0, F.jsx)(Wz, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, F.jsx)(Yz, { "aria-hidden": !0 }),"已标记",- /* @__PURE__ */ (0, F.jsx)(Gz, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, F.jsx)(Xz, { "aria-hidden": !0 })]}), /* @__PURE__ */ (0, F.jsxs)("a", {href: "/watch-later",onClick: n,children: [- /* @__PURE__ */ (0, F.jsx)(kpe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, F.jsx)(Xpe, { "aria-hidden": !0 }),"稍后看",- /* @__PURE__ */ (0, F.jsx)(Gz, { "aria-hidden": !0 })+ /* @__PURE__ */ (0, F.jsx)(Xz, { "aria-hidden": !0 })]})]})]@@ -42217,7 +42397,7 @@ function jpe({ currentHref: e, kind: t, close: n }) {"data-skeleton": "",className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"}) : null,- r.isError ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ r.isError ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -42226,16 +42406,16 @@ function jpe({ currentHref: e, kind: t, close: n }) {}),children: Wn(r.error)}) : null,- i.isError ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ i.isError ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: Wn(i.error)}) : null,E ? s === "filters" ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- E.filters.length ? null : /* @__PURE__ */ (0, F.jsx)(Pz, {+ E.filters.length ? null : /* @__PURE__ */ (0, F.jsx)(zz, {size: "compact",- icon: Iz("list-filter"),+ icon: Vz("list-filter"),title: "还没有保存的筛选",- actions: /* @__PURE__ */ (0, F.jsx)(iI, {+ actions: /* @__PURE__ */ (0, F.jsx)(pI, {size: "small",href: "/",onClick: n,@@ -42254,7 +42434,7 @@ function jpe({ currentHref: e, kind: t, close: n }) {variant: "secondary",size: "small","aria-label": `删除筛选${e.name}`,- ...Rz(i.isPending),+ ...Uz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "delete_filter",@@ -42269,7 +42449,7 @@ function jpe({ currentHref: e, kind: t, close: n }) {className: "flex flex-col gap-3","aria-label": "保存当前筛选",children: [- /* @__PURE__ */ (0, F.jsx)(Az, {+ /* @__PURE__ */ (0, F.jsx)(Fz, {label: "筛选名称",value: a,onChange: o,@@ -42278,7 +42458,7 @@ function jpe({ currentHref: e, kind: t, close: n }) {/* @__PURE__ */ (0, F.jsx)(q, {type: "submit",disabled: !a.trim(),- ...Rz(i.isPending),+ ...Uz(i.isPending),children: "保存当前筛选"}),d ? /* @__PURE__ */ (0, F.jsx)("span", {@@ -42289,16 +42469,16 @@ function jpe({ currentHref: e, kind: t, close: n }) {]}) : null] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(Az, {+ /* @__PURE__ */ (0, F.jsx)(Fz, {"aria-label": "搜索收藏",placeholder: "搜索收藏",- leadingIcon: Iz("search"),+ leadingIcon: Vz("search"),value: l,onChange: u}),- D.length ? null : /* @__PURE__ */ (0, F.jsx)(Pz, {+ D.length ? null : /* @__PURE__ */ (0, F.jsx)(zz, {size: "compact",- icon: Wz,+ icon: Yz,title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",actions: l ? /* @__PURE__ */ (0, F.jsx)(q, {size: "small",@@ -42308,7 +42488,7 @@ function jpe({ currentHref: e, kind: t, close: n }) {size: "small",onClick: () => c("all"),children: "查看全部收藏"- }) : /* @__PURE__ */ (0, F.jsx)(iI, {+ }) : /* @__PURE__ */ (0, F.jsx)(pI, {size: "small",href: "/",onClick: n,@@ -42322,25 +42502,25 @@ function jpe({ currentHref: e, kind: t, close: n }) {"data-shortcuts-row": "",className: "flex min-w-0 items-center justify-between gap-3",children: [/* @__PURE__ */ (0, F.jsxs)("a", {- href: Ope(e),+ href: Ype(e),"aria-label": e.name,onClick: n,className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",- children: [/* @__PURE__ */ (0, F.jsx)(Mpe, { item: e }, e.image_url), /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)($pe, { item: e }, e.image_url), /* @__PURE__ */ (0, F.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "truncate",children: e.name}), /* @__PURE__ */ (0, F.jsx)("span", {className: "text-caption-1-regular text-text-secondary",- children: e.scope === "online" ? "在线标签" : Kz[e.kind]+ children: e.scope === "online" ? "在线标签" : Zz[e.kind]})]})]}), /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small","aria-label": `取消收藏${e.name}`,- ...Rz(i.isPending),+ ...Uz(i.isPending),onClick: () => {i.isPending || i.mutate({action: "favorite",@@ -42358,8 +42538,8 @@ function jpe({ currentHref: e, kind: t, close: n }) {]});}-function Mpe({ item: e }) {- let t = qz[e.kind] || Wz;+function $pe({ item: e }) {+ let t = Qz[e.kind] || Yz;return /* @__PURE__ */ (0, F.jsxs)("span", {"data-shortcuts-avatar": "",title: e.image_label || e.name,@@ -42377,19 +42557,19 @@ function Mpe({ item: e }) {});}// node_modules/react-router/dist/production/lib/router/url.js-var Npe = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, Qz = /^[\\/]{2}/;-function Ppe(e, t) {+var eme = /^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i, rB = /^[\\/]{2}/;+function tme(e, t) {return t + e.replace(/\\/g, "/");}// node_modules/react-router/dist/production/lib/router/history.js-var $z = "popstate";-function eB(e) {+var iB = "popstate";+function aB(e) {return typeof e == "object" && !!e && "pathname" in e && "search" in e && "hash" in e && "state" in e && "key" in e;}-function Fpe(e = {}) {+function nme(e = {}) {function t(e, t) {let n = t.state?.masked, { pathname: r, search: i, hash: a } = n || e.location;- return iB("", {+ return lB("", {pathname: r,search: i,hash: a@@ -42400,14 +42580,14 @@ function Fpe(e = {}) {} : void 0);}function n(e, t) {- return typeof t == "string" ? t : aB(t);+ return typeof t == "string" ? t : uB(t);}- return Lpe(t, n, null, e);+ return ime(t, n, null, e);}-function tB(e, t) {+function oB(e, t) {if (e === !1 || e == null) throw Error(t);}-function nB(e, t) {+function sB(e, t) {if (!e) {typeof console < "u" && console.warn(t);try {@@ -42415,10 +42595,10 @@ function nB(e, t) {} catch {}}}-function Ipe() {+function rme() {return Math.random().toString(36).substring(2, 10);}-function rB(e, t) {+function cB(e, t) {return {usr: e.state,key: e.key,@@ -42430,21 +42610,21 @@ function rB(e, t) {} : void 0};}-function iB(e, t, n = null, r, i) {+function lB(e, t, n = null, r, i) {return {pathname: typeof e == "string" ? e : e.pathname,search: "",hash: "",- ...typeof t == "string" ? oB(t) : t,+ ...typeof t == "string" ? dB(t) : t,state: n,- key: t && t.key || r || Ipe(),+ key: t && t.key || r || rme(),mask: i};}-function aB({ pathname: e = "/", search: t = "", hash: n = "" }) {+function uB({ 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 oB(e) {+function dB(e) {let t = {};if (e) {let n = e.indexOf("#");@@ -42454,7 +42634,7 @@ function oB(e) {}return t;}-function Lpe(e, t, n, r = {}) {+function ime(e, t, n, r = {}) {let { window: i = document.defaultView, v5Compat: a = !1 } = r, o = i.history, s = "POP", c = null, l = u();l ?? (l = 0, o.replaceState({...o.state,@@ -42474,9 +42654,9 @@ function Lpe(e, t, n, r = {}) {}function f(e, t) {s = "PUSH";- let r = eB(e) ? e : iB(h.location, e, t);+ let r = aB(e) ? e : lB(h.location, e, t);n && n(r, e), l = u() + 1;- let d = rB(r, l), f = h.createHref(r.mask || r);+ let d = cB(r, l), f = h.createHref(r.mask || r);try {o.pushState(d, "", f);} catch (e) {@@ -42491,9 +42671,9 @@ function Lpe(e, t, n, r = {}) {}function p(e, t) {s = "REPLACE";- let r = eB(e) ? e : iB(h.location, e, t);+ let r = aB(e) ? e : lB(h.location, e, t);n && n(r, e), l = u();- let i = rB(r, l), d = h.createHref(r.mask || r);+ let i = cB(r, l), d = h.createHref(r.mask || r);o.replaceState(i, "", d), a && c && c({action: s,location: h.location,@@ -42501,7 +42681,7 @@ function Lpe(e, t, n, r = {}) {});}function m(e) {- return Rpe(i, e);+ return ame(i, e);}let h = {get action() {@@ -42512,8 +42692,8 @@ function Lpe(e, t, n, r = {}) {},listen(e) {if (c) throw Error("A history only accepts one active listener");- return i.addEventListener($z, d), c = e, () => {- i.removeEventListener($z, d), c = null;+ return i.addEventListener(iB, d), c = e, () => {+ i.removeEventListener(iB, d), c = null;};},createHref(e) {@@ -42536,28 +42716,28 @@ function Lpe(e, t, n, r = {}) {};return h;}-function Rpe(e, t, n = !1) {+function ame(e, t, n = !1) {let r = "http://localhost";- e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), tB(r, "No window.location.(origin|href) available to create URL");- let i = typeof t == "string" ? t : aB(t);- return i = i.replace(/ $/, "%20"), !n && Qz.test(i) && (i = r + i), new URL(i, r);+ e && (r = e.location.origin === "null" ? e.location.href : e.location.origin), oB(r, "No window.location.(origin|href) available to create URL");+ let i = typeof t == "string" ? t : uB(t);+ return i = i.replace(/ $/, "%20"), !n && rB.test(i) && (i = r + i), new URL(i, r);}// node_modules/react-router/dist/production/lib/router/utils.js-function zpe(e, t, n = "/") {- return Bpe(e, t, n, !1);+function ome(e, t, n = "/") {+ return sme(e, t, n, !1);}-function Bpe(e, t, n, r, i) {- let a = pB((typeof t == "string" ? oB(t) : t).pathname || "/", n);+function sme(e, t, n, r, i) {+ let a = vB((typeof t == "string" ? dB(t) : t).pathname || "/", n);if (a == null) return null;- let o = i ?? Vpe(e), s = null, c = eme(a);- for (let e = 0; s == null && e < o.length; ++e) s = $pe(o[e], c, r);+ let o = i ?? cme(e), s = null, c = xme(a);+ for (let e = 0; s == null && e < o.length; ++e) s = bme(o[e], c, r);return s;}-function Vpe(e) {- let t = sB(e);- return Hpe(t), t;+function cme(e) {+ let t = fB(e);+ return lme(t), t;}-function sB(e, t = [], n = [], r = "", i = !1) {+function fB(e, t = [], n = [], r = "", i = !1) {let a = (e, a, o = i, s) => {let c = {relativePath: s === void 0 ? e.path || "" : s,@@ -42567,14 +42747,14 @@ function sB(e, t = [], n = [], r = "", i = !1) {};if (c.relativePath.startsWith("/")) {if (!c.relativePath.startsWith(r) && o) return;- tB(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);+ oB(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 = _B([r, c.relativePath]), u = n.concat(c);- e.children && e.children.length > 0 && (tB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), sB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({+ let l = SB([r, c.relativePath]), u = n.concat(c);+ e.children && e.children.length > 0 && (oB(e.index !== !0, `Index routes must not have child routes. Please remove all child routes from route path "${l}".`), fB(e.children, t, u, l, o)), (e.path != null || e.index) && t.push({path: l,- score: Zpe(l, e.index),+ score: vme(l, e.index),routesMeta: u.map((e, t) => {- let [n, r] = fB(e.relativePath, e.caseSensitive, t === u.length - 1);+ let [n, r] = _B(e.relativePath, e.caseSensitive, t === u.length - 1);return {...e,matcher: n,@@ -42585,68 +42765,68 @@ function sB(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 cB(e.path)) a(e, t, !0, n);+ else for (let n of pB(e.path)) a(e, t, !0, n);}), t;}-function cB(e) {+function pB(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 = cB(r.join("/")), s = [];+ let o = pB(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 Hpe(e) {- e.sort((e, t) => e.score === t.score ? Qpe(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);+function lme(e) {+ e.sort((e, t) => e.score === t.score ? yme(e.routesMeta.map((e) => e.childrenIndex), t.routesMeta.map((e) => e.childrenIndex)) : t.score - e.score);}-var Upe = /^:[\w-]+$/, Wpe = /^:[\w-]+/, Gpe = 3.5, Kpe = 3, qpe = 2, Jpe = 1, Ype = 10, Xpe = -2, lB = (e) => e === "*";-function Zpe(e, t) {+var ume = /^:[\w-]+$/, dme = /^:[\w-]+/, fme = 3.5, pme = 3, mme = 2, hme = 1, gme = 10, _me = -2, mB = (e) => e === "*";+function vme(e, t) {let n = e.split("/"), r = n.length;- return n.some(lB) && (r += Xpe), t && (r += qpe), n.filter((e) => !lB(e)).reduce((e, t) => e + (Upe.test(t) ? Kpe : Wpe.test(t) ? Gpe : t === "" ? Jpe : Ype), r);+ return n.some(mB) && (r += _me), t && (r += mme), n.filter((e) => !mB(e)).reduce((e, t) => e + (ume.test(t) ? pme : dme.test(t) ? fme : t === "" ? hme : gme), r);}-function Qpe(e, t) {+function yme(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 $pe(e, t, n = !1) {+function bme(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 ? dB(u, l, s.matcher, s.compiledParams) : uB(u, l), f = s.route;- if (!d && c && n && !r[r.length - 1].route.index && (d = uB({+ }, d = s.matcher && s.compiledParams ? gB(u, l, s.matcher, s.compiledParams) : hB(u, l), f = s.route;+ if (!d && c && n && !r[r.length - 1].route.index && (d = hB({path: s.relativePath,caseSensitive: s.caseSensitive,end: !1}, l)), !d) return null;Object.assign(i, d.params), o.push({params: i,- pathname: _B([a, d.pathname]),- pathnameBase: ame(_B([a, d.pathnameBase])),+ pathname: SB([a, d.pathname]),+ pathnameBase: Eme(SB([a, d.pathnameBase])),route: f- }), d.pathnameBase !== "/" && (a = _B([a, d.pathnameBase]));+ }), d.pathnameBase !== "/" && (a = SB([a, d.pathnameBase]));}return o;}-function uB(e, t) {+function hB(e, t) {typeof e == "string" && (e = {path: e,caseSensitive: !1,end: !0});- let [n, r] = fB(e.path, e.caseSensitive, e.end);- return dB(e, t, n, r);+ let [n, r] = _B(e.path, e.caseSensitive, e.end);+ return gB(e, t, n, r);}-function dB(e, t, n, r) {+function gB(e, t, n, r) {let i = t.match(n);if (!i) return null;- let a = i[0], o = vB(a, 1), s = i.slice(1);+ let a = i[0], o = CB(a, 1), s = i.slice(1);return {params: r.reduce((e, { paramName: t, isOptional: n }, r) => {if (t === "*") {let e = s[r] || "";- o = vB(a.slice(0, a.length - e.length), 1);+ o = CB(a.slice(0, a.length - e.length), 1);}let i = s[r];return e[t] = n && !i ? void 0 : (i || "").replace(/%2F/g, "/"), e;@@ -42656,8 +42836,8 @@ function dB(e, t, n, r) {pattern: e};}-function fB(e, t = !1, n = !0) {- nB(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 _B(e, t = !1, n = !0) {+ sB(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,@@ -42670,46 +42850,46 @@ function fB(e, t = !1, n = !0) {}).replace(/\/((?:[^/?()[\]*^\\]|\\.)+)\?(?=\/|$|\()/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 eme(e) {+function xme(e) {try {return e.split("/").map((e) => decodeURIComponent(e).replace(/\//g, "%2F")).join("/");} catch (t) {- return nB(!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 sB(!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 pB(e, t) {+function vB(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 tme(e, t = "/") {- let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? oB(e) : e, a;- return n ? (n = gB(n), a = n.startsWith("/") || n.startsWith("\\") ? mB(n.substring(1), "/") : mB(n, t)) : a = t, {+function Sme(e, t = "/") {+ let { pathname: n, search: r = "", hash: i = "" } = typeof e == "string" ? dB(e) : e, a;+ return n ? (n = xB(n), a = n.startsWith("/") || n.startsWith("\\") ? yB(n.substring(1), "/") : yB(n, t)) : a = t, {pathname: a,- search: ome(r),- hash: sme(i)+ search: Dme(r),+ hash: Ome(i)};}-function mB(e, t) {- let n = vB(t).split("/");+function yB(e, t) {+ let n = CB(t).split("/");return e.split("/").forEach((e) => {e === ".." ? n.length > 1 && n.pop() : e !== "." && n.push(e);}), n.length > 1 ? n.join("/") : "/";}-function hB(e, t, n, r) {+function bB(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 nme(e) {+function Cme(e) {return e.filter((e, t) => t === 0 || e.route.path && e.route.path.length > 0);}-function rme(e) {- let t = nme(e);+function wme(e) {+ let t = Cme(e);return t.map((e, n) => n === t.length - 1 ? e.pathname : e.pathnameBase);}-function ime(e, t, n, r = !1) {+function Tme(e, t, n, r = !1) {let i;- typeof e == "string" ? i = oB(e) : (i = { ...e }, tB(!i.pathname || !i.pathname.includes("?"), hB("?", "pathname", "search", i)), tB(!i.pathname || !i.pathname.includes("#"), hB("#", "pathname", "hash", i)), tB(!i.search || !i.search.includes("#"), hB("#", "search", "hash", i)));+ typeof e == "string" ? i = dB(e) : (i = { ...e }, oB(!i.pathname || !i.pathname.includes("?"), bB("?", "pathname", "search", i)), oB(!i.pathname || !i.pathname.includes("#"), bB("#", "pathname", "hash", i)), oB(!i.search || !i.search.includes("#"), bB("#", "search", "hash", i)));let a = e === "" || i.pathname === "", o = a ? "/" : i.pathname, s;if (o == null) s = n;else {@@ -42721,16 +42901,16 @@ function ime(e, t, n, r = !1) {}s = e >= 0 ? t[e] : "/";}- let c = tme(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");+ let c = Sme(i, s), l = o && o !== "/" && o.endsWith("/"), u = (a || o === ".") && n.endsWith("/");return !c.pathname.endsWith("/") && (l || u) && (c.pathname += "/"), c;}-var gB = (e) => e.replace(/[\\/]{2,}/g, "/"), _B = (e) => gB(e.join("/"));-function vB(e, t = 0) {+var xB = (e) => e.replace(/[\\/]{2,}/g, "/"), SB = (e) => xB(e.join("/"));+function CB(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 ame = (e) => vB(e).replace(/^\/*/, "/"), ome = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, sme = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, cme = class {+var Eme = (e) => CB(e).replace(/^\/*/, "/"), Dme = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Ome = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, kme = class {status;statusText;data;@@ -42740,26 +42920,26 @@ var ame = (e) => vB(e).replace(/^\/*/, "/"), ome = (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 lme(e) {+function Ame(e) {return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.internal == "boolean" && "data" in e;}-function ume(e) {- return _B(e.map((e) => e.route.path).filter(Boolean)) || "/";+function jme(e) {+ return SB(e.map((e) => e.route.path).filter(Boolean)) || "/";}-var yB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;-function dme(e, t) {+var wB = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0;+function Mme(e, t) {let n = e;- if (typeof n != "string" || !Npe.test(n)) return {+ if (typeof n != "string" || !eme.test(n)) return {absoluteURL: void 0,isExternal: !1,to: n};let r = n, i = !1;- if (yB) try {- let e = new URL(window.location.href), r = Qz.test(n) ? new URL(Ppe(n, e.protocol)) : new URL(n), a = pB(r.pathname, t);+ if (wB) try {+ let e = new URL(window.location.href), r = rB.test(n) ? new URL(tme(n, e.protocol)) : new URL(n), a = vB(r.pathname, t);r.origin === e.origin && a != null ? n = a + r.search + r.hash : i = !0;} catch {- nB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);+ sB(!1, `<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`);}return {absoluteURL: r,@@ -42768,44 +42948,44 @@ function dme(e, t) {};}// node_modules/react-router/dist/production/lib/router/navigation.js-var bB = new URL("http://localhost");-function xB(e) {+var TB = new URL("http://localhost");+function EB(e) {if (e.createURL) return e.createURL("/");try {- return new URL(e.createHref("/"), bB);+ return new URL(e.createHref("/"), TB);} catch {- return bB;+ return TB;}}-function SB(e, t) {+function DB(e, t) {return e.origin === t.origin && (e.origin !== "null" || e.protocol === t.protocol && e.host === t.host);}-function fme(e, t) {+function Nme(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 CB(e, t, n, r) {+function OB(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 && !SB(i, n), s = !SB(a, n);+ let a = new URL(t, n), o = i != null && !DB(i, n), s = !DB(a, n);if (r === "reject") {if (o || s) throw Error("External navigation is not allowed");- } else if (s && (i == null || !fme(e, i) || !SB(i, a))) throw Error("External navigation is not allowed");+ } else if (s && (i == null || !Nme(e, i) || !DB(i, a))) throw Error("External navigation is not allowed");}// node_modules/react-router/dist/production/lib/router/router.js-var wB = [+var kB = ["POST","PUT","PATCH","DELETE"];-new Set(wB);-var pme = ["GET", ...wB];-new Set(pme);-var mme = [+new Set(kB);+var Pme = ["GET", ...kB];+new Set(Pme);+var Fme = ["about:","blob:","chrome:",@@ -42817,82 +42997,82 @@ var mme = ["filesystem:","javascript:"];-function hme(e) {+function Ime(e) {try {- return mme.includes(new URL(e).protocol);+ return Fme.includes(new URL(e).protocol);} catch {return !1;}}// node_modules/react-router/dist/production/lib/context.js-var TB = P.createContext(null);-TB.displayName = "DataRouter";-var gme = P.createContext(null);-gme.displayName = "DataRouterState";-var EB = P.createContext(null);-EB.displayName = "DataRouterData";-var _me = P.createContext(null);-_me.displayName = "DataRouterNavigation";-var vme = P.createContext(!1), yme = P.createContext({ isTransitioning: !1 });-yme.displayName = "ViewTransition";-var bme = P.createContext(null);-bme.displayName = "Fetchers";-var xme = P.createContext(null);-xme.displayName = "Await";-var DB = P.createContext(null);-DB.displayName = "Navigation";-var OB = P.createContext(null);-OB.displayName = "Location";-var kB = P.createContext({+var AB = P.createContext(null);+AB.displayName = "DataRouter";+var Lme = P.createContext(null);+Lme.displayName = "DataRouterState";+var jB = P.createContext(null);+jB.displayName = "DataRouterData";+var Rme = P.createContext(null);+Rme.displayName = "DataRouterNavigation";+var zme = P.createContext(!1), Bme = P.createContext({ isTransitioning: !1 });+Bme.displayName = "ViewTransition";+var Vme = P.createContext(null);+Vme.displayName = "Fetchers";+var Hme = P.createContext(null);+Hme.displayName = "Await";+var MB = P.createContext(null);+MB.displayName = "Navigation";+var NB = P.createContext(null);+NB.displayName = "Location";+var PB = P.createContext({outlet: null,matches: [],isDataRoute: !1});-kB.displayName = "Route";-var AB = P.createContext(!1);-AB.displayName = "IsDataRoute";-var jB = P.createContext(void 0);-jB.displayName = "RouteId";-var MB = P.createContext(null);-MB.displayName = "RouteError";+PB.displayName = "Route";+var FB = P.createContext(!1);+FB.displayName = "IsDataRoute";+var IB = P.createContext(void 0);+IB.displayName = "RouteId";+var LB = P.createContext(null);+LB.displayName = "RouteError";// node_modules/react-router/dist/production/lib/errors.js-var NB = "REACT_ROUTER_ERROR", Sme = "REDIRECT", Cme = "ROUTE_ERROR_RESPONSE";-function wme(e) {- if (e.startsWith(`${NB}:${Sme}:{`)) try {+var RB = "REACT_ROUTER_ERROR", Ume = "REDIRECT", Wme = "ROUTE_ERROR_RESPONSE";+function Gme(e) {+ if (e.startsWith(`${RB}:${Ume}:{`)) 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 Tme(e) {- if (e.startsWith(`${NB}:${Cme}:{`)) try {+function Kme(e) {+ if (e.startsWith(`${RB}:${Wme}:{`)) try {let t = JSON.parse(e.slice(40));- if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new cme(t.status, t.statusText, t.data);+ if (typeof t == "object" && t && typeof t.status == "number" && typeof t.statusText == "string") return new kme(t.status, t.statusText, t.data);} catch {}}// node_modules/react-router/dist/production/lib/hooks.js-function PB() {- return P.useContext(OB) != null;+function zB() {+ return P.useContext(NB) != null;}-function FB() {- return tB(PB(), "useLocation() may be used only in the context of a <Router> component."), P.useContext(OB).location;+function BB() {+ return oB(zB(), "useLocation() may be used only in the context of a <Router> component."), P.useContext(NB).location;}-var IB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";-function Eme() {- return P.useContext(AB) ? Rme() : Dme();+var VB = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";+function qme() {+ return P.useContext(FB) ? ahe() : Jme();}-function Dme() {- tB(PB(), "useNavigate() may be used only in the context of a <Router> component.");- let e = P.useContext(TB), { basename: t, navigator: n } = P.useContext(DB), { matches: r } = P.useContext(kB), { pathname: i } = FB(), a = JSON.stringify(rme(r)), o = P.useRef(!1);+function Jme() {+ oB(zB(), "useNavigate() may be used only in the context of a <Router> component.");+ let e = P.useContext(AB), { basename: t, navigator: n } = P.useContext(MB), { matches: r } = P.useContext(PB), { pathname: i } = BB(), a = JSON.stringify(wme(r)), o = P.useRef(!1);return P.useLayoutEffect(() => {o.current = !0;}), P.useCallback((r, s = {}) => {- if (nB(o.current, IB), !o.current) return;+ if (sB(o.current, VB), !o.current) return;if (typeof r == "number") {n.go(r);return;}- let c = ime(r, JSON.parse(a), i, s.relative === "path");- e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : _B([t, c.pathname])), CB(typeof r == "string" ? r : aB(r), n.createHref(c), xB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);+ let c = Tme(r, JSON.parse(a), i, s.relative === "path");+ e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : SB([t, c.pathname])), OB(typeof r == "string" ? r : uB(r), n.createHref(c), EB(n), "reject"), (s.replace ? n.replace : n.push)(c, s.state, s);}, [t,n,@@ -42902,19 +43082,19 @@ function Dme() {]);}P.createContext(null);-function Ome(e, t) {- return LB(e, t);+function Yme(e, t) {+ return HB(e, t);}-function LB(e, t, n) {- tB(PB(), "useRoutes() may be used only in the context of a <Router> component.");- let { navigator: r } = P.useContext(DB), { matches: i } = P.useContext(kB), a = i[i.length - 1], o = a ? a.params : {};+function HB(e, t, n) {+ oB(zB(), "useRoutes() may be used only in the context of a <Router> component.");+ let { navigator: r } = P.useContext(MB), { matches: i } = P.useContext(PB), a = i[i.length - 1], o = a ? a.params : {};a && a.pathname;let s = a ? a.pathnameBase : "/";a && a.route;- let c = FB(), l;+ let c = BB(), l;if (t) {- let e = typeof t == "string" ? oB(t) : t;- tB(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" ? dB(t) : t;+ oB(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 !== "/") {@@ -42922,13 +43102,13 @@ function LB(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) : zpe(e, { pathname: d });- let p = Pme(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) : ome(e, { pathname: d });+ let p = the(f && f.map((e) => Object.assign({}, e, {params: Object.assign({}, o, e.params),- pathname: _B([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),- pathnameBase: e.pathnameBase === "/" ? s : _B([s, r.encodeLocation ? r.encodeLocation(e.pathnameBase.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathnameBase])+ pathname: SB([s, r.encodeLocation ? r.encodeLocation(e.pathname.replace(/%/g, "%25").replace(/\?/g, "%3F").replace(/#/g, "%23")).pathname : e.pathname]),+ pathnameBase: e.pathnameBase === "/" ? s : SB([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__ */ P.createElement(OB.Provider, { value: {+ return t && p ? /* @__PURE__ */ P.createElement(NB.Provider, { value: {location: {pathname: "/",search: "",@@ -42941,14 +43121,14 @@ function LB(e, t, n) {navigationType: "POP"} }, p) : p;}-function kme() {- let e = Lme(), t = lme(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;+function Xme() {+ let e = ihe(), t = Ame(e) ? `${e.status} ${e.statusText}` : e instanceof Error ? e.message : JSON.stringify(e), n = e instanceof Error ? e.stack : null;return /* @__PURE__ */ P.createElement(P.Fragment, null, /* @__PURE__ */ P.createElement("h2", null, "Unexpected Application Error!"), /* @__PURE__ */ P.createElement("h3", { style: { fontStyle: "italic" } }, t), n ? /* @__PURE__ */ P.createElement("pre", { style: {padding: "0.5rem",backgroundColor: "rgba(200,200,200, 0.5)"} }, n) : null, null);}-var Ame = /* @__PURE__ */ P.createElement(kme, null), jme = class extends P.Component {+var Zme = /* @__PURE__ */ P.createElement(Xme, null), Qme = class extends P.Component {constructor(e) {super(e), this.state = {location: e.location,@@ -42956,7 +43136,7 @@ var Ame = /* @__PURE__ */ P.createElement(kme, null), jme = class extends P.Comperror: e.error};}- static contextType = vme;+ static contextType = zme;static getDerivedStateFromError(e) {return { error: e };}@@ -42977,30 +43157,30 @@ var Ame = /* @__PURE__ */ P.createElement(kme, null), jme = class extends P.Comprender() {let e = this.state.error;if (this.context && typeof e == "object" && e && "digest" in e && typeof e.digest == "string") {- let t = Tme(e.digest);+ let t = Kme(e.digest);t && (e = t);}- let t = e === void 0 ? this.props.children : /* @__PURE__ */ P.createElement(kB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ P.createElement(AB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ P.createElement(jB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ P.createElement(MB.Provider, {+ let t = e === void 0 ? this.props.children : /* @__PURE__ */ P.createElement(PB.Provider, { value: this.props.routeContext }, /* @__PURE__ */ P.createElement(FB.Provider, { value: this.props.routeContext.isDataRoute }, /* @__PURE__ */ P.createElement(IB.Provider, { value: this.props.routeContext.matches[this.props.routeContext.matches.length - 1]?.route.id }, /* @__PURE__ */ P.createElement(LB.Provider, {value: e,children: this.props.component}))));- return this.context ? /* @__PURE__ */ P.createElement(Mme, { error: e }, t) : t;+ return this.context ? /* @__PURE__ */ P.createElement($me, { error: e }, t) : t;}-}, RB = /* @__PURE__ */ new WeakMap();-function Mme({ children: e, error: t }) {- let { basename: n, navigator: r } = P.useContext(DB);+}, UB = /* @__PURE__ */ new WeakMap();+function $me({ children: e, error: t }) {+ let { basename: n, navigator: r } = P.useContext(MB);if (typeof t == "object" && t && "digest" in t && typeof t.digest == "string") {- let e = wme(t.digest);+ let e = Gme(t.digest);if (e) {- let i = RB.get(t);+ let i = UB.get(t);if (i) throw i;- let a = dme(e.location, n), o = a.absoluteURL || a.to;- if (CB(e.location, o, xB(r), "allow-explicit"), hme(o)) throw Error("Invalid redirect location");- if (yB && !RB.get(t)) {+ let a = Mme(e.location, n), o = a.absoluteURL || a.to;+ if (OB(e.location, o, EB(r), "allow-explicit"), Ime(o)) throw Error("Invalid redirect location");+ if (wB && !UB.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 RB.set(t, n), n;+ throw UB.set(t, n), n;}}return /* @__PURE__ */ P.createElement("meta", {@@ -43011,11 +43191,11 @@ function Mme({ children: e, error: t }) {}return e;}-function Nme({ routeContext: e, match: t, children: n }) {- let r = P.useContext(TB);- return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ P.createElement(kB.Provider, { value: e }, /* @__PURE__ */ P.createElement(AB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ P.createElement(jB.Provider, { value: t.route.id }, n)));+function ehe({ routeContext: e, match: t, children: n }) {+ let r = P.useContext(AB);+ return r && r.static && r.staticContext && (t.route.errorElement || t.route.ErrorBoundary) && (r.staticContext._deepestRenderedBoundaryId = t.route.id), /* @__PURE__ */ P.createElement(PB.Provider, { value: e }, /* @__PURE__ */ P.createElement(FB.Provider, { value: e.isDataRoute }, /* @__PURE__ */ P.createElement(IB.Provider, { value: t.route.id }, n)));}-function Pme(e, t = [], n) {+function the(e, t = [], n) {let r = n?.state;if (e == null) {if (!r) return null;@@ -43026,7 +43206,7 @@ function Pme(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);- tB(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));+ oB(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) {@@ -43046,16 +43226,16 @@ function Pme(e, t = [], n) {c(e, {location: r.location,params: r.matches?.[0]?.params ?? {},- pattern: ume(r.matches),+ pattern: jme(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 || Ame, o && (s < 0 && c === 0 ? (zme("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 || Zme, o && (s < 0 && c === 0 ? (ohe("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__ */ P.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ P.createElement(Nme, {+ return t = u ? f : d ? p : n.route.Component ? /* @__PURE__ */ P.createElement(n.route.Component, null) : n.route.element ? n.route.element : e, /* @__PURE__ */ P.createElement(ehe, {match: n,routeContext: {outlet: e,@@ -43065,7 +43245,7 @@ function Pme(e, t = [], n) {children: t});};- return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ P.createElement(jme, {+ return r && (n.route.ErrorBoundary || n.route.errorElement || c === 0) ? /* @__PURE__ */ P.createElement(Qme, {location: r.location,revalidation: r.revalidation,component: f,@@ -43080,50 +43260,50 @@ function Pme(e, t = [], n) {}) : h();}, null);}-function zB(e) {+function WB(e) {return `${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`;}-function Fme(e) {- let t = P.useContext(TB);- return tB(t, zB(e)), t;-}-function Ime(e) {- let t = P.useContext(EB);- return tB(t, zB(e)), t;+function nhe(e) {+ let t = P.useContext(AB);+ return oB(t, WB(e)), t;}-function BB(e) {+function rhe(e) {let t = P.useContext(jB);- return tB(t, `${e} can only be used on routes that contain a unique "id"`), t;+ return oB(t, WB(e)), t;+}+function GB(e) {+ let t = P.useContext(IB);+ return oB(t, `${e} can only be used on routes that contain a unique "id"`), t;}-function Lme() {- let e = P.useContext(MB), t = Ime("useRouteError"), n = BB("useRouteError");+function ihe() {+ let e = P.useContext(LB), t = rhe("useRouteError"), n = GB("useRouteError");return e === void 0 ? t.errors?.[n] : e;}-function Rme() {- let { router: e } = Fme("useNavigate"), t = BB("useNavigate"), n = P.useRef(!1);+function ahe() {+ let { router: e } = nhe("useNavigate"), t = GB("useNavigate"), n = P.useRef(!1);return P.useLayoutEffect(() => {n.current = !0;}), P.useCallback(async (r, i = {}) => {- nB(n.current, IB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {+ sB(n.current, VB), n.current && (typeof r == "number" ? await e.navigate(r) : await e.navigate(r, {fromRouteId: t,...i}));}, [e, t]);}-var VB = {};-function zme(e, t, n) {- !t && !VB[e] && (VB[e] = !0, nB(!1, n));+var KB = {};+function ohe(e, t, n) {+ !t && !KB[e] && (KB[e] = !0, sB(!1, n));}// node_modules/react-router/dist/production/lib/dom/ssr/components.js-var HB = P.createContext(void 0);-HB.displayName = "FrameworkContext", P.memo(Bme);-function Bme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {- let a = P.useContext(TB);- tB(a, "You must render this element inside a <DataRouterContext.Provider> element");- let o = P.useContext(HB)?.routeDiscoveryRuntime;+var qB = P.createContext(void 0);+qB.displayName = "FrameworkContext", P.memo(she);+function she({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {+ let a = P.useContext(AB);+ oB(a, "You must render this element inside a <DataRouterContext.Provider> element");+ let o = P.useContext(qB)?.routeDiscoveryRuntime;return P.useEffect(() => {n.initialized && o?.markReady();- }, [n.initialized, o]), LB(e, void 0, {+ }, [n.initialized, o]), HB(e, void 0, {router: a.router,manifest: t,state: n,@@ -43131,11 +43311,11 @@ function Bme({ routes: e, manifest: t, state: n, isStatic: r, onError: i }) {onError: i});}-function UB(e) {- tB(!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 JB(e) {+ oB(!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 Vme({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {- tB(!PB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");+function che({ basename: e = "/", children: t = null, location: n, navigationType: r = "POP", navigator: i, static: a = !1, useTransitions: o }) {+ oB(!zB(), "You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s = e.replace(/^\/*/, "/"), c = P.useMemo(() => ({basename: s,navigator: i,@@ -43148,9 +43328,9 @@ function Vme({ basename: e = "/", children: t = null, location: n, navigationTypa,o]);- typeof n == "string" && (n = oB(n));+ typeof n == "string" && (n = dB(n));let { pathname: l = "/", search: u = "", hash: d = "", state: f = null, key: p = "default", mask: m } = n, h = P.useMemo(() => {- let e = pB(l, s);+ let e = vB(l, s);return e == null ? null : {location: {pathname: e,@@ -43172,27 +43352,27 @@ function Vme({ basename: e = "/", children: t = null, location: n, navigationTypr,m]);- return nB(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__ */ P.createElement(DB.Provider, { value: c }, /* @__PURE__ */ P.createElement(OB.Provider, {+ return sB(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__ */ P.createElement(MB.Provider, { value: c }, /* @__PURE__ */ P.createElement(NB.Provider, {children: t,value: h}));}-function WB({ children: e, location: t }) {- return Ome(GB(e), t);+function YB({ children: e, location: t }) {+ return Yme(XB(e), t);}P.Component;-function GB(e, t = []) {+function XB(e, t = []) {let n = [];return P.Children.forEach(e, (e, r) => {if (!P.isValidElement(e)) return;let i = [...t, r];if (e.type === P.Fragment) {- n.push.apply(n, GB(e.props.children, i));+ n.push.apply(n, XB(e.props.children, i));return;}- tB(e.type === UB, `[${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>`);+ oB(e.type === JB, `[${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;- tB(!a.index || !a.children, "An index route cannot have child routes.");+ oB(!a.index || !a.children, "An index route cannot have child routes.");let o = {id: a.id || i.join("-"),caseSensitive: a.caseSensitive,@@ -43211,15 +43391,15 @@ function GB(e, t = []) {handle: a.handle,lazy: a.lazy};- a.children && (o.children = GB(a.children, i)), n.push(o);+ a.children && (o.children = XB(a.children, i)), n.push(o);}), n;}// src/react/components/board-navigation-link.tsx-function Hme(e) {+function lhe(e) {return /* @__PURE__ */ (0, F.jsx)("a", { ...e });}// src/react/boardui/components/foundations/icons/chevrons.tsx-function Ume(e) {+function uhe(e) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43233,7 +43413,7 @@ function Ume(e) {})});}-function Wme(e) {+function dhe(e) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 12 12",fill: "none",@@ -43247,7 +43427,7 @@ function Wme(e) {})});}-function KB(e) {+function ZB(e) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24",fill: "none",@@ -43260,55 +43440,55 @@ function KB(e) {});}// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx-function Gme({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {+function fhe({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {let i = P.Children.toArray(e).filter(P.isValidElement);return /* @__PURE__ */ (0, F.jsx)("nav", {ref: r,"aria-label": t,- className: cF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),+ className: oF("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),children: /* @__PURE__ */ (0, F.jsx)("ol", {className: "flex items-center gap-2.5 px-1",- children: i.map((e, t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, F.jsx)(Wme, {+ children: i.map((e, t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, F.jsx)(dhe, {className: "size-3 shrink-0 text-text-tertiary","aria-hidden": !0}), e] }, e.key ?? t))})});}-function qB({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {+function QB({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {let o = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [t && /* @__PURE__ */ (0, F.jsx)(t, {className: "size-4 shrink-0","aria-hidden": !0}), e] });if (i) return /* @__PURE__ */ (0, F.jsx)("li", {"aria-current": "page",- className: cF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),+ className: oF("flex items-center gap-1.5 text-caption-1-medium whitespace-nowrap text-text-secondary", a),children: o});- let s = cF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);+ let s = oF("-mx-1 flex items-center gap-1.5 rounded-md px-1 py-0.5 text-caption-1-medium whitespace-nowrap text-text-tertiary", "transition-colors duration-150 ease outline-none", "hover:bg-background-primary-hover hover:text-text-secondary", "focus-visible:ring-2 focus-visible:ring-border-focus-ring", a);return /* @__PURE__ */ (0, F.jsx)("li", {className: "flex items-center",- children: n ? /* @__PURE__ */ (0, F.jsx)(Hme, {+ children: n ? /* @__PURE__ */ (0, F.jsx)(lhe, {href: n,className: s,children: o}) : /* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: r,- className: cF("cursor-pointer", s),+ className: oF("cursor-pointer", s),children: o})});}// src/react/boardui/components/foundations/direction/direction.tsx-function JB() {- return NS().direction;+function $B() {+ return FS().direction;}// src/react/boardui/components/base/dropdown/menu-styles.ts-var YB = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", Kme = "w-[266px]", qme = "flex w-full flex-col gap-1 outline-none", XB = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", ZB = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";+var eV = "max-w-[calc(100vw-32px)] overflow-y-auto rounded-2xl border border-border-button-default bg-background-primary-default p-2.5 shadow-dropdown transition duration-150 ease-out data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] data-[exiting]:opacity-0 data-[exiting]:scale-95 data-[exiting]:blur-[2px] data-[placement=bottom]:origin-top-left data-[placement=top]:origin-bottom-left data-[placement=left]:origin-right data-[placement=right]:origin-left", phe = "w-[266px]", mhe = "flex w-full flex-col gap-1 outline-none", tV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", nV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";// src/react/boardui/components/base/tree-view/tree-view.tsx-function Jme({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {- let c = JB(), l = (0, P.useContext)(xI), u = l === vI && !s.dragAndDropHooks ? $B : l;+function hhe({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {+ let c = $B(), l = (0, P.useContext)(OI), u = l === EI && !s.dragAndDropHooks ? iV : l;return /* @__PURE__ */ (0, F.jsx)("div", {className: "contents",onKeyDownCapture: (e) => {@@ -43325,23 +43505,23 @@ function Jme({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",}}},- children: /* @__PURE__ */ (0, F.jsx)(xI.Provider, {+ children: /* @__PURE__ */ (0, F.jsx)(OI.Provider, {value: u,- children: /* @__PURE__ */ (0, F.jsx)(Afe, {+ children: /* @__PURE__ */ (0, F.jsx)(Zfe, {...s,ref: o,selectionMode: n,"data-size": e,"data-show-guides": t,renderEmptyState: r,- className: (e) => cF("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === $B ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)+ className: (e) => oF("group/tree-view flex w-full min-w-0 flex-col rounded-3xl border border-border-button-default bg-background-primary-default p-2 outline-none", u === iV ? "gap-0" : "gap-0.5", "data-[empty]:px-4 data-[empty]:py-8 data-[empty]:text-center data-[empty]:text-body-regular data-[empty]:text-text-tertiary", "data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring", typeof i == "function" ? i(e) : i)})})});}-function QB({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {- let d = JB();- return /* @__PURE__ */ (0, F.jsxs)(Nfe, {+function rV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {+ let d = $B();+ return /* @__PURE__ */ (0, F.jsxs)(epe, {...u,ref: l,textValue: t,@@ -43349,11 +43529,11 @@ function QB({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNampaddingInlineStart: `calc(0.5rem + ${e.level - 1} * 1.25rem)`,...typeof c == "function" ? c(e) : c}),- className: (e) => cF("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),- children: [/* @__PURE__ */ (0, F.jsx)(Mfe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {- let f = n === null ? null : o && r ? r : n ?? (t ? o ? pz : fz : ipe);+ className: (e) => oF("relative flex min-h-9 min-w-0 cursor-pointer items-center gap-2 rounded-xl pe-2 text-body-regular text-text-primary outline-none", "transition-[background-color,color,box-shadow] duration-150 motion-reduce:transition-none", "group-data-[size=sm]/tree-view:min-h-8 group-data-[size=sm]/tree-view:text-body-2-regular", (e.isHovered || e.isPressed || e.isFocusVisible) && !e.isDisabled && "bg-dropdown-item-hover-background", e.isSelected && "bg-dropdown-item-hover-background", e.isFocusVisible && "ring-2 ring-inset ring-border-focus-ring", e.isDisabled && "cursor-default text-text-placeholder", typeof s == "function" ? s(e) : s),+ children: [/* @__PURE__ */ (0, F.jsx)($fe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? vz : _z : Tpe);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(Xme, {+ /* @__PURE__ */ (0, F.jsx)(_he, {state: l,id: u,level: c,@@ -43363,20 +43543,20 @@ function QB({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam}),/* @__PURE__ */ (0, F.jsxs)("span", {className: "flex shrink-0 items-center gap-1",- children: [t ? /* @__PURE__ */ (0, F.jsx)(DI, {+ children: [t ? /* @__PURE__ */ (0, F.jsx)(NI, {slot: "chevron",isDisabled: s,className: "flex size-5 shrink-0 cursor-pointer items-center justify-center rounded-md text-foreground-icon-tertiary outline-none transition-colors hover:text-foreground-icon-primary data-[focus-visible]:ring-2 data-[focus-visible]:ring-border-focus-ring",- children: /* @__PURE__ */ (0, F.jsx)(lz, {+ children: /* @__PURE__ */ (0, F.jsx)(mz, {"aria-hidden": !0,- className: cF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")+ className: oF("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")})}) : /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- className: cF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")+ className: oF("h-5 shrink-0", c > 1 ? "w-2" : "w-5")}), f && /* @__PURE__ */ (0, F.jsx)(f, {"aria-hidden": !0,- className: cF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)+ className: oF("size-4 shrink-0 opacity-50", t ? "text-foreground-icon-primary" : "text-foreground-icon-secondary", i)})]}),/* @__PURE__ */ (0, F.jsx)("span", {@@ -43391,24 +43571,24 @@ function QB({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam} }), o]});}-var $B = {- ...vI,- CollectionRoot: Yme+var iV = {+ ...EI,+ CollectionRoot: ghe};-function Yme({ collection: e, ...t }) {- let n = (0, P.useContext)(iz);- return n ? /* @__PURE__ */ (0, F.jsx)(gy, {+function ghe({ collection: e, ...t }) {+ let n = (0, P.useContext)(lz);+ return n ? /* @__PURE__ */ (0, F.jsx)(wy, {initial: !1,- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, F.jsx)(Zme, {+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, F.jsx)(vhe, {state: n,children: e.render?.(e)}, e.key))- }) : /* @__PURE__ */ (0, F.jsx)(vI.CollectionRoot, {+ }) : /* @__PURE__ */ (0, F.jsx)(EI.CollectionRoot, {collection: e,...t});}-function Xme({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {+function _he({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {let o = e.collection.getItem(t);if (!o) return null;let s = [], c = o.parentKey == null ? null : e.collection.getItem(o.parentKey), l = n - 1;@@ -43441,7 +43621,7 @@ function Xme({ state: e, id: t, level: n, expanded: r, branchWidth: i, directionheight: "7",viewBox: `0 0 ${i} 7`,fill: "none",- className: cF("absolute start-0", a === "rtl" && "-scale-x-100"),+ className: oF("absolute start-0", a === "rtl" && "-scale-x-100"),style: { top: "calc(50% - 6px)" },children: /* @__PURE__ */ (0, F.jsx)("path", {d: `M0.5 0 Q0.5 6 6.5 6 H${i - .5}`,@@ -43467,9 +43647,9 @@ function Xme({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction]});}-function Zme({ state: e, children: t }) {- let n = py(), r = qy(), [i, a] = (0, P.useState)(e);- return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(nb.div, {+function vhe({ state: e, children: t }) {+ let n = by(), r = Yy(), [i, a] = (0, P.useState)(e);+ return n && i !== e && a(e), /* @__PURE__ */ (0, F.jsx)(db.div, {role: "presentation",className: "relative min-w-0 shrink-0 overflow-hidden","data-tree-view-exiting": !n || void 0,@@ -43508,14 +43688,14 @@ function Zme({ state: e, children: t }) {1]},- children: /* @__PURE__ */ (0, F.jsx)(iz.Provider, {+ children: /* @__PURE__ */ (0, F.jsx)(lz.Provider, {value: n ? e : i,children: t})});}// src/react/boardui/components/base/checkbox/checkbox-glyph.tsx-var eV = {+var aV = {md: {box: "size-4",glyph: "size-4",@@ -43529,11 +43709,11 @@ var eV = {gap: "gap-1.5"}};-function tV({ state: e, size: t = "md" }) {- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = eV[t], c = n || r, l = o && !a;+function oV({ state: e, size: t = "md" }) {+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = aV[t], c = n || r, l = o && !a;return /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- className: cF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? cF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : cF("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: oF("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? oF("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : oF("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, F.jsx)("svg", {viewBox: "0 0 16 16",fill: "none",@@ -43556,23 +43736,23 @@ function tV({ state: e, size: t = "md" }) {});}// src/react/boardui/components/base/checkbox/checkbox.tsx-function nV({ className: e, children: t, size: n = "md", ref: r, ...i }) {- let a = eV[n];- return /* @__PURE__ */ (0, F.jsx)(Aue, {+function sV({ className: e, children: t, size: n = "md", ref: r, ...i }) {+ let a = aV[n];+ return /* @__PURE__ */ (0, F.jsx)(Zue, {ref: r,...i,- className: (t) => cF("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, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(tV, {+ className: (t) => oF("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, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(oV, {state: e,size: n}), t != null && /* @__PURE__ */ (0, F.jsx)("span", {- className: cF(a.label, "text-text-primary"),+ className: oF(a.label, "text-text-primary"),children: t})] })});}// src/react/components/overlay-scrollbar.ts-function rV() {+function cV() {let e = (0, P.useRef)(null), t = (0, P.useRef)(null);return (0, P.useEffect)(() => {t.current?.node !== e.current && (t.current?.control?.destroy(), t.current = e.current ? {@@ -43584,13 +43764,13 @@ function rV() {}, []), e;}// src/history/settings-route.ts-var iV = {+var lV = {appearance: "外观与导航",playback: "浏览与播放",jav: "JAV 与新作",search: "搜索与推荐",content: "内容显示"-}, aV = {+}, uV = {library: "媒体库与入库",subscriptions: "来源与订阅",downloads: "下载渠道",@@ -43598,37 +43778,37 @@ var iV = {maintenance: "应用与维护",diagnostics: "系统诊断"};-function oV(e) {- return aV[e.split("/")[2]] || aV.library;+function dV(e) {+ return uV[e.split("/")[2]] || uV.library;}-var sV = ["/settings", ...Object.keys(iV).map((e) => `/settings/${e}`)], cV = (e) => sV.includes(e);-function lV(e) {- return iV[e.split("/")[2]] || iV.appearance;+var fV = ["/settings", ...Object.keys(lV).map((e) => `/settings/${e}`)], pV = (e) => fV.includes(e);+function mV(e) {+ return lV[e.split("/")[2]] || lV.appearance;}-function uV(e) {+function hV(e) {return `/settings/${Object.entries({- ...iV,- ...aV+ ...lV,+ ...uV}).find(([, t]) => t === e)?.[0] || "appearance"}`;}-var dV = (e) => {+var gV = (e) => {let t = e?.settingsBackground;return t && typeof t.pathname == "string" ? t : null;-}, fV = [+}, _V = ["/assets/:id","/posts/:id","/works/:code"-], Qme = [+], yhe = ["mix","parts","editions","playlist"];-function pV(e, t = "") {+function vV(e, t = "") {let n = new URL(e, "https://peach.invalid");e = n.pathname, t ||= n.search;- for (let n of fV) {- let r = uB(n, e);+ for (let n of _V) {+ let r = hB(n, e);if (!r) continue;if (n === "/works/:code") {let e = r.params.code || "";@@ -43645,7 +43825,7 @@ function pV(e, t = "") {let a = Number(i[0]);if (!Number.isSafeInteger(a) || a <= 0) return null;if (n === "/assets/:id") {- let e = new URLSearchParams(t), r = Qme.filter((t) => e.has(t));+ let e = new URLSearchParams(t), r = yhe.filter((t) => e.has(t));if (r.length === 1) {let t = r[0], i = e.get(t), o = Number(i);if (/^[1-9]\d*$/.test(i) && Number.isSafeInteger(o)) return {@@ -43669,8 +43849,8 @@ function pV(e, t = "") {}return null;}-var mV = (e, t = "") => pV(e, t)?.target ?? null, hV = (e) => cV(e.split(/[?#]/)[0]) || fV.some((t) => uB(t, e.split(/[?#]/)[0]) !== null);-function gV(e) {+var yV = (e, t = "") => vV(e, t)?.target ?? null, bV = (e) => pV(e.split(/[?#]/)[0]) || _V.some((t) => hB(t, e.split(/[?#]/)[0]) !== null);+function xV(e) {let t = e?.backgroundLocation;return typeof t?.pathname == "string" ? {pathname: t.pathname,@@ -43678,34 +43858,34 @@ function gV(e) {...typeof t.hash == "string" && t.hash ? { hash: t.hash } : {}} : null;}-var _V = null, vV = null;-function yV() {+var SV = null, CV = null;+function wV() {let { pathname: e, search: t, hash: n } = window.location;- hV(e) || (_V = {+ bV(e) || (SV = {pathname: e,search: t,...n ? { hash: n } : {}});}-function bV() {- _V = null, vV = null;+function TV() {+ SV = null, CV = null;}-function $me(e) {- let t = gV(e);- t && (_V = t, vV = t.pathname + t.search + (t.hash || ""));+function bhe(e) {+ let t = xV(e);+ t && (SV = t, CV = t.pathname + t.search + (t.hash || ""));}-function xV() {- let e = vV;- return vV = null, e;+function EV() {+ let e = CV;+ return CV = null, e;}-function SV(e) {- return _V ? {- backgroundLocation: { ..._V },+function DV(e) {+ return SV ? {+ backgroundLocation: { ...SV },overlay: e} : void 0;}// src/history/canonical-path.ts-function CV(e) {+function OV(e) {let t = new URL(e, "https://peach.invalid");for (let [e, n] of [[/^\/item\/(\d+)$/, "/assets/"],@@ -43728,16 +43908,16 @@ function CV(e) {}[t.pathname] || t.pathname, t.pathname + t.search + t.hash;}// src/history/route-meta.ts-var wV = {+var kV = {"/settings": {title: "设置",refresh: "skip"},- ...Object.fromEntries(Object.entries(iV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(lV).map(([e, t]) => [`/settings/${e}`, {title: t,refresh: "skip"}])),- ...Object.fromEntries(Object.entries(aV).map(([e, t]) => [`/settings/${e}`, {+ ...Object.fromEntries(Object.entries(uV).map(([e, t]) => [`/settings/${e}`, {title: t,section: "configuration",refresh: "reopen"@@ -43873,13 +44053,13 @@ var wV = {title: "播放墙"}};-function TV(e) {- if (Object.hasOwn(wV, e)) return wV[e];- let t = pV(e);- if (t) return wV[t.path];+function AV(e) {+ if (Object.hasOwn(kV, e)) return kV[e];+ let t = vV(e);+ if (t) return kV[t.path];let [n, ...r] = e.split("/").filter(Boolean);if (!n) return null;- if (!r.length) return Object.hasOwn(wV, `/${n}`) ? wV[`/${n}`] : null;+ if (!r.length) return Object.hasOwn(kV, `/${n}`) ? kV[`/${n}`] : null;let i = `/${n}/*`, a = /^\d+$/.test(r.join("/")) ? Wt({performers: "performer",studios: "studio",@@ -43888,124 +44068,124 @@ function TV(e) {series: "series",tags: "tag"}[n] || "", Number(r[0])) : r.join("/");- return Object.hasOwn(wV, i) ? {- ...wV[i],+ return Object.hasOwn(kV, i) ? {+ ...kV[i],title: a || "资料"} : null;}// src/history/managed.ts-var EV = () => {}, DV = new Promise((e) => {- EV = e;+var jV = () => {}, MV = new Promise((e) => {+ jV = e;});-DV.catch(() => {});-var OV = null, kV = /* @__PURE__ */ new Map(), AV = /* @__PURE__ */ new Map(), jV = 0, MV = /* @__PURE__ */ new Set();-function ehe(e) {- EV(e);+MV.catch(() => {});+var NV = null, PV = /* @__PURE__ */ new Map(), FV = /* @__PURE__ */ new Map(), IV = 0, LV = /* @__PURE__ */ new Set();+function xhe(e) {+ jV(e);}-function NV(e) {- return kV.get(e) ?? null;+function RV(e) {+ return PV.get(e) ?? null;}-function PV(e) {- return !!e && (kV.has(e) || AV.has(e));+function zV(e) {+ return !!e && (PV.has(e) || FV.has(e));}-var FV = () => [...kV.values()];-function the(e) {- return MV.add(e), () => {- MV.delete(e);+var BV = () => [...PV.values()];+function She(e) {+ return LV.add(e), () => {+ LV.delete(e);};}-function IV(e) {- let t = FV();- for (let n of [...MV]) n(t, e);+function VV(e) {+ let t = BV();+ for (let n of [...LV]) n(t, e);}-async function LV(e, t, n) {+async function HV(e, t, n) {let { container: r } = n;- if (zV(r), !n.isCurrent()) return !1;- jV += 1;+ if (WV(r), !n.isCurrent()) return !1;+ IV += 1;let i = {- revision: jV,+ revision: IV,controller: new AbortController()};- AV.set(r, i);- let a = OV;- OV = null, a?.();- let o = await DV;- if (AV.get(r) !== i) return !1;+ FV.set(r, i);+ let a = NV;+ NV = null, a?.();+ let o = await MV;+ if (FV.get(r) !== i) return !1;try {await o(e, t, i.controller.signal);} catch {if (i.controller.signal.aborted) return !1;}- if (AV.get(r) !== i || (AV.delete(r), !n.isCurrent())) return !1;- let s = n.place ? n.place(r) : nhe(r);- return kV.set(r, {+ if (FV.get(r) !== i || (FV.delete(r), !n.isCurrent())) return !1;+ let s = n.place ? n.place(r) : Che(r);+ return PV.set(r, {path: e,props: t,revision: i.revision,container: r,host: s,resident: !!n.resident- }), IV(!0), !0;+ }), VV(!0), !0;}-function nhe(e) {+function Che(e) {let t = e.ownerDocument.createElement("div");return t.className = "peach-react", e.textContent = "", e.append(t), t;}-function RV(e, t) {- let n = e ? kV.get(e) : void 0;- n && (kV.set(n.container, {+function UV(e, t) {+ let n = e ? PV.get(e) : void 0;+ n && (PV.set(n.container, {...n,props: {...n.props,...t}- }), IV(!1));+ }), VV(!1));}-function zV(e, ...t) {+function WV(e, ...t) {let n = [];for (let r of /* @__PURE__ */ new Set([e, ...t])) {- let e = AV.get(r);- e && (e.controller.abort(), AV.delete(r));- let t = kV.get(r);- t && (kV.delete(r), n.push(t));+ let e = FV.get(r);+ e && (e.controller.abort(), FV.delete(r));+ let t = PV.get(r);+ t && (PV.delete(r), n.push(t));}if (n.length) {- IV(!0);+ VV(!0);for (let e of n) e.resident || e.host.remove();}}-function rhe() {- let [e, ...t] = /* @__PURE__ */ new Set([...kV.keys(), ...AV.keys()]);- e && zV(e, ...t);+function whe() {+ let [e, ...t] = /* @__PURE__ */ new Set([...PV.keys(), ...FV.keys()]);+ e && WV(e, ...t);}-function ihe(e, t) {- let n = kV.get(e);- n?.revision === t && (kV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {- IV(!1);+function The(e, t) {+ let n = PV.get(e);+ n?.revision === t && (PV.delete(e), n.resident || n.host.remove(), queueMicrotask(() => {+ VV(!1);}));}// src/history/index.ts-var BV = Fpe({ v5Compat: !0 }), VV = 0, HV = 0, UV = {- action: BV.action,- location: BV.location,- seq: VV,- openEpoch: HV,+var GV = nme({ v5Compat: !0 }), KV = 0, qV = 0, JV = {+ action: GV.action,+ location: GV.location,+ seq: KV,+ openEpoch: qV,claimed: !0-}, WV = /* @__PURE__ */ new Set(), GV = !1, KV = !0;-BV.listen(({ action: e, location: t }) => {- let n = t.pathname + t.search + t.hash, r = CV(n);- r !== n && (window.history.replaceState(window.history.state, "", r), t = BV.location), VV += 1, GV || (HV += 1), e !== "REPLACE" && (KV = !1), UV = {+}, YV = /* @__PURE__ */ new Set(), XV = !1, ZV = !0;+GV.listen(({ action: e, location: t }) => {+ let n = t.pathname + t.search + t.hash, r = OV(n);+ r !== n && (window.history.replaceState(window.history.state, "", r), t = GV.location), KV += 1, XV || (qV += 1), e !== "REPLACE" && (ZV = !1), JV = {action: e,location: t,- seq: VV,- openEpoch: HV,- claimed: GV+ seq: KV,+ openEpoch: qV,+ claimed: XV};- for (let e of [...WV]) e(UV);+ for (let e of [...YV]) e(JV);});-function qV(e) {- if (typeof e == "string") return CV(new URL(e, window.location.href).href);- let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = CV(t.href);+function QV(e) {+ if (typeof e == "string") return OV(new URL(e, window.location.href).href);+ let t = new URL(`${e.pathname ?? window.location.pathname}${e.search || ""}${e.hash || ""}`, window.location.href), n = OV(t.href);if (n === t.pathname + t.search + t.hash) return e;let r = new URL(n, window.location.origin);return {@@ -44015,77 +44195,77 @@ function qV(e) {hash: r.hash};}-var JV = {+var $V = {get navigation() {- return UV;+ return JV;},listen(e) {- return WV.add(e), () => {- WV.delete(e);+ return YV.add(e), () => {+ YV.delete(e);};},- createHref: (e) => BV.createHref(e),- createURL: (e) => BV.createURL(e),- encodeLocation: (e) => BV.encodeLocation(e),- go: (e) => BV.go(e),- push: (e, t) => BV.push(qV(e), t),- replace: (e, t) => BV.replace(qV(e), t)+ createHref: (e) => GV.createHref(e),+ createURL: (e) => GV.createURL(e),+ encodeLocation: (e) => GV.encodeLocation(e),+ go: (e) => GV.go(e),+ push: (e, t) => GV.push(QV(e), t),+ replace: (e, t) => GV.replace(QV(e), t)};-function YV(e, { replace: t = !1, state: n } = {}) {- let r = new URL(e, window.location.href), i = CV(`${r.pathname}${r.search}${r.hash}`);- GV = !0;+function eH(e, { replace: t = !1, state: n } = {}) {+ let r = new URL(e, window.location.href), i = OV(`${r.pathname}${r.search}${r.hash}`);+ XV = !0;try {- t ? BV.replace(i, n) : BV.push(i, n);+ t ? GV.replace(i, n) : GV.push(i, n);} finally {- GV = !1;+ XV = !1;}}-var XV = () => KV;-function ZV() {- if (cV(UV.location.pathname)) {- let e = KV ? null : dV(UV.location.state);- return e ? gV(e.state) || e : null;+var tH = () => ZV;+function nH() {+ if (pV(JV.location.pathname)) {+ let e = ZV ? null : gV(JV.location.state);+ return e ? xV(e.state) || e : null;}- return KV ? null : gV(UV.location.state);+ return ZV ? null : xV(JV.location.state);}// src/react/providers.tsx-var QV = null;-function ahe() {- return QV?.isConnected || (QV = document.createElement("div"), QV.className = "peach-react", QV.dataset.reactOverlays = "", document.body.append(QV)), QV;+var rH = null;+function Ehe() {+ return rH?.isConnected || (rH = document.createElement("div"), rH.className = "peach-react", rH.dataset.reactOverlays = "", document.body.append(rH)), rH;}-function $V({ children: e }) {+function iH({ children: e }) {return /* @__PURE__ */ (0, F.jsx)(se, {client: H,- children: /* @__PURE__ */ (0, F.jsx)(Jte, {+ children: /* @__PURE__ */ (0, F.jsx)(sne, {reducedMotion: "user",children: /* @__PURE__ */ (0, F.jsx)(PT, {- getContainer: ahe,+ getContainer: Ehe,children: e})})});}// node_modules/sonner/dist/index.mjs-function ohe(e) {+function Dhe(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 she = (e) => {+var Ohe = (e) => {switch (e) {- case "success": return uhe;- case "info": return fhe;- case "warning": return dhe;- case "error": return phe;+ case "success": return jhe;+ case "info": return Nhe;+ case "warning": return Mhe;+ case "error": return Phe;default: return null;}-}, che = Array(12).fill(0), lhe = ({ visible: e, className: t }) => /*#__PURE__*/ P.createElement("div", {+}, khe = Array(12).fill(0), Ahe = ({ visible: e, className: t }) => /*#__PURE__*/ P.createElement("div", {className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),"data-visible": e-}, /*#__PURE__*/ P.createElement("div", { className: "sonner-spinner" }, che.map((e, t) => /*#__PURE__*/ P.createElement("div", {+}, /*#__PURE__*/ P.createElement("div", { className: "sonner-spinner" }, khe.map((e, t) => /*#__PURE__*/ P.createElement("div", {className: "sonner-loading-bar",key: `spinner-bar-${t}`-})))), uhe = /*#__PURE__*/ P.createElement("svg", {+})))), jhe = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44096,7 +44276,7 @@ var she = (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"-})), dhe = /*#__PURE__*/ P.createElement("svg", {+})), Mhe = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 24 24",fill: "currentColor",@@ -44107,7 +44287,7 @@ var she = (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"-})), fhe = /*#__PURE__*/ P.createElement("svg", {+})), Nhe = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44118,7 +44298,7 @@ var she = (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"-})), phe = /*#__PURE__*/ P.createElement("svg", {+})), Phe = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",viewBox: "0 0 20 20",fill: "currentColor",@@ -44129,7 +44309,7 @@ var she = (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"-})), mhe = /*#__PURE__*/ P.createElement("svg", {+})), Fhe = /*#__PURE__*/ P.createElement("svg", {xmlns: "http://www.w3.org/2000/svg",width: "12",height: "12",@@ -44150,7 +44330,7 @@ var she = (e) => {y1: "6",x2: "18",y2: "18"-})), hhe = () => {+})), Ihe = () => {let [e, t] = P.useState(document.hidden);return P.useEffect(() => {let e = () => {@@ -44158,7 +44338,7 @@ var she = (e) => {};return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);}, []), e;-}, ghe = 1, _he = 100, eH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : ghe++, tH = new class {+}, Lhe = 1, Rhe = 100, aH = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : Lhe++, oH = new class {constructor() {this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {let t = this.subscribers.indexOf(e);@@ -44168,10 +44348,10 @@ var she = (e) => {}, this.addToast = (e) => {this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();}, this.trimHistory = () => {- let e = this.toasts.length - _he;+ let e = this.toasts.length - Rhe;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 = eH(e), i = this.pendingDismissals.get(r);+ let { message: t, ...n } = e, r = aH(e), i = this.pendingDismissals.get(r);i !== void 0 && (cancelAnimationFrame(i), this.pendingDismissals.delete(r), this.dismissedToasts.delete(r));let a = this.dismissedToasts.has(r), o = e.dismissible === void 0 || e.dismissible;return a && (this.dismissedToasts.delete(r), this.toasts = this.toasts.filter((e) => e.id !== r)), !a && this.toasts.find((e) => e.id === r) ? this.toasts = this.toasts.map((n) => n.id === r ? (this.publish({@@ -44246,7 +44426,7 @@ var she = (e) => {type: "default",message: e});- else if (yhe(e) && !e.ok) {+ else if (Bhe(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" && !P.isValidElement(r) ? r : { message: r };this.create({@@ -44290,7 +44470,7 @@ var she = (e) => {}), s = () => new Promise((e, t) => o.then(() => a[0] === "reject" ? t(a[1]) : e(a[1])).catch(t));return typeof n != "string" && typeof n != "number" ? { unwrap: s } : Object.assign(n, { unwrap: s });}, this.custom = (e, t) => {- let n = eH(t);+ let n = aH(t);return this.create({...t,jsx: e(n),@@ -44299,34 +44479,34 @@ var she = (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();}-}(), vhe = (e, t) => tH.message(e, t), yhe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", nH = Object.assign(vhe, {- success: tH.success,- info: tH.info,- warning: tH.warning,- error: tH.error,- custom: tH.custom,- message: tH.message,- promise: tH.promise,- dismiss: tH.dismiss,- loading: tH.loading+}(), zhe = (e, t) => oH.message(e, t), Bhe = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", sH = Object.assign(zhe, {+ success: oH.success,+ info: oH.info,+ warning: oH.warning,+ error: oH.error,+ custom: oH.custom,+ message: oH.message,+ promise: oH.promise,+ dismiss: oH.dismiss,+ loading: oH.loading}, {- getHistory: () => tH.toasts,- getToasts: () => tH.getActiveToasts()+ getHistory: () => oH.toasts,+ getToasts: () => oH.getActiveToasts()});-ohe("[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 rH(e) {+Dhe("[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 cH(e) {return e.label !== void 0;}-var bhe = 3, xhe = "24px", She = "16px", iH = 4e3, Che = 356, whe = 14, The = 45, Ehe = 200;-function aH(...e) {+var Vhe = 3, Hhe = "24px", Uhe = "16px", lH = 4e3, Whe = 356, Ghe = 14, Khe = 45, qhe = 200;+function uH(...e) {return e.filter(Boolean).join(" ");}-function Dhe(e) {+function Jhe(e) {let [t, n] = e.split("-"), r = [];return t && r.push(t), n && r.push(n), r;}-var Ohe = (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] = P.useState(null), [O, k] = P.useState(null), [A, j] = P.useState(!1), [M, ee] = P.useState(!1), [te, ne] = P.useState(!1), [N, re] = P.useState(!1), [ie, F] = P.useState(!1), [ae, oe] = P.useState(0), [se, ce] = P.useState(0), le = P.useRef(n.duration || y || iH), ue = P.useRef(null), de = P.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", I = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = P.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = P.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = P.useMemo(() => n.duration || y || iH, [n.duration, y]), xe = P.useRef(0), Se = P.useRef(0), Ce = P.useRef(0), we = P.useRef(null), [Te, Ee] = b.split("-"), De = P.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = hhe(), ke = P.useMemo(() => e.swipeDirections ?? Dhe(b), [e.swipeDirections, b]), Ae = n.invert || t, je = me === "loading";+var Yhe = (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] = P.useState(null), [O, k] = P.useState(null), [A, j] = P.useState(!1), [M, ee] = P.useState(!1), [te, ne] = P.useState(!1), [N, re] = P.useState(!1), [ie, F] = P.useState(!1), [ae, oe] = P.useState(0), [se, ce] = P.useState(0), le = P.useRef(n.duration || y || lH), ue = P.useRef(null), de = P.useRef(null), fe = c === 0, pe = c + 1 <= o, me = n.type, he = me ?? "default", I = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = P.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = P.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = P.useMemo(() => n.duration || y || lH, [n.duration, y]), xe = P.useRef(0), Se = P.useRef(0), Ce = P.useRef(0), we = P.useRef(null), [Te, Ee] = b.split("-"), De = P.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = Ihe(), ke = P.useMemo(() => e.swipeDirections ?? Jhe(b), [e.swipeDirections, b]), Ae = n.invert || t, je = me === "loading";Se.current = P.useMemo(() => ve * x + De, [ve, De]), P.useEffect(() => {le.current = be;}, [be]), P.useEffect(() => {@@ -44367,7 +44547,7 @@ var Ohe = (e) => {let Me = P.useCallback(() => {ee(!0), oe(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {d(n);- }, Ehe);+ }, qhe);}, [n,d,@@ -44398,18 +44578,18 @@ var Ohe = (e) => {}, [Me, n.delete]);function Ne() {return w?.loading ? /*#__PURE__*/ P.createElement("div", {- className: aH(C?.loader, n?.classNames?.loader, "sonner-loader"),+ className: uH(C?.loader, n?.classNames?.loader, "sonner-loader"),"data-visible": me === "loading"- }, w.loading) : /*#__PURE__*/ P.createElement(lhe, {- className: aH(C?.loader, n?.classNames?.loader),+ }, w.loading) : /*#__PURE__*/ P.createElement(Ahe, {+ className: uH(C?.loader, n?.classNames?.loader),visible: me === "loading"});}- let Pe = n.icon || w?.[me] || she(me);+ let Pe = n.icon || w?.[me] || Ohe(me);return /*#__PURE__*/ P.createElement("li", {tabIndex: 0,ref: de,- className: aH(_, ge, C?.toast, n?.classNames?.toast, C?.[he], n?.classNames?.[he]),+ className: uH(_, ge, C?.toast, n?.classNames?.toast, C?.[he], n?.classNames?.[he]),"data-sonner-toast": "","data-rich-colors": n.richColors ?? f,"data-styled": !(n.jsx || n.unstyled || r),@@ -44452,7 +44632,7 @@ var Ohe = (e) => {if (N || !I) return;we.current = null;let e = Number(de.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(de.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - ue.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;- if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= The || a > .11)) oe(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), re(!0);+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= Khe || a > .11)) oe(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), re(!0);else {var o, s;(o = de.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = de.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), F(!1), ne(!1), D(null);@@ -44491,46 +44671,46 @@ var Ohe = (e) => {onClick: je || !I ? () => {} : () => {Me(), n.onDismiss == null || n.onDismiss.call(n, n);},- className: aH(C?.closeButton, n?.classNames?.closeButton)- }, w?.close ?? mhe) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ P.createElement("div", {+ className: uH(C?.closeButton, n?.classNames?.closeButton)+ }, w?.close ?? Fhe) : null, (me || n.icon || n.promise) && n.icon !== null && (w?.[me] !== null || n.icon) ? /*#__PURE__*/ P.createElement("div", {"data-icon": "",- className: aH(C?.icon, n?.classNames?.icon)+ className: uH(C?.icon, n?.classNames?.icon)}, me === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, me === "loading" ? null : Pe) : null, /*#__PURE__*/ P.createElement("div", {"data-content": "",- className: aH(C?.content, n?.classNames?.content)+ className: uH(C?.content, n?.classNames?.content)}, /*#__PURE__*/ P.createElement("div", {"data-title": "",- className: aH(C?.title, n?.classNames?.title)+ className: uH(C?.title, n?.classNames?.title)}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ P.createElement("div", {"data-description": "",- className: aH(v, _e, C?.description, n?.classNames?.description)- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ P.isValidElement(n.cancel) ? n.cancel : n.cancel && rH(n.cancel) ? /*#__PURE__*/ P.createElement("button", {+ className: uH(v, _e, C?.description, n?.classNames?.description)+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ P.isValidElement(n.cancel) ? n.cancel : n.cancel && cH(n.cancel) ? /*#__PURE__*/ P.createElement("button", {"data-button": !0,"data-cancel": !0,style: n.cancelButtonStyle || h,onClick: (e) => {- rH(n.cancel) && I && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());+ cH(n.cancel) && I && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());},- className: aH(C?.cancelButton, n?.classNames?.cancelButton)- }, n.cancel.label) : null, /*#__PURE__*/ P.isValidElement(n.action) ? n.action : n.action && rH(n.action) ? /*#__PURE__*/ P.createElement("button", {+ className: uH(C?.cancelButton, n?.classNames?.cancelButton)+ }, n.cancel.label) : null, /*#__PURE__*/ P.isValidElement(n.action) ? n.action : n.action && cH(n.action) ? /*#__PURE__*/ P.createElement("button", {"data-button": !0,"data-action": !0,style: n.actionButtonStyle || g,onClick: (e) => {- rH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());+ cH(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());},- className: aH(C?.actionButton, n?.classNames?.actionButton)+ className: uH(C?.actionButton, n?.classNames?.actionButton)}, n.action.label) : null);};-function oH() {+function dH() {if (typeof window > "u" || typeof document > "u") return "ltr";let e = document.documentElement.getAttribute("dir");return e === "auto" || !e ? window.getComputedStyle(document.documentElement).direction : e;}-function khe(e, t) {+function Xhe(e, t) {let n = {};return [e, t].forEach((e, t) => {- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? She : xhe;+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? Uhe : Hhe;function o(e) {["top",@@ -44551,11 +44731,11 @@ function khe(e, t) {}) : o(a);}), n;}-var sH = /*#__PURE__*/ P.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 = bhe, toastOptions: g, dir: _ = oH(), gap: v = whe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = P.useState([]), w = P.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = P.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = P.useState([]), [O, k] = P.useState(!1), [A, j] = P.useState(!1), [M, ee] = P.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = P.useRef(null), ne = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), N = P.useRef(null), re = P.useRef(!1), ie = P.useCallback((e) => {- C((t) => (t.find((t) => t.id === e.id)?.delete || tH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));+var fH = /*#__PURE__*/ P.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 = Vhe, toastOptions: g, dir: _ = dH(), gap: v = Ghe, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = P.useState([]), w = P.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = P.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = P.useState([]), [O, k] = P.useState(!1), [A, j] = P.useState(!1), [M, ee] = P.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), te = P.useRef(null), ne = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), N = P.useRef(null), re = P.useRef(!1), ie = P.useCallback((e) => {+ C((t) => (t.find((t) => t.id === e.id)?.delete || oH.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));}, []);- return P.useEffect(() => tH.subscribe((e) => {+ return P.useEffect(() => oH.subscribe((e) => {e.dismiss ? requestAnimationFrame(() => {C((t) => t.map((t) => t.id === e.id ? {...t,@@ -44624,7 +44804,7 @@ var sH = /*#__PURE__*/ P.forwardRef(function(e, t) {let [i, a] = t.split("-");return w.length ? /*#__PURE__*/ P.createElement("ol", {key: t,- dir: _ === "auto" ? oH() : _,+ dir: _ === "auto" ? dH() : _,tabIndex: -1,ref: te,className: c,@@ -44634,10 +44814,10 @@ var sH = /*#__PURE__*/ P.forwardRef(function(e, t) {"data-x-position": a,style: {"--front-toast-height": `${E[0]?.height || 0}px`,- "--width": `${Che}px`,+ "--width": `${Whe}px`,"--gap": `${v}px`,...m,- ...khe(l, u)+ ...Xhe(l, u)},onBlur: (e) => {re.current && !e.currentTarget.contains(e.relatedTarget) && (re.current = !1, N.current &&= (N.current.focus({ preventScroll: !0 }), null));@@ -44655,7 +44835,7 @@ var sH = /*#__PURE__*/ P.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__*/ P.createElement(Ohe, {+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ P.createElement(Yhe, {key: n.id,icons: y,index: i,@@ -44685,35 +44865,35 @@ var sH = /*#__PURE__*/ P.forwardRef(function(e, t) {swipeDirections: e.swipeDirections}))) : null;}));-}), cH = "/api/library-processing", lH = ["library-processing"], Ahe = (e, t, n) => {+}), pH = "/api/library-processing", mH = ["library-processing"], Zhe = (e, t, n) => {let r = new URLSearchParams({estimate: "1",stage: e.stage || "all"});- return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${cH}?${r}`, t);-}, jhe = {+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${pH}?${r}`, t);+}, Qhe = {fetching_cover: "封面",querying_metadata: "资料"};-function uH(e) {+function hH(e) {if (e?.status !== "running" || e.current_asset_id == null) return null;- let t = jhe[e.current_action || ""];+ let t = Qhe[e.current_action || ""];return !t || (e.waited_seconds || 0) < 120 ? null : {what: t,source: e.current_source};}-function dH({ what: e, source: t }) {+function gH({ what: e, source: t }) {return `${`${t?.label ? `${t.label} ` : "外部来源"}迟迟没有返回${e}`}。可以先跳过这部,任务结束后再重试。`;}-var fH = (e) => !!e && [+var _H = (e) => !!e && ["running","pausing","paused","stopping"-].includes(e.status), pH = (e) => e?.status === "failed" && e.outcome === "partial", mH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", hH = "/?loc=&thumb=0";-function gH(e) {- if (!fH(e)) return "";+].includes(e.status), vH = (e) => e?.status === "failed" && e.outcome === "partial", yH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", bH = "/?loc=&thumb=0";+function xH(e) {+ if (!_H(e)) return "";if (e.status === "stopping") return "正在停止,等待当前步骤退出;已取得的结果会保留";if (e.status === "paused") return "已暂停,继续后更新预估";if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";@@ -44724,18 +44904,18 @@ function gH(e) {let r = n >= 86400 ? 86400 : n >= 3600 ? 3600 : 60, i = r === 86400 ? "天" : r === 3600 ? "小时" : "分钟", a = r === 60 ? 1 : 10, o = Math.max(1 / a, Math.floor(t / r * a) / a), s = Math.max(o, Math.ceil(n / r * a) / a);return `预计剩余约 ${o === s ? `${s}` : `${o}–${s}`} ${i}${e.eta_initial || e.eta_kind !== "measured" ? "(粗估)" : ""}${e.eta_scope ? ` · ${e.eta_scope}` : ""}`;}-var _H = (e) => B(cH, e);-async function vH(e) {+var SH = (e) => B(pH, e);+async function CH(e) {await H.fetchQuery({- queryKey: lH,- queryFn: () => _H(e)+ queryKey: mH,+ queryFn: () => SH(e)});}-var Mhe = 2e3, Nhe = 1e4, yH = "连接中断,正在重新读取处理进度";-function bH(e, t) {- return fH(e) ? Mhe : t ? Nhe : !1;+var $he = 2e3, ege = 1e4, wH = "连接中断,正在重新读取处理进度";+function TH(e, t) {+ return _H(e) ? $he : t ? ege : !1;}-var Phe = {+var tge = {scanning_files: "扫描文件",reading_local: "检查配套文件",reading_local_cover: "读取配套图片",@@ -44744,25 +44924,25 @@ var Phe = {skipped: "已跳过",generating_preview: "生成视频预览",writing_candidates: "保存待确认资料"-}, xH = {+}, EH = {querying_metadata: "没有资料",fetching_cover: "没有封面"};-function Fhe(e) {- let t = Object.entries(e).filter(([e, t]) => xH[e] && t > 0).map(([e, t]) => `${xH[e]} ${t.toLocaleString()} 部`);+function nge(e) {+ let t = Object.entries(e).filter(([e, t]) => EH[e] && t > 0).map(([e, t]) => `${EH[e]} ${t.toLocaleString()} 部`);return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";}-function Ihe(e) {+function rge(e) {if (e.status === "paused") return "已暂停";if (e.status === "pausing") return "正在暂停";- let t = Phe[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${OF(e.waited_seconds)}` : "";+ let t = tge[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${LF(e.waited_seconds)}` : "";return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;}-function Lhe(e) {- let t = e.total ? `${kF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";- return Ihe(e) + (t ? ` · ${t}` : "");+function ige(e) {+ let t = e.total ? `${RF(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";+ return rge(e) + (t ? ` · ${t}` : "");}-function Rhe(e) {+function age(e) {let t = e.issue_preview || [];return t.length ? {label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,@@ -44776,22 +44956,22 @@ function Rhe(e) {log: e.issues_log || ""} : null;}-var SH = "peach.library-processing.announced", zhe = 120;-function CH(e) {+var DH = "peach.library-processing.announced", oge = 120;+function OH(e) {let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;- return !!e.job_id && t >= 0 && t < zhe;+ return !!e.job_id && t >= 0 && t < oge;}-function Bhe(e, t, n) {- if (e.status === "complete" && (n || CH(e))) {+function sge(e, t, n) {+ if (e.status === "complete" && (n || OH(e))) {try {- if (e.job_id && localStorage.getItem(SH) === e.job_id) return;- e.job_id && localStorage.setItem(SH, e.job_id);+ if (e.job_id && localStorage.getItem(DH) === e.job_id) return;+ e.job_id && localStorage.setItem(DH, e.job_id);} catch {}e.requested_stage === "previews" ? t(`视频预览已生成:${e.previews || 0} 部`) : t(`扫描与资料采集已完成:识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条` + (e.previews ? `,生成 ${e.previews} 部视频预览` : ""));}}// src/react/boardui/components/base/buttons/link-button.tsx-var wH = lF({+var kH = sF({base: "inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans select-none cursor-pointer rounded-sm underline-offset-3 hover:underline transition-colors duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline",size: {medium: "text-body-medium",@@ -44808,15 +44988,15 @@ var wH = lF({secondary: "text-text-secondary active:text-text-primary disabled:text-text-tertiary aria-disabled:text-text-tertiary"}});-function TH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {- let c = cF(wH.base, wH.size[t], wH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [+function AH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {+ let c = oF(kH.base, kH.size[t], kH.variant[e], a), l = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n ? /* @__PURE__ */ (0, F.jsx)(n, {- className: wH.icon[t],+ className: kH.icon[t],"aria-hidden": !0}) : null,i != null && /* @__PURE__ */ (0, F.jsx)("span", { children: i }),r ? /* @__PURE__ */ (0, F.jsx)(r, {- className: wH.icon[t],+ className: kH.icon[t],"aria-hidden": !0}) : null] });@@ -44842,7 +45022,7 @@ function TH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili});}// src/react/settings/use-action.ts-function EH(e = "") {+function jH(e = "") {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(""), [i, a] = (0, P.useState)(e);(0, P.useEffect)(() => () => t.current?.abort(), []);async function o(e, n, i, o) {@@ -44867,10 +45047,10 @@ function EH(e = "") {};}// src/react/library-processing/slow-item.tsx-function DH({ state: e }) {- let t = EH(), n = (e) => {- t.busy || t.run(e.action, (t) => V(cH, e, "POST", t), (e) => {- H.setQueryData(lH, e), H.invalidateQueries({ queryKey: lH });+function MH({ state: e }) {+ let t = jH(), n = (e) => {+ t.busy || t.run(e.action, (t) => V(pH, e, "POST", t), (e) => {+ H.setQueryData(mH, e), H.invalidateQueries({ queryKey: mH });});};return /* @__PURE__ */ (0, F.jsxs)("div", {@@ -44882,7 +45062,7 @@ function DH({ state: e }) {size: "small",variant: "secondary",disabled: e.skip_requested,- ...Rz(t.busy === "skip_current"),+ ...Uz(t.busy === "skip_current"),onClick: () => {e.job_id && e.current_asset_id != null && n({action: "skip_current",@@ -44906,37 +45086,37 @@ function DH({ state: e }) {]});}-function Vhe({ state: e, slow: t }) {- return /* @__PURE__ */ (0, F.jsx)(Nz, {+function cge({ state: e, slow: t }) {+ return /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "warning",- action: /* @__PURE__ */ (0, F.jsx)(DH, { state: e }),- children: dH(t)+ action: /* @__PURE__ */ (0, F.jsx)(MH, { state: e }),+ children: gH(t)});}-function Hhe({ state: e, slow: t }) {+function lge({ state: e, slow: t }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-processing-slow": "",className: "flex min-w-0 flex-wrap items-center justify-between gap-3",children: [/* @__PURE__ */ (0, F.jsx)("p", {className: "min-w-0 flex-auto text-body-2-regular wrap-anywhere",- children: dH(t)- }), /* @__PURE__ */ (0, F.jsx)(DH, { state: e })]+ children: gH(t)+ }), /* @__PURE__ */ (0, F.jsx)(MH, { state: e })]});}// src/react/components/use-moving-surface.ts-var Uhe = {+var uge = {selection: {- type: Yf,+ type: cp,duration: .16,bounce: 0},hover: {- type: Yf,+ type: cp,duration: .08,bounce: 0}};-function OH(e) {+function NH(e) {let [t, n] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {if (!t) return;@@ -44957,7 +45137,7 @@ function OH(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 = Yne(n, { transform: [r, E] }, Uhe[e]);+ l = ub(n, { transform: [r, E] }, uge[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -44993,24 +45173,24 @@ function OH(e) {}, [t, e]), n;}// src/react/components/menu-dialog.tsx-function kH(e) {- let t = OH("hover");- return /* @__PURE__ */ (0, F.jsx)(mR, {+function PH(e) {+ let t = NH("hover");+ return /* @__PURE__ */ (0, F.jsx)(yR, {...e,ref: t});}// src/react/library-processing/processing-effort.tsx-var AH = [+var FH = ["low","standard","high"-], jH = [+], IH = ["低占用","标准","全速"-], MH = Iz("snail"), NH = Iz("zap");-function PH({ className: e }) {+], LH = Vz("snail"), RH = Vz("zap");+function zH({ className: e }) {return /* @__PURE__ */ (0, F.jsxs)("svg", {className: `processing-effort-double ${e ?? ""}`,"aria-hidden": "true",@@ -45041,12 +45221,12 @@ function PH({ className: e }) {]});}-var Whe = [- MH,- NH,- PH+var dge = [+ LH,+ RH,+ zH];-function Ghe({ animate: e }) {+function fge({ animate: e }) {let [t, n] = (0, P.useState)(document.hidden);return (0, P.useEffect)(() => {let e = () => n(document.hidden);@@ -45078,8 +45258,8 @@ function Ghe({ animate: e }) {} }, t))]});}-function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = Math.max(0, AH.indexOf(e)), [a, o] = (0, P.useState)(i);+function BH({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = Math.max(0, FH.indexOf(e)), [a, o] = (0, P.useState)(i);return (0, P.useEffect)(() => {t || o(i);}, [i, t]), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -45090,7 +45270,7 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "text-text-tertiary",children: "处理强度 "- }), jH[a]]+ }), IH[a]]}),/* @__PURE__ */ (0, F.jsxs)("div", {className: "processing-effort-scale text-caption-1-regular text-text-tertiary",@@ -45098,19 +45278,19 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {children: [/* @__PURE__ */ (0, F.jsxs)("span", {"data-selected": a === 0 || void 0,- children: [/* @__PURE__ */ (0, F.jsx)(MH, {}), "最慢"]+ children: [/* @__PURE__ */ (0, F.jsx)(LH, {}), "最慢"]}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-selected": a === 1 || void 0,- children: [/* @__PURE__ */ (0, F.jsx)(NH, {}), "标准"]+ children: [/* @__PURE__ */ (0, F.jsx)(RH, {}), "标准"]}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-selected": a === 2 || void 0,- children: [/* @__PURE__ */ (0, F.jsx)(PH, {}), "最快"]+ children: [/* @__PURE__ */ (0, F.jsx)(zH, {}), "最快"]})]}),- /* @__PURE__ */ (0, F.jsxs)(Bue, {+ /* @__PURE__ */ (0, F.jsxs)(sde, {"aria-label": "处理速度",minValue: 0,maxValue: 2,@@ -45119,10 +45299,10 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {isDisabled: t,onChange: o,onChangeEnd: (e) => {- e !== i && n(AH[e]);+ e !== i && n(FH[e]);},className: "processing-effort-slider",- children: [/* @__PURE__ */ (0, F.jsx)(wI, {+ children: [/* @__PURE__ */ (0, F.jsx)(jI, {className: "processing-effort-label",children: "处理速度"}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -45142,11 +45322,11 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {/* @__PURE__ */ (0, F.jsx)("i", {})]}),- a === 2 ? /* @__PURE__ */ (0, F.jsx)(Ghe, { animate: r }) : null,- /* @__PURE__ */ (0, F.jsx)(Vue, {+ a === 2 ? /* @__PURE__ */ (0, F.jsx)(fge, { animate: r }) : null,+ /* @__PURE__ */ (0, F.jsx)(cde, {className: "processing-effort-hit",- children: /* @__PURE__ */ (0, F.jsx)(Hue, {- "aria-label": jH[a],+ children: /* @__PURE__ */ (0, F.jsx)(lde, {+ "aria-label": IH[a],className: "processing-effort-thumb"})})@@ -45160,8 +45340,8 @@ function FH({ value: e, busy: t, onChange: n, animate: r = !0 }) {]});}-function Khe({ value: e, busy: t, onChange: n, animate: r = !0 }) {- let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(!1), s = Math.max(0, AH.indexOf(e));+function pge({ value: e, busy: t, onChange: n, animate: r = !0 }) {+ let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(!1), s = Math.max(0, FH.indexOf(e));return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "processing-effort-trigger","data-speed": e,@@ -45169,28 +45349,28 @@ function Khe({ value: e, busy: t, onChange: n, animate: r = !0 }) {ref: i,size: "small",variant: "secondary",- "aria-label": `处理速度:${jH[s]}`,+ "aria-label": `处理速度:${IH[s]}`,"aria-haspopup": "dialog","aria-expanded": a,"aria-disabled": t,- leadingIcon: Whe[s],- trailingIcon: sz,+ leadingIcon: dge[s],+ trailingIcon: fz,onClick: () => {t || o(!a);},- children: jH[s]+ children: IH[s]})- }), /* @__PURE__ */ (0, F.jsx)(tR, {+ }), /* @__PURE__ */ (0, F.jsx)(oR, {triggerRef: i,isOpen: a,onOpenChange: o,placement: "top start",offset: 8,- className: YB,- children: /* @__PURE__ */ (0, F.jsx)(kH, {+ className: eV,+ children: /* @__PURE__ */ (0, F.jsx)(PH, {"aria-label": "处理速度",className: "outline-none",- children: /* @__PURE__ */ (0, F.jsx)(FH, {+ children: /* @__PURE__ */ (0, F.jsx)(BH, {value: e,busy: t,onChange: n,@@ -45200,10 +45380,10 @@ function Khe({ value: e, busy: t, onChange: n, animate: r = !0 }) {})] });}// src/react/library-processing/processing-controls.tsx-function IH({ state: e, disabled: t = !1 }) {- let n = EH(), r = fH(e), i = e.status === "stopping", a = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", o = (e) => {- t || n.busy || n.run(e.action, (t) => V(cH, e, "POST", t), (e) => {- H.setQueryData(lH, e), H.invalidateQueries({ queryKey: lH });+function VH({ state: e, disabled: t = !1 }) {+ let n = jH(), r = _H(e), i = e.status === "stopping", a = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", o = (e) => {+ t || n.busy || n.run(e.action, (t) => V(pH, e, "POST", t), (e) => {+ H.setQueryData(mH, e), H.invalidateQueries({ queryKey: mH });});};return /* @__PURE__ */ (0, F.jsxs)("div", {@@ -45212,7 +45392,7 @@ function IH({ state: e, disabled: t = !1 }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [- /* @__PURE__ */ (0, F.jsx)(Khe, {+ /* @__PURE__ */ (0, F.jsx)(pge, {value: e.speed_mode || "standard",busy: t || !!n.busy || i,animate: e.status !== "paused" && e.status !== "pausing",@@ -45226,11 +45406,11 @@ function IH({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: e.status === "paused" ? vz : _z,+ leadingIcon: e.status === "paused" ? Cz : Sz,"aria-label": a,title: a,disabled: t || !e.job_id || e.status === "pausing" || i,- ...Rz(n.busy === "pause" || n.busy === "resume"),+ ...Uz(n.busy === "pause" || n.busy === "resume"),onClick: () => {e.job_id && o({action: e.status === "paused" ? "resume" : "pause",@@ -45242,7 +45422,7 @@ function IH({ state: e, disabled: t = !1 }) {size: "small",variant: "secondary",disabled: t || !e.job_id || i,- ...Rz(n.busy === "cancel"),+ ...Uz(n.busy === "cancel"),onClick: () => {e.job_id && o({action: "cancel",@@ -45260,11 +45440,11 @@ function IH({ state: e, disabled: t = !1 }) {});}// src/react/library-processing/use-library-processing.ts-function LH({ toast: e, mode: t, monitor: n }) {+function HH({ toast: e, mode: t, monitor: n }) {let r = t === "notice" || !!n, i = Pt({- queryKey: lH,- queryFn: ({ signal: e }) => _H(e),- refetchInterval: (e) => bH(e.state.data, r)+ queryKey: mH,+ queryFn: ({ signal: e }) => SH(e),+ refetchInterval: (e) => TH(e.state.data, r)}), [a, o] = (0, P.useState)(null), s = (0, P.useRef)(void 0), c = i.data;return (0, P.useEffect)(() => {if (!c) return;@@ -45275,8 +45455,8 @@ function LH({ toast: e, mode: t, monitor: n }) {"pausing","paused","stopping"- ].includes(n) && !fH(c);- r && o(c), (r || t === "notice") && Bhe(c, e, r);+ ].includes(n) && !_H(c);+ r && o(c), (r || t === "notice") && sge(c, e, r);}, [c,t,@@ -45288,37 +45468,37 @@ function LH({ toast: e, mode: t, monitor: n }) {};}// src/react/components/card.tsx-var qhe = "min-w-0", Jhe = {+var mge = "min-w-0", hge = {filled: "bg-background-secondary-default",outlined: "border border-separator-border bg-background-primary-default",raised: "bg-background-primary-default"-}, Yhe = {+}, gge = {default: "rounded-2xl shadow-card",chart: "rounded-2-5xl",surface: "rounded-surface",plain: "rounded-2xl"-}, Xhe = {+}, _ge = {line: "border border-border-button-default",soft: "border border-separator-border"-}, Zhe = {+}, vge = {none: "",default: "p-5"-}, Qhe = "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", $he = "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 RH(e = {}) {+}, yge = "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", bge = "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 UH(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 [- qhe,- Jhe[t],- Yhe[s],- Zhe[n],- a ? Xhe[a] : "",- r ? Qhe : "",- i ? $he : "",+ mge,+ hge[t],+ gge[s],+ vge[n],+ a ? _ge[a] : "",+ r ? yge : "",+ i ? bge : "",o ?? ""].filter(Boolean).join(" ");}// src/react/components/loading-dots.tsx-function zH({ label: e }) {+function WH({ label: e }) {return /* @__PURE__ */ (0, F.jsxs)("p", {role: "status",className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",@@ -45337,21 +45517,21 @@ function zH({ label: e }) {});}// src/react/components/progress.tsx-var BH = 100, ege = .4;-function VH({ label: e, value: t, max: n = 100, stops: r = [] }) {- let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * BH;+var GH = 100, xge = .4;+function KH({ label: e, value: t, max: n = 100, stops: r = [] }) {+ let i = n > 0 ? n : 1, a = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), i), o = (e) => a(e) / i * GH;return /* @__PURE__ */ (0, F.jsxs)("svg", {role: "progressbar","aria-label": e,"aria-valuemin": 0,"aria-valuemax": i,"aria-valuenow": a(t),- viewBox: `0 0 ${BH} 1`,+ viewBox: `0 0 ${GH} 1`,preserveAspectRatio: "none",className: "h-1.5 w-full overflow-hidden rounded-full",children: [/* @__PURE__ */ (0, F.jsx)("rect", {- width: BH,+ width: GH,height: 1,className: "fill-background-tertiary-default"}),@@ -45362,7 +45542,7 @@ function VH({ label: e, value: t, max: n = 100, stops: r = [] }) {}),r.map((e) => /* @__PURE__ */ (0, F.jsx)("rect", {x: o(e),- width: ege,+ width: xge,height: 1,className: "fill-background-secondary-default"}, e))@@ -45370,26 +45550,26 @@ function VH({ label: e, value: t, max: n = 100, stops: r = [] }) {});}// src/react/components/task-progress.tsx-function HH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {+function qH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-task-progress": !0,- className: r ? "flex flex-col gap-1.5" : RH({+ className: r ? "flex flex-col gap-1.5" : UH({variant: "outlined",padding: "none",className: "flex flex-col gap-1.5 px-4 py-3.5"}),- children: n && n > 0 ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(VH, {+ children: n && n > 0 ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(KH, {label: e,value: t,max: n}), /* @__PURE__ */ (0, F.jsx)("p", {className: "text-caption-1-regular text-text-secondary wrap-anywhere",children: e- })] }) : /* @__PURE__ */ (0, F.jsx)(zH, { label: e })+ })] }) : /* @__PURE__ */ (0, F.jsx)(WH, { label: e })});}// src/react/library-processing/processing-line.tsx-function UH(e) {+function JH(e) {let [t, n] = (0, P.useState)({snapshot: e,seconds: 0@@ -45405,17 +45585,17 @@ function UH(e) {return () => window.clearInterval(r);}, [e, i]);let a = i && t.snapshot === e ? t.seconds : 0;- return Lhe(a ? {+ return ige(a ? {...e,waited_seconds: r + a} : e);}-function tge({ state: e }) {- return UH(e);+function Sge({ state: e }) {+ return JH(e);}-function nge({ state: e }) {- let t = UH(e);- return /* @__PURE__ */ (0, F.jsx)(HH, {+function Cge({ state: e }) {+ let t = JH(e);+ return /* @__PURE__ */ (0, F.jsx)(qH, {embedded: !0,label: t,value: Math.min(e.checked || 0, e.total || 0),@@ -45423,7 +45603,7 @@ function nge({ state: e }) {});}// src/react/components/collapse-region.tsx-function WH({ open: e, children: t, ...n }) {+function YH({ open: e, children: t, ...n }) {let r = (0, P.useRef)(null), i = (0, P.useRef)(!1);return (0, P.useLayoutEffect)(() => {let t = r.current;@@ -45434,7 +45614,7 @@ function WH({ open: e, children: t, ...n }) {children: t});}-function GH(e) {+function XH(e) {return /* @__PURE__ */ (0, F.jsx)("svg", {...e,"aria-hidden": !0,@@ -45449,21 +45629,21 @@ function GH(e) {});}// src/react/boardui/components/application/settings/settings-rows.tsx-function KH({ className: e, children: t }) {+function ZH({ className: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {- className: cF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),+ className: oF("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),children: t});}-function qH({ className: e, children: t }) {+function QH({ className: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)("p", {- className: cF("w-full px-3 text-body-2-medium text-text-secondary", e),+ className: oF("w-full px-3 text-body-2-medium text-text-secondary", e),children: t});}-function rge({ label: e, description: t, children: n }) {+function wge({ label: e, description: t, children: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {- className: cF("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: oF("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, F.jsxs)("div", {className: "flex min-w-0 flex-col",children: [/* @__PURE__ */ (0, F.jsx)("p", {@@ -45477,7 +45657,7 @@ function rge({ label: e, description: t, children: n }) {});}// src/react/settings/section.tsx-function ige({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {+function Tge({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {let o = t ? /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex items-center gap-1.5",children: [t, e]@@ -45485,12 +45665,12 @@ function ige({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {className: "flex w-full flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, F.jsx)("div", {className: "min-w-40 flex-1",- children: /* @__PURE__ */ (0, F.jsx)(qH, { children: o })+ children: /* @__PURE__ */ (0, F.jsx)(QH, { children: o })}), /* @__PURE__ */ (0, F.jsx)("div", {className: "flex min-w-0 max-w-full",children: r})]- }) : /* @__PURE__ */ (0, F.jsx)(qH, { children: o }), /* @__PURE__ */ (0, F.jsx)(KH, { children: a })] });+ }) : /* @__PURE__ */ (0, F.jsx)(QH, { children: o }), /* @__PURE__ */ (0, F.jsx)(ZH, { children: a })] });return i ? /* @__PURE__ */ (0, F.jsx)("form", {id: n,"aria-label": e,@@ -45505,13 +45685,13 @@ function ige({ title: e, icon: t, id: n, aside: r, onSubmit: i, children: a }) {children: s});}-function age({ children: e }) {+function Ege({ children: e }) {return /* @__PURE__ */ (0, F.jsx)("div", {className: "ui-settings-rows flex flex-col empty:hidden",children: e});}-function oge({ divided: e = !1, children: t }) {+function Dge({ divided: e = !1, children: t }) {return e ? /* @__PURE__ */ (0, F.jsx)("div", {className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden",children: t@@ -45520,7 +45700,7 @@ function oge({ divided: e = !1, children: t }) {children: t});}-function sge({ label: e, html: t }) {+function Oge({ label: e, html: t }) {let [n] = (0, P.useState)(t);return /* @__PURE__ */ (0, F.jsx)("div", {className: "contents",@@ -45530,7 +45710,7 @@ function sge({ label: e, html: t }) {dangerouslySetInnerHTML: { __html: n }});}-function cge({ status: e, children: t }) {+function kge({ status: e, children: t }) {return /* @__PURE__ */ (0, F.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 empty:hidden",children: [e ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -45539,34 +45719,34 @@ function cge({ status: e, children: t }) {}) : null, t]});}-function JH({ role: e, children: t }) {+function $H({ role: e, children: t }) {return /* @__PURE__ */ (0, F.jsx)("p", {role: e,className: "text-body-2-regular text-text-secondary",children: t});}-function YH({ children: e }) {+function eU({ children: e }) {return /* @__PURE__ */ (0, F.jsx)("p", {role: "alert",className: "text-body-2-regular text-text-error-primary",children: e});}-function XH({ children: e }) {+function tU({ children: e }) {return /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-medium text-text-primary",children: e});}-function lge({ href: e, children: t, leadingIcon: n }) {- return /* @__PURE__ */ (0, F.jsx)(TH, {+function Age({ href: e, children: t, leadingIcon: n }) {+ return /* @__PURE__ */ (0, F.jsx)(AH, {href: e,target: "_blank",rel: "noopener noreferrer",size: "small",leadingIcon: n,- trailingIcon: dz,+ trailingIcon: gz,className: "min-w-0 max-w-full",children: /* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 whitespace-normal break-all",@@ -45574,22 +45754,22 @@ function lge({ href: e, children: t, leadingIcon: n }) {})});}-function uge() {- return /* @__PURE__ */ (0, F.jsx)(TH, {+function jge() {+ return /* @__PURE__ */ (0, F.jsx)(AH, {href: "/tasks",size: "small",- trailingIcon: cz,+ trailingIcon: pz,className: "self-start",children: "在任务中心查看进度"});}-function dge({ children: e }) {+function Mge({ children: e }) {return /* @__PURE__ */ (0, F.jsx)("dl", {className: "ui-settings-facts flex flex-col empty:hidden",children: e});}-function fge({ term: e, children: t }) {+function Nge({ term: e, children: t }) {return /* @__PURE__ */ (0, F.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, F.jsx)("dt", {@@ -45601,7 +45781,7 @@ function fge({ term: e, children: t }) {})]});}-function ZH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {+function nU({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {let s = (0, P.useId)(), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(!1), [d, f] = (0, P.useState)(n ?? t);return (0, P.useLayoutEffect)(() => {n !== void 0 && n !== d && c.current && l.current && (xo(c.current, l.current, n), f(n));@@ -45617,12 +45797,12 @@ function ZH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:},className: `${i ? "w-full" : "w-fit"} flex 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: [- i ? null : /* @__PURE__ */ (0, F.jsx)(lz, {+ i ? null : /* @__PURE__ */ (0, F.jsx)(mz, {"aria-hidden": !0,className: d ? "size-(--icon-inline) shrink-0 rotate-90 transition-transform" : "size-(--icon-inline) shrink-0 transition-transform"}),e,- i ? /* @__PURE__ */ (0, F.jsx)(lz, {+ i ? /* @__PURE__ */ (0, F.jsx)(mz, {"aria-hidden": !0,className: d ? "ml-auto size-(--icon-inline) shrink-0 -rotate-90 transition-transform" : "ml-auto size-(--icon-inline) shrink-0 rotate-90 transition-transform"}) : null@@ -45632,13 +45812,13 @@ function ZH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:id: s,inert: !d,children: /* @__PURE__ */ (0, F.jsx)("div", {- className: cF("flex flex-col gap-2 pt-3", o),+ className: oF("flex flex-col gap-2 pt-3", o),children: r})})]});}-function pge({ name: e }) {+function Pge({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,"data-source-mark": e,@@ -45648,34 +45828,34 @@ function pge({ name: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function QH({ mark: e }) {+function rU({ mark: e }) {return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, F.jsx)("img", {src: e,alt: "",width: 16,height: 16,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, F.jsx)(pge, { name: e });+ }) : /* @__PURE__ */ (0, F.jsx)(Pge, { name: e });}// src/react/components/source-label.tsx-var $H = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, mge = Object.fromEntries(Object.entries(Qo).map(([e, t]) => [e, function({ className: e }) {+var iU = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, Fge = Object.fromEntries(Object.entries(Qo).map(([e, t]) => [e, function({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, F.jsx)(QH, { mark: t })+ children: /* @__PURE__ */ (0, F.jsx)(rU, { mark: t })});}]));-function hge({ className: e }) {+function Ige({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("span", {className: e,- children: /* @__PURE__ */ (0, F.jsx)(QH, { mark: "database" })+ children: /* @__PURE__ */ (0, F.jsx)(rU, { mark: "database" })});}-var eU = (e) => mge[$H(e)] ?? hge;-function gge({ site: e, label: t }) {+var aU = (e) => Fge[iU(e)] ?? Ige;+function Lge({ site: e, label: t }) {let [n, r] = (0, P.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;return /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [n || !i ? /* @__PURE__ */ (0, F.jsx)(QH, { mark: "globe" }) : /* @__PURE__ */ (0, F.jsx)("img", {+ children: [n || !i ? /* @__PURE__ */ (0, F.jsx)(rU, { mark: "globe" }) : /* @__PURE__ */ (0, F.jsx)("img", {src: i,alt: "",className: "size-(--icon-inline) shrink-0 object-contain",@@ -45683,24 +45863,24 @@ function gge({ site: e, label: t }) {}), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]});}-function tU({ source: e, label: t }) {- let n = $H(e);+function oU({ source: e, label: t }) {+ let n = iU(e);return /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, F.jsx)(QH, { mark: Qo[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(rU, { mark: Qo[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 truncate",children: t})]});}// src/react/library-processing/processing-traffic.tsx-var nU = (e) => jn(e).replace(/\s/g, ""), rU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : nU(e), _ge = (e, t) => {- if (e === t) return nU(t);+var sU = (e) => jn(e).replace(/\s/g, ""), cU = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : sU(e), Rge = (e, t) => {+ if (e === t) return sU(t);let [n, r] = jn(e).split(" "), [i, a] = jn(t).split(" ");- return r === a ? `${n}-${i}${a}` : `${nU(e)}-${nU(t)}`;-}, iU = (e, t, n) => e === void 0 ? _ge(t, n) : `${e > 0 ? "约 " : ""}${nU(e)}`;-function aU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {- let i = rV(), [a, o] = (0, P.useState)(!1), s = (0, P.useId)(), c = n ?? a;+ return r === a ? `${n}-${i}${a}` : `${sU(e)}-${sU(t)}`;+}, lU = (e, t, n) => e === void 0 ? Rge(t, n) : `${e > 0 ? "约 " : ""}${sU(e)}`;+function uU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r }) {+ let i = cV(), [a, o] = (0, P.useState)(!1), s = (0, P.useId)(), c = n ?? a;if (!e) return null;let l = (e) => e.toLocaleString("zh-CN");return /* @__PURE__ */ (0, F.jsxs)("div", {@@ -45742,25 +45922,25 @@ function aU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, F.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, F.jsx)(mz, {+ children: [/* @__PURE__ */ (0, F.jsx)(yz, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]}),/* @__PURE__ */ (0, F.jsx)("p", {className: "text-title-3-semibold text-text-primary",- children: iU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)+ children: lU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)}),/* @__PURE__ */ (0, F.jsxs)("p", { children: [e.unknown_route_estimated_bytes ? "已确认代理" : "代理"," ",- iU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)+ lU(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)] }),t ? null : /* @__PURE__ */ (0, F.jsxs)("p", { children: ["已用 ",- /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.partial ? "约 " : "", nU(e.used_bytes)] }),+ /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.partial ? "约 " : "", sU(e.used_bytes)] })," · 代理 ",- nU(e.metered_used_bytes)+ sU(e.metered_used_bytes)] })]}), e.disk ? /* @__PURE__ */ (0, F.jsxs)("section", {@@ -45769,25 +45949,25 @@ function aU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, F.jsxs)("p", {className: "inline-flex items-center gap-1.5",- children: [/* @__PURE__ */ (0, F.jsx)(wpe, {+ children: [/* @__PURE__ */ (0, F.jsx)(Gpe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]}),/* @__PURE__ */ (0, F.jsxs)("p", {className: "text-title-3-semibold text-text-primary",- children: ["约 ", nU(e.disk.estimated_bytes)]+ children: ["约 ", sU(e.disk.estimated_bytes)]}),- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, F.jsxs)("p", { children: ["抽帧临时文件约 ", rU(e.disk.temporary_bytes)] }) : null,+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, F.jsxs)("p", { children: ["抽帧临时文件约 ", cU(e.disk.temporary_bytes)] }) : null,e.disk.volumes.map((e) => /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-col gap-1",children: [/* @__PURE__ */ (0, F.jsxs)("p", { children: [e.path," 剩余 ",- e.free_bytes == null ? "未取得" : nU(e.free_bytes)+ e.free_bytes == null ? "未取得" : sU(e.free_bytes)] }), e.can_fit === !1 ? /* @__PURE__ */ (0, F.jsxs)("p", {role: "status",- children: ["空间不足,还差 ", nU(e.shortfall_bytes || 0)]+ children: ["空间不足,还差 ", sU(e.shortfall_bytes || 0)]}) : null]}, e.path)),e.disk.cache_unknown ? /* @__PURE__ */ (0, F.jsx)("p", {@@ -45803,7 +45983,7 @@ function aU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })className: "self-start","aria-expanded": c,"aria-controls": s,- trailingIcon: c ? Hfe : sz,+ trailingIcon: c ? lpe : fz,onClick: () => {o(!c), r?.(!c);},@@ -45822,12 +46002,12 @@ function aU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 items-start justify-between gap-2",- children: [e.root ? /* @__PURE__ */ (0, F.jsx)(tU, {+ children: [e.root ? /* @__PURE__ */ (0, F.jsx)(oU, {source: e.location,label: e.label}) : /* @__PURE__ */ (0, F.jsxs)("span", {className: "inline-flex min-w-0 items-center gap-1.5",- children: [/* @__PURE__ */ (0, F.jsx)(QH, { mark: "globe" }), e.label]+ children: [/* @__PURE__ */ (0, F.jsx)(rU, { mark: "globe" }), e.label]}), /* @__PURE__ */ (0, F.jsx)("span", {className: "shrink-0",children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"@@ -45849,7 +46029,7 @@ function aU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"待补资料 ",l(e.workload.pending_jav_titles)," 部 · 平均约 ",- rU(e.workload.metadata_average_bytes || 0),+ cU(e.workload.metadata_average_bytes || 0),"/部"]}) : null,@@ -45859,8 +46039,8 @@ function aU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })"已用",e.unobserved.length ? "约" : ""," ",- nU(e.used_bytes)- ] }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["预计 ", iU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]+ sU(e.used_bytes)+ ] }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["预计 ", lU(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]})]}, e.key))@@ -45871,15 +46051,15 @@ function aU({ traffic: e, initial: t = !1, detailsOpen: n, onDetailsChange: r })});}// src/react/library-processing/library-processing-notice.tsx-var oU = "peach.library-processing.collapsed";-function sU(e) {+var dU = "peach.library-processing.collapsed";+function fU(e) {try {- return !e || sessionStorage.getItem(oU) !== e;+ return !e || sessionStorage.getItem(dU) !== e;} catch {return !0;}}-function vge({ value: e, max: t }) {+function zge({ value: e, max: t }) {let n = Math.max(0, Math.min(100, e / t * 100));return /* @__PURE__ */ (0, F.jsxs)("svg", {role: "progressbar",@@ -45909,14 +46089,14 @@ function vge({ value: e, max: t }) {})]});}-function cU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {- let [i, a] = (0, P.useState)(() => sU(e?.job_id)), o = (0, P.useId)(), [s, c] = (0, P.useState)(!1), l = (0, P.useRef)(null), u = !t && pH(e), d = e?.status === "failed" && !u, f = fH(e);+function pU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {+ let [i, a] = (0, P.useState)(() => fU(e?.job_id)), o = (0, P.useId)(), [s, c] = (0, P.useState)(!1), l = (0, P.useRef)(null), u = !t && vH(e), d = e?.status === "failed" && !u, f = _H(e);(0, P.useEffect)(() => {- a(sU(e?.job_id)), c(!1);+ a(fU(e?.job_id)), c(!1);}, [e?.job_id]);let p = () => {try {- i && e?.job_id ? sessionStorage.setItem(oU, e.job_id) : sessionStorage.removeItem(oU);+ i && e?.job_id ? sessionStorage.setItem(dU, e.job_id) : sessionStorage.removeItem(dU);} catch {}i && c(!1), a(!i);};@@ -45931,14 +46111,14 @@ function cU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {t = !0, i.disconnect(), document.documentElement.style.removeProperty("--processing-toast-space");};}, [n]), e?.archived && !t || !t && !f && !d && !u) return null;- let m = t ? null : uH(e), h = !!t || !!e?.stalled || u || !!m, g = u ? "处理已结束,部分项目需处理" : d ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";+ let m = t ? null : hH(e), h = !!t || !!e?.stalled || u || !!m, g = u ? "处理已结束,部分项目需处理" : d ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";return /* @__PURE__ */ (0, F.jsxs)("aside", {ref: l,"data-processing-dock": "","data-processing-tone": d ? "error" : h ? "warning" : "neutral","aria-label": "扫描任务",role: d ? "alert" : "status",- className: cF("flex min-w-0 flex-col border bg-background-primary-default p-4", d ? "border-current/35 text-text-error-primary" : h ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),+ className: oF("flex min-w-0 flex-col border bg-background-primary-default p-4", d ? "border-current/35 text-text-error-primary" : h ? "border-current/35 text-status-yellow-text" : "border-border-button-default text-text-primary"),children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-col gap-3",@@ -45946,13 +46126,13 @@ function cU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 items-center gap-3",children: [- f && e?.total ? /* @__PURE__ */ (0, F.jsx)(vge, {+ f && e?.total ? /* @__PURE__ */ (0, F.jsx)(zge, {value: e.checked || 0,max: e.total- }) : d || h ? /* @__PURE__ */ (0, F.jsx)(tpe, {+ }) : d || h ? /* @__PURE__ */ (0, F.jsx)(Spe, {"aria-hidden": !0,className: "size-5 shrink-0"- }) : /* @__PURE__ */ (0, F.jsx)(fpe, {+ }) : /* @__PURE__ */ (0, F.jsx)(Npe, {"aria-hidden": !0,className: "size-5 shrink-0"}),@@ -45964,14 +46144,14 @@ function cU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}), f ? /* @__PURE__ */ (0, F.jsx)("p", {"data-processing-eta": "",className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",- children: gH(e)+ children: xH(e)}) : null]}),/* @__PURE__ */ (0, F.jsx)(q, {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: GH,+ leadingIcon: XH,"data-processing-toggle": "","data-collapse-upward": "","aria-label": i ? "收起任务详情" : "展开任务详情",@@ -45983,31 +46163,31 @@ function cU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {size: "small",variant: "secondary",iconOnly: !0,- leadingIcon: uz,+ leadingIcon: hz,"aria-label": "隐藏任务提示",onClick: r}) : null]}),- /* @__PURE__ */ (0, F.jsx)(aU, {+ /* @__PURE__ */ (0, F.jsx)(uU, {traffic: e?.traffic,detailsOpen: s,onDetailsChange: c}),- m ? /* @__PURE__ */ (0, F.jsx)(Hhe, {+ m ? /* @__PURE__ */ (0, F.jsx)(lge, {state: e,slow: m}) : null]}),- /* @__PURE__ */ (0, F.jsx)(WH, {+ /* @__PURE__ */ (0, F.jsx)(YH, {id: o,open: i,"data-processing-body": "",children: /* @__PURE__ */ (0, F.jsx)("div", {className: "pt-3",children: /* @__PURE__ */ (0, F.jsxs)("div", {- className: cF("flex min-w-0 flex-col gap-2 border-t pt-3", d ? "border-border-error-default/20" : h ? "border-current/20" : "border-separator-border"),+ className: oF("flex min-w-0 flex-col gap-2 border-t pt-3", d ? "border-border-error-default/20" : h ? "border-current/20" : "border-separator-border"),children: [e?.steps?.length ? /* @__PURE__ */ (0, F.jsx)("ol", {"aria-label": "处理步骤",@@ -46015,14 +46195,14 @@ function cU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {children: e.steps.map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {"data-processing-step": e.status,"aria-current": e.status === "current" ? "step" : void 0,- className: cF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),+ className: oF("flex min-h-8 items-center gap-2 text-body-2-regular", e.status === "current" ? "text-text-primary" : "text-text-tertiary"),children: [- e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(Jfe, {+ e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(hpe, {"aria-hidden": !0,className: "size-(--icon-inline) shrink-0"- }) : /* @__PURE__ */ (0, F.jsx)(Yfe, {+ }) : /* @__PURE__ */ (0, F.jsx)(gpe, {"aria-hidden": !0,- className: cF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")+ className: oF("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")}),/* @__PURE__ */ (0, F.jsx)(xw, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),e.status === "complete" ? /* @__PURE__ */ (0, F.jsx)("s", {@@ -46037,11 +46217,11 @@ function cU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {}) : null,/* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, F.jsx)(tge, { state: e }))+ children: t || (d || u ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, F.jsx)(Sge, { state: e }))}),u ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular wrap-anywhere",- children: mH+ children: yH}) : null,f && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, F.jsxs)("p", {className: "text-caption-1-regular text-text-tertiary",@@ -46058,20 +46238,20 @@ function cU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center justify-between gap-2 pt-3",children: [- /* @__PURE__ */ (0, F.jsx)(TH, {+ /* @__PURE__ */ (0, F.jsx)(AH, {href: "/data-cleanup#libraryProcessing",variant: "secondary",size: "small",- trailingIcon: cz,+ trailingIcon: pz,children: t || d || u ? "打开扫描与采集" : "任务详情"}),- u ? /* @__PURE__ */ (0, F.jsx)(TH, {- href: hH,+ u ? /* @__PURE__ */ (0, F.jsx)(AH, {+ href: bH,size: "small",- trailingIcon: cz,+ trailingIcon: pz,children: "查看全部内容"}) : null,- f ? /* @__PURE__ */ (0, F.jsx)(IH, {+ f ? /* @__PURE__ */ (0, F.jsx)(VH, {state: e,disabled: !!t}) : null@@ -46080,67 +46260,67 @@ function cU({ state: e, problem: t = "", measure: n = !1, onHide: r }) {]});}-function yge(e) {- let { job: t } = LH(e);- return /* @__PURE__ */ (0, F.jsx)(cU, {+function Bge(e) {+ let { job: t } = HH(e);+ return /* @__PURE__ */ (0, F.jsx)(pU, {state: t.data,- problem: t.isError ? t.data ? yH : Wn(t.error) : ""+ problem: t.isError ? t.data ? wH : Wn(t.error) : ""});}// src/react/library-processing/processing-notice-visibility.ts-var lU = "peach.library-processing.visibility", uU = /* @__PURE__ */ new Set(), dU = "";-function bge() {+var mU = "peach.library-processing.visibility", hU = /* @__PURE__ */ new Set(), gU = "";+function Vge() {try {- return sessionStorage.getItem(lU) || "";+ return sessionStorage.getItem(mU) || "";} catch {- return dU;+ return gU;}}-function xge(e) {- return uU.add(e), () => {- uU.delete(e);+function Hge(e) {+ return hU.add(e), () => {+ hU.delete(e);};}-function fU(e, t) {- dU = `${t ? "shown" : "hidden"}:${e}`;+function _U(e, t) {+ gU = `${t ? "shown" : "hidden"}:${e}`;try {- sessionStorage.setItem(lU, dU);+ sessionStorage.setItem(mU, gU);} catch {}- uU.forEach((e) => e());+ hU.forEach((e) => e());}-function pU(e) {- let t = (0, P.useSyncExternalStore)(xge, bge, () => "");+function vU(e) {+ let t = (0, P.useSyncExternalStore)(Hge, Vge, () => "");return {hidden: t === `hidden:${e}`,requested: t === `shown:${e}`};}// src/react/library-processing/library-processing-dock.tsx-var mU = "peach-library-processing";-function Sge({ toast: e }) {- let { job: t, settled: n } = LH({+var yU = "peach-library-processing";+function Uge({ toast: e }) {+ let { job: t, settled: n } = HH({toast: e,mode: "notice"- }), r = (0, P.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = pU(a), c = t.isError ? i ? yH : Wn(t.error) : "";+ }), r = (0, P.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = vU(a), c = t.isError ? i ? wH : Wn(t.error) : "";return (0, P.useEffect)(() => {- let e = fH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || CH(i));- o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && nH.dismiss(mU), r.current = !1) : (nH.custom(() => /* @__PURE__ */ (0, F.jsx)("div", {+ let e = _H(i), t = i?.status === "failed" && (n?.job_id === i.job_id || OH(i));+ o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && sH.dismiss(yU), r.current = !1) : (sH.custom(() => /* @__PURE__ */ (0, F.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, F.jsx)(cU, {+ children: /* @__PURE__ */ (0, F.jsx)(pU, {state: i,problem: c,measure: !0,- onHide: () => fU(a, !1)+ onHide: () => _U(a, !1)})}), {- id: mU,+ id: yU,toasterId: "processing",duration: Infinity,dismissible: !1,closeButton: !1,className: "processing-task-toast",onDismiss: () => {- fU(a, !1), r.current = !1;+ _U(a, !1), r.current = !1;}}), r.current = !0);}, [@@ -46151,19 +46331,19 @@ function Sge({ toast: e }) {o,s]), (0, P.useEffect)(() => () => {- r.current && nH.dismiss(mU), r.current = !1;+ r.current && sH.dismiss(yU), r.current = !1;}, []), null;}// src/react/network-banner.tsx-var Cge = ["network-status"], wge = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";-function Tge(e) {+var Wge = ["network-status"], Gge = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";+function Kge(e) {return e?.state === "online" ? 12e4 : 3e4;}-function Ege() {+function qge() {let e = Pt({- queryKey: Cge,+ queryKey: Wge,queryFn: ({ signal: e }) => B("/api/network-status", e),- refetchInterval: (e) => Tge(e.state.data),+ refetchInterval: (e) => Kge(e.state.data),retry: !1}), t = document.querySelector("[data-network-banner]");return e.data?.state !== "offline" || !t ? null : (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsxs)("aside", {@@ -46174,22 +46354,22 @@ function Ege() {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-alert" })- }), /* @__PURE__ */ (0, F.jsx)("p", { children: wge })] }), /* @__PURE__ */ (0, F.jsx)("a", {+ }), /* @__PURE__ */ (0, F.jsx)("p", { children: Gge })] }), /* @__PURE__ */ (0, F.jsx)("a", {href: "/settings/network#peachProxy",children: "检查 Peach 代理"})]}), t);}// src/react/client-updates.tsx-var Dge = 12e4, Oge = 15e3, hU = () => document.visibilityState !== "hidden", gU = /* @__PURE__ */ new Set([+var Jge = 12e4, Yge = 15e3, bU = () => document.visibilityState !== "hidden", xU = /* @__PURE__ */ new Set(["downloading","verifying","extracting","preparing","restarting","installing"-]), _U = "/settings/maintenance#releaseUpdates";-function kge() {+]), SU = "/settings/maintenance#releaseUpdates";+function Xge() {try {let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");return typeof e?.version == "string" && typeof e?.build_id == "string" ? {@@ -46200,23 +46380,23 @@ function kge() {return null;}}-function vU() {- let e = (0, P.useRef)(kge()), [t, n] = (0, P.useState)(null);+function CU() {+ let e = (0, P.useRef)(Xge()), [t, n] = (0, P.useState)(null);return (0, P.useEffect)(() => {let t = !1, r, i, a = async () => {- if (t || !hU()) return;+ if (t || !bU()) return;let o = new AbortController();i = o;- let s = setTimeout(() => o.abort(), Oge);+ let s = setTimeout(() => o.abort(), Yge);o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });try {let r = await B("/api/client-updates", o.signal);!t && !o.signal.aborted && typeof r?.runtime?.version == "string" && typeof r.runtime.build_id == "string" && (e.current ??= { ...r.runtime }, n(r));} catch {} finally {- clearTimeout(s), i === o && (i = void 0, !t && hU() && (r = setTimeout(a, Dge)));+ clearTimeout(s), i === o && (i = void 0, !t && bU() && (r = setTimeout(a, Jge)));}}, o = () => {- clearTimeout(r), i?.abort(), i = void 0, hU() && a();+ clearTimeout(r), i?.abort(), i = void 0, bU() && a();};return document.addEventListener("visibilitychange", o), document.addEventListener("peach:client-updates", o), a(), () => {t = !0, clearTimeout(r), i?.abort(), document.removeEventListener("visibilitychange", o), document.removeEventListener("peach:client-updates", o);@@ -46226,12 +46406,12 @@ function vU() {refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)};}-function Age({ navigate: e }) {- let { snapshot: t, refresh: n } = vU(), [r, i] = (0, P.useState)(""), a = document.querySelector("[data-network-banner]");+function Zge({ navigate: e }) {+ let { snapshot: t, refresh: n } = CU(), [r, i] = (0, P.useState)(""), a = document.querySelector("[data-network-banner]");if (!t || !a) return null;- let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : gU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;+ let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : xU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;if (!l) return null;- let u = (s.state === "ready" || gU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [+ let u = (s.state === "ready" || xU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [l,c.version,c.build_id@@ -46254,22 +46434,22 @@ function Age({ navigate: e }) {children: [" Peach ", u]}) : null] })] }), /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex-wrap",- children: [l === "refresh" ? /* @__PURE__ */ (0, F.jsx)(TH, {+ children: [l === "refresh" ? /* @__PURE__ */ (0, F.jsx)(AH, {variant: "secondary",size: "small",onClick: () => window.location.reload(),"data-copy-key": "clientUpdates.refresh.action",children: "刷新页面"- }) : /* @__PURE__ */ (0, F.jsx)(TH, {+ }) : /* @__PURE__ */ (0, F.jsx)(AH, {variant: "secondary",size: "small",- href: _U,+ href: SU,onClick: (t) => {- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(_U));+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(SU));},"data-copy-key": `clientUpdates.${l}.action`,children: l === "preparing" ? "查看进度" : "查看更新"- }), /* @__PURE__ */ (0, F.jsx)(TH, {+ }), /* @__PURE__ */ (0, F.jsx)(AH, {variant: "secondary",size: "small",onClick: () => i(d),@@ -46280,20 +46460,20 @@ function Age({ navigate: e }) {}, d), a);}// src/react/router/pages/settings.tsx-function jge() {- let e = (0, P.useContext)(CU), { pathname: t } = FB();+function Qge() {+ let e = (0, P.useContext)(OU), { pathname: t } = BB();return (0, P.useEffect)(() => {- e?.openSettings?.(lV(t));+ e?.openSettings?.(mV(t));}, [e, t]), (0, P.useEffect)(() => () => {queueMicrotask(() => {- cV(JV.navigation.location.pathname) || e?.closeSettings?.();+ pV($V.navigation.location.pathname) || e?.closeSettings?.();});}, [e]), null;}// src/react/router/pages/overlay.tsx-var yU = () => lu, Mge = () => uu;-function Nge() {- let e = (0, P.useContext)(CU), t = (0, P.useSyncExternalStore)(bu, Mge), n = (0, P.useSyncExternalStore)(bu, yU);+var wU = () => lu, $ge = () => uu;+function e_e() {+ let e = (0, P.useContext)(OU), t = (0, P.useSyncExternalStore)(bu, $ge), n = (0, P.useSyncExternalStore)(bu, wU);return (0, P.useEffect)(() => {if (!t || !n) return;let r = !0;@@ -46308,11 +46488,11 @@ function Nge() {e]), null;}-function bU(e, t = !1) {- let n = (0, P.useSyncExternalStore)(bu, yU), r = (0, P.useRef)(void 0);+function TU(e, t = !1) {+ let n = (0, P.useSyncExternalStore)(bu, wU), r = (0, P.useRef)(void 0);if (r.current === void 0) {- let { claimed: e } = JV.navigation;- r.current = lu === 0 || XV() ? "boot" : e && !t ? null : "history";+ let { claimed: e } = $V.navigation;+ r.current = lu === 0 || tH() ? "boot" : e && !t ? null : "history";}let i = (0, P.useRef)(e);(0, P.useEffect)(() => {@@ -46328,22 +46508,22 @@ function bU(e, t = !1) {}));}, [n]);}-function Pge() {- let e = (0, P.useContext)(CU), t = (0, P.useRef)(e);+function t_e() {+ let e = (0, P.useContext)(OU), t = (0, P.useRef)(e);return (0, P.useLayoutEffect)(() => {t.current = e;- }, [e]), bU((t) => {- let n = JV.navigation.location, { pathname: r, search: i } = cV(n.pathname) && dV(n.state) || n, a = mV(r, i);- e && a && (bV(), t || $me(JV.navigation.location.state), e.openOverlay(a));+ }, [e]), TU((t) => {+ let n = $V.navigation.location, { pathname: r, search: i } = pV(n.pathname) && gV(n.state) || n, a = yV(r, i);+ e && a && (TV(), t || bhe($V.navigation.location.state), e.openOverlay(a));}, !0), (0, P.useEffect)(() => () => {queueMicrotask(() => {- hV(JV.navigation.location.pathname) || t.current?.closeStage();+ bV($V.navigation.location.pathname) || t.current?.closeStage();});}, []), null;}-function Fge({ path: e }) {- SU();- let { location: t, seq: n, action: r } = JV.navigation, i = cV(t.pathname) ? dV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, P.useRef)({+function n_e({ path: e }) {+ DU();+ let { location: t, seq: n, action: r } = $V.navigation, i = pV(t.pathname) ? gV(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, P.useRef)({identity: a,seq: i?.seq ?? n,navigationSeq: n,@@ -46354,161 +46534,161 @@ function Fge({ path: e }) {seq: n,navigationSeq: n,settings: !1- }), /* @__PURE__ */ (0, F.jsx)(Pge, {}, `${e} ${o.current.seq}`);+ }), /* @__PURE__ */ (0, F.jsx)(t_e, {}, `${e} ${o.current.seq}`);}-function Ige() {- let e = (0, P.useContext)(CU);- return bU(() => {+function r_e() {+ let e = (0, P.useContext)(OU);+ return TU(() => {e?.follow?.ground();}), null;}-function Lge() {- return /* @__PURE__ */ (0, F.jsx)(Ige, {}, SU());+function i_e() {+ return /* @__PURE__ */ (0, F.jsx)(r_e, {}, DU());}// src/react/router/router.tsx-var xU = (0, P.createContext)(0), SU = () => (0, P.useContext)(xU), CU = (0, P.createContext)(null);-function Rge({ children: e }) {- let [t, n] = (0, P.useState)(() => JV.navigation);- return (0, P.useLayoutEffect)(() => (n(JV.navigation), JV.listen((e) => {+var EU = (0, P.createContext)(0), DU = () => (0, P.useContext)(EU), OU = (0, P.createContext)(null);+function a_e({ children: e }) {+ let [t, n] = (0, P.useState)(() => $V.navigation);+ return (0, P.useLayoutEffect)(() => (n($V.navigation), $V.listen((e) => {(0, Lt.flushSync)(() => n(e));- })), []), /* @__PURE__ */ (0, F.jsx)(xU.Provider, {+ })), []), /* @__PURE__ */ (0, F.jsx)(EU.Provider, {value: t.openEpoch,- children: /* @__PURE__ */ (0, F.jsx)(Vme, {+ children: /* @__PURE__ */ (0, F.jsx)(che, {location: t.location,navigationType: t.action,- navigator: JV,+ navigator: $V,children: e})});}-function zge({ target: e }) {- let t = Eme();+function o_e({ target: e }) {+ let t = qme();return (0, P.useLayoutEffect)(() => {e.current = t;}), null;}-function Bge(e, t, n) {+function s_e(e, t, n) {let r = new URL(e, window.location.href);- N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);+ P6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);}-function Vge() {- let e = (0, P.useContext)(CU), [t, n] = (0, P.useState)(FV), r = (0, P.useRef)(null);- (0, P.useLayoutEffect)(() => (n(FV()), the((e, t) => {+function c_e() {+ let e = (0, P.useContext)(OU), [t, n] = (0, P.useState)(BV), r = (0, P.useRef)(null);+ (0, P.useLayoutEffect)(() => (n(BV()), She((e, t) => {t ? (0, Lt.flushSync)(() => n(e)) : n(e);})), []);let i = (0, P.useMemo)(() => (t) => {- e && r.current && Bge(t, e, r.current);+ e && r.current && s_e(t, e, r.current);}, [e]);- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(zge, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, F.jsx)(Hge, {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(o_e, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, F.jsx)(l_e, {entry: t,- children: /* @__PURE__ */ (0, F.jsx)(Uge, {+ children: /* @__PURE__ */ (0, F.jsx)(u_e, {entry: t,actions: e,go: i})}, t.revision)) : null] });}-var Hge = class extends P.Component {+var l_e = class extends P.Component {state = { failed: !1 };static getDerivedStateFromError() {return { failed: !0 };}componentDidCatch() {- ihe(this.props.entry.container, this.props.entry.revision);+ The(this.props.entry.container, this.props.entry.revision);}render() {return this.state.failed ? null : this.props.children;}-}, Uge = (0, P.memo)(function({ entry: e, actions: t, go: n }) {- return q6(e.path) ? (0, Lt.createPortal)(rMe(e.path, e.props, t, n), e.host, String(e.revision)) : null;+}, u_e = (0, P.memo)(function({ entry: e, actions: t, go: n }) {+ return J6(e.path) ? (0, Lt.createPortal)(OMe(e.path, e.props, t, n), e.host, String(e.revision)) : null;});-function Wge({ children: e }) {- let t = FB();- SU();- let n = ZV(), r = cV(t.pathname) && !XV() ? dV(t.state) : null;+function d_e({ children: e }) {+ let t = BB();+ DU();+ let n = nH(), r = pV(t.pathname) && !tH() ? gV(t.state) : null;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsxs)(WB, {+ /* @__PURE__ */ (0, F.jsxs)(YB, {location: n ?? t,children: [- Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(UB, {+ Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,element: t.element}, e)),- Object.entries($je).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(UB, {+ Object.entries(wMe).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,element: t.element}, e)),- Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(UB, {+ Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,element: t.element}, e)),- Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(UB, {+ Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,element: t.element}, e)),- Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(UB, {+ Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,element: t.element}, e)),- K6.map((e) => /* @__PURE__ */ (0, F.jsx)(UB, {+ q6.map((e) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,- element: B6["/"].element+ element: V6["/"].element}, e)),- Object.entries(eMe).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(UB, {+ Object.entries(TMe).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,element: t.element}, e)),- fV.map((e) => /* @__PURE__ */ (0, F.jsx)(UB, {+ _V.map((e) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, F.jsx)(Lge, {}) : B6["/"].element+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, F.jsx)(i_e, {}) : V6["/"].element}, e)),- sV.map((e) => /* @__PURE__ */ (0, F.jsx)(UB, {+ fV.map((e) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,element: null}, e)),- /* @__PURE__ */ (0, F.jsx)(UB, {+ /* @__PURE__ */ (0, F.jsx)(JB, {path: "*",element: e})]}),- /* @__PURE__ */ (0, F.jsxs)(WB, {+ /* @__PURE__ */ (0, F.jsxs)(YB, {location: r ?? t,- children: [fV.map((e) => /* @__PURE__ */ (0, F.jsx)(UB, {+ children: [_V.map((e) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,- element: /* @__PURE__ */ (0, F.jsx)(Fge, { path: e })- }, e)), /* @__PURE__ */ (0, F.jsx)(UB, {+ element: /* @__PURE__ */ (0, F.jsx)(n_e, { path: e })+ }, e)), /* @__PURE__ */ (0, F.jsx)(JB, {path: "*",element: null})]}),- /* @__PURE__ */ (0, F.jsxs)(WB, { children: [sV.map((e) => /* @__PURE__ */ (0, F.jsx)(UB, {+ /* @__PURE__ */ (0, F.jsxs)(YB, { children: [fV.map((e) => /* @__PURE__ */ (0, F.jsx)(JB, {path: e,- element: /* @__PURE__ */ (0, F.jsx)(jge, {})- }, e)), /* @__PURE__ */ (0, F.jsx)(UB, {+ element: /* @__PURE__ */ (0, F.jsx)(Qge, {})+ }, e)), /* @__PURE__ */ (0, F.jsx)(JB, {path: "*",element: null})] })] });}-function Gge({ children: e, actions: t = null, background: n, processing: r = !1 }) {- return /* @__PURE__ */ (0, F.jsxs)($V, { children: [n, /* @__PURE__ */ (0, F.jsx)(CU.Provider, {+function f_e({ children: e, actions: t = null, background: n, processing: r = !1 }) {+ return /* @__PURE__ */ (0, F.jsxs)(iH, { children: [n, /* @__PURE__ */ (0, F.jsx)(OU.Provider, {value: t,- children: /* @__PURE__ */ (0, F.jsxs)(Rge, { children: [- /* @__PURE__ */ (0, F.jsx)(Vge, {}),- /* @__PURE__ */ (0, F.jsx)(Nge, {}),- r && t ? /* @__PURE__ */ (0, F.jsx)(Sge, { toast: t.toast }) : null,- r && t ? /* @__PURE__ */ (0, F.jsx)(Ege, {}) : null,- r && t ? /* @__PURE__ */ (0, F.jsx)(Age, { navigate: t.navigate }) : null,- /* @__PURE__ */ (0, F.jsx)(Wge, { children: e })+ children: /* @__PURE__ */ (0, F.jsxs)(a_e, { children: [+ /* @__PURE__ */ (0, F.jsx)(c_e, {}),+ /* @__PURE__ */ (0, F.jsx)(e_e, {}),+ r && t ? /* @__PURE__ */ (0, F.jsx)(Uge, { toast: t.toast }) : null,+ r && t ? /* @__PURE__ */ (0, F.jsx)(qge, {}) : null,+ r && t ? /* @__PURE__ */ (0, F.jsx)(Zge, { navigate: t.navigate }) : null,+ /* @__PURE__ */ (0, F.jsx)(d_e, { children: e })] })})] });}-var Kge = { onCaughtError: (e) => {+var p_e = { onCaughtError: (e) => {globalThis.reportError?.(e);} };// src/react/boardui/utils/use-dismiss-on-outside-press.ts-function qge(e, t, n) {+function m_e(e, t, n) {(0, P.useEffect)(() => {if (!e) return;let r = (e) => {@@ -46522,7 +46702,7 @@ function qge(e, t, n) {n]);}-function Jge(e, t) {+function h_e(e, t) {let n = (0, P.useRef)(!1);return (0, P.useEffect)(() => {if (!e) return;@@ -46535,33 +46715,33 @@ function Jge(e, t) {}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;}// src/react/boardui/components/base/select/select.tsx-var wU = (0, P.createContext)("md");-function TU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {+var kU = (0, P.createContext)("md");+function AU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {let l = (0, P.useRef)(null), u = (0, P.useRef)(null), [d, f] = (0, P.useState)(!1);- qge(d, () => f(!1), [l, u]);- let p = Jge(d, l);- return /* @__PURE__ */ (0, F.jsx)(Ode, {+ m_e(d, () => f(!1), [l, u]);+ let p = h_e(d, l);+ return /* @__PURE__ */ (0, F.jsx)(Yde, {ref: s,...c,isOpen: d,onOpenChange: (e) => p(e) && f(e),- className: cF("group flex flex-col", e),- children: ({ isOpen: e }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)(DI, {+ className: oF("group flex flex-col", e),+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)(NI, {ref: l,- className: cF("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, F.jsx)(jde, {- className: cF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),+ className: oF("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, F.jsx)(Qde, {+ className: oF("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),children: o- }), /* @__PURE__ */ (0, F.jsx)(Ume, { className: cF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]- }), /* @__PURE__ */ (0, F.jsx)(tR, {+ }), /* @__PURE__ */ (0, F.jsx)(uhe, { className: oF("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]+ }), /* @__PURE__ */ (0, F.jsx)(oR, {ref: u,isNonModal: !0,offset: 4,- className: cF(Kme, YB, "p-2", n),- children: /* @__PURE__ */ (0, F.jsx)(Xue, {+ className: oF(phe, eV, "p-2", n),+ children: /* @__PURE__ */ (0, F.jsx)(_de, {items: a,- className: cF(qme, "max-h-[240px] overflow-auto"),- children: /* @__PURE__ */ (0, F.jsx)(wU.Provider, {+ className: oF(mhe, "max-h-[240px] overflow-auto"),+ children: /* @__PURE__ */ (0, F.jsx)(kU.Provider, {value: r,children: i})@@ -46569,23 +46749,23 @@ function TU({ className: e, triggerClassName: t, popoverClassName: n, size: r =})] })});}-function EU({ className: e, children: t, ...n }) {- let r = (0, P.useContext)(wU);- return /* @__PURE__ */ (0, F.jsx)($ue, {+function jU({ className: e, children: t, ...n }) {+ let r = (0, P.useContext)(kU);+ return /* @__PURE__ */ (0, F.jsx)(bde, {...n,- className: (t) => cF(XB, 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) => oF(tV, 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});}// src/react/catalog-folders/catalog-folders.ts-var DU = {+var MU = {category: "个人分类",creator: "创作者/账号",performer: "人物",seller: "卖家",studio: "厂牌"};-function OU(e, t = "", n = "") {+function NU(e, t = "", n = "") {let r = new URLSearchParams({...e,folder: t,@@ -46597,14 +46777,14 @@ function OU(e, t = "", n = "") {queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)};}-function kU(e, t) {+function PU(e, t) {let n = new URLSearchParams(e.search);for (let [e, r] of Object.entries(t)) r ? n.set(e, r) : n.delete(e);return e.pathname + (n.size ? `?${n}` : "");}// src/react/catalog-folders/folder-rule-dialog.tsx-function Yge({ folder: e, rule: t, revision: n, close: r }) {- let i = (0, P.useContext)(CU), a = EH(), [o, s] = (0, P.useState)(t?.purpose || "category"), [c, l] = (0, P.useState)(t?.name || ""), [u, d] = (0, P.useState)(t?.recursive ?? !0), [f, p] = (0, P.useState)(t?.future ?? !1), [m, h] = (0, P.useState)(null), [g, _] = (0, P.useState)(!1), v = {+function g_e({ folder: e, rule: t, revision: n, close: r }) {+ let i = (0, P.useContext)(OU), a = jH(), [o, s] = (0, P.useState)(t?.purpose || "category"), [c, l] = (0, P.useState)(t?.name || ""), [u, d] = (0, P.useState)(t?.recursive ?? !0), [f, p] = (0, P.useState)(t?.future ?? !1), [m, h] = (0, P.useState)(null), [g, _] = (0, P.useState)(!1), v = {folder: e.id,purpose: o,name: c,@@ -46633,7 +46813,7 @@ function Yge({ folder: e, rule: t, revision: n, close: r }) {})})).confirmed ? b("已移除目录规则") : _(!1);}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs(t) } }), t] }) : null;- return g ? null : /* @__PURE__ */ (0, F.jsx)(jz, {+ return g ? null : /* @__PURE__ */ (0, F.jsx)(Iz, {isOpen: !0,onOpenChange: (e) => {!e && !w && r();@@ -46647,7 +46827,7 @@ function Yge({ folder: e, rule: t, revision: n, close: r }) {className: "flex items-start justify-between gap-4 border-b border-separator-border p-5",children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "min-w-0",- children: [/* @__PURE__ */ (0, F.jsx)(AI, {+ children: [/* @__PURE__ */ (0, F.jsx)(FI, {slot: "title",className: "text-title-2-medium",children: "设置目录用途"@@ -46655,7 +46835,7 @@ function Yge({ folder: e, rule: t, revision: n, close: r }) {className: "mt-1 text-body-2-regular text-text-secondary wrap-anywhere",children: e.path})]- }), /* @__PURE__ */ (0, F.jsx)(Lz, {+ }), /* @__PURE__ */ (0, F.jsx)(Hz, {label: "关闭目录用途",onPress: () => {w || r();@@ -46667,20 +46847,20 @@ function Yge({ folder: e, rule: t, revision: n, close: r }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, F.jsx)(wz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, F.jsx)(TU, {+ children: [/* @__PURE__ */ (0, F.jsx)(kz, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, F.jsx)(AU, {"aria-label": "这个文件夹用于",selectedKey: o,isDisabled: w,onSelectionChange: (e) => {s(e), y();},- children: Object.entries(DU).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(EU, {+ children: Object.entries(MU).map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(jU, {id: e,children: t}, e))})]}),- o === "category" ? null : /* @__PURE__ */ (0, F.jsx)(Az, {+ o === "category" ? null : /* @__PURE__ */ (0, F.jsx)(Fz, {label: "关联名称",value: c,onChange: (e) => {@@ -46691,7 +46871,7 @@ function Yge({ folder: e, rule: t, revision: n, close: r }) {isDisabled: w,isRequired: !0}),- /* @__PURE__ */ (0, F.jsx)(nV, {+ /* @__PURE__ */ (0, F.jsx)(sV, {isSelected: u,isDisabled: w,onChange: (e) => {@@ -46699,7 +46879,7 @@ function Yge({ folder: e, rule: t, revision: n, close: r }) {},children: "应用到子文件夹"}),- /* @__PURE__ */ (0, F.jsx)(nV, {+ /* @__PURE__ */ (0, F.jsx)(sV, {isSelected: f,isDisabled: w,onChange: (e) => {@@ -46736,9 +46916,9 @@ function Yge({ folder: e, rule: t, revision: n, close: r }) {children: e.name}, e.id))}) : null,- m.conflicts.length ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ m.conflicts.length ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "warning",- extra: /* @__PURE__ */ (0, F.jsx)(ZH, {+ extra: /* @__PURE__ */ (0, F.jsx)(nU, {summary: "查看归属冲突",children: /* @__PURE__ */ (0, F.jsx)("ul", {className: "mt-2 flex flex-col gap-2",@@ -46756,7 +46936,7 @@ function Yge({ folder: e, rule: t, revision: n, close: r }) {}) : null]}) : null,- a.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ a.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: a.error}) : null@@ -46771,7 +46951,7 @@ function Yge({ folder: e, rule: t, revision: n, close: r }) {onClick: () => {w || C();},- ...Rz(a.busy === "remove"),+ ...Uz(a.busy === "remove"),children: "移除规则"}) : null,/* @__PURE__ */ (0, F.jsx)(q, {@@ -46783,13 +46963,13 @@ function Yge({ folder: e, rule: t, revision: n, close: r }) {}),m ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "primary",- ...Rz(a.busy === "save"),+ ...Uz(a.busy === "save"),onClick: S,children: T("save", "正在保存") || "保存目录用途"}) : /* @__PURE__ */ (0, F.jsx)(q, {variant: "primary",disabled: o !== "category" && !c.trim(),- ...Rz(a.busy === "preview"),+ ...Uz(a.busy === "preview"),onClick: () => {x();},@@ -46802,7 +46982,7 @@ function Yge({ folder: e, rule: t, revision: n, close: r }) {});}// src/react/catalog-folders/use-folder-sticky-offset.ts-function Xge(e, t) {+function __e(e, t) {(0, P.useLayoutEffect)(() => {if (!e) return;let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {@@ -46825,35 +47005,35 @@ function Xge(e, t) {}, [e, t]);}// src/react/catalog-folders/catalog-folders-page.tsx-function AU() {- return PB() ? /* @__PURE__ */ (0, F.jsx)(Zge, {}) : null;+function FU() {+ return zB() ? /* @__PURE__ */ (0, F.jsx)(v_e, {}) : null;}-function Zge() {- let e = FB(), t = (0, P.useContext)(CU);+function v_e() {+ let e = BB(), t = (0, P.useContext)(OU);if (!fn(e.pathname) && !/^\/(performers|creators|studios|series|agencies|tags)\/[^/]+$/.test(e.pathname)) return null;let n = new URLSearchParams(e.search), r = n.get("browse") === "folders" || !!n.get("folder");- return /* @__PURE__ */ (0, F.jsx)(HF, {+ return /* @__PURE__ */ (0, F.jsx)(ZF, {size: "small","data-folder-mode-toggle": "","aria-label": "文件夹模式",title: "文件夹模式","aria-pressed": r,- icon: fz,- onClick: () => t?.navigate(kU(e, r ? {+ icon: _z,+ onClick: () => t?.navigate(PU(e, r ? {browse: null,folder: null,folder_recursive: null} : { browse: "folders" }))});}-function Qge({ children: e, enabled: t }) {- return PB() ? /* @__PURE__ */ (0, F.jsx)($ge, {+function y_e({ children: e, enabled: t }) {+ return zB() ? /* @__PURE__ */ (0, F.jsx)(b_e, {enabled: t,children: e}) : /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: e });}-function $ge({ children: e, enabled: t }) {- let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(null), o = FB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));+function b_e({ children: e, enabled: t }) {+ let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(null), o = BB(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));return /* @__PURE__ */ (0, F.jsxs)("div", {className: "entity-folder-workspace","data-folder-workspace": "",@@ -46872,7 +47052,7 @@ function $ge({ children: e, enabled: t }) {hidden: !c}), e]}),- n && i ? /* @__PURE__ */ (0, F.jsx)(jU, {+ n && i ? /* @__PURE__ */ (0, F.jsx)(IU, {treeTarget: n,headerTarget: i,enabled: t@@ -46880,14 +47060,14 @@ function $ge({ children: e, enabled: t }) {]});}-function jU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {- let r = FB(), i = (0, P.useContext)(CU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {+function IU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {+ let r = BB(), i = (0, P.useContext)(OU), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {loc: a.get("loc") ?? "",library: a.get("library") ?? ""};- Xge(o, e);+ __e(o, e);let c = a.get("folder") || "", l = Pt({- ...OU(s, c),+ ...NU(s, c),enabled: o}), [u, d] = (0, P.useState)(!1), [f, p] = (0, P.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");if ((0, P.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {@@ -46901,11 +47081,11 @@ function jU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {d(!1), p(!1);}, [c, o]), !o || !m || !h || !i) return null;let g = (e) => {- d(!1), i.navigate(kU(r, {+ d(!1), i.navigate(PU(r, {browse: "folders",folder: e}));- }, _ = l.data, v = /* @__PURE__ */ (0, F.jsx)(t_e, {+ }, _ = l.data, v = /* @__PURE__ */ (0, F.jsx)(S_e, {scope: s,selected: c,current: _,@@ -46922,21 +47102,21 @@ function jU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "folder-drawer-trigger",- children: /* @__PURE__ */ (0, F.jsx)(HF, {+ children: /* @__PURE__ */ (0, F.jsx)(ZF, {"aria-label": "打开文件夹目录",- icon: _pe,+ icon: Rpe,size: "small",onClick: () => d(!0)})}),- /* @__PURE__ */ (0, F.jsxs)(Gme, {+ /* @__PURE__ */ (0, F.jsxs)(fhe, {"aria-label": "文件夹路径",- children: [/* @__PURE__ */ (0, F.jsx)(qB, {+ children: [/* @__PURE__ */ (0, F.jsx)(QB, {current: !c,onClick: () => g(""),- icon: fz,+ icon: _z,children: "全部文件夹"- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, F.jsx)(qB, {+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, F.jsx)(QB, {current: t === _.ancestors.length - 1,onClick: () => g(e.id),children: /* @__PURE__ */ (0, F.jsx)("span", {@@ -46946,15 +47126,15 @@ function jU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {})}, e.id))]}),- _?.selected ? /* @__PURE__ */ (0, F.jsx)(HF, {+ _?.selected ? /* @__PURE__ */ (0, F.jsx)(ZF, {"aria-label": "设置目录用途",- icon: cpe,+ icon: kpe,size: "small",onClick: () => p(!0)}) : null]}),- l.error && !u ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ l.error && !u ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -46966,7 +47146,7 @@ function jU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}),children: Wn(l.error)}) : null,- _?.conflicts?.length ? /* @__PURE__ */ (0, F.jsxs)(Nz, {+ _?.conflicts?.length ? /* @__PURE__ */ (0, F.jsxs)(Rz, {tone: "warning",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -46978,14 +47158,14 @@ function jU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}) : null,_?.selected ? /* @__PURE__ */ (0, F.jsxs)("div", {className: "folder-scope-row",- children: [/* @__PURE__ */ (0, F.jsx)(nV, {+ children: [/* @__PURE__ */ (0, F.jsx)(sV, {size: "sm",isSelected: a.get("folder_recursive") !== "0",- onChange: (e) => i.navigate(kU(r, { folder_recursive: e ? null : "0" })),+ onChange: (e) => i.navigate(PU(r, { folder_recursive: e ? null : "0" })),children: "包含子文件夹"}), /* @__PURE__ */ (0, F.jsx)("span", {className: "text-caption-1-regular text-text-tertiary",- children: _.rule ? `${DU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"+ children: _.rule ? `${MU[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"})]}) : null,l.isPending ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -46995,13 +47175,13 @@ function jU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {className: "folder-children",children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, F.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))}) : null,- _?.children.length ? /* @__PURE__ */ (0, F.jsx)(e_e, {+ _?.children.length ? /* @__PURE__ */ (0, F.jsx)(x_e, {nodes: _.children,go: g}, c) : null]}), h),- /* @__PURE__ */ (0, F.jsxs)(jz, {+ /* @__PURE__ */ (0, F.jsxs)(Iz, {isOpen: u,onOpenChange: d,width: "form",@@ -47011,7 +47191,7 @@ function jU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: [/* @__PURE__ */ (0, F.jsx)("h2", {className: "text-title-2-medium",children: "文件夹"- }), /* @__PURE__ */ (0, F.jsx)(Lz, {+ }), /* @__PURE__ */ (0, F.jsx)(Hz, {label: "关闭文件夹目录",onPress: () => d(!1)})]@@ -47020,7 +47200,7 @@ function jU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {children: u ? v : null})]}),- f && _?.selected ? /* @__PURE__ */ (0, F.jsx)(Yge, {+ f && _?.selected ? /* @__PURE__ */ (0, F.jsx)(g_e, {folder: _.selected,rule: _.rule,revision: _.rules_revision,@@ -47028,7 +47208,7 @@ function jU({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {}, _.selected.id) : null] });}-function e_e({ nodes: e, go: t }) {+function x_e({ nodes: e, go: t }) {let [n, r] = (0, P.useState)(!1), i = (0, P.useId)(), a = n ? e : e.slice(0, 12);return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-col items-start gap-2",@@ -47039,7 +47219,7 @@ function e_e({ nodes: e, go: t }) {children: a.map((e) => /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: fz,+ leadingIcon: _z,onClick: () => t(e.id),children: /* @__PURE__ */ (0, F.jsx)("span", {className: "truncate",@@ -47056,28 +47236,28 @@ function e_e({ nodes: e, go: t }) {}) : null]});}-function t_e({ scope: e, selected: t, current: n, go: r, reportedError: i }) {- let a = Pt(OU(e)), [o, s] = (0, P.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, P.useState)(""), u = (0, P.useDeferredValue)(c), d = Pt({- ...OU(e, "", u),+function S_e({ scope: e, selected: t, current: n, go: r, reportedError: i }) {+ let a = Pt(NU(e)), [o, s] = (0, P.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, P.useState)(""), u = (0, P.useDeferredValue)(c), d = Pt({+ ...NU(e, "", u),enabled: !!u.trim()- }), f = rV();+ }), f = cV();(0, P.useEffect)(() => {n?.ancestors.length && s((e) => /* @__PURE__ */ new Set([...e, ...n.ancestors.filter((e) => e.has_children).map((e) => e.id)]));}, [n?.ancestors]);- let p = [...o].map(String), m = Mt({ queries: p.map((t) => OU(e, t)) }), h = /* @__PURE__ */ new Map();+ let p = [...o].map(String), m = Mt({ queries: p.map((t) => NU(e, t)) }), h = /* @__PURE__ */ new Map();m.forEach((e, t) => {e.data && h.set(p[t], e.data.children);}), n?.selected && h.set(n.selected.id, n.children);let g = (e) => {let t = h.get(e.id);- return /* @__PURE__ */ (0, F.jsx)(QB, {+ return /* @__PURE__ */ (0, F.jsx)(rV, {id: e.id,label: e.name,- icon: fz,- expandedIcon: pz,+ icon: _z,+ expandedIcon: vz,iconClassName: "size-(--icon-inline)",trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, F.jsx)(QB, {+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, F.jsx)(rV, {id: `${e.id}:loading`,label: "正在读取文件夹",isDisabled: !0@@ -47093,15 +47273,15 @@ function t_e({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-label": "文件夹导航",className: "catalog-folder-navigation flex min-h-0 min-w-0 flex-col gap-3",children: [- /* @__PURE__ */ (0, F.jsx)(Az, {+ /* @__PURE__ */ (0, F.jsx)(Fz, {"aria-label": "查找文件夹",placeholder: "查找文件夹",- leadingIcon: xz,+ leadingIcon: Ez,value: c,onChange: l,size: "small"}),- v ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ v ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -47136,20 +47316,20 @@ function t_e({ scope: e, selected: t, current: n, go: r, reportedError: i }) {"aria-busy": "true",className: "h-8 skeleton-sheen","aria-label": "正在查找文件夹"- }) : d.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ }) : d.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: Wn(d.error)}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: fz,+ leadingIcon: _z,onClick: () => {l(""), r(e.id);},children: e.name- }, e.id)) : /* @__PURE__ */ (0, F.jsx)(Pz, {+ }, e.id)) : /* @__PURE__ */ (0, F.jsx)(zz, {size: "compact",- icon: xz,+ icon: Ez,title: "没有匹配的文件夹",actions: /* @__PURE__ */ (0, F.jsx)(q, {size: "small",@@ -47158,7 +47338,7 @@ function t_e({ scope: e, selected: t, current: n, go: r, reportedError: i }) {}),children: "换个目录名称试试。"})- }) : a.data?.roots.length ? /* @__PURE__ */ (0, F.jsx)(Jme, {+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, F.jsx)(hhe, {"aria-label": "媒体目录",size: "sm",expandedKeys: o,@@ -47166,11 +47346,11 @@ function t_e({ scope: e, selected: t, current: n, go: r, reportedError: i }) {selectedKeys: new Set(t ? [t] : []),onSelectionChange: _,children: a.data?.roots.map(g)- }) : /* @__PURE__ */ (0, F.jsx)(Pz, {+ }) : /* @__PURE__ */ (0, F.jsx)(zz, {size: "compact",- icon: fz,+ icon: _z,title: "尚未添加媒体目录",- actions: /* @__PURE__ */ (0, F.jsx)(iI, {+ actions: /* @__PURE__ */ (0, F.jsx)(pI, {size: "small",href: "/settings/library",children: "添加媒体"@@ -47183,53 +47363,53 @@ function t_e({ scope: e, selected: t, current: n, go: r, reportedError: i }) {});}// src/react/components/segmented.tsx-function n_e(e) {- let t = GF(OH("selection"));- return /* @__PURE__ */ (0, F.jsx)(nz, {+function C_e(e) {+ let t = eI(NH("selection"));+ return /* @__PURE__ */ (0, F.jsx)(sz, {...e,ref: t});}-function MU(e) {- let t = GF(OH("selection"));- return /* @__PURE__ */ (0, F.jsx)(xR, {+function LU(e) {+ let t = eI(NH("selection"));+ return /* @__PURE__ */ (0, F.jsx)(ER, {...e,ref: t});}-var NU = "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", PU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 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", r_e = "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", FU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", IU = "relative flex size-8 flex-none cursor-pointer items-center justify-center rounded-lg text-(--glass-text)/62 outline-none transition-colors hover:text-(--glass-text) focus-visible:ring-2 focus-visible:ring-border-focus-ring data-selected:text-(--glass-text)";+var RU = "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", zU = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 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", w_e = "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", BU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", VU = "relative flex size-8 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)";// src/react/catalog-grid/catalog-view-toggle.tsx-function LU() {- let e = wM();- return /* @__PURE__ */ (0, F.jsxs)(xR, {+function HU() {+ let e = PM();+ return /* @__PURE__ */ (0, F.jsxs)(ER, {"aria-label": "馆藏显示方式",orientation: "horizontal",value: e,- onChange: SM,+ onChange: cce,"data-entity-layout": "",- className: FU,- children: [/* @__PURE__ */ (0, F.jsx)(SR, {+ className: BU,+ children: [/* @__PURE__ */ (0, F.jsx)(DR, {value: "cards","aria-label": "卡片",- className: IU,+ className: VU,"data-glass-segment": "",children: /* @__PURE__ */ (0, F.jsx)("span", {title: "卡片",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, F.jsx)(gz, {+ children: /* @__PURE__ */ (0, F.jsx)(xz, {"aria-hidden": "true",className: "size-4"})})- }), /* @__PURE__ */ (0, F.jsx)(SR, {+ }), /* @__PURE__ */ (0, F.jsx)(DR, {value: "list","aria-label": "列表",- className: IU,+ className: VU,"data-glass-segment": "",children: /* @__PURE__ */ (0, F.jsx)("span", {title: "列表",className: "pointer-events-none contents",- children: /* @__PURE__ */ (0, F.jsx)(hpe, {+ children: /* @__PURE__ */ (0, F.jsx)(Ipe, {"aria-hidden": "true",className: "size-4"})@@ -47238,8 +47418,8 @@ function LU() {});}// src/react/components/icon-swap.tsx-function RU({ a: e, b: t, state: n, className: r }) {- let { isFocusVisible: i } = wx();+function UU({ a: e, b: t, state: n, className: r }) {+ let { isFocusVisible: i } = Ex();return /* @__PURE__ */ (0, F.jsxs)("span", {"aria-hidden": !0,className: `iconswap ${r || ""}`,@@ -47255,114 +47435,114 @@ function RU({ a: e, b: t, state: n, className: r }) {})]});}-function zU({ className: e }) {- return /* @__PURE__ */ (0, F.jsx)(RU, {- a: Vfe,- b: Bfe,+function WU({ className: e }) {+ return /* @__PURE__ */ (0, F.jsx)(UU, {+ a: cpe,+ b: spe,className: e});}// src/react/follow-feed/follow-marks.ts-var BU = (e) => typeof e == "string" ? e : "", VU = (e) => e.aliases;-function HU(e, t = "") {+var GU = (e) => typeof e == "string" ? e : "", KU = (e) => e.aliases;+function qU(e, t = "") {let n = ki(e);return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";}-function UU(e, t = "") {+function JU(e, t = "") {let n = z(Hr(t || e)), r = ki(e);return r ? `<img data-follow-site-icon="" src="${r}" alt="" loading="lazy" data-drop="initial" data-initial="${n}" data-drop-class="follow-site-initial">` : `<span class="follow-site-initial" aria-hidden="true">${n}</span>`;}-var WU = (e) => BU(e.title).trim() || "未命名内容", GU = (e, t) => Vr(e, VU(t));-function KU(e) {+var YU = (e) => GU(e.title).trim() || "未命名内容", XU = (e, t) => Vr(e, KU(t));+function ZU(e) {let t = e.filter((e) => e.entity_id && e.entity_name);if (new Set(t.map((e) => e.entity_id)).size !== 1) return "";- let n = t[0], r = BU(n.entity_name);+ let n = t[0], r = GU(n.entity_name);return Ut("creator", r, n.entity_id), r;}-function qU(e, t) {+function QU(e, t) {let { src: n, fallback: r } = Ur(e), i = Hr(t);if (!n) return `<span class="favatar none" title="没有可用头像">${z(i)}</span>`;let a = r ? ` data-fallbacks="${z(r)}"` : "";return `<img class="favatar" src="${z(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${z(i)}" data-drop-class="favatar none">`;}-function JU(e, t, n) {- let r = VU(n), i = e.credit, a = i?.poster;+function $U(e, t, n) {+ let r = KU(n), i = e.credit, a = i?.poster;if (!a) {let n = Vr(t, r);return {- author: n || BU(e.author) || BU(e.source_label) || "创作者未取得",- avatar: qU(t, n),+ author: n || GU(e.author) || GU(e.source_label) || "创作者未取得",+ avatar: QU(t, n),credited: "",- entityName: KU(t)+ entityName: ZU(t)};}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 && Vr(c, r) || a;return {author: l,- avatar: qU(c, l),+ avatar: QU(c, l),credited: i.credited || "",- entityName: KU(c)+ entityName: ZU(c)};}-function YU(e, t = e.primary) {+function eW(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 = BU(e.primary.version);+ let i = GU(e.primary.version);i && n.push(r("version", z(i)));- let a = BU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";+ let a = GU(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";return o && n.push(r(a, o)), n.join("");}-function XU(e, t = e.primary) {+function tW(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]) => HU(e, t) || `<span>${z(t)}</span>`).join("");+ let r = [...n].map(([e, t]) => qU(e, t) || `<span>${z(t)}</span>`).join("");return `<span data-follow-seealso="" title="另见 ${z([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;}-function ZU(e, t) {- let n = BU(e.media_error);+function nW(e, t) {+ let n = GU(e.media_error);return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";}-var i_e = 864e5, a_e = (e, t) => {+var T_e = 864e5, E_e = (e, t) => {let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();- return Number.isFinite(n) && n - t > i_e;+ return Number.isFinite(n) && n - t > T_e;};-function QU(e, t) {- let n = BU(e.published_at);+function rW(e, t) {+ let n = GU(e.published_at);if (!n) return null;let r = e.published_precision === "approximate", i = ir(n);return {prefix: r ? "约 " : "",full: r ? i.slice(0, 10) : i,- suffix: a_e(n, t) ? " · 晚于现在" : ""+ suffix: E_e(n, t) ? " · 晚于现在" : ""};}-function $U(e, t = Date.now()) {- let n = QU(e, t);+function iW(e, t = Date.now()) {+ let n = rW(e, t);return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";}-function o_e(e, t = Date.now()) {- let n = QU(e, t);+function D_e(e, t = Date.now()) {+ let n = rW(e, t);if (!n) return "时间未取得";if (!/^\d{4}-/.test(n.full)) return `${n.prefix}${n.full}${n.suffix}`;let r = n.full.startsWith(String(new Date(t).getFullYear())) ? n.full.slice(5, 10) : n.full.slice(0, 10);return `${n.prefix}${r}${n.suffix}`;}-var eW = /* @__PURE__ */ new Set(), tW = [], nW = null;-function rW() {- if (nW = null, !tW.length) return;- let e = tW.splice(0, 200);+var aW = /* @__PURE__ */ new Set(), oW = [], sW = null;+function cW() {+ if (sW = null, !oW.length) return;+ let e = oW.splice(0, 200);on("/api/follow/image-dims", {method: "POST",body: JSON.stringify({ entries: e })- }).catch(() => {}), tW.length && (nW = setTimeout(rW, 800));+ }).catch(() => {}), oW.length && (sW = setTimeout(cW, 800));}-function s_e(e, t, n, r) {+function lW(e, t, n, r) {let i = `${e}:${t ?? ""}`;- eW.has(i) || (eW.add(i), tW.push(t === null ? {+ aW.has(i) || (aW.add(i), oW.push(t === null ? {item: e,width: n,height: r@@ -47371,25 +47551,25 @@ function s_e(e, t, n, r) {width: n,height: r,media: t- }), nW ||= setTimeout(rW, 800));+ }), sW ||= setTimeout(cW, 800));}// src/react/entity-filter/entity-filter.ts-var c_e = (e) => e === "videos", iW = () => /* @__PURE__ */ (0, F.jsx)("span", {+var uW = (e) => e === "videos", dW = () => /* @__PURE__ */ (0, F.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), l_e = Iz("shuffle"), u_e = Iz("arrow-up"), d_e = Iz("arrow-down");-function f_e(e) {- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = c_e(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({+}), fW = Vz("shuffle"), pW = Vz("arrow-up"), mW = Vz("arrow-down");+function hW(e) {+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = uW(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({k: e,label: t- })) : i, m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = nI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = nI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, P.useRef)(null), w = (0, P.useRef)(null), T = u?.mediaCounts ? u : null, E = nI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);+ })) : i, m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (0, P.useRef)(null), _ = (0, P.useRef)(null), v = (0, P.useRef)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = dI(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = dI(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, P.useRef)(null), w = (0, P.useRef)(null), T = u?.mediaCounts ? u : null, E = dI(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);return (0, P.useEffect)(() => {c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);- }, [c]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(oW, {+ }, [c]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(bW, {items: o,hidden: !l,actions: s- }), /* @__PURE__ */ (0, F.jsx)(YF, {+ }), /* @__PURE__ */ (0, F.jsx)(iI, {label: "筛选与排序",topLabel: "媒体与标签",attrs: {@@ -47418,19 +47598,19 @@ function f_e(e) {})] }),top: !n && !d ? null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(aW, {+ n ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(yW, {keys: n,view: t,row: _,glide: S,onView: s.setView- }), d ? /* @__PURE__ */ (0, F.jsx)(iW, {}) : null] }) : null,- T ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(m_e, {+ }), d ? /* @__PURE__ */ (0, F.jsx)(dW, {}) : null] }) : null,+ T ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(_W, {head: T,row: w,glide: E,onMedia: s.onlineMedia- }), /* @__PURE__ */ (0, F.jsx)(iW, {})] }) : null,+ }), /* @__PURE__ */ (0, F.jsx)(dW, {})] }) : null,/* @__PURE__ */ (0, F.jsxs)("div", {ref: v,"data-entity-scroll": "",@@ -47451,11 +47631,11 @@ function f_e(e) {f !== e.k && (u ? s.onlineStatus(e.k) : s.setState(e.k));},children: e.label- }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, F.jsx)(iW, {}) : null]+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, F.jsx)(dW, {}) : null]}), /* @__PURE__ */ (0, F.jsx)("div", {ref: y,"data-entity-tags": "",- children: l ? a.map((e) => /* @__PURE__ */ (0, F.jsxs)(ZF, {+ children: l ? a.map((e) => /* @__PURE__ */ (0, F.jsxs)(oI, {"data-entity-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47464,17 +47644,17 @@ function f_e(e) {"data-count-badge": e.k,children: e.n.toLocaleString()})]- }, e.k)) : u ? /* @__PURE__ */ (0, F.jsx)(h_e, {+ }, e.k)) : u ? /* @__PURE__ */ (0, F.jsx)(vW, {head: u,actions: s}) : null})]})] }),- bottom: /* @__PURE__ */ (0, F.jsx)(sW, { ...e })+ bottom: /* @__PURE__ */ (0, F.jsx)(xW, { ...e })})] });}-var p_e = [[+var gW = [["videos","视频","play",@@ -47485,7 +47665,7 @@ var p_e = [["pics","image"]];-function m_e({ head: e, row: t, glide: n, onMedia: r }) {+function _W({ head: e, row: t, glide: n, onMedia: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {ref: t,role: "group",@@ -47493,7 +47673,7 @@ function m_e({ head: e, row: t, glide: n, onMedia: r }) {"data-entity-media": "","data-online-media": "",onPointerLeave: n.leave,- children: p_e.map(([t, i, a, o]) => {+ children: gW.map(([t, i, a, o]) => {let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -47511,7 +47691,7 @@ function m_e({ head: e, row: t, glide: n, onMedia: r }) {})});}-function h_e({ head: e, actions: t }) {+function vW({ head: e, actions: t }) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e.providers.map(([n, r]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -47521,10 +47701,10 @@ function h_e({ head: e, actions: t }) {title: r,"aria-label": `来源:${r}`,onClick: () => t.onlineProvider(n),- dangerouslySetInnerHTML: { __html: HU(n) }+ dangerouslySetInnerHTML: { __html: qU(n) }}, n)),- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, F.jsx)(iW, {}) : null,- e.tags.map((e) => /* @__PURE__ */ (0, F.jsxs)(ZF, {+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, F.jsx)(dW, {}) : null,+ e.tags.map((e) => /* @__PURE__ */ (0, F.jsxs)(oI, {"data-follow-tag": e.k,"data-entity-press": "","data-tag-cat": `r34-${e.cat}`,@@ -47537,7 +47717,7 @@ function h_e({ head: e, actions: t }) {}, e.k))] });}-function aW({ keys: e, view: t, row: n, glide: r, onView: i }) {+function yW({ keys: e, view: t, row: n, glide: r, onView: i }) {let a = [];return e.people && a.push({value: "people",@@ -47585,7 +47765,7 @@ function aW({ keys: e, view: t, row: n, glide: r, onView: i }) {})});}-function oW({ items: e, hidden: t, actions: n }) {+function bW({ items: e, hidden: t, actions: n }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-entity-combo": "",hidden: t,@@ -47605,7 +47785,7 @@ function oW({ items: e, hidden: t, actions: n }) {})] }) : null});}-function sW(e) {+function xW(e) {let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [t === "photos" && a?.back ? /* @__PURE__ */ (0, F.jsxs)("button", {@@ -47617,27 +47797,27 @@ function sW(e) {dangerouslySetInnerHTML: { __html: R("chevron-left") }}), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部照片" })]}) : null,- /* @__PURE__ */ (0, F.jsx)(cW, {+ /* @__PURE__ */ (0, F.jsx)(SW, {text: n,busy: r}),- /* @__PURE__ */ (0, F.jsx)(Zz, { currentHref: () => location.pathname + location.search }),- t === "videos" && i ? /* @__PURE__ */ (0, F.jsx)(dW, {+ /* @__PURE__ */ (0, F.jsx)(nB, { currentHref: () => location.pathname + location.search }),+ t === "videos" && i ? /* @__PURE__ */ (0, F.jsx)(TW, {head: i,actions: o}) : null,- t === "photos" && a ? /* @__PURE__ */ (0, F.jsx)(mW, {+ t === "photos" && a ? /* @__PURE__ */ (0, F.jsx)(OW, {head: a,actions: o,helpers: s}) : null,- t === "online" && e.online ? /* @__PURE__ */ (0, F.jsx)(pW, {+ t === "online" && e.online ? /* @__PURE__ */ (0, F.jsx)(DW, {head: e.online,actions: o}) : null] });}-function cW({ text: e, busy: t }) {+function SW({ text: e, busy: t }) {return /* @__PURE__ */ (0, F.jsx)("h3", {"data-entity-readout": "",children: t ? /* @__PURE__ */ (0, F.jsx)("span", {@@ -47647,22 +47827,22 @@ function cW({ text: e, busy: t }) {}) : e});}-function lW({ name: e, label: t, value: n, options: r, onChange: i }) {- return /* @__PURE__ */ (0, F.jsx)(xR, {+function CW({ name: e, label: t, value: n, options: r, onChange: i }) {+ return /* @__PURE__ */ (0, F.jsx)(ER, {name: e,"aria-label": t,orientation: "horizontal",value: n,onChange: i,"data-entity-layout": "",- className: FU,+ className: BU,children: r.map(([e, t, n]) => {- let r = Iz(n);- return /* @__PURE__ */ (0, F.jsx)(SR, {+ let r = Vz(n);+ return /* @__PURE__ */ (0, F.jsx)(DR, {value: e,"aria-label": t,"data-glass-segment": "",- className: IU,+ className: VU,children: /* @__PURE__ */ (0, F.jsx)("span", {title: t,className: "contents",@@ -47672,38 +47852,38 @@ function lW({ name: e, label: t, value: n, options: r, onChange: i }) {})});}-function uW({ onPress: e, busy: t = !1 }) {- return /* @__PURE__ */ (0, F.jsx)(qF, {+function wW({ onPress: e, busy: t = !1 }) {+ return /* @__PURE__ */ (0, F.jsx)(nI, {"data-entity-batch": "",label: "换一批",busy: t,busyStyle: "strand",- icon: l_e,+ icon: fW,onPress: e});}-function dW({ head: e, actions: t }) {- let n = wM();+function TW({ head: e, actions: t }) {+ let n = PM();return /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(uW, { onPress: () => void t.reshuffle() }),- e.jav && n === "cards" ? /* @__PURE__ */ (0, F.jsx)(lW, {+ /* @__PURE__ */ (0, F.jsx)(wW, { onPress: () => void t.reshuffle() }),+ e.jav && n === "cards" ? /* @__PURE__ */ (0, F.jsx)(CW, {label: "JAV 卡片版式",value: e.jav.layout,options: e.jav.options,onChange: t.setJavLayout}) : null,- /* @__PURE__ */ (0, F.jsx)(LU, {}),- /* @__PURE__ */ (0, F.jsx)(AU, {}),- /* @__PURE__ */ (0, F.jsx)(fW, {+ /* @__PURE__ */ (0, F.jsx)(HU, {}),+ /* @__PURE__ */ (0, F.jsx)(FU, {}),+ /* @__PURE__ */ (0, F.jsx)(EW, {sorts: e.sorts,onSort: t.setSort})]});}-function fW({ sorts: e, onSort: t }) {+function EW({ sorts: e, onSort: t }) {return /* @__PURE__ */ (0, F.jsx)(F.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-entity-sort": e.key,@@ -47711,20 +47891,20 @@ function fW({ sorts: e, onSort: t }) {"aria-pressed": e.pressed,"aria-label": e.ariaLabel || void 0,onClick: () => t(e.key),- children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, F.jsx)(RU, {- a: u_e,- b: d_e,+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, F.jsx)(UU, {+ a: pW,+ b: mW,state: e.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]}, e.key)) });}-function pW({ head: e, actions: t }) {+function DW({ head: e, actions: t }) {return /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(uW, { onPress: t.onlineShuffle }),- e.media === "images" ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lW, {+ /* @__PURE__ */ (0, F.jsx)(wW, { onPress: t.onlineShuffle }),+ e.media === "images" ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(CW, {label: "图片布局",value: e.photoLayout,options: e.photoLayouts,@@ -47744,27 +47924,27 @@ function pW({ head: e, actions: t }) {dangerouslySetInnerHTML: { __html: R("captions-off") }})]})] }) : null,- /* @__PURE__ */ (0, F.jsx)(fW, {+ /* @__PURE__ */ (0, F.jsx)(EW, {sorts: e.sorts,onSort: t.onlineSort})]});}-function mW({ head: e, actions: t, helpers: n }) {+function OW({ head: e, actions: t, helpers: n }) {let [r, i] = (0, P.useState)(!1), a = (0, P.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";return (0, P.useEffect)(() => {a.current && o && n.wireSourceTools(a.current);}, [n, o]), /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- e.shuffle ? /* @__PURE__ */ (0, F.jsx)(uW, {+ e.shuffle ? /* @__PURE__ */ (0, F.jsx)(wW, {onPress: () => {i(!0), t.reshuffle().finally(() => i(!1));},busy: r}) : null,- /* @__PURE__ */ (0, F.jsx)(lW, {+ /* @__PURE__ */ (0, F.jsx)(CW, {label: "图片布局",value: e.layout,options: e.layouts,@@ -47779,8 +47959,8 @@ function mW({ head: e, actions: t, helpers: n }) {});}// src/react/catalog-filter/catalog-filter.ts-var hW = "peach.catalog.tiers.v1";-function gW() {+var kW = "peach.catalog.tiers.v1";+function AW() {try {let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");return {@@ -47794,41 +47974,41 @@ function gW() {};}}-function _W(e) {+function jW(e) {try {let t = JSON.stringify({performers: e.performers,studios: e.studios});- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(hW, t);+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(kW, t);} catch {}}// src/react/catalog-filter/catalog-filter-page.tsx-var vW = "";-function yW(e) {- let t = !e.tiers, n = DW(e.comboHost);+var MW = "";+function NW(e) {+ let t = !e.tiers, n = VW(e.comboHost);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-catalog-root": "","data-loading": t || void 0,"data-refreshing": e.refreshing || void 0,className: "contents",children: [- n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(oW, {+ n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(bW, {items: e.combo,hidden: e.comboHidden,actions: e.actions}), n) : null,- /* @__PURE__ */ (0, F.jsx)(SW, { ...e }),- e.offscreen ? null : /* @__PURE__ */ (0, F.jsx)(bW, { ...e })+ /* @__PURE__ */ (0, F.jsx)(IW, { ...e }),+ e.offscreen ? null : /* @__PURE__ */ (0, F.jsx)(PW, { ...e })]});}-function bW(e) {- let { actions: t, helpers: n } = e, r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(!1), u = nI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);+function PW(e) {+ let { actions: t, helpers: n } = e, r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(!1), u = dI(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);(0, P.useEffect)(() => {n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);}, [n]);- let d = !e.tiers, f = OW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);+ let d = !e.tiers, f = HW(o, e.tags, e.tiers?.key ?? "", e.tagFirst);return (0, P.useLayoutEffect)(() => {let e = a.current?.closest("[data-catalog-frame]");if (!e) return;@@ -47845,7 +48025,7 @@ function bW(e) {e.sorts]), (0, P.useLayoutEffect)(() => {Ns(o.current, "tagbar");- }, [f]), /* @__PURE__ */ (0, F.jsx)(YF, {+ }, [f]), /* @__PURE__ */ (0, F.jsx)(iI, {label: "筛选与排序",topLabel: "视图与标签",attrs: {@@ -47889,17 +48069,17 @@ function bW(e) {}), /* @__PURE__ */ (0, F.jsxs)("div", {ref: o,"data-catalog-tags": "",- children: [e.empty || d ? /* @__PURE__ */ (0, F.jsx)(wW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, F.jsx)(xW, {+ children: [e.empty || d ? /* @__PURE__ */ (0, F.jsx)(RW, { kind: "tag" }) : null, f.map((e) => /* @__PURE__ */ (0, F.jsx)(FW, {tag: e,onPress: t.toggleTag}, e.k))]})]}),- bottom: e.trash ? null : /* @__PURE__ */ (0, F.jsx)(TW, { ...e })+ bottom: e.trash ? null : /* @__PURE__ */ (0, F.jsx)(zW, { ...e })});}-function xW({ tag: e, onPress: t }) {- return /* @__PURE__ */ (0, F.jsxs)(ZF, {+function FW({ tag: e, onPress: t }) {+ return /* @__PURE__ */ (0, F.jsxs)(oI, {"data-catalog-tag": e.k,"data-entity-press": "",pressed: e.selected,@@ -47910,14 +48090,14 @@ function xW({ tag: e, onPress: t }) {})]});}-function SW(e) {+function IW(e) {let { actions: t, helpers: n } = e, r = e.tiers ?? {key: "",performers: [],studios: []- }, i = !e.tiers, a = e.empty || i, o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useCallback)((e) => () => t.moreTops(e), [t]), l = OW(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = OW(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, P.useMemo)(() => i ? gW() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;+ }, i = !e.tiers, a = e.empty || i, o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useCallback)((e) => () => t.moreTops(e), [t]), l = HW(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = HW(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, P.useMemo)(() => i ? AW() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;return (0, P.useEffect)(() => {- i || _W({+ i || jW({performers: f,studios: p});@@ -47938,7 +48118,7 @@ function SW(e) {children: [f ? /* @__PURE__ */ (0, F.jsx)("div", {ref: o,"data-catalog-tier": "performers",- children: a ? /* @__PURE__ */ (0, F.jsx)(wW, { kind: "performer" }) : l.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, F.jsx)(RW, { kind: "performer" }) : l.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-tier-performer": "","data-entity-kind": "performer",@@ -47955,18 +48135,18 @@ function SW(e) {}) : null, p ? /* @__PURE__ */ (0, F.jsx)("div", {ref: s,"data-catalog-tier": "studios",- children: a ? /* @__PURE__ */ (0, F.jsx)(wW, { kind: "studio" }) : u.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {+ children: a ? /* @__PURE__ */ (0, F.jsx)(RW, { kind: "studio" }) : u.map((e) => /* @__PURE__ */ (0, F.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, F.jsx)(CW, { studio: e }), e.name]+ children: [/* @__PURE__ */ (0, F.jsx)(LW, { studio: e }), e.name]}, e.name))}) : null]});}-function CW({ studio: e }) {+function LW({ studio: e }) {let [t, n] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("span", {"data-tier-mark": "",@@ -47984,7 +48164,7 @@ function CW({ studio: e }) {}) : e.fallback});}-function wW({ kind: e }) {+function RW({ kind: e }) {let t = Array.from({ length: 64 }, (e, t) => t);return e === "tag" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-catalog-placeholder": "tag",@@ -48000,37 +48180,37 @@ function wW({ kind: e }) {children: [/* @__PURE__ */ (0, F.jsx)("span", {}), /* @__PURE__ */ (0, F.jsx)("span", { children: "\xA0" })]}, t)) });}-function TW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {- let a = wM(), [o, s] = (0, P.useState)(!1);+function zW({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {+ let a = PM(), [o, s] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("span", {"data-catalog-summary": "",- children: [/* @__PURE__ */ (0, F.jsx)(EW, { count: e }), /* @__PURE__ */ (0, F.jsx)(Zz, { currentHref: i.currentHref })]+ children: [/* @__PURE__ */ (0, F.jsx)(BW, { count: e }), /* @__PURE__ */ (0, F.jsx)(nB, { currentHref: i.currentHref })]}), /* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(uW, {+ /* @__PURE__ */ (0, F.jsx)(wW, {onPress: () => {s(!0), i.reshuffle().finally(() => s(!1));},busy: o || t}),- n && a === "cards" ? /* @__PURE__ */ (0, F.jsx)(lW, {+ n && a === "cards" ? /* @__PURE__ */ (0, F.jsx)(CW, {name: n.name,label: n.label,value: n.value,options: n.options,onChange: i.setLayout}, n.name) : null,- /* @__PURE__ */ (0, F.jsx)(LU, {}),- /* @__PURE__ */ (0, F.jsx)(AU, {}),- /* @__PURE__ */ (0, F.jsx)(fW, {+ /* @__PURE__ */ (0, F.jsx)(HU, {}),+ /* @__PURE__ */ (0, F.jsx)(FU, {}),+ /* @__PURE__ */ (0, F.jsx)(EW, {sorts: r,onSort: i.setSort})]})] });}-function EW({ count: e }) {+function BW({ count: e }) {let t = (0, P.useRef)(null), n = (0, P.useRef)(null), r = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : "";return (0, P.useLayoutEffect)(() => {if (e === !1) return;@@ -48039,7 +48219,7 @@ function EW({ count: e }) {return;}let i = t.current;- i && (vW && i.dataset.popCount === void 0 && (i.dataset.popCount = vW), vW = r, As(i, r));+ i && (MW && i.dataset.popCount === void 0 && (i.dataset.popCount = MW), MW = r, As(i, r));}, [e, r]), e === !1 ? /* @__PURE__ */ (0, F.jsx)("span", { "data-catalog-readout": "" }, "failed") : e ? /* @__PURE__ */ (0, F.jsx)("span", {ref: t,"data-catalog-readout": "",@@ -48055,7 +48235,7 @@ function EW({ count: e }) {})}, "skeleton");}-function DW(e) {+function VW(e) {let [t, n] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {if (!e) return;@@ -48065,7 +48245,7 @@ function DW(e) {};}, [e]), t;}-function OW(e, t, n, r, i) {+function HW(e, t, n, r, i) {let a = () => ({key: n,limit: r,@@ -48108,8 +48288,8 @@ function OW(e, t, n, r, i) {}), l.slice(0, c.limit);}// src/react/components/grid-reveal.tsx-var kW = "100% 0px";-function AW(e, t) {+var UW = "100% 0px";+function WW(e, t) {let [n, r] = (0, P.useState)(e ? "skeleton" : "none"), [i] = (0, P.useState)(() => e ? t() : ""), a = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {a.current && Ks(a.current);@@ -48135,7 +48315,7 @@ function AW(e, t) {fading: n === "fade"};}-function jW({ message: e, onRetry: t }) {+function GW({ message: e, onRetry: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-media-error": "",onClick: (e) => {@@ -48148,7 +48328,7 @@ function jW({ message: e, onRetry: t }) {});}// src/react/components/art-slot.tsx-function MW({ artwork: e, identity: t = e.html, relayout: n }) {+function KW({ artwork: e, identity: t = e.html, relayout: n }) {let [r, i] = (0, P.useState)({identity: t,artwork: e@@ -48167,63 +48347,63 @@ function MW({ artwork: e, identity: t = e.html, relayout: n }) {});}// src/library-catalog.ts-var NW = "peach.library-colors.v1", PW = null, FW = /* @__PURE__ */ new Set();-function IW() {+var qW = "peach.library-colors.v1", JW = null, YW = /* @__PURE__ */ new Set();+function XW() {try {- let e = JSON.parse(localStorage.getItem(NW) || "{}");+ let e = JSON.parse(localStorage.getItem(qW) || "{}");return e && typeof e == "object" ? e : {};} catch {return {};}}-function LW(e) {- PW = e;+function ZW(e) {+ JW = e;try {- localStorage.setItem(NW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));+ localStorage.setItem(qW, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));} catch {}- FW.forEach((t) => t(e));+ YW.forEach((t) => t(e));}-function RW() {- return PW;+function QW() {+ return JW;}-function zW(e) {- return FW.add(e), () => {- FW.delete(e);+function $W(e) {+ return YW.add(e), () => {+ YW.delete(e);};}// src/react/components/library-tint.ts-var BW = /* @__PURE__ */ new Map(), VW = !1, HW = /* @__PURE__ */ new Set();-function UW(e) {+var eG = /* @__PURE__ */ new Map(), tG = !1, nG = /* @__PURE__ */ new Set();+function rG(e) {let t = document.createElement("span");t.setAttribute("data-accent-ball", e), t.hidden = !0, document.body.append(t);let n = getComputedStyle(t).getPropertyValue("--color-accent-500").trim();return t.remove(), n;}-function WW(e) {- BW = e;+function iG(e) {+ eG = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...BW.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${UW(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...eG.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${rG(e.color)}}`).join("\n");}-function GW(e) {- WW(e), HW.forEach((e) => e());+function aG(e) {+ iG(e), nG.forEach((e) => e());}-var KW = (e) => new Map(e.map((e) => [e.id, {+var oG = (e) => new Map(e.map((e) => [e.id, {id: e.id,name: e.name,icon: Qo[e.icon || ""] || e.icon || "database",location: e.roots?.[0]?.location || "",color: e.color || ""-}])), qW = !1;-function JW() {- if (qW) return;- qW = !0, zW((e) => GW(KW(e)));- let e = RW();+}])), sG = !1;+function cG() {+ if (sG) return;+ sG = !0, $W((e) => aG(oG(e)));+ let e = QW();if (e) {- WW(KW(e));+ iG(oG(e));return;}- let t = Object.entries(IW()).filter(([, e]) => e);- t.length && WW(new Map(t.map(([e, t]) => [e, {+ let t = Object.entries(XW()).filter(([, e]) => e);+ t.length && iG(new Map(t.map(([e, t]) => [e, {id: e,name: "",icon: "database",@@ -48231,73 +48411,73 @@ function JW() {color: t}])));}-function YW() {- VW || RW() || (VW = !0, B("/api/libraries").then((e) => LW(e.libraries || [])).catch(() => {- VW = !1;+function lG() {+ tG || QW() || (tG = !0, B("/api/libraries").then((e) => ZW(e.libraries || [])).catch(() => {+ tG = !1;}));}-function XW(e, t) {- let n = BW.get(e) ?? {+function uG(e, t) {+ let n = eG.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- GW(new Map([...BW, [e, {+ aG(new Map([...eG, [e, {...n,color: t}]]));}-function ZW(e) {- return HW.add(e), () => {- HW.delete(e);+function dG(e) {+ return nG.add(e), () => {+ nG.delete(e);};}-function QW({ names: e = !1 } = {}) {- return JW(), e && YW(), (0, P.useSyncExternalStore)(ZW, () => BW, () => BW);+function fG({ names: e = !1 } = {}) {+ return cG(), e && lG(), (0, P.useSyncExternalStore)(dG, () => eG, () => eG);}// src/react/components/row-click.ts-var $W = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";-function eG(e, t) {+var pG = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";+function mG(e, t) {let n = e.target;if (!(n instanceof Element) || !t.contains(n)) return !1;- let r = n.closest($W);+ let r = n.closest(pG);return !r || !t.contains(r) || r === t;}-function tG(e) {+function hG(e) {e.shiftKey && e.preventDefault();}// src/react/components/media-card.tsx-var nG = 9 / 16, rG = "未命名视频";-function iG({ name: e }) {+var gG = 9 / 16, _G = "未命名视频";+function vG({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-var aG = {+var yG = {image: "图片",audio: "音频",archive: "压缩包",other: "其它文件"-}, oG = {+}, bG = {manual: "手动",junk: "垃圾",duplicate: "重复",missing: "文件缺失"};-function sG({ item: e }) {+function xG({ item: e }) {if (e.disposal !== "trash") return null;- let t = e.disposal_reason && oG[e.disposal_reason] || "原因未记录";+ let t = e.disposal_reason && bG[e.disposal_reason] || "原因未记录";return /* @__PURE__ */ (0, F.jsx)("span", {"data-media-disposal-reason": "",title: `归入原因:${t}`,children: t});}-function cG({ item: e, actions: t }) {+function SG({ item: e, actions: t }) {let [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -48316,10 +48496,10 @@ function cG({ item: e, actions: t }) {children: i}) : null] });}-function lG(e, t, n) {- return t === "short" ? nG : NA(n);+function CG(e, t, n) {+ return t === "short" ? gG : LA(n);}-function uG(e) {+function wG(e) {let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = uo(e), s = i[0] || "", c = Ya(e);return {avatar: r ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -48351,7 +48531,7 @@ function uG(e) {"data-entity-kind": "performer","data-entity-name": s,title: s,- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: s })]+ children: [/* @__PURE__ */ (0, F.jsx)(vG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, F.jsx)("span", {"data-media-who-more": "",children: `等 ${o} 人`@@ -48361,16 +48541,16 @@ function uG(e) {"data-entity-kind": t,"data-entity-name": n,title: n,- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(vG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]}) : /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-media-who": "","data-open-unowned": "",- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(vG, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]})};}-function dG() {+function TG() {return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-media-preview": "",@@ -48389,7 +48569,7 @@ function dG() {})]});}-function fG({ item: e, actions: t, on: n, onChange: r }) {+function EG({ item: e, actions: t, on: n, onChange: r }) {let [i, a] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("div", {"data-media-later": "",@@ -48404,11 +48584,11 @@ function fG({ item: e, actions: t, on: n, onChange: r }) {},"aria-busy": i || void 0,"aria-disabled": i || void 0,- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: n ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, F.jsx)(vG, { name: n ? "check" : "bookmark-plus" })})});}-function pG({ reason: e }) {+function DG({ reason: e }) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("button", {ref: t,@@ -48422,15 +48602,15 @@ function pG({ reason: e }) {e.stopPropagation(), r(!0);},children: e- }), /* @__PURE__ */ (0, F.jsx)(tR, {+ }), /* @__PURE__ */ (0, F.jsx)(oR, {triggerRef: t,isOpen: n,onOpenChange: r,placement: "top",offset: 8,containerPadding: 12,- className: YB,- children: /* @__PURE__ */ (0, F.jsx)(mR, {+ className: eV,+ children: /* @__PURE__ */ (0, F.jsx)(yR, {"data-media-reason-dialog": "","aria-label": "推荐理由",className: "w-64 max-w-full p-2 text-body-regular whitespace-normal break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",@@ -48438,17 +48618,17 @@ function pG({ reason: e }) {})})] });}-function mG(e, t) {+function OG(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 hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {- let u = (0, P.useRef)(null), [d, f] = (0, P.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = QW(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, P.useRef)(e);+function kG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {+ let u = (0, P.useRef)(null), [d, f] = (0, P.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = fG(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, P.useRef)(e);_.current = e;let v = (0, P.useCallback)((e) => {let t = _.current;u.current && u.current !== e && Al(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Ml(e, t);- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = lG(e, t, n), w = S ? n.size : "small", T = C === nG && !!e.is_jav, E = T ? so(e, !1) : ao(e, w, !1, n.javImage), D = T || w === "small" ? E.html : ao(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || rG, A = o.titleHtml(e, O).trim() || z(rG), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: ne } = uG(e), N = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {+ }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = CG(e, t, n), w = S ? n.size : "small", T = C === gG && !!e.is_jav, E = T ? so(e, !1) : ao(e, w, !1, n.javImage), D = T || w === "small" ? E.html : ao(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || _G, A = o.titleHtml(e, O).trim() || z(_G), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: ne } = wG(e), N = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {let n = t.target;if (n.closest("[data-media-reason-dialog]")) return;let r = u.current;@@ -48475,10 +48655,10 @@ function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSel && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);}, ie = /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",- "data-pic-portrait": C === nG ? "" : void 0,+ "data-pic-portrait": C === gG ? "" : void 0,style: { "--card-ratio": String(C) },children: [- E.html ? /* @__PURE__ */ (0, F.jsx)(MW, {+ E.html ? /* @__PURE__ */ (0, F.jsx)(KW, {artwork: E,identity: D,relayout: (e) => Sl(e, w)@@ -48492,11 +48672,11 @@ function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe}),/* @__PURE__ */ (0, F.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "check" })+ children: /* @__PURE__ */ (0, F.jsx)(vG, { name: "check" })}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, F.jsx)(vG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]}),y && !b ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-group": "",@@ -48511,7 +48691,7 @@ function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-duration": "",children: kn(M)}),- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)(cG, {+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)(SG, {item: e,actions: s}) : null,@@ -48527,22 +48707,22 @@ function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-scrub": "",children: /* @__PURE__ */ (0, F.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })}),- /* @__PURE__ */ (0, F.jsx)(dG, {}),+ /* @__PURE__ */ (0, F.jsx)(TG, {}),p || g.length ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-status": "",children: [p ? /* @__PURE__ */ (0, F.jsx)("span", {"data-status": "later",title: "稍后看","aria-label": "稍后看",- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "bookmark" })+ children: /* @__PURE__ */ (0, F.jsx)(vG, { name: "bookmark" })}) : null, g.length ? /* @__PURE__ */ (0, F.jsx)("span", {"data-status": "flagged",title: `已标记:${g.join("、")}`,"aria-label": `已标记:${g.join("、")}`,- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "heart" })+ children: /* @__PURE__ */ (0, F.jsx)(vG, { name: "heart" })}) : null]}) : null,- i ? null : /* @__PURE__ */ (0, F.jsx)(fG, {+ i ? null : /* @__PURE__ */ (0, F.jsx)(EG, {item: e,actions: s,on: p,@@ -48557,27 +48737,27 @@ function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe/* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), mG(u.current, -a);+ e.stopPropagation(), OG(u.current, -a);},title: `后退 ${a} 秒`,"aria-label": `后退 ${a} 秒`,- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "rotate-ccw" })+ children: /* @__PURE__ */ (0, F.jsx)(vG, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",onClick: (e) => {- e.stopPropagation(), mG(u.current, a);+ e.stopPropagation(), OG(u.current, a);},title: `前进 ${a} 秒`,"aria-label": `前进 ${a} 秒`,- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "rotate-cw" })+ children: /* @__PURE__ */ (0, F.jsx)(vG, { name: "rotate-cw" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-open": "",title: "打开详情","aria-label": "打开详情",- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "expand" })+ children: /* @__PURE__ */ (0, F.jsx)(vG, { name: "expand" })})]})@@ -48596,7 +48776,7 @@ function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-pending-delete": e.disposal === "trash" ? "" : void 0,"data-selected": r ? "" : void 0,onClick: re,- onMouseDown: tG,+ onMouseDown: hG,children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -48638,15 +48818,15 @@ function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSe"data-media-release": "",dateTime: e.release_date,title: e.release_date,- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "calendar" }), e.release_date]+ children: [/* @__PURE__ */ (0, F.jsx)(vG, { name: "calendar" }), e.release_date]}) : null, /* @__PURE__ */ (0, F.jsxs)("span", {"data-media-size": "",- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "hard-drive" }), Number(j) > 0 ? jn(Number(j)) : "大小未知"]+ children: [/* @__PURE__ */ (0, F.jsx)(vG, { name: "hard-drive" }), Number(j) > 0 ? jn(Number(j)) : "大小未知"]})]})]}),- t === "next" ? e.why ? /* @__PURE__ */ (0, F.jsx)(pG, { reason: e.why }) : null : N.length || e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)("div", {+ t === "next" ? e.why ? /* @__PURE__ */ (0, F.jsx)(DG, { reason: e.why }) : null : N.length || e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)("div", {"data-media-tags": "",children: N.map((t) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -48656,15 +48836,15 @@ function hG({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSechildren: o.tagLabel(t)}, t))}) : null,- /* @__PURE__ */ (0, F.jsx)(sG, { item: e })+ /* @__PURE__ */ (0, F.jsx)(xG, { item: e })]})]})]});}-function gG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {- let o = (0, P.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : aG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";+function AG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {+ let o = (0, P.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : yG[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";return /* @__PURE__ */ (0, F.jsxs)("article", {ref: o,"data-media-card": "",@@ -48676,14 +48856,14 @@ function gG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpeonClick: (t) => {o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));},- onMouseDown: tG,+ onMouseDown: hG,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",style: { "--card-ratio": "1.7777777777777777" },children: [/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: u }), /* @__PURE__ */ (0, F.jsx)("b", { children: l })]+ children: [/* @__PURE__ */ (0, F.jsx)(vG, { name: u }), /* @__PURE__ */ (0, F.jsx)("b", { children: l })]}),s ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-art": "thumb",@@ -48695,13 +48875,13 @@ function gG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe}),/* @__PURE__ */ (0, F.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: "check" })+ children: /* @__PURE__ */ (0, F.jsx)(vG, { name: "check" })}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-trash-mark": "",- children: [/* @__PURE__ */ (0, F.jsx)(iG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]+ children: [/* @__PURE__ */ (0, F.jsx)(vG, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("b", { children: "回收站" })]}),- n ? null : /* @__PURE__ */ (0, F.jsx)(cG, {+ n ? null : /* @__PURE__ */ (0, F.jsx)(SG, {item: e,actions: i})@@ -48712,7 +48892,7 @@ function gG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe"data-media-avatar": "","data-media-kind-glyph": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(iG, { name: u })+ children: /* @__PURE__ */ (0, F.jsx)(vG, { name: u })}), /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-text": "",children: [@@ -48740,29 +48920,29 @@ function gG({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpe]}),e.disposal === "trash" ? /* @__PURE__ */ (0, F.jsx)("div", { "data-media-tags": "" }) : null,- /* @__PURE__ */ (0, F.jsx)(sG, { item: e })+ /* @__PURE__ */ (0, F.jsx)(xG, { item: e })]})]})]});}-function _G(e) {- return e.variant === "resource" ? /* @__PURE__ */ (0, F.jsx)(gG, { ...e }) : /* @__PURE__ */ (0, F.jsx)(hG, { ...e });+function jG(e) {+ return e.variant === "resource" ? /* @__PURE__ */ (0, F.jsx)(AG, { ...e }) : /* @__PURE__ */ (0, F.jsx)(kG, { ...e });}-var vG = (0, P.memo)(_G), yG = 1100, bG = 340, xG = 5e3;-function SG(e, t, n) {+var MG = (0, P.memo)(jG), NG = 1100, PG = 340, FG = 5e3;+function IG(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, xG);+ }, s = () => o(!1), c = setTimeout(s, FG);t.cancels.add(s), i.onerror = s, i.onload = () => {i.naturalWidth ? typeof i.decode == "function" ? i.decode().then(() => o(!0), s) : o(!0) : o(!1);}, i.src = e;});}-function CG({ load: e, canFlip: t, referrerPolicy: n }) {+function LG({ load: e, canFlip: t, referrerPolicy: n }) {let [r, i] = (0, P.useState)([]), [a, o] = (0, P.useState)(0), [s, c] = (0, P.useState)(null), l = (0, P.useRef)({live: !1,generation: 0,@@ -48804,11 +48984,11 @@ function CG({ load: e, canFlip: t, referrerPolicy: n }) {return;}if (!r() || !u.current.canFlip() || a.length < 2) return;- let s = await Promise.all(a.map((t) => SG(t, e, n)));+ let s = await Promise.all(a.map((t) => IG(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, yG);+ p(), e.cycle = setInterval(p, NG);}));};return (0, P.useEffect)(() => d, [d]), {@@ -48817,7 +48997,7 @@ function CG({ 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(bG, () => {+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(PG, () => {e.armed = null, m();});},@@ -48827,8 +49007,8 @@ function CG({ load: e, canFlip: t, referrerPolicy: n }) {};}// src/react/components/mix-card.tsx-var wG = Iz("play");-function TG({ src: e }) {+var RG = Vz("play");+function zG({ src: e }) {let [t, n] = (0, P.useState)(!1);return t ? null : /* @__PURE__ */ (0, F.jsx)("img", {"data-mix-poster": "",@@ -48841,8 +49021,8 @@ function TG({ src: e }) {className: "absolute inset-0 block size-full object-contain"});}-var EG = "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 DG({ faces: e, fallback: t, onOpenEntity: n }) {+var BG = "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 VG({ faces: e, fallback: t, onOpenEntity: n }) {return e.length ? /* @__PURE__ */ (0, F.jsx)("div", {"data-mix-avatars": "",children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, F.jsx)("button", {@@ -48850,18 +49030,18 @@ function DG({ faces: e, fallback: t, onOpenEntity: n }) {title: `打开资料页:${e.name}`,"aria-label": `打开资料页:${e.name}`,onClick: () => n(e.kind, e.name),- className: `${EG} cursor-pointer outline-none`,+ className: `${BG} cursor-pointer outline-none`,dangerouslySetInnerHTML: { __html: Za(e.name, e, Ma(e.name), e.kind) }}, `${e.kind}:${e.id}`))}) : /* @__PURE__ */ (0, F.jsx)("span", {"data-mix-initial": "","aria-hidden": !0,- className: `${EG} mt-0.5`,+ className: `${BG} mt-0.5`,children: t});}-function OG({ 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 = CG({+function HG({ 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 = LG({load: i,canFlip: a}), x = (0, P.useRef)(b.onPointerLeave);@@ -48888,11 +49068,11 @@ function OG({ 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, F.jsx)(MW, {+ f?.html ? /* @__PURE__ */ (0, F.jsx)(KW, {artwork: f,identity: p,relayout: m- }) : r ? /* @__PURE__ */ (0, F.jsx)(TG, { src: r }, r) : /* @__PURE__ */ (0, F.jsx)("span", {+ }) : r ? /* @__PURE__ */ (0, F.jsx)(zG, { src: r }, r) : /* @__PURE__ */ (0, F.jsx)("span", {className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",children: "无预览"}),@@ -48922,7 +49102,7 @@ function OG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:/* @__PURE__ */ (0, F.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, F.jsx)(wG, {+ children: [/* @__PURE__ */ (0, F.jsx)(RG, {"aria-hidden": !0,className: "size-(--icon-inline)"}), g ?? `${n.toLocaleString()} 个视频`]@@ -48935,8 +49115,8 @@ function OG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:_ ? /* @__PURE__ */ (0, F.jsx)("span", {"data-mix-glyph": "","aria-hidden": !0,- children: /* @__PURE__ */ (0, F.jsx)(wG, {})- }) : /* @__PURE__ */ (0, F.jsx)(DG, {+ children: /* @__PURE__ */ (0, F.jsx)(RG, {})+ }) : /* @__PURE__ */ (0, F.jsx)(VG, {faces: o,fallback: Fn(e),onOpenEntity: s@@ -48959,7 +49139,7 @@ function OG({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:});}// src/react/video-wall/folia/blockReflows.ts-var kG = [+var UG = [[[{@@ -52520,7 +52700,7 @@ var kG = [}]]-], AG = [+], WG = [[{x: 0,@@ -52817,89 +52997,89 @@ var kG = [rows: 2}]-], jG = (e) => e.map((e) => ({+], GG = (e) => e.map((e) => ({...e,x: 12 - e.x - e.cols-})), MG = (e) => e.map((e) => ({+})), KG = (e) => e.map((e) => ({...e,y: 8 - e.y - e.rows-})), NG = [+})), qG = [(e) => e,- jG,- MG,- (e) => jG(MG(e))-], PG = AG.flatMap((e) => NG.map((t) => t(e))), FG = kG.flatMap((e) => NG.map((t) => e.map(t)));-PG.length;-var IG = (e, t) => {+ GG,+ KG,+ (e) => GG(KG(e))+], JG = WG.flatMap((e) => qG.map((t) => t(e))), YG = UG.flatMap((e) => qG.map((t) => e.map(t)));+JG.length;+var XG = (e, t) => {let n = Math.imul(e, 2654435761) ^ Math.imul(t, 2246822507);return n = Math.imul(n ^ n >>> 15, 739982445), n ^= n >>> 12, n >>> 0;-}, LG = (e, t) => {- let n = AG.length;- return ((e + t * 2) % n + n) % n * NG.length + IG(e, t) % NG.length;-}, RG = (e, t) => PG[LG(e, t)], zG = (e, t, n) => n < 0 || n >= 12 ? null : FG[LG(e, t)][n], BG = 103.36, VG = 6.08, HG = 12 * BG, UG = 8 * BG, WG = 12, GG = (e, t) => (e % t + t) % t, KG = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;-function qG(e, t) {- let n = Math.max(1, Math.ceil(e / WG)), r = t ? 3 : Math.min(3, n);+}, ZG = (e, t) => {+ let n = WG.length;+ return ((e + t * 2) % n + n) % n * qG.length + XG(e, t) % qG.length;+}, QG = (e, t) => JG[ZG(e, t)], $G = (e, t, n) => n < 0 || n >= 12 ? null : YG[ZG(e, t)][n], eK = 103.36, tK = 6.08, nK = 12 * eK, rK = 8 * eK, iK = 12, aK = (e, t) => (e % t + t) % t, oK = (e, t) => e.x < t.x + t.width && e.x + e.width > t.x && e.y < t.y + t.height && e.y + e.height > t.y;+function sK(e, t) {+ let n = Math.max(1, Math.ceil(e / iK)), r = t ? 3 : Math.min(3, n);return {columns: r,- width: r * HG,- height: Math.ceil(n / r) * UG+ width: r * nK,+ height: Math.ceil(n / r) * rK};}-function JG(e, t, n) {- let { x: r, y: i, cols: a, rows: o } = RG(e, t)[n];+function cK(e, t, n) {+ let { x: r, y: i, cols: a, rows: o } = QG(e, t)[n];return {- x: e * HG + r * BG,- y: t * UG + i * BG,- width: a * BG - VG,- height: o * BG - VG+ x: e * nK + r * eK,+ y: t * rK + i * eK,+ width: a * eK - tK,+ height: o * eK - tK};}-function YG(e) {+function lK(e) {return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);}-function XG(e, t, n) {+function uK(e, t, n) {if (!e) return null;let [r, i, a] = n.split(":").map(Number);if (![r,i,a- ].every(Number.isInteger) || a < 0 || a >= WG) return null;- let o = qG(e, t), s = o.height / UG;+ ].every(Number.isInteger) || a < 0 || a >= iK) return null;+ let o = sK(e, t), s = o.height / rK;if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;- let c = t ? r : GG(r, o.columns), l = ((t ? i : GG(i, s)) * o.columns + c) * WG + a;+ let c = t ? r : aK(r, o.columns), l = ((t ? i : aK(i, s)) * o.columns + c) * iK + a;return t && l >= e ? null : {- ...JG(r, i, a),+ ...cK(r, i, a),index: l % e,key: n};}-function ZG(e, t) {+function dK(e, t) {if (t < 0 || t >= e) return null;- let n = Math.floor(t / WG);- return XG(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % WG}`);+ let n = Math.floor(t / iK);+ return uK(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % iK}`);}-function QG(e, t, n) {- let [r, i, a] = n.key.split(":").map(Number), o = zG(r, i, a);+function fK(e, t, n) {+ let [r, i, a] = n.key.split(":").map(Number), o = $G(r, i, a);return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {- x: r * HG + e.x * BG,- y: i * UG + e.y * BG,- width: e.cols * BG - VG,- height: e.rows * BG - VG+ x: r * nK + e.x * eK,+ y: i * rK + e.y * eK,+ width: e.cols * eK - tK,+ height: e.rows * eK - tK}]));}-function $G(e) {+function pK(e) {let t = 0, n = 0;for (let r = Math.max(0, e - 36); r < e; r += 1) {- let e = Math.floor(r / WG), i = JG(e % 3, Math.floor(e / 3), r % WG);+ let e = Math.floor(r / iK), i = cK(e % 3, Math.floor(e / 3), r % iK);t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);}return {- width: e >= 36 ? 3 * HG - VG : t,+ width: e >= 36 ? 3 * nK - tK : t,height: n};}-function eK(e, t, n, r) {+function mK(e, t, n, r) {if (!r) return e;let i = (t, n, r) => Math.min(16, Math.max(Math.min(16, r - n * e.scale - 16), t));return {@@ -52908,22 +53088,22 @@ function eK(e, t, n, r) {y: i(e.y, n.height, t.height)};}-function tK(e, t, n, r) {+function hK(e, t, n, r) {if (!e || !r.width || !r.height) return [];let i = 180 / n.scale, a = {x: -n.x / n.scale - i,y: -n.y / n.scale - i,width: r.width / n.scale + i * 2,height: r.height / n.scale + i * 2- }, o = qG(e, t), s = o.height / UG, c = [];- for (let n = Math.floor(a.y / UG); n <= Math.floor((a.y + a.height) / UG); n += 1) for (let r = Math.floor(a.x / HG); r <= Math.floor((a.x + a.width) / HG); r += 1) {+ }, o = sK(e, t), s = o.height / rK, c = [];+ for (let n = Math.floor(a.y / rK); n <= Math.floor((a.y + a.height) / rK); n += 1) for (let r = Math.floor(a.x / nK); r <= Math.floor((a.x + a.width) / nK); r += 1) {if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;- let i = t ? r : GG(r, o.columns), l = t ? n : GG(n, s);- for (let s = 0; s < WG; s += 1) {- let u = (l * o.columns + i) * WG + s;+ let i = t ? r : aK(r, o.columns), l = t ? n : aK(n, s);+ for (let s = 0; s < iK; s += 1) {+ let u = (l * o.columns + i) * iK + s;if (t && u >= e) continue;- let d = JG(r, n, s);- KG(d, a) && c.push({+ let d = cK(r, n, s);+ oK(d, a) && c.push({...d,index: u % e,key: `${r}:${n}:${s}`@@ -52932,7 +53112,7 @@ function tK(e, t, n, r) {}return c;}-var nK = class {+var gK = class {positions = /* @__PURE__ */ new Map();used = /* @__PURE__ */ new Set();cursor = 0;@@ -52944,7 +53124,7 @@ var nK = class {this.cursor = e;}tile(e, t) {- let n = this.positions.get(e), r = n === void 0 ? null : XG(t, !1, e);+ let n = this.positions.get(e), r = n === void 0 ? null : uK(t, !1, e);return r ? {...r,index: n@@ -52974,7 +53154,7 @@ var nK = class {let e = 0;for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));return {- x: (e + 2) * HG,+ x: (e + 2) * nK,y: 0};}@@ -52987,10 +53167,10 @@ var nK = class {c < i && (r = s, i = c);}if (r) return r;- let a = this.fresh(), o = `${Math.round(a.x / HG)}:0:0`;+ let a = this.fresh(), o = `${Math.round(a.x / nK)}:0:0`;return this.positions.set(o, t), this.used.add(t), this.tile(o, e);}-}, rK = [+}, _K = ["q","performer","series",@@ -53005,16 +53185,16 @@ var nK = class {"dur_max","region"];-function iK(e = {}) {- return rK.some((t) => !!e[t]);+function vK(e = {}) {+ return _K.some((t) => !!e[t]);}// src/react/video-wall/use-wall-camera.ts-var aK = {+var yK = {x: 16,y: 16,scale: 1};-function oK(e, t, n = aK, r = !1) {+function bK(e, t, n = yK, r = !1) {let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)({width: 0,height: 0@@ -53034,7 +53214,7 @@ function oK(e, t, n = aK, r = !1) {let f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useRef)(!1), h = (0, P.useRef)(null), g = (0, P.useCallback)(() => {p.current?.stop(), p.current = null, f.current !== null && cancelAnimationFrame(f.current), f.current = null;}, []), _ = (0, P.useCallback)((e, t = !1, n = !1) => {- let { count: r, finite: c, focused: f } = d.current, p = eK(e, o.current, $G(r), c && !f && !n);+ let { count: r, finite: c, focused: f } = d.current, p = mK(e, o.current, pK(r), c && !f && !n);s.current = p;let m = window.devicePixelRatio || 1;a.current && (a.current.style.transform = `translate3d(${Math.round(p.x * m) / m}px, ${Math.round(p.y * m) / m}px, 0) scale(${p.scale})`), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y));@@ -53105,7 +53285,7 @@ function oK(e, t, n = aK, r = !1) {x: o.current.width / 2 - (e.x + e.width / 2) * i,y: o.current.height / 2 - (e.y + e.height / 2) * i};- !t || v() ? _(a, !0, n) : p.current = tb(0, 1, {+ !t || v() ? _(a, !0, n) : p.current = cb(0, 1, {duration: .42,ease: [.22,@@ -53134,7 +53314,7 @@ function oK(e, t, n = aK, r = !1) {},snapshot: () => ({ ...s.current }),reset: () => {- g(), _({ ...aK }, !0);+ g(), _({ ...yK }, !0);},pan: (e, t) => {g(), _({@@ -53195,16 +53375,16 @@ function oK(e, t, n = aK, r = !1) {};}// src/react/video-wall/wall-motion.ts-var sK = {+var xK = {type: "spring",stiffness: 300,damping: 34-}, cK = {+}, SK = {delay: .14,duration: .24};// src/react/video-wall/use-wall-playback.ts-function lK(e, t, n) {+function CK(e, t, n) {let [r, i] = (0, P.useState)({paused: !0,time: 0,@@ -53245,15 +53425,15 @@ function lK(e, t, n) {};}// src/react/video-wall/wall-controls.tsx-function uK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {- let b = qy(), x = lK(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {+function wK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouped: a, queueOpen: o, queueReady: s, hasPrevious: c, hasNext: l, later: u, laterBusy: d, play: f, previous: p, next: m, queue: h, watchLater: g, details: _, ended: v, error: y }) {+ let b = Yy(), x = CK(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {if (!(C || a && !s)) try {t === e.id ? await x.toggle() : await f();} catch (e) {y(tn(e));}};- return /* @__PURE__ */ (0, F.jsxs)(nb.div, {+ return /* @__PURE__ */ (0, F.jsxs)(db.div, {"data-wall-focus-actions": "",initial: !b && {opacity: 0,@@ -53263,7 +53443,7 @@ function uK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, groupopacity: 1,transform: "translateY(0px)"},- transition: b ? { duration: 0 } : cK,+ transition: b ? { duration: 0 } : SK,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-control-row": "",children: [@@ -53271,7 +53451,7 @@ function uK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grouptype: "button","data-wall-play": "","data-wall-pause": w ? void 0 : "",- ...Rz(C),+ ...Uz(C),"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",title: w ? "播放" : "暂停",onClick: () => void T(),@@ -53321,7 +53501,7 @@ function uK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",- ...Rz(d),+ ...Uz(d),"aria-label": u ? "移出稍后看" : "稍后看",title: "稍后看","aria-pressed": u,@@ -53367,7 +53547,7 @@ function uK({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, group});}// src/react/components/mix-queue.tsx-function dK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {+function TK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {let c = (0, P.useRef)(null), l = (0, P.useCallback)((e) => {c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);}, [a]);@@ -53403,7 +53583,7 @@ function dK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,})]});}-function fK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {+function EK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {let s = /* @__PURE__ */ (0, F.jsx)("span", {"data-mix-item-text": "",children: a@@ -53426,7 +53606,7 @@ function fK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }}), r]});}-var pK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {+var DK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {"data-mix-group-label": "",children: [e,@@ -53435,28 +53615,28 @@ var pK = ({ label: e, count: t }) => /* @__PURE__ */ (0, F.jsxs)("h3", {]});// src/react/video-wall/wall-queue.tsx-function mK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {+function OK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-wall-queue": "",id: "wall-queue",- children: /* @__PURE__ */ (0, F.jsx)(dK, {+ children: /* @__PURE__ */ (0, F.jsx)(TK, {kind: n,title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",summary: `${e.length} 个视频`,onClose: a,- children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(fK, {+ children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)(EK, {current: e.id === t,"data-wall-source": e.id,"aria-label": [e.edition_label,- e.part_label ? mN(e.part_label) : "",+ e.part_label ? fN(e.part_label) : "",r(e)].filter(Boolean).join(" · "),onClick: () => i(e),- pic: /* @__PURE__ */ (0, F.jsx)(MW, { artwork: ao(e, "small", !0, "cover") }),+ pic: /* @__PURE__ */ (0, F.jsx)(KW, { artwork: ao(e, "small", !0, "cover") }),children: [/* @__PURE__ */ (0, F.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, F.jsx)("span", { children: [e.edition_label,- e.part_label ? mN(e.part_label) : "",+ e.part_label ? fN(e.part_label) : "",kn(e.duration)].filter(Boolean).join(" · ") })]}, e.id))@@ -53464,7 +53644,7 @@ function mK({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {});}// src/react/video-wall/wall-route.ts-function hK(e = `${location.pathname}${location.search}`, t = {}) {+function kK(e = `${location.pathname}${location.search}`, t = {}) {let n = new URL(e, location.origin), [r, ...i] = n.pathname.split("/").filter(Boolean), a = {performers: "performer",creators: "creator",@@ -53479,17 +53659,17 @@ function hK(e = `${location.pathname}${location.search}`, t = {}) {}return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;}-function gK(e = `${location.pathname}${location.search}`) {+function AK(e = `${location.pathname}${location.search}`) {let t = new URL(e, location.origin).searchParams;- for (let e of rK) t.delete(e);+ for (let e of _K) t.delete(e);return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;}-function _K() {- let e = new URLSearchParams(JV.navigation.location.search).get("returnTo") || "/";- JV.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");+function jK() {+ let e = new URLSearchParams($V.navigation.location.search).get("returnTo") || "/";+ $V.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");}// src/react/video-wall/video-wall.tsx-var vK = /* @__PURE__ */ new Map(), yK = (0, P.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {+var MK = /* @__PURE__ */ new Map(), NK = (0, P.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {let i = ao(!e.is_jav && t === "thumbnail" && e.has_thumb ? {...e,has_cover: !1@@ -53502,7 +53682,7 @@ var vK = /* @__PURE__ */ new Map(), yK = (0, P.memo)(function({ item: e, image:ref: a,"data-media-pic": "",style: { "--card-ratio": String(r) },- children: /* @__PURE__ */ (0, F.jsx)(MW, {+ children: /* @__PURE__ */ (0, F.jsx)(KW, {artwork: i,relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {e.complete && e.naturalWidth && cl(e, r);@@ -53510,31 +53690,31 @@ var vK = /* @__PURE__ */ new Map(), yK = (0, P.memo)(function({ item: e, image:})});});-function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {+function O_e({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error: a = "", retry: o, emptyHtml: s = "", loadMore: c, actions: l, helpers: u, javImage: d, sessionKey: f }) {let p = String(e[0]?.id), [m] = (0, P.useState)(() => {- let e = vK.get(f);+ let e = MK.get(f);return e && (i || t || e.pool === p) ? e : void 0;- }), [h] = (0, P.useState)(() => m?.exploration || new nK()), g = (0, P.useRef)(!1), [_, v] = (0, P.useState)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = (0, P.useRef)(null), C = (0, P.useRef)(null), [w, T] = (0, P.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, P.useState)(m?.selectedKey || ""), [O, k] = (0, P.useState)(m?.sourceId || null), [A, j] = (0, P.useState)(!1), M = w?.edition_group ? {+ }), [h] = (0, P.useState)(() => m?.exploration || new gK()), g = (0, P.useRef)(!1), [_, v] = (0, P.useState)(null), y = (0, P.useRef)(null), b = (0, P.useRef)(null), x = (0, P.useRef)(null), S = (0, P.useRef)(null), C = (0, P.useRef)(null), [w, T] = (0, P.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, P.useState)(m?.selectedKey || ""), [O, k] = (0, P.useState)(m?.sourceId || null), [A, j] = (0, P.useState)(!1), M = w?.edition_group ? {kind: "editions",seedId: w.edition_group.seed_id} : w?.part_group ? {kind: "parts",seedId: w.part_group.seed_id} : null, ee = Pt({- queryKey: qM(M || {+ queryKey: GM(M || {kind: "parts",seedId: 0}),enabled: !!M,- queryFn: ({ signal: e }) => nN(M, {+ queryFn: ({ signal: e }) => eN(M, {tagLabel: u.tagLabel,mixRelated: async () => []}, e)- }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === aN(te, O || w?.id || null)) || w, N = oK(e.length, t && !!e.length, m?.camera || {+ }), te = M ? ee.data : void 0, ne = te?.items.find((e) => e.id === rN(te, O || w?.id || null)) || w, N = bK(e.length, t && !!e.length, m?.camera || {x: 0,y: 0,scale: innerWidth < 640 ? .68 : 1- }, !!w), re = qy(), [ie, ae] = (0, P.useState)(!!m);+ }, !!w), re = Yy(), [ie, ae] = (0, P.useState)(!!m);(0, P.useEffect)(() => {if (!e.length || ie || re) return;let t = setTimeout(() => ae(!0), 1100);@@ -53551,7 +53731,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:(0, P.useLayoutEffect)(() => {document.body.append(Se), N.viewport.current?.focus({ preventScroll: !0 });}, [Se]), (0, P.useEffect)(() => () => Se.remove(), [Se]);- let [Ce, we] = (0, P.useState)(() => hV(JV.navigation.location.pathname)), [Te, Ee] = (0, P.useState)(m?.image || d), De = (0, P.useRef)(null), Oe = (0, P.useRef)(p), ke = (0, P.useRef)(!!e.length);+ let [Ce, we] = (0, P.useState)(() => bV($V.navigation.location.pathname)), [Te, Ee] = (0, P.useState)(m?.image || d), De = (0, P.useRef)(null), Oe = (0, P.useRef)(p), ke = (0, P.useRef)(!!e.length);ke.current = !!e.length;let Ae = (0, P.useRef)({selectedId: w?.id || null,@@ -53568,17 +53748,17 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:pool: p};let je = () => {- ke.current && (vK.delete(f), vK.set(f, {+ ke.current && (MK.delete(f), MK.set(f, {...Ae.current,camera: N.snapshot(),exploration: h- }), vK.size > 8 && vK.delete(vK.keys().next().value));+ }), MK.size > 8 && MK.delete(MK.keys().next().value));};(0, P.useLayoutEffect)(je);- let Me = tK(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, N.view.camera, N.view.size), Ne = i ? Me.map((e) => ({+ let Me = hK(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, N.view.camera, N.view.size), Ne = i ? Me.map((e) => ({...e,index: -1- })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? XG(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? QG(e.length, t, Pe) : /* @__PURE__ */ new Map();+ })) : t ? Me : h.assign(Me, e.length, n), Pe = w && (t ? uK(e.length, !0, E) : h.tile(E, e.length)), Fe = Pe ? fK(e.length, t, Pe) : /* @__PURE__ */ new Map();Pe && !Ne.some((e) => e.key === Pe.key) && Ne.push(Pe);let Ie = (e = !1) => {C.current?.abort(), C.current = null, S.current?.(e), S.current = null, ce(null), fe(!1);@@ -53595,8 +53775,8 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:t,p,i- ]), (0, P.useEffect)(() => JV.listen((e) => {- let t = hV(e.location.pathname);+ ]), (0, P.useEffect)(() => $V.listen((e) => {+ let t = bV(e.location.pathname);t && (C.current?.abort(), S.current?.(!0), S.current = null, ce(null), fe(!1)), we(t);}), []), (0, P.useEffect)(() => () => {C.current?.abort(), S.current?.(!0), je();@@ -53617,7 +53797,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:w?.id !== n.id && Ie(!1), De.current = {key: r.key,id: n.id- }, me(""), ue(null), T(n), D(r.key), k(null), j(!1), xe(!1), N.reveal(QG(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));+ }, me(""), ue(null), T(n), D(r.key), k(null), j(!1), xe(!1), N.reveal(fK(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));}, ze = () => {ne && y.current && (je(), Ie(!0), l.wallDetails?.(ne, y.current.querySelector("[data-wall-focus]") || y.current));}, Be = async (e = ne) => {@@ -53639,7 +53819,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:C.current === t && fe(!1);}}, Ve = () => {- let e = oN(te || null, se || 0);+ let e = iN(te || null, se || 0);e && (k(e.id), Be(e));};(0, P.useEffect)(() => {@@ -53661,7 +53841,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:let r = N.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {x: (N.view.size.width / 2 - r.x) / r.scale,y: (N.view.size.height / 2 - r.y) / r.scale- }, o = t ? ZG(e.length, i) : h.nearest(e.length, i, a);+ }, o = t ? dK(e.length, i) : h.nearest(e.length, i, a);o && (Re(n, o), ue(n.id));}, Ge = async () => {if (!(r || g.current)) {@@ -53753,7 +53933,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:/* @__PURE__ */ (0, F.jsx)("div", {"data-wall-focus-backdrop": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(yK, {+ children: /* @__PURE__ */ (0, F.jsx)(NK, {item: w,image: Te,big: !0@@ -53761,7 +53941,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),/* @__PURE__ */ (0, F.jsx)("div", {"data-wall-scene": "",- children: /* @__PURE__ */ (0, F.jsx)(yK, {+ children: /* @__PURE__ */ (0, F.jsx)(NK, {item: w,image: Te,big: !0@@ -53790,7 +53970,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),Xe.code ? /* @__PURE__ */ (0, F.jsx)("strong", { children: Ye(Xe).startsWith(Xe.code) ? Ye(Xe).slice(Xe.code.length).trim() : Ye(Xe) }) : null,/* @__PURE__ */ (0, F.jsx)("span", { children: Xe.performers?.join(" · ") || Xe.creator || "未归属" }),- te ? /* @__PURE__ */ (0, F.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? mN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null+ te ? /* @__PURE__ */ (0, F.jsx)("small", { children: [Xe.edition_label, Xe.part_label ? fN(Xe.part_label) : ""].filter(Boolean).join(" · ") }) : null]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -53807,7 +53987,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),pe || M && ee.error && !te ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-play-error": "",- children: [/* @__PURE__ */ (0, F.jsx)(Nz, {+ children: [/* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: pe || tn(ee.error)}), ee.error && !te ? /* @__PURE__ */ (0, F.jsx)(q, {@@ -53817,7 +53997,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: "立即重试"}) : null]}) : null,- /* @__PURE__ */ (0, F.jsx)(uK, {+ /* @__PURE__ */ (0, F.jsx)(wK, {item: Xe,playing: se,frame: b,@@ -53839,7 +54019,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:ended: Ve,error: me}),- A ? /* @__PURE__ */ (0, F.jsx)(mK, {+ A ? /* @__PURE__ */ (0, F.jsx)(OK, {items: He,activeId: Xe.id,kind: te?.kind || "wall",@@ -53855,7 +54035,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-refreshing": _ !== null || void 0,hidden: Ce,onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : _K());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? Le() : be ? xe(!1) : jK());},children: [/* @__PURE__ */ (0, F.jsx)("button", {@@ -53863,7 +54043,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:"data-wall-back": "","aria-label": "退出播放墙",title: "返回",- onClick: _K,+ onClick: jK,children: /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -53881,7 +54061,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}), /* @__PURE__ */ (0, F.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, F.jsx)(q, {size: "small",variant: "ghost",- onClick: () => JV.push(gK()),+ onClick: () => $V.push(AK()),children: "清除筛选"})]}) : null,@@ -53893,7 +54073,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:onSubmit: (e) => {e.preventDefault();let t = new URLSearchParams(location.search), n = String(new FormData(e.currentTarget).get("q") || "").trim();- n ? t.set("q", n) : t.delete("q"), je(), JV.push(`/wall?${t}`), xe(!1);+ n ? t.set("q", n) : t.delete("q"), je(), $V.push(`/wall?${t}`), xe(!1);},children: [/* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24",@@ -53907,18 +54087,18 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:defaultValue: new URLSearchParams(location.search).get("q") || ""})]}),- /* @__PURE__ */ (0, F.jsxs)(MU, {+ /* @__PURE__ */ (0, F.jsxs)(LU, {"aria-label": "播放墙图片",value: Te,onChange: Ee,- className: NU,- children: [/* @__PURE__ */ (0, F.jsx)(SR, {+ className: RU,+ children: [/* @__PURE__ */ (0, F.jsx)(DR, {value: "cover",- className: PU,+ className: zU,children: "封面"- }), /* @__PURE__ */ (0, F.jsx)(SR, {+ }), /* @__PURE__ */ (0, F.jsx)(DR, {value: "thumbnail",- className: PU,+ className: zU,children: "缩略图"})]}),@@ -53990,7 +54170,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}}, t.key);let n = e[t.index], r = !!w && t.key === E, i = Fe.get(t.key) || t, a = !ie && !r, o = a ? Math.min(.34, (Math.max(0, t.x + N.view.camera.x / N.view.camera.scale) + Math.max(0, t.y + N.view.camera.y / N.view.camera.scale)) / 103.36 * .03) : 0;- return /* @__PURE__ */ (0, F.jsx)(nb.article, {+ return /* @__PURE__ */ (0, F.jsx)(db.article, {layout: !0,layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,"data-wall-tile": t.key,@@ -54011,7 +54191,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:},whileHover: oe && !re && !r && ie ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,transition: re ? { duration: 0 } : {- layout: sK,+ layout: xK,transform: a ? {type: "spring",stiffness: 360,@@ -54044,7 +54224,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:!r && ["Enter", " "].includes(e.key) && (e.preventDefault(), Re(n, t, !1));},children: r ? Ze : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(yK, {+ /* @__PURE__ */ (0, F.jsx)(NK, {item: n,image: Te,ratio: i.width / i.height@@ -54070,7 +54250,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:style: { "--wall-progress": `${Math.min(100, Number(n.leave_ratio) * 100)}%` },"aria-label": "观看进度"}) : null,- /* @__PURE__ */ (0, F.jsx)(nb.span, {+ /* @__PURE__ */ (0, F.jsx)(db.span, {"data-wall-dim": "",animate: { opacity: w ? .65 : 0 },transition: { duration: re ? 0 : .24 }@@ -54082,7 +54262,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}),!i && a ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, F.jsx)(Nz, {+ children: [/* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: a}), /* @__PURE__ */ (0, F.jsx)(q, {@@ -54109,7 +54289,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:}) : null,!t && (n || e.length > 0) ? /* @__PURE__ */ (0, F.jsx)("div", {"data-wall-refresh": "",- children: /* @__PURE__ */ (0, F.jsx)(uW, {+ children: /* @__PURE__ */ (0, F.jsx)(wW, {busy: r,onPress: () => void qe()})@@ -54119,20 +54299,20 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:children: /* @__PURE__ */ (0, F.jsxs)(q, {size: "small",variant: "secondary",- ...Rz(r),+ ...Uz(r),onClick: () => void Ge(),children: [r ? /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: xs() } }) : null, "载入更多"]})}) : null,he ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-wall-error": "",- children: [/* @__PURE__ */ (0, F.jsx)(Nz, {+ children: [/* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: he}), /* @__PURE__ */ (0, F.jsx)(q, {size: "small",variant: "ghost",- ...Rz(r),+ ...Uz(r),onClick: () => void Ge(),children: "立即重试"})]@@ -54155,7 +54335,7 @@ function bK({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:return (0, Lt.createPortal)(Qe, Se);}// src/catalog-onboarding.ts-var xK = [+var PK = ["loc","creator","performer",@@ -54174,19 +54354,19 @@ var xK = ["jav","thumb"];-function SK(e = typeof location > "u" ? "/" : location.href) {+function k_e(e = typeof location > "u" ? "/" : location.href) {let t = new URL(e, "http://localhost");for (let e of [- ...xK,+ ...PK,"q","category","cat"]) t.searchParams.delete(e);return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;}-async function CK(e, t) {+async function A_e(e, t) {let n = new URLSearchParams();- for (let t of xK) e[t] && n.set(t, e[t]);+ for (let t of PK) e[t] && n.set(t, e[t]);let [r, i] = await Promise.all([t("/api/facets?" + n), t("/api/items?" + n + "&limit=5")]), a = [...new Set([...r.creators || [],...r.tagperformers || [],@@ -54197,9 +54377,9 @@ async function CK(e, t) {return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";}))).filter(Boolean);}-function wK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {+function FK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {let a = "<a class=\"geist-button primary\" href=\"/settings/library\">添加媒体</a>", o = "<a class=\"geist-button" + (i ? " primary" : "") + "\" href=\"/subscriptions?tab=add\">添加关注</a>";- if (t || n) return Ts("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(SK()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });+ if (t || n) return Ts("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(k_e()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });if (e !== "catalog") {let t = (i ? {tags: "标签",@@ -54217,28 +54397,28 @@ function wK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:return Ts("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });}// src/react/video-wall/wall-empty.ts-function TK({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {- return e ? r || wK() : t ? Ts("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ts("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${gK()}">清除筛选</a>` });+function j_e({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {+ return e ? r || FK() : t ? Ts("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ts("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${AK()}">清除筛选</a>` });}// src/react/library-processing/processing-actions.tsx-function EK({ label: e, maintenance: t = !1, children: n }) {- let r = OH("hover");+function IK({ label: e, maintenance: t = !1, children: n }) {+ let r = NH("hover");return /* @__PURE__ */ (0, F.jsx)("div", {ref: r,role: "group","aria-label": e,"data-processing-maintenance": t || void 0,- className: cF("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),+ className: oF("flex flex-col gap-1", t && "mt-2 rounded-lg bg-background-secondary-default p-1 pt-3"),children: n});}-function DK({ option: e, metadataOnly: t, onRun: n }) {+function LK({ option: e, metadataOnly: t, onRun: n }) {let r = t && e.command.stage === "previews", i = r || e.disabled;return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",disabled: i,title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,- className: cF(XB, i ? "cursor-not-allowed opacity-50" : ZB, "text-body-2-medium"),+ className: oF(tV, i ? "cursor-not-allowed opacity-50" : nV, "text-body-2-medium"),onClick: () => n(e.command),children: /* @__PURE__ */ (0, F.jsxs)("span", {className: "flex min-w-0 flex-col gap-1",@@ -54249,12 +54429,12 @@ function DK({ option: e, metadataOnly: t, onRun: n }) {})});}-function OK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {+function M_e({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {let [a, o] = (0, P.useState)(t), [s, c] = (0, P.useState)(), [l, u] = (0, P.useState)("");(0, P.useEffect)(() => {let t = new AbortController(), r, i = async (a) => {try {- let o = await Ahe(e, t.signal, a);+ let o = await Zhe(e, t.signal, a);if (!o.traffic) throw Error("服务端未提供流量预估");if (t.signal.aborted) return;c(o.traffic), n.confirmButton.disabled = !1, o.traffic.inventory?.token && (r = setTimeout(() => {@@ -54279,7 +54459,7 @@ function OK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}),/* @__PURE__ */ (0, F.jsx)("div", {className: "flex justify-center",- children: /* @__PURE__ */ (0, F.jsx)(FH, {+ children: /* @__PURE__ */ (0, F.jsx)(BH, {value: a,busy: i,onChange: (e) => {@@ -54287,7 +54467,7 @@ function OK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {}})}),- s ? /* @__PURE__ */ (0, F.jsx)(aU, {+ s ? /* @__PURE__ */ (0, F.jsx)(uU, {traffic: s,initial: !0}) : null,@@ -54299,7 +54479,7 @@ function OK({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {]});}-function kK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", pendingCount: i = 0, onRun: a }) {+function RK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standard", pendingCount: i = 0, onRun: a }) {let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(null), u = (0, P.useRef)(r);(0, P.useEffect)(() => () => s.current?.close(), []);let [d, f] = (0, P.useState)(!1), p = {@@ -54378,7 +54558,7 @@ function kK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand});};return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- c ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(OK, {+ c ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(M_e, {command: c.command,dialog: c.dialog,speed: r,@@ -54387,11 +54567,11 @@ function kK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standu.current = e;}}), c.host) : null,- c ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(TH, {+ c ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(AH, {href: "/settings/library",size: "small",variant: "primary",- trailingIcon: cz,+ trailingIcon: pz,disabled: e,onClick: (e) => {c.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : c.dialog.close();@@ -54403,43 +54583,43 @@ function kK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand"data-split-button": !0,"data-variant": "primary",children: [/* @__PURE__ */ (0, F.jsx)(q, {- ...Rz(e),+ ...Uz(e),onClick: () => g(p.command),children: p.label}), /* @__PURE__ */ (0, F.jsx)(q, {ref: o,iconOnly: !0,- leadingIcon: sz,+ leadingIcon: fz,"aria-label": "更多同步方式","aria-haspopup": "dialog","aria-expanded": d,- ...Rz(e),+ ...Uz(e),onClick: () => {e || f(!d);}})]}),- /* @__PURE__ */ (0, F.jsx)(tR, {+ /* @__PURE__ */ (0, F.jsx)(oR, {triggerRef: o,isOpen: d,onOpenChange: f,placement: "bottom end",offset: 4,- className: YB,- children: /* @__PURE__ */ (0, F.jsxs)(mR, {+ className: eV,+ children: /* @__PURE__ */ (0, F.jsxs)(yR, {"aria-label": "同步方式",className: "flex w-80 flex-col gap-1 outline-none",- children: [t ? /* @__PURE__ */ (0, F.jsxs)(EK, {+ children: [t ? /* @__PURE__ */ (0, F.jsxs)(IK, {label: "日常同步",children: [/* @__PURE__ */ (0, F.jsx)("p", {className: "px-2 py-1 text-caption-1-medium text-text-secondary",children: "日常同步"- }), m.map((e) => /* @__PURE__ */ (0, F.jsx)(DK, {+ }), m.map((e) => /* @__PURE__ */ (0, F.jsx)(LK, {option: e,metadataOnly: n,onRun: g}, e.label))]- }) : null, /* @__PURE__ */ (0, F.jsxs)(EK, {+ }) : null, /* @__PURE__ */ (0, F.jsxs)(IK, {label: t ? "全库维护" : "补全方式",maintenance: t,children: [t ? /* @__PURE__ */ (0, F.jsxs)("div", {@@ -54451,7 +54631,7 @@ function kK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "standclassName: "text-caption-1-regular text-text-secondary",children: "检查全部文件,复用已有资料和预览"})]- }) : null, h.map((e) => /* @__PURE__ */ (0, F.jsx)(DK, {+ }) : null, h.map((e) => /* @__PURE__ */ (0, F.jsx)(LK, {option: e,metadataOnly: n,onRun: g@@ -54462,48 +54642,48 @@ function kK({ busy: e, scan: t = !1, metadataOnly: n = !1, speedMode: r = "stand] });}// src/react/library-processing/library-completion.tsx-function AK(e, t) {+function zK(e, t) {return [...new Set(e.filter((e) => (!e.medium || e.medium === "video") && (!/\.(strm|iso)$/i.test(e.name || "") || !!e.code) && !e.disposal && e.location !== "online" && (e.location === "local" || !!e.code) && !ao(e, "small", !1, t).html).map((e) => e.id))];}-function jK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {- return e.length ? /* @__PURE__ */ (0, F.jsx)(MK, {+function BK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {+ return e.length ? /* @__PURE__ */ (0, F.jsx)(N_e, {assetIds: e,onComplete: t,className: n}) : null;}-function MK({ assetIds: e, onComplete: t, className: n }) {+function N_e({ assetIds: e, onComplete: t, className: n }) {let r = Pt({- queryKey: lH,- queryFn: ({ signal: e }) => _H(e),- refetchInterval: (e) => bH(e.state.data, !0)+ queryKey: mH,+ queryFn: ({ signal: e }) => SH(e),+ refetchInterval: (e) => TH(e.state.data, !0)}), [i, a] = (0, P.useState)(null), [o, s] = (0, P.useState)(""), c = (0, P.useRef)(null), l = Ft({- mutationFn: (t) => V(cH, {+ mutationFn: (t) => V(pH, {...t,asset_ids: e}),onSuccess: (e) => {- a(e.job_id || null), H.setQueryData(lH, e), H.invalidateQueries({ queryKey: lH });+ a(e.job_id || null), H.setQueryData(mH, e), H.invalidateQueries({ queryKey: mH });}}), u = r.data;(0, P.useEffect)(() => {- u && i && u.job_id === i && !fH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());+ u && i && u.job_id === i && !_H(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());}, [u,i,t]);- let d = l.isPending || fH(u), f = l.error ? Wn(l.error) : r.error ? yH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${fH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);+ let d = l.isPending || _H(u), f = l.error ? Wn(l.error) : r.error ? wH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${_H(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);return /* @__PURE__ */ (0, F.jsx)("section", {"aria-label": "补全预览","aria-live": "polite","data-library-completion": "",- className: cF("@container", n),- children: /* @__PURE__ */ (0, F.jsxs)(Nz, {+ className: oF("@container", n),+ children: /* @__PURE__ */ (0, F.jsxs)(Rz, {tone: f ? "warning" : "neutral",action: /* @__PURE__ */ (0, F.jsx)("div", {className: "flex flex-wrap items-center gap-2",- children: /* @__PURE__ */ (0, F.jsx)(kK, {+ children: /* @__PURE__ */ (0, F.jsx)(RK, {busy: d,metadataOnly: u?.metadata_only,onRun: (e) => {@@ -54514,10 +54694,10 @@ function MK({ assetIds: e, onComplete: t, className: n }) {children: [p," ",- /* @__PURE__ */ (0, F.jsx)(TH, {+ /* @__PURE__ */ (0, F.jsx)(AH, {href: "/data-cleanup#libraryProcessing",size: "small",- trailingIcon: cz,+ trailingIcon: pz,children: f ? "打开扫描与采集" : "查看处理详情"})]@@ -54525,31 +54705,31 @@ function MK({ assetIds: e, onComplete: t, className: n }) {});}// node_modules/@tanstack/react-table/dist/FlexRender.js-function NK(e) {- return PK(e) || typeof e == "function" || FK(e);+function P_e(e) {+ return F_e(e) || typeof e == "function" || I_e(e);}-function PK(e) {+function F_e(e) {return typeof e == "function" && (() => {let t = Object.getPrototypeOf(e);return t.prototype && t.prototype.isReactComponent;})();}-function FK(e) {+function I_e(e) {return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);}-function IK(e, t) {- return e == null ? null : NK(e) ? /* @__PURE__ */ P.createElement(e, t) : e;+function VK(e, t) {+ return e == null ? null : P_e(e) ? /* @__PURE__ */ P.createElement(e, t) : e;}-function LK(e) {+function L_e(e) {if ("cell" in e && e.cell) {let t = e.cell, n = t.column.columnDef, r = t, i = n;- return r.getIsAggregated?.() ? IK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : IK(n.cell, t.getContext());+ return r.getIsAggregated?.() ? VK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : VK(n.cell, t.getContext());}- return "header" in e && e.header ? IK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? IK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;+ return "header" in e && e.header ? VK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? VK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;}// node_modules/@tanstack/store/dist/alien.js/* @__NO_SIDE_EFFECTS__ */-function RK({ update: e, notify: t, unwatched: n }) {+function R_e({ update: e, notify: t, unwatched: n }) {return {link: r,unlink: i,@@ -54666,7 +54846,7 @@ function RK({ update: e, notify: t, unwatched: n }) {}}// node_modules/@tanstack/store/dist/atom.js-function zK(e, t, n) {+function z_e(e, t, n) {let r = typeof e == "object", i = r ? e : void 0;return {next: (r ? e.next : e)?.bind(i),@@ -54674,18 +54854,18 @@ function zK(e, t, n) {complete: (r ? e.complete : n)?.bind(i)};}-var BK = [], VK = 0, { link: HK, unlink: UK, propagate: WK, checkDirty: GK, shallowPropagate: KK } = /* @__PURE__ */ RK({+var HK = [], UK = 0, { link: WK, unlink: B_e, propagate: V_e, checkDirty: GK, shallowPropagate: KK } = /* @__PURE__ */ R_e({update(e) {return e._update();},notify(e) {- BK[JK++] = e, e.flags &= -3;+ HK[JK++] = e, e.flags &= -3;},unwatched(e) {e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, ZK(e));}}), qK = 0, JK = 0, YK, XK = 0;-function g_e(e) {+function H_e(e) {try {++XK, e();} finally {@@ -54694,18 +54874,18 @@ function g_e(e) {}function ZK(e) {let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;- for (; n !== void 0;) n = UK(n, e);+ for (; n !== void 0;) n = B_e(n, e);}function QK() {if (!(XK > 0)) {for (; qK < JK;) {- let e = BK[qK];- BK[qK++] = void 0, e.notify();+ let e = HK[qK];+ HK[qK++] = void 0, e.notify();}qK = 0, JK = 0;}}-function __e(e, t) {+function U_e(e, t) {let n = typeof e == "function", r = e, i = {_snapshot: n ? void 0 : e,subs: void 0,@@ -54714,10 +54894,10 @@ function __e(e, t) {depsTail: void 0,flags: +!n,get() {- return YK !== void 0 && HK(i, YK, VK), i._snapshot;+ return YK !== void 0 && WK(i, YK, UK), i._snapshot;},subscribe(e) {- let t = zK(e), n = { current: !1 }, r = v_e(() => {+ let t = z_e(e), n = { current: !1 }, r = W_e(() => {i.get(), n.current ? (YK = void 0, t.next?.(i._snapshot)) : n.current = !0;});return { unsubscribe: () => {@@ -54726,7 +54906,7 @@ function __e(e, t) {},_update(e) {let a = YK, o = t?.compare ?? Object.is;- if (n) YK = i, ++VK, i.depsTail = void 0;+ if (n) YK = i, ++UK, i.depsTail = void 0;else if (e === void 0) return !1;n && (i.flags = 5);try {@@ -54745,18 +54925,18 @@ function __e(e, t) {e !== void 0 && KK(e);}} else e & 32 && (i.flags = e & -33);- return YK !== void 0 && HK(i, YK, VK), i._snapshot;+ return YK !== void 0 && WK(i, YK, UK), i._snapshot;}) : i.set = function(e) {if (i._update(e)) {let e = i.subs;- e !== void 0 && (WK(e), KK(e), QK());+ e !== void 0 && (V_e(e), KK(e), QK());}}, i;}-function v_e(e) {+function W_e(e) {let t = () => {let t = YK;- YK = n, ++VK, n.depsTail = void 0, n.flags = 6;+ YK = n, ++UK, n.depsTail = void 0, n.flags = 6;try {return e();} finally {@@ -54802,8 +54982,8 @@ function eq(e) {return Object.keys(e).concat(Object.getOwnPropertySymbols(e));}// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js-var y_e = /* @__PURE__ */ o(((e) => {- var t = A(), n = tS();+var G_e = /* @__PURE__ */ o(((e) => {+ var t = A(), n = rS();function r(e, t) {return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;}@@ -54848,32 +55028,32 @@ var y_e = /* @__PURE__ */ o(((e) => {}, [p]), l(p), p;};})), tq = /* @__PURE__ */ o(((e, t) => {- t.exports = y_e();-})), b_e = tq();-function x_e(e, t) {+ t.exports = G_e();+})), K_e = tq();+function q_e(e, t) {return e === t;}function nq(e, t = (e) => e, n) {- let r = n?.compare ?? x_e, i = (0, P.useCallback)((t) => {+ let r = n?.compare ?? q_e, i = (0, P.useCallback)((t) => {let { unsubscribe: n } = e.subscribe(t);return n;}, [e]), a = (0, P.useCallback)(() => e.get(), [e]);- return (0, b_e.useSyncExternalStoreWithSelector)(i, a, a, t, r);+ return (0, K_e.useSyncExternalStoreWithSelector)(i, a, a, t, r);}// node_modules/@tanstack/react-table/dist/Subscribe.js-function S_e(e) {+function J_e(e) {let t = nq(e.source, e.selector, { compare: $K });return typeof e.children == "function" ? e.children(t) : e.children;}// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js-function C_e(e) {+function Y_e(e) {let t = e;return Object.defineProperty(e, "state", { get() {return e.get();} }), "set" in e && (t.setState = e.set.bind(e)), t;}// node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js-function w_e(e) {+function X_e(e) {let { createAtom: t, batch: n } = e, r = t(0);return {createOptionsStore: !1,@@ -54903,7 +55083,7 @@ function w_e(e) {}};}-function T_e(e, t = Object.is) {+function Z_e(e, t = Object.is) {let n = !1, r;return {get: e.get,@@ -54916,10 +55096,10 @@ function T_e(e, t = Object.is) {};}// node_modules/@tanstack/react-table/dist/reactivity.js-function E_e() {- return w_e({- createAtom: __e,- batch: g_e+function Q_e() {+ return X_e({+ createAtom: U_e,+ batch: H_e});}// node_modules/@tanstack/table-core/dist/utils.js@@ -54973,9 +55153,9 @@ function lq(e) {function uq(e) {return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));}-var D_e = 3;-function O_e(e, t) {- return dq(e, t, D_e);+var $_e = 3;+function eve(e, t) {+ return dq(e, t, $_e);}function dq(e, t, n) {if (Object.is(e, t)) return !0;@@ -54989,17 +55169,17 @@ function dq(e, t, n) {}return !0;}-function fq(e, t, n, r = O_e) {+function fq(e, t, n, r = eve) {let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];a && a((e) => {let t = rq(n, e);return r(e, t) ? e : t;});}-function k_e(e) {+function tve(e) {return e instanceof Function;}-function A_e(e, t) {+function nve(e, t) {let n = [], r = (e) => {e.forEach((e) => {n.push(e);@@ -55009,7 +55189,7 @@ function A_e(e, t) {};return r(e), n;}-var j_e = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {+var rve = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {let o = [], s;return (c) => {i?.();@@ -55034,7 +55214,7 @@ function mq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ..let { schedule: e, untrack: t } = i._reactivity;e(() => t(() => r()));} : void 0 };- return j_e({+ return rve({...a,...o});@@ -55087,13 +55267,13 @@ function vq(e, t, n, ...r) {return e[t]?.(...r) ?? n(e, ...r);}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js-function M_e(e) {+function ive(e) {return e.row.getValue(e.column.id);}-function N_e(e) {+function ave(e) {return e.getValue() ?? e.table.options.renderFallbackValue;}-function P_e(e) {+function ove(e) {return {table: e.table,column: e.column,@@ -55104,18 +55284,18 @@ function P_e(e) {};}// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js-var F_e = { assignCellPrototype: (e, t) => {+var sve = { assignCellPrototype: (e, t) => {_q("coreCellsFeature", e, t, {- cell_getValue: { fn: (e) => M_e(e) },- cell_renderValue: { fn: (e) => N_e(e) },+ cell_getValue: { fn: (e) => ive(e) },+ cell_renderValue: { fn: (e) => ave(e) },cell_getContext: {- fn: (e) => P_e(e),+ fn: (e) => ove(e),memoDeps: (e) => [e]}});} };// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js-function I_e(e) {+function cve(e) {if (!e._columnPrototype) {e._columnPrototype = { table: e };let t = Object.values(e._features);@@ -55123,7 +55303,7 @@ function I_e(e) {}return e._columnPrototype;}-function L_e(e, t, n, r) {+function lve(e, t, n, r) {let i = {...e.getDefaultColumnDef(),...t@@ -55143,7 +55323,7 @@ function L_e(e, t, n, r) {} else c = (e) => e[i.accessorKey];}if (!s) throw Error();- let l = I_e(e), u = Object.create(l);+ let l = cve(e), u = Object.create(l);u.accessorFn = c, u.columnDef = i, u.columns = [], u.depth = n, u.id = `${String(s)}`, u.parent = r;let d = e._columnInstanceInitFns;for (let e = 0; e < d.length; e++) d[e](u);@@ -55153,7 +55333,7 @@ function L_e(e, t, n, r) {function yq(e) {return e.getIsVisible?.() ?? !0;}-function R_e(e) {+function uve(e) {return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();}function bq(e, t) {@@ -55166,30 +55346,30 @@ function xq(e, t, n, r) {function Sq(e, t) {return e._expandRows?.(t) ?? t;}-function z_e(e) {+function dve(e) {e.autoResetExpanded?.();}function Cq(e) {e.autoResetPageIndex?.();}-function B_e(e) {+function fve(e) {e.autoResetSorting?.();}-function V_e(e) {+function pve(e) {e.autoResetCellSelection?.();}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js-function H_e(e) {+function mve(e) {return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];}-function U_e(e) {+function hve(e) {if (e.columns.length) {let t = e.columns.flatMap((e) => e.getLeafColumns());return bq(e.table, t);}return [e];}-function W_e(e) {+function gve(e) {return {header: (e) => {let t = e.header.column.columnDef;@@ -55204,18 +55384,18 @@ function wq(e, t, n, r = 0) {let i = Array(t.length);for (let a = 0; a < t.length; a++) {if (!(a in t)) continue;- let o = t[a], s = L_e(e, o, r, n), c = o;+ let o = t[a], s = lve(e, o, r, n), c = o;s.columns = c.columns ? wq(e, c.columns, s, r + 1) : [], i[a] = s;}return i;}-function G_e(e) {+function _ve(e) {return wq(e, e.options.columns);}-function K_e(e) {+function vve(e) {return e.getAllColumns().flatMap((e) => e.getFlatColumns());}-function q_e(e) {+function yve(e) {let t = oq(), n = e.getAllFlatColumns();for (let e = 0; e < n.length; e++) {let r = n[e];@@ -55223,10 +55403,10 @@ function q_e(e) {}return t;}-function J_e(e) {+function bve(e) {return bq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));}-function Y_e(e) {+function xve(e) {let t = oq(), n = e.getAllLeafColumns();for (let e = 0; e < n.length; e++) {let r = n[e];@@ -55234,19 +55414,19 @@ function Y_e(e) {}return t;}-function X_e(e, t) {+function Sve(e, t) {return e.getAllFlatColumnsById()[t];}// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js-var Z_e = {+var Cve = {assignColumnPrototype: (e, t) => {_q("coreColumnsFeature", e, t, {column_getFlatColumns: {- fn: (e) => H_e(e),+ fn: (e) => mve(e),memoDeps: (e) => [e.table.options.columns]},column_getLeafColumns: {- fn: (e) => U_e(e),+ fn: (e) => hve(e),memoDeps: (e) => [e.table.atoms.columnOrder?.get(),e.table.atoms.grouping?.get(),@@ -55259,23 +55439,23 @@ var Z_e = {constructTableAPIs: (e) => {gq("coreColumnsFeature", e, {table_getDefaultColumnDef: {- fn: () => W_e(e),+ fn: () => gve(e),memoDeps: () => [e.options.defaultColumn]},table_getAllColumns: {- fn: () => G_e(e),+ fn: () => _ve(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumns: {- fn: () => K_e(e),+ fn: () => vve(e),memoDeps: () => [e.options.columns]},table_getAllFlatColumnsById: {- fn: () => q_e(e),+ fn: () => yve(e),memoDeps: () => [e.options.columns]},table_getAllLeafColumns: {- fn: () => J_e(e),+ fn: () => bve(e),memoDeps: () => [e.atoms.columnOrder?.get(),e.atoms.grouping?.get(),@@ -55284,15 +55464,15 @@ var Z_e = {]},table_getAllLeafColumnsById: {- fn: () => Y_e(e),+ fn: () => xve(e),memoDeps: () => [e.getAllLeafColumns()]},- table_getColumn: { fn: (t) => X_e(e, t) }+ table_getColumn: { fn: (t) => Sve(e, t) }});}};// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js-function Q_e(e) {+function wve(e) {if (!e._headerPrototype) {e._headerPrototype = { table: e };let t = Object.values(e._features);@@ -55301,7 +55481,7 @@ function Q_e(e) {return e._headerPrototype;}function Tq(e, t, n) {- let r = Q_e(e), i = Object.create(r);+ let r = wve(e), i = Object.create(r);i.colSpan = 0, i.column = t, i.depth = n.depth, i.headerGroup = null, i.id = n.id ?? t.id, i.index = n.index, i.isPlaceholder = !!n.isPlaceholder, i.placeholderId = n.placeholderId, i.rowSpan = 0, i.subHeaders = [];let a = e._headerInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);@@ -55316,14 +55496,14 @@ function Eq(e, t = 1) {}return n;}-function $_e(e, t) {+function Tve(e, t) {return e ? `${e}_${t}` : String(t);}-function eve(e, t, n, r) {+function Eve(e, t, n, r) {let i = e ?? "";return t && (i = i ? `${i}_${t}` : String(t)), n && (i = i ? `${i}_${n}` : n), r && (i = i ? `${i}_${r}` : r), i;}-function tve(e, t) {+function Dve(e, t) {let n = 0;for (let r = 0; r < e.length; r++) e[r].column === t && n++;return n;@@ -55331,7 +55511,7 @@ function tve(e, t) {function Dq(e, t, n, r, i, a) {let o = {depth: t,- id: $_e(r, t),+ id: Tve(r, t),headers: []}, s = [];for (let i = 0; i < e.length; i++) {@@ -55340,9 +55520,9 @@ function Dq(e, t, n, r, i, a) {if (l && a.column.parent ? u = a.column.parent : (u = a.column, d = !0), c && c.column === u) c.subHeaders.push(a);else {let e = Tq(n, u, {- id: eve(r, t, u.id, a.id),+ id: Eve(r, t, u.id, a.id),isPlaceholder: d,- placeholderId: d ? String(tve(s, u)) : void 0,+ placeholderId: d ? String(Dve(s, u)) : void 0,depth: t,index: s.length});@@ -55372,7 +55552,7 @@ function Oq(e) {} else n.rowSpan = 1;}}-function nve(e, t, n, r) {+function Ove(e, t, n, r) {let i = Eq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);for (let e = 0; e < t.length; e++) e in t && (s[e] = Tq(n, t[e], {depth: i,@@ -55385,24 +55565,24 @@ function kq(e, t) {for (let n = 0; n < e.subHeaders.length; n++) kq(e.subHeaders[n], t);t.push(e);}-function rve(e) {+function kve(e) {let t = [];return kq(e, t), t;}-function ive(e) {+function Ave(e) {return {column: e.column,header: e,table: e.column.table};}-function ave(e) {- return nve(e.getAllColumns(), xq(e, R_e(e), (e) => e.id), e);+function jve(e) {+ return Ove(e.getAllColumns(), xq(e, uve(e), (e) => e.id), e);}-function ove(e) {+function Mve(e) {return [...e.getHeaderGroups()].reverse();}-function sve(e) {+function Nve(e) {let t = e.getHeaderGroups(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e].headers;@@ -55410,7 +55590,7 @@ function sve(e) {}return n;}-function cve(e) {+function Pve(e) {let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];for (let e = 0; e < t.length; e++) {let r = t[e].getLeafHeaders();@@ -55419,15 +55599,15 @@ function cve(e) {return n;}// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js-var lve = {+var Fve = {assignHeaderPrototype: (e, t) => {_q("coreHeadersFeature", e, t, {header_getLeafHeaders: {- fn: (e) => rve(e),+ fn: (e) => kve(e),memoDeps: (e) => [e.column.table.options.columns]},header_getContext: {- fn: (e) => ive(e),+ fn: (e) => Ave(e),memoDeps: (e) => [e.column.table.options.columns]}});@@ -55435,7 +55615,7 @@ var lve = {constructTableAPIs: (e) => {gq("coreHeadersFeature", e, {table_getHeaderGroups: {- fn: () => ave(e),+ fn: () => jve(e),memoDeps: () => [e.options.columns,e.atoms.columnOrder?.get(),@@ -55446,22 +55626,22 @@ var lve = {]},table_getFooterGroups: {- fn: () => ove(e),+ fn: () => Mve(e),memoDeps: () => [e.getHeaderGroups()]},table_getFlatHeaders: {- fn: () => sve(e),+ fn: () => Nve(e),memoDeps: () => [e.getHeaderGroups()]},table_getLeafHeaders: {- fn: () => cve(e),+ fn: () => Pve(e),memoDeps: () => [e.getHeaderGroups()]}});}};// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js-function uve(e) {+function Ive(e) {if (!e._rowPrototype) {e._rowPrototype = { table: e };let t = Object.values(e._features);@@ -55469,35 +55649,35 @@ function uve(e) {}return e._rowPrototype;}-var dve = (e, t, n, r, i, a, o) => {- let s = uve(e), c = Object.create(s);+var Lve = (e, t, n, r, i, a, o) => {+ let s = Ive(e), c = Object.create(s);c._displayIndexCache = -1, c._uniqueValuesCache = oq(), c._valuesCache = oq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];let l = e._rowInstanceInitFns;for (let e = 0; e < l.length; e++) l[e](c);return c;};// node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js-function fve() {+function Rve() {return (e) => mq({feature: "coreRowModelsFeature",table: e,fnName: "table.getCoreRowModel",memoDeps: () => [e.options.data],- fn: () => pve(e, e.options.data),+ fn: () => zve(e, e.options.data),onAfterUpdate: pq(() => {- z_e(e), Cq(e), B_e(e), V_e(e);+ dve(e), Cq(e), fve(e), pve(e);})});}function Aq(e, t, n, r = 0, i) {let a = [];for (let o = 0; o < n.length; o++) {- let s = n[o], c = dve(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);+ let s = n[o], c = Lve(e, e.getRowId(s, o, i), s, o, r, void 0, i?.id);t.flatRows.push(c), t.rowsById[c.id] = c, a.push(c), e.options.getSubRows && (c.originalSubRows = e.options.getSubRows(s, o), c.originalSubRows?.length && (c.subRows = Aq(e, t, c.originalSubRows, r + 1, c)));}return a;}-function pve(e, t) {+function zve(e, t) {let n = {rows: [],flatRows: [],@@ -55506,61 +55686,61 @@ function pve(e, t) {return n.rows = Aq(e, n, t), n;}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js-function mve(e) {- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? fve()(e)), e._rowModels.coreRowModel();+function Bve(e) {+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? Rve()(e)), e._rowModels.coreRowModel();}-function hve(e) {+function Vve(e) {return e.getCoreRowModel();}-function gve(e) {+function Hve(e) {return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();}-function _ve(e) {+function Uve(e) {return e.getFilteredRowModel();}-function vve(e) {+function Wve(e) {return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();}-function yve(e) {+function Gve(e) {return e.getGroupedRowModel();}-function bve(e) {+function Kve(e) {return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();}-function xve(e) {+function qve(e) {return e.getSortedRowModel();}-function Sve(e) {+function Jve(e) {return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();}-function Cve(e) {+function Yve(e) {return e.getExpandedRowModel();}-function wve(e) {+function Xve(e) {return e._rowModels.paginatedRowModel || (e._rowModels.paginatedRowModel = e.options.features.paginatedRowModel?.(e)), e.options.manualPagination || !e._rowModels.paginatedRowModel ? e.getPrePaginatedRowModel() : e._rowModels.paginatedRowModel();}-function Tve(e) {+function Zve(e) {return e.getPaginatedRowModel();}// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js-var Eve = { constructTableAPIs: (e) => {+var Qve = { constructTableAPIs: (e) => {gq("coreRowModelsFeature", e, {- table_getCoreRowModel: { fn: () => mve(e) },- table_getPreFilteredRowModel: { fn: () => hve(e) },- table_getFilteredRowModel: { fn: () => gve(e) },- table_getPreGroupedRowModel: { fn: () => _ve(e) },- table_getGroupedRowModel: { fn: () => vve(e) },- table_getPreSortedRowModel: { fn: () => yve(e) },- table_getSortedRowModel: { fn: () => bve(e) },- table_getPreExpandedRowModel: { fn: () => xve(e) },- table_getExpandedRowModel: { fn: () => Sve(e) },- table_getPrePaginatedRowModel: { fn: () => Cve(e) },- table_getPaginatedRowModel: { fn: () => wve(e) },- table_getRowModel: { fn: () => Tve(e) }+ table_getCoreRowModel: { fn: () => Bve(e) },+ table_getPreFilteredRowModel: { fn: () => Vve(e) },+ table_getFilteredRowModel: { fn: () => Hve(e) },+ table_getPreGroupedRowModel: { fn: () => Uve(e) },+ table_getGroupedRowModel: { fn: () => Wve(e) },+ table_getPreSortedRowModel: { fn: () => Gve(e) },+ table_getSortedRowModel: { fn: () => Kve(e) },+ table_getPreExpandedRowModel: { fn: () => qve(e) },+ table_getExpandedRowModel: { fn: () => Jve(e) },+ table_getPrePaginatedRowModel: { fn: () => Yve(e) },+ table_getPaginatedRowModel: { fn: () => Xve(e) },+ table_getRowModel: { fn: () => Zve(e) }});} };// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js-function Dve(e) {+function $ve(e) {if (!e._cellPrototype) {e._cellPrototype = { table: e };let t = Object.values(e._features);@@ -55568,48 +55748,48 @@ function Dve(e) {}return e._cellPrototype;}-function Ove(e, t, n) {- let r = Dve(n), i = Object.create(r);+function eye(e, t, n) {+ let r = $ve(n), i = Object.create(r);i.column = e, i.id = `${t.id}_${e.id}`, i.row = t;let a = n._cellInstanceInitFns;for (let e = 0; e < a.length; e++) a[e](i);return i;}// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js-function kve(e) {+function tye(e) {let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;return t[n] === e ? n : -1;}-function Ave(e) {+function nye(e) {let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? Sq(e, t).rows : t.rows;for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;return n;}-function jve(e, t) {+function rye(e, t) {if (sq(e._valuesCache, t)) return e._valuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return e._valuesCache[t] = n.accessorFn(e.original, e.index), e._valuesCache[t];}-function Mve(e, t) {+function iye(e, t) {if (sq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];let n = e.table.getColumn(t);if (n?.accessorFn) return n.columnDef.getUniqueValues ? (e._uniqueValuesCache[t] = n.columnDef.getUniqueValues(e.original, e.index), e._uniqueValuesCache[t]) : (e._uniqueValuesCache[t] = [e.getValue(t)], e._uniqueValuesCache[t]);}-function Nve(e, t) {+function aye(e, t) {return e.getValue(t) ?? e.table.options.renderFallbackValue;}-function Pve(e) {- return A_e(e.subRows, (e) => e.subRows);+function oye(e) {+ return nve(e.subRows, (e) => e.subRows);}-function Fve(e) {+function sye(e) {let t = e.getCoreRowModel().flatRows, n = 0;for (let e = 0; e < t.length; e++) n = Math.max(n, t[e].depth);return n;}-function Ive(e) {+function cye(e) {if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);}-function Lve(e) {+function lye(e) {let t = [], n = e;for (;;) {let e = n.getParentRow();@@ -55618,17 +55798,17 @@ function Lve(e) {}return t.reverse();}-function Rve(e) {+function uye(e) {let t = e.table.getAllLeafColumns(), n = e._cellsCache;n ||= e._cellsCache = /* @__PURE__ */ new WeakMap();let r = Array(t.length);for (let i = 0; i < t.length; i++) {let a = t[i], o = n.get(a);- o || (o = Ove(a, e, e.table), n.set(a, o)), r[i] = o;+ o || (o = eye(a, e, e.table), n.set(a, o)), r[i] = o;}return r;}-function zve(e) {+function dye(e) {let t = oq(), n = e.getAllCells();for (let e = 0; e < n.length; e++) {let r = n[e];@@ -55636,52 +55816,52 @@ function zve(e) {}return t;}-function Bve(e, t, n, r) {+function fye(e, t, n, r) {return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));}-function Vve(e, t, n) {+function pye(e, t, n) {let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();return r;}// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js-var Hve = {+var mye = {assignRowPrototype: (e, t) => {_q("coreRowsFeature", e, t, {- row_getDisplayIndex: { fn: (e) => kve(e) },+ row_getDisplayIndex: { fn: (e) => tye(e) },row_getAllCellsByColumnId: {- fn: (e) => zve(e),+ fn: (e) => dye(e),memoDeps: (e) => [e.getAllCells()]},row_getAllCells: {- fn: (e) => Rve(e),+ fn: (e) => uye(e),memoDeps: (e) => [e.table.getAllLeafColumns()]},row_getLeafRows: {- fn: (e) => Pve(e),+ fn: (e) => oye(e),memoDeps: (e) => [e.subRows]},- row_getParentRow: { fn: (e) => Ive(e) },- row_getParentRows: { fn: (e) => Lve(e) },- row_getUniqueValues: { fn: (e, t) => Mve(e, t) },- row_getValue: { fn: (e, t) => jve(e, t) },- row_renderValue: { fn: (e, t) => Nve(e, t) }+ row_getParentRow: { fn: (e) => cye(e) },+ row_getParentRows: { fn: (e) => lye(e) },+ row_getUniqueValues: { fn: (e, t) => iye(e, t) },+ row_getValue: { fn: (e, t) => rye(e, t) },+ row_renderValue: { fn: (e, t) => aye(e, t) }});},constructTableAPIs: (e) => {gq("coreRowsFeature", e, {table_getRowsInDisplayOrder: {- fn: () => Ave(e),+ fn: () => nye(e),memoDeps: () => [e.getPrePaginatedRowModel().rows,e.options.paginateExpandedRows,e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0]},- table_getRowId: { fn: (t, n, r) => Bve(t, e, n, r) },- table_getRow: { fn: (t, n) => Vve(e, t, n) },+ table_getRowId: { fn: (t, n, r) => fye(t, e, n, r) },+ table_getRow: { fn: (t, n) => pye(e, t, n) },table_getMaxSubRowDepth: {- fn: () => Fve(e),+ fn: () => sye(e),memoDeps: () => [e.getCoreRowModel()]}});@@ -55704,7 +55884,7 @@ function Mq(e, t, n = (e, t) => e === t) {jq(e, t, n), e._reactivity.commit?.();});}-function Uve(e) {+function hye(e) {let t = iq(e.initialState);e._reactivity.batch(() => {let n = Object.keys(t);@@ -55716,7 +55896,7 @@ function Uve(e) {let n = Object.values(e._features);for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);}-function Wve(e, t) {+function gye(e, t) {let { features: n, atoms: r, initialState: i } = e.options;if (!e.options.mergeOptions) return {...e.options,@@ -55749,19 +55929,19 @@ function Wve(e, t) {});}function Nq(e, t, n) {- let r = Wve(e, rq(t, e.options));+ let r = gye(e, rq(t, e.options));e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Mq(e, r.state ?? null);}// node_modules/@tanstack/table-core/dist/core/coreFeatures.js-var Gve = {- coreCellsFeature: F_e,- coreColumnsFeature: Z_e,- coreHeadersFeature: lve,- coreRowModelsFeature: Eve,- coreRowsFeature: Hve,+var _ye = {+ coreCellsFeature: sve,+ coreColumnsFeature: Cve,+ coreHeadersFeature: Fve,+ coreRowModelsFeature: Qve,+ coreRowsFeature: mye,coreTablesFeature: { constructTableAPIs: (e) => {gq("coreTablesFeature", e, {- table_reset: { fn: () => Uve(e) },+ table_reset: { fn: () => hye(e) },table_setOptions: { fn: (t) => Nq(e, t) }});} }@@ -55786,17 +55966,17 @@ function Fq(e) {return e;}// node_modules/@tanstack/table-core/dist/core/table/constructTable.js-function Kve(e, t = {}) {+function vye(e, t = {}) {return Object.values(e).forEach((e) => {t = e.getInitialState?.(t) ?? t;}), iq(t);}-function qve(e) {+function yye(e) {let t = e.features.coreReactivityFeature, { aggregationFns: n, columnMeta: r, coreRowModel: i, expandedRowModel: a, facetedMinMaxValues: o, facetedRowModel: s, facetedUniqueValues: c, filterFns: l, filterMeta: u, filteredRowModel: d, groupedRowModel: f, paginatedRowModel: p, sortFns: m, sortedRowModel: h, tableMeta: g, ..._ } = e.features, v = {_cellInstanceInitFns: [],_columnInstanceInitFns: [],_features: {- ...Gve,+ ..._ye,..._},_headerGroupInstanceInitFns: [],@@ -55834,7 +56014,7 @@ function qve(e) {set(e) {v.optionsStore.set(() => e);}- })) : v.options = b, v.initialState = Kve(v._features, v.options.initialState);+ })) : v.options = b, v.initialState = vye(v._features, v.options.initialState);let x = Object.keys(v.initialState);for (let e = 0; e < x.length; e++) {let n = x[e];@@ -55849,7 +56029,7 @@ function qve(e) {return r;}, { debugName: `table/atoms/${n}` });}- jq(v), v.store = C_e(t.createReadonlyAtom(() => {+ jq(v), v.store = Y_e(t.createReadonlyAtom(() => {let e = {};for (let t = 0; t < x.length; t++) {let n = x[t];@@ -55867,7 +56047,7 @@ function qve(e) {return v;}// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js-function Jve() {+function bye() {return oq();}function Iq(e, t) {@@ -55889,12 +56069,12 @@ function Lq(e) {function Rq(e) {return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);}-function Yve(e) {+function xye(e) {return (t) => {Iq(e, t.target.checked);};}-function Xve(e) {+function Sye(e) {let t = e.getAllCells(), n = [];for (let e = 0; e < t.length; e++) {let r = t[e];@@ -55910,16 +56090,16 @@ function zq(e) {}return t;}-function Zve(e) {+function Cye(e) {return e.getAllFlatColumns().filter((e) => vq(e, "getIsVisible", Lq));}-function Qve(e) {+function wye(e) {return e.getAllLeafColumns().filter((e) => vq(e, "getIsVisible", Lq));}function Bq(e, t) {fq(e, "columnVisibility", t);}-function $ve(e, t) {+function Tye(e, t) {Bq(e, t ? oq() : Object.assign(oq(), iq(e.initialState.columnVisibility ?? {})));}function Vq(e, t) {@@ -55934,10 +56114,10 @@ function Vq(e, t) {function Hq(e) {return !e.getAllLeafColumns().some((e) => !vq(e, "getIsVisible", Lq));}-function eye(e) {+function Eye(e) {return e.getAllLeafColumns().some((e) => vq(e, "getIsVisible", Lq));}-function tye(e) {+function Dye(e) {return (t) => {Vq(e, t.target.checked);};@@ -55945,7 +56125,7 @@ function tye(e) {// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.jsvar Uq = {getInitialState: (e) => ({- columnVisibility: Jve(),+ columnVisibility: bye(),...e}),getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: cq("columnVisibility", e) }),@@ -55960,14 +56140,14 @@ var Uq = {]},column_getCanHide: { fn: (e) => Rq(e) },- column_getToggleVisibilityHandler: { fn: (e) => Yve(e) },+ column_getToggleVisibilityHandler: { fn: (e) => xye(e) },column_toggleVisibility: { fn: (e, t) => Iq(e, t) }});},assignRowPrototype: (e, t) => {_q("columnVisibilityFeature", e, t, {row_getVisibleCells: {- fn: (e) => Xve(e),+ fn: (e) => Sye(e),memoDeps: (e) => [e.getAllCells(),t.atoms.columnPinning?.get(),@@ -55983,7 +56163,7 @@ var Uq = {constructTableAPIs: (e) => {gq("columnVisibilityFeature", e, {table_getVisibleFlatColumns: {- fn: () => Zve(e),+ fn: () => Cye(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -55993,7 +56173,7 @@ var Uq = {]},table_getVisibleLeafColumns: {- fn: () => Qve(e),+ fn: () => wye(e),memoDeps: () => [e.atoms.columnVisibility?.get(),e.atoms.columnOrder?.get(),@@ -56003,11 +56183,11 @@ var Uq = {]},table_setColumnVisibility: { fn: (t) => Bq(e, t) },- table_resetColumnVisibility: { fn: (t) => $ve(e, t) },+ table_resetColumnVisibility: { fn: (t) => Tye(e, t) },table_toggleAllColumnsVisible: { fn: (t) => Vq(e, t) },table_getIsAllColumnsVisible: { fn: () => Hq(e) },- table_getIsSomeColumnsVisible: { fn: () => eye(e) },- table_getToggleAllColumnsVisibilityHandler: { fn: () => tye(e) }+ table_getIsSomeColumnsVisible: { fn: () => Eye(e) },+ table_getToggleAllColumnsVisibilityHandler: { fn: () => Dye(e) }});}}, Wq = 0, Gq = 10;@@ -56017,7 +56197,7 @@ function Kq() {pageSize: Gq};}-function nye(e) {+function Oye(e) {if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {if ((e.atoms.pagination?.get()?.pageIndex ?? Wq) === Wq) return;Yq(e, !0);@@ -56026,7 +56206,7 @@ function nye(e) {function qq(e, t) {fq(e, "pagination", t);}-function rye(e, t) {+function kye(e, t) {qq(e, t ? Kq() : iq(e.initialState.pagination ?? Kq()));}function Jq(e, t) {@@ -56041,7 +56221,7 @@ function Jq(e, t) {function Yq(e, t) {Jq(e, t ? Wq : e.initialState.pagination?.pageIndex ?? Wq);}-function iye(e, t) {+function Aye(e, t) {Xq(e, t ? Gq : e.initialState.pagination?.pageSize ?? Gq);}function Xq(e, t) {@@ -56054,31 +56234,31 @@ function Xq(e, t) {};});}-function aye(e) {+function jye(e) {let t = Zq(e), n = [];return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;}-function oye(e) {+function Mye(e) {return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;}-function sye(e) {+function Nye(e) {let t = e.atoms.pagination?.get()?.pageIndex ?? Wq, n = Zq(e);return n === -1 || n !== 0 && t < n - 1;}-function cye(e) {+function Pye(e) {let t = e.atoms.pagination?.get()?.pageIndex ?? Wq, n = Zq(e);return Number.isFinite(n) && n > 0 && t < n - 1;}-function lye(e) {+function Fye(e) {return Jq(e, (e) => e - 1);}-function uye(e) {+function Iye(e) {return Jq(e, (e) => e + 1);}-function dye(e) {+function Lye(e) {return Jq(e, 0);}-function fye(e) {+function Rye(e) {let t = Zq(e);if (!(!Number.isFinite(t) || t <= 0)) return Jq(e, t - 1);}@@ -56103,34 +56283,34 @@ var $q = {getDefaultTableOptions: (e) => ({ onPaginationChange: cq("pagination", e) }),constructTableAPIs: (e) => {gq("rowPaginationFeature", e, {- table_autoResetPageIndex: { fn: () => nye(e) },+ table_autoResetPageIndex: { fn: () => Oye(e) },table_setPagination: { fn: (t) => qq(e, t) },- table_resetPagination: { fn: (t) => rye(e, t) },+ table_resetPagination: { fn: (t) => kye(e, t) },table_setPageIndex: { fn: (t) => Jq(e, t) },table_resetPageIndex: { fn: (t) => Yq(e, t) },table_setPageSize: { fn: (t) => Xq(e, t) },table_getPageCount: { fn: () => Zq(e) },- table_resetPageSize: { fn: (t) => iye(e, t) },- table_getPageOptions: { fn: () => aye(e) },- table_getCanPreviousPage: { fn: () => oye(e) },- table_getCanNextPage: { fn: () => sye(e) },- table_getCanLastPage: { fn: () => cye(e) },- table_previousPage: { fn: () => lye(e) },- table_nextPage: { fn: () => uye(e) },- table_firstPage: { fn: () => dye(e) },- table_lastPage: { fn: () => fye(e) },+ table_resetPageSize: { fn: (t) => Aye(e, t) },+ table_getPageOptions: { fn: () => jye(e) },+ table_getCanPreviousPage: { fn: () => Mye(e) },+ table_getCanNextPage: { fn: () => Nye(e) },+ table_getCanLastPage: { fn: () => Pye(e) },+ table_previousPage: { fn: () => Fye(e) },+ table_nextPage: { fn: () => Iye(e) },+ table_firstPage: { fn: () => Lye(e) },+ table_lastPage: { fn: () => Rye(e) },table_getRowCount: { fn: () => Qq(e) }});}};// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js-function pye() {+function zye() {return oq();}function eJ(e, t) {e.options.onRowSelectionChange?.(t);}-function mye(e, t) {+function Bye(e, t) {e._lastSelectedRowId = null, eJ(e, t ? oq() : Object.assign(oq(), iq(e.initialState.rowSelection ?? {})));}function tJ(e, t, n) {@@ -56158,10 +56338,10 @@ function nJ(e, t, n) {}), a;});}-function hye(e) {+function Vye(e) {return e.getCoreRowModel();}-function gye(e) {+function Hye(e) {let t = e.getCoreRowModel();return vq(e, "getIsSomeRowsSelected", oJ) ? _J(t, e) : {rows: [],@@ -56169,7 +56349,7 @@ function gye(e) {rowsById: oq()};}-function _ye(e) {+function Uye(e) {let t = e.getFilteredRowModel();return vq(e, "getIsSomeRowsSelected", oJ) ? _J(t, e) : {rows: [],@@ -56177,7 +56357,7 @@ function _ye(e) {rowsById: oq()};}-function vye(e) {+function Wye(e) {let t = e.getSortedRowModel();return vq(e, "getIsSomeRowsSelected", oJ) ? _J(t, e) : {rows: [],@@ -56208,15 +56388,15 @@ function aJ(e) {function oJ(e) {return vq(e, "getSelectedRowIds", rJ).length > 0;}-function yye(e) {+function Gye(e) {return e.getPaginatedRowModel().flatRows.filter((e) => uJ(e)).some((e) => cJ(e) || vq(e, "getIsSomeSelected", lJ));}-function bye(e) {+function Kye(e) {return (t) => {tJ(e, t.target.checked);};}-function xye(e) {+function qye(e) {return (t) => {nJ(e, t.target.checked);};@@ -56235,7 +56415,7 @@ function cJ(e) {function lJ(e) {return yJ(e) === "some";}-function Sye(e) {+function Jye(e) {return yJ(e) === "all";}function uJ(e) {@@ -56250,15 +56430,15 @@ function fJ(e) {let t = e.table.options;return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;}-function Cye(e, t) {+function Yye(e, t) {let n = uJ(e);return (r) => {if (!n) return;let i = r, a = e.table, o = i.target.checked, s = a._lastSelectedRowId;- a.options.enableRowRangeSelection !== !1 && s !== null && fJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && wye(e, s, o, t) || sJ(e, o, t), a._lastSelectedRowId = e.id;+ a.options.enableRowRangeSelection !== !1 && s !== null && fJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && Xye(e, s, o, t) || sJ(e, o, t), a._lastSelectedRowId = e.id;};}-function wye(e, t, n, r) {+function Xye(e, t, n, r) {let i = r?.selectChildren ?? !0, a = e.table, o = a.getRowsInDisplayOrder(), s = a.getPrePaginatedRowModel().rowsById[t] ?? a.getCoreRowModel().rowsById[t];if (!s) return !1;let c = s.getDisplayIndex(), l = e.getDisplayIndex(), u = o[c], d = o[l];@@ -56353,7 +56533,7 @@ var bJ = {e._lastSelectedRowId = null;},getInitialState: (e) => ({- rowSelection: pye(),+ rowSelection: zye(),...e}),getDefaultTableOptions: (e) => ({@@ -56380,7 +56560,7 @@ var bJ = {]},row_getIsAllSubRowsSelected: {- fn: (e) => Sye(e),+ fn: (e) => Jye(e),memoDeps: (e) => [e.subRows,e.table.atoms.rowSelection?.get(),@@ -56390,26 +56570,26 @@ var bJ = {row_getCanSelect: { fn: (e) => uJ(e) },row_getCanSelectSubRows: { fn: (e) => dJ(e) },row_getCanMultiSelect: { fn: (e) => fJ(e) },- row_getToggleSelectedHandler: { fn: (e, t) => Cye(e, t) }+ row_getToggleSelectedHandler: { fn: (e, t) => Yye(e, t) }});},constructTableAPIs: (e) => {gq("rowSelectionFeature", e, {table_setRowSelection: { fn: (t) => eJ(e, t) },- table_resetRowSelection: { fn: (t) => mye(e, t) },+ table_resetRowSelection: { fn: (t) => Bye(e, t) },table_toggleAllRowsSelected: { fn: (t, n) => tJ(e, t, n) },table_toggleAllPageRowsSelected: { fn: (t, n) => nJ(e, t, n) },- table_getPreSelectedRowModel: { fn: () => hye(e) },+ table_getPreSelectedRowModel: { fn: () => Vye(e) },table_getSelectedRowModel: {- fn: () => gye(e),+ fn: () => Hye(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]},table_getFilteredSelectedRowModel: {- fn: () => _ye(e),+ fn: () => Uye(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]},table_getGroupedSelectedRowModel: {- fn: () => vye(e),+ fn: () => Wye(e),memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]},table_getSelectedRowIds: {@@ -56439,32 +56619,32 @@ var bJ = {memoDeps: () => [e.atoms.rowSelection?.get()]},table_getIsSomePageRowsSelected: {- fn: () => yye(e),+ fn: () => Gye(e),memoDeps: () => [e.atoms.rowSelection?.get(),e.getPaginatedRowModel(),e.options.enableRowSelection]},- table_getToggleAllRowsSelectedHandler: { fn: () => bye(e) },- table_getToggleAllPageRowsSelectedHandler: { fn: () => xye(e) }+ table_getToggleAllRowsSelectedHandler: { fn: () => Kye(e) },+ table_getToggleAllPageRowsSelectedHandler: { fn: () => qye(e) }});}-}, Tye = /([0-9]+)/gm;+}, Zye = /([0-9]+)/gm;/* @__NO_SIDE_EFFECTS__ */-function Eye(e) {+function Qye(e) {let t = Object.assign((e, n, r) => {let i = e.getValue(r), a = n.getValue(r), o = t.resolveDataValue;return o && (i = o(i), a = o(a)), t.sort(i, a, e, n, r);}, e);return t;}-var xJ = /* @__PURE__ */ Eye({ sort: (e, t) => Dye(e, t) });-function Dye(e, t) {+var xJ = /* @__PURE__ */ Qye({ sort: (e, t) => $ye(e, t) });+function $ye(e, t) {return e === t ? 0 : e > t ? 1 : -1;}// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js-function Oye() {+function ebe() {return [];}function SJ(e, t) {@@ -56473,7 +56653,7 @@ function SJ(e, t) {function CJ(e, t) {SJ(e, t ? [] : iq(e.initialState.sorting ?? []));}-function kye(e) {+function tbe(e) {e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && CJ(e);}function wJ(e) {@@ -56484,7 +56664,7 @@ function wJ(e) {r = "datetime";break;}- if (typeof a == "string" && (i = !0, a.split(Tye).length > 1)) {+ if (typeof a == "string" && (i = !0, a.split(Zye).length > 1)) {r = "alphanumeric";break;}@@ -56505,7 +56685,7 @@ function TJ(e) {}function EJ(e) {let t = e.table._rowModelFns.sortFns;- return k_e(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? wJ(e) : t?.[e.columnDef.sortFn] ?? xJ;+ return tve(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? wJ(e) : t?.[e.columnDef.sortFn] ?? xJ;}function DJ(e, t, n) {let r = kJ(e, n && jJ(e)), i = t !== void 0;@@ -56543,13 +56723,13 @@ function MJ(e) {let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);return t ? t.desc ? "desc" : "asc" : !1;}-function Aye(e) {+function nbe(e) {return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;}-function jye(e) {+function rbe(e) {SJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);}-function Mye(e) {+function ibe(e) {let t = AJ(e);return (n) => {t && DJ(e, void 0, jJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);@@ -56559,7 +56739,7 @@ function Mye(e) {var NJ = {getInitialState(e) {return {- sorting: Oye(),+ sorting: ebe(),...e};},@@ -56587,34 +56767,34 @@ var NJ = {column_getCanSort: { fn: (e) => AJ(e) },column_getCanMultiSort: { fn: (e) => jJ(e) },column_getIsSorted: { fn: (e) => MJ(e) },- column_getSortIndex: { fn: (e) => Aye(e) },- column_clearSorting: { fn: (e) => jye(e) },- column_getToggleSortingHandler: { fn: (e) => Mye(e) }+ column_getSortIndex: { fn: (e) => nbe(e) },+ column_clearSorting: { fn: (e) => rbe(e) },+ column_getToggleSortingHandler: { fn: (e) => ibe(e) }});},constructTableAPIs(e) {gq("rowSortingFeature", e, {- table_autoResetSorting: { fn: () => kye(e) },+ table_autoResetSorting: { fn: () => tbe(e) },table_setSorting: { fn: (t) => SJ(e, t) },table_resetSorting: { fn: (t) => CJ(e, t) }});}-}, Nye = typeof window > "u" ? P.useEffect : P.useLayoutEffect;+}, abe = typeof window > "u" ? P.useEffect : P.useLayoutEffect;function PJ(e, t) {let [{ table: n, rootSource: r }] = (0, P.useState)(() => {- let t = qve({+ let t = yye({...e,features: {- coreReactivityFeature: E_e(),+ coreReactivityFeature: Q_e(),...e.features}});- return t.Subscribe = ((e) => S_e({+ return t.Subscribe = ((e) => J_e({...e,source: e.source ?? t.store- })), t.FlexRender = LK, {+ })), t.FlexRender = L_e, {table: t,- rootSource: T_e(t.store, $K)+ rootSource: Z_e(t.store, $K)};}), i = n;Nq(i, (t) => ({@@ -56622,7 +56802,7 @@ function PJ(e, t) {...e}), { syncExternalState: !1 });let a = i.options.state, o = r.get(), s = nq(r, t, { compare: $K });- return Nye(() => {+ return abe(() => {r.markCommitted(o), Mq(i, a ?? null, $K);}), (0, P.useMemo)(() => ({...n,@@ -56637,16 +56817,16 @@ function PJ(e, t) {// src/react/boardui/components/base/table/table.tsxfunction FJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)("div", {- className: cF("w-full overflow-x-auto", n),- children: /* @__PURE__ */ (0, F.jsx)(Zde, {+ className: oF("w-full overflow-x-auto", n),+ children: /* @__PURE__ */ (0, F.jsx)(vfe, {ref: r,...i,- className: cF("bui-table", e === "sm" && "bui-table-sm", t)+ className: oF("bui-table", e === "sm" && "bui-table-sm", t)})});}// src/react/catalog-grid/catalog-table-columns.ts-var IJ = "peach.catalog-column-widths.v1", LJ = "peach.catalog-column-visibility.v1", Pye = {+var IJ = "peach.catalog-column-widths.v1", LJ = "peach.catalog-column-visibility.v1", obe = {select: {width: 48,min: 48,@@ -56712,13 +56892,13 @@ var IJ = "peach.catalog-column-widths.v1", LJ = "peach.catalog-column-visibilitymin: 144,max: 560}-}, Fye = {+}, sbe = {code: !1,o: !1,new: !1,played: !1,release: !1-}, Iye = {+}, cbe = {select: "选择",name: "作品",dur: "时长",@@ -56748,11 +56928,11 @@ var IJ = "peach.catalog-column-widths.v1", LJ = "peach.catalog-column-visibility"release"].map((e) => ({id: e,- label: Iye[e],- ...Pye[e],+ label: cbe[e],+ ...obe[e],flex: e === "name",required: e === "select" || e === "name",- visible: Fye[e] !== !1+ visible: sbe[e] !== !1}));function zJ(e) {try {@@ -56762,7 +56942,7 @@ function zJ(e) {return {};}}-function Lye() {+function lbe() {let e = zJ(IJ), t = zJ(LJ);return RJ.filter((e) => e.id !== "select" && (e.required || (typeof t[e.id] == "boolean" ? t[e.id] === !0 : e.visible))).map((t) => {let n = e[t.id], r = typeof n == "number" && Number.isFinite(n) && !(t.flex && n === t.width);@@ -56783,22 +56963,22 @@ function VJ() {return !1;}}-function Rye(e) {+function ube(e) {try {e ? localStorage.setItem(BJ, "1") : localStorage.removeItem(BJ);} catch {}}-var zye = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";+var dbe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";// src/catalog-content-skeleton.tsfunction HJ(e) {return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><b class=\"skeleton-sheen\"></b><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";}-function Bye(e) {- let t = Lye(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${HJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (VJ() ? zye : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;+function fbe(e) {+ let t = lbe(), n = t.some((e) => e.width === null), r = t.reduce((e, t) => e + (t.width ?? t.min), 0), i = t.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = t.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${t.map((e) => `<td>${HJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}"><div data-list-skeleton aria-hidden="true"><div data-list-skeleton-tools><i class="skeleton-sheen"></i></div>` + (VJ() ? dbe : "") + `<div data-board-data-table><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="table-layout:fixed;min-width:${r}px"><colgroup>${i}</colgroup><thead><tr>${a}</tr></thead><tbody>${o.repeat(6)}</tbody></table></div></div></div></div>`;}function UJ(e, t) {- return xM() === "list" ? Bye(e) : Rs(e, {+ return NM() === "list" ? fbe(e) : Rs(e, {variant: "cards",className: "catalog-skeleton postercard-skeleton",cardRatio: t@@ -56819,9 +56999,9 @@ function WJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {let t = e.target;if (!(t instanceof Element)) return;let r = t.closest("[role=\"row\"][data-key]");- r && eG(e, r) && n(r.dataset.key);+ r && mG(e, r) && n(r.dataset.key);} : void 0,- children: r ? /* @__PURE__ */ (0, F.jsx)(Yde, {+ children: r ? /* @__PURE__ */ (0, F.jsx)(gfe, {className: "relative min-w-0",onResize: r.resize,onResizeEnd: r.save,@@ -56831,7 +57011,7 @@ function WJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {}// src/react/components/select.tsxfunction GJ({ prefix: e, renderValue: t, size: n, ...r }) {- if (e == null) return /* @__PURE__ */ (0, F.jsx)(TU, {+ if (e == null) return /* @__PURE__ */ (0, F.jsx)(AU, {...r,size: n,renderValue: t@@ -56841,7 +57021,7 @@ function GJ({ prefix: e, renderValue: t, size: n, ...r }) {className: `shrink-0 text-text-tertiary ${i}`,children: e}), typeof t == "function" ? t(n) : t ?? n.defaultChildren] });- return /* @__PURE__ */ (0, F.jsx)(TU, {+ return /* @__PURE__ */ (0, F.jsx)(AU, {...r,size: n,renderValue: a@@ -56901,10 +57081,10 @@ function qJ({ label: e, options: t, sorting: n, onChange: r }) {desc: i?.desc ?? !1}]);},- children: [/* @__PURE__ */ (0, F.jsx)(EU, {+ children: [/* @__PURE__ */ (0, F.jsx)(jU, {id: "default",children: "默认顺序"- }), t.map((e) => /* @__PURE__ */ (0, F.jsx)(EU, {+ }), t.map((e) => /* @__PURE__ */ (0, F.jsx)(jU, {id: e.id,children: e.label}, e.id))]@@ -56912,7 +57092,7 @@ function qJ({ label: e, options: t, sorting: n, onChange: r }) {variant: "secondary",iconOnly: !0,disabled: !i,- leadingIcon: zU,+ leadingIcon: WU,"data-icon-state": i?.desc ? "b" : "a","aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,onClick: () => {@@ -56949,7 +57129,7 @@ function JJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记pageSize: Number(e)});},- children: o.map((e) => /* @__PURE__ */ (0, F.jsx)(EU, {+ children: o.map((e) => /* @__PURE__ */ (0, F.jsx)(jU, {id: String(e),children: `每页 ${e} ${a}`}, e))@@ -56979,7 +57159,7 @@ function XJ(e, t) {localStorage.setItem(e, JSON.stringify(t));} catch {}}-function Vye(e, t) {+function pbe(e, t) {let n = (e) => Object.fromEntries(Object.entries(t).map(([t, n]) => {let r = e[t];return [t, typeof r == "number" && Number.isFinite(r) ? Math.max(n.min, Math.min(n.max, r)) : n.flex ? "1fr" : n.width];@@ -57011,7 +57191,7 @@ function Vye(e, t) {}};}-function Hye(e, t, n, r = {}) {+function mbe(e, t, n, r = {}) {let i = (e) => ({...r,...Object.fromEntries(t.filter((t) => !n.includes(t) && typeof e[t] == "boolean").map((t) => [t, e[t] === !0]))@@ -57030,7 +57210,7 @@ function ZJ(e, t, n) {min: e.min ?? 96,max: e.max ?? (e.flex ? 2e3 : 800),flex: e.flex- }])), [t]), i = Vye(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = Hye(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");+ }])), [t]), i = pbe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = mbe(n?.visibility ?? `peach.table.${e}.visibility.v1`, t.map((e) => e.id), t.filter((e) => e.required).map((e) => e.id), Object.fromEntries(t.filter((e) => e.visible === !1).map((e) => [e.id, !1]))), o = t.some((e) => e.flex && a.visibility[e.id] !== !1 && i.widths[e.id] === "1fr");return {...i,...a,@@ -57049,14 +57229,14 @@ function ZJ(e, t, n) {};}// src/react/catalog-grid/catalog-column-widths.ts-function Uye() {+function hbe() {return ZJ("catalog", RJ, {widths: IJ,visibility: LJ});}// src/react/components/rating-stars.tsx-var QJ = Iz("star");+var QJ = Vz("star");function $J({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {let i = Math.max(0, Math.min(5, e)), a = Math.round(i);return /* @__PURE__ */ (0, F.jsx)("span", {@@ -57096,9 +57276,9 @@ function $J({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {});}// src/react/catalog-grid/catalog-table-controls.tsx-function Wye({ item: e, actions: t }) {- let { rating: n } = e, r = EH(), i = (0, P.useRef)(0), a = WM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {- VM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {+function gbe({ item: e, actions: t }) {+ let { rating: n } = e, r = jH(), i = (0, P.useRef)(0), a = HM(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {+ zM(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {...e,rating: t});@@ -57114,7 +57294,7 @@ function Wye({ item: e, actions: t }) {value: a,onRate: c,busyStar: r.busy ? Number(r.busy) : void 0- }), r.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ }), r.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -57146,7 +57326,7 @@ function tY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-selection-actions": "","data-action-layout": t,- className: cF("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),+ className: oF("flex gap-2", t === "inline" ? "flex-nowrap items-center" : "flex-col"),children: [n, e.map((e) => e.href === void 0 ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "ghost",size: "small",@@ -57154,10 +57334,10 @@ function tY({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {className: t === "inline" ? "shrink-0" : "w-full",onClick: e.onPress,children: e.label- }, e.label) : /* @__PURE__ */ (0, F.jsx)(TH, {+ }, e.label) : /* @__PURE__ */ (0, F.jsx)(AH, {size: "small",href: e.href,- trailingIcon: cz,+ trailingIcon: pz,className: t === "inline" ? "shrink-0" : "w-full",disabled: e.disabled,onClick: r,@@ -57174,7 +57354,7 @@ function nY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,}, "actions"), f = /* @__PURE__ */ (0, F.jsx)("div", {"data-selection-options": "",className: "flex min-w-0 flex-col gap-1",- children: r.length ? r.map((e) => /* @__PURE__ */ (0, F.jsx)(nV, {+ children: r.length ? r.map((e) => /* @__PURE__ */ (0, F.jsx)(sV, {isSelected: e.selected,className: "min-w-0 [&>span:last-child]:min-w-0 [&>span:last-child]:wrap-anywhere",isDisabled: e.disabled,@@ -57194,14 +57374,14 @@ function nY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,"aria-label": t,onClick: () => u(!0),children: t- }), /* @__PURE__ */ (0, F.jsx)(tR, {+ }), /* @__PURE__ */ (0, F.jsx)(oR, {triggerRef: c,isOpen: l,onOpenChange: u,placement: "bottom end",offset: 4,- className: cF(YB, "w-max overscroll-contain"),- children: ({ placement: t }) => /* @__PURE__ */ (0, F.jsx)(kH, {+ className: oF(eV, "w-max overscroll-contain"),+ children: ({ placement: t }) => /* @__PURE__ */ (0, F.jsx)(PH, {"aria-label": e,"data-selection-placement": t ?? "bottom",className: "flex w-max max-w-full flex-col gap-2 outline-none",@@ -57246,7 +57426,7 @@ function rY({ preferences: e, label: t = "表格" }) {}function iY({ preferences: e, id: t }) {let n = e.columns.find((e) => e.id === t);- return e.canResize(t) ? /* @__PURE__ */ (0, F.jsx)(ofe, { "aria-label": `调整${n.label}列宽` }) : null;+ return e.canResize(t) ? /* @__PURE__ */ (0, F.jsx)(Dfe, { "aria-label": `调整${n.label}列宽` }) : null;}// src/react/components/table-selection-header.tsxfunction aY(e, t) {@@ -57258,7 +57438,7 @@ function aY(e, t) {}function oY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {let { all: i, some: a } = aY(e, n);- return /* @__PURE__ */ (0, F.jsx)(nV, {+ return /* @__PURE__ */ (0, F.jsx)(sV, {slot: null,"aria-label": t,isDisabled: r,@@ -57271,12 +57451,12 @@ function oY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {});}// src/react/catalog-grid/catalog-list-page.tsx-var Gye = Fq({+var _be = Fq({rowSortingFeature: NJ,rowSelectionFeature: bJ,rowPaginationFeature: $q,columnVisibilityFeature: Uq-}), Kye = [+}), vbe = [{id: "name",label: "名称"@@ -57314,8 +57494,8 @@ var Gye = Fq({label: "观看时间"}], sY = /* @__PURE__ */ new Map();-function qye(e) {- let t = Uye(), n = QW(), r = TM(e.filters || {}, !1), [i] = (0, P.useState)(() => {+function ybe(e) {+ let t = hbe(), n = fG(), r = FM(e.filters || {}, !1), [i] = (0, P.useState)(() => {let t = new URLSearchParams(r);return new URLSearchParams(location.search).has("seed") || t.delete("seed"), `${e.mode}:${e.listScope || e.entityKey || ""}:${t}`;}), [a, o] = (0, P.useState)(() => sY.get(i) || {@@ -57352,9 +57532,9 @@ function qye(e) {let i = new URLSearchParams(r);return i.set("offset", String(l)), i.set("limit", String(n.limit)), i.delete("count"), n.sort && i.set("sort", n.sort), n.dir && i.set("dir", n.dir), B(`/api/items?${i}`, t);}- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : AK(f, e.layout.javImage), [h] = (0, P.useState)(VJ);+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : zK(f, e.layout.javImage), [h] = (0, P.useState)(VJ);(0, P.useEffect)(() => {- d.data && !d.isPlaceholderData && Rye(m.length > 0);+ d.data && !d.isPlaceholderData && ube(m.length > 0);}, [d.data,d.isPlaceholderData,@@ -57387,7 +57567,7 @@ function qye(e) {c.pageIndex]);let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = PJ({- features: Gye,+ features: _be,columns: (0, P.useMemo)(() => {let t = Pq();return t.columns([@@ -57398,7 +57578,7 @@ function qye(e) {label: "全选本页作品",disabled: d.isPlaceholderData}),- cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(nV, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(sV, {slot: null,"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,isDisabled: d.isPlaceholderData,@@ -57410,7 +57590,7 @@ function qye(e) {id: "name",header: "作品",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(Jye, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(bbe, {item: t.original,props: e,disabled: d.isPlaceholderData@@ -57467,7 +57647,7 @@ function qye(e) {id: "rating",header: "评分",enableSorting: !0,- cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(Wye, {+ cell: ({ row: t }) => /* @__PURE__ */ (0, F.jsx)(gbe, {item: t.original,actions: e.actions})@@ -57556,7 +57736,7 @@ function qye(e) {"data-toolbar-actions": "",children: [/* @__PURE__ */ (0, F.jsx)(rY, { preferences: t }), /* @__PURE__ */ (0, F.jsx)(qJ, {label: "作品列表",- options: Kye,+ options: vbe,sorting: s,onChange: (e) => _.setSorting(e)})]@@ -57566,11 +57746,11 @@ function qye(e) {"data-completion-skeleton": "","aria-hidden": "true",className: "skeleton-sheen"- }) : null : /* @__PURE__ */ (0, F.jsx)(jK, {+ }) : null : /* @__PURE__ */ (0, F.jsx)(BK, {className: "",assetIds: m}),- d.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+ d.isError ? /* @__PURE__ */ (0, F.jsx)(GW, {message: tn(d.error),onRetry: () => void d.refetch()}) : null,@@ -57591,42 +57771,42 @@ function qye(e) {id: String(e.column),desc: e.direction === "descending"}]),- children: [/* @__PURE__ */ (0, F.jsxs)(UR, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(WR, {+ children: [/* @__PURE__ */ (0, F.jsxs)(JR, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(YR, {id: e.id,isRowHeader: e.id === "name",allowsSorting: e.column.getCanSort(),...t.columnProps(e.id),children: ({ sortDirection: n }) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("span", {className: "flex items-center gap-0.5",- children: [IK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, F.jsx)("span", {+ children: [VK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, F.jsx)("span", {"data-sort-indicator": !0,"data-direction": n || void 0,- children: /* @__PURE__ */ (0, F.jsx)(KB, {})+ children: /* @__PURE__ */ (0, F.jsx)(ZB, {})}) : null]}), /* @__PURE__ */ (0, F.jsx)(iY, {preferences: t,id: e.id})] })- }, e.id)), /* @__PURE__ */ (0, F.jsx)(WR, {+ }, e.id)), /* @__PURE__ */ (0, F.jsx)(YR, {id: "remaining-space","aria-label": "行空白区域","data-table-space": "",width: t.spaceWidth,minWidth: 0- })] }), /* @__PURE__ */ (0, F.jsx)(qR, {+ })] }), /* @__PURE__ */ (0, F.jsx)(QR, {renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, F.jsxs)(XR, {+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, F.jsxs)(tz, {id: `skeleton-${t}`,"data-list-skeleton-row": "","aria-hidden": "true",- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(QR, { children: /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: HJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, F.jsx)(QR, { "data-table-space": "" })]- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, F.jsxs)(XR, {+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, F.jsx)(rz, { children: /* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: HJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, F.jsx)(rz, { "data-table-space": "" })]+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, F.jsxs)(tz, {id: e.id,"data-catalog-row": "","data-id": e.original.id,"data-library": n.get(e.original.library_id || "")?.color ? e.original.library_id : void 0,"data-board-selected": e.getIsSelected() || void 0,- children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(QR, { children: IK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, F.jsx)(QR, { "data-table-space": "" })]+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, F.jsx)(rz, { children: VK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, F.jsx)(rz, { "data-table-space": "" })]}, e.id))})]})@@ -57642,8 +57822,8 @@ function qye(e) {]});}-function Jye({ item: e, props: t, disabled: n }) {- let r = ao(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = uG(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = QW({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, F.jsx)("svg", {+function bbe({ item: e, props: t, disabled: n }) {+ let r = ao(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品", { avatar: l, who: u } = wG(e), d = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, f = fG({ names: !0 }), p = e.library_id ? f.get(e.library_id) : void 0, m = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), h = (e) => /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })@@ -57668,7 +57848,7 @@ function Jye({ item: e, props: t, disabled: n }) {children: /* @__PURE__ */ (0, F.jsxs)("span", {"data-list-picture": "",children: [- r.html ? /* @__PURE__ */ (0, F.jsx)(MW, {+ r.html ? /* @__PURE__ */ (0, F.jsx)(KW, {artwork: r,relayout: (e) => Sl(e, "small")}) : /* @__PURE__ */ (0, F.jsx)("span", { children: "无预览" }),@@ -57723,7 +57903,7 @@ function Jye({ item: e, props: t, disabled: n }) {children: [p?.name ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-list-library": "",title: `媒体库:${p.name}`,- children: [/* @__PURE__ */ (0, F.jsx)(QH, { mark: p.icon }), p.name]+ children: [/* @__PURE__ */ (0, F.jsx)(rU, { mark: p.icon }), p.name]}) : null, u]})]})@@ -57732,12 +57912,12 @@ function Jye({ item: e, props: t, disabled: n }) {}// src/react/catalog-grid/catalog-grid-page.tsxfunction cY(e) {- let t = wM();- if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(Xye, { ...e });- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${TM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;- return t === "list" && !e.wall ? /* @__PURE__ */ (0, F.jsx)(qye, { ...e }, n) : /* @__PURE__ */ (0, F.jsx)(Zye, { ...e }, n);+ let t = PM();+ if (e.mode === "items") return /* @__PURE__ */ (0, F.jsx)(Sbe, { ...e });+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${FM(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;+ return t === "list" && !e.wall ? /* @__PURE__ */ (0, F.jsx)(ybe, { ...e }, n) : /* @__PURE__ */ (0, F.jsx)(Cbe, { ...e }, n);}-function Yye({ name: e }) {+function xbe({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",@@ -57760,8 +57940,8 @@ function lY({ children: e, selectMode: t }) {children: e});}-function Xye(e) {- let { actions: t } = e, n = (0, P.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, F.jsx)(vG, {+function Sbe(e) {+ let { actions: t } = e, n = (0, P.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, F.jsx)(MG, {item: i,variant: r,layout: e.layout,@@ -57780,8 +57960,8 @@ function Xye(e) {children: i});}-function Zye(e) {- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? MM(e) : jM(e), [s] = (0, P.useState)(() => e.wall ? PM(o.queryKey) : void 0), c = s || (i && e.initial ? {+function Cbe(e) {+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? hce(e) : IM(e), [s] = (0, P.useState)(() => e.wall ? _ce(o.queryKey) : void 0), c = s || (i && e.initial ? {pages: [{...e.initial,items: e.initial.items || [],@@ -57802,7 +57982,7 @@ function Zye(e) {(0, P.useEffect)(() => {l.isPending || u.current || (u.current = !0, e.settled?.(e.revision));}, [l.isPending]);- let { tiles: d, pageStarts: f } = (0, P.useMemo)(() => RM(l.data?.pages || [], {+ let { tiles: d, pageStarts: f } = (0, P.useMemo)(() => yce(l.data?.pages || [], {collapse: e.groupCollapse !== !1,mix: !!e.mix && !a,javImage: r.javImage@@ -57812,7 +57992,7 @@ function Zye(e) {e.mix,a,r.javImage- ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || iK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && YG(e.item) ? [e.item] : []), v = a ? [] : AK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = AW(l.isPending, e.skeletonHtml), b = (0, P.useRef)(null), x = Qye(e, l.data, d, f, b);+ ]), p = d.reduce((e, t) => e + +(t.kind === "card"), 0), m = Number(l.data?.pages[0]?.total || 0), h = i || vK(e.filters), g = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, _ = d.flatMap((e) => e.kind === "card" && lK(e.item) ? [e.item] : []), v = a ? [] : zK(d.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), y = WW(l.isPending, e.skeletonHtml), b = (0, P.useRef)(null), x = wbe(e, l.data, d, f, b);(0, P.useLayoutEffect)(() => {if (!l.data) return;let t = !0;@@ -57839,12 +58019,12 @@ function Zye(e) {let C = (0, P.useCallback)((e, t) => n.open(e, t), [n]), w = (0, P.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, P.useCallback)((e) => n.openShort(e), [n]), E = (0, P.useCallback)(async () => {let e = await l.fetchNextPage();if (e.isFetchNextPageError) throw e.error;- }, [l.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)(ebe, {+ }, [l.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)(Ebe, {seed: i.seed,layout: r,helpers: t,actions: n- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, F.jsx)(vG, {+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, F.jsx)(MG, {item: i.item,grouped: e.groupCollapse !== !1,variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",@@ -57862,10 +58042,10 @@ function Zye(e) {"data-grid-reveal": y.fading ? "" : void 0,children: [!e.wall && y.layer,- /* @__PURE__ */ (0, F.jsx)(jK, { assetIds: v }),+ /* @__PURE__ */ (0, F.jsx)(BK, { assetIds: v }),(() => {- if (g && e.wall) return /* @__PURE__ */ (0, F.jsx)(bK, {- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${TM(e.filters || {}, !!e.excludeVertical)}`,+ if (g && e.wall) return /* @__PURE__ */ (0, F.jsx)(O_e, {+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${FM(e.filters || {}, !!e.excludeVertical)}`,items: _,finite: h,hasMore: !!l.hasNextPage,@@ -57873,7 +58053,7 @@ function Zye(e) {loading: l.isPending || !l.data && l.isFetching,error: !l.data && !l.isPending ? tn(l.error) : "",retry: () => void l.refetch(),- emptyHtml: l.data && !_.length ? TK({+ emptyHtml: l.data && !_.length ? j_e({libraryEmpty: !!l.data.pages[0]?.libraryEmpty,matches: m,hasMore: !!l.hasNextPage,@@ -57888,7 +58068,7 @@ function Zye(e) {javImage: r.javImage}, h ? "finite" : "explore");if (l.isPending) return null;- if (!l.data) return /* @__PURE__ */ (0, F.jsx)(jW, {+ if (!l.data) return /* @__PURE__ */ (0, F.jsx)(GW, {message: tn(l.error),onRetry: () => void l.refetch()});@@ -57905,7 +58085,7 @@ function Zye(e) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", {"data-media-sections": "","data-select-mode": e.selectMode ? "" : void 0,- children: Jse(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)($ye, {+ children: Sce(d, x).map((t) => /* @__PURE__ */ (0, F.jsxs)(P.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, F.jsx)(Tbe, {cut: t.strip,props: e,onOpen: T@@ -57961,7 +58141,7 @@ function uY({ entity: e, load: t, enabled: n, children: r }) {if (!e) return;let t = new IntersectionObserver((e) => {e.some((e) => e.isIntersecting) && d(!1);- }, { rootMargin: kW });+ }, { rootMargin: UW });return a.current = t, t.observe(e), () => {t.disconnect(), a.current = null;};@@ -57984,12 +58164,12 @@ function uY({ entity: e, load: t, enabled: n, children: r }) {hidden: !!c.error,onClick: () => void d(!0),dangerouslySetInnerHTML: { __html: Cs(Ss) }- }), c.error ? /* @__PURE__ */ (0, F.jsx)(jW, {+ }), c.error ? /* @__PURE__ */ (0, F.jsx)(GW, {message: c.error,onRetry: () => void d(!0)}) : null] });}-function Qye(e, t, n, r, i) {+function wbe(e, t, n, r, i) {let [a, o] = (0, P.useState)([]), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(0), u = (0, P.useRef)(0), d = (0, P.useRef)({parts: /* @__PURE__ */ new Set(),editions: /* @__PURE__ */ new Set()@@ -58001,7 +58181,7 @@ function Qye(e, t, n, r, i) {let r = new AbortController();f.current.push(r);let i = n - 1;- B(`/api/items?${BM(e.filters || {}, l.current)}`, r.signal).then((e) => {+ B(`/api/items?${xce(e.filters || {}, l.current)}`, r.signal).then((e) => {let t = e.items || [];t.length ? c({page: i,@@ -58013,9 +58193,9 @@ function Qye(e, t, n, r, i) {}, [t]), (0, P.useLayoutEffect)(() => {if (!s) return;c(null);- let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = zM(n.length - t, m, p);+ let t = a.reduce((e, t) => Math.max(e, t.at), 0), u = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), f = u?.[u.length - 1], p = f ? Math.max(1, getComputedStyle(f).gridTemplateColumns.split(" ").length) : 1, m = Math.max(0, (r[s.page] ?? 0) - t), h = bce(n.length - t, m, p);if (!h.length) return;- let g = FM(s.items, d.current, e.groupCollapse !== !1);+ let g = LM(s.items, d.current, e.groupCollapse !== !1);if (l.current = s.more ? l.current + 18 : 0, !g.length) return;let _ = t + (h[Math.floor(Math.random() * h.length)] ?? 0);o((e) => [...e, {@@ -58025,7 +58205,7 @@ function Qye(e, t, n, r, i) {}]);}, [s]), a;}-function $ye({ cut: e, props: t, onOpen: n }) {+function Tbe({ cut: e, props: t, onOpen: n }) {let r = (0, P.useRef)(null), { wireDrag: i } = t;return (0, P.useEffect)(() => {r.current && i(r.current);@@ -58041,12 +58221,12 @@ function $ye({ cut: e, props: t, onOpen: n }) {type: "button","data-shorts-enter": "",onClick: () => t.actions.openShorts(),- children: [/* @__PURE__ */ (0, F.jsx)(Yye, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "进入沉浸模式" })]+ children: [/* @__PURE__ */ (0, F.jsx)(xbe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "进入沉浸模式" })]})] }), /* @__PURE__ */ (0, F.jsx)("div", {ref: r,"data-shorts-row": "",- children: e.items.map((e) => /* @__PURE__ */ (0, F.jsx)(vG, {+ children: e.items.map((e) => /* @__PURE__ */ (0, F.jsx)(MG, {item: e,variant: "short",layout: t.layout,@@ -58064,14 +58244,14 @@ function $ye({ cut: e, props: t, onOpen: n }) {function dY(e, t, n) {return oo(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);}-function ebe({ seed: e, layout: t, helpers: n, actions: r }) {+function Ebe({ seed: e, layout: t, helpers: n, actions: r }) {let i = (0, P.useRef)(/* @__PURE__ */ new Map()), a = (0, P.useRef)(t);a.current = t;let o = po(e, n.tagLabel), s = (0, P.useCallback)(async () => {- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => IM(e, t.javImage)).slice(0, 9);+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => RM(e, t.javImage)).slice(0, 9);return i.current = new Map(n.map((e) => [String(e.id), dY(e, t, !0).html])), n.map((e) => String(e.id));}, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = dY(e, t, !1);- return /* @__PURE__ */ (0, F.jsx)(OG, {+ return /* @__PURE__ */ (0, F.jsx)(HG, {"data-mix-seed": String(e.id),name: `Mix · ${o}`,caption: `${n.displayName(e, e.name || "")}及相似作品`,@@ -58086,7 +58266,7 @@ function ebe({ seed: e, layout: t, helpers: n, actions: r }) {size: "small"}, !1).html,relayoutArt: (e) => Sl(e, c),- ratio: lG(e, "grid", t),+ ratio: CG(e, "grid", t),flipImages: s,faceHtml: (e) => i.current.get(e) || "",canFlip: r.canFlip,@@ -58103,31 +58283,31 @@ async function fY(e) {queryFn: () => tr(e)});}-var tbe = (e) => (e?.sources ?? []).filter((e) => Qt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), nbe = "/api/duplicates?limit=120", pY = ["duplicates"], mY = "/api/batch", hY = (e) => B(nbe, e), rbe = /[\s\-_.()[\]【】/\\]/;-function ibe(e) {+var Dbe = (e) => (e?.sources ?? []).filter((e) => Qt.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Obe = "/api/duplicates?limit=120", pY = ["duplicates"], mY = "/api/batch", hY = (e) => B(Obe, e), kbe = /[\s\-_.()[\]【】/\\]/;+function Abe(e) {if (e.length < 2) return "";let t = 0, n = e[0];for (; t < n.length && e.every((e) => e[t] === n[t]);) t += 1;e.some((e) => e.length <= t) && (t = Math.max(0, t - 1));let r = t;- for (; r > 0 && !rbe.test(n[r - 1]);) --r;+ for (; r > 0 && !kbe.test(n[r - 1]);) --r;return r >= 8 ? n.slice(0, r) : "";}-var abe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;-async function obe(e) {+var jbe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;+async function Mbe(e) {await Promise.all([H.fetchQuery({queryKey: pY,queryFn: () => hY(e)}), fY(e)]);}-var sbe = {+var Nbe = {largest: "最大的一个",longest: "最长的一个",115: "115(没有则留最大)",pikpak: "PikPak(没有则留最大)",all: "零个文件"-}, cbe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), gY = (e, t) => cbe(e, t).filter((t) => e.some((e) => e.location !== t)), lbe = (e, t) => t.filter((t) => e.some((e) => gY(e.files, [t]).length));-function ube(e, t) {+}, Pbe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), gY = (e, t) => Pbe(e, t).filter((t) => e.some((e) => e.location !== t)), Fbe = (e, t) => t.filter((t) => e.some((e) => gY(e.files, [t]).length));+function Ibe(e, t) {let n = [];for (let r of e) {if (t === "all") {@@ -58146,11 +58326,11 @@ function ube(e, t) {}return n;}-function dbe(e, t) {+function Lbe(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 fbe(e, t) {+async function Rbe(e, t) {for (let n = 0; n < e.length; n += 200) await V(mY, {ids: e.slice(n, n + 200),operation: t,@@ -58158,7 +58338,7 @@ async function fbe(e, t) {});}// src/react/media-repair/media-repair.ts-var _Y = "/api/media-repair", vY = ["media-repair"], yY = ["media-repair", "libraries"], pbe = {+var _Y = "/api/media-repair", vY = ["media-repair"], yY = ["media-repair", "libraries"], zbe = {status: "idle",library: "",stage: "",@@ -58171,7 +58351,7 @@ var _Y = "/api/media-repair", vY = ["media-repair"], yY = ["media-repair", "librskipped: 0,message: ""}, bY = (e) => B(_Y, e), xY = async (e) => (await B("/api/libraries", e)).libraries || [];-async function mbe(e) {+async function Bbe(e) {await Promise.all([H.fetchQuery({queryKey: vY,queryFn: () => bY(e)@@ -58181,28 +58361,28 @@ async function mbe(e) {})]);}var SY = (e) => Number(e).toLocaleString();-function hbe(e) {+function Vbe(e) {if (e.status === "running") {let t = e.total ? `${SY(Math.min(e.checked || 0, e.total))} / ${SY(e.total)}` : "准备中";return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;}return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${SY(e.repaired)} 部,${SY(e.failed)} 部修不了` : `修好 ${SY(e.repaired)} 部` : "";}-var gbe = (e) => `${SY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, _be = "/api/quality-goals?limit=200", CY = ["quality-goals"], wY = (e) => B(_be, e);-async function vbe(e) {+var Hbe = (e) => `${SY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Ube = "/api/quality-goals?limit=200", CY = ["quality-goals"], wY = (e) => B(Ube, e);+async function Wbe(e) {await H.fetchQuery({queryKey: CY,queryFn: () => wY(e)});}-var ybe = (e) => e.has_cover ? Wa(e) : `/poster?id=${e.id}&c=4`;+var Gbe = (e) => e.has_cover ? Wa(e) : `/poster?id=${e.id}&c=4`;// src/selection.tsfunction TY(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;}// src/react/review/review.ts-var bbe = "/api/review", xbe = "/api/review/decision", Sbe = "/api/review/genre", EY = ["review"], DY = {+var Kbe = "/api/review", qbe = "/api/review/decision", Jbe = "/api/review/genre", EY = ["review"], DY = {metadata_fields: "元数据字段",creator_tags: "创作者标签",studio_logos: "厂牌 Logo",@@ -58212,7 +58392,7 @@ var bbe = "/api/review", xbe = "/api/review/decision", Sbe = "/api/review/genre"fc2_markings: "FC2 评论标记",fc2_similarity: "FC2 跨号相似",video_endcards: "片尾/出处证据"-}, Cbe = Object.keys(DY), wbe = "metadata_fields", OY = (e) => typeof e == "string" && Object.hasOwn(DY, e), Tbe = {+}, Ybe = Object.keys(DY), Xbe = "metadata_fields", OY = (e) => typeof e == "string" && Object.hasOwn(DY, e), Zbe = {creator_tags: "creator",western_identity: "creator"}, kY = [@@ -58223,7 +58403,7 @@ var bbe = "/api/review", xbe = "/api/review/decision", Sbe = "/api/review/genre"pending: "待处理",later: "稍后处理",ignored: "已忽略"-}, Ebe = {+}, Qbe = {approved: "已通过",rejected: "已忽略",skipped: "稍后处理"@@ -58231,7 +58411,7 @@ var bbe = "/api/review", xbe = "/api/review/decision", Sbe = "/api/review/genre"sections: e.sections,counts: e.counts} : e.queues[t];-function Dbe(e, t) {+function $be(e, t) {return {...e,...t(MY(e, "pending")),@@ -58241,7 +58421,7 @@ function Dbe(e, t) {}};}-function Obe(e, t) {+function exe(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;}@@ -58262,10 +58442,10 @@ function NY(e, t) {}return [...n.values()];}-function kbe(e, t, n) {+function txe(e, t, n) {return n && NY(e, t).find((e) => e.key === n)?.rows || e;}-function Abe(e, t) {+function nxe(e, t) {let n = Zn(e.length, 20), r = Qn(t, n);return {page: r,@@ -58273,32 +58453,32 @@ function Abe(e, t) {rows: e.slice((r - 1) * 20, r * 20)};}-function jbe(e) {+function rxe(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 Mbe(e, t, n, r, i, a) {+function ixe(e, t, n, r, i, a) {return TY(e, t, n, r, i, a);}-function Nbe(e, t) {+function axe(e, t) {return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";}function PY(e, t) {return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);}var FY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";-function Pbe(e, t) {+function oxe(e, t) {let n = PY(e, t), r = FY(e, t);return r ? `${n} · ${r}` : n;}-var Fbe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", Ibe = (e) => String(e.tags || "").split("|").filter(Boolean), Lbe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];-function Rbe(e) {+var sxe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", cxe = (e) => String(e.tags || "").split("|").filter(Boolean), lxe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];+function uxe(e) {let t = e.candidates || [];return {candidateKey: t.length === 1 ? t[0].candidate_key : "",assets: (e.preview_assets || []).map((e) => e.id)};}-function zbe(e, t, n, r) {+function dxe(e, t, n, r) {let i = !!t.asset_path && t.asset_mutation_revision != null;return {category: e,@@ -58314,22 +58494,22 @@ function zbe(e, t, n, r) {...i ? { expected_revision: t.asset_mutation_revision } : {}};}-var Bbe = (e) => ({+var fxe = (e) => ({approved: "已通过资料",rejected: "已忽略资料",skipped: "已移至稍后处理",restore: "已恢复待处理"})[e];async function IY(e) {- let t = await B(bbe, e);+ let t = await B(Kbe, e);for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${AY[e]}状态未取得,请刷新或更新写入端`);return t;}-async function Vbe(e) {- let t = await V(xbe, e);+async function pxe(e) {+ let t = await V(qbe, e);if (t.ok && t.asset_revisions) {let e = t.asset_revisions;- H.setQueryData(EY, (t) => t && Dbe(t, (t) => ({+ H.setQueryData(EY, (t) => t && $be(t, (t) => ({...t,sections: {...t.sections,@@ -58345,21 +58525,21 @@ async function Vbe(e) {}return t;}-function Hbe(e, t) {+function mxe(e, t) {let n = H.getQueryData(EY);return n && kY.flatMap((t) => MY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;}-var Ube = (e, t) => V(Sbe, {+var hxe = (e, t) => V(Jbe, {genre: e,tag: t});-async function Wbe(e) {+async function gxe(e) {await H.fetchQuery({queryKey: EY,queryFn: () => IY(e)});}-function Gbe(e, t, n) {+function _xe(e, t, n) {let r = new Set(t);r.size && H.setQueryData(EY, (t) => {if (!t) return t;@@ -58398,15 +58578,15 @@ function Gbe(e, t, n) {};});}-var Kbe = () => H.invalidateQueries({+var vxe = () => H.invalidateQueries({queryKey: EY,exact: !0});-function qbe(e, t) {+function yxe(e, t) {return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${ir(e.fetched_at)} 的缓存` : e?.error || t;}// src/react/data-cleanup/links.ts-var Jbe = "/api/links", LY = "/api/links/check", RY = "/api/links/prune", zY = ["links"], BY = ["links", "check"], VY = ["links", "prune"], Ybe = {+var bxe = "/api/links", LY = "/api/links/check", RY = "/api/links/prune", zY = ["links"], BY = ["links", "check"], VY = ["links", "prune"], xxe = {official: "官网/事务所",social: "社交账号",catalog: "作品资料站",@@ -58417,22 +58597,22 @@ async function HY(e) {if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");return t;}-var UY = (e) => B(Jbe, e), WY = (e) => V(LY, { status_only: !0 }, "POST", e), Xbe = ({ retry: e, checkId: t }) => HY(V(LY, e ? {+var UY = (e) => B(bxe, e), WY = (e) => V(LY, { status_only: !0 }, "POST", e), Sxe = ({ retry: e, checkId: t }) => HY(V(LY, e ? {retry: e,check_id: t-} : { restart: !0 })), GY = (e) => B(RY, e), Zbe = ({ checkId: e, ids: t }) => HY(V(RY, {+} : { restart: !0 })), GY = (e) => B(RY, e), Cxe = ({ checkId: e, ids: t }) => HY(V(RY, {confirm: !0,check_id: e,background: !0,...t ? { ids: t } : {}-})), KY = (e) => Number(e || 0).toLocaleString(), Qbe = (e) => `已删除 ${KY(e.removed)} 条;${e.marked ? `已隐退女优的 ${KY(e.marked)} 条留作不可点的记录;` : ""}保留 ${KY(e.recovered)} 条未确认失效的链接。`;-function $be(e) {+})), KY = (e) => Number(e || 0).toLocaleString(), wxe = (e) => `已删除 ${KY(e.removed)} 条;${e.marked ? `已隐退女优的 ${KY(e.marked)} 条留作不可点的记录;` : ""}保留 ${KY(e.recovered)} 条未确认失效的链接。`;+function Txe(e) {let t = e.scope === "retry";return e.total ? `${t ? "已重验" : "已检查"} ${KY(e.checked)} / ${KY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";}// src/configuration-endpoints.ts-var qY = "/api/configuration", JY = "/api/pick-folder", YY = "/api/settings", XY = "/api/follow/schedule", ZY = "/api/feeds/schedule", QY = "/api/thumbnail-jobs", $Y = ["settings"], eX = ["follow-schedule"], tX = ["feed-schedule"], nX = ["thumbnail-jobs"], rX = "/api/media-processing", exe = ["media-processing"], txe = (e) => B(rX, e), iX = (e) => B(YY, e), nxe = (e) => B(XY, e), rxe = (e) => B(ZY, e), ixe = (e) => B(QY, e);-function axe(e = H) {+var qY = "/api/configuration", JY = "/api/pick-folder", YY = "/api/settings", XY = "/api/follow/schedule", ZY = "/api/feeds/schedule", QY = "/api/thumbnail-jobs", $Y = ["settings"], eX = ["follow-schedule"], tX = ["feed-schedule"], nX = ["thumbnail-jobs"], rX = "/api/media-processing", Exe = ["media-processing"], Dxe = (e) => B(rX, e), iX = (e) => B(YY, e), Oxe = (e) => B(XY, e), kxe = (e) => B(ZY, e), Axe = (e) => B(QY, e);+function jxe(e = H) {return e.fetchQuery({queryKey: $Y,queryFn: ({ signal: e }) => iX(e),@@ -58445,7 +58625,7 @@ function aX() {onSuccess: (e) => H.setQueryData($Y, e)});}-function oxe() {+function Mxe() {return Ft({mutationFn: (e) => V(XY, {enabled: e > 0,@@ -58454,7 +58634,7 @@ function oxe() {onSuccess: (e) => H.setQueryData(eX, e)});}-var sxe = {+var Nxe = {follow: {url: `${XY}/run`,key: eX@@ -58464,36 +58644,36 @@ var sxe = {key: tX}};-function cxe(e) {- let { url: t, key: n } = sxe[e];+function Pxe(e) {+ let { url: t, key: n } = Nxe[e];return Ft({mutationFn: () => V(t, {}),onSuccess: (e) => H.setQueryData(n, e)});}-var lxe = (e) => e?.running ? 3e3 : !1;-function uxe() {+var Fxe = (e) => e?.running ? 3e3 : !1;+function Ixe() {return Ft({mutationFn: (e) => V(QY, { mode: e }),onSuccess: (e) => H.setQueryData(nX, e)});}// src/react/data-cleanup/organize.ts-var dxe = "/api/organize", fxe = "/api/organize/preview", pxe = "/api/organize/apply", mxe = "/api/organize/rollback", oX = ["organize"], hxe = "/api/organize/example", gxe = (e, t, n) => B(`${hxe}?${new URLSearchParams({+var Lxe = "/api/organize", Rxe = "/api/organize/preview", zxe = "/api/organize/apply", Bxe = "/api/organize/rollback", oX = ["organize"], Vxe = "/api/organize/example", Hxe = (e, t, n) => B(`${Vxe}?${new URLSearchParams({file_template: e,dir_template: t-})}`, n), sX = (e) => B(dxe, e);-async function _xe(e) {+})}`, n), sX = (e) => B(Lxe, e);+async function Uxe(e) {await H.fetchQuery({queryKey: oX,queryFn: () => sX(e)});}-var vxe = (e) => V(fxe, e), yxe = (e) => V(JY, { initial: e }), bxe = (e) => e.kind === "apply" ? V(pxe, {+var Wxe = (e) => V(Rxe, e), Gxe = (e) => V(JY, { initial: e }), Kxe = (e) => e.kind === "apply" ? V(zxe, {...e.request,confirm: !0-}) : V(mxe, { confirm: !0 });-async function xxe(e) {+}) : V(Bxe, { confirm: !0 });+async function qxe(e) {H.setQueryData(oX, (t) => t && {...t,templates: e@@ -58502,20 +58682,20 @@ async function xxe(e) {await V(YY, { organizeTemplates: e });} catch {}}-var Sxe = (e, t) => e && {+var Jxe = (e, t) => e && {...e,...t-}, Cxe = /目录模板|分隔符|盘符|`\.`/;-function wxe(e) {+}, Yxe = /目录模板|分隔符|盘符|`\.`/;+function Xxe(e) {let t = String(e || "");return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);}var cX = (e) => Number(e || 0).toLocaleString();-function Txe(e) {+function Zxe(e) {let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${cX(t)}`).join(" · ");return Number(e.counts?.change || 0) ? `${cX(e.counts.change)} 个文件会改名或移动,${cX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;}-function Exe(e) {+function Qxe(e) {let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);return {text: t ? `已退回 ${cX(r)} 个文件${n ? `,${cX(n)} 行未能退回` : ""}。` : `已整理 ${cX(r)} 个文件${n ? `,${cX(n)} 行未能处理` : ""}。`,@@ -58524,36 +58704,36 @@ function Exe(e) {};}// src/react/data-cleanup/orphan-records.ts-var Dxe = "/api/orphan-records", Oxe = "/api/orphan-records/attach", lX = ["orphan-records"], kxe = [+var $xe = "/api/orphan-records", eSe = "/api/orphan-records/attach", lX = ["orphan-records"], tSe = [["asset_preference", "喜欢与理由"],["watch_queue", "稍后看"],["playlist_item", "播放列表"],["asset_quality_goal", "寻找更好版本"],["activity_event", "观看历史"],["asset_tag_preference", "隐藏标签"]-], uX = (e) => B(Dxe, e), Axe = (e, t) => V(Oxe, {+], uX = (e) => B($xe, e), nSe = (e, t) => V(eSe, {id: e,target: t-}), jxe = (e) => V(mY, {+}), rSe = (e) => V(mY, {ids: Array.isArray(e) ? e : [e],operation: "delete"-}), Mxe = (e) => [+}), iSe = (e) => [e.rating ? `评分 ${e.rating}` : "",e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""-], Nxe = (e) => [...kxe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...Mxe(e)].filter(Boolean).join(" · "), Pxe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", Fxe = (e) => [e.name, Pxe(e.duration)].filter(Boolean).join(" · "), dX = "/api/resource-sync/scan", fX = "/api/resource-sync/apply", pX = ["resource-sync", "scan"], mX = ["resource-sync", "apply"], hX = (e) => V(dX, {+], aSe = (e) => [...tSe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...iSe(e)].filter(Boolean).join(" · "), oSe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", sSe = (e) => [e.name, oSe(e.duration)].filter(Boolean).join(" · "), dX = "/api/resource-sync/scan", fX = "/api/resource-sync/apply", pX = ["resource-sync", "scan"], mX = ["resource-sync", "apply"], hX = (e) => V(dX, {background: !0,status_only: !0-}, "POST", e), Ixe = () => V(dX, {+}, "POST", e), cSe = () => V(dX, {background: !0,restart: !0-}), gX = (e) => B(fX, e), Lxe = (e) => V(fX, {+}), gX = (e) => B(fX, e), lSe = (e) => V(fX, {confirm: !0,clean_cache: !0,scan_id: e,background: !0}), _X = (e) => (e?.sources ?? []).some((e) => Zt.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);-async function Rxe(e) {+async function uSe(e) {_X(H.getQueryData(er)) && await Promise.all([H.fetchQuery({queryKey: pX,queryFn: () => hX(e)@@ -58562,7 +58742,7 @@ async function Rxe(e) {queryFn: () => gX(e)})]);}-var zxe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), vX = (e) => Number(e || 0).toLocaleString(), Bxe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", yX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), bX = (e) => e.vanish ? `${vX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", xX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", Vxe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录和 ${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。${xX(e)}${bX(e)}`, Hxe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录(含回收站里的)、${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。来源根目录保留。${xX(e)}${bX(e)}`, Uxe = (e) => e.online ? [+var dSe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), vX = (e) => Number(e || 0).toLocaleString(), fSe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", yX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), bX = (e) => e.vanish ? `${vX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", xX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", pSe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录和 ${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。${xX(e)}${bX(e)}`, mSe = (e) => `将永久删除文件已不在盘上的 ${vX(yX(e))} 条记录(含回收站里的)、${vX(e.empty)} 个空文件夹,并清理 ${vX(e.cache?.files)} 个闲置缓存。来源根目录保留。${xX(e)}${bX(e)}`, hSe = (e) => e.online ? [`找不到文件 · 共 ${vX(e.total)} 项`,e.vanish ? `${vX(e.vanish)} 项带个人记录` : "",e.empty ? `空文件夹 ${vX(e.empty)} 个` : ""@@ -58579,33 +58759,33 @@ function SX(e) {].filter(Boolean).join(",")};}-var Wxe = (e, t) => {+var gSe = (e, t) => {let { rest: n } = SX(e), r = `已永久删除 ${vX(e.purged)} 条失效记录和 ${vX(e.dirs_removed)} 个空文件夹,清理 ${vX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${vX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${vX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");return n ? `${r}${n},重新检查后可再试。` : r;-}, Gxe = "/api/review?counts=1", CX = ["review", "counts"], Kxe = "/api/ads?limit=1", wX = ["junk-summary"], TX = "/api/items?state=trash&limit=1", EX = ["trash-summary"], qxe = [+}, _Se = "/api/review?counts=1", CX = ["review", "counts"], vSe = "/api/ads?limit=1", wX = ["junk-summary"], TX = "/api/items?state=trash&limit=1", EX = ["trash-summary"], ySe = [["video", "视频"],["image", "图片"],["archive", "压缩包"],["audio", "音频"],["url", "网址"],["other", "其它"]-], DX = (e) => B(Gxe, e), OX = (e) => B(Kxe, e), kX = (e) => {+], DX = (e) => B(_Se, e), OX = (e) => B(vSe, e), kX = (e) => {let t = sessionStorage.getItem("peach.library");return B(t ? `${TX}&library=${encodeURIComponent(t)}` : TX, e);}, AX = (e) => Number(e || 0).toLocaleString();-function Jxe(e) {+function bSe(e) {let t = DY, 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 Yxe(e) {+function xSe(e) {if (!e) return "";- let t = qxe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${AX(e.counts[t])}`);+ let t = ySe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${AX(e.counts[t])}`);return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${AX(e.dismissed_total)}`), t.join(" · ");}-var Xxe = [+var SSe = [[CX, ({ signal: e }) => DX(e)],[CY, ({ signal: e }) => wY(e)],[EX, ({ signal: e }) => kX(e)],@@ -58614,8 +58794,8 @@ var Xxe = [[VY, ({ signal: e }) => GY(e)],[lX, ({ signal: e }) => uX(e)]];-async function Zxe(e) {- let t = !!location.hash, n = Xxe.map(([n, r]) => {+async function CSe(e) {+ let t = !!location.hash, n = SSe.map(([n, r]) => {if (t) return H.fetchQuery({queryKey: n,queryFn: () => r({ signal: e })@@ -58635,15 +58815,15 @@ async function Zxe(e) {queryKey: pY,queryFn: () => hY(e)}),- fY(e).then(() => Rxe(e)),- vH(e),- mbe(e),- _xe(e)+ fY(e).then(() => uSe(e)),+ CH(e),+ Bbe(e),+ Uxe(e)]);}// src/react/feed-new/feed-new.ts-var jX = (e) => ["feed-new", e ?? "home"], Qxe = 8, $xe = 1500;-function eSe(e, t, n) {+var jX = (e) => ["feed-new", e ?? "home"], wSe = 8, TSe = 1500;+function ESe(e, t, n) {let r = document.createElement("template");r.innerHTML = e;let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {@@ -58654,11 +58834,11 @@ function eSe(e, t, n) {setTimeout(e, n);})]);}-async function tSe(e, t, n) {- let r = new URLSearchParams({ limit: String(mA().value.feedLimit) });+async function DSe(e, t, n) {+ let r = new URLSearchParams({ limit: String(vA().value.feedLimit) });e && r.set("entity", String(e));let i = await on(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a);- return n && o.length && await eSe(s, Qxe, $xe), {+ return n && o.length && await ESe(s, wSe, TSe), {items: o,html: s,fetching: o.some((e) => e.cover_fetching && !e.has_cover)@@ -58666,7 +58846,7 @@ async function tSe(e, t, n) {}var MX = (e, t, n = !1) => ({queryKey: jX(e),- queryFn: () => tSe(e, t, n),+ queryFn: () => DSe(e, t, n),staleTime: Infinity,refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1}), NX = (e, t) => on("/api/feeds/discovery", {@@ -58676,7 +58856,7 @@ var MX = (e, t, n = !1) => ({ids: [e]})}).then(() => void 0, () => void 0);-async function nSe(e) {+async function OSe(e) {H.removeQueries({ queryKey: jX(null) }), await H.fetchQuery(MX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));}// src/react/entity-page/entity-page.ts@@ -58701,7 +58881,7 @@ var PX = ["entity",e,t-], rSe = (e, t, n, r) => [+], kSe = (e, t, n, r) => ["entity-items",e,t,@@ -58713,7 +58893,7 @@ var PX = [t,n,r-], RX = (e) => String(e || "").split(",").filter(Boolean), iSe = (e, t) => RX(e).includes(t);+], RX = (e) => String(e || "").split(",").filter(Boolean), ASe = (e, t) => RX(e).includes(t);function zX(e, t, n, r, i = 0) {let a = new URLSearchParams();a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...RX(n.tag)])].join(",")), a.set("tag_match", "all")), 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");@@ -58730,7 +58910,7 @@ var VX = (e) => {seed: e.seed}, n = zX(e.kind, e.name, e.filters, t).toString();return {- queryKey: rSe(e.kind, e.name, n, e.revision),+ queryKey: kSe(e.kind, e.name, n, e.revision),queryFn: ({ signal: n }) => BX(e.kind, e.name, e.filters, t, 0, n),staleTime: Infinity};@@ -58739,7 +58919,7 @@ var VX = (e) => {queryFn: ({ signal: n }) => on(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),staleTime: Infinity});-function aSe(e, t, n, r, i, a) {+function jSe(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)}` : ""}`;@@ -58751,7 +58931,7 @@ function aSe(e, t, n, r, i, a) {var UX = (e, t, n, r) => ({queryKey: LX(e, t, n, r),queryFn: async ({ pageParam: i }) => {- let a = await on(aSe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {+ let a = await on(jSe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {if (i) throw e;return { error: String(e) };});@@ -58765,7 +58945,7 @@ var UX = (e, t, n, r) => ({} : void 0,staleTime: Infinity}), WX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];-async function oSe(e) {+async function MSe(e) {let { kind: t, name: n } = e;for (let e of ["entity",@@ -58792,7 +58972,7 @@ var GX = [["blogger", "网黄博主"],["animation", "动画作者"]], KX = "mb-4 flex flex-wrap gap-2";-function sSe(e) {+function NSe(e) {let t = GX.some(([t]) => t === e) ? e : "all";return `<div class="peach-react"><div aria-label="身份分类" class="${KX}">${GX.map(([e, n]) => ls({variant: e === t ? "primary" : "secondary",@@ -58802,39 +58982,39 @@ function sSe(e) {})).join("")}</div></div>`;}// src/react/follow/online-vocab.ts-var cSe = "/api/follow/authors", lSe = "/api/follow/tags", uSe = (e) => [+var PSe = "/api/follow/authors", FSe = "/api/follow/tags", ISe = (e) => ["follow","authors",e-], dSe = (e, t) => [+], LSe = (e, t) => ["follow","tags",e,t];-function fSe(e, t, n) {+function RSe(e, t, n) {let r = new URLSearchParams({limit: String(t),offset: String(n)});- return e && r.set("q", e), `${cSe}?${r}`;+ return e && r.set("q", e), `${PSe}?${r}`;}-function pSe(e, t, n, r) {+function zSe(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), `${lSe}?${i}`;+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${FSe}?${i}`;}-var mSe = (e, t, n, r) => B(fSe(e, t, n), r), hSe = (e, t, n, r, i) => B(pSe(e, t, n, r), i), gSe = "/api/index", qX = {+var BSe = (e, t, n, r) => B(RSe(e, t, n), r), VSe = (e, t, n, r, i) => B(zSe(e, t, n, r), i), HSe = "/api/index", qX = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, _Se = {+}, USe = {performers: "performer",creators: "creator",studios: "studio",@@ -58906,7 +59086,7 @@ function nZ(e, t, n, r, i) {limit: String(r),offset: String(i)});- return t && a.set("q", t), n !== "all" && a.set("category", n), `${gSe}?${a}`;+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${HSe}?${a}`;}function rZ(e, t = XX.tags) {let n = e.what === "people" || e.what === "online-authors" ? XX.people : t, r = {@@ -58926,17 +59106,17 @@ function rZ(e, t = XX.tags) {};case "online-authors": return {...r,- queryKey: uSe(e.q),- queryFn: ({ pageParam: t, signal: r }) => mSe(e.q, n, t, r)+ queryKey: ISe(e.q),+ queryFn: ({ pageParam: t, signal: r }) => BSe(e.q, n, t, r)};case "online-tags": return {...r,- queryKey: dSe(e.q, e.category),- queryFn: ({ pageParam: t, signal: r }) => hSe(e.q, e.category, n, t, r)+ queryKey: LSe(e.q, e.category),+ queryFn: ({ pageParam: t, signal: r }) => VSe(e.q, e.category, n, t, r)};}}-async function vSe(e, t) {+async function WSe(e, t) {let n = rZ(eZ($X(e)));H.removeQueries({queryKey: n.queryKey,@@ -58951,20 +59131,20 @@ async function vSe(e, t) {getNextPageParam: n.getNextPageParam});}-var ySe = (e) => e ? e.pages.flatMap((e) => e.items) : [], bSe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, iZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", xSe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, SSe = {+var GSe = (e) => e ? e.pages.flatMap((e) => e.items) : [], KSe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, iZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", qSe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, JSe = {numeric: !0,sensitivity: "base"};function aZ(e, t) {let n = /* @__PURE__ */ new Map();- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", SSe))) {+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", JSe))) {let e = Fn(t(r.k).normalize("NFKC"), "").toUpperCase(), i = /[A-Z]/.test(e) ? e : /[0-9]/.test(e) ? "#" : /[㐀-鿿]/.test(e) ? "中文" : "其他", a = n.get(i);a ? a.push(r) : n.set(i, [r]);}return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));}// src/react/boardui/components/base/badges/chip.tsx-var oZ = lF({+var oZ = sF({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",@@ -58986,7 +59166,7 @@ var oZ = lF({function sZ({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, F.jsx)("span", {ref: r,- className: cF(oZ.base, oZ.variant[e], oZ.color[t], n),+ className: oF(oZ.base, oZ.variant[e], oZ.color[t], n),...i});}@@ -59003,18 +59183,18 @@ function cZ({ html: e, face: t, company: n, big: r }) {dangerouslySetInnerHTML: { __html: e }});}-var CSe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", wSe = Iz("rss");+var YSe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", XSe = Vz("rss");function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",...o,"data-index-cell": "",onClick: a,- className: RH({+ className: UH({radius: "plain",padding: "none",interactive: !0,- className: `${CSe} ${n ? "items-stretch text-left" : "items-center text-center"}`+ className: `${YSe} ${n ? "items-stretch text-left" : "items-center text-center"}`}),children: [r,@@ -59026,7 +59206,7 @@ function lZ({ name: e, readout: t, big: n, children: r, following: i, onPress: achildren: /* @__PURE__ */ (0, F.jsx)(sZ, {variant: "caption",color: "soft",- children: /* @__PURE__ */ (0, F.jsx)(wSe, {})+ children: /* @__PURE__ */ (0, F.jsx)(XSe, {})})}) : null,/* @__PURE__ */ (0, F.jsx)("span", {@@ -59050,12 +59230,12 @@ function uZ({ kind: e, items: t, layout: n, props: r }) {"data-cells": i ? "company" : "people",className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,children: t.map((t) => {- let n = t.entity_kind || _Se[e], o = r.personAvatar(t, n, a);+ let n = t.entity_kind || USe[e], o = r.personAvatar(t, n, a);return /* @__PURE__ */ (0, F.jsx)(lZ, {"data-k": t.k,"data-kind": n,name: t.k,- readout: `${xSe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,+ readout: `${qSe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,big: a,following: t.following,onPress: () => r.openEntity(n, t.k),@@ -59069,7 +59249,7 @@ function uZ({ kind: e, items: t, layout: n, props: r }) {})});}-function TSe({ items: e, layout: t, props: n }) {+function ZSe({ items: e, layout: t, props: n }) {let r = t === "big";return /* @__PURE__ */ (0, F.jsx)("div", {"data-index-grid": "",@@ -59132,7 +59312,7 @@ function mZ(e) {}return !1;}-function ESe() {+function QSe() {let e = document.createElement("div");e.className = "ui-board-tooltip", e.id = "board-control-tooltip", e.role = "tooltip", e.popover = "manual", e.hidden = !0, document.body.append(e);let t = null, n = "", r = null, i, a = (t) => {@@ -59163,11 +59343,11 @@ function hZ(e) {e.style.setProperty("--board-range-value", `${i}%`);}var gZ = /* @__PURE__ */ new WeakSet();-function DSe() {+function $Se() {if (gZ.has(document)) return;gZ.add(document);let e = (e) => {- e.querySelectorAll("input[type=range]").forEach(hZ), kSe(e), OSe(e);+ e.querySelectorAll("input[type=range]").forEach(hZ), tCe(e), eCe(e);};e(document), new MutationObserver((t) => {for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && hZ(t), e(t));@@ -59176,9 +59356,9 @@ function DSe() {childList: !0}), document.addEventListener("input", (e) => {e.target instanceof HTMLInputElement && e.target.type === "range" && hZ(e.target);- }), ESe();+ }), QSe();}-function OSe(e) {+function eCe(e) {let t = ".ui-board-local-nav:not([data-section-nav])", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-tabs")) return;@@ -59203,7 +59383,7 @@ function OSe(e) {});}var _Z = /* @__PURE__ */ new Map();-function kSe(e) {+function tCe(e) {let t = ".iconswitch,.insightswitch,.follow-workspace-switch", n = [...e.querySelectorAll(t)];e instanceof HTMLElement && e.matches(t) && n.push(e), n.forEach((e) => {if (e.hasAttribute("data-board-segments") || e.closest("[data-skeleton]")) return;@@ -59235,7 +59415,7 @@ function kSe(e) {});}// src/react/photo-lightbox/photo-lightbox.ts-var vZ = "/vendor/swiper/14.3.0/", yZ = null, ASe = () => yZ ??= Promise.all([new Promise((e, t) => {+var vZ = "/vendor/swiper/14.3.0/", yZ = null, nCe = () => yZ ??= Promise.all([new Promise((e, t) => {let n = `${vZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);if (r?.sheet) {e();@@ -59254,7 +59434,7 @@ var vZ = "/vendor/swiper/14.3.0/", yZ = null, ASe = () => yZ ??= Promise.all([ne})]).then(([, e]) => e).catch((e) => {throw yZ = null, e;});-function jSe(e, t, n) {+function rCe(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);@@ -59278,8 +59458,8 @@ function jSe(e, t, n) {var bZ = (e) => {let t = Number(e) || 0;return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : jn(t)).replace(" ", "\xA0") : "大小未知";-}, MSe = (e) => e.asset?.name || e.name || "未命名图片";-function NSe(e, t) {+}, iCe = (e) => e.asset?.name || e.name || "未命名图片";+function aCe(e, t) {let n = e.asset;if (n) return [Ln[n.location ?? ""] || n.location || "来源未知", bZ(n.size)].join(" · ");let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";@@ -59290,31 +59470,31 @@ function NSe(e, t) {].filter(Boolean).join(" · ");}// src/react/photo-lightbox/photo-lightbox-dialog.tsx-var xZ = null, SZ = null, PSe = 0;-function FSe() {+var xZ = null, SZ = null, oCe = 0;+function sCe() {return SZ && xZ?.isConnected || (SZ?.unmount(), xZ = document.createElement("div"), xZ.className = "peach-react", xZ.dataset.photoLightboxHost = "", document.body.append(xZ), SZ = (0, Rt.createRoot)(xZ)), SZ;}async function CZ(e, t, n) {if (!t.length || e < 0 || e >= t.length) return;let r;try {- r = await ASe();+ r = await nCe();} catch {window.open(t[e].src, "_blank", "noopener");return;}- let i = FSe();- (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, F.jsx)(ISe, {+ let i = sCe();+ (0, Lt.flushSync)(() => i.render(/* @__PURE__ */ (0, F.jsx)(cCe, {slides: t,index: e,Swiper: r,host: n ?? null- }, ++PSe)));+ }, ++oCe)));}function wZ() {SZ && (0, Lt.flushSync)(() => SZ.render(null));}-function ISe({ slides: e, index: t, Swiper: n, host: r }) {+function cCe({ slides: e, index: t, Swiper: n, host: r }) {let i = e.length > 1, a = (0, P.useId)(), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (0, P.useRef)(null), [_, v] = (0, P.useState)(t), [y, b] = (0, P.useState)(100), [x, S] = (0, P.useState)({}), [C, w] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, P.useState)(!1), [k, A] = (0, P.useState)({at: t,text: ""@@ -59357,7 +59537,7 @@ function ISe({ slides: e, index: t, Swiper: n, host: r }) {v(this.activeIndex), i(this.activeIndex);} }});- i(t, 0), h.current = jSe(e, a, b);+ i(t, 0), h.current = rCe(e, a, b);let m = Lc(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();};@@ -59558,10 +59738,10 @@ function ISe({ slides: e, index: t, Swiper: n, host: r }) {id: `${a}-title`,"data-middle-truncate": "",tabIndex: -1,- children: MSe(j)+ children: iCe(j)}, _), /* @__PURE__ */ (0, F.jsx)("span", {"data-photo-detail-meta": "",- children: NSe(j, x[_])+ children: aCe(j, x[_])})]}),/* @__PURE__ */ (0, F.jsx)("button", {@@ -59599,17 +59779,17 @@ function ISe({ slides: e, index: t, Swiper: n, host: r }) {});}// src/react/entity-body/entity-body-page.tsx-function LSe(e) {- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, F.jsx)(RSe, {+function lCe(e) {+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, F.jsx)(uCe, {roster: e.roster,props: e- }) : e.view === "videos" ? /* @__PURE__ */ (0, F.jsx)(zSe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, F.jsx)(HSe, {+ }) : e.view === "videos" ? /* @__PURE__ */ (0, F.jsx)(dCe, { ...e }, e.revision) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, F.jsx)(mCe, {photos: e.photos,props: e}, e.photos.revision) : null;}var TZ = XX.people;-function RSe({ roster: e, props: t }) {+function uCe({ roster: e, props: t }) {let { helpers: n, actions: r } = t, i = (0, P.useMemo)(() => ({personAvatar: n.personAvatar,openEntity: r.openEntity@@ -59627,8 +59807,8 @@ function RSe({ roster: e, props: t }) {enabled: () => !0}, a) : null] });}-function zSe(e) {- let t = AW(!e.items, e.skeletonHtml);+function dCe(e) {+ let t = WW(!e.items, e.skeletonHtml);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-grid": "","data-grid-reveal": t.fading ? "" : void 0,@@ -59652,14 +59832,14 @@ function zSe(e) {}) : null]});}-var BSe = (e) => Array.from({ length: e.n }, (t, n) => ({+var fCe = (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 || "官方样张"-})), EZ = (e) => e.sample === !0, DZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, OZ = (e) => EZ(e) ? `/sample-thumb?${DZ(e)}` : `/photo-thumb?id=${e.id}`, VSe = (e) => EZ(e) ? {+})), EZ = (e) => e.sample === !0, DZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, OZ = (e) => EZ(e) ? `/sample-thumb?${DZ(e)}` : `/photo-thumb?id=${e.id}`, pCe = (e) => EZ(e) ? {src: `/sample-image?${DZ(e)}`,thumb: OZ(e),name: e.name,@@ -59671,14 +59851,14 @@ var BSe = (e) => Array.from({ length: e.n }, (t, n) => ({name: e.name || "",asset: e};-function HSe({ photos: e, props: t }) {- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, P.useMemo)(() => [...e.codeSets.flatMap(BSe), ...e.items], [e]), [s, c] = (0, P.useState)(() => /* @__PURE__ */ new Set()), l = (0, P.useCallback)((e) => c((t) => {+function mCe({ photos: e, props: t }) {+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, P.useMemo)(() => [...e.codeSets.flatMap(fCe), ...e.items], [e]), [s, c] = (0, P.useState)(() => /* @__PURE__ */ new Set()), l = (0, P.useCallback)((e) => c((t) => {if (t.has(e)) return t;let n = new Set(t);return n.add(e), n;}), []), u = (0, P.useCallback)((e) => {- CZ(e, o.map(VSe), { revealSource: i.revealSource });- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, F.jsx)(USe, {+ CZ(e, o.map(pCe), { revealSource: i.revealSource });+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, F.jsx)(hCe, {item: e,index: t,lost: s.has(t),@@ -59741,7 +59921,7 @@ function kZ({ label: e, title: t, meta: n }) {]});}-function USe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {+function hCe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {let a = e.name ?? "";return /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -59760,9 +59940,9 @@ function USe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {});}// src/react/background-job.ts-var WSe = 2e3, GSe = (e) => e, KSe = (e, t) => t;+var gCe = 2e3, _Ce = (e) => e, vCe = (e, t) => t;function AZ(e) {- let { queryKey: t, jobOf: n = GSe, withJob: r = KSe, idlePollMs: i } = e, [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(e);+ let { queryKey: t, jobOf: n = _Ce, withJob: r = vCe, idlePollMs: i } = e, [a, o] = (0, P.useState)(!1), [s, c] = (0, P.useState)(null), l = (0, P.useRef)(e);(0, P.useEffect)(() => {l.current = e;});@@ -59771,7 +59951,7 @@ function AZ(e) {queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),refetchInterval: (e) => {let t = e.state.data;- return t !== void 0 && n(t)?.status === "running" ? WSe : i ?? !1;+ return t !== void 0 && n(t)?.status === "running" ? gCe : i ?? !1;}}), d = Ft({mutationFn: (e) => l.current.start(e),@@ -59796,11 +59976,11 @@ function AZ(e) {}// src/react/follow-feed/follow-check.tsvar jZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);-function qSe(e, t) {+function yCe(e, t) {return t ? jZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];}// src/react/follow-feed/follow-check-button.tsx-function JSe({ sources: e, report: t }) {+function bCe({ sources: e, report: t }) {let n = jZ(e), [r, i] = (0, P.useState)(""), { running: a, start: o } = AZ({queryKey: br,queryFn: ({ signal: e }) => $r(e),@@ -59815,19 +59995,19 @@ function JSe({ sources: e, report: t }) {children: [/* @__PURE__ */ (0, F.jsx)(q, {size: "small",disabled: !n.length,- ...Rz(s),+ ...Uz(s),onClick: () => {n.length && !s && (i(""), o.mutate(n));},children: "检查更新"- }), r ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ }), r ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: r}) : null]});}// src/react/follow-feed/follow-card.tsx-var YSe = (e) => Number(e) > 0;+var xCe = (e) => Number(e) > 0;function MZ({ name: e, actions: t, children: n, ...r }) {return /* @__PURE__ */ (0, F.jsx)("a", {...r,@@ -59840,9 +60020,9 @@ function MZ({ name: e, actions: t, children: n, ...r }) {}var NZ = ({ provider: e }) => /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-nothumb": "",- dangerouslySetInnerHTML: { __html: UU(e) }+ dangerouslySetInnerHTML: { __html: JU(e) }});-function XSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {+function SCe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {let [s, c] = (0, P.useState)(!1), [l, u] = (0, P.useState)(!1), [d, f] = (0, P.useState)(null);return (0, P.useEffect)(() => {c(!1);@@ -59865,8 +60045,8 @@ function XSe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a} : void 0});}-function ZSe(e) {- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Zi(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) => s_e(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? $i(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ta({+function CCe(e) {+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = Zi(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) => lW(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? $i(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ta({cover: p,coverFace: (f?.thumb_url ? f : u).face,stack: t.stack,@@ -59874,7 +60054,7 @@ function ZSe(e) {limit: 9}), S = (0, P.useRef)(x.faces);S.current = x.faces;- let C = CG({+ let C = LG({load: async () => S.current,canFlip: () => S.current.length > 1 && l.canFlip(),referrerPolicy: "no-referrer"@@ -59882,7 +60062,7 @@ function ZSe(e) {w.current = C.onPointerLeave;let T = (0, P.useCallback)((e) => {e && (e._stopHover = () => w.current());- }, []), E = JU(u, n, i), D = WU(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = ZU(u, i), j = XU(t, u), M = u.status === "saved", ee = (e) => {+ }, []), E = $U(u, n, i), D = YU(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = nW(u, i), j = tW(t, u), M = u.status === "saved", ee = (e) => {e.target.closest("[data-media-tag]") || (l.toggleSelection && (o || e.shiftKey || e.ctrlKey || e.metaKey) ? (e.preventDefault(), l.toggleSelection(u.id, e.shiftKey)) : l.openDetail(u.id));}, te = (e, t) => {e.stopPropagation(), t();@@ -59897,7 +60077,7 @@ function ZSe(e) {"data-collection": x.isMix ? "" : void 0,"data-selected": a ? "" : void 0,onClick: ee,- onMouseDown: tG,+ onMouseDown: hG,onMouseEnter: C.onPointerEnter,onMouseLeave: C.onPointerLeave,children: [@@ -59911,7 +60091,7 @@ function ZSe(e) {}), /* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",children: [- p ? /* @__PURE__ */ (0, F.jsx)(XSe, {+ p ? /* @__PURE__ */ (0, F.jsx)(SCe, {src: p,fallback: m,width: _?.width,@@ -59939,7 +60119,7 @@ function ZSe(e) {"data-media-badge": "",title: u.provider_label || u.provider,"aria-label": `来源:${u.provider_label || u.provider}`,- dangerouslySetInnerHTML: { __html: UU(u.provider, u.provider_label) }+ dangerouslySetInnerHTML: { __html: JU(u.provider, u.provider_label) }}), j ? /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: j }@@ -59952,7 +60132,7 @@ function ZSe(e) {},dangerouslySetInnerHTML: { __html: R("check") }}) : null,- YSe(u.duration) ? /* @__PURE__ */ (0, F.jsx)("span", {+ xCe(u.duration) ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-duration": "",children: kn(u.duration)}) : null,@@ -60043,7 +60223,7 @@ function ZSe(e) {/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-media-title": "",- dangerouslySetInnerHTML: { __html: YU(t, u) + z(D) }+ dangerouslySetInnerHTML: { __html: eW(t, u) + z(D) }}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-byline": "",@@ -60061,8 +60241,8 @@ function ZSe(e) {}),/* @__PURE__ */ (0, F.jsx)("time", {dateTime: u.published_at || "",- title: $U(u),- children: o_e(u)+ title: iW(u),+ children: D_e(u)}),E.credited ? /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-credit": "",@@ -60097,9 +60277,9 @@ function ZSe(e) {]});}-var PZ = (0, P.memo)(ZSe);+var PZ = (0, P.memo)(CCe);// src/react/components/use-masonry-grid.ts-function QSe(e, t) {+function wCe(e, t) {let n = (0, P.useRef)(null);return (0, P.useLayoutEffect)(() => {let t = n.current;@@ -60164,7 +60344,7 @@ function zZ(e, t) {var BZ = () => /* @__PURE__ */ (0, F.jsx)("span", {"data-entity-sep": "","aria-hidden": "true"-}), $Se = Iz("settings"), VZ = Iz("chevron-down"), eCe = Iz("history"), tCe = Iz("arrow-up"), nCe = Iz("arrow-down"), rCe = [[+}), TCe = Vz("settings"), VZ = Vz("chevron-down"), ECe = Vz("history"), DCe = Vz("arrow-up"), OCe = Vz("arrow-down"), kCe = [["fixed","固定比例","layout-grid"@@ -60173,7 +60353,7 @@ var BZ = () => /* @__PURE__ */ (0, F.jsx)("span", {"瀑布流","columns-2"]];-function iCe(e, t, n) {+function ACe(e, t, n) {return (0, P.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) => {@@ -60221,7 +60401,7 @@ function iCe(e, t, n) {n]);}-function aCe(e) {+function jCe(e) {let { view: t, seed: n, revision: r, actions: i } = e, a = Ri(t, r), o = It(a), s = Pt({queryKey: zi,queryFn: ({ signal: e }) => Bi(e)@@ -60229,7 +60409,7 @@ function aCe(e) {sources: c?.sources || [],aliases: c?.author_aliases || [],credentials: l- }), [c, l]), d = iCe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, P.useMemo)(() => ({+ }), [c, l]), d = ACe(c, t, n), f = o.isPending || o.isPlaceholderData, p = !f && !!c, m = (0, P.useMemo)(() => ({tags: Hl(d.visible.flatMap(Wi).map((e) => ({ tags: e.tags || [] }))),providers: [...d.providers].map(([e, t]) => [e,@@ -60255,10 +60435,10 @@ function aCe(e) {m,i]);- let h = sCe(e, !!c);+ let h = NCe(e, !!c);if (!c) return o.isError ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-feed": "",- children: [/* @__PURE__ */ (0, F.jsx)(HZ, {}), /* @__PURE__ */ (0, F.jsx)(jW, {+ children: [/* @__PURE__ */ (0, F.jsx)(HZ, {}), /* @__PURE__ */ (0, F.jsx)(GW, {message: tn(o.error),onRetry: () => void o.refetch()})]@@ -60271,7 +60451,7 @@ function aCe(e) {author: d.author,provider: d.provider}, {- authors: new Map([...d.authorSources].map(([e, t]) => [e, GU(t, u)])),+ authors: new Map([...d.authorSources].map(([e, t]) => [e, XU(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);@@ -60280,7 +60460,7 @@ function aCe(e) {ref: h.host,"data-follow-progress": ""}, h.generation),- !h.busy && h.report ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ !h.busy && h.report ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",title: "检查结果",children: h.report@@ -60300,20 +60480,20 @@ function aCe(e) {dangerouslySetInnerHTML: { __html: xs("检查中") }}) : "检查更新"}) : null }),- /* @__PURE__ */ (0, F.jsx)(cCe, {+ /* @__PURE__ */ (0, F.jsx)(PCe, {facets: d,pressed: d.author,context: u,props: e,onPick: (e) => g({ author: d.author === e ? "" : e })}),- /* @__PURE__ */ (0, F.jsx)(lCe, {+ /* @__PURE__ */ (0, F.jsx)(FCe, {rows: d.workRows,pressed: t.work,props: e,onPick: (e) => g({ work: t.work === e ? "" : e })}),- /* @__PURE__ */ (0, F.jsx)(uCe, {+ /* @__PURE__ */ (0, F.jsx)(ICe, {facets: d,view: t,total: v,@@ -60321,7 +60501,7 @@ function aCe(e) {props: e,route: g}),- /* @__PURE__ */ (0, F.jsx)(dCe, {+ /* @__PURE__ */ (0, F.jsx)(LCe, {conditions: _,onDrop: (e) => i.route(sa(t, e)),onClear: () => g({@@ -60333,8 +60513,8 @@ function aCe(e) {durMax: 0})}),- d.broken.length ? /* @__PURE__ */ (0, F.jsx)(fCe, { count: d.broken.length }) : null,- /* @__PURE__ */ (0, F.jsx)(pCe, {+ d.broken.length ? /* @__PURE__ */ (0, F.jsx)(RCe, { count: d.broken.length }) : null,+ /* @__PURE__ */ (0, F.jsx)(zCe, {retryKey: o.dataUpdatedAt,pending: f,facets: d,@@ -60364,7 +60544,7 @@ function aCe(e) {await o.fetchNextPage({ throwOnError: !0 });},children: [/* @__PURE__ */ (0, F.jsx)(VZ, { className: "size-(--icon-inline)" }), "加载更多"]- }, o.data?.pages.length) : /* @__PURE__ */ (0, F.jsx)(oCe, {+ }, o.data?.pages.length) : /* @__PURE__ */ (0, F.jsx)(MCe, {busy: o.isFetchingNextPage,error: o.isFetchNextPageError ? tn(o.error) : "",load: () => {@@ -60375,7 +60555,7 @@ function aCe(e) {"data-follow-page-action": "",children: [/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- leadingIcon: h.olderBusy ? void 0 : eCe,+ leadingIcon: h.olderBusy ? void 0 : ECe,"data-follow-older": "","aria-busy": h.busy || void 0,onClick: () => void h.start(!0),@@ -60401,9 +60581,9 @@ function HZ({ children: e }) {children: "关注"}), /* @__PURE__ */ (0, F.jsxs)("span", {"data-follow-head-actions": "",- children: [/* @__PURE__ */ (0, F.jsx)(iI, {+ children: [/* @__PURE__ */ (0, F.jsx)(pI, {variant: "secondary",- leadingIcon: $Se,+ leadingIcon: TCe,"data-follow-manage": "",href: UZ(),children: "管理关注"@@ -60411,7 +60591,7 @@ function HZ({ children: e }) {})]});}-function oCe({ busy: e, error: t, load: n }) {+function MCe({ busy: e, error: t, load: n }) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-entity-more": "",@@ -60419,12 +60599,12 @@ function oCe({ busy: e, error: t, load: n }) {"aria-disabled": e || void 0,onClick: n,children: [/* @__PURE__ */ (0, F.jsx)(VZ, { className: "size-(--icon-inline)" }), "加载更多"]- }), t ? /* @__PURE__ */ (0, F.jsx)(jW, {+ }), t ? /* @__PURE__ */ (0, F.jsx)(GW, {message: t,onRetry: n}) : null] });}-function sCe(e, t) {+function NCe(e, t) {let { helpers: n, actions: r } = e, [i, a] = (0, P.useState)(0), [o, s] = (0, P.useState)(!1), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(""), [f, p] = (0, P.useState)(!1), m = (0, P.useRef)(!1), h = (0, P.useRef)(null), g = (0, P.useRef)({helpers: n,actions: r@@ -60486,12 +60666,12 @@ function sCe(e, t) {olderBusy: c === "older" || f && o};}-function cCe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {+function PCe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {let a = (0, P.useRef)(null);(0, P.useEffect)(() => {r.helpers.wireDrag(a.current);}, [r.helpers]);- let o = (t) => GU(e.authorSources.get(t) || [], n);+ let o = (t) => XU(e.authorSources.get(t) || [], n);return e.authorOrder.length ? /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-authors-bar": "",children: /* @__PURE__ */ (0, F.jsx)("div", {@@ -60499,9 +60679,9 @@ function cCe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {"data-follow-authors": "","aria-label": "创作者",children: e.authorOrder.map((n) => {- let a = e.authorSources.get(n) || [], s = KU(a), c = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {+ let a = e.authorSources.get(n) || [], s = ZU(a), c = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-follow-ring": "",- dangerouslySetInnerHTML: { __html: qU(a, o(n)) }+ dangerouslySetInnerHTML: { __html: QU(a, o(n)) }}), /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-name": "",children: o(n)@@ -60523,7 +60703,7 @@ function cCe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {})}) : null;}-function lCe({ rows: e, pressed: t, props: n, onPick: r }) {+function FCe({ rows: e, pressed: t, props: n, onPick: r }) {let i = (0, P.useRef)(null);return (0, P.useEffect)(() => {n.helpers.wireDrag(i.current);@@ -60544,13 +60724,13 @@ function lCe({ rows: e, pressed: t, props: n, onPick: r }) {}, e[0]))}) : null;}-function uCe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {- let { helpers: o, actions: s } = i, c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = nI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = nI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);+function ICe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {+ let { helpers: o, actions: s } = i, c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = dI(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = dI(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);(0, P.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, F.jsx)(YF, {+ return /* @__PURE__ */ (0, F.jsx)(iI, {label: "筛选与排序",topLabel: m ? "媒体与关注筛选" : "关注筛选",attrs: {@@ -60635,10 +60815,10 @@ function uCe({ 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: UU(t, n) }+ dangerouslySetInnerHTML: { __html: JU(t, n) }}, t)),_.length && e.tagRows.length ? /* @__PURE__ */ (0, F.jsx)(BZ, {}) : null,- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, F.jsxs)(ZF, {+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, F.jsxs)(oI, {"data-follow-tag": n,"data-entity-press": "","data-tag-cat": `r34-${ca(e.groups, n)}`,@@ -60658,18 +60838,18 @@ function uCe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {"data-follow-readout": "",children: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`}),- /* @__PURE__ */ (0, F.jsx)(Zz, {+ /* @__PURE__ */ (0, F.jsx)(nB, {currentHref: () => location.pathname + location.search,kind: "creator"}),/* @__PURE__ */ (0, F.jsxs)("span", {"data-entity-sorts": "",children: [- /* @__PURE__ */ (0, F.jsx)(uW, { onPress: s.shuffle }),- y ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(lW, {+ /* @__PURE__ */ (0, F.jsx)(wW, { onPress: s.shuffle }),+ y ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(CW, {label: "图片布局",value: i.photoLayout,- options: rCe,+ options: kCe,onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")}), /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",@@ -60699,9 +60879,9 @@ function uCe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {let n = ra(e, t.sort, t.dir);n && a(n);},- children: [n, r ? /* @__PURE__ */ (0, F.jsx)(RU, {- a: tCe,- b: nCe,+ children: [n, r ? /* @__PURE__ */ (0, F.jsx)(UU, {+ a: DCe,+ b: OCe,state: t.dir === "asc" ? "a" : "b",className: "size-(--icon-inline)"}) : null]@@ -60712,7 +60892,7 @@ function uCe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {] })});}-function dCe({ conditions: e, onDrop: t, onClear: n }) {+function LCe({ conditions: e, onDrop: t, onClear: n }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-entity-combo": "","data-follow-combo": "",@@ -60737,19 +60917,19 @@ function dCe({ conditions: e, onDrop: t, onClear: n }) {})] }) : null});}-function fCe({ count: e }) {+function RCe({ count: e }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-broken": "",dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(UZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }});}var UZ = () => zZ(window.location.search);-function pCe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {- let { view: s, helpers: c } = i, l = s.media === "images", u = AW(e, () => c.listSkeletonHtml(s.media));+function zCe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {+ let { view: s, helpers: c } = i, l = s.media === "images", u = WW(e, () => c.listSkeletonHtml(s.media));return /* @__PURE__ */ (0, F.jsxs)("div", {"data-follow-list-body": "","data-grid-reveal": u.fading ? "" : void 0,- children: [u.layer, e ? null : /* @__PURE__ */ (0, F.jsx)(mCe, {+ children: [u.layer, e ? null : /* @__PURE__ */ (0, F.jsx)(BCe, {facets: t,data: n,context: r,@@ -60760,12 +60940,12 @@ function pCe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a})]});}-function mCe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {+function BCe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {let { view: s, actions: c } = r, l = GZ(r), u = i ? {"data-size": r.photoSize,"data-layout": r.photoLayout,"data-images-only": String(r.imagesOnly)- } : {}, d = QSe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;+ } : {}, d = wCe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;return f = e.visible.length ? e.visible.map((t) => {let i = e.byId.get(t.primary?.source_id), o = i?.author_key && e.authorSources.get(i.author_key) || [], u = t.primary.id;return /* @__PURE__ */ (0, F.jsx)(PZ, {@@ -60782,7 +60962,7 @@ function mCe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,onStatus: l.status,onSave: l.save}, `${u}:${s.media}`);- }) : /* @__PURE__ */ (0, F.jsx)(hCe, {+ }) : /* @__PURE__ */ (0, F.jsx)(VCe, {data: t,filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),checkAction: o,@@ -60808,19 +60988,19 @@ function mCe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,function WZ(e, t) {return Zi(e, t.media).id;}-function hCe({ data: e, filtered: t, clear: n, checkAction: r }) {+function VCe({ data: e, filtered: t, clear: n, checkAction: r }) {let i = !!e.groups.length || t, a = !!e.sources.length;return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, F.jsx)(Pz, {- icon: Iz(i ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, F.jsx)(zz, {+ icon: Vz(i ? "search-x" : "rss"),title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",actions: i ? /* @__PURE__ */ (0, F.jsx)(q, {size: "small",onClick: n,children: "清除筛选"- }) : a ? r : /* @__PURE__ */ (0, F.jsx)(iI, {+ }) : a ? r : /* @__PURE__ */ (0, F.jsx)(pI, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -60829,7 +61009,7 @@ function hCe({ data: e, filtered: t, clear: n, checkAction: r }) {})});}-var gCe = {+var HCe = {new: "已恢复未看",seen: "已标记已看",ignored: "已忽略"@@ -60857,7 +61037,7 @@ function GZ(e) {to: t}),onSuccess: (e, { id: t, to: n, was: i }) => {- u(t, n), d(), r.toast(gCe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {+ u(t, n), d(), r.toast(HCe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {await V(pr, {item: t,to: i@@ -60902,9 +61082,9 @@ function GZ(e) {};}// src/react/entity-body/entity-online.tsx-function _Ce(e) {- let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = AW(a, () => i.listSkeletonHtml(r));- return !n && t.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+function UCe(e) {+ let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData, o = WW(a, () => i.listSkeletonHtml(r));+ return !n && t.isError ? /* @__PURE__ */ (0, F.jsx)(GW, {message: tn(t.error),onRetry: () => {t.refetch();@@ -60915,7 +61095,7 @@ function _Ce(e) {"data-grid-reveal": o.fading ? "" : void 0,children: [o.layer,- a || !n ? null : /* @__PURE__ */ (0, F.jsx)(vCe, {+ a || !n ? null : /* @__PURE__ */ (0, F.jsx)(WCe, {...e,data: n}),@@ -60929,7 +61109,7 @@ function _Ce(e) {]});}-function vCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {+function WCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {let u = GZ({view: e,revision: 0,@@ -60961,11 +61141,11 @@ function vCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,onStatus: u.status,onSave: u.save}, `${e.primary.id}:${t}`);- }) : /* @__PURE__ */ (0, F.jsx)(yCe, {+ }) : /* @__PURE__ */ (0, F.jsx)(GCe, {searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),clear: l,actions: c,- sources: qSe(n.sources || [], e.author)+ sources: yCe(n.sources || [], e.author)});return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-list": "",@@ -60974,21 +61154,21 @@ function vCe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,children: m});}-function yCe({ searched: e, clear: t, actions: n, sources: r }) {+function GCe({ searched: e, clear: t, actions: n, sources: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-empty": "",className: "contents",- children: /* @__PURE__ */ (0, F.jsx)(Pz, {- icon: Iz(e ? "search-x" : "rss"),+ children: /* @__PURE__ */ (0, F.jsx)(zz, {+ icon: Vz(e ? "search-x" : "rss"),title: e ? "当前筛选下没有更新" : "还没有抓到更新",actions: e ? /* @__PURE__ */ (0, F.jsx)(q, {size: "small",onClick: t,children: "清除筛选"- }) : r.length ? /* @__PURE__ */ (0, F.jsx)(JSe, {+ }) : r.length ? /* @__PURE__ */ (0, F.jsx)(bCe, {sources: r,report: n.checkReport- }) : /* @__PURE__ */ (0, F.jsx)(iI, {+ }) : /* @__PURE__ */ (0, F.jsx)(pI, {size: "small",href: "/subscriptions?tab=add",children: "添加关注"@@ -61034,7 +61214,7 @@ function YZ(e, t) {y1: a + r});}-function bCe(e, t) {+function XZ(e, t) {if (!JZ(e) || !(t > 0)) return KZ(e);let n = Math.min(e.width, e.height * t);return qZ({@@ -61044,9 +61224,9 @@ function bCe(e, t) {y1: e.height});}-function xCe(e, t, n) {+function KCe(e, t, n) {if (!JZ(t) || !(n > 0)) return KZ(t);- let r = XZ(e, t), i = YZ({+ let r = ZZ(e, t), i = YZ({width: r.x1 - r.x0,height: r.y1 - r.y0}, n);@@ -61057,7 +61237,7 @@ function xCe(e, t, n) {y1: r.y0 + i.y1};}-function XZ(e, t, n = null, r = "width") {+function ZZ(e, t, n = null, r = "width") {if (!JZ(t)) return {x0: 0,y0: 0,@@ -61074,7 +61254,7 @@ function XZ(e, t, n = null, r = "width") {y1: c + o});}-function ZZ(e, t, n, r) {+function QZ(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 qZ({x0: o,@@ -61083,26 +61263,26 @@ function ZZ(e, t, n, r) {y1: s + a});}-function QZ(e, t, n, r = null) {+function $Z(e, t, n, r = null) {if (!JZ(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 XZ({+ return ZZ({x0: i - o / 2,y0: a - s / 2,x1: i + o / 2,y1: a + s / 2}, n, r);}-function SCe(e, t, n, r, i = null) {+function qCe(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 XZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");+ return ZZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");}-function CCe(e, t) {+function JCe(e, t) {return JZ(t) ? {left: e.x0 / t.width * 100,top: e.y0 / t.height * 100,@@ -61115,7 +61295,7 @@ function CCe(e, t) {height: 0};}-function wCe(e, t) {+function YCe(e, t) {if (!JZ(t)) return {size: "cover",position: "50% 50%"@@ -61126,7 +61306,7 @@ function wCe(e, t) {position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`};}-function TCe(e, t) {+function XCe(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}%`,@@ -61135,15 +61315,15 @@ function TCe(e, t) {height: `${t.height / r * 100}%`};}-function $Z(e, t, n) {+function eQ(e, t, n) {return t > 0 ? e * n / t : 0;}-function ECe(e, t) {+function ZCe(e, t) {return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;}// src/react/crop/crop-frame.tsx-var DCe = .02, eQ = 1.08;-function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {+var QCe = .02, tQ = 1.08;+function nQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {let s = (0, P.useRef)(null), c = (0, P.useRef)(null), [l, u] = (0, P.useState)(!1), [d, f] = (0, P.useState)(null);(0, P.useEffect)(() => {u(!1);@@ -61162,8 +61342,8 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: odx: 0,dy: 0} : {- dx: $Z(e, n.clientWidth, r.width),- dy: $Z(t, n.clientHeight, r.height)+ dx: eQ(e, n.clientWidth, r.width),+ dy: eQ(t, n.clientHeight, r.height)};}, [r]);function m(e) {@@ -61180,22 +61360,22 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: olet n = c.current, a = s.current;if (!n || !a || !r) return;let o = p(e.clientX - n.x, e.clientY - n.y);- n.mode === "move" ? i(ZZ(n.box, o.dx, o.dy, r)) : i(SCe(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));+ n.mode === "move" ? i(QZ(n.box, o.dx, o.dy, r)) : i(qCe(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 g(e) {c.current && (c.current = null, e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));}function _(e) {if (!n || !r) return;- let a = Math.max(1, (n.x1 - n.x0) * DCe), o = {+ let a = Math.max(1, (n.x1 - n.x0) * QCe), o = {ArrowLeft: [-a, 0],ArrowRight: [a, 0],ArrowUp: [0, -a],ArrowDown: [0, a]};- o[e.key] ? (e.preventDefault(), i(ZZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(QZ(n, e.key === "-" ? 1 / eQ : eQ, r, t)));+ o[e.key] ? (e.preventDefault(), i(QZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i($Z(n, e.key === "-" ? 1 / tQ : tQ, r, t)));}- let v = n && r ? CCe(XZ(n, r, t), r) : null, y = v ? ECe(v, d) : !1, b = v ? {+ let v = n && r ? JCe(ZZ(n, r, t), r) : null, y = v ? ZCe(v, d) : !1, b = v ? {"--crop-l": `${v.left}%`,"--crop-t": `${v.top}%`,"--crop-w": `${v.width}%`,@@ -61253,7 +61433,7 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: oonPointerCancel: g,onKeyDown: _,onWheel: (e) => {- n && r && i(QZ(n, e.deltaY > 0 ? eQ : 1 / eQ, r, t));+ n && r && i($Z(n, e.deltaY > 0 ? tQ : 1 / tQ, 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, F.jsx)("span", {@@ -61275,13 +61455,13 @@ function tQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o});}// src/react/avatar-picker/avatar-picker.ts-var OCe = "/api/avatar-choices", nQ = "/api/avatar-pick", kCe = "/api/avatar-code-cover", rQ = "/api/avatar-frame", ACe = "/avatar-choice", iQ = (e, t) => [+var $Ce = "/api/avatar-choices", rQ = "/api/avatar-pick", ewe = "/api/avatar-code-cover", iQ = "/api/avatar-frame", twe = "/avatar-choice", aQ = (e, t) => ["avatar-choices",e,t-], aQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, oQ = (e, t, n, r = "") => `${ACe}${aQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), sQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", jCe = (e, t, n) => B(OCe + aQ(e, t), n), MCe = (e) => V(kCe, { code: e });-async function NCe(e, t, n) {- let r = await V(rQ, {+], oQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, sQ = (e, t, n, r = "") => `${twe}${oQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), cQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", nwe = (e, t, n) => B($Ce + oQ(e, t), n), rwe = (e) => V(ewe, { code: e });+async function iwe(e, t, n) {+ let r = await V(iQ, {kind: e,id: t,ref: n.ref@@ -61294,12 +61474,12 @@ async function NCe(e, t, n) {bases: r.bases};}-var PCe = (e, t, n) => V(rQ, {+var awe = (e, t, n) => V(iQ, {kind: e,id: t,url: n-}), FCe = (e, t, n) => cQ(`${rQ}${aQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);-async function cQ(e, t) {+}), owe = (e, t, n) => lQ(`${iQ}${oQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);+async function lQ(e, t) {let n = await fetch(e, {method: "POST",credentials: "same-origin",@@ -61308,17 +61488,17 @@ async function cQ(e, t) {if (n.ok) return r;throw new Hn(r?.error || `请求失败(${n.status})`, n.status, r);}-function lQ(e, t, n) {+function uQ(e, t, n) {let r = t.width === e.width && t.height === e.height;- return e.focus && r ? xCe(e.focus, t, n) : YZ(t, n);+ return e.focus && r ? KCe(e.focus, t, n) : YZ(t, n);}-var ICe = (e) => e.crop && JZ({+var swe = (e) => e.crop && JZ({width: e.width,height: e.height});-async function LCe(e, t, n) {+async function cwe(e, t, n) {if (!("file" in n)) {- await V(nQ, {+ await V(rQ, {kind: e,id: t,...n@@ -61331,19 +61511,19 @@ async function LCe(e, t, n) {i.x1,i.y1].join(",")}` : "";- await cQ(`${nQ}${aQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);+ await lQ(`${rQ}${oQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);}-var uQ = 2;-function RCe(e, t) {+var dQ = 2;+function lwe(e, t) {if (!t) return e;let n = t.matched_names.filter((t) => t !== e);- return n.length ? `${e}:图库里按${`「${n.slice(0, uQ).join("」「")}」`}${n.length > uQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;+ return n.length ? `${e}:图库里按${`「${n.slice(0, dQ).join("」「")}」`}${n.length > dQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;}-var zCe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;-function BCe(e) {- return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${zCe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;+var uwe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;+function dwe(e) {+ return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${uwe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;}-var dQ = (e) => e.cast > 1, VCe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, HCe = {+var fQ = (e) => e.cast > 1, fwe = (e) => fQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, pwe = {gfriends: "图库",history: "用过的",asset: "作品画面",@@ -61353,7 +61533,7 @@ var dQ = (e) => e.cast > 1, VCe = (e) => dQ(e) ? `${e.label}:${e.cast.toLocalesocial: "社媒头像",online: "在线作品"};-function UCe(e) {+function mwe(e) {if (e.startsWith("follow:")) {let t = e.split(":")[2];return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;@@ -61364,19 +61544,19 @@ function UCe(e) {let n = Number(t.replace("cell", ""));return Number.isFinite(n) ? `第 ${n + 1} 格` : t;}-var WCe = (e) => `${HCe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (dQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), GCe = 8, KCe = 3 / 4;-async function qCe(e, t, n) {+var hwe = (e) => `${pwe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (fQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), gwe = 8, _we = 3 / 4;+async function vwe(e, t, n) {switch (n.via) {- case "choice": return { choice: await NCe(e, t, n.choice) };- case "code": return { choice: await MCe(n.code) };- case "url": return { choice: await PCe(e, t, n.url) };+ case "choice": return { choice: await iwe(e, t, n.choice) };+ case "code": return { choice: await rwe(n.code) };+ case "url": return { choice: await awe(e, t, n.url) };case "file": return {- choice: await FCe(e, t, n.file),+ choice: await owe(e, t, n.file),file: n.file};}}-function JCe({ kind: e, entityId: t, name: n, onPicked: r }) {+function ywe({ kind: e, entityId: t, name: n, onPicked: r }) {let [i, a] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "absolute right-1 bottom-1 z-10",@@ -61386,17 +61566,17 @@ function JCe({ 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, F.jsx)(zfe, {+ children: /* @__PURE__ */ (0, F.jsx)(ope, {"aria-hidden": !0,className: "size-4"})})- }), /* @__PURE__ */ (0, F.jsx)(jz, {+ }), /* @__PURE__ */ (0, F.jsx)(Iz, {isOpen: i,onOpenChange: a,width: "avatar-picker",label: "更换头像",- children: /* @__PURE__ */ (0, F.jsx)(YCe, {+ children: /* @__PURE__ */ (0, F.jsx)(bwe, {kind: e,entityId: t,name: n,@@ -61405,24 +61585,24 @@ function JCe({ kind: e, entityId: t, name: n, onPicked: r }) {})})] });}-function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {- let a = (0, P.useRef)(null), o = rV(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(null), p = iQ(e, t), m = (0, P.useRef)(!1), h = Pt({+function bwe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {+ let a = (0, P.useRef)(null), o = cV(), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(null), p = aQ(e, t), m = (0, P.useRef)(!1), h = Pt({queryKey: p,- queryFn: ({ signal: n }) => jCe(e, t, n),+ queryFn: ({ signal: n }) => nwe(e, t, n),retryOnMount: !0,refetchOnMount: (e) => e.state.data?.index_stale ? "always" : !1,refetchInterval: (e) => e.state.data?.index_refreshing && !e.state.error ? 1e3 : !1});(0, P.useEffect)(() => () => {- m.current && H.removeQueries({ queryKey: iQ(e, t) });+ m.current && H.removeQueries({ queryKey: aQ(e, t) });}, [e, t]);let g = Ft({- mutationFn: (n) => LCe(e, t, n),+ mutationFn: (n) => cwe(e, t, n),onSuccess: () => {m.current = !0, i(), r();}}), _ = Ft({- mutationFn: (n) => qCe(e, t, n),+ mutationFn: (n) => vwe(e, t, n),onMutate: () => {g.reset();},@@ -61443,17 +61623,17 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {crop: e.crop} : { file: n }) : g.mutate(e ?? { ref: t.ref });}- let x = h.data, S = x?.choices ?? [], C = (g.error ? Wn(g.error) : "") || (!d && _.error ? Wn(_.error) : "") || (h.error ? Wn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : BCe(x), E = !!C && !!h.error && C === Wn(h.error), D = h.isPending || S.length > 0;+ let x = h.data, S = x?.choices ?? [], C = (g.error ? Wn(g.error) : "") || (!d && _.error ? Wn(_.error) : "") || (h.error ? Wn(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : dwe(x), E = !!C && !!h.error && C === Wn(h.error), D = h.isPending || S.length > 0;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, F.jsx)(Mz, { children: /* @__PURE__ */ (0, F.jsx)(Sz, { className: "size-6" }) }),+ /* @__PURE__ */ (0, F.jsx)(Lz, { children: /* @__PURE__ */ (0, F.jsx)(Dz, { className: "size-6" }) }),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(AI, {+ children: [/* @__PURE__ */ (0, F.jsx)(FI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: d ? "框出头像那一块" : "更换头像"@@ -61464,18 +61644,18 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}),/* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: d ? VCe(d.choice) : RCe(n, x)+ children: d ? fwe(d.choice) : lwe(n, x)}),- T ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ T ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",children: T}) : null,- C ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ C ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",action: E ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Rz(h.isFetching),+ ...Uz(h.isFetching),onClick: () => {h.isFetching || h.refetch();},@@ -61485,14 +61665,14 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}) : null]}),- /* @__PURE__ */ (0, F.jsx)(HF, {- icon: uz,+ /* @__PURE__ */ (0, F.jsx)(ZF, {+ icon: hz,size: "small","aria-label": "关闭",onClick: i})]- }), d ? /* @__PURE__ */ (0, F.jsx)(ZCe, {+ }), d ? /* @__PURE__ */ (0, F.jsx)(Swe, {kind: e,entityId: t,choice: d.choice,@@ -61512,7 +61692,7 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {"aria-busy": h.isPending || void 0,"data-skeleton": h.isPending ? "avatar-choices" : void 0,className: "inline-grid grid-cols-3 content-start gap-2 sm:grid-cols-4",- children: h.isPending ? Array.from({ length: GCe }, (e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {+ children: h.isPending ? Array.from({ length: gwe }, (e, t) => /* @__PURE__ */ (0, F.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",@@ -61525,8 +61705,8 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {role: "option","data-avatar-choice": !0,"aria-selected": n.current,- title: WCe(n),- ...Rz(w),+ title: hwe(n),+ ...Uz(w),onClick: () => {w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({via: "choice",@@ -61535,8 +61715,8 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},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, F.jsx)(XCe, {- src: oQ(e, t, n.ref, sQ(n, n.ref)),+ /* @__PURE__ */ (0, F.jsx)(xwe, {+ src: sQ(e, t, n.ref, cQ(n, n.ref)),choice: n}),/* @__PURE__ */ (0, F.jsx)("span", {@@ -61551,7 +61731,7 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {children: "在用"})}) : null,- dQ(n) ? /* @__PURE__ */ (0, F.jsx)("span", {+ fQ(n) ? /* @__PURE__ */ (0, F.jsx)("span", {className: "absolute top-1 right-1",children: /* @__PURE__ */ (0, F.jsxs)(sZ, {variant: "caption",@@ -61575,7 +61755,7 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {},children: [/* @__PURE__ */ (0, F.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, F.jsx)(Az, {+ children: /* @__PURE__ */ (0, F.jsx)(Fz, {"aria-label": "番号",placeholder: "番号,如 ABW-232",value: l,@@ -61585,7 +61765,7 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {type: "submit",variant: "secondary",disabled: !l.trim(),- ...Rz(v("code")),+ ...Uz(v("code")),children: "取封面来框"})]}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -61594,7 +61774,7 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",onClick: () => a.current?.click(),- ...Rz(v("file")),+ ...Uz(v("file")),children: "从本机选图片"}),/* @__PURE__ */ (0, F.jsx)("input", {@@ -61614,7 +61794,7 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {className: "flex min-w-0 flex-1 basis-56 items-center gap-2",children: [/* @__PURE__ */ (0, F.jsx)("div", {className: "min-w-0 flex-1",- children: /* @__PURE__ */ (0, F.jsx)(Az, {+ children: /* @__PURE__ */ (0, F.jsx)(Fz, {type: "url","aria-label": "图片地址",placeholder: "https://…",@@ -61624,7 +61804,7 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {}), /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",disabled: !s.trim(),- ...Rz(v("url")),+ ...Uz(v("url")),onClick: () => {w || _.mutate({via: "url",@@ -61638,7 +61818,7 @@ function YCe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {})]})] })] });}-function XCe({ src: e, choice: t }) {+function xwe({ src: e, choice: t }) {let n = (0, P.useRef)(null), [r, i] = (0, P.useState)(!1), [a, o] = (0, P.useState)(!1);(0, P.useEffect)(() => {n.current?.complete && n.current.naturalWidth && i(!0);@@ -61646,7 +61826,7 @@ function XCe({ src: e, choice: t }) {let s = {width: t.width,height: t.height- }, c = ICe(t) ? TCe(lQ(t, s, KCe), s) : null, l = r || a ? !0 : void 0;+ }, c = swe(t) ? XCe(uQ(t, s, _we), s) : null, l = r || a ? !0 : void 0;return /* @__PURE__ */ (0, F.jsxs)("span", {"data-choice-lost": a || void 0,className: "relative block w-full aspect-avatar-choice overflow-hidden",@@ -61672,23 +61852,23 @@ function XCe({ src: e, choice: t }) {})]});}-function ZCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, P.useState)(o[0]), [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(null), p = sQ(n, s), m = oQ(e, t, s, p), h = rV();+function Swe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, P.useState)(o[0]), [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(null), p = cQ(n, s), m = sQ(e, t, s, p), h = cV();function g(e) {c(e), u(null), f(null);}- let _ = d && l ? wCe(d, l) : null;+ let _ = d && l ? YCe(d, l) : null;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.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: [m ? /* @__PURE__ */ (0, F.jsx)(tQ, {+ children: [m ? /* @__PURE__ */ (0, F.jsx)(nQ, {src: m,aspect: 1,box: d,size: l,label: `${n.label} 的头像取景框`,onSize: (e) => {- u(e), JZ(e) && f(s === n.ref ? lQ(n, e, 1) : YZ(e, 1));+ u(e), JZ(e) && f(s === n.ref ? uQ(n, e, 1) : YZ(e, 1));},onBox: f}) : null, o.length > 1 ? /* @__PURE__ */ (0, F.jsx)("div", {@@ -61702,7 +61882,7 @@ function ZCe({ 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: UCe(e)+ children: mwe(e)}, e))}) : null]}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -61722,12 +61902,12 @@ function ZCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",onClick: i,- ...Rz(r),+ ...Uz(r),children: "返回备选图片"}),n.crop ? null : /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Rz(r),+ ...Uz(r),onClick: () => {r || a(null);},@@ -61735,7 +61915,7 @@ function ZCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })}),/* @__PURE__ */ (0, F.jsx)(q, {disabled: !d || !l,- ...Rz(r),+ ...Uz(r),onClick: () => {d && !r && a({ref: s,@@ -61750,9 +61930,9 @@ function ZCe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })})] });}// src/react/components/source-picture.tsx-var fQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;-function pQ({ item: e, image: t, thumbnail: n = !1 }) {- let [r, i] = (0, P.useState)(0), [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(""), l = (0, P.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? fQ(e.code, t, r) : u ? Wa(e, !0) : e.cover_url || "";+var pQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;+function mQ({ item: e, image: t, thumbnail: n = !1 }) {+ let [r, i] = (0, P.useState)(0), [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(""), l = (0, P.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? pQ(e.code, t, r) : u ? Wa(e, !0) : e.cover_url || "";if ((0, P.useLayoutEffect)(() => {let e = l.current;e?.complete && e.naturalWidth > 0 && o({@@ -61771,14 +61951,14 @@ function pQ({ item: e, image: t, thumbnail: n = !1 }) {})}) : n ? /* @__PURE__ */ (0, F.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, F.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, F.jsx)(Nz, {+ children: /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",children: "封面未取得"})});if (s === p) return n ? /* @__PURE__ */ (0, F.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, F.jsx)("div", {"data-jav-picture-wait": "",- children: /* @__PURE__ */ (0, F.jsx)(Nz, {+ children: /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -61833,7 +62013,7 @@ function pQ({ item: e, image: t, thumbnail: n = !1 }) {] });}// src/react/components/source-avatar.tsx-function mQ({ code: e, person: t, detail: n = !1 }) {+function hQ({ code: e, person: t, detail: n = !1 }) {let r = (0, P.useRef)(null), [i, a] = (0, P.useState)(n || typeof IntersectionObserver > "u");(0, P.useEffect)(() => {if (!r.current || i) return;@@ -61847,7 +62027,7 @@ function mQ({ code: e, person: t, detail: n = !1 }) {"data-source-initial": "",children: Fn(t.name)}), i && t.source_actor_id ? /* @__PURE__ */ (0, F.jsx)("img", {- src: fQ(e, `actor:${t.source_actor_id}`),+ src: pQ(e, `actor:${t.source_actor_id}`),alt: "","data-drop": "self"}) : null] });@@ -61857,8 +62037,8 @@ function mQ({ code: e, person: t, detail: n = !1 }) {}) : o;}// src/react/feed-new/feed-new-row.tsx-function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {- let a = (0, P.useContext)(CU), o = (0, P.useRef)(null), [s, c] = (0, P.useState)([]), l = e?.items.length ? e.html : "";+function gQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {+ let a = (0, P.useContext)(OU), o = (0, P.useRef)(null), [s, c] = (0, P.useState)([]), l = e?.items.length ? e.html : "";(0, P.useLayoutEffect)(() => {t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);}, [@@ -61890,7 +62070,7 @@ function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {u(e);},dangerouslySetInnerHTML: { __html: l }- }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(mQ, {+ }), s.map((e, t) => (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hQ, {code: e.dataset.code,person: {name: e.dataset.name,@@ -61899,7 +62079,7 @@ function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {}), e, `${l.length}:${t}`))] }) : null;}// src/react/entity-hero/glyph.tsx-function gQ({ name: e }) {+function _Q({ name: e }) {let { wide: t, viewBox: n } = rn(e);return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: n,@@ -61909,20 +62089,20 @@ function gQ({ name: e }) {});}// src/react/entity-hero/hero-pop.tsx-function _Q(e, t) {+function vQ(e, t) {t.style.removeProperty("max-height");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, a = innerHeight - 8 - i, o = n.top - 16, s = r.height <= a || r.height > o && a >= o, c = Math.max(0, s ? a : o);r.height > c && (t.style.maxHeight = `${c}px`), t.style.top = `${s ? i : n.top - 8 - Math.min(r.height, c)}px`;}-var vQ = (e) => !!e?.isConnected && e.matches(":popover-open");-function yQ(e, t, n, r) {+var yQ = (e) => !!e?.isConnected && e.matches(":popover-open");+function bQ(e, t, n, r) {let i = (0, P.useRef)(r);i.current = r, (0, P.useEffect)(() => {if (!e) return;let r = () => {- t.current && vQ(n.current) ? _Q(t.current, n.current) : i.current();+ t.current && yQ(n.current) ? vQ(t.current, n.current) : i.current();};return addEventListener("scroll", r, {capture: !0,@@ -61936,17 +62116,17 @@ function yQ(e, t, n, r) {n]);}-function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {+function xQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(!1), u = (0, P.useRef)(!1), d = (0, P.useRef)(0), f = () => {- clearTimeout(d.current), u.current = !1, vQ(s.current) && s.current.hidePopover(), l(!1);+ clearTimeout(d.current), u.current = !1, yQ(s.current) && s.current.hidePopover(), l(!1);}, p = () => {- clearTimeout(d.current), s.current && o.current && !vQ(s.current) && (s.current.showPopover(), _Q(o.current, s.current), l(!0));+ clearTimeout(d.current), s.current && o.current && !yQ(s.current) && (s.current.showPopover(), vQ(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 yQ(c, o, s, f), (0, P.useEffect)(() => {+ return bQ(c, o, s, f), (0, P.useEffect)(() => {if (!c) return;let e = (e) => {let t = e.target;@@ -61972,7 +62152,7 @@ function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {u.current ? f() : (p(), u.current = !0);},onKeyDown: (e) => {- e.key === "Escape" && vQ(s.current) && (e.preventDefault(), f());+ e.key === "Escape" && yQ(s.current) && (e.preventDefault(), f());},children: ["+", t]}), /* @__PURE__ */ (0, F.jsxs)("div", {@@ -61990,16 +62170,16 @@ function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {}), a]})] });}-function QCe({ following: e, busy: t, onToggle: n, tip: r }) {+function Cwe({ following: e, busy: t, onToggle: n, tip: r }) {let i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), [s, c] = (0, P.useState)(!1), l = (0, P.useRef)(!1), u = () => {- vQ(o.current) && o.current.hidePopover(), c(!1);+ yQ(o.current) && o.current.hidePopover(), c(!1);}, d = () => {- !l.current && o.current && i.current && !vQ(o.current) && (o.current.showPopover(), _Q(i.current, o.current), c(!0));+ !l.current && o.current && i.current && !yQ(o.current) && (o.current.showPopover(), vQ(i.current, o.current), c(!0));}, f = () => {l.current = !1, u();};- return yQ(s, i, o, () => c(!1)), (0, P.useEffect)(() => {- i.current && vQ(o.current) && _Q(i.current, o.current);+ return bQ(s, i, o, () => c(!1)), (0, P.useEffect)(() => {+ i.current && yQ(o.current) && vQ(i.current, o.current);}, [r]), /* @__PURE__ */ (0, F.jsxs)("label", {ref: i,"data-entry-feed": "",@@ -62008,7 +62188,7 @@ function QCe({ following: e, busy: t, onToggle: n, tip: r }) {a.current?.matches(":focus-visible") || f();},children: [- /* @__PURE__ */ (0, F.jsx)(gQ, { name: "rss" }),+ /* @__PURE__ */ (0, F.jsx)(_Q, { name: "rss" }),/* @__PURE__ */ (0, F.jsx)("input", {ref: a,type: "checkbox",@@ -62042,29 +62222,29 @@ function QCe({ following: e, busy: t, onToggle: n, tip: r }) {});}// src/react/entity-hero/name-picker.tsx-function $Ce({ current: e, choices: t, onChoose: n, onAddAlias: r }) {+function wwe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let [i, a] = (0, P.useState)(!1), o = (0, P.useRef)(null);return (0, P.useEffect)(() => {o.current?.setAttribute("title", "名字与别名");- }, []), /* @__PURE__ */ (0, F.jsxs)(cde, {+ }, []), /* @__PURE__ */ (0, F.jsxs)(kde, {isOpen: i,onOpenChange: a,- children: [/* @__PURE__ */ (0, F.jsx)(DI, {+ children: [/* @__PURE__ */ (0, F.jsx)(NI, {ref: o,"data-namepick-toggle": "","aria-label": "名字与别名",- children: /* @__PURE__ */ (0, F.jsx)(gQ, { name: "chevron-down" })- }), /* @__PURE__ */ (0, F.jsx)(tR, {+ children: /* @__PURE__ */ (0, F.jsx)(_Q, { name: "chevron-down" })+ }), /* @__PURE__ */ (0, F.jsx)(oR, {placement: "bottom start",offset: 8,containerPadding: 8,- className: YB,+ className: eV,"data-namepick-menu": "",- children: /* @__PURE__ */ (0, F.jsxs)(ude, {+ children: /* @__PURE__ */ (0, F.jsxs)(jde, {"aria-label": "名字与别名","data-namepick-list": "",children: [- /* @__PURE__ */ (0, F.jsx)(lR, {+ /* @__PURE__ */ (0, F.jsx)(mR, {selectionMode: "single",disallowEmptySelection: !0,selectedKeys: [e],@@ -62072,31 +62252,31 @@ function $Ce({ current: e, choices: t, onChoose: n, onAddAlias: r }) {let r = [...t][0];r && r !== e && n(r);},- children: t.map((e) => /* @__PURE__ */ (0, F.jsxs)(dR, {+ children: t.map((e) => /* @__PURE__ */ (0, F.jsxs)(gR, {id: e,textValue: e,"data-namepick-name": e,- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]}, e))}),- /* @__PURE__ */ (0, F.jsx)(Gue, { "data-namepick-rule": "" }),- /* @__PURE__ */ (0, F.jsx)(lR, { children: /* @__PURE__ */ (0, F.jsxs)(dR, {+ /* @__PURE__ */ (0, F.jsx)(fde, { "data-namepick-rule": "" }),+ /* @__PURE__ */ (0, F.jsx)(mR, { children: /* @__PURE__ */ (0, F.jsxs)(gR, {id: "alias",textValue: "添加别名","data-namepick-alias": "",onAction: r,- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "plus" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "添加别名…" })]+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "plus" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "添加别名…" })]}) })]})})]});}-var ewe = (e) => e === "studio" || e === "agency", xQ = (e) => e === "performer" || e === "creator", twe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";-function nwe(e) {+var Twe = (e) => e === "studio" || e === "agency", SQ = (e) => e === "performer" || e === "creator", Ewe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";+function Dwe(e) {return [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t);}-function SQ(e) {+function CQ(e) {if (e.agency) return {name: e.agency.canonical_name,linked: !0,@@ -62108,13 +62288,13 @@ function SQ(e) {linked: !1} : null;}-function CQ(e, t) {+function wQ(e, t) {let n = Dn(e, "performer"), r = wn(t);return r && [e.label, n].map(wn).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";}-var wQ = (e) => ({ site: bn(e) });-function rwe(e, t) {- let n = SQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({+var TQ = (e) => ({ site: bn(e) });+function Owe(e, t) {+ let n = CQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({type: "icon",url: e.url,title: e.label,@@ -62124,7 +62304,7 @@ function rwe(e, t) {let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";return {type: "gone",- title: `${CQ(e, n)} · ${t}`+ title: `${wQ(e, n)} · ${t}`};}let r = e.url || "";@@ -62132,11 +62312,11 @@ function rwe(e, t) {type: "private",label: e.label || e.hostname || "已记录"};- if (xQ(t) && e.link_kind !== "social") return {+ if (SQ(t) && e.link_kind !== "social") return {type: "icon",url: r,- title: CQ(e, n),- mark: wQ(e)+ title: wQ(e, n),+ mark: TQ(e)};if (e.link_kind === "social") {let t = Cn(r);@@ -62144,7 +62324,7 @@ function rwe(e, t) {type: "icon",url: r,title: e.label || "",- mark: t ? { brand: t } : wQ(e)+ mark: t ? { brand: t } : TQ(e)};}return {@@ -62152,12 +62332,12 @@ function rwe(e, t) {url: r,title: e.label || "",text: Dn(e, t, i),- mark: wQ(e)+ mark: TQ(e)};});- return [...r, ...iwe(a)];+ return [...r, ...kwe(a)];}-function iwe(e) {+function kwe(e) {let t = e.filter((e) => e.type === "private");return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {type: "private",@@ -62165,8 +62345,8 @@ function iwe(e) {sources: t.map((e) => e.label)}];}-var TQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");-function awe(e) {+var EQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");+function Awe(e) {return [["legal_name",@@ -62222,7 +62402,7 @@ function awe(e) {}]}] : []);}-function owe(e) {+function jwe(e) {if (!e) return [];let t = [];e.birth_date && t.push({@@ -62279,14 +62459,14 @@ function owe(e) {tags: e.tags}), t;}-function EQ(e, t = 4) {+function DQ(e, t = 4) {let n = e.length > t + 1 ? t : e.length;return {shown: e.slice(0, n),rest: e.length - n};}-function swe(e) {+function Mwe(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 ? {@@ -62296,7 +62476,7 @@ function swe(e) {} : null;}// src/react/entity-hero/entity-hero-page.tsx-function cwe(e) {+function Nwe(e) {return Xa({id: e.id,hasImage: e.has_image,@@ -62307,8 +62487,8 @@ function cwe(e) {standIn: e.avatar_stand_in});}-function lwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {- let s = xQ(e), c = ewe(e), l = s ? owe(n.profile) : c ? awe(n.company_profile) : [], u = rwe(n, e), d = TQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, P.useRef)(null), m = (0, P.useRef)(null);+function Pwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {+ let s = SQ(e), c = Twe(e), l = s ? jwe(n.profile) : c ? Awe(n.company_profile) : [], u = Owe(n, e), d = EQ(n), f = e === "agency" ? [] : n.related_performers || [], p = (0, P.useRef)(null), m = (0, P.useRef)(null);return (0, P.useEffect)(() => {o.wireScroller(p.current);}, [o, u.length]), (0, P.useEffect)(() => {@@ -62321,7 +62501,7 @@ function lwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-portrait-wrap": "",- children: [/* @__PURE__ */ (0, F.jsx)(uwe, {+ children: [/* @__PURE__ */ (0, F.jsx)(Fwe, {kind: e,name: t,helpers: o,@@ -62329,7 +62509,7 @@ function lwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,company: c}), s && n.id ? /* @__PURE__ */ (0, F.jsx)("span", {"data-avatar-picker": "",- children: /* @__PURE__ */ (0, F.jsx)(JCe, {+ children: /* @__PURE__ */ (0, F.jsx)(ywe, {kind: e,entityId: Number(n.id),name: n.canonical_name || t,@@ -62344,13 +62524,13 @@ function lwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,"data-entity-title": "",children: [/* @__PURE__ */ (0, F.jsx)("h2", { children: n.canonical_name }),- e === "tag" ? null : /* @__PURE__ */ (0, F.jsx)($Ce, {+ e === "tag" ? null : /* @__PURE__ */ (0, F.jsx)(wwe, {current: n.canonical_name,- choices: nwe(n),+ choices: Dwe(n),onChoose: a.chooseName,onAddAlias: a.addAlias}),- n.id ? /* @__PURE__ */ (0, F.jsx)(Xz, { item: {+ n.id ? /* @__PURE__ */ (0, F.jsx)(tB, { item: {entity_id: Number(n.id),kind: e,name: n.canonical_name || t,@@ -62358,7 +62538,7 @@ function lwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,} }) : null]}),- /* @__PURE__ */ (0, F.jsx)(dwe, {+ /* @__PURE__ */ (0, F.jsx)(Iwe, {kind: e,entity: n,actions: a@@ -62379,14 +62559,14 @@ function lwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,u.length ? /* @__PURE__ */ (0, F.jsx)("div", {ref: p,"data-entity-links": "",- children: u.map((e, t) => /* @__PURE__ */ (0, F.jsx)(_we, { link: e }, t))+ children: u.map((e, t) => /* @__PURE__ */ (0, F.jsx)(Hwe, { link: e }, t))}) : null,- d.length || n.feed ? /* @__PURE__ */ (0, F.jsx)(vwe, {+ d.length || n.feed ? /* @__PURE__ */ (0, F.jsx)(Uwe, {entity: n,actions: a,helpers: o}) : null,- n.follow?.held.length ? /* @__PURE__ */ (0, F.jsx)(mwe, {+ n.follow?.held.length ? /* @__PURE__ */ (0, F.jsx)(zwe, {follow: n.follow,entity: n,actions: a@@ -62395,11 +62575,11 @@ function lwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}),l.length ? /* @__PURE__ */ (0, F.jsx)("dl", {"data-entity-facts": "",- children: l.map((e) => /* @__PURE__ */ (0, F.jsx)(hwe, {+ children: l.map((e) => /* @__PURE__ */ (0, F.jsx)(Bwe, {glyph: e.glyph,label: e.label,clip: e.clip,- children: e.tags ? /* @__PURE__ */ (0, F.jsx)(gwe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {+ children: e.tags ? /* @__PURE__ */ (0, F.jsx)(Vwe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,children: [t ? " " : "", e.text]}, t))@@ -62418,7 +62598,7 @@ function lwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,onClick: () => a.openEntity("performer", e.k),children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-hero-ring": "",- dangerouslySetInnerHTML: { __html: `<span>${z(Fn(e.k))}</span>${cwe(e)}` }+ dangerouslySetInnerHTML: { __html: `<span>${z(Fn(e.k))}</span>${Nwe(e)}` }}), /* @__PURE__ */ (0, F.jsx)("span", {"data-hero-costar-name": "",children: e.k@@ -62426,14 +62606,14 @@ function lwe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,}, e.k))})}) : null]- }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hQ, {+ }), i ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(gQ, {feedNew: r,host: i,wire: o.wireFeedRow,act: (e, t) => a.feedAction(e, t)}), i) : null] });}-function uwe({ kind: e, name: t, helpers: n, people: r, company: i }) {+function Fwe({ kind: e, name: t, helpers: n, people: r, company: i }) {let [a] = (0, P.useState)(() => `${n.portraitImg()}<span>${z(Fn(t))}</span>`);return /* @__PURE__ */ (0, F.jsx)("div", {"data-entity-portrait": r ? "round" : "square",@@ -62442,8 +62622,8 @@ function uwe({ kind: e, name: t, helpers: n, people: r, company: i }) {dangerouslySetInnerHTML: { __html: a }});}-function dwe({ kind: e, entity: t, actions: n }) {- let r = SQ(t), i = (e, t) => (r) => {+function Iwe({ kind: e, entity: t, actions: n }) {+ let r = CQ(t), i = (e, t) => (r) => {r.preventDefault(), n.openEntity(e, t);}, a = r ? r.linked ? /* @__PURE__ */ (0, F.jsx)("a", {href: hn("agency", r.name, r.id),@@ -62452,44 +62632,44 @@ function dwe({ kind: e, entity: t, actions: n }) {children: r.name}) : r.name : null, o = /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });if (e === "performer" || e === "creator") {- let e = swe(t.name_groups);+ let e = Mwe(t.name_groups);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-alias": "meta",children: [- /* @__PURE__ */ (0, F.jsx)(DQ, { entity: t }),+ /* @__PURE__ */ (0, F.jsx)(OQ, { entity: t }),/* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, F.jsx)("span", { children: o })]+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "film" }), /* @__PURE__ */ (0, F.jsx)("span", { children: o })]}),- t.follow?.key ? /* @__PURE__ */ (0, F.jsx)(pwe, {+ t.follow?.key ? /* @__PURE__ */ (0, F.jsx)(Rwe, {follow: t.follow,actions: n}) : null,a ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]}) : null,e ? /* @__PURE__ */ (0, F.jsxs)("div", {"data-meta-item": "names",children: [- /* @__PURE__ */ (0, F.jsx)(gQ, { name: "id-card" }),+ /* @__PURE__ */ (0, F.jsx)(_Q, { name: "id-card" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-alias-names": "",title: "别名",children: e.names.map((e, t) => /* @__PURE__ */ (0, F.jsx)("span", {- lang: hF(e),+ lang: pF(e),children: e}, t))}),- e.rest > 0 ? /* @__PURE__ */ (0, F.jsx)(bQ, {+ e.rest > 0 ? /* @__PURE__ */ (0, F.jsx)(xQ, {id: "entityAliasPop",hook: "alias",rest: e.rest,label: `另外 ${e.rest.toLocaleString()} 个别名`,heading: `${e.total.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, F.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, F.jsx)(OQ, {+ children: /* @__PURE__ */ (0, F.jsx)("dl", { children: (t.name_groups?.groups || []).map((e, t) => /* @__PURE__ */ (0, F.jsx)(kQ, {label: e.label,names: e.names}, t)) })@@ -62511,61 +62691,61 @@ function dwe({ kind: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entity-alias": "meta",children: [- e === "creator" ? /* @__PURE__ */ (0, F.jsx)(DQ, { entity: t }) : null,+ e === "creator" ? /* @__PURE__ */ (0, F.jsx)(OQ, { entity: t }) : null,/* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "视频",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [o, c] })]+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "film" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [o, c] })]}),a ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "事务所",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "briefcase" }), /* @__PURE__ */ (0, F.jsx)("span", { children: a })]}) : null,l ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "",title: "片商",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "clapperboard" }), /* @__PURE__ */ (0, F.jsx)("a", {+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "clapperboard" }), /* @__PURE__ */ (0, F.jsx)("a", {href: hn("studio", l.name, l.id),"data-studio-link": l.name,onClick: i("studio", l.name),children: l.name})]}) : null,- s.length ? /* @__PURE__ */ (0, F.jsx)(fwe, { aliases: s }) : null+ s.length ? /* @__PURE__ */ (0, F.jsx)(Lwe, { aliases: s }) : null]});}-function fwe({ aliases: e }) {- let { shown: t, rest: n } = EQ(e, 3);+function Lwe({ aliases: e }) {+ let { shown: t, rest: n } = DQ(e, 3);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-meta-item": "names","data-company-names": "",children: [- /* @__PURE__ */ (0, F.jsx)(gQ, { name: "id-card" }),+ /* @__PURE__ */ (0, F.jsx)(_Q, { name: "id-card" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-alias-names": "",title: "别名",children: t.map((e, t) => /* @__PURE__ */ (0, F.jsx)("span", { children: e }, t))}),- n ? /* @__PURE__ */ (0, F.jsx)(bQ, {+ n ? /* @__PURE__ */ (0, F.jsx)(xQ, {id: "entityAliasPop",hook: "alias",rest: n,label: `另外 ${n.toLocaleString()} 个别名`,heading: `${e.length.toLocaleString()} 个别名`,- children: /* @__PURE__ */ (0, F.jsx)("dl", { children: /* @__PURE__ */ (0, F.jsx)(OQ, { names: e.map((e) => ({ name: e })) }) })+ children: /* @__PURE__ */ (0, F.jsx)("dl", { children: /* @__PURE__ */ (0, F.jsx)(kQ, { names: e.map((e) => ({ name: e })) }) })}) : null]});}-function pwe({ follow: e, actions: t }) {+function Rwe({ follow: e, actions: t }) {let n = e.providers.join(" · ");return /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "","data-entity-follow": "",title: n ? `关注 · ${n}` : "关注",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "rss" }), /* @__PURE__ */ (0, F.jsxs)("a", {+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "rss" }), /* @__PURE__ */ (0, F.jsxs)("a", {href: "?media=online",onClick: (n) => {n.preventDefault(), t.openFollowAuthor(e.key);@@ -62574,7 +62754,7 @@ function pwe({ follow: e, actions: t }) {})]});}-function mwe({ follow: e, entity: t, actions: n }) {+function zwe({ follow: e, entity: t, actions: n }) {let [r, i] = (0, P.useState)(""), a = async (e, t) => {if (!r) {i(e);@@ -62588,12 +62768,12 @@ function mwe({ follow: e, entity: t, actions: n }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-entity-held": "",className: "flex flex-col gap-2",- children: e.held.map((e) => /* @__PURE__ */ (0, F.jsxs)(Nz, {+ children: e.held.map((e) => /* @__PURE__ */ (0, F.jsxs)(Rz, {tone: "info",title: `关注里有同名作者 ${e.name}`,action: /* @__PURE__ */ (0, F.jsx)(q, {size: "small",- ...Rz(r === e.key),+ ...Uz(r === e.key),onClick: () => {a(e.key, e.name);},@@ -62608,37 +62788,37 @@ function mwe({ follow: e, entity: t, actions: n }) {}, e.key))});}-function DQ({ entity: e }) {+function OQ({ entity: e }) {return e.identity_labels?.length ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-meta-item": "classification","data-identity-classification": "",- children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.identity_labels.join(" · ") })]+ children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: "user-round" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.identity_labels.join(" · ") })]}) : null;}-function OQ({ label: e, names: t }) {+function kQ({ label: e, names: t }) {return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, F.jsx)("dd", {"data-wide": e ? void 0 : "",children: t.map((e, t) => /* @__PURE__ */ (0, F.jsxs)("span", {"data-pop-name": "",- lang: hF(e.name),+ lang: pF(e.name),children: [e.name, e.reading ? /* @__PURE__ */ (0, F.jsx)("small", { children: e.reading }) : null]}, t))})] });}-function hwe({ glyph: e, label: t, clip: n, children: r }) {- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("dt", { children: [/* @__PURE__ */ (0, F.jsx)(gQ, { name: e }), t] }), /* @__PURE__ */ (0, F.jsx)("dd", {+function Bwe({ glyph: e, label: t, clip: n, children: r }) {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("dt", { children: [/* @__PURE__ */ (0, F.jsx)(_Q, { name: e }), t] }), /* @__PURE__ */ (0, F.jsx)("dd", {"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,title: n,children: r})] });}-function gwe({ tags: e }) {- let { shown: t, rest: n } = EQ(e);+function Vwe({ tags: e }) {+ let { shown: t, rest: n } = DQ(e);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, F.jsx)("span", {"data-fact-tag": "",title: e,children: e- }, e)), n ? /* @__PURE__ */ (0, F.jsx)(bQ, {+ }, e)), n ? /* @__PURE__ */ (0, F.jsx)(xQ, {id: "entityTagPop",hook: "fact",rest: n,@@ -62654,10 +62834,10 @@ function gwe({ tags: e }) {})}) : null] });}-function kQ({ mark: e }) {+function AQ({ mark: e }) {if ("brand" in e) return /* @__PURE__ */ (0, F.jsx)("span", {"data-link-icon": "brand",- children: /* @__PURE__ */ (0, F.jsx)(gQ, { name: e.brand })+ children: /* @__PURE__ */ (0, F.jsx)(_Q, { name: e.brand })});let t = R("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");return /* @__PURE__ */ (0, F.jsx)("span", {@@ -62665,7 +62845,7 @@ function kQ({ mark: e }) {dangerouslySetInnerHTML: { __html: t }});}-function _we({ link: e }) {+function Hwe({ link: e }) {switch (e.type) {case "icon": return /* @__PURE__ */ (0, F.jsx)("a", {"data-link": "icon",@@ -62674,19 +62854,19 @@ function _we({ link: e }) {rel: "noopener noreferrer",title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, F.jsx)(kQ, { mark: e.mark })+ children: /* @__PURE__ */ (0, F.jsx)(AQ, { mark: e.mark })});case "gone": return /* @__PURE__ */ (0, F.jsx)("span", {"data-link": "gone",tabIndex: 0,title: e.title,"aria-label": e.title,- children: /* @__PURE__ */ (0, F.jsx)(kQ, { mark: { globe: !0 } })+ children: /* @__PURE__ */ (0, F.jsx)(AQ, { mark: { globe: !0 } })});case "private": return /* @__PURE__ */ (0, F.jsxs)("span", {"data-link": "private",title: e.sources ? e.sources.join("\n") : e.label,- children: [/* @__PURE__ */ (0, F.jsx)(kQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(AQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, F.jsx)("span", {"data-link-label": "",children: e.sources ? e.label : `来源 · ${e.label}`})]@@ -62698,7 +62878,7 @@ function _we({ link: e }) {rel: "noopener noreferrer",title: e.title,children: [- /* @__PURE__ */ (0, F.jsx)(kQ, { mark: e.mark }),+ /* @__PURE__ */ (0, F.jsx)(AQ, { mark: e.mark }),/* @__PURE__ */ (0, F.jsx)("span", {"data-link-label": "",children: e.text@@ -62713,7 +62893,7 @@ function _we({ link: e }) {});}}-function vwe({ entity: e, actions: t, helpers: n }) {+function Uwe({ entity: e, actions: t, helpers: n }) {let [r, i] = (0, P.useState)(!!e.feed?.following), [a, o] = (0, P.useState)(!1), s = (0, P.useRef)(!1), c = async (e) => {if (s.current) return !1;s.current = !0, o(!0);@@ -62731,33 +62911,33 @@ function vwe({ entity: e, actions: t, helpers: n }) {};return /* @__PURE__ */ (0, F.jsxs)("div", {"data-entry-marks": "",- children: [TQ(e).map((e, t) => /* @__PURE__ */ (0, F.jsxs)("a", {+ children: [EQ(e).map((e, t) => /* @__PURE__ */ (0, F.jsxs)("a", {"data-entry-mark": "",href: e.url,target: "_blank",rel: "noopener noreferrer",title: e.label,"aria-label": e.label,- children: [e.mark ? /* @__PURE__ */ (0, F.jsx)(gQ, { name: e.mark }) : /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [e.mark ? /* @__PURE__ */ (0, F.jsx)(_Q, { name: e.mark }) : /* @__PURE__ */ (0, F.jsxs)("span", {"data-missav-mark": "",children: [/* @__PURE__ */ (0, F.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "AV" })]}), e.ordinal ? /* @__PURE__ */ (0, F.jsx)("span", {"data-entry-ordinal": "",children: e.ordinal}) : null]- }, t)), e.feed ? /* @__PURE__ */ (0, F.jsx)(QCe, {+ }, t)), e.feed ? /* @__PURE__ */ (0, F.jsx)(Cwe, {following: r,busy: a,onToggle: (e) => {l(e);},- tip: twe(r)+ tip: Ewe(r)}) : null]});}// src/react/entity-page/use-entity-online.ts-var ywe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;-function bwe(e, t, n) {+var Wwe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;+function Gwe(e, t, n) {let [r, i] = (0, P.useState)(() => Qi(e));r.author !== e && i(Qi(e));let [a, o] = (0, P.useState)({@@ -62836,7 +63016,7 @@ function bwe(e, t, n) {onlineMedia: (e) => c(e),onlineShuffle: () => T({sort: Fi,- seed: ywe()+ seed: Wwe()}),onlineImagesOnly: (e) => n.setImagesOnly(e),onlineStatus: (e) => T({ status: e }),@@ -62866,7 +63046,7 @@ function bwe(e, t, n) {};}// src/react/entity-page/entity-page-view.tsx-function xwe(e) {+function Kwe(e) {let { kind: t, name: n } = e, r = Pt(HX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {kind: t,name: a@@ -62885,17 +63065,17 @@ function xwe(e) {s,o?.kind,o?.name- ]), r.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+ ]), r.isError ? /* @__PURE__ */ (0, F.jsx)(GW, {message: Wn(r.error),onRetry: () => {r.refetch();}- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, F.jsx)(wwe, {+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, F.jsx)(Ywe, {...e,entity: r.data});}-function AQ(e) {+function jQ(e) {let [t, n] = (0, P.useState)({key: e,n: 1@@ -62907,22 +63087,22 @@ function AQ(e) {};return n(r), r.n;}-var Swe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);-function Cwe(e, t) {+var qwe = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);+function Jwe(e, t) {return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;}-function wwe(e) {+function Ywe(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 = It(UX(t, n, 0, "")).data?.pages[0], p = f && !f.error ? f : null, m = p ? (p.total || 0) + (p.sample_total || 0) : 0, h = (p?.total || 0) > 0 || WX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {media: "online",set: 0} : FX, [y, b] = (0, P.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, P.useState)(x);S !== x && (C(x), b("videos"));- let w = l && y === "people" && u.length ? "people" : v.media, T = bwe(g, w === "online", {+ let w = l && y === "people" && u.length ? "people" : v.media, T = Gwe(g, w === "online", {photoLayout: e.photoLayout,photoLayouts: e.photoLayouts,imagesOnly: e.followImagesOnly,setImagesOnly: e.follow.actions.setImagesOnly- }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, P.useState)(0), k = VX(e), A = Pt(k), j = AQ(JSON.stringify([k.queryKey, D])), [M] = (0, P.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));+ }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, P.useState)(0), k = VX(e), A = Pt(k), j = jQ(JSON.stringify([k.queryKey, D])), [M] = (0, P.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));(0, P.useLayoutEffect)(() => {s.javContext(M);}, [s, M]);@@ -62935,7 +63115,7 @@ function wwe(e) {}, ne = (0, P.useCallback)((e, r, a) => BX(t, n, i, te, e, r, a), [j]), [N, re] = (0, P.useState)({}), ie = v.set, ae = N[ie] || "", oe = It({...UX(t, n, ie, ae),enabled: w === "photos"- }), se = oe.data?.pages[0], ce = AQ(JSON.stringify(LX(t, n, ie, ae))), le = (0, P.useMemo)(() => {+ }), se = oe.data?.pages[0], ce = jQ(JSON.stringify(LX(t, n, ie, ae))), le = (0, P.useMemo)(() => {let e = oe.data?.pages;if (!e?.[0] || e[0].error) return null;let t = e[0];@@ -63135,7 +63315,7 @@ function wwe(e) {await H.fetchQuery(a).catch(() => null);return;}- let r = Swe(), a = await H.fetchInfiniteQuery(UX(t, n, ie, r)).catch(() => null);+ let r = qwe(), a = await H.fetchInfiniteQuery(UX(t, n, ie, r)).catch(() => null);he.current && a?.pages[0] && !a.pages[0].error && re((e) => ({...e,[ie]: r@@ -63170,7 +63350,7 @@ function wwe(e) {k: e.k,label: Nl(e.k),n: e.n,- selected: iSe(i.tag, e.k)+ selected: ASe(i.tag, e.k)})), Te = [u.length,!_,@@ -63212,7 +63392,7 @@ function wwe(e) {Pe = !A.data;let e = RX(i.tag).length;Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;- } else se && !se.error ? Ne = De ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : Cwe(se, WX(se).length) : Pe = oe.isPending;+ } else se && !se.error ? Ne = De ? `${se.title} · ${(se.total || 0).toLocaleString()} 张` : Jwe(se, WX(se).length) : Pe = oe.isPending;let Fe = (0, P.useMemo)(() => ({...e.card.actions,loadMorePhotos: async () => {@@ -63229,7 +63409,7 @@ function wwe(e) {u]);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(lwe, {+ /* @__PURE__ */ (0, F.jsx)(Pwe, {kind: t,name: n,entity: r,@@ -63239,7 +63419,7 @@ function wwe(e) {actions: be,helpers: xe}, D),- (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(f_e, {+ (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hW, {kind: t,name: n,view: w,@@ -63256,9 +63436,9 @@ function wwe(e) {actions: Se,helpers: Ce}), c.filter),- (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Qge, {+ (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(y_e, {enabled: w === "videos",- children: w === "online" ? /* @__PURE__ */ (0, F.jsx)(_Ce, {+ children: w === "online" ? /* @__PURE__ */ (0, F.jsx)(UCe, {view: T.view,media: T.media,result: T.result,@@ -63272,16 +63452,16 @@ function wwe(e) {actions: e.follow.actions,canLoadMore: e.canLoadMore,clearFilters: T.clearFilters- }, T.key) : w === "videos" && A.isError ? /* @__PURE__ */ (0, F.jsx)(jW, {+ }, T.key) : w === "videos" && A.isError ? /* @__PURE__ */ (0, F.jsx)(GW, {message: Wn(A.error),onRetry: () => {A.refetch();}- }) : je ? /* @__PURE__ */ (0, F.jsx)(Twe, {+ }) : je ? /* @__PURE__ */ (0, F.jsx)(Xwe, {filtered: Ae,onShowAll: Me,onOnline: g ? () => Se.setView("online") : void 0- }) : /* @__PURE__ */ (0, F.jsx)(LSe, {+ }) : /* @__PURE__ */ (0, F.jsx)(lCe, {kind: t,name: n,view: w,@@ -63313,9 +63493,9 @@ function wwe(e) {}), c.body)] });}-function Twe({ filtered: e, onShowAll: t, onOnline: n }) {- return e ? /* @__PURE__ */ (0, F.jsx)(Pz, {- icon: Iz("search"),+function Xwe({ filtered: e, onShowAll: t, onOnline: n }) {+ return e ? /* @__PURE__ */ (0, F.jsx)(zz, {+ icon: Vz("search"),title: "没有符合条件的视频",actions: /* @__PURE__ */ (0, F.jsx)(q, {size: "small",@@ -63323,14 +63503,14 @@ function Twe({ filtered: e, onShowAll: t, onOnline: n }) {children: "清除筛选"}),children: "清除筛选后查看名下全部视频。"- }) : /* @__PURE__ */ (0, F.jsx)(Pz, {- icon: Iz("film"),+ }) : /* @__PURE__ */ (0, F.jsx)(zz, {+ icon: Vz("film"),title: "还没有视频",actions: n ? /* @__PURE__ */ (0, F.jsx)(q, {size: "small",onClick: n,children: "查看在线作品"- }) : /* @__PURE__ */ (0, F.jsx)(iI, {+ }) : /* @__PURE__ */ (0, F.jsx)(pI, {size: "small",href: "/",children: "浏览馆藏"@@ -63339,20 +63519,20 @@ function Twe({ filtered: e, onShowAll: t, onOnline: n }) {});}// src/react/diagnostics/diagnostics.ts-var jQ = ["diagnostics"], MQ = (e) => B("/api/diagnostics", e);-async function Ewe(e) {+var MQ = ["diagnostics"], NQ = (e) => B("/api/diagnostics", e);+async function Zwe(e) {await H.fetchQuery({- queryKey: jQ,- queryFn: () => MQ(e),+ queryKey: MQ,+ queryFn: () => NQ(e),staleTime: 1e4});}// src/react/feed-new/feed-new-page.tsx-function Dwe({ host: e, revision: t, helpers: n, actions: r }) {+function Qwe({ host: e, revision: t, helpers: n, actions: r }) {let i = Pt(MX(null, n.feedRowHtml)), a = (0, P.useRef)(t);return (0, P.useEffect)(() => {a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: jX(null) }));- }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(hQ, {+ }, [t]), (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(gQ, {feedNew: i.data ?? null,host: e,wire: n.wireFeedRow,@@ -63361,8 +63541,8 @@ function Dwe({ host: e, revision: t, helpers: n, actions: r }) {}), e);}// src/react/index/index-search.tsx-var Owe = Iz("search");-function NQ({ label: e, value: t, onQuery: n }) {+var $we = Vz("search");+function PQ({ label: e, value: t, onQuery: n }) {let [r, i] = (0, P.useState)(t), a = (0, P.useRef)(!1), o = (0, P.useRef)(void 0);(0, P.useEffect)(() => {clearTimeout(o.current), i(t);@@ -63379,15 +63559,15 @@ function NQ({ label: e, value: t, onQuery: n }) {onCompositionEnd: (e) => {a.current = !1, s(e.target.value);},- children: /* @__PURE__ */ (0, F.jsx)(Dz, {+ children: /* @__PURE__ */ (0, F.jsx)(Mz, {"aria-label": e,value: r,onChange: (e) => {i(e), a.current || s(e);},- children: /* @__PURE__ */ (0, F.jsx)(kz, {+ children: /* @__PURE__ */ (0, F.jsx)(Pz, {type: "search",- leadingIcon: Owe,+ leadingIcon: $we,spellCheck: !1,autoComplete: "off",enterKeyHint: "search",@@ -63399,7 +63579,7 @@ function NQ({ label: e, value: t, onQuery: n }) {});}// src/react/index/tag-pagination.ts-function PQ(e) {+function FQ(e) {let [t, n] = (0, P.useState)({filter: e,pageIndex: 0,@@ -63416,7 +63596,7 @@ function PQ(e) {}), [e])};}-function FQ(e, t, n) {+function IQ(e, t, n) {let { pageIndex: r, pageSize: i } = t;(0, P.useEffect)(() => {if (e === void 0) return;@@ -63433,16 +63613,16 @@ function FQ(e, t, n) {]);}// src/react/components/board-tabs.tsx-function IQ({ value: e }) {+function LQ({ value: e }) {return /* @__PURE__ */ (0, F.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 kwe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";-function LQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {- let a = (0, P.useRef)(null), o = GF(a);+var eTe = "relative flex flex-none cursor-pointer items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular text-text-secondary outline-none focus-visible:outline-2 focus-visible:-outline-offset-3 focus-visible:outline-border-focus-ring hover:text-text-primary aria-selected:bg-background-tertiary-default aria-selected:text-text-primary max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular";+function RQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {+ let a = (0, P.useRef)(null), o = eI(a);return (0, P.useLayoutEffect)(() => {let e = a.current;e && (() => {@@ -63451,7 +63631,7 @@ function LQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"let n = t.offsetLeft, r = n + t.offsetWidth;n < e.scrollLeft ? e.scrollLeft = n : r > e.scrollLeft + e.clientWidth && (e.scrollLeft = r - e.clientWidth);})();- }, [t]), /* @__PURE__ */ (0, F.jsx)(dF, {+ }, [t]), /* @__PURE__ */ (0, F.jsx)(lF, {ref: o,role: "tablist","aria-label": n,@@ -63466,7 +63646,7 @@ function LQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"},className: `relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0 ${i}`,children: e.map((e) => {- let n = e.symbol ? Iz(e.symbol) : null, i = e.value === t;+ let n = e.symbol ? Vz(e.symbol) : null, i = e.value === t;return /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",role: "tab",@@ -63475,7 +63655,7 @@ function LQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5""data-pill-selected": i ? "" : void 0,"data-pill-variant": "gray",tabIndex: i ? 0 : -1,- className: kwe,+ className: eTe,onClick: () => {i || r(e.value);},@@ -63485,11 +63665,11 @@ function LQ({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"});}// src/react/index/index-tags.tsx-var RQ = () => /* @__PURE__ */ (0, F.jsx)("span", {+var zQ = () => /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,"data-tag-dot": "",className: "size-1.75 flex-none rounded-full"-}), zQ = Iz("pencil"), BQ = (e, t) => ({+}), BQ = Vz("pencil"), VQ = (e, t) => ({kind: "tag",name: e.k,favorite: e.favorite,@@ -63498,7 +63678,7 @@ var RQ = () => /* @__PURE__ */ (0, F.jsx)("span", {tag_id: e.id || e.k} : { entity_id: e.entity_id }});-function Awe({ tag: e, actions: t }) {+function tTe({ tag: e, actions: t }) {let n = t.picked.has(e.k);return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 items-center gap-1",@@ -63513,7 +63693,7 @@ function Awe({ tag: e, actions: t }) {onClick: () => t.press(e.k),className: "flex h-9 min-w-0 flex-1 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, F.jsx)(RQ, {}),+ /* @__PURE__ */ (0, F.jsx)(zQ, {}),/* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 flex-1 truncate",children: e.label@@ -63524,32 +63704,32 @@ function Awe({ tag: e, actions: t }) {})]}),- t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(Xz, { item: BQ(e, t.online) }),- t.edit ? /* @__PURE__ */ (0, F.jsx)(Yz, {+ t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(tB, { item: VQ(e, t.online) }),+ t.edit ? /* @__PURE__ */ (0, F.jsx)(eB, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, F.jsx)(zQ, {})+ children: /* @__PURE__ */ (0, F.jsx)(BQ, {})}) : null]});}-function VQ({ groups: e, actions: t }) {+function HQ({ groups: e, actions: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-alphabet": "",className: "flex flex-col gap-4",children: e.map(([e, n], r) => /* @__PURE__ */ (0, F.jsxs)("section", {"data-alpha-group": r,- className: RH({+ className: UH({radius: "plain",padding: "none",className: "px-5 pt-4 pb-3"}),children: [/* @__PURE__ */ (0, F.jsxs)("h3", {className: "mb-2 flex items-center text-title-2-medium text-text-primary",- children: [e, /* @__PURE__ */ (0, F.jsx)(IQ, { value: n.length })]+ children: [e, /* @__PURE__ */ (0, F.jsx)(LQ, { value: n.length })]}), /* @__PURE__ */ (0, F.jsx)("div", {className: "index-tag-list gap-x-4 gap-y-0.5",- children: n.map((e) => /* @__PURE__ */ (0, F.jsx)(Awe, {+ children: n.map((e) => /* @__PURE__ */ (0, F.jsx)(tTe, {tag: e,actions: t}, e.k))@@ -63557,8 +63737,8 @@ function VQ({ groups: e, actions: t }) {}, e))});}-var jwe = "\xA0";-function HQ({ tags: e, actions: t }) {+var nTe = "\xA0";+function UQ({ tags: e, actions: t }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-tag-cloud": "",className: "flex flex-wrap gap-1.75",@@ -63576,7 +63756,7 @@ function HQ({ tags: e, actions: t }) {className: "inline-flex max-w-full min-w-0 cursor-pointer items-center rounded-lg px-2 py-0.5 text-body-2-regular text-text-secondary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "min-w-0 truncate",- children: e.label + jwe+ children: e.label + nTe}), /* @__PURE__ */ (0, F.jsx)("span", {"data-tag-n": "",className: "text-caption-1-regular opacity-60",@@ -63585,16 +63765,16 @@ function HQ({ tags: e, actions: t }) {}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-tag-actions": "",className: "inline-flex flex-none items-center gap-1",- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(Xz, { item: BQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, F.jsx)(Yz, {+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, F.jsx)(tB, { item: VQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, F.jsx)(eB, {label: `编辑标签 ${e.label}`,onClick: () => t.edit?.(e.k),- children: /* @__PURE__ */ (0, F.jsx)(zQ, {})+ children: /* @__PURE__ */ (0, F.jsx)(BQ, {})}) : null]}) : null]}, e.k))});}-var Mwe = [[+var rTe = [["cloud","标签云","tags"@@ -63603,34 +63783,34 @@ var Mwe = [["字母表","text-aa"]];-function UQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {- let d = GF();- return /* @__PURE__ */ (0, F.jsx)(YF, {+function WQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {+ let d = eI();+ return /* @__PURE__ */ (0, F.jsx)(iI, {label: "标签筛选",topLabel: "标签类型",top: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [l ? /* @__PURE__ */ (0, F.jsxs)("div", {role: "group","aria-label": "标签状态",className: "flex flex-none items-center gap-1.75 border-r border-(--glass-low) pr-3",- children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(ZF, {+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, F.jsx)(oI, {"data-tag-pill": "","data-tag-cat": "all",pressed: !l.blocked && l.hidden === e,onPress: () => l.onChange(!!e),children: t- }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, F.jsx)(ZF, {+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, F.jsx)(oI, {"data-tag-pill": "","data-tag-cat": "all",pressed: !!l.blocked,onPress: l.onBlocked,children: "已屏蔽内容"}) : null]- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, F.jsxs)(ZF, {+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, F.jsxs)(oI, {"data-tag-pill": "","data-tag-cat": e === "all" ? "all" : iZ(n, e),pressed: t === e,onPress: () => o(e),- children: [/* @__PURE__ */ (0, F.jsx)(RQ, {}), r]+ children: [/* @__PURE__ */ (0, F.jsx)(zQ, {}), r]}, e))] }),bottom: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {@@ -63651,19 +63831,19 @@ function UQ({ categories: e, category: t, online: n, readout: r, letters: i, viechildren: e}, e))}) : null,- /* @__PURE__ */ (0, F.jsx)(xR, {+ /* @__PURE__ */ (0, F.jsx)(ER, {"aria-label": "标签视图",orientation: "horizontal",value: a,onChange: (e) => c(e),- className: `ml-auto ${FU}`,- children: Mwe.map(([e, t, n]) => {- let r = Iz(n);- return /* @__PURE__ */ (0, F.jsx)(SR, {+ className: `ml-auto ${BU}`,+ children: rTe.map(([e, t, n]) => {+ let r = Vz(n);+ return /* @__PURE__ */ (0, F.jsx)(DR, {value: e,"aria-label": t,"data-glass-segment": "",- className: IU,+ className: VU,children: /* @__PURE__ */ (0, F.jsx)("span", {title: t,className: "contents",@@ -63675,13 +63855,13 @@ function UQ({ categories: e, category: t, online: n, readout: r, letters: i, vie] })});}-function Nwe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {+function iTe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {return /* @__PURE__ */ (0, F.jsxs)(Pk, {visible: e > 0,label: "所选标签操作",count: `已选 ${e.toLocaleString()} 个标签`,children: [- /* @__PURE__ */ (0, F.jsx)(nV, {+ /* @__PURE__ */ (0, F.jsx)(sV, {isSelected: t === "any",onChange: (e) => n(e ? "any" : "all"),children: /* @__PURE__ */ (0, F.jsxs)("span", {@@ -63712,29 +63892,29 @@ function Nwe({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {});}// src/react/toaster.tsx-var WQ = (e, t) => /* @__PURE__ */ (0, F.jsx)("span", {+var GQ = (e, t) => /* @__PURE__ */ (0, F.jsx)("span", {"data-toast-glyph": t ? "draw" : "still","aria-hidden": "true",dangerouslySetInnerHTML: { __html: e }-}), GQ = null, KQ = { "--floating-radius": "var(--radius-2xl)" };-function qQ() {- let e = GQ;- GQ = null, e?.root.unmount();-}-var JQ = (e, t) => {- if (GQ?.host === e) return;- qQ();+}), KQ = null, qQ = { "--floating-radius": "var(--radius-2xl)" };+function JQ() {+ let e = KQ;+ KQ = null, e?.root.unmount();+}+var YQ = (e, t) => {+ if (KQ?.host === e) return;+ JQ();let n = (0, Rt.createRoot)(e);- GQ = {+ KQ = {host: e,root: n- }, n.render(/* @__PURE__ */ (0, F.jsxs)($V, { children: [/* @__PURE__ */ (0, F.jsx)(sH, {+ }, n.render(/* @__PURE__ */ (0, F.jsxs)(iH, { children: [/* @__PURE__ */ (0, F.jsx)(fH, {id: "receipts",position: "bottom-right",closeButton: !0,gap: 8,style: {- ...KQ,+ ...qQ,"--width": "min(560px, calc(100vw - 48px))"},offset: {@@ -63749,16 +63929,16 @@ var JQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭提示" },containerAriaLabel: "通知",icons: {- success: WQ(t.success, !0),- error: WQ(t.error, !1)+ success: GQ(t.success, !0),+ error: GQ(t.error, !1)}- }), /* @__PURE__ */ (0, F.jsx)(sH, {+ }), /* @__PURE__ */ (0, F.jsx)(fH, {id: "processing",position: "bottom-right",gap: 8,expand: !0,style: {- ...KQ,+ ...qQ,"--width": "min(400px, calc(100vw - 32px))"},offset: {@@ -63773,13 +63953,13 @@ var JQ = (e, t) => {toastOptions: { closeButtonAriaLabel: "关闭任务提示" },containerAriaLabel: "后台任务"})] }));-}, Pwe = 6e3, YQ = (e, t) => {+}, aTe = 6e3, XQ = (e, t) => {if (!String(t.html ?? "").trim()) return;- let n = t.alert ? nH.error : nH.success, r = t.action;+ let n = t.alert ? sH.error : sH.success, r = t.action;n(/* @__PURE__ */ (0, F.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {id: e,toasterId: "receipts",- duration: t.timeout > 0 ? t.timeout : Pwe,+ duration: t.timeout > 0 ? t.timeout : aTe,action: r ? {label: r.label,onClick: (e) => {@@ -63787,7 +63967,7 @@ var JQ = (e, t) => {}} : void 0});-}, XQ = (e) => e.id ?? e.entity_id, ZQ = {+}, ZQ = (e) => e.id ?? e.entity_id, QQ = {rename: "重命名标签",merge: "合并标签",hide: "隐藏标签",@@ -63795,26 +63975,26 @@ var JQ = (e, t) => {repair: "整理重复标签",block: "屏蔽内容",unblock: "恢复内容"-}, QQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);-async function $Q(e, t, n) {+}, $Q = (e, t) => V("/api/tag-management/preview", e, "POST", t);+async function e$(e, t, n) {if (n?.aborted) return !1;let r = t.tags.map((e) => `「${e.k}」`).join("、"), i = e.operation === "merge" || e.operation === "repair" ? `合并 ${t.tags.length} 个标签,涉及 ${t.assets} 个资源,重叠关联 ${t.overlap} 个。旧名称保留为别名。此操作无法直接撤销。` : e.operation === "rename" ? `${r}将更名为「${t.name || e.name}」,涉及 ${t.assets} 个资源。旧名称保留为别名。` : e.operation === "block" ? `屏蔽带有${r}任一标签的内容及其其它版本,涉及 ${t.assets} 个资源。可在「已屏蔽内容」中恢复。` : e.operation === "unblock" ? `解除${r}的内容屏蔽,涉及 ${t.assets} 个资源。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;return !(await Hc({- title: ZQ[e.operation],+ title: QQ[e.operation],body: i,- confirmLabel: ZQ[e.operation],+ confirmLabel: QQ[e.operation],onConfirm: () => V("/api/tag-management", {...e,token: t.token}, "POST", n)- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), YQ(`tag-management-${Date.now()}`, {- html: `已${ZQ[e.operation]}`,+ })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), XQ(`tag-management-${Date.now()}`, {+ html: `已${QQ[e.operation]}`,alert: !1,timeout: 6e3,action: null}), !0);}-function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {+function t$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {let a = (0, P.useRef)({operation: e,selected: t,@@ -63823,24 +64003,24 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }scope: i}), o = (0, P.useRef)({name: t[0]?.k || "",- target_id: t[0] ? XQ(t[0]) : 0+ target_id: t[0] ? ZQ(t[0]) : 0}), [s, c] = (0, P.useState)(null);return (0, P.useEffect)(() => {let e = new AbortController(), t = a.current, n = Bc({- title: ZQ[t.operation],+ title: QQ[t.operation],confirmLabel: "预览影响范围",confirmDisabled: !0,body: "<div class=\"peach-react\" data-tag-editor-fields></div>",onConfirm: async () => {let n = {operation: t.operation,- ids: t.selected.map(XQ),+ ids: t.selected.map(ZQ),...t.scope === "online" ? { scope: t.scope } : {},...t.operation === "rename" ? { name: o.current.name.trim() } : { target_id: o.current.target_id }};return {command: n,- plan: await QQ(n, e.signal)+ plan: await $Q(n, e.signal)};}});@@ -63851,14 +64031,14 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }if (!e.signal.aborted) {if (n.confirmed) {let r = n.result;- await $Q(r.command, r.plan, e.signal) && t.done();+ await e$(r.command, r.plan, e.signal) && t.done();}e.signal.aborted || t.close();}}), () => {e.abort(), n.close();};- }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Fwe, {+ }, []), s ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(oTe, {operation: a.current.operation,selected: a.current.selected,dialog: s.dialog,@@ -63867,8 +64047,8 @@ function e$({ operation: e, selected: t, close: n, done: r, scope: i = "local" }}}), s.host) : null;}-function Fwe({ operation: e, selected: t, dialog: n, update: r }) {- let [i, a] = (0, P.useState)(t[0]?.k || ""), [o, s] = (0, P.useState)(t[0] ? XQ(t[0]) : 0);+function oTe({ operation: e, selected: t, dialog: n, update: r }) {+ let [i, a] = (0, P.useState)(t[0]?.k || ""), [o, s] = (0, P.useState)(t[0] ? ZQ(t[0]) : 0);return (0, P.useEffect)(() => {r({name: i,@@ -63881,7 +64061,7 @@ function Fwe({ operation: e, selected: t, dialog: n, update: r }) {e,t,r- ]), e === "rename" ? /* @__PURE__ */ (0, F.jsx)(Az, {+ ]), e === "rename" ? /* @__PURE__ */ (0, F.jsx)(Fz, {autoFocus: !0,"aria-label": "标签名称",value: i,@@ -63892,17 +64072,17 @@ function Fwe({ operation: e, selected: t, dialog: n, update: r }) {prefix: "保留",selectedKey: String(o),onSelectionChange: (e) => {- let n = t.find((t) => String(XQ(t)) === String(e));- n && s(XQ(n));+ let n = t.find((t) => String(ZQ(t)) === String(e));+ n && s(ZQ(n));},- children: t.map((e) => /* @__PURE__ */ (0, F.jsx)(EU, {- id: String(XQ(e)),+ children: t.map((e) => /* @__PURE__ */ (0, F.jsx)(jU, {+ id: String(ZQ(e)),children: e.k- }, XQ(e)))+ }, ZQ(e)))});}// src/react/index/tag-manager.tsx-function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {+function n$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {let s = o === "online", c = (0, P.useRef)(null), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(t), [p, m] = (0, P.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, P.useState)(!1), [b, x] = (0, P.useState)(!1), S = JSON.stringify([o,_,@@ -63910,7 +64090,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,g,v,b- ]), { pagination: C, onChange: w } = PQ(S), T = new URLSearchParams({+ ]), { pagination: C, onChange: w } = FQ(S), T = new URLSearchParams({limit: String(C.pageSize),offset: String(C.pageIndex * C.pageSize),q: _,@@ -63927,12 +64107,12 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,],queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)});- FQ(E.data?.total, C, w);+ IQ(E.data?.total, C, w);let [D, O] = (0, P.useState)(/* @__PURE__ */ new Map());(0, P.useEffect)(() => {O(/* @__PURE__ */ new Map());}, [S]);- let k = new Set(D.keys()), [A, j] = (0, P.useState)(null), M = EH(), ee = E.data?.items || [], te = ee, ne = (s ? YX : JX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), N = te.map((e) => ({+ let k = new Set(D.keys()), [A, j] = (0, P.useState)(null), M = jH(), ee = E.data?.items || [], te = ee, ne = (s ? YX : JX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), N = te.map((e) => ({...e,label: e.k})), re = g === "alphabet" ? aZ(N, (e) => e) : [], ie = [...D.values()], ae = (e) => {@@ -63941,11 +64121,11 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,...e,scope: o} : e;- return $Q(n, await QQ(n, t), t);+ return e$(n, await $Q(n, t), t);}, (e) => {e && O(/* @__PURE__ */ new Map());});- }, oe = ie.map(XQ), se = {+ }, oe = ie.map(ZQ), se = {online: s,favorites: s,picked: k,@@ -63966,13 +64146,13 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: [e === void 0 ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mb-4 flex",- children: /* @__PURE__ */ (0, F.jsx)(NQ, {+ children: /* @__PURE__ */ (0, F.jsx)(PQ, {label: "过滤标签",value: l,onQuery: u})}) : null,- /* @__PURE__ */ (0, F.jsx)(UQ, {+ /* @__PURE__ */ (0, F.jsx)(WQ, {categories: ne,category: h,online: s,@@ -64000,7 +64180,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,} } : {}},actions: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, F.jsx)($F, {+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, F.jsx)(cI, {busy: M.busy === "repair",onPress: () => ae({operation: "repair",@@ -64008,11 +64188,11 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}),children: "整理重复标签"}) : null,- te.length ? /* @__PURE__ */ (0, F.jsx)($F, {+ te.length ? /* @__PURE__ */ (0, F.jsx)(cI, {onPress: () => O((e) => new Map([...e, ...te.map((e) => [e.k, e])])),children: "选择本页"}) : null,- k.size ? /* @__PURE__ */ (0, F.jsx)($F, {+ k.size ? /* @__PURE__ */ (0, F.jsx)(cI, {onPress: () => O(/* @__PURE__ */ new Map()),children: "清空选择"}) : null@@ -64021,7 +64201,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,E.isPending ? /* @__PURE__ */ (0, F.jsx)("div", { dangerouslySetInnerHTML: { __html: Is({mode: g,pageSize: C.pageSize- }) } }) : E.isError ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ }) } }) : E.isError ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -64029,13 +64209,13 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,children: "立即重试"}),children: "无法读取标签"- }) : te.length ? g === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(VQ, {+ }) : te.length ? g === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(HQ, {groups: re,actions: se- }) : /* @__PURE__ */ (0, F.jsx)(HQ, {+ }) : /* @__PURE__ */ (0, F.jsx)(UQ, {tags: N,actions: se- }) : /* @__PURE__ */ (0, F.jsx)(Nz, {+ }) : /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",children: "没有符合条件的标签。"}),@@ -64051,7 +64231,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,pageSizes: Fs})}) : null,- M.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ M.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: M.error}) : null,@@ -64077,7 +64257,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Rz(!!M.busy),+ ...Uz(!!M.busy),onClick: () => ae({operation: v ? "restore" : "hide",ids: oe@@ -64087,7 +64267,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,s ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Rz(!!M.busy),+ ...Uz(!!M.busy),onClick: () => ae({operation: b ? "unblock" : "block",ids: oe@@ -64096,7 +64276,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,}) : null]}),- A ? /* @__PURE__ */ (0, F.jsx)(e$, {+ A ? /* @__PURE__ */ (0, F.jsx)(t$, {operation: A,selected: ie,scope: o,@@ -64107,7 +64287,7 @@ function t$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,});}// src/react/index/index-page.tsx-var Iwe = [+var sTe = [{value: "studios",label: "厂牌",@@ -64123,7 +64303,7 @@ var Iwe = [label: "系列",symbol: "list"}-], Lwe = [{+], cTe = [{value: "local",label: "本地",symbol: "hard-drive"@@ -64131,7 +64311,7 @@ var Iwe = [value: "online",label: "在线",symbol: "rss"-}], Rwe = [+}], lTe = [{value: "performers",label: "艺人",@@ -64147,7 +64327,7 @@ var Iwe = [label: "在线",symbol: "rss"}-], zwe = {+], uTe = {people: [["big","大图 · 竖幅头像",@@ -64176,20 +64356,20 @@ var Iwe = ["layout-grid"]]};-function Bwe({ kind: e, layout: t, onChange: n }) {- return /* @__PURE__ */ (0, F.jsx)(MU, {+function dTe({ kind: e, layout: t, onChange: n }) {+ return /* @__PURE__ */ (0, F.jsx)(LU, {"aria-label": `${qX[e]}索引版式`,orientation: "horizontal",value: t,onChange: (e) => n(e),"data-index-layout": "",- className: `flex-none ${NU}`,- children: zwe[e === "series" ? "series" : QX(e) ? "company" : "people"].map(([e, t, n]) => {- let r = Iz(n);- return /* @__PURE__ */ (0, F.jsx)(SR, {+ className: `flex-none ${RU}`,+ children: uTe[e === "series" ? "series" : QX(e) ? "company" : "people"].map(([e, t, n]) => {+ let r = Vz(n);+ return /* @__PURE__ */ (0, F.jsx)(DR, {value: e,"aria-label": t,- className: r_e,+ className: w_e,children: /* @__PURE__ */ (0, F.jsx)("span", {title: t,className: "contents",@@ -64199,7 +64379,7 @@ function Bwe({ kind: e, layout: t, onChange: n }) {})});}-function Vwe(e) {+function fTe(e) {let [t, n] = (0, P.useState)(!1), [r, i] = (0, P.useState)(() => $X({kind: e.kind,q: e.q,@@ -64225,7 +64405,7 @@ function Vwe(e) {...t};x(Object.keys(t).every((e) => e === "q")), i(o), e.route(o, { replace: a });- }, { pagination: C, onChange: w } = PQ(JSON.stringify(r)), T = rZ(eZ(r), C.pageSize), E = It({+ }, { pagination: C, onChange: w } = FQ(JSON.stringify(r)), T = rZ(eZ(r), C.pageSize), E = It({queryKey: f === "tags" && (C.pageIndex || C.pageSize !== 100) ? [...T.queryKey,"page",@@ -64240,9 +64420,9 @@ function Vwe(e) {getNextPageParam: f === "tags" ? () => void 0 : T.getNextPageParam,enabled: !(t && f === "tags"),placeholderData: b ? ke : void 0- }), D = ySe(E.data), O = !!E.hasNextPage && !E.isPlaceholderData, k = E.data?.pages[0]?.total;- FQ(f === "tags" && !E.isPlaceholderData ? k : void 0, C, w);- let A = f === "tags" ? E.isPending || E.isError ? "" : `${(k ?? D.length).toLocaleString()} 个标签` : bSe(D.length, !!E.hasNextPage), j = `${f}:${m}:${p}`, M = (0, P.useRef)(null), ee = E.data?.pages[0]?.categories;+ }), D = GSe(E.data), O = !!E.hasNextPage && !E.isPlaceholderData, k = E.data?.pages[0]?.total;+ IQ(f === "tags" && !E.isPlaceholderData ? k : void 0, C, w);+ let A = f === "tags" ? E.isPending || E.isError ? "" : `${(k ?? D.length).toLocaleString()} 个标签` : KSe(D.length, !!E.hasNextPage), j = `${f}:${m}:${p}`, M = (0, P.useRef)(null), ee = E.data?.pages[0]?.categories;ee && !E.isPlaceholderData && (M.current = {key: j,counts: ee@@ -64265,8 +64445,8 @@ function Vwe(e) {v]), ae = (t) => {o(t), e.savePreference({ layout: t });- }, oe = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(LQ, {- tabs: Lwe,+ }, oe = f === "tags" ? /* @__PURE__ */ (0, F.jsx)(RQ, {+ tabs: cTe,value: m,label: "词表",onChange: (e) => {@@ -64276,8 +64456,8 @@ function Vwe(e) {view: e === "online" ? "alphabet" : h});}- }) : QX(f) || f === "series" ? /* @__PURE__ */ (0, F.jsx)(LQ, {- tabs: Iwe,+ }) : QX(f) || f === "series" ? /* @__PURE__ */ (0, F.jsx)(RQ, {+ tabs: sTe,value: f,label: "资料类型",onChange: (e) => S({ kind: e })@@ -64306,18 +64486,18 @@ function Vwe(e) {className: "text-caption-1-regular leading-5 whitespace-nowrap text-text-secondary tabular-nums max-board-narrow:order-1 max-board-narrow:basis-full",children: E.isPending || E.isError ? "" : A}) : null,- ZX(f) ? /* @__PURE__ */ (0, F.jsx)(Bwe, {+ ZX(f) ? /* @__PURE__ */ (0, F.jsx)(dTe, {kind: f,layout: a,onChange: ae}) : null,- /* @__PURE__ */ (0, F.jsx)(Zz, { kind: f === "tags" ? "tag" : f === "series" ? "series" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),+ /* @__PURE__ */ (0, F.jsx)(nB, { kind: f === "tags" ? "tag" : f === "series" ? "series" : f === "studios" ? "studio" : f === "agencies" ? "agency" : f === "creators" ? "creator" : "performer" }),f === "tags" ? /* @__PURE__ */ (0, F.jsx)(q, {variant: t ? "primary" : "ghost",iconOnly: !0,className: "flex-none","data-tag-mode": "",- leadingIcon: Iz("pencil"),+ leadingIcon: Vz("pencil"),"aria-label": t ? "返回标签浏览" : "管理标签",title: t ? "返回标签浏览" : "管理标签","aria-pressed": t,@@ -64325,7 +64505,7 @@ function Vwe(e) {e.exitSelectMode(), c(/* @__PURE__ */ new Set()), n(!t);}}) : null,- /* @__PURE__ */ (0, F.jsx)(NQ, {+ /* @__PURE__ */ (0, F.jsx)(PQ, {label: `过滤${_}`,value: p,onQuery: (e) => {@@ -64334,8 +64514,8 @@ function Vwe(e) {})]}),- f === "performers" || f === "creators" ? /* @__PURE__ */ (0, F.jsx)(LQ, {- tabs: Rwe,+ f === "performers" || f === "creators" ? /* @__PURE__ */ (0, F.jsx)(RQ, {+ tabs: lTe,value: y ? "online" : f,label: "人物名册",onChange: (t) => {@@ -64347,7 +64527,7 @@ function Vwe(e) {}}) : null,oe,- t && f === "tags" ? /* @__PURE__ */ (0, F.jsx)(t$, {+ t && f === "tags" ? /* @__PURE__ */ (0, F.jsx)(n$, {scope: m,search: p,category: g,@@ -64370,7 +64550,7 @@ function Vwe(e) {children: t}, e))}) : null,- f === "tags" ? /* @__PURE__ */ (0, F.jsx)(UQ, {+ f === "tags" ? /* @__PURE__ */ (0, F.jsx)(WQ, {categories: ce,category: g,online: v,@@ -64398,8 +64578,8 @@ function Vwe(e) {mode: h}) }});- if (E.isError) return /* @__PURE__ */ (0, F.jsx)(Pz, {- icon: Iz("alert"),+ if (E.isError) return /* @__PURE__ */ (0, F.jsx)(zz, {+ icon: Vz("alert"),title: `没能读取${_}`,actions: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -64408,7 +64588,7 @@ function Vwe(e) {}),children: tn(E.error)});- if (!D.length) return /* @__PURE__ */ (0, F.jsx)(Uwe, {+ if (!D.length) return /* @__PURE__ */ (0, F.jsx)(mTe, {kind: f,filtered: !!p || g !== "all",online: v || y,@@ -64417,7 +64597,7 @@ function Vwe(e) {category: "all"})});- if (y) return /* @__PURE__ */ (0, F.jsx)(TSe, {+ if (y) return /* @__PURE__ */ (0, F.jsx)(ZSe, {items: D,layout: a,props: e@@ -64433,10 +64613,10 @@ function Vwe(e) {picked: s,press: se};- return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(VQ, {+ return h === "alphabet" ? /* @__PURE__ */ (0, F.jsx)(HQ, {groups: ie,actions: t- }) : /* @__PURE__ */ (0, F.jsx)(HQ, {+ }) : /* @__PURE__ */ (0, F.jsx)(UQ, {tags: re,actions: t});@@ -64469,7 +64649,7 @@ function Vwe(e) {}) : null, "载入更多"]})}) : null,- f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, F.jsx)(Nwe, {+ f === "tags" && !v && e.selectMode ? /* @__PURE__ */ (0, F.jsx)(iTe, {count: s.size,match: l,onMatch: u,@@ -64483,7 +64663,7 @@ function Vwe(e) {]});}-var Hwe = {+var pTe = {tags: "标签",performers: "艺人",creators: "卖家",@@ -64491,9 +64671,9 @@ var Hwe = {agencies: "事务所",series: "系列"};-function Uwe({ kind: e, filtered: t, online: n, onClear: r }) {- if (t) return /* @__PURE__ */ (0, F.jsx)(Pz, {- icon: Iz("search"),+function mTe({ kind: e, filtered: t, online: n, onClear: r }) {+ if (t) return /* @__PURE__ */ (0, F.jsx)(zz, {+ icon: Vz("search"),title: "没有符合条件的内容",actions: /* @__PURE__ */ (0, F.jsx)(q, {size: "small",@@ -64502,16 +64682,16 @@ function Uwe({ kind: e, filtered: t, online: n, onClear: r }) {}),children: "清除筛选或搜索条件后查看全部内容。"});- let i = n && e === "performers" ? "创作者" : Hwe[e], a = /* @__PURE__ */ (0, F.jsx)(iI, {+ let i = n && e === "performers" ? "创作者" : pTe[e], a = /* @__PURE__ */ (0, F.jsx)(pI, {size: "small",variant: n ? "primary" : "secondary",href: "/subscriptions?tab=add",children: "添加关注"});- return /* @__PURE__ */ (0, F.jsx)(Pz, {- icon: Iz(e === "tags" ? "tags" : "user-round"),+ return /* @__PURE__ */ (0, F.jsx)(zz, {+ icon: Vz(e === "tags" ? "tags" : "user-round"),title: `还没有${i}`,- actions: n ? a : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(iI, {+ actions: n ? a : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(pI, {size: "small",href: "/settings/library",children: "添加媒体"@@ -64519,15 +64699,15 @@ function Uwe({ kind: e, filtered: t, online: n, onClear: r }) {children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"});}-var n$ = {+var r$ = {video: ["视频", "play"],image: ["图片", "pics"],archive: ["压缩包", "file-archive"],audio: ["音频", "file-audio"],url: ["网址快捷方式", "globe"],other: ["其它文件", "hard-drive"]-}, Wwe = (e) => n$[e.junk_kind || "other"] || n$.other;-function Gwe(e) {+}, hTe = (e) => r$[e.junk_kind || "other"] || r$.other;+function gTe(e) {return e === "dismissed" ? {operation: "reconsider-junk",label: "重新判断",@@ -64538,40 +64718,40 @@ function Gwe(e) {glyph: "check"};}-var r$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Kwe = (e, t) => [+var i$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), _Te = (e, t) => ["junk-queue",e.view,e.kind,t];-function qwe({ kind: e, view: t }) {+function vTe({ kind: e, view: t }) {let n = new URLSearchParams({limit: "200",status: t});return e && n.set("kind", e), n.toString();}-async function Jwe(e, t) {- let n = await B(`/api/ads?${qwe(e)}`, t);+async function yTe(e, t) {+ let n = await B(`/api/ads?${vTe(e)}`, t);return {...n,items: n.items || []};}// src/react/junk-queue/junk-card.tsx-function i$({ name: e }) {+function a$({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-var a$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;-function Ywe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {- let o = (0, P.useRef)(null), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = e.junk_kind || "other", [f, p] = Wwe(e), m = String(e.name || ""), h = Gwe(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]") || a$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));+var o$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;+function bTe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {+ let o = (0, P.useRef)(null), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = e.junk_kind || "other", [f, p] = hTe(e), m = String(e.name || ""), h = gTe(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]") || o$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));}, y = (t) => {- t.stopPropagation(), a$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);+ t.stopPropagation(), o$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);}, b = (t) => {t.preventDefault(), t.stopPropagation(), s !== "reveal" && (c("reveal"), u(""), a.reveal(e).then(u, () => {}).finally(() => c("")));}, x = (t) => (n) => {@@ -64602,7 +64782,7 @@ function Ywe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"data-junk-kind": d,"data-selected": n ? "" : void 0,onClick: v,- onMouseDown: tG,+ onMouseDown: hG,children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-media-pic": "",@@ -64610,7 +64790,7 @@ function Ywe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [/* @__PURE__ */ (0, F.jsxs)("span", {"data-media-glyph": "",- children: [/* @__PURE__ */ (0, F.jsx)(i$, { name: p }), /* @__PURE__ */ (0, F.jsx)("b", { children: f })]+ children: [/* @__PURE__ */ (0, F.jsx)(a$, { name: p }), /* @__PURE__ */ (0, F.jsx)("b", { children: f })]}),g ? /* @__PURE__ */ (0, F.jsx)("span", {"data-media-art": "thumb",@@ -64622,7 +64802,7 @@ function Ywe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions}),/* @__PURE__ */ (0, F.jsx)("span", {"data-media-check": "",- children: /* @__PURE__ */ (0, F.jsx)(i$, { name: "check" })+ children: /* @__PURE__ */ (0, F.jsx)(a$, { name: "check" })})]}),@@ -64659,7 +64839,7 @@ function Ywe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actionschildren: [s === "reveal" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-spinner": "",dangerouslySetInnerHTML: { __html: xs("正在定位") }- }) : /* @__PURE__ */ (0, F.jsx)(i$, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {+ }) : /* @__PURE__ */ (0, F.jsx)(a$, { name: "folder-open" }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: "打开位置"})]@@ -64671,7 +64851,7 @@ function Ywe({ 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, F.jsx)(i$, { name: h.glyph }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(a$, { name: h.glyph }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: h.label})]@@ -64683,7 +64863,7 @@ function Ywe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions"aria-label": "移入回收站",...S("dispose"),onClick: x("dispose"),- children: [/* @__PURE__ */ (0, F.jsx)(i$, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(a$, { name: "trash" }), /* @__PURE__ */ (0, F.jsx)("span", {"data-junk-label": "",children: "移入回收站"})]@@ -64698,7 +64878,7 @@ function Ywe({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions]});}-var Xwe = (0, P.memo)(Ywe), o$ = [+var xTe = (0, P.memo)(bTe), s$ = [["","全部",@@ -64734,40 +64914,40 @@ var Xwe = (0, P.memo)(Ywe), o$ = ["其它","hard-drive"]-], Zwe = (e) => o$.find(([t]) => t === e)?.[0] ?? "";-function s$(e) {+], STe = (e) => s$.find(([t]) => t === e)?.[0] ?? "";+function c$(e) {let t = new URLSearchParams(e);return {- kind: Zwe(t.get("type")),+ kind: STe(t.get("type")),view: t.get("view") === "dismissed" ? "dismissed" : "pending"};}-function c$(e = "", t = "pending") {+function l$(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 l$(e) {+function u$(e) {return e === "dismissed" ? {view: "pending",label: "返回待判断",glyph: "rotate-ccw",- href: c$("", "pending")+ href: l$("", "pending")} : {view: "dismissed",label: "已排除",glyph: "eye-off",- href: c$("", "dismissed")+ href: l$("", "dismissed")};}-var u$ = (e) => e === "dismissed" ? "已排除" : "待判断", d$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;-function Qwe({ kind: e, view: t }) {- let n = o$.map(([n, r, i]) => `<a href="${c$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${d$(i)}${z(r)}</a>`).join(""), r = l$(t);- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${_s(u$(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${d$(r.glyph)}${r.label}</a></nav></div></div></div>`;+var d$ = (e) => e === "dismissed" ? "已排除" : "待判断", f$ = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;+function CTe({ kind: e, view: t }) {+ let n = s$.map(([n, r, i]) => `<a href="${l$(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${f$(i)}${z(r)}</a>`).join(""), r = u$(t);+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${_s(d$(t))}</div><div data-junk-filters-frame="" data-filter-glass="" data-glass-pane=""><span data-view-glide="" aria-hidden="true" hidden></span><nav data-junk-filters="" aria-label="垃圾文件分类">${n}<i data-junk-divider="" aria-hidden="true"></i><a href="${r.href}" data-junk-view-link="${r.view}"${t === "dismissed" ? " aria-current=\"page\"" : ""}>${f$(r.glyph)}${r.label}</a></nav></div></div></div>`;}// src/react/components/collection-summary.tsx-function f$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {+function p$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {return /* @__PURE__ */ (0, F.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@@ -64793,31 +64973,31 @@ function f$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !});}// src/react/junk-queue/junk-count.tsx-function p$({ name: e }) {+function m$({ name: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});}-function m$({ scope: e, count: t }) {+function h$({ scope: e, count: t }) {return t ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [" ", /* @__PURE__ */ (0, F.jsx)("span", {"data-count-badge": `junk:${e}`,children: t.toLocaleString()})] }) : null;}-function $we({ route: e, page: t, failed: n, onNavigate: r }) {- let i = rV(), a = (0, P.useRef)(null), { kind: o, view: s } = e, c = nI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? o$.map(([e]) => r$(t, e)).join(",") : ""}`), l = l$(s), u = (e) => {+function wTe({ route: e, page: t, failed: n, onNavigate: r }) {+ let i = cV(), a = (0, P.useRef)(null), { kind: o, view: s } = e, c = dI(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? s$.map(([e]) => i$(t, e)).join(",") : ""}`), l = u$(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") || c$()));+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || l$()));}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";return /* @__PURE__ */ (0, F.jsxs)("div", {"data-junk-count": "",children: [/* @__PURE__ */ (0, F.jsx)("div", {"data-junk-summary": "","aria-live": "polite",- children: /* @__PURE__ */ (0, F.jsx)(f$, {- label: u$(s),+ children: /* @__PURE__ */ (0, F.jsx)(p$, {+ label: d$(s),figure: d,pending: !t && !n,flush: !0@@ -64837,17 +65017,17 @@ function $we({ route: e, page: t, failed: n, onNavigate: r }) {onClick: u,onPointerLeave: c.leave,children: [- o$.map(([e, n, r]) => /* @__PURE__ */ (0, F.jsxs)("a", {- href: c$(e, s),+ s$.map(([e, n, r]) => /* @__PURE__ */ (0, F.jsxs)("a", {+ href: l$(e, s),"data-junk-kind-link": e,"aria-current": e === o ? "page" : void 0,onPointerEnter: c.hover,children: [- /* @__PURE__ */ (0, F.jsx)(p$, { name: r }),+ /* @__PURE__ */ (0, F.jsx)(m$, { name: r }),n,- /* @__PURE__ */ (0, F.jsx)(m$, {+ /* @__PURE__ */ (0, F.jsx)(h$, {scope: e,- count: t ? r$(t, e) : 0+ count: t ? i$(t, e) : 0})]}, e || "all")),@@ -64861,9 +65041,9 @@ function $we({ 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, F.jsx)(p$, { name: l.glyph }),+ /* @__PURE__ */ (0, F.jsx)(m$, { name: l.glyph }),l.label,- /* @__PURE__ */ (0, F.jsx)(m$, {+ /* @__PURE__ */ (0, F.jsx)(h$, {scope: "dismissed",count: Number(t?.dismissed_total || 0)})@@ -64875,33 +65055,33 @@ function $we({ route: e, page: t, failed: n, onNavigate: r }) {});}// src/react/junk-queue/junk-queue-page.tsx-var eTe = Iz("check"), tTe = (e, t) => e[1] === t.view && e[2] === t.kind;-function nTe(e) {+var TTe = Vz("check"), ETe = (e, t) => e[1] === t.view && e[2] === t.kind;+function DTe(e) {let t = {kind: e.kind,view: e.view}, n = Pt({- queryKey: Kwe(t, e.revision),- queryFn: ({ signal: e }) => Jwe(t, e),- placeholderData: (e, n) => n && tTe(n.queryKey, t) ? e : void 0+ queryKey: _Te(t, e.revision),+ queryFn: ({ signal: e }) => yTe(t, e),+ placeholderData: (e, n) => n && ETe(n.queryKey, t) ? e : void 0});(0, P.useEffect)(() => {n.isFetching || e.settled?.(e.revision);}, [n.isFetching, e.revision]);- let r = rTe(e.countRow), i = n.isPending;+ let r = OTe(e.countRow), i = n.isPending;(0, P.useLayoutEffect)(() => {let t = e.countRow;t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));}, [e.countRow, i]), (0, P.useLayoutEffect)(() => {r && n.data && Ns(r, "junk");}, [r, n.data]);- let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)($we, {+ let { navigate: a } = e.actions, o = r ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(wTe, {route: t,page: n.data,failed: n.isError && !n.data,onNavigate: a}), r) : null;- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [o, /* @__PURE__ */ (0, F.jsx)(iTe, {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [o, /* @__PURE__ */ (0, F.jsx)(kTe, {props: e,data: n.data,pending: i,@@ -64909,7 +65089,7 @@ function nTe(e) {retry: () => void n.refetch()}, `${t.view}:${t.kind}`)] });}-function rTe(e) {+function OTe(e) {let [t, n] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {if (!e) return;@@ -64919,8 +65099,8 @@ function rTe(e) {};}, [e]), t;}-function iTe({ props: e, data: t, pending: n, error: r, retry: i }) {- let a = AW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, P.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, P.useCallback)(() => {+function kTe({ props: e, data: t, pending: n, error: r, retry: i }) {+ let a = WW(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, P.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, P.useCallback)(() => {d?.() !== !1 && c((e) => e + 1);}, [d]);return /* @__PURE__ */ (0, F.jsxs)("div", {@@ -64928,16 +65108,16 @@ function iTe({ 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, F.jsx)(jW, {+ if (!t) return /* @__PURE__ */ (0, F.jsx)(GW, {message: tn(r),onRetry: i});if (!l.length) {let t = e.view === "dismissed";- return /* @__PURE__ */ (0, F.jsx)(Pz, {- icon: eTe,+ return /* @__PURE__ */ (0, F.jsx)(zz, {+ icon: TTe,title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",- actions: t ? /* @__PURE__ */ (0, F.jsx)(iI, {+ actions: t ? /* @__PURE__ */ (0, F.jsx)(pI, {size: "small",href: "/junk-files",children: "查看待判断"@@ -64950,7 +65130,7 @@ function iTe({ 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, F.jsx)(Xwe, {+ children: u.map((t) => /* @__PURE__ */ (0, F.jsx)(xTe, {item: t,view: e.view,selected: e.selected.has(t.id),@@ -64959,7 +65139,7 @@ function iTe({ props: e, data: t, pending: n, error: r, retry: i }) {actions: e.actions}, t.id))}),- u.length < l.length ? /* @__PURE__ */ (0, F.jsx)(aTe, { onMore: f }, s) : null,+ u.length < l.length ? /* @__PURE__ */ (0, F.jsx)(ATe, { onMore: f }, s) : null,u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, F.jsx)("p", {"data-junk-truncated": "",className: "py-6 text-center text-caption-1-regular text-text-secondary",@@ -64969,14 +65149,14 @@ function iTe({ props: e, data: t, pending: n, error: r, retry: i }) {})()]});}-function aTe({ onMore: e }) {+function ATe({ onMore: e }) {let t = (0, P.useRef)(null);return (0, P.useEffect)(() => {let n = t.current;if (!n || typeof IntersectionObserver > "u") return;let r = new IntersectionObserver((t) => {t.some((e) => e.isIntersecting) && e();- }, { rootMargin: kW });+ }, { rootMargin: UW });return r.observe(n), () => r.disconnect();}, [e]), /* @__PURE__ */ (0, F.jsx)("div", {ref: t,@@ -64986,18 +65166,18 @@ function aTe({ onMore: e }) {});}// src/react/wants/wants.ts-var h$ = "/api/wants", g$ = ["wants"], oTe = (e) => [+var g$ = "/api/wants", _$ = ["wants"], jTe = (e) => ["wants","follow",e-], sTe = [+], MTe = [["searching", "待找"],["unreleased", "未发售"],["given_up", "暂时放弃"],["acquired", "已入库"]-], _$ = (e) => B(h$, e);-function cTe(e, t) {- H.setQueryData(g$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {+], v$ = (e) => B(g$, e);+function NTe(e, t) {+ H.setQueryData(_$, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {...n,items: n.items.map((n) => n.id === e ? {...n,@@ -65005,37 +65185,37 @@ function cTe(e, t) {} : n)} : n);}-var lTe = (e, t) => B(`${h$}?follow=${encodeURIComponent(e)}`, t), v$ = (e, t) => V(h$, {+var PTe = (e, t) => B(`${g$}?follow=${encodeURIComponent(e)}`, t), y$ = (e, t) => V(g$, {action: "add",...e-}, "POST", t), y$ = (e, t) => V(h$, {+}, "POST", t), b$ = (e, t) => V(g$, {action: "remove",ids: e-}, "POST", t), uTe = (e, t) => V(h$, {+}, "POST", t), FTe = (e, t) => V(g$, {action: "reset",ids: e-}, "POST", t), b$ = () => H.invalidateQueries({ queryKey: g$ }), dTe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;-function fTe(e) {+}, "POST", t), x$ = () => H.invalidateQueries({ queryKey: _$ }), ITe = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;+function LTe(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} 次` : "还没查过";}// src/react/jav/jav-navigation.ts-var x$ = [+var S$ = [["library", "馆藏"],["discover", "发现"],["wants", "想要"]-], S$ = (e) => x$.some(([t]) => t === e) ? e : "library", pTe = (e) => S$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;-function mTe(e) {+], C$ = (e) => S$.some(([t]) => t === e) ? e : "library", RTe = (e) => C$(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;+function zTe(e) {let t = new URLSearchParams(e);return t.delete("tab"), t.set("jav", "1"), "/?" + t;}// src/react/jav/jav.ts-var C$ = (e, t = "taste", n = "desc") => [+var w$ = (e, t = "taste", n = "desc") => ["jav-discoveries",e,t,n];-function w$(e, t, n = {}) {+function T$(e, t, n = {}) {let r = new URLSearchParams({scope: e,limit: "100",@@ -65044,7 +65224,7 @@ function w$(e, t, n = {}) {});return n.jobId && r.set("metadata_job_id", n.jobId), n.refreshMetadata && r.set("metadata_refresh", "1"), n.cancelMetadata && r.set("metadata_cancel", "1"), B(`/api/jav/discoveries?${r}`, t);}-function hTe(e, t, n) {+function BTe(e, t, n) {let r = io({...e,is_jav: !0@@ -65053,82 +65233,82 @@ function hTe(e, t, n) {let i = z(Ka(e));return no(e, t).replace(/ src="[^"]*"/, ` src="${i}" data-jav-image="${e.id}" data-jav-cover="${i}" data-jav-thumb="" data-jav-image-layout="${t}"${t === "big" ? " data-panel-prior=\"1\"" : ""}`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"media-nopic\"");}-async function gTe(e, t) {+async function VTe(e, t) {e === "wants" ? await H.ensureQueryData({- queryKey: g$,- queryFn: () => _$(t),+ queryKey: _$,+ queryFn: () => v$(t),staleTime: 3e4,revalidateIfStale: !0}) : e === "discover" && await H.ensureQueryData({- queryKey: C$("external"),- queryFn: () => w$("external", t),+ queryKey: w$("external"),+ queryFn: () => T$("external", t),staleTime: 3e4,revalidateIfStale: !0});}// src/react/components/fieldset-layout.ts-var T$ = RH({+var E$ = UH({padding: "none",bordered: "line",className: "overflow-hidden"-}), E$ = {+}), D$ = {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"-}, D$ = {+}, O$ = {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"};-function O$(e) {- return `${T$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;+function k$(e) {+ return `${E$} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;}// src/management.ts-var k$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", A$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", j$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", M$ = "disabled data-skeleton-action", _Te = "aria-disabled=\"true\"", N$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, P$ = (e, t, n) => `<div class="${E$[n]}"><div class="flex flex-col gap-2">+var A$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", j$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", M$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", N$ = "disabled data-skeleton-action", HTe = "aria-disabled=\"true\"", P$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, F$ = (e, t, n) => `<div class="${D$[n]}"><div class="flex flex-col gap-2"><h3 class="text-title-2-medium text-text-primary">${e}</h3><p class="text-body-2-regular text-text-secondary">${t}</p></div></div>`;-function vTe() {- return N$(`<section aria-label="扫描与采集" class="${O$("stack")}" data-cleanup-task data-cleanup-processing>- ${P$("扫描与采集", k$, "stack")}- <footer class="${D$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${os("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${ls({+function UTe() {+ return P$(`<section aria-label="扫描与采集" class="${k$("stack")}" data-cleanup-task data-cleanup-processing>+ ${F$("扫描与采集", A$, "stack")}+ <footer class="${O$.stack}"><a href="/sources" class="inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans rounded-sm text-body-medium text-accent-600"><span>来源和凭证</span>${os("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${ls({label: "同步新增文件",- attrs: M$+ attrs: N$})}${ls({glyph: "chevron-down",- attrs: `${M$} aria-label="更多同步方式"`+ attrs: `${N$} aria-label="更多同步方式"`})}</span></footer></section>`);}-function yTe() {- return N$(`<section aria-label="媒体修复" class="${O$("split")}" data-cleanup-task data-cleanup-processing>- ${P$("媒体修复", A$, "split")}- <footer class="${D$.split}">${ds(j$, {+function WTe() {+ return P$(`<section aria-label="媒体修复" class="${k$("split")}" data-cleanup-task data-cleanup-processing>+ ${F$("媒体修复", j$, "split")}+ <footer class="${O$.split}">${ds(M$, {className: "w-48",- attrs: _Te+ attrs: HTe})}${ls({label: "开始修复",- attrs: M$+ attrs: N$})}</footer></section>`);}-function F$() {+function I$() {let e = [["人工复核", "square-check-big"],["高清版", "sparkles"],["重复文件", "file-stack"],["垃圾文件", "file-archive"],["回收站", "trash"]- ], t = T$, n = E$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${D$.stack}">${ls({+ ], t = E$, n = D$.stack, r = (e, t = "mb-2") => `<h3 class="text-title-2-medium text-text-primary ${t}">${e}</h3>`, i = (e) => `<footer class="${O$.stack}">${ls({label: e,- attrs: M$+ attrs: N$})}</footer>`, a = (e) => `<div class="flex flex-col gap-1.5"><span class="text-body-medium text-text-primary">${e}</span><span class="skeleton ui-configuration-skeleton-input"></span></div>`;return `<div class="peach-react" data-skeleton="cleanup" aria-busy="true" role="status" aria-label="正在读取数据管理状态"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">- <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${os(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${j$}</strong><span class="text-caption-1-regular">${j$}</span></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1">${e.map(([e, t]) => `<div class="min-w-0 bg-background-secondary-default rounded-2xl flex min-h-33 flex-col gap-2 p-4 text-left"><span class="flex min-w-0 items-center gap-2 text-body-medium text-text-secondary"><i class="flex size-8 shrink-0 items-center justify-center rounded-md bg-background-primary-default text-text-primary">${os(t, "size-4")}</i>${e}</span><strong class="text-title-1-medium">${M$}</strong><span class="text-caption-1-regular">${M$}</span></div>`).join("")}</div><div class="flex flex-col gap-4 max-cleanup-tight:gap-3">- <div id="libraryProcessing">${vTe()}</div><div id="mediaRepair">${yTe()}</div>+ <div id="libraryProcessing">${UTe()}</div><div id="mediaRepair">${WTe()}</div><section id="organize" class="${t} flex flex-col" data-cleanup-organize><div class="${n}">${r("整理", "mb-3")}<p class="text-body-regular text-text-secondary">清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。</p>- <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${ds(j$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => ls({+ <div class="mt-3 flex flex-col gap-3"><div class="flex min-w-0 flex-wrap items-start gap-2">${ds(M$)}<span class="skeleton ui-configuration-skeleton-input min-w-0 basis-64 flex-1"></span></div><p class="text-caption-1-regular text-text-secondary">指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。</p>${a("文件名模板")}${a("目录模板")}<div class="flex flex-wrap gap-2">${Array.from({ length: 3 }, () => ls({variant: "secondary",- label: j$,- attrs: M$+ label: M$,+ attrs: N$})).join("")}</div></div></div>${i("预览")}</section></div><section id="link-manager" class="flex scroll-mt-20 flex-col gap-4"><div class="${t} flex flex-col"><div class="${n}">${r("链接管理")}<div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${[@@ -65136,57 +65316,57 @@ function F$() {"官网/事务所","社交账号","作品资料站"- ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${j$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${j$}</div></div>${i("检查死链")}</div></section>+ ].map((e) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">${e}</span><b class="text-title-2-semibold">${M$}</b></div>`).join("")}</div><div class="mt-4 flex flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span>${M$}</div></div>${i("检查死链")}</div></section></div></div>`;}// src/react/components/fieldset.tsx-var bTe = RH({+var GTe = UH({padding: "none",radius: "surface",bordered: "line",className: "overflow-hidden"-}), xTe = "border-t border-border-button-default p-4 first:border-t-0";-function I$({ id: e, gap: t = "none", children: n }) {+}), KTe = "border-t border-border-button-default p-4 first:border-t-0";+function L$({ id: e, gap: t = "none", children: n }) {return /* @__PURE__ */ (0, F.jsx)("h3", {id: e,className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,children: n});}-function L$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {+function R$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {return /* @__PURE__ */ (0, F.jsxs)("section", {id: r,"aria-label": t,"aria-labelledby": n,...o,- className: O$(e),+ className: k$(e),children: [/* @__PURE__ */ (0, F.jsx)("div", {- className: E$[e],+ className: D$[e],children: a}), i ? /* @__PURE__ */ (0, F.jsx)("footer", {- className: D$[e],+ className: O$[e],children: i}) : null]});}// src/react/components/status-label.tsx-var STe = {+var qTe = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function R$({ tone: e = "neutral", ...t }) {+function z$({ tone: e = "neutral", ...t }) {return /* @__PURE__ */ (0, F.jsx)(sZ, {"data-status-tone": e,variant: "caption",- color: STe[e],+ color: qTe[e],...t});}// src/react/components/path-line.tsx-function CTe({ className: e }) {+function JTe({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -65199,8 +65379,8 @@ function CTe({ className: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-folder-open" })});}-var wTe = "打开文件管理器失败,请重试";-function z$({ path: e, prefix: t, className: n, onRevealed: r }) {+var YTe = "打开文件管理器失败,请重试";+function B$({ path: e, prefix: t, className: n, onRevealed: r }) {let [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(""), c = (0, P.useRef)(!0);(0, P.useEffect)(() => () => {c.current = !1;@@ -65211,7 +65391,7 @@ function z$({ path: e, prefix: t, className: n, onRevealed: r }) {try {await V("/api/reveal", { path: e }), r?.("已在资源管理器中显示");} catch (e) {- c.current && s(e instanceof Hn ? e.message : wTe);+ c.current && s(e instanceof Hn ? e.message : YTe);} finally {c.current && a(!1);}@@ -65222,15 +65402,15 @@ function z$({ path: e, prefix: t, className: n, onRevealed: r }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex items-center justify-between gap-2",children: [/* @__PURE__ */ (0, F.jsxs)("p", {- className: cF("min-w-0 break-all", n),+ className: oF("min-w-0 break-all", n),children: [t, e]- }), /* @__PURE__ */ (0, F.jsx)(HF, {- icon: CTe,+ }), /* @__PURE__ */ (0, F.jsx)(ZF, {+ icon: JTe,size: "small",className: "shrink-0","aria-label": "在资源管理器中显示",onClick: () => void l(),- ...Rz(i)+ ...Uz(i)})]}), o ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-caption-1-regular text-text-error-primary",@@ -65239,7 +65419,7 @@ function z$({ path: e, prefix: t, className: n, onRevealed: r }) {});}// src/react/library-processing/issue-export.ts-async function TTe(e, t) {+async function XTe(e, t) {if (!e.job_id) throw Error("请先选择有问题记录的任务");let n = [], r = 1, i = "";for (let a = 0; a < r; a += 200) {@@ -65262,41 +65442,41 @@ async function TTe(e, t) {rows: n}, null, 2);}-function ETe(e, t) {+function ZTe(e, t) {let n = URL.createObjectURL(new Blob([t], { type: "application/json;charset=utf-8" })), r = document.createElement("a");r.href = n, r.download = `peach-issues-${e}.json`, r.click(), URL.revokeObjectURL(n);}// src/react/library-processing/library-processing-card.tsx-var DTe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", OTe = (e) => {+var QTe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", $Te = (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(",")}。`;-}, kTe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + OTe(e);-function ATe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {- let a = Rhe(e), o = EH(), s = EH(), c = e.status === "failed" && !!e.retryable_asset_ids?.length, l = Fhe(e.notes || {}), u = !!t || !e.archived && e.status === "failed", d = !t && !e.archived && pH(e), f = u && !!a?.log, p = uH(e), m = rV();+}, eEe = (e) => e.requested_stage === "previews" ? `已生成 ${e.previews || 0} 部视频预览。` : `已扫描 ${e.scanned || 0} 个文件,识别 ${e.identified || 0} 个番号,取得 ${e.candidates || 0} 组作品资料,自动保存 ${e.auto_applied || 0} 条。` + (e.previews ? `已生成 ${e.previews} 部视频预览。` : "") + $Te(e);+function tEe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {+ let a = age(e), o = jH(), s = jH(), c = e.status === "failed" && !!e.retryable_asset_ids?.length, l = nge(e.notes || {}), u = !!t || !e.archived && e.status === "failed", d = !t && !e.archived && vH(e), f = u && !!a?.log, p = hH(e), m = cV();return /* @__PURE__ */ (0, F.jsxs)("div", {"aria-live": "polite",className: "flex flex-col gap-4 empty:hidden",children: [- p ? /* @__PURE__ */ (0, F.jsx)(Vhe, {+ p ? /* @__PURE__ */ (0, F.jsx)(cge, {state: e,slow: p- }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "warning",title: "处理较慢",- children: DTe+ children: QTe}) : null,- u ? /* @__PURE__ */ (0, F.jsxs)(Nz, {+ u ? /* @__PURE__ */ (0, F.jsxs)(Rz, {tone: d ? "warning" : "error",className: "gap-0 p-3",title: d ? "处理已结束,部分项目需处理" : "处理未完成",action: /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [d ? /* @__PURE__ */ (0, F.jsx)(TH, {- href: hH,+ children: [d ? /* @__PURE__ */ (0, F.jsx)(AH, {+ href: bH,size: "small",- trailingIcon: cz,+ trailingIcon: pz,children: "查看全部内容"}) : null, c ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -65308,7 +65488,7 @@ function ATe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}),extra: a ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3",- children: /* @__PURE__ */ (0, F.jsxs)(ZH, {+ children: /* @__PURE__ */ (0, F.jsxs)(nU, {summary: a.label,contentClassName: "gap-0",children: [/* @__PURE__ */ (0, F.jsx)("div", {@@ -65340,7 +65520,7 @@ function ATe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {})}), a.log ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, F.jsx)(z$, {+ children: /* @__PURE__ */ (0, F.jsx)(B$, {path: a.log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65349,55 +65529,55 @@ function ATe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {}) : null]})}) : null,- children: [t || e.error || "处理未完成,请重试", d ? `\n${mH}` : null]+ children: [t || e.error || "处理未完成,请重试", d ? `\n${yH}` : null]}) : null,- n?.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ n?.status === "complete" ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "success",title: "处理完成",- children: kTe(n)+ children: eEe(n)}) : null,- n?.status === "cancelled" ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ n?.status === "cancelled" ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",title: "任务已停止",children: "已取得的资料和预览已保留,不会自动继续这趟任务。"}) : null,- e.archived ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ e.archived ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",children: "上一趟的问题提示已归档,历史记录仍保留。"}) : null,- !fH(e) && (e.issue_count || e.status === "failed") ? /* @__PURE__ */ (0, F.jsxs)("div", {+ !_H(e) && (e.issue_count || e.status === "failed") ? /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",children: [e.issue_count ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Rz(!!o.busy),- onClick: () => void o.run("export", (t) => TTe(e, t), (t) => {- ETe(e.job_id, t), i("已导出问题清单");+ ...Uz(!!o.busy),+ onClick: () => void o.run("export", (t) => XTe(e, t), (t) => {+ ZTe(e.job_id, t), i("已导出问题清单");}),children: "导出完整问题清单"}) : null, e.archived ? null : /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Rz(!!s.busy),- onClick: () => void s.run("archive", (t) => V(cH, {+ ...Uz(!!s.busy),+ onClick: () => void s.run("archive", (t) => V(pH, {action: "archive",job_id: e.job_id}, "POST", t), (e) => {- H.setQueryData(lH, e), i("已归档问题提示");+ H.setQueryData(mH, e), i("已归档问题提示");}),children: "归档提示"})]}) : null,- o.error || s.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ o.error || s.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "warning",children: o.error || s.error}) : null,- !fH(e) && l ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ !_H(e) && l ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",className: "gap-0 p-3",extra: e.issues_log && !f ? /* @__PURE__ */ (0, F.jsx)("div", {className: "mt-3 border-t border-current/20 pt-3 text-text-secondary",- children: /* @__PURE__ */ (0, F.jsx)(z$, {+ children: /* @__PURE__ */ (0, F.jsx)(B$, {path: e.issues_log,prefix: "完整记录:",className: "text-caption-1-regular",@@ -65409,44 +65589,44 @@ function ATe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {]});}-function B$(e) {- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = LH(e), o = Ft({- mutationFn: (e) => V(cH, e),+function V$(e) {+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = HH(e), o = Ft({+ mutationFn: (e) => V(pH, e),onSuccess: (e) => {- a(), H.setQueryData(lH, e), H.invalidateQueries({ queryKey: lH });+ a(), H.setQueryData(mH, e), H.invalidateQueries({ queryKey: mH });}});(0, P.useEffect)(() => {i && n?.();}, [i, n]);- let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = pU(c), u = o.error ? Wn(o.error) : r.isError ? r.data ? yH : Wn(r.error) : "", d = o.isPending || fH(s), f = async (e) => {+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = vU(c), u = o.error ? Wn(o.error) : r.isError ? r.data ? wH : Wn(r.error) : "", d = o.isPending || _H(s), f = async (e) => {d || (o.reset(), await o.mutateAsync(e));};return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-col gap-4",- children: [/* @__PURE__ */ (0, F.jsx)(L$, {+ children: [/* @__PURE__ */ (0, F.jsx)(R$, {layout: "stack",label: "扫描与采集",footer: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(TH, {+ /* @__PURE__ */ (0, F.jsx)(AH, {href: "/sources",size: "small",- trailingIcon: cz,+ trailingIcon: pz,children: "来源和凭证"}),- /* @__PURE__ */ (0, F.jsx)(TH, {+ /* @__PURE__ */ (0, F.jsx)(AH, {href: "/settings/diagnostics",size: "small",- trailingIcon: cz,+ trailingIcon: pz,children: "诊断与日志"}),- s.candidates ? /* @__PURE__ */ (0, F.jsx)(TH, {+ s.candidates ? /* @__PURE__ */ (0, F.jsx)(AH, {href: "/review",size: "small",- trailingIcon: cz,+ trailingIcon: pz,children: "复核资料"}) : null,- /* @__PURE__ */ (0, F.jsx)(kK, {+ /* @__PURE__ */ (0, F.jsx)(RK, {scan: !0,busy: d,metadataOnly: s?.metadata_only,@@ -65462,7 +65642,7 @@ function B$(e) {className: "flex flex-wrap items-center justify-between gap-2",children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-wrap items-center gap-2",- children: [/* @__PURE__ */ (0, F.jsx)(I$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, F.jsx)(sZ, {+ children: [/* @__PURE__ */ (0, F.jsx)(L$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, F.jsx)(sZ, {variant: "caption",color: "blue",children: /* @__PURE__ */ (0, F.jsxs)("span", {@@ -65470,31 +65650,31 @@ function B$(e) {children: [s.new_asset_count.toLocaleString(), " 部待补全"]})}) : null]- }), l && (fH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, F.jsx)(q, {+ }), l && (_H(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- onClick: () => fU(c, !0),+ onClick: () => _U(c, !0),children: "显示进度浮窗"}) : null]}),/* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular text-text-secondary",- children: k$+ children: A$}),s.status === "paused" && !s.total ? /* @__PURE__ */ (0, F.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, F.jsx)(R$, { children: "已暂停" })- }) : fH(s) ? /* @__PURE__ */ (0, F.jsx)(nge, { state: s }) : null,- fH(s) ? /* @__PURE__ */ (0, F.jsx)("p", {+ children: /* @__PURE__ */ (0, F.jsx)(z$, { children: "已暂停" })+ }) : _H(s) ? /* @__PURE__ */ (0, F.jsx)(Cge, { state: s }) : null,+ _H(s) ? /* @__PURE__ */ (0, F.jsx)("p", {className: "text-body-2-regular text-text-secondary tabular-nums","data-processing-eta": "",- children: gH(s)+ children: xH(s)}) : null,- fH(s) ? /* @__PURE__ */ (0, F.jsx)(aU, { traffic: s.traffic }) : null,- fH(s) ? /* @__PURE__ */ (0, F.jsx)(IH, { state: s }) : null+ _H(s) ? /* @__PURE__ */ (0, F.jsx)(uU, { traffic: s.traffic }) : null,+ _H(s) ? /* @__PURE__ */ (0, F.jsx)(VH, { state: s }) : null]})- }), /* @__PURE__ */ (0, F.jsx)(ATe, {+ }), /* @__PURE__ */ (0, F.jsx)(tEe, {state: s,problem: u,settled: i,@@ -65509,32 +65689,32 @@ function B$(e) {});}// src/react/playlists/playlists.ts-var jTe = "/api/playlists", V$ = "/api/playlist", H$ = ["playlists"], U$ = (e) => B(jTe, e);-async function MTe(e) {+var nEe = "/api/playlists", H$ = "/api/playlist", U$ = ["playlists"], W$ = (e) => B(nEe, e);+async function rEe(e) {await H.fetchQuery({- queryKey: H$,- queryFn: () => U$(e),+ queryKey: U$,+ queryFn: () => W$(e),staleTime: 0});}-var NTe = () => H.invalidateQueries({- queryKey: H$,+var iEe = () => H.invalidateQueries({+ queryKey: U$,exact: !0-}), PTe = (e) => e.current_asset_id || e.preview_asset_id || null, FTe = (e) => `/poster?id=${e}&c=4`, ITe = (e) => V(V$, {+}), aEe = (e) => e.current_asset_id || e.preview_asset_id || null, oEe = (e) => `/poster?id=${e}&c=4`, sEe = (e) => V(H$, {action: "create",name: e,asset_ids: []-}), LTe = (e, t) => V(V$, {+}), cEe = (e, t) => V(H$, {action: "rename",id: e,name: t-}), RTe = (e) => V(V$, {+}), lEe = (e) => V(H$, {action: "delete",id: e-}), zTe = (e) => B(`${V$}?id=${e}`).catch(() => null);-function BTe(e) {+}), uEe = (e) => B(`${H$}?id=${e}`).catch(() => null);+function dEe(e) {let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;- return V(V$, {+ return V(H$, {action: "create",name: e.name,asset_ids: t,@@ -65543,13 +65723,9 @@ function BTe(e) {});}// src/react/scraping/custom-source-data.ts-var W$ = "/api/custom-metadata", G$ = ["custom-metadata"], K$ = (e) => B(W$, e), VTe = "/api/scraping", HTe = "/api/scraping/settings", UTe = "/api/scraping/check", q$ = "/api/scraping/cover", WTe = "/api/scraping/amane-bridge", GTe = "/api/scraping/amane-bridge/check", KTe = "/api/scraping/amane-bridge/rebuild", J$ = ["scraping"], Y$ = ["scraping", "cover"], X$ = ["scraping", "amane-bridge"], qTe = 262144, Z$ = (e) => B(VTe, e), Q$ = (e) => B(q$, e), $$ = (e) => B(WTe, e);-async function JTe(e) {+var G$ = "/api/custom-metadata", K$ = ["custom-metadata"], q$ = (e) => B(G$, e), fEe = "/api/scraping", pEe = "/api/scraping/settings", mEe = "/api/scraping/check", J$ = "/api/scraping/cover", hEe = "/api/scraping/amane-bridge", gEe = "/api/scraping/amane-bridge/check", _Ee = "/api/scraping/amane-bridge/rebuild", Y$ = ["scraping"], X$ = ["scraping", "cover"], Z$ = ["scraping", "amane-bridge"], vEe = 262144, Q$ = (e) => B(fEe, e), $$ = (e) => B(J$, e), e1 = (e) => B(hEe, e);+async function yEe(e) {await Promise.all([- H.fetchQuery({- queryKey: J$,- queryFn: () => Z$(e)- }),H.fetchQuery({queryKey: Y$,queryFn: () => Q$(e)@@ -65559,36 +65735,40 @@ async function JTe(e) {queryFn: () => $$(e)}),H.fetchQuery({- queryKey: G$,- queryFn: () => K$(e)+ queryKey: Z$,+ queryFn: () => e1(e)+ }),+ H.fetchQuery({+ queryKey: K$,+ queryFn: () => q$(e)})]);}-function YTe(e, t) {+function bEe(e, t) {return `${t}${e.label === "来源页面" ? "" : " 高清图片"}:${e.ok ? "可连接" : "不能连接"}` + (e.width ? ` · ${e.width} × ${e.height}` : "") + (e.elapsed_s === void 0 ? "" : ` · ${e.elapsed_s.toFixed(2)} 秒`) + (e.message ? `。${e.message}` : "");}// src/react/search/search.ts-var e1 = /* @__PURE__ */ new Set([+var t1 = /* @__PURE__ */ new Set(["performer","creator","studio","agency","series"-]), t1 = /* @__PURE__ */ new Set([+]), n1 = /* @__PURE__ */ new Set(["asset","jav","post","photo","release"-]), n1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();-function XTe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {+]), r1 = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();+function xEe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {let c = 0, l = [], u = (e) => {let t = {...e,index: c++};return l.push(t), t;- }, d = t.filter((t) => !e || n1(t).includes(n1(e)));+ }, d = t.filter((t) => !e || r1(t).includes(r1(e)));if (!e) {if (s.length) {let e = s.map((e) => ({@@ -65609,8 +65789,8 @@ function XTe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: avalue: e}))} : null,- left: e.filter((e) => !t1.has(e.kind)),- right: e.filter((e) => t1.has(e.kind)),+ left: e.filter((e) => !n1.has(e.kind)),+ right: e.filter((e) => n1.has(e.kind)),empty: !1,options: l};@@ -65660,7 +65840,7 @@ function XTe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: n,more: r};- }, g = m.filter((e) => !t1.has(e.kind)).map(h), _ = m.filter((e) => t1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);+ }, g = m.filter((e) => !n1.has(e.kind)).map(h), _ = m.filter((e) => n1.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);return {tabs: f && a.length > 1 ? [...a] : null,recent: p,@@ -65670,16 +65850,16 @@ function XTe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: aoptions: l};}-function ZTe(e, t, n = Math.random) {+function SEe(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) => n1(t) === n1(e))).slice(0, 5);+ return r.filter((e) => !t.some((t) => r1(t) === r1(e))).slice(0, 5);}// src/react/search/search-page.tsx-var QTe = () => ({+var CEe = () => ({dismissed: !1,history: [],pool: [],@@ -65698,7 +65878,7 @@ var QTe = () => ({active: -1,reveal: !1,rewind: !1-}), r1 = (e) => XTe({+}), i1 = (e) => xEe({query: e.query,history: e.history,picks: e.picks,@@ -65707,18 +65887,18 @@ var QTe = () => ({tabs: e.tabs,kind: e.kind,recommendations: e.recommendations-}), $Te = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), i1 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {+}), wEe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), a1 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })});-function eEe(e) {+function TEe(e) {let t = (0, P.useRef)(e);t.current = e;let n = (0, P.useRef)(null);- n.current ??= QTe();+ n.current ??= CEe();let r = n.current, i = (0, P.useRef)(null), [, a] = (0, P.useReducer)((e) => e + 1, 0), o = (0, P.useRef)(null);- o.current ??= tEe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);+ o.current ??= EEe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);let s = o.current;(0, P.useLayoutEffect)(() => {let { input: e } = t.current, n = (e) => s.input(e), i = () => t.current.helpers.composing(), a = (e) => s.key(e), o = () => s.focus(), c = () => {@@ -65733,7 +65913,7 @@ function eEe(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 = r1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, F.jsx)(rEe, {+ let c = i1(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, F.jsx)(OEe, {entry: t,active: t.index === r.active,helpers: e.helpers,@@ -65746,7 +65926,7 @@ function eEe(e) {children: [/* @__PURE__ */ (0, F.jsxs)("h3", { children: [e.label, e.href ? /* @__PURE__ */ (0, F.jsx)("a", {href: e.href,- onMouseDown: a1,+ onMouseDown: o1,onClick: (t) => {t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));},@@ -65765,7 +65945,7 @@ function eEe(e) {"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,"data-history-limit": l,children: [- c.tabs ? /* @__PURE__ */ (0, F.jsx)(nEe, {+ c.tabs ? /* @__PURE__ */ (0, F.jsx)(DEe, {tabs: c.tabs,kind: r.kind,onPick: s.pickKind,@@ -65792,7 +65972,7 @@ function eEe(e) {]});}-function tEe(e, t, n, r) {+function EEe(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 () => {@@ -65803,7 +65983,7 @@ function tEe(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) => n1(e) !== n1(t))]), V("/api/search-history", { query: t }).catch(() => null));+ t && e().historyLimit && (s([t, ...o().filter((e) => r1(e) !== r1(t))]), V("/api/search-history", { query: t }).catch(() => null));}, u = async () => {let n = ++t.poolRequest;t.pool = [];@@ -65850,9 +66030,9 @@ function tEe(e, t, n, r) {i && e().helpers.dismiss(i), t.active = -1, r();}, h = () => {if (t.dismissed) return;- t.query = i().value.trim(), t.picks = t.query ? [] : ZTe(t.pool, o()), t.active = -1;+ t.query = i().value.trim(), t.picks = t.query ? [] : SEe(t.pool, o()), t.active = -1;let a = n();- a && ($Te(r1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();+ a && (wEe(i1(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();}, g = () => {t.active = -1, t.kind = "", clearTimeout(t.timer);let e = i().value.trim();@@ -65864,7 +66044,7 @@ function tEe(e, t, n, r) {n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), h(), t.rewind = !0, f(n, e).then(() => {a() && t.kind === e && h();}));- }, v = () => p() ? r1(t).options : [], y = (e) => {+ }, v = () => p() ? i1(t).options : [], y = (e) => {let n = v();return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;}, b = (t, n) => {@@ -65873,7 +66053,7 @@ function tEe(e, t, n, r) {}, x = (t, n) => {i().blur(), l(n), e().actions.openEntity(t, n);}, S = (t) => {- t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && e1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));+ t.type === "suggest" && t.item.followMedia && t.item.id && e().actions.openFollow ? (i().blur(), e().actions.openFollow(t.item.id, t.item.followMedia, t.item.mediaIndex ?? null)) : t.type === "suggest" && t.item.href ? C(t.item.href) : t.type === "more" ? (b(!1, !0), i().blur()) : t.type === "suggest" && t.kind === "asset" && t.item.id != null ? (i().blur(), e().actions.openItem(t.item.id)) : t.type === "suggest" && t1.has(t.kind) ? x(t.kind, t.value) : (i().value = t.value, b(!1, !0));}, C = (t) => {m(), i().blur(), e().actions.openPath?.(t);};@@ -65919,13 +66099,13 @@ function tEe(e, t, n, r) {await V("/api/search-history", {operation: "remove",query: e- }).catch(() => null), s(o().filter((t) => n1(t) !== n1(e))), t.active = -1, r();+ }).catch(() => null), s(o().filter((t) => r1(t) !== r1(e))), t.active = -1, r();},pickKind: _,openPath: C};}-function nEe({ tabs: e, kind: t, onPick: n, wire: r }) {+function DEe({ tabs: e, kind: t, onPick: n, wire: r }) {let i = (0, P.useRef)(null);(0, P.useLayoutEffect)(() => {r(i.current);@@ -65939,9 +66119,9 @@ function nEe({ tabs: e, kind: t, onPick: n, wire: r }) {"data-pill-variant": "gray",onMouseDown: (e) => e.preventDefault(),onClick: () => n(e),- children: [r, i ? /* @__PURE__ */ (0, F.jsx)(IQ, { value: i }) : null]+ children: [r, i ? /* @__PURE__ */ (0, F.jsx)(LQ, { value: i }) : null]}, e || "all");- return /* @__PURE__ */ (0, F.jsxs)(dF, {+ return /* @__PURE__ */ (0, F.jsxs)(lF, {ref: i,"data-search-tabs": "","data-pill-nav": "",@@ -65950,8 +66130,8 @@ function nEe({ tabs: e, kind: t, onPick: n, wire: r }) {children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]});}-var a1 = (e) => e.preventDefault();-function rEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {+var o1 = (e) => e.preventDefault();+function OEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {let o = {"data-search-value": e.value,"data-active": t ? "" : void 0,@@ -65963,33 +66143,33 @@ function rEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:type: "button","data-search-option": "more",...o,- onMouseDown: a1,+ onMouseDown: o1,children: ["查看全部 ",e.total.toLocaleString()," 个视频",- /* @__PURE__ */ (0, F.jsx)(i1, { name: "chevron-right" })+ /* @__PURE__ */ (0, F.jsx)(a1, { name: "chevron-right" })]});if (e.type !== "suggest") return /* @__PURE__ */ (0, F.jsxs)("div", {"data-search-option": "",...o,children: [- /* @__PURE__ */ (0, F.jsx)(i1, { name: e.type === "history" ? "history" : "sparkles" }),+ /* @__PURE__ */ (0, F.jsx)(a1, { name: e.type === "history" ? "history" : "sparkles" }),/* @__PURE__ */ (0, F.jsx)("span", { children: e.value }),e.type === "history" ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-remove-history": e.value,"aria-label": `删除历史 ${e.value}`,- onMouseDown: a1,+ onMouseDown: o1,onClick: (t) => {t.stopPropagation(), a(e.value);},- children: /* @__PURE__ */ (0, F.jsx)(i1, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(a1, { name: "x" })}) : null]});- let { item: s, kind: c } = e, l = e1.has(c) ? c : void 0;+ let { item: s, kind: c } = e, l = t1.has(c) ? c : void 0;if (["asset","jav",@@ -66003,8 +66183,8 @@ function rEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "work","data-open-item": c === "asset" ? s.id : void 0,...o,- onMouseDown: a1,- children: [/* @__PURE__ */ (0, F.jsx)(o1, {+ onMouseDown: o1,+ children: [/* @__PURE__ */ (0, F.jsx)(s1, {card: s.card,helpers: n}), /* @__PURE__ */ (0, F.jsxs)("span", {@@ -66029,9 +66209,9 @@ function rEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-search-option": "person","data-open-entity": l,...o,- onMouseDown: a1,+ onMouseDown: o1,children: [- /* @__PURE__ */ (0, F.jsx)(s1, {+ /* @__PURE__ */ (0, F.jsx)(c1, {item: s,kind: c}),@@ -66054,11 +66234,11 @@ function rEe({ 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: a1,+ onMouseDown: o1,onClick: (t) => {t.stopPropagation(), i(e);},- children: /* @__PURE__ */ (0, F.jsx)(o1, {+ children: /* @__PURE__ */ (0, F.jsx)(s1, {card: e,helpers: n})@@ -66072,7 +66252,7 @@ function rEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:"data-open-entity": l,...o,children: [- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, F.jsx)(s1, {+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, F.jsx)(c1, {item: s,kind: c}) : null,@@ -66085,13 +66265,13 @@ function rEe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:]});}-function o1({ card: e, helpers: t }) {+function s1({ card: e, helpers: t }) {return /* @__PURE__ */ (0, F.jsx)("span", {"data-search-pic": "",dangerouslySetInnerHTML: { __html: t.coverHtml(e) }});}-function s1({ item: e, kind: t }) {+function c1({ item: e, kind: t }) {if (e.avatarHtml) return /* @__PURE__ */ (0, F.jsx)("span", {"data-search-face": "",dangerouslySetInnerHTML: { __html: e.avatarHtml }@@ -66110,24 +66290,24 @@ function s1({ item: e, kind: t }) {});}// src/react/settings/configuration.ts-var c1 = ["configuration"], l1 = (e) => B(qY, e);-async function iEe(e) {+var l1 = ["configuration"], u1 = (e) => B(qY, e);+async function kEe(e) {await H.fetchQuery({- queryKey: c1,- queryFn: () => l1(e)+ queryKey: l1,+ queryFn: () => u1(e)});}// src/react/settings-panel/legacy-controls.tsx-var u1 = (e) => e.map(([e, t, n]) => n ? [+var d1 = (e) => e.map(([e, t, n]) => n ? [e,t,n] : [e, t]);-function d1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {+function f1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {let u = (0, P.useRef)(null), d = (0, P.useRef)(null), f = (0, P.useRef)(l);return f.current = l, (0, P.useLayoutEffect)(() => {let e = u.current;- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Mc(t, n, u1(r), i, {+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = Mc(t, n, d1(r), i, {attr: a,className: o,text: s@@ -66145,13 +66325,13 @@ function d1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:ref: u});}-function f1({ 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 p1({ 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, P.useRef)(null), f = (0, P.useRef)(null), p = (0, P.useRef)(-1), m = (0, P.useRef)(l);return m.current = l, (0, P.useLayoutEffect)(() => {let e = d.current;if (!e) return;if (p.current !== c || !f.current) {- e.innerHTML = Yo(u1(n), r, { label: t });+ e.innerHTML = Yo(d1(n), r, { label: t });let i = Xo(e.firstElementChild);i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;}@@ -66164,7 +66344,7 @@ function f1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a ="aria-describedby": s});}-function aEe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {+function AEe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {let s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)({onStep: a,onSettle: o@@ -66198,7 +66378,7 @@ function aEe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet});}// src/react/settings-panel/glow-settings.tsx-var oEe = [+var jEe = [["strength","强度",@@ -66225,8 +66405,8 @@ var oEe = [100]];-function sEe({ host: e, spot: t, index: n, glow: r }) {- let i = Aoe[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = rV(), [l, u] = (0, P.useState)("all");+function MEe({ host: e, spot: t, index: n, glow: r }) {+ let i = nse[n], a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = cV(), [l, u] = (0, P.useState)("all");(0, P.useLayoutEffect)(() => {let [e, t, n] = [a.current,@@ -66264,7 +66444,7 @@ function sEe({ host: e, spot: t, index: n, glow: r }) {children: d})]}),- /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-down" })+ /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-down" })]}), /* @__PURE__ */ (0, F.jsxs)("div", {className: "popmenu",@@ -66276,7 +66456,7 @@ function sEe({ host: e, spot: t, index: n, glow: r }) {"data-glow-pills": "",role: "group","aria-label": "色系",- children: Noe.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: ase.map(([e, t]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-glow-pill": e,"aria-pressed": e === l,@@ -66290,7 +66470,7 @@ function sEe({ host: e, spot: t, index: n, glow: r }) {"data-glow-palette": "",role: "radiogroup","aria-label": `${i}颜色`,- children: Poe.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {+ children: ose.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button",role: "radio","aria-checked": n === d,@@ -66307,7 +66487,7 @@ function sEe({ host: e, spot: t, index: n, glow: r }) {})]});}-function cEe({ host: e }) {+function NEe({ host: e }) {let t = e.store.value.homeGlow, n = $k(t.preset);return /* @__PURE__ */ (0, F.jsxs)("section", {"data-glow-setting": "",@@ -66327,10 +66507,10 @@ function cEe({ host: e }) {"data-glow-current": "",children: ["当前配色", /* @__PURE__ */ (0, F.jsx)("b", {"data-glow-preset-name": "",- children: joe(t.preset)+ children: rse(t.preset)})]}),- /* @__PURE__ */ (0, F.jsx)(XA, {+ /* @__PURE__ */ (0, F.jsx)(nj, {store: e.store,label: "光晕配色"}),@@ -66341,7 +66521,7 @@ function cEe({ host: e }) {}),/* @__PURE__ */ (0, F.jsx)("div", {"data-glow-fields": "",- children: oEe.map(([r, i, a]) => /* @__PURE__ */ (0, F.jsx)(aEe, {+ children: jEe.map(([r, i, a]) => /* @__PURE__ */ (0, F.jsx)(AEe, {field: r,label: i,max: a,@@ -66381,7 +66561,7 @@ function cEe({ host: e }) {"data-glow-colour-card": "",children: /* @__PURE__ */ (0, F.jsx)("div", {"data-glow-stops": "",- children: Xk.map((n, r) => /* @__PURE__ */ (0, F.jsx)(sEe, {+ children: Xk.map((n, r) => /* @__PURE__ */ (0, F.jsx)(MEe, {host: e,spot: n,index: r,@@ -66393,7 +66573,7 @@ function cEe({ host: e }) {});}// src/react/settings-panel/number-setting.tsx-var lEe = {+var PEe = {batchSizeSetting: {min: 1,max: 200,@@ -66440,22 +66620,22 @@ var lEe = {optional: !0,fallback: 60}-}, p1 = (e) => `peach.number.${e}`;-function m1(e, t) {+}, m1 = (e) => `peach.number.${e}`;+function h1(e, t) {if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";let n = e / 1440;return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;}-function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {- let a = lEe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, P.useRef)(0);- d.current ||= zk(Number(localStorage.getItem(p1(e))), o, s, n && n > 0 ? n : l);+function g1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {+ let a = PEe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, P.useRef)(0);+ d.current ||= zk(Number(localStorage.getItem(m1(e))), o, s, n && n > 0 ? n : l);let [f, p] = (0, P.useState)(n ?? 0), [m, h] = (0, P.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, P.useState)(""), v = (0, P.useRef)(null), y = (0, P.useRef)(i);y.current = i, (0, P.useLayoutEffect)(() => {n !== null && (p(n), n > 0 && h(String(n)));}, [n]);let b = () => {let t = v.current;- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(p1(e), String(d.current)), y.current(d.current)));+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(m1(e), String(d.current)), y.current(d.current)));}, x = (0, P.useRef)(b);x.current = b, (0, P.useEffect)(() => {let e = v.current;@@ -66465,7 +66645,7 @@ function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}, []);let S = f > 0, C = () => {let t = v.current;- t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(p1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(m1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));}, w = r || n === null;return /* @__PURE__ */ (0, F.jsxs)("div", {"data-number-setting": "",@@ -66502,7 +66682,7 @@ function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {}}), /* @__PURE__ */ (0, F.jsxs)("span", {"aria-hidden": "true",- children: [c, m1(Number(m), c) ? ` · ${m1(Number(m), c)}` : ""]+ children: [c, h1(Number(m), c) ? ` · ${h1(Number(m), c)}` : ""]})]}), /* @__PURE__ */ (0, F.jsx)("small", {id: `${e}-error`,@@ -66515,13 +66695,13 @@ function h1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {});}// src/react/sidebar/sidebar-order.ts-function g1(e) {+function _1(e) {let { mutate: t } = aX();return (0, P.useCallback)((n) => {e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });}, [e, t]);}-function _1(e, t, n, r) {+function v1(e, t, n, r) {if (t === n) return null;let i = [...e], a = i.indexOf(t);if (a < 0) return null;@@ -66530,17 +66710,17 @@ function _1(e, t, n, r) {return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);}// src/react/settings-panel/sidebar-order.tsx-var uEe = "__home__", v1 = (e) => e === "" ? uEe : e;-function dEe({ host: e }) {- let t = g1(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, P.useState)(null), [c, l] = (0, P.useState)(!1), [u, d] = (0, P.useState)(null), [f, p] = (0, P.useState)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (e, r, i) => {- let a = _1(n, e, r, i);+var FEe = "__home__", y1 = (e) => e === "" ? FEe : e;+function IEe({ host: e }) {+ let t = _1(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, P.useState)(null), [c, l] = (0, P.useState)(!1), [u, d] = (0, P.useState)(null), [f, p] = (0, P.useState)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(null), g = (e, r, i) => {+ let a = v1(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]) => v1(e) === o) ?? a[0], y = () => {+ }, v = a.find(([e]) => y1(e) === o) ?? a[0], y = () => {h.current && Wo(h.current), l(!1);}, b = () => {let e = h.current;@@ -66561,7 +66741,7 @@ function dEe({ host: e }) {}, C = (e) => ({draggable: !0,onDragStart: (t) => {- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", v1(e));+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", y1(e));},onDragOver: (t) => {if (u === null || u === e) return;@@ -66593,9 +66773,9 @@ function dEe({ host: e }) {/* @__PURE__ */ (0, F.jsx)("i", {"data-sidebar-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(_P, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, F.jsx)(hP, { name: "grip-vertical" })}),- /* @__PURE__ */ (0, F.jsx)(_P, { name: a ?? "" }),+ /* @__PURE__ */ (0, F.jsx)(hP, { name: a ?? "" }),/* @__PURE__ */ (0, F.jsx)("b", { children: r })]}), /* @__PURE__ */ (0, F.jsxs)("span", {@@ -66609,7 +66789,7 @@ function dEe({ host: e }) {title: "上移",disabled: o === 0,onClick: () => _(e, -1),- children: /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-up" })+ children: /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-up" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66619,7 +66799,7 @@ function dEe({ host: e }) {title: "下移",disabled: o === i.length - 1,onClick: () => _(e, 1),- children: /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-down" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66631,11 +66811,11 @@ function dEe({ host: e }) {onClick: () => {n.length > 1 && t(n.filter((t) => t !== e));},- children: /* @__PURE__ */ (0, F.jsx)(_P, { name: "eye-off" })+ children: /* @__PURE__ */ (0, F.jsx)(hP, { name: "eye-off" })})]})]- }, v1(e))), /* @__PURE__ */ (0, F.jsxs)("div", {+ }, y1(e))), /* @__PURE__ */ (0, F.jsxs)("div", {"data-sidebar-add-row": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-sidebar-add-picker": "",@@ -66651,13 +66831,13 @@ function dEe({ host: e }) {ref: m,onClick: b,children: v ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(_P, { name: v[2] ?? "" }),+ /* @__PURE__ */ (0, F.jsx)(hP, { name: v[2] ?? "" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-sidebar-add-label": "",children: v[1]}),- /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-down" })- ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(_P, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })+ /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-down" })+ ] }) : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(hP, { name: "check" }), /* @__PURE__ */ (0, F.jsx)("span", { children: "全部页面都已显示" })] })}), a.length ? /* @__PURE__ */ (0, F.jsx)("div", {className: "popmenu","data-sidebar-add-menu": "",@@ -66668,15 +66848,15 @@ function dEe({ host: e }) {children: a.map(([e, t, n]) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",role: "option",- "data-sidebar-add-option": v1(e),+ "data-sidebar-add-option": y1(e),"aria-selected": v?.[0] === e,tabIndex: v?.[0] === e ? 0 : -1,onKeyDown: x,onClick: () => {- s(v1(e)), y(), m.current?.focus();+ s(y1(e)), y(), m.current?.focus();},- children: [/* @__PURE__ */ (0, F.jsx)(_P, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]- }, v1(e)))+ children: [/* @__PURE__ */ (0, F.jsx)(hP, { name: n ?? "" }), /* @__PURE__ */ (0, F.jsx)("span", { children: t })]+ }, y1(e)))}) : null]}), /* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -66692,13 +66872,13 @@ function dEe({ host: e }) {});}// src/react/settings-panel/settings-panel.tsx-var y1 = [+var b1 = [["外观与导航", "ri-palette-line"],["浏览与播放", "ri-play-circle-line"],["JAV 与新作", "jav"],["搜索与推荐", "ri-search-line"],["内容显示", "ri-shield-check-line"]-], fEe = [+], LEe = [["seed", "随机"],["rating", "评分"],["o", "高潮计数"],@@ -66707,7 +66887,7 @@ var y1 = [["size", "体积"],["new", "入库时间"],["played", "观看时间"]-], pEe = [["desc", "降序"], ["asc", "升序"]], mEe = [[+], REe = [["desc", "降序"], ["asc", "升序"]], zEe = [["cover","官方封面",""@@ -66715,7 +66895,7 @@ var y1 = ["thumbnail","预览图",""-]], hEe = [+]], BEe = [["feedHideGroupSetting","feedHideGroupCompilations",@@ -66734,88 +66914,88 @@ var y1 = ["切片","隐藏切片"]-], gEe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", b1 = null, x1 = {+], VEe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", x1 = null, S1 = {open: !1,closing: !1,epoch: 0,tab: 0,configurable: null-}, S1 = 0, C1 = null, w1 = /* @__PURE__ */ new Set();-function _Ee(e) {- return w1.add(e), () => {- w1.delete(e);+}, C1 = 0, w1 = null, T1 = /* @__PURE__ */ new Set();+function HEe(e) {+ return T1.add(e), () => {+ T1.delete(e);};}-function vEe() {- for (let e of [...w1]) e();+function UEe() {+ for (let e of [...T1]) e();}-function T1(e) {- x1 = {- ...x1,+function E1(e) {+ S1 = {+ ...S1,...e- }, (0, Lt.flushSync)(vEe);+ }, (0, Lt.flushSync)(UEe);}-async function yEe(e) {- let t = x1.epoch, n = await e.configurable();- x1.open && x1.epoch === t && T1({ configurable: n });+async function WEe(e) {+ let t = S1.epoch, n = await e.configurable();+ S1.open && S1.epoch === t && E1({ configurable: n });}-function bEe(e = "") {- let t = b1;+function GEe(e = "") {+ let t = x1;if (!t) return;- let n = y1.findIndex(([t]) => t === e);- if (x1.open && !x1.closing) {- n >= 0 && n !== x1.tab && T1({ tab: n });+ let n = b1.findIndex(([t]) => t === e);+ if (S1.open && !S1.closing) {+ n >= 0 && n !== S1.tab && E1({ tab: n });return;}- Vo(), S1 += 1, C1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");- let r = axe();- T1({+ Vo(), C1 += 1, w1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");+ let r = jxe();+ E1({open: !0,closing: !1,configurable: null,- epoch: x1.epoch + 1,- tab: n >= 0 ? n : x1.tab+ epoch: S1.epoch + 1,+ tab: n >= 0 ? n : S1.tab}), r.then((e) => {e && t.syncRemote(e);- }), yEe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());+ }), WEe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());}-function E1(e = !0) {- if (!x1.open || x1.closing) return;- let t = ++S1;- e && b1?.closed?.(), T1({ closing: !0 });+function D1(e = !0) {+ if (!S1.open || S1.closing) return;+ let t = ++C1;+ e && x1?.closed?.(), E1({ closing: !0 });let n = () => {- t === S1 && x1.closing && (T1({+ t === C1 && S1.closing && (E1({open: !1,closing: !1- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), C1 instanceof HTMLElement && document.contains(C1) && C1.focus(), C1 = null);+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), w1 instanceof HTMLElement && document.contains(w1) && w1.focus(), w1 = null);};matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));}-var xEe = {- open: bEe,- close: E1,- isOpen: () => x1.open,+var KEe = {+ open: GEe,+ close: D1,+ isOpen: () => S1.open,reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))};-function SEe(e) {- return b1 = e, xEe;+function qEe(e) {+ return x1 = e, KEe;}-function CEe() {- let e = (0, P.useSyncExternalStore)(_Ee, () => x1);- return b1 ? /* @__PURE__ */ (0, F.jsx)(EEe, {- host: b1,+function JEe() {+ let e = (0, P.useSyncExternalStore)(HEe, () => S1);+ return x1 ? /* @__PURE__ */ (0, F.jsx)(ZEe, {+ host: x1,view: e}) : null;}-function wEe(e) {+function YEe(e) {if (e.key !== "Tab") return;- let t = [...e.currentTarget.querySelectorAll(gEe)].filter((e) => e.getClientRects().length > 0);+ let t = [...e.currentTarget.querySelectorAll(VEe)].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 D1 = (e) => `settings-tab-${e}`, O1 = (e) => `settings-group-${e}`;-function TEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {+var O1 = (e) => `settings-tab-${e}`, k1 = (e) => `settings-group-${e}`;+function XEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {let a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(e), l = (0, P.useRef)([]), u = (e, t) => {let n = o.current;if (!n) return;@@ -66843,7 +67023,7 @@ function TEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectc.current = e, d.current(l.current[e], t);}, [e, t]);let f = (e, t) => {- let n = y1.length, r = t;+ let n = b1.length, r = t;if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;else if (e.key === "Home") r = 0;@@ -66872,11 +67052,11 @@ function TEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectrole: "presentation",children: "设置"}),- y1.map(([t, n], r) => /* @__PURE__ */ (0, F.jsxs)("button", {+ b1.map(([t, n], r) => /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",role: "tab",- id: D1(r),- "aria-controls": O1(r),+ id: O1(r),+ "aria-controls": k1(r),"aria-selected": r === e,tabIndex: r === e ? 0 : -1,ref: (e) => {@@ -66887,7 +67067,7 @@ function TEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonPointerEnter: (e) => {e.pointerType !== "touch" && u(e.currentTarget, !0);},- children: [n === "jav" ? /* @__PURE__ */ (0, F.jsx)(_P, { name: n }) : /* @__PURE__ */ (0, F.jsx)(Xce, { name: n }), t]+ children: [n === "jav" ? /* @__PURE__ */ (0, F.jsx)(hP, { name: n }) : /* @__PURE__ */ (0, F.jsx)(wle, { name: n }), t]}, t)),/* @__PURE__ */ (0, F.jsx)("div", {"data-settings-service": "",@@ -66898,27 +67078,27 @@ function TEe({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelectonClick: r,title: n === !1 ? "请在运行 Peach 的设备上打开 Peach 配置" : void 0,children: [- /* @__PURE__ */ (0, F.jsx)(_P, { name: "folder-cog" }),+ /* @__PURE__ */ (0, F.jsx)(hP, { name: "folder-cog" }),"Peach 配置",- /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-right" })+ /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-right" })]})})]});}-function k1({ index: e, tab: t, children: n, cards: r = !1 }) {+function A1({ index: e, tab: t, children: n, cards: r = !1 }) {return /* @__PURE__ */ (0, F.jsxs)("section", {"data-setting-group": "","data-setting-layout": r ? "cards" : void 0,- id: O1(e),+ id: k1(e),role: "tabpanel",- "aria-labelledby": D1(e),+ "aria-labelledby": O1(e),hidden: e !== t,- children: [/* @__PURE__ */ (0, F.jsx)("h3", { children: y1[e][0] }), n]+ children: [/* @__PURE__ */ (0, F.jsx)("h3", { children: b1[e][0] }), n]});}-function A1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {+function j1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {return /* @__PURE__ */ (0, F.jsxs)("label", {"data-setting-row": "",children: [/* @__PURE__ */ (0, F.jsxs)("span", { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, F.jsx)("small", {@@ -66935,7 +67115,7 @@ function A1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se})]});}-function j1({ title: e, description: t, kind: n, children: r }) {+function M1({ title: e, description: t, kind: n, children: r }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-row": "","data-setting-sort": n === "sort" ? "" : void 0,@@ -66943,7 +67123,7 @@ function j1({ title: e, description: t, kind: n, children: r }) {children: [/* @__PURE__ */ (0, F.jsxs)("span", { children: [/* @__PURE__ */ (0, F.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, F.jsx)("small", { children: t }) : t] }), r]});}-function EEe({ host: e, view: t }) {+function ZEe({ host: e, view: t }) {(0, P.useSyncExternalStore)(e.store.subscribe, e.store.version);let n = e.store.value, r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(t.tab), l = () => {let [e, t] = [i.current, o.current];@@ -66964,7 +67144,7 @@ function EEe({ host: e, view: t }) {s.current?.();});let d = t.epoch, f = (t) => {- t !== x1.tab && (T1({ tab: t }), e.selectSection?.(y1[t][0]));+ t !== S1.tab && (E1({ tab: t }), e.selectSection?.(b1[t][0]));}, p = () => e.store.save();return /* @__PURE__ */ (0, F.jsx)("section", {"data-settings-panel": "",@@ -66975,9 +67155,9 @@ function EEe({ host: e, view: t }) {"aria-labelledby": "settingsTitle","data-closing": t.closing ? "" : void 0,ref: r,- onKeyDown: wEe,+ onKeyDown: YEe,onClick: (e) => {- e.target === e.currentTarget && E1();+ e.target === e.currentTarget && D1();},children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-settings-card": "",@@ -66988,27 +67168,27 @@ function EEe({ host: e, view: t }) {ref: a,children: [/* @__PURE__ */ (0, F.jsx)("h2", {id: "settingsTitle",- children: y1[t.tab][0]- }), /* @__PURE__ */ (0, F.jsx)(Lz, {+ children: b1[t.tab][0]+ }), /* @__PURE__ */ (0, F.jsx)(Hz, {id: "settingsClose",label: "关闭设置",- onPress: () => E1()+ onPress: () => D1()})]}),- /* @__PURE__ */ (0, F.jsx)(TEe, {+ /* @__PURE__ */ (0, F.jsx)(XEe, {tab: t.tab,epoch: d,configurable: t.configurable,onSelect: f,openConfiguration: () => {- E1(!1), e.openConfiguration();+ D1(!1), e.openConfiguration();}}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-settings-scroll": "",ref: o,children: [- /* @__PURE__ */ (0, F.jsxs)(k1, {+ /* @__PURE__ */ (0, F.jsxs)(A1, {index: 0,tab: t.tab,cards: !0,@@ -67016,9 +67196,9 @@ function EEe({ host: e, view: t }) {/* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-card": "",children: [- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "主题",- children: /* @__PURE__ */ (0, F.jsx)(d1, {+ children: /* @__PURE__ */ (0, F.jsx)(f1, {id: "themeSetting",name: "theme",legend: "主题",@@ -67046,7 +67226,7 @@ function EEe({ host: e, view: t }) {onChange: (t) => e.setHighContrast(t.target.checked)})]}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {id: "uiSoundsSetting",title: "界面音效",checked: n.uiSounds,@@ -67054,7 +67234,7 @@ function EEe({ host: e, view: t }) {n.uiSounds = t, p(), e.changed("uiSounds");}}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {id: "homeGlowSetting",title: "侧栏光晕",checked: n.homeGlow.on,@@ -67064,7 +67244,7 @@ function EEe({ host: e, view: t }) {})]}),- /* @__PURE__ */ (0, F.jsx)(cEe, { host: e }),+ /* @__PURE__ */ (0, F.jsx)(NEe, { host: e }),/* @__PURE__ */ (0, F.jsxs)("section", {"data-setting-block": "","aria-labelledby": "sidebarOrderTitle",@@ -67076,35 +67256,35 @@ function EEe({ host: e, view: t }) {"data-setting-card": "",children: /* @__PURE__ */ (0, F.jsx)("section", {"data-sidebar-setting": "",- children: /* @__PURE__ */ (0, F.jsx)(dEe, { host: e })+ children: /* @__PURE__ */ (0, F.jsx)(IEe, { host: e })})})]})]}),- /* @__PURE__ */ (0, F.jsx)(OEe, {+ /* @__PURE__ */ (0, F.jsx)($Ee, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, F.jsx)(kEe, {+ /* @__PURE__ */ (0, F.jsx)(eDe, {host: e,tab: t.tab,epoch: d}),- /* @__PURE__ */ (0, F.jsxs)(k1, {+ /* @__PURE__ */ (0, F.jsxs)(A1, {index: 3,tab: t.tab,children: [- /* @__PURE__ */ (0, F.jsx)(MEe, {+ /* @__PURE__ */ (0, F.jsx)(rDe, {host: e,epoch: d}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "相关推荐数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "relatedLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "relatedLimitSetting",label: "相关推荐数量",value: n.relatedLimit,@@ -67114,24 +67294,24 @@ function EEe({ host: e, view: t }) {}, d)})}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "口味与记录",children: /* @__PURE__ */ (0, F.jsx)("div", {className: "peach-react",- children: /* @__PURE__ */ (0, F.jsx)(iI, {+ children: /* @__PURE__ */ (0, F.jsx)(pI, {variant: "secondary",href: "/taste",- onClick: () => E1(!1),+ onClick: () => D1(!1),children: "打开口味与记录"})})})]}),- /* @__PURE__ */ (0, F.jsx)(k1, {+ /* @__PURE__ */ (0, F.jsx)(A1, {index: 4,tab: t.tab,- children: /* @__PURE__ */ (0, F.jsx)(A1, {+ children: /* @__PURE__ */ (0, F.jsx)(j1, {id: "censorSetting",title: "SFW 模式",describedBy: "sfwDescription",@@ -67146,7 +67326,7 @@ function EEe({ host: e, view: t }) {})});}-function DEe(e, t) {+function QEe(e, t) {let n = e.querySelector("[data-select-label]");if (!n) return;n.querySelector("[data-icon-swap]") || (n.innerHTML = Ds("arrow-up", "arrow-down", "a", {@@ -67156,9 +67336,9 @@ function DEe(e, t) {let r = n.querySelector("[data-sort-direction-label]");r && (r.textContent = t ? "升序" : "降序");}-function OEe({ host: e, tab: t, epoch: n }) {+function $Ee({ 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, F.jsxs)(k1, {+ return /* @__PURE__ */ (0, F.jsxs)(A1, {index: 1,tab: t,children: [@@ -67166,11 +67346,11 @@ function OEe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品列表"}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "每批加载作品",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "batchSizeSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "batchSizeSetting",label: "每批作品",value: r.batchSize,@@ -67180,24 +67360,24 @@ function OEe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "默认排序",kind: "sort",children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-setting-sort-controls": "",- children: [/* @__PURE__ */ (0, F.jsx)(f1, {+ children: [/* @__PURE__ */ (0, F.jsx)(p1, {id: "defaultSortSetting",label: "默认排序",- options: fEe,+ options: LEe,value: r.defaultSort,epoch: n,onPick: (t) => {r.defaultSort = t, i(), e.changed("defaultSort");}- }), /* @__PURE__ */ (0, F.jsx)(f1, {+ }), /* @__PURE__ */ (0, F.jsx)(p1, {id: "defaultSortDirectionSetting",label: "默认排序方向",- options: pEe,+ options: REe,value: o ? "asc" : "desc",hidden: a,disabled: a,@@ -67205,13 +67385,13 @@ function OEe({ host: e, tab: t, epoch: n }) {onPick: (t) => {r.defaultSortDirection = t, i(), e.changed("sortDirection");},- decorate: (e) => DEe(e, o)+ decorate: (e) => QEe(e, o)})]})}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "视频卡片大小",- children: /* @__PURE__ */ (0, F.jsx)(d1, {+ children: /* @__PURE__ */ (0, F.jsx)(f1, {id: "javSizeSetting",name: "video-size",legend: "视频卡片大小",@@ -67237,11 +67417,11 @@ function OEe({ host: e, tab: t, epoch: n }) {}})]}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "悬停预览延迟",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "hoverDelaySetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "hoverDelaySetting",label: "悬停预览延迟",value: r.hoverDelaySeconds,@@ -67255,16 +67435,16 @@ function OEe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "播放"}),- /* @__PURE__ */ (0, F.jsx)(jEe, {+ /* @__PURE__ */ (0, F.jsx)(nDe, {host: e,epoch: n})]});}-function kEe({ host: e, tab: t, epoch: n }) {+function eDe({ host: e, tab: t, epoch: n }) {let r = e.store.value, i = () => e.store.save();- return /* @__PURE__ */ (0, F.jsxs)(k1, {+ return /* @__PURE__ */ (0, F.jsxs)(A1, {index: 2,tab: t,children: [@@ -67272,13 +67452,13 @@ function kEe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "作品显示"}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "默认图片",- children: /* @__PURE__ */ (0, F.jsx)(d1, {+ children: /* @__PURE__ */ (0, F.jsx)(f1, {id: "javImageSetting",name: "jav-image",legend: "默认图片",- options: mEe,+ options: zEe,value: r.javImage,attr: "data-jav-image-choice",variant: "javimageswitch",@@ -67293,11 +67473,11 @@ function kEe({ host: e, tab: t, epoch: n }) {"data-settings-subheading": "",children: "新作显示"}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "显示数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "feedLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "feedLimitSetting",label: "新作显示数量",value: r.feedLimit,@@ -67307,7 +67487,7 @@ function kEe({ host: e, tab: t, epoch: n }) {}, n)})}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {id: "feedAutoScrollSetting",title: "自动滚动",checked: r.feedAutoScroll,@@ -67315,7 +67495,7 @@ function kEe({ host: e, tab: t, epoch: n }) {r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");}}),- hEe.map(([t, n, r, i]) => /* @__PURE__ */ (0, F.jsx)(AEe, {+ BEe.map(([t, n, r, i]) => /* @__PURE__ */ (0, F.jsx)(tDe, {host: e,id: t,settingKey: n,@@ -67325,7 +67505,7 @@ function kEe({ host: e, tab: t, epoch: n }) {]});}-function AEe({ host: e, id: t, settingKey: n, label: r, title: i }) {+function tDe({ host: e, id: t, settingKey: n, label: r, title: i }) {let a = aX(), [o, s] = (0, P.useState)(null), c = (0, P.useRef)(null), l = e.store.value, u = (t) => {s(t), kc(c.current), a.mutate({ [n]: t }, {onSuccess: (i) => {@@ -67350,10 +67530,10 @@ function AEe({ host: e, id: t, settingKey: n, label: r, title: i }) {})]});}-function jEe({ host: e, epoch: t }) {+function nDe({ host: e, epoch: t }) {let n = e.store.value, r = () => e.store.save();return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {id: "detailAutoplaySetting",title: "打开详情自动播放",checked: n.detailAutoplay,@@ -67361,7 +67541,7 @@ function jEe({ host: e, epoch: t }) {n.detailAutoplay = e, r();}}),- /* @__PURE__ */ (0, F.jsx)(A1, {+ /* @__PURE__ */ (0, F.jsx)(j1, {id: "miniplayerSetting",title: "离开详情后小窗播放",checked: n.miniplayer,@@ -67369,11 +67549,11 @@ function jEe({ host: e, epoch: t }) {n.miniplayer = t, r(), e.changed("miniplayer");}}),- /* @__PURE__ */ (0, F.jsx)(j1, {+ /* @__PURE__ */ (0, F.jsx)(M1, {title: "快进 / 快退步长",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "seekSecondsSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "seekSecondsSetting",label: "快进 / 快退",value: n.seekSeconds,@@ -67385,13 +67565,13 @@ function jEe({ host: e, epoch: t }) {})] });}-function MEe({ host: e, epoch: t }) {+function rDe({ host: e, epoch: t }) {let n = e.store.value, r = aX();- return /* @__PURE__ */ (0, F.jsx)(j1, {+ return /* @__PURE__ */ (0, F.jsx)(M1, {title: "搜索记录数量",children: /* @__PURE__ */ (0, F.jsx)("div", {id: "searchHistoryLimitSetting",- children: /* @__PURE__ */ (0, F.jsx)(h1, {+ children: /* @__PURE__ */ (0, F.jsx)(g1, {id: "searchHistoryLimitSetting",label: "搜索记录",value: n.searchHistoryLimit,@@ -67403,68 +67583,68 @@ function MEe({ host: e, epoch: t }) {});}// src/react/sidebar/sidebar-island.tsx-var M1 = "__home__", NEe = {+var N1 = "__home__", iDe = {creator: 26,tag: 30,tech: 16-}, N1 = 180, P1 = null, F1 = {+}, P1 = 180, F1 = null, I1 = {props: {content: null,filters: {},latest: null},epoch: 0-}, I1 = /* @__PURE__ */ new Set();-function PEe(e) {- return I1.add(e), () => {- I1.delete(e);+}, L1 = /* @__PURE__ */ new Set();+function aDe(e) {+ return L1.add(e), () => {+ L1.delete(e);};}-function L1() {- for (let e of [...I1]) e();+function R1() {+ for (let e of [...L1]) e();}-var FEe = {+var oDe = {render(e) {- F1 = {- ...F1,+ I1 = {+ ...I1,props: e- }, (0, Lt.flushSync)(L1);+ }, (0, Lt.flushSync)(R1);},navChanged() {- F1 = {- ...F1,- epoch: F1.epoch + 1- }, (0, Lt.flushSync)(L1);+ I1 = {+ ...I1,+ epoch: I1.epoch + 1+ }, (0, Lt.flushSync)(R1);}};-function IEe(e) {- return P1 = e, F1 = {- ...F1,+function sDe(e) {+ return F1 = e, I1 = {+ ...I1,props: {content: null,filters: {},latest: null}- }, FEe;+ }, oDe;}-function LEe() {- let e = (0, P.useSyncExternalStore)(PEe, () => F1);- return P1 ? /* @__PURE__ */ (0, F.jsx)(REe, {- host: P1,+function cDe() {+ let e = (0, P.useSyncExternalStore)(aDe, () => I1);+ return F1 ? /* @__PURE__ */ (0, F.jsx)(lDe, {+ host: F1,props: e.props,epoch: e.epoch}) : null;}-function REe({ host: e, props: t, epoch: n }) {+function lDe({ host: e, props: t, epoch: n }) {let r = (0, P.useSyncExternalStore)(e.store.subscribe, e.store.version);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("div", { "data-sidebar-head": "" }),- /* @__PURE__ */ (0, F.jsx)(zEe, {+ /* @__PURE__ */ (0, F.jsx)(uDe, {host: e,epoch: n,version: r}),- t.content ? /* @__PURE__ */ (0, F.jsx)(VEe, {+ t.content ? /* @__PURE__ */ (0, F.jsx)(fDe, {host: e,content: t.content,filters: t.filters,@@ -67472,8 +67652,8 @@ function REe({ host: e, props: t, epoch: n }) {}) : null] });}-function zEe({ host: e, epoch: t, version: n }) {- let r = g1(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, P.useRef)(null), l = (0, P.useRef)(null), u = nI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || M1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;+function uDe({ host: e, epoch: t, version: n }) {+ let r = _1(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, P.useRef)(null), l = (0, P.useRef)(null), u = dI(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || N1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;(0, P.useEffect)(() => {let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());[@@ -67497,7 +67677,7 @@ function zEe({ host: e, epoch: t, version: n }) {}, _ = (e) => ({draggable: !0,onDragStart: (t) => {- p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || M1);+ p(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", e || N1);},onDragOver: (t) => {if (f === null || f === e) return;@@ -67512,7 +67692,7 @@ function zEe({ host: e, epoch: t, version: n }) {t.preventDefault();let n = f, a = m?.key === e && m.after;g();- let o = n === null ? null : _1(i, n, e, a);+ let o = n === null ? null : v1(i, n, e, a);o && r(o);},onDragEnd: g@@ -67540,16 +67720,16 @@ function zEe({ host: e, epoch: t, version: n }) {height: 24,alt: "",decoding: "async"- }) : /* @__PURE__ */ (0, F.jsx)(_P, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]- }, t || M1))+ }) : /* @__PURE__ */ (0, F.jsx)(hP, { name: r }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ }, t || N1))}), v ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)("span", {"data-sidebar-glide": "","aria-hidden": "true",ref: l}), v) : null] });}-var R1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);-function BEe(e) {+var z1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);+function dDe(e) {if (!e) return null;let t = /* @__PURE__ */ new Map(), n = [["loc", e.locations],@@ -67563,7 +67743,7 @@ function BEe(e) {for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);return t;}-function VEe({ host: e, content: t, filters: n, latest: r }) {+function fDe({ 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(",")}:${(t.providers || []).map((e) => e.value).join(",")}:${n.provider ?? ""}:${+!!t.duration}:${n.dur_min ?? ""}:${n.dur_max ?? ""}`;(0, P.useLayoutEffect)(() => {t.kind === "catalog" && Ns(e.scroll, "drawer");@@ -67572,8 +67752,8 @@ function VEe({ host: e, content: t, filters: n, latest: r }) {i,t.kind]);- let a = t.kind === "catalog" ? HEe(e, t.facets, n, r, i) : UEe(e, t, n), o = 0;- return a.map((e) => e && /* @__PURE__ */ (0, F.jsx)(WEe, {+ let a = t.kind === "catalog" ? pDe(e, t.facets, n, r, i) : mDe(e, t, n), o = 0;+ return a.map((e) => e && /* @__PURE__ */ (0, F.jsx)(hDe, {title: e.title,kind: e.kind,active: e.active,@@ -67582,11 +67762,11 @@ function VEe({ host: e, content: t, filters: n, latest: r }) {children: e.body}, e.title));}-function HEe(e, t, n, r, i) {- let a = BEe(r), o = (t, r, i) => {+function pDe(e, t, n, r, i) {+ let a = dDe(r), o = (t, r, i) => {if (!t.length) return null;- let o = R1(n, r);- return /* @__PURE__ */ (0, F.jsx)(V1, {+ let o = z1(n, r);+ return /* @__PURE__ */ (0, F.jsx)(H1, {rows: t,filterKey: r,multi: i,@@ -67596,7 +67776,7 @@ function HEe(e, t, n, r, i) {});}, s = (t, s, c, l, u, d) => {if (!c.length) return null;- let f = R1(n, l), p = c.some((e) => f.includes(e.value));+ let f = z1(n, l), p = c.some((e) => f.includes(e.value));if (!d) return {title: t,kind: s,@@ -67608,12 +67788,12 @@ function HEe(e, t, n, r, i) {title: t,kind: s,active: p,- body: /* @__PURE__ */ (0, F.jsx)(KEe, {+ body: /* @__PURE__ */ (0, F.jsx)(_De, {epoch: i,title: t,rows: c,latest: m ?? null,- limit: NEe[d],+ limit: iDe[d],filterKey: l,selected: f,counts: a,@@ -67628,7 +67808,7 @@ function HEe(e, t, n, r, i) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(W1, {+ body: /* @__PURE__ */ (0, F.jsx)(G1, {host: e,filters: n})@@ -67643,7 +67823,7 @@ function HEe(e, t, n, r, i) {title: "关注标签",kind: "online",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(H1, {+ body: /* @__PURE__ */ (0, F.jsx)(U1, {rows: t.followTags,host: e,selected: null,@@ -67652,14 +67832,14 @@ function HEe(e, t, n, r, i) {} : null];}-function UEe(e, t, n) {- let r = t.providers || [], i = R1(n, "provider"), a = new Set(t.selected);+function mDe(e, t, n) {+ let r = t.providers || [], i = z1(n, "provider"), a = new Set(t.selected);return [r.length ? {title: "来源",kind: "src",active: r.some((e) => i.includes(e.value)),- body: /* @__PURE__ */ (0, F.jsx)(V1, {+ body: /* @__PURE__ */ (0, F.jsx)(H1, {rows: r,filterKey: "provider",multi: !1,@@ -67673,7 +67853,7 @@ function UEe(e, t, n) {title: "时长",kind: "meta",active: !1,- body: /* @__PURE__ */ (0, F.jsx)(W1, {+ body: /* @__PURE__ */ (0, F.jsx)(G1, {host: e,filters: n,commit: e.setFollowDuration@@ -67683,7 +67863,7 @@ function UEe(e, t, n) {title: "内容标签",kind: "online",active: t.tags.some((e) => a.has(e.value)),- body: /* @__PURE__ */ (0, F.jsx)(H1, {+ body: /* @__PURE__ */ (0, F.jsx)(U1, {rows: t.tags,host: e,selected: a,@@ -67692,19 +67872,19 @@ function UEe(e, t, n) {} : null];}-function z1(e, t) {+function B1(e, t) {let n = null;try {n = sessionStorage.getItem(`peach.sidebar.group.${e}`);} catch {}return n === null ? t : n === "open";}-function WEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {- let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(() => z1(e, n)), u = (0, P.useRef)(!1);+function hDe({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {+ let o = (0, P.useRef)(null), s = (0, P.useRef)(null), [c, l] = (0, P.useState)(() => B1(e, n)), u = (0, P.useRef)(!1);(0, P.useLayoutEffect)(() => {let t = o.current, r = s.current;if (!t || !r) return;- let i = u.current ? z1(e, n) : c;+ let i = u.current ? B1(e, n) : c;u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));}, [i]);let d = (t) => {@@ -67725,7 +67905,7 @@ function WEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })"aria-expanded": c,"aria-controls": f,onClick: d,- children: [/* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]+ children: [/* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-right" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e })]}), /* @__PURE__ */ (0, F.jsx)("div", {ref: s,"data-sidebar-collapse": "",@@ -67736,7 +67916,7 @@ function WEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })children: /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-body": "",id: `sidebar-group-${encodeURIComponent(e)}`,- children: /* @__PURE__ */ (0, F.jsx)(B1.Provider, {+ children: /* @__PURE__ */ (0, F.jsx)(V1.Provider, {value: d,children: a})@@ -67745,15 +67925,15 @@ function WEe({ title: e, kind: t, active: n, index: r, epoch: i, children: a })})]});}-var B1 = (0, P.createContext)(() => {});-function GEe({ dot: e }) {- return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(_P, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, F.jsx)("img", {+var V1 = (0, P.createContext)(() => {});+function gDe({ dot: e }) {+ return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, F.jsx)(hP, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, F.jsx)("img", {"data-sidebar-source-icon": "",src: e.src,alt: ""}) : /* @__PURE__ */ (0, F.jsx)("i", { "data-sidebar-cost": e.cost }) : null;}-function V1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {+function H1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => {@@ -67770,7 +67950,7 @@ function V1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,title: e.offline || e.label,onClick: () => o(t, e.value, n),children: [- /* @__PURE__ */ (0, F.jsx)(GEe, { dot: e.dot }),+ /* @__PURE__ */ (0, F.jsx)(gDe, { dot: e.dot }),/* @__PURE__ */ (0, F.jsx)("span", {"data-sidebar-chip-label": "",children: e.label@@ -67785,8 +67965,8 @@ function V1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,})});}-function KEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {- let u = (0, P.useContext)(B1), [d, f] = (0, P.useState)(null), [p, m] = (0, P.useState)(e);+function _De({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {+ let u = (0, P.useContext)(V1), [d, f] = (0, P.useState)(null), [p, m] = (0, P.useState)(e);p !== e && (m(e), f(null));let h = (0, P.useRef)(null), g = (0, P.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;return (0, P.useLayoutEffect)(() => {@@ -67801,7 +67981,7 @@ function KEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, se.body.classList.add("ui-fcollapse"), To(e.body, e.before, () => !!t?.open && !e.body.inert);}t(), requestAnimationFrame(t);- }, [d, _]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(V1, {+ }, [d, _]), /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(H1, {rows: _ ? v : v.slice(0, i),filterKey: a,multi: !1,@@ -67826,10 +68006,10 @@ function KEe({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, sall: !_}), _ && u());},- children: /* @__PURE__ */ (0, F.jsx)(_P, { name: "chevron-down" })+ children: /* @__PURE__ */ (0, F.jsx)(hP, { name: "chevron-down" })}) : null] });}-function H1({ rows: e, host: t, selected: n, badges: r }) {+function U1({ rows: e, host: t, selected: n, badges: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-chips": "",children: e.map((e) => /* @__PURE__ */ (0, F.jsxs)("button", {@@ -67851,10 +68031,10 @@ function H1({ rows: e, host: t, selected: n, badges: r }) {}, e.value))});}-var U1 = (e, t) => e ? Math.min(N1, Number(e) / 60) : t;-function W1({ host: e, filters: t, commit: n = e.setDuration }) {- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, P.useState)(r), [o, s] = (0, P.useState)(() => [U1(t.dur_min, 0), U1(t.dur_max, N1)]), [c, l] = (0, P.useState)("max");- i !== r && (a(r), s([U1(t.dur_min, 0), U1(t.dur_max, N1)]));+var W1 = (e, t) => e ? Math.min(P1, Number(e) / 60) : t;+function G1({ host: e, filters: t, commit: n = e.setDuration }) {+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, P.useState)(r), [o, s] = (0, P.useState)(() => [W1(t.dur_min, 0), W1(t.dur_max, P1)]), [c, l] = (0, P.useState)("max");+ i !== r && (a(r), s([W1(t.dur_min, 0), W1(t.dur_max, P1)]));let [u, d] = o, f = (0, P.useRef)(null), p = (0, P.useRef)(null), m = (0, P.useRef)(null), h = (0, P.useRef)(o);h.current = o;let g = (e, t) => {@@ -67867,11 +68047,11 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {}, [n]), (0, P.useLayoutEffect)(() => {let e = f.current;if (!e) return;- e.style.setProperty("--lo", `${u / N1 * 100}%`), e.style.setProperty("--hi", `${d / N1 * 100}%`);+ e.style.setProperty("--lo", `${u / P1 * 100}%`), e.style.setProperty("--hi", `${d / P1 * 100}%`);let t = e.getBoundingClientRect();e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {let n = e.dataset.rangeEnd === "max" ? d : u;- e.style.left = `${n / N1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");+ e.style.left = `${n / P1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);});@@ -67881,7 +68061,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {"data-range-end": e,"data-range-active": c === e ? "" : void 0,"aria-hidden": "true",- children: e === "max" && t >= N1 ? "不限" : `${t} 分钟`+ children: e === "max" && t >= P1 ? "不限" : `${t} 分钟`});return /* @__PURE__ */ (0, F.jsx)("div", {"data-sidebar-duration": "",@@ -67896,7 +68076,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMin",type: "range",min: "0",- max: N1,+ max: P1,step: "5",value: u,"aria-label": "最短时长(分钟)",@@ -67907,7 +68087,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {id: "durMax",type: "range",min: "0",- max: N1,+ max: P1,step: "5",value: d,"aria-label": "最长时长(分钟)",@@ -67921,7 +68101,7 @@ function W1({ host: e, filters: t, commit: n = e.setDuration }) {});}// src/diagnostics-skeleton.ts-function G1() {+function K1() {let e = (e) => ls({label: e,variant: "secondary",@@ -67935,11 +68115,11 @@ function G1() {</div></div>`;}// src/react/settings/library-policy-copy.ts-var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", qEe = [+var q1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", vDe = ["自动补全","仅使用本地资料","自定义"-], JEe = [+], yDe = [["读本地 NFO 和图片","✓",@@ -67970,7 +68150,7 @@ var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式"—","可选"]-], YEe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", q1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", J1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", Y1 = "只填域名,留空用默认地址", XEe = [+], bDe = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", J1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", Y1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", X1 = "只填域名,留空用默认地址", xDe = [{provider: "coomer",label: "Coomer",@@ -68060,8 +68240,8 @@ var K1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式label: "SubscribeStar",requirement: "none"}-], X1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", ZEe = "peach.configuration.shape.v1";-function Z1() {+], Z1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", SDe = "peach.configuration.shape.v1";+function Q1() {try {let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");return e && typeof e == "object" ? e : {};@@ -68069,28 +68249,28 @@ function Z1() {return {};}}-function QEe(e, t) {+function CDe(e, t) {try {- let n = Z1();+ let n = Q1();if (JSON.stringify(n[e]) === JSON.stringify(t)) return;- localStorage.setItem(ZEe, JSON.stringify({+ localStorage.setItem(SDe, JSON.stringify({...n,[e]: t}));} catch {}}-var Q1 = (e) => Z1()[e], $1 = (e) => e === !0, e0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, t0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], n0 = "disabled data-skeleton-action", r0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, i0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, a0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, o0 = (e = "3em") => a0(e, "24px"), s0 = () => a0("var(--icon-inline)", "var(--icon-inline)"), c0 = (e, t = "primary", n = "medium") => ls({+var $1 = (e) => Q1()[e], e0 = (e) => e === !0, t0 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, n0 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], r0 = "disabled data-skeleton-action", i0 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, a0 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, o0 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, s0 = (e = "3em") => o0(e, "24px"), c0 = () => o0("var(--icon-inline)", "var(--icon-inline)"), l0 = (e, t = "primary", n = "medium") => ls({label: e,variant: t,size: n,- attrs: n0-}), l0 = (e, t = "") => `<div class="-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">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, u0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, $Ee = (e, t, n) => {- let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${s0()}${e}</span>` : e}</p>`;+ attrs: r0+}), u0 = (e, t = "") => `<div class="-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">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, d0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, wDe = (e, t, n) => {+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${c0()}${e}</span>` : e}</p>`;return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;-}, d0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${$Ee(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? l0(n, i) : ""}</div></section>`, f0 = (e, t, n) => `<div class="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"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, p0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => f0(e, t, `<span class="skeleton ${n}"></span>`), m0 = (e, t = "4em") => f0(e, "", r0(t)), h0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, g0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, _0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${i0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, v0 = (e) => `<div class="flex flex-col gap-1">${g0(e)}${ds(r0("8em"))}</div>`, y0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${a0("16px", "16px")}${e}</span>`, b0 = (e) => `<span class="inline-flex items-center gap-1">${s0()}${e}</span>`, x0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${os("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, eDe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), S0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${eDe.has(e) ? r0("100%") + r0("80%") + r0("6em") : r0("6em")}</dd></div>`).join("")}</dl>`, tDe = XEe;-function nDe(e = Q1("credentials")) {- let t = new Set(t0(e?.done, 64, String));- return tDe.map((e) => {+}, f0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${wDe(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? u0(n, i) : ""}</div></section>`, p0 = (e, t, n) => `<div class="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"><div class="flex min-w-0 flex-col"><p class="text-body-regular text-text-primary">${e}</p>${t ? `<p class="text-body-2-regular text-text-secondary">${t}</p>` : ""}</div>${n}</div>`, m0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => p0(e, t, `<span class="skeleton ${n}"></span>`), h0 = (e, t = "4em") => p0(e, "", i0(t)), g0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, _0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, v0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${a0()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, y0 = (e) => `<div class="flex flex-col gap-1">${_0(e)}${ds(i0("8em"))}</div>`, b0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${o0("16px", "16px")}${e}</span>`, x0 = (e) => `<span class="inline-flex items-center gap-1">${c0()}${e}</span>`, S0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${os("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, TDe = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), C0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${TDe.has(e) ? i0("100%") + i0("80%") + i0("6em") : i0("6em")}</dd></div>`).join("")}</dl>`, EDe = xDe;+function DDe(e = $1("credentials")) {+ let t = new Set(n0(e?.done, 64, String));+ return EDe.map((e) => {let n = t.has(e.provider);return {...e,@@ -68099,134 +68279,134 @@ function nDe(e = Q1("credentials")) {};});}-function rDe(e) {- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = o0() + (n && !e.done ? t.map(() => o0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${a0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;- if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? h0(z(e.why)) : ""}</div>`;- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + h0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? h0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => _0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${c0("保存配置")}</div>${x0("凭据文件")}</div></div>` : "";- return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${x0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;+function ODe(e) {+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = s0() + (n && !e.done ? t.map(() => s0("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${o0("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? g0(z(e.why)) : ""}</div>`;+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + g0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? g0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => v0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${l0("保存配置")}</div>${S0("凭据文件")}</div></div>` : "";+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${S0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;}-function C0() {- let e = nDe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;- return d0("来源凭据", u0(`<div class="flex flex-col gap-4">${[+function w0() {+ let e = DDe(), t = e.filter((e) => e.requirement === "required" && !e.done).length;+ return f0("来源凭据", d0(`<div class="flex flex-col gap-4">${[["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],["不需要凭据", e.filter((e) => e.requirement === "none")],["暂不支持", e.filter((e) => e.requirement === "blocked")]- ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(rDe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? r0("5em") : "" });-}-function w0() {- let e = t0(Q1("indexers")?.open, 20, $1).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${os("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${r0("6em")}${r0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${_0("名称")}${_0("Torznab 地址")}${_0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${y0("启用")}${c0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");- return d0("资源搜索", u0(`<div class="flex min-w-0 flex-col gap-4">${x0("索引器连接帮助")}${e}</div>`), c0("添加索引器", "secondary") + c0("保存配置"));+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(ODe).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? i0("5em") : "" });}function T0() {- let e = Q1("javBrowser"), t = $1(e?.enabled);- return d0("浏览器添加 JAV", u0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${r0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${o0()}</div><p class="text-caption-1-regular text-text-secondary">${r0("70%")}</p><div class="flex flex-wrap items-center gap-2">${c0("重新检测", "secondary")}</div></div>`}${v0("浏览器添加的下载渠道")}${$1(e?.ready) ? "" : h0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${_0("Peach 地址")}</div>`), (t ? c0("关闭浏览器添加", "secondary") : "") + c0(t ? "更新渠道与令牌" : "启用并生成令牌"));+ let e = n0($1("indexers")?.open, 20, e0).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${os("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${i0("6em")}${i0("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${v0("名称")}${v0("Torznab 地址")}${v0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${b0("启用")}${l0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");+ return f0("资源搜索", d0(`<div class="flex min-w-0 flex-col gap-4">${S0("索引器连接帮助")}${e}</div>`), l0("添加索引器", "secondary") + l0("保存配置"));+}+function E0() {+ let e = $1("javBrowser"), t = e0(e?.enabled);+ return f0("浏览器添加 JAV", d0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${i0("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${s0()}</div><p class="text-caption-1-regular text-text-secondary">${i0("70%")}</p><div class="flex flex-wrap items-center gap-2">${l0("重新检测", "secondary")}</div></div>`}${y0("浏览器添加的下载渠道")}${e0(e?.ready) ? "" : g0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${v0("Peach 地址")}</div>`), (t ? l0("关闭浏览器添加", "secondary") : "") + l0(t ? "更新渠道与令牌" : "启用并生成令牌"));}-var E0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${g0(e)}${ds(r0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${_0(`${e}地址`)}</div><div class="w-full sm:w-28">${_0(`${e}端口`)}</div></div>${x0("代理认证")}` : "") + "</div>";-function D0() {- let e = Q1("cloudProxy"), t = t0(e?.accounts, 12, (e) => Array.isArray(e) ? [$1(e[0]), $1(e[1])] : [!1, !1]), n = e0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${g0(b0(r0("6em")))}${h0(r0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${g0(b0(r0("8em")))}${h0(r0("50%"))}${E0("数据代理", e)}${E0("API 代理", t)}<div class="flex justify-end">${c0("保存配置")}</div></div>`).join("") : h0(r0("60%"));- return d0("CloudDrive 代理", u0(`${h0(X1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), c0("重新读取", "secondary"));+var D0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${_0(e)}${ds(i0("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${v0(`${e}地址`)}</div><div class="w-full sm:w-28">${v0(`${e}端口`)}</div></div>${S0("代理认证")}` : "") + "</div>";+function O0() {+ let e = $1("cloudProxy"), t = n0(e?.accounts, 12, (e) => Array.isArray(e) ? [e0(e[0]), e0(e[1])] : [!1, !1]), n = t0(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${_0(x0(i0("6em")))}${g0(i0("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${_0(x0(i0("8em")))}${g0(i0("50%"))}${D0("数据代理", e)}${D0("API 代理", t)}<div class="flex justify-end">${l0("保存配置")}</div></div>`).join("") : g0(i0("60%"));+ return f0("CloudDrive 代理", d0(`${g0(Z1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), l0("重新读取", "secondary"));}-var O0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, iDe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">- <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${i0()}</span>${ls({+var k0 = (e, t, n) => `<div class="flex min-w-0 flex-col gap-1 ${n}"><span class="flex items-center gap-0.5 text-body-medium text-text-primary" aria-hidden="true">${e}</span>${t}</div>`, kDe = (e) => `<div data-folder-row class="@container flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3">+ <div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${ls({glyph: "folder-search",variant: "secondary",- attrs: n0+ attrs: r0})}</div>- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${O0("来源", ds(r0("6em")), "w-full @lg:w-60")}${O0("读取策略", ds(r0("4em")), "w-full @lg:w-32")}${e > 1 ? O0("移到媒体库", ds(r0("4em")), "w-full @lg:w-48") : ""}</div></div>- </div>`, aDe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${k0("来源", ds(i0("6em")), "w-full @lg:w-60")}${k0("读取策略", ds(i0("4em")), "w-full @lg:w-32")}${e > 1 ? k0("移到媒体库", ds(i0("4em")), "w-full @lg:w-48") : ""}</div></div>+ </div>`, ADe = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2"><div data-library-head>${ls({label: "自动识别",variant: "secondary",- attrs: n0-})}${i0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ds(r0("4em"), { prefix: "处理方式" })}</div>- <div data-library-folders>${iDe(t).repeat(e)}<div class="flex">${ls({+ attrs: r0+})}${a0()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${ds(i0("4em"), { prefix: "处理方式" })}</div>+ <div data-library-folders>${kDe(t).repeat(e)}<div class="flex">${ls({label: "添加文件夹",variant: "secondary",- attrs: n0-})}</div></div></div>`, oDe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${K1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, sDe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";-function cDe(e = Q1("media")) {- let t = t0(e?.folders, 12, (e) => e0(e, 50)).filter(Boolean);+ attrs: r0+})}</div></div></div>`, jDe = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${q1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, MDe = "<p class=\"text-body-2-regular text-text-secondary\">读取策略选「代理保护」时,会限制自动读取视频。</p><div class=\"flex flex-col gap-3\"><span class=\"flex items-center gap-1 text-body-2-medium text-text-secondary\">CloudDrive 设置帮助</span></div>";+function NDe(e = $1("media")) {+ let t = n0(e?.folders, 12, (e) => t0(e, 50)).filter(Boolean);return t.length ? {folders: t,- cloud: $1(e?.cloud)+ cloud: e0(e?.cloud)} : {folders: [1],cloud: !1};}-function lDe() {- let e = Q1("discovery"), t = $1(e?.enabled), n = t && $1(e?.cloud), r = n && $1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${i0()}</span>${ds(r0("4em"), { prefix: "对应目录" })}${ls({+function PDe() {+ let e = $1("discovery"), t = e0(e?.enabled), n = t && e0(e?.cloud), r = n && e0(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${a0()}</span>${ds(i0("4em"), { prefix: "对应目录" })}${ls({glyph: "trash",variant: "secondary",- attrs: n0+ attrs: r0})}</div>`;- return d0("自动发现新文件", u0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${o0()}</div>`) + p0("发现新文件后自动入库", t ? r0("10em") : "") + p0("监视本机文件夹", t && $1(e?.watchLocal) ? r0("12em") : "") + p0("接收 CloudDrive2 通知") + (n ? f0("Webhook 配置", r0("20em"), "") : "") + (r ? u0(x0("查看配置"), !0) : "") + (n ? u0(`<div class="flex flex-col gap-3">${g0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(e0(e?.prefixes, 20))}</div><div>${c0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? c0("更换密钥", "secondary") : "") + c0("保存配置"));-}-var uDe = () => {- let e = cDe();- return d0("媒体库与目录", u0(`${oDe}<div class="flex flex-col gap-4">${e.folders.map((t) => aDe(t, e.folders.length)).join("")}</div>- <div class="self-start">${c0("添加媒体库", "secondary")}</div>- <p class="text-body-2-regular text-text-secondary">${q1}</p>- ${e.cloud ? sDe : ""}<span class="text-body-medium text-text-primary">${r0("15em")}</span>`), c0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? D0() : "") + lDe() + d0("番号识别规则", u0(`${r0("90%")}${r0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), c0("保存配置")) + d0("视频预览", p0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + p0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + p0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));-}, dDe = () => `<div>${c0("采集来源与登录状态", "secondary")}</div>` + C0() + d0("关注采集", f0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + m0("订阅源拉取") + p0("首次采集范围", "", "ui-configuration-skeleton-select") + m0("头像刷新") + m0("favicon 刷新")) + w0() + d0("作品资料站点", u0(`<p class="text-body-2-regular text-text-secondary">${J1}</p>${_0(b0("JavDB 地址"), Y1)}${_0(b0("MISSAV 地址"), Y1)}`), c0("保存配置")), fDe = () => {- let e = Q1("downloads"), t = $1(e?.pikpak), n = $1(e?.pikpakRoots) ? v0(b0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${g0(b0("PikPak 根目录对应的媒体目录"))}${h0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = $1(e?.cloud) ? d0("云下载", u0(_0("CloudDrive2 地址") + _0("CloudDrive2 API 令牌", "需要离线任务权限。") + ($1(e?.has115) ? _0(b0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? _0(b0("PikPak 目标目录"), "目录要已经存在。") + n : "") + _0("等待上限(小时)", r0("14em"))), c0("检查连接", "secondary") + c0("保存配置")) : "", i = $1(e?.pikpakLoggedIn);- return r + (t ? d0("PikPak 账号", i ? S0(["账号", r0("4em")]) : u0(_0("账号") + _0("密码") + y0("保存密码,登录过期时自动重新登录")), i ? c0("登出", "secondary") : ($1(e?.browserLogin) ? c0("用浏览器登录", "secondary") : "") + c0("登录"), {- aside: o0(),+ return f0("自动发现新文件", d0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${s0()}</div>`) + m0("发现新文件后自动入库", t ? i0("10em") : "") + m0("监视本机文件夹", t && e0(e?.watchLocal) ? i0("12em") : "") + m0("接收 CloudDrive2 通知") + (n ? p0("Webhook 配置", i0("20em"), "") : "") + (r ? d0(S0("查看配置"), !0) : "") + (n ? d0(`<div class="flex flex-col gap-3">${_0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(t0(e?.prefixes, 20))}</div><div>${l0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? l0("更换密钥", "secondary") : "") + l0("保存配置"));+}+var FDe = () => {+ let e = NDe();+ return f0("媒体库与目录", d0(`${jDe}<div class="flex flex-col gap-4">${e.folders.map((t) => ADe(t, e.folders.length)).join("")}</div>+ <div class="self-start">${l0("添加媒体库", "secondary")}</div>+ <p class="text-body-2-regular text-text-secondary">${J1}</p>+ ${e.cloud ? MDe : ""}<span class="text-body-medium text-text-primary">${i0("15em")}</span>`), l0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? O0() : "") + PDe() + f0("番号识别规则", d0(`${i0("90%")}${i0("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), l0("保存配置")) + f0("视频预览", m0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + m0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + m0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));+}, IDe = () => `<div>${l0("采集来源与登录状态", "secondary")}</div>` + w0() + f0("关注采集", p0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + h0("订阅源拉取") + m0("首次采集范围", "", "ui-configuration-skeleton-select") + h0("头像刷新") + h0("favicon 刷新")) + T0() + f0("作品资料站点", d0(`<p class="text-body-2-regular text-text-secondary">${Y1}</p>${v0(x0("JavDB 地址"), X1)}${v0(x0("MISSAV 地址"), X1)}`), l0("保存配置")), LDe = () => {+ let e = $1("downloads"), t = e0(e?.pikpak), n = e0(e?.pikpakRoots) ? y0(x0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${_0(x0("PikPak 根目录对应的媒体目录"))}${g0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = e0(e?.cloud) ? f0("云下载", d0(v0("CloudDrive2 地址") + v0("CloudDrive2 API 令牌", "需要离线任务权限。") + (e0(e?.has115) ? v0(x0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? v0(x0("PikPak 目标目录"), "目录要已经存在。") + n : "") + v0("等待上限(小时)", i0("14em"))), l0("检查连接", "secondary") + l0("保存配置")) : "", i = e0(e?.pikpakLoggedIn);+ return r + (t ? f0("PikPak 账号", i ? C0(["账号", i0("4em")]) : d0(v0("账号") + v0("密码") + b0("保存密码,登录过期时自动重新登录")), i ? l0("登出", "secondary") : (e0(e?.browserLogin) ? l0("用浏览器登录", "secondary") : "") + l0("登录"), {+ aside: s0(),mark: !0- }) : "") + T0();-}, k0 = {+ }) : "") + E0();+}, A0 = {legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",locked: "访问设置无法读取,请在本机检查配置文件。",password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"-}, A0 = {+}, j0 = {quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"};-function pDe(e) {- let t = e === "locked" ? "" : _0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + _0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");- return (k0[e] ? h0(k0[e]) : "") + (e === "open" ? a0("100%", "64px") : "") + (e === "password" || e === "legacy" ? y0("关闭访问密码") : "") + (e === "password" ? _0("当前访问密码 *") : "") + t;+function RDe(e) {+ let t = e === "locked" ? "" : v0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + v0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");+ return (A0[e] ? g0(A0[e]) : "") + (e === "open" ? o0("100%", "64px") : "") + (e === "password" || e === "legacy" ? b0("关闭访问密码") : "") + (e === "password" ? v0("当前访问密码 *") : "") + t;}-var mDe = () => {- let e = Q1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = $1(e?.tunnelNamed), r = (n && $1(e?.tunnelNamedMode) ? h0(A0.named) + _0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + _0("隧道令牌", r0("16em")) : h0(A0.quick)) + ($1(e?.tunnelNote) ? a0("100%", "64px") : ""), i = e0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${_0([+var zDe = () => {+ let e = $1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = e0(e?.tunnelNamed), r = (n && e0(e?.tunnelNamedMode) ? g0(j0.named) + v0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + v0("隧道令牌", i0("16em")) : g0(j0.quick)) + (e0(e?.tunnelNote) ? o0("100%", "64px") : ""), i = t0(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${v0(["本机地址","手机连接地址","备用 IP 地址"- ][t])}</div>${c0("复制地址", "secondary")}</div>`).join("");- return (i || $1(e?.port) ? d0("访问地址", u0(a + (i ? a0("100%", "40px") : "") + ($1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${g0("谁可以访问")}${a0("min(100%, 20em)", "36px")}</div>` + ($1(e?.lan) ? _0("局域网访问地址") : "") : "") + ($1(e?.port) ? _0("端口") : "")), $1(e?.port) ? c0("保存配置") : "", $1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + d0("访问密码", u0(pDe(t)), t === "locked" ? "" : c0("保存配置")) + d0("Cloudflare 公网入口", u0((n ? a0("10.5em", "36px") : "") + r), c0("启动公网入口", n ? "secondary" : "primary") + (n ? c0("保存配置") : ""), { aside: o0() }) + d0("Peach 代理", p0("连接方式", "", "ui-configuration-skeleton-select") + ($1(e?.proxyAddress) ? u0(_0("代理地址"), !0) : ""), c0("保存配置"));-}, hDe = [+ ][t])}</div>${l0("复制地址", "secondary")}</div>`).join("");+ return (i || e0(e?.port) ? f0("访问地址", d0(a + (i ? o0("100%", "40px") : "") + (e0(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${_0("谁可以访问")}${o0("min(100%, 20em)", "36px")}</div>` + (e0(e?.lan) ? v0("局域网访问地址") : "") : "") + (e0(e?.port) ? v0("端口") : "")), e0(e?.port) ? l0("保存配置") : "", e0(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + f0("访问密码", d0(RDe(t)), t === "locked" ? "" : l0("保存配置")) + f0("Cloudflare 公网入口", d0((n ? o0("10.5em", "36px") : "") + r), l0("启动公网入口", n ? "secondary" : "primary") + (n ? l0("保存配置") : ""), { aside: s0() }) + f0("Peach 代理", m0("连接方式", "", "ui-configuration-skeleton-select") + (e0(e?.proxyAddress) ? d0(v0("代理地址"), !0) : ""), l0("保存配置"));+}, BDe = ["版本","操作系统","数据目录","设置文件","日志目录"-], gDe = () => {- let e = Q1("maintenance"), t = [+], VDe = () => {+ let e = $1("maintenance"), t = ["当前版本","安装方式","更新通道","最新版本","下载内容"- ].slice(0, Math.max(4, e0(e?.releaseFacts, 5))), n = e0(e?.releaseNotes, 4), r = e0(e?.storageRows, 12), i = e0(e?.storageNotes, 3), a = t0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${o0("6em")}</span>`, s = (t) => !e || $1(t), c = s(e?.reporting) ? p0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + ($1(e?.reportingIdle) ? u0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${p0("上传馆藏与口味明细", $1(e?.sharingNotice) ? r0("12em") : "")}${$1(e?.sharingIdle) ? u0(o, !0) : ""}${l0(c0("预览上传内容", "secondary"))}</div>` : "";- return d0("检查更新", S0(t) + (n ? u0(h0(r0("50%")).repeat(n), !0) : ""), c0("检查更新"), {- aside: o0("4em"),- status: r0("5em")- }) + d0("自动更新", p0("自动检查新版本") + p0("自动下载更新") + p0("检查频率", $1(e?.autoUpdateHelp) ? r0("12em") : "", "ui-configuration-skeleton-select"), c0("保存配置")) + d0("开机自启", p0("开机后启动 Peach") + p0("只启动托盘,不打开网页") + p0("在桌面创建快捷方式", $1(e?.desktopNote) ? r0("12em") : "") + ($1(e?.startupNote) ? u0(h0(r0("60%")), !0) : ""), c0("保存配置")) + d0("视频播放", p0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + d0("存储空间", S0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => f0(r0("6em"), "", r0("4em"))).join("") : u0(h0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? u0(h0(r0("80%")).repeat(i), !0) : ""), c0("更改位置", "secondary") + c0(r ? "重新统计" : "统计占用")) + (c || l ? d0("数据上传", c + l) : "") + d0("运行信息", S0(a.length ? a : hDe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${f0("安装教程", "", c0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? d0("卸载 Peach", ($1(e?.uninstallHelp) ? u0(h0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + p0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + u0(x0("数据目录"), !0), c0("卸载 Peach"), { status: r0("16em") }) : "");+ ].slice(0, Math.max(4, t0(e?.releaseFacts, 5))), n = t0(e?.releaseNotes, 4), r = t0(e?.storageRows, 12), i = t0(e?.storageNotes, 3), a = n0(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${s0("6em")}</span>`, s = (t) => !e || e0(t), c = s(e?.reporting) ? m0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (e0(e?.reportingIdle) ? d0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${m0("上传馆藏与口味明细", e0(e?.sharingNotice) ? i0("12em") : "")}${e0(e?.sharingIdle) ? d0(o, !0) : ""}${u0(l0("预览上传内容", "secondary"))}</div>` : "";+ return f0("检查更新", C0(t) + (n ? d0(g0(i0("50%")).repeat(n), !0) : ""), l0("检查更新"), {+ aside: s0("4em"),+ status: i0("5em")+ }) + f0("自动更新", m0("自动检查新版本") + m0("自动下载更新") + m0("检查频率", e0(e?.autoUpdateHelp) ? i0("12em") : "", "ui-configuration-skeleton-select"), l0("保存配置")) + f0("开机自启", m0("开机后启动 Peach") + m0("只启动托盘,不打开网页") + m0("在桌面创建快捷方式", e0(e?.desktopNote) ? i0("12em") : "") + (e0(e?.startupNote) ? d0(g0(i0("60%")), !0) : ""), l0("保存配置")) + f0("视频播放", m0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + f0("存储空间", C0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => p0(i0("6em"), "", i0("4em"))).join("") : d0(g0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? d0(g0(i0("80%")).repeat(i), !0) : ""), l0("更改位置", "secondary") + l0(r ? "重新统计" : "统计占用")) + (c || l ? f0("数据上传", c + l) : "") + f0("运行信息", C0(a.length ? a : BDe)) + `<section aria-label="安装教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${p0("安装教程", "", l0("重新打开教程", "secondary"))}</div></section>` + (s(e?.uninstall) ? f0("卸载 Peach", (e0(e?.uninstallHelp) ? d0(g0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + m0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + d0(S0("数据目录"), !0), l0("卸载 Peach"), { status: i0("16em") }) : "");};-function _De(e) {+function HDe(e) {switch (e) {- case "系统诊断": return G1();- case "来源与订阅": return dDe();- case "下载渠道": return fDe();- case "网络与访问": return mDe();- case "应用与维护": return gDe();- default: return uDe();+ case "系统诊断": return K1();+ case "来源与订阅": return IDe();+ case "下载渠道": return LDe();+ case "网络与访问": return zDe();+ case "应用与维护": return VDe();+ default: return FDe();}}-function vDe(e = "媒体库与入库") {- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(aV).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${_De(e)}</div></div></div>`;+function UDe(e = "媒体库与入库") {+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(uV).map((t) => `<button type="button" tabindex="-1" aria-selected="${t === e}">${t}</button>`).join("")}</div>`}<div class="flex min-w-0 flex-col gap-6">${HDe(e)}</div></div></div>`;}// src/react/jav/discovery-sorts.ts-var j0 = [+var M0 = [["taste","口味",@@ -68253,10 +68433,10 @@ var j0 = ["按番号排序"]];-function yDe(e) {+function WDe(e) {return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";}-function bDe(e) {+function GDe(e) {if (typeof e != "number" || !Number.isFinite(e)) return {score: "—",label: "资料未取得",@@ -68281,8 +68461,8 @@ function bDe(e) {};}// src/jav-skeleton.ts-var M0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, xDe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, N0 = "w-full min-w-0";-function P0() {+var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, KDe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";+function F0() {return ["w-20","w-16",@@ -68292,26 +68472,26 @@ function P0() {"w-24"].map((e) => `<span data-skeleton="tag" aria-hidden="true" class="skeleton-sheen relative block h-8 flex-none rounded-(--tag-radius) ${e}"></span>`).join("");}-function F0(e, t = TA()) {- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${M0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${xDe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${M0("80%")}${M0("60%")}${M0("40%")}</div></div>`).join("")}</div>`;- let n = NA({- ...MA({+function I0(e, t = kA()) {+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${KDe("block w-card-cover shrink-0 aspect-card-cover rounded-2lg max-sm:w-24")}<div class="flex min-w-0 flex-1 flex-col gap-3">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;+ let n = LA({+ ...IA({active: !0,home: !1,portrait: !1}),size: t});- return `<div data-media-grid class="${N0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3">+ return `<div data-media-grid class="${P0}" data-skeleton="jav-discover">${Array.from({ length: 6 }, () => `<div data-jav-skeleton-card data-media-card data-jav-card class="flex min-w-0 flex-col gap-3"><span data-jav-skeleton-cover class="skeleton block w-full rounded-2lg" style="aspect-ratio:${n}"></span><div data-media-meta><span data-jav-skeleton-avatar class="skeleton block shrink-0"></span><div data-media-text>- <div data-media-title>${M0("85%")}${M0("65%")}</div><div data-media-byline>${M0("55%")}</div>+ <div data-media-title>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("55%")}</div><div data-media-tags><span class="skeleton block h-5 w-20 rounded-md"></span><span class="skeleton block h-5 w-24 rounded-md"></span></div></div></div><div data-jav-skeleton-actions class="flex flex-wrap gap-2"><span data-jav-skeleton-action class="skeleton block h-9 w-20 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-12 rounded-md"></span><span data-jav-skeleton-action class="skeleton block h-9 w-26 rounded-md"></span></div></div>`).join("")}</div>`;}-function SDe(e) {+function qDe(e) {let t = e === "wants" ? "筛选想要" : "筛选推荐";return `<div class="peach-react"><div class="flex w-full flex-col gap-6"><div class="flex w-full flex-col gap-4"><div class="flex flex-wrap items-center justify-between gap-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2>${ls({@@ -68319,28 +68499,28 @@ function SDe(e) {label: "查找资源",attrs: "disabled data-skeleton-action"})}</div>- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${x$.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div>+ <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${S$.map(([t, n]) => `<span class="relative flex flex-none items-center whitespace-nowrap rounded-md px-3 py-2 text-body-regular max-board-narrow:px-2.25 max-board-narrow:text-body-2-regular ${t === e ? "bg-background-tertiary-default text-text-primary" : "text-text-secondary"}">${n}</span>`).join("")}</div></div><form aria-label="${t}">${cs("筛选番号、女优或标题", "", t)}</form>- ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${M0("100%")}</div>${F0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${CDe()}${F0(e)}</section>`}</div></div>`;+ ${e === "wants" ? `<div class="rounded-2lg bg-background-secondary-default px-6 py-5"><h3 class="mb-4 text-title-2-medium text-text-primary">按番号添加</h3>${N0("100%")}</div>${I0(e)}` : `<section class="flex min-w-0 flex-col gap-4">${JDe()}${I0(e)}</section>`}</div></div>`;}-function CDe() {- let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none 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">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${TA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${os(t, "size-4")}</span>`;+function JDe() {+ let e = (e, t) => `<button type="button" data-entity-tag="${e}" data-entity-press="" aria-pressed="${e === "external"}" class="flex h-8 flex-none 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">${t}</button>`, t = (e, t) => `<span data-glass-segment="" ${kA() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${os(t, "size-4")}</span>`;return `<div data-filter-glass data-glass-pane data-filter-frame data-jav-filter data-catalog-frame class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible">- <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${P0()}</div></div>+ <div data-catalog-scroll><div data-catalog-views>${e("external", "库外发现")}${e("library", "馆藏探索")}<span data-entity-sep aria-hidden="true"></span></div><div data-catalog-tags>${F0()}</div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-h-12 min-w-0 items-center gap-3 px-3 py-2"><span data-catalog-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${ss()}<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${os("refresh-cw", "size-4")}</button><span data-entity-layout class="inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg">${t("big", "maximize")}${t("small", "layout-grid")}</span>- ${j0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? os("arrow-down", "size-3.5") : ""}</button>`).join("")}+ ${M0.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? os("arrow-down", "size-3.5") : ""}</button>`).join("")}</span></div></div>`;}// src/management-skeletons.ts-var I0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", L0 = (e = "60%") => `<span class="${I0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, R0 = "disabled data-skeleton-action", z0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";-function wDe() {+var L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";+function YDe() {let e = ["馆藏视频","看过",@@ -68348,27 +68528,27 @@ function wDe() {"使用空间"].map((e, t) => `<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">- <span class="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"><i class="${I0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${L0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${L0("6em")}</small>- </div>`).join(""), t = (e) => `<section class="${z0}" data-stats-chart>- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${L0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>+ <span class="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"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${R0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>+ </div>`).join(""), t = (e) => `<section class="${B0}" data-stats-chart>+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${R0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header><svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[76,54,32].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${L0()}</span><b class="text-title-2-medium">${L0("3em")}</b><small class="text-caption-1-regular">${L0()}</small></div>`).join("")}</div>+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</small></div>`).join("")}</div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${L0("12em")}</p>+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${R0("12em")}</p><div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div><div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div><div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${["时长","画质","文件类型"- ].map((e) => `<section class="${z0}"><h3 class="text-title-2-medium">${e}</h3><div class="${I0} h-64"></div></section>`).join("")}</div>+ ].map((e) => `<section class="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div></div></div><section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">@@ -68377,11 +68557,11 @@ function wDe() {"最近看过","标签来源"].map((e) => `<span>${e}</span>`).join("")}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${I0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div></section></div></div>`;}-function TDe() {+function XDe() {let e = (e) => `<div class="inline-flex w-max max-w-full items-center gap-0.5 overflow-x-auto rounded-2lg bg-background-tertiary-default p-1" data-taste-segments>${e.map((e, t) => `<span class="flex min-h-7 flex-none items-center gap-1.5 rounded-md px-2.5 py-1 text-body-medium whitespace-nowrap text-text-secondary data-selected:bg-background-primary-default data-selected:text-text-primary data-selected:shadow-card dark:data-selected:bg-background-primary-hover"${t === 0 ? " data-selected=\"true\"" : ""}>${e}</span>`).join("")}</div>`, t = ["浏览记录","口味维度",@@ -68389,20 +68569,20 @@ function TDe() {"私有导出"].map((e) => `<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">- <span class="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"><i class="${I0} size-7 max-sm:size-6"></i>${e}</span>- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${L0("4em")}</b>- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${L0("6em")}</small>- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${I0} h-6"></div>`).join(""), r = (e) => `<section class="${z0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${I0} h-40"></div></section>`;+ <span class="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"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${R0("4em")}</b>+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${L0} h-6"></div>`).join(""), r = (e) => `<section class="${B0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${L0} h-40"></div></section>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8"><div class="flex flex-col gap-5"><div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}<div class="flex flex-wrap items-center gap-2">${ds("全部时间")}<span data-button-group data-split-button data-variant="primary">${ls({glyph: "compass",label: "读取浏览器历史",- attrs: R0+ attrs: z0})}${ls({glyph: "chevron-down",- attrs: R0+ attrs: z0})}</span></div></div><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>@@ -68420,11 +68600,11 @@ function TDe() {4,5].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>- <small class="text-caption-1-regular">${L0("8em")}</small></div>+ <small class="text-caption-1-regular">${R0("8em")}</small></div><div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div></section><div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>- <section class="${z0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${I0} h-72 max-sm:h-48"></div></section>+ <section class="${B0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${L0} h-72 max-sm:h-48"></div></section><section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col"><div class="px-4 pt-3">${e(["标签",@@ -68432,20 +68612,20 @@ function TDe() {"常访问网站","浏览线索"])}</div>- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${I0} h-7"></div>`).join("")}</div>+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div></section></div></div></div>`;}-function EDe() {+function ZDe() {let e = `<div class="duplicate-row items-center gap-3 border-t border-separator-border px-5 py-4 max-compact:p-4">- <span class="${I0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>- <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${L0("70%")}</span>- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${L0("3em")}</span>`).join("")}- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${L0("75%")}</span>+ <span class="${L0} row-span-2 inline-grid aspect-16/10 w-full rounded-2lg"></span>+ <span class="text-body-regular max-duplicate-narrow:col-start-2 max-duplicate-narrow:-col-end-1">${R0("70%")}</span>+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${R0("3em")}</span>`).join("")}+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${R0("75%")}</span></div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group><div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">- <b class="text-title-2-medium">${L0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${L0("8em")}</span>+ <b class="text-title-2-medium">${R0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${R0("8em")}</span><span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${["留最大","留最长",@@ -68454,27 +68634,27 @@ function EDe() {variant: "secondary",size: "small",label: e,- attrs: R0+ attrs: z0})).join("")}</span></div>${e.repeat(2)}</section>`;return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5"><div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${L0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${L0("12em")}</p>+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${R0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${R0("12em")}</p></div>- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${R0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${z0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>${t.repeat(2)}</div></div>`;}-function DDe() {+function QDe() {let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card border border-separator-border flex flex-col gap-3 p-3">- <div class="flex min-w-0 gap-4"><span class="${I0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>- <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${L0("80%")}</h3><p class="text-body-2-regular">${L0("60%")}</p></div>+ <div class="flex min-w-0 gap-4"><span class="${L0} inline-grid w-card-cover shrink-0 aspect-card-cover rounded-2lg"></span>+ <div class="flex min-w-0 flex-1 flex-col gap-1.5"><h3 class="text-headline-medium">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div></div><footer class="flex justify-end">${ls({variant: "secondary",size: "small",label: "查看版本",- attrs: R0+ attrs: z0})}</footer></li>`;return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">@@ -68483,20 +68663,20 @@ function DDe() {</div></div>`;}// src/board-skeleton.ts-var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, ODe = () => `${B0("80%")}${B0("48%")}`, V0 = (e, t) => e.repeat(t), H0 = "disabled data-skeleton-action", U0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, W0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, kDe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", G0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[+var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, $De = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, eOe = "min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 px-6 py-5 max-sm:gap-2 max-sm:p-4", K0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${["关注创作者","启用来源","检查失败","未看更新","JAV 订阅","未看新作"-].map((e) => `<div class="${kDe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${U0("3em")}</b></div>`).join("")}</div>`, ADe = (e = "") => FZ.some(([t]) => t === e) ? e : "list", K0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${FZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, q0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, jDe = ({ table: e, sort: t, dir: n }) => {+].map((e) => `<div class="${eOe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, tOe = (e = "") => FZ.some(([t]) => t === e) ? e : "list", q0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${FZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, J0 = (e = "") => `<span class="group inline-flex items-center select-none gap-2"><span class="flex shrink-0 items-center justify-center rounded-sm size-4 border bg-background-primary-default shadow-xs border-border-checkbox-default"></span>${e ? `<span class="text-body-medium text-text-primary">${e}</span>` : ""}</span>`, nOe = ({ table: e, sort: t, dir: n }) => {let r = Gn.find(([e]) => e === t)[1];- return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${U0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${ls({+ return `<div data-responsive-toolbar class="ui-follow-skeleton-toolbar"><span data-follow-toolbar-heading data-toolbar-heading><h3 class="text-title-2-medium text-text-primary">关注列表</h3><span class="text-body-2-regular text-text-secondary">${W0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${ls({glyph: "refresh-cw",label: "检查全部",compact: !0,- attrs: H0+ attrs: U0})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${ls({variant: "ghost",glyph: "layout-grid",@@ -68513,42 +68693,42 @@ var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, ODeglyph: "chevron-up",label: "全部收起",compact: !0,- attrs: H0+ attrs: U0})}</span></div></div>`;-}, J0 = () => `<span class="flex shrink-0 items-center gap-1">${ls({+}, Y0 = () => `<span class="flex shrink-0 items-center gap-1">${ls({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: H0+ attrs: U0})}${ls({variant: "secondary",size: "small",glyph: "trash",- attrs: H0-})}</span>`, MDe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${q0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${U0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${W0(14, 14)}</span>${W0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${U0("113px")}</span>${J0()}</span></div>`, Y0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${W0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${U0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${ls({+ attrs: U0+})}</span>`, rOe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${J0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(48, 24)}<span data-follow-source-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-1.5 max-sm:w-full"><span class="shrink-0 text-body-2-regular whitespace-nowrap text-text-secondary max-sm:mr-auto max-sm:text-caption-1-regular">${W0("113px")}</span>${Y0()}</span></div>`, X0 = (e) => `<section class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col overflow-hidden p-2 follow-skeleton-author"><div class="flex flex-wrap items-center gap-3 px-2 py-2.5" data-follow-author-header data-open>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("92px")}</b><span data-follow-author-controls class="flex w-max max-w-full flex-none flex-wrap items-center gap-2 max-sm:w-full">${ls({variant: "secondary",size: "small",glyph: "refresh-cw",- attrs: H0-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${W0(14, 14)}${W0(14, 14)}</span><span class="flex flex-none items-center gap-2">${ls({+ attrs: U0+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${G0(14, 14)}${G0(14, 14)}</span><span class="flex flex-none items-center gap-2">${ls({variant: "secondary",size: "small",glyph: "check-check",label: "全选",- attrs: H0+ attrs: U0})}${ls({variant: "secondary",size: "small",glyph: "chevron-up",label: "收起",- attrs: H0-})}</span></span></div><div data-source-divider>${V0(MDe(), e)}</div></section>`, NDe = () => {+ attrs: U0+})}</span></span></div><div data-source-divider>${H0(rOe(), e)}</div></section>`, iOe = () => {try {return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;} catch {return 20;}-}, PDe = [+}, aOe = [["select", ""],["author", "创作者"],["source", "来源"],@@ -68556,81 +68736,81 @@ var B0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, ODe["status", "状态"],["checked", "上次检查"],["actions", ""]-], FDe = {+], oOe = {name: "author",source: "source",provider: "provider",status: "status",checked: "checked"-}, IDe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", LDe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${PDe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${FDe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${IDe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${V0(`<tr>${[- q0(),- `<span class="flex min-w-0 items-center gap-2">${W0(32, 32, !0)}${U0("5em")}</span>`,- U0("10em"),- `<span class="flex items-center gap-1.5">${W0(14, 14)}${U0("4em")}</span>`,- W0(48, 24),- U0("113px"),- J0()-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, RDe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${U0("111px")}</span><div data-toolbar-actions>${ds(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${W0(204, 32)}</div></div>`, zDe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${U0("120px")}</h3>${[+}, sOe = "<svg viewBox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M12.7071 15.2929C12.3166 15.6834 11.6834 15.6834 11.2929 15.2929L7.70711 11.7071C7.07714 11.0771 7.52331 10 8.41421 10H15.5858C16.4767 10 16.9229 11.0771 16.2929 11.7071L12.7071 15.2929Z\" fill=\"currentColor\"/></svg>", cOe = (e, { sort: t, dir: n }) => `<div data-board-data-table data-follow-table class="follow-skeleton-table"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm"><thead><tr>${aOe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${oOe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${sOe}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[+ J0(),+ `<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,+ W0("10em"),+ `<span class="flex items-center gap-1.5">${G0(14, 14)}${W0("4em")}</span>`,+ G0(48, 24),+ W0("113px"),+ Y0()+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, lOe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${ds(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, uOe = () => `<div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface"><h3 class="text-title-2-medium text-text-primary">${W0("120px")}</h3>${["72%","56%","64%","40%"-].map((e) => `<span class="text-body-medium">${U0(e)}</span>`).join("")}</div>`, BDe = (e) => {- let t = ADe(e.followTab);- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${G0()}<div class="flex flex-col gap-6">${K0(t)}<div class="flex flex-col gap-4">${zDe()}</div></div></div></div>`;- let n = e.followLayout === "table", r = Yn(e.followSort, e.followDir), i = e.followPageSize || NDe(), a = n ? LDe(i, r) : `${q0("全选本页")}<div class="flex flex-col gap-3">${Y0(3)}${Y0(4)}${Y0(3)}</div>`;- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${G0()}<div class="flex flex-col gap-6">${K0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${jDe({+].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, dOe = (e) => {+ let t = tOe(e.followTab);+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4">${uOe()}</div></div></div></div>`;+ let n = e.followLayout === "table", r = Yn(e.followSort, e.followDir), i = e.followPageSize || iOe(), a = n ? cOe(i, r) : `${J0("全选本页")}<div class="flex flex-col gap-3">${X0(3)}${X0(4)}${X0(3)}</div>`;+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4"><div class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-4 px-6 py-5 max-sm:px-4 ui-follow-skeleton-surface" data-layout="${n ? "table" : "default"}">${nOe({table: n,...r- })}${a}${RDe(n, i)}</div></div></div></div></div>`;+ })}${a}${lOe(n, i)}</div></div></div></div></div>`;};-function VDe() {- return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${B0("85%")}${B0("65%")}${V0(ODe(), 4)}</div></aside></div>`;+function fOe() {+ return `<div data-stage-grid="" aria-hidden="true"><div data-stage-media="" class="ui-skeleton-detail-media skeleton"></div><aside data-stage-side=""><div data-stage-side-content="" class="ui-skeleton-lines">${V0("85%")}${V0("65%")}${H0($De(), 4)}</div></aside></div>`;}-function HDe(e, t = {}) {+function pOe(e, t = {}) {let n = "";- if (e === "/stats") n = wDe();- else if (e === "/jav") n = SDe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");- else if (e === "/taste") n = TDe();- else if (e === "/subscriptions") n = BDe(t);- else if (e.startsWith("/settings/") && e.split("/")[2] in aV) n = vDe(aV[e.split("/")[2]]);+ if (e === "/stats") n = YDe();+ else if (e === "/jav") n = qDe(new URLSearchParams(location.search).get("tab") === "wants" ? "wants" : "discover");+ else if (e === "/taste") n = XDe();+ else if (e === "/subscriptions") n = dOe(t);+ else if (e.startsWith("/settings/") && e.split("/")[2] in uV) n = UDe(uV[e.split("/")[2]]);else if (e === "/tasks") n = `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${["正在进行","本次未执行","最近完成"- ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${U0("8em")}</span><span class="text-caption-1-regular">${U0("14em")}</span>${U0("60%")}${U0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${U0("6em")}</div></div></section>`).join("")}</div></div>`;- else if (e === "/duplicates") n = EDe();- else if (e === "/quality-goals") n = DDe();+ ].map((e) => `<section class="activitysection flex min-w-0 flex-col gap-3"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="min-w-0 rounded-2xl shadow-card border border-border-button-default bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;+ else if (e === "/duplicates") n = ZDe();+ else if (e === "/quality-goals") n = QDe();else if (e === "/playlists") n = `<div class="peach-react"><section class="w-full pt-1 pb-10.5"><header class="mb-4 flex items-start justify-between gap-4.5 max-board-narrow:flex-col max-board-narrow:items-stretch"><div><h2 class="mb-1 text-display-4-medium! text-text-primary">播放列表</h2><p class="text-body-2-regular text-text-secondary">保存 Mix,按自己的顺序继续播放。</p></div><div class="flex flex-wrap items-end gap-2"><div class="min-w-50 max-w-80 flex-1 basis-50 max-board-narrow:min-w-0 max-board-narrow:max-w-none"><span class="text-body-medium">新播放列表</span><span class="skeleton ui-configuration-skeleton-input mt-1.5"></span></div>${ls({label: "新建",- attrs: H0- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${V0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;+ attrs: U0+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${H0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;else return "";return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;}// src/react/components/overlay-host.ts-function UDe(e) {+function mOe(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 X0(e) {+function Z0(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return UDe(n ?? t.body);+ return mOe(n ?? t.body);}-function Z0(e) {+function Q0(e) {let t = document.getElementById("toasts"), n = e?.open ? e : document.body;t && t.parentElement !== n && n.append(t);}// src/react/follow-detail/follow-detail.ts-var Q0 = (e) => ["follow-item", e], WDe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, GDe = "/api/follow/save", KDe = "/api/follow/media/hide", $0 = class extends Error {+var $0 = (e) => ["follow-item", e], hOe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, gOe = "/api/follow/save", _Oe = "/api/follow/media/hide", e2 = class extends Error {constructor() {super("这条关注内容已不存在");}};-async function e2(e, t) {- let n = await B(WDe(e), t);+async function t2(e, t) {+ let n = await B(hOe(e), t);for (let t of n.groups || []) {let r = Wi(t).find((t) => t.id === e);if (r) return {@@ -68640,9 +68820,9 @@ async function e2(e, t) {aliases: n.author_aliases || []};}- throw new $0();+ throw new e2();}-function qDe(e) {+function vOe(e) {for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {if (!t?.group) continue;let n = Wi(t.group).find((t) => t.id === e);@@ -68653,20 +68833,20 @@ function qDe(e) {}return null;}-async function t2(e, t) {- let n = Q0(e.id), r = Gi(e.id), i = H.getQueryData(zi) ? null : H.fetchQuery({+async function n2(e, t) {+ let n = $0(e.id), r = Gi(e.id), i = H.getQueryData(zi) ? null : H.fetchQuery({queryKey: zi,queryFn: () => Bi(t)}), a = r ? {...r,item: r.item- } : H.getQueryData(n) ?? qDe(e.id);+ } : H.getQueryData(n) ?? vOe(e.id);a ? H.setQueryData(n, a) : await H.fetchQuery({queryKey: n,- queryFn: () => e2(e.id, t)+ queryFn: () => t2(e.id, t)}), await i;}-function JDe(e, t, n, r) {+function yOe(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 && $i(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,@@ -68681,32 +68861,32 @@ function JDe(e, t, n, r) {src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""};}-var YDe = (e) => Wi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), XDe = {+var bOe = (e) => Wi(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), xOe = {"gofile.io": "Gofile","pixeldrain.com": "Pixeldrain","mega.nz": "MEGA","mega.io": "MEGA","mediafire.com": "MediaFire","drive.google.com": "Google Drive"-}, ZDe = {+}, SOe = {gofile: "Gofile",pixeldrain: "Pixeldrain",mega: "MEGA",mediafire: "MediaFire",google_drive: "Google Drive"};-function QDe(e) {+function COe(e) {try {let t = new URL(e).hostname.replace(/^www\./, "");- return XDe[t] || t;+ return xOe[t] || t;} catch {return "外部文件页";}}-function n2(e, t) {- return ZDe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";+function r2(e, t) {+ return SOe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";}-function $De(e, t, n = "") {+function wOe(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;@@ -68715,54 +68895,54 @@ function $De(e, t, n = "") {title: e.is_release && t.author ? `${t.author}:${i}` : i};}-var eOe = (e) => String(e.name || "").trim(), r2 = (e, t) => e.tag_types?.[t] || "unknown", tOe = /* @__PURE__ */ new Set([+var TOe = (e) => String(e.name || "").trim(), i2 = (e, t) => e.tag_types?.[t] || "unknown", EOe = /* @__PURE__ */ new Set(["artist","character","copyright","metadata","unknown"]);-function nOe(e, t) {- let n = r2(e, t);- return `r34-${tOe.has(n) ? n : "general"}`;+function DOe(e, t) {+ let n = i2(e, t);+ return `r34-${EOe.has(n) ? n : "general"}`;}-var i2 = [+var a2 = ["copyright","character","artist","general","metadata"];-function rOe(e, t) {+function OOe(e, t) {let n = e.detail_tags || e.tags || [], r = (t) => {- let n = i2.indexOf(r2(e, t));- return n < 0 ? i2.length : n;+ let n = a2.indexOf(i2(e, t));+ return n < 0 ? a2.length : n;};return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));}-function a2(e, t) {+function o2(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 iOe = (e, t) => ({+var kOe = (e, t) => ({sources: e.sources,aliases: e.aliases,credentials: t-}), o2 = (e) => e?.size ? { size: e.size } : {};-function aOe(e, t) {+}), s2 = (e) => e?.size ? { size: e.size } : {};+function AOe(e, t) {let { images: n, kind: r, src: i, selected: a } = t;return n.length ? n.map((t) => ({src: `/follow-stream?id=${e.id}&media=${t.index}`,thumb: t.thumb_url || e.thumb_url || `/follow-stream?id=${e.id}&media=${t.index}`,name: t.name || e.title,- source: n2(t, e),- ...o2(t)+ source: r2(t, e),+ ...s2(t)})) : r === "image" && i ? [{src: i,thumb: e.thumb_url || i,name: e.title,- source: n2(a, e),- ...o2(a)+ source: r2(a, e),+ ...s2(a)}] : e.thumb_url ? [{src: e.thumb_url,thumb: e.thumb_url,@@ -68770,7 +68950,7 @@ function aOe(e, t) {source: e.provider_label || e.provider || "在线图片"}] : [];}-var oOe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", s2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Rs(e, {+var jOe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", c2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => Rs(e, {variant: r || (t ? "cards" : "panel"),className: n,gridClass: s,@@ -68778,7 +68958,7 @@ var oOe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", s2...i ? { count: i } : {},...a === void 0 ? {} : { fill: a },...o ? { cardRatio: o } : {}-}), sOe = [+}), MOe = ["元数据字段","创作者标签","厂牌 Logo",@@ -68788,38 +68968,38 @@ var oOe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", s2"FC2 评论标记","FC2 跨号相似","片尾/出处证据"-], cOe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">+], NOe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}"><div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>- <div class="reviewtabs" data-section-items>${sOe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>+ <div class="reviewtabs" data-section-items>${MOe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div><div class="reviewbulkbar reviewbulktoolbar" aria-hidden="true">${"<span class=\"skeleton reviewtoolskeleton\"></span>".repeat(3)}</div>- <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, lOe = {- "/data-cleanup": () => F$(),- "/resource-sync": () => F$(),- "/review": () => cOe(),+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, POe = {+ "/data-cleanup": () => I$(),+ "/resource-sync": () => I$(),+ "/review": () => NOe(),"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>- ${s2("正在读取采集来源", {+ ${c2("正在读取采集来源", {cards: !0,count: 4,fill: !1,className: "cleanup-skeleton"})}</div>`};-function c2(e, { followLayout: t, followSort: n, followDir: r }) {- return HDe(e, {+function l2(e, { followLayout: t, followSort: n, followDir: r }) {+ return pOe(e, {followLayout: t,...e === "/subscriptions" ? {followSort: n,followDir: r} : {}- }) || (lOe[e] ?? (() => s2("正在读取页面")))();+ }) || (POe[e] ?? (() => c2("正在读取页面")))();}-var l2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";-function u2(e, t) {- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = l2(t);+var u2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";+function d2(e, t) {+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = u2(t);r && r === n || (e.innerHTML = t, Ks(e));}// src/react/components/related-section.tsx-function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {+function f2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {let c = (0, P.useCallback)((e) => {e && (Ks(e), t(e));}, [t]);@@ -68832,17 +69012,17 @@ function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,children: "接着看"}), i ? /* @__PURE__ */ (0, F.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, F.jsx)(jW, {+ children: /* @__PURE__ */ (0, F.jsx)(GW, {message: i,onRetry: a || (() => {})})}) : r && !n ? /* @__PURE__ */ (0, F.jsx)("div", {"data-related-state": "",- children: /* @__PURE__ */ (0, F.jsx)(Pz, {+ children: /* @__PURE__ */ (0, F.jsx)(zz, {size: "compact",- icon: Cz,+ icon: Oz,title: "暂无接着看的内容",- actions: /* @__PURE__ */ (0, F.jsx)(iI, {+ actions: /* @__PURE__ */ (0, F.jsx)(pI, {size: "small",href: o ? "/follow" : "/",children: o ? "返回关注" : "浏览馆藏"@@ -68858,7 +69038,7 @@ function d2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,});}// src/react/components/detail-continuation.tsx-function f2({ queue: e, children: t, queueCards: n }) {+function p2({ queue: e, children: t, queueCards: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-detail-continuation": "","data-queue-cards": n == null ? void 0 : Math.min(3, n),@@ -68866,7 +69046,7 @@ function f2({ queue: e, children: t, queueCards: n }) {});}// src/react/components/media-carousel.tsx-function p2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {+function m2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {let a = (0, P.useRef)(null), o = e.some((e) => e.video), s = !!i;if ((0, P.useLayoutEffect)(() => {let e = a.current?.querySelector("[data-media-thumbnails]");@@ -68946,7 +69126,7 @@ function p2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail"data-media-thumbnails": "",role: "group","aria-label": "媒体缩略图",- children: e.map((e, r) => /* @__PURE__ */ (0, F.jsx)(uOe, {+ children: e.map((e, r) => /* @__PURE__ */ (0, F.jsx)(FOe, {item: e,selected: r === t,onSelect: n,@@ -68965,7 +69145,7 @@ function p2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail]});}-function uOe({ item: e, selected: t, onSelect: n, render: r }) {+function FOe({ item: e, selected: t, onSelect: n, render: r }) {let i = (0, P.useRef)(null), [a, o] = (0, P.useState)(typeof IntersectionObserver > "u");return (0, P.useEffect)(() => {if (!i.current || a) return;@@ -68991,14 +69171,14 @@ function uOe({ item: e, selected: t, onSelect: n, render: r }) {});}// src/react/follow-detail/follow-related.ts-var dOe = (e, t, n) => [+var IOe = (e, t, n) => ["follow-feed","related",e,t,n];-function m2(e, t, n, r) {+function h2(e, t, n, r) {let i = new Set((t.group ? Wi(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));return e.flatMap((e) => e.groups || []).filter((e) => {let t = Wi(e);@@ -69013,7 +69193,7 @@ function m2(e, t, n, r) {};}).sort((e, t) => Number(t.sameAuthor) - Number(e.sameAuthor) || t.common - e.common || e.order - t.order).slice(0, r).map((e) => e.group);}-async function fOe(e, t, n, r) {+async function LOe(e, t, n, r) {let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {...Qi(i),status: "new",@@ -69027,22 +69207,22 @@ async function fOe(e, t, n, r) {}, t), r);return o.push(n), n;}, c = await s(i, 0);- return m2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && m2(o, e, t, n).length < n && await s("", 0), {+ return h2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && h2(o, e, t, n).length < n && await s("", 0), {pages: o,pageParams: o.map((e) => e.offset || 0)};}// src/react/components/detail-tags.tsx-var h2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var g2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }});-function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {+function _2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {let [u, d] = (0, P.useState)(null), [f, p] = (0, P.useState)(!1), m = Pt({queryKey: ["tag-management", n],queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),enabled: f && (n === "online" || !t.length)- }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = EH(), _ = (e) => {+ }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = jH(), _ = (e) => {g.run("rename", async (t) => {let r = (await H.fetchQuery({queryKey: ["tag-management", n],@@ -69074,9 +69254,9 @@ function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"data-edit-tag": e.k,title: "修改标签名称","aria-label": `修改标签 ${a(e.k)}`,- ...Rz(!!g.busy),+ ...Uz(!!g.busy),onClick: () => _(e),- children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "pencil" })+ children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "pencil" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -69085,10 +69265,10 @@ function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe"aria-label": `删除标签 ${a(e.k)}`,...l(e.k),onClick: () => c(e),- children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "x" })})]- }, e.k)), /* @__PURE__ */ (0, F.jsx)(pOe, {+ }, e.k)), /* @__PURE__ */ (0, F.jsx)(ROe, {tags: e,candidates: h,label: a,@@ -69099,11 +69279,11 @@ function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labeloading: m.isFetching})]}),- g.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ g.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: g.error}) : null,- m.isError ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ m.isError ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -69112,7 +69292,7 @@ function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}),children: "无法读取标签候选"}) : null,- u ? /* @__PURE__ */ (0, F.jsx)(e$, {+ u ? /* @__PURE__ */ (0, F.jsx)(t$, {operation: "rename",selected: [u],scope: n,@@ -69121,8 +69301,8 @@ function g2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe}) : null] });}-function pOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {- let c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = rV(), d = (0, P.useRef)(null), f = (0, P.useRef)(!1), [p, m] = (0, P.useState)(!1), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), [y, b] = (0, P.useState)(-1), x = (0, P.useRef)({+function ROe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {+ let c = (0, P.useRef)(null), l = (0, P.useRef)(null), u = cV(), d = (0, P.useRef)(null), f = (0, P.useRef)(!1), [p, m] = (0, P.useState)(!1), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), [y, b] = (0, P.useState)(-1), x = (0, P.useRef)({adding: i,query: h,tags: e,@@ -69167,7 +69347,7 @@ function pOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,_,t.length]);- let w = p ? nce(_, t, fN()) : {+ let w = p ? Ace(_, t, uN()) : {recent: [],results: [],create: ""@@ -69210,7 +69390,7 @@ function pOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,"aria-pressed": i,onClick: () => E(t, i),children: [- /* @__PURE__ */ (0, F.jsx)(h2, { name: i ? "check" : "tags" }),+ /* @__PURE__ */ (0, F.jsx)(g2, { name: i ? "check" : "tags" }),/* @__PURE__ */ (0, F.jsx)("span", {"data-pick-name": "",children: n(t.k)@@ -69230,8 +69410,8 @@ function pOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,title: "添加标签","aria-label": "添加标签","aria-expanded": p,- ...Rz(!!i),- children: /* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" })+ ...Uz(!!i),+ children: /* @__PURE__ */ (0, F.jsx)(g2, { name: "plus" })}), /* @__PURE__ */ (0, F.jsxs)("div", {ref: l,id: "tagPicker",@@ -69244,7 +69424,7 @@ function pOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,children: [s ? /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: xs("正在读取标签") }- }) : /* @__PURE__ */ (0, F.jsx)(h2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {+ }) : /* @__PURE__ */ (0, F.jsx)(g2, { name: "search" }), /* @__PURE__ */ (0, F.jsx)("input", {ref: d,id: "tagPickSearch",maxLength: 80,@@ -69288,7 +69468,7 @@ function pOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,onClick: () => {C(), r(w.create);},- children: [/* @__PURE__ */ (0, F.jsx)(h2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {+ children: [/* @__PURE__ */ (0, F.jsx)(g2, { name: "plus" }), /* @__PURE__ */ (0, F.jsxs)("span", {"data-pick-name": "",children: ["新建“",@@ -69305,8 +69485,8 @@ function pOe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,})] });}// src/react/follow-detail/follow-tags.tsx-function mOe({ item: e, label: t, actions: n }) {- let r = EH(), i = () => H.invalidateQueries({ predicate: (e) => [+function zOe({ item: e, label: t, actions: n }) {+ let r = jH(), i = () => H.invalidateQueries({ predicate: (e) => ["follow-feed","follow","tag-management"@@ -69329,7 +69509,7 @@ function mOe({ item: e, label: t, actions: n }) {}, "POST", t);a(n), await i();}, () => {- o === "add" && pN(s);+ o === "add" && dN(s);let r = o === "add" ? "remove" : e.custom_tags?.includes(s) ? "add" : "restore";n.toast(o === "add" ? `已添加标签「${t(s)}」` : `已删除标签「${t(s)}」`, { undo: async () => {let t = await V("/api/follow/tag", {@@ -69345,10 +69525,10 @@ function mOe({ item: e, label: t, actions: n }) {"aria-label": "内容标签","data-follow-tag-editor": "","data-follow-detail-tags": "",- children: [/* @__PURE__ */ (0, F.jsx)(g2, {- tags: rOe(e, t).map((t) => ({+ children: [/* @__PURE__ */ (0, F.jsx)(_2, {+ tags: OOe(e, t).map((t) => ({k: t,- cat: nOe(e, t)+ cat: DOe(e, t)})),scope: "online",adding: !!r.busy,@@ -69357,30 +69537,30 @@ function mOe({ item: e, label: t, actions: n }) {onOpen: n.openTag,onAdd: (e) => o("add", e),onRemove: (e) => o("remove", e.k),- busyAttrs: () => Rz(!!r.busy)- }), r.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ busyAttrs: () => Uz(!!r.busy)+ }), r.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: r.error}) : null]});}// src/react/follow-detail/follow-detail-page.tsx-var _2 = (e) => Number(e) > 0, hOe = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var v2 = (e) => Number(e) > 0, BOe = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), v2 = R("external-link", "ui-externalmark");-function gOe(e) {+}), y2 = R("external-link", "ui-externalmark");+function VOe(e) {let { id: t, actions: n } = e, r = Pt({- queryKey: Q0(t),- queryFn: ({ signal: e }) => e2(t, e)+ queryKey: $0(t),+ queryFn: ({ signal: e }) => t2(t, e)}), i = Pt({queryKey: zi,queryFn: ({ signal: e }) => Bi(e)}), a = (0, P.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, P.useState)(e.mediaIndex);- return r.data ? /* @__PURE__ */ (0, F.jsx)(yOe, {+ return r.data ? /* @__PURE__ */ (0, F.jsx)(WOe, {...e,data: r.data,- context: iOe(r.data, a),+ context: kOe(r.data, a),mediaIndex: o,onMedia: s}) : /* @__PURE__ */ (0, F.jsx)("div", {@@ -69389,9 +69569,9 @@ function gOe(e) {children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-media": "","data-follow-detail-media": "none",- children: [/* @__PURE__ */ (0, F.jsx)(y2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {+ children: [/* @__PURE__ */ (0, F.jsx)(b2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-detail-placeholder": "",- children: r.isError ? _Oe(r.error) ? /* @__PURE__ */ (0, F.jsx)(vOe, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(jW, {+ children: r.isError ? HOe(r.error) ? /* @__PURE__ */ (0, F.jsx)(UOe, { onBack: n.close }) : /* @__PURE__ */ (0, F.jsx)(GW, {message: tn(r.error),onRetry: () => void r.refetch()}) : null@@ -69399,8 +69579,8 @@ function gOe(e) {})});}-var _Oe = (e) => e instanceof $0 || e instanceof Hn && e.status === 404;-function vOe({ onBack: e }) {+var HOe = (e) => e instanceof e2 || e instanceof Hn && e.status === 404;+function UOe({ onBack: e }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-follow-detail-gone": "",onClick: (t) => {@@ -69409,7 +69589,7 @@ function vOe({ onBack: e }) {dangerouslySetInnerHTML: { __html: bs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }});}-var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var b2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -69418,8 +69598,8 @@ var y2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function yOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {- let { item: c, group: l } = e, u = JDe(c, l, n, i), d = TOe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, P.useState)({+function WOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {+ let { item: c, group: l } = e, u = yOe(c, l, n, i), d = XOe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, P.useState)({key: "",kind: ""}), h = {@@ -69439,20 +69619,20 @@ function yOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relc,u.kind]);- let g = !u.embedded.length && u.collection ? YDe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(C2, {+ let g = !u.embedded.length && u.collection ? bOe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, F.jsx)(w2, {item: c,current: u.selected.index,helpers: o,actions: s,onMedia: r- }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(C2, {+ }) : u.collection ? g ? /* @__PURE__ */ (0, F.jsx)(w2, {item: g,current: null,helpers: o,actions: s,onMedia: r,currentId: c.id- }) : /* @__PURE__ */ (0, F.jsx)(SOe, {+ }) : /* @__PURE__ */ (0, F.jsx)(qOe, {group: u.collection,itemId: c.id,helpers: o,@@ -69462,14 +69642,14 @@ function yOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel"data-stage-grid": "","data-with-queue": _ ? "" : void 0,"data-follow-detail": "",- children: [/* @__PURE__ */ (0, F.jsx)(xOe, {+ children: [/* @__PURE__ */ (0, F.jsx)(KOe, {item: c,media: u,helpers: o,actions: s,onMedia: r,issues: h- }, f), /* @__PURE__ */ (0, F.jsx)(COe, {+ }, f), /* @__PURE__ */ (0, F.jsx)(JOe, {item: c,data: e,context: t,@@ -69479,9 +69659,9 @@ function yOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relhelpers: o,actions: s})]- }), /* @__PURE__ */ (0, F.jsx)(f2, {+ }), /* @__PURE__ */ (0, F.jsx)(p2, {queue: _,- children: a > 0 ? /* @__PURE__ */ (0, F.jsx)(bOe, {+ children: a > 0 ? /* @__PURE__ */ (0, F.jsx)(GOe, {data: e,media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,limit: a,@@ -69491,23 +69671,23 @@ function yOe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel}) : null})] });}-function bOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {+function GOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {let o = Pt({- queryKey: dOe(e.item.id, t, n),- queryFn: ({ signal: r }) => fOe(e, t, n, r)- }), [s] = (0, P.useState)(() => s2("正在读取推荐", {+ queryKey: IOe(e.item.id, t, n),+ queryFn: ({ signal: r }) => LOe(e, t, n, r)+ }), [s] = (0, P.useState)(() => c2("正在读取推荐", {cards: !0,className: "related-skeleton"})), c = (0, P.useMemo)(() => ({openDetail: a.openItem,openAuthor: a.openAuthor,canFlip: () => !1- }), [a]), l = m2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {+ }), [a]), l = h2(o.data?.pages || [], e, t, n), u = o.data?.pages.at(-1)?.sources || e.sources, d = {...r,sources: u,aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases};- return /* @__PURE__ */ (0, F.jsx)(d2, {+ return /* @__PURE__ */ (0, F.jsx)(f2, {online: !0,"data-follow-related": "",wireDrag: i.wireDrag,@@ -69521,7 +69701,7 @@ function bOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }variant: "next",group: e,media: t,- authorSources: a2(e.primary, u),+ authorSources: o2(e.primary, u),context: d,selected: !1,selectMode: !1,@@ -69534,8 +69714,8 @@ function bOe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }})});}-function xOe({ 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, P.useRef)(null), p = aOe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, P.useState)(g), b = (0, P.useRef)({+function KOe({ 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, P.useRef)(null), p = AOe(e, t), m = o?.thumb_url || e.thumb_url || "", h = e.playable && a === "video", g = e.playable && a === "image" ? s : e.thumb_url || "", _ = e.playable && a === "image" && m && m !== s ? m : "", [v, y] = (0, P.useState)(g), b = (0, P.useRef)({item: e,selected: o}), x = (0, P.useRef)(i.failed);@@ -69549,7 +69729,7 @@ function xOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-framed": d ? "" : void 0,style: { "--follow-frame-ratio": d ? d.toFixed(4) : void 0 },children: [- /* @__PURE__ */ (0, F.jsx)(y2, { onClose: n.close }),+ /* @__PURE__ */ (0, F.jsx)(b2, { onClose: n.close }),h ? null : g ? /* @__PURE__ */ (0, F.jsx)("img", {"data-follow-detail-poster": "","data-zoomable": p.length ? "" : void 0,@@ -69564,10 +69744,10 @@ function xOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {"data-follow-detail-placeholder": "",children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: HU(e.resource_provider || e.provider) }+ dangerouslySetInnerHTML: { __html: qU(e.resource_provider || e.provider) }}), /* @__PURE__ */ (0, F.jsx)("span", { children: "没有可用预览" })]}),- u ? /* @__PURE__ */ (0, F.jsx)(p2, {+ u ? /* @__PURE__ */ (0, F.jsx)(m2, {items: c,position: l,onSelect: r,@@ -69584,11 +69764,11 @@ function xOe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {]});}-var b2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var x2 = ({ kind: e }) => /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-nothumb": "",dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }});-function x2({ src: e }) {+function S2({ src: e }) {let [t, n] = (0, P.useState)(!1);return t ? null : /* @__PURE__ */ (0, F.jsx)("img", {src: e,@@ -69598,27 +69778,27 @@ function x2({ src: e }) {onError: () => n(!0)});}-function S2(e) {+function C2(e) {return (0, P.useCallback)((t) => {t && e.wireDrag(t);}, [e]);}-function SOe({ group: e, itemId: t, helpers: n, actions: r }) {- let i = $i(e), a = S2(n);- return /* @__PURE__ */ (0, F.jsx)(dK, {+function qOe({ group: e, itemId: t, helpers: n, actions: r }) {+ let i = $i(e), a = C2(n);+ return /* @__PURE__ */ (0, F.jsx)(TK, {kind: "collection","data-follow-queue": "",title: "视频合集",onClose: r.close,listRef: a,- summary: `${WU(e.primary)} · ${i.length} 个视频`,+ summary: `${YU(e.primary)} · ${i.length} 个视频`,children: i.map((n) => {- let i = e.duplicates.includes(n), a = $De(e, n, i ? n.provider_label : ""), o = i ? HU(n.provider, n.provider_label) : "";- return /* @__PURE__ */ (0, F.jsxs)(fK, {+ let i = e.duplicates.includes(n), a = wOe(e, n, i ? n.provider_label : ""), o = i ? qU(n.provider, n.provider_label) : "";+ return /* @__PURE__ */ (0, F.jsxs)(EK, {current: n.id === t,"data-follow-queue-item": n.id,onClick: () => r.openItem(n.id),- pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(b2, { kind: "video" }), _2(n.duration) ? /* @__PURE__ */ (0, F.jsx)("i", {+ pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(x2, { kind: "video" }), v2(n.duration) ? /* @__PURE__ */ (0, F.jsx)("i", {className: "mono","data-mix-item-duration": "",children: kn(n.duration)@@ -69636,15 +69816,15 @@ function SOe({ group: e, itemId: t, helpers: n, actions: r }) {children: a.label}), /* @__PURE__ */ (0, F.jsx)("time", {dateTime: n.published_at || "",- children: $U(n)+ children: iW(n)})]})]}, n.id);})});}-function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {- let o = e.media_items || [], s = S2(r), c = [];+function w2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {+ let o = e.media_items || [], s = C2(r), c = [];o.forEach((e) => {let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);n || (n = {@@ -69654,26 +69834,26 @@ function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, c.push(n)), n.items.push(e);});let l = (t) => e.id === n ? a(t.index) : i.openItem(e.id, t.index);- return /* @__PURE__ */ (0, F.jsx)(dK, {+ return /* @__PURE__ */ (0, F.jsx)(TK, {kind: "media","data-follow-queue": "",title: "多媒体",onClose: i.close,listRef: s,- summary: `${WU(e)} · ${o.length} 个媒体`,- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, F.jsx)(pK, {+ summary: `${YU(e)} · ${o.length} 个媒体`,+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, F.jsx)(DK, {label: n.label,count: n.items.length- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, F.jsxs)(fK, {+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, F.jsxs)(EK, {current: n.index === t,"data-follow-media-owner": e.id,"data-follow-media-item": n.index,"data-media-kind": n.media_kind || "",onClick: () => l(n),- pic: n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(b2, { kind: n.media_kind || "" }),+ pic: n.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: n.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(x2, { kind: n.media_kind || "" }),children: [/* @__PURE__ */ (0, F.jsx)("b", {"data-middle-truncate": "",- children: eOe(n)+ children: TOe(n)}), /* @__PURE__ */ (0, F.jsx)("span", {"data-truncate-end": "",children: n.media_kind === "image" ? "图片" : "视频"@@ -69681,13 +69861,13 @@ function C2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,}, n.index))])});}-function COe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {+function JOe({ 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 = XU(d, e), p = JU(e, a2(e, t.sources), n), m = p.credited ? "" : e.author && wn(e.author) !== wn(p.author) ? e.author : "", h = ZU(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {+ }, f = tW(d, e), p = $U(e, o2(e, t.sources), n), m = p.credited ? "" : e.author && wn(e.author) !== wn(p.author) ? e.author : "", h = nW(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {"aria-busy": !0,"aria-disabled": !0} : {};@@ -69703,7 +69883,7 @@ function COe({ 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: YU(d, e) + z(WU(e)) }+ dangerouslySetInnerHTML: { __html: eW(d, e) + z(YU(e)) }}), e.url ? /* @__PURE__ */ (0, F.jsx)("a", {"data-follow-origin": "",href: e.url,@@ -69711,7 +69891,7 @@ function COe({ item: e, data: t, context: n, media: r, write: i, issue: a, helperel: "noreferrer noopener",title: "打开来源页面","aria-label": "打开来源页面",- dangerouslySetInnerHTML: { __html: v2 }+ dangerouslySetInnerHTML: { __html: y2 }}) : null]}),/* @__PURE__ */ (0, F.jsxs)("div", {@@ -69719,8 +69899,8 @@ function COe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"data-stage-meta": "","data-reveal-line": "",children: [- /* @__PURE__ */ (0, F.jsx)("span", { children: $U(e) }),- _2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: kn(e.duration) }) : null,+ /* @__PURE__ */ (0, F.jsx)("span", { children: iW(e) }),+ v2(e.duration) ? /* @__PURE__ */ (0, F.jsx)("span", { children: kn(e.duration) }) : null,f ? /* @__PURE__ */ (0, F.jsx)("span", {"data-follow-badges": "",dangerouslySetInnerHTML: { __html: f }@@ -69769,7 +69949,7 @@ function COe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpechildren: [m ? /* @__PURE__ */ (0, F.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, F.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]}) : null]}),- e.summary ? /* @__PURE__ */ (0, F.jsx)(wOe, { text: e.summary }, e.id) : null,+ e.summary ? /* @__PURE__ */ (0, F.jsx)(YOe, { text: e.summary }, e.id) : null,h ? /* @__PURE__ */ (0, F.jsx)("p", {"data-follow-media-issue": "",children: h@@ -69792,9 +69972,9 @@ function COe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpehref: e,target: "_blank",rel: "noreferrer noopener",- children: [QDe(e), /* @__PURE__ */ (0, F.jsx)("span", {+ children: [COe(e), /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",- dangerouslySetInnerHTML: { __html: v2 }+ dangerouslySetInnerHTML: { __html: y2 }})]}, e))}) : null,@@ -69894,7 +70074,7 @@ function COe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-label": `恢复显示 ${e.name || ""}`,...v(`restore:${e.index}`),onClick: () => i.restore(e.index),- children: [e.thumb_url ? /* @__PURE__ */ (0, F.jsx)(x2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(hOe, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]+ children: [e.thumb_url ? /* @__PURE__ */ (0, F.jsx)(S2, { src: e.thumb_url }) : /* @__PURE__ */ (0, F.jsx)(BOe, { name: "image-off" }), /* @__PURE__ */ (0, F.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]}, e.index))})]}) : null,@@ -69903,7 +70083,7 @@ function COe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe"aria-live": "polite",children: i.failure}),- /* @__PURE__ */ (0, F.jsx)(mOe, {+ /* @__PURE__ */ (0, F.jsx)(zOe, {item: e,label: o.tagLabel,actions: s@@ -69912,7 +70092,7 @@ function COe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe})});}-function wOe({ text: e }) {+function YOe({ text: e }) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(!1);return (0, P.useLayoutEffect)(() => {let e = t.current;@@ -69925,7 +70105,7 @@ function wOe({ text: e }) {ref: t,"data-follow-detail-summary": "","data-long-text": "",- lang: hF(e),+ lang: pF(e),"data-clamped": n ? void 0 : "",children: e}), i || n ? /* @__PURE__ */ (0, F.jsx)(q, {@@ -69937,8 +70117,8 @@ function wOe({ text: e }) {children: n ? "收起" : "展开"}) : null] });}-function TOe(e, t, n) {- let r = e.id, i = Q0(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), l = (e, t) => o((n) => {+function XOe(e, t, n) {+ let r = e.id, i = $0(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), l = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), u = (e) => {@@ -69957,7 +70137,7 @@ function TOe(e, t, n) {to: e}),onSuccess: (e, { to: n, was: i }) => {- u(n), c(""), n === "ignored" && b$(), t.toast(oOe(n), { undo: i === "saved" ? void 0 : async () => {+ u(n), c(""), n === "ignored" && x$(), t.toast(jOe(n), { undo: i === "saved" ? void 0 : async () => {await V(pr, {item: r,to: i@@ -69967,7 +70147,7 @@ function TOe(e, t, n) {onError: d,onSettled: (e, t, { to: n }) => l(n, !1)}), p = Ft({- mutationFn: () => V(GDe, { item: r }),+ mutationFn: () => V(gOe, { item: r }),onSuccess: () => {u("saved"), c(""), t.toast("已保存到数据库");},@@ -69975,7 +70155,7 @@ function TOe(e, t, n) {onSettled: () => l("save", !1)}), m = Ft({mutationFn: async ({ index: e, hidden: t }) => {- await V(KDe, {+ await V(_Oe, {item: r,media: e,hidden: t@@ -69991,12 +70171,12 @@ function TOe(e, t, n) {onError: d,onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)}), h = Pt({- queryKey: oTe(r),- queryFn: ({ signal: e }) => lTe(r, e)+ queryKey: jTe(r),+ queryFn: ({ signal: e }) => PTe(r, e)}).data?.want ?? null, g = Ft({- mutationFn: async (e) => (e ? await y$([e.id]) : await v$({ follow: r }), !e),+ mutationFn: async (e) => (e ? await b$([e.id]) : await y$({ follow: r }), !e),onSuccess: (e) => {- c(""), t.toast(e ? "已加入想要" : "已取消想要"), b$();+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), x$();},onError: d,onSettled: () => l("want", !1)@@ -70035,7 +70215,7 @@ function TOe(e, t, n) {};}// src/react/components/identity-cell.tsx-function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {+function T2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {let o = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, F.jsx)("span", {"data-id-face": "",dangerouslySetInnerHTML: { __html: `<span>${z(Fn(t.name))}</span>` + Xa({@@ -70081,7 +70261,7 @@ function w2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })children: s});}-function T2({ people: e, onOpen: t }) {+function E2({ people: e, onOpen: t }) {if (!e.length) return null;let n = (e) => /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "contents",@@ -70114,7 +70294,7 @@ function T2({ people: e, onOpen: t }) {});}// src/react/components/folded-title.ts-function E2(e) {+function D2(e) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(!1);return (0, P.useLayoutEffect)(() => {let e = t.current;@@ -70131,9 +70311,9 @@ function E2(e) {};}// src/react/item-detail/catalog-picture.tsx-function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {+function O2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {let [i, a] = (0, P.useState)(""), [o, s] = (0, P.useState)(0);- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, F.jsx)(pQ, {+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, F.jsx)(mQ, {item: {code: e.code,has_cover: !1,@@ -70147,7 +70327,7 @@ function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {src: c,alt: "",onError: () => a(c)- }) : i === c ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ }) : i === c ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -70165,34 +70345,34 @@ function D2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {}, o);}// src/react/jav-detail/jav-detail.ts-var O2 = (e) => ["jav-detail", e], k2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), EOe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), A2 = (e, t) => H.ensureQueryData({- queryKey: O2(e.code),- queryFn: () => k2(e.code, t),+var k2 = (e) => ["jav-detail", e], A2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), ZOe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), j2 = (e, t) => H.ensureQueryData({+ queryKey: k2(e.code),+ queryFn: () => A2(e.code, t),staleTime: 216e5,revalidateIfStale: !0});-function DOe(e, t) {+function QOe(e, t) {if (!e.ok || !e.more) return;let n = new Set(t.slice(0, -1).flatMap((e) => e.items.map((e) => e.id)));return e.items.some((e) => !n.has(e.id)) ? e.page + 1 : void 0;}// src/react/item-detail/external-playback.tsx-var j2 = "peach.playback-target.v1", M2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];-function OOe() {+var M2 = "peach.playback-target.v1", N2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];+function $Oe() {try {- return localStorage.getItem(j2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;+ return localStorage.getItem(M2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;} catch {return "local:default";}}-function N2({ id: e, onOpened: t }) {- let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)(OOe), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(0), f = EH();+function P2({ id: e, onOpened: t }) {+ let [n, r] = (0, P.useState)(null), [i, a] = (0, P.useState)($Oe), [o, s] = (0, P.useState)(null), [c, l] = (0, P.useState)(""), [u, d] = (0, P.useState)(0), f = jH();(0, P.useEffect)(() => {let e = new AbortController();return B("/api/local-players", e.signal).then((t) => {- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || M2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || N2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));}).catch((t) => {- e.signal.aborted || (r([]), a((e) => M2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));+ e.signal.aborted || (r([]), a((e) => N2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));}), () => e.abort();}, [u]);let p = () => void f.run("open", async (t) => {@@ -70216,29 +70396,29 @@ function N2({ id: e, onOpened: t }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-local-playback-row": "",- children: [/* @__PURE__ */ (0, F.jsx)(f1, {+ children: [/* @__PURE__ */ (0, F.jsx)(p1, {id: `external-player-${e}`,label: "外部播放器",- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...M2],+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...N2],value: i,disabled: n === null || !!f.busy,epoch: u * 2 + Number(n !== null),onPick: (e) => {a(e), s(null), f.setError("");try {- localStorage.setItem(j2, e);+ localStorage.setItem(M2, e);} catch {}}}), /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary","aria-label": "使用外部播放器打开",disabled: n === null,- ...Rz(f.busy === "open"),+ ...Uz(f.busy === "open"),onClick: p,children: "打开"})]}),- f.error || c ? /* @__PURE__ */ (0, F.jsx)(YH, { children: f.error || c }) : null,+ f.error || c ? /* @__PURE__ */ (0, F.jsx)(eU, { children: f.error || c }) : null,c ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",disabled: !!f.busy,@@ -70247,16 +70427,16 @@ function N2({ id: e, onOpened: t }) {},children: "重新检测播放器"}) : null,- o ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Az, {+ o ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Fz, {label: "网络播放地址",value: o.url,isReadOnly: !0- }), /* @__PURE__ */ (0, F.jsx)(JH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null+ }), /* @__PURE__ */ (0, F.jsx)($H, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null]});}// src/react/boardui/components/base/switch/switch.tsx-var kOe = lF({+var eke = sF({sm: {track: "h-4 w-7",trackRadius: {@@ -70318,23 +70498,23 @@ var kOe = lF({}}});-function AOe({ state: e, size: t = "md", shape: n = "pill" }) {- let r = kOe[t];+function tke({ state: e, size: t = "md", shape: n = "pill" }) {+ let r = eke[t];return /* @__PURE__ */ (0, F.jsx)("span", {"aria-hidden": !0,- className: cF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? cF("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: oF("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? oF("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, F.jsx)("span", {- className: cF("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, F.jsx)("span", { className: cF("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: oF("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, F.jsx)("span", { className: oF("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 P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {- return /* @__PURE__ */ (0, F.jsx)(Nde, {+function F2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {+ return /* @__PURE__ */ (0, F.jsx)(efe, {ref: i,...a,- className: (t) => cF("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, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(AOe, {+ className: (t) => oF("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, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(tke, {state: e,size: n,shape: r@@ -70345,12 +70525,12 @@ function P2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:});}// src/react/cover-crop/cover-crop.ts-var jOe = "/api/cover-crop", MOe = (e, t) => V(jOe, {+var nke = "/api/cover-crop", rke = (e, t) => V(nke, {code: e,box: t});// src/react/cover-crop/cover-crop-page.tsx-function F2({ className: e }) {+function I2({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -70363,7 +70543,7 @@ function F2({ className: e }) {children: /* @__PURE__ */ (0, F.jsx)("use", { href: "#i-crop" })});}-function NOe({ code: e, coverUrl: t, box: n, onSaved: r }) {+function ike({ code: e, coverUrl: t, box: n, onSaved: r }) {let [i, a] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -70373,13 +70553,13 @@ function NOe({ code: e, coverUrl: t, box: n, onSaved: r }) {title: "裁剪封面:框出正封那一块",onClick: () => a(!0),className: "flex size-7 cursor-pointer items-center justify-center rounded-lg text-foreground-icon-secondary outline-none transition-colors hover:bg-background-primary-hover hover:text-foreground-icon-primary focus-visible:ring-2 focus-visible:ring-border-focus-ring",- children: /* @__PURE__ */ (0, F.jsx)(F2, { className: "size-3.75" })- }), /* @__PURE__ */ (0, F.jsx)(jz, {+ children: /* @__PURE__ */ (0, F.jsx)(I2, { className: "size-3.75" })+ }), /* @__PURE__ */ (0, F.jsx)(Iz, {isOpen: i,onOpenChange: a,width: "cover-crop",label: "裁剪封面",- children: /* @__PURE__ */ (0, F.jsx)(POe, {+ children: /* @__PURE__ */ (0, F.jsx)(ake, {code: e,coverUrl: t,box: n,@@ -70388,9 +70568,9 @@ function NOe({ code: e, coverUrl: t, box: n, onSaved: r }) {})})] });}-function POe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {- let [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(null), [l, u] = (0, P.useState)(!0), d = rV(), f = Ft({- mutationFn: (t) => MOe(e, t),+function ake({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {+ let [a, o] = (0, P.useState)(null), [s, c] = (0, P.useState)(null), [l, u] = (0, P.useState)(!0), d = cV(), f = Ft({+ mutationFn: (t) => rke(e, t),onSuccess: (e) => {i(), r(e.poster_box);}@@ -70402,19 +70582,19 @@ function POe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {y0: n.y0,x1: n.x1,y1: n.y1- } : bCe(e, La);- c(XZ(t, e, null));+ } : XZ(e, La);+ c(ZZ(t, e, null));}let m = f.isPending;return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 items-start gap-4 p-5",children: [- /* @__PURE__ */ (0, F.jsx)(Mz, { children: /* @__PURE__ */ (0, F.jsx)(F2, { className: "size-6" }) }),+ /* @__PURE__ */ (0, F.jsx)(Lz, { children: /* @__PURE__ */ (0, F.jsx)(I2, { className: "size-6" }) }),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex min-w-0 flex-1 flex-col gap-2",children: [- /* @__PURE__ */ (0, F.jsx)(AI, {+ /* @__PURE__ */ (0, F.jsx)(FI, {slot: "title",className: "text-title-3-semibold text-text-primary",children: "裁剪封面"@@ -70423,14 +70603,14 @@ function POe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "text-body-2-regular text-text-secondary",children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]}),- f.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ f.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: Wn(f.error)}) : null]}),- /* @__PURE__ */ (0, F.jsx)(HF, {- icon: uz,+ /* @__PURE__ */ (0, F.jsx)(ZF, {+ icon: hz,size: "small","aria-label": "关闭",onClick: i@@ -70440,7 +70620,7 @@ function POe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {/* @__PURE__ */ (0, F.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, F.jsx)(tQ, {+ children: /* @__PURE__ */ (0, F.jsx)(nQ, {src: t,aspect: l ? La : null,box: s,@@ -70454,10 +70634,10 @@ function POe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {}),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",- children: [/* @__PURE__ */ (0, F.jsx)(P2, {+ children: [/* @__PURE__ */ (0, F.jsx)(F2, {isSelected: l,onChange: (e) => {- u(e), e && s && a && c(XZ(s, a, La));+ u(e), e && s && a && c(ZZ(s, a, La));},children: /* @__PURE__ */ (0, F.jsx)("span", {className: "text-body-2-regular text-text-secondary",@@ -70467,14 +70647,14 @@ function POe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {className: "flex flex-1 flex-wrap items-center justify-end gap-3",children: [/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Rz(m),+ ...Uz(m),onClick: () => {m || f.mutate(null);},children: "恢复默认"}), /* @__PURE__ */ (0, F.jsx)(q, {disabled: !s || !a,- ...Rz(m),+ ...Uz(m),onClick: () => {s && !m && f.mutate(s);},@@ -70485,21 +70665,21 @@ function POe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {] });}// src/react/item-detail/item-detail-page.tsx-var I2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var L2 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: R(e) }-}), L2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+}), R2 = ({ html: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents",dangerouslySetInnerHTML: { __html: e }-}), R2 = (e) => Number(e) > 0 ? jn(Number(e)) : "大小未知";-function FOe(e) {+}), z2 = (e) => Number(e) > 0 ? jn(Number(e)) : "大小未知";+function oke(e) {let { queue: t, actions: n } = e, r = Pt({- queryKey: t ? qM(t) : ["item-queue", "none"],- queryFn: ({ signal: n }) => nN(t, e.helpers, n),+ queryKey: t ? GM(t) : ["item-queue", "none"],+ queryFn: ({ signal: n }) => eN(t, e.helpers, n),enabled: !!t- }), i = t && r.data || null, a = i ? aN(i, e.id) : t ? null : e.id, o = Pt({- queryKey: KM(a ?? 0),- queryFn: ({ signal: e }) => tN(a, e),+ }), i = t && r.data || null, a = i ? rN(i, e.id) : t ? null : e.id, o = Pt({+ queryKey: WM(a ?? 0),+ queryFn: ({ signal: e }) => $M(a, e),enabled: a != null});if (!o.data || t && !i) {@@ -70510,9 +70690,9 @@ function FOe(e) {children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-media": "","data-item-media": "none",- children: [/* @__PURE__ */ (0, F.jsx)(z2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {+ children: [/* @__PURE__ */ (0, F.jsx)(B2, { onClose: n.close }), /* @__PURE__ */ (0, F.jsx)("div", {"data-item-placeholder": "",- children: e ? /* @__PURE__ */ (0, F.jsx)(jW, {+ children: e ? /* @__PURE__ */ (0, F.jsx)(GW, {message: tn(e),onRetry: () => {r.error && r.refetch(), o.error && o.refetch();@@ -70522,13 +70702,13 @@ function FOe(e) {})});}- return /* @__PURE__ */ (0, F.jsx)(IOe, {+ return /* @__PURE__ */ (0, F.jsx)(ske, {...e,- item: $se(o.data, i),+ item: Dce(o.data, i),queue: i}, o.data.id);}-var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var B2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -70537,23 +70717,23 @@ var z2 = ({ onClose: e }) => /* @__PURE__ */ (0, F.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function IOe(e) {- let { item: t, queue: n, actions: r, helpers: i } = e, a = ZOe(t, r, i.tagLabel), o = (0, P.useRef)(t);+function ske(e) {+ let { item: t, queue: n, actions: r, helpers: i } = e, a = Ske(t, r, i.tagLabel), o = (0, P.useRef)(t);(0, P.useLayoutEffect)(() => {r.present(o.current, n);}, [r]), (0, P.useEffect)(() => {- n?.kind === "playlist" && V(JM, {+ n?.kind === "playlist" && V(KM, {action: "progress",id: n.playlistId,asset_id: t.id}).catch(() => {});}, []);- let s = lce(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = oN(n, t.id);+ let s = Lce(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = iN(n, t.id);return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-grid": "","data-with-queue": n ? "" : void 0,"data-item-detail": "",- children: [/* @__PURE__ */ (0, F.jsx)(LOe, {+ children: [/* @__PURE__ */ (0, F.jsx)(cke, {item: t,gate: s,helpers: i,@@ -70566,22 +70746,22 @@ function IOe(e) {autoplay: !0}, c.id);}- }), /* @__PURE__ */ (0, F.jsx)(HOe, {+ }), /* @__PURE__ */ (0, F.jsx)(pke, {item: t,queue: n,write: a,helpers: i,actions: r})]- }), /* @__PURE__ */ (0, F.jsx)(f2, {+ }), /* @__PURE__ */ (0, F.jsx)(p2, {queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,- queue: n ? /* @__PURE__ */ (0, F.jsx)(zOe, {+ queue: n ? /* @__PURE__ */ (0, F.jsx)(uke, {queue: n,itemId: t.id,helpers: i,actions: r}) : null,- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, F.jsx)(XOe, {+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, F.jsx)(xke, {...e,item: n ? {...t,@@ -70590,12 +70770,12 @@ function IOe(e) {}) : null})] });}-function LOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {+function cke({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {let [o, s] = (0, P.useState)(t ? "" : "auto"), c = (0, P.useRef)(null), [l, u] = (0, P.useState)(-2), d = (0, P.useRef)(!1), f = Pt({- queryKey: O2(e.code || ""),+ queryKey: k2(e.code || ""),queryFn: ({ signal: t }) => {let n = d.current;- return d.current = !1, k2(e.code, t, n);+ return d.current = !1, A2(e.code, t, n);},staleTime: 216e5,enabled: !!e.is_jav && !!e.code && !e.sample_images?.length@@ -70640,26 +70820,26 @@ function LOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a"data-item-gallery": h ? "" : void 0,"data-item-picture": l === -2 ? void 0 : "",children: [- /* @__PURE__ */ (0, F.jsx)(z2, { onClose: r.close }),+ /* @__PURE__ */ (0, F.jsx)(B2, { onClose: r.close }),h ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": l !== -2,onClick: () => g(l === -2 ? m[0].index : -2),- children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]}),- l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(D2, {+ l === -2 ? null : /* @__PURE__ */ (0, F.jsx)(O2, {item: e,image: l,source: p.find((e) => e.index === l)?.source}, e.id),- /* @__PURE__ */ (0, F.jsx)(p2, {+ /* @__PURE__ */ (0, F.jsx)(m2, {items: m,position: Math.max(0, m.findIndex((e) => e.index === l)),onSelect: g,below: !0,- renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(D2, {+ renderThumbnail: (t) => /* @__PURE__ */ (0, F.jsx)(O2, {item: e,image: t.index === -2 ? m[0].index : t.index,source: p.find((e) => e.index === (t.index === -2 ? m[0].index : t.index))?.source,@@ -70676,7 +70856,7 @@ function LOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aclassName: "relative block h-12 w-20 skeleton-sheen"}) : /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Rz(f.isFetching),+ ...Uz(f.isFetching),title: f.data?.message || tn(f.error),"aria-label": "立即重试样图",onClick: () => {@@ -70685,7 +70865,7 @@ function LOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: "立即重试"})}) : null,- t === "offline" ? /* @__PURE__ */ (0, F.jsx)(ROe, {+ t === "offline" ? /* @__PURE__ */ (0, F.jsx)(lke, {item: e,badge: y,helpers: n,@@ -70696,7 +70876,7 @@ function LOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: achildren: [/* @__PURE__ */ (0, F.jsx)("b", { children: "ISO 原盘" }),/* @__PURE__ */ (0, F.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),- /* @__PURE__ */ (0, F.jsx)(N2, {+ /* @__PURE__ */ (0, F.jsx)(P2, {id: e.id,onOpened: () => r.toast("已请求打开本地播放器")}, e.id)@@ -70706,7 +70886,7 @@ function LOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: arole: "status","data-item-gate": "online",children: [- /* @__PURE__ */ (0, F.jsx)(L2, { html: y }),+ /* @__PURE__ */ (0, F.jsx)(R2, { html: y }),/* @__PURE__ */ (0, F.jsx)("b", { children: "在线作品" }),/* @__PURE__ */ (0, F.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),/* @__PURE__ */ (0, F.jsx)("button", {@@ -70721,12 +70901,12 @@ function LOe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: aid: "gate","data-item-gate": "metered",onClick: () => s("clicked"),- children: [/* @__PURE__ */ (0, F.jsx)(L2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", R2(e.size)] })]+ children: [/* @__PURE__ */ (0, F.jsx)(R2, { html: y }), /* @__PURE__ */ (0, F.jsxs)("span", { children: ["点此开始拉流 · ", z2(e.size)] })]}) : null]});}-function ROe({ item: e, badge: t, helpers: n, actions: r }) {+function lke({ item: e, badge: t, helpers: n, actions: r }) {let [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = async () => {a(!0);let t = await r.checkSource(e.location || "").catch(() => !1);@@ -70737,7 +70917,7 @@ function ROe({ item: e, badge: t, helpers: n, actions: r }) {role: "status","data-item-gate": "offline",children: [- /* @__PURE__ */ (0, F.jsx)(L2, { html: t }),+ /* @__PURE__ */ (0, F.jsx)(R2, { html: t }),/* @__PURE__ */ (0, F.jsx)("b", { children: "媒体目录无法访问" }),/* @__PURE__ */ (0, F.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),/* @__PURE__ */ (0, F.jsx)("button", {@@ -70751,8 +70931,8 @@ function ROe({ item: e, badge: t, helpers: n, actions: r }) {]});}-function zOe({ queue: e, itemId: t, helpers: n, actions: r }) {- let i = ace(e), a = (0, P.useRef)(null), o = VOe(e, t, r), s = (0, P.useRef)(o);+function uke({ queue: e, itemId: t, helpers: n, actions: r }) {+ let i = Nce(e), a = (0, P.useRef)(null), o = fke(e, t, r), s = (0, P.useRef)(o);s.current = o;let c = (0, P.useCallback)((t) => {a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {@@ -70760,7 +70940,7 @@ function zOe({ 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 = BOe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)("button", {+ }, [n, e.kind]), l = dke(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-save-mix": "",title: "保存为播放列表",@@ -70779,7 +70959,7 @@ function zOe({ queue: e, itemId: t, helpers: n, actions: r }) {seedId: e.seedId,playlistId: e.playlistId};- return /* @__PURE__ */ (0, F.jsx)(dK, {+ return /* @__PURE__ */ (0, F.jsx)(TK, {kind: e.kind,title: i.title,summary: i.summary,@@ -70788,11 +70968,11 @@ function zOe({ 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, F.jsx)("i", {- className: `javedition ${rce[i.edition_label] || "censored"}`,+ className: `javedition ${jce[i.edition_label] || "censored"}`,"data-queue-edition": "",children: i.edition_label- }) : null, s = e.kind === "playlist" && iN(i);- return /* @__PURE__ */ (0, F.jsxs)(fK, {+ }) : null, s = e.kind === "playlist" && nN(i);+ return /* @__PURE__ */ (0, F.jsxs)(EK, {current: i.id === t,"data-queue-item": i.id,row: { "data-queue-row": i.id },@@ -70802,25 +70982,25 @@ function zOe({ queue: e, itemId: t, helpers: n, actions: r }) {onClick: () => {s || r.openQueueItem(d, i.id);},- pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(L2, { html: co(i, n.javImage()) }), /* @__PURE__ */ (0, F.jsx)("i", {+ pic: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(R2, { html: co(i, n.javImage()) }), /* @__PURE__ */ (0, F.jsx)("i", {className: "mono","data-mix-item-duration": "",children: kn(i.duration)})] }),- lead: /* @__PURE__ */ (0, F.jsx)(L2, { html: fo(i) }),+ lead: /* @__PURE__ */ (0, F.jsx)(R2, { html: fo(i) }),after: e.kind === "playlist" ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-queue-edit": "",children: [/* @__PURE__ */ (0, F.jsx)("i", {"data-queue-grip": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "grip-vertical" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "grip-vertical" })}), /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-queue-remove": i.id,title: "移出播放列表","aria-label": "移出播放列表",onClick: () => o.remove(i.id),- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "x" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "x" })})]}) : null,children: [/* @__PURE__ */ (0, F.jsxs)("span", {@@ -70831,14 +71011,14 @@ function zOe({ queue: e, itemId: t, helpers: n, actions: r }) {})]}), /* @__PURE__ */ (0, F.jsx)("span", {"data-truncate-end": "",- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? mN(i.part_label) : po(i, n.tagLabel)+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? fN(i.part_label) : po(i, n.tagLabel)})]}, i.id);})});}-function BOe(e, t) {- let n = Ft({ mutationFn: (t) => V(JM, {+function dke(e, t) {+ let n = Ft({ mutationFn: (t) => V(KM, {action: "create",name: t,asset_ids: e.items.map((e) => e.id),@@ -70851,11 +71031,11 @@ function BOe(e, t) {save: (e) => n.mutateAsync(e)});}-function VOe(e, t, n) {- let r = qM({+function fke(e, t, n) {+ let r = GM({kind: "playlist",playlistId: e.playlistId- }), i = (e) => (H.setQueryData(r, rN(e)), e), a = (t) => V(JM, {+ }), i = (e) => (H.setQueryData(r, tN(e)), e), a = (t) => V(KM, {id: e.playlistId,...t}).then((e) => e.playlist), o = Ft({@@ -70871,8 +71051,8 @@ function VOe(e, t, n) {return {move: async (t, r, c) => {if (e.kind !== "playlist") return;- let l = sce(s, t, r, c);- if (cce(l, s)) return;+ let l = Fce(s, t, r, c);+ if (Ice(l, s)) return;let u = s;await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {i(await a({@@ -70914,7 +71094,7 @@ function VOe(e, t, n) {}};}-function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {+function pke({ item: e, queue: t, write: n, helpers: r, actions: i }) {let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("div", {"data-stage-side": "",@@ -70922,7 +71102,7 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: /* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-side-content": "",children: [- /* @__PURE__ */ (0, F.jsx)(UOe, {+ /* @__PURE__ */ (0, F.jsx)(mke, {item: e,queue: t,helpers: r,@@ -70934,7 +71114,7 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-live": "polite",children: n.sourceState}),- /* @__PURE__ */ (0, F.jsx)(GOe, {+ /* @__PURE__ */ (0, F.jsx)(gke, {item: e,write: n}),@@ -70945,7 +71125,7 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {children: [e.width && e.height ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "monitor" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.width,"×",e.height@@ -70953,11 +71133,11 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {}) : null,/* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: R2(e.size) })]+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "hard-drive" }), /* @__PURE__ */ (0, F.jsx)("span", { children: z2(e.size) })]}),e.release_date ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",- children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "calendar" }), /* @__PURE__ */ (0, F.jsx)("span", { children: e.release_date })]}) : null,e.region_label ? /* @__PURE__ */ (0, F.jsxs)("button", {type: "button",@@ -70965,32 +71145,32 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"data-open-region": e.region || "",title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",onClick: () => i.openRegion(e.region || ""),- children: [/* @__PURE__ */ (0, F.jsx)(I2, { name: "globe" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]+ children: [/* @__PURE__ */ (0, F.jsx)(L2, { name: "globe" }), /* @__PURE__ */ (0, F.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]}) : null]}),- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, F.jsx)(N2, {+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, F.jsx)(P2, {id: e.id,onOpened: () => i.toast("已请求打开本地播放器")}, e.id) : null,- /* @__PURE__ */ (0, F.jsx)(KOe, {+ /* @__PURE__ */ (0, F.jsx)(_ke, {item: e,helpers: r,actions: i}),- /* @__PURE__ */ (0, F.jsx)(qOe, {+ /* @__PURE__ */ (0, F.jsx)(vke, {item: e,write: n,helpers: r,actions: i}),- /* @__PURE__ */ (0, F.jsx)(jK, {- assetIds: AK([e], r.javImage()),+ /* @__PURE__ */ (0, F.jsx)(BK, {+ assetIds: zK([e], r.javImage()),onComplete: () => {- H.invalidateQueries({ queryKey: KM(e.id) });+ H.invalidateQueries({ queryKey: WM(e.id) });}}),- /* @__PURE__ */ (0, F.jsx)(JOe, { item: e }),+ /* @__PURE__ */ (0, F.jsx)(yke, { item: e }),/* @__PURE__ */ (0, F.jsxs)("div", {"data-stage-actions": "","data-item-feedback": "",@@ -71004,7 +71184,7 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.liked,...o("like"),onClick: () => n.preference({ liked: !e.liked }),- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "thumbs-up" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "thumbs-up" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71016,7 +71196,7 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-controls": "preferencePanel","data-has-reason": String(!!e.like_reason),onClick: () => c((e) => !e),- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "notebook-pen" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "notebook-pen" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71027,7 +71207,7 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "dislike",...o("dislike"),onClick: () => n.feedback("dislike"),- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "thumbs-down" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "thumbs-down" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71038,7 +71218,7 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.feedback === "seen",...o("seen"),onClick: () => n.feedback("seen"),- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "eye" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "eye" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71049,7 +71229,7 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.watch_later,...o("later"),onClick: n.later,- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: e.watch_later ? "check" : "bookmark-plus" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: e.watch_later ? "check" : "bookmark-plus" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71058,7 +71238,7 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-label": "加入播放列表",title: "加入播放列表",onClick: () => i.addToPlaylist(e),- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "playlist" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "playlist" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71069,7 +71249,7 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": !!e.better_version,...o("quality"),onClick: n.quality,- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "sparkles" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "sparkles" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button",@@ -71080,11 +71260,11 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {"aria-pressed": e.disposal === "trash",...o("dispose"),onClick: () => n.feedback("dispose"),- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "trash" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "trash" })})]}),- /* @__PURE__ */ (0, F.jsx)(YOe, {+ /* @__PURE__ */ (0, F.jsx)(bke, {item: e,open: s,write: n@@ -71095,7 +71275,7 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {...o("o"),onClick: () => n.feedback("o"),children: [- /* @__PURE__ */ (0, F.jsx)(I2, { name: "sperm" }),+ /* @__PURE__ */ (0, F.jsx)(L2, { name: "sperm" }),/* @__PURE__ */ (0, F.jsx)("span", { children: "记一次高潮" }),/* @__PURE__ */ (0, F.jsx)("b", {className: "mono",@@ -71108,8 +71288,8 @@ function HOe({ item: e, queue: t, write: n, helpers: r, actions: i }) {})});}-function UOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {- let { text: a, expanded: o, foldable: s, toggle: c } = E2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + oce(e, t);+function mke({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {+ let { text: a, expanded: o, foldable: s, toggle: c } = D2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Pce(e, t);return /* @__PURE__ */ (0, F.jsx)("div", {"data-item-title": "",children: /* @__PURE__ */ (0, F.jsxs)("div", {@@ -71136,23 +71316,23 @@ function UOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {"aria-label": o ? "收起标题" : "展开标题",title: o ? "收起标题" : "展开完整标题",onClick: c,- children: /* @__PURE__ */ (0, F.jsx)(GH, {})+ children: /* @__PURE__ */ (0, F.jsx)(XH, {})}),e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, F.jsx)("span", {"data-cover-crop-host": "",- children: /* @__PURE__ */ (0, F.jsx)(NOe, {+ children: /* @__PURE__ */ (0, F.jsx)(ike, {code: e.cover_key || e.code || "",coverUrl: Wa(e),box: e.poster_box || null,onSaved: (t) => {H.invalidateQueries({- queryKey: KM(e.id),+ queryKey: WM(e.id),exact: !0- }), HM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });+ }), BM((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });}})}) : null,- e.location === "online" ? null : /* @__PURE__ */ (0, F.jsx)(WOe, {+ e.location === "online" ? null : /* @__PURE__ */ (0, F.jsx)(hke, {id: e.id,actions: r,onStatus: i@@ -71162,7 +71342,7 @@ function UOe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {})});}-function WOe({ id: e, actions: t, onStatus: n }) {+function hke({ id: e, actions: t, onStatus: n }) {let [r, i] = (0, P.useState)(""), a = async () => {r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));}, o = async () => {@@ -71192,17 +71372,17 @@ function WOe({ id: e, actions: t, onStatus: n }) {"aria-disabled": !0} : {},onClick: () => void o(),- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "folder-sync" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "folder-sync" })})] });}-function GOe({ item: e, write: t }) {- let n = WM(e.rating);+function gke({ item: e, write: t }) {+ let n = HM(e.rating);return /* @__PURE__ */ (0, F.jsxs)("div", {id: "detailRating",role: "group","data-item-rating": "","aria-label": "评分",- "data-value": UM(e.rating),+ "data-value": VM(e.rating),children: [/* @__PURE__ */ (0, F.jsx)($J, {value: n,onRate: (e) => t.rate(e),@@ -71217,14 +71397,14 @@ function GOe({ item: e, write: t }) {}), /* @__PURE__ */ (0, F.jsx)("span", {"data-rating-value": "","aria-live": "polite",- children: Yse(e.rating)+ children: Cce(e.rating)})]});}-function KOe({ item: e, actions: t }) {- let n = (0, P.useMemo)(() => ece(e), [e]), [r, i] = (0, P.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {+function _ke({ item: e, actions: t }) {+ let n = (0, P.useMemo)(() => Oce(e), [e]), [r, i] = (0, P.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {let a = e === "performer" && i >= 8 && !r;- return /* @__PURE__ */ (0, F.jsx)(w2, {+ return /* @__PURE__ */ (0, F.jsx)(T2, {kind: e,person: n,onOpen: t.openEntity,@@ -71256,7 +71436,7 @@ function KOe({ item: e, actions: t }) {onClick: t.openUnowned,children: [/* @__PURE__ */ (0, F.jsx)("span", {"data-id-face": "",- children: /* @__PURE__ */ (0, F.jsx)(I2, { name: "user-round" })+ children: /* @__PURE__ */ (0, F.jsx)(L2, { name: "user-round" })}), /* @__PURE__ */ (0, F.jsx)("span", {"data-id-name": "",children: "未归属"@@ -71268,7 +71448,7 @@ function KOe({ item: e, actions: t }) {size: "small",id: "castMore","data-cast-more": "",- trailingIcon: sz,+ trailingIcon: fz,"aria-expanded": !1,onClick: () => i(!0),children: [@@ -71287,18 +71467,18 @@ function KOe({ item: e, actions: t }) {children: [c.length ? /* @__PURE__ */ (0, F.jsx)("div", {"data-identity-primary": "",children: c- }) : null, /* @__PURE__ */ (0, F.jsx)(T2, {+ }) : null, /* @__PURE__ */ (0, F.jsx)(E2, {people: n.series,onOpen: t.openEntity})]});}-function qOe({ item: e, write: t, helpers: n, actions: r }) {+function vke({ item: e, write: t, helpers: n, actions: r }) {return /* @__PURE__ */ (0, F.jsx)("div", {"data-item-tags": "",- children: /* @__PURE__ */ (0, F.jsx)(g2, {+ children: /* @__PURE__ */ (0, F.jsx)(_2, {id: "detailTags",- tags: tce(e, n),+ tags: kce(e, n),candidates: n.tagCandidates(),label: n.tagLabel,adding: [...t.busy].some((e) => e.startsWith("add:")),@@ -71309,8 +71489,8 @@ function qOe({ item: e, write: t, helpers: n, actions: r }) {})});}-function JOe({ item: e }) {- let t = uce(e);+function yke({ item: e }) {+ let t = Rce(e);return /* @__PURE__ */ (0, F.jsxs)("div", {"data-item-trace": "",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -71344,7 +71524,7 @@ function JOe({ item: e }) {})]});}-function YOe({ item: e, open: t, write: n }) {+function bke({ item: e, open: t, write: n }) {let [r, i] = (0, P.useState)(e.like_reason || ""), a = (0, P.useRef)(null);(0, P.useEffect)(() => {t && a.current?.focus();@@ -71383,12 +71563,12 @@ function YOe({ item: e, open: t, write: n }) {})]});}-function XOe(e) {+function xke(e) {let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Pt({- queryKey: Xse(t.id, n),- queryFn: async ({ signal: e }) => (await B(Qse(t.id, n), e)).items || []+ queryKey: wce(t.id, n),+ queryFn: async ({ signal: e }) => (await B(Ece(t.id, n), e)).items || []}), [o] = (0, P.useState)(() => r.relatedSkeletonHtml());- return /* @__PURE__ */ (0, F.jsx)(d2, {+ return /* @__PURE__ */ (0, F.jsx)(f2, {wireDrag: r.wireDrag,busy: a.isPending,empty: a.data?.length === 0,@@ -71409,11 +71589,11 @@ function XOe(e) {revision: 0,wireDrag: r.wireDrag,skeletonHtml: () => ""- }) : /* @__PURE__ */ (0, F.jsx)(L2, { html: o })+ }) : /* @__PURE__ */ (0, F.jsx)(R2, { html: o })});}-function ZOe(e, t, n) {- let r = e.id, i = KM(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = (e, t) => o((n) => {+function Ske(e, t, n) {+ let r = e.id, i = WM(r), [a, o] = (0, P.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, P.useState)(""), [l, u] = (0, P.useState)(""), d = (e, t) => o((n) => {let r = new Set(n);return t ? r.add(e) : r.delete(e), r;}), f = () => H.getQueryData(i) || e, p = (e) => {@@ -71429,7 +71609,7 @@ function ZOe(e, t, n) {rating: t.rating,o_count: t.o_count};- return VM(r, n), t;+ return zM(r, n), t;}, m = (e, t) => V(e, {id: r,...t@@ -71444,7 +71624,7 @@ function ZOe(e, t, n) {run: n}));}, _ = async (e, t) => {- let n = await m(YM, t === void 0 ? { kind: e } : {+ let n = await m(qM, t === void 0 ? { kind: e } : {kind: e,value: t});@@ -71464,21 +71644,21 @@ function ZOe(e, t, n) {"aria-disabled": !0} : {},rate: (e) => g(`rate:${e}`, "评分", async () => {- let n = f().rating || 0, r = GM(n, e);- await _("rate", r), t.toast(r ? `已评 ${WM(r)} 星` : "已取消评分", { undo: async () => {+ let n = f().rating || 0, r = UM(n, e);+ await _("rate", r), t.toast(r ? `已评 ${HM(r)} 星` : "已取消评分", { undo: async () => {await _("rate", n);} });}),feedback: (e) => g(e, "操作", async () => {let n = { feedback: f().feedback || null }, r = await _(e);- t.toast(hN(e, r), { undo: async () => {+ t.toast(pN(e, r), { undo: async () => {e === "o" ? await _("o-undo") : e === "dispose" ? await _("dispose") : (r.feedback && await _(r.feedback), n.feedback && await _(n.feedback)), await t.trashChanged(f().disposal || null, !0);} }), e === "dispose" && await t.trashChanged(r.disposal || null, !1);}),later: () => g("later", "更新稍后看", async () => {- let e = await m(ZM, {});+ let e = await m(YM, {});p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {- p({ watch_later: (await m(ZM, {})).watch_later });+ p({ watch_later: (await m(YM, {})).watch_later });} });}),quality: () => g("quality", "更新版本需求", async () => {@@ -71488,9 +71668,9 @@ function ZOe(e, t, n) {}, n = (e) => p({better_version: e.better_version,better_version_reason: e.better_version_reason || ""- }), r = await m(QM, { wanted: !e.wanted });+ }), r = await m(XM, { wanted: !e.wanted });n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {- n(await m(QM, e));+ n(await m(XM, e));} });}),preference: ({ liked: e, reason: n }) => {@@ -71504,7 +71684,7 @@ function ZOe(e, t, n) {});u("保存中…");try {- o(await m($M, {+ o(await m(ZM, {liked: a,reason: i}));@@ -71514,7 +71694,7 @@ function ZOe(e, t, n) {u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);let s = f();t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {- o(await m($M, r));+ o(await m(ZM, r));} });});},@@ -71523,37 +71703,37 @@ function ZOe(e, t, n) {operation: "remove",tag: e.k})).ok) throw Error("标签未删除");- p((t) => lN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {- await m(XM, {+ p((t) => sN(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {+ await m(JM, {operation: "add",tag: e.k- }), p((t) => uN(t, e));+ }), p((t) => cN(t, e));} });}),addTag: (e) => {let r = e.trim();r && g(`add:${r}`, "添加标签", async () => {- let e = await m(XM, {+ let e = await m(JM, {operation: "add",tag: r});if (!e.ok) return;let i = e.tag || r;- cN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => uN(e, {+ oN(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => cN(e, {k: i,cat: "general"- })), pN(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {- await m(XM, {+ })), dN(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {+ await m(JM, {operation: "remove",tag: i- }), p((e) => lN(e, i));+ }), p((e) => sN(e, i));} }));});}};}// src/react/activity/downloads-panel.tsx-var B2 = "/api/downloads", V2 = ["downloads"], QOe = "/api/downloads/cancel", $Oe = "/api/downloads/postprocess", H2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, eke = {+var V2 = "/api/downloads", H2 = ["downloads"], Cke = "/api/downloads/cancel", wke = "/api/downloads/postprocess", U2 = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, Tke = {ingested: "lime",failed: "rose",cancelled: "neutral",@@ -71562,21 +71742,21 @@ var B2 = "/api/downloads", V2 = ["downloads"], QOe = "/api/downloads/cancel", $Oremote_done: "lime",landed: "lime",submitted: "neutral"-}, U2 = (e) => {- let t = e.display_code || e.code || "", { title: n } = gF({+}, W2 = (e) => {+ let t = e.display_code || e.code || "", { title: n } = mF({is_jav: !!t,code: t,name: e.display_title ?? e.title ?? e.display_name ?? e.remote_name});return [t, n].filter(Boolean).join(" · ") || `磁力 ${e.info_hash?.slice(0, 8) ?? e.id}`;-}, W2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", tke = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");-function nke() {+}, G2 = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", Eke = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");+function Dke() {let e = (0, P.useId)(), t = It({- queryKey: [...V2, "pages"],+ queryKey: [...H2, "pages"],initialPageParam: null,- queryFn: ({ signal: e, pageParam: t }) => B(`${B2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),+ queryFn: ({ signal: e, pageParam: t }) => B(`${V2}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),getNextPageParam: (e) => e.has_more ? e.next_before_id ?? void 0 : void 0,- refetchInterval: (e) => e.state.data?.pages.some((e) => H2(e) === 5e3) ? 5e3 : 3e4+ refetchInterval: (e) => e.state.data?.pages.some((e) => U2(e) === 5e3) ? 5e3 : 3e4}), n = t.data?.pages || [], r = [...new Map(n.flatMap((e) => e.tasks).map((e) => [e.id, e])).values()];return !r.length && !t.error ? null : /* @__PURE__ */ (0, F.jsxs)("section", {id: "cloudDownloads",@@ -71588,14 +71768,14 @@ function nke() {className: "text-title-2-medium text-text-primary",children: "云下载"}),- t.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ t.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: Wn(t.error)}) : null,r.length ? /* @__PURE__ */ (0, F.jsx)("ul", {"aria-live": "polite",className: "flex min-w-0 flex-col gap-3",- children: r.map((e) => /* @__PURE__ */ (0, F.jsx)(rke, {+ children: r.map((e) => /* @__PURE__ */ (0, F.jsx)(Oke, {task: e,writable: n[0]?.available ?? !1}, e.id))@@ -71603,9 +71783,9 @@ function nke() {t.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: sz,+ leadingIcon: fz,className: "self-start",- ...Rz(t.isFetchingNextPage),+ ...Uz(t.isFetchingNextPage),onClick: () => {t.isFetching || t.fetchNextPage();},@@ -71614,15 +71794,15 @@ function nke() {]});}-function rke({ task: e, writable: t }) {- let n = oe(), r = EH(), [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = (0, P.useId)(), l = W2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [+function Oke({ task: e, writable: t }) {+ let n = oe(), r = jH(), [i, a] = (0, P.useState)(!1), [o, s] = (0, P.useState)(!1), c = (0, P.useId)(), l = G2(e) || (e.cancellable && e.failure_detail ? `稍后自动重试 · ${e.failure_detail}` : ""), u = e.artwork, d = u?.performer_entities || [], f = e.state === "ingested" && e.asset_id ? `/assets/${e.asset_id}` : void 0, p = e.state === "failed" || e.postprocess_state === "failed", m = [e.display_code || e.code ? "" : "番号未识别",e.target,- IF(e.submitted_at)+ GF(e.submitted_at)].filter(Boolean).join(" · "), h = () => {- n.invalidateQueries({ queryKey: V2 });+ n.invalidateQueries({ queryKey: H2 });}, g = () => {- r.run("cancel", (t) => V(QOe, { id: e.id }, "POST", t), h);+ r.run("cancel", (t) => V(Cke, { id: e.id }, "POST", t), h);}, _ = () => {let t = {magnet: e.source_uri,@@ -71632,16 +71812,16 @@ function rke({ task: e, writable: t }) {title: e.title,origin: e.origin};- r.run("resubmit", (e) => V(B2, t, "POST", e), h);+ r.run("resubmit", (e) => V(V2, t, "POST", e), h);}, v = () => {navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));}, y = () => {- r.run("postprocess", (t) => V($Oe, { id: e.id }, "POST", t), h);+ r.run("postprocess", (t) => V(wke, { id: e.id }, "POST", t), h);};return /* @__PURE__ */ (0, F.jsxs)("li", {"data-download-state": e.state,"data-download-id": e.id,- className: RH({+ className: UH({padding: "none",bordered: "line",className: p ? "flex flex-col border-border-error-default" : "flex flex-col"@@ -71652,14 +71832,14 @@ function rke({ task: e, writable: t }) {children: [/* @__PURE__ */ (0, F.jsxs)("div", {"data-download-cover": "","data-media-pic": "",- style: { "--card-ratio": String(CA) },+ style: { "--card-ratio": String(DA) },className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",children: [u?.has_cover ? null : /* @__PURE__ */ (0, F.jsx)("span", {"data-media-nopic": "",children: "无封面"}),- u?.has_cover ? /* @__PURE__ */ (0, F.jsx)(MW, {+ u?.has_cover ? /* @__PURE__ */ (0, F.jsx)(KW, {artwork: {kind: "cover",html: no(u, "big")@@ -71669,7 +71849,7 @@ function rke({ task: e, writable: t }) {f ? /* @__PURE__ */ (0, F.jsx)("a", {"data-download-cover-link": "",href: f,- "aria-label": `打开作品详情:${U2(e)}`,+ "aria-label": `打开作品详情:${W2(e)}`,className: "absolute inset-0 z-1 rounded-lg outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring"}) : null]@@ -71680,17 +71860,17 @@ function rke({ task: e, writable: t }) {className: "flex min-w-0 flex-col items-start gap-1 sm:flex-row sm:items-center sm:gap-2",children: [/* @__PURE__ */ (0, F.jsx)("strong", {className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",- title: U2(e),+ title: W2(e),children: f ? /* @__PURE__ */ (0, F.jsx)("a", {"data-download-title-link": "",href: f,className: "block truncate rounded-sm outline-none hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-border-focus-ring",- children: U2(e)- }) : U2(e)+ children: W2(e)+ }) : W2(e)}), /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex shrink-0 items-center gap-2",children: [/* @__PURE__ */ (0, F.jsx)(sZ, {- color: eke[e.state] ?? "neutral",+ color: Tke[e.state] ?? "neutral",children: e.state_label}), e.state === "ingested" ? /* @__PURE__ */ (0, F.jsx)(sZ, {color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",@@ -71702,7 +71882,7 @@ function rke({ task: e, writable: t }) {className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",children: [/* @__PURE__ */ (0, F.jsx)("span", {className: "flex shrink-0",- children: /* @__PURE__ */ (0, F.jsx)(tU, {+ children: /* @__PURE__ */ (0, F.jsx)(oU, {source: e.provider,label: e.provider_label})@@ -71729,7 +71909,7 @@ function rke({ task: e, writable: t }) {children: [d.map((e) => e.name).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]})]}) : null,- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, F.jsx)(VH, {+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, F.jsx)(KH, {label: "远端下载进度",value: Math.round(e.progress * 100),max: 100@@ -71739,7 +71919,7 @@ function rke({ task: e, writable: t }) {title: e.ledger_path,children: e.ledger_path}) : null,- r.error ? /* @__PURE__ */ (0, F.jsx)(YH, { children: r.error }) : null,+ r.error ? /* @__PURE__ */ (0, F.jsx)(eU, { children: r.error }) : null,/* @__PURE__ */ (0, F.jsxs)("div", {"data-download-actions": "",className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",@@ -71764,21 +71944,21 @@ function rke({ task: e, writable: t }) {e.cancellable ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Rz(r.busy === "cancel"),+ ...Uz(r.busy === "cancel"),onClick: g,children: "取消"}) : null,e.resubmittable ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Rz(r.busy === "resubmit"),+ ...Uz(r.busy === "resubmit"),onClick: _,children: "重新提交"}) : null,e.postprocess_retryable ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- ...Rz(r.busy === "postprocess"),+ ...Uz(r.busy === "postprocess"),onClick: y,children: "重试入库后整理"}) : null@@ -71793,33 +71973,33 @@ function rke({ task: e, writable: t }) {id: c,"data-download-title-full": !0,className: "wrap-anywhere px-5 pb-4 text-body-2-regular text-text-secondary",- children: U2(e)+ children: W2(e)}) : null,l || e.postprocess_detail ? /* @__PURE__ */ (0, F.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, F.jsx)("p", {className: "wrap-anywhere text-caption-1-regular text-text-secondary",- children: l || tke(e)+ children: l || Eke(e)})}) : null]});}// src/react/activity/work-code.ts-var G2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), K2 = (e, t) => !!G2(e) && G2(e) === G2(t);+var K2 = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), q2 = (e, t) => !!K2(e) && K2(e) === K2(t);// src/react/activity/resource-search.tsx-function ike({ className: e }) {+function kke({ className: e }) {return /* @__PURE__ */ (0, F.jsx)("span", {className: e,"aria-hidden": !0,dangerouslySetInnerHTML: { __html: xs("") }});}-function ake(e) {+function Ake(e) {return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";}-function oke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {- let [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(() => ake(t)), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(null), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), y = EH(), b = (0, P.useRef)(null);+function jke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {+ let [a, o] = (0, P.useState)(e), [s, c] = (0, P.useState)(() => Ake(t)), [l, u] = (0, P.useState)(""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(null), [h, g] = (0, P.useState)(""), [_, v] = (0, P.useState)(""), y = jH(), b = (0, P.useRef)(null);(0, P.useEffect)(() => () => b.current?.abort(), []);let x = () => {if (!a.trim() || y.busy) return;@@ -71835,7 +72015,7 @@ function oke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {let e = new AbortController();b.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {if (e.signal.aborted) return;- let r = (n.items || []).find((e) => K2(e.code, t));+ let r = (n.items || []).find((e) => q2(e.code, t));i(r ? {code: r.code,title: String(r.catalog_title || r.name || ""),@@ -71856,18 +72036,18 @@ function oke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {"aria-busy": !!y.busy,className: "flex min-w-0 flex-col gap-4",children: [- t ? /* @__PURE__ */ (0, F.jsxs)(JH, { children: [+ t ? /* @__PURE__ */ (0, F.jsxs)($H, { children: ["版本目标:",t,"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"] }) : null,- /* @__PURE__ */ (0, F.jsx)(Az, {+ /* @__PURE__ */ (0, F.jsx)(Fz, {label: "按番号查找资源",value: a,maxLength: 80,placeholder: "输入番号,按回车搜索",enterKeyHint: "search",- leadingIcon: y.busy ? ike : xz,+ leadingIcon: y.busy ? kke : Ez,isReadOnly: !!y.busy,"aria-busy": !!y.busy,onChange: o,@@ -71877,7 +72057,7 @@ function oke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-col gap-1",- children: [/* @__PURE__ */ (0, F.jsx)(XH, { children: "优先寻找" }), /* @__PURE__ */ (0, F.jsxs)(TU, {+ children: [/* @__PURE__ */ (0, F.jsx)(tU, { children: "优先寻找" }), /* @__PURE__ */ (0, F.jsxs)(AU, {"aria-label": "优先寻找",selectedKey: s,isDisabled: !!y.busy,@@ -71885,15 +72065,15 @@ function oke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {e !== null && c(String(e));},children: [- /* @__PURE__ */ (0, F.jsx)(EU, {+ /* @__PURE__ */ (0, F.jsx)(jU, {id: "quality",children: "高清"}),- /* @__PURE__ */ (0, F.jsx)(EU, {+ /* @__PURE__ */ (0, F.jsx)(jU, {id: "chinese",children: "中字"}),- /* @__PURE__ */ (0, F.jsx)(EU, {+ /* @__PURE__ */ (0, F.jsx)(jU, {id: "uncensored",children: "无码"})@@ -71902,32 +72082,32 @@ function oke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {}),/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex gap-3 max-sm:flex-col",- children: [/* @__PURE__ */ (0, F.jsx)(Az, {+ children: [/* @__PURE__ */ (0, F.jsx)(Fz, {label: "最小体积(GiB)",inputMode: "decimal",value: l,onChange: u- }), /* @__PURE__ */ (0, F.jsx)(Az, {+ }), /* @__PURE__ */ (0, F.jsx)(Fz, {label: "最大体积(GiB)",inputMode: "decimal",value: d,onChange: f})]}),- y.busy ? /* @__PURE__ */ (0, F.jsx)(JH, {+ y.busy ? /* @__PURE__ */ (0, F.jsx)($H, {role: "status",children: "正在搜索资源"}) : null,- y.error ? /* @__PURE__ */ (0, F.jsx)(YH, { children: y.error }) : null,- p?.error ? /* @__PURE__ */ (0, F.jsx)(JH, {+ y.error ? /* @__PURE__ */ (0, F.jsx)(eU, { children: y.error }) : null,+ p?.error ? /* @__PURE__ */ (0, F.jsx)($H, {role: "status",children: p.error}) : null,- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, F.jsx)(JH, {+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, F.jsx)($H, {role: "status",children: "没有符合条件的资源。"}) : null,- p?.warnings.map((e) => /* @__PURE__ */ (0, F.jsx)(JH, { children: e }, e)),+ p?.warnings.map((e) => /* @__PURE__ */ (0, F.jsx)($H, { children: e }, e)),p?.items.length ? /* @__PURE__ */ (0, F.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: p.items.map((e) => /* @__PURE__ */ (0, F.jsxs)("li", {@@ -71937,7 +72117,7 @@ function oke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {className: "break-words text-body-2-medium text-text-primary",children: e.name}),- /* @__PURE__ */ (0, F.jsx)(JH, { children: [+ /* @__PURE__ */ (0, F.jsx)($H, { children: [e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",e.resolution ? `${e.resolution}p` : "",@@ -71961,19 +72141,19 @@ function oke({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {});}// src/react/activity/cloud-download-dialog.tsx-var ske = {+var Mke = {submitted: "已提交离线下载,进度在任务中心",adopted: "这个磁力已有任务,没有重复提交",adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"};-function q2({ prefill: e, close: t, receipt: n, provider: r }) {- return /* @__PURE__ */ (0, F.jsx)(jz, {+function J2({ prefill: e, close: t, receipt: n, provider: r }) {+ return /* @__PURE__ */ (0, F.jsx)(Iz, {isOpen: !!e,onOpenChange: (e) => {e || t();},width: "form",- children: e ? /* @__PURE__ */ (0, F.jsx)(cke, {+ children: e ? /* @__PURE__ */ (0, F.jsx)(Nke, {prefill: e,close: t,receipt: n,@@ -71981,26 +72161,26 @@ function q2({ prefill: e, close: t, receipt: n, provider: r }) {}) : null});}-function cke({ prefill: e, close: t, receipt: n, provider: r }) {+function Nke({ prefill: e, close: t, receipt: n, provider: r }) {let i = Pt({- queryKey: V2,- queryFn: ({ signal: e }) => B(`${B2}?limit=50`, e),- refetchInterval: (e) => H2(e.state.data)+ queryKey: H2,+ queryFn: ({ signal: e }) => B(`${V2}?limit=50`, e),+ refetchInterval: (e) => U2(e.state.data)}), a = i.data, o = /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex items-center justify-between gap-4 px-5 pt-5",- children: [/* @__PURE__ */ (0, F.jsx)(AI, {+ children: [/* @__PURE__ */ (0, F.jsx)(FI, {slot: "title",className: "text-title-2-semibold text-text-primary",children: "查找资源"}), /* @__PURE__ */ (0, F.jsx)(q, {variant: "ghost",iconOnly: !0,- leadingIcon: uz,+ leadingIcon: hz,"aria-label": "关闭资源面板",onClick: t})]});- return a ? /* @__PURE__ */ (0, F.jsx)(lke, {+ return a ? /* @__PURE__ */ (0, F.jsx)(Pke, {header: o,snapshot: a,prefill: e,@@ -72013,7 +72193,7 @@ function cke({ prefill: e, close: t, receipt: n, provider: r }) {o,/* @__PURE__ */ (0, F.jsx)("div", {className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",- children: i.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ children: i.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: Wn(i.error)}) : null@@ -72029,8 +72209,8 @@ function cke({ prefill: e, close: t, receipt: n, provider: r }) {]});}-function lke({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {- let o = oe(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, P.useState)(c?.key || ""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(n.code ?? ""), [h, g] = (0, P.useState)(c?.target || ""), [_, v] = (0, P.useState)(n.code ? n : null), [y, b] = (0, P.useState)(""), x = t.available && s.some((e) => e.key === l), S = EH(), C = (0, P.useRef)(null), w = (e) => {+function Pke({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {+ let o = oe(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, P.useState)(c?.key || ""), [d, f] = (0, P.useState)(""), [p, m] = (0, P.useState)(n.code ?? ""), [h, g] = (0, P.useState)(c?.target || ""), [_, v] = (0, P.useState)(n.code ? n : null), [y, b] = (0, P.useState)(""), x = t.available && s.some((e) => e.key === l), S = jH(), C = (0, P.useRef)(null), w = (e) => {u(e), g(s.find((t) => t.key === e)?.target ?? "");};return /* @__PURE__ */ (0, F.jsxs)("form", {@@ -72046,14 +72226,14 @@ function lke({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providetitle: _?.title,origin: _?.origin};- b(""), S.run("submit", (e) => V(B2, t, "POST", e), (e) => {- o.invalidateQueries({ queryKey: V2 });- let t = ske[e.outcome];+ b(""), S.run("submit", (e) => V(V2, t, "POST", e), (e) => {+ o.invalidateQueries({ queryKey: H2 });+ let t = Mke[e.outcome];if (e.ok && t) {i(t), r();return;}- let n = W2(e.task);+ let n = G2(e.task);b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");});},@@ -72077,7 +72257,7 @@ function lke({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providechildren: [/* @__PURE__ */ (0, F.jsx)("p", {className: "break-words text-body-medium text-text-primary",children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"- }), _ ? /* @__PURE__ */ (0, F.jsx)(JH, { children: [+ }), _ ? /* @__PURE__ */ (0, F.jsx)($H, { children: [_.performers,_.studio,_.release_date,@@ -72085,22 +72265,22 @@ function lke({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide].filter(Boolean).join(" · ") }) : null]})]}) : null,- /* @__PURE__ */ (0, F.jsx)(oke, {+ /* @__PURE__ */ (0, F.jsx)(jke, {initialCode: n.code ?? "",reason: n.searchReason,onSearch: (e) => {- K2(e, _?.code) || (v(K2(e, n.code) ? n : null), f("")), m(e);+ q2(e, _?.code) || (v(q2(e, n.code) ? n : null), f("")), m(e);},- onWork: (e) => v((t) => e ? K2(t?.code, e.code) ? {+ onWork: (e) => v((t) => e ? q2(t?.code, e.code) ? {...t,...e,origin: t?.origin || e.origin- } : e : K2(t?.code, n.code) ? t : null),+ } : e : q2(t?.code, n.code) ? t : null),choose: (e, t) => {f(e), m(t), C.current?.focus();}}),- /* @__PURE__ */ (0, F.jsx)(Az, {+ /* @__PURE__ */ (0, F.jsx)(Fz, {ref: C,label: "磁力链接",placeholder: "magnet:?xt=urn:btih:…",@@ -72112,38 +72292,38 @@ function lke({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide/* @__PURE__ */ (0, F.jsxs)("div", {className: "flex flex-col gap-1",children: [- /* @__PURE__ */ (0, F.jsx)(XH, { children: "下载到" }),- /* @__PURE__ */ (0, F.jsx)(TU, {+ /* @__PURE__ */ (0, F.jsx)(tU, { children: "下载到" }),+ /* @__PURE__ */ (0, F.jsx)(AU, {"aria-label": "下载到",selectedKey: l || null,isDisabled: !s.length,onSelectionChange: (e) => {e !== null && w(String(e));},- children: s.map((e) => /* @__PURE__ */ (0, F.jsx)(EU, {+ children: s.map((e) => /* @__PURE__ */ (0, F.jsx)(jU, {id: e.key,textValue: e.label,- children: /* @__PURE__ */ (0, F.jsx)(tU, {+ children: /* @__PURE__ */ (0, F.jsx)(oU, {source: e.key,label: e.label})}, e.key))}),- l === "115" ? /* @__PURE__ */ (0, F.jsx)(JH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null+ l === "115" ? /* @__PURE__ */ (0, F.jsx)($H, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null]}),- t.available ? null : /* @__PURE__ */ (0, F.jsx)(Nz, {+ t.available ? null : /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",children: "云下载只在允许修改数据库的设备上可用。"}),- s.length ? null : /* @__PURE__ */ (0, F.jsxs)(Nz, {+ s.length ? null : /* @__PURE__ */ (0, F.jsxs)(Rz, {tone: "neutral",children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, F.jsx)("a", {href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",children: "下载渠道设置"})]}),- /* @__PURE__ */ (0, F.jsx)(Az, {+ /* @__PURE__ */ (0, F.jsx)(Fz, {label: "目标目录",placeholder: "/云下载",autoComplete: "off",@@ -72151,17 +72331,17 @@ function lke({ header: e, snapshot: t, prefill: n, close: r, receipt: i, providevalue: h,onChange: g}),- n.code ? null : /* @__PURE__ */ (0, F.jsx)(Az, {+ n.code ? null : /* @__PURE__ */ (0, F.jsx)(Fz, {label: "番号",placeholder: "可不填",autoComplete: "off",maxLength: 60,value: p,onChange: (e) => {- m(e), K2(e, _?.code) || v(null);+ m(e), q2(e, _?.code) || v(null);}}),- y || S.error ? /* @__PURE__ */ (0, F.jsx)(YH, { children: y || S.error }) : null+ y || S.error ? /* @__PURE__ */ (0, F.jsx)(eU, { children: y || S.error }) : null]}),/* @__PURE__ */ (0, F.jsxs)("div", {@@ -72173,7 +72353,7 @@ function lke({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide}), /* @__PURE__ */ (0, F.jsx)(q, {type: "submit",disabled: !d.trim() || !x,- ...Rz(S.busy === "submit"),+ ...Uz(S.busy === "submit"),children: "提交下载"})]})@@ -72181,11 +72361,11 @@ function lke({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide});}// src/react/publication-cache.ts-var J2 = 864e5, Y2 = (e) => {+var Y2 = 864e5, X2 = (e) => {let t = new Date(e);return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());};-function X2(e) {+function Z2(e) {let t = /^(\d{4})-(\d{2})-(\d{2})(?:$|T)/.exec(e || "");if (!t) return;let n = Number(t[1]), r = Number(t[2]) - 1, i = Number(t[3]), a = new Date(Date.UTC(n, r, i));@@ -72193,25 +72373,25 @@ function X2(e) {let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();return Date.UTC(n, r + 1, Math.min(i, o));}-function uke(e, t = Date.now()) {- let n = X2(e);- return n !== void 0 && Y2(t) > n ? Infinity : J2;+function Fke(e, t = Date.now()) {+ let n = Z2(e);+ return n !== void 0 && X2(t) > n ? Infinity : Y2;}-function Z2(e, t, n = Date.now()) {- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : uke(t, n) === Infinity ? Y2(e) > X2(t) : n - e < J2;+function Q2(e, t, n = Date.now()) {+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : Fke(t, n) === Infinity ? X2(e) > Z2(t) : n - e < Y2;}// src/react/wants/resource-cache.ts-var Q2 = "peach.want-resources.v2";-function $2(e) {+var $2 = "peach.want-resources.v2";+function e4(e) {return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);}-function e4(e, t, n) {- return !!e && !e.cache_stale && (e.state === "error" || !$2(e) ? Date.now() - t < 6e4 : Z2(t, n));+function t4(e, t, n) {+ return !!e && !e.cache_stale && (e.state === "error" || !e4(e) ? Date.now() - t < 6e4 : Q2(t, n));}-function t4() {+function n4() {try {- let e = JSON.parse(localStorage.getItem(Q2) || "[]");- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && $2(e.result) && e.result.items.every((e) => e && [+ let e = JSON.parse(localStorage.getItem($2) || "[]");+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && e4(e.result) && e.result.items.every((e) => e && ["magnet","ed2k","url"@@ -72220,23 +72400,23 @@ function t4() {return [];}}-function dke(e, t) {- let n = t4().find((t) => t.code === e);- return n && Z2(n.saved, t) ? n : void 0;+function Ike(e, t) {+ let n = n4().find((t) => t.code === e);+ return n && Q2(n.saved, t) ? n : void 0;}-function fke(e) {- let t = new Map(t4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();+function Lke(e) {+ let t = new Map(n4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();for (let r of e) {if (!r.code) continue;let e = t.get(`all-sources:${r.code}`);- e && Z2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));+ e && Q2(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));}return n;}-function pke(e, t) {- if (t.state === "ready" && $2(t)) try {- let n = t4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");- localStorage.setItem(Q2, JSON.stringify([{+function Rke(e, t) {+ if (t.state === "ready" && e4(t)) try {+ let n = n4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");+ localStorage.setItem($2, JSON.stringify([{code: e,saved: Number.isFinite(r) ? r : Date.now(),result: t@@ -72244,15 +72424,15 @@ function pke(e, t) {} catch {}}// src/react/wants/resource-display.ts-function mke(e) {+function zke(e) {let t = /^([\d,]+)\s*B$/i.exec(e.trim());return /^[\d,.]+$/.test(e.trim()) ? "大小未知" : t ? jn(Number(t[1].replaceAll(",", ""))) : e || "大小未知";}-function hke(e) {+function Bke(e) {return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;}// src/react/wants/want-magnets.tsx-function n4({ icon: e, children: t, title: n }) {+function r4({ icon: e, children: t, title: n }) {return /* @__PURE__ */ (0, F.jsxs)("span", {title: n,className: "inline-flex items-center gap-1",@@ -72262,8 +72442,8 @@ function n4({ icon: e, children: t, title: n }) {}), t]});}-function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {- let s = (0, P.useRef)(null), [c, l] = (0, P.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, P.useState)([]), f = EH(), p = oe(), m = (0, P.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, P.useMemo)(() => dke(h, e.release_date), [h, e.release_date]);+function i4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {+ let s = (0, P.useRef)(null), [c, l] = (0, P.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, P.useState)([]), f = jH(), p = oe(), m = (0, P.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, P.useMemo)(() => Ike(h, e.release_date), [h, e.release_date]);(0, P.useEffect)(() => {if (!s.current || c) return;let e = new IntersectionObserver((t) => {@@ -72283,22 +72463,22 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc],queryFn: async ({ signal: t }) => {let n = m.current, r = o || `/api/wants/magnets?id=${e.id}`, i = await B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);- return m.current = n && i.state === "busy", pke(h, i), i;+ return m.current = n && i.state === "busy", Rke(h, i), i;},initialData: g?.result,initialDataUpdatedAt: g?.saved,enabled: c,retry: !1,- staleTime: (t) => e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,+ staleTime: (t) => t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,gcTime: 864e5,- refetchOnMount: (t) => !e4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",+ refetchOnMount: (t) => !t4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",refetchOnWindowFocus: !1,refetchInterval: (e) => e.state.data?.state === "busy" && 3e3});(0, P.useEffect)(() => {_.data?.source_url && a?.(_.data.source_url);}, [_.data?.source_url, a]), (0, P.useEffect)(() => {- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && cTe(e.id, _.data.items.some((e) => e.protocol === "magnet"));+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && NTe(e.id, _.data.items.some((e) => e.protocol === "magnet"));}, [_.data,o,@@ -72306,7 +72486,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc]);let v = n?.providers.find((e) => e.key === r && e.configured), y = (r) => {!t && n?.available && v && r.protocol === "magnet" && f.run(r.id, async (t) => {- let n = await V(B2, {+ let n = await V(V2, {magnet: r.uri,provider: v.key,target: v.target,@@ -72317,7 +72497,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcif (!n.ok) throw Error(n.task.failure_detail || n.task.failure_label || "添加下载失败");return n;}, (e) => {- d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: V2 });+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: H2 });});}, b = (e) => {f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));@@ -72335,39 +72515,39 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc}), /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: bz,- ...Rz(x),+ leadingIcon: Tz,+ ...Uz(x),onClick: () => {x || (m.current = !0, _.refetch());},children: "重新查询"})]}),- x ? /* @__PURE__ */ (0, F.jsx)(zH, { label: "正在查找资源链接" }) : null,- S ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ x ? /* @__PURE__ */ (0, F.jsx)(WH, { label: "正在查找资源链接" }) : null,+ S ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",title: "资源链接未取得",children: S}) : null,- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, F.jsx)(Nz, {+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",- children: hke(e)+ children: Bke(e)}, e)),- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, F.jsx)(iI, {+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, F.jsx)(pI, {variant: "secondary",size: "small",className: "self-start",- trailingIcon: dz,+ trailingIcon: gz,href: _.data.source_url,target: "_blank",rel: "noopener noreferrer",children: "查看来源页"}) : null,- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",children: "暂未找到资源链接。"}) : null,- f.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ f.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",title: "操作未完成",children: f.error@@ -72396,26 +72576,26 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-facts": "",className: "flex flex-wrap gap-x-2 gap-y-1 text-caption-1-regular text-text-secondary",children: [- /* @__PURE__ */ (0, F.jsx)(n4, {- icon: mpe,+ /* @__PURE__ */ (0, F.jsx)(r4, {+ icon: Fpe,children: e.source}),- /* @__PURE__ */ (0, F.jsx)(n4, {- icon: hz,+ /* @__PURE__ */ (0, F.jsx)(r4, {+ icon: bz,title: `来源大小:${e.size}`,- children: mke(e.size)+ children: zke(e.size)}),- e.files ? /* @__PURE__ */ (0, F.jsx)(n4, {- icon: ape,+ e.files ? /* @__PURE__ */ (0, F.jsx)(r4, {+ icon: Epe,children: e.files.replaceAll("個", "个")}) : null,- /* @__PURE__ */ (0, F.jsx)(n4, {- icon: Gfe,+ /* @__PURE__ */ (0, F.jsx)(r4, {+ icon: fpe,title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",children: e.date ? e.date.slice(0, 10) : "日期未知"}),- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(n4, {- icon: yz,+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, F.jsx)(r4, {+ icon: wz,children: e}, e))]@@ -72424,11 +72604,11 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc"data-resource-actions": "",className: "flex flex-wrap gap-2",children: [- /* @__PURE__ */ (0, F.jsx)(iI, {+ /* @__PURE__ */ (0, F.jsx)(pI, {"data-button-link": "",variant: "secondary",size: "small",- trailingIcon: dz,+ trailingIcon: gz,href: e.source_url,target: "_blank",rel: "noopener noreferrer",@@ -72437,18 +72617,18 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc/* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",size: "small",- leadingIcon: rpe,- ...Rz(f.busy === `copy:${e.id}`),+ leadingIcon: wpe,+ ...Uz(f.busy === `copy:${e.id}`),onClick: () => b(e),children: "复制链接"}),e.protocol === "magnet" ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "primary",size: "small",- leadingIcon: v ? eU(v.key) : Zfe,+ leadingIcon: v ? aU(v.key) : vpe,title: v ? `下载到 ${v.label}` : void 0,disabled: t || !n?.available || !v || r,- ...Rz(f.busy === e.id),+ ...Uz(f.busy === e.id),onClick: () => y(e),children: r ? "已添加" : "添加下载"}) : null@@ -72459,7 +72639,7 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourcreturn /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",children: e.slice(0, 3)- }), e.length > 3 ? /* @__PURE__ */ (0, F.jsx)(ZH, {+ }), e.length > 3 ? /* @__PURE__ */ (0, F.jsx)(nU, {summary: `更多资源(${e.length - 3} 条)`,children: /* @__PURE__ */ (0, F.jsx)("ul", {className: "flex min-w-0 flex-col gap-4",@@ -72471,10 +72651,10 @@ function r4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc});}// src/react/jav-detail/review-cache.ts-var i4 = "peach.jav-reviews.v2";-function a4() {+var a4 = "peach.jav-reviews.v2";+function o4() {try {- let e = localStorage.getItem(i4) || "[]";+ let e = localStorage.getItem(a4) || "[]";if (e.length > 2e6) return [];let t = JSON.parse(e);return Array.isArray(t) ? t.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.ok === !0 && !e.result.cache_stale && Number.isInteger(e.result.page) && e.result.page >= 1 && e.result.page <= 8 && Array.isArray(e.result.items) && e.result.items.length <= 10 && e.result.items.every((e) => typeof e?.id == "string" && typeof e.content == "string" && typeof e.username == "string" && typeof e.created_at == "string")) : [];@@ -72482,21 +72662,21 @@ function a4() {return [];}}-function gke(e, t) {+function Vke(e, t) {if (t.ok && !t.cache_stale) try {let n = Date.parse(t.checked_at || ""), r = [{code: e,saved: Number.isFinite(n) ? n : Date.now(),result: t- }, ...a4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);- i.length <= 2e6 && localStorage.setItem(i4, i);+ }, ...o4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);+ i.length <= 2e6 && localStorage.setItem(a4, i);} catch {}}-function _ke(e, t) {- let n = a4(), r = [], i = Infinity;+function Hke(e, t) {+ let n = o4(), r = [], i = Infinity;for (let a = 1; a <= 8; a++) {let o = n.find((t) => t.code === e && t.result.page === a);- if (!o || !Z2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;+ if (!o || !Q2(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;}return r.length ? {pages: r,@@ -72504,16 +72684,16 @@ function _ke(e, t) {saved: i} : void 0;}-function vke(e, t, n) {- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Z2(Date.parse(e.checked_at || "") || t, n));+function Uke(e, t, n) {+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && Q2(Date.parse(e.checked_at || "") || t, n));}// src/react/jav-detail/jav-detail-page.tsx-function yke(e) {+function Wke(e) {let t = (0, P.useRef)(!1), n = Pt({- queryKey: O2(e.code),+ queryKey: k2(e.code),queryFn: ({ signal: n }) => {let r = t.current;- return t.current = !1, k2(e.code, n, r);+ return t.current = !1, A2(e.code, n, r);},staleTime: 216e5}), r = () => {@@ -72523,21 +72703,21 @@ function yke(e) {"data-jav-detail": "","data-item-detail": "","data-stage-grid": "",- children: n.data ? /* @__PURE__ */ (0, F.jsx)(bke, {+ children: n.data ? /* @__PURE__ */ (0, F.jsx)(Gke, {...e,item: n.data,retry: r,retrying: n.isFetching}, e.code) : /* @__PURE__ */ (0, F.jsxs)("div", {"data-jav-failure": "",- children: [/* @__PURE__ */ (0, F.jsx)(o4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(jW, {+ children: [/* @__PURE__ */ (0, F.jsx)(s4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, F.jsx)(GW, {message: Wn(n.error),onRetry: r}) : null]})});}-var o4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {+var s4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-stage-close": "",id: "closeStage",@@ -72546,7 +72726,7 @@ var o4 = ({ close: e }) => /* @__PURE__ */ (0, F.jsx)("button", {onClick: e,dangerouslySetInnerHTML: { __html: R("x") }});-function bke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {+function Gke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {(0, P.useEffect)(() => {n.canonicalCode?.(t.code);}, [n, t.code]), (0, P.useEffect)(() => {@@ -72566,13 +72746,13 @@ function bke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: alabel: "视频预览",video: !0}] : []- ], [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(t.want_id), p = EH(), m = () => {- p.run("want", async (e) => d ? (await y$([d], e), null) : (await v$({ code: t.code }, e)).want.id, (t) => {- f(t), H.setQueryData(O2(e), (e) => e && {+ ], [l, u] = (0, P.useState)(null), [d, f] = (0, P.useState)(t.want_id), p = jH(), m = () => {+ p.run("want", async (e) => d ? (await b$([d], e), null) : (await y$({ code: t.code }, e)).want.id, (t) => {+ f(t), H.setQueryData(k2(e), (e) => e && {...e,wanted: !!t,want_id: t- }), n.receipt(t ? "已加入想要" : "已取消想要"), b$(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });+ }), n.receipt(t ? "已加入想要" : "已取消想要"), x$(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });});};return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [@@ -72581,24 +72761,24 @@ function bke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-jav-art": "","data-jav-playing": o === -2 ? "" : void 0,children: [- /* @__PURE__ */ (0, F.jsx)(o4, { close: n.close }),+ /* @__PURE__ */ (0, F.jsx)(s4, { close: n.close }),t.preview_video_url ? /* @__PURE__ */ (0, F.jsxs)("button", {type: "button","data-jav-preview-toggle": "","aria-pressed": o === -2,onClick: () => s(o === -2 ? -1 : -2),- children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]+ children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]}) : null,- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(Cke, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(pQ, {+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, F.jsx)(Jke, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, F.jsx)(mQ, {item: t,image: o === -1 ? "cover" : String(o)}, t.code),- /* @__PURE__ */ (0, F.jsx)(p2, {+ /* @__PURE__ */ (0, F.jsx)(m2, {items: c,position: Math.max(0, c.findIndex((e) => e.index === o)),onSelect: s,below: !0,- renderThumbnail: (e) => /* @__PURE__ */ (0, F.jsx)(pQ, {+ renderThumbnail: (e) => /* @__PURE__ */ (0, F.jsx)(mQ, {item: t,image: e.index < 0 ? "cover" : String(e.index),thumbnail: !0@@ -72612,33 +72792,33 @@ function bke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a"data-stage-side-content": "","data-jav-info": "",children: [- /* @__PURE__ */ (0, F.jsx)(xke, { item: t }),- Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(l4, { score: Number(t.score) }) : null,+ /* @__PURE__ */ (0, F.jsx)(Kke, { item: t }),+ Number(t.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(u4, { score: Number(t.score) }) : null,/* @__PURE__ */ (0, F.jsxs)("div", {className: "mono","data-stage-meta": "","data-reveal-line": "",- children: [/* @__PURE__ */ (0, F.jsx)(c4, {+ children: [/* @__PURE__ */ (0, F.jsx)(l4, {glyph: "calendar",label: "发行日期",value: t.release_date- }), /* @__PURE__ */ (0, F.jsx)(c4, {+ }), /* @__PURE__ */ (0, F.jsx)(l4, {glyph: "clock",label: "时长",value: t.duration ? `${t.duration} 分钟` : void 0})]}),- /* @__PURE__ */ (0, F.jsx)(Ske, {+ /* @__PURE__ */ (0, F.jsx)(qke, {item: t,navigate: n.navigate}),/* @__PURE__ */ (0, F.jsxs)("div", {"data-jav-facts": "",- children: [/* @__PURE__ */ (0, F.jsx)(c4, {+ children: [/* @__PURE__ */ (0, F.jsx)(l4, {glyph: "briefcase",label: "发行商",value: t.publisher- }), /* @__PURE__ */ (0, F.jsx)(c4, {+ }), /* @__PURE__ */ (0, F.jsx)(l4, {glyph: "clapperboard",label: "导演",value: t.director@@ -72666,14 +72846,14 @@ function bke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: at.summary ? /* @__PURE__ */ (0, F.jsx)("p", {"data-jav-summary": "","data-long-text": "",- lang: hF(t.summary),+ lang: pF(t.summary),children: t.summary}) : null,- t.message ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ t.message ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Rz(a),+ ...Uz(a),onClick: i,children: "立即重试"}),@@ -72682,10 +72862,10 @@ function bke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a/* @__PURE__ */ (0, F.jsxs)("div", {"data-jav-actions": "",children: [- t.source_url ? /* @__PURE__ */ (0, F.jsx)(iI, {+ t.source_url ? /* @__PURE__ */ (0, F.jsx)(pI, {"data-button-link": "",variant: "secondary",- trailingIcon: dz,+ trailingIcon: gz,href: t.source_url,target: "_blank",rel: "noopener noreferrer",@@ -72695,7 +72875,7 @@ function bke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: avariant: "secondary",disabled: r,"aria-pressed": !!d,- ...Rz(!!p.busy),+ ...Uz(!!p.busy),onClick: m,children: d ? "取消想要" : "想要"}),@@ -72713,16 +72893,16 @@ function bke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a})]}),- p.error ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ p.error ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "error",children: p.error}) : null,- /* @__PURE__ */ (0, F.jsx)(wke, {+ /* @__PURE__ */ (0, F.jsx)(Yke, {code: t.code,count: t.comments_count,released: t.release_date}),- /* @__PURE__ */ (0, F.jsx)(Tke, {+ /* @__PURE__ */ (0, F.jsx)(Xke, {item: t,actions: n,readOnly: r@@ -72730,24 +72910,24 @@ function bke({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a]})}),- /* @__PURE__ */ (0, F.jsx)(q2, {+ /* @__PURE__ */ (0, F.jsx)(J2, {prefill: l,close: () => u(null),receipt: n.receipt})] });}-var s4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {+var c4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("span", {className: "contents","aria-hidden": "true",dangerouslySetInnerHTML: { __html: R(e) }-}), c4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {+}), l4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, F.jsxs)("span", {"data-spec-item": "",title: t,- children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]+ children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: e }), /* @__PURE__ */ (0, F.jsx)("span", { children: n })]}) : null;-function xke({ item: e }) {- let { text: t, expanded: n, foldable: r, toggle: i } = E2(e.title), a = e.title === e.code ? "" : e.title;+function Kke({ item: e }) {+ let { text: t, expanded: n, foldable: r, toggle: i } = D2(e.title), a = e.title === e.code ? "" : e.title;return /* @__PURE__ */ (0, F.jsxs)("div", {"data-item-title": "",children: [/* @__PURE__ */ (0, F.jsx)("h1", {@@ -72763,7 +72943,7 @@ function xke({ item: e }) {r && !String(getSelection() || "") && i();},children: [/* @__PURE__ */ (0, F.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [" ", /* @__PURE__ */ (0, F.jsx)("span", {- lang: hF(a),+ lang: pF(a),children: a})] }) : null]})@@ -72777,12 +72957,12 @@ function xke({ item: e }) {"aria-label": n ? "收起标题" : "展开标题",title: n ? "收起标题" : "展开完整标题",onClick: i,- children: /* @__PURE__ */ (0, F.jsx)(GH, {})+ children: /* @__PURE__ */ (0, F.jsx)(XH, {})})})]});}-function l4({ score: e, review: t = !1 }) {+function u4({ score: e, review: t = !1 }) {return /* @__PURE__ */ (0, F.jsxs)("div", {"data-item-rating": "","data-jav-rating": "",@@ -72795,7 +72975,7 @@ function l4({ score: e, review: t = !1 }) {})]});}-function Ske({ item: e, navigate: t }) {+function qke({ item: e, navigate: t }) {let n = (e, n) => t(hn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, F.jsxs)("section", {"data-id-group": t,"data-id-gender": a,@@ -72804,14 +72984,14 @@ function Ske({ item: e, navigate: t }) {children: r}), /* @__PURE__ */ (0, F.jsx)("div", {"data-id-row": "",- children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(w2, {+ children: i.map((r) => /* @__PURE__ */ (0, F.jsx)(T2, {kind: t,person: {...r,id: r.id ?? null},onOpen: n,- face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, F.jsx)(mQ, {+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, F.jsx)(hQ, {code: e.code,person: r,detail: !0@@ -72828,7 +73008,7 @@ function Ske({ item: e, navigate: t }) {r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),r("studio", "厂牌", e.studio_refs)]- }), /* @__PURE__ */ (0, F.jsx)(T2, {+ }), /* @__PURE__ */ (0, F.jsx)(E2, {people: e.series_refs.map((e) => ({...e,id: e.id ?? null@@ -72837,18 +73017,18 @@ function Ske({ item: e, navigate: t }) {})]});}-function Cke({ src: e }) {+function Jke({ src: e }) {let t = (0, P.useRef)(null), [n, r] = (0, P.useState)(!1), [i, a] = (0, P.useState)(0);return (0, P.useLayoutEffect)(() => {let n = t.current, i = document.createElement("video");- return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), _M(i, {+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), sce(i, {src: e,type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"}, () => r(!0));}, [e, i]), /* @__PURE__ */ (0, F.jsx)("div", {ref: t,"data-jav-video": "",- children: n ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ children: n ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",@@ -72861,8 +73041,8 @@ function Cke({ src: e }) {}) : null});}-function wke({ code: e, count: t, released: n }) {- let r = oe(), [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => _ke(e, n), [e, n]), s = (0, P.useRef)(!1), c = It({+function Yke({ code: e, count: t, released: n }) {+ let r = oe(), [i, a] = (0, P.useState)(!1), o = (0, P.useMemo)(() => Hke(e, n), [e, n]), s = (0, P.useRef)(!1), c = It({queryKey: ["jav-reviews", e],enabled: i,initialPageParam: 1,@@ -72871,12 +73051,12 @@ function wke({ code: e, count: t, released: n }) {pageParams: o.pageParams} : void 0,initialDataUpdatedAt: o?.saved,- staleTime: (e) => vke(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,+ staleTime: (e) => Uke(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,gcTime: 864e5,refetchOnWindowFocus: !1,queryFn: async ({ signal: t, pageParam: n }) => {- let i = await EOe(e, n, t, s.current);- if (gke(e, i), !i.ok || i.cache_stale) {+ let i = await ZOe(e, n, t, s.current);+ if (Vke(e, i), !i.ok || i.cache_stale) {let t = r.getQueryData(["jav-reviews", e])?.pages.find((e) => e.page === n);if (t?.ok) return {...t,@@ -72886,7 +73066,7 @@ function wke({ code: e, count: t, released: n }) {}return i;},- getNextPageParam: DOe+ getNextPageParam: QOe});(0, P.useEffect)(() => {c.isFetching || (s.current = !1);@@ -72894,10 +73074,10 @@ function wke({ code: e, count: t, released: n }) {let l = c.data?.pages || [], u = [...new Map(l.flatMap((e) => e.items).map((e) => [e.id, e])).values()], d = c.error ? Wn(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;return /* @__PURE__ */ (0, F.jsx)("section", {"data-jav-reviews": "",- children: /* @__PURE__ */ (0, F.jsxs)(ZH, {+ children: /* @__PURE__ */ (0, F.jsxs)(nU, {trailing: !0,summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(Kfe, { "aria-hidden": !0 }),+ /* @__PURE__ */ (0, F.jsx)(ppe, { "aria-hidden": !0 }),"评论",t > 0 ? ` · ${t}` : ""] }),@@ -72934,7 +73114,7 @@ function wke({ code: e, count: t, released: n }) {"data-jav-review-meta": "",children: [/* @__PURE__ */ (0, F.jsx)("b", { children: e.username }),- Number(e.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(l4, {+ Number(e.score) > 0 ? /* @__PURE__ */ (0, F.jsx)(u4, {score: Number(e.score),review: !0}) : null,@@ -72946,28 +73126,28 @@ function wke({ code: e, count: t, released: n }) {]}), /* @__PURE__ */ (0, F.jsx)("p", {"data-long-text": "",- lang: hF(e.content),+ lang: pF(e.content),children: e.content})]}, e.id)),- d ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ d ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",action: /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Rz(c.isFetching),+ ...Uz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},children: "立即重试"}),children: d- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, F.jsx)(Nz, {+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, F.jsx)(Rz, {tone: "neutral",children: "暂无评论"}) : null,!d && l.length ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Rz(c.isFetching),+ ...Uz(c.isFetching),onClick: () => {s.current = !0, c.refetch();},@@ -72975,13 +73155,13 @@ function wke({ code: e, count: t, released: n }) {}) : null,c.hasNextPage ? /* @__PURE__ */ (0, F.jsx)(q, {variant: "secondary",- ...Rz(c.isFetchingNextPage),+ ...Uz(c.isFetchingNextPage),onClick: () => {c.isFetchingNextPage || c.fetchNextPage();},children: "更多评论"}) : null,- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, F.jsxs)(Nz, {+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, F.jsxs)(Rz, {tone: "neutral",children: ["已显示 ",@@ -72993,21 +73173,21 @@ function wke({ code: e, count: t, released: n }) {})});}-function Tke({ item: e, actions: t, readOnly: n }) {+function Xke({ item: e, actions: t, readOnly: n }) {let [r, i] = (0, P.useState)(!1), a = Pt({- queryKey: V2,+ queryKey: H2,enabled: r,- queryFn: ({ signal: e }) => B(`${B2}?limit=50`, e)+ queryFn: ({ signal: e }) => B(`${V2}?limit=50`, e)}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, P.useState)(!1);return /* @__PURE__ */ (0, F.jsx)("section", {"data-jav-resources": "",- children: /* @__PURE__ */ (0, F.jsx)(ZH, {+ children: /* @__PURE__ */ (0, F.jsx)(nU, {trailing: !0,- summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(s4, { name: "link" }), "资源"] }),+ summary: /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(c4, { name: "link" }), "资源"] }),onOpenChange: (e) => {i(e), e && c(!0);},- children: s ? /* @__PURE__ */ (0, F.jsx)(r4, {+ children: s ? /* @__PURE__ */ (0, F.jsx)(i4, {want: {id: 0,code: e.code,@@ -73024,31 +73204,31 @@ function Tke({ item: e, actions: t, readOnly: n }) {});}// src/react/stage/stage-player.ts-var u4 = null, d4 = null, f4 = null, p4 = null, m4 = null, h4 = !1, g4 = 0, _4 = null, v4 = () => !1, y4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;-function Eke(e, t) {- u4 = e, v4 = () => t.isOpen(), _4 = () => t.requestClose(), dse({+var d4 = null, f4 = null, p4 = null, m4 = null, h4 = null, g4 = !1, _4 = 0, v4 = null, y4 = () => !1, b4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;+function Zke(e, t) {+ d4 = e, y4 = () => t.isOpen(), v4 = () => t.requestClose(), jse({...e.player,stage: () => document.getElementById("stage")- }), fse({- inMiniplayer: (e) => d4?.player === e,- kind: (e) => d4?.player === e ? d4.kind : f4?.kind ?? p4?.kind ?? "item",- expand: () => z4(),- toMiniplayer: () => B4()- }), b4 || (b4 = !0, addEventListener("pagehide", () => rM()));-}-var b4 = !1;-function x4() {- if (!u4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");- return u4;-}-function S4(e) {- p4 = e;-}-var Dke = () => p4;-function C4(e, t) {- let { kind: n, item: r, media: i = null } = t, a = y4(n, r.id, i?.index ?? null);- if (d4 && d4.key === a) return kke(e, d4);- d4 && R4();+ }), Mse({+ inMiniplayer: (e) => f4?.player === e,+ kind: (e) => f4?.player === e ? f4.kind : p4?.kind ?? m4?.kind ?? "item",+ expand: () => B4(),+ toMiniplayer: () => V4()+ }), x4 || (x4 = !0, addEventListener("pagehide", () => dM()));+}+var x4 = !1;+function S4() {+ if (!d4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");+ return d4;+}+function C4(e) {+ m4 = e;+}+var Qke = () => m4;+function w4(e, t) {+ let { kind: n, item: r, media: i = null } = t, a = b4(n, r.id, i?.index ?? null);+ if (f4 && f4.key === a) return eAe(e, f4);+ f4 && z4();let o = {player: null,kind: n,@@ -73056,52 +73236,52 @@ function C4(e, t) {mediaIndex: i?.index ?? null,key: a};- f4 = o;+ p4 = o;let s = document.createElement("video");t.id && (s.id = t.id), s.className = "video-js vjs-big-play-centered", s.controls = !1, s.setAttribute("playsinline", ""), s.preload = "metadata", t.poster && (s.poster = t.poster), t.onError && s.addEventListener("error", t.onError), e.append(s);- let c = mM(s, {+ let c = DM(s, {kind: n,item: r,media: i,autoplay: t.autoplay,resume: t.resume ?? null,onPlayer: (e) => {- f4 === o && (o.player = e);+ p4 === o && (o.player = e);},- handedOff: (e) => d4?.player === e+ handedOff: (e) => f4?.player === e});return () => {- let e = !!o.player && d4?.player === o.player;- f4 === o && (f4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), rM());+ let e = !!o.player && f4?.player === o.player;+ p4 === o && (p4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), dM());};}-async function Oke(e, t, n) {+async function $ke(e, t, n) {let r = await on(`/api/item?id=${e.id}`, { signal: n });if (n.throwIfAborted(), !r || r.error) throw Error(r?.error || "作品未取得");if (r.medium && r.medium !== "video") throw Error("这条作品没有可播放的视频");if (r.location === "online") throw Error("请打开详情播放在线作品");if (r.cost === "metered") throw Error("请打开详情确认计费来源");- let i = await x4().player.loadSourceStatus();- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(x4().player.offlineReason(String(r.root_id || r.location || "")));+ let i = await S4().player.loadSourceStatus();+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(S4().player.offlineReason(String(r.root_id || r.location || "")));let a = {kind: "item",item: r,title: String(r.title || r.name || ""),sub: String(r.performers?.[0] || r.creator || "未归属")};- S4(a);- let o = C4(t, {+ C4(a);+ let o = w4(t, {kind: "item",item: r,autoplay: !0}), s = !1;return (e = !1) => {- s || (s = !0, e && p4 === a && T4(!0), o(), p4 === a && S4(null));+ s || (s = !0, e && m4 === a && E4(!0), o(), m4 === a && C4(null));};}-function kke(e, t) {+function eAe(e, t) {let { player: n } = t;- I4(t), d4 = null, L4(), n.el().classList.remove("vjs-peach-mini"), fM(e), e.append(n.el()), sj(n);+ L4(t), f4 = null, R4(), n.el().classList.remove("vjs-peach-mini"), TM(e), e.append(n.el()), fj(n);let r = {player: n,kind: t.kind,@@ -73109,23 +73289,23 @@ function kke(e, t) {mediaIndex: t.mediaIndex,key: t.key};- f4 = r;- let i = pM(n, e);- return cj(n), () => {- f4 === r && (f4 = null), i(), d4?.player !== n && (oj() === n && sj(null), Jj(n), rM());+ p4 = r;+ let i = EM(n, e);+ return pj(n), () => {+ p4 === r && (p4 = null), i(), f4?.player !== n && (dj() === n && fj(null), $j(n), dM());};}-var w4 = () => {- let e = f4?.player;+var T4 = () => {+ let e = p4?.player;return e && !e.isDisposed() ? e : null;};-function T4(e) {- let t = h4;- h4 = !1, d4?.pending && R4();- let n = f4, r = n?.player, i = p4;- if (!n || !r || r.isDisposed() || !i || !m4) return;- let a = x4().player.settings();- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && Nke({+function E4(e) {+ let t = g4;+ g4 = !1, f4?.pending && z4();+ let n = p4, r = n?.player, i = m4;+ if (!n || !r || r.isDisposed() || !i || !h4) return;+ let a = S4().player.settings();+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && iAe({player: r,kind: n.kind,item: n.item,@@ -73133,46 +73313,46 @@ function T4(e) {key: n.key}, i);}-function E4(e, t) {- h4 = !1, d4 && (d4.kind === e && d4.item.id === t ? (d4.pending = !0, L4()) : R4());+function D4(e, t) {+ g4 = !1, f4 && (f4.kind === e && f4.item.id === t ? (f4.pending = !0, R4()) : z4());}-function D4(e) {- m4 = e, m4 && P4();+function O4(e) {+ h4 = e, h4 && F4();}-var O4 = () => !!d4 && !d4.pending && !d4.player.isDisposed();-function Ake() {- return O4() ? m4?.frame.querySelector("video") ?? null : null;+var k4 = () => !!f4 && !f4.pending && !f4.player.isDisposed();+function tAe() {+ return k4() ? h4?.frame.querySelector("video") ?? null : null;}-function jke() {- return v4() ? document.getElementById("stage")?.querySelector("video") ?? null : w4()?.el().querySelector("video") ?? Ake();+function nAe() {+ return y4() ? document.getElementById("stage")?.querySelector("video") ?? null : T4()?.el().querySelector("video") ?? tAe();}-function k4(e) {- m4 && (m4.title.textContent = e.title || "", m4.sub.textContent = e.sub || "", m4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));+function A4(e) {+ h4 && (h4.title.textContent = e.title || "", h4.sub.textContent = e.sub || "", h4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));}-function A4(e = d4?.item) {- if (!m4) return;- let t = m4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;- m4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);+function j4(e = f4?.item) {+ if (!h4) return;+ let t = h4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;+ h4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);}-function j4() {- let e = d4?.player;- if (!e || e.isDisposed() || !m4) return;+function M4() {+ let e = f4?.player;+ if (!e || e.isDisposed() || !h4) return;let t = e.paused();- m4.play.setAttribute("aria-label", t ? "播放" : "暂停"), m4.play.querySelector("[data-icon-swap]") || (m4.play.innerHTML = Ds("player-pause", "player-play", t ? "b" : "a")), Os(m4.play, t ? "b" : "a");+ h4.play.setAttribute("aria-label", t ? "播放" : "暂停"), h4.play.querySelector("[data-icon-swap]") || (h4.play.innerHTML = Ds("player-pause", "player-play", t ? "b" : "a")), Os(h4.play, t ? "b" : "a");}-function M4() {- let e = d4?.player;- if (!e || e.isDisposed() || !m4) return;- let t = On(d4?.item.duration) || On(e.duration());- m4.time.textContent = `${An(e.currentTime())} / ${t ? An(t) : "0:00"}`;-}-var N4 = () => Math.max(1, Number(x4().player.settings().seekSeconds) || 10);-function P4() {- if (!m4 || !u4) return;- let e = N4();- for (let [t, n] of [[m4.back, `后退 ${e} 秒`], [m4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;-}-function F4(e) {+function N4() {+ let e = f4?.player;+ if (!e || e.isDisposed() || !h4) return;+ let t = On(f4?.item.duration) || On(e.duration());+ h4.time.textContent = `${An(e.currentTime())} / ${t ? An(t) : "0:00"}`;+}+var P4 = () => Math.max(1, Number(S4().player.settings().seekSeconds) || 10);+function F4() {+ if (!h4 || !d4) return;+ let e = P4();+ for (let [t, n] of [[h4.back, `后退 ${e} 秒`], [h4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;+}+function I4(e) {let t = (t, n) => {e.player.on(t, n), e.off.push(() => {try {@@ -73184,17 +73364,17 @@ function F4(e) {"play","pause","ended"- ], j4), t([+ ], M4), t(["timeupdate","durationchange","loadedmetadata"- ], M4), t("loadedmetadata", () => A4()), j4(), M4(), A4(), P4();+ ], N4), t("loadedmetadata", () => j4()), M4(), N4(), j4(), F4();}-function I4(e) {+function L4(e) {e.off.forEach((e) => e()), e.off = [];}-function Mke() {- let e = m4?.root;+function rAe() {+ let e = h4?.root;if (!e) return;let t = e.hidden;if (e.hidden = !1, !t) return;@@ -73202,8 +73382,8 @@ function Mke() {let n = () => e.removeAttribute("data-miniplayer-enter");e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);}-function L4() {- let e = m4?.root;+function R4() {+ let e = h4?.root;if (e) {e.hidden = !0;for (let t of [@@ -73214,73 +73394,73 @@ function L4() {e.style.transform = "";}}-function Nke(e, t) {- if (!m4) return;+function iAe(e, t) {+ if (!h4) return;let n = {...e,meta: t,off: [],pending: !1};- d4 = n, g4++, e.player.el().classList.add("vjs-peach-mini"), m4.frame.prepend(e.player.el()), k4(t), F4(n), Mke(), cj(e.player);-}-function R4() {- let e = d4;- e && I4(e), d4 = null, g4++;- let t = e?.player ?? null;- t && oj() === t && sj(null), Jj(t), t && rM(), m4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), rj(), L4();+ f4 = n, _4++, e.player.el().classList.add("vjs-peach-mini"), h4.frame.prepend(e.player.el()), A4(t), I4(n), rAe(), pj(e.player);}function z4() {- if (!O4() || !d4) return;- let { kind: e, item: t, mediaIndex: n } = d4;- x4().expand(e, t.id, n);+ let e = f4;+ e && L4(e), f4 = null, _4++;+ let t = e?.player ?? null;+ t && dj() === t && fj(null), $j(t), t && dM(), h4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), lj(), R4();}function B4() {- O4() && !v4() ? z4() : v4() && w4() && _4 && (h4 = !0, _4());+ if (!k4() || !f4) return;+ let { kind: e, item: t, mediaIndex: n } = f4;+ S4().expand(e, t.id, n);+}+function V4() {+ k4() && !y4() ? B4() : y4() && T4() && v4 && (g4 = !0, v4());}-function Pke() {- let e = d4?.player;+function aAe() {+ let e = f4?.player;e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());}-function V4(e) {- let t = d4?.player;+function H4(e) {+ let t = f4?.player;if (!t || t.isDisposed()) return;- let n = On(t.duration()) || On(d4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + N4() * e);+ let n = On(t.duration()) || On(f4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + P4() * e);t.currentTime(n ? Math.min(n, r) : r);}-function H4(e) {- return !(!O4() || !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 || x4().sourceOffline(String(e.root_id || e.location || "")));-}-async function Fke(e) {- if (!O4() || !d4 || !m4) return;- let t = ++g4, n = await on(`/api/item?id=${e}`).catch(() => null);- if (t !== g4 || !O4() || !d4 || !m4 || !n || n.error) return;- if (!H4(n)) {- x4().openItem(e);+function U4(e) {+ return !(!k4() || !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 || S4().sourceOffline(String(e.root_id || e.location || "")));+}+async function oAe(e) {+ if (!k4() || !f4 || !h4) return;+ let t = ++_4, n = await on(`/api/item?id=${e}`).catch(() => null);+ if (t !== _4 || !k4() || !f4 || !h4 || !n || n.error) return;+ if (!U4(n)) {+ S4().openItem(e);return;}- let r = d4;- I4(r), oj() === r.player && sj(null), Jj(r.player), rM(), m4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());+ let r = f4;+ L4(r), dj() === r.player && fj(null), $j(r.player), dM(), h4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());let i = document.createElement("video");- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", m4.frame.prepend(i);+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", h4.frame.prepend(i);let a = {kind: "item",item: n,title: String(n.title || n.name || ""),sub: String(n.performers?.[0] || n.creator || "未归属")};- k4(a), mM(i, {+ A4(a), DM(i, {kind: "item",item: n,autoplay: !0,chrome: !1,onPlayer: (r) => {- if (t !== g4) {- r && oj() === r && sj(null), Jj(r);+ if (t !== _4) {+ r && dj() === r && fj(null), $j(r);return;}if (!r) {- R4(), x4().openItem(e);+ z4(), S4().openItem(e);return;}r.el().classList.add("vjs-peach-mini");@@ -73289,25 +73469,25 @@ async function Fke(e) {kind: "item",item: n,mediaIndex: null,- key: y4("item", n.id, null),+ key: b4("item", n.id, null),meta: a,off: [],pending: !1};- d4 = i, F4(i);+ f4 = i, I4(i);}- }), A4(n);+ }), j4(n);}// src/react/stage/miniplayer.tsx-var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {+var W4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {viewBox: "0 0 24 24","aria-hidden": "true",children: /* @__PURE__ */ (0, F.jsx)("use", { href: `#i-${e}` })-}), Ike = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, W4 = (e) => (t) => {+}), sAe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, G4 = (e) => (t) => {t.stopPropagation(), e();-}, Lke = (0, P.memo)(function() {+}, cAe = (0, P.memo)(function() {let e = (0, P.useRef)(null), t = (0, P.useRef)(null), n = (0, P.useRef)(null), r = (0, P.useRef)(null), i = (0, P.useRef)(null), a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = (0, P.useRef)(null), c = (0, P.useRef)(null), l = (0, P.useRef)(null);- return (0, P.useLayoutEffect)(() => (D4({+ return (0, P.useLayoutEffect)(() => (O4({root: e.current,frame: n.current,play: r.current,@@ -73317,7 +73497,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {title: s.current,sub: c.current,info: l.current- }), () => D4(null)), []), (0, P.useEffect)(() => zke(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {+ }), () => O4(null)), []), (0, P.useEffect)(() => uAe(e.current, t.current), []), /* @__PURE__ */ (0, F.jsx)("aside", {ref: e,"data-miniplayer": "",id: "miniplayer",@@ -73341,24 +73521,24 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {id: "miniplayerExpand","aria-label": "展开到详情","aria-keyshortcuts": "i",- onClick: W4(z4),- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "maximize-2" })+ onClick: G4(B4),+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "maximize-2" })}),/* @__PURE__ */ (0, F.jsx)("button", {type: "button","data-miniplayer-button": "close",id: "miniplayerClose","aria-label": "关闭小窗",- onClick: W4(R4),- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "x" })+ onClick: G4(z4),+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "x" })}),/* @__PURE__ */ (0, F.jsx)("button", {ref: a,type: "button","data-miniplayer-seek": "",id: "miniplayerBack",- onClick: W4(() => V4(-1)),- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-ccw" })+ onClick: G4(() => H4(-1)),+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "rotate-ccw" })}),/* @__PURE__ */ (0, F.jsx)("button", {ref: r,@@ -73367,16 +73547,16 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {id: "miniplayerPlay","aria-label": "暂停","aria-keyshortcuts": "k",- onClick: W4(Pke),- dangerouslySetInnerHTML: Ike+ onClick: G4(aAe),+ dangerouslySetInnerHTML: sAe}),/* @__PURE__ */ (0, F.jsx)("button", {ref: o,type: "button","data-miniplayer-seek": "",id: "miniplayerAhead",- onClick: W4(() => V4(1)),- children: /* @__PURE__ */ (0, F.jsx)(U4, { name: "rotate-cw" })+ onClick: G4(() => H4(1)),+ children: /* @__PURE__ */ (0, F.jsx)(W4, { name: "rotate-cw" })}),/* @__PURE__ */ (0, F.jsx)("span", {ref: i,@@ -73393,7 +73573,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {"data-miniplayer-info": "",id: "miniplayerInfo","aria-label": "展开到详情",- onClick: () => z4(),+ onClick: () => B4(),children: [/* @__PURE__ */ (0, F.jsx)("span", {ref: s,"data-miniplayer-title": "",@@ -73407,7 +73587,7 @@ var U4 = ({ name: e }) => /* @__PURE__ */ (0, F.jsx)("svg", {})});});-function Rke(e, t, n) {+function lAe(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@@ -73429,7 +73609,7 @@ function Rke(e, t, n) {};e.addEventListener("transitionend", u), setTimeout(u, 600);}-function zke(e, t) {+function uAe(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 = {@@ -73455,7 +73635,7 @@ function zke(e, t) {} catch {}i.moved && (e.dataset.dragged = "1", setTimeout(() => {delete e.dataset.dragged;- }, 0), Rke(e, i.dx, i.dy));+ }, 0), lAe(e, i.dx, i.dy));}, o = (t) => {e.dataset.dragged && (t.stopPropagation(), t.preventDefault());}, s = (e) => {@@ -73466,49 +73646,49 @@ function zke(e, t) {};}// src/react/stage/stage.tsx-var G4 = null, K4 = null, q4 = null, J4 = /* @__PURE__ */ new Set(), Y4 = 0, X4 = null, Z4 = !1, Q4 = !1, $4 = () => {+var K4 = null, q4 = null, J4 = null, Y4 = /* @__PURE__ */ new Set(), X4 = 0, Z4 = null, Q4 = !1, $4 = !1, e3 = () => {let e = document.getElementById("stage");return e instanceof HTMLDialogElement ? e : null;};-function e3() {- if (!G4) throw Error("舞台还没有接上宿主(configureStage)");- return G4;+function t3() {+ if (!K4) throw Error("舞台还没有接上宿主(configureStage)");+ return K4;}-function Bke(e) {- return J4.add(e), () => {- J4.delete(e);+function dAe(e) {+ return Y4.add(e), () => {+ Y4.delete(e);};}-function Vke() {- for (let e of [...J4]) e();+function fAe() {+ for (let e of [...Y4]) e();}-function t3() {- (0, Lt.flushSync)(Vke);+function n3() {+ (0, Lt.flushSync)(fAe);}-function Hke({ view: e }) {- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)(Uke, { view: e }, e.generation) : null, /* @__PURE__ */ (0, F.jsx)(Lke, {})] });+function pAe({ view: e }) {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [e ? /* @__PURE__ */ (0, F.jsx)(mAe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, F.jsx)(cAe, {})] });}-var n3 = () => /* @__PURE__ */ (0, F.jsx)("div", {+var r3 = () => /* @__PURE__ */ (0, F.jsx)("div", {"data-skeleton": "detail",role: "status","aria-label": "正在读取作品详情",- dangerouslySetInnerHTML: { __html: VDe() }+ dangerouslySetInnerHTML: { __html: fOe() }});-function r3(e) {+function i3(e) {let t = e.currentTarget;if (e.target !== t) return !1;let n = t.getBoundingClientRect();return e.clientX < n.left || e.clientX > n.right || e.clientY < n.top || e.clientY > n.bottom;}-function Uke({ view: e }) {+function mAe({ view: e }) {let t = (0, P.useRef)(null);(0, P.useLayoutEffect)(() => {let e = t.current, n = (t) => {- t.target === e && (t.preventDefault(), i3());+ t.target === e && (t.preventDefault(), a3());};return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);}, []);- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, F.jsx)(FOe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, F.jsx)(yke, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, F.jsx)(gOe, { ...r.props }, r.props.id);+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, F.jsx)(oke, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, F.jsx)(Wke, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, F.jsx)(VOe, { ...r.props }, r.props.id);return /* @__PURE__ */ (0, F.jsxs)("dialog", {ref: t,id: "stage",@@ -73516,27 +73696,27 @@ function Uke({ view: e }) {"data-stage-kind": r.kind,"aria-label": "作品详情",onKeyDown: (e) => {- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), i3());+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), a3());},onPointerDown: (e) => {- Q4 = r3(e);+ $4 = i3(e);},onClick: (e) => {- Q4 && r3(e) && i3();+ $4 && i3(e) && a3();},children: [- n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(n3, {}, "skeleton") : null,+ n === "skeleton" ? /* @__PURE__ */ (0, F.jsx)(r3, {}, "skeleton") : null,n === "reveal" ? /* @__PURE__ */ (0, F.jsx)("div", {"data-stage-fade": "","aria-hidden": "true",- children: /* @__PURE__ */ (0, F.jsx)(n3, {})+ children: /* @__PURE__ */ (0, F.jsx)(r3, {})}, "fade") : null,n === "skeleton" ? null : /* @__PURE__ */ (0, F.jsx)("div", {"data-stage-scroll": "",children: /* @__PURE__ */ (0, F.jsx)("div", {className: "peach-react",children: /* @__PURE__ */ (0, F.jsx)(PT, {- getContainer: () => X0(t.current),+ getContainer: () => Z0(t.current),children: i})})@@ -73544,14 +73724,14 @@ function Uke({ view: e }) {]});}-function i3() {- K4 && !Z4 && (Z4 = !0, K4.request.actions.close());+function a3() {+ q4 && !Q4 && (Q4 = !0, q4.request.actions.close());}-function a3(e, t) {- let n = $4();+function o3(e, t) {+ let n = e3();n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);}-function o3(e) {+function s3(e) {if (e.kind === "jav") return {kind: "jav",props: {@@ -73559,30 +73739,30 @@ function o3(e) {readOnly: e.readOnly,actions: {...e.actions,- close: i3+ close: a3}}};let t = e.resume ?? null, n = (n) => {let r = t && (e.id == null || e.id === n) ? t : null;return t = null, r;- }, r = () => e3().player.settings(), i = () => K4?.request === e;+ }, r = () => t3().player.settings(), i = () => q4?.request === e;if (e.kind === "item") {let { kind: t, resume: a, actions: o, ...s } = e, c = {...o,- close: i3,+ close: a3,present: (e, t) => {let n = e.performers;- S4({+ C4({kind: "item",item: e,title: String(e.title || e.name || ""),sub: String(n?.[0] || e.creator || "未归属")- }), a3(r().ambientMode, r().theaterMode), queueMicrotask(() => {+ }), o3(r().ambientMode, r().theaterMode), queueMicrotask(() => {i() && o.present(e, t);});},- mountPlayer: (e, t, r, i) => C4(e, {+ mountPlayer: (e, t, r, i) => w4(e, {kind: "item",item: t,autoplay: i?.autoplay,@@ -73600,18 +73780,18 @@ function o3(e) {}let { kind: a, resume: o, actions: s, ...c } = e, l = {...s,- close: i3,+ close: a3,present: (e, t) => {- S4({+ C4({kind: "follow",item: e,title: e.title || "",sub: e.author || e.source_label || ""- }), a3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {+ }), o3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {i() && s.present(e, t);});},- mountPlayer: (e, t, r, i) => C4(e, {+ mountPlayer: (e, t, r, i) => w4(e, {kind: "follow",item: t,media: r,@@ -73628,106 +73808,106 @@ function o3(e) {}};}-function Wke(e, t) {+function hAe(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 = () => {- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), K4?.generation === t && K4.phase === "reveal" && (K4 = {- ...K4,+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), q4?.generation === t && q4.phase === "reveal" && (q4 = {+ ...q4,phase: "content"- }, t3());+ }, n3());}, a = (e) => {e.target === n && i();};n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);}-function s3(e) {- let t = $4();- return !K4 || K4.content.kind !== e || Z4 || !t?.open || t.hasAttribute("data-closing") ? null : t;+function c3(e) {+ let t = e3();+ return !q4 || q4.content.kind !== e || Q4 || !t?.open || t.hasAttribute("data-closing") ? null : t;}-async function Gke(e) {- !q4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (q4 = {+async function gAe(e) {+ !J4 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (J4 = {left: window.scrollX,top: window.scrollY,anchor: document.activeElement});- let t = s3(e.kind);+ let t = c3(e.kind);if (t) {- await qke(e, t);+ await vAe(e, t);return;}- K4 && c3({ miniplayer: !1 });- let n = ++Y4, r = new AbortController();- X4 = r, Z4 = !1, Q4 = !1, e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN);- let i = o3(e);- K4 = {+ q4 && l3({ miniplayer: !1 });+ let n = ++X4, r = new AbortController();+ Z4 = r, Q4 = !1, $4 = !1, e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN);+ let i = s3(e);+ q4 = {generation: n,request: e,content: i,phase: "skeleton"};- let a = i.kind === "item" ? sN(i.props, r.signal) : i.kind === "jav" ? A2(i.props, r.signal) : t2(i.props, r.signal);- if (n !== Y4 || K4?.request !== e) {+ let a = i.kind === "item" ? aN(i.props, r.signal) : i.kind === "jav" ? j2(i.props, r.signal) : n2(i.props, r.signal);+ if (n !== X4 || q4?.request !== e) {await a.catch(() => {});return;}- let o = Kke(i);- K4 = {- ...K4,+ let o = _Ae(i);+ q4 = {+ ...q4,phase: o ? "content" : "skeleton"- }, t3();- let s = $4();+ }, n3();+ let s = e3();if (!s) {await a.catch(() => {});return;}- o || Ks(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Z0(s);+ o || Ks(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), Q0(s);try {await a;} catch {if (r.signal.aborted) return;}- if (n !== Y4 || !K4 || o) return;+ if (n !== X4 || !q4 || o) return;let c = !!s.querySelector(".skeleton-awaiting");- K4 = {- ...K4,+ q4 = {+ ...q4,phase: c ? "content" : "reveal"- }, t3(), c || Wke(s, n), Ps(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, n3(), c || hAe(s, n), Ps(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");let l = document.activeElement;l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();}-function Kke(e) {- if (e.kind === "jav") return !!H.getQueryData(O2(e.props.code));- if (e.kind === "follow") return !!H.getQueryData(Q0(e.props.id));- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(qM(t)) : null;+function _Ae(e) {+ if (e.kind === "jav") return !!H.getQueryData(k2(e.props.code));+ if (e.kind === "follow") return !!H.getQueryData($0(e.props.id));+ let { queue: t, id: n } = e.props, r = t ? H.getQueryData(GM(t)) : null;if (t && !r) return !1;- let i = r ? aN(r, n) : n;- return i != null && !!H.getQueryData(KM(i));+ let i = r ? rN(r, n) : n;+ return i != null && !!H.getQueryData(WM(i));}-async function qke(e, t) {- let n = ++Y4;- X4?.abort();+async function vAe(e, t) {+ let n = ++X4;+ Z4?.abort();let r = new AbortController();- X4 = r, Q4 = !1;- let i = o3(e);+ Z4 = r, $4 = !1;+ let i = s3(e);try {- i.kind === "item" ? await sN(i.props, r.signal) : i.kind === "jav" ? await A2(i.props, r.signal) : await t2(i.props, r.signal);+ i.kind === "item" ? await aN(i.props, r.signal) : i.kind === "jav" ? await j2(i.props, r.signal) : await n2(i.props, r.signal);} catch {if (r.signal.aborted) return;}- if (n !== Y4 || !K4 || s3(e.kind) !== t) return;- e.kind === "jav" ? R4() : E4(e.kind, e.id ?? NaN), kl(t), rj(), K4 = {- ...K4,+ if (n !== X4 || !q4 || c3(e.kind) !== t) return;+ e.kind === "jav" ? z4() : D4(e.kind, e.id ?? NaN), kl(t), lj(), q4 = {+ ...q4,request: e,content: i,phase: "content"- }, t3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ps(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");+ }, n3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), Ps(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");let a = document.activeElement;a !== t && t.contains(a) || (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });}-function Jke() {- Z0(null);- let e = $4();+function yAe() {+ Q0(null);+ let e = e3();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 = () => {clearTimeout(n), e.removeEventListener("animationend", i), t();@@ -73737,14 +73917,14 @@ function Jke() {e.addEventListener("animationend", i), n = window.setTimeout(r, 380);}));}-function c3({ miniplayer: e = !0 } = {}) {- if (Y4++, X4?.abort(), X4 = null, T4(e), !K4) return;- let t = $4();- t && kl(t), rj(), Z0(null), t?.open && t.close(), K4 = null, Z4 = !1, Q4 = !1, t3(), S4(null), document.body.removeAttribute("data-detail-open");- let n = q4;- q4 = null;+function l3({ miniplayer: e = !0 } = {}) {+ if (X4++, Z4?.abort(), Z4 = null, E4(e), !q4) return;+ let t = e3();+ t && kl(t), lj(), Q0(null), t?.open && t.close(), q4 = null, Q4 = !1, $4 = !1, n3(), C4(null), document.body.removeAttribute("data-detail-open");+ let n = J4;+ J4 = null;let r = () => {- !K4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({+ !q4 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({left: n.left,top: n.top,behavior: "instant"@@ -73752,79 +73932,79 @@ function c3({ miniplayer: e = !0 } = {}) {};r(), requestAnimationFrame(r);}-function Yke(e) {- K4 && (K4 = {- ...K4,- content: K4.content.kind === "item" ? {+function bAe(e) {+ q4 && (q4 = {+ ...q4,+ content: q4.content.kind === "item" ? {kind: "item",props: {- ...K4.content.props,+ ...q4.content.props,...e}- } : K4.content.kind === "jav" ? K4.content : {+ } : q4.content.kind === "jav" ? q4.content : {kind: "follow",props: {- ...K4.content.props,+ ...q4.content.props,...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }}}- }, t3());+ }, n3());}-function Xke() {- let e = Dke(), t = e?.kind === "item" ? e.item : null, n = t ? lo(t, e3().player.settings().javImage) : "";+function xAe() {+ let e = Qke(), t = e?.kind === "item" ? e.item : null, n = t ? lo(t, t3().player.settings().javImage) : "";if (!n) return;- let r = w4();+ let r = T4();r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);}-var Zke = {- open: Gke,- update: Yke,- exit: Jke,- dispose: c3,- requestClose: i3,- repaintPoster: Xke,- isOpen: () => !!K4,- showing: () => K4 && s3(K4.content.kind) ? K4.content.kind : null,- activeVideo: () => jke(),- mountWallPlayer: Oke,+var SAe = {+ open: gAe,+ update: bAe,+ exit: yAe,+ dispose: l3,+ requestClose: a3,+ repaintPoster: xAe,+ isOpen: () => !!q4,+ showing: () => q4 && c3(q4.content.kind) ? q4.content.kind : null,+ activeVideo: () => nAe(),+ mountWallPlayer: $ke,toggleTheater: () => {- K4 && Fj(!e3().player.settings().theaterMode);+ q4 && Bj(!t3().player.settings().theaterMode);},- toggleMiniplayer: () => B4(),- closeMiniplayer: () => R4(),- miniplayerActive: () => O4(),- miniplayerTakesCard: (e) => H4(e),+ toggleMiniplayer: () => V4(),+ closeMiniplayer: () => z4(),+ miniplayerActive: () => k4(),+ miniplayerTakesCard: (e) => U4(e),miniplayerPlay: (e) => {- Fke(e);+ oAe(e);}};-function Qke(e) {- return G4 = e, Eke(e, {- isOpen: () => !!K4,- requestClose: i3- }), Zke;+function CAe(e) {+ return K4 = e, Zke(e, {+ isOpen: () => !!q4,+ requestClose: a3+ }), SAe;}-function $ke() {- let e = (0, P.useSyncExternalStore)(Bke, () => K4);- return G4 ? /* @__PURE__ */ (0, F.jsx)(Hke, { view: e }) : null;+function wAe() {+ let e = (0, P.useSyncExternalStore)(dAe, () => q4);+ return K4 ? /* @__PURE__ */ (0, F.jsx)(pAe, { view: e }) : null;}// src/react/stats/stats.ts-var eAe = "/api/stats", l3 = ["stats"], u3 = (e) => B(eAe, e);-async function tAe(e) {+var TAe = "/api/stats", u3 = ["stats"], d3 = (e) => B(TAe, e);+async function EAe(e) {await H.fetchQuery({- queryKey: l3,- queryFn: () => u3(e)+ queryKey: u3,+ queryFn: () => d3(e)});}-var d3 = (e) => e != null && Number.isFinite(e), nAe = (e) => d3(e) ? e.toLocaleString() : "未取得", rAe = (e, t) => d3(e) && d3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, iAe = (e, t) => {- let n = rAe(e, t);- return !n && d3(e) && e > 0 && d3(t) && t > 0 ? "<1%" : `${n}%`;-}, f3 = (e) => {- if (!d3(e)) return "未取得";+var f3 = (e) => e != null && Number.isFinite(e), DAe = (e) => f3(e) ? e.toLocaleString() : "未取得", OAe = (e, t) => f3(e) && f3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, kAe = (e, t) => {+ let n = OAe(e, t);+ return !n && f3(e) && e > 0 && f3(t) && t > 0 ? "<1%" : `${n}%`;+}, p3 = (e) => {+ if (!f3(e)) return "未取得";let t = Math.max(0, e);return t >= 172800 ? `${(t / 86400).toLocaleString(void 0, { maximumFractionDigits: 1 })} 天` : t >= 3600 ? `${(t / 3600).toFixed(1)} 小时` : `${Math.round(t / 60)} 分钟`;-}, p3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, m3 = (e) => (e.max_reached || 0) * 100, aAe = (e) => e.kind === "online" ? "在线直接观看" : p3(e) < m3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", oAe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;-function sAe(e, t = 6) {+}, m3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, h3 = (e) => (e.max_reached || 0) * 100, AAe = (e) => e.kind === "online" ? "在线直接观看" : m3(e) < h3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", jAe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;+function MAe(e, t = 6) {let n = e.filter((e) => Number.isFinite(e.value) && e.value >= 0);if (n.length <= t) return n;let r = [...n].sort((e, t) => t.value - e.value), i = r.slice(t - 1);@@ -73834,7 +74014,7 @@ function sAe(e, t = 6) {bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)}];}-var cAe = (e) => Math.max(1, ...e) * 1.1, lAe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, uAe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), dAe = {+var NAe = (e) => Math.max(1, ...e) * 1.1, PAe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, FAe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), IAe = {video: "视频",image: "图片",illustration: "插画",@@ -73842,18 +74022,18 @@ var cAe = (e) => Math.max(1, ...e) * 1.1, lAe = (e, t) => e > 0 ? Math.max(e, taudio: "音频",account: "账号",other: "其它文件"-}, fAe = (e) => e.map((e) => ({- name: dAe[e.k] ?? e.k,+}, LAe = (e) => e.map((e) => ({+ name: IAe[e.k] ?? e.k,value: e.n-})).sort((e, t) => t.value - e.value), pAe = {+})).sort((e, t) => t.value - e.value), RAe = {速食: "<5 分钟",短: "5–15 分钟",中: "15–40 分钟",长: ">40 分钟"-}, h3 = (e, t = {}) => e.map((e) => ({+}, g3 = (e, t = {}) => e.map((e) => ({name: t[e.k] ?? e.k,value: e.n-})), mAe = (e) => h3(e, pAe), hAe = [+})), zAe = (e) => g3(e, RAe), BAe = [[1,1,@@ -73889,12 +74069,12 @@ var cAe = (e) => Math.max(1, ...e) * 1.1, lAe = (e, t) => e > 0 ? Math.max(e, tInfinity,"≥10"]-], gAe = (e) => hAe.map(([t, n, r]) => ({+], VAe = (e) => BAe.map(([t, n, r]) => ({name: r,value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)}));// node_modules/d3-array/src/max.js-function g3(e, t) {+function _3(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 {@@ -73904,7 +74084,7 @@ function g3(e, t) {return n;}// node_modules/d3-array/src/min.js-function _3(e, t) {+function v3(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 {@@ -73914,7 +74094,7 @@ function _3(e, t) {return n;}// node_modules/d3-array/src/sum.js-function v3(e, t) {+function y3(e, t) {let n = 0;if (t === void 0) for (let t of e) (t = +t) && (n += t);else {@@ -73924,64 +74104,64 @@ function v3(e, t) {return n;}// node_modules/d3-sankey/src/align.js-function _Ae(e, t) {+function HAe(e, t) {return e.sourceLinks.length ? e.depth : t - 1;}// node_modules/d3-sankey/src/constant.js-function y3(e) {+function b3(e) {return function() {return e;};}// node_modules/d3-sankey/src/sankey.js-function b3(e, t) {- return S3(e.source, t.source) || e.index - t.index;-}function x3(e, t) {- return S3(e.target, t.target) || e.index - t.index;+ return C3(e.source, t.source) || e.index - t.index;}function S3(e, t) {+ return C3(e.target, t.target) || e.index - t.index;+}+function C3(e, t) {return e.y0 - t.y0;}-function C3(e) {+function w3(e) {return e.value;}-function vAe(e) {+function UAe(e) {return e.index;}-function yAe(e) {+function WAe(e) {return e.nodes;}-function bAe(e) {+function GAe(e) {return e.links;}-function w3(e, t) {+function T3(e, t) {let n = e.get(t);if (!n) throw Error("missing: " + t);return n;}-function T3({ nodes: e }) {+function E3({ 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 xAe() {- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = vAe, c = _Ae, l, u, d = yAe, f = bAe, p = 6;+function KAe() {+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = UAe, c = HAe, l, u, d = WAe, f = GAe, 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), T3(e), e;+ return h(e), g(e), _(e), v(e), x(e), E3(e), e;}m.update = function(e) {- return T3(e), e;+ return E3(e), e;}, m.nodeId = function(e) {- return arguments.length ? (s = typeof e == "function" ? e : y3(e), m) : s;+ return arguments.length ? (s = typeof e == "function" ? e : b3(e), m) : s;}, m.nodeAlign = function(e) {- return arguments.length ? (c = typeof e == "function" ? e : y3(e), m) : c;+ return arguments.length ? (c = typeof e == "function" ? e : b3(e), m) : c;}, m.nodeSort = function(e) {return arguments.length ? (l = e, m) : l;}, m.nodeWidth = function(e) {@@ -73989,9 +74169,9 @@ function xAe() {}, m.nodePadding = function(e) {return arguments.length ? (a = o = +e, m) : a;}, m.nodes = function(e) {- return arguments.length ? (d = typeof e == "function" ? e : y3(e), m) : d;+ return arguments.length ? (d = typeof e == "function" ? e : b3(e), m) : d;}, m.links = function(e) {- return arguments.length ? (f = typeof e == "function" ? e : y3(e), m) : f;+ return arguments.length ? (f = typeof e == "function" ? e : b3(e), m) : f;}, m.linkSort = function(e) {return arguments.length ? (u = e, m) : u;}, m.size = function(i) {@@ -74007,12 +74187,12 @@ function xAe() {for (let [e, r] of t.entries()) {r.index = e;let { source: t, target: i } = r;- typeof t != "object" && (t = r.source = w3(n, t)), typeof i != "object" && (i = r.target = w3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);+ typeof t != "object" && (t = r.source = T3(n, t)), typeof i != "object" && (i = r.target = T3(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(v3(t.sourceLinks, C3), v3(t.targetLinks, C3)) : t.fixedValue;+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(y3(t.sourceLinks, w3), y3(t.targetLinks, w3)) : t.fixedValue;}function _({ nodes: e }) {let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;@@ -74037,7 +74217,7 @@ function xAe() {}}function y({ nodes: t }) {- let r = g3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);+ let r = _3(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];@@ -74046,7 +74226,7 @@ function xAe() {return o;}function b(e) {- let n = _3(e, (e) => (r - t - (e.length - 1) * o) / v3(e, C3));+ let n = v3(e, (e) => (r - t - (e.length - 1) * o) / y3(e, w3));for (let i of e) {let e = t;for (let t of i) {@@ -74063,7 +74243,7 @@ function xAe() {}function x(e) {let n = y(e);- o = Math.min(a, (r - t) / (g3(n, (e) => e.length) - 1)), b(n);+ o = Math.min(a, (r - t) / (_3(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);@@ -74082,7 +74262,7 @@ function xAe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(S3), w(i, n);+ l === void 0 && i.sort(C3), w(i, n);}}function C(e, t, n) {@@ -74098,7 +74278,7 @@ function xAe() {let i = (n / r - e.y0) * t;e.y0 += i, e.y1 += i, D(e);}- l === void 0 && i.sort(S3), w(i, n);+ l === void 0 && i.sort(C3), w(i, n);}}function w(e, n) {@@ -74119,12 +74299,12 @@ function xAe() {}function D({ sourceLinks: e, targetLinks: t }) {if (u === void 0) {- for (let { source: { sourceLinks: e } } of t) e.sort(x3);- for (let { target: { targetLinks: t } } of e) t.sort(b3);+ for (let { source: { sourceLinks: e } } of t) e.sort(S3);+ for (let { target: { targetLinks: t } } of e) t.sort(x3);}}function O(e) {- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(x3), n.sort(b3);+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(S3), n.sort(x3);}function k(e, t) {let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;@@ -74153,15 +74333,15 @@ function xAe() {return m;}// node_modules/d3-path/src/path.js-var E3 = Math.PI, D3 = 2 * E3, O3 = 1e-6, SAe = D3 - O3;-function k3() {+var D3 = Math.PI, O3 = 2 * D3, k3 = 1e-6, qAe = O3 - k3;+function A3() {this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";}-function A3() {- return new k3();+function j3() {+ return new A3();}-k3.prototype = A3.prototype = {- constructor: k3,+A3.prototype = j3.prototype = {+ constructor: A3,moveTo: function(e, t) {this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);},@@ -74182,11 +74362,11 @@ k3.prototype = A3.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 > O3) {- if (!(Math.abs(u * s - c * l) > O3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);+ else if (d > k3) {+ if (!(Math.abs(u * s - c * l) > k3) || !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((E3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;- Math.abs(y - 1) > O3 && (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((D3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;+ Math.abs(y - 1) > k3 && (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);}}},@@ -74194,7 +74374,7 @@ k3.prototype = A3.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) > O3 || Math.abs(this._y1 - l) > O3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % D3 + D3), d > SAe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > O3 && (this._ += "A" + n + "," + n + ",0," + +(d >= E3) + "," + 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) > k3 || Math.abs(this._y1 - l) > k3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % O3 + O3), d > qAe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > k3 && (this._ += "A" + n + "," + n + ",0," + +(d >= D3) + "," + 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";@@ -74204,93 +74384,93 @@ k3.prototype = A3.prototype = {}};// node_modules/d3-shape/src/constant.js-function j3(e) {+function M3(e) {return function() {return e;};}// node_modules/d3-shape/src/point.js-function CAe(e) {+function JAe(e) {return e[0];}-function wAe(e) {+function YAe(e) {return e[1];}// node_modules/d3-shape/src/array.js-var TAe = Array.prototype.slice;+var XAe = Array.prototype.slice;// node_modules/d3-shape/src/link/index.js-function EAe(e) {+function ZAe(e) {return e.source;}-function DAe(e) {+function QAe(e) {return e.target;}-function OAe(e) {- var t = EAe, n = DAe, r = CAe, i = wAe, a = null;+function $Ae(e) {+ var t = ZAe, n = QAe, r = JAe, i = YAe, a = null;function o() {- var o, s = TAe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);- if (a ||= o = A3(), 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 = XAe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);+ if (a ||= o = j3(), 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 : j3(+e), o) : r;+ return arguments.length ? (r = typeof e == "function" ? e : M3(+e), o) : r;}, o.y = function(e) {- return arguments.length ? (i = typeof e == "function" ? e : j3(+e), o) : i;+ return arguments.length ? (i = typeof e == "function" ? e : M3(+e), o) : i;}, o.context = function(e) {return arguments.length ? (a = e ?? null, o) : a;}, o;}-function kAe(e, t, n, r, i) {+function eje(e, t, n, r, i) {e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);}-function AAe() {- return OAe(kAe);+function tje() {+ return $Ae(eje);}// node_modules/d3-sankey/src/sankeyLinkHorizontal.js-function jAe(e) {+function nje(e) {return [e.source.x1, e.y0];}-function MAe(e) {+function rje(e) {return [e.target.x0, e.y1];}-function NAe() {- return AAe().source(jAe).target(MAe);+function ije() {+ return tje().source(nje).target(rje);}// src/react/taste/taste.ts-var PAe = "/api/taste", M3 = "/api/taste/refresh", FAe = "/api/taste/import", N3 = "/api/taste/source", P3 = (e) => ["taste", e], IAe = ["taste", "refresh"], LAe = [+var aje = "/api/taste", N3 = "/api/taste/refresh", oje = "/api/taste/import", P3 = "/api/taste/source", F3 = (e) => ["taste", e], sje = ["taste", "refresh"], cje = [["7d", "最近 7 天"],["30d", "最近 30 天"],["90d", "最近 90 天"],["365d", "最近一年"],["all", "全部时间"]-], RAe = 2e3, zAe = (e) => e?.stale && !e.error ? RAe : !1, BAe = (e) => e ? new Date(e).toLocaleString("zh-CN", {+], lje = 2e3, uje = (e) => e?.stale && !e.error ? lje : !1, dje = (e) => e ? new Date(e).toLocaleString("zh-CN", {month: "numeric",day: "numeric",hour: "2-digit",minute: "2-digit"-}) : "—", VAe = (e, t) => V(N3, {+}) : "—", fje = (e, t) => V(P3, {...e,window: t-}), F3 = (e, t, n = !1) => B(`${PAe}?window=${e}${n ? "&retry=1" : ""}`, t), HAe = (e) => B(M3, e);-async function UAe(e, t) {+}), I3 = (e, t, n = !1) => B(`${aje}?window=${e}${n ? "&retry=1" : ""}`, t), pje = (e) => B(N3, e);+async function mje(e, t) {await H.fetchQuery({- queryKey: P3(e),- queryFn: () => F3(e, t)+ queryKey: F3(e),+ queryFn: () => I3(e, t)});}-var WAe = (e) => V(M3, {+var hje = (e) => V(N3, {window: e,background: !0-}), GAe = (e, t) => V(N3, {+}), gje = (e, t) => V(P3, {operation: "remove",source_key: e,window: t});-async function KAe(e) {- let t = await fetch(FAe, {+async function _je(e) {+ let t = await fetch(oje, {method: "POST",credentials: "same-origin",headers: {@@ -74308,52 +74488,52 @@ async function KAe(e) {}return n;}-var qAe = 1e4, I3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";-function JAe(e) {+var vje = 1e4, L3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";+function yje(e) {let t = `${Number(e.history_sources || 0).toLocaleString()} 个数据源`;if (!e.range_start && !e.range_end) return t;let n = e.range_start?.slice(0, 4) === e.range_end?.slice(0, 4), r = (e) => e && n ? new Date(e).toLocaleDateString("zh-CN", {month: "numeric",day: "numeric"- }) : I3(e);+ }) : L3(e);return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;}-var YAe = f3, XAe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), ZAe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);-function QAe(e) {+var bje = p3, xje = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), Sje = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);+function Cje(e) {if (e.web_visits == null && !e.web_bookmarks) return Number(e.score || e.visits || 0).toLocaleString();let t = [], n = Number(e.web_bookmarks || 0), r = Number(e.web_visits ?? e.visits ?? 0) - n;return r > 0 && t.push(`浏览 ${r.toLocaleString()}`), n && t.push(`书签 ${n.toLocaleString()}`), e.peach_items && t.push(`Peach ${Number(e.peach_items).toLocaleString()}`), t.join(" · ");}-function $Ae(e) {- let t = e.map(ZAe), n = Math.max(1, ...t);+function wje(e) {+ let t = e.map(Sje), n = Math.max(1, ...t);return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));}-var L3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({+var R3 = (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 eje(e) {- let t = L3(e, 6);+function Tje(e) {+ let t = R3(e, 6);return t.length < 3 ? [] : t;}-var R3 = {+var z3 = {width: 720,height: 435-}, tje = {+}, Eje = {source: 145,target: 545-}, z3 = 30, nje = 240;-function B3(e, t, n) {+}, B3 = 30, Dje = 240;+function V3(e, t, n) {let r = /* @__PURE__ */ new Map();for (let n of e) r.set(n[t], (r.get(n[t]) ?? 0) + n.value);if (r.size <= 12) return (e) => e;let i = [...r].sort((e, t) => t[1] - e[1]).map(([e]) => e), a = new Set(i.slice(0, 11)), o = n(i.length - a.size);return (e) => a.has(e) ? e : o;}-function rje(e = []) {+function Oje(e = []) {let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);if (!t.length) return null;- let n = B3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = B3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();+ let n = V3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = V3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();for (let e of t) {let t = n(e.source), a = r(e.target), o = JSON.stringify([t, a]), s = i.get(o);s ? s.value += e.value : i.set(o, {@@ -74362,7 +74542,7 @@ function rje(e = []) {value: e.value});}- let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * z3 + nje), u = xAe().nodeId((e) => e.id).nodeWidth(10).nodePadding(z3).extent([[155, 16], [535, l]])({+ let a = [...i.values()], o = [...new Set(a.map((e) => e.source))], s = [...new Set(a.map((e) => e.target))], c = Math.max(o.length, s.length), l = Math.max(404, 16 + (c - 1) * B3 + Dje), u = KAe().nodeId((e) => e.id).nodeWidth(10).nodePadding(B3).extent([[155, 16], [535, l]])({nodes: [...o.map((e) => ({id: `source:${e}`,name: e,@@ -74377,7 +74557,7 @@ function rje(e = []) {target: `target:${e.target}`,value: e.value}))- }), d = a.reduce((e, t) => e + t.value, 0), f = NAe();+ }), d = a.reduce((e, t) => e + t.value, 0), f = ije();return {nodes: u.nodes.map((e) => ({id: e.id,@@ -74405,17 +74585,17 @@ function rje(e = []) {};}),total: d,- height: l + R3.height - 404+ height: l + z3.height - 404};}-var ije = (e) => In(e, 17), V3 = {+var kje = (e) => In(e, 17), H3 = {performers: "艺人",creators: "卖家",studios: "厂牌",agencies: "事务所",series: "系列",tags: "标签"-}, aje = [[+}, Aje = [["big","大图 · 竖幅头像","maximize"@@ -74423,7 +74603,7 @@ var ije = (e) => In(e, 17), V3 = {"compact","紧凑 · 圆形头像","layout-grid"-]], oje = [[+]], jje = [["big","大图 · 完整标识","maximize"@@ -74431,7 +74611,7 @@ var ije = (e) => In(e, 17), V3 = {"compact","紧凑 · 圆形标识","layout-grid"-]], sje = [[+]], Mje = [["big","大图 · 系列图片","maximize"@@ -74439,7 +74619,7 @@ var ije = (e) => In(e, 17), V3 = {"compact","紧凑 · 系列图片","layout-grid"-]], cje = [+]], Nje = [["studios","厂牌",@@ -74455,7 +74635,7 @@ var ije = (e) => In(e, 17), V3 = {"系列","file-stack"]-], lje = [[+], Pje = [["local","本地","hard-drive"@@ -74463,7 +74643,7 @@ var ije = (e) => In(e, 17), V3 = {"online","在线","rss"-]], uje = [+]], Fje = [["performers","艺人",@@ -74479,7 +74659,7 @@ var ije = (e) => In(e, 17), V3 = {"在线","rss"]-], dje = [[+], Ije = [["cloud","标签云","tags"@@ -74487,8 +74667,8 @@ var ije = (e) => In(e, 17), V3 = {"alphabet","字母表","text-aa"-]], H3 = (e) => e === "compact" ? "compact" : "big";-function U3(e, t) {+]], U3 = (e) => e === "compact" ? "compact" : "big";+function W3(e, t) {let n = new URLSearchParams(t);return {kind: e,@@ -74498,7 +74678,7 @@ function U3(e, t) {category: n.get("category") || "all"};}-var W3 = (e, t, n) => ws(e.map(([e, t, n]) => ({+var G3 = (e, t, n) => ws(e.map(([e, t, n]) => ({value: e,label: t,symbol: n@@ -74506,12 +74686,12 @@ var W3 = (e, t, n) => ws(e.map(([e, t, n]) => ({active: t,label: n,className: "indextabs"-}), fje = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">+}), Lje = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col"><div class="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2" data-filter-row="top" data-skeleton-tier="filter-pill" aria-label="标签类型"></div><div class="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2" data-filter-row="bottom"><span class="countskeleton"></span>- <span class="ml-auto">${Mc("tag-view", "标签视图", dje, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;-function pje({ kind: e, q: t, scope: n, view: r, category: i }, a) {- let o = V3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Mc("people-layout", o + "索引版式", e === "series" ? sje : c ? oje : aje, a) : "";+ <span class="ml-auto">${Mc("tag-view", "标签视图", Ije, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;+function Rje({ kind: e, q: t, scope: n, view: r, category: i }, a) {+ let o = H3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? Mc("people-layout", o + "索引版式", e === "series" ? Mje : c ? jje : Aje, a) : "";return `<div class="ihead peach-react" data-index-head><h2 class="disp indexheading">${o}</h2>${s ? "<span class=\"mono\" id=\"indexCount\"><span class=\"countskeleton\"></span></span>" : ""}${l}@@ -74523,26 +74703,26 @@ function pje({ kind: e, q: t, scope: n, view: r, category: i }, a) {}) : ""}<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${cs("", t, "过滤" + o)}</div></div>- ${e === "tags" ? W3(lje, n, "词表") : e === "performers" || e === "creators" ? W3(uje, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? W3(cje, e, "资料类型") : ""}- ${e === "tags" ? fje(r) : ""}- ${e === "performers" && n !== "online" ? sSe(i) : ""}+ ${e === "tags" ? G3(Pje, n, "词表") : e === "performers" || e === "creators" ? G3(Fje, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? G3(Nje, e, "资料类型") : ""}+ ${e === "tags" ? Lje(r) : ""}+ ${e === "performers" && n !== "online" ? NSe(i) : ""}${zs({kind: e,layout: a,mode: r})}`;}-var mje = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";-function G3(e, t, n) {- let r = pje(t, n);- e.querySelector("[data-skeleton]")?.dataset.skeleton !== mje(r) && (e.innerHTML = r, Ks(e));+var zje = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";+function K3(e, t, n) {+ let r = Rje(t, n);+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== zje(r) && (e.innerHTML = r, Ks(e));}// src/react/router/pages/index-entity.tsx-var hje = () => lu, gje = () => Jl, K3 = () => document.getElementById("index");-function q3(e, t, n = {}) {- let r = (0, P.useSyncExternalStore)(bu, hje);- FB();- let i = hV(JV.navigation.location.pathname), a = (0, P.useRef)({+var Bje = () => lu, Vje = () => Jl, q3 = () => document.getElementById("index");+function J3(e, t, n = {}) {+ let r = (0, P.useSyncExternalStore)(bu, Bje);+ BB();+ let i = bV($V.navigation.location.pathname), a = (0, P.useRef)({mounted: !0,epoch: -1,opens: -1,@@ -74567,7 +74747,7 @@ function q3(e, t, n = {}) {let t = a.current;if (!t.mounted) return;let n = t.epoch !== e || t.opens !== lu, r = t.opens !== lu;- if (t.epoch = e, t.opens = lu, hV(JV.navigation.location.pathname)) {+ if (t.epoch = e, t.opens = lu, bV($V.navigation.location.pathname)) {n && o.current.options.onCovered?.();return;}@@ -74588,13 +74768,13 @@ function q3(e, t, n = {}) {i]);}-async function _je(e, t, n, r) {- let i = K3();+async function Hje(e, t, n, r) {+ let i = q3();if (!i) return;let a = `/${t}`;e.surfaceChanged("index", a);- let o = U3(t, n), s = H3(mA().value.peopleLayout);- G3(i, o, s), await LV(a, {+ let o = W3(t, n), s = U3(vA().value.peopleLayout);+ K3(i, o, s), await HV(a, {...o,layout: s,selectMode: Jl,@@ -74604,23 +74784,23 @@ async function _je(e, t, n, r) {isCurrent: r}) && r() && e.surfaceShown?.("index", a);}-function vje(e) {- let t = K3(), n = t ? NV(t) : null;+function Uje(e) {+ let t = q3(), n = t ? RV(t) : null;return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;}-function yje({ epoch: e }) {- let t = (0, P.useContext)(CU), n = FB(), r = n.pathname.split("/").filter(Boolean)[0];- return q3(e, (e, i) => {- t && _je(t, r, n.search, i);- }, { shown: () => vje(`/${r}`) }), null;+function Wje({ epoch: e }) {+ let t = (0, P.useContext)(OU), n = BB(), r = n.pathname.split("/").filter(Boolean)[0];+ return J3(e, (e, i) => {+ t && Hje(t, r, n.search, i);+ }, { shown: () => Uje(`/${r}`) }), null;}-function bje() {- let e = SU(), t = (0, P.useSyncExternalStore)(bu, gje), n = (0, P.useRef)(t);+function Gje() {+ let e = DU(), t = (0, P.useSyncExternalStore)(bu, Vje), n = (0, P.useRef)(t);return (0, P.useEffect)(() => {- n.current !== t && (n.current = t, window.location.pathname === "/tags" && RV(K3(), { selectMode: t }));- }, [t]), /* @__PURE__ */ (0, F.jsx)(yje, { epoch: e }, e);+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && UV(q3(), { selectMode: t }));+ }, [t]), /* @__PURE__ */ (0, F.jsx)(Wje, { epoch: e }, e);}-function J3(e) {+function Y3(e) {let t;try {t = decodeURIComponent(e);@@ -74634,9 +74814,9 @@ function J3(e) {name: a} : null;}-var Y3 = /* @__PURE__ */ new WeakMap();-function xje(e) {- let t = Y3.get(e);+var X3 = /* @__PURE__ */ new WeakMap();+function Kje(e) {+ let t = X3.get(e);return t || (t = {helpers: {...e.grid.helpers,@@ -74646,14 +74826,14 @@ function xje(e) {...e.grid.actions,revealSource: e.revealSource}- }, Y3.set(e, t)), t;+ }, X3.set(e, t)), t;}-function X3() {- let e = K3(), t = e ? NV(e) : null;+function Z3() {+ let e = q3(), t = e ? RV(e) : null;return !!t && t.path.endsWith("/*") && t.host.isConnected;}-async function Sje(e, t, n, r, i, a, o) {- let s = K3();+async function qje(e, t, n, r, i, a, o) {+ let s = q3();if (!s) return;let { segment: c, kind: l, name: u } = n;if (e.surfaceChanged("entity", r), await t.loading(l, u, a), !a()) return;@@ -74667,7 +74847,7 @@ async function Sje(e, t, n, r, i, a, o) {}, h = t.props(l, u, i), g = {...h,hosts: m,- card: xje(e),+ card: Kje(e),resolvedEntity: o,actions: {...h.actions,@@ -74676,18 +74856,18 @@ async function Sje(e, t, n, r, i, a, o) {}}};- await LV(`/${c}/*`, g, {+ await HV(`/${c}/*`, g, {container: s,isCurrent: a,place: (e) => (e.replaceChildren(...f), p.firstElementChild)- }) && a() && X3() && (e.surfaceShown?.("entity", r), window.scrollTo({+ }) && a() && Z3() && (e.surfaceShown?.("entity", r), window.scrollTo({top: 0,behavior: "smooth"}));}-function Cje({ target: e }) {- let t = (0, P.useContext)(CU), n = SU(), r = FB();- return q3(n, (n, i) => {+function Jje({ target: e }) {+ let t = (0, P.useContext)(OU), n = DU(), r = BB();+ return J3(n, (n, i) => {let a = t?.entity;t && a && (async () => {let o = new URLSearchParams({ kind: e.kind });@@ -74703,9 +74883,9 @@ function Cje({ target: e }) {}).catch(() => null);if (!i()) return;if (s?.redirect) {- YV(hn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {+ eH(hn(s.redirect.kind, s.redirect.name, s.redirect.id) + r.search + r.hash, {replace: !0,- state: JV.navigation.location.state+ state: $V.navigation.location.state});return;}@@ -74714,22 +74894,22 @@ function Cje({ target: e }) {return;}let c = String(s.canonical_name || e.name), l = hn(e.kind, c, Number(s.id));- l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && Sje(t, a, {+ l === r.pathname ? (n || !a.refresh(e.kind, c, r.search)) && qje(t, a, {...e,name: c- }, r.pathname, r.search, i, s) : YV(l + r.search + r.hash, {+ }, r.pathname, r.search, i, s) : eH(l + r.search + r.hash, {replace: !0,- state: JV.navigation.location.state+ state: $V.navigation.location.state});})();- }, { shown: () => X3() && !K3()?.hidden }), null;+ }, { shown: () => Z3() && !q3()?.hidden }), null;}-function wje() {- let e = J3(FB().pathname);- return e ? /* @__PURE__ */ (0, F.jsx)(Cje, { target: e }, JSON.stringify([e.kind, e.name])) : null;+function Yje() {+ let e = Y3(BB().pathname);+ return e ? /* @__PURE__ */ (0, F.jsx)(Jje, { target: e }, JSON.stringify([e.kind, e.name])) : null;}// src/react/jav/jav-header.tsx-function Z3({ tab: e, navigate: t, find: n }) {+function Q3({ tab: e, navigate: t, find: n }) {return /* @__PURE__ */ (0, F.jsxs)("div", {className: "flex w-full flex-col gap-4",children: [/* @__PURE__ */ (0, F.jsxs)("div", {@@ -74743,46 +74923,46 @@ function Z3({ tab: e, navigate: t, find: n }) {onClick: n,children: "查找资源"})]- }), /* @__PURE__ */ (0, F.jsx)(LQ, {- tabs: x$.map(([e, t]) => ({+ }), /* @__PURE__ */ (0, F.jsx)(RQ, {+ tabs: S$.map(([e, t]) => ({value: e,label: t})),value: e,label: "JAV 分区",className: "",- onChange: (e) => t(pTe(e))+ onChange: (e) => t(RTe(e))})]});}-function Tje({ navigate: e, receipt: t }) {+function Xje({ navigate: e, receipt: t }) {let [n, r] = (0, P.useState)(null);- return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Z3, {+ return /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, F.jsx)(Q3, {tab: "library",navigate: e,find: () => r({})- }), /* @__PURE__ */ (0, F.jsx)(q2, {+ }), /* @__PURE__ */ (0, F.jsx)(J2, {prefill: n,close: () => r(null),receipt: t})] });}// src/react/router/pages/catalog.tsx-var Eje = () => lu, Q3 = JV.navigation.seq, $3 = JV.navigation.openEpoch, e6 = JV.navigation.location.pathname, t6 = {- seq: Q3,+var Zje = () => lu, $3 = $V.navigation.seq, e6 = $V.navigation.openEpoch, t6 = $V.navigation.location.pathname, n6 = {+ seq: $3,claimed: !0,- from: e6+ from: t6};-JV.listen((e) => {- t6 = {+$V.listen((e) => {+ n6 = {seq: e.seq,- claimed: e.openEpoch === $3,- from: e6- }, $3 = e.openEpoch, e6 = e.location.pathname;+ claimed: e.openEpoch === e6,+ from: t6+ }, e6 = e.openEpoch, t6 = e.location.pathname;});-var n6 = !1;-function r6(e) {- let { seq: t, openEpoch: n, location: r } = JV.navigation, i = hV(r.pathname), a = ZV() ?? r, o = U ?? {};+var r6 = !1;+function i6(e) {+ let { seq: t, openEpoch: n, location: r } = $V.navigation, i = bV(r.pathname), a = nH() ?? r, o = U ?? {};return {seq: t,epoch: n,@@ -74793,7 +74973,7 @@ function r6(e) {opened: e};}-function Dje(e, t, n, r) {+function Qje(e, t, n, r) {let i = { ...U };if (e === "/trash") return {...i,@@ -74804,7 +74984,7 @@ function Dje(e, t, n, r) {state: "trash",q: ""};- let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = mA().value;+ let a = new URLSearchParams(t), { defaultSort: o, defaultSortDirection: s } = vA().value;return {...i,loc: a.get("loc") ?? r.defaultLoc(),@@ -74829,13 +75009,13 @@ function Dje(e, t, n, r) {folder_recursive: a.get("folder_recursive") === "0" ? "0" : ""};}-function Oje(e, t) {- let n = { ...e }, r = r6(n.opened);+function $je(e, t) {+ let n = { ...e }, r = i6(n.opened);Object.assign(e, r);let i = t.catalog;if (!i || r.opens === 0) return;if (r.covered) {- ZV() || i.fill();+ nH() || i.fill();return;}let a = !1;@@ -74845,41 +75025,41 @@ function Oje(e, t) {i.load();return;}- r.epoch !== n.epoch && (a = JV.navigation.action === "POP" && t6.from !== "/");+ r.epoch !== n.epoch && (a = $V.navigation.action === "POP" && n6.from !== "/");}- let { pathname: o, search: s } = JV.navigation.location;+ let { pathname: o, search: s } = $V.navigation.location;if (o === "/" && new URLSearchParams(s).get("state") === "ads") {- let { kind: e, view: t } = s$(s);- n6 = !0, YV(c$(e, t), { replace: !0 });+ let { kind: e, view: t } = c$(s);+ r6 = !0, eH(l$(e, t), { replace: !0 });return;}- let c = n6;- n6 = !1, a &&= o === "/", e.opened = !0, vu({ state: Dje(o, s, a, i) }), i.open(o, {+ let c = r6;+ r6 = !1, a &&= o === "/", e.opened = !0, vu({ state: Qje(o, s, a, i) }), i.open(o, {entering: a,retitle: c});}-function kje(e) {- return fn(e) || e === "/trash" || hV(e) || e === "/immerse" || !!J3(e);+function eMe(e) {+ return fn(e) || e === "/trash" || bV(e) || e === "/immerse" || !!Y3(e);}-function Aje() {- let e = (0, P.useContext)(CU), t = SU(), n = (0, P.useSyncExternalStore)(bu, Eje), r = FB(), i = (0, P.useRef)(null), a = (0, P.useRef)({+function tMe() {+ let e = (0, P.useContext)(OU), t = DU(), n = (0, P.useSyncExternalStore)(bu, Zje), r = BB(), i = (0, P.useRef)(null), a = (0, P.useRef)({mounted: !0,queued: !1});return (0, P.useEffect)(() => {let t = a.current;t.mounted = !0;- let n = r6(!hV(JV.navigation.location.pathname));- return !n.covered && n.opens > 0 && (n6 || t6.seq === Q3 ? n.opens = -1 : t6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {+ let n = i6(!bV($V.navigation.location.pathname));+ return !n.covered && n.opens > 0 && (r6 || n6.seq === $3 ? n.opens = -1 : n6.claimed ? n.seq = -1 : n.epoch = -1), i.current = n, () => {t.mounted = !1, queueMicrotask(() => {- e?.catalog && !kje(JV.navigation.location.pathname) && e.catalog.release();+ e?.catalog && !eMe($V.navigation.location.pathname) && e.catalog.release();});};}, []), (0, P.useEffect)(() => {let t = a.current;!t.queued && e && (t.queued = !0, queueMicrotask(() => {- t.queued = !1, t.mounted && i.current && Oje(i.current, e);+ t.queued = !1, t.mounted && i.current && $je(i.current, e);}));}, [t,@@ -74888,8 +75068,8 @@ function Aje() {e]), null;}-function i6() {- let { pathname: e, search: t } = FB();+function a6() {+ let { pathname: e, search: t } = BB();(0, P.useLayoutEffect)(() => {if (e !== "/wall") return;document.body.setAttribute("data-wall-open", ""), document.documentElement.removeAttribute("data-wall-entry");@@ -74902,36 +75082,36 @@ function i6() {});};}, [e]);- let n = (0, P.useContext)(CU), r = document.getElementById("javLibraryHeader"), i = fn(e) && new URLSearchParams(t).get("jav") === "1";+ let n = (0, P.useContext)(OU), r = document.getElementById("javLibraryHeader"), i = fn(e) && new URLSearchParams(t).get("jav") === "1";return (0, P.useLayoutEffect)(() => {if (r) return r.hidden = !i, () => {r.hidden = !0;};- }, [r, i]), hV(e) && !mV(e) ? null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [- /* @__PURE__ */ (0, F.jsx)(Aje, {}, e === "/junk-files" ? "/junk-files" : "/"),- fn(e) ? /* @__PURE__ */ (0, F.jsx)(jU, {}) : null,- i && r && n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Tje, {+ }, [r, i]), bV(e) && !yV(e) ? null : /* @__PURE__ */ (0, F.jsxs)(F.Fragment, { children: [+ /* @__PURE__ */ (0, F.jsx)(tMe, {}, e === "/junk-files" ? "/junk-files" : "/"),+ fn(e) ? /* @__PURE__ */ (0, F.jsx)(IU, {}) : null,+ i && r && n ? (0, Lt.createPortal)(/* @__PURE__ */ (0, F.jsx)(Xje, {navigate: n.navigate,receipt: (e) => n.receipt(e)}), r) : null] });}// src/react/router/pages/follow.tsx-var a6 = () => document.getElementById("stats"), jje = () => hu;-function Mje(e) {+var o6 = () => document.getElementById("stats"), nMe = () => hu;+function rMe(e) {let t = document.createElement("div");return t.className = "peach-react", Ls(e, () => {e.textContent = "", e.append(t);}), t;}-async function Nje(e, t) {- let n = a6(), r = e.follow;+async function iMe(e, t) {+ let n = o6(), r = e.follow;if (!n || !r || r.refresh()) return;let i = mu;- e.surfaceChanged("follow", "/follow"), u2(n, r.skeleton()), await LV("/follow", r.props(), {+ e.surfaceChanged("follow", "/follow"), d2(n, r.skeleton()), await HV("/follow", r.props(), {container: n,isCurrent: t,- place: Mje+ place: rMe}), t() && window.scrollTo(i ? {top: i,behavior: "instant"@@ -74940,32 +75120,32 @@ async function Nje(e, t) {behavior: "smooth"});}-function Pje() {- let e = a6(), t = e ? NV(e) : null;+function aMe() {+ let e = o6(), t = e ? RV(e) : null;return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;}-function Fje() {- let e = (0, P.useContext)(CU);- return q3(SU(), (t, n) => {- e && Nje(e, n);+function oMe() {+ let e = (0, P.useContext)(OU);+ return J3(DU(), (t, n) => {+ e && iMe(e, n);}, {- shown: Pje,+ shown: aMe,onCovered: () => {- JV.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();+ $V.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();}}), null;}-function o6(e) {- let t = e ? NV(e) : null;+function s6(e) {+ let t = e ? RV(e) : null;return !!t && t.path === "/playlists" && t.host.isConnected;}-async function Ije(e, t) {- let n = a6();- n && (e.surfaceChanged("playlists", "/playlists"), u2(n, c2("/playlists", {+async function sMe(e, t) {+ let n = o6();+ n && (e.surfaceChanged("playlists", "/playlists"), d2(n, l2("/playlists", {followLayout: "",followSort: "",followDir: ""- })), await LV("/playlists", { revision: hu }, {+ })), await HV("/playlists", { revision: hu }, {container: n,isCurrent: t}), t() && window.scrollTo({@@ -74973,37 +75153,37 @@ async function Ije(e, t) {behavior: "smooth"}));}-function Lje() {- let e = (0, P.useContext)(CU), t = (0, P.useSyncExternalStore)(bu, jje), n = (0, P.useRef)(t);+function cMe() {+ let e = (0, P.useContext)(OU), t = (0, P.useSyncExternalStore)(bu, nMe), n = (0, P.useRef)(t);return (0, P.useEffect)(() => {if (n.current === t) return;n.current = t;- let e = a6();- o6(e) && RV(e, { revision: t });- }, [t]), q3(SU(), (t, n) => {- e && Ije(e, n);+ let e = o6();+ s6(e) && UV(e, { revision: t });+ }, [t]), J3(DU(), (t, n) => {+ e && sMe(e, n);}, { shown: () => {- let e = a6();- return o6(e) && !e.hidden;+ let e = o6();+ return s6(e) && !e.hidden;} }), null;}// src/react/router/pages/immerse.tsx-function Rje() {- let e = new URLSearchParams(JV.navigation.location.search).get("id");+function lMe() {+ let e = new URLSearchParams($V.navigation.location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function zje() {- let e = (0, P.useContext)(CU);- return bU(() => {- e?.openImmerse(Rje());+function uMe() {+ let e = (0, P.useContext)(OU);+ return TU(() => {+ e?.openImmerse(lMe());}, !0), null;}-function Bje() {- return /* @__PURE__ */ (0, F.jsx)(zje, {}, SU());+function dMe() {+ return /* @__PURE__ */ (0, F.jsx)(uMe, {}, DU());}// src/ui-kit/anchor-scroll.ts-var s6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";-async function c6(e, t) {+var c6 = () => window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "instant" : "smooth";+async function l6(e, t) {let n;try {n = decodeURIComponent(e.slice(1));@@ -75018,37 +75198,37 @@ async function c6(e, t) {let r = document.getElementById(n);r?.getClientRects().length && r.scrollIntoView({block: "start",- behavior: s6()+ behavior: c6()});}// src/react/router/pages/managed.tsx-var Vje = () => lu > 0, l6 = () => (0, P.useSyncExternalStore)(bu, Vje), u6 = () => mA().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);-function Hje(e) {- let t = d6();- return c2(e, {- followLayout: u6(),+var fMe = () => lu > 0, u6 = () => (0, P.useSyncExternalStore)(bu, fMe), d6 = () => vA().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);+function pMe(e) {+ let t = f6();+ return l2(e, {+ followLayout: d6(),followSort: t.get("sort") || "",followDir: t.get("dir") || ""});}-function f6(e) {+function p6(e) {return on("/healthz", { signal: e.controller.signal }).catch((e) => {if (sn(e)) return null;throw e;});}-function p6(e, t) {+function m6(e, t) {return {readOnly: !!e?.ledger_read_only,readOnlyMessage: e?.ledger_read_only_message || "本机当前只能浏览",writerUrl: e?.ledger_writer_origin ? new URL(t, e.ledger_writer_origin).href : ""};}-async function Uje(e, t) {+async function mMe(e, t) {if (e === "/jav") {- let e = await f6(t);+ let e = await p6(t);return t.live ? {- tab: S$(d6().get("tab")),+ tab: C$(f6().get("tab")),readOnly: !!e?.ledger_read_only} : null;}@@ -75059,36 +75239,36 @@ async function Uje(e, t) {}if (e.startsWith("/settings/")) {window.location.hash === "#peachProxy" && vu({ configurationRequestedSection: "网络与访问" });- let t = d6().get("section") || ou || oV(e);+ let t = f6().get("section") || ou || dV(e);return t ? { section: t } : {};}if (e === "/review") {- let e = d6().get("category") || "", n = await f6(t);+ let e = f6().get("category") || "", n = await p6(t);return t.live ? {category: OY(e) ? e : "",- queue: jY(d6().get("queue")),- ...p6(n, "/review")+ queue: jY(f6().get("queue")),+ ...m6(n, "/review")} : null;}if (e === "/subscriptions") {- let e = LZ("?" + d6().toString()), n = await f6(t);+ let e = LZ("?" + f6().toString()), n = await p6(t);if (!t.live) return null;- let r = mA().value;+ let r = vA().value;return {...e,pageSize: Number(r.followPageSize) || 20,- layout: u6(),- ...p6(n, "/subscriptions")+ layout: d6(),+ ...m6(n, "/subscriptions")};}return {};}-var Wje = () => {+var hMe = () => {window.scrollTo({top: 0,- behavior: s6()+ behavior: c6()});-}, Gje = /* @__PURE__ */ new Set([+}, gMe = /* @__PURE__ */ new Set(["/stats","/taste","/review",@@ -75096,18 +75276,18 @@ var Wje = () => {"/tasks","/subscriptions"]);-async function Kje(e, t, n) {- let r = JV.navigation.seq, i = () => n.live && JV.navigation.seq === r;- if (e === "/jav" && S$(d6().get("tab")) === "library") {- JV.replace(mTe(window.location.search));+async function _Me(e, t, n) {+ let r = $V.navigation.seq, i = () => n.live && $V.navigation.seq === r;+ if (e === "/jav" && C$(f6().get("tab")) === "library") {+ $V.replace(zTe(window.location.search));return;}- if (e === "/subscriptions" && d6().get("tab") === "wants") {- YV("/jav?tab=wants", { replace: !0 });+ if (e === "/subscriptions" && f6().get("tab") === "wants") {+ eH("/jav?tab=wants", { replace: !0 });return;}- if (e === "/subscriptions" && d6().get("tab") === "source") {- YV("/settings/subscriptions", { replace: !0 });+ if (e === "/subscriptions" && f6().get("tab") === "source") {+ eH("/settings/subscriptions", { replace: !0 });return;}let a = document.getElementById("stats");@@ -75129,38 +75309,38 @@ async function Kje(e, t, n) {state: "",q: "",jav: ""- } }), t.clearSearch()), u2(a, Hje(e));- let o = await Uje(e, n);+ } }), t.clearSearch()), d2(a, pMe(e));+ let o = await mMe(e, n);if (!o) return;- let s = await LV(e, o, {+ let s = await HV(e, o, {container: a,isCurrent: () => n.live});- if (s && (n.revision = NV(a)?.revision ?? 0), e.startsWith("/settings/") && s && vu({ configurationRequestedSection: "" }), s && i()) {+ if (s && (n.revision = RV(a)?.revision ?? 0), e.startsWith("/settings/") && s && vu({ configurationRequestedSection: "" }), s && i()) {let { hash: t } = window.location;e === "/settings/library" && t === "#libraryProcessing" ? queueMicrotask(() => {- i() && YV("/data-cleanup#libraryProcessing", {+ i() && eH("/data-cleanup#libraryProcessing", {replace: !0,state: null});- }) : t ? c6(t, i) : (Gje.has(e) || e === "/settings/library") && Wje();+ }) : t ? l6(t, i) : (gMe.has(e) || e === "/settings/library") && hMe();}}-function m6({ path: e }) {- let t = SU();- FB();- let n = hV(JV.navigation.location.pathname), r = (0, P.useRef)(n ? null : t), i = (0, P.useRef)(n);+function h6({ path: e }) {+ let t = DU();+ BB();+ let n = bV($V.navigation.location.pathname), r = (0, P.useRef)(n ? null : t), i = (0, P.useRef)(n);n || i.current && r.current !== null || (r.current = t), i.current = n;let a = e.startsWith("/settings/") ? "/settings/configuration" : e;- return /* @__PURE__ */ (0, F.jsx)(qje, {+ return /* @__PURE__ */ (0, F.jsx)(vMe, {path: e,covered: r.current === null}, `${a} ${r.current ?? "covered"}`);}-function qje({ path: e, covered: t }) {- let n = (0, P.useContext)(CU), r = l6(), i = (0, P.useRef)(null);+function vMe({ path: e, covered: t }) {+ let n = (0, P.useContext)(OU), r = u6(), i = (0, P.useRef)(null);return (0, P.useEffect)(() => {- e.startsWith("/settings/") && RV(document.getElementById("stats"), { section: oV(e) });+ e.startsWith("/settings/") && UV(document.getElementById("stats"), { section: dV(e) });}, [e]), (0, P.useEffect)(() => {if (t || !n || !r || i.current) return;let a = {@@ -75169,7 +75349,7 @@ function qje({ path: e, covered: t }) {controller: new AbortController()};i.current = a, queueMicrotask(() => {- a.live && Kje(e, n, a);+ a.live && _Me(e, n, a);});}, [r]), (0, P.useEffect)(() => () => {let e = i.current;@@ -75177,42 +75357,42 @@ function qje({ path: e, covered: t }) {e.live = !1, e.controller.abort();let t = document.getElementById("stats");queueMicrotask(() => {- t && e.revision && !t.hidden && NV(t)?.revision === e.revision && zV(t);+ t && e.revision && !t.hidden && RV(t)?.revision === e.revision && WV(t);});}, []), null;}-function Jje() {- let e = l6(), t = (0, P.useRef)(!1);+function yMe() {+ let e = u6(), t = (0, P.useRef)(!1);return (0, P.useEffect)(() => {- if (!e || t.current || hV(JV.navigation.location.pathname)) return;+ if (!e || t.current || bV($V.navigation.location.pathname)) return;t.current = !0;let n = !0;return queueMicrotask(() => {- n && YV("/data-cleanup#resource-sync", { replace: !0 });+ n && eH("/data-cleanup#resource-sync", { replace: !0 });}), () => {n = !1;};}, [e]), null;}// src/react/router/route-chunk.ts-var h6 = [], g6 = "peach.chunkReloadAt", Yje = 3e4;-async function Xje() {+var g6 = [], _6 = "peach.chunkReloadAt", bMe = 3e4;+async function xMe() {try {- let e = Number(sessionStorage.getItem(g6) || 0);- if (Date.now() - e < Yje || !(await fetch("/healthz", {+ let e = Number(sessionStorage.getItem(_6) || 0);+ if (Date.now() - e < bMe || !(await fetch("/healthz", {cache: "no-store",credentials: "same-origin"})).ok) return;- sessionStorage.setItem(g6, String(Date.now())), location.reload();+ sessionStorage.setItem(_6, String(Date.now())), location.reload();} catch {}}-function _6(e) {+function v6(e) {let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {throw n = null, e;});- return h6.push(r), {+ return g6.push(r), {preload: () => r().catch(async (e) => {- throw await Xje(), e;+ throw await xMe(), e;}),get: () => {if (!t) throw Error("页面代码还没装载");@@ -75220,10 +75400,10 @@ function _6(e) {}};}-function Zje() {+function SMe() {let e = globalThis.requestIdleCallback;if (typeof e != "function") return;- let t = [...h6], n = () => {+ let t = [...g6], n = () => {let r = t.shift();r && e(() => {r().catch(() => {}).finally(n);@@ -75232,31 +75412,31 @@ function Zje() {document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });}// src/react/router/managed-routes.tsx-async function v6(e, t) {+async function y6(e, t) {let [n, r] = await Promise.allSettled([e.preload(), t]);if (r.status === "rejected") throw r.reason;if (n.status === "rejected") throw n.reason;}-var y6 = _6(() => import("./peach-app.jav-page-C5uPjDXP.js")), b6 = _6(() => import("./peach-app.stats-page-CZ4vUHOu.js")), x6 = _6(() => import("./peach-app.taste-page-BDCc6-Mw.js")), S6 = _6(() => import("./peach-app.review-page-BoybwF8-.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-Ctwipl6H.js")), w6 = _6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), T6 = _6(() => import("./peach-app.quality-goals-page-DwyqtX3v.js")), E6 = _6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), D6 = _6(async () => {- let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-DYCnGeTI.js"), import("./peach-app.diagnostics-page-CZQmu5mE.js")]);+var b6 = v6(() => import("./peach-app.jav-page-C5uPjDXP.js")), x6 = v6(() => import("./peach-app.stats-page-BJbvUxyv.js")), S6 = v6(() => import("./peach-app.taste-page-nSIqYyl-.js")), C6 = v6(() => import("./peach-app.review-page-BoybwF8-.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-Ctwipl6H.js")), T6 = v6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), E6 = v6(() => import("./peach-app.quality-goals-page-DwyqtX3v.js")), D6 = v6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), O6 = v6(async () => {+ let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-Cpe1NwYj.js"), import("./peach-app.diagnostics-page-CZQmu5mE.js")]);return {ConfigurationPage: e,DiagnosticsPage: t};-}), O6 = _6(() => import("./peach-app.activity-page-B66P-r0P.js")), k6 = _6(() => import("./peach-app.follow-manage-page-36Z6mSDD.js")), A6 = _6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));-function Qje(e, t, n) {+}), k6 = v6(() => import("./peach-app.activity-page-B66P-r0P.js")), A6 = v6(() => import("./peach-app.follow-manage-page-36Z6mSDD.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));+function CMe(e, t, n) {if (e === "duplicates") {n("/duplicates");return;}let r = t.managePath(e);- N6(r) ? n(r) : t.openManage(e);+ P6(r) ? n(r) : t.openManage(e);}-var j6 = (e) => ({- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: e }),- prefetch: (t, n) => v6(D6, Promise.all([iEe(n), ...e === "/settings/diagnostics" ? [Ewe(n)] : []]).then(() => {})),+var M6 = (e) => ({+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: e }),+ prefetch: (t, n) => y6(O6, Promise.all([kEe(n), ...e === "/settings/diagnostics" ? [Zwe(n)] : []]).then(() => {})),page: (t, n) => {- let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();+ let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();return /* @__PURE__ */ (0, F.jsx)(r, {receipt: (e) => n.receipt(e),reopenTutorial: n.reopenTutorial,@@ -75267,12 +75447,12 @@ var j6 = (e) => ({})});}-}), M6 = {+}), N6 = {"/jav": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/jav" }),- prefetch: (e, t) => v6(y6, gTe(e.tab, t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/jav" }),+ prefetch: (e, t) => y6(b6, VTe(e.tab, t)),page: (e, t) => {- let { JavPage: n } = y6.get();+ let { JavPage: n } = b6.get();return /* @__PURE__ */ (0, F.jsx)(n, {...e,navigate: t.navigate,@@ -75281,10 +75461,10 @@ var j6 = (e) => ({}},"/stats": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/stats" }),- prefetch: (e, t) => v6(b6, tAe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/stats" }),+ prefetch: (e, t) => y6(x6, EAe(t)),page: (e, t) => {- let { StatsPage: n } = b6.get();+ let { StatsPage: n } = x6.get();return /* @__PURE__ */ (0, F.jsx)(n, {tagLabel: Nl,onTag: t.openTag@@ -75292,10 +75472,10 @@ var j6 = (e) => ({}},"/taste": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/taste" }),- prefetch: (e, t) => v6(x6, UAe("all", t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/taste" }),+ prefetch: (e, t) => y6(S6, mje("all", t)),page: (e, t, n) => {- let { TastePage: r } = x6.get();+ let { TastePage: r } = S6.get();return /* @__PURE__ */ (0, F.jsx)(r, {onSignal: t.openTasteSignal,navigate: n,@@ -75305,10 +75485,10 @@ var j6 = (e) => ({}},"/review": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/review" }),- prefetch: (e, t) => v6(S6, Wbe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/review" }),+ prefetch: (e, t) => y6(C6, gxe(t)),page: (e, t) => {- let { ReviewPage: n } = S6.get();+ let { ReviewPage: n } = C6.get();return /* @__PURE__ */ (0, F.jsx)(n, {...e,route: t.routeReview,@@ -75320,22 +75500,22 @@ var j6 = (e) => ({}},"/data-cleanup": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/data-cleanup" }),- prefetch: (e, t) => v6(C6, Zxe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/data-cleanup" }),+ prefetch: (e, t) => y6(w6, CSe(t)),page: (e, t, n) => {- let { DataCleanupPage: r } = C6.get();+ let { DataCleanupPage: r } = w6.get();return /* @__PURE__ */ (0, F.jsx)(r, {failure: t.failure,- open: (e) => Qje(e, t, n),+ open: (e) => CMe(e, t, n),toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)});}},"/duplicates": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/duplicates" }),- prefetch: (e, t) => v6(w6, obe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/duplicates" }),+ prefetch: (e, t) => y6(T6, Mbe(t)),page: (e, t) => {- let { DuplicatesPage: n } = w6.get();+ let { DuplicatesPage: n } = T6.get();return /* @__PURE__ */ (0, F.jsx)(n, {openItem: t.openItem,failure: t.failure,@@ -75344,46 +75524,46 @@ var j6 = (e) => ({}},"/quality-goals": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/quality-goals" }),- prefetch: (e, t) => v6(T6, vbe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/quality-goals" }),+ prefetch: (e, t) => y6(E6, Wbe(t)),page: (e, t) => {- let { QualityGoalsPage: n } = T6.get();+ let { QualityGoalsPage: n } = E6.get();return /* @__PURE__ */ (0, F.jsx)(n, {openItem: t.openItem,- javTitleHtml: vF,- javDisplayName: _F,+ javTitleHtml: gF,+ javDisplayName: hF,toast: (e) => t.receipt(e),srcBadge: t.srcBadge});}},"/sources": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/sources" }),- prefetch: (e, t) => v6(E6, JTe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/sources" }),+ prefetch: (e, t) => y6(D6, yEe(t)),page: (e, t) => {- let { ScrapingPage: n } = E6.get();+ let { ScrapingPage: n } = D6.get();return /* @__PURE__ */ (0, F.jsx)(n, { toast: (e) => t.toast(e) });}},- "/settings/library": j6("/settings/library"),- "/settings/subscriptions": j6("/settings/subscriptions"),- "/settings/downloads": j6("/settings/downloads"),- "/settings/network": j6("/settings/network"),- "/settings/maintenance": j6("/settings/maintenance"),- "/settings/diagnostics": j6("/settings/diagnostics"),+ "/settings/library": M6("/settings/library"),+ "/settings/subscriptions": M6("/settings/subscriptions"),+ "/settings/downloads": M6("/settings/downloads"),+ "/settings/network": M6("/settings/network"),+ "/settings/maintenance": M6("/settings/maintenance"),+ "/settings/diagnostics": M6("/settings/diagnostics"),"/tasks": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/tasks" }),- prefetch: (e, t) => v6(O6, mue(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/tasks" }),+ prefetch: (e, t) => y6(k6, Hue(t)),page: () => {- let { ActivityPage: e } = O6.get();+ let { ActivityPage: e } = k6.get();return /* @__PURE__ */ (0, F.jsx)(e, {});}},"/subscriptions": {- element: /* @__PURE__ */ (0, F.jsx)(m6, { path: "/subscriptions" }),- prefetch: (e, t) => v6(k6, yi(t)),+ element: /* @__PURE__ */ (0, F.jsx)(h6, { path: "/subscriptions" }),+ prefetch: (e, t) => y6(A6, yi(t)),page: (e, t) => {- let { FollowManagePage: n } = k6.get();+ let { FollowManagePage: n } = A6.get();return /* @__PURE__ */ (0, F.jsx)(n, {...e,route: t.routeFollowManage,@@ -75393,12 +75573,12 @@ var j6 = (e) => ({});}}-}, N6 = (e) => Object.hasOwn(M6, e), $je = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(Jje, {}) } }, eMe = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(Bje, {}) } }, P6 = {+}, P6 = (e) => Object.hasOwn(N6, e), wMe = { "/resource-sync": { element: /* @__PURE__ */ (0, F.jsx)(yMe, {}) } }, TMe = { "/immerse": { element: /* @__PURE__ */ (0, F.jsx)(dMe, {}) } }, F6 = {"/playlists": {- element: /* @__PURE__ */ (0, F.jsx)(Lje, {}),- prefetch: (e, t) => v6(A6, MTe(t)),+ element: /* @__PURE__ */ (0, F.jsx)(cMe, {}),+ prefetch: (e, t) => y6(j6, rEe(t)),page: (e, t) => {- let { PlaylistsPage: n } = A6.get();+ let { PlaylistsPage: n } = j6.get();return /* @__PURE__ */ (0, F.jsx)(n, {revision: e.revision,openPlaylist: t.openPlaylist,@@ -75409,14 +75589,14 @@ var j6 = (e) => ({}},"/follow": {- element: /* @__PURE__ */ (0, F.jsx)(Fje, {}),+ element: /* @__PURE__ */ (0, F.jsx)(oMe, {}),prefetch: (e, t) => Vi(e, t),- page: (e) => /* @__PURE__ */ (0, F.jsx)(aCe, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(jCe, { ...e })}-}, F6 = (e) => Object.hasOwn(P6, e), I6 = {- element: /* @__PURE__ */ (0, F.jsx)(bje, {}),- prefetch: (e, t) => vSe(e, t),- page: (e, t) => /* @__PURE__ */ (0, F.jsx)(Vwe, {+}, I6 = (e) => Object.hasOwn(F6, e), L6 = {+ element: /* @__PURE__ */ (0, F.jsx)(Gje, {}),+ prefetch: (e, t) => WSe(e, t),+ page: (e, t) => /* @__PURE__ */ (0, F.jsx)(fTe, {...e,route: t.routeIndex,savePreference: t.savePeopleLayout,@@ -75429,82 +75609,82 @@ var j6 = (e) => ({openFollowAuthor: t.openFollowAuthor,openFollowTag: t.openFollowTag})-}, L6 = {- "/performers": I6,- "/creators": I6,- "/studios": I6,- "/agencies": I6,- "/tags": I6,- "/series": I6}, R6 = {- element: /* @__PURE__ */ (0, F.jsx)(wje, {}),- prefetch: (e) => oSe(e),- page: (e) => /* @__PURE__ */ (0, F.jsx)(xwe, { ...e })+ "/performers": L6,+ "/creators": L6,+ "/studios": L6,+ "/agencies": L6,+ "/tags": L6,+ "/series": L6}, z6 = {- "/performers/*": R6,- "/studios/*": R6,- "/creators/*": R6,- "/series/*": R6,- "/agencies/*": R6,- "/tags/*": R6+ element: /* @__PURE__ */ (0, F.jsx)(Yje, {}),+ prefetch: (e) => MSe(e),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(Kwe, { ...e })}, B6 = {+ "/performers/*": z6,+ "/studios/*": z6,+ "/creators/*": z6,+ "/series/*": z6,+ "/agencies/*": z6,+ "/tags/*": z6+}, V6 = {"/": {- element: /* @__PURE__ */ (0, F.jsx)(i6, {}),- prefetch: (e, t) => NM(e, t),+ element: /* @__PURE__ */ (0, F.jsx)(a6, {}),+ prefetch: (e, t) => gce(e, t),page: (e) => /* @__PURE__ */ (0, F.jsx)(cY, { ...e })},"/junk-files": {- element: /* @__PURE__ */ (0, F.jsx)(i6, {}),+ element: /* @__PURE__ */ (0, F.jsx)(a6, {}),prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, F.jsx)(nTe, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(DTe, { ...e })}-}, V6 = (e) => Object.hasOwn(B6, e), tMe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(yge, { ...e }) : /* @__PURE__ */ (0, F.jsx)(B$, { ...e }), H6 = {+}, H6 = (e) => Object.hasOwn(V6, e), EMe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, F.jsx)(Bge, { ...e }) : /* @__PURE__ */ (0, F.jsx)(V$, { ...e }), U6 = {"catalog-filter": {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, F.jsx)(yW, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(NW, { ...e })},"feed-new": {- prefetch: (e) => nSe(e),- page: (e) => /* @__PURE__ */ (0, F.jsx)(Dwe, { ...e })+ prefetch: (e) => OSe(e),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(Qwe, { ...e })},"library-processing": {- prefetch: (e, t) => vH(t),- page: (e) => /* @__PURE__ */ (0, F.jsx)(tMe, { ...e })+ prefetch: (e, t) => CH(t),+ page: (e) => /* @__PURE__ */ (0, F.jsx)(EMe, { ...e })},search: {prefetch: async () => {},- page: (e) => /* @__PURE__ */ (0, F.jsx)(eEe, { ...e })+ page: (e) => /* @__PURE__ */ (0, F.jsx)(TEe, { ...e })}-}, U6 = (e) => Object.hasOwn(H6, e), W6 = {+}, W6 = (e) => Object.hasOwn(U6, e), G6 = {"batch-dock": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(Doe, {})+ page: () => /* @__PURE__ */ (0, F.jsx)($oe, {})},"glow-picker": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(lse, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(kse, {})},"manage-header": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(Jle, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(Sue, {})},immerse: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(Wce, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(vle, {})},"settings-panel": {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(CEe, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(JEe, {})},sidebar: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)(LEe, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(cDe, {})},stage: {prefetch: async () => {},- page: () => /* @__PURE__ */ (0, F.jsx)($ke, {})+ page: () => /* @__PURE__ */ (0, F.jsx)(wAe, {})}-}, G6 = (e) => Object.hasOwn(W6, e), K6 = [+}, K6 = (e) => Object.hasOwn(G6, e), q6 = ["/","/wall","/unseen",@@ -75514,99 +75694,99 @@ var j6 = (e) => ({"/junk-files"];[- ...Object.keys(M6),- ...Object.keys(P6),- ...Object.keys(L6),- ...Object.keys(z6),- ...K6+ ...Object.keys(N6),+ ...Object.keys(F6),+ ...Object.keys(R6),+ ...Object.keys(B6),+ ...q6];-var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);-function J6(e) {- return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];+var J6 = (e) => P6(e) || I6(e) || Object.hasOwn(R6, e) || Object.hasOwn(B6, e) || H6(e) || W6(e) || K6(e);+function Y6(e) {+ return P6(e) ? N6[e] : I6(e) ? F6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : K6(e) ? G6[e] : Object.hasOwn(R6, e) ? R6[e] : B6[e];}-function nMe(e, t, n) {- return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));+function DMe(e, t, n) {+ return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));}-function rMe(e, t, n, r) {- return J6(e).page(t, n, r);+function OMe(e, t, n, r) {+ return Y6(e).page(t, n, r);}// src/react/application-residents.ts-var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();-function iMe(e) {- return Y6 = e, X6 && e(X6), () => {- Y6 === e && (Y6 = null);+var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();+function kMe(e) {+ return X6 = e, Z6 && e(Z6), () => {+ X6 === e && (X6 = null);};}-function aMe(e) {- return Y6 && (X6 = e, Y6(e), ehe(Promise.resolve(nMe)), Zje()), Promise.resolve();+function AMe(e) {+ return X6 && (Z6 = e, X6(e), xhe(Promise.resolve(DMe)), SMe()), Promise.resolve();}-async function $6(e, t, n = (e) => e) {- let r = Z6;- if (t.isConnected || Q6.add(t), !await LV(e, {}, {+async function e8(e, t, n = (e) => e) {+ let r = Q6;+ if (t.isConnected || $6.add(t), !await HV(e, {}, {container: t,resident: !0,- isCurrent: () => !!Y6 && r === Z6,+ isCurrent: () => !!X6 && r === Q6,place: () => n(t)- }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");+ }) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");+}+function jMe() {+ Q6 += 1, X6 = null, Z6 = null, t8 = null, n8 = null, a8 = null, o8 = null, c8 = null, l8 = null, d8 = null, f8 = null, m8 = null, h8 = null, _8 = null, v8 = null, b8 = null;+ for (let e of $6) e.remove();+ $6.clear(), JQ();+}+var t8 = null, n8 = null;+function r8(e) {+ return t8 ??= (async () => {+ let t = CAe(e), n = document.createElement("div");+ return n.dataset.stageHost = "", await e8("stage", n, (e) => (document.body.append(e), e)), n8 = t, t;+ })(), t8;+}+var i8 = () => n8, a8 = null, o8 = null;+function MMe(e) {+ return a8 ??= (async () => {+ let t = _le(e), n = document.createElement("div");+ return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;+ })(), a8;+}+var s8 = () => o8, c8 = null, l8 = null;+function NMe(e) {+ return c8 ??= (async () => {+ let t = qEe(e), n = document.createElement("div");+ return n.dataset.settingsHost = "", await e8("settings-panel", n, (e) => (document.body.append(e), e)), l8 = t, t;+ })(), c8;+}+var u8 = () => l8, d8 = null, f8 = null;+function PMe(e) {+ return d8 ??= (async () => {+ let t = sDe(e);+ return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;+ })(), d8;+}+var p8 = () => f8, m8 = null, h8 = null;+function FMe(e) {+ return m8 ??= (async () => {+ let t = xue(e);+ return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;+ })(), m8;+}+var g8 = () => h8, _8 = null, v8 = null;+function IMe(e) {+ return _8 ??= (async () => {+ let t = Qoe(e);+ return await e8("batch-dock", e.root), v8 = t, t;+ })(), _8;}-function oMe() {- Z6 += 1, Y6 = null, X6 = null, e8 = null, t8 = null, i8 = null, a8 = null, s8 = null, c8 = null, u8 = null, d8 = null, p8 = null, m8 = null, g8 = null, _8 = null, y8 = null;- for (let e of Q6) e.remove();- Q6.clear(), qQ();-}-var e8 = null, t8 = null;-function n8(e) {- return e8 ??= (async () => {- let t = Qke(e), n = document.createElement("div");- return n.dataset.stageHost = "", await $6("stage", n, (e) => (document.body.append(e), e)), t8 = t, t;- })(), e8;-}-var r8 = () => t8, i8 = null, a8 = null;-function sMe(e) {- return i8 ??= (async () => {- let t = Uce(e), n = document.createElement("div");- return n.dataset.immerseHost = "", await $6("immerse", n, (e) => (document.body.append(e), e)), a8 = t, t;- })(), i8;-}-var o8 = () => a8, s8 = null, c8 = null;-function cMe(e) {- return s8 ??= (async () => {- let t = SEe(e), n = document.createElement("div");- return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;- })(), s8;-}-var l8 = () => c8, u8 = null, d8 = null;-function lMe(e) {- return u8 ??= (async () => {- let t = IEe(e);- return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;- })(), u8;-}-var f8 = () => d8, p8 = null, m8 = null;-function uMe(e) {- return p8 ??= (async () => {- let t = qle(e);- return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;- })(), p8;-}-var h8 = () => m8, g8 = null, _8 = null;-function dMe(e) {- return g8 ??= (async () => {- let t = Eoe(e);- return await $6("batch-dock", e.root), _8 = t, t;- })(), g8;-}-var v8 = () => _8, y8 = null;-function fMe(e) {- return y8 ??= (async () => {- cse(e), await $6("glow-picker", e.root);- })(), y8;-}-function b8(e, t, n, r) {- JQ(e, t), YQ(n, r);+var y8 = () => v8, b8 = null;+function LMe(e) {+ return b8 ??= (async () => {+ Ose(e), await e8("glow-picker", e.root);+ })(), b8;+}+function x8(e, t, n, r) {+ YQ(e, t), XQ(n, r);}// src/application/effects.ts-var x8 = class {+var S8 = class {cleanups = /* @__PURE__ */ new Set();active = !0;disposed = !1;@@ -75687,12 +75867,12 @@ var x8 = class {}if (e.length) throw AggregateError(e, "应用资源清理未全部完成");}-}, J = new x8();-function pMe() {- return J.dispose(), J = new x8(), J;+}, J = new S8();+function RMe() {+ return J.dispose(), J = new S8(), J;}// src/application/receipts.js-var S8 = {+var C8 = {toastBody: void 0,toastSeq: void 0,toast: void 0,@@ -75702,13 +75882,13 @@ var S8 = {rollSeed: void 0,seededSample: void 0};-function mMe() {- JQ(L("#toasts"), {+function zMe() {+ YQ(L("#toasts"), {success: R("check"),error: R("circle-alert")- }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), S8.toastSeq = 0, S8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {- let a = `toast-${++S8.toastSeq}`, o = (e, t, n, r) => {- No(i || (t ? "error" : "success")), b8(L("#toasts"), {+ }), C8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), C8.toastSeq = 0, C8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {+ let a = `toast-${++C8.toastSeq}`, o = (e, t, n, r) => {+ No(i || (t ? "error" : "success")), x8(L("#toasts"), {success: R("check"),error: R("circle-alert")}, a, {@@ -75723,13 +75903,13 @@ function mMe() {} : null});};- return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };- }, S8.liftToastsOverTutorial = () => {+ return o(C8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(C8.toastBody(e), t, n, null) };+ }, C8.liftToastsOverTutorial = () => {let e = L("#postSetupTutorial"), t = L("#toasts"), n = e.hidden ? innerHeight : e.getBoundingClientRect().top;e.hidden || !e.offsetHeight || n < 160 ? t.style.removeProperty("--toast-bottom") : t.style.setProperty("--toast-bottom", `${Math.round(innerHeight - n + 12)}px`);- }, J.resize(S8.liftToastsOverTutorial).observe(L("#postSetupTutorial")), J.listen.bind(J, window)("resize", S8.liftToastsOverTutorial), S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {+ }, J.resize(C8.liftToastsOverTutorial).observe(L("#postSetupTutorial")), J.listen.bind(J, window)("resize", C8.liftToastsOverTutorial), C8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {let r = null;- return r = S8.toast({ text: e }, {+ return r = C8.toast({ text: e }, {timeout: n,action: t ? {label: "撤销",@@ -75742,14 +75922,14 @@ function mMe() {}} : null}), r;- }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => zn(), S8.seededSample = (e, t, n, r = (e) => e.k) => {+ }, C8.actionFailure = (e, t) => C8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), C8.rollSeed = () => zn(), C8.seededSample = (e, t, n, r = (e) => e.k) => {if (e.length <= t) return e;let i = new Set([...e].sort((e, t) => Rn(n, r(e)) - Rn(n, r(t))).slice(0, t).map(r));return e.filter((e) => i.has(r(e)));};}// src/react/catalog-grid/catalog-state.ts-var hMe = [+var BMe = ["loc","creator","studio",@@ -75770,10 +75950,10 @@ var hMe = ["folder","folder_recursive"];-function C8(e, t, n, r = n.defaultSort) {+function w8(e, t, n, r = n.defaultSort) {return Yk(e, t, n.defaultSort, n.defaultSortDirection, r);}-function gMe(e, t, n) {+function VMe(e, t, n) {let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = fn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;return {loc: i.get("loc") ?? "local,115",@@ -75789,7 +75969,7 @@ function gMe(e, t, n) {region: o("region") || "",year: o("year") || "",state: un[r] || o("state") || "",- ...C8(o("sort"), o("dir"), t),+ ...w8(o("sort"), o("dir"), t),seed: o("seed") || n(),q: o("q") || "",jav: o("jav") || "",@@ -75799,18 +75979,18 @@ function gMe(e, t, n) {folder_recursive: o("folder_recursive") === "0" ? "0" : ""};}-function _Me(e, t) {+function HMe(e, t) {return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;}-function vMe(e) {+function UMe(e) {let t = ln[e.state ?? ""] || "/", n = new URLSearchParams();- for (let t of hMe) {+ for (let t of BMe) {let r = e[t];!r || t === "tag_match" && r === "all" || t === "dir" && r === Kk(e.sort ?? "") || n.set(t, r);}return !ln[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");}-function yMe(e, t, n) {+function WMe(e, t, n) {return {loc: e.loc ?? "",creator: "",@@ -75836,7 +76016,7 @@ function yMe(e, t, n) {folder_recursive: ""};}-function w8(e) {+function T8(e) {return {state: e,barsContext: {@@ -75847,7 +76027,7 @@ function w8(e) {};}// src/react/catalog-grid/catalog-controller.ts-var bMe = class {+var GMe = class {currentRevision = 0;currentPage = "";painting = null;@@ -75892,44 +76072,44 @@ var bMe = class {let e = [...this.waiters.values()];this.waiters.clear(), e.forEach((e) => e());}-}, T8 = 3e4, E8 = 0, xMe = (e, t = E8) => [+}, E8 = 3e4, D8 = 0, KMe = (e, t = D8) => ["facets",e,t-], SMe = (e, t, n = E8) => [+], qMe = (e, t, n = D8) => ["tops",e,t,n-], CMe = (e, t = E8) => [+], JMe = (e, t = D8) => ["tops",e,t];-async function D8(e) {+async function O8(e) {let t = String(e), n = await on(`/api/tops?${t}`), r = new URLSearchParams(t);return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await on(`/api/tops?${r}`));}-function wMe(e, t) {+function YMe(e, t) {return Promise.all([H.fetchQuery({- queryKey: xMe(e),+ queryKey: KMe(e),queryFn: () => on(`/api/facets${e ? `?${e}` : ""}`),- staleTime: T8+ staleTime: E8}), H.fetchQuery({- queryKey: SMe(t, e),- queryFn: () => D8(t),- staleTime: T8+ queryKey: qMe(t, e),+ queryFn: () => O8(t),+ staleTime: E8})]);}-function TMe(e) {+function XMe(e) {return H.fetchQuery({- queryKey: CMe(e),- queryFn: () => D8(e),- staleTime: T8+ queryKey: JMe(e),+ queryFn: () => O8(e),+ staleTime: E8});}-function O8() {- E8 += 1;+function k8() {+ D8 += 1;let e = (e) => e.state.fetchStatus === "idle";H.removeQueries({queryKey: ["facets"],@@ -75940,7 +76120,7 @@ function O8() {});}// src/application/navigation-items.ts-var k8 = [+var A8 = [["","首页",@@ -75991,7 +76171,7 @@ var k8 = ["管理","wrench"]-], A8 = [+], j8 = [["stats","统计",@@ -76037,18 +76217,18 @@ var k8 = ["Peach 配置","folder-cog"]-], j8 = [+], M8 = ["stats","taste","cleanup","follow","activity","configuration"-], EMe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[+], ZMe = (e) => j8.filter(([t]) => M8.includes(t) && (t !== "configuration" || e)), N8 = j8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,t,n-]]), DMe = [...k8, ...M8], OMe = {+]]), QMe = [...A8, ...N8], $Me = {stats: "stats",review: "review","data-cleanup": "cleanup",@@ -76056,18 +76236,18 @@ var k8 = ["follow-manage": "follow",quality: "quality",activity: "activity"-}, N8 = [+}, P8 = [["0", "不限时间"],["7", "最近 7 天"],["30", "最近 30 天"],["90", "最近 90 天"]];// src/react/index/index-controller.ts-function P8({ kind: e, q: t, scope: n, view: r, category: i }) {+function F8({ kind: e, q: t, scope: n, view: r, category: i }) {let a = new URLSearchParams();return t && a.set("q", t), e === "tags" && (a.set("view", r), n === "online" && a.set("scope", n), i !== "all" && a.set("category", i)), e === "performers" && n === "online" && a.set("scope", n), e === "performers" && n !== "online" && i !== "all" && a.set("category", i), `/${e}` + (a.size ? `?${a}` : "");}-function F8(e, t, n) {+function I8(e, t, n) {let r = e.entity_id || e.id, i = t === "studio" || t === "agency";return {html: Za(e.k, r ? {@@ -76080,20 +76260,20 @@ function F8(e, t, n) {face: $a(e.avatar_focus)};}-function I8(e) {+function L8(e) {let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Sa({ fallbacks: [e.avatar_fallback || ""] })}>` : "";return `<span class="ini">${z(n)}</span>${r}`;}-function kMe(e) {+function eNe(e) {let t = (t) => {e.adoptFollowView(t), e.hideIndex(), e.openPage(ua(t));};return {route(t, { replace: n = !1 } = {}) {- e.route(P8(t), n);+ e.route(F8(t), n);},- personAvatar: F8,- authorAvatar: I8,+ personAvatar: I8,+ authorAvatar: L8,openFollowAuthor(n) {t(da(e.followView(), n));},@@ -76103,7 +76283,7 @@ function kMe(e) {};}// src/application/source-action.ts-function AMe(e) {+function tNe(e) {return async (t, n, { button: r = null } = {}) => {if (r?.getAttribute("aria-busy") === "true") return;let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";@@ -76118,36 +76298,36 @@ function AMe(e) {};}// src/react/entity-page/entity-route.ts-var L8 = () => Object.fromEntries(PX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));-function R8(e, t) {- let n = new URLSearchParams(e), r = L8();+var R8 = () => Object.fromEntries(PX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));+function z8(e, t) {+ let n = new URLSearchParams(e), r = R8();for (let e of PX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");return {...r,...Yk(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")};}-function z8(e) {+function B8(e) {let t = new URLSearchParams();for (let n of PX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Kk(e.sort || "") || t.set(n, e[n]);return t.toString();}-function B8(e) {+function V8(e) {let t = new URLSearchParams(e), n = t.get("set") || "", r = t.get("media");return {media: r === "photos" || r === "online" ? r : "videos",set: r === "photos" && /^\d+$/.test(n) ? Number(n) : 0};}-function V8(e, t) {- let n = new URLSearchParams(z8(e));+function H8(e, t) {+ let n = new URLSearchParams(B8(e));return t?.media === "photos" ? (n.set("media", "photos"), t.set && n.set("set", String(t.set))) : t?.media === "online" && n.set("media", "online"), n.toString();}-function jMe(e, t, n, r) {- let i = V8(n, r);+function nNe(e, t, n, r) {+ let i = H8(n, r);return hn(e, t) + (i ? `?${i}` : "");}-function MMe() {+function rNe() {let e = "";return {fresh(t, n) {@@ -76156,22 +76336,22 @@ function MMe() {read(t, n, r, i) {let a = e === hn(t, n) && !r;e = "";- let o = a ? L8() : { ...R8(r, i) };+ let o = a ? R8() : { ...z8(r, i) };return t === "creator" && (o.creator = ""), {filters: o,media: a ? {media: "videos",set: 0- } : B8(r)+ } : V8(r)};}};}// src/react/entity-page/photo-surface.ts-function NMe(e, t) {+function iNe(e, t) {return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();}-function PMe(e) {+function aNe(e) {let t = () => {let t = e.preferences();for (let n of e.walls()) n.dataset.size = t.size, n.dataset.layout = "fixed", n.dataset.imagesOnly = String(t.imagesOnly);@@ -76193,12 +76373,12 @@ function PMe(e) {};}// src/react/entity-page/entity-controller.ts-function FMe(e, t, n) {+function oNe(e, t, n) {let r = (t, n, r, i = {media: "videos",set: 0}, { push: a = !0 } = {}) => {- if (a && e.route(jMe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;+ if (a && e.route(nNe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;e.releaseBodyPreviews();let o = e.state();return e.push({@@ -76212,7 +76392,7 @@ function FMe(e, t, n) {if (s) return s;let c = () => {let n = e.context();- return n?.kind === t && n.name === a ? n.filters : L8();+ return n?.kind === t && n.name === a ? n.filters : R8();}, l = {...n,route: (e, n) => {@@ -76276,7 +76456,7 @@ function FMe(e, t, n) {};}// src/react/entity-page/entity-loading.ts-function IMe(e) {+function sNe(e) {return async (t, n, r) => {!e.shapesReady(t, n) && (await e.waitShapes(), !r()) || (e.paintSkeleton(t, n), e.resetView(), e.loadShapes().then(() => {r() && e.syncParts(t, n);@@ -76284,7 +76464,7 @@ function IMe(e) {};}// src/react/entity-page/entity-portrait.ts-function LMe(e, t) {+function cNe(e, t) {let n = e === "studio" || e === "agency", r = t.id ? Xa({kind: e,id: t.id,@@ -76306,11 +76486,11 @@ function LMe(e, t) {return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Sa({ fallbacks: [i.avatar_fallback || ""] })}>` : "");}// src/react/entity-page/entity-application.ts-function RMe(e) {- let t = MMe(), n = {+function lNe(e) {+ let t = rNe(), n = {...e.helpers,- portraitImg: LMe- }, r = FMe(e.controller, n, e.actions);+ portraitImg: cNe+ }, r = oNe(e.controller, n, e.actions);return {...r,helpers: n,@@ -76319,12 +76499,12 @@ function RMe(e) {let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());return r.props(n, i, o, s);},- loading: IMe(e.loading),- photos: PMe(e.photos)+ loading: sNe(e.loading),+ photos: aNe(e.photos)};}// src/card-art/feed-identity.ts-function zMe(e) {+function uNe(e) {let t = e.performer_refs || [], n = [...new Set((e.performers || "").split(/[,,、;/]/).map((e) => e.trim()).filter(Boolean))], r = t.length ? t : n.map((e) => ({ name: e })), i = r.slice(0, 3).map((t) => {let n = e.code && t.source_actor_id && t.source_avatar && !t.has_image && !t.has_avatar, r = n ? ` data-feed-source-avatar data-code="${z(e.code)}" data-actor="${z(t.source_actor_id)}" data-name="${z(t.name)}"` : "", i = n ? "" : Za(t.name, t, null);return "id" in t && t.id ? `<a class="mav"${r} href="${z(hn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;@@ -76332,7 +76512,7 @@ function zMe(e) {return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;}// src/application/feed.js-var H8 = {+var U8 = {FEED_SKELETON_CARDS: void 0,feedNewSkeletonHtml: void 0,entityShapes: void 0,@@ -76348,56 +76528,56 @@ var H8 = {feedNewActions: void 0,HERO_WIDE_PX: void 0};-function U8(e) {+function W8(e) {return e.has_cover ? no(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Cs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : no(e, "big").replace(/ src="[^"]*"/, ` src="${z(Ka(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");}-function BMe(e) {- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = U8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? vF({+function dNe(e) {+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = W8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? gF({is_jav: !0,code: e.code,name: e.code,display_title: e.title || ""}) : z(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${z(r)} 的作品详情"></a>` : "";return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">- ${a}<div class="pic" style="--card-ratio:${CA}">${n}+ ${a}<div class="pic" style="--card-ratio:${DA}">${n}<div class="hovertools feednewtools"><button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button><button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button><button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${R("check")}</button></div></div>- <div class="meta">${zMe(e)}<div class="mtext"><span class="t">${i}</span>+ <div class="meta">${uNe(e)}<div class="mtext"><span class="t">${i}</span><div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;}-function VMe() {+function fNe() {let e = document.getElementById("peach-entity-shape");if (e) try {let t = JSON.parse(e.textContent || "null");if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;- H8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${wn(e)}`, t.parts]));+ U8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${wn(e)}`, t.parts]));} catch {}}-async function W8() {+async function G8() {let e = J, t = await on("/api/entity/shapes", { signal: e.signal }).catch(() => null);- return e.isActive && t && !t.error && (H8.entityShapesComplete = !0, H8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${wn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && K8(t.home.feed), X8(location.pathname) && q8(L("#feedNew"))), H8.entityShapes;+ return e.isActive && t && !t.error && (U8.entityShapesComplete = !0, U8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${wn(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && q8(t.home.feed), Z8(location.pathname) && J8(L("#feedNew"))), U8.entityShapes;}-var G8 = "peach.home-feed.v1";-function K8(e) {+var K8 = "peach.home-feed.v1";+function q8(e) {X.homeHasFeed = e;try {- localStorage.setItem(G8, e ? "1" : "0");+ localStorage.setItem(K8, e ? "1" : "0");} catch {}}-function HMe() {+function pNe() {try {- let e = localStorage.getItem(G8);+ let e = localStorage.getItem(K8);return e === "1" || e !== "0" && null;} catch {return null;}}-function q8(e) {- !e || PV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = H8.feedNewSkeletonHtml())));+function J8(e) {+ !e || zV(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = U8.feedNewSkeletonHtml())));}-function UMe(e, t) {+function mNe(e, t) {return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : bs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {variant: "warning",className: "feednetwork",@@ -76405,55 +76585,55 @@ function UMe(e, t) {actionHref: "/sources"});}-function J8(e) {- let t = e && !e.error && e.items || [];- return UMe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(BMe).join("")}</div>`;-}function Y8(e) {- e && (e9(e), Z.appSettings.feedAutoScroll && yc(e));+ let t = e && !e.error && e.items || [];+ return mNe(e?.cover_network, t) + `<div class="feednewrow srow">${t.map(dNe).join("")}</div>`;}function X8(e) {+ e && (t9(e), Z.appSettings.feedAutoScroll && yc(e));+}+function Z8(e) {return fn(e) && e !== "/junk-files";}-function WMe() {+function hNe() {let e = L("#feedNew");- PV(e) ? RV(e, { revision: ++H8.feedRevision }) : (q8(e), LV("feed-new", {+ zV(e) ? UV(e, { revision: ++U8.feedRevision }) : (J8(e), HV("feed-new", {host: e,- revision: H8.feedRevision,- helpers: H8.feedNewHelpers,- actions: H8.feedNewActions+ revision: U8.feedRevision,+ helpers: U8.feedNewHelpers,+ actions: U8.feedNewActions}, {container: e,- isCurrent: () => X8(location.pathname)+ isCurrent: () => Z8(location.pathname)}));}-function Z8() {+function Q8() {let e = L("#feedNew");- e.querySelectorAll(".feednewrow").forEach(bc), zV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");+ e.querySelectorAll(".feednewrow").forEach(bc), WV(e), e.hidden = !0, e.innerHTML = "", e.removeAttribute("aria-busy");}-function Q8() {- H8.feedRevision += 1, RV(L("#feedNew"), { revision: H8.feedRevision }), a5({ feedRevision: H8.feedRevision });+function $8() {+ U8.feedRevision += 1, UV(L("#feedNew"), { revision: U8.feedRevision }), o5({ feedRevision: U8.feedRevision });}-function GMe() {+function gNe() {document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? yc(e) : bc(e));}-var $8 = 0;-function KMe([e]) {- let t = e.contentRect.width >= H8.HERO_WIDE_PX;- cancelAnimationFrame($8), $8 = requestAnimationFrame(() => {- $8 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);+var e5 = 0;+function _Ne([e]) {+ let t = e.contentRect.width >= U8.HERO_WIDE_PX;+ cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {+ e5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);});}-function qMe() {- H8.FEED_SKELETON_CARDS = 8, H8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${CA}"></div>+function vNe() {+ U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${DA}"></div><div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>- <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(H8.FEED_SKELETON_CARDS)}</div>`, H8.entityShapes = null, H8.entityShapesComplete = !1, H8.hasEntityShape = (e, t) => H8.entityShapesComplete || !!H8.entityShapes?.has(`${e}/${wn(t)}`), H8.hasEntityPart = (e, t, n) => !!t && !!H8.entityShapes?.get(`${e}/${wn(t)}`)?.includes(n), H8.feedNewSkeletonSection = () => `<section class="feednew">${H8.feedNewSkeletonHtml()}</section>`, H8.COSTAR_SKELETON_PEOPLE = 12, H8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(H8.COSTAR_SKELETON_PEOPLE)}</div></div>`, H8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, H8.feedRevision = 0, H8.feedNewHelpers = {- feedRowHtml: J8,- wireFeedRow: (e) => Y8(e)- }, H8.feedNewActions = { settled: (e) => K8(e) }, H8.HERO_WIDE_PX = 900, J.resize(KMe).observe(L("#index"));+ <div class="s mono"><span class="skeleton">​</span></div></div></div></article>`.repeat(U8.FEED_SKELETON_CARDS)}</div>`, U8.entityShapes = null, U8.entityShapesComplete = !1, U8.hasEntityShape = (e, t) => U8.entityShapesComplete || !!U8.entityShapes?.has(`${e}/${wn(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${wn(t)}`)?.includes(n), U8.feedNewSkeletonSection = () => `<section class="feednew">${U8.feedNewSkeletonHtml()}</section>`, U8.COSTAR_SKELETON_PEOPLE = 12, U8.costarSkeletonFoot = () => `<div class="entityfoot" data-entity-foot><div class="relatedpeople" data-related-people>${"<button type=\"button\" disabled tabindex=\"-1\"><span class=\"skeleton\" data-hero-ring></span><span class=\"skeleton\" data-hero-costar-name>​</span></button>".repeat(U8.COSTAR_SKELETON_PEOPLE)}</div></div>`, U8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, U8.feedRevision = 0, U8.feedNewHelpers = {+ feedRowHtml: Y8,+ wireFeedRow: (e) => X8(e)+ }, U8.feedNewActions = { settled: (e) => q8(e) }, U8.HERO_WIDE_PX = 900, J.resize(_Ne).observe(L("#index"));}// src/entity-skeleton.ts-function JMe(e, t, n, r = "") {+function yNe(e, t, n, r = "") {let i = e === "studio" || e === "agency", a = new URLSearchParams(location.search), o = a.get("browse") === "folders" || a.get("folder") ? `<div class="peach-react entity-folder-workspace" data-folder-workspace data-folder-browse><aside data-folder-tree-host><div class="flex flex-col gap-3"><span class="skeleton ui-configuration-skeleton-input"></span>${"<span class=\"skeleton\" style=\"width:75%;height:32px\"></span>".repeat(8)}</div></aside><div class="min-w-0"><div data-folder-header-host><span class="skeleton" style="width:160px;height:32px"></span></div>${n}</div></div>` : n;return `<section data-skeleton="entity/${e}" role="status" aria-label="正在读取资料"><span class="sr-only">正在读取资料</span><div aria-hidden="true" inert><div class="peach-react contents">@@ -76467,10 +76647,10 @@ function JMe(e, t, n, r = "") {<div class="entitysection">${o}</div></div></section>`;}// src/filter-controls-skeleton.ts-var e5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : os(e, "size-4 shrink-0"), t5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", n5 = (e, t, n) => `<span data-entity-layout="" class="${FU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${IU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${t5}>${e5(r)}</span>`).join("")}</span>`;-function r5(e, t) {- let n = xM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? n5(t.label, t.value, t.options) : "";- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${t5}>${e5("shuffle")}</button>${i}${n5("馆藏显示方式", n, [[+var t5 = (e) => e.startsWith("ri-") ? `<svg class="size-4 shrink-0" viewBox="0 0 24 24" fill="currentColor" stroke="none" aria-hidden="true"><use href="#${e}"/></svg>` : os(e, "size-4 shrink-0"), n5 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", r5 = (e, t, n) => `<span data-entity-layout="" class="${BU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${VU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${n5}>${t5(r)}</span>`).join("")}</span>`;+function i5(e, t) {+ let n = NM(), r = new URLSearchParams(location.search), i = t && n === "cards" ? r5(t.label, t.value, t.options) : "";+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${n5}>${t5("shuffle")}</button>${i}${r5("馆藏显示方式", n, [["cards","卡片","ri-layout-grid-line"@@ -76478,7 +76658,7 @@ function r5(e, t) {"list","列表","ri-list-unordered"- ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${t5}>${e5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${t5}>${z(e.label)}${e.dir ? e5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;+ ]])}<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${r.get("browse") === "folders" || !!r.get("folder")}" ${n5}>${t5("ri-folder-3-line")}</button>${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${n5}>${z(e.label)}${e.dir ? t5(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;}// src/application/entity.jsvar Y = {@@ -76506,16 +76686,16 @@ var Y = {sourceToolButtons: void 0,application: void 0};-function i5() {- let e = NV(L("#index"));+function a5() {+ let e = RV(L("#index"));return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;}-function a5(e) {- Y.entityPageCurrent() && RV(L("#index"), e);+function o5(e) {+ Y.entityPageCurrent() && UV(L("#index"), e);}-function o5() {+function s5() {if (Wl.type === "item") return Wl;- let e = i5();+ let e = a5();if (e) {let { kind: t, name: n, filters: r } = e.props;return {@@ -76527,8 +76707,8 @@ function o5() {}return Wl;}-function s5(e, t, n = e7()) {- return HNe(n).map(([n, r]) => {+function c5(e, t, n = t7()) {+ return pPe(n).map(([n, r]) => {let i = e === n, a = qk(n, e, t);return {key: n,@@ -76539,11 +76719,11 @@ function s5(e, t, n = e7()) {};});}-function c5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {+function l5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {return Y.application.route(e, t, n, r, i);}-function l5() {- return NMe({+function u5() {+ return iNe({entityWall: Y.entityPageWall,entityCurrent: Y.entityPageCurrent(),indexVisible: !L("#index").hidden,@@ -76552,37 +76732,37 @@ function l5() {statsVisible: !L("#stats").hidden}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));}-function u5() {+function d5() {Y.photos.sync();}-function d5() {- l5() ? tse(kA()) : HA();+function f5() {+ u5() ? JA(NA()) : KA();}-function YMe(e) {+function bNe(e) {Y.photos.setSize(e);}-var f5 = AMe({+var p5 = tNe({request: (e) => on("/api/reveal", {method: "POST",body: JSON.stringify({ id: e })}),- success: () => S8.toast({ text: "已在资源管理器中显示" }),+ success: () => C8.toast({ text: "已在资源管理器中显示" }),failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))});-async function p5(e) {+async function m5(e) {let t = { textContent: "" };- return await f5(e, t), t.textContent;+ return await p5(e, t), t.textContent;}-async function XMe(e) {+async function xNe(e) {let t = { textContent: "" }, n = [];- return await m5(e, t, (e) => {+ return await h5(e, t, (e) => {e.items && (n = e.items.map((e) => e.id));}), {text: t.textContent,removed: n};}-async function m5(e, t, n) {+async function h5(e, t, n) {t.textContent = "正在核对目录…";try {let r = await on("/api/purge-missing", {@@ -76595,7 +76775,7 @@ async function m5(e, t, n) {}if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);- n && n(r), S8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {+ n && n(r), C8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {await on("/api/batch", {method: "POST",body: JSON.stringify({@@ -76607,22 +76787,22 @@ async function m5(e, t, n) {restored: e.length});} : null });- } else S8.actionReceipt("目录核对完成,无需改动");+ } else C8.actionReceipt("目录核对完成,无需改动");} catch (e) {- t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);+ t.textContent = Y.sourceHint(e.message), C8.actionFailure("核对目录", e);}}-function ZMe(e) {+function SNe(e) {return `<div class="srctools">${Y.sourceToolButtons(e)}<span class="srcstate" aria-live="polite"></span></div>`;}-function QMe(e, t) {+function CNe(e, t) {let n = e.querySelector(".srcstate");if (!n) return;let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");- r && J.handler(r, "onclick", () => f5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => m5(Number(i.dataset.sync), n, t));+ r && J.handler(r, "onclick", () => p5(Number(r.dataset.reveal), n, { button: r })), i && J.handler(i, "onclick", () => h5(Number(i.dataset.sync), n, t));}-async function $Me(e, t) {+async function wNe(e, t) {let n = Bc({title: "添加别名",description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",@@ -76645,53 +76825,53 @@ async function $Me(e, t) {remove: !0});} catch (e) {- S8.actionFailure("撤销别名", e);+ C8.actionFailure("撤销别名", e);return;}- S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {+ C8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {await t({ alias: r });} });}));let { confirmed: i, result: a } = await n.done;- i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {+ i && (a?.added ? C8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {await t({alias: a.alias,remove: !0});- } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));+ } }) : C8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));}-function h5(e, t) {- let n = ["performer", "studio"].includes(e) && H8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${ss()}${e === "agency" ? "" : r5(s5(U.sort, U.dir, n), n ? {+function g5(e, t) {+ let n = ["performer", "studio"].includes(e) && U8.hasEntityPart(e, t, "jav"), r = `<div data-filter-row="bottom" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><h3 data-entity-readout><span data-skeleton="count" class="relative inline-block h-3.5 w-24 rounded-md align-middle skeleton-sheen"></span></h3>${ss()}${e === "agency" ? "" : i5(c5(U.sort, U.dir, n), n ? {name: "jav-layout",label: "JAV 卡片版式",- value: TA(),- options: bA- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${t5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${t5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${t5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = JMe(e, r, e === "agency" ? zs({+ value: kA(),+ options: wA+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${n5}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${n5}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${n5}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = yNe(e, r, e === "agency" ? zs({kind: "performers",- layout: j5.peopleIndexLayout()- }) : UJ("正在读取作品", NA(MA({+ layout: M5.peopleIndexLayout()+ }) : UJ("正在读取作品", LA(IA({active: n,home: !1,portrait: !1}))), i);- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? g5(e, t) : (L("#index").innerHTML = a, g5(e, t), Ks(L("#index")));+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? _5(e, t) : (L("#index").innerHTML = a, _5(e, t), Ks(L("#index")));}-function g5(e, t) {+function _5(e, t) {let n = L("#index").firstElementChild;if (n?.dataset.skeleton !== `entity/${e}`) return;let r = (e, t, n) => {t && !e ? n() : !t && e && e.remove();};- r(n.querySelector(".entityfoot"), e !== "agency" && H8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", H8.costarSkeletonFoot())), r(n.querySelector(".feednew"), H8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", H8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && H8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", H8.factsSkeleton()));+ r(n.querySelector(".entityfoot"), e !== "agency" && U8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", U8.costarSkeletonFoot())), r(n.querySelector(".feednew"), U8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", U8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && U8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", U8.factsSkeleton()));}-function _5(e) {- let t = pn[e] || e, n = V3[t] || "条目", r = V3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";+function v5(e) {+ let t = pn[e] || e, n = H3[t] || "条目", r = H3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });}-function v5(e, t) {- b9(Y.application.fresh(e, t));+function y5(e, t) {+ x9(Y.application.fresh(e, t));}-function eNe() {+function TNe() {Y.ENTITY_FILTER_KEYS = ["loc","creator",@@ -76703,40 +76883,40 @@ function eNe() {"year","sort","dir"- ], Y.emptyEntityFilters = L8, Y.parseEntityFilters = (e) => R8(e, {+ ], Y.emptyEntityFilters = R8, Y.parseEntityFilters = (e) => z8(e, {sort: Z.appSettings.defaultSort,dir: Z.appSettings.defaultSortDirection- }), Y.entityFilterSearch = z8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {+ }), Y.entityFilterSearch = B8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {...e,filters: { ...e.filters }} : e, Y.activeFilterState = () => {- let e = o5();+ let e = s5();return e.type === "home" ? U : e.filters;}, L("#q").value = U.q, X.rememberSearchValue();}-function tNe() {- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!i5(), Y.entityPageLive = (e, t) => {- let n = i5();+function ENe() {+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!a5(), Y.entityPageLive = (e, t) => {+ let n = a5();return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;}, Y.EMPTY_ENTITY_MEDIA = {media: "videos",set: 0- }, Y.parseMediaView = B8, Y.entityViewSearch = V8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => K7(), Y.entityPageHelpers = {+ }, Y.parseMediaView = V8, Y.entityViewSearch = H8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => q7(), Y.entityPageHelpers = {wireDrag: (e) => {- e && e9(e);+ e && t9(e);},wireScroller: (e) => {e && lc(e);},- wireFeedRow: (e) => Y8(e),- feedRowHtml: J8,- receipt: (e, t) => S8.actionReceipt(e, t),- failure: (e, t) => S8.actionFailure(e, t),- aliasForm: (e, t) => $Me(e, t),- sourceToolsHtml: (e) => ZMe(e),- wireSourceTools: (e, t) => QMe(e, t),- comboItems: (e) => F7(e),- sortKeys: (e, t, n) => s5(e, t, n)+ wireFeedRow: (e) => X8(e),+ feedRowHtml: Y8,+ receipt: (e, t) => C8.actionReceipt(e, t),+ failure: (e, t) => C8.actionFailure(e, t),+ aliasForm: (e, t) => wNe(e, t),+ sourceToolsHtml: (e) => SNe(e),+ wireSourceTools: (e, t) => CNe(e, t),+ comboItems: (e) => I7(e),+ sortKeys: (e, t, n) => c5(e, t, n)}, Y.entityFollowActions = {...$.followFeedActions,route: () => {},@@ -76759,11 +76939,11 @@ function tNe() {<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"aria-label="同步删除">${R("folder-sync")}</button>`;}-function nNe() {- Y.application = RMe({+function DNe() {+ Y.application = lNe({controller: {context: () => {- let e = o5();+ let e = s5();return e.type === "entity" ? e : null;},live: (e, t) => Y.entityPageLive(e, t),@@ -76775,28 +76955,28 @@ function nNe() {filters: U} }),releaseBodyPreviews: () => kl(L("#index [data-entity-body]")),- push: a5,+ push: o5,state: () => ({seed: String(U.seed || ""),jav: U.jav === "1"}),preferences: () => ({revision: Y.entityPageRevision,- feedRevision: H8.feedRevision,- photoSize: kA(),- photoLayout: AA(),- photoLayouts: SA,+ feedRevision: U8.feedRevision,+ photoSize: NA(),+ photoLayout: PA(),+ photoLayouts: EA,followImagesOnly: !!Z.appSettings.followImagesOnly,- javLayout: TA(),- javLayouts: bA,+ javLayout: kA(),+ javLayouts: wA,states: X.VIEW_PILLS,- peopleLayout: j5.peopleIndexLayout(),- layout: G7(),+ peopleLayout: M5.peopleIndexLayout(),+ layout: K7(),selectMode: Jl,selected: new Set(Kl),seekSeconds: Z.appSettings.seekSeconds,groupCollapse: Z.appSettings.groupCollapse,- wireDrag: e9,+ wireDrag: t9,skeletonHtml: Y.entityBodySkeleton,canLoadMore: Y.entityBodyCanLoadMore,follow: {@@ -76804,52 +76984,52 @@ function nNe() {actions: Y.entityFollowActions}}),- changeFilter: S7,- rollSeed: () => S8.rollSeed(),+ changeFilter: C7,+ rollSeed: () => C8.rollSeed(),writeSeed: (e) => {U.seed = e, yu();},- setJavLayout: r7,- javLayout: TA,- setPhotoLayout: FA,- syncPhotoWalls: u5,- openEntity: v5,- photoViewActive: l5,+ setJavLayout: i7,+ javLayout: kA,+ setPhotoLayout: zA,+ syncPhotoWalls: d5,+ openEntity: y5,+ photoViewActive: u5,recordPainted: (e, t) => {Y.entityPageView = e, Y.entityPageWall = t;},- syncDensity: d5,- scheduleSticky: u7,- releasePage: () => zV(L("#index")),- showMissing: _5,- dropBars: O8+ syncDensity: f5,+ scheduleSticky: d7,+ releasePage: () => WV(L("#index")),+ showMissing: v5,+ dropBars: k8},loading: {- shapesReady: (e, t) => H8.hasEntityShape(e, t),- waitShapes: R5,- paintSkeleton: h5,+ shapesReady: (e, t) => U8.hasEntityShape(e, t),+ waitShapes: z5,+ paintSkeleton: g5,resetView: () => {vu({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;},- loadShapes: W8,- syncParts: g5+ loadShapes: G8,+ syncParts: _5},photos: {preferences: () => ({- size: kA(),- layout: AA(),+ size: NA(),+ layout: PA(),imagesOnly: !!Z.appSettings.followImagesOnly}),walls: () => document.querySelectorAll(".followphotowall"),- pushEntity: a5,- pushFollow: T9,- syncDensity: d5,- storeSize: $oe+ pushEntity: o5,+ pushFollow: E9,+ syncDensity: f5,+ storeSize: xse},helpers: Y.entityPageHelpers,actions: {- toggleTag: P7,- openFollowAuthor: P5,+ toggleTag: F7,+ openFollowAuthor: F5,javContext: (e) => vu({ entityJavLayout: !!e })},sortPreference: () => ({@@ -76859,8 +77039,8 @@ function nNe() {}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;}// src/application/playlists.js-var y5 = { playlistWrite: void 0 };-function rNe(e, t) {+var b5 = { playlistWrite: void 0 };+function ONe(e, t) {e === "tag" ? (vu({ state: {...U,tag: t,@@ -76870,17 +77050,17 @@ function rNe(e, t) {q: "",state: "",orient: ""- } }), X.clearSearchField(), Q.route(h7()), U5(), M7()) : v5(e, t);+ } }), X.clearSearchField(), Q.route(g7()), W5(), N7()) : y5(e, t);}-function b5(e = "") {+function x5(e = "") {return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;}-async function iNe({ title: e, count: t, save: n }) {+async function kNe({ title: e, count: t, save: n }) {let r = Bc({title: "保存为播放列表",description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,- body: b5(e),+ body: x5(e),confirmLabel: "保存为播放列表",onConfirm: () => {let e = r.dialog.querySelector("[name=\"name\"]").value.trim();@@ -76890,28 +77070,28 @@ async function iNe({ title: e, count: t, save: n }) {});r.dialog.querySelector("[name=\"name\"]").select();let { confirmed: i, result: a } = await r.done;- i && (await o9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {- await y5.playlistWrite({+ i && (await s9(a.id, a.current_asset_id, !0), C8.actionReceipt("已保存为播放列表", { undo: async () => {+ await b5.playlistWrite({action: "delete",id: a.id- }), b9("/playlists");+ }), x9("/playlists");} }));}-async function aNe(e) {+async function ANe(e) {let t = ((await on("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Es(`data-pick-playlist="${e.id}"`)}<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = Bc({title: "加入播放列表",description: "勾选要加入的列表,或者填个名称新建一份。",- body: b5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : bs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),+ body: x5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : bs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),confirmLabel: "保存",confirmDisabled: !0,onConfirm: async () => {- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await y5.playlistWrite({+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await b5.playlistWrite({action: "create",name: t,asset_ids: [e.id]})).playlist : null;- for (let t of r) await y5.playlistWrite({+ for (let t of r) await b5.playlistWrite({action: "add",id: t,asset_ids: [e.id]@@ -76929,42 +77109,42 @@ async function aNe(e) {let { confirmed: i, result: a } = await n.done;if (!i) return;let o = +!!a.created + a.added.length;- S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {- for (let t of a.added) await y5.playlistWrite({+ C8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {+ for (let t of a.added) await b5.playlistWrite({action: "remove",id: t,asset_id: e.id});- a.created && await y5.playlistWrite({+ a.created && await b5.playlistWrite({action: "delete",id: a.created.id});} });}-function x5() {- kl(), i9(!1), H5();- let e = NV(L("#stats"));- e?.path !== "/playlists" || !e.host.isConnected ? vu({ pageOpens: lu + 1 }) : (V5({ manage: !1 }), vu({ playlistsRevision: hu + 1 }));+function S5() {+ kl(), a9(!1), U5();+ let e = RV(L("#stats"));+ e?.path !== "/playlists" || !e.host.isConnected ? vu({ pageOpens: lu + 1 }) : (H5({ manage: !1 }), vu({ playlistsRevision: hu + 1 }));}-function oNe(e) {+function jNe(e) {let t = new URLSearchParams(location.search);for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);Q.route("/review" + (t.size ? "?" + t : ""));}-function S5(e) {- vu({ configurationRequestedSection: e }), Q.navigatePath(uV(e));+function C5(e) {+ vu({ configurationRequestedSection: e }), Q.navigatePath(hV(e));}-function sNe() {- y5.playlistWrite = (e) => on("/api/playlist", {+function MNe() {+ b5.playlistWrite = (e) => on("/api/playlist", {method: "POST",body: JSON.stringify(e)});}// src/react/catalog-grid/selection-controller.ts-function C5(e) {+function w5(e) {return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";}-function w5(e, t, n, r, i = !1) {+function T5(e, t, n, r, i = !1) {return i && (e.selected.clear(), e.followSelected.clear()), {selectMode: r,selectSurface: r ? t.selectMode ? t.selectSurface : n : "",@@ -76972,23 +77152,23 @@ function w5(e, t, n, r, i = !1) {followLastSelectedId: i ? null : t.followLastSelectedId};}-function T5(e, t, n, r, i, a = !1) {+function E5(e, t, n, r, i, a = !1) {let o = n === "follow", s = TY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);return {- ...w5(e, t, n, !0),+ ...T5(e, t, n, !0),...o ? { followLastSelectedId: s } : { lastSelectedId: s }};}-function cNe(e, t, n, r) {- let i = C5(t);+function NNe(e, t, n, r) {+ let i = w5(t);return {count: (i === "follow" ? e.followSelected : e.selected).size,context: i === "catalog" && r === "trash" ? "trash" : i,- junkDismissed: s$(n).view === "dismissed"+ junkDismissed: c$(n).view === "dismissed"};}// src/application/selection.js-var E5 = {+var D5 = {batchDockProps: void 0,trashCount: void 0,currentSelectSurface: void 0,@@ -76996,43 +77176,43 @@ var E5 = {BATCH_RUNNERS: void 0,coverRecheck: void 0};-function D5() {- U7({+function O5() {+ W7({selected: new Set(Kl),selectMode: Jl- }), a5({+ }), o5({selected: new Set(Kl),selectMode: Jl- }), T9({+ }), E9({selected: new Set(ql),selectMode: Jl- }), E5.batchDockProps = vNe(), v8() && (v8().render(E5.batchDockProps), Z.syncGlassOptics());+ }), D5.batchDockProps = UNe(), y8() && (y8().render(D5.batchDockProps), Z.syncGlassOptics());}-function O5(e, t = !1) {- vu(w5({+function k5(e, t = !1) {+ vu(T5({selected: Kl,followSelected: ql- }, A5(), C5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Jl), Jl && kl(), L("#selectMode").setAttribute("aria-pressed", String(Jl)), D5();+ }, j5(), w5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Jl), Jl && kl(), L("#selectMode").setAttribute("aria-pressed", String(Jl)), O5();}-function lNe() {- return [...F5.gridCards()].map((e) => +e.dataset.id);+function PNe() {+ return [...I5.gridCards()].map((e) => +e.dataset.id);}-function k5(e, t = !1) {- vu(T5({+function A5(e, t = !1) {+ vu(E5({selected: Kl,followSelected: ql- }, A5(), C5(location.pathname), lNe(), e, t)), O5(!0);+ }, j5(), w5(location.pathname), PNe(), e, t)), k5(!0);}-function uNe() {+function FNe() {return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);}-function dNe(e, t = !1) {- vu(T5({+function INe(e, t = !1) {+ vu(E5({selected: Kl,followSelected: ql- }, A5(), "follow", uNe(), e, t)), O5(!0);+ }, j5(), "follow", FNe(), e, t)), k5(!0);}-async function fNe(e, t) {+async function LNe(e, t) {let n = {like: "喜欢",seen: "标为看过",@@ -77064,9 +77244,9 @@ async function fNe(e, t) {})});if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- O5(!1, !0), await a7();+ k5(!1, !0), await o7();let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;- S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {+ C8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {if (r === "dispose" && t.restored_reasons) for (let e of [null,"manual",@@ -77091,23 +77271,23 @@ async function fNe(e, t) {operation: r})});- await a7();+ await o7();} : null });} catch (e) {throw kc(t, !1), e;} finally {- kc(t, !1), D5();+ kc(t, !1), O5();}}});}-async function pNe() {+async function RNe() {let e = [...Kl];if (!e.length) return;let t = Bc({title: "判定产地",description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + E5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + D5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}"><span class="chip-label">${t}</span></button>`).join("") + "</div>",confirmLabel: "判定产地",confirmDisabled: !0,@@ -77131,9 +77311,9 @@ async function pNe() {t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;}));let { confirmed: n, result: r } = await t.done;- n && (O5(!1, !0), await a7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));+ n && (k5(!1, !0), await o7(), C8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));}-async function mNe(e, t) {+async function zNe(e, t) {let n = [...ql];if (!n.length) return;let r = {@@ -77159,16 +77339,16 @@ async function mNe(e, t) {items: n,to: e})- }), O5(!1, !0), location.pathname === "/follow" && vu({ pageOpens: lu + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);+ }), k5(!1, !0), location.pathname === "/follow" && vu({ pageOpens: lu + 1 }), C8.actionReceipt(`已${r[e]} ${n.length} 项`);} catch (e) {throw kc(t, !1), e;} finally {- kc(t, !1), D5();+ kc(t, !1), O5();}}});}-async function hNe(e, t) {+async function BNe(e, t) {let n = [...Kl];if (!n.length) return;let r = {@@ -77195,68 +77375,68 @@ async function hNe(e, t) {operation: e,...e === "dispose" ? { disposal_reason: "junk" } : {}})- }), O5(!1, !0), await L7();+ }), k5(!1, !0), await R7();let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;- S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {+ C8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {await on("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: t})- }), await L7();+ }), await R7();} : null });} catch (e) {throw kc(t, !1), e;} finally {- kc(t, !1), D5();+ kc(t, !1), O5();}}});}-function gNe() {- dMe({+function VNe() {+ IMe({root: L("[data-batch-dock]"),run: (e, t, n) => {- E5.BATCH_RUNNERS[e]?.(t, n);+ D5.BATCH_RUNNERS[e]?.(t, n);}}).then((e) => {- e.render(E5.batchDockProps), Z.syncGlassOptics();+ e.render(D5.batchDockProps), Z.syncGlassOptics();}).catch(() => {});}-function _Ne() {- E5.batchDockProps = {+function HNe() {+ D5.batchDockProps = {count: 0,context: "catalog",junkDismissed: !1- }, E5.trashCount = null, E5.currentSelectSurface = () => C5(location.pathname), J.handler(L("#selectMode"), "onclick", () => O5(!Jl, !!Jl)), E5.REGION_CHOICES = [+ }, D5.trashCount = null, D5.currentSelectSurface = () => w5(location.pathname), J.handler(L("#selectMode"), "onclick", () => k5(!Jl, !!Jl)), D5.REGION_CHOICES = [["jp", "日本"],["kr", "韩国"],["cn", "国产"],["west", "欧美"],["other", "其他"],["none", "撤回判定"]- ], E5.BATCH_RUNNERS = {- batch: fNe,- region: pNe,- follow: mNe,- junk: hNe,- clear: () => O5(!1, !0)+ ], D5.BATCH_RUNNERS = {+ batch: LNe,+ region: RNe,+ follow: zNe,+ junk: BNe,+ clear: () => k5(!1, !0)}, J.handler(L("#density"), "onclick", () => {- l5() ? YMe(kA() === "big" ? "small" : "big") : ese();- }), HA(), Dl({+ u5() ? bNe(NA() === "big" ? "small" : "big") : qA();+ }), KA(), Dl({selecting: () => Jl,- censored: () => Q7(),+ censored: () => $7(),delaySeconds: () => Z.appSettings.hoverDelaySeconds}), J.listen(window, "pagehide", () => kl()), J.listen(document, "visibilitychange", () => {document.hidden && kl();- }), wl(), E5.coverRecheck = 0, J.listen(window, "resize", () => {- xl(L("#index")), clearTimeout(E5.coverRecheck), E5.coverRecheck = J.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {+ }), wl(), D5.coverRecheck = 0, J.listen(window, "resize", () => {+ xl(L("#index")), clearTimeout(D5.coverRecheck), D5.coverRecheck = J.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {e.complete && fl(e);}), 200);}, { passive: !0 });}-function A5() {+function j5() {return {selectMode: Jl,selectSurface: Zl,@@ -77264,73 +77444,73 @@ function A5() {followLastSelectedId: Xl};}-function vNe() {- return cNe({+function UNe() {+ return NNe({selected: Kl,followSelected: ql}, location.pathname, location.search, U.state);}// src/application/index.js-var j5 = {+var M5 = {peopleIndexLayout: void 0,personAvatar: void 0};-function yNe() {+function WNe() {return Z.appSettings.followLayout === "table" ? "table" : "default";}-function bNe() {+function GNe() {return LZ(location.search);}-function xNe(e) {+function KNe(e) {return RZ(e);}-function SNe(e) {- Q.route(xNe(e));+function qNe(e) {+ Q.route(KNe(e));}-function CNe(e = "") {+function JNe(e = "") {return zZ(location.search, e);}-function wNe(e) {- return I8(e);+function YNe(e) {+ return L8(e);}-function M5(e) {- return P8(e);+function N5(e) {+ return F8(e);}-function N5() {- L("#stats").hidden = !0, L("#index").hidden = !1, z7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;+function P5() {+ L("#stats").hidden = !0, L("#index").hidden = !1, B7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;}-function TNe(e, t) {+function XNe(e, t) {vu({ state: {...U,state: "",tag: e.join(","),tag_match: t- } }), O5(!1, !1), Q.route(h7()), U5(), g9(), M7();+ } }), k5(!1, !1), Q.route(g7()), W5(), _9(), N7();}-function P5(e) {- j5.controller.openFollowAuthor(e);+function F5(e) {+ M5.controller.openFollowAuthor(e);}-function ENe(e) {- j5.controller.openFollowTag(e);+function ZNe(e) {+ M5.controller.openFollowTag(e);}-function DNe() {+function QNe() {$.FOLLOW_MANAGE_TABS = IZ, J.listen(document, "click", (e) => {- e.target.closest?.("[data-empty-settings]") && S5("媒体库与入库");- }), j5.peopleIndexLayout = () => H3(Z.appSettings.peopleLayout), j5.personAvatar = F8;+ e.target.closest?.("[data-empty-settings]") && C5("媒体库与入库");+ }), M5.peopleIndexLayout = () => U3(Z.appSettings.peopleLayout), M5.personAvatar = I8;}-function ONe() {- j5.controller = kMe({+function $Ne() {+ M5.controller = eNe({route: Q.route,- followView: S9,- adoptFollowView: C9,+ followView: C9,+ adoptFollowView: w9,hideIndex: () => {L("#index").hidden = !0;},- openPage: b9+ openPage: x9});}// src/application/loading.js-var F5 = {+var I5 = {setGridCards: void 0,gridCards: void 0,managementPlaceholder: void 0,@@ -77339,58 +77519,58 @@ var F5 = {ENTITY_SHAPES_WAIT: void 0,syncPageTitle: void 0};-function I5(e = "正在读取作品") {+function L5(e = "正在读取作品") {if (location.pathname === "/wall") {L("#loadSentinel").hidden = !0;return;}let t = L("#count"), n = decodeURIComponent(location.pathname) === "/junk-files";- if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = Qwe(s$(location.search)), Ks(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && w7({+ if (t.classList.toggle("manage-static", n), t.classList.toggle("junkcount", n), n ? (t.setAttribute("aria-busy", "true"), t.setAttribute("aria-label", e), t.innerHTML = CTe(c$(location.search)), Ks(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && T7({count: null,- ...D7()- })), L("#loadSentinel").hidden = !0, H7()) return;- let r = L("#grid"), i = K7(e), a = r.querySelector(".catalog-skeleton");- (a?.dataset.skeleton !== l2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== q7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : F5.setGridCards(i), Ks(L("#grid")));-}-function L5() {- L("#catalogFilter").style.display = "none", C7();+ ...O7()+ })), L("#loadSentinel").hidden = !0, U7()) return;+ let r = L("#grid"), i = q7(e), a = r.querySelector(".catalog-skeleton");+ (a?.dataset.skeleton !== u2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== J7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : I5.setGridCards(i), Ks(L("#grid")));}function R5() {+ L("#catalogFilter").style.display = "none", w7();+}+function z5() {let e = new Promise((e) => {- let t = F5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {+ let t = I5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {let i = performance.now();t -= Math.min(i - n, 50), n = i, t > 0 ? J.delay(r, Math.min(t, 50)) : e();};J.delay(r, 50);});- return Promise.race([F5.entityShapesReady ||= W8(), e]);+ return Promise.race([I5.entityShapesReady ||= G8(), e]);}-function kNe() {+function ePe() {let e = decodeURIComponent(location.pathname);- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), L5();- else if (/^\/assets\/\d+$/.test(e)) L5();- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) L5();- else if (e === "/junk-files") I5("正在读取垃圾文件");- else if (e === "/jav" && S$(new URLSearchParams(location.search).get("tab")) === "library") I5("正在读取馆藏");+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), R5();+ else if (/^\/assets\/\d+$/.test(e)) R5();+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) R5();+ else if (e === "/junk-files") L5("正在读取垃圾文件");+ else if (e === "/jav" && C$(new URLSearchParams(location.search).get("tab")) === "library") L5("正在读取馆藏");else if (Q.managedPagePath(e)) {- L5();+ R5();let t = L("#stats");- t.hidden = !1, z7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : F5.managementPlaceholder(e), Ks(t);- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) L5(), N5(), G3(L("#index"), U3(e.slice(1), location.search), j5.peopleIndexLayout());+ t.hidden = !1, B7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : I5.managementPlaceholder(e), Ks(t);+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) R5(), P5(), K3(L("#index"), W3(e.slice(1), location.search), M5.peopleIndexLayout());else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {- L5(), L("#index").hidden = !1, z7();+ R5(), L("#index").hidden = !1, B7();let t = mn[e.split("/")[1]], n = e.split("/").slice(2).join("/");- (H8.hasEntityShape(t, n) ? Promise.resolve() : R5()).then(() => {- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (h5(t, n), Ks(L("#index")));+ (U8.hasEntityShape(t, n) ? Promise.resolve() : z5()).then(() => {+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (g5(t, n), Ks(L("#index")));});- } else Q.routeMeta(e) ? I5() : (z7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);+ } else Q.routeMeta(e) ? L5() : (B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);}-function ANe() {- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => s2(t, {+function tPe() {+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => c2(t, {cards: !0,className: "follow-content-skeleton postercard-skeleton",gridClass: e === "images" ? "followlist followphotowall" : "",- gridSize: kA()+ gridSize: NA()}), $.followSkeletonHtml = (e = "正在读取关注内容") => `<div class="peach-react"><div class="follow" data-follow-feed><div data-follow-head><h2 data-follow-title>关注</h2></div><div class="tier followauthors" data-skeleton-tier="av"></div>@@ -77398,37 +77578,37 @@ function ANe() {<div class="board-filter-frame" data-filter-frame><div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div><div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>- ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Cs(Ss), F5.setGridCards = (e) => Ls(L("#grid"), () => {+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Cs(Ss), I5.setGridCards = (e) => Ls(L("#grid"), () => {L("#grid").innerHTML = `<div class="grid">${e}</div>`;- }), F5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), F5.managementPlaceholder = (e) => c2(e, {- followLayout: yNe(),+ }), I5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), I5.managementPlaceholder = (e) => l2(e, {+ followLayout: WNe(),...(({ sort: e, dir: t, tab: n }) => ({followSort: e,followDir: t,followTab: n- }))(bNe())- }), F5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", F5.entityShapesReady = null, F5.ENTITY_SHAPES_WAIT = 400, F5.syncPageTitle = (e) => {- let t = new URL(e, location.origin), n = TV(decodeURIComponent(t.pathname))?.title;- document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, m9();+ }))(GNe())+ }), I5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", I5.entityShapesReady = null, I5.ENTITY_SHAPES_WAIT = 400, I5.syncPageTitle = (e) => {+ let t = new URL(e, location.origin), n = AV(decodeURIComponent(t.pathname))?.title;+ document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, h9();};}// src/sidebar-skeleton.ts-var z5 = (e) => e.replace(/[&<>"']/g, (e) => ({+var B5 = (e) => e.replace(/[&<>"']/g, (e) => ({"&": "&","<": "<",">": ">","\"": ""","'": "'"})[e]);-function jNe(e, t, n) {+function nPe(e, t, n) {let r = new Map(t.map((e) => [e[0], e]));return `<div data-sidebar-head=""></div><div data-sidebar-nav="">${e.map((e) => r.get(e)).filter((e) => e !== void 0).map(([e, t, r]) => {- let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${z5(r)}"/></svg>`;- return `<button type="button" data-nav="${z5(e)}" aria-pressed="${n(e)}" aria-label="${z5(t)}">${i}<span>${z5(t)}</span></button>`;+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${B5(r)}"/></svg>`;+ return `<button type="button" data-nav="${B5(e)}" aria-pressed="${n(e)}" aria-label="${B5(t)}">${i}<span>${B5(t)}</span></button>`;}).join("")}</div>`;}// src/application/filter-scroll.js-function MNe(e, t, n, r = !1) {+function rPe(e, t, n, r = !1) {if (t = Math.max(0, t), !e || !n || r || t <= 8) return {y: t,origin: t,@@ -77446,7 +77626,7 @@ function MNe(e, t, n, r = !1) {};}// src/application/layout.js-var B5 = {+var V5 = {sidebarProps: void 0,sidebarSurface: void 0,sidebarCatalog: void 0,@@ -77468,20 +77648,20 @@ var B5 = {mobileFilterHost: void 0,mobileFilterPath: void 0};-function V5({ manage: e = !0, placeholder: t = "" } = {}) {- L("#stats").hidden = !1, L("#index").hidden = !0, z7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? X5() : (Z5(""), g9()), t && u2(L("#stats"), t);-}-function H5() {- X.hideCatalogCombo(), L5(), document.body.classList.remove("entity-open", "index-open");+function H5({ manage: e = !0, placeholder: t = "" } = {}) {+ L("#stats").hidden = !1, L("#index").hidden = !0, B7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? Z5() : (Q5(""), _9()), t && d2(L("#stats"), t);}function U5() {- document.body.classList.remove("entity-open", "index-open"), zV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, X8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", C7(), X5(), Q5();+ X.hideCatalogCombo(), R5(), document.body.classList.remove("entity-open", "index-open");+}+function W5() {+ document.body.classList.remove("entity-open", "index-open"), WV(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Z8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", w7(), Z5(), $5();}-function NNe() {- Q.route("/"), U5();+function iPe() {+ Q.route("/"), W5();}-function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {- h9({+function G5({ tags: e = [], providers: t = [], duration: n = !1 }) {+ g9({content: e.length || t.length || n ? {kind: "follow",tags: e.map(([e, t]) => ({@@ -77504,69 +77684,69 @@ function W5({ tags: e = [], providers: t = [], duration: n = !1 }) {filters: $.followSidebarFilters()});}-function G5(e) {- zPe({- ...S9(),+function K5(e) {+ uFe({+ ...C9(),...e- }), h9({ filters: $.followSidebarFilters() });+ }), g9({ filters: $.followSidebarFilters() });}-function K5() {+function q5() {return matchMedia("(max-width:760px)").matches;}-function q5(e) {+function J5(e) {let t = L("#drawer"), n = !e && t.contains(document.activeElement);- t.inert = !e && K5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");+ t.inert = !e && q5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");}-function PNe() {- K5() && q5(!1);+function aPe() {+ q5() && J5(!1);}-function FNe() {+function oPe() {su === null && (vu({ runtimeConfigurable: !1 }), on("/healthz").then((e) => {- vu({ runtimeConfigurable: !!e.configurable }), su && Y5() && X5();+ vu({ runtimeConfigurable: !!e.configurable }), su && X5() && Z5();}).catch(() => {}));}-function J5(e = "", t = !1) {- if (!t && !cV(location.pathname)) {- let t = JV.navigation;- JV.push(uV(e), { settingsBackground: {+function Y5(e = "", t = !1) {+ if (!t && !pV(location.pathname)) {+ let t = $V.navigation;+ $V.push(hV(e), { settingsBackground: {pathname: location.pathname,search: location.search,state: t.location.state,seq: t.seq} });- } else !t && e && YV(uV(e), {+ } else !t && e && eH(hV(e), {replace: !0,- state: JV.navigation.location.state+ state: $V.navigation.location.state});- return e ||= lV(location.pathname), cMe(B5.settingsHost()).then((t) => (t.open(e), t));+ return e ||= mV(location.pathname), NMe(V5.settingsHost()).then((t) => (t.open(e), t));}-function INe() {- cV(location.pathname) && (dV(JV.navigation.location.state) ? JV.go(-1) : Q.navigatePath("/", !0));+function sPe() {+ pV(location.pathname) && (gV($V.navigation.location.state) ? $V.go(-1) : Q.navigatePath("/", !0));}-function LNe() {+function cPe() {return {scroll: L("#drawerScroll"),store: Z.settingsStore,- navCatalog: B5.NAV_CATALOG,- navOn: s7,- navTo: c7,- toggleChip: (e, t, n) => S7((r) => {+ navCatalog: V5.NAV_CATALOG,+ navOn: c7,+ navTo: l7,+ toggleChip: (e, t, n) => C7((r) => {if (n) {let n = String(r[e] || "").split(",").filter(Boolean), i = n.indexOf(t);i >= 0 ? n.splice(i, 1) : n.push(t), r[e] = n.join(",");} else r[e] = r[e] === t ? "" : t;}),- setDuration: (e, t) => S7((n) => {+ setDuration: (e, t) => C7((n) => {n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";}),openFollowTag: (e) => {- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), b9(x9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), x9(S9());},selectFollowTag: (e) => {- $.followTags = /* @__PURE__ */ new Set([e]), q5(!1), b9(x9());+ $.followTags = /* @__PURE__ */ new Set([e]), J5(!1), x9(S9());},- selectFollowProvider: (e) => G5({ provider: $.followProviders.has(e) ? "" : e }),- setFollowDuration: (e, t) => G5({+ selectFollowProvider: (e) => K5({ provider: $.followProviders.has(e) ? "" : e }),+ setFollowDuration: (e, t) => K5({durMin: e ? e * 60 : 0,durMax: t < 180 ? t * 60 : 0}),@@ -77575,137 +77755,137 @@ function LNe() {}};}-function RNe() {+function lPe() {let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];- e.innerHTML = jNe(Z.appSettings.sidebarOrder, B5.NAV_CATALOG, s7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {- if (f8()) return;+ e.innerHTML = nPe(Z.appSettings.sidebarOrder, V5.NAV_CATALOG, c7), e.querySelector("[data-sidebar-head]").append(...t), J.listen(e, "click", (e) => {+ if (p8()) return;let t = e.target.closest?.("[data-nav]");- t && c7(t.dataset.nav);- }), lMe(LNe()).then((e) => e.render(B5.sidebarProps)).catch(() => {});+ t && l7(t.dataset.nav);+ }), PMe(cPe()).then((e) => e.render(V5.sidebarProps)).catch(() => {});}-async function zNe() {+async function uPe() {let e = J, t = null;try {t = await on("/api/settings", { signal: e.signal });} catch {return;}- e.isActive && hA(t, (e) => Z.settingsEffects[e]?.());+ e.isActive && yA(t, (e) => Z.settingsEffects[e]?.());}-function Y5() {+function X5() {return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");}-function X5() {- let e = Y5();- FNe(), e && L5(), L("#count").classList.toggle("no-tagbar", !!e), g9(), e !== "trash" && (E5.trashCount = null), Z5(e);+function Z5() {+ let e = X5();+ oPe(), e && R5(), L("#count").classList.toggle("no-tagbar", !!e), _9(), e !== "trash" && (D5.trashCount = null), Q5(e);}-function BNe(e) {+function dPe(e) {return {section: e,path: decodeURIComponent(location.pathname),- sections: B5.MANAGE_SECTIONS,- menu: e ? B5.manageMenuSections() : [],- trash: E5.trashCount+ sections: V5.MANAGE_SECTIONS,+ menu: e ? V5.manageMenuSections() : [],+ trash: D5.trashCount};}-function Z5(e = Y5()) {- Q5();- let t = BNe(e), n = h8();+function Q5(e = X5()) {+ $5();+ let t = dPe(e), n = g8();if (n) n.render(t);else {- let e = Jce(t);- e !== B5.manageHeaderSkeleton && (B5.manageHeaderSkeleton = e, B5.manageHeaderRoot().innerHTML = e);+ let e = Sle(t);+ e !== V5.manageHeaderSkeleton && (V5.manageHeaderSkeleton = e, V5.manageHeaderRoot().innerHTML = e);}- let r = pP(t)?.title || "";- r !== B5.lastManagePageLabel && (B5.lastManagePageLabel = r, r && Ps(B5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));+ let r = dP(t)?.title || "";+ r !== V5.lastManagePageLabel && (V5.lastManagePageLabel = r, r && Ps(V5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));}-function VNe() {- let e = B5.manageHeaderRoot();+function fPe() {+ let e = V5.manageHeaderRoot();J.listen(e, "click", (e) => {- if (h8()) return;+ if (g8()) return;let t = e.target.closest?.("[data-manage]");- if (t) $5(t.dataset.manage);+ if (t) e7(t.dataset.manage);else if (e.target.closest?.("[data-manage-crumb] a[href]")) {if (e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || e.button) return;e.preventDefault(), Q.navigatePath("/data-cleanup");- } else e.target.closest?.("[data-empty-trash]") && N7();- }), uMe({+ } else e.target.closest?.("[data-empty-trash]") && P7();+ }), FMe({root: e,- openManage: $5,+ openManage: e7,openDataCleanup: () => Q.navigatePath("/data-cleanup"),- emptyTrash: N7- }).then(() => Z5()).catch(() => {});+ emptyTrash: P7+ }).then(() => Q5()).catch(() => {});}-function Q5() {+function $5() {let e = L("#listTitle");if (!e) return;- let t = decodeURIComponent(location.pathname), n = !Y5() && fn(t) && dn[U.state] || "";- e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!Y5() || !fn(t) || !!n || U.jav === "1";+ let t = decodeURIComponent(location.pathname), n = !X5() && fn(t) && dn[U.state] || "";+ e.hidden = !n, n && (e.textContent = n), L("#catalogPageHeading").hidden = !!X5() || !fn(t) || !!n || U.jav === "1";}-function $5(e = "stats") {+function e7(e = "stats") {let t = Q.routePathOf("section", e);- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", yu(), Q.route(c$()), U5(), g9(), M7());+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", yu(), Q.route(l$()), W5(), _9(), N7());}-function e7() {+function t7() {let e = decodeURIComponent(location.pathname);return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || du : !1;}-function HNe(e = e7()) {+function pPe(e = t7()) {let t = Bk.filter(([e]) => e !== "seed");return e ? [Vk, ...t] : t;}-function t7() {+function n7() {return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";}-function n7() {- return EA(t7());+function r7() {+ return AA(n7());}-function UNe(e) {- Zoe(e), i7(), L("#grid").hidden || J7();+function mPe(e) {+ yse(e), a7(), L("#grid").hidden || Y7();}-function r7(e) {- PA(e), i7(), J7();+function i7(e) {+ RA(e), a7(), Y7();}-function i7() {+function a7() {document.querySelectorAll("[data-video-layout]").forEach((e) => {- e.checked = e.value === n7();- }), X.catalogFilterProps && w7({ layout: E7() });+ e.checked = e.value === r7();+ }), X.catalogFilterProps && T7({ layout: D7() });}-function WNe(e) {- Qoe(e), i7(), J7();-}-async function a7() {- O8(), X.mixRelatedCache.clear(), await Promise.all([o7(), M7()]);+function hPe(e) {+ bse(e), a7(), Y7();}async function o7() {+ k8(), X.mixRelatedCache.clear(), await Promise.all([s7(), N7()]);+}+async function s7() {if (Y.entityPageCurrent() && !L("#index").hidden) {- a5({ revision: ++Y.entityPageRevision });+ o5({ revision: ++Y.entityPageRevision });return;}let e = decodeURIComponent(location.pathname);- if (TV(e)?.reload === "reopen" || e === "/follow") {+ if (AV(e)?.reload === "reopen" || e === "/follow") {vu({ pageOpens: lu + 1 });return;}let t = Q.routeMeta(e);- t?.route.reload ? await t.route.reload() : await L7();+ t?.route.reload ? await t.route.reload() : await R7();}-function s7(e) {- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = B5.DIRECT_MANAGE_NAV[e];- if (r) return Y5() === r;+function c7(e) {+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = V5.DIRECT_MANAGE_NAV[e];+ if (r) return X5() === r;if (e === "manage") {- let e = Y5();- return !!e && !Z.appSettings.sidebarOrder.some((t) => B5.DIRECT_MANAGE_NAV[t] === e);+ let e = X5();+ return !!e && !Z.appSettings.sidebarOrder.some((t) => V5.DIRECT_MANAGE_NAV[t] === e);}- return e === "jav" ? t === "/jav" || e7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !Y5() && !U.state && !e7() && U.orient !== "竖屏" : ln[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";+ return e === "jav" ? t === "/jav" || t7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !X5() && !U.state && !t7() && U.orient !== "竖屏" : ln[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";}-function c7(e) {- if (PNe(), B5.DIRECT_MANAGE_NAV[e]) {- $5(B5.DIRECT_MANAGE_NAV[e]);+function l7(e) {+ if (aPe(), V5.DIRECT_MANAGE_NAV[e]) {+ e7(V5.DIRECT_MANAGE_NAV[e]);return;}if (e === "manage") {- $5();+ e7();return;}if (e === "jav") {@@ -77713,25 +77893,25 @@ function c7(e) {return;}if (e === "") {- g7();+ _7();return;}let t = ln[e] ? null : Q.routePathOf("nav", e);- t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), yu(), Q.route(h7()), U5(), g9(), M7());+ t ? Q.openRoutePath(t) : (e === "shorts" ? (U.orient = "竖屏", U.state = "") : (U.orient = "", U.state = e), yu(), Q.route(g7()), W5(), _9(), N7());}-function l7() {+function u7() {let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);- Jl && Zl !== E5.currentSelectSurface() && O5(!1, !0);+ Jl && Zl !== D5.currentSelectSurface() && k5(!1, !0);let n = t.length > 1 && Object.prototype.hasOwnProperty.call(mn, t[0]), r = fn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";- L("#selectMode").hidden = !i, L("#density").hidden = !a, u5(), !i && Jl && O5(!1, !0);+ L("#selectMode").hidden = !i, L("#density").hidden = !a, d5(), !i && Jl && k5(!1, !0);}-function GNe() {+function gPe() {let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);- (t !== B5.mobileFilterHost || location.pathname !== B5.mobileFilterPath) && (B5.mobileFilterScroll = null), B5.mobileFilterHost = t, B5.mobileFilterPath = location.pathname;+ (t !== V5.mobileFilterHost || location.pathname !== V5.mobileFilterPath) && (V5.mobileFilterScroll = null), V5.mobileFilterHost = t, V5.mobileFilterPath = location.pathname;let n = Math.max(0, Math.min(scrollY, document.documentElement.scrollHeight - innerHeight)), r = !!t?.querySelector(":focus-visible,input:focus,select:focus,textarea:focus,[aria-expanded=\"true\"]");- B5.mobileFilterScroll = MNe(B5.mobileFilterScroll, n, innerWidth <= 760, r);+ V5.mobileFilterScroll = rPe(V5.mobileFilterScroll, n, innerWidth <= 760, r);for (let n of e) {- let e = n === t && B5.mobileFilterScroll.free;+ let e = n === t && V5.mobileFilterScroll.free;if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;let r = n.getBoundingClientRect().top;n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);@@ -77743,63 +77923,63 @@ function GNe() {});}}-function KNe() {- GNe(), [".board-filter-frame", "#count"].forEach((e) => {+function _Pe() {+ gPe(), [".board-filter-frame", "#count"].forEach((e) => {let t = L(e), n = t && getComputedStyle(t), r = n ? parseFloat(n.top) : NaN, i = !!t && n.position === "sticky" && t.offsetParent !== null && window.scrollY > 0 && Number.isFinite(r) && t.getBoundingClientRect().top - (parseFloat(n.translate.split(" ")[1]) || 0) <= r + 1;t && t.classList.toggle("is-stuck", i), t?.matches(".board-filter-frame") && t.classList.toggle("board-is-stuck", i);});}-function u7() {- B5.stickyFrame ||= J.frame(() => {- B5.stickyFrame = 0, KNe();+function d7() {+ V5.stickyFrame ||= J.frame(() => {+ V5.stickyFrame = 0, _Pe();});}-function qNe() {+function vPe() {$.followSidebarFilters = () => ({provider: [...$.followProviders][0] || "",dur_min: $.followDurMin || "",dur_max: $.followDurMax || ""- }), J.handler(L("#filterBtn"), "onclick", () => q5(!L("#drawer").classList.contains("open"))), B5.SIDEBAR_ITEMS = k8, B5.MANAGE_SECTIONS = A8, B5.MANAGE_MENU_SECTIONS = j8, B5.manageMenuSections = () => EMe(su === !0), B5.OPTIONAL_SIDEBAR_ITEMS = M8, B5.NAV_CATALOG = DMe, B5.DIRECT_MANAGE_NAV = OMe, B5.settingsHost = () => ({- selectSection: (e) => YV(uV(e), {+ }), J.handler(L("#filterBtn"), "onclick", () => J5(!L("#drawer").classList.contains("open"))), V5.SIDEBAR_ITEMS = A8, V5.MANAGE_SECTIONS = j8, V5.MANAGE_MENU_SECTIONS = M8, V5.manageMenuSections = () => ZMe(su === !0), V5.OPTIONAL_SIDEBAR_ITEMS = N8, V5.NAV_CATALOG = QMe, V5.DIRECT_MANAGE_NAV = $Me, V5.settingsHost = () => ({+ selectSection: (e) => eH(hV(e), {replace: !0,- state: JV.navigation.location.state+ state: $V.navigation.location.state}),- closed: INe,+ closed: sPe,store: Z.settingsStore,changed: (e) => Z.settingsEffects[e]?.(),sound: (e) => No(e),- navCatalog: B5.NAV_CATALOG,- themeOptions: Koe,- videoLayouts: bA,- followInitialRanges: N8,- videoLayout: () => n7(),- setVideoLayout: WNe,- censored: Q7,- setCensored: gPe,+ navCatalog: V5.NAV_CATALOG,+ themeOptions: mse,+ videoLayouts: wA,+ followInitialRanges: P8,+ videoLayout: () => r7(),+ setVideoLayout: hPe,+ censored: $7,+ setCensored: VPe,highContrast: () => document.documentElement.classList.contains("board-high-contrast"),- setHighContrast: _Pe,- receipt: (e) => S8.actionReceipt(e),- failure: S8.actionFailure,- syncRemote: (e) => hA(e, (e) => Z.settingsEffects[e]?.()),+ setHighContrast: HPe,+ receipt: (e) => C8.actionReceipt(e),+ failure: C8.actionFailure,+ syncRemote: (e) => yA(e, (e) => Z.settingsEffects[e]?.()),openConfiguration: () => Q.navigatePath("/settings/library"),attached: () => Z.syncGlassOptics(),configurable: () => on("/healthz").then((e) => (vu({ runtimeConfigurable: !!e.configurable }), su)).catch(() => null)- }), J.handler(L("#settingsBtn"), "onclick", () => void J5()), B5.lastManagePageLabel = "", B5.manageHeaderSkeleton = "", B5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, B5.scrollT = null, B5.stickyFrame = 0, B5.mobileFilterScroll = null, B5.mobileFilterHost = null, B5.mobileFilterPath = "", J.listen(document, "focusin", u7), J.listen(document, "focusout", u7), J.listen(window, "scroll", () => {- u7(), location.pathname === "/follow" && w9() && vu({ followScrollY: scrollY }), window.__scrolling = !0, kl(), clearTimeout(B5.scrollT), B5.scrollT = J.delay(() => {+ }), J.handler(L("#settingsBtn"), "onclick", () => void Y5()), V5.lastManagePageLabel = "", V5.manageHeaderSkeleton = "", V5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, V5.scrollT = null, V5.stickyFrame = 0, V5.mobileFilterScroll = null, V5.mobileFilterHost = null, V5.mobileFilterPath = "", J.listen(document, "focusin", d7), J.listen(document, "focusout", d7), J.listen(window, "scroll", () => {+ d7(), location.pathname === "/follow" && T9() && vu({ followScrollY: scrollY }), window.__scrolling = !0, kl(), clearTimeout(V5.scrollT), V5.scrollT = J.delay(() => {window.__scrolling = !1;}, 180);- }, { passive: !0 }), J.listen(window, "resize", u7, { passive: !0 }), J.handler(L("#scrim"), "onclick", () => q5(!1));+ }, { passive: !0 }), J.listen(window, "resize", d7, { passive: !0 }), J.handler(L("#scrim"), "onclick", () => J5(!1));}// src/catalog-filter-skeleton.ts-var d7 = 64, f7 = (e) => e.replace(/[&<>"]/g, (e) => ({+var f7 = 64, p7 = (e) => e.replace(/[&<>"]/g, (e) => ({"&": "&","<": "<",">": ">","\"": """-})[e]), p7 = (e) => e.repeat(d7);-function JNe(e, t, n) {- let r = e.map((e) => `<a href="${f7(e.href)}" data-catalog-view="${f7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${f7(e.label)}</a>`).join(""), i = gW();- return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? "<div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + p7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + p7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(d7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${ss()}</span>` + (n ? r5(n.sorts, n.layout) : "") + "</div></div></div></div>";+})[e]), m7 = (e) => e.repeat(f7);+function yPe(e, t, n) {+ let r = e.map((e) => `<a href="${p7(e.href)}" data-catalog-view="${p7(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${p7(e.label)}</a>`).join(""), i = AW();+ return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? "<div data-catalog-tier=\"performers\" data-skeleton=\"tiers\">" + m7("<span data-catalog-placeholder=\"performer\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + (i.studios ? "<div data-catalog-tier=\"studios\">" + m7("<span data-catalog-placeholder=\"studio\" aria-hidden=\"true\"><span></span><span> </span></span>") + "</div>" : "") + `</div><div role="group" aria-label="筛选与排序" data-filter-glass="" data-glass-pane="" data-filter-frame="" data-catalog-frame="" class="sticky top-topbar z-10 mb-5.5 flex flex-col mx-4"><div role="group" aria-label="视图与标签" data-filter-row="top" class="flex h-12 min-w-0 items-center overscroll-x-contain px-3 py-2 gap-1.5 overflow-visible"><div data-catalog-scroll=""><div role="group" aria-label="视图" data-catalog-views="">${r}<span data-entity-sep="" aria-hidden="true"></span></div><div data-catalog-tags=""><span data-catalog-placeholder="tag" aria-hidden="true">` + "<span></span>".repeat(f7) + `</span></div></div></div><div data-filter-row="bottom" aria-busy="true" class="flex min-w-0 items-center gap-3 px-3 py-2 min-h-12"><span data-catalog-summary=""><span data-catalog-readout=""><span data-skeleton="count" aria-hidden="true" class="relative inline-block h-3.5 w-37.5 rounded-md align-middle skeleton-sheen"></span></span>${ss()}</span>` + (n ? i5(n.sorts, n.layout) : "") + "</div></div></div></div>";}// src/application/catalog.jsvar X = {@@ -77838,46 +78018,46 @@ var X = {junkQueueHelpers: void 0,junkQueueActions: void 0};-function YNe() {- X.initialParams.has("loc") || (U.loc = m7(U.loc), yu());+function bPe() {+ X.initialParams.has("loc") || (U.loc = h7(U.loc), yu());}-function m7(e) {- return _Me(e, Z.sourceOnline);+function h7(e) {+ return HMe(e, Z.sourceOnline);}-function h7(e = U) {- return vMe(e);+function g7(e = U) {+ return UMe(e);}-function XNe() {- vu(w8(yMe(U, Z.appSettings, S8.rollSeed))), O8();+function xPe() {+ vu(T8(WMe(U, Z.appSettings, C8.rollSeed))), k8();}-function g7(e = null, t = !1) {- XNe(), e && (Object.assign(U, e), yu()), Q.route(e ? h7() : "/"), X.clearSearchField(), i9(!1), U5(), g9(), M7(), t && window.scrollTo({+function _7(e = null, t = !1) {+ xPe(), e && (Object.assign(U, e), yu()), Q.route(e ? g7() : "/"), X.clearSearchField(), a9(!1), W5(), _9(), N7(), t && window.scrollTo({top: 0,behavior: "smooth"});}-function ZNe(e, t = null) {+function SPe(e, t = null) {let n = e.id;- !e.medium || e.medium === "video" ? c9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : k5(n);+ !e.medium || e.medium === "video" ? l9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : A5(n);}-function _7(e) {+function v7(e) {return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, on("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {throw X.mixRelatedCache.delete(e), t;})), X.mixRelatedCache.get(e);}-function QNe(e, t) {- r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : v7(e, t);+function CPe(e, t) {+ i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : y7(e, t);}-function v7(e, t) {- e.edition_group ? wPe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? TPe(e.part_group.seed_id, e.id, !0, t) : c9(e.id, !0, null, t);+function y7(e, t) {+ e.edition_group ? YPe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? XPe(e.part_group.seed_id, e.id, !0, t) : l9(e.id, !0, null, t);}-async function $Ne(e, t) {+async function wPe(e, t) {try {let n = await on("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })});- e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {+ e.watch_later = n.watch_later, t(!!n.watch_later), C8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {let n = await on("/api/watch-later", {method: "POST",body: JSON.stringify({ id: e.id })@@ -77885,10 +78065,10 @@ async function $Ne(e, t) {e.watch_later = n.watch_later, t(!!n.watch_later);} });} catch (e) {- S8.actionFailure("更新稍后看", e);+ C8.actionFailure("更新稍后看", e);}}-async function ePe(e, t) {+async function TPe(e, t) {try {await on("/api/batch", {method: "POST",@@ -77896,9 +78076,9 @@ async function ePe(e, t) {ids: [e.id],operation: t})- }), await L7();+ }), await R7();let n = t === "restore" ? "dispose" : "restore";- S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {+ C8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {await on("/api/batch", {method: "POST",body: JSON.stringify({@@ -77906,14 +78086,14 @@ async function ePe(e, t) {operation: n,...n === "dispose" ? { disposal_reason: e.disposal_reason ?? null } : {}})- }), await L7();+ }), await R7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw C8.actionFailure("操作", e), e;}}-async function tPe(e, t, n, r) {- let i = Number(e.rating) || 0, a = GM(i, t), o = async (t, r) => {+async function EPe(e, t, n, r) {+ let i = Number(e.rating) || 0, a = UM(i, t), o = async (t, r) => {let i = (await on("/api/feedback", {method: "POST",body: JSON.stringify({@@ -77927,14 +78107,14 @@ async function tPe(e, t, n, r) {};try {let e = await o(a, r);- S8.actionReceipt(e ? `已评 ${WM(e)} 星` : "已取消评分", { undo: () => o(i) });+ C8.actionReceipt(e ? `已评 ${HM(e)} 星` : "已取消评分", { undo: () => o(i) });} catch (e) {- throw r?.aborted || S8.actionFailure("评分", e), e;+ throw r?.aborted || C8.actionFailure("评分", e), e;}}-async function y7(e) {+async function b7(e) {let t = new URLSearchParams();- if (e7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {+ if (t7() && t.set("jav", "1"), e.type === "entity" ? (t.set("scope_kind", e.kind), t.set("scope_name", e.name)) : e.type === "item" && t.set("id", String(e.id)), e.type === "home" && U.state && t.set("state", U.state), e.type !== "item") {let e = Y.activeFilterState();["loc",@@ -77956,9 +78136,9 @@ async function y7(e) {e[n] && t.set(n, e[n]);});}- return wMe(t.toString(), X.topsQueryParams(e).toString());+ return YMe(t.toString(), X.topsQueryParams(e).toString());}-function nPe() {+function DPe() {if (scrollY <= 0) return;let e = document.documentElement;e.classList.add("refiltering");@@ -77970,32 +78150,32 @@ function nPe() {behavior: matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth"});}-function b7(e) {- o5().type !== "entity" && w7({ tags: O7(e) }), h9({ filters: { ...e } }), I7();+function x7(e) {+ s5().type !== "entity" && T7({ tags: k7(e) }), g9({ filters: { ...e } }), L7();}-async function x7(e) {- let t = ++X.facetCountsSeq, [n] = await y7(e);- t === X.facetCountsSeq && (e.type === "home" && (t9.facets = n), h9({ latest: Z7(n, e) }));+async function S7(e) {+ let t = ++X.facetCountsSeq, [n] = await b7(e);+ t === X.facetCountsSeq && (e.type === "home" && (n9.facets = n), g9({ latest: Q7(n, e) }));}-function S7(e) {- nPe();- let t = o5();+function C7(e) {+ DPe();+ let t = s5();if (t.type === "entity") {let n = { ...t.filters };- e(n), c5(t.kind, t.name, n), b7(n), x7(o5());+ e(n), l5(t.kind, t.name, n), x7(n), S7(s5());} else if (t.type === "item") {let t = Y.cloneBarsContext(Gl);- if (i9(!1), vu({ detailReturnBarsContext: null }), t && t.type === "entity") {- e(t.filters), c5(t.kind, t.name, t.filters) ? M7() : vu({ pageOpens: lu + 1 });+ if (a9(!1), vu({ detailReturnBarsContext: null }), t && t.type === "entity") {+ e(t.filters), l5(t.kind, t.name, t.filters) ? N7() : vu({ pageOpens: lu + 1 });return;}e(U), vu({ barsContext: {type: "home",filters: U- } }), Q.route(h7()), U5(), M7();- } else e(U), yu(), Q.route(h7()), b7(U), x7(Wl);+ } }), Q.route(g7()), W5(), N7();+ } else e(U), yu(), Q.route(g7()), x7(U), S7(Wl);}-function rPe() {+function OPe() {return {tiers: null,tiersPending: !1,@@ -78013,94 +78193,94 @@ function rPe() {combo: [],comboHidden: !0,comboHost: L("#combo"),- actions: T7(),+ actions: E7(),helpers: {- wireDrag: e9,+ wireDrag: t9,wireScroller: (e) => {e && lc(e);}}};}-function C7() {- X.catalogFilterProps && w7({});+function w7() {+ X.catalogFilterProps && T7({});}-function w7(e) {+function T7(e) {let t = L("#catalogFilter"), n = t.style.display === "none" || document.body.matches(".entity-open,.index-open");e = {...e,offscreen: n}, X.catalogFilterProps = {- ...X.catalogFilterProps || rPe(),+ ...X.catalogFilterProps || OPe(),...e- }, !X.catalogFilterMounting && (PV(t) ? RV(t, e) : (!t.firstChild && !n && (t.innerHTML = JNe(X.catalogViews(), X.catalogFilterProps.state, D7()), Ks(t)), X.catalogFilterMounting = LV("catalog-filter", X.catalogFilterProps, {+ }, !X.catalogFilterMounting && (zV(t) ? UV(t, e) : (!t.firstChild && !n && (t.innerHTML = yPe(X.catalogViews(), X.catalogFilterProps.state, O7()), Ks(t)), X.catalogFilterMounting = HV("catalog-filter", X.catalogFilterProps, {container: t,isCurrent: () => !0- }).then(() => RV(t, X.catalogFilterProps)).finally(() => {+ }).then(() => UV(t, X.catalogFilterProps)).finally(() => {X.catalogFilterMounting = null;})));}-function T7() {+function E7() {return {currentHref: () => {- let e = new URL(h7(), location.origin);+ let e = new URL(g7(), location.origin);return e.searchParams.set("loc", U.loc || ""), e.searchParams.set("thumb", U.thumb || "0"), e.searchParams.set("sort", U.sort || ""), e.searchParams.set("dir", U.dir || ""), e.pathname + e.search;},- openEntity: (e, t) => v5(e, t),+ openEntity: (e, t) => y5(e, t),setView: (e) => {- U.state = e, yu(), w7({ state: e }), Q.route(h7()), M7();+ U.state = e, yu(), T7({ state: e }), Q.route(g7()), N7();},- toggleTag: (e) => P7(e),- clearFilter: (e) => S7((t) => {+ toggleTag: (e) => F7(e),+ clearFilter: (e) => C7((t) => {t[e] = "";}),- clearAll: () => S7((e) => {+ clearAll: () => C7((e) => {e.tag = "", e.creator = "", e.studio = "", e.owner = "";}),setSort: (e) => {let t = qk(e, U.sort, U.dir);- t && (U.sort = t.sort, U.dir = t.dir, yu(), X7());+ t && (U.sort = t.sort, U.dir = t.dir, yu(), Z7());},- reshuffle: () => hPe(),+ reshuffle: () => BPe(),setLayout: (e) => {- e7() ? r7(e) : UNe(e);+ t7() ? i7(e) : mPe(e);},moreTops: async (e) => {let t = X.catalogTopsPages;if (!t) return [];- let n = (await TMe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];- return e === "performers" ? n.map(k7) : n.map(A7);+ let n = (await XMe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];+ return e === "performers" ? n.map(A7) : n.map(j7);}};}-function E7() {- return e7() ? {+function D7() {+ return t7() ? {name: "jav-layout",label: "JAV 卡片版式",- value: TA(),- options: bA- } : t7() ? {+ value: kA(),+ options: wA+ } : n7() ? {name: "home-layout",label: "首页卡片版式",- value: n7(),- options: bA+ value: r7(),+ options: wA} : null;}-function D7() {+function O7() {return {- sorts: s5(U.sort, U.dir),- layout: E7(),+ sorts: c5(U.sort, U.dir),+ layout: D7(),state: U.state || "",trash: U.state === "trash"};}-function O7(e) {+function k7(e) {return X.catalogTagRows.map((t) => ({...t,selected: X.tagPressed(e.tag, t.k)}));}-function k7(e) {+function A7(e) {return {name: e.k,ringHtml: `<span data-tier-initial>${z(Fn(e.k))}</span>${Xa({@@ -78114,99 +78294,99 @@ function k7(e) {})}`};}-function A7(e) {+function j7(e) {return {name: e.k,fallback: Pn(e.k, 2),logo: e.has_logo ? qa(e.k, "icon", e.logo_version) : ""};}-function iPe(e, t) {- X.catalogFilterProps?.tiers || (X.barsRendered = "", X.barsPendingSeq = t, w7({+function kPe(e, t) {+ X.catalogFilterProps?.tiers || (X.barsRendered = "", X.barsPendingSeq = t, T7({tiers: null,tiersPending: !0,state: e.state || ""}));}-function j7(e) {- X.barsPendingSeq === e && (X.barsPendingSeq = 0, w7({ tiersPending: !1 }));+function M7(e) {+ X.barsPendingSeq === e && (X.barsPendingSeq = 0, T7({ tiersPending: !1 }));}-async function M7() {+async function N7() {let e = ++X.barsRequestSeq;- if (h9(), !Vl(location.pathname) || Wl.type === "item") return;- let t = o5(), n = Y.activeFilterState(), r = JSON.stringify([+ if (g9(), !Vl(location.pathname) || Wl.type === "item") return;+ let t = s5(), n = Y.activeFilterState(), r = JSON.stringify([t,n,U.state || "",U.seed || "",- e7()+ t7()]);- iPe(n, e);+ kPe(n, e);let i;try {- i = await y7(t);+ i = await b7(t);} catch (t) {- throw j7(e), t;+ throw M7(e), t;}let [a, o] = i;if (e !== X.barsRequestSeq) {- j7(e);+ M7(e);return;}let s = r + "\n" + JSON.stringify([a, o]);if (s === X.barsRendered) {- B5.sidebarCatalog && h9({- content: B5.sidebarCatalog,+ V5.sidebarCatalog && g9({+ content: V5.sidebarCatalog,filters: { ...n }});return;}- X.barsRendered = s, t.type === "home" && (t9.facets = a);+ X.barsRendered = s, t.type === "home" && (n9.facets = a);let c = a.tags || [];ja(o.performers), ja(o.studios);- let l = t.type === "home" && !e7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);+ let l = t.type === "home" && !t7() && !U.state && !U.q && !a.locations.some((e) => e.n > 0);X.catalogTopsPages = {context: t,performers: 0,studios: 0};- let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = S8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));+ let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = C8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));X.catalogTagRows = f.concat(m, p.filter((e) => !h.has(e.k))).map((e) => ({k: e.k,label: Nl(e.k),n: e.n ?? null- })), X.barsPendingSeq = 0, w7({+ })), X.barsPendingSeq = 0, T7({tiers: {key: String(X.barsRequestSeq),- performers: o.performers.map(k7),- studios: o.studios.map(A7)+ performers: o.performers.map(A7),+ studios: o.studios.map(j7)},tiersPending: !1,empty: l,- tags: O7(n),+ tags: k7(n),tagFirst: f.length + m.length,views: X.catalogViews(),state: n.state || ""- }), I7(), B5.sidebarCatalog = {+ }), L7(), V5.sidebarCatalog = {kind: "catalog",- key: String(++B5.sidebarContentSeq),- facets: Z7(a, t)- }, h9({- content: B5.sidebarCatalog,+ key: String(++V5.sidebarContentSeq),+ facets: Q7(a, t)+ }, g9({+ content: V5.sidebarCatalog,filters: { ...n },latest: null});}-function aPe(e, t) {- t9.total = e, U.state === "trash" && (E5.trashCount = {- total: t9.total,+function APe(e, t) {+ n9.total = e, U.state === "trash" && (D5.trashCount = {+ total: n9.total,shown: t- }), X5(), w7({ count: {- total: t9.total,+ }), Z5(), T7({ count: {+ total: n9.total,shown: t} });}-function N7() {+function P7() {return Hc({title: "清空回收站",body: "回收站中的全部文件和馆藏记录将永久删除,无法恢复。",@@ -78216,19 +78396,19 @@ function N7() {try {let e = await on("/api/trash/empty", { method: "POST" });if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));- S8.actionReceipt(`已永久删除 ${e.purged} 项`);+ C8.actionReceipt(`已永久删除 ${e.purged} 项`);} finally {- await L7();+ await R7();}}});}-function P7(e) {- S7((t) => {+function F7(e) {+ C7((t) => {t.tag = e ? X.withTagToggled(t.tag, e) : "";});}-function F7(e) {+function I7(e) {let t = [];return e.creator && t.push({kind: "clear",@@ -78252,13 +78432,13 @@ function F7(e) {label: Nl(e)})), t;}-function I7() {- w7({- combo: F7(U),+function L7() {+ T7({+ combo: I7(U),comboHidden: !X.catalogOnScreen()});}-async function L7() {+async function R7() {let e = Q.claimSurface(Q.surfacePath());if (vu({barsContext: {@@ -78266,110 +78446,110 @@ async function L7() {filters: U},detailReturnBarsContext: null- }), i9(!1), U.state === "ads") return cPe(e);- if (X.controller.page === "/junk-files" && z7(), I5(), U5(), X8(location.pathname) && U.browse !== "folders") {- if (await F5.entityShapesReady, !Q.surfaceCurrent(e)) return;- WMe();- } else Z8();- return I7(), L("#count").classList.remove("manage-static", "junkcount"), B7(e);-}-function R7(e) {+ }), a9(!1), U.state === "ads") return NPe(e);+ if (X.controller.page === "/junk-files" && B7(), L5(), W5(), Z8(location.pathname) && U.browse !== "folders") {+ if (await I5.entityShapesReady, !Q.surfaceCurrent(e)) return;+ hNe();+ } else Q8();+ return L7(), L("#count").classList.remove("manage-static", "junkcount"), V7(e);+}+function z7(e) {X.controller.settle(e);}-function z7() {+function B7() {let e = L("#grid");- kl(e), zV(e), X.controller.clear(), e.innerHTML = "";-}-function B7(e) {- return W7("/", sPe, e, { place: VPe });+ kl(e), WV(e), X.controller.clear(), e.innerHTML = "";}-function oPe(e) {- return W7("/junk-files", uPe, e);+function V7(e) {+ return G7("/", MPe, e, { place: fFe });}-function V7() {- return !!NV(L("#grid"));+function jPe(e) {+ return G7("/junk-files", FPe, e);}function H7() {- return X.controller.taken(V7());+ return !!RV(L("#grid"));}-function U7(e) {- RV(L("#grid"), e);+function U7() {+ return X.controller.taken(H7());}-function W7(e, t, n, r = {}) {+function W7(e) {+ UV(L("#grid"), e);+}+function G7(e, t, n, r = {}) {let i = L("#grid");- X.controller.page && X.controller.page !== e && z7();- let a = X.controller.begin(e, V7()), o = t();- if (!a.mount) return U7(o), a.settled;+ X.controller.page && X.controller.page !== e && B7();+ let a = X.controller.begin(e, H7()), o = t();+ if (!a.mount) return W7(o), a.settled;kl(i);- let s = () => zV(i);- return a.signal.addEventListener("abort", s, { once: !0 }), LV(e, o, {+ let s = () => WV(i);+ return a.signal.addEventListener("abort", s, { once: !0 }), HV(e, o, {...r,container: i,isCurrent: () => Q.surfaceCurrent(n) && a.isCurrent()}).catch((e) => console.error(e)).finally(() => {- a.signal.removeEventListener("abort", s), a.finish(V7());+ a.signal.removeEventListener("abort", s), a.finish(H7());}), a.settled;}-function G7() {- let e = t7();- return MA({- active: e7() || e,+function K7() {+ let e = n7();+ return IA({+ active: t7() || e,home: e,portrait: U.orient === "竖屏"});}-function K7(e = "正在读取作品") {- return UJ(e, q7());-}-function q7() {- return U ? NA(G7()) : 16 / 9;+function q7(e = "正在读取作品") {+ return UJ(e, J7());}function J7() {- H7() && (kl(L("#grid")), U7({- layout: G7(),+ return U ? LA(K7()) : 16 / 9;+}+function Y7() {+ U7() && (kl(L("#grid")), W7({+ layout: K7(),seekSeconds: Z.appSettings.seekSeconds- })), Y.entityPageCurrent() && (kl(L("#index [data-entity-hero]")), a5({- layout: G7(),+ })), Y.entityPageCurrent() && (kl(L("#index [data-entity-hero]")), o5({+ layout: K7(),seekSeconds: Z.appSettings.seekSeconds}));}-function sPe() {+function MPe() {let e = decodeURIComponent(location.pathname), t = fn(e), n = U.state === "trash";return {mode: "catalog",helpers: X.gridHelpers,actions: X.gridActions,- layout: G7(),+ layout: K7(),wall: e === "/wall",selectMode: Jl,selected: new Set(Kl),seekSeconds: Z.appSettings.seekSeconds,revision: X.controller.revision,- wireDrag: e9,- settled: R7,- skeletonHtml: () => K7(),+ wireDrag: t9,+ settled: z7,+ skeletonHtml: () => q7(),filters: { ...U },batchSize: Z.appSettings.batchSize,groupCollapse: Z.appSettings.groupCollapse,excludeVertical: t && e !== "/wall" && !U.q && !U.orient && U.browse !== "folders" || U.jav === "1",mix: t && e !== "/wall" && !n && U.browse !== "folders",- shorts: t && e !== "/wall" && !e7() && U.orient !== "竖屏" && !n && U.browse !== "folders",+ shorts: t && e !== "/wall" && !t7() && U.orient !== "竖屏" && !n && U.browse !== "folders",countRow: L("#count"),- onCount: aPe,- onCountFailed: () => w7({ count: !1 }),- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : wK({- jav: e7() && !t,+ onCount: APe,+ onCountFailed: () => T7({ count: !1 }),+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : FK({+ jav: t7() && !t,configurable: su,filtered: !t}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function cPe(e) {+function NPe(e) {let t = L("#count");- return X.controller.page === "/junk-files" && V7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (z7(), I5("正在读取垃圾文件")), U5(), I7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), oPe(e);+ return X.controller.page === "/junk-files" && H7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (B7(), L5("正在读取垃圾文件")), W5(), L7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), jPe(e);}-async function lPe(e, t) {+async function PPe(e, t) {let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";try {await on("/api/batch", {@@ -78379,24 +78559,24 @@ async function lPe(e, t) {operation: t,...r ? { disposal_reason: "junk" } : {}})- }), await L7();+ }), await R7();let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";- S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {+ C8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {await on("/api/batch", {method: "POST",body: JSON.stringify({ids: n,operation: e})- }), await L7();+ }), await R7();} });} catch (e) {- throw S8.actionFailure("操作", e), e;+ throw C8.actionFailure("操作", e), e;}}-function uPe() {+function FPe() {return {- ...s$(location.search),+ ...c$(location.search),helpers: X.junkQueueHelpers,actions: X.junkQueueActions,batchSize: Z.appSettings.batchSize,@@ -78404,16 +78584,16 @@ function uPe() {selectMode: Jl,selected: new Set(Kl),countRow: L("#count"),- settled: R7,- skeletonHtml: () => s2("正在读取垃圾文件", {+ settled: z7,+ skeletonHtml: () => c2("正在读取垃圾文件", {cards: !0,className: "catalog-skeleton postercard-skeleton"}),canLoadMore: () => L("#stats").hidden && L("#index").hidden};}-function dPe() {- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), vu(w8(gMe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {+function IPe() {+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => w8(e, t, Z.appSettings, n), vu(T8(VMe(location, Z.appSettings, C8.rollSeed))), X.searchValueSnapshot = {text: "",scrollLeft: 0}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {@@ -78434,55 +78614,55 @@ function dPe() {};};}-function fPe() {+function LPe() {J.handler(L("#wallBtn"), "onclick", () => {- O5(!1, !0);- let e = o5(), t = {+ k5(!1, !0);+ let e = s5(), t = {...Y.activeFilterState(),- jav: e7() ? "1" : ""+ jav: t7() ? "1" : ""};- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(hK(void 0, t));+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(kK(void 0, t));}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {let n = X.tagList(e), r = n.indexOf(t);return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");}, X.gridHelpers = {badgeHtml: (e, t) => Z.srcBadge(e, t),- titleHtml: (e, t) => vF(e, t),- displayName: (e, t) => _F(e, t),+ titleHtml: (e, t) => gF(e, t),+ displayName: (e, t) => hF(e, t),tagLabel: (e) => Nl(e)}, X.gridActions = {wallPlayer: async (e, t, n) => {- let r = await n8(t9.stageHost);+ let r = await r8(n9.stageHost);return n.throwIfAborted(), r.mountWallPlayer(e, t, n);},- wallDetails: v7,- open: (e, t) => QNe(e, t),- openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : ZNe(e, t),- openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : d9(e.id),- openShorts: () => d9(),- openMix: (e, t) => CPe(e, e, !0, t),- openEntity: (e, t) => v5(e, t),- openUnowned: () => g7({ owner: "none" }, !0),+ wallDetails: y7,+ open: (e, t) => CPe(e, t),+ openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : SPe(e, t),+ openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : f9(e.id),+ openShorts: () => f9(),+ openMix: (e, t) => JPe(e, e, !0, t),+ openEntity: (e, t) => y5(e, t),+ openUnowned: () => _7({ owner: "none" }, !0),toggleTag: (e) => {- S7((t) => {+ C7((t) => {t.tag = X.tagPressed(t.tag, e) ? "" : e;}), window.scrollTo({top: 0,behavior: "smooth"});},- toggleSelection: (e, t) => k5(e, t),- watchLater: (e, t) => $Ne(e, t),- rate: (e, t, n, r) => tPe(e, t, n, r),- resourceOperation: (e, t) => ePe(e, t),- mixRelated: (e) => _7(e),- canFlip: () => !Jl && !Q7() && !window.__scrolling && !X.reduceMotion()+ toggleSelection: (e, t) => A5(e, t),+ watchLater: (e, t) => wPe(e, t),+ rate: (e, t, n, r) => EPe(e, t, n, r),+ resourceOperation: (e, t) => TPe(e, t),+ mixRelated: (e) => v7(e),+ canFlip: () => !Jl && !$7() && !window.__scrolling && !X.reduceMotion()}, X.topsQueryParams = (e, t = 0) => {let n = new URLSearchParams({n: "60",seed: U.seed || ""});- return t && n.set("page", String(t)), e7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;+ return t && n.set("page", String(t)), t7() && n.set("jav", "1"), e.type === "home" && U.state && n.set("state", U.state), e.type === "home" && U.folder && (n.set("folder", U.folder), U.folder_recursive && n.set("folder_recursive", U.folder_recursive)), n;}, X.facetCountsSeq = 0, X.VIEW_PILLS = [{k: "",@@ -78505,36 +78685,36 @@ function fPe() {href: e.k ? ln[e.k] : "/"})), X.TAGS_FIRST = 26, J.listen(L("#catalogFilter"), "click", (e) => {let t = e.target.closest?.("[data-catalog-view]");- t && !e.defaultPrevented && (e.preventDefault(), T7().setView(t.dataset.catalogView));+ t && !e.defaultPrevented && (e.preventDefault(), E7().setView(t.dataset.catalogView));}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {creator: "创作者",studio: "厂牌",owner: "归属"}, X.hideCatalogCombo = () => {- X.catalogFilterProps && w7({ comboHidden: !0 });+ X.catalogFilterProps && T7({ comboHidden: !0 });};}-function pPe() {+function RPe() {X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {navigate: (e) => {- Jl && O5(!1, !0), Q.route(e);+ Jl && k5(!1, !0), Q.route(e);},- toggleSelection: (e, t) => k5(e, t),- open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : c9(e.id, !0, null, t),+ toggleSelection: (e, t) => A5(e, t),+ open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : l9(e.id, !0, null, t),reveal: async (e) => {try {return await on("/api/reveal", {method: "POST",body: JSON.stringify({ id: e.id })- }), S8.toast({ text: "已在资源管理器中显示" }), "";+ }), C8.toast({ text: "已在资源管理器中显示" }), "";} catch (e) {return Y.sourceHint(e.message);}},- operate: (e, t) => lPe(e, t)+ operate: (e, t) => PPe(e, t)};}-X.controller = new bMe();+X.controller = new GMe();// src/application/preferences.jsvar Z = {sourceOnline: void 0,@@ -78557,7 +78737,7 @@ var Z = {emptyState: void 0,CENSOR_KEY: void 0};-async function Y7() {+async function X7() {let e = J;try {let t = await rr(e.signal);@@ -78568,18 +78748,18 @@ async function Y7() {if (!e.isActive) return Z.sourceOnline;Z.sourceOnline = {}, Z.sourceProblems = {};}- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), YNe(), Z.sourceOnline;+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), bPe(), Z.sourceOnline;}-function X7() {+function Z7() {let e = Q.surfacePath();- if (!fn(e) || e === "/junk-files") return L7();+ if (!fn(e) || e === "/junk-files") return R7();let t = Z.nextCatalogLoad();- return YV(h7(), {+ return eH(g7(), {replace: !0,- state: JV.navigation.location.state+ state: $V.navigation.location.state}), t;}-function mPe(e) {+function zPe(e) {if (e === "local") return {kind: "glyph",name: "hard-drive"@@ -78600,7 +78780,7 @@ function mPe(e) {cost: "free"};}-function Z7(e, t) {+function Q7(e, t) {let n = (e, t = (e) => e.label || Nl(e.k)) => (e || []).map((e) => ({value: String(e.k),label: t(e),@@ -78611,7 +78791,7 @@ function Z7(e, t) {value: e.k,label: Ln[e.k] || e.k,n: e.n ?? null,- dot: mPe(e.k),+ dot: zPe(e.k),...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}})),regions: n(e.regions),@@ -78624,24 +78804,24 @@ function Z7(e, t) {duration: !!e.stats?.duration};}-async function hPe(e = !1) {- if (e && (document.hidden || !fn(decodeURIComponent(location.pathname)) || t9.stageOpen() || t9.immerseOpen() || Jl || Kl.size || document.activeElement === L("#q"))) return !1;+async function BPe(e = !1) {+ if (e && (document.hidden || !fn(decodeURIComponent(location.pathname)) || n9.stageOpen() || n9.immerseOpen() || Jl || Kl.size || document.activeElement === L("#q"))) return !1;if (!L("#stats").hidden) {let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;if (t === "skip") return;if (e === "/playlists") {- x5();+ S5();return;}let n = t === "reopen" ? e : "/stats";- n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, JV.navigation.location.state) : Q.navigatePath(n);+ n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, $V.navigation.location.state) : Q.navigatePath(n);} else if (L("#index").hidden) {- U.sort = "seed", U.dir = "", U.seed = S8.rollSeed(), yu(), O8(), w7({ refreshing: !0 });+ U.sort = "seed", U.dir = "", U.seed = C8.rollSeed(), yu(), k8(), T7({ refreshing: !0 });try {- let e = X7();- await null, await Promise.all([e, M7()]);+ let e = Z7();+ await null, await Promise.all([e, N7()]);} finally {- w7({ refreshing: !1 });+ T7({ refreshing: !1 });}return e || window.scrollTo({top: 0,@@ -78649,68 +78829,68 @@ async function hPe(e = !1) {}), !0;}}-function Q7() {+function $7() {return document.body.classList.contains("censor");}-function $7(e) {+function e9(e) {document.body.classList.toggle("censor", e), Z.settingsStore.notify();}-function gPe(e) {- localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), $7(e), e && kl();+function VPe(e) {+ localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), e9(e), e && kl();}-function _Pe(e) {+function HPe(e) {localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();}-function e9(e) {+function t9(e) {return lc(e, { drag: !0 });}-function vPe() {- ["#nrow", "#count"].forEach((e) => e9(L(e))), document.querySelectorAll(".tier,.srow").forEach(e9);+function UPe() {+ ["#nrow", "#count"].forEach((e) => t9(L(e))), document.querySelectorAll(".tier,.srow").forEach(t9);}-function yPe() {+function WPe() {let e = new URLSearchParams(location.search).get("id");return /^\d+$/.test(e || "") ? Number(e) : void 0;}-function bPe() {+function GPe() {Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {local: "无法读取媒体目录,请检查目录是否存在及读取权限。",115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = mA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Mo(Z.appSettings.uiSounds), Ro(), vA(), Yoe(), UA(), KA(), qA(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {- theme: () => vA(),+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = vA(), Z.appSettings = Z.settingsStore.value, Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Mo(Z.appSettings.uiSounds), Ro(), SA(), _se(), YA(), QA(), $A(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {+ theme: () => SA(),uiSounds: () => {Mo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && No("toggle-on");},- glowFrame: () => GA(),+ glowFrame: () => ZA(),glow: () => {- GA(), KA();+ ZA(), QA();},batchSize: () => {- location.pathname === "/" && L7();+ location.pathname === "/" && R7();},defaultSort: () => {- U.sort = Z.appSettings.defaultSort, U.dir = Jk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && X7();+ U.sort = Z.appSettings.defaultSort, U.dir = Jk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Z7();},sortDirection: () => {- U.dir = Jk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && X7();+ U.dir = Jk(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), yu(), location.pathname === "/" && Z7();},hoverDelay: () => {Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {jl(e, "previewing", !1), jl(e, "longhover", !1);}), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`);},- seekSeconds: () => J7(),- groupCollapse: () => o7(),- feedAutoScroll: () => GMe(),- feedLimit: () => Q8(),- feedCompilations: () => Q8(),+ seekSeconds: () => Y7(),+ groupCollapse: () => s7(),+ feedAutoScroll: () => gNe(),+ feedLimit: () => $8(),+ feedCompilations: () => $8(),miniplayer: () => {- Z.appSettings.miniplayer || r8()?.closeMiniplayer();+ Z.appSettings.miniplayer || i8()?.closeMiniplayer();},javImage: () => {- Ba(document, Z.appSettings.javImage), J7(), document.querySelectorAll("img[data-jav-image].cover").forEach(cl), SPe();+ Ba(document, Z.appSettings.javImage), Y7(), document.querySelectorAll("img[data-jav-image].cover").forEach(cl), qPe();},- searchHistoryLimit: () => RV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })+ searchHistoryLimit: () => UV(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {...Object.fromEntries(Object.entries(Qo).map(([e, t]) => [e, t.startsWith("data:") ? `<img class="source-icon" src="${t}" alt="">` : R(t)])),online: R("rss")@@ -78719,11 +78899,11 @@ function bPe() {return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";}, Z.emptyState = Ts;}-function xPe() {- Z.CENSOR_KEY = "peach-censor", $7(localStorage.getItem(Z.CENSOR_KEY) === "1");+function KPe() {+ Z.CENSOR_KEY = "peach-censor", e9(localStorage.getItem(Z.CENSOR_KEY) === "1");}// src/application/media.js-var t9 = {+var n9 = {total: void 0,facets: void 0,stageHost: void 0,@@ -78734,18 +78914,18 @@ var t9 = {immerseOpen: void 0,requestedImmerseId: void 0};-function n9() {+function r9() {let e = Number(new URLSearchParams(location.search).get("t"));return Number.isFinite(e) && e > 0 ? {time: e,autoplay: !1} : null;}-function r9() {- return r8()?.exit() || Promise.resolve();+function i9() {+ return i8()?.exit() || Promise.resolve();}-function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {- Q.queueOpenRequest !== r && _9(), r8()?.dispose({ miniplayer: n }), vu({+function a9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {+ Q.queueOpenRequest !== r && v9(), i8()?.dispose({ miniplayer: n }), vu({activeQueue: null,pendingQueueRoute: null,presentedItem: null@@ -78753,15 +78933,15 @@ function i9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = nulldetailOriginAnchor: null,detailOriginAbove: !1,detailReturnNeedsRestore: !1- }), u7(), e && Q.route(Ql || "/");+ }), d7(), e && Q.route(Ql || "/");}-function SPe() {- r8()?.repaintPoster();+function qPe() {+ i8()?.repaintPoster();}-function a9(e, t, n, r, i = null, a = {}) {+function o9(e, t, n, r, i = null, a = {}) {t = +t;let o = nu?.kind === e && (e === "playlist" ? nu.playlistId : nu.seedId) === t;- r && !o && vu({ detailReturnPath: location.pathname + location.search }), r && yV();+ r && !o && vu({ detailReturnPath: location.pathname + location.search }), r && wV();let s = e === "playlist" ? {kind: e,playlistId: t,@@ -78772,38 +78952,38 @@ function a9(e, t, n, r, i = null, a = {}) {fresh: !o};if (a.autoplay && (s.autoplay = !0), r) {- _9();+ v9();let e = Q.queueOpenRequest = {- seq: JV.navigation.seq,+ seq: $V.navigation.seq,cancelled: !1};- Q.requestedQueue = () => c9(n == null ? null : +n, !1, s, i, !0, e), vu({ queueOpens: uu + 1 });- } else return c9(n == null ? null : +n, !1, s, i, r);+ Q.requestedQueue = () => l9(n == null ? null : +n, !1, s, i, !0, e), vu({ queueOpens: uu + 1 });+ } else return l9(n == null ? null : +n, !1, s, i, r);}-function CPe(e, t = e, n = !0, r = null) {- return a9("mix", e, t, n, r);+function JPe(e, t = e, n = !0, r = null) {+ return o9("mix", e, t, n, r);}-function wPe(e, t = e, n = !0, r = null) {- return a9("editions", e, t, n, r);+function YPe(e, t = e, n = !0, r = null) {+ return o9("editions", e, t, n, r);}-function TPe(e, t = e, n = !0, r = null) {- return a9("parts", e, t, n, r);+function XPe(e, t = e, n = !0, r = null) {+ return o9("parts", e, t, n, r);}-function o9(e, t = null, n = !0) {- return a9("playlist", e, t, n);+function s9(e, t = null, n = !0) {+ return o9("playlist", e, t, n);}-function s9() {+function c9() {return !!L("#grid").querySelector("[data-id],[data-mix-seed]") || !L("#index").hidden || !L("#stats").hidden;}-async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {+async function l9(e, t = !0, n = null, r = null, i = !1, a = null) {if (a?.cancelled) return;- if (a || _9(), t && !n) {- vu({ detailReturnPath: location.pathname + location.search }), v9("/assets/" + +e, "item", () => c9(e, !1, null, r));+ if (a || v9(), t && !n) {+ vu({ detailReturnPath: location.pathname + location.search }), y9("/assets/" + +e, "item", () => l9(e, !1, null, r));return;}kl(), e = e == null ? null : +e;- let o = r?.isConnected ? r : $l?.isConnected ? $l : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : eu, c = s9(), l = tu || !t && !c, u = Wl.type === "item" ? Gl : Y.cloneBarsContext(o5());- t ? vu({ detailReturnPath: location.pathname + location.search }) : i || vu({ detailReturnPath: xV() || Ql }), t && yV(), r8()?.showing() !== "item" && i9(!1, !0, {+ let o = r?.isConnected ? r : $l?.isConnected ? $l : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : eu, c = c9(), l = tu || !t && !c, u = Wl.type === "item" ? Gl : Y.cloneBarsContext(s5());+ t ? vu({ detailReturnPath: location.pathname + location.search }) : i || vu({ detailReturnPath: EV() || Ql }), t && wV(), i8()?.showing() !== "item" && a9(!1, !0, {miniplayer: !1,preserveQueueRequest: a}), vu({@@ -78814,119 +78994,119 @@ async function c9(e, t = !0, n = null, r = null, i = !1, a = null) {kind: n.kind,seedId: n.seedId,playlistId: n.playlistId- } }), vu({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, SV("item"));- let d = await n8(t9.stageHost);+ } }), vu({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, DV("item"));+ let d = await r8(n9.stageHost);if (a?.cancelled) return;let f = a ? {- ...t9.itemDetailActions,+ ...n9.itemDetailActions,present: (e, t) => {- a.cancelled || t9.itemDetailActions.present(e, t);+ a.cancelled || n9.itemDetailActions.present(e, t);},redirect: (e) => {- a.cancelled || t9.itemDetailActions.redirect(e);+ a.cancelled || n9.itemDetailActions.redirect(e);}- } : t9.itemDetailActions;+ } : n9.itemDetailActions;await d.open({kind: "item",id: e,queue: n,relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,- helpers: t9.itemDetailHelpers,+ helpers: n9.itemDetailHelpers,actions: f,grid: {helpers: X.gridHelpers,actions: X.gridActions},- layout: G7(),+ layout: K7(),selectMode: Jl,selected: new Set(Kl),seekSeconds: Z.appSettings.seekSeconds,- resume: t || e == null ? null : n9()- }), u7();+ resume: t || e == null ? null : r9()+ }), d7();}-async function l9() {+async function u9() {let e = Y.cloneBarsContext(Gl), t = Ql || "/", n = tu;- await r9(), i9(!1, !1, { miniplayer: !1 }), vu({ detailReturnBarsContext: null }), bV(), vu({ barsContext: e || {+ await i9(), a9(!1, !1, { miniplayer: !1 }), vu({ detailReturnBarsContext: null }), TV(), vu({ barsContext: e || {type: "home",filters: U- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? vu({ pageOpens: lu + 1 }) : (M7(), location.pathname === "/playlists" && vu({ pageOpens: lu + 1 })));+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? vu({ pageOpens: lu + 1 }) : (N7(), location.pathname === "/playlists" && vu({ pageOpens: lu + 1 })));}-async function u9(e, t = !0) {+async function d9(e, t = !0) {if (t) {- vu({ detailReturnPath: location.pathname + location.search }), v9("/works/" + encodeURIComponent(e), "jav", () => u9(e, !1));+ vu({ detailReturnPath: location.pathname + location.search }), y9("/works/" + encodeURIComponent(e), "jav", () => d9(e, !1));return;}- let n = JV.navigation.seq, r = Y.cloneBarsContext(o5()), i = !s9(), a = xV() || (i ? "/jav?tab=discover" : Ql) || "/jav?tab=discover";- r8()?.showing() !== "jav" && i9(!1, !0, { miniplayer: !1 }), vu({+ let n = $V.navigation.seq, r = Y.cloneBarsContext(s5()), i = !c9(), a = EV() || (i ? "/jav?tab=discover" : Ql) || "/jav?tab=discover";+ i8()?.showing() !== "jav" && a9(!1, !0, { miniplayer: !1 }), vu({detailReturnPath: a,detailReturnBarsContext: r,detailReturnNeedsRestore: i}), kl();- let [o, s] = await Promise.all([n8(t9.stageHost), B("/healthz")]);- JV.navigation.seq === n && (await o.open({+ let [o, s] = await Promise.all([r8(n9.stageHost), B("/healthz")]);+ $V.navigation.seq === n && (await o.open({kind: "jav",code: e,readOnly: !!s.ledger_read_only,actions: {- close: () => void l9(),+ close: () => void u9(),navigate: (e) => Q.navigatePath(e),canonicalCode: (t) => {- JV.navigation.seq === n && t && t !== e && YV("/works/" + encodeURIComponent(t) + location.search + location.hash, {+ $V.navigation.seq === n && t && t !== e && eH("/works/" + encodeURIComponent(t) + location.search + location.hash, {replace: !0,- state: JV.navigation.location.state+ state: $V.navigation.location.state});},openTag: (e) => {- S7((t) => {+ C7((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- receipt: (e) => S8.toast({ text: e })+ receipt: (e) => C8.toast({ text: e })}- }), u7());+ }), d7());}-async function d9(e = null, t = !0) {- t ? (t9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await sMe(t9.immerseHost)).open(e));+async function f9(e = null, t = !0) {+ t ? (n9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await MMe(n9.immerseHost)).open(e));}-function EPe() {- t9.total = 0, t9.facets = null, t9.stageHost = {+function ZPe() {+ n9.total = 0, n9.facets = null, n9.stageHost = {player: {settings: () => Z.appSettings,saveSettings: () => Z.saveSettings(),- toast: (e, t) => S8.toast({ text: e }, t),- loadSourceStatus: () => Y7(),+ toast: (e, t) => C8.toast({ text: e }, t),+ loadSourceStatus: () => X7(),offlineReason: (e) => Z.offlineReason(e)},sourceOffline: (e) => Z.sourceOffline(e),expand: (e, t, n) => {- e === "follow" ? D9(t, !0, n) : c9(t, !0);+ e === "follow" ? O9(t, !0, n) : l9(t, !0);},- openItem: (e) => void c9(e)- }, t9.stageOpen = () => !!r8()?.isOpen();+ openItem: (e) => void l9(e)+ }, n9.stageOpen = () => !!i8()?.isOpen();}-function DPe() {- t9.itemDetailHelpers = {+function QPe() {+ n9.itemDetailHelpers = {badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),- titleHtml: (e) => vF(e),- displayName: (e) => _F(e),+ titleHtml: (e) => gF(e),+ displayName: (e) => hF(e),javImage: () => Z.appSettings.javImage,tagLabel: (e) => Nl(e),isDurationTag: (e) => Bn.has(e),- tagCandidates: () => t9.facets && t9.facets.tags || [],+ tagCandidates: () => n9.facets && n9.facets.tags || [],sourceOffline: (e) => Z.sourceOffline(e),offlineReason: (e) => Z.offlineReason(e),- relatedSkeletonHtml: () => s2("正在读取推荐", {+ relatedSkeletonHtml: () => c2("正在读取推荐", {cards: !0,className: "related-skeleton"}),- mixRelated: (e) => _7(e),- wireDrag: (e) => e9(e),+ mixRelated: (e) => v7(e),+ wireDrag: (e) => t9(e),wireDragReorder: (e, t) => Rc(e, t)- }, t9.itemDetailActions = {- close: () => l9(),+ }, n9.itemDetailActions = {+ close: () => u9(),present: (e) => {vu({ presentedItem: e });let t = Gl;@@ -78934,65 +79114,65 @@ function DPe() {type: "item",id: e.id,filters: t?.type === "entity" ? { ...t.filters } : Y.emptyEntityFilters()- } }), ru && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${ru}`, !1, SV("item")), vu({ pendingQueueRoute: null })), M7();+ } }), ru && (Q.queueOpenRequest = null, Q.route(`/assets/${e.id}?${ru}`, !1, DV("item")), vu({ pendingQueueRoute: null })), N7();},redirect: (e) => {let t = !!ru;e.kind === "follow" ? (Q.queueOpenRequest = null, vu({pendingQueueRoute: null,followDetailReturnPath: Ql || "/"- }), Q.route(`/posts/${e.id}`, !t, SV("follow")), D9(e.id, !1, null, !0)) : e.kind === "item" ? c9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? b9("/playlists") : x5() : i9(!1);+ }), Q.route(`/posts/${e.id}`, !t, DV("follow")), O9(e.id, !1, null, !0)) : e.kind === "item" ? l9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? x9("/playlists") : S5() : a9(!1);},- openQueueItem: (e, t, n = !0) => void a9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),+ openQueueItem: (e, t, n = !0) => void o9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),reopen: () => {let e = iu;if (!e) return;let t = nu;- t ? a9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : c9(e.id, !1);+ t ? o9(t.kind, t.kind === "playlist" ? t.playlistId : t.seedId, e.id, !1) : l9(e.id, !1);},- checkSource: async (e) => (await Y7())[e] !== !1,+ checkSource: async (e) => (await X7())[e] !== !1,openSavedFollow: () => {- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", b9(x9());+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", x9(S9());},- openEntity: (e, t) => v5(e, t),- openUnowned: () => g7({ owner: "none" }, !0),- openRegion: (e) => g7({ region: e || "none" }, !0),+ openEntity: (e, t) => y5(e, t),+ openUnowned: () => _7({ owner: "none" }, !0),+ openRegion: (e) => _7({ region: e || "none" }, !0),openTag: (e) => {- S7((t) => {+ C7((t) => {t.tag = e;}), window.scrollTo({top: 0,behavior: "smooth"});},- addToPlaylist: (e) => aNe(e),- saveMix: (e) => iNe(e),- editPlaylist: () => b9("/playlists"),- openPlaylists: () => b9("/playlists"),- reveal: (e) => p5(e),- sync: (e) => XMe(e),+ addToPlaylist: (e) => ANe(e),+ saveMix: (e) => kNe(e),+ editPlaylist: () => x9("/playlists"),+ openPlaylists: () => x9("/playlists"),+ reveal: (e) => m5(e),+ sync: (e) => xNe(e),trashChanged: async (e, t) => {- U.state === "ads" && (t || e === "trash") && (t || (bV(), i9(!0, !1, { miniplayer: !1 })), await L7());+ U.state === "ads" && (t || e === "trash") && (t || (TV(), a9(!0, !1, { miniplayer: !1 })), await R7());},- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: (e, t) => S8.actionFailure(e, t)- }, t9.immerseHost = {+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),+ failure: (e, t) => C8.actionFailure(e, t)+ }, n9.immerseHost = {filters: () => U,seekSeconds: () => Z.appSettings.seekSeconds,sourceOffline: (e) => Z.sourceOffline(e),- displayName: (e) => _F(e),+ displayName: (e) => hF(e),route: (e) => Q.route("/immerse?id=" + e, !0),- closed: () => g7(),- openItem: (e) => void c9(e),- openEntity: (e, t) => v5(e, t),- openUnowned: () => g7({ owner: "none" }, !0),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- warn: (e) => S8.toast({ text: e }, { sound: "warning" }),- failure: (e, t) => S8.actionFailure(e, t)- }, t9.immerseOpen = () => !!o8()?.isOpen(), J.handler(L("#immerseBtn"), "onclick", () => d9());+ closed: () => _7(),+ openItem: (e) => void l9(e),+ openEntity: (e, t) => y5(e, t),+ openUnowned: () => _7({ owner: "none" }, !0),+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),+ warn: (e) => C8.toast({ text: e }, { sound: "warning" }),+ failure: (e, t) => C8.actionFailure(e, t)+ }, n9.immerseOpen = () => !!s8()?.isOpen(), J.handler(L("#immerseBtn"), "onclick", () => f9());}// src/application/tutorial.js-var f9 = {+var p9 = {postSetupTutorialDone: void 0,postSetupTutorialNeedsReopen: void 0,postSetupTutorialTasks: void 0,@@ -79001,29 +79181,29 @@ var f9 = {readPostSetupTutorialDone: void 0,openTutorialTarget: void 0};-async function OPe() {- il(), await f9.writePostSetupTutorialDone(!1), await p9();+async function $Pe() {+ il(), await p9.writePostSetupTutorialDone(!1), await m9();}-async function p9() {+async function m9() {let e = L("#postSetupTutorial");if (!e) return;let t = () => {e.hidden = !0, e.innerHTML = "", delete e.dataset.tutorialSignature, e.removeAttribute("aria-busy");};- if (f9.postSetupTutorialNeedsReopen && (f9.postSetupTutorialNeedsReopen = !1, await f9.writePostSetupTutorialDone(!1).catch(() => {})), Jc() !== "pending" || await f9.readPostSetupTutorialDone()) {+ if (p9.postSetupTutorialNeedsReopen && (p9.postSetupTutorialNeedsReopen = !1, await p9.writePostSetupTutorialDone(!1).catch(() => {})), Jc() !== "pending" || await p9.readPostSetupTutorialDone()) {t();return;}let n = nl();e.hidden = !1, e.setAttribute("aria-busy", "true"), e.firstElementChild || (e.innerHTML = `<article class="post-setup-notification post-setup-loading">${R("compass")}<p>正在检查安装进度…</p></article>`);try {- let r = await f9.postSetupTutorialTasks();+ let r = await p9.postSetupTutorialTasks();if (!rl(n)) return;let i = new Set(r.map((e) => e.key)), a = new Set([...Qc()].filter((e) => i.has(e)));$c(a);let o = r.filter((e) => !a.has(e.key)), s = o.filter((e) => !e.done);if (!s.length) {- Yc("complete"), t(), await f9.writePostSetupTutorialDone(!0).catch(() => {});+ Yc("complete"), t(), await p9.writePostSetupTutorialDone(!0).catch(() => {});return;}let c = el(o);@@ -79031,47 +79211,47 @@ async function p9() {e.removeAttribute("aria-busy");return;}- e.innerHTML = f9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");+ e.innerHTML = p9.postSetupTutorialHtml(o, a.size, r.length), e.dataset.tutorialSignature = c, e.removeAttribute("aria-busy");let l = s[0], u = e.querySelector("[data-tutorial-collapse]"), d = e.querySelector(".post-setup-collapse-body");d.inert = Xc(), d.classList.toggle("ui-fcollapse-settled", !d.inert), J.handler(u, "onclick", () => {let t = e.querySelector(".post-setup-notification"), n = t.dataset.collapsed !== "true";t.dataset.collapsed = String(n), Zc(n), u.setAttribute("aria-expanded", String(!n)), u.setAttribute("aria-label", n ? "展开安装教程" : "折叠安装教程"), So(d, !n);}), e.querySelectorAll("[data-tutorial-skip]").forEach((e) => J.handler(e, "onclick", () => {let t = Qc(), n = e.dataset.tutorialSkip;- t.add(n), $c(t), S8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {+ t.add(n), $c(t), C8.actionReceipt(`已跳过「${e.dataset.tutorialLabel}」`, { undo: async () => {let e = Qc();- e.delete(n), $c(e), Yc("pending"), await p9();- } }), p9();+ e.delete(n), $c(e), Yc("pending"), await m9();+ } }), m9();}));let f = new Map(o.map((e) => [e.key, e]));e.querySelectorAll("[data-tutorial-task]").forEach((e) => J.handler(e, "onclick", (t) => {let n = f.get(e.dataset.tutorialTask);- !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), f9.openTutorialTarget(n));- })), J.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => f9.openTutorialTarget(l));+ !n || t.metaKey || t.ctrlKey || t.shiftKey || t.button || (t.preventDefault(), p9.openTutorialTarget(n));+ })), J.handler(e.querySelector("[data-tutorial-action]"), "onclick", () => p9.openTutorialTarget(l));} catch {if (!rl(n)) return;e.innerHTML = al(R("alert")), e.removeAttribute("aria-busy"), J.handler(e.querySelector("[data-tutorial-retry]"), "onclick", () => {- delete e.dataset.tutorialSignature, e.innerHTML = "", p9();+ delete e.dataset.tutorialSignature, e.innerHTML = "", m9();}), J.handler(e.querySelector("[data-tutorial-dismiss]"), "onclick", t);}}-function kPe() {- if (vu({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), f9.postSetupTutorialDone = null, f9.postSetupTutorialNeedsReopen = !1, cu) {- Yc("pending"), f9.postSetupTutorialDone = !1, f9.postSetupTutorialNeedsReopen = !0;+function eFe() {+ if (vu({ cameFromSetup: new URLSearchParams(location.search).get("onboarding") === "1" }), p9.postSetupTutorialDone = null, p9.postSetupTutorialNeedsReopen = !1, cu) {+ Yc("pending"), p9.postSetupTutorialDone = !1, p9.postSetupTutorialNeedsReopen = !0;let e = new URL(location.href);- e.searchParams.delete("onboarding"), YV(e, {+ e.searchParams.delete("onboarding"), eH(e, {replace: !0,- state: JV.navigation.location.state+ state: $V.navigation.location.state});}{let e = new URL(location.href), t = e.searchParams.get("agentation");- localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), YV(e, {+ localStorage.removeItem("peach.agentation"), t !== null && (e.searchParams.delete("agentation"), eH(e, {replace: !0,- state: JV.navigation.location.state+ state: $V.navigation.location.state})), t === "on" && import("/dev/agentation.js").catch(() => {});}- f9.postSetupTutorialTasks = async () => {+ p9.postSetupTutorialTasks = async () => {let { library: e, scraping: t, taste: n, follow: r, credentials: i, review: a } = await on("/api/post-setup-tutorial"), o = (t.sources || []).filter((e) => e.accepts_cookie).filter((e) => e.cookie_saved), s = (r.sources || []).filter((e) => e.enabled !== !1), c = new Map((i.providers || []).map((e) => [e.provider, e])), l = [...new Set(s.map((e) => e.provider))].map((e) => c.get(e)).filter((e) => e?.requirement === "required"), u = Number(e.total || 0) > 0, d = s.length > 0, f = d && l.every((e) => e.present && !e.missing?.length), p = Object.values(a.counts || {}).reduce((e, t) => e + (Number(t) || 0), 0);return [{@@ -79124,7 +79304,7 @@ function kPe() {icon: "square-check-big"}];- }, f9.postSetupTutorialHtml = (e, t, n) => {+ }, p9.postSetupTutorialHtml = (e, t, n) => {let r = [...e].sort((e, t) => Number(e.done) - Number(t.done)), i = e.find((e) => !e.done), a = e.filter((e) => e.done).length + t, o = Xc(), s = r.map((e) => `<li class="post-setup-task" data-state="${e.done ? "checked" : "unchecked"}"><a href="${e.href}" data-tutorial-task="${e.key}"><span class="post-setup-check" aria-hidden="true">${e.done ? R("check") : R(e.icon)}</span>@@ -79145,19 +79325,19 @@ function kPe() {<footer><button class="geist-button" type="button" data-tutorial-action="next">继续:${i.label}</button></footer></div></article>`;- }, f9.writePostSetupTutorialDone = async (e) => {- f9.postSetupTutorialDone = e, await on("/api/settings", {+ }, p9.writePostSetupTutorialDone = async (e) => {+ p9.postSetupTutorialDone = e, await on("/api/settings", {method: "POST",body: JSON.stringify({ postSetupTutorialDone: e })});- }, f9.readPostSetupTutorialDone = async () => {- if (f9.postSetupTutorialDone === null) try {- f9.postSetupTutorialDone = (await on("/api/settings")).postSetupTutorialDone === !0;+ }, p9.readPostSetupTutorialDone = async () => {+ if (p9.postSetupTutorialDone === null) try {+ p9.postSetupTutorialDone = (await on("/api/settings")).postSetupTutorialDone === !0;} catch {- f9.postSetupTutorialDone = !1;+ p9.postSetupTutorialDone = !1;}- return f9.postSetupTutorialDone;- }, f9.openTutorialTarget = (e) => {+ return p9.postSetupTutorialDone;+ }, p9.openTutorialTarget = (e) => {e.setupEntry && vu({ cameFromSetup: !0 }), Q.navigatePath(e.href);};}@@ -79181,48 +79361,48 @@ var Q = {queueOpenRequest: void 0,initialOverlayOpened: void 0};-function m9() {- let e = f8();- e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(s7(e.dataset.nav))));+function h9() {+ let e = p8();+ e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(c7(e.dataset.nav))));}-function h9(e = {}) {+function g9(e = {}) {let t = Q.surfacePath();- t !== B5.sidebarSurface && (B5.sidebarSurface = t, B5.sidebarProps = {- ...B5.sidebarProps,+ t !== V5.sidebarSurface && (V5.sidebarSurface = t, V5.sidebarProps = {+ ...V5.sidebarProps,content: null,latest: null- }), B5.sidebarProps = {- ...B5.sidebarProps,+ }), V5.sidebarProps = {+ ...V5.sidebarProps,...e- }, f8()?.render(B5.sidebarProps);-}-function g9() {- h9(), m9(), l7();+ }, p8()?.render(V5.sidebarProps);}function _9() {+ g9(), h9(), u7();+}+function v9() {Q.queueOpenRequest && (Q.queueOpenRequest.cancelled = !0), Q.queueOpenRequest = null, Q.requestedQueue = null, vu({ pendingQueueRoute: null });}-function v9(e, t, n) {- _9(), yV(), Q.requestedOverlay = {+function y9(e, t, n) {+ v9(), wV(), Q.requestedOverlay = {path: e,open: n- }, Q.route(e, !1, SV(t));+ }, Q.route(e, !1, DV(t));}-function y9() {- Q.surfaceEpoch++, X.barsRequestSeq++, F5.syncPageTitle(location.href), h9(), bV(), p9();+function b9() {+ Q.surfaceEpoch++, X.barsRequestSeq++, I5.syncPageTitle(location.href), g9(), TV(), m9();}-function b9(e) {+function x9(e) {Q.route(e), vu({ pageOpens: lu + 1 });}-function APe() {+function tFe() {Q.routeMeta = (e) => {- let t = TV(e);+ let t = AV(e);return t ? { route: t } : null;- }, Q.routePathOf = (e, t) => Object.keys(wV).find((n) => wV[n][e] === t), Q.catalogPage = (e) => fn(e) || e === "/trash", Q.managedPagePath = (e) => {- let t = TV(e);- return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !hV(e) && e !== "/immerse";+ }, Q.routePathOf = (e, t) => Object.keys(kV).find((n) => kV[n][e] === t), Q.catalogPage = (e) => fn(e) || e === "/trash", Q.managedPagePath = (e) => {+ let t = AV(e);+ return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !bV(e) && e !== "/immerse";}, Q.openRoutePath = (e) => {- e === "/immerse" ? d9(yPe()) : e === "/follow" ? E9() : e === "/playlists" || Q.catalogPage(e) ? b9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? CNe() : e) : (O5(!1, !0), b9(M5({+ e === "/immerse" ? f9(WPe()) : e === "/follow" ? D9() : e === "/playlists" || Q.catalogPage(e) ? x9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? JNe() : e) : (k5(!1, !0), x9(N5({kind: e.slice(1),q: "",scope: "local",@@ -79231,34 +79411,34 @@ function APe() {})));};}-function jPe() {+function nFe() {Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({epoch: Q.surfaceEpoch,path: e,signal: Q.surfaceRequests?.signal- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (X8(e) || Z8(), zV(L("#stats"), L("#index")), !fn(e) && e !== "/trash" && z7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {- Q.surfaceEpoch++, X.barsRequestSeq++, YV(e, {+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Z8(e) || Q8(), WV(L("#stats"), L("#index")), !fn(e) && e !== "/trash" && B7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {+ Q.surfaceEpoch++, X.barsRequestSeq++, eH(e, {replace: t,state: n- }), F5.syncPageTitle(e), queueMicrotask(() => {- l7(), Q5(), h9(), p9();+ }), I5.syncPageTitle(e), queueMicrotask(() => {+ u7(), $5(), g9(), m9();});}, Q.navigatePath = (e, t = !1, n) => {- t ? JV.replace(e, n) : JV.push(e, n), queueMicrotask(() => {- l7(), Q5();+ t ? $V.replace(e, n) : $V.push(e, n), queueMicrotask(() => {+ u7(), $5();});}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;}// src/jobs.ts-function MPe(e, t, n) {+function rFe(e, t, n) {if (!Number.isFinite(n) || n <= 0) return "";let r = Math.max(0, Math.min(n, Number.isFinite(t) ? t : 0)), i = r / n * 100;return `<div class="ui-board-job-progress" role="progressbar" aria-label="${z(e)}" aria-valuemin="0" aria-valuemax="${n}" aria-valuenow="${r}"><svg width="36" height="36" viewBox="0 0 36 36" aria-hidden="true"><circle class="ui-board-job-track" cx="18" cy="18" r="15"/><circle class="ui-board-job-fill" cx="18" cy="18" r="15" pathLength="100" stroke-dasharray="${i} ${100 - i}" transform="rotate(-90 18 18)"/></svg><span>${z(e)}<small>${Math.round(i)}%</small></span></div>`;}-function NPe(e, t = 0, n = 0) {- return n > 0 ? MPe(e, t, n) : Cs(e);+function iFe(e, t = 0, n = 0) {+ return n > 0 ? rFe(e, t, n) : Cs(e);}-async function PPe(e) {+async function aFe(e) {let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;for (; e.active();) {let r;@@ -79273,14 +79453,14 @@ async function PPe(e) {await t(2e3);}}-function FPe(e) {+function oFe(e) {let t = e.note || ((e) => bs(e, {label: "任务状态",variant: "error"- })), n = e.loading || Cs, r = e.progress || ((e, t, n) => NPe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");+ })), n = e.loading || Cs, r = e.progress || ((e, t, n) => iFe(n || `已处理 ${e} / ${t}`, e, t)), i = e.container || ((e) => `<section class="followtask" data-geist-fieldset aria-label="任务进度"><div class="geist-fieldset-content">${e}</div></section>`), a = document.createElement("div");e.host.hidden = !0, a.dataset.followJob = "", a.setAttribute("aria-live", "polite"), e.host.prepend(a);let o = e.storageKey || "peach-follow-job", s = sessionStorage.getItem(o) || void 0, c = !1;- PPe({+ aFe({read: e.read,active: () => !c && e.active() && a.isConnected,keepWatching: e.watchIdle !== !1,@@ -79329,25 +79509,25 @@ var $ = {FOLLOW_MANAGE_TABS: void 0,followSidebarFilters: void 0};-function IPe(e) {+function sFe(e) {let t = (e.results || []).filter((e) => !e.ok).length;- S8.toast({ text: Ci(e) }, {+ C8.toast({ text: Ci(e) }, {warn: !!t,timeout: t ? 8e3 : 6e3,sound: t ? "warning" : "success",action: {label: "查看",- run: () => E9(!0)+ run: () => D9(!0)}});}-function x9() {- return ua(S9());+function S9() {+ return ua(C9());}-function LPe() {+function cFe() {return $.controller.read();}-function S9() {+function C9() {return {status: $.followFilter,media: $.followMediaView,@@ -79362,33 +79542,33 @@ function S9() {seed: $.followSeed};}-function C9(e) {+function w9(e) {$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;}-function RPe() {- let e = NV(L("#stats"));+function lFe() {+ let e = RV(L("#stats"));return e && e.path === "/follow" && e.host.isConnected ? e : null;}-function w9() {- return !!RPe();+function T9() {+ return !!lFe();}-function T9(e) {- w9() && RV(L("#stats"), e);+function E9(e) {+ T9() && UV(L("#stats"), e);}-function zPe(e, t = {}) {+function uFe(e, t = {}) {return $.controller.route(e, t);}-function E9(e = !1) {+function D9(e = !1) {$.controller.enter(e);}-async function D9(e, t = !0, n = null, r = !1) {+async function O9(e, t = !0, n = null, r = !1) {if (t) {- !location.pathname.startsWith("/posts/") && !r && vu({ followDetailReturnPath: location.pathname + location.search }), v9(`/posts/${+e}`, "follow", () => D9(e, !1, n, r));+ !location.pathname.startsWith("/posts/") && !r && vu({ followDetailReturnPath: location.pathname + location.search }), y9(`/posts/${+e}`, "follow", () => O9(e, !1, n, r));return;}kl(), e = +e;let i = !location.pathname.startsWith("/posts/");- t && i && !r && vu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && vu({ followDetailReturnPath: xV() || "/follow" }), t && yV(), r8()?.showing() !== "follow" && i9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, SV("follow")), await (await n8(t9.stageHost)).open({+ t && i && !r && vu({ followDetailReturnPath: location.pathname + location.search }), !t && !r && vu({ followDetailReturnPath: EV() || "/follow" }), t && wV(), i8()?.showing() !== "follow" && a9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, DV("follow")), await (await r8(n9.stageHost)).open({kind: "follow",id: e,mediaIndex: n,@@ -79396,66 +79576,66 @@ async function D9(e, t = !0, n = null, r = !1) {relatedLimit: Z.appSettings.relatedLimit > 0 ? +Z.appSettings.relatedLimit : 0,helpers: $.followFeedHelpers,actions: $.followDetailActions,- resume: t ? null : n9()- }), u7();+ resume: t ? null : r9()+ }), d7();}-async function BPe() {- await r9(), i9(!1, !1, { miniplayer: !1 }), bV(), Q.route(au || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && w9() ? (LPe(), T9({ view: S9() })) : vu({ pageOpens: lu + 1 }));+async function dFe() {+ await i9(), a9(!1, !1, { miniplayer: !1 }), TV(), Q.route(au || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && T9() ? (cFe(), E9({ view: C9() })) : vu({ pageOpens: lu + 1 }));}-function VPe(e) {+function fFe(e) {let t = document.createElement("div");return t.className = "peach-react", Ls(e, () => {e.textContent = "", e.append(t);}), t;}-function HPe() {+function pFe() {$.followFeedHelpers = Fl({wireDrag: (e) => {- e && e9(e);+ e && t9(e);},wireScroller: (e) => {e && lc(e);},listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),- jobProgress: FPe+ jobProgress: oFe}), $.followFeedActions = {- loaded: (e) => W5(e),- openDetail: (e) => D9(e),+ loaded: (e) => G5(e),+ openDetail: (e) => O9(e),openAuthor: (e) => Q.navigatePath(hn("creator", e)),- toggleSelection: (e, t) => dNe(e, t),+ toggleSelection: (e, t) => INe(e, t),setImagesOnly: (e) => {- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), u5();+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), d5();},setPhotoLayout: (e) => {- FA(e), u5();+ zA(e), d5();},- canFlip: () => !Jl && !Q7() && !window.__scrolling && !X.reduceMotion(),- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: (e, t) => S8.actionFailure(e, t),- checkReport: (e) => IPe(e)+ canFlip: () => !Jl && !$7() && !window.__scrolling && !X.reduceMotion(),+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),+ failure: (e, t) => C8.actionFailure(e, t),+ checkReport: (e) => sFe(e)}, $.followFeedShell = {skeleton: () => $.followSkeletonHtml("正在读取关注内容"),ground: () => {- r8()?.showing() !== "follow" && (kl(), i9(!1), H5(), !w9() && (Q.claimSurface(Q.surfacePath()), V5({ manage: !1 }), L("#stats").querySelector(".peach-react") && zV(L("#stats")), L("#stats").replaceChildren()));+ i8()?.showing() !== "follow" && (kl(), a9(!1), U5(), !T9() && (Q.claimSurface(Q.surfacePath()), H5({ manage: !1 }), L("#stats").querySelector(".peach-react") && WV(L("#stats")), L("#stats").replaceChildren()));}}, $.followDetailActions = Ul({- view: S9,- adoptView: C9,+ view: C9,+ adoptView: w9,rememberReturn: (e) => vu({ followDetailReturnPath: e }),- close: () => void BPe(),- open: (e, t, n) => void D9(e, !0, t, n),- drawer: W5,+ close: () => void dFe(),+ open: (e, t, n) => void O9(e, !0, t, n),+ drawer: G5,openAuthor: (e) => Q.navigatePath(hn("creator", e))}, {- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),- failure: S8.actionFailure+ toast: (e, { undo: t } = {}) => C8.actionReceipt(e, { undo: t }),+ failure: C8.actionFailure});}-function UPe() {+function mFe() {$.controller = pa({location: () => location,- view: S9,- adoptView: C9,+ view: C9,+ adoptView: w9,session: () => ({discoverySeed: fu,revision: pu,@@ -79469,20 +79649,20 @@ function UPe() {preferences: () => ({selectMode: Jl,selected: ql,- photoSize: kA(),- photoLayout: AA(),+ photoSize: NA(),+ photoLayout: PA(),imagesOnly: !!Z.appSettings.followImagesOnly}),- live: w9,- push: T9,+ live: T9,+ push: E9,route: Q.route,- openPage: b9,- rollSeed: () => Number(S8.rollSeed()),+ openPage: x9,+ rollSeed: () => Number(C8.rollSeed()),enterSeed: () => Math.floor(Math.random() * 4294967295),revealFeed: () => {- kl(), H5(), V5({ manage: !1 });+ kl(), U5(), H5({ manage: !1 });},- syncPhotoWalls: u5,+ syncPhotoWalls: d5,scrollTop: () => window.scrollTo({top: 0,behavior: "smooth"@@ -79490,19 +79670,19 @@ function UPe() {}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;}// src/application/lifecycle.js-function WPe() {- DSe(), jc(document), yo(document.documentElement, { variant: "page" }), yo(L("#drawerScroll")), J.own(Oc()), Ta(document.body), X.homeHasFeed = HMe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, B5.sidebarProps = {+function hFe() {+ $Se(), jc(document), yo(document.documentElement, { variant: "page" }), yo(L("#drawerScroll")), J.own(Oc()), Ta(document.body), X.homeHasFeed = pNe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, V5.sidebarProps = {content: null,filters: {},latest: null- }, B5.sidebarSurface = "", B5.sidebarCatalog = null, B5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [+ }, V5.sidebarSurface = "", V5.sidebarCatalog = null, V5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [["new", "更新时间"],["hot", "热度"],["dur", "时长"]], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;}// src/react/search/recommendations.ts-async function GPe(e) {+async function gFe(e) {let t = (await Promise.allSettled([e("/api/items?sort=rand&limit=5"),e("/api/jav/discoveries?scope=library&limit=5"),@@ -79526,9 +79706,9 @@ async function GPe(e) {let t = Xi(e);for (let n of ["videos", "images"]) {if (n === "images" ? !t.has("image") : t.size && !t.has("video")) continue;- let r = Zi(e, n), i = l.sources.find((e) => e.id === r.source_id), a = JU(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;+ let r = Zi(e, n), i = l.sources.find((e) => e.id === r.source_id), a = $U(r, i?.author_key ? l.sources.filter((e) => e.author_key === i.author_key) : i ? [i] : [], l), o = n === "images" ? r.media_items?.find((e) => e.media_kind === "image") : void 0;(n === "images" ? c : s).push({- value: WU(r),+ value: YU(r),id: r.id,who: a.author,href: `/posts/${r.id}`,@@ -79544,7 +79724,7 @@ async function GPe(e) {let u = (t[4]?.items || []).map((e) => ({value: e.k,href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,- avatarHtml: qU(l.sources.filter((t) => t.author_key === e.key), e.k),+ avatarHtml: QU(l.sources.filter((t) => t.author_key === e.key), e.k),subtitle: "关注中的作者"})), d = /* @__PURE__ */ new Map();for (let e of r) for (let t of e.performer_refs || []) t.id && !d.has(t.name) && d.set(t.name, {@@ -79614,7 +79794,7 @@ async function GPe(e) {];}// src/application/search-morph.js-function KPe(e, t, n, r, i, a, o) {+function _Fe(e, t, n, r, i, a, o) {let s = a.startsWith("linear(") ? a.slice(7, -1).split(",").map(Number) : [0, 1];return s.map((a, c) => {let l = c / (s.length - 1), u = (e, t) => e + (t - e) * a, d = Math.max(8, Math.min(o - 44, u(e.left, t.left))), f = Math.max(36, Math.min(o - 8 - d, u(e.width, t.width))), p = u(e.height, t.height) + Math.sin(Math.PI * l) * t.height * .12, m = u(e.top + e.height / 2, t.top + t.height / 2);@@ -79629,65 +79809,65 @@ function KPe(e, t, n, r, i, a, o) {});}// src/application/search.js-var O9 = {+var k9 = {searchControl: void 0,searchActions: void 0,searchHelpers: void 0,searchMorph: void 0,searchMorphViewport: void 0};-function k9() {- O9.searchControl?.close();+function A9() {+ k9.searchControl?.close();}-function qPe(e) {+function vFe(e) {let t = e ? Ia({...e,is_jav: !!e.code}, Z.appSettings.javImage) : "";return t === "cover" ? no(e, "big") : t ? `<img class="poster still" src="/poster?id=${e.id}&c=4" width="640" height="360" alt="" loading="lazy" data-drop="self">` : "<span class=\"nopic\">无预览</span>";}-function A9() {- O9.searchMorph?.cancel(), O9.searchMorph = null, L(".search").classList.remove("search-morphing");+function j9() {+ k9.searchMorph?.cancel(), k9.searchMorph = null, L(".search").classList.remove("search-morphing");}-function j9(e) {+function M9(e) {let t = L(".search"), n = L("#searchBtn");if (t.classList.contains("open") === e) return;- let r = !!O9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);- A9(), t.classList.remove("open");+ let r = !!k9.searchMorph, i = t.getBoundingClientRect(), a = parseFloat(getComputedStyle(t).paddingLeft);+ j9(), t.classList.remove("open");let o = n.getBoundingClientRect();if (t.classList.toggle("open", e), L("#searchBtn").setAttribute("aria-expanded", String(e)), innerWidth > 760 || matchMedia("(prefers-reduced-motion:reduce)").matches) return;let s = t.getBoundingClientRect(), c = getComputedStyle(t), l = parseFloat(c.paddingLeft), u = t.querySelector("svg").getBoundingClientRect().width, d = Math.max(0, (o.width - u) / 2 - parseFloat(c.borderLeftWidth)), f = r ? i : e ? o : s, p = e ? s : o, m = Sc();t.classList.add("search-morphing");- let h = t.animate(KPe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {+ let h = t.animate(_Fe(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {duration: m.duration,easing: "linear",fill: "both"});- O9.searchMorph = h, J.handler(h, "onfinish", () => {- O9.searchMorph === h && A9();+ k9.searchMorph = h, J.handler(h, "onfinish", () => {+ k9.searchMorph === h && j9();});}-function JPe() {- return t9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;+function yFe() {+ return n9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;}-function YPe(e) {+function bFe(e) {return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);}-function XPe() {- O9.searchControl = null, O9.searchActions = {+function xFe() {+ k9.searchControl = null, k9.searchActions = {search: (e) => {- X.rememberSearchValue(), i9(!1), U.q = e, yu(), Q.route(U.jav === "1" ? h7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);+ X.rememberSearchValue(), a9(!1), U.q = e, yu(), Q.route(U.jav === "1" ? g7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);},- openItem: (e) => c9(e),- openEntity: (e, t) => v5(e, t),+ openItem: (e) => l9(e),+ openEntity: (e, t) => y5(e, t),openPath: (e) => Q.route(e, !1),openFollow: (e, t, n) => {- $.followMediaView = t, D9(e, !0, n);+ $.followMediaView = t, O9(e, !0, n);}- }, O9.searchHelpers = {- pool: () => CK(U, on),- recommendations: () => GPe(on),- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? U8(e) : qPe(e)}</span>`,+ }, k9.searchHelpers = {+ pool: () => A_e(U, on),+ recommendations: () => gFe(on),+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? W8(e) : vFe(e)}</span>`,present: (e) => Uo(e),dismiss: (e) => Wo(e),wireScroller: (e) => lc(e),@@ -79702,13 +79882,13 @@ function XPe() {text: e.value,scrollLeft: e.scrollLeft || X.searchValueSnapshot.scrollLeft})- }, LV("search", {+ }, HV("search", {input: L("#q"),historyLimit: Z.appSettings.searchHistoryLimit,- actions: O9.searchActions,- helpers: O9.searchHelpers,+ actions: k9.searchActions,+ helpers: k9.searchHelpers,expose: (e) => {- O9.searchControl = e;+ k9.searchControl = e;}}, {container: L("#searchMenu"),@@ -79721,49 +79901,49 @@ function XPe() {e.currentTarget.value && X.rememberSearchValue(e.currentTarget);});}-function M9() {- O9.searchMorph = null, O9.searchMorphViewport = innerWidth, J.listen.bind(J, window)("resize", () => {- innerWidth !== O9.searchMorphViewport && (O9.searchMorphViewport = innerWidth, A9());- }, { passive: !0 }), J.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", A9), J.handler(L("#searchBtn"), "onclick", () => {- j9(!0), L("#q").focus({ preventScroll: !0 });+function SFe() {+ k9.searchMorph = null, k9.searchMorphViewport = innerWidth, J.listen.bind(J, window)("resize", () => {+ innerWidth !== k9.searchMorphViewport && (k9.searchMorphViewport = innerWidth, j9());+ }, { passive: !0 }), J.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", j9), J.handler(L("#searchBtn"), "onclick", () => {+ M9(!0), L("#q").focus({ preventScroll: !0 });}), J.handler(L("#searchBack"), "onclick", () => {- j9(!1), k9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });+ M9(!1), A9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });});let e = (e) => {- e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || j9(!1), k9());+ e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || M9(!1), A9());};J.listen(document, "pointerdown", e, !0), J.listen(document, "focusin", e), J.handler(L("#brandHome"), "onclick", (e) => {- e.preventDefault(), g7(null, !0);+ e.preventDefault(), _7(null, !0);}), J.listen(document, "keydown", (e) => {if (e.key === "Escape") {- let t = l8();+ let t = u8();if (t?.isOpen()) {t.close();return;}if (!L("#searchMenu").hidden) {- k9();+ A9();return;}- if (t9.immerseOpen()) {- o8().close();+ if (n9.immerseOpen()) {+ s8().close();return;}- if (t9.stageOpen()) {- e.defaultPrevented || (e.preventDefault(), r8().requestClose());+ if (n9.stageOpen()) {+ e.defaultPrevented || (e.preventDefault(), i8().requestClose());return;}if (L("#drawer").classList.contains("open")) {- q5(!1);+ J5(!1);return;}if (Jl || Kl.size || ql.size) {- O5(!1, !0);+ k5(!1, !0);return;}return;}- if (YPe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;+ if (bFe(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;if (e.key === "ArrowLeft" || e.key === "ArrowRight") {let t = document.querySelector(`#stage[open] [data-media-carousel]:not([data-carousel-video-active]) [data-follow-image-step="${e.key === "ArrowRight" ? 1 : -1}"]`);if (t) {@@ -79771,37 +79951,37 @@ function M9() {return;}}- let t = JPe();+ let t = yFe();if (t) {if (e.key === "t" || e.key === "T") {- e.preventDefault(), r8()?.toggleTheater();+ e.preventDefault(), i8()?.toggleTheater();return;}if (e.key === "ArrowLeft" || e.key === "ArrowRight") {- e.preventDefault(), gM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));+ e.preventDefault(), kM(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));return;}if (e.key === " " || e.key === "k" || e.key === "K") {- e.preventDefault(), hM(t);+ e.preventDefault(), OM(t);return;}if (e.key === "m" || e.key === "M") {- e.preventDefault(), Mj(t, ".vjs-mute-control");+ e.preventDefault(), Lj(t, ".vjs-mute-control");return;}if (e.key === "f" || e.key === "F") {- e.preventDefault(), Mj(t, ".vjs-fullscreen-control");+ e.preventDefault(), Lj(t, ".vjs-fullscreen-control");return;}if (e.key === "i" || e.key === "I") {- e.preventDefault(), r8()?.toggleMiniplayer();+ e.preventDefault(), i8()?.toggleMiniplayer();return;}}});}// src/history/links.ts-function ZPe(e) {+function CFe(e) {if (e.defaultPrevented || e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey) return null;let t = e.target instanceof Element ? e.target.closest("a[href]") : null;if (!t || t.hasAttribute("download") || t.target && t.target.toLowerCase() !== "_self") return null;@@ -79815,79 +79995,79 @@ function ZPe(e) {} catch {return null;}- if (i.origin !== window.location.origin || n.startsWith("#") && hV(i.pathname)) return null;- let a = TV(i.pathname);- return n.startsWith("#") && !a?.section || !mV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;+ if (i.origin !== window.location.origin || n.startsWith("#") && bV(i.pathname)) return null;+ let a = AV(i.pathname);+ return n.startsWith("#") && !a?.section || !yV(i.pathname, i.search) && !a ? null : i.pathname + i.search + i.hash;}// src/application/composition.jsvar N9 = {shellActions: void 0,routing: void 0};-function QPe() {+function wFe() {let e = J, t = (e) => {- e.kind === "item" ? c9(e.id, !1) : e.kind === "jav" ? u9(e.code, !1) : e.kind === "follow" ? D9(e.id, !1) : a9(e.queue, e.key, e.item, !1);+ e.kind === "item" ? l9(e.id, !1) : e.kind === "jav" ? d9(e.code, !1) : e.kind === "follow" ? O9(e.id, !1) : o9(e.queue, e.key, e.item, !1);};- if (VMe(), F5.entityShapesReady = W8(), kNe(), location.pathname === "/") {+ if (fNe(), I5.entityShapesReady = G8(), ePe(), location.pathname === "/") {let e = new URLSearchParams(location.search);!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1);}- X8(decodeURIComponent(location.pathname)) && q8(L("#feedNew")), RNe(), N9.shellActions = {- openSettings: (e) => J5(e, !0),- closeSettings: () => l8()?.close(!1),- openItem: (e) => void c9(e),- openEntity: (e, t) => void v5(e, t),+ Z8(decodeURIComponent(location.pathname)) && J8(L("#feedNew")), lPe(), N9.shellActions = {+ openSettings: (e) => Y5(e, !0),+ closeSettings: () => u8()?.close(!1),+ openItem: (e) => void l9(e),+ openEntity: (e, t) => void y5(e, t),openTag: (e) => {- NNe(), P7(e);+ iPe(), F7(e);},- openTasteSignal: rNe,+ openTasteSignal: ONe,navigate: (e) => {- let n = new URL(e, location.href), r = mV(n.pathname, n.search);+ let n = new URL(e, location.href), r = yV(n.pathname, n.search);if (r) {let e = r.kind === "queue" ? "item" : r.kind;- v9(n.pathname + n.search + n.hash, e, () => t(r));- } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !hV(location.pathname)) {+ y9(n.pathname + n.search + n.hash, e, () => t(r));+ } else if (n.hash && n.pathname === location.pathname && n.search === location.search && !bV(location.pathname)) {Q.route(e);- let t = JV.navigation.seq;- c6(n.hash, () => JV.navigation.seq === t);+ let t = $V.navigation.seq;+ l6(n.hash, () => $V.navigation.seq === t);} else Q.navigatePath(e);},- openManage: $5,+ openManage: e7,managePath: (e) => Q.routePathOf("section", e) || "",- openFollow: () => E9(),- receipt: (e, t) => S8.actionReceipt(e, t),- toast: (e, t) => S8.toast(e, t),- failure: S8.actionFailure,- revealSource: p5,- reopenTutorial: OPe,- routeReview: oNe,- routeFollowManage: SNe,+ openFollow: () => D9(),+ receipt: (e, t) => C8.actionReceipt(e, t),+ toast: (e, t) => C8.toast(e, t),+ failure: C8.actionFailure,+ revealSource: m5,+ reopenTutorial: $Pe,+ routeReview: jNe,+ routeFollowManage: qNe,saveFollowPreference: (e) => {e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();},srcBadge: (e, t) => Z.srcBadge(e, t),- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(M5(e), t),+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(N5(e), t),savePeopleLayout: ({ layout: e }) => {Z.appSettings.peopleLayout = e, Z.saveSettings();},- exitSelectMode: () => O5(!1, !1),- personAvatar: (e, t, n) => j5.personAvatar(e, t, n),- authorAvatar: (e) => wNe(e),- showIndexTags: TNe,- openFollowAuthor: P5,- openFollowTag: ENe,- openPlaylist: (e, t) => void o9(e, t, !0),- canFlip: () => !Jl && !Q7() && !window.__scrolling && !X.reduceMotion(),+ exitSelectMode: () => k5(!1, !1),+ personAvatar: (e, t, n) => M5.personAvatar(e, t, n),+ authorAvatar: (e) => YNe(e),+ showIndexTags: XNe,+ openFollowAuthor: F5,+ openFollowTag: ZNe,+ openPlaylist: (e, t) => void s9(e, t, !0),+ canFlip: () => !Jl && !$7() && !window.__scrolling && !X.reduceMotion(),surfaceChanged: (e, t) => {e === "entity" ? (kl(), vu({ barsContext: {type: "home",filters: U- } }), U5(), document.body.classList.add("entity-open"), C7(), N5()) : e === "index" ? (kl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), U5(), document.body.classList.add("index-open"), C7(), N5()) : (kl(), Q.claimSurface(t), e === "catalog" ? U5() : (H5(), V5({ manage: e === "management" })));+ } }), W5(), document.body.classList.add("entity-open"), w7(), P5()) : e === "index" ? (kl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), W5(), document.body.classList.add("index-open"), w7(), P5()) : (kl(), Q.claimSurface(t), e === "catalog" ? W5() : (U5(), H5({ manage: e === "management" })));},clearSearch: () => X.clearSearchField(),openImmerse: (e) => {- let t = t9.requestedImmerseId === void 0 ? e : t9.requestedImmerseId;- t9.requestedImmerseId = void 0, d9(t, !1);+ let t = n9.requestedImmerseId === void 0 ? e : n9.requestedImmerseId;+ n9.requestedImmerseId = void 0, f9(t, !1);},openQueueRequest: () => {let e = Q.requestedQueue;@@ -79895,10 +80075,10 @@ function QPe() {},openOverlay: (e) => {let n = Q.requestedOverlay;- Q.requestedOverlay = null, JV.navigation.claimed && (!XV() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (XV() && (Q.initialOverlayOpened = !0), t(e));+ Q.requestedOverlay = null, $V.navigation.claimed && (!tH() || Q.initialOverlayOpened) ? n?.path === location.pathname + location.search + location.hash && n.open() : (tH() && (Q.initialOverlayOpened = !0), t(e));},closeStage: () => {- t9.stageOpen() && i9(!1);+ n9.stageOpen() && a9(!1);},grid: {helpers: X.gridHelpers,@@ -79906,57 +80086,57 @@ function QPe() {},configurable: () => !!su,surfaceShown: (e) => {- e === "index" ? (g9(), u7()) : M7();+ e === "index" ? (_9(), d7()) : N7();},entity: {missing: (e) => {- N9.shellActions.surfaceChanged("entity", location.pathname), _5(e);+ N9.shellActions.surfaceChanged("entity", location.pathname), v5(e);},loading: (e, t, n) => Y.application.loading(e, t, n),props: (e, t, n) => Y.application.addressProps(e, t, n),refresh: (e, t, n) => {let r = Y.parseEntityFilters(n);e === "creator" && (r.creator = "");- let i = o5();- return i.type !== "entity" || i.kind !== e || i.name !== t || !c5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (b7(r), x7(o5()), !0);+ let i = s5();+ return i.type !== "entity" || i.kind !== e || i.name !== t || !l5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (x7(r), S7(s5()), !0);}},follow: $.followFeedShell,catalog: {- defaultLoc: () => m7("local,115"),+ defaultLoc: () => h7("local,115"),open: (e, { entering: t = !1, retitle: n = !1 } = {}) => {- n && (y9(), l7(), Q5()), t && O8(), e === "/trash" ? (X.clearSearchField(), U5()) : (L("#q").value = U.q, X.rememberSearchValue()), g9(), M7(), Z.handOff(L7());+ n && (b9(), u7(), $5()), t && k8(), e === "/trash" ? (X.clearSearchField(), W5()) : (L("#q").value = U.q, X.rememberSearchValue()), _9(), N7(), Z.handOff(R7());},load: () => {- Z.handOff(L7());+ Z.handOff(R7());},fill: () => {- if (H7() || !XV() && !L("#grid").querySelector(".catalog-skeleton")) return;+ if (U7() || !tH() && !L("#grid").querySelector(".catalog-skeleton")) return;let e = L("#count");- e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), B7(Q.surfaceToken(Q.surfacePath()));+ e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), V7(Q.surfaceToken(Q.surfacePath()));},release: () => {- z7(), Z8();+ B7(), Q8();}}}, N9.routing = !1, e.listen(document, "click", (e) => {- let t = ZPe(e);+ let t = CFe(e);t && (e.preventDefault(), N9.shellActions.navigate(t));- }), J.own(JV.listen((e) => {- Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !hV(e.location.pathname) && i9(!1), N9.routing && !e.claimed && y9();- })), aMe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), VNe(), gNe(), X5(), Promise.all([- Y7(),- zNe(),- F5.entityShapesReady+ }), J.own($V.listen((e) => {+ Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !bV(e.location.pathname) && a9(!1), N9.routing && !e.claimed && b9();+ })), AMe(N9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), fPe(), VNe(), Z5(), Promise.all([+ X7(),+ uPe(),+ I5.entityShapesReady]).then(() => {- e.isActive && (F5.wantsDiscoveryBars() && M7().catch((e) => console.error("首页横条装载失败", e)), g9(), vPe(), N9.routing = !0, vu({ pageOpens: 1 }), y9(), u7());+ e.isActive && (I5.wantsDiscoveryBars() && N7().catch((e) => console.error("首页横条装载失败", e)), _9(), UPe(), N9.routing = !0, vu({ pageOpens: 1 }), b9(), d7());}).catch((t) => {e.isActive && console.error("应用启动失败", t);});}// src/theme-transition.tsvar P9 = !1;-async function $Pe(e, t) {+async function TFe(e, t) {if (P9) return;if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {t();@@ -79978,7 +80158,7 @@ async function $Pe(e, t) {}}// src/application/chrome.js-function eFe() {+function EFe() {(() => {let e = J, t = ["#brandHome",@@ -80040,7 +80220,7 @@ function eFe() {e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());}), on("/api/libraries", { signal: e.signal }).then((t) => {if (!e.isActive) return;- LW(t.libraries);+ ZW(t.libraries);let n = [["","全部媒体库",@@ -80061,7 +80241,7 @@ function eFe() {s.className = "mark", s.setAttribute("aria-hidden", "true"), s.innerHTML = o(n.find((e) => e[0] === i)?.[2] || "database"), c.querySelector(".mark").replaceWith(s), l.innerHTML = `<p>媒体库</p><div class="board-library-rows">${n.map(([e, t, n]) => `<button type="button" data-library="${z(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${z(t)}</span></button>`).join("")}</div><footer><button type="button" class="geist-button primary" data-library-manage>管理媒体库</button></footer>`, l.querySelectorAll("[data-library]").forEach((t) => e.handler(t, "onclick", () => {sessionStorage.setItem("peach.library", t.dataset.library), sessionStorage.setItem("peach.library-label", n.find((e) => e[0] === t.dataset.library)?.[1] || "全部媒体库"), location.assign("/");})), e.handler(l.querySelector("[data-library-manage]"), "onclick", () => {- u.setOpen(!1), q5(!1), S5("媒体库与入库");+ u.setOpen(!1), J5(!1), C5("媒体库与入库");});let d = l.querySelector(".board-library-rows");e.listen(d, "pointerover", (e) => {@@ -80078,18 +80258,18 @@ function eFe() {(document.querySelector(".top") || m.closest("header")).prepend(h), e.own(() => h.remove());let g = document.createElement("div");g.className = "board-sidebar-foot", e.own(() => g.remove()), g.innerHTML = `<div class="board-theme-toggle" role="group" aria-label="明暗主题"><span class="board-theme-thumb" aria-hidden="true"></span><button type="button" data-board-theme="light" aria-label="浅色主题">${R("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${R("moon")}</button></div>`, g.insertAdjacentHTML("beforeend", "<div class=\"board-foot-actions\"><button type=\"button\" class=\"board-glow-toggle\" id=\"boardGlowBtn\" aria-label=\"光晕配色\" aria-haspopup=\"dialog\" aria-expanded=\"false\" aria-controls=\"boardGlowMenu\"><svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#ri-palette-line\"/></svg><span class=\"board-glow-mark\" aria-hidden=\"true\"><span class=\"board-glow-mark-glow\"></span><span class=\"board-glow-mark-accent\"></span></span></button></div>"), g.querySelector(".board-foot-actions").append(document.querySelector("#settingsBtn")), document.querySelector("#drawer").append(g), g.querySelectorAll("[data-board-theme]").forEach((t) => e.handler(t, "onclick", () => {- t.getAttribute("aria-pressed") !== "true" && $Pe(t, () => {- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), vA();+ t.getAttribute("aria-pressed") !== "true" && TFe(t, () => {+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), SA();});- })), vA();+ })), SA();let _ = document.createElement("div");_.className = "popmenu board-glow-menu", _.id = "boardGlowMenu", _.hidden = !0, _.setAttribute("popover", "manual"), _.setAttribute("role", "dialog"), _.setAttribute("aria-label", "配色"), document.body.append(_), e.own(() => _.remove());let v = g.querySelector("#boardGlowBtn"), y = qo(g, v, _);- e.own(y.dispose), e.own(sse(v)), fMe({+ e.own(y.dispose), e.own(Dse(v)), LMe({root: _,store: Z.settingsStore,openDetails: () => {- e.isActive && (y.setOpen(!1), q5(!1), J5("外观与导航").then((t) => {+ e.isActive && (y.setOpen(!1), J5(!1), Y5("外观与导航").then((t) => {e.isActive && t.reveal("#homeGlowControls");}));}@@ -80101,7 +80281,7 @@ function eFe() {let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");if (!t) return;c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);- let r = n.classList.contains("open"), i = !K5();+ let r = n.classList.contains("open"), i = !q5();i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;}Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(J, window)("resize", b);@@ -80225,15 +80405,15 @@ function eFe() {subtree: !0}), y();}- })(), q5(!K5() && sessionStorage.getItem("board.sidebar") !== "closed");+ })(), J5(!q5() && sessionStorage.getItem("board.sidebar") !== "closed");}// src/application/initialize.js-function tFe() {- WPe(), APe(), ANe(), jPe(), bPe(), mMe(), dPe(), kPe(), eNe(), EPe(), _Ne(), fPe(), qMe(), sNe(), HPe(), DNe(), tNe(), UPe(), ONe(), nNe(), qNe(), pPe(), XPe(), DPe(), M9(), xPe(), QPe(), eFe(), J.own(z7), J.own(_9);+function DFe() {+ hFe(), tFe(), tPe(), nFe(), GPe(), zMe(), IPe(), eFe(), TNe(), ZPe(), HNe(), LPe(), vNe(), MNe(), pFe(), QNe(), ENe(), mFe(), $Ne(), DNe(), vPe(), RPe(), xFe(), QPe(), SFe(), KPe(), wFe(), EFe(), J.own(B7), J.own(v9);}// src/ui-kit/middle-truncate.tsvar F9 = "…", I9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, L9 = /* @__PURE__ */ new WeakMap(), R9 = /* @__PURE__ */ new WeakSet(), z9 = null, B9 = null, V9 = /* @__PURE__ */ new Set(), H9 = (e) => I9 ? [...I9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? ""));-function nFe(e, t) {+function OFe(e, t) {let n = H9(e);if (!n.length || t(e)) return String(e ?? "");let r = 0, i = Math.max(0, n.length - 1), a = F9;@@ -80251,7 +80431,7 @@ var U9 = Object.assign((e, t) => {Number.isFinite(a) && (i += Math.max(0, H9(t).length - 1) * a);let o = parseFloat(n.wordSpacing);return Number.isFinite(o) && (i += (t.match(/\s/g) || []).length * o), i;-}, { canvas: null }), rFe = (e) => {+}, { canvas: null }), kFe = (e) => {if (e.dataset.middleTruncateWithin === void 0) return e.clientWidth;let t = e.parentElement;if (!t) return e.clientWidth;@@ -80261,17 +80441,17 @@ var U9 = Object.assign((e, t) => {n === e ? a++ : t > 0 && (i += t, a++);}return t.getBoundingClientRect().width - (parseFloat(n.paddingLeft) || 0) - (parseFloat(n.paddingRight) || 0) - i - r * Math.max(0, a - 1);-}, iFe = (e) => {+}, AFe = (e) => {let t = L9.get(e);if (!t || !e.isConnected) return;- let n = rFe(e), r = n > 0 ? nFe(t.full, (t) => U9(e, t) <= n) : t.full;+ let n = kFe(e), r = n > 0 ? OFe(t.full, (t) => U9(e, t) <= n) : t.full;t.rendered = r, e.textContent !== r && (e.textContent = r);let i = r !== t.full;e.classList.toggle("middle-truncated", i), e.setAttribute("aria-label", t.full), e.hasAttribute("title") && e.dataset.middleTitle !== "true" || (e.title = t.full, e.dataset.middleTitle = "true");}, W9 = (e) => {let t = L9.get(e);t && !t.raf && (t.raf = requestAnimationFrame(() => {- t.raf = 0, iFe(e);+ t.raf = 0, AFe(e);}));}, G9 = (e) => {e instanceof HTMLElement && (L9.has(e) || L9.set(e, {@@ -80284,7 +80464,7 @@ var U9 = Object.assign((e, t) => {let t = e;t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);};-function aFe(e = document) {+function jFe(e = document) {B9?.(), R9 = /* @__PURE__ */ new WeakSet(), V9 = /* @__PURE__ */ new Set();let t = V9, n = !0;z9 = new ResizeObserver((e) => e.forEach((e) => {@@ -80358,7 +80538,7 @@ var q9 = ["jav-detail","wants","index"-], oFe = {+], MFe = {catalog: [...q9,...J9,@@ -80379,10 +80559,10 @@ var q9 = ["avatar-choices"]};-function sFe() {+function NFe() {let e = /* @__PURE__ */ new Set(), t = null;return (n, r) => {- for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of oFe[t] || []) e.add(n);+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of MFe[t] || []) e.add(n);return !t && e.size && (t = (async () => {for (; e.size;) {let t = new Set(e);@@ -80395,12 +80575,12 @@ function sFe() {})), t || Promise.resolve();};}-function cFe() {+function PFe() {let e = Pt({- queryKey: bF,- queryFn: ({ signal: e }) => SF(e),- refetchInterval: (e) => xF(e.state.data)- }), t = (0, P.useRef)(void 0), [n] = (0, P.useState)(sFe), r = e.data?.result_versions;+ queryKey: vF,+ queryFn: ({ signal: e }) => bF(e),+ refetchInterval: (e) => yF(e.state.data)+ }), t = (0, P.useRef)(void 0), [n] = (0, P.useState)(NFe), r = e.data?.result_versions;return (0, P.useEffect)(() => {r && (t.current && n(t.current, r), t.current = r);}, [r, n]), null;@@ -80410,52 +80590,52 @@ var X9 = null;function Z9(e) {X9 !== e || e.owners || (X9 = null, e.effects.dispose());}-function lFe() {+function FFe() {if (!X9) {- let e = pMe();+ let e = RMe();X9 = {effects: e,owners: 0- }, e.own(aFe(document)), e.own(() => {+ }, e.own(jFe(document)), e.own(() => {kl(), H.cancelQueries();- }), e.own(oMe), e.own(rhe), e.own(Vo);+ }), e.own(jMe), e.own(whe), e.own(Vo);}return X9.owners += 1, X9.effects.resume(), X9;}-function uFe() {+function IFe() {let [e, t] = (0, P.useState)(null);return (0, P.useLayoutEffect)(() => {- let e = X9 === null, n = lFe(), r = iMe(t);+ let e = X9 === null, n = FFe(), r = kMe(t);if (e) try {- tFe();+ DFe();} catch (e) {throw r(), n.effects.dispose(), X9 = null, e;}return () => {r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));};- }, []), /* @__PURE__ */ (0, F.jsx)(Gge, {+ }, []), /* @__PURE__ */ (0, F.jsx)(f_e, {actions: e,processing: !0,- background: e ? /* @__PURE__ */ (0, F.jsx)(cFe, {}) : null+ background: e ? /* @__PURE__ */ (0, F.jsx)(PFe, {}) : null});}var Q9 = /* @__PURE__ */ new WeakMap();-function dFe(e) {+function LFe(e) {let t = Q9.get(e);if (t) return t;- let n = (0, Rt.createRoot)(e, Kge);+ let n = (0, Rt.createRoot)(e, p_e);Q9.set(e, n);let r = n.unmount.bind(n);return n.unmount = () => {Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));- }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, F.jsx)(uFe, {}))), n;+ }, (0, Lt.flushSync)(() => n.render(/* @__PURE__ */ (0, F.jsx)(IFe, {}))), n;}// src/react/bootstrap.tsxO();var $9 = document.getElementById("appRoot");if (!$9) throw Error("主界面宿主缺失");-dFe($9);-export { AI as $2ec61d1d4f780267$export$a8a3e93435678ff9, RI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, tR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, PT as $72abaeab4d80592f$export$78efe591171d7d45, qR as $76d00c5a4edb230a$export$76ccd210b9029917, WR as $76d00c5a4edb230a$export$816b5d811295e6bc, XR as $76d00c5a4edb230a$export$b59bdbef9ce70de2, QR as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, UR as $76d00c5a4edb230a$export$f850895b287ef28e, Sfe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, xfe as $b4f18e3395fe64d7$export$3e41faf802a29e71, vfe as $b4f18e3395fe64d7$export$b2539bed5023c21c, nz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Tfe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, xw as $ea3928288112382f$export$439d29a4e110a164, mR as $f2ff30fde7b014be$export$3ddf2d174ce01153, xR as $fe21c36db05242bb$export$a98f0dcb43a68a25, SR as $fe21c36db05242bb$export$d7b12c4107be0d61, spe as $l, nA as ACCENTS, GTe as AMANE_BRIDGE_CHECK_URL, X$ as AMANE_BRIDGE_KEY, KTe as AMANE_BRIDGE_REBUILD_URL, Hn as ApiError, MW as ArtSlot, q as Button, iI as ButtonLink, gpe as Bx, Qt as CLOUD_LOCATIONS, X1 as CLOUD_PROXY_HELP, Dr as COLUMN_SORT, c1 as CONFIGURATION_KEY, qY as CONFIGURATION_URL, qTe as COOKIE_TEXT_LIMIT, Y$ as COVER_JOB_KEY, Ai as CREDENTIAL_STATE, G$ as CUSTOM_SOURCES_KEY, W$ as CUSTOM_SOURCES_URL, nV as Checkbox, tV as CheckboxGlyph, KB as ChevronSortDown, sZ as Chip, q2 as CloudDownloadDialog, GH as CollapseChevron, WH as CollapseRegion, f$ as CollectionSummary, wbe as DEFAULT_CATEGORY, Kn as DEFAULT_SORT, jQ as DIAGNOSTICS_KEY, Cxe as DIRECTORY_TEMPLATE_ERROR, j0 as DISCOVERY_SORTS, V2 as DOWNLOADS_KEY, B2 as DOWNLOADS_URL, pY as DUPLICATES_KEY, JJ as DataTableFooter, WJ as DataTableFrame, qJ as DataTableSort, ZH as Disclosure, nke as DownloadsPanel, Qfe as E3, Tbe as ENTITY_REVIEW_KINDS, J1 as ENTRY_LINKS_HELP, Y1 as ENTRY_LINKS_HINT, upe as Ea, Dpe as EmptyFocusButton, Pz as EmptyState, YH as ErrorText, lge as ExternalLink, Sr as FEEDS_KEY, tX as FEED_SCHEDULE_KEY, D$ as FIELDSET_FOOT, tje as FLOW_LABEL_X, R3 as FLOW_VIEWBOX, br as FOLLOW_CHECK_KEY, yr as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, vr as FOLLOW_MANAGE_KEY, FZ as FOLLOW_MANAGE_NAV, xr as FOLLOW_RESOLVE_KEY, eX as FOLLOW_SCHEDULE_KEY, fge as Fact, dge as FactList, XH as FieldLabel, L$ as Fieldset, I$ as FieldsetTitle, JF as FilterGlass, YF as FilterGlassRows, qF as FilterIconButton, ZF as FilterPill, cge as Footer, vz as Gg, $F as GlassPill, JH as Help, Tz as HintText, qAe as IDLE_POLL_MS, pbe as IDLE_REPAIR, HF as IconButton, Az as Input, kz as InputBase, bA as JAV_LAYOUTS, N0 as JAV_RECOMMENDATION_GRID, wX as JUNK_KEY, Z3 as JavHeader, sbe as KEEP_LABELS, wr as LAYOUTS, q1 as LIBRARY_FOLDER_HELP, lH as LIBRARY_PROCESSING_KEY, zY as LINKS_KEY, BY as LINK_CHECK_KEY, Ybe as LINK_KINDS, VY as LINK_PRUNE_KEY, Ln as LOC, wz as Label, B$ as LibraryProcessingCard, Zz as LibraryShortcuts, TH as LinkButton, zH as LoadingDots, epe as M6, exe as MEDIA_PROCESSING_KEY, rX as MEDIA_PROCESSING_URL, vY as MEDIA_REPAIR_KEY, _Y as MEDIA_REPAIR_URL, er as MEDIA_SOURCES_KEY, Qo as MEDIA_SOURCE_ICONS, Xt as MEDIA_SOURCE_OPTIONS, XB as MENU_ITEM, ZB as MENU_ITEM_INTERACTIVE, YB as MENU_POPOVER_SURFACE, kH as MenuDialog, OG as MixCard, jz as ModalFrame, cy as MotionConfigContext, Cz as NR, Nz as Note, Cpe as OA, oX as ORGANIZE_KEY, lX as ORPHAN_RECORDS_KEY, _z as OV, uz as P7, sTe as PHASES, JY as PICK_FOLDER_URL, H$ as PLAYLISTS_KEY, qEe as POLICY_COLUMNS, YEe as POLICY_COVER_NOTE, JEe as POLICY_MATRIX, K1 as POLICY_SUMMARY, KJ as Pagination, z$ as PathLine, dF as PillTabList, VH as Progress, CY as QUALITY_GOALS_KEY, A$ as REPAIR_CARD_TEXT, yY as REPAIR_LIBRARIES_KEY, mX as RESOURCE_APPLY_KEY, pX as RESOURCE_SCAN_KEY, bTe as RESULT_PANEL, xTe as RESULT_SECTION, Cbe as REVIEW_CATEGORIES, CX as REVIEW_COUNTS_KEY, Ebe as REVIEW_DECISION_LABELS, EY as REVIEW_KEY, DY as REVIEW_LABELS, kY as REVIEW_QUEUES, AY as REVIEW_QUEUE_LABELS, jW as RetryNote, Spe as Rf, age as Rows, UTe as SCRAPING_CHECK_URL, q$ as SCRAPING_COVER_URL, J$ as SCRAPING_KEY, HTe as SCRAPING_SETTINGS_URL, PU as SEGMENT, NU as SEGMENTED_TRACK, $Y as SETTINGS_KEY, YY as SETTINGS_URL, qn as SORT_DEFAULT_DIR, Gn as SORT_OPTIONS, $t as SOURCE_LABELS, l3 as STATS_KEY, ige as Section, sge as SectionSkeleton, MU as SegmentedRadioGroup, n_e as SegmentedTabList, lW as Segments, GJ as Select, TU as Select$1, f1 as SelectField, EU as SelectItem, tY as SelectionActions, Pk as SelectionDock, nY as SelectionPopover, KH as SettingsCard, rge as SettingsRow, qH as SettingsSectionLabel, gge as SiteLabel, zU as SortDirectionIcon, fW as SortKeys, mQ as SourceAvatar, tU as SourceLabel, QH as SourceMark, oge as Stack, R$ as StatusLabel, P2 as Switch, bF as TASKS_KEY, IAe as TASTE_REFRESH_KEY, LAe as TASTE_WINDOWS, nX as THUMBNAIL_JOBS_KEY, EX as TRASH_KEY, hue as TRIGGER_LABELS, FJ as Table, rY as TableColumnControls, iY as TableColumnResizer, oY as TableSelectionHeader, t$ as TagManager, uge as TaskCenterLink, HH as TaskProgress, Dz as TextField, Ez as TextFieldContext, gz as Un, g$ as WANTS_KEY, r4 as WantMagnets, gp as WithPromise, dz as Wt, hz as Xc, Sz as Xf, npe as Xt, $fe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, xpe as aB, si as addAlias, oi as addSource, v$ as addWant, tb as animate, B as apiGet, V as apiSend, mA as appSettingsStore, Hxe as applyConfirmText, SX as applyLeftovers, Vxe as applyPlanText, Wxe as applyText, vA as applyTheme, n_ as asNumber, Axe as attachOrphan, Ur as authorAvatar, Gr as authorGroups, Hr as authorInitial, Vr as authorName, Cq as autoResetPageIndex, Za as avatarInner, h3 as bandRows, wxe as baseName, fbe as batchOperate, zk as boundedPreference, lbe as bulkCloudPreferences, Rz as busyProps, bpe as cB, fke as cachedMagnetStates, op as calcGeneratorVelocity, Nbe as canApprove, Af as cancelFrame, Fxe as candidateText, RH as cardClass, NA as cardRatio, mz as cc, Ei as checkEvidenceGap, Ti as checkFailures, gi as checkFeeds, $be as checkLine, Ci as checkReceipt, wi as checkSummary, YTe as checkText, Di as checkedText, eG as clickedBlank, tbe as cloudLocations, D0 as cloudProxySkeleton, Hx as clsx, ppe as cn, mh as collectMotionValues, Uq as columnVisibilityFeature, AJ as column_getCanSort, EJ as column_getSortFn, jbe as commonReviewSources, oV as configurationSection, VAe as configureTasteBrowser, Hc as confirmModal, aq as copyInstancePropertiesWithoutMemos, Wa as coverUrl, Pq as createColumnHelper, ITe as createPlaylist, ji as credentialDone, C0 as credentialsSkeleton, Hbe as currentReviewRow, cF as cx, bz as dZ, zbe as decisionPayload, Bbe as decisionReceipt, Rbe as defaultChoice, RTe as deletePlaylist, x as diagnosticHeaders, G1 as diagnosticsSkeleton, hTe as discoveryArtwork, C$ as discoveryKey, yDe as discoveryScore, abe as distinctName, xi as dropSources, ype as du, ube as duplicateVictims, OF as elapsedText, Xa as entityFaceImg, hn as entityPath, Ir as errorHeadline, Wn as errorMessage, z as esc, Sq as expandRowModel, sz as f1, Fr as feedIntervalText, $$ as fetchAmaneBridge, $r as fetchCheckJob, l1 as fetchConfiguration, Q$ as fetchCoverJob, Qr as fetchCredentials, K$ as fetchCustomSources, MQ as fetchDiagnostics, w$ as fetchDiscoveries, hY as fetchDuplicates, uue as fetchEarlier, rxe as fetchFeedSchedule, pi as fetchFeeds, Zr as fetchFollow, nxe as fetchFollowSchedule, OX as fetchJunkSummary, WY as fetchLinkCheck, GY as fetchLinkPrune, UY as fetchLinkStats, txe as fetchMediaProcessing, bY as fetchMediaRepair, tr as fetchMediaSources, sX as fetchOrganize, gxe as fetchOrganizeExample, uX as fetchOrphanRecords, fi as fetchPending, U$ as fetchPlaylists, wY as fetchQualityGoals, xY as fetchRepairLibraries, ei as fetchResolveJob, gX as fetchResourceApply, hX as fetchResourceScan, IY as fetchReview, DX as fetchReviewCounts, iX as fetchSettings, Z$ as fetchSources, u3 as fetchStats, ti as fetchSuggestions, SF as fetchTasks, F3 as fetchTaste, HAe as fetchTasteJob, ixe as fetchThumbnailJobs, kX as fetchTrashSummary, _$ as fetchWants, kbe as filterReviewRows, Fn as firstGrapheme, IK as flexRender, rje as flowGraph, ije as flowLabel, nAe as fmtCount, kn as fmtDur, jn as fmtSize, lue as foldByKind, wue as foldRoutine, vi as followFeedByName, Cr as followSuggestKey, DF as followupDetail, cue as followupTally, kf as frame, Ufe as g4, Kq as getDefaultPaginationState, MA as gridLayout, Wr as groupByAuthor, Cue as groupFollowups, NY as groupReviewRows, zxe as hasChanges, _X as hasResourceRoots, wF as hasResultProblems, JAe as historySpan, cz as i2, KAe as importTasteExport, w0 as indexersSkeleton, Qf as interpolate, b$ as invalidateWants, EF as isActive, Pr as isBroken, Or as isLayout, zh as isMotionValue, OY as isReviewCategory, Tue as isRoutine, T0 as javBrowserSkeleton, F0 as javContentSkeleton, TA as javLayout, P0 as javTagSkeleton, Yxe as junkBreakdown, zTe as keepPlaylist, ke as keepPreviousData, Jr as keepSelected, d3 as known, qfe as l7, Sue as latestOfKind, mAe as lengthRows, ir as localTime, _i as lookupFeedActor, Xfe as m7, yz as mM, cn as mapLimit, di as markItem, g3 as max, fAe as mediumRows, due as mergeFinished, _3 as min, qbe as mirrorText, gbe as missingToolText, gY as mixedCloudPreferences, IF as momentText, nb as motion, gh as motionValue, Exe as organizeOutcome, X0 as overlayHost, kr as pageSizeOf, qr as pageWindow, Xn as paginationRange, bi as patchSource, JV as peachHistory, JV as peachHistory$1, Lbe as pendingGenres, iAe as percentText, yxe as pickOrganizeFolder, Txe as planSummary, f3 as playedFor, oAe as playedItemUrl, xF as pollInterval, As as popCount, FTe as posterUrl, XW as previewLibraryColor, vxe as previewOrganize, ybe as previewUrl, xue as problemDestination, kF as progressText, eU as providerIcon, Qbe as pruneText, yX as purgeCount, jxe as purgeOrphan, xz as pv, vpe as qE, H as queryClient, lz as r2, eje as radarRows, lAe as radialArc, uAe as radialBarSize, cAe as radialCeiling, sAe as radialSlices, Yj as randomId, QAe as rankDetail, $Ae as rankShares, m3 as reachedShare, jF as readableErrorHeadline, bDe as recommendationScore, Ube as recordGenre, Nxe as recordsText, BTe as recreatePlaylist, NTe as refreshPlaylists, Sl as relayoutCovers, Si as reloadFollowManage, Kbe as reloadReview, QEe as rememberShape, xxe as rememberTemplates, ci as removeAlias, hi as removeFeed, ai as removeSource, GAe as removeTasteSource, y$ as removeWants, li as renameAliasGroup, LTe as renamePlaylist, gAe as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, tq as require_with_selector, uTe as resetWants, Yn as resolveFollowSort, fp as resolveStartTime, PTe as resumeAssetId, Obe as reviewGroupingOptions, MY as reviewQueueData, jY as reviewQueueOf, Jxe as reviewSummary, Abe as reviewWindow, Fbe as rowEvidence, FY as rowFieldName, $q as rowPaginationFeature, bJ as rowSelectionFeature, NJ as rowSortingFeature, PY as rowSubject, Ibe as rowTags, Pbe as rowTitle, Wfe as s5, ui as saveCredential, Bxe as scanLine, lxe as schedulePollInterval, fTe as searchNote, Mbe as selectReviewRange, Yr as selectionState, mi as setFeedEnabled, ii as setSourceEnabled, uV as settingsPath, Gbe as settleReviewRows, ibe as sharedNamePrefix, YV as shellNavigate, b8 as showToast, xn as siteMarkUrl, pq as skipFirstRun, lF as sortCx, jr as sortLabel, en as sourceDefaultCost, ki as sourceIconUrl, Uxe as sourceMeta, xs as spinnerHtml, Yf as spring, Iz as spriteGlyph, ni as startCheck, Xbe as startLinkCheck, Zbe as startLinkPrune, bxe as startOrganize, ri as startResolve, Lxe as startResourceApply, Ixe as startResourceScan, WAe as startTasteRefresh, _ue as statusLabel, hbe as statusLine, Nr as statusText, PA as storeJavLayout, Vbe as submitDecision, RF as summaryItems, Fq as tableFeatures, mq as tableMemo, Kr as tableRows, bue as taskIssues, I3 as tasteDate, XAe as tasteDimensions, YAe as tasteHours, P3 as tasteKey, zAe as tasteRefetchInterval, BAe as tasteTime, hF as textLang, ud as time, ope as tl, Xr as toggleGroup, L3 as topScores, lpe as uo, EH as useAction, AZ as useBackgroundJob, vU as useClientUpdates, Su as useConstant, GF as useHorizontalScroller, Cu as useIsomorphicLayoutEffect, QW as useLibraryTints, Ft as useMutation, rV as useOverlayScrollbar, Pt as useQuery, oe as useQueryClient, qy as useReducedMotion, cxe as useRunSchedule, oxe as useSaveFollowSchedule, aX as useSaveSettings, uxe as useSaveThumbnailMode, PJ as useTable, ZJ as useTablePreferences, nI as useViewGlide, dbe as victimBytes, dTe as wantName, aAe as watchNote, p3 as watchedShare, lc as wireHorizontalScroller, Sxe as withOrganizeJob };+LFe($9);+export { FI as $2ec61d1d4f780267$export$a8a3e93435678ff9, UI as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, oR as $542a13ca2fa5b484$export$5b6b19405a83ff9d, PT as $72abaeab4d80592f$export$78efe591171d7d45, QR as $76d00c5a4edb230a$export$76ccd210b9029917, YR as $76d00c5a4edb230a$export$816b5d811295e6bc, tz as $76d00c5a4edb230a$export$b59bdbef9ce70de2, rz as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, JR as $76d00c5a4edb230a$export$f850895b287ef28e, Ufe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Hfe as $b4f18e3395fe64d7$export$3e41faf802a29e71, zfe as $b4f18e3395fe64d7$export$b2539bed5023c21c, sz as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, Kfe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, xw as $ea3928288112382f$export$439d29a4e110a164, yR as $f2ff30fde7b014be$export$3ddf2d174ce01153, ER as $fe21c36db05242bb$export$a98f0dcb43a68a25, DR as $fe21c36db05242bb$export$d7b12c4107be0d61, Ope as $l, nA as ACCENTS, gEe as AMANE_BRIDGE_CHECK_URL, Z$ as AMANE_BRIDGE_KEY, _Ee as AMANE_BRIDGE_REBUILD_URL, Hn as ApiError, KW as ArtSlot, q as Button, pI as ButtonLink, Lpe as Bx, Qt as CLOUD_LOCATIONS, Z1 as CLOUD_PROXY_HELP, Dr as COLUMN_SORT, l1 as CONFIGURATION_KEY, qY as CONFIGURATION_URL, vEe as COOKIE_TEXT_LIMIT, X$ as COVER_JOB_KEY, Ai as CREDENTIAL_STATE, K$ as CUSTOM_SOURCES_KEY, G$ as CUSTOM_SOURCES_URL, sV as Checkbox, oV as CheckboxGlyph, ZB as ChevronSortDown, sZ as Chip, J2 as CloudDownloadDialog, XH as CollapseChevron, YH as CollapseRegion, p$ as CollectionSummary, Xbe as DEFAULT_CATEGORY, Kn as DEFAULT_SORT, MQ as DIAGNOSTICS_KEY, Yxe as DIRECTORY_TEMPLATE_ERROR, M0 as DISCOVERY_SORTS, H2 as DOWNLOADS_KEY, V2 as DOWNLOADS_URL, pY as DUPLICATES_KEY, JJ as DataTableFooter, WJ as DataTableFrame, qJ as DataTableSort, nU as Disclosure, Dke as DownloadsPanel, ype as E3, Zbe as ENTITY_REVIEW_KINDS, Y1 as ENTRY_LINKS_HELP, X1 as ENTRY_LINKS_HINT, jpe as Ea, Jpe as EmptyFocusButton, zz as EmptyState, eU as ErrorText, Age as ExternalLink, Sr as FEEDS_KEY, tX as FEED_SCHEDULE_KEY, O$ as FIELDSET_FOOT, Eje as FLOW_LABEL_X, z3 as FLOW_VIEWBOX, br as FOLLOW_CHECK_KEY, yr as FOLLOW_CREDENTIALS_KEY, P8 as FOLLOW_INITIAL_RANGE_OPTIONS, vr as FOLLOW_MANAGE_KEY, FZ as FOLLOW_MANAGE_NAV, xr as FOLLOW_RESOLVE_KEY, eX as FOLLOW_SCHEDULE_KEY, Nge as Fact, Mge as FactList, tU as FieldLabel, R$ as Fieldset, L$ as FieldsetTitle, rI as FilterGlass, iI as FilterGlassRows, nI as FilterIconButton, oI as FilterPill, kge as Footer, Cz as Gg, cI as GlassPill, $H as Help, Az as HintText, vje as IDLE_POLL_MS, zbe as IDLE_REPAIR, ZF as IconButton, Fz as Input, Pz as InputBase, wA as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, wX as JUNK_KEY, Q3 as JavHeader, Nbe as KEEP_LABELS, wr as LAYOUTS, J1 as LIBRARY_FOLDER_HELP, mH as LIBRARY_PROCESSING_KEY, zY as LINKS_KEY, BY as LINK_CHECK_KEY, xxe as LINK_KINDS, VY as LINK_PRUNE_KEY, Ln as LOC, kz as Label, V$ as LibraryProcessingCard, nB as LibraryShortcuts, AH as LinkButton, WH as LoadingDots, xpe as M6, Exe as MEDIA_PROCESSING_KEY, rX as MEDIA_PROCESSING_URL, vY as MEDIA_REPAIR_KEY, _Y as MEDIA_REPAIR_URL, er as MEDIA_SOURCES_KEY, Qo as MEDIA_SOURCE_ICONS, Xt as MEDIA_SOURCE_OPTIONS, tV as MENU_ITEM, nV as MENU_ITEM_INTERACTIVE, eV as MENU_POPOVER_SURFACE, PH as MenuDialog, HG as MixCard, Iz as ModalFrame, hy as MotionConfigContext, Oz as NR, Rz as Note, Wpe as OA, oX as ORGANIZE_KEY, lX as ORPHAN_RECORDS_KEY, Sz as OV, hz as P7, MTe as PHASES, JY as PICK_FOLDER_URL, U$ as PLAYLISTS_KEY, vDe as POLICY_COLUMNS, bDe as POLICY_COVER_NOTE, yDe as POLICY_MATRIX, q1 as POLICY_SUMMARY, KJ as Pagination, B$ as PathLine, lF as PillTabList, KH as Progress, CY as QUALITY_GOALS_KEY, j$ as REPAIR_CARD_TEXT, yY as REPAIR_LIBRARIES_KEY, mX as RESOURCE_APPLY_KEY, pX as RESOURCE_SCAN_KEY, GTe as RESULT_PANEL, KTe as RESULT_SECTION, Ybe as REVIEW_CATEGORIES, CX as REVIEW_COUNTS_KEY, Qbe as REVIEW_DECISION_LABELS, EY as REVIEW_KEY, DY as REVIEW_LABELS, kY as REVIEW_QUEUES, AY as REVIEW_QUEUE_LABELS, GW as RetryNote, Upe as Rf, Ege as Rows, mEe as SCRAPING_CHECK_URL, J$ as SCRAPING_COVER_URL, Y$ as SCRAPING_KEY, pEe as SCRAPING_SETTINGS_URL, zU as SEGMENT, RU as SEGMENTED_TRACK, $Y as SETTINGS_KEY, YY as SETTINGS_URL, qn as SORT_DEFAULT_DIR, Gn as SORT_OPTIONS, $t as SOURCE_LABELS, u3 as STATS_KEY, Tge as Section, Oge as SectionSkeleton, LU as SegmentedRadioGroup, C_e as SegmentedTabList, CW as Segments, GJ as Select, AU as Select$1, p1 as SelectField, jU as SelectItem, tY as SelectionActions, Pk as SelectionDock, nY as SelectionPopover, ZH as SettingsCard, wge as SettingsRow, QH as SettingsSectionLabel, Lge as SiteLabel, WU as SortDirectionIcon, EW as SortKeys, hQ as SourceAvatar, oU as SourceLabel, rU as SourceMark, Dge as Stack, z$ as StatusLabel, F2 as Switch, vF as TASKS_KEY, sje as TASTE_REFRESH_KEY, cje as TASTE_WINDOWS, nX as THUMBNAIL_JOBS_KEY, EX as TRASH_KEY, xF as TRIGGER_LABELS, FJ as Table, rY as TableColumnControls, iY as TableColumnResizer, oY as TableSelectionHeader, n$ as TagManager, jge as TaskCenterLink, qH as TaskProgress, Mz as TextField, jz as TextFieldContext, xz as Un, _$ as WANTS_KEY, i4 as WantMagnets, kp as WithPromise, gz as Wt, bz as Xc, Dz as Xf, Cpe as Xt, bpe as _8, o as __commonJSMin, s as __exportAll, l as __toESM, Hpe as aB, si as addAlias, oi as addSource, y$ as addWant, cb as animate, B as apiGet, V as apiSend, vA as appSettingsStore, mSe as applyConfirmText, SX as applyLeftovers, pSe as applyPlanText, gSe as applyText, SA as applyTheme, i_ as asNumber, nSe as attachOrphan, Ur as authorAvatar, Gr as authorGroups, Hr as authorInitial, Vr as authorName, Cq as autoResetPageIndex, Za as avatarInner, g3 as bandRows, Xxe as baseName, Rbe as batchOperate, zk as boundedPreference, Fbe as bulkCloudPreferences, Uz as busyProps, Vpe as cB, Lke as cachedMagnetStates, yp as calcGeneratorVelocity, axe as canApprove, jf as cancelFrame, sSe as candidateText, UH as cardClass, LA as cardRatio, yz as cc, Ei as checkEvidenceGap, Ti as checkFailures, gi as checkFeeds, Txe as checkLine, Ci as checkReceipt, wi as checkSummary, bEe as checkText, Di as checkedText, mG as clickedBlank, Dbe as cloudLocations, O0 as cloudProxySkeleton, Wx as clsx, Ppe as cn, kh as collectMotionValues, Uq as columnVisibilityFeature, AJ as column_getCanSort, EJ as column_getSortFn, rxe as commonReviewSources, dV as configurationSection, fje as configureTasteBrowser, Hc as confirmModal, aq as copyInstancePropertiesWithoutMemos, Wa as coverUrl, Pq as createColumnHelper, sEe as createPlaylist, ji as credentialDone, w0 as credentialsSkeleton, mxe as currentReviewRow, oF as cx, Tz as dZ, dxe as decisionPayload, fxe as decisionReceipt, uxe as defaultChoice, lEe as deletePlaylist, x as diagnosticHeaders, K1 as diagnosticsSkeleton, BTe as discoveryArtwork, w$ as discoveryKey, WDe as discoveryScore, jbe as distinctName, xi as dropSources, Bpe as du, Ibe as duplicateVictims, LF as elapsedText, Xa as entityFaceImg, hn as entityPath, Ir as errorHeadline, Wn as errorMessage, z as esc, Sq as expandRowModel, fz as f1, Fr as feedIntervalText, e1 as fetchAmaneBridge, $r as fetchCheckJob, u1 as fetchConfiguration, $$ as fetchCoverJob, Qr as fetchCredentials, q$ as fetchCustomSources, NQ as fetchDiagnostics, T$ as fetchDiscoveries, hY as fetchDuplicates, Rue as fetchEarlier, kxe as fetchFeedSchedule, pi as fetchFeeds, Zr as fetchFollow, Oxe as fetchFollowSchedule, OX as fetchJunkSummary, WY as fetchLinkCheck, GY as fetchLinkPrune, UY as fetchLinkStats, Dxe as fetchMediaProcessing, bY as fetchMediaRepair, tr as fetchMediaSources, sX as fetchOrganize, Hxe as fetchOrganizeExample, uX as fetchOrphanRecords, fi as fetchPending, W$ as fetchPlaylists, wY as fetchQualityGoals, xY as fetchRepairLibraries, ei as fetchResolveJob, gX as fetchResourceApply, hX as fetchResourceScan, IY as fetchReview, DX as fetchReviewCounts, iX as fetchSettings, Q$ as fetchSources, d3 as fetchStats, ti as fetchSuggestions, bF as fetchTasks, I3 as fetchTaste, pje as fetchTasteJob, Axe as fetchThumbnailJobs, kX as fetchTrashSummary, v$ as fetchWants, txe as filterReviewRows, Fn as firstGrapheme, VK as flexRender, Oje as flowGraph, kje as flowLabel, DAe as fmtCount, kn as fmtDur, jn as fmtSize, Lue as foldByKind, NF as foldRoutine, vi as followFeedByName, Cr as followSuggestKey, IF as followupDetail, Iue as followupTally, Af as frame, upe as g4, Kq as getDefaultPaginationState, IA as gridLayout, Wr as groupByAuthor, MF as groupFollowups, NY as groupReviewRows, dSe as hasChanges, _X as hasResourceRoots, DF as hasResultProblems, yje as historySpan, pz as i2, _je as importTasteExport, T0 as indexersSkeleton, dp as interpolate, x$ as invalidateWants, FF as isActive, Pr as isBroken, Or as isLayout, eg as isMotionValue, OY as isReviewCategory, PF as isRoutine, E0 as javBrowserSkeleton, I0 as javContentSkeleton, kA as javLayout, F0 as javTagSkeleton, xSe as junkBreakdown, uEe as keepPlaylist, ke as keepPreviousData, Jr as keepSelected, f3 as known, mpe as l7, jF as latestOfKind, zAe as lengthRows, ir as localTime, _i as lookupFeedActor, _pe as m7, wz as mM, cn as mapLimit, di as markItem, _3 as max, LAe as mediumRows, zue as mergeFinished, v3 as min, yxe as mirrorText, Hbe as missingToolText, gY as mixedCloudPreferences, GF as momentText, db as motion, jh as motionValue, Qxe as organizeOutcome, Z0 as overlayHost, kr as pageSizeOf, qr as pageWindow, Xn as paginationRange, bi as patchSource, $V as peachHistory, $V as peachHistory$1, lxe as pendingGenres, kAe as percentText, Gxe as pickOrganizeFolder, Zxe as planSummary, p3 as playedFor, jAe as playedItemUrl, yF as pollInterval, As as popCount, oEe as posterUrl, uG as previewLibraryColor, Wxe as previewOrganize, Gbe as previewUrl, AF as problemDestination, RF as progressText, aU as providerIcon, wxe as pruneText, yX as purgeCount, rSe as purgeOrphan, Ez as pv, zpe as qE, H as queryClient, mz as r2, Tje as radarRows, PAe as radialArc, FAe as radialBarSize, NAe as radialCeiling, MAe as radialSlices, eM as randomId, Cje as rankDetail, wje as rankShares, h3 as reachedShare, BF as readableErrorHeadline, GDe as recommendationScore, hxe as recordGenre, aSe as recordsText, dEe as recreatePlaylist, iEe as refreshPlaylists, Sl as relayoutCovers, Si as reloadFollowManage, vxe as reloadReview, CDe as rememberShape, qxe as rememberTemplates, ci as removeAlias, hi as removeFeed, ai as removeSource, gje as removeTasteSource, b$ as removeWants, li as renameAliasGroup, cEe as renamePlaylist, VAe as replayRows, ie as require_jsx_runtime, A as require_react, te as require_react_dom, tq as require_with_selector, FTe as resetWants, Yn as resolveFollowSort, Tp as resolveStartTime, aEe as resumeAssetId, exe as reviewGroupingOptions, MY as reviewQueueData, jY as reviewQueueOf, bSe as reviewSummary, nxe as reviewWindow, sxe as rowEvidence, FY as rowFieldName, $q as rowPaginationFeature, bJ as rowSelectionFeature, NJ as rowSortingFeature, PY as rowSubject, cxe as rowTags, oxe as rowTitle, dpe as s5, ui as saveCredential, fSe as scanLine, Fxe as schedulePollInterval, LTe as searchNote, ixe as selectReviewRange, Yr as selectionState, mi as setFeedEnabled, ii as setSourceEnabled, hV as settingsPath, _xe as settleReviewRows, Abe as sharedNamePrefix, eH as shellNavigate, x8 as showToast, xn as siteMarkUrl, pq as skipFirstRun, sF as sortCx, jr as sortLabel, en as sourceDefaultCost, ki as sourceIconUrl, hSe as sourceMeta, xs as spinnerHtml, cp as spring, Vz as spriteGlyph, ni as startCheck, Sxe as startLinkCheck, Cxe as startLinkPrune, Kxe as startOrganize, ri as startResolve, lSe as startResourceApply, cSe as startResourceScan, hje as startTasteRefresh, CF as statusLabel, Vbe as statusLine, Nr as statusText, RA as storeJavLayout, pxe as submitDecision, qF as summaryItems, Fq as tableFeatures, mq as tableMemo, Kr as tableRows, OF as taskIssues, L3 as tasteDate, xje as tasteDimensions, bje as tasteHours, F3 as tasteKey, uje as tasteRefetchInterval, dje as tasteTime, pF as textLang, ud as time, Dpe as tl, Xr as toggleGroup, R3 as topScores, Ape as uo, jH as useAction, AZ as useBackgroundJob, CU as useClientUpdates, Su as useConstant, eI as useHorizontalScroller, Cu as useIsomorphicLayoutEffect, fG as useLibraryTints, Ft as useMutation, cV as useOverlayScrollbar, Pt as useQuery, oe as useQueryClient, Yy as useReducedMotion, Pxe as useRunSchedule, Mxe as useSaveFollowSchedule, aX as useSaveSettings, Ixe as useSaveThumbnailMode, PJ as useTable, ZJ as useTablePreferences, dI as useViewGlide, Lbe as victimBytes, ITe as wantName, AAe as watchNote, m3 as watchedShare, lc as wireHorizontalScroller, Jxe as withOrganizeJob };-//# debugId=bfe0b3c3-2688-4dbb-9446-19fc79c0fce9\ No newline at end of file+//# debugId=5143d984-db3a-4d75-9c58-957fda8c1dec\ No newline at end of filediff --git a/web/dist/peach-app.stats-page-CZ4vUHOu.js b/web/dist/peach-app.stats-page-BJbvUxyv.jssimilarity index 99%rename from web/dist/peach-app.stats-page-CZ4vUHOu.jsrename to web/dist/peach-app.stats-page-BJbvUxyv.jsindex fbcead355..4dde5111e 100644--- a/web/dist/peach-app.stats-page-CZ4vUHOu.js+++ b/web/dist/peach-app.stats-page-BJbvUxyv.js@@ -1,15 +1,15 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "90935770-d810-41b1-a711-103248b3cedc", e._sentryDebugIdIdentifier = "sentry-dbid-90935770-d810-41b1-a711-103248b3cedc");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "4e9c6c78-244e-428a-b434-99df734cc9c7", e._sentryDebugIdIdentifier = "sentry-dbid-4e9c6c78-244e-428a-b434-99df734cc9c7");} catch {}})();-import { AnimatedItems as e, CHART_CARD as t, CHART_COLORS as n, Cell as r, ChartBackground as i, ChartContainer as a, ChartEmpty as o, ChartLegend as s, ChartLegendContent as c, ChartTip as l, ChartTooltip as u, ChartTooltipContent as d, DefaultZIndexes as f, LabelListFromLabelProp as p, Layer as m, LoadingIndicator as h, PolarChart as g, PolarLabelListContextProvider as _, RegisterGraphicalItemId as v, Sector as y, SetPolarGraphicalItem as b, SetPolarLegendPayload as x, SetTooltipEntrySettings as S, Shape as C, ZIndexLayer as w, adaptEventsOfChild as T, arrayTooltipSearcher as E, combineAllBarPositions as ee, combineBarPosition as D, combineBarSizeList as te, combineDisplayedStackedData as ne, combineStackGroups as re, combineStackedData as ie, createSelector as O, defaultPolarChartProps as ae, findAllByType as oe, getBandSizeOfAxis as k, getBaseValueOfBar as se, getCateCoordinateOfBar as ce, getColorsCount as le, getNormalizedStackId as ue, getTooltipNameProp as de, getValueByDataKey as fe, getZIndexFromUnknown as pe, interpolate as me, isCategoricalAxis as he, isNullish as ge, isStacked as _e, matchAppend as ve, mathSign as ye, noop as be, resolveDefaultProps as xe, selectActiveTooltipIndex as Se, selectAngleAxis as Ce, selectBarCategoryGap as we, selectBarGap as Te, selectChartDataAndAlwaysIgnoreIndexes as Ee, selectChartDataWithIndexes as De, selectChartLayout as A, selectPolarItemsSettings as Oe, selectPolarViewBox as ke, selectRadiusAxis as Ae, selectReverseStackOrder as je, selectRootBarSize as Me, selectRootMaxBarSize as Ne, selectStackOffsetType as Pe, selectTooltipAxis as Fe, selectUnfilteredPolarItems as Ie, sliceConfig as Le, sliceKey as Re, svgPropertiesNoEvents as ze, svgPropertiesNoEventsFromUnknown as Be, truncateByDomain as Ve, useAnimationCallbacks as He, useAppSelector as j, useMouseClickItemDispatch as Ue, useMouseEnterItemDispatch as We, useMouseLeaveItemDispatch as Ge, usePolarChartLayout as Ke } from "./peach-app.chart-tip-CSA44p1l.js";+import { AnimatedItems as e, CHART_CARD as t, CHART_COLORS as n, Cell as r, ChartBackground as i, ChartContainer as a, ChartEmpty as o, ChartLegend as s, ChartLegendContent as c, ChartTip as l, ChartTooltip as u, ChartTooltipContent as d, DefaultZIndexes as f, LabelListFromLabelProp as p, Layer as m, LoadingIndicator as h, PolarChart as g, PolarLabelListContextProvider as _, RegisterGraphicalItemId as v, Sector as y, SetPolarGraphicalItem as b, SetPolarLegendPayload as x, SetTooltipEntrySettings as S, Shape as C, ZIndexLayer as w, adaptEventsOfChild as T, arrayTooltipSearcher as E, combineAllBarPositions as ee, combineBarPosition as D, combineBarSizeList as te, combineDisplayedStackedData as ne, combineStackGroups as re, combineStackedData as ie, createSelector as O, defaultPolarChartProps as ae, findAllByType as oe, getBandSizeOfAxis as k, getBaseValueOfBar as se, getCateCoordinateOfBar as ce, getColorsCount as le, getNormalizedStackId as ue, getTooltipNameProp as de, getValueByDataKey as fe, getZIndexFromUnknown as pe, interpolate as me, isCategoricalAxis as he, isNullish as ge, isStacked as _e, matchAppend as ve, mathSign as ye, noop as be, resolveDefaultProps as xe, selectActiveTooltipIndex as Se, selectAngleAxis as Ce, selectBarCategoryGap as we, selectBarGap as Te, selectChartDataAndAlwaysIgnoreIndexes as Ee, selectChartDataWithIndexes as De, selectChartLayout as A, selectPolarItemsSettings as Oe, selectPolarViewBox as ke, selectRadiusAxis as Ae, selectReverseStackOrder as je, selectRootBarSize as Me, selectRootMaxBarSize as Ne, selectStackOffsetType as Pe, selectTooltipAxis as Fe, selectUnfilteredPolarItems as Ie, sliceConfig as Le, sliceKey as Re, svgPropertiesNoEvents as ze, svgPropertiesNoEventsFromUnknown as Be, truncateByDomain as Ve, useAnimationCallbacks as He, useAppSelector as j, useMouseClickItemDispatch as Ue, useMouseEnterItemDispatch as We, useMouseLeaveItemDispatch as Ge, usePolarChartLayout as Ke } from "./peach-app.chart-tip-Dv3VREj-.js";import { $b4f18e3395fe64d7$export$3d96ec278d3efce4 as M, $b4f18e3395fe64d7$export$3e41faf802a29e71 as N, $b4f18e3395fe64d7$export$b2539bed5023c21c as qe, $b4f18e3395fe64d7$export$e51a686c67fdaa2d as Je, ButtonLink as P, EmptyState as F, LOC as Ye, MEDIA_SOURCE_ICONS as Xe, NR as Ze, Note as Qe, Progress as I, SEGMENT as $e, SEGMENTED_TRACK as et, STATS_KEY as tt, SegmentedTabList as nt, SourceMark as rt, StatusLabel as it, Xc as at, Xt as ot, _8 as st, __toESM as ct, bandRows as lt, cardClass as ut, clsx as dt, errorMessage as ft, fetchStats as pt, fmtCount as L, fmtSize as R, known as mt, lengthRows as ht, mM as z, mediumRows as gt, percentText as B, playedFor as _t, playedItemUrl as vt, radialArc as yt, radialBarSize as bt, radialCeiling as xt, radialSlices as St, reachedShare as Ct, replayRows as wt, require_jsx_runtime as Tt, require_react as Et, settingsPath as Dt, uo as Ot, useQuery as kt, watchNote as At, watchedShare as jt } from "./peach-app.js";import { Page as Mt } from "./peach-app.page-QAncjzM1.js";import { STAT_STRIP as Nt, StatCard as Pt, statCardClass as Ft } from "./peach-app.stat-card-DsNmy_0F.js";import { ConnectionStatus as It } from "./peach-app.connection-status-DI6kgn3i.js";-import { ActivityHeat as Lt, BarCard as V, ExpandableRanking as Rt, PolarAngleAxis as zt, selectPolarAxisScale as Bt, selectPolarAxisTicks as Vt, selectPolarGraphicalItemAxisTicks as Ht } from "./peach-app.expandable-ranking-D7U1tjmx.js";+import { ActivityHeat as Lt, BarCard as V, ExpandableRanking as Rt, PolarAngleAxis as zt, selectPolarAxisScale as Bt, selectPolarAxisTicks as Vt, selectPolarGraphicalItemAxisTicks as Ht } from "./peach-app.expandable-ranking-icp-Mk4j.js";// node_modules/recharts/es6/util/RadialBarUtils.jsvar H = /* @__PURE__ */ ct(Et()), Ut = ["option"];function Wt(e, t) {@@ -1474,4 +1474,4 @@ function Vr(e) {}export { Vr as StatsPage };-//# debugId=90935770-d810-41b1-a711-103248b3cedc\ No newline at end of file+//# debugId=4e9c6c78-244e-428a-b434-99df734cc9c7\ No newline at end of filediff --git a/web/dist/peach-app.taste-page-BDCc6-Mw.js b/web/dist/peach-app.taste-page-nSIqYyl-.jssimilarity index 99%rename from web/dist/peach-app.taste-page-BDCc6-Mw.jsrename to web/dist/peach-app.taste-page-nSIqYyl-.jsindex d5239d66f..493c1954f 100644--- a/web/dist/peach-app.taste-page-BDCc6-Mw.js+++ b/web/dist/peach-app.taste-page-nSIqYyl-.js@@ -1,15 +1,15 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e0f3f95e-cc04-4a29-9a4f-2f916f427c29", e._sentryDebugIdIdentifier = "sentry-dbid-e0f3f95e-cc04-4a29-9a4f-2f916f427c29");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b3f9f400-ff64-4f24-844f-651126acd037", e._sentryDebugIdIdentifier = "sentry-dbid-b3f9f400-ff64-4f24-844f-651126acd037");} catch {}})();-import { ActivePoints as e, AnimatedItems as t, CHART_CARD as n, CHART_COLORS as r, CartesianLabelListContextProvider as i, CategoryTick as a, ChartBackground as o, ChartContainer as s, ChartHead as c, ChartLegend as l, ChartLegendContent as u, ChartTip as d, ChartTooltip as f, ChartTooltipContent as p, DefaultZIndexes as m, Dots as h, EvilBarChart as g, LabelListFromLabelProp as _, Layer as v, LoadingIndicator as y, PolarChart as b, PolarLabelContextProvider as x, PolarLabelFromLabelProp as S, RegisterGraphicalItemId as C, SetPolarGraphicalItem as ee, SetPolarLegendPayload as w, SetTooltipEntrySettings as te, Text as T, ZIndexLayer as E, adaptEventsOfChild as ne, addRadiusAxis as re, arrayTooltipSearcher as ie, categoryAxisWidth as ae, cn as oe, createSelector as D, defaultPolarChartProps as se, defaultPolarRadiusAxisProps as ce, fitLabel as le, getAxisTypeBasedOnLayout as ue, getBandSizeOfAxis as de, getClassNameFromUnknown as fe, getColorsCount as pe, getTooltipNameProp as me, getValueByDataKey as he, identity as ge, interpolate as _e, isArrayLike as ve, isCategoricalAxis as ye, isNullish as be, iteratee as xe, matchAnimationItems as Se, matchByIndex as Ce, noop as we, polarToCartesian as O, removeRadiusAxis as Te, resolveDefaultProps as Ee, selectAngleAxis as De, selectChartDataAndAlwaysIgnoreIndexes as Oe, selectChartLayout as ke, selectPolarViewBox as Ae, selectRadiusAxis as je, selectUnfilteredPolarItems as Me, svgPropertiesAndEvents as Ne, svgPropertiesNoEvents as k, svgPropertiesNoEventsFromUnknown as Pe, tone as Fe, useAnimationCallbacks as Ie, useAnimationStartSnapshot as Le, useAppDispatch as Re, useAppSelector as A, useIsPanorama as ze, usePolarChartLayout as Be } from "./peach-app.chart-tip-CSA44p1l.js";+import { ActivePoints as e, AnimatedItems as t, CHART_CARD as n, CHART_COLORS as r, CartesianLabelListContextProvider as i, CategoryTick as a, ChartBackground as o, ChartContainer as s, ChartHead as c, ChartLegend as l, ChartLegendContent as u, ChartTip as d, ChartTooltip as f, ChartTooltipContent as p, DefaultZIndexes as m, Dots as h, EvilBarChart as g, LabelListFromLabelProp as _, Layer as v, LoadingIndicator as y, PolarChart as b, PolarLabelContextProvider as x, PolarLabelFromLabelProp as S, RegisterGraphicalItemId as C, SetPolarGraphicalItem as ee, SetPolarLegendPayload as w, SetTooltipEntrySettings as te, Text as T, ZIndexLayer as E, adaptEventsOfChild as ne, addRadiusAxis as re, arrayTooltipSearcher as ie, categoryAxisWidth as ae, cn as oe, createSelector as D, defaultPolarChartProps as se, defaultPolarRadiusAxisProps as ce, fitLabel as le, getAxisTypeBasedOnLayout as ue, getBandSizeOfAxis as de, getClassNameFromUnknown as fe, getColorsCount as pe, getTooltipNameProp as me, getValueByDataKey as he, identity as ge, interpolate as _e, isArrayLike as ve, isCategoricalAxis as ye, isNullish as be, iteratee as xe, matchAnimationItems as Se, matchByIndex as Ce, noop as we, polarToCartesian as O, removeRadiusAxis as Te, resolveDefaultProps as Ee, selectAngleAxis as De, selectChartDataAndAlwaysIgnoreIndexes as Oe, selectChartLayout as ke, selectPolarViewBox as Ae, selectRadiusAxis as je, selectUnfilteredPolarItems as Me, svgPropertiesAndEvents as Ne, svgPropertiesNoEvents as k, svgPropertiesNoEventsFromUnknown as Pe, tone as Fe, useAnimationCallbacks as Ie, useAnimationStartSnapshot as Le, useAppDispatch as Re, useAppSelector as A, useIsPanorama as ze, usePolarChartLayout as Be } from "./peach-app.chart-tip-Dv3VREj-.js";import { $542a13ca2fa5b484$export$5b6b19405a83ff9d as Ve, $b4f18e3395fe64d7$export$3d96ec278d3efce4 as He, $b4f18e3395fe64d7$export$3e41faf802a29e71 as Ue, $b4f18e3395fe64d7$export$b2539bed5023c21c as We, Button as j, ButtonLink as Ge, Disclosure as Ke, E3 as qe, EmptyState as M, FLOW_LABEL_X as Je, FLOW_VIEWBOX as Ye, Gg as Xe, IDLE_POLL_MS as Ze, Input as Qe, M6 as $e, MENU_ITEM as et, MENU_ITEM_INTERACTIVE as tt, MENU_POPOVER_SURFACE as nt, MenuDialog as rt, Note as N, OV as it, Progress as at, Rf as ot, SEGMENT as st, SEGMENTED_TRACK as ct, SegmentedTabList as lt, Select$1 as ut, SelectItem as dt, TASTE_REFRESH_KEY as ft, TASTE_WINDOWS as pt, TaskProgress as mt, Wt as ht, Xt as gt, _8 as _t, __toESM as vt, aB as yt, avatarInner as bt, busyProps as P, cB as xt, cardClass as F, clsx as I, configureTasteBrowser as St, confirmModal as Ct, cx as wt, errorMessage as L, f1 as Tt, fetchTaste as Et, fetchTasteJob as Dt, firstGrapheme as Ot, flowGraph as kt, flowLabel as At, fmtSize as jt, g4 as Mt, historySpan as Nt, importTasteExport as Pt, keepPreviousData as Ft, mM as It, pv as R, queryClient as z, r2 as Lt, radarRows as Rt, rankDetail as zt, rankShares as Bt, removeTasteSource as Vt, require_jsx_runtime as Ht, require_react as Ut, siteMarkUrl as Wt, startTasteRefresh as Gt, tasteDate as Kt, tasteDimensions as qt, tasteHours as Jt, tasteKey as B, tasteRefetchInterval as Yt, tasteTime as Xt, topScores as Zt, uo as Qt, useBackgroundJob as $t, useMutation as V, useQuery as en } from "./peach-app.js";import { Page as tn } from "./peach-app.page-QAncjzM1.js";import { STAT_STRIP as nn, StatCard as rn, statCardClass as an } from "./peach-app.stat-card-DsNmy_0F.js";import { LEGACY_AVATAR_IMG as on } from "./peach-app.legacy-avatar-NSITxLRS.js";-import { ActivityHeat as sn, BAR_DOMAIN as cn, ExpandableRanking as ln, PolarAngleAxis as un, Polygon as dn, barLabel as fn, selectPolarAxisScale as pn, selectPolarAxisTicks as H } from "./peach-app.expandable-ranking-D7U1tjmx.js";+import { ActivityHeat as sn, BAR_DOMAIN as cn, ExpandableRanking as ln, PolarAngleAxis as un, Polygon as dn, barLabel as fn, selectPolarAxisScale as pn, selectPolarAxisTicks as H } from "./peach-app.expandable-ranking-icp-Mk4j.js";var mn = D([(e, t) => H(e, "angleAxis", t, !1)], (e) => {if (e) return e.map((e) => e.coordinate);}), hn = D([(e, t) => H(e, "radiusAxis", t, !1)], (e) => {@@ -3309,4 +3309,4 @@ function ha({ term: e, value: t, rest: n }) {}export { ra as TASTE_GUIDE_KEY, ma as TastePage };-//# debugId=e0f3f95e-cc04-4a29-9a4f-2f916f427c29\ No newline at end of file+//# debugId=b3f9f400-ff64-4f24-844f-651126acd037\ No newline at end of filediff --git a/web/dist/peach-pages.js b/web/dist/peach-pages.jsindex 24dde00c3..a4b04b4bc 100644--- a/web/dist/peach-pages.js+++ b/web/dist/peach-pages.js@@ -2,7 +2,7 @@(function() {try {var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "caf9e3b1-715b-485d-95c8-a2b25f39bfe5", e._sentryDebugIdIdentifier = "sentry-dbid-caf9e3b1-715b-485d-95c8-a2b25f39bfe5");+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "e0055ad0-274c-46a6-a955-4d9fcf067df8", e._sentryDebugIdIdentifier = "sentry-dbid-e0055ad0-274c-46a6-a955-4d9fcf067df8");} catch {}})();var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), s = (e, i, o, s) => {@@ -20048,81 +20048,61 @@ function Fh(e, t = 100, n) {};}// node_modules/motion-dom/dist/es/animation/generators/spring.mjs-var Ih = {- stiffness: 100,- damping: 10,- mass: 1,- duration: 800,- bounce: .3,- visualDuration: .3,- restSpeed: {- granular: .01,- default: 2- },- restDelta: {- granular: .005,- default: .5- },- minDuration: .01,- maxDuration: 10,- minDamping: .05-}, Lh = (e) => e < 0 ? 1 / Math.max(1 + e, Ih.minDamping) : Math.max(1 - e, Ih.minDamping);-function Rh(e, t) {+var Ih = 100, Lh = 10, Rh = 1, zh = 800, Bh = .3, Vh = .3, Hh = .01, Uh = 2, Wh = .005, Gh = .5, Kh = .01, qh = 10, Jh = .05, Yh = (e) => e < 0 ? 1 / Math.max(1 + e, Jh) : Math.max(1 - e, Jh);+function Xh(e, t) {if (!(e > 1)) return 1;let n = Math.sqrt(e * e - 1), r = e - n, i = e + n, a = 2 * n * Math.exp(-t) * (1 + t);- return Vh((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;+ return $h((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;}-function zh(e, t) {+function Zh(e, t) {return e * Math.sqrt(1 - t * t);}-var Bh = 12;-function Vh(e, t, n) {+var Qh = 12;+function $h(e, t, n) {let r = n;- for (let n = 1; n < Bh; n++) r -= e(r) / t(r);+ for (let n = 1; n < Qh; n++) r -= e(r) / t(r);return r;}-var Hh = .001;-function Uh({ duration: e = Ih.duration, bounce: t = Ih.bounce }) {- let n, r;- Ih.maxDuration;- let i = Lh(t);- e = xh(Ih.minDuration, Ih.maxDuration, /* @__PURE__ */ Eh(e)), i < 1 ? (n = (t) => {- let n = t * i, r = n * e, a = zh(t, i), o = Math.exp(-r);- return Hh - n / a * o;+var eg = .001;+function tg({ duration: e = zh, bounce: t = Bh }) {+ let n, r, i = Yh(t);+ e = xh(Kh, qh, /* @__PURE__ */ Eh(e)), i < 1 ? (n = (t) => {+ let n = t * i, r = n * e, a = Zh(t, i), o = Math.exp(-r);+ return eg - n / a * o;}, r = (t) => {- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = zh(t * t, i);- return (-n(t) + Hh > 0 ? -1 : 1) * -a * o / s;+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Zh(t * t, i);+ return (-n(t) + eg > 0 ? -1 : 1) * -a * o / s;}) : (n = (t) => -.001 + Math.exp(-t * e) * (t * e + 1), r = (t) => Math.exp(-t * e) * (-t * (e * e)));- let a = 5 / e, o = Vh(n, r, a), s = o * Rh(i, o * e), c = s * s;+ let a = 5 / e, o = $h(n, r, a), s = o * Xh(i, o * e), c = s * s;return {stiffness: c,damping: i * 2 * Math.sqrt(c),duration: /* @__PURE__ */ Th(e)};}-var Wh = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;-function Gh(e, t) {- if (Wh(e, t)) return e;+var ng = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;+function rg(e, t) {+ if (ng(e, t)) return e;}-function Kh(e) {- let t = Gh(e.stiffness), n = Gh(e.damping, !0), r = Gh(e.mass), i = {+function ig(e) {+ let t = rg(e.stiffness), n = rg(e.damping, !0), r = rg(e.mass), i = {...e,- stiffness: t ?? Ih.stiffness,- damping: n ?? Ih.damping,- mass: r ?? Ih.mass,+ stiffness: t ?? Ih,+ damping: n ?? Lh,+ mass: r ?? Rh,isResolvedFromDuration: !1,isTimeDefined: (t ?? n ?? r) === void 0 && (e.duration !== void 0 || e.bounce !== void 0)};if (i.isTimeDefined) {if (e.visualDuration) {- let t = Lh(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Rh(t, 2 * Math.PI / 1.2);+ let t = Yh(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Xh(t, 2 * Math.PI / 1.2);i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);- } else Object.assign(i, Uh(i)), i.isResolvedFromDuration = !0;- Wh(i.stiffness) && Wh(i.damping, !0) || (i.stiffness = Ih.stiffness, i.damping = Ih.damping);+ } else Object.assign(i, tg(i)), i.isResolvedFromDuration = !0;+ ng(i.stiffness) && ng(i.damping, !0) || (i.stiffness = Ih, i.damping = Lh);}return i;}-function qh(e = Ih.visualDuration, t = Ih.bounce) {+function ag(e = Vh, t = Bh) {let n = typeof e == "object" ? e : {visualDuration: e,keyframes: [0, 1],@@ -20130,7 +20110,7 @@ function qh(e = Ih.visualDuration, t = Ih.bounce) {}, r = n.keyframes[0], i = n.keyframes[n.keyframes.length - 1], a = {done: !1,value: r- }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = Kh({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Eh(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Eh(Math.sqrt(o / c)), h = p * m, g = {+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = ig({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ Eh(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ Eh(Math.sqrt(o / c)), h = p * m, g = {target: i,delta: i - r,velocity: f(n.velocity || 0) || 0,@@ -20138,12 +20118,12 @@ function qh(e = Ih.visualDuration, t = Ih.bounce) {restDelta: 0}, _ = () => {let e = Math.abs(g.delta) < 5;- g.restSpeed = n.restSpeed || (e ? Ih.restSpeed.granular : Ih.restSpeed.default), g.restDelta = n.restDelta || (e ? Ih.restDelta.granular : Ih.restDelta.default);+ g.restSpeed = n.restSpeed || (e ? Hh : Uh), g.restDelta = n.restDelta || (e ? Wh : Gh);};_();let v, y, b;if (p < 1) {- let e = zh(m, p), t = {+ let e = Zh(m, p), t = {A: 0,sinC: 0,cosC: 0,@@ -20166,7 +20146,7 @@ function qh(e = Ih.visualDuration, t = Ih.bounce) {e.C = g.velocity + m * g.delta;}, y = (t) => Math.exp(-m * t) * (m * e.C * t - g.velocity);} else {- let e = m * Math.sqrt(p * p - 1), t = h - e, n = h + e, r = d ? Infinity : 300 / e, i = (e, t) => Math.exp(t > r ? -e * r - h * (t - r) : -e * t), a = {+ let e = m * Math.sqrt(p * p - 1), t = h - e, n = h + e, r = e < 1 || d ? Infinity : 300 / e, i = (e, t) => Math.exp(t > r ? (h - e) * r - h * t : -e * t), a = {S: 0,F: 0};@@ -20199,16 +20179,16 @@ function qh(e = Ih.visualDuration, t = Ih.bounce) {};return S;}-var Jh = /* @__PURE__ */ Object.assign(qh, { applyToOptions: (e) => {- let t = Fh(e, 100, qh);+var og = /* @__PURE__ */ Object.assign(ag, { applyToOptions: (e) => {+ let t = Fh(e, 100, ag);return e.ease = t.ease, e.duration = /* @__PURE__ */ Th(t.duration), e.type = "keyframes", e;-} }), Yh = (e) => e !== null;-function Xh(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {- let a = e.filter(Yh), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;+} }), sg = (e) => e !== null;+function cg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {+ let a = e.filter(sg), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;return !o || r === void 0 ? a[o] : r;}// node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs-function Zh(e, t) {+function lg(e, t) {return {kind: e,animation: t,@@ -20217,11 +20197,11 @@ function Zh(e, t) {frameIsProcessing: Oh.isProcessing};}-function Qh(e, t, n) {+function ug(e, t, n) {let r = globalThis.__MOTION_INSPECT__;if (r) try {r({- ...Zh("animation-start", e),+ ...lg("animation-start", e),options: n ? {...t,...n@@ -20230,7 +20210,7 @@ function Qh(e, t, n) {} catch {}}// node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs-var $h = class {+var dg = class {constructor() {this.isResolved = !1;}@@ -20250,55 +20230,55 @@ var $h = class {}};// node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs-function eg(e) {+function fg(e) {for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);}// node_modules/motion-dom/dist/es/render/dom/is-css-var.mjs-var tg = (e) => e.startsWith("--");+var pg = (e) => e.startsWith("--");// node_modules/motion-dom/dist/es/render/dom/style-set.mjs-function ng(e, t, n) {- tg(t) ? e.style.setProperty(t, n) : e.style[t] = n;+function mg(e, t, n) {+ pg(t) ? e.style.setProperty(t, n) : e.style[t] = n;}// node_modules/motion-dom/dist/es/utils/supports/flags.mjs-var rg = {};+var hg = {};// node_modules/motion-dom/dist/es/utils/supports/memo.mjs-function ig(e, t) {+function gg(e, t) {let n = /* @__PURE__ */ Ch(e);- return () => rg[t] ?? n();+ return () => hg[t] ?? n();}// node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs-var ag = /* @__PURE__ */ ig(() => window.ScrollTimeline !== void 0, "scrollTimeline"), og = /*@__PURE__*/ ig(() => {+var _g = /* @__PURE__ */ gg(() => window.ScrollTimeline !== void 0, "scrollTimeline"), vg = /*@__PURE__*/ gg(() => {try {document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });} catch {return !1;}return !0;-}, "linearEasing"), sg = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, cg = {+}, "linearEasing"), yg = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, bg = {linear: "linear",ease: "ease",easeIn: "ease-in",easeOut: "ease-out",easeInOut: "ease-in-out",- circIn: /*@__PURE__*/ sg([+ circIn: /*@__PURE__*/ yg([0,.65,.55,1]),- circOut: /*@__PURE__*/ sg([+ circOut: /*@__PURE__*/ yg([.55,0,1,.45]),- backIn: /*@__PURE__*/ sg([+ backIn: /*@__PURE__*/ yg([.31,.01,.66,-.59]),- backOut: /*@__PURE__*/ sg([+ backOut: /*@__PURE__*/ yg([.33,1.53,.69,@@ -20306,14 +20286,14 @@ var ag = /* @__PURE__ */ ig(() => window.ScrollTimeline !== void 0, "scrollTimel])};// node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs-function lg(e, t) {- if (e) return typeof e == "function" ? og() ? Mh(e, t) : "ease-out" : /* @__PURE__ */ Dh(e) ? sg(e) : Array.isArray(e) ? e.map((e) => lg(e, t) || cg.easeOut) : cg[e];+function xg(e, t) {+ if (e) return typeof e == "function" ? vg() ? Mh(e, t) : "ease-out" : /* @__PURE__ */ Dh(e) ? yg(e) : Array.isArray(e) ? e.map((e) => xg(e, t) || bg.easeOut) : bg[e];}// node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs-function ug(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {+function Sg(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {let u = { [t]: n };c && (u.offset = c);- let d = lg(s, i);+ let d = xg(s, i);Array.isArray(d) && (u.easing = d);let f = {delay: r,@@ -20326,27 +20306,27 @@ function ug(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTypreturn l && (f.pseudoElement = l), e.animate(u, f);}// node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs-function dg(e) {+function Cg(e) {return typeof e == "function" && "applyToOptions" in e;}// node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs-function fg({ type: e, ...t }) {- return dg(e) && og() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);+function wg({ type: e, ...t }) {+ return Cg(e) && vg() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);}// node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs-var pg = class extends $h {+var Tg = class extends dg {constructor(e) {if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;let { element: t, name: n, keyframes: r, pseudoElement: i, allowFlatten: a = !1, finalKeyframe: o, onComplete: s } = e;- this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e, e.type;- let c = fg(e);- this.animation = ug(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {+ this.isPseudoElement = !!i, this.allowFlatten = a, this.options = e;+ let c = wg(e);+ this.animation = Sg(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {if (this.finishedTime = this.time, !i) {- let e = Xh(r, this.options, o, this.speed);- this.updateMotionValue && this.updateMotionValue(e), ng(t, n, e), this.animation.cancel();+ let e = cg(r, this.options, o, this.speed);+ this.updateMotionValue?.(e), mg(t, n, e), this.animation.cancel();}s?.(), this.notifyFinished();- }, Qh(this, e, c);+ }, ug(this, e, c);}play() {this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());@@ -20400,9 +20380,9 @@ var pg = class extends $h {this.manualStartTime = this.animation.startTime = e;}attachTimeline({ timeline: e, onAttach: t, observe: n }) {- return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && ag() ? (this.animation.timeline = e, t?.(this.animation), wh) : n(this);+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && _g() ? (this.animation.timeline = e, t?.(this.animation), wh) : n(this);}-}, mg = class {+}, Eg = class {constructor(e) {this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);}@@ -20442,10 +20422,10 @@ var pg = class extends $h {return this.getAll("startTime");}get duration() {- return hg(this.animations, "duration");+ return Dg(this.animations, "duration");}get iterationDuration() {- return hg(this.animations, "iterationDuration");+ return Dg(this.animations, "iterationDuration");}runAll(e) {this.animations.forEach((t) => t[e]());@@ -20463,7 +20443,7 @@ var pg = class extends $h {this.runAll("complete");}};-function hg(e, t) {+function Dg(e, t) {let n = 0;for (let r = 0; r < e.length; r++) {let i = e[r][t];@@ -20472,17 +20452,17 @@ function hg(e, t) {return n;}// node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs-var gg = class extends mg {+var Og = class extends Eg {then(e, t) {return this.finished.finally(e).then(() => {});}-}, _g = /* @__PURE__ */ new WeakMap(), vg = (e, t = "") => `${e}:${t}`;-function yg(e) {- let t = _g.get(e);- return t || (t = /* @__PURE__ */ new Map(), _g.set(e, t)), t;+}, kg = /* @__PURE__ */ new WeakMap(), Ag = (e, t = "") => `${e}:${t}`;+function jg(e) {+ let t = kg.get(e);+ return t || (t = /* @__PURE__ */ new Map(), kg.set(e, t)), t;}// node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs-function bg(e, t) {+function Mg(e, t) {if (e?.inherit && t) {let { inherit: n, ...r } = e;return {@@ -20493,46 +20473,46 @@ function bg(e, t) {return e;}// node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs-function xg(e, t) {+function Ng(e, t) {let n = e?.[t] ?? e?.default ?? e;- return n === e ? n : bg(n, e);+ return n === e ? n : Mg(n, e);}// node_modules/motion-dom/dist/es/animation/waapi/utils/px-values.mjs-var Sg = /* @__PURE__ */ new Set(/* @__PURE__ */ "borderWidth.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderRadius.borderTopLeftRadius.borderTopRightRadius.borderBottomRightRadius.borderBottomLeftRadius.width.maxWidth.height.maxHeight.top.right.bottom.left.inset.insetBlock.insetBlockStart.insetBlockEnd.insetInline.insetInlineStart.insetInlineEnd.padding.paddingTop.paddingRight.paddingBottom.paddingLeft.paddingBlock.paddingBlockStart.paddingBlockEnd.paddingInline.paddingInlineStart.paddingInlineEnd.margin.marginTop.marginRight.marginBottom.marginLeft.marginBlock.marginBlockStart.marginBlockEnd.marginInline.marginInlineStart.marginInlineEnd.fontSize.backgroundPositionX.backgroundPositionY".split("."));+var Pg = /* @__PURE__ */ new Set(/* @__PURE__ */ "borderWidth.borderTopWidth.borderRightWidth.borderBottomWidth.borderLeftWidth.borderRadius.borderTopLeftRadius.borderTopRightRadius.borderBottomRightRadius.borderBottomLeftRadius.width.maxWidth.height.maxHeight.top.right.bottom.left.inset.insetBlock.insetBlockStart.insetBlockEnd.insetInline.insetInlineStart.insetInlineEnd.padding.paddingTop.paddingRight.paddingBottom.paddingLeft.paddingBlock.paddingBlockStart.paddingBlockEnd.paddingInline.paddingInlineStart.paddingInlineEnd.margin.marginTop.marginRight.marginBottom.marginLeft.marginBlock.marginBlockStart.marginBlockEnd.marginInline.marginInlineStart.marginInlineEnd.fontSize.backgroundPositionX.backgroundPositionY".split("."));// node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs-function Cg(e, t) {- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Sg.has(t) && (e[n] = e[n] + "px");+function Fg(e, t) {+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Pg.has(t) && (e[n] = e[n] + "px");}// node_modules/motion-dom/dist/es/scope/active.mjs-var wg = {};+var Ig = {};// node_modules/motion-dom/dist/es/utils/resolve-elements.mjs-function Tg(e, t, n) {+function Lg(e, t, n) {if (e == null) return [];if (e instanceof EventTarget) return [e];if (typeof e == "string") {- let r = t ? t.current : wg.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);+ let r = t ? t.current : Ig.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);return i ? Array.from(i) : [];}return Array.from(e).filter((e) => e != null);}// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs-function Eg(e, t) {+function Rg(e, t) {let n = window.getComputedStyle(e);- return tg(t) ? n.getPropertyValue(t) : n[t];+ return pg(t) ? n.getPropertyValue(t) : n[t];}// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs-function Dg(e, t, n, r) {+function zg(e, t, n, r) {if (e == null) return [];- let i = Tg(e, r), a = i.length, o = [];+ let i = Lg(e, r), a = i.length, o = [];for (let e = 0; e < a; e++) {let r = i[e], s = { ...n };typeof s.delay == "function" && (s.delay = s.delay(e, a));for (let e in t) {let n = t[e];Array.isArray(n) || (n = [n]);- let i = { ...xg(s, e) };+ let i = { ...Ng(s, e) };i.duration &&= /* @__PURE__ */ Th(i.duration), i.delay &&= /* @__PURE__ */ Th(i.delay);- let a = yg(r), c = vg(e, i.pseudoElement || ""), l = a.get(c);+ let a = jg(r), c = Ag(e, i.pseudoElement || ""), l = a.get(c);l && l.stop(), o.push({map: a,key: c,@@ -20548,33 +20528,33 @@ function Dg(e, t, n, r) {}for (let e = 0; e < o.length; e++) {let { unresolvedKeyframes: t, options: n } = o[e], { element: r, name: i, pseudoElement: a } = n;- !a && t[0] === null && (t[0] = Eg(r, i)), eg(t), Cg(t, i), !a && t.length < 2 && t.unshift(Eg(r, i)), n.keyframes = t;+ !a && t[0] === null && (t[0] = Rg(r, i)), fg(t), Fg(t, i), !a && t.length < 2 && t.unshift(Rg(r, i)), n.keyframes = t;}let s = [];for (let e = 0; e < o.length; e++) {- let { map: t, key: n, options: r } = o[e], i = new pg(r);+ let { map: t, key: n, options: r } = o[e], i = new Tg(r);t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);}return s;}-var Og = /*@__PURE__*/ ((e) => {+var Bg = /*@__PURE__*/ ((e) => {function t(t, n, r) {- return new gg(Dg(t, n, r, e));+ return new Og(zg(t, n, r, e));}return t;-})(), kg = {+})(), Vg = {selection: {- type: Jh,+ type: og,duration: .16,bounce: 0},hover: {- type: Jh,+ type: og,duration: .08,bounce: 0}};-function Ag(e) {+function Hg(e) {let [t, n] = (0, j.useState)(null);return (0, j.useLayoutEffect)(() => {if (!t) return;@@ -20595,7 +20575,7 @@ function Ag(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 = Og(n, { transform: [r, E] }, kg[e]);+ l = Bg(n, { transform: [r, E] }, Vg[e]);} else n.style.transform = E;s = h, c = w, t.dataset.surfaceReady = "";}, m = (t) => {@@ -20637,11 +20617,11 @@ Object.fromEntries(Object.entries({ads: "/junk-files"}).map(([e, t]) => [t, e])), typeof Intl < "u" && typeof Intl.Segmenter == "function" && new Intl.Segmenter(void 0, { granularity: "grapheme" }), { ...Im };// src/ui-kit/scroll.ts-var jg = /* @__PURE__ */ new Map(), Mg, Ng = 240, Pg = 50, Fg = 70, Ig = .55, Lg = .35, Rg = 480;-function zg(e, t) {- return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * Ig / t + 1)) * t;+var Ug = /* @__PURE__ */ new Map(), Wg, Gg = 240, Kg = 50, qg = 70, Jg = .55, Yg = .35, Xg = 480;+function Zg(e, t) {+ return !e || !(t > 0) ? 0 : Math.sign(e) * (1 - 1 / (Math.abs(e) * Jg / t + 1)) * t;}-function Bg(e) {+function Qg(e) {let t = null, n = 0, r = () => typeof e.animate != "function" || matchMedia("(prefers-reduced-motion:reduce)").matches, i = () => {t = null, n || e.classList.remove("edgepull");}, a = (n, r) => {@@ -20649,11 +20629,11 @@ function Bg(e) {};return {drag(i) {- r() || (t?.cancel(), t = null, n = -zg(i, e.clientWidth), e.classList.toggle("edgepull", !!n), n ? e.style.setProperty("--edge-pull", `${n}px`) : e.style.removeProperty("--edge-pull"));+ r() || (t?.cancel(), t = null, n = -Zg(i, e.clientWidth), e.classList.toggle("edgepull", !!n), n ? e.style.setProperty("--edge-pull", `${n}px`) : e.style.removeProperty("--edge-pull"));},release() {if (!n) return;- let t = n, r = Ug();+ let t = n, r = t_();n = 0, e.style.removeProperty("--edge-pull"), a([{"--edge-pull": `${t}px`,easing: r.easing@@ -20661,9 +20641,9 @@ function Bg(e) {},kick(t) {if (r() || n) return;- let i = -zg(t * Lg, Math.min(e.clientWidth, Rg));+ let i = -Zg(t * Yg, Math.min(e.clientWidth, Xg));if (!i) return;- let o = Ug();+ let o = t_();a([{"--edge-pull": "0px",@@ -20679,10 +20659,10 @@ function Bg(e) {}};}-function Vg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {+function $g(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dragIgnore: a = "" } = {}) {if (!e) return;n && (e.dataset.scrollGesture = "");- let o = jg.get(e);+ let o = Ug.get(e);if (o) return o.options.drag ||= t, o.options.fade ||= n, o.update(), o;let s = {drag: t,@@ -20690,7 +20670,7 @@ function Vg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, drawheel: r,elastic: i,dragIgnore: a- }, c = new AbortController(), l = Bg(e), u = null, d = 0, f = 0, p = 0, m = !1, h = 0, g = 0, _ = 0, v = 0, y = (t, n) => {+ }, c = new AbortController(), l = Qg(e), u = null, d = 0, f = 0, p = 0, m = !1, h = 0, g = 0, _ = 0, v = 0, y = (t, n) => {e.dataset[t] !== n && (e.dataset[t] = n);}, b = "", x = () => (b ||= getComputedStyle(e).overflowX, ["auto",@@ -20716,7 +20696,7 @@ function Vg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, dracancelAnimationFrame(h), h = 0, v = 0;}, O = (t) => {let n = Math.min(Math.max(t - g, 0), 64);- if (g = t, _ += (p - _) * (1 - Math.exp(-n / Fg)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(O);+ if (g = t, _ += (p - _) * (1 - Math.exp(-n / qg)), Math.abs(p - _) < .5 && (_ = p), e.scrollLeft = _, _ !== p) h = requestAnimationFrame(O);else if (h = 0, v) {let e = v;v = 0, E(e);@@ -20728,11 +20708,11 @@ function Vg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, draif (t.defaultPrevented || !t.cancelable || Math.abs(t.deltaY) <= Math.abs(t.deltaX) || n <= 0 || !x()) return;t.preventDefault();let r = performance.now(), i = Math.abs(t.deltaY);- r > f && (m = !1), f = r + Ng;+ r > f && (m = !1), f = r + Gg;let a = h ? p : e.scrollLeft, o = a + t.deltaY;p = Math.min(n, Math.max(0, o));let c = o === p ? 0 : t.deltaY;- i < Pg || p === a ? (p !== a && (D(), e.scrollLeft = p), c && !h ? E(c) : c && (v = c)) : (c && (v = c), h ||= (_ = e.scrollLeft, g = performance.now(), requestAnimationFrame(O)));+ i < Kg || p === a ? (p !== a && (D(), e.scrollLeft = p), c && !h ? E(c) : c && (v = c)) : (c && (v = c), h ||= (_ = e.scrollLeft, g = performance.now(), requestAnimationFrame(O)));}, { passive: !1 }), T(e, "mousedown", (t) => {d = 0, !s.drag || t.button !== 0 || e.scrollWidth - e.clientWidth <= 1 || s.dragIgnore && (t.shiftKey || t.ctrlKey || t.metaKey || t.altKey || t.target.closest?.(s.dragIgnore)) || (t.stopPropagation(), D(), u = {x: t.pageX,@@ -20770,52 +20750,52 @@ function Vg(e, { drag: t = !1, fade: n = !0, wheel: r = !0, elastic: i = !0, drab = "", S();},destroy() {- c.abort(), D(), cancelAnimationFrame(C), C = 0, ee.disconnect(), te.disconnect(), jg.delete(e), delete e.dataset.scrollGesture, e.style.cursor = "", jg.size || (Mg?.disconnect(), Mg = null);+ c.abort(), D(), cancelAnimationFrame(C), C = 0, ee.disconnect(), te.disconnect(), Ug.delete(e), delete e.dataset.scrollGesture, e.style.cursor = "", Ug.size || (Wg?.disconnect(), Wg = null);}};- return jg.set(e, ne), Mg || (Mg = new MutationObserver(() => {- for (let [e, t] of jg) e.isConnected || t.destroy();- }), Mg.observe(document.body, {+ return Ug.set(e, ne), Wg || (Wg = new MutationObserver(() => {+ for (let [e, t] of Ug) e.isConnected || t.destroy();+ }), Wg.observe(document.body, {childList: !0,subtree: !0})), ne;}-var Hg = null;-function Ug() {- if (!Hg) {+var e_ = null;+function t_() {+ if (!e_) {let e = getComputedStyle(document.documentElement);- Hg = {+ e_ = {easing: e.getPropertyValue("--spring-pane").trim() || "ease",duration: parseFloat(e.getPropertyValue("--spring-pane-ms")) || 300};}- return Hg;+ return e_;}// src/react/components/use-horizontal-scroller.ts-function Wg(e, t = !0) {+function n_(e, t = !0) {let [n, r] = (0, j.useState)(null), i = (0, j.useCallback)((t) => {r(t), typeof e == "function" ? e(t) : e && (e.current = t);}, [e]);return (0, j.useLayoutEffect)(() => {if (!n || !t) return;n.dataset.horizontalScroll = "";- let e = Vg(n);+ let e = $g(n);return () => {e.destroy(), delete n.dataset.horizontalScroll, delete n.dataset.overflowLeft, delete n.dataset.overflowRight;};}, [n, t]), i;}// src/react/components/segmented.tsx-function Gg(e) {- let t = Wg(Ag("selection"));+function r_(e) {+ let t = n_(Hg("selection"));return /* @__PURE__ */ (0, z.jsx)(Cp, {...e,ref: t});}-var Kg = "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", qg = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 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";+var i_ = "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", a_ = "flex min-h-7 flex-none cursor-pointer items-center gap-1.5 rounded-md px-2.5 py-1 max-sm:px-2 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";// src/react/components/configuration-fields.tsx-function Jg({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a, isInvalid: o, children: s }) {+function o_({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a, isInvalid: o, children: s }) {let c = `${e}-label`;return /* @__PURE__ */ (0, z.jsxs)("div", {className: "flex flex-col gap-1.5",@@ -20825,18 +20805,18 @@ function Jg({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a,elementType: "span",children: t}),- /* @__PURE__ */ (0, z.jsx)(Gg, {+ /* @__PURE__ */ (0, z.jsx)(r_, {id: e,"aria-labelledby": c,orientation: "horizontal",- className: Kg,+ className: i_,value: n,onChange: r,isDisabled: a,isInvalid: o,children: i.map((e) => /* @__PURE__ */ (0, z.jsx)(wp, {value: e.value,- className: qg,+ className: a_,children: e.label}, e.value))}),@@ -20844,7 +20824,7 @@ function Jg({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a,]});}-function Yg({ prefix: e, suffix: t, ...n }) {+function s_({ prefix: e, suffix: t, ...n }) {let r = () => /* @__PURE__ */ (0, z.jsx)("span", {className: "shrink-0 pr-1 text-body-regular text-text-secondary",children: t@@ -20859,14 +20839,14 @@ function Yg({ prefix: e, suffix: t, ...n }) {});}// src/react/settings/busy-props.ts-function Xg(e) {+function c_(e) {return e ? {"aria-busy": !0,"aria-disabled": !0} : {};}// src/react/settings/folder-rows.tsx-function Zg({ className: e }) {+function l_({ className: e }) {return /* @__PURE__ */ (0, z.jsx)("svg", {"aria-hidden": !0,viewBox: "0 0 24 24",@@ -20879,8 +20859,8 @@ function Zg({ className: e }) {children: /* @__PURE__ */ (0, z.jsx)("use", { href: "#i-folder-search" })});}-var Qg = Pm, $g = (e) => Rm[e] || "database", e_ = (e) => Fm.includes(e);-function t_({ label: e, className: t, children: n }) {+var u_ = Pm, d_ = (e) => Rm[e] || "database", f_ = (e) => Fm.includes(e);+function p_({ label: e, className: t, children: n }) {return /* @__PURE__ */ (0, z.jsxs)("div", {className: R("flex min-w-0 flex-col gap-1", t),children: [/* @__PURE__ */ (0, z.jsx)(sm, {@@ -20890,13 +20870,13 @@ function t_({ label: e, className: t, children: n }) {}), n]});}-function n_({ children: e }) {+function m_({ children: e }) {return /* @__PURE__ */ (0, z.jsx)("div", {className: "flex w-full flex-wrap items-start gap-2",children: e});}-function r_({ index: e, cost: t, error: n, onChange: r }) {+function h_({ index: e, cost: t, error: n, onChange: r }) {return /* @__PURE__ */ (0, z.jsxs)("div", {"data-media-read-policy": e,className: "flex w-full flex-col gap-1 @lg:w-32",@@ -20928,10 +20908,10 @@ function r_({ index: e, cost: t, error: n, onChange: r }) {]});}-function i_() {+function g_() {return /* @__PURE__ */ (0, z.jsx)(Wm, { children: "读取策略选「代理保护」时,会限制自动读取视频。" });}-function a_({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {+function __({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick: i = !1 }) {let [a, o] = (0, j.useState)(e), [s, c] = (0, j.useState)([]), [l, u] = (0, j.useState)(null), [d, f] = (0, j.useState)(null), p = (0, j.useRef)(!1), m = (0, j.useRef)([]);(0, j.useLayoutEffect)(() => {l !== null && (m.current[l]?.focus(), u(null));@@ -20974,7 +20954,7 @@ function a_({ initial: e, blank: t, pickFolder: n, describe: r, focusAfterPick:}};}-function o_({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {+function v_({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, onPick: o, onRemove: s, status: c, children: l }) {let u = (0, j.useRef)(null), d = () => {let e = u.current;e && e.ownerDocument.activeElement !== e && (e.scrollLeft = e.scrollWidth);@@ -21006,10 +20986,10 @@ function o_({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, ochildren: c}) : null,/* @__PURE__ */ (0, z.jsx)(oh, {- icon: Zg,+ icon: l_,"aria-label": "选择文件夹",onClick: o,- ...Xg(a)+ ...c_(a)}),s ? /* @__PURE__ */ (0, z.jsx)(Rt, {variant: "danger",@@ -21025,8 +21005,8 @@ function o_({ label: e, path: t, onPath: n, error: r, inputRef: i, picking: a, o})]});}-function s_({ index: e, value: t, onChange: n, options: r = Qg }) {- return /* @__PURE__ */ (0, z.jsx)(t_, {+function y_({ index: e, value: t, onChange: n, options: r = u_ }) {+ return /* @__PURE__ */ (0, z.jsx)(p_, {label: "来源",className: "w-full @lg:w-60",children: /* @__PURE__ */ (0, z.jsx)(vh, {@@ -21039,13 +21019,13 @@ function s_({ index: e, value: t, onChange: n, options: r = Qg }) {children: r.map(([e, t]) => /* @__PURE__ */ (0, z.jsxs)(yh, {id: e,textValue: t,- children: [/* @__PURE__ */ (0, z.jsx)(Zm, { mark: $g(e) }), t]+ children: [/* @__PURE__ */ (0, z.jsx)(Zm, { mark: d_(e) }), t]}, e))})});}// src/react/settings/library-icon-picker.tsx-var c_ = [+var b_ = [["", "自动识别"],["hard-drive", "磁盘"],["database", "资料库"],@@ -21089,13 +21069,13 @@ var c_ = [["star", "收藏"],["tags", "主题"]];-function l_(e) {+function x_(e) {let t = e === "local" ? "" : Rm[e];return t ? [t, "自动识别"] : ["hard-drive", "默认"];}-var u_ = "auto";-function d_({ value: e, label: t, kind: n = "local", onChange: r }) {- let i = (0, j.useRef)(null), [a, o] = (0, j.useState)(!1), [s, c] = (0, j.useState)(e), [l, u] = l_(n);+var S_ = "auto";+function C_({ value: e, label: t, kind: n = "local", onChange: r }) {+ let i = (0, j.useRef)(null), [a, o] = (0, j.useState)(!1), [s, c] = (0, j.useState)(e), [l, u] = x_(n);return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(Rt, {ref: i,variant: "secondary",@@ -21109,7 +21089,7 @@ function d_({ value: e, label: t, kind: n = "local", onChange: r }) {children: /* @__PURE__ */ (0, z.jsxs)("span", {"data-icon-choice": !0,className: "flex items-center gap-2",- children: [/* @__PURE__ */ (0, z.jsx)(Zm, { mark: e || l }), ((e) => e && c_.find(([t]) => t === e)?.[1] || u)(e)]+ children: [/* @__PURE__ */ (0, z.jsx)(Zm, { mark: e || l }), ((e) => e && b_.find(([t]) => t === e)?.[1] || u)(e)]})}), /* @__PURE__ */ (0, z.jsx)(Cf, {triggerRef: i,@@ -21129,15 +21109,15 @@ function d_({ value: e, label: t, kind: n = "local", onChange: r }) {}),/* @__PURE__ */ (0, z.jsx)(Cp, {"aria-label": "可选图标",- value: s || u_,- onChange: (e) => c(e === u_ ? "" : e),+ value: s || S_,+ onChange: (e) => c(e === S_ ? "" : e),className: "inline-grid grid-cols-7 gap-1",- children: c_.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(wp, {- value: e || u_,+ children: b_.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(wp, {+ value: e || S_,"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, z.jsx)(Zm, { mark: e || l })- }, e || u_))+ }, e || S_))}),/* @__PURE__ */ (0, z.jsxs)("div", {className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",@@ -21158,7 +21138,7 @@ function d_({ value: e, label: t, kind: n = "local", onChange: r }) {})] });}// src/react/components/select.tsx-function f_({ prefix: e, renderValue: t, size: n, ...r }) {+function w_({ prefix: e, renderValue: t, size: n, ...r }) {if (e == null) return /* @__PURE__ */ (0, z.jsx)(vh, {...r,size: n,@@ -21175,7 +21155,7 @@ function f_({ prefix: e, renderValue: t, size: n, ...r }) {renderValue: a});}-var p_ = [+var T_ = [["ash","灰雾",@@ -21500,8 +21480,8 @@ var p_ = ["blue"]];-[...p_.map(([e, t]) => [e, t])];-var m_ = (e) => structuredClone((p_.find(([t]) => t === e) || p_[0])[2]), h_ = [+[...T_.map(([e, t]) => [e, t])];+var E_ = (e) => structuredClone((T_.find(([t]) => t === e) || T_[0])[2]), D_ = [["red", "红"],["orange", "橙"],["amber", "琥珀"],@@ -21515,61 +21495,61 @@ var m_ = (e) => structuredClone((p_.find(([t]) => t === e) || p_[0])[2]), h_ = [["fuchsia", "品红"],["rose", "玫红"]];-({ ...m_("ash") });+({ ...E_("ash") });// src/react/components/library-tint.ts-var g_ = /* @__PURE__ */ new Map(), __ = /* @__PURE__ */ new Set();-function v_(e) {+var O_ = /* @__PURE__ */ new Map(), k_ = /* @__PURE__ */ new Set();+function A_(e) {let t = document.createElement("span");t.setAttribute("data-accent-ball", e), t.hidden = !0, document.body.append(t);let n = getComputedStyle(t).getPropertyValue("--color-accent-500").trim();return t.remove(), n;}-function y_(e) {- g_ = e;+function j_(e) {+ O_ = e;let t = document.getElementById("peach-library-tints");- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...g_.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${v_(e.color)}}`).join("\n");+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...O_.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${A_(e.color)}}`).join("\n");}-function b_(e) {- y_(e), __.forEach((e) => e());+function M_(e) {+ j_(e), k_.forEach((e) => e());}-function x_(e, t) {- let n = g_.get(e) ?? {+function N_(e, t) {+ let n = O_.get(e) ?? {id: e,name: "",icon: "database",location: "",color: ""};- b_(new Map([...g_, [e, {+ M_(new Map([...O_, [e, {...n,color: t}]]));}// src/react/components/overlay-host.ts-function S_(e) {+function P_(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 C_(e) {+function F_(e) {let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");- return S_(n ?? t.body);+ return P_(n ?? t.body);}// src/react/settings/library-policy-settings.tsx-var w_ = [+var I_ = [["probe", "读取视频信息"],["metadata", "联网补资料"],["cover", "联网补封面"],["people", "联网补人物图片"],["preview", "生成九宫格预览"]-], T_ = [+], L_ = ["probe","metadata","cover","people","preview"-], E_ = [+], R_ = [["auto","自动补全",@@ -21586,18 +21566,18 @@ var w_ = ["逐项选择要做的步骤"]];-function D_({ name: e, value: t, onChange: n }) {- return /* @__PURE__ */ (0, z.jsx)(f_, {+function z_({ name: e, value: t, onChange: n }) {+ return /* @__PURE__ */ (0, z.jsx)(w_, {className: "w-full","aria-label": `${e} 处理方式`,selectedKey: t,prefix: "处理方式",renderValue: /* @__PURE__ */ (0, z.jsx)("span", {className: "truncate",- children: E_.find(([e]) => e === t)?.[1]+ children: R_.find(([e]) => e === t)?.[1]}),onSelectionChange: (e) => n(String(e)),- children: E_.map(([e, t, n]) => /* @__PURE__ */ (0, z.jsx)(yh, {+ children: R_.map(([e, t, n]) => /* @__PURE__ */ (0, z.jsx)(yh, {id: e,textValue: t,children: /* @__PURE__ */ (0, z.jsxs)("span", {@@ -21610,15 +21590,15 @@ function D_({ name: e, value: t, onChange: n }) {}, e))});}-function O_({ name: e, value: t, onChange: n }) {+function B_({ name: e, value: t, onChange: n }) {return /* @__PURE__ */ (0, z.jsx)(Ym, {defaultOpen: !0,- summary: `${e} 的处理步骤(${t.length}/${w_.length})`,+ summary: `${e} 的处理步骤(${t.length}/${I_.length})`,children: /* @__PURE__ */ (0, z.jsx)("div", {className: "flex flex-wrap gap-x-6 gap-y-2",role: "group","aria-label": `${e} 处理步骤`,- children: w_.map(([e, r]) => /* @__PURE__ */ (0, z.jsx)(Qp, {+ children: I_.map(([e, r]) => /* @__PURE__ */ (0, z.jsx)(Qp, {isSelected: t.includes(e),onChange: (r) => n(r ? [...t, e] : t.filter((t) => t !== e)),children: r@@ -21626,9 +21606,9 @@ function O_({ name: e, value: t, onChange: n }) {})});}-function k_({ id: e, name: t, value: n, onChange: r }) {- let i = (0, j.useRef)(null), [a, o] = (0, j.useState)(!1), s = h_.find(([e]) => e === n)?.[1] || "无颜色", c = (t) => {- r(t), x_(e, t), o(!1);+function V_({ id: e, name: t, value: n, onChange: r }) {+ let i = (0, j.useRef)(null), [a, o] = (0, j.useState)(!1), s = D_.find(([e]) => e === n)?.[1] || "无颜色", c = (t) => {+ r(t), N_(e, t), o(!1);};return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsxs)("button", {ref: i,@@ -21659,7 +21639,7 @@ function k_({ id: e, name: t, value: n, onChange: r }) {/* @__PURE__ */ (0, z.jsx)("span", { children: s })]}), /* @__PURE__ */ (0, z.jsx)(ff, {- getContainer: () => C_(i.current),+ getContainer: () => F_(i.current),children: /* @__PURE__ */ (0, z.jsx)(Cf, {triggerRef: i,isOpen: a,@@ -21690,7 +21670,7 @@ function k_({ id: e, name: t, value: n, onChange: r }) {"data-library-none": "","aria-hidden": "true"})- }), h_.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)("button", {+ }), D_.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)("button", {type: "button","data-glow-chip": "","aria-pressed": e === n,@@ -21709,7 +21689,7 @@ function k_({ id: e, name: t, value: n, onChange: r }) {})] });}// src/react/settings/password-pair.tsx-function A_({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {+function H_({ 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, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(pm, {id: "access-password",type: "password",@@ -21739,12 +21719,12 @@ function A_({ label: e, password: t, confirmation: n, onPassword: r, onConfirmat})] });}// src/react/settings/peach-proxy-fields.tsx-var j_ = [+var U_ = [["environment", "跟随环境"],["direct", "直连"],["proxy", "自定义"]];-function M_({ mode: e, onChange: t, labelledBy: n }) {+function W_({ mode: e, onChange: t, labelledBy: n }) {return /* @__PURE__ */ (0, z.jsx)(vh, {"aria-label": n ? void 0 : "连接方式","aria-labelledby": n,@@ -21752,13 +21732,13 @@ function M_({ mode: e, onChange: t, labelledBy: n }) {onSelectionChange: (e) => {e !== null && t(String(e));},- children: j_.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(yh, {+ children: U_.map(([e, t]) => /* @__PURE__ */ (0, z.jsx)(yh, {id: e,children: t}, e))});}-function N_({ id: e, value: t, onChange: n, saved: r = !1, error: i }) {+function G_({ id: e, value: t, onChange: n, saved: r = !1, error: i }) {return /* @__PURE__ */ (0, z.jsx)(pm, {id: e,type: "password",@@ -21773,7 +21753,7 @@ function N_({ id: e, value: t, onChange: n, saved: r = !1, error: i }) {hint: i});}-function P_(e) {+function K_(e) {try {let t = new URL(e).hostname;return [@@ -21786,7 +21766,7 @@ function P_(e) {}}// src/react/boardui/components/base/badges/chip.tsx-var F_ = Ft({+var q_ = Ft({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",@@ -21805,31 +21785,31 @@ var F_ = Ft({soft: "bg-background-secondary-default text-text-secondary"}});-function I_({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {+function J_({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {return /* @__PURE__ */ (0, z.jsx)("span", {ref: r,- className: R(F_.base, F_.variant[e], F_.color[t], n),+ className: R(q_.base, q_.variant[e], q_.color[t], n),...i});}// src/react/components/status-label.tsx-var L_ = {+var Y_ = {success: "lime",progress: "blue",warning: "yellow",error: "rose",neutral: "neutral"};-function R_({ tone: e = "neutral", ...t }) {- return /* @__PURE__ */ (0, z.jsx)(I_, {+function X_({ tone: e = "neutral", ...t }) {+ return /* @__PURE__ */ (0, z.jsx)(J_, {"data-status-tone": e,variant: "caption",- color: L_[e],+ color: Y_[e],...t});}// src/react/settings/remote-reporting-settings.tsx-function z_({ value: e, onChange: t, busy: n = !1 }) {+function Z_({ value: e, onChange: t, busy: n = !1 }) {return /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [/* @__PURE__ */ (0, z.jsx)(Hm, { children: /* @__PURE__ */ (0, z.jsx)(zm, {label: "发送版本统计与错误诊断(推荐)",description: "上传版本、系统信息、故障类型、代码位置与发生次数。",@@ -21841,18 +21821,18 @@ function z_({ value: e, onChange: t, busy: n = !1 }) {usage: n,errors: n}),- ...Xg(n)+ ...c_(n)})}) }), e.available ? null : /* @__PURE__ */ (0, z.jsx)(Um, {divided: !0,children: /* @__PURE__ */ (0, z.jsx)("span", {className: "self-start",- children: /* @__PURE__ */ (0, z.jsx)(R_, { children: "上传服务未配置" })+ children: /* @__PURE__ */ (0, z.jsx)(X_, { children: "上传服务未配置" })})})] });}// src/react/pages/setup/setup-processing.tsx-function B_(e) {+function Q_(e) {return e ? {library_id: e.library_id,library: e.library,@@ -21862,15 +21842,15 @@ function B_(e) {library_stages: e.library_stages} : {};}-function V_(e) {+function $_(e) {if (e.library_policy === "local") return "仅使用本地资料";if (e.library_policy !== "custom") return "自动补全";- let t = w_.filter(([t]) => e.library_stages?.split(",").includes(t)).map(([, e]) => e);+ let t = I_.filter(([t]) => e.library_stages?.split(",").includes(t)).map(([, e]) => e);return t.length ? `自定义:${t.join("、")}` : "自定义:只读取本地 NFO 和图片";}// src/react/pages/setup/setup-form.tsx-var H_ = ["port", "mdns_name"];-function U_(e, t) {+var ev = ["port", "mdns_name"];+function tv(e, t) {return Array.isArray(e) ? e.length === t ? {rows: e,table: ""@@ -21882,11 +21862,11 @@ function U_(e, t) {table: e ?? ""};}-function W_(e) {+function nv(e) {return e.length ? `完成设置后扫描 ${e.length} 个文件夹` : "完成设置后扫描媒体目录";}-var G_ = (e) => Array.isArray(e) ? e.filter(Boolean).join(" ") : e ?? "";-function K_({ setup: e, onDone: t, onRestore: n }) {+var rv = (e) => Array.isArray(e) ? e.filter(Boolean).join(" ") : e ?? "";+function iv({ setup: e, onDone: t, onRestore: n }) {let [r, i] = (0, j.useState)(0), [a, o] = (0, j.useState)(1), s = (0, j.useRef)(null), c = (0, j.useRef)(null), l = (e) => {o(e > r ? 1 : -1), i(e);};@@ -21905,14 +21885,14 @@ function K_({ setup: e, onDone: t, onRestore: n }) {root: "",...g.current,cost: e.media_source_default === "local" ? "free" : ""- }), v = a_({+ }), v = __({initial: () => [_()],blank: () => _(),pickFolder: wm,describe: Tm,focusAfterPick: !0});- g.current = B_(v.rows[0]);+ g.current = Q_(v.rows[0]);let [y, b] = (0, j.useState)(() => Object.fromEntries(f.map((e) => [e.key, e.default]))), [x, S] = (0, j.useState)(!1), [C, w] = (0, j.useState)(""), [T, E] = (0, j.useState)(e.access_enabled), [D, O] = (0, j.useState)(""), [k, ee] = (0, j.useState)(""), [A, te] = (0, j.useState)(e.scan_now), [ne, re] = (0, j.useState)(!1), [M, ie] = (0, j.useState)(e.remote_reporting), [ae, oe] = (0, j.useState)(e.peach_proxy?.mode ?? "environment"), [se, ce] = (0, j.useState)(""), [le, ue] = (0, j.useState)({}), [de, fe] = (0, j.useState)(""), [pe, me] = (0, j.useState)(""), [he, ge] = (0, j.useState)(!1), [_e, N] = (0, j.useState)(!1), [P, ve] = (0, j.useState)(0), ye = (0, j.useRef)(null), be = (0, j.useRef)(null), [xe, Se] = (0, j.useState)(0);(0, j.useEffect)(() => {xe && [...ye.current?.querySelectorAll("input[aria-invalid=\"true\"]") ?? []].find((e) => !e.closest("[hidden]"))?.focus();@@ -21962,15 +21942,15 @@ function K_({ setup: e, onDone: t, onRestore: n }) {t(await Sm(a));} catch (e) {if (e instanceof ym && e.status === 400 && e.errors) {- let t = e.errors, { rows: n, table: r } = U_(t.media_dir, v.rows.length);- v.setErrors(n), fe(r), ue(t), H_.some((e) => t[e]) && ve((e) => e + 1), t.access_password && E(!0), l(t.media_dir || d && t[d.key] ? 1 : 2), Se((e) => e + 1);+ let t = e.errors, { rows: n, table: r } = tv(t.media_dir, v.rows.length);+ v.setErrors(n), fe(r), ue(t), ev.some((e) => t[e]) && ve((e) => e + 1), t.access_password && E(!0), l(t.media_dir || d && t[d.key] ? 1 : 2), Se((e) => e + 1);} else me(Tm(e));} finally {ge(!1);}}, De = (e) => {- let t = G_(le[e.key]), n = e.help.join("");- return e.input === "choice" ? /* @__PURE__ */ (0, z.jsxs)(Jg, {+ let t = rv(le[e.key]), n = e.help.join("");+ return e.input === "choice" ? /* @__PURE__ */ (0, z.jsxs)(o_, {id: `setup-${e.key}`,label: e.label,value: y[e.key] ?? e.default,@@ -21978,7 +21958,7 @@ function K_({ setup: e, onDone: t, onRestore: n }) {options: e.options ?? [],isInvalid: !!t,children: [n ? /* @__PURE__ */ (0, z.jsx)(Wm, { children: n }) : null, t ? /* @__PURE__ */ (0, z.jsx)(Gm, { children: t }, xe) : null]- }, e.key) : /* @__PURE__ */ (0, z.jsx)(Yg, {+ }, e.key) : /* @__PURE__ */ (0, z.jsx)(s_, {id: `f-${e.key}`,label: e.label,isRequired: e.required,@@ -22005,7 +21985,7 @@ function K_({ setup: e, onDone: t, onRestore: n }) {S(!1);}}- }, ke = d ? G_(le[d.key]) || C : "", Ae = v.rows.map((e) => e.path.trim()).filter(Boolean), je = v.rows.some((e) => e_(e.location)), Me = [...new Map(v.rows.map((e) => [e.library_id, e])).values()], Ne = (e, t) => v.rows.forEach((n, r) => {+ }, ke = d ? rv(le[d.key]) || C : "", Ae = v.rows.map((e) => e.path.trim()).filter(Boolean), je = v.rows.some((e) => f_(e.location)), Me = [...new Map(v.rows.map((e) => [e.library_id, e])).values()], Ne = (e, t) => v.rows.forEach((n, r) => {n.library_id === e.library_id && v.edit(r, t);}), Pe = y.host === "2", Fe = Pe && !e.standalone ? `https://${y.mdns_name || "peach"}.local/` : `http://${Pe ? `${y.mdns_name || "peach"}.local` : "127.0.0.1"}:${y.port || "8900"}/`;return /* @__PURE__ */ (0, z.jsx)(rh, {@@ -22125,7 +22105,7 @@ function K_({ setup: e, onDone: t, onRestore: n }) {/* @__PURE__ */ (0, z.jsxs)("div", {"data-library-head": "",children: [- /* @__PURE__ */ (0, z.jsx)(d_, {+ /* @__PURE__ */ (0, z.jsx)(C_, {label: `${e.library || "未命名媒体库"} 图标`,value: e.library_icon || "",kind: e.location,@@ -22139,7 +22119,7 @@ function K_({ setup: e, onDone: t, onRestore: n }) {value: e.library || "",onChange: (t) => Ne(e, { library: t })}),- /* @__PURE__ */ (0, z.jsx)(k_, {+ /* @__PURE__ */ (0, z.jsx)(V_, {id: e.library_id || "",name: e.library || "未命名媒体库",value: e.library_color || "",@@ -22147,27 +22127,27 @@ function K_({ setup: e, onDone: t, onRestore: n }) {}),/* @__PURE__ */ (0, z.jsx)("div", {"data-setup-library-policy": "",- children: /* @__PURE__ */ (0, z.jsx)(D_, {+ children: /* @__PURE__ */ (0, z.jsx)(z_, {name: e.library || "未命名媒体库",value: e.library_policy || "auto",onChange: (t) => Ne(e, {library_policy: t,- library_stages: t === "custom" ? e.library_stages || T_.join(",") : ""+ library_stages: t === "custom" ? e.library_stages || L_.join(",") : ""})})})]}),- e.library_policy === "custom" ? /* @__PURE__ */ (0, z.jsx)(O_, {+ e.library_policy === "custom" ? /* @__PURE__ */ (0, z.jsx)(B_, {name: e.library || "未命名媒体库",- value: e.library_stages?.split(",").filter(Boolean) ?? T_,+ value: e.library_stages?.split(",").filter(Boolean) ?? L_,onChange: (t) => Ne(e, { library_stages: t.join(",") })}) : null,/* @__PURE__ */ (0, z.jsxs)("div", {"data-library-folders": "",role: "group","aria-label": `${e.library || "未命名媒体库"} 的文件夹`,- children: [v.rows.map((t, n) => t.library_id === e.library_id ? /* @__PURE__ */ (0, z.jsx)(o_, {+ children: [v.rows.map((t, n) => t.library_id === e.library_id ? /* @__PURE__ */ (0, z.jsx)(v_, {label: `${u.label} ${n + 1}`,path: t.path,onPath: (e) => v.edit(n, { path: e }),@@ -22178,8 +22158,8 @@ function K_({ setup: e, onDone: t, onRestore: n }) {onRemove: v.rows.length > 1 ? () => {v.remove(n), be.current?.focus();} : void 0,- children: /* @__PURE__ */ (0, z.jsxs)(n_, { children: [- /* @__PURE__ */ (0, z.jsx)(s_, {+ children: /* @__PURE__ */ (0, z.jsxs)(m_, { children: [+ /* @__PURE__ */ (0, z.jsx)(y_, {index: n,value: t.location,options: h,@@ -22188,13 +22168,13 @@ function K_({ setup: e, onDone: t, onRestore: n }) {cost: e === "local" ? "free" : ""})}),- /* @__PURE__ */ (0, z.jsx)(r_, {+ /* @__PURE__ */ (0, z.jsx)(h_, {index: n,cost: t.cost ?? "",error: _e && !t.cost ? "请选择媒体读取策略" : void 0,onChange: (e) => v.edit(n, { cost: e })}),- Me.length > 1 ? /* @__PURE__ */ (0, z.jsx)(t_, {+ Me.length > 1 ? /* @__PURE__ */ (0, z.jsx)(p_, {label: "移到媒体库",className: "w-full @lg:w-60",children: /* @__PURE__ */ (0, z.jsx)(vh, {@@ -22203,14 +22183,14 @@ function K_({ setup: e, onDone: t, onRestore: n }) {selectedKey: t.library_id,renderValue: /* @__PURE__ */ (0, z.jsxs)("span", {className: "flex min-w-0 items-center gap-2",- children: [/* @__PURE__ */ (0, z.jsx)(Zm, { mark: t.library_icon || l_(t.location)[0] }), /* @__PURE__ */ (0, z.jsx)("span", {+ children: [/* @__PURE__ */ (0, z.jsx)(Zm, { mark: t.library_icon || x_(t.location)[0] }), /* @__PURE__ */ (0, z.jsx)("span", {className: "truncate",children: t.library || "未命名媒体库"})]}),onSelectionChange: (e) => {let t = v.rows.find((t) => t.library_id === e);- t && v.edit(n, B_(t));+ t && v.edit(n, Q_(t));},children: [...new Map(v.rows.map((e) => [e.library_id, e])).values()].map((e) => /* @__PURE__ */ (0, z.jsx)(yh, {id: e.library_id,@@ -22227,7 +22207,7 @@ function K_({ setup: e, onDone: t, onRestore: n }) {"aria-label": `给 ${e.library || "未命名媒体库"} 添加文件夹`,onClick: () => {v.add(), v.edit(v.rows.length, {- ...B_(e),+ ...Q_(e),location: e.location,cost: e.cost});@@ -22257,7 +22237,7 @@ function K_({ setup: e, onDone: t, onRestore: n }) {children: "添加媒体库"}),je ? /* @__PURE__ */ (0, z.jsxs)(z.Fragment, { children: [- /* @__PURE__ */ (0, z.jsx)(i_, {}),+ /* @__PURE__ */ (0, z.jsx)(g_, {}),/* @__PURE__ */ (0, z.jsxs)(Wm, { children: [e.cloud.help, /* @__PURE__ */ (0, z.jsx)(Km, {href: e.cloud.link.url,children: e.cloud.link.label@@ -22296,10 +22276,10 @@ function K_({ setup: e, onDone: t, onRestore: n }) {isInvalid: !!ke,hint: Ce(ke)}), /* @__PURE__ */ (0, z.jsx)(oh, {- icon: Zg,+ icon: l_,"aria-label": "选择数据目录",onClick: () => void Oe(),- ...Xg(x)+ ...c_(x)})]}),d.help.map((e) => /* @__PURE__ */ (0, z.jsx)(Wm, { children: e }, e))@@ -22335,13 +22315,13 @@ function K_({ setup: e, onDone: t, onRestore: n }) {})]}),/* @__PURE__ */ (0, z.jsx)(Wm, { children: Pe ? "局域网访问推荐设置密码。未设置时,同一网络中能连接 Peach 的设备可直接进入。" : "只有这台电脑可以访问;设置密码后,打开 Peach 仍需登录。" }),- T ? /* @__PURE__ */ (0, z.jsx)(A_, {+ T ? /* @__PURE__ */ (0, z.jsx)(H_, {label: "访问密码",password: D,confirmation: k,onPassword: O,onConfirmation: ee,- passwordError: Ce(G_(le.access_password)),+ passwordError: Ce(rv(le.access_password)),passwordHint: "请输入 8–256 个字符。",confirmationInvalid: !!le.access_password}) : null@@ -22361,20 +22341,20 @@ function K_({ setup: e, onDone: t, onRestore: n }) {elementType: "span",id: "setup-proxy-mode-label",children: "连接方式"- }), /* @__PURE__ */ (0, z.jsx)(M_, {+ }), /* @__PURE__ */ (0, z.jsx)(W_, {mode: ae,onChange: oe,labelledBy: "setup-proxy-mode-label"})]}),- ae === "proxy" ? /* @__PURE__ */ (0, z.jsx)(N_, {+ ae === "proxy" ? /* @__PURE__ */ (0, z.jsx)(G_, {id: "setupProxyAddress",value: se,onChange: ce,saved: e.peach_proxy?.proxy_saved,- error: Ce(G_(le.peach_proxy))- }) : le.peach_proxy ? /* @__PURE__ */ (0, z.jsx)(Gm, { children: G_(le.peach_proxy) }, xe) : null,- e.docker && ae === "proxy" && P_(se) ? /* @__PURE__ */ (0, z.jsx)(hm, {+ error: Ce(rv(le.peach_proxy))+ }) : le.peach_proxy ? /* @__PURE__ */ (0, z.jsx)(Gm, { children: rv(le.peach_proxy) }, xe) : null,+ e.docker && ae === "proxy" && K_(se) ? /* @__PURE__ */ (0, z.jsx)(hm, {tone: "warning",title: "请填写容器可访问的代理地址",children: "回环地址指向容器自身;宿主机代理需使用容器可访问的宿主机地址。"@@ -22413,14 +22393,14 @@ function K_({ setup: e, onDone: t, onRestore: n }) {children: [/* @__PURE__ */ (0, z.jsx)(Qp, {isSelected: A,onChange: te,- children: W_(Ae)+ children: nv(Ae)}), /* @__PURE__ */ (0, z.jsx)(Wm, { children: A ? "扫描会在后台开始,期间可以进入 Peach。" : "先保存处理方式,稍后在「媒体库与入库」开始扫描。" })]}), v.rows.some((e) => e.cost === "metered") ? /* @__PURE__ */ (0, z.jsx)(Wm, { children: "开启代理保护的目录不会自动读取视频信息或生成预览;播放时会读取视频。" }) : null] })]}),pe ? /* @__PURE__ */ (0, z.jsx)(Gm, { children: pe }) : null,M ? /* @__PURE__ */ (0, z.jsxs)(Vt, { children: [/* @__PURE__ */ (0, z.jsx)(Ht, { children: "版本统计与错误诊断" }),- /* @__PURE__ */ (0, z.jsx)(z_, {+ /* @__PURE__ */ (0, z.jsx)(Z_, {value: M,onChange: ie}),@@ -22461,7 +22441,7 @@ function K_({ setup: e, onDone: t, onRestore: n }) {}) : null,ne ? null : Me.map((e) => /* @__PURE__ */ (0, z.jsx)(Jm, {term: e.library || "未命名媒体库",- children: V_(e)+ children: $_(e)}, e.library_id))] })]})@@ -22486,7 +22466,7 @@ function K_({ setup: e, onDone: t, onRestore: n }) {children: "使用已有数据"}), /* @__PURE__ */ (0, z.jsx)(Rt, {type: "submit",- ...Xg(he),+ ...c_(he),children: r === 0 ? "开始设置" : r === 3 ? "完成设置" : "继续"})]}, r)@@ -22495,7 +22475,7 @@ function K_({ setup: e, onDone: t, onRestore: n }) {});}// src/react/pages/setup/setup-restore.tsx-function q_({ onDone: e, onBack: t }) {+function av({ onDone: e, onBack: t }) {let [n, r] = (0, j.useState)(""), [i, a] = (0, j.useState)(""), [o, s] = (0, j.useState)(!1), c = (0, j.useRef)(null);return (0, j.useEffect)(() => {c.current?.focus({ preventScroll: !0 });@@ -22570,7 +22550,7 @@ function q_({ onDone: e, onBack: t }) {children: "返回首次设置"}), /* @__PURE__ */ (0, z.jsx)(Rt, {type: "submit",- ...Xg(o),+ ...c_(o),children: o ? "正在连接数据目录…" : "使用此目录"})]})@@ -22579,7 +22559,7 @@ function q_({ onDone: e, onBack: t }) {});}// src/react/pages/setup/setup-page.tsx-function J_() {+function ov() {let [e, t] = (0, j.useState)({ kind: "loading" }), [n, r] = (0, j.useState)(0), [i, a] = (0, j.useState)(!1);return (0, j.useEffect)(() => {let e = new AbortController();@@ -22592,14 +22572,14 @@ function J_() {message: Tm(n)});}), () => e.abort();- }, [n]), e.kind === "done" ? /* @__PURE__ */ (0, z.jsx)(ih, { done: e.done }) : e.kind === "form" && !i ? /* @__PURE__ */ (0, z.jsx)(K_, {+ }, [n]), e.kind === "done" ? /* @__PURE__ */ (0, z.jsx)(ih, { done: e.done }) : e.kind === "form" && !i ? /* @__PURE__ */ (0, z.jsx)(iv, {setup: e.setup,onRestore: () => a(!0),onDone: (e) => t({kind: "done",done: e})- }) : e.kind === "form" ? /* @__PURE__ */ (0, z.jsx)(q_, {+ }) : e.kind === "form" ? /* @__PURE__ */ (0, z.jsx)(av, {onBack: () => a(!1),onDone: (e) => t({kind: "done",@@ -22666,13 +22646,13 @@ function J_() {});}// src/react/pages/index.tsx-var Y_ = {- setup: J_,+var sv = {+ setup: ov,login: mm,error: B};E();-var X_ = document.getElementById("peach-page"), Z_ = X_ ? Y_[X_.dataset.page ?? ""] : void 0;-X_ && Z_ && (0, M.createRoot)(X_).render(/* @__PURE__ */ (0, z.jsx)(Z_, { data: { ...X_.dataset } }));+var cv = document.getElementById("peach-page"), lv = cv ? sv[cv.dataset.page ?? ""] : void 0;+cv && lv && (0, M.createRoot)(cv).render(/* @__PURE__ */ (0, z.jsx)(lv, { data: { ...cv.dataset } }));-//# debugId=caf9e3b1-715b-485d-95c8-a2b25f39bfe5\ No newline at end of file+//# debugId=e0055ad0-274c-46a6-a955-4d9fcf067df8\ No newline at end of filediff --git a/web/index.html b/web/index.htmlindex 08e400ff9..430f0f938 100644--- a/web/index.html+++ b/web/index.html@@ -36,7 +36,7 @@ if(location.pathname==='/wall')document.documentElement.setAttribute('data-wall-</head><body><a class="skiplink" href="#main">跳到正文</a>-<!-- Lucide static 1.61.0, ISC. Local pinned subset; no CDN/runtime dependency.+<!-- Lucide static 1.62.0, ISC. Local pinned subset; no CDN/runtime dependency.Climax uses Health Icons 2.0.0 sperm outline-24px, CC0/public domain.Phosphor 2.1.1 regular, MIT: filled glyphs where a stroked icon cannot say it. --><svg aria-hidden="true" width="0" height="0" style="position:absolute;overflow:hidden">diff --git a/web/vendor/lucide-ORIGIN.md b/web/vendor/lucide-ORIGIN.mdindex eab60afb1..2620e4981 100644--- a/web/vendor/lucide-ORIGIN.md+++ b/web/vendor/lucide-ORIGIN.md@@ -1,7 +1,7 @@-# Lucide static 1.61.0+# Lucide static 1.62.0-- npm 包:`[email protected]`-- npm lock integrity:`sha512-yLAiQB3MWUJEstsEDAwenSA3m7vr1tdLvgnC16Q/XMxRRma0DWwMs8M2bWlvgShrIs1m2mWMJ+0AiahqQO4GrA==`+- npm 包:`[email protected]`+- npm lock integrity:`sha512-WBZA/m2PvkFpMGHDtsBck5P2A9G4ehLlYu4GwwICcmEm1BvYVgj00lCDxKRWLlbMlOibLaiwdQ88G5pHkSWgwA==`- 许可证:ISC;原文见 `lucide-LICENSE.txt`- 消费者:`web/index.html` 内联的 127 个 symbol