dsh-crate 0.5.5 → 0.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/client.js +1767 -617
- package/lib/changelog.js +71 -28
- package/lib/gist.js +1 -1
- package/lib/hot.js +18 -6
- package/lib/index.js +10 -3
- package/lib/install.js +200 -9
- package/lib/official-desktop.js +80 -16
- package/lib/patch.js +223 -25
- package/lib/pending-checkout-links.js +123 -0
- package/lib/pending-updates.js +7 -4
- package/lib/profile.js +36 -0
- package/lib/registry.js +38 -20
- package/lib/release-blockers.js +177 -0
- package/lib/release-history.js +149 -0
- package/lib/release-updates.js +1 -34
- package/lib/routes.js +843 -166
- package/lib/sources.js +42 -2
- package/lib/startup-repair-report.js +46 -0
- package/lib/themes.js +7 -5
- package/lib/types/changelog.d.ts +4 -1
- package/lib/types/dsh-cli.d.ts +8 -0
- package/lib/types/gist.d.ts +1 -1
- package/lib/types/hot.d.ts +2 -1
- package/lib/types/install.d.ts +22 -4
- package/lib/types/official-desktop.d.ts +4 -0
- package/lib/types/patch.d.ts +36 -0
- package/lib/types/pending-checkout-links.d.ts +35 -0
- package/lib/types/pending-updates.d.ts +2 -0
- package/lib/types/profile.d.ts +3 -0
- package/lib/types/registry.d.ts +6 -8
- package/lib/types/release-blockers.d.ts +34 -0
- package/lib/types/release-history.d.ts +34 -0
- package/lib/types/release-updates.d.ts +2 -11
- package/lib/types/routes.d.ts +3 -0
- package/lib/types/sources.d.ts +11 -0
- package/lib/types/startup-repair-report.d.ts +20 -0
- package/lib/types/themes.d.ts +2 -2
- package/lib/types/update-notifications.d.ts +6 -0
- package/lib/types/updates.d.ts +19 -0
- package/lib/update-notifications.js +6 -4
- package/lib/updates.js +16 -0
- package/locale/en.json +1 -1
- package/locale/ja.json +5 -0
- package/package.json +2 -2
package/client/client.js
CHANGED
|
@@ -198,8 +198,6 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
198
198
|
//#region src/client/locales.ts
|
|
199
199
|
/** zh/en/ja dictionaries for the Market settings section and install toast. */
|
|
200
200
|
const zh = {
|
|
201
|
-
nav: "插件箱子",
|
|
202
|
-
setCardDesc: "查看插件箱子版本与设置。",
|
|
203
201
|
updateChecksTitle: "更新检查",
|
|
204
202
|
updateChecksAutomatic: "自动检查更新",
|
|
205
203
|
updateChecksNow: "立即检查",
|
|
@@ -214,11 +212,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
214
212
|
updateChecksNone: "暂无更新提醒",
|
|
215
213
|
updateChecksFailed: "检查暂未完成",
|
|
216
214
|
updateChecksFailedHint: "部分信息暂时无法获取,保留上次结果。请稍后重试。",
|
|
215
|
+
updateChecksChanged: "插件清单已变更",
|
|
216
|
+
updateChecksChangedHint: "上次检查后有插件被安装或移除,之前的结果已不适用。重新检查即可刷新。",
|
|
217
217
|
updateChecksLastSuccess: "最近完整检查:{0}",
|
|
218
218
|
updateChecksOpenHost: "到插件页查看",
|
|
219
219
|
updateNotificationsAnnouncement: "有 {count} 个插件可更新。打开插件箱子查看。",
|
|
220
|
+
nav: "插件箱子",
|
|
221
|
+
setCardDesc: "查看插件箱子版本与设置。",
|
|
220
222
|
setSelfUpToDate: "已是最新版本",
|
|
221
223
|
setSelfUpdateReady: "有新版本",
|
|
224
|
+
setSelfUpdateWaiting: "新版等待中",
|
|
222
225
|
setSelfUpdateHint: "更新会下载新版本,重启后生效。",
|
|
223
226
|
setSelfUpToDateHint: "",
|
|
224
227
|
setSelfHostManagedHint: "这份市场由桌面端安装,新版本请在桌面端更新。",
|
|
@@ -236,6 +239,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
236
239
|
setEntryLastDoorHint: "至少保留一个入口;这是当前唯一可用的入口。",
|
|
237
240
|
setEntryShow: "显示",
|
|
238
241
|
setEntryHide: "不显示",
|
|
242
|
+
noticeText: "插件箱子已移到「插件」页,设置里的这个入口之后会逐步下线。",
|
|
243
|
+
noticeTextManual: "插件箱子已移到「插件」页的「插件箱子」页签,设置里的这个入口之后会逐步下线。",
|
|
244
|
+
noticeGo: "去插件页",
|
|
245
|
+
noticeFailed: "没能打开插件页。请在侧栏点「插件」,再选「插件箱子」页签。",
|
|
239
246
|
setIndexSource: "官方 Discover 索引",
|
|
240
247
|
setIndexSourceHint: "dsh 0.2.1 起,官方的「插件 → 发现 → 索引源」可以添加 https://dshcrate.com/data/index.json —— 官方发现页和 plugin_crate 智能体工具会搜索同一份目录。",
|
|
241
248
|
setSidebarOn: "显示",
|
|
@@ -283,6 +290,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
283
290
|
setSelfRemovedHint: "重启 DeepSeek Harness 后完全清理。",
|
|
284
291
|
setSelfFailed: "操作失败",
|
|
285
292
|
versionHint: "插件箱子版本 — 反馈问题时请附上",
|
|
293
|
+
marketVersionWaiting: "(有新版)",
|
|
294
|
+
marketVersionAvailableAt: "{0} 于 {1} 可更新",
|
|
295
|
+
marketVersionAvailableNow: "{0} 现在可更新",
|
|
286
296
|
subtitle: "发现社区为 DeepSeek Harness 开发的插件",
|
|
287
297
|
submitPlugin: "申请收录插件 ↗",
|
|
288
298
|
descExpand: "展开",
|
|
@@ -414,6 +424,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
414
424
|
agentDrainHistoryFailedShort: "上次排队的操作失败了。请检查「已安装」或导出的日志。",
|
|
415
425
|
agentDrainHistoryCancelled: "上次排队的操作已取消。",
|
|
416
426
|
favoriteFailed: "收藏失败,请稍后重试",
|
|
427
|
+
favoriteLimitReached: "最多可收藏 {0} 个插件。",
|
|
417
428
|
favoriteUnavailable: "收藏功能暂不可用。请刷新页面或重启 dsh web。",
|
|
418
429
|
favoriteBusy: "插件操作未结束,收藏未保存,请稍后重试",
|
|
419
430
|
compatRiskBanner: "检测到兼容性风险,建议重启前到诊断页处理,或回滚本次操作。",
|
|
@@ -438,8 +449,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
438
449
|
updateHeldTag: "新版等待中",
|
|
439
450
|
updateHeldTarget: "最新版 {0} 刚发布,还要约 {1} 小时。先更新到 {2}。",
|
|
440
451
|
updateHeldTargetUnknown: "最新版 {0} 的发布时间暂不确定,还需等待。先更新到 {2}。",
|
|
441
|
-
|
|
442
|
-
|
|
452
|
+
updateHeldBeside: "约 {1} h",
|
|
453
|
+
updateHeldBesideUnknown: "还需等待",
|
|
454
|
+
updateHeldBesideEstimated: "约 {1} min",
|
|
455
|
+
updateHeldHint: "当前设置要求新版本发布满一段时间才允许安装,大约还要 {1} 小时。",
|
|
456
|
+
updateHeldEstimatedHint: "新版本已出现,但目录信息还没同步,所以先不提供更新;大约 {1} 分钟后会再检查。",
|
|
457
|
+
profileBlockedBeside: "等待中",
|
|
458
|
+
profileBlockedNote: "要等 {0} {1} 满安全等待期(约 {2})后才能更新。到时再点更新即可。",
|
|
459
|
+
profileBlockedNoteUnknown: "要等 {0} {1} 满安全等待期后才能更新(时间未知)。稍后市场会再确认。",
|
|
460
|
+
profileBlockedSkipped: "已跳过:{0}",
|
|
461
|
+
restartFirstNote: "这一轮只能更新到这里。重启后再点「全部更新」继续。",
|
|
443
462
|
newerPrereleaseAvailable: "预发布版 {0} 已发布",
|
|
444
463
|
newerPrereleaseHint: "npm 上的 latest 没有更新;你在跟的这条预发布线发布了更新的版本。",
|
|
445
464
|
unreleasedCommits: "有新提交(未发版){0}",
|
|
@@ -449,9 +468,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
449
468
|
hostUpdateHint: "本市场由桌面端安装和更新,新版本请在桌面端更新",
|
|
450
469
|
notesLink: "更新内容",
|
|
451
470
|
notesRelease: "版本说明",
|
|
471
|
+
notesHistory: "本次更新",
|
|
472
|
+
notesHistoryPartial: "部分版本的说明暂缺。",
|
|
473
|
+
notesHistoryEmpty: "暂时读不到本次更新的版本说明。",
|
|
474
|
+
notesHistoryReleasePage: "查看发布页",
|
|
475
|
+
notesHistoryRetry: "请稍后重试。",
|
|
476
|
+
notesHistoryVersionMissing: "这个版本暂无更新说明。",
|
|
477
|
+
notesHeldRelease: "暂不可安装",
|
|
452
478
|
notesBeyondTarget: "下面是 {0} 的说明,这个版本还不能装。现在更新到的是 {1}。",
|
|
453
479
|
notesCommits: "提交记录",
|
|
454
|
-
notesCommitsRecent: "
|
|
480
|
+
notesCommitsRecent: "最近提交(无法确认本次更新范围,仅供参考)",
|
|
455
481
|
notesNpm: "版本发布时间",
|
|
456
482
|
notesNone: "该插件未提供更新说明。",
|
|
457
483
|
notesSource: "市场还没收录这个插件的更新说明。",
|
|
@@ -498,6 +524,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
498
524
|
hostIncompatibleBodyInstall: "{plugin} 声明需要 DSH {requirement},而你现在运行的是 {host}。装上去很可能用不了。\n已停止,没有安装任何东西。\n如果你确定这个版本号不准(例如桌面端自带的 DSH 不报告版本),仍可继续安装。",
|
|
499
525
|
hostIncompatibleCancel: "取消安装",
|
|
500
526
|
hostIncompatibleInstallAnyway: "仍然安装",
|
|
527
|
+
installedIncompatTitle: "与当前 DSH 不兼容",
|
|
528
|
+
installedIncompatWhy: "它需要 DSH {0},你正在运行 {1}。",
|
|
529
|
+
installedIncompatNextUpdate: "可以先试更新插件;若仍不行再升级 DSH。",
|
|
530
|
+
installedIncompatNextHost: "需要升级 DSH 后才能用。",
|
|
531
|
+
installedIncompatNextUnknown: "更新插件或升级 DSH 后再看这里。",
|
|
501
532
|
restoreNameOnlyHint: "本地副本未注明来源仓库,市场只能按包名在精选目录中匹配。下方插件可能是其他作者的同名插件,并非你本地副本的来源。确认前请核对作者和仓库地址。此操作会卸载本地版本并安装该插件,无法撤销。",
|
|
502
533
|
restoreContinue: "继续更新",
|
|
503
534
|
restoreProceed: "确认恢复",
|
|
@@ -536,6 +567,25 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
536
567
|
conflictOutcomeRemove: "卸载",
|
|
537
568
|
conflictWhy: "cordis 不接受重复的条目 id,保留它会让 DeepSeek Harness 下次启动失败。",
|
|
538
569
|
opTitle: "任务",
|
|
570
|
+
startupRepairBadge: "启动恢复",
|
|
571
|
+
startupRepairTitle: "启动时处理的中断更新",
|
|
572
|
+
startupRepairReinstalled: "已重新装好。",
|
|
573
|
+
startupRepairVerified: "已核对,现有版本完整。",
|
|
574
|
+
startupRepairPending: "下次启动时会检查是否还能重试。",
|
|
575
|
+
startupRepairAbandoned: "已停止自动重试。请从「设置 → 插件」重新安装。",
|
|
576
|
+
startupRepairVersion: "现有版本与原计划不同,已保留现有版本。下次启动时会重新核对。请到「已安装」检查。",
|
|
577
|
+
startupRepairRefused: "桌面端拒绝重新安装。请到「设置 → 插件」检查是否可以安装该插件。",
|
|
578
|
+
startupRepairNotComposed: "文件已装好,桌面端未能加载插件。请到「已安装」检查插件状态。",
|
|
579
|
+
startupRepairTimeout: "等待桌面端操作完成时超时。请等操作结束后到「已安装」确认结果。",
|
|
580
|
+
startupRepairUnknown: "重新安装失败。导出日志可查看原因。",
|
|
581
|
+
checkoutRecoveryTitle: "本地链接未恢复",
|
|
582
|
+
checkoutSourceRetained: "源码仍在,链接未恢复。",
|
|
583
|
+
checkoutSourceUnconfirmed: "无法确认源码位置。请检查本地目录。",
|
|
584
|
+
checkoutRecoveryBusy: "市场无法确认插件操作已结束。",
|
|
585
|
+
checkoutRecoveryRun: "市场无法确认包管理器已结束。",
|
|
586
|
+
checkoutRecoveryLock: "插件设置的写入锁仍在。",
|
|
587
|
+
checkoutRecoveryCheck: "市场无法核实原链接能否安全接回。",
|
|
588
|
+
checkoutRecoveryRetry: "请在插件操作结束后重启 DSH。",
|
|
539
589
|
opInstalling: "正在安装",
|
|
540
590
|
opNeedsYou: "项需处理",
|
|
541
591
|
opQueued: "排队中",
|
|
@@ -635,6 +685,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
635
685
|
marketUpdate: "更新插件箱子",
|
|
636
686
|
updateAll: "全部更新",
|
|
637
687
|
updateCheckFailed: "暂时无法检查更新",
|
|
688
|
+
sponsorsLabel: "赞助",
|
|
638
689
|
updateCheckRetry: "重试检查更新",
|
|
639
690
|
heldReleaseNotice: "已安装,但不是最新版:这个 profile 的 minimumReleaseAge 挡住了 {0},安装的是 {1}。",
|
|
640
691
|
versionUnverifiedNote: "已安装,但版本没能确认:registry 两次都查不到,这次装的是 {0}。插件页会显示实际版本,可以在那里核对。",
|
|
@@ -678,7 +729,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
678
729
|
credsWarning: "请注意:备份包含 profile 配置,以及可能含密钥的文件(config.toml、.env 等)。本地导出的文件会原样包含这些内容,上传 WebDAV 前请确认目标可信。",
|
|
679
730
|
gist: "GitHub Gist",
|
|
680
731
|
gistToken: "GitHub token(仅本次会话内存,刷新后需重新输入;留空则使用服务端 DSH_GITHUB_TOKEN 或已登录的 gh CLI)",
|
|
681
|
-
gistId: "Gist ID
|
|
732
|
+
gistId: "Gist ID 或链接",
|
|
682
733
|
gistVerify: "验证连接",
|
|
683
734
|
gistExport: "导出到 Gist…",
|
|
684
735
|
gistImport: "从 Gist 导入",
|
|
@@ -692,6 +743,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
692
743
|
gistSelectAll: "全选",
|
|
693
744
|
gistSelectNone: "全不选",
|
|
694
745
|
gistIncludeConfig: "包含配置文件(可能含密钥)",
|
|
746
|
+
gistConfigWarning: "备份包含可能含有密钥的配置文件。持有链接的人可以查看备份。",
|
|
747
|
+
bundleTag: "插件包(Bundle)",
|
|
695
748
|
gistNoPlugins: "当前 profile 没有可导出的插件",
|
|
696
749
|
gistSpecLocal: "本地",
|
|
697
750
|
gistExportGo: "导出",
|
|
@@ -703,9 +756,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
703
756
|
gistErrRateLimit: "GitHub 限流或 Token 权限不足",
|
|
704
757
|
gistErrInvalid: "Gist 内容无效或备份格式不受支持",
|
|
705
758
|
gistModeUpdate: "更新到输入框中的 Gist",
|
|
706
|
-
gistModeCreate: "
|
|
759
|
+
gistModeCreate: "新建 Secret Gist",
|
|
707
760
|
gistErrNoId: "更新模式需要 Gist ID:请填写,或切换为「新建」",
|
|
708
|
-
gistNote: "
|
|
761
|
+
gistNote: "Gist 用于跨机器同步:导出后,可在其他电脑用同一账号导入复用。持有链接的人可以查看新建的 Gist。Token 仅保存在本次会话内存中,绝不写入浏览器存储;已登录 gh CLI 或设置 DSH_GITHUB_TOKEN 则无需输入。单文件上限 1 MB。",
|
|
709
762
|
backupWorking: "处理中…",
|
|
710
763
|
backupDone: "备份已上传",
|
|
711
764
|
restoreDone: "恢复完成,请重启 DeepSeek Harness",
|
|
@@ -1026,8 +1079,6 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1026
1079
|
hostRecoveryNote: "恢复前会自动存快照,随时能退回。"
|
|
1027
1080
|
};
|
|
1028
1081
|
const en = {
|
|
1029
|
-
nav: "Plugin Crate",
|
|
1030
|
-
setCardDesc: "View the Plugin Crate version and settings.",
|
|
1031
1082
|
updateChecksTitle: "Update checks",
|
|
1032
1083
|
updateChecksAutomatic: "Check for updates automatically",
|
|
1033
1084
|
updateChecksNow: "Check now",
|
|
@@ -1042,11 +1093,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1042
1093
|
updateChecksNone: "No pending update reminders",
|
|
1043
1094
|
updateChecksFailed: "Check incomplete",
|
|
1044
1095
|
updateChecksFailedHint: "Some information is unavailable. Previous results are kept; try again later.",
|
|
1096
|
+
updateChecksChanged: "Plugin list changed",
|
|
1097
|
+
updateChecksChangedHint: "A plugin was installed or removed after the last check, so earlier results no longer apply. Re-check to refresh them.",
|
|
1045
1098
|
updateChecksLastSuccess: "Last complete check: {0}",
|
|
1046
1099
|
updateChecksOpenHost: "View in Plugins",
|
|
1047
1100
|
updateNotificationsAnnouncement: "{count} plugin updates available. Open Plugin Crate to review.",
|
|
1101
|
+
nav: "Plugin Crate",
|
|
1102
|
+
setCardDesc: "View the Plugin Crate version and settings.",
|
|
1048
1103
|
setSelfUpToDate: "Up to date",
|
|
1049
1104
|
setSelfUpdateReady: "New version available:",
|
|
1105
|
+
setSelfUpdateWaiting: "New version pending",
|
|
1050
1106
|
setSelfUpdateHint: "Updating downloads the new version; it takes effect after a restart.",
|
|
1051
1107
|
setSelfUpToDateHint: "",
|
|
1052
1108
|
setSelfHostManagedHint: "This copy was installed by the desktop app; update it from there.",
|
|
@@ -1064,6 +1120,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1064
1120
|
setEntryLastDoorHint: "Keep at least one entry; this is the only one left.",
|
|
1065
1121
|
setEntryShow: "Show",
|
|
1066
1122
|
setEntryHide: "Hide",
|
|
1123
|
+
noticeText: "The Plugin Crate has moved to the Plugins page. This entry in Settings will be phased out.",
|
|
1124
|
+
noticeTextManual: "The Plugin Crate has moved to the Plugin Crate tab on the Plugins page. This entry in Settings will be phased out.",
|
|
1125
|
+
noticeGo: "Go to Plugins",
|
|
1126
|
+
noticeFailed: "Couldn't open the Plugins page. Open Plugins in the sidebar, then the Plugin Crate tab.",
|
|
1067
1127
|
setIndexSource: "Discover index",
|
|
1068
1128
|
setIndexSourceHint: "On dsh 0.2.1 and newer, add https://dshcrate.com/data/index.json under Plugins → Discover → Index sources — the official Discover tab and the plugin_crate agent tool then search the same catalog.",
|
|
1069
1129
|
setSidebarOn: "Show",
|
|
@@ -1092,15 +1152,15 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1092
1152
|
setChannelStable: "Stable",
|
|
1093
1153
|
setChannelBeta: "Beta",
|
|
1094
1154
|
setChannelStableHint: "Released versions only.",
|
|
1095
|
-
setChannelBetaHint: "Early access to unverified versions. Affects the
|
|
1155
|
+
setChannelBetaHint: "Early access to unverified versions. Affects the Plugin Crate only.",
|
|
1096
1156
|
setChannelDev: "Dev",
|
|
1097
1157
|
setChannelDevHint: "Unverified builds from a development branch. Not recommended for general use.",
|
|
1098
1158
|
setChannelSwitch: "Switch to",
|
|
1099
1159
|
setChannelSwitchHint: "This version is lower than the one installed.",
|
|
1100
|
-
setSelfRemove: "Uninstall the
|
|
1160
|
+
setSelfRemove: "Uninstall the Plugin Crate",
|
|
1101
1161
|
setSelfRemoveHint: "Uninstall the market from this profile. Your other plugins are untouched.",
|
|
1102
1162
|
setSelfRemoveRemote: "This page was not opened on the machine running DSH, so the market cannot remove itself from here. Remove it there: Settings → Plugins on the desktop app, or the command line elsewhere.",
|
|
1103
|
-
setSelfConfirm: "Uninstall the
|
|
1163
|
+
setSelfConfirm: "Uninstall the Plugin Crate? Reinstalling it requires the command line.",
|
|
1104
1164
|
setSelfPurge: "Also clear the market's own data",
|
|
1105
1165
|
setSelfPurgeOn: "Will delete: the market's disable list and custom groups, plus the disable entries it wrote into your config file — plugins it switched off will run again. No passwords or tokens are involved; the market never stores those on disk.",
|
|
1106
1166
|
setSelfPurgeOff: "Keeps the market's data. Note: plugins the market switched off stay off, and once it is removed there is no UI left to switch them back on.",
|
|
@@ -1111,6 +1171,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1111
1171
|
setSelfRemovedHint: "Restart DeepSeek Harness to finish cleaning up.",
|
|
1112
1172
|
setSelfFailed: "The operation failed",
|
|
1113
1173
|
versionHint: "Plugin market version — include it when reporting an issue",
|
|
1174
|
+
marketVersionWaiting: "(New version)",
|
|
1175
|
+
marketVersionAvailableAt: "{0} available at {1}",
|
|
1176
|
+
marketVersionAvailableNow: "{0} available now",
|
|
1114
1177
|
subtitle: "Discover community plugins for DeepSeek Harness",
|
|
1115
1178
|
submitPlugin: "Submit a plugin ↗",
|
|
1116
1179
|
descExpand: "Show more",
|
|
@@ -1202,7 +1265,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1202
1265
|
empty: "No plugins match",
|
|
1203
1266
|
clearFilters: "Clear filters",
|
|
1204
1267
|
installedEmpty: "No community plugins yet — browse the Discover tab",
|
|
1205
|
-
marketGoneTitle: "The
|
|
1268
|
+
marketGoneTitle: "The Plugin Crate stopped running",
|
|
1206
1269
|
marketGoneBody: "DSH unloaded the market while reloading plugins. It reconnects on its own. If it stays gone, quit DSH completely and open it again. The last operation may already have finished.",
|
|
1207
1270
|
marketGoneRecord: "DSH unloaded the market, so this operation got no result. Once the market is back, check Installed.",
|
|
1208
1271
|
marketGoneReconnecting: "Reconnecting…",
|
|
@@ -1241,6 +1304,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1241
1304
|
agentDrainHistoryFailedShort: "The last deferred operation failed. Check Installed or the exported log.",
|
|
1242
1305
|
agentDrainHistoryCancelled: "The last deferred operation was cancelled.",
|
|
1243
1306
|
favoriteFailed: "Could not update favorites. Try again.",
|
|
1307
|
+
favoriteLimitReached: "You can save up to {0} favorites.",
|
|
1244
1308
|
favoriteUnavailable: "Favorites are unavailable. Refresh the page or restart dsh web.",
|
|
1245
1309
|
favoriteBusy: "A plugin operation is still running. Favorites were not saved — try again shortly.",
|
|
1246
1310
|
compatRiskBanner: "Compatibility risk detected — open Diagnostics before restarting, or roll this operation back.",
|
|
@@ -1265,8 +1329,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1265
1329
|
updateHeldTag: "new version waiting",
|
|
1266
1330
|
updateHeldTarget: "Latest {0} was just released; about {1} hours to wait. Update to {2} for now.",
|
|
1267
1331
|
updateHeldTargetUnknown: "The release time of latest {0} is unknown, so it still needs to wait. Update to {2} for now.",
|
|
1268
|
-
|
|
1332
|
+
updateHeldBeside: "~{1} h",
|
|
1333
|
+
updateHeldBesideUnknown: "still waiting",
|
|
1334
|
+
updateHeldBesideEstimated: "~{1} min",
|
|
1335
|
+
updateHeldHint: "Your settings wait a while before installing a fresh release; about {1} hour(s) left.",
|
|
1269
1336
|
updateHeldEstimatedHint: "The new version is listed, but the registry mirror has not caught up with its metadata, so the update is held; the market checks again in about {1} minute(s).",
|
|
1337
|
+
profileBlockedBeside: "waiting",
|
|
1338
|
+
profileBlockedNote: "Updates wait until {0} {1} has passed the safety wait (about {2}). Update again then.",
|
|
1339
|
+
profileBlockedNoteUnknown: "Updates wait until {0} {1} has passed the safety wait (time unknown). The market will check again shortly.",
|
|
1340
|
+
profileBlockedSkipped: "Skipped: {0}",
|
|
1341
|
+
restartFirstNote: "This run can only go this far. Restart, then click Update all to continue.",
|
|
1270
1342
|
newerPrereleaseAvailable: "prerelease {0} published",
|
|
1271
1343
|
newerPrereleaseHint: "The package's latest tag has no update; the prerelease line you are on published a newer build.",
|
|
1272
1344
|
unreleasedCommits: "New commits (unreleased) {0}",
|
|
@@ -1276,9 +1348,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1276
1348
|
hostUpdateHint: "Installed and updated by the desktop app; update it there.",
|
|
1277
1349
|
notesLink: "What changed",
|
|
1278
1350
|
notesRelease: "Release notes",
|
|
1351
|
+
notesHistory: "This update",
|
|
1352
|
+
notesHistoryPartial: "Some release notes are missing.",
|
|
1353
|
+
notesHistoryEmpty: "Release notes for this update are unavailable right now.",
|
|
1354
|
+
notesHistoryReleasePage: "View release page",
|
|
1355
|
+
notesHistoryRetry: "Try again later.",
|
|
1356
|
+
notesHistoryVersionMissing: "Release notes for this version are missing.",
|
|
1357
|
+
notesHeldRelease: "Not yet available to install",
|
|
1279
1358
|
notesBeyondTarget: "These are the notes for {0}, which cannot be installed yet. Update installs {1}.",
|
|
1280
1359
|
notesCommits: "Commits",
|
|
1281
|
-
notesCommitsRecent: "Recent commits (
|
|
1360
|
+
notesCommitsRecent: "Recent commits (update range unconfirmed, for reference only)",
|
|
1282
1361
|
notesNpm: "Version publish times",
|
|
1283
1362
|
notesNone: "This plugin does not publish update notes.",
|
|
1284
1363
|
notesSource: "The market doesn't have update notes for this plugin yet.",
|
|
@@ -1325,6 +1404,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1325
1404
|
hostIncompatibleBodyInstall: "{plugin} declares that it needs DSH {requirement}, and you are running {host}. Installing it would most likely break the plugin.\nNothing was installed.\nIf you know the version number is wrong (a bundled DSH that does not report one, for example), you can install anyway.",
|
|
1326
1405
|
hostIncompatibleCancel: "Cancel install",
|
|
1327
1406
|
hostIncompatibleInstallAnyway: "Install anyway",
|
|
1407
|
+
installedIncompatTitle: "Incompatible with this DSH",
|
|
1408
|
+
installedIncompatWhy: "It needs DSH {0}; you are running {1}.",
|
|
1409
|
+
installedIncompatNextUpdate: "Try updating the plugin first; if it still fails, upgrade DSH.",
|
|
1410
|
+
installedIncompatNextHost: "Upgrade DSH before this plugin can run.",
|
|
1411
|
+
installedIncompatNextUnknown: "Update the plugin or upgrade DSH, then check here again.",
|
|
1328
1412
|
restoreNameOnlyHint: "Your local copy does not name its source repository, so the market could only match it by package name. The plugin below may be another author's plugin with the same name, not the source of your copy. Check the owner and repository before confirming. This uninstalls the local version, installs that plugin, and cannot be undone.",
|
|
1329
1413
|
restoreContinue: "Continue update",
|
|
1330
1414
|
restoreProceed: "Confirm restore",
|
|
@@ -1333,8 +1417,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1333
1417
|
restoreNoMatch: "A same-named plugin exists in the catalog, but it does not match your local repository, so restore is not safe. Uninstall the local copy, or keep developing it locally.",
|
|
1334
1418
|
restoreFail: "Restore failed",
|
|
1335
1419
|
exportLog: "Export log",
|
|
1336
|
-
crashTitle: "The
|
|
1337
|
-
crashHint: "
|
|
1420
|
+
crashTitle: "The Plugin Crate could not be displayed",
|
|
1421
|
+
crashHint: "The market could not be displayed. Your plugins are unaffected and nothing was changed.\nReload usually fixes this. If it keeps happening, export the log and attach it to an issue — the log records where the error occurred.\nIf your browser is translating this page, turn translation off and reload. This is a known cause.",
|
|
1338
1422
|
crashReload: "Reload",
|
|
1339
1423
|
crashDetails: "Error details",
|
|
1340
1424
|
exportingLog: "Exporting…",
|
|
@@ -1363,6 +1447,25 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1363
1447
|
conflictOutcomeRemove: "uninstall",
|
|
1364
1448
|
conflictWhy: "cordis rejects duplicate entry ids; keeping this plugin would stop DeepSeek Harness from starting.",
|
|
1365
1449
|
opTitle: "Tasks",
|
|
1450
|
+
startupRepairBadge: "Startup recovery",
|
|
1451
|
+
startupRepairTitle: "Interrupted updates at startup",
|
|
1452
|
+
startupRepairReinstalled: "Reinstalled.",
|
|
1453
|
+
startupRepairVerified: "The installed version is intact.",
|
|
1454
|
+
startupRepairPending: "The next start will check whether another retry is available.",
|
|
1455
|
+
startupRepairAbandoned: "Automatic retries stopped. Reinstall it from Settings → Plugins.",
|
|
1456
|
+
startupRepairVersion: "The installed version differs from the planned update and has been kept. DSH will check it again on the next start. Check Installed for the current version.",
|
|
1457
|
+
startupRepairRefused: "The desktop app refused to reinstall the plugin. Check whether it can be installed in Settings → Plugins.",
|
|
1458
|
+
startupRepairNotComposed: "The files are installed. The desktop app could not load the plugin. Check its status in Installed.",
|
|
1459
|
+
startupRepairTimeout: "Timed out waiting for the desktop app. When the operation finishes, check Installed.",
|
|
1460
|
+
startupRepairUnknown: "Reinstalling failed. Export the log to see why.",
|
|
1461
|
+
checkoutRecoveryTitle: "Local link needs attention",
|
|
1462
|
+
checkoutSourceRetained: "The source files are still there. The link was not restored.",
|
|
1463
|
+
checkoutSourceUnconfirmed: "The source location could not be confirmed. Check the local directory.",
|
|
1464
|
+
checkoutRecoveryBusy: "The market could not confirm that the plugin operation had finished.",
|
|
1465
|
+
checkoutRecoveryRun: "The market could not confirm that the package manager had finished.",
|
|
1466
|
+
checkoutRecoveryLock: "The lock on the plugin settings is still present.",
|
|
1467
|
+
checkoutRecoveryCheck: "The market could not confirm that it was safe to restore the original link.",
|
|
1468
|
+
checkoutRecoveryRetry: "Reopen DSH after the plugin operation has finished.",
|
|
1366
1469
|
opInstalling: "Installing",
|
|
1367
1470
|
opNeedsYou: "need attention",
|
|
1368
1471
|
opQueued: "Queued",
|
|
@@ -1459,9 +1562,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1459
1562
|
loadMore: "Load more",
|
|
1460
1563
|
pageInfo: "Page {0} of {1}",
|
|
1461
1564
|
perPage: "Per page",
|
|
1462
|
-
marketUpdate: "Update the
|
|
1565
|
+
marketUpdate: "Update the Plugin Crate",
|
|
1463
1566
|
updateAll: "Update all",
|
|
1464
1567
|
updateCheckFailed: "Could not check for updates",
|
|
1568
|
+
sponsorsLabel: "Sponsor",
|
|
1465
1569
|
updateCheckRetry: "Retry update check",
|
|
1466
1570
|
heldReleaseNotice: "Installed, but not the newest: this profile's minimumReleaseAge held {0} back, so {1} was installed.",
|
|
1467
1571
|
versionUnverifiedNote: "Installed, but the version could not be confirmed: both registry lookups failed, so {0} is what pnpm chose. The plugin page shows the version actually on disk.",
|
|
@@ -1505,7 +1609,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1505
1609
|
credsWarning: "Note: backups include profile configuration and files that may hold secrets (config.toml, .env, …). Local exports are unmodified, so upload only to a WebDAV target you trust.",
|
|
1506
1610
|
gist: "GitHub Gist",
|
|
1507
1611
|
gistToken: "GitHub token (session memory only — re-enter after refresh; leave empty to use server-side DSH_GITHUB_TOKEN or a logged-in gh CLI)",
|
|
1508
|
-
gistId: "Gist ID or URL
|
|
1612
|
+
gistId: "Gist ID or URL",
|
|
1509
1613
|
gistVerify: "Verify connection",
|
|
1510
1614
|
gistExport: "Export to Gist…",
|
|
1511
1615
|
gistImport: "Import from Gist",
|
|
@@ -1519,6 +1623,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1519
1623
|
gistSelectAll: "Select all",
|
|
1520
1624
|
gistSelectNone: "Select none",
|
|
1521
1625
|
gistIncludeConfig: "Include config files (may contain secrets)",
|
|
1626
|
+
gistConfigWarning: "This backup includes configuration files that may contain secrets. Anyone with the link can view it.",
|
|
1627
|
+
bundleTag: "Bundle",
|
|
1522
1628
|
gistNoPlugins: "This profile has no plugins to export",
|
|
1523
1629
|
gistSpecLocal: "local",
|
|
1524
1630
|
gistExportGo: "Export",
|
|
@@ -1530,9 +1636,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1530
1636
|
gistErrRateLimit: "GitHub rate limit hit, or the token lacks the gist scope",
|
|
1531
1637
|
gistErrInvalid: "Gist content is invalid or uses an unsupported backup format",
|
|
1532
1638
|
gistModeUpdate: "Update the Gist in the field",
|
|
1533
|
-
gistModeCreate: "Create a
|
|
1639
|
+
gistModeCreate: "Create a secret Gist",
|
|
1534
1640
|
gistErrNoId: "Update mode needs a Gist ID — fill it in, or switch to “Create”",
|
|
1535
|
-
gistNote: "
|
|
1641
|
+
gistNote: "Export to a Gist and import it on another computer with the same account to reuse your plugins. Anyone with the link can view the new Gist. The token lives in this session's memory only and is never written to browser storage; a logged-in gh CLI or DSH_GITHUB_TOKEN skips entering it. The limit is 1 MB per file.",
|
|
1536
1642
|
backupWorking: "In progress…",
|
|
1537
1643
|
backupDone: "Backup uploaded",
|
|
1538
1644
|
restoreDone: "Restore complete — restart DeepSeek Harness",
|
|
@@ -1853,8 +1959,6 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1853
1959
|
hostRecoveryNote: "A snapshot is taken first, so you can roll this back."
|
|
1854
1960
|
};
|
|
1855
1961
|
const ja = {
|
|
1856
|
-
nav: "プラグインボックス",
|
|
1857
|
-
setCardDesc: "プラグインボックスのバージョンと設定を確認します。",
|
|
1858
1962
|
updateChecksTitle: "更新の確認",
|
|
1859
1963
|
updateChecksAutomatic: "更新を自動で確認",
|
|
1860
1964
|
updateChecksNow: "今すぐ確認",
|
|
@@ -1869,11 +1973,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1869
1973
|
updateChecksNone: "通知する更新はありません",
|
|
1870
1974
|
updateChecksFailed: "確認が完了していません",
|
|
1871
1975
|
updateChecksFailedHint: "一部の情報を取得できないため、前回の結果を保持しています。後でもう一度お試しください。",
|
|
1976
|
+
updateChecksChanged: "プラグイン構成が変更されました",
|
|
1977
|
+
updateChecksChangedHint: "前回の確認後にプラグインが追加または削除されたため、以前の結果は適用できません。再確認すると更新されます。",
|
|
1872
1978
|
updateChecksLastSuccess: "前回の確認完了:{0}",
|
|
1873
1979
|
updateChecksOpenHost: "プラグイン画面で確認",
|
|
1874
1980
|
updateNotificationsAnnouncement: "{count} 件のプラグイン更新があります。プラグインボックスで確認してください。",
|
|
1981
|
+
nav: "プラグインボックス",
|
|
1982
|
+
setCardDesc: "プラグインボックスのバージョンと設定を確認します。",
|
|
1875
1983
|
setSelfUpToDate: "最新バージョンです",
|
|
1876
1984
|
setSelfUpdateReady: "新しいバージョンがあります",
|
|
1985
|
+
setSelfUpdateWaiting: "新バージョン(更新待ち)",
|
|
1877
1986
|
setSelfUpdateHint: "更新すると新しいバージョンをダウンロードし、再起動後に有効になります。",
|
|
1878
1987
|
setSelfUpToDateHint: "",
|
|
1879
1988
|
setSelfHostManagedHint: "このマーケットはデスクトップアプリがインストールしたものです。新しいバージョンへの更新はデスクトップアプリで行ってください。",
|
|
@@ -1891,6 +2000,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1891
2000
|
setEntryLastDoorHint: "入口を最低 1 つ残してください。現在はこれが唯一の入口です。",
|
|
1892
2001
|
setEntryShow: "表示",
|
|
1893
2002
|
setEntryHide: "表示しない",
|
|
2003
|
+
noticeText: "プラグインボックスは「プラグイン」ページに移動しました。設定のこの入口は順次廃止されます。",
|
|
2004
|
+
noticeTextManual: "プラグインボックスは「プラグイン」ページの「プラグインボックス」タブに移動しました。設定のこの入口は順次廃止されます。",
|
|
2005
|
+
noticeGo: "プラグインへ",
|
|
2006
|
+
noticeFailed: "プラグインページを開けませんでした。サイドバーの「プラグイン」から「プラグインボックス」タブを開いてください。",
|
|
1894
2007
|
setIndexSource: "公式 Discover インデックス",
|
|
1895
2008
|
setIndexSourceHint: "dsh 0.2.1 以降では、公式の「プラグイン → 見つける → インデックスソース」に https://dshcrate.com/data/index.json を追加できます。公式の見つけるページと plugin_crate エージェントツールが同じカタログを検索するようになります。",
|
|
1896
2009
|
setSidebarOn: "表示",
|
|
@@ -1938,6 +2051,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
1938
2051
|
setSelfRemovedHint: "DeepSeek Harness を再起動すると完全にクリーンアップされます。",
|
|
1939
2052
|
setSelfFailed: "操作に失敗しました",
|
|
1940
2053
|
versionHint: "プラグインボックスのバージョン — 問題を報告するときに添えてください",
|
|
2054
|
+
marketVersionWaiting: "(新バージョン)",
|
|
2055
|
+
marketVersionAvailableAt: "{0} は {1} に更新可能",
|
|
2056
|
+
marketVersionAvailableNow: "{0} は今すぐ更新可能",
|
|
1941
2057
|
subtitle: "DeepSeek Harness のためにコミュニティが開発したプラグインを見つけましょう",
|
|
1942
2058
|
submitPlugin: "プラグインの収録を申請 ↗",
|
|
1943
2059
|
descExpand: "展開",
|
|
@@ -2068,6 +2184,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2068
2184
|
agentDrainHistoryFailedShort: "前回の保留操作は失敗しました。「インストール済み」またはエクスポートしたログを確認してください。",
|
|
2069
2185
|
agentDrainHistoryCancelled: "前回の保留操作はキャンセルされました。",
|
|
2070
2186
|
favoriteFailed: "お気に入りを更新できませんでした。しばらくしてから再試行してください",
|
|
2187
|
+
favoriteLimitReached: "お気に入りには最大 {0} 件まで登録できます。",
|
|
2071
2188
|
favoriteUnavailable: "お気に入り機能は現在使えません。ページを更新するか、dsh web を再起動してください。",
|
|
2072
2189
|
favoriteBusy: "プラグインの操作が終わっていないため、お気に入りは保存されませんでした。しばらくしてから再試行してください",
|
|
2073
2190
|
compatRiskBanner: "互換性のリスクが検出されました。再起動する前に診断ページで対処するか、この操作をロールバックすることをおすすめします。",
|
|
@@ -2092,8 +2209,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2092
2209
|
updateHeldTag: "新しいバージョンは保留中",
|
|
2093
2210
|
updateHeldTarget: "最新版 {0} は公開されたばかりで、あと約 {1} 時間待つ必要があります。まずは {2} に更新してください。",
|
|
2094
2211
|
updateHeldTargetUnknown: "最新版 {0} の公開時刻が不明なため、まだ待つ必要があります。まずは {2} に更新してください。",
|
|
2095
|
-
|
|
2096
|
-
|
|
2212
|
+
updateHeldBeside: "約 {1} h",
|
|
2213
|
+
updateHeldBesideUnknown: "待機中",
|
|
2214
|
+
updateHeldBesideEstimated: "約 {1} min",
|
|
2215
|
+
updateHeldHint: "現在の設定では、新しいバージョンが公開されてから一定期間が経つまでインストールできません。あと約 {1} 時間です。",
|
|
2216
|
+
updateHeldEstimatedHint: "新しいバージョンは出ていますが、ディレクトリ情報がまだ同期されていないため、更新は保留しています。約 {1} 分後に再確認します。",
|
|
2217
|
+
profileBlockedBeside: "待機中",
|
|
2218
|
+
profileBlockedNote: "{0} {1} が安全待機期間を過ぎる(約 {2})まで更新できません。その頃にもう一度更新してください。",
|
|
2219
|
+
profileBlockedNoteUnknown: "{0} {1} が安全待機期間を過ぎるまで更新できません(時刻は不明)。しばらくしてからもう一度確認します。",
|
|
2220
|
+
profileBlockedSkipped: "スキップしました:{0}",
|
|
2221
|
+
restartFirstNote: "今回の更新はここまでです。再起動してから「すべて更新」をもう一度押してください。",
|
|
2097
2222
|
newerPrereleaseAvailable: "プレリリース版 {0} が公開されました",
|
|
2098
2223
|
newerPrereleaseHint: "npm の latest は更新されていません。あなたが追っているプレリリースの系列で、より新しいバージョンが公開されました。",
|
|
2099
2224
|
unreleasedCommits: "新しいコミットがあります(未リリース){0}",
|
|
@@ -2103,9 +2228,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2103
2228
|
hostUpdateHint: "このマーケットはデスクトップアプリがインストールと更新を行います。新しいバージョンへの更新はデスクトップアプリで行ってください",
|
|
2104
2229
|
notesLink: "変更内容",
|
|
2105
2230
|
notesRelease: "リリースノート",
|
|
2231
|
+
notesHistory: "今回の更新",
|
|
2232
|
+
notesHistoryPartial: "一部のリリースノートがありません。",
|
|
2233
|
+
notesHistoryEmpty: "今回の更新のリリースノートを現在確認できません。",
|
|
2234
|
+
notesHistoryReleasePage: "リリースページを見る",
|
|
2235
|
+
notesHistoryRetry: "しばらくしてから再試行してください。",
|
|
2236
|
+
notesHistoryVersionMissing: "このバージョンのリリースノートはありません。",
|
|
2237
|
+
notesHeldRelease: "まだインストールできないバージョン",
|
|
2106
2238
|
notesBeyondTarget: "以下は {0} の説明です。このバージョンはまだ入れられません。今回の更新で入るのは {1} です。",
|
|
2107
2239
|
notesCommits: "コミット履歴",
|
|
2108
|
-
notesCommitsRecent: "
|
|
2240
|
+
notesCommitsRecent: "最近のコミット(今回の更新範囲を確認できないため、参考情報として表示しています)",
|
|
2109
2241
|
notesNpm: "バージョンの公開日時",
|
|
2110
2242
|
notesNone: "このプラグインは更新内容を公開していません。",
|
|
2111
2243
|
notesSource: "このプラグインの更新内容は、マーケットにはまだ収録されていません。",
|
|
@@ -2152,6 +2284,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2152
2284
|
hostIncompatibleBodyInstall: "{plugin} は DSH {requirement} が必要だと宣言していますが、現在動作しているのは {host} です。インストールしてもほぼ確実に使えなくなります。\n何もインストールされていません。\nバージョン番号が正しくないと分かっている場合(バージョンを報告しない同梱の DSH など)は、そのままインストールできます。",
|
|
2153
2285
|
hostIncompatibleCancel: "インストールをキャンセル",
|
|
2154
2286
|
hostIncompatibleInstallAnyway: "それでもインストールする",
|
|
2287
|
+
installedIncompatTitle: "現在の DSH と互換性がありません",
|
|
2288
|
+
installedIncompatWhy: "DSH {0} が必要ですが、実行中は {1} です。",
|
|
2289
|
+
installedIncompatNextUpdate: "まずはプラグインの更新を試してください。だめなら DSH をアップグレードしてください。",
|
|
2290
|
+
installedIncompatNextHost: "このプラグインを使うには DSH のアップグレードが必要です。",
|
|
2291
|
+
installedIncompatNextUnknown: "プラグインの更新か DSH のアップグレード後にもう一度確認してください。",
|
|
2155
2292
|
restoreNameOnlyHint: "あなたのローカルコピーには入手元のリポジトリが記されていないため、マーケットはパッケージ名で厳選カタログと照合することしかできませんでした。下のプラグインは、別の作者による同名のプラグインで、あなたのコピーの入手元ではない可能性があります。確認する前に作者とリポジトリのアドレスを確かめてください。この操作はローカル版をアンインストールしてそのプラグインをインストールし、取り消せません。",
|
|
2156
2293
|
restoreContinue: "更新を続行",
|
|
2157
2294
|
restoreProceed: "復元を確認",
|
|
@@ -2190,6 +2327,25 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2190
2327
|
conflictOutcomeRemove: "アンインストール",
|
|
2191
2328
|
conflictWhy: "cordis は重複したエントリ id を受け付けません。これを残すと、DeepSeek Harness は次回起動できなくなります。",
|
|
2192
2329
|
opTitle: "タスク",
|
|
2330
|
+
startupRepairBadge: "起動時の復旧",
|
|
2331
|
+
startupRepairTitle: "起動時に確認した中断済みの更新",
|
|
2332
|
+
startupRepairReinstalled: "再インストールしました。",
|
|
2333
|
+
startupRepairVerified: "インストール済みのバージョンが正常なことを確認しました。",
|
|
2334
|
+
startupRepairPending: "次回起動時に再試行できるか確認します。",
|
|
2335
|
+
startupRepairAbandoned: "自動での再試行を終了しました。「設定 → プラグイン」から再インストールしてください。",
|
|
2336
|
+
startupRepairVersion: "更新予定とは異なるため、現在のバージョンはそのままです。次回起動時に再確認します。「インストール済み」で確認してください。",
|
|
2337
|
+
startupRepairRefused: "デスクトップアプリが再インストールを拒否しました。「設定 → プラグイン」でインストールできるか確認してください。",
|
|
2338
|
+
startupRepairNotComposed: "ファイルはインストール済みです。デスクトップアプリでプラグインを読み込めませんでした。「インストール済み」で状態を確認してください。",
|
|
2339
|
+
startupRepairTimeout: "デスクトップアプリの操作完了を待機中にタイムアウトしました。操作が終わってから「インストール済み」で結果を確認してください。",
|
|
2340
|
+
startupRepairUnknown: "再インストールに失敗しました。ログをエクスポートして原因を確認してください。",
|
|
2341
|
+
checkoutRecoveryTitle: "ローカルリンクを復元できませんでした",
|
|
2342
|
+
checkoutSourceRetained: "ソースは残っています。リンクを復元できませんでした。",
|
|
2343
|
+
checkoutSourceUnconfirmed: "ソースの場所を確認できませんでした。ローカルフォルダーを確認してください。",
|
|
2344
|
+
checkoutRecoveryBusy: "プラグイン操作が終了したか確認できませんでした。",
|
|
2345
|
+
checkoutRecoveryRun: "パッケージマネージャーが終了したか確認できませんでした。",
|
|
2346
|
+
checkoutRecoveryLock: "プラグイン設定の書き込みロックが残っています。",
|
|
2347
|
+
checkoutRecoveryCheck: "元のリンクを安全に復元できるか確認できませんでした。",
|
|
2348
|
+
checkoutRecoveryRetry: "プラグイン操作が終了した後、DSH を起動し直してください。",
|
|
2193
2349
|
opInstalling: "インストール中",
|
|
2194
2350
|
opNeedsYou: "件は対応が必要です",
|
|
2195
2351
|
opQueued: "キュー待ち",
|
|
@@ -2288,6 +2444,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2288
2444
|
marketUpdate: "プラグインボックスを更新",
|
|
2289
2445
|
updateAll: "すべて更新",
|
|
2290
2446
|
updateCheckFailed: "更新を確認できませんでした",
|
|
2447
|
+
sponsorsLabel: "スポンサー",
|
|
2291
2448
|
updateCheckRetry: "更新確認を再試行",
|
|
2292
2449
|
heldReleaseNotice: "インストールしましたが、最新版ではありません。この profile の minimumReleaseAge が {0} を保留したため、{1} がインストールされました。",
|
|
2293
2450
|
versionUnverifiedNote: "インストールしましたが、バージョンを確認できませんでした。レジストリの照会が 2 回とも失敗したため、pnpm が選んだ {0} が入っています。実際のバージョンはプラグイン画面で確認できます。",
|
|
@@ -2331,7 +2488,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2331
2488
|
credsWarning: "注意:バックアップには profile の設定と、キーを含む可能性のあるファイル(config.toml、.env など)が含まれます。ローカルにエクスポートしたファイルにはそれらがそのまま入るため、WebDAV にアップロードする前に、送信先が信頼できることを確認してください。",
|
|
2332
2489
|
gist: "GitHub Gist",
|
|
2333
2490
|
gistToken: "GitHub token(このセッションのメモリにのみ保持され、更新後は再入力が必要です。空欄にすると、サーバー側の DSH_GITHUB_TOKEN またはサインイン済みの gh CLI を使います)",
|
|
2334
|
-
gistId: "Gist ID
|
|
2491
|
+
gistId: "Gist ID または URL",
|
|
2335
2492
|
gistVerify: "接続を確認",
|
|
2336
2493
|
gistExport: "Gist にエクスポート…",
|
|
2337
2494
|
gistImport: "Gist からインポート",
|
|
@@ -2345,6 +2502,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2345
2502
|
gistSelectAll: "すべて選択",
|
|
2346
2503
|
gistSelectNone: "すべて解除",
|
|
2347
2504
|
gistIncludeConfig: "設定ファイルを含める(キーを含むことがあります)",
|
|
2505
|
+
gistConfigWarning: "このバックアップには、シークレットが含まれる可能性のある設定ファイルが入っています。リンクを知っている人は閲覧できます。",
|
|
2506
|
+
bundleTag: "バンドル",
|
|
2348
2507
|
gistNoPlugins: "現在の profile にはエクスポートできるプラグインがありません",
|
|
2349
2508
|
gistSpecLocal: "ローカル",
|
|
2350
2509
|
gistExportGo: "エクスポート",
|
|
@@ -2356,9 +2515,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2356
2515
|
gistErrRateLimit: "GitHub のレート制限に達したか、Token に gist スコープがありません",
|
|
2357
2516
|
gistErrInvalid: "Gist の内容が無効か、対応していないバックアップ形式です",
|
|
2358
2517
|
gistModeUpdate: "入力欄の Gist を更新",
|
|
2359
|
-
gistModeCreate: "
|
|
2518
|
+
gistModeCreate: "Secret Gist を作成",
|
|
2360
2519
|
gistErrNoId: "更新モードには Gist ID が必要です。記入するか、「新規作成」に切り替えてください",
|
|
2361
|
-
gistNote: "
|
|
2520
|
+
gistNote: "Gist にエクスポートすると、他のコンピュータでも同じアカウントからインポートしてプラグインを再利用できます。作成した Gist は、リンクを知っている人なら誰でも閲覧できます。Token はこのセッションのメモリにのみ保持され、ブラウザのストレージには書き込まれません。gh CLI にサインイン済みか DSH_GITHUB_TOKEN が設定されていれば、入力は不要です。ファイルの上限は 1 MB です。",
|
|
2362
2521
|
backupWorking: "処理中…",
|
|
2363
2522
|
backupDone: "バックアップをアップロードしました",
|
|
2364
2523
|
restoreDone: "復元が完了しました。DeepSeek Harness を再起動してください",
|
|
@@ -2850,6 +3009,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2850
3009
|
* installable pnpm target. Pure string logic, no I/O.
|
|
2851
3010
|
*/
|
|
2852
3011
|
const REPO_RE = /^[A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+$/;
|
|
3012
|
+
const MARKET_REPO = "dsh-crate/dsh-crate";
|
|
3013
|
+
const MARKET_NPM_NAME = "dsh-crate";
|
|
2853
3014
|
function validSubpath(subpath) {
|
|
2854
3015
|
if (!/^[A-Za-z0-9_./-]+$/.test(subpath)) return false;
|
|
2855
3016
|
return !subpath.split("/").some((seg) => seg === "" || seg === "." || seg === "..");
|
|
@@ -2857,6 +3018,38 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2857
3018
|
/** Registry tarball names must be plain npm package names, nothing fancier. */
|
|
2858
3019
|
const NPM_NAME_RE = /^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/;
|
|
2859
3020
|
/**
|
|
3021
|
+
* A curated, prebuilt GitHub Release archive accepted as a pnpm target —
|
|
3022
|
+
* but only one belonging to `repo`, the entry's own `owner/name`.
|
|
3023
|
+
*
|
|
3024
|
+
* The binding is the whole point. `npm` gets the same treatment one branch
|
|
3025
|
+
* up (repo-verified, "name-squatting protection"); without it here, an entry
|
|
3026
|
+
* could name a trusted repo and install an archive from somewhere else:
|
|
3027
|
+
*
|
|
3028
|
+
* url: https://github.com/good/plugin
|
|
3029
|
+
* tarball: https://github.com/evil/repo/releases/download/v1/p.tgz
|
|
3030
|
+
*
|
|
3031
|
+
* That is also why the release CDNs (`objects.githubusercontent.com`,
|
|
3032
|
+
* `release-assets.githubusercontent.com`) are not accepted: their paths
|
|
3033
|
+
* carry no owner or repo, so there is nothing to bind the archive to and no
|
|
3034
|
+
* way to tell whose release it is. All 70 entries carrying `tarball` today
|
|
3035
|
+
* use github.com and match their own repo, so nothing real is turned away.
|
|
3036
|
+
*/
|
|
3037
|
+
function releaseTarballTarget(value, repo) {
|
|
3038
|
+
if (typeof value !== "string") return null;
|
|
3039
|
+
const target = value.trim();
|
|
3040
|
+
let url;
|
|
3041
|
+
try {
|
|
3042
|
+
url = new URL(target);
|
|
3043
|
+
} catch {
|
|
3044
|
+
return null;
|
|
3045
|
+
}
|
|
3046
|
+
if (url.protocol !== "https:" || url.hostname !== "github.com") return null;
|
|
3047
|
+
if (!url.pathname.endsWith(".tgz") && !url.pathname.endsWith(".tar.gz")) return null;
|
|
3048
|
+
const segments = url.pathname.split("/").filter((segment) => segment !== "");
|
|
3049
|
+
if (segments.length < 4 || segments[2] !== "releases") return null;
|
|
3050
|
+
return `${segments[0]}/${segments[1]}`.toLowerCase() === repo.toLowerCase() ? target : null;
|
|
3051
|
+
}
|
|
3052
|
+
/**
|
|
2860
3053
|
* Parse a registry source url: a github repo, optionally with a
|
|
2861
3054
|
* `/tree/<branch>/<subpath>` suffix (how the curated list links monorepo
|
|
2862
3055
|
* subpackages, e.g. dsh-plugins#theme-gallery).
|
|
@@ -2873,6 +3066,51 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2873
3066
|
subpath
|
|
2874
3067
|
};
|
|
2875
3068
|
}
|
|
3069
|
+
/**
|
|
3070
|
+
* The pnpm install target for a registry entry. Repo-verified npm packages
|
|
3071
|
+
* win, followed by author-supplied prebuilt GitHub Release tarballs; both avoid
|
|
3072
|
+
* full-repo downloads and local build scripts.
|
|
3073
|
+
* @returns the target spec, or null when the source url is unsupported.
|
|
3074
|
+
*/
|
|
3075
|
+
function installTargetFor(entry) {
|
|
3076
|
+
const source = parseSourceUrl(entry.url);
|
|
3077
|
+
if (source === null) return null;
|
|
3078
|
+
if (source.subpath === null && source.repo.toLowerCase() === MARKET_REPO) return MARKET_NPM_NAME;
|
|
3079
|
+
if (typeof entry.npm === "string" && NPM_NAME_RE.test(entry.npm)) return entry.npm;
|
|
3080
|
+
const tarball = releaseTarballTarget(entry.tarball, source.repo);
|
|
3081
|
+
if (tarball !== null) return tarball;
|
|
3082
|
+
return githubSourceTarget(source);
|
|
3083
|
+
}
|
|
3084
|
+
/** Only the catalog's own floating asset opts an existing archive into updates. */
|
|
3085
|
+
function catalogReleaseSourceOf(spec, entry) {
|
|
3086
|
+
if (entry.npm !== null && entry.npm !== void 0) return null;
|
|
3087
|
+
const source = parseSourceUrl(entry.url);
|
|
3088
|
+
if (source === null || typeof entry.tarball !== "string" || installTargetFor(entry) !== entry.tarball) return null;
|
|
3089
|
+
try {
|
|
3090
|
+
const approved = new URL(entry.tarball);
|
|
3091
|
+
const installed = new URL(spec);
|
|
3092
|
+
const asset = /^\/[^/]+\/[^/]+\/releases\/latest\/download\/([A-Za-z0-9._-]+\.(?:tgz|tar\.gz))$/.exec(approved.pathname)?.[1];
|
|
3093
|
+
if (asset === void 0) return null;
|
|
3094
|
+
for (const url of [approved, installed]) if (url.protocol !== "https:" || url.host !== "github.com" || url.username !== "" || url.password !== "" || url.search !== "" || url.hash !== "") return null;
|
|
3095
|
+
const match = /^\/([^/]+\/[^/]+)\/releases\/(?:latest\/download|download\/([^/]+))\/([^/]+)$/.exec(installed.pathname);
|
|
3096
|
+
if (match === null || match[1].toLowerCase() !== source.repo.toLowerCase()) return null;
|
|
3097
|
+
const [, , tag, installedAsset] = match;
|
|
3098
|
+
if (installedAsset !== asset) {
|
|
3099
|
+
const version = /^v?(\d+\.\d+\.\d+)$/.exec(tag ?? "")?.[1];
|
|
3100
|
+
if (version === void 0 || installedAsset !== asset.replace(/\.(?:tgz|tar\.gz)$/, (extension) => `-${version}${extension}`)) return null;
|
|
3101
|
+
}
|
|
3102
|
+
return {
|
|
3103
|
+
repo: source.repo,
|
|
3104
|
+
asset,
|
|
3105
|
+
manifest: source.subpath === null ? "package.json" : `${source.subpath}/package.json`
|
|
3106
|
+
};
|
|
3107
|
+
} catch {
|
|
3108
|
+
return null;
|
|
3109
|
+
}
|
|
3110
|
+
}
|
|
3111
|
+
function githubSourceTarget(source) {
|
|
3112
|
+
return source.subpath !== null ? `github:${source.repo}#path:/${source.subpath}` : `github:${source.repo}`;
|
|
3113
|
+
}
|
|
2876
3114
|
//#endregion
|
|
2877
3115
|
//#region src/client/market-data.ts
|
|
2878
3116
|
/** One registry entry from /dsh-crate/registry. */
|
|
@@ -2936,7 +3174,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
2936
3174
|
return world.plugins.some((plugin) => plugin.url === row.url) ? null : "gone";
|
|
2937
3175
|
}
|
|
2938
3176
|
if (world.installed[row.name] === void 0) return "gone";
|
|
2939
|
-
if (row.kind === "update" && world.updates[row.name]?.updateAvailable !== true) {
|
|
3177
|
+
if (row.kind === "update" && world.updates[row.name]?.updateAvailable !== true && world.updates[row.name]?.profileBlocked === void 0) {
|
|
2940
3178
|
if (row.restore === true && world.updates[row.name]?.kind === "linked" && findCatalogEntryForLocal(world.plugins, row.name) !== null) return null;
|
|
2941
3179
|
return "no-update";
|
|
2942
3180
|
}
|
|
@@ -3016,6 +3254,34 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
3016
3254
|
else anyOn = true;
|
|
3017
3255
|
return anyOn && anyOff ? "mixed" : anyOff ? "off" : "on";
|
|
3018
3256
|
}
|
|
3257
|
+
/** Match the languages for which the market registers its own dictionary. */
|
|
3258
|
+
function marketUiLocale(active) {
|
|
3259
|
+
const language = active.toLowerCase().split(/[-_]/)[0];
|
|
3260
|
+
return language === "zh" ? "zh-CN" : language === "ja" ? "ja" : "en";
|
|
3261
|
+
}
|
|
3262
|
+
/** Release versions get a prefix and commit targets get a short SHA. */
|
|
3263
|
+
function displayLatest(latest) {
|
|
3264
|
+
if (/^\d/.test(latest)) return "v" + latest;
|
|
3265
|
+
if (/^[0-9a-f]{12,40}$/i.test(latest)) return latest.slice(0, 7);
|
|
3266
|
+
return latest;
|
|
3267
|
+
}
|
|
3268
|
+
/** A time is shown only when a future eligibility deadline is known. */
|
|
3269
|
+
function marketHeldVersionText(held, locale, t) {
|
|
3270
|
+
const version = displayLatest(held.latest);
|
|
3271
|
+
const until = new Date(typeof held.until === "string" ? held.until : NaN);
|
|
3272
|
+
const now = /* @__PURE__ */ new Date();
|
|
3273
|
+
if (held.estimated === true || !(until.getTime() > now.getTime())) return version;
|
|
3274
|
+
const time = new Intl.DateTimeFormat(marketUiLocale(locale), {
|
|
3275
|
+
...until.toDateString() === now.toDateString() ? {} : {
|
|
3276
|
+
month: "short",
|
|
3277
|
+
day: "numeric"
|
|
3278
|
+
},
|
|
3279
|
+
hour: "2-digit",
|
|
3280
|
+
minute: "2-digit",
|
|
3281
|
+
hourCycle: "h23"
|
|
3282
|
+
}).format(until);
|
|
3283
|
+
return t("marketVersionAvailableAt").replace("{0}", version).replace("{1}", time);
|
|
3284
|
+
}
|
|
3019
3285
|
function avatarColor(name) {
|
|
3020
3286
|
let hash = 0;
|
|
3021
3287
|
for (let i = 0; i < name.length; i++) hash = hash * 31 + name.charCodeAt(i) | 0;
|
|
@@ -3023,7 +3289,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
3023
3289
|
}
|
|
3024
3290
|
function readSession(key) {
|
|
3025
3291
|
try {
|
|
3026
|
-
return JSON.parse(
|
|
3292
|
+
return JSON.parse(sessionStorage.getItem(key) || "null");
|
|
3027
3293
|
} catch {
|
|
3028
3294
|
return null;
|
|
3029
3295
|
}
|
|
@@ -3980,8 +4246,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
3980
4246
|
* The repository name IS the plugin name in the ordinary case, because a
|
|
3981
4247
|
* repository holding one plugin is named after it. Only the compound form
|
|
3982
4248
|
* needs unpicking. Prefer its mapped npm package when available: a generic
|
|
3983
|
-
* directory such as `plugin` is not the product name.
|
|
3984
|
-
*
|
|
4249
|
+
* directory such as `plugin` is not the product name. For a source-only entry,
|
|
4250
|
+
* use the repository name when its directory leaf is empty or generic.
|
|
3985
4251
|
*
|
|
3986
4252
|
* Not a substitute for the identity: every key, lookup and install still
|
|
3987
4253
|
* uses `name` unchanged.
|
|
@@ -3992,7 +4258,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
3992
4258
|
if (typeof npm === "string" && npm.trim() !== "") return npm.trim();
|
|
3993
4259
|
const sub = name.slice(hash + 1);
|
|
3994
4260
|
const leaf = sub.slice(sub.lastIndexOf("/") + 1);
|
|
3995
|
-
return leaf === "" ? name.slice(0, hash) : leaf;
|
|
4261
|
+
return leaf === "" || /^(?:dsh|plugin)$/i.test(leaf) ? name.slice(0, hash) : leaf;
|
|
3996
4262
|
}
|
|
3997
4263
|
/**
|
|
3998
4264
|
* The catalog package name used for the local block list (#657).
|
|
@@ -4033,6 +4299,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4033
4299
|
/** Catalog row for an installed dependency — strict for local link:/file: specs. */
|
|
4034
4300
|
function catalogEntryForInstalled(plugins, name, spec, repoIdentities = [], repoHints = []) {
|
|
4035
4301
|
if (/^(?:link|file):/i.test(spec)) return findCatalogEntryForLocal(plugins, name, repoIdentities, repoHints) ?? void 0;
|
|
4302
|
+
if (spec.startsWith("https://github.com/") && spec.includes("/releases/")) {
|
|
4303
|
+
const matches = plugins.filter((plugin) => catalogReleaseSourceOf(spec, plugin) !== null && !sameSourceConflict(plugin, spec, repoIdentities));
|
|
4304
|
+
if (matches.length === 1) return matches[0];
|
|
4305
|
+
}
|
|
4036
4306
|
return entryForDep(plugins, name, spec, repoIdentities, repoHints);
|
|
4037
4307
|
}
|
|
4038
4308
|
/** The date a row shows, in the reader's own timezone; null when unknown. */
|
|
@@ -4072,6 +4342,42 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4072
4342
|
if (left === right) return a.name.localeCompare(b.name);
|
|
4073
4343
|
return sort === "newest" ? right - left : left - right;
|
|
4074
4344
|
}
|
|
4345
|
+
/** Masonry column count for a given content width. `maxColumns` caps Discover(3) vs Installed(2). */
|
|
4346
|
+
function masonryColumnCount(width, maxColumns, minColWidth = 290, minColumns = 1) {
|
|
4347
|
+
if (!Number.isFinite(width) || width <= 0) return minColumns;
|
|
4348
|
+
const fitted = Math.floor((width + 10) / minColWidth);
|
|
4349
|
+
return Math.min(maxColumns, Math.max(minColumns, fitted));
|
|
4350
|
+
}
|
|
4351
|
+
/**
|
|
4352
|
+
* The one plain sentence for "another release in this profile is still inside
|
|
4353
|
+
* the safety wait" (#1252): what to wait for, and until when. Says the time is
|
|
4354
|
+
* unknown when it is, instead of inventing one.
|
|
4355
|
+
* @param blocked - the blocker the server named.
|
|
4356
|
+
* @param t - the locale lookup; `{0}` package, `{1}` version, `{2}` time.
|
|
4357
|
+
* @param now - injectable for tests.
|
|
4358
|
+
*/
|
|
4359
|
+
function profileBlockedText(blocked, t, now = /* @__PURE__ */ new Date()) {
|
|
4360
|
+
const ready = blocked.readyAt === null ? NaN : Date.parse(blocked.readyAt);
|
|
4361
|
+
if (!Number.isFinite(ready)) return t("profileBlockedNoteUnknown").replace("{0}", blocked.name).replace("{1}", blocked.version);
|
|
4362
|
+
const at = new Date(ready);
|
|
4363
|
+
const time = new Intl.DateTimeFormat(void 0, {
|
|
4364
|
+
...at.toDateString() === now.toDateString() ? {} : {
|
|
4365
|
+
month: "2-digit",
|
|
4366
|
+
day: "2-digit"
|
|
4367
|
+
},
|
|
4368
|
+
hour: "2-digit",
|
|
4369
|
+
minute: "2-digit",
|
|
4370
|
+
hourCycle: "h23"
|
|
4371
|
+
}).format(at);
|
|
4372
|
+
return t("profileBlockedNote").replace("{0}", blocked.name).replace("{1}", blocked.version).replace("{2}", time);
|
|
4373
|
+
}
|
|
4374
|
+
/** Whether a blocker still holds at `now`; an unknown end is believed until the server says otherwise. */
|
|
4375
|
+
function profileBlockStillHolds(blocked, now = Date.now()) {
|
|
4376
|
+
if (blocked === null || blocked === void 0) return false;
|
|
4377
|
+
if (blocked.readyAt === null) return true;
|
|
4378
|
+
const ready = Date.parse(blocked.readyAt);
|
|
4379
|
+
return !Number.isFinite(ready) || ready > now;
|
|
4380
|
+
}
|
|
4075
4381
|
//#endregion
|
|
4076
4382
|
//#region src/client/InstallToast.tsx
|
|
4077
4383
|
/**
|
|
@@ -4099,142 +4405,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4099
4405
|
});
|
|
4100
4406
|
}
|
|
4101
4407
|
//#endregion
|
|
4102
|
-
//#region src/client/ErrorBoundary.tsx
|
|
4103
|
-
/**
|
|
4104
|
-
* The market's last line of defence: a crash renders a way out, not a blank.
|
|
4105
|
-
*
|
|
4106
|
-
* Every part of the market UI is inside one React tree. When that tree
|
|
4107
|
-
* throws during render or commit, React unmounts it — and what the user gets
|
|
4108
|
-
* is an empty settings panel, with the "export log" button gone along with
|
|
4109
|
-
* everything else. That is not hypothetical: it is #293, where browser page
|
|
4110
|
-
* translation replaced text nodes under React and the resulting
|
|
4111
|
-
* NotFoundError blanked the panel for months, and every request for a log
|
|
4112
|
-
* came back empty because there was no longer a button to press.
|
|
4113
|
-
*
|
|
4114
|
-
* #513 fixed that particular trigger. This exists because the next one will
|
|
4115
|
-
* be different, and the property worth having is not "translation is
|
|
4116
|
-
* handled" but "a crash is survivable and reportable".
|
|
4117
|
-
*
|
|
4118
|
-
* Deliberately not a retry loop. If the same render throws again the
|
|
4119
|
-
* boundary catches it again and the user is back here, which is honest —
|
|
4120
|
-
* an automatic remount would flicker between a broken UI and this panel
|
|
4121
|
-
* with no way to read either.
|
|
4122
|
-
*/
|
|
4123
|
-
/**
|
|
4124
|
-
* The last crash this boundary caught, for the exported log.
|
|
4125
|
-
*
|
|
4126
|
-
* Module-level rather than component state because the log export runs
|
|
4127
|
-
* outside this tree — and a crash the user has already dismissed is still
|
|
4128
|
-
* the most useful line in their report.
|
|
4129
|
-
*/
|
|
4130
|
-
let lastCrash = null;
|
|
4131
|
-
/** The crash to report in the exported log, or null when there was none. */
|
|
4132
|
-
function lastMarketCrash() {
|
|
4133
|
-
return lastCrash;
|
|
4134
|
-
}
|
|
4135
|
-
var MarketErrorBoundary = class extends react.Component {
|
|
4136
|
-
state = { error: null };
|
|
4137
|
-
static getDerivedStateFromError(error) {
|
|
4138
|
-
return { error };
|
|
4139
|
-
}
|
|
4140
|
-
componentDidCatch(error, info) {
|
|
4141
|
-
lastCrash = {
|
|
4142
|
-
message: error.message,
|
|
4143
|
-
stack: info.componentStack ?? error.stack ?? null,
|
|
4144
|
-
at: (/* @__PURE__ */ new Date()).toISOString()
|
|
4145
|
-
};
|
|
4146
|
-
console.error("[dsh-crate] the market UI crashed and was replaced by its recovery panel", error, info.componentStack);
|
|
4147
|
-
}
|
|
4148
|
-
render() {
|
|
4149
|
-
const { error } = this.state;
|
|
4150
|
-
if (error === null) return this.props.children;
|
|
4151
|
-
const { text, actions } = this.props;
|
|
4152
|
-
return (0, react.createElement)("div", {
|
|
4153
|
-
"data-dsh-crate-root": "",
|
|
4154
|
-
"data-dsh-crate-crashed": "",
|
|
4155
|
-
translate: "no",
|
|
4156
|
-
className: "notranslate",
|
|
4157
|
-
style: {
|
|
4158
|
-
padding: "24px",
|
|
4159
|
-
display: "flex",
|
|
4160
|
-
flexDirection: "column",
|
|
4161
|
-
gap: "12px",
|
|
4162
|
-
alignItems: "flex-start"
|
|
4163
|
-
}
|
|
4164
|
-
}, [
|
|
4165
|
-
(0, react.createElement)("div", {
|
|
4166
|
-
key: "title",
|
|
4167
|
-
style: {
|
|
4168
|
-
fontSize: "14px",
|
|
4169
|
-
fontWeight: 600
|
|
4170
|
-
}
|
|
4171
|
-
}, text.title),
|
|
4172
|
-
(0, react.createElement)("div", {
|
|
4173
|
-
key: "hint",
|
|
4174
|
-
style: {
|
|
4175
|
-
fontSize: "12px",
|
|
4176
|
-
lineHeight: "19px",
|
|
4177
|
-
opacity: .8,
|
|
4178
|
-
whiteSpace: "pre-wrap"
|
|
4179
|
-
}
|
|
4180
|
-
}, text.hint),
|
|
4181
|
-
(0, react.createElement)("div", {
|
|
4182
|
-
key: "actions",
|
|
4183
|
-
style: {
|
|
4184
|
-
display: "flex",
|
|
4185
|
-
gap: "8px",
|
|
4186
|
-
flexWrap: "wrap"
|
|
4187
|
-
}
|
|
4188
|
-
}, [(0, react.createElement)("button", {
|
|
4189
|
-
key: "reload",
|
|
4190
|
-
type: "button",
|
|
4191
|
-
onClick: () => {
|
|
4192
|
-
this.setState({ error: null });
|
|
4193
|
-
}
|
|
4194
|
-
}, text.reload), actions]),
|
|
4195
|
-
(0, react.createElement)("details", {
|
|
4196
|
-
key: "details",
|
|
4197
|
-
style: {
|
|
4198
|
-
fontSize: "11px",
|
|
4199
|
-
opacity: .7
|
|
4200
|
-
}
|
|
4201
|
-
}, [(0, react.createElement)("summary", {
|
|
4202
|
-
key: "summary",
|
|
4203
|
-
style: { cursor: "pointer" }
|
|
4204
|
-
}, text.details), (0, react.createElement)("pre", {
|
|
4205
|
-
key: "body",
|
|
4206
|
-
style: {
|
|
4207
|
-
whiteSpace: "pre-wrap",
|
|
4208
|
-
wordBreak: "break-word",
|
|
4209
|
-
margin: "8px 0 0"
|
|
4210
|
-
}
|
|
4211
|
-
}, error.message)])
|
|
4212
|
-
]);
|
|
4213
|
-
}
|
|
4214
|
-
};
|
|
4215
|
-
//#endregion
|
|
4216
|
-
//#region src/client/optional-primitives.ts
|
|
4217
|
-
function optionalComponent(name) {
|
|
4218
|
-
let value;
|
|
4219
|
-
try {
|
|
4220
|
-
value = _deepseek_ai_dsh_client_ui_primitives[name];
|
|
4221
|
-
} catch {
|
|
4222
|
-
return null;
|
|
4223
|
-
}
|
|
4224
|
-
if (typeof value === "function") return value;
|
|
4225
|
-
if (value !== null && typeof value === "object" && "$$typeof" in value) return value;
|
|
4226
|
-
return null;
|
|
4227
|
-
}
|
|
4228
|
-
/**
|
|
4229
|
-
* `Tag` — the host's read-only chip, for facts with no status meaning
|
|
4230
|
-
* (capabilities, categories). Null on hosts older than 0.1.7-rc.2.
|
|
4231
|
-
*/
|
|
4232
|
-
const HostTag = optionalComponent("Tag");
|
|
4233
|
-
const HostSwitch = optionalComponent("Switch");
|
|
4234
|
-
const HostCheckbox = optionalComponent("Checkbox");
|
|
4235
|
-
//#endregion
|
|
4236
4408
|
//#region \0dsh-css:src/client/Market.module.css.mjs
|
|
4237
|
-
const css = ".nUhMVa_root{min-width:0;height:100%;color:var(--dsw-alias-label-primary,#1f2328);flex-direction:column;display:flex;position:relative;container-type:inline-size}.nUhMVa_head{flex-direction:column;gap:8px;padding:0 4px 4px;display:flex}.nUhMVa_headTop{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 16px;min-width:0;display:flex}.nUhMVa_headTop>.nUhMVa_titleRow>.nUhMVa_sub{max-width:100%}.nUhMVa_title{white-space:nowrap;color:var(--dsw-alias-label-primary,#1f2328);margin:0;font-size:15px;font-weight:600;line-height:22px}.nUhMVa_sub{min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);flex:auto;margin:0;font-size:12px;line-height:18px}.nUhMVa_sidebarTip{color:var(--dsw-alias-label-secondary,#5c6570);flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0;font-size:12px;line-height:18px;display:flex}.nUhMVa_updateCheckNotice{color:var(--dsw-alias-label-secondary,#5c6570);flex-wrap:wrap;align-items:center;gap:0 6px;font-size:12px;line-height:18px;display:flex}.nUhMVa_submitLink{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;font-size:12px;line-height:18px;text-decoration:none}.nUhMVa_submitLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_tabs{flex-wrap:wrap;align-items:center;gap:4px;padding:0 0 2px;display:flex;position:relative}.nUhMVa_tab{height:32px;font:inherit;color:var(--dsw-alias-label-secondary,#5c6570);border-radius:var(--dsw-radius-sm,#8px);cursor:pointer;white-space:nowrap;background:0 0;border:none;align-items:center;padding:0 10px;font-size:13px;line-height:20px;transition:background-color .12s,color .12s;display:inline-flex;position:relative}.nUhMVa_tab:hover:not(.nUhMVa_on){background:var(--dsw-alias-interactive-bg-hover,#2631480f);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_tab.nUhMVa_on{color:var(--dsw-alias-label-primary,#1f2328);font-weight:600}.nUhMVa_tab.nUhMVa_on:after{content:\"\";background:var(--dsw-alias-label-primary,#1f2328);border-radius:1px;height:2px;position:absolute;bottom:3px;left:10px;right:10px}.nUhMVa_subTabs{flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 2px;display:flex}.nUhMVa_banner{background:var(--dsw-alias-bg-layer-2,#fdf3e3);border:1px solid var(--dsw-alias-border-l2,#f3e3c3);border-radius:8px;align-items:center;gap:8px;margin:0;padding:8px 12px;font-size:12px;display:flex}.nUhMVa_bannerIcon{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0}.nUhMVa_bannerHint{color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:help;display:inline-flex}.nUhMVa_body{overflow-anchor:none;flex:1;padding:8px 4px 64px;scroll-padding-bottom:64px;overflow-x:hidden;overflow-y:auto}.nUhMVa_stickyHead{z-index:5;background:var(--dsw-alias-bg-base,#fff);position:sticky;top:-1px}.nUhMVa_stickyHead:before{content:\"\";background:inherit;pointer-events:none;height:14px;position:absolute;bottom:100%;left:0;right:0}.nUhMVa_cats{margin:0 -4px 2px;padding:0 4px 4px}.nUhMVa_catsRow{align-items:flex-start;gap:6px;display:flex;position:relative}.nUhMVa_star{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;flex:none;font-size:11px;line-height:18px}.nUhMVa_top{z-index:20;background:var(--dsw-alias-bg-layer-1,#fff);box-shadow:var(--dsw-shadow-lv1,0 4px 12px #1f232814);border-radius:99px;display:inline-flex;position:absolute;bottom:18px;right:18px}.nUhMVa_topBtn{border-radius:99px;width:38px;height:38px;padding:0}.nUhMVa_tag{border:.5px solid var(--dsw-alias-border-l3,#d9dde3);color:var(--dsw-alias-label-secondary,#5c6570);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.nUhMVa_hostRequirement{border:.5px solid var(--dsw-alias-border-l3,#d9dde3);color:var(--dsw-alias-label-secondary,#5c6570);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;min-width:0;max-width:18em;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px;overflow:hidden}.nUhMVa_hostRequirementBad{border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-state-error-primary,#dc2626);background:#dc262614}.nUhMVa_hostFilterNote{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:6px;font-size:12px;line-height:18px}.nUhMVa_okState{color:var(--dsw-alias-state-success-primary,#16a34a);white-space:nowrap;font-size:12px;font-weight:600}.nUhMVa_catsWrap{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex}.nUhMVa_catsCollapsed{max-height:62px;overflow:hidden}.nUhMVa_catsToggle.nUhMVa_catsToggle{height:26px;min-height:26px;color:var(--dsw-alias-label-secondary,#5c6570);flex:none;padding:0 6px}.nUhMVa_shots{-webkit-overflow-scrolling:touch;scrollbar-width:thin;gap:8px;margin:6px 0 8px;padding:2px 0 6px;display:flex;overflow-x:auto}.nUhMVa_shot{object-fit:cover;border-radius:var(--dsw-radius-lg,16px);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);cursor:pointer;flex:none;width:220px;height:150px}.nUhMVa_cardShots{-webkit-overflow-scrolling:touch;scrollbar-width:thin;gap:6px;margin:0 0 6px;padding:0 0 2px;display:flex;overflow-x:auto}.nUhMVa_cardShot{object-fit:contain;border-radius:var(--dsw-radius-lg,16px);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);cursor:pointer;flex:none;width:132px;height:88px;display:block}.nUhMVa_lightbox{z-index:10000;cursor:zoom-out;background:#000000d9;justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.nUhMVa_lightboxImg{object-fit:contain;cursor:default;border-radius:4px;max-width:90vw;max-height:85vh}.nUhMVa_lightboxClose{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:99px;place-items:center;width:36px;height:36px;font-size:22px;line-height:1;display:grid;position:absolute;top:16px;right:16px}.nUhMVa_lightboxClose:hover{background:#ffffff38}.nUhMVa_lightboxNav{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:99px;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.nUhMVa_lightboxNav:hover{background:#ffffff38}.nUhMVa_lightboxPrev{left:16px}.nUhMVa_lightboxNext{right:16px}.nUhMVa_lightboxDots{gap:8px;display:flex;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.nUhMVa_lightboxDot{cursor:pointer;background:#fff6;border-radius:99px;width:7px;height:7px}.nUhMVa_lightboxDotOn{background:#fff}.nUhMVa_cmd{background:var(--dsw-alias-bg-layer-2,#f3f4f6);font-size:11px;line-height:18px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);word-break:break-all;border-radius:6px;margin:8px 0 0;padding:8px 10px}.nUhMVa_warnLine{color:var(--dsw-alias-state-warn-primary,#b45309);flex-wrap:wrap;align-items:center;gap:4px;margin:0;font-size:12px;font-weight:600;line-height:18px;display:flex}.nUhMVa_modalNote{color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:center;gap:4px;margin:12px 0 0;font-size:12px;line-height:18px;display:flex}.nUhMVa_confirmBody{flex-direction:column;gap:12px;display:flex}.nUhMVa_confirmModal{width:min(560px,92vw);max-width:min(560px,92vw);max-height:100%}.nUhMVa_confirmContent{flex:auto;min-height:0;overflow:hidden}.nUhMVa_confirmContent>:first-child{flex-shrink:0}.nUhMVa_confirmContent>:last-child{overscroll-behavior:contain;flex:auto;min-height:0;margin-top:0;overflow-y:auto}.nUhMVa_confirmModal>:last-child{flex-shrink:0}.nUhMVa_confirmBody .nUhMVa_byline{flex-wrap:nowrap;margin-top:0}.nUhMVa_confirmBody .nUhMVa_owner{min-width:0}.nUhMVa_confirmBody .nUhMVa_shots{margin:0;padding:0}.nUhMVa_confirmBody .nUhMVa_modalNote{margin:0}.nUhMVa_confirmTags{flex-wrap:wrap;gap:6px;display:flex}.nUhMVa_confirmDesc{color:var(--dsw-alias-label-primary,#1f2328);white-space:pre-wrap;margin:0;font-size:13px;line-height:20px}.nUhMVa_confirmFold{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;padding-top:12px;display:flex}.nUhMVa_confirmPanel{--fold-bg:#f7f8fa;--fold-border:#e7e8ea;--fold-ink:#1c1d1f;--fold-on-ink:#fff;background:var(--fold-bg);border:1px solid var(--fold-border);border-radius:8px}body[data-ds-dark-theme] .nUhMVa_confirmPanel{--fold-bg:var(--dsw-alias-bg-layer-3,#353638);--fold-border:var(--dsw-alias-border-l2,#ffffff1f);--fold-ink:var(--dsw-alias-label-primary,#f9fafb);--fold-on-ink:var(--dsw-alias-bg-layer-2,#2c2c2e)}.nUhMVa_confirmPanelRow{box-sizing:border-box;width:100%;min-height:40px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:flex}.nUhMVa_confirmPanelRow:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4176e6);outline-offset:-2px}.nUhMVa_confirmPanelIcon{color:var(--fold-ink);flex:none;display:inline-flex}.nUhMVa_confirmTerminalIcon{color:var(--fold-ink);flex:none;display:block}.nUhMVa_confirmTerminalPrompt{stroke:var(--fold-on-ink);fill:none}.nUhMVa_confirmTerminalDot{fill:var(--fold-on-ink)}.nUhMVa_confirmPanelTitle{min-width:0;color:var(--fold-ink);flex:1 0 auto;font-size:13px;line-height:20px}.nUhMVa_confirmPanelRowStatic{cursor:default}.nUhMVa_confirmPanel[data-state=unchecked]{background:color-mix(in srgb, var(--fold-bg) 35%, transparent);border-style:dashed}.nUhMVa_confirmPanelMeta{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);text-align:right;flex:0 auto;font-size:12px;line-height:20px}.nUhMVa_confirmPanelChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex:none}.nUhMVa_confirmPanelBody{flex-direction:column;gap:10px;padding:0 12px 10px 16px;display:flex}.nUhMVa_confirmCmd{align-items:center;gap:8px;display:flex}.nUhMVa_confirmPanel .nUhMVa_cmd{background:0 0;border-radius:0;flex:1;min-width:0;margin:0;padding:0;line-height:24px}.nUhMVa_confirmCopied{color:var(--dsw-alias-state-success-primary,#22c55e);white-space:nowrap;flex:none;font-size:12px;line-height:24px}.nUhMVa_confirmCopy{width:24px;height:24px;color:var(--fold-ink,#1c1d1f);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.nUhMVa_confirmCopy:hover{background:color-mix(in srgb, var(--fold-ink,#1c1d1f) 8%, transparent)}.nUhMVa_confirmCopy:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4176e6);outline-offset:1px}.nUhMVa_confirmPanel .nUhMVa_caps{gap:6px;padding:0}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capChip{background:var(--fold-on-ink,#fff);border:1px solid var(--fold-border,#e7e8ea);color:var(--fold-ink,#1c1d1f);border-radius:999px;padding:2px 8px;font-size:12px;line-height:18px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capChip.nUhMVa_capChipUncommon{background:var(--fold-ink,#1c1d1f);border-color:var(--fold-ink,#1c1d1f);color:var(--fold-on-ink,#fff);font-weight:600}.nUhMVa_capGroups{grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:8px 12px;display:grid}.nUhMVa_capGroupLabel{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;font-size:12px;line-height:22px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capMuted{border-color:var(--fold-border,#e7e8ea);color:var(--dsw-alias-label-secondary,#6b7280);padding:2px 8px;font-size:12px;line-height:18px}.nUhMVa_capAhead{flex-direction:column;gap:6px;display:flex}.nUhMVa_capAheadLabel{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_capAheadRow{color:var(--dsw-alias-label-primary,#1f2328);align-items:flex-start;gap:8px;margin:0;font-size:13px;line-height:20px;display:flex}.nUhMVa_capAheadIcon{color:var(--dsw-alias-label-primary,#1f2328);flex:none;margin-top:2px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capAddress{color:var(--fold-ink,#1c1d1f);flex-basis:100%;margin:0 0 2px;font-size:13px;line-height:20px}.nUhMVa_capNote,.nUhMVa_confirmPanel .nUhMVa_capCaveat{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_installCaution{background:color-mix(in srgb, var(--dsw-alias-state-warn-primary,#b45309) 12%, transparent);border-radius:8px;padding:12px 13px}.nUhMVa_installCautionLabel{color:var(--dsw-alias-label-secondary,#6b7280);margin:0 0 8px;font-size:12px;line-height:18px}.nUhMVa_installCautionHead{color:var(--dsw-alias-label-primary,#1f2328);align-items:center;gap:6px;margin:0;font-size:13px;font-weight:600;line-height:20px;display:flex}.nUhMVa_installCautionMark{flex:none;display:block}.nUhMVa_installCautionBody{color:var(--dsw-alias-label-primary,#1f2328);margin:6px 0 0;font-size:13px;line-height:20px}.nUhMVa_installCautionFoot{color:var(--dsw-alias-label-primary,#1f2328);align-items:baseline;gap:12px;margin:0;font-size:13px;line-height:20px;display:flex}.nUhMVa_installCautionLink{white-space:nowrap;color:var(--dsw-alias-link,#3b82f6);flex:none;margin-left:auto;font-size:13px;font-weight:600;line-height:20px;text-decoration:none}.nUhMVa_installCautionLink:hover{text-decoration:underline}.nUhMVa_confirmFineprint{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.nUhMVa_recentBlock{margin:2px 0 4px;padding:0 0 8px}.nUhMVa_recentRow{-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l3,#d9dde3) transparent;align-items:stretch;gap:8px;margin-bottom:0;padding-bottom:4px;display:flex;overflow-x:auto}.nUhMVa_recentRow::-webkit-scrollbar{height:6px}.nUhMVa_recentRow::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l3,#d9dde3);border-radius:99px}.nUhMVa_recentRow::-webkit-scrollbar-track{background:0 0}.nUhMVa_recentRow>*{box-sizing:border-box;flex:none;width:min(320px,30.7692% - 7.38462px);min-width:220px}.nUhMVa_recentRow.nUhMVa_recentCollapsed{visibility:hidden;max-height:0;margin-bottom:0;padding-bottom:0;overflow:hidden}.nUhMVa_recentTile{box-sizing:border-box;background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-direction:column;justify-content:space-between;gap:4px;height:80px;padding:8px 12px;transition:background-image .16s cubic-bezier(.16,1,.3,1);display:flex;overflow:hidden}.nUhMVa_recentTile .nUhMVa_installBtn.nUhMVa_installBtn{height:24px;min-height:24px;padding:0 8px}.nUhMVa_recentAv.nUhMVa_recentAv{flex-shrink:0;width:24px;height:24px;font-size:11px}.nUhMVa_recentTitle{align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_recentTitle>:last-child{flex-shrink:0}.nUhMVa_recentName{flex:1;min-width:0}.nUhMVa_recentTitle .nUhMVa_nm{font-size:14px;line-height:20px}.nUhMVa_recentBottom{align-items:flex-end;gap:8px;min-width:0;display:flex}.nUhMVa_recentBottom>:last-child{flex-shrink:0;margin-left:auto}.nUhMVa_recentBottom>:not(:last-child){flex:1;min-width:0}.nUhMVa_recentDesc{color:var(--dsw-alias-label-tertiary,#8b93a1);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:16px;display:-webkit-box;overflow:hidden}.nUhMVa_recentBottom .nUhMVa_cardMore{padding:0}.nUhMVa_recentHead{justify-content:space-between;align-items:center;gap:8px;margin:10px 0 8px;padding:0 4px;display:flex}.nUhMVa_recentHead .nUhMVa_favoritesSectionHead{margin:0;padding:0;font-weight:600}.nUhMVa_recentToggle{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin:0;padding:0;display:inline-flex}.nUhMVa_recentToggle:hover{color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_recentHide.nUhMVa_recentHide{height:26px;min-height:26px;color:var(--dsw-alias-label-secondary,#6b7280);padding:0 6px}.nUhMVa_recentShow{font:inherit;color:var(--dsw-alias-label-secondary,#8b93a1);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin:0 0 8px;padding:0 4px;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_recentShow:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_masonry{align-items:flex-start;gap:10px;display:flex}.nUhMVa_masonryCol{flex-direction:column;flex:1;gap:10px;min-width:0;display:flex}.nUhMVa_masonry>.nUhMVa_masonryCol>*{align-self:stretch;min-width:0}@media (max-width:680px){.nUhMVa_masonry{flex-direction:column}.nUhMVa_masonryCol{width:100%}.nUhMVa_grid{grid-template-columns:minmax(0,1fr)}}.nUhMVa_swatches{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;gap:0;height:34px;display:flex;overflow:hidden}.nUhMVa_themesGrid{margin-bottom:12px}.nUhMVa_swatches i{flex:1}.nUhMVa_themeToolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 4px 12px;display:grid}.nUhMVa_themeSearch{box-sizing:border-box;width:100%;min-width:0}.nUhMVa_themeToolbarActions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.nUhMVa_themeFullscreenBtn.nUhMVa_themeFullscreenBtn{width:28px;min-width:28px;padding:0}.nUhMVa_themeResultBar{min-height:24px;color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:center;padding:0 4px 8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_favoritesSectionHead{color:var(--dsw-alias-label-primary,#1f2328);margin:16px 0 8px;padding:0 4px;font-size:14px;font-weight:500;line-height:22px}.nUhMVa_favoritesSectionHead:first-of-type{margin-top:0}.nUhMVa_brokenPluginNotice{flex-direction:column;gap:8px;margin:0 0 8px;display:flex}.nUhMVa_brokenPluginItem{border:1px solid var(--dsw-alias-state-warn-tertiary,#b4530933);background:var(--dsw-alias-state-warn-tertiary,#b453090f);color:var(--dsw-alias-state-warn-primary,#b45309);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_brokenPluginText{flex-direction:column;gap:2px;min-width:0;display:flex}.nUhMVa_favoritesStaleBar{border:1px solid var(--dsw-alias-state-warn-tertiary,#b4530933);background:var(--dsw-alias-state-warn-tertiary,#b453090f);color:var(--dsw-alias-state-warn-primary,#b45309);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin:0 0 8px;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_favoritesStaleOnly{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.nUhMVa_themeGallery{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.nUhMVa_themeCard{border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);background:var(--dsw-alias-bg-layer-1,#fff);flex-direction:column;min-width:0;transition:border-color .16s cubic-bezier(.16,1,.3,1),box-shadow .16s cubic-bezier(.16,1,.3,1),transform .16s cubic-bezier(.16,1,.3,1);display:flex;overflow:hidden}.nUhMVa_themeCard:hover{border-color:var(--dsw-alias-label-dimmed,#c8ccd4);box-shadow:var(--dsw-shadow-lv1,0 4px 12px #1f232814);transform:translateY(-1px)}.nUhMVa_themeCover{aspect-ratio:16/10;border:0;border-bottom:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);width:100%;color:var(--dsw-alias-label-secondary,#6b7280);cursor:zoom-in;border-radius:0;padding:0;display:block;position:relative;overflow:hidden}.nUhMVa_themeCover img{object-fit:contain;background:var(--dsw-alias-bg-layer-2,#f3f4f6);width:100%;height:100%;transition:transform .18s cubic-bezier(.16,1,.3,1);display:block}.nUhMVa_themeCover:hover img{transform:scale(1.012)}.nUhMVa_themeCover:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4f6ef7);outline-offset:-3px}.nUhMVa_themeCoverEmpty{cursor:default;color:var(--dsw-alias-label-tertiary,#8b93a1);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border-radius:var(--dsw-radius-lg,16px) 0 0 0;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_themePreviewAction,.nUhMVa_themePreviewCount{color:#fff;background:#14181fc7;border:1px solid #ffffff57;border-radius:4px;align-items:center;height:24px;padding:0 8px;font-size:11px;line-height:16px;display:inline-flex;position:absolute;bottom:8px}.nUhMVa_themePreviewAction{gap:4px;right:8px}.nUhMVa_themePreviewCount{left:8px}.nUhMVa_themeCardBody{flex-direction:column;flex:1;gap:8px;padding:14px;display:flex}.nUhMVa_themeCardHead{align-items:flex-start;gap:8px;min-width:0;display:flex}.nUhMVa_themeIdentity{flex:1;min-width:0}.nUhMVa_themeStatus,.nUhMVa_themeStatusMuted{white-space:nowrap;border-radius:4px;flex:none;align-items:center;min-height:22px;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_themeStatus{background:var(--dsw-alias-state-success-tertiary,#16a34a1a);color:var(--dsw-alias-state-success-primary,#15803d)}.nUhMVa_themeStatusMuted{background:var(--dsw-alias-bg-layer-2,#f3f4f6);color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_themeDescription{min-height:36px;color:var(--dsw-alias-label-tertiary,#8b93a1);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}.nUhMVa_themeCardFooter{justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:4px;display:flex}.nUhMVa_themeLifecycle{min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:18px;overflow:hidden}.nUhMVa_themeActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}@container (width<=900px){.nUhMVa_themeGallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width<=680px){.nUhMVa_themeGallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (width<=460px){.nUhMVa_themeGallery{grid-template-columns:minmax(0,1fr)}}.nUhMVa_exportLogBtn{white-space:nowrap;flex-shrink:0}@container (width<=560px){.nUhMVa_headTop{flex-direction:column;align-items:stretch}.nUhMVa_headTop>.nUhMVa_titleRow{margin-left:0}}@container (width<=420px){.nUhMVa_exportLogBtn{align-self:center}.nUhMVa_themeToolbar{grid-template-columns:minmax(0,1fr)}.nUhMVa_themeCardHead{flex-wrap:wrap}.nUhMVa_themeStatus,.nUhMVa_themeStatusMuted{order:3}}@container (width<=280px){.nUhMVa_themeCardFooter{flex-direction:column;align-items:flex-start}.nUhMVa_themeActions{justify-content:flex-start;width:100%;margin-left:0}}@media (max-width:560px){[role=dialog]:has([data-dsh-crate-root])>nav{display:none}[role=dialog]:has([data-dsh-crate-root])>div{flex:100%;width:100%;min-width:0}}.nUhMVa_panelHost{box-sizing:border-box;height:100%;min-height:0;padding:calc(28px + var(--dsh-frame-top-clearance,0px)) 0 0;flex-direction:column;display:flex}.nUhMVa_panelHost>.nUhMVa_root{flex:1;width:100%;min-width:0;min-height:0;container-type:normal}.nUhMVa_panelHost .nUhMVa_head,.nUhMVa_panelHost .nUhMVa_body{padding-left:max(max(16px,min(4vw,48px)),50% - 480px);padding-right:max(max(16px,min(4vw,48px)),50% - 480px);container-type:inline-size}[data-dsh-crate-plugins-tab=true]{--dshm-host-sticky-top:0px;--dshm-plugins-head-height:0px}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]){--dshm-empty-view-height:100vh;height:auto}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body{min-height:calc(100vh - var(--dshm-host-sticky-top,0px) - var(--dshm-plugins-head-height,0px));flex-direction:column;flex:none;display:flex;overflow:visible}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body>.nUhMVa_empty{box-sizing:border-box;width:100%;max-width:none;max-height:var(--dshm-empty-view-height,100vh);flex-direction:column;flex:auto;justify-content:center;align-items:center;margin:0;padding:32px;display:flex}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_top{position:fixed}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_stickyHead{display:contents}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_head{z-index:6;top:var(--dshm-host-sticky-top,0px);background:var(--dsw-alias-bg-base,#fff);margin:0 -4px;padding:4px 4px 6px;position:sticky}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_cats{z-index:5;top:calc(var(--dshm-host-sticky-top,0px) + var(--dshm-plugins-head-height,0px));background:var(--dsw-alias-bg-base,#fff);position:sticky}[role=dialog]:has([data-dsh-crate-fullscreen=true]){border-radius:0;width:100vw;max-width:none;height:100vh;max-height:none;position:fixed;top:0;bottom:0;left:0;right:0}[data-dsh-crate-plugins-tab=true][data-dsh-crate-fullscreen=true]{z-index:60;background:var(--dsw-alias-bg-layer-1,#fff);position:fixed;top:0;bottom:0;left:0;right:0;height:100vh!important}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]){--dshm-head-h:0px;height:auto}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body{flex:none;overflow:visible}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_head{z-index:6;background:var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-base,#fff));position:sticky;top:0}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_stickyHead{top:calc(var(--dshm-head-h,0px) + 8px);background:var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-base,#fff))}@media (prefers-reduced-motion:reduce){.nUhMVa_themeCard,.nUhMVa_themeCover img{transition:none}.nUhMVa_themeCard:hover{transform:none}}.nUhMVa_card{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;align-self:start;gap:10px;min-width:0;padding:12px 14px;transition:background-image .16s cubic-bezier(.16,1,.3,1);display:flex}@media (hover:hover){.nUhMVa_card:hover,.nUhMVa_recentTile:hover{background-image:linear-gradient(var(--dsw-alias-interactive-bg-hover,#2631480f),var(--dsw-alias-interactive-bg-hover,#2631480f))}.nUhMVa_installBtn:hover:not(:disabled){background:var(--dsw-alias-button-primary-fill,#0f1115);color:var(--dsw-alias-label-primary-foreground,#fff);border-color:#0000}}.nUhMVa_row1{align-items:flex-start;gap:10px;min-width:0;display:flex}.nUhMVa_cardAction{flex-shrink:0;align-items:center;display:inline-flex}.nUhMVa_installBtn.nUhMVa_installBtn{min-width:64px}.nUhMVa_av{width:16px;height:16px;color:var(--dsw-alias-label-primary,#1f2328);object-fit:cover;background:var(--dsw-alias-bg-layer-2,#f3f4f6);border-radius:50%;flex-shrink:0;place-items:center;font-size:9px;font-weight:700;display:grid}.nUhMVa_nm{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}.nUhMVa_nmLink{color:inherit;text-decoration:none;display:block}.nUhMVa_nmLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_repoMark{color:var(--dsw-alias-label-secondary,#6b7280);vertical-align:-1px;flex-shrink:0;margin-left:5px;display:inline-block}.nUhMVa_nmLink:hover .nUhMVa_repoMark{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_byline{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;margin-top:2px;display:flex}.nUhMVa_meta{color:var(--dsw-alias-label-secondary,#9ca3af);margin-top:2px;font-size:11px}.nUhMVa_metaInline{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px}.nUhMVa_owner{color:var(--dsw-alias-label-secondary,#5c6570);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:44px;font-size:11px;line-height:18px;overflow:hidden}.nUhMVa_desc{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:0;font-size:12px;line-height:18px}.nUhMVa_descClamp{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nUhMVa_descClamp3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nUhMVa_descToggle{width:20px;height:16px;color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;margin-top:2px;padding:0;display:flex}.nUhMVa_descToggle:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_foot{flex-wrap:nowrap;align-items:flex-end;gap:8px;display:flex}.nUhMVa_foot .nUhMVa_metaInline,.nUhMVa_foot .nUhMVa_src{white-space:nowrap}.nUhMVa_footTags{flex-wrap:wrap;flex:1 1 0;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_grow{flex:1}.nUhMVa_titleRow{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.nUhMVa_titleActions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;align-items:center;gap:4px 10px;min-width:0;margin-left:auto;display:flex}.nUhMVa_titleActions:empty{display:none}.nUhMVa_titleActions>*{white-space:nowrap;flex-shrink:0}.nUhMVa_version{color:var(--dsw-alias-label-tertiary,#8b93a1);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12px;line-height:20px}.nUhMVa_repoLink{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;font-size:12px;line-height:20px;text-decoration:none}.nUhMVa_repoLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_noteRow{flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0;display:flex}.nUhMVa_desc.nUhMVa_noteRow,.nUhMVa_desc.nUhMVa_noteRow+.nUhMVa_noteRow,.nUhMVa_noteEdit+.nUhMVa_noteRow{margin-top:6px}.nUhMVa_noteMine{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_noteToggle{font:inherit;color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:pointer;white-space:nowrap;background:0 0;border:none;flex-shrink:0;padding:0;font-size:11px;line-height:16px}.nUhMVa_noteToggle:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_noteEdit{flex-direction:column;gap:6px;min-width:0;margin-top:6px;display:flex}.nUhMVa_noteInput{box-sizing:border-box;width:100%;min-width:0;max-width:100%;display:flex}.nUhMVa_noteInput input{box-sizing:border-box;flex:auto;width:100%;min-width:0}.nUhMVa_noteEditBar{justify-content:flex-end;align-items:center;gap:6px;display:flex}.nUhMVa_noteCount{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-tertiary,#8b93a1);margin-right:auto;font-size:11px;line-height:16px}.nUhMVa_descTight{min-height:0}.nUhMVa_src{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px;text-decoration:none}.nUhMVa_src:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_dot{vertical-align:2px;margin-left:5px}.nUhMVa_act{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;font-size:11px;display:flex}.nUhMVa_actLive{color:var(--dsw-alias-state-success-primary,#16a34a);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actWarn{color:var(--dsw-alias-state-warn-primary,#b45309);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actBroken{color:var(--dsw-alias-state-error-primary,#dc2626);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actWhy{color:var(--dsw-alias-label-secondary,#6b7280);margin-top:2px}.nUhMVa_loading{color:var(--dsw-alias-label-secondary,#9ca3af);flex-direction:column;align-items:center;gap:12px;padding:48px;font-size:13px;display:flex}.nUhMVa_spin{color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;animation:.8s linear infinite nUhMVa_sp;display:inline-flex}.nUhMVa_logoMark{color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;display:inline-flex}.nUhMVa_logoSweep{animation:3s linear infinite nUhMVa_dshmCrateSweep}@keyframes nUhMVa_dshmCrateSweep{0%{transform:translate(-13px)}30%,to{transform:translate(18px)}}@media (prefers-reduced-motion:reduce){.nUhMVa_logoSweep{display:none}.nUhMVa_spin{animation:1.5s ease-in-out infinite nUhMVa_dshmPlugFade}}@keyframes nUhMVa_dshmPlugFade{0%,to{opacity:1}50%{opacity:.35}}@keyframes nUhMVa_sp{to{transform:rotate(360deg)}}.nUhMVa_progress{background:var(--dsw-alias-bg-layer-2,#f3f4f6);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:8px;flex-wrap:wrap;align-items:center;gap:9px;margin:0;padding:8px 12px;font-size:12px;display:flex}.nUhMVa_bar{background:var(--dsw-alias-border-l1,#e5e7eb);border-radius:99px;width:100%;height:4px;overflow:hidden}.nUhMVa_barFill{background:var(--dsw-alias-brand-primary,#4f6ef7);border-radius:99px;height:100%;transition:width .6s}.nUhMVa_barWave{width:30%;animation:1.2s ease-in-out infinite nUhMVa_dshmSlide}@keyframes nUhMVa_dshmSlide{0%{margin-left:-30%}to{margin-left:100%}}.nUhMVa_irow .nUhMVa_progress{margin-top:8px}.nUhMVa_progress code{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.nUhMVa_empty{color:var(--dsw-alias-label-secondary,#5c6570);text-align:center;max-width:520px;margin:0 auto;padding:56px 32px 40px;font-size:13px;line-height:20px}.nUhMVa_err{color:var(--dsw-alias-state-error-primary,#dc2626);white-space:pre-wrap;word-break:break-all;margin:8px 0;font-size:12px}.nUhMVa_cardBlocked{border-color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_conflictHead{align-items:flex-start;gap:8px;display:flex}.nUhMVa_conflictIcon{color:var(--dsw-alias-state-error-primary,#dc2626);flex-shrink:0;margin-top:1px}.nUhMVa_conflictTitle{color:var(--dsw-alias-state-error-primary,#dc2626);font-size:13px;font-weight:600;line-height:18px}.nUhMVa_conflictBody{margin:0;font-size:12px;line-height:19px}.nUhMVa_roster{background:var(--dsw-alias-border-l2,#e5e7eb);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;gap:1px;display:flex;overflow:hidden}.nUhMVa_rosterRow{background:var(--dsw-alias-bg-layer-1,#fff);align-items:center;gap:8px;padding:7px 10px;display:flex}.nUhMVa_rosterMain{flex-direction:column;min-width:0;display:flex}.nUhMVa_rosterName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:600;overflow:hidden}.nUhMVa_rosterAuthor{color:var(--dsw-alias-label-secondary,#9ca3af);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.nUhMVa_rosterTag{border-radius:4px;flex-shrink:0;margin-left:auto;padding:1px 6px;font-size:10.5px;font-weight:600}.nUhMVa_rosterTagKeep{color:var(--dsw-alias-state-success-primary,#16a34a);background:#16a34a1f}.nUhMVa_rosterTagDrop{color:var(--dsw-alias-state-error-primary,#dc2626);background:#dc26261f}.nUhMVa_rosterRowOut .nUhMVa_rosterName{text-decoration:line-through}.nUhMVa_rosterRowOut{opacity:.62}.nUhMVa_rosterSplit{background:var(--dsw-alias-border-l2,#e5e7eb);height:1px}.nUhMVa_reassure{color:var(--dsw-alias-label-secondary,#6b7280);align-items:center;gap:5px;margin:0;font-size:11.5px;line-height:17px;display:flex}.nUhMVa_reassureOk{color:var(--dsw-alias-state-success-primary,#16a34a);flex-shrink:0}.nUhMVa_conflictWhy{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:17px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;margin-top:2px}.nUhMVa_conflictWhyText{margin-top:5px;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif}.nUhMVa_choices{flex-direction:column;gap:7px;display:flex}.nUhMVa_choice{text-align:left;font:inherit;cursor:pointer;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:9px;align-items:flex-start;gap:9px;padding:9px 11px;display:flex}.nUhMVa_choice:has(input:disabled){cursor:default;opacity:.6}.nUhMVa_choiceOn{border-color:var(--dsw-alias-brand-primary,#4f6ef7);background:var(--dsw-alias-bg-layer-2,#f5f7ff)}.nUhMVa_choiceRadio{width:13px;height:13px;accent-color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;margin:2px 0 0}.nUhMVa_choiceMain{flex-direction:column;gap:3px;min-width:0;display:flex}.nUhMVa_choiceTitle{font-size:12px;font-weight:600;line-height:17px}.nUhMVa_choiceNote{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:16px}.nUhMVa_choiceSafe{color:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_stateTag{white-space:nowrap;background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-height:20px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:5px;flex-shrink:0;align-items:center;gap:5px;padding:1px 7px;font-size:11px;line-height:16px;display:inline-flex}.nUhMVa_stateTag[data-on=true]{color:var(--dsw-alias-state-success-primary,#16a34a);background:color-mix(in srgb, var(--dsw-alias-state-success-primary,#16a34a) 10%, transparent)}.nUhMVa_stateDot{background:var(--dsw-alias-label-tertiary,#8b93a1);border-radius:999px;flex:none;width:6px;height:6px}.nUhMVa_stateDot[data-on=true]{background:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_metaTag{text-overflow:ellipsis;white-space:nowrap;background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-width:0;max-width:100%;min-height:20px;color:var(--dsw-alias-label-tertiary,#8b93a1);border-radius:5px;flex-shrink:1;padding:1px 7px;font-size:11px;line-height:18px;display:inline-block;overflow:hidden}.nUhMVa_metaTagOk{color:var(--dsw-alias-state-success-primary,#16a34a);background:color-mix(in srgb, var(--dsw-alias-state-success-primary,#16a34a) 10%, transparent)}.nUhMVa_irow{transition:background-image .16s cubic-bezier(.16,1,.3,1)}.nUhMVa_irow:hover{background-image:linear-gradient(var(--dsw-alias-interactive-bg-hover,#2631480f),var(--dsw-alias-interactive-bg-hover,#2631480f))}.nUhMVa_irowHead{align-items:flex-start;gap:8px;min-width:0;display:flex}.nUhMVa_irowHead .nUhMVa_irowName{flex:1 1 0;min-width:0}.nUhMVa_irowMenu{flex-shrink:0;margin-top:-4px;margin-left:auto;margin-right:-6px}.nUhMVa_irowMeta{color:var(--dsw-alias-label-secondary,#6b7280);margin-top:2px;font-size:12px;line-height:18px}.nUhMVa_irowPath{align-items:center;gap:6px;min-width:0;margin-top:6px;display:flex}.nUhMVa_irowPath .nUhMVa_spec{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nUhMVa_irowPathIcon,.nUhMVa_irowStatusIcon{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;display:inline-flex}.nUhMVa_irowPathCopy{flex-shrink:0;align-items:center;gap:4px;margin-left:auto;display:inline-flex}.nUhMVa_irowPath .nUhMVa_confirmCopy{width:20px;height:20px;color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_irowPath .nUhMVa_confirmCopy:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_irowPath .nUhMVa_confirmCopied{color:var(--dsw-alias-label-secondary,#6b7280);order:1;font-size:11px}.nUhMVa_irowDesc{flex:100%;min-width:0}.nUhMVa_irowStatus{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;margin-top:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_irowStatus+.nUhMVa_irowStatus{margin-top:4px}.nUhMVa_irowStatusPart{align-items:baseline;gap:6px;display:inline-flex}.nUhMVa_irowStatus .nUhMVa_notesLink{margin:0;display:inline}.nUhMVa_irowStatus .nUhMVa_metaInline{font-size:12px}.nUhMVa_irowStatusAction{margin-left:auto;display:inline-flex}.nUhMVa_irowStatusAction .nUhMVa_noteToggle{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_irowStatusAction .nUhMVa_noteToggle:hover{color:var(--dsw-alias-label-primary,#1f2328);text-decoration:none}.nUhMVa_descMore{cursor:pointer;font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);background:0 0;border:none;align-items:center;gap:2px;margin-top:4px;padding:0;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_descMore:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_noteAdd{cursor:pointer;font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;background:0 0;border:none;align-items:center;gap:6px;margin-top:4px;padding:0;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_noteAdd:hover,.nUhMVa_irowStatusFact{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_irowStatusSep{color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_nameLink{color:inherit;text-decoration:none}.nUhMVa_irowName{text-overflow:clip;flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0;display:flex;overflow:visible}.nUhMVa_irowNameText{overflow-wrap:anywhere;white-space:normal;min-width:0}.nUhMVa_irowName>.nUhMVa_owner{flex:none}.nUhMVa_nameLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_opWrap{flex-shrink:0;margin-bottom:6px;display:inline-flex}.nUhMVa_opEntry{font:inherit;cursor:pointer;white-space:nowrap;height:28px;color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-1,#fff);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:8px;align-items:center;gap:5px;padding:0 7px 0 10px;font-size:12px;transition:background-color .12s,color .12s,border-color .12s;display:inline-flex;position:relative}.nUhMVa_opEntryQuiet{background:var(--dsw-alias-bg-module-platform,#f4f5f7);color:var(--dsw-alias-label-secondary,#5c6570)}.nUhMVa_opEntry:hover{color:var(--dsw-alias-label-primary,#1f2328);border-color:var(--dsw-alias-border-l2,#e5e7eb);background:var(--dsw-alias-bg-module-platform,#f4f5f7)}.nUhMVa_opChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;transition:transform .14s cubic-bezier(.16,1,.3,1);display:inline-flex}.nUhMVa_opChevronOpen{transform:rotate(180deg)}.nUhMVa_opEntryAlert{border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_opDot{background:var(--dsw-alias-state-error-primary,#dc2626);border-radius:99px;width:8px;height:8px;position:absolute;top:-3px;right:-3px}.nUhMVa_opPanel{z-index:40;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:12px;width:460px;max-width:100%;max-height:70vh;position:absolute;top:calc(100% + 6px);right:0;overflow-y:auto;box-shadow:0 20px 52px #00000047}.nUhMVa_opHead{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:center;gap:8px;padding:9px 14px;display:flex}.nUhMVa_opPanelTitle{font-size:12.5px;font-weight:600}.nUhMVa_opCloseBtn.nUhMVa_opCloseBtn{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);padding:0 6px}.nUhMVa_opAggregate{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f7f8fa);padding:9px 14px}.nUhMVa_opAggregateTop{font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.nUhMVa_opAggregateHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:4px;font-size:10.5px}.nUhMVa_opRow{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:flex-start;gap:9px;padding:9px 14px;display:flex}.nUhMVa_opRow:last-child{border-bottom:none}.nUhMVa_opRowAlert{background:#dc26260f}.nUhMVa_opIcon{flex-shrink:0;place-items:center;width:14px;margin-top:1px;display:grid}.nUhMVa_opQueuedIcon{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:12px}.nUhMVa_opMain{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.nUhMVa_opTop{align-items:baseline;gap:6px;min-width:0;display:flex}.nUhMVa_opVerb{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;font-size:12px}.nUhMVa_opName{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.nUhMVa_opStatus{color:var(--dsw-alias-label-tertiary,#8b93a1);overflow-wrap:anywhere;font-size:10.5px;line-height:16px}.nUhMVa_opStatusBad{color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_opAgents{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:2px 0 0;font-size:10.5px;line-height:16px}.nUhMVa_opAgentsSummary{cursor:pointer;color:var(--dsw-alias-label-secondary,#5c6570);font-size:10.5px;line-height:16px;list-style:none}.nUhMVa_opAgentsSummary::-webkit-details-marker{display:none}.nUhMVa_opAgentsSummary:before{content:\"▸\";width:10px;transition:transform .12s cubic-bezier(.16,1,.3,1);display:inline-block}.nUhMVa_opAgents[open]>.nUhMVa_opAgentsSummary:before{transform:rotate(90deg)}.nUhMVa_opAgentsList{flex-direction:column;gap:1px;margin:2px 0 0;padding:0 0 0 12px;list-style:none;display:flex}.nUhMVa_opAgentsId{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);white-space:nowrap;text-overflow:ellipsis;font-size:10.5px;line-height:15px;overflow:hidden}.nUhMVa_opActions{flex-shrink:0;align-items:center;gap:6px;margin-top:1px;display:flex}.nUhMVa_opDecision{border-top:1px dashed var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;margin-top:8px;padding-top:8px;display:flex}.nUhMVa_opDecisionFoot{align-items:center;gap:8px;display:flex}.nUhMVa_conflictDetailsToggle{font:inherit;cursor:pointer;color:var(--dsw-alias-label-tertiary,#8b93a1);background:0 0;border:none;align-items:center;gap:4px;padding:2px 0;font-size:11px;display:inline-flex}.nUhMVa_conflictDetailsToggle:hover{color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_opEmpty{text-align:center;color:var(--dsw-alias-label-secondary,#6b7280);padding:30px 14px;font-size:12px}.nUhMVa_opEmptyHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:4px;font-size:11px}.nUhMVa_cardBlockedMark{font:inherit;cursor:pointer;color:var(--dsw-alias-state-error-primary,#dc2626);border:1px solid var(--dsw-alias-state-error-primary,#dc2626);background:#dc262614;border-radius:7px;align-items:center;gap:5px;padding:4px 9px;font-size:11px;display:inline-flex}.nUhMVa_dangerBtn.nUhMVa_dangerBtn{color:var(--dsw-alias-state-error-primary,#dc2626);border-color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_dangerBtn.nUhMVa_dangerBtn:hover:not(:disabled){background:var(--dsw-alias-state-error-primary,#dc2626);color:#fff}.nUhMVa_dangerArmed.nUhMVa_dangerArmed{background:var(--dsw-alias-state-error-primary,#dc2626);border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-label-primary-foreground,#fff)}.nUhMVa_retryBtn{margin-top:4px}.nUhMVa_irow{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;gap:10px;min-width:0;padding:12px 14px;display:flex}.nUhMVa_irowActions{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_irowTrailing{flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:8px;min-width:0;display:inline-flex}.nUhMVa_irowTrailing .nUhMVa_metaTag{flex-shrink:1;min-width:0}.nUhMVa_irowMissing{filter:grayscale();opacity:.5}.nUhMVa_irow>.nUhMVa_src,.nUhMVa_irow>.nUhMVa_owner,.nUhMVa_irow button{white-space:nowrap;flex-shrink:0}.nUhMVa_tabSearchRow{align-items:center;gap:8px;padding:0 4px 10px;display:flex}.nUhMVa_tabSearch{flex:1;min-width:0}.nUhMVa_groupBulkActions{flex-wrap:wrap;align-items:center;gap:8px;padding:0 4px 10px;display:flex}.nUhMVa_caps{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;padding:0 2px 6px;font-size:11px;line-height:1.5;display:flex}.nUhMVa_capsTitle{color:var(--dsw-alias-label-secondary,#8b949e);cursor:help}.nUhMVa_capChip{border:1px solid var(--dsw-alias-border-l2,#30363d);color:var(--dsw-alias-label-primary,#c9d1d9);white-space:nowrap;border-radius:999px;padding:0 6px}.nUhMVa_capMuted{border:1px dashed var(--dsw-alias-border-l2,#30363d);color:var(--dsw-alias-label-secondary,#8b949e);white-space:nowrap;border-radius:999px;padding:0 6px}.nUhMVa_capCaveat{color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:baseline;gap:12px;margin:6px 0 0;font-size:11px;line-height:16px;display:flex}.nUhMVa_capCaveatNote{min-width:0}.nUhMVa_capCaveatAt{white-space:nowrap;flex:none;margin-left:auto}.nUhMVa_searchField{box-sizing:border-box;min-width:0;position:relative}.nUhMVa_searchInput.nUhMVa_searchInput{box-sizing:border-box;width:100%;min-width:0;padding-right:34px}.nUhMVa_searchClear{width:24px;height:24px;color:var(--dsw-alias-label-secondary,#59636e);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;padding:0;font-size:20px;line-height:1;display:flex;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.nUhMVa_searchClear:hover{background:var(--dsw-alias-bg-layer-2,#f3f4f6);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_searchClear:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4f6ef7);outline-offset:1px}.nUhMVa_spec{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;min-width:0}.nUhMVa_specTag{white-space:nowrap;border-radius:4px;flex-shrink:0;align-items:center;height:16px;padding:0 5px;font-size:10px;font-weight:600;display:inline-flex}.nUhMVa_specTagGit{color:var(--dsw-alias-state-business-primary,#0b7285);background:#12a3c41f}.nUhMVa_specTagFile{color:var(--dsw-alias-state-warn-primary,#b07d1b);background:#f0b42924}.nUhMVa_backupCheckList .nUhMVa_grow{white-space:nowrap;text-overflow:ellipsis;flex:70%;min-width:0;overflow:hidden}.nUhMVa_backupCheckList .nUhMVa_spec{text-align:right;white-space:nowrap;text-overflow:ellipsis;flex:0 30%;max-width:30%;overflow:hidden}.nUhMVa_staleAction{word-break:normal;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.nUhMVa_pct{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;font-size:11px;font-weight:600}.nUhMVa_pager{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;margin:16px 0 4px;display:flex}.nUhMVa_loadMore{justify-content:center;margin:16px 0 4px;display:flex}.nUhMVa_pagerPages{flex-wrap:nowrap;flex:1;justify-content:center;align-items:center;gap:4px;min-width:0;display:flex}.nUhMVa_pagerMeta{flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:6px;display:flex}.nUhMVa_pagerPages button,.nUhMVa_pagerMeta button{min-width:0;padding:0 8px}.nUhMVa_pageEllipsis{color:var(--dsw-alias-label-secondary,#9ca3af);padding:0 1px;font-size:12px}.nUhMVa_pageInfo{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;font-size:12px}@container (width<=544px){.nUhMVa_pager{flex-wrap:wrap;justify-content:center;gap:8px}.nUhMVa_pagerPages{flex-basis:100%}}.nUhMVa_depBadge{border:1px solid var(--dsw-alias-state-warn-primary,#b45309);color:var(--dsw-alias-state-warn-primary,#b45309);white-space:nowrap;border-radius:4px;flex-shrink:0;margin-left:6px;padding:1px 6px;font-size:11px;font-weight:600;line-height:16px}.nUhMVa_deprecate{color:var(--dsw-alias-state-warn-primary,#b45309);background:var(--dsw-alias-bg-layer-2,#fdf3e3);border:1px solid var(--dsw-alias-border-l2,#f3e3c3);border-radius:8px;margin:0;padding:8px 10px;font-size:12px;line-height:18px}.nUhMVa_deprecate a{color:var(--dsw-alias-state-warn-primary,#b45309);text-decoration:underline}.nUhMVa_deprecate .nUhMVa_src{margin-left:8px}.nUhMVa_depLine{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.nUhMVa_switch{border:1px solid var(--dsw-alias-border-l2,#d9dde3);background:var(--dsw-alias-bg-layer-2,#e5e7eb);cursor:pointer;border-radius:99px;flex-shrink:0;width:38px;height:22px;padding:0;transition:background .15s,border-color .15s;position:relative}.nUhMVa_switchOn{background:var(--dsw-alias-state-success-primary,#16a34a);border-color:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_switchMixed{background:var(--dsw-alias-state-warn-primary,#b45309);border-color:var(--dsw-alias-state-warn-primary,#b45309)}.nUhMVa_switchKnob{background:#fff;border-radius:99px;width:16px;height:16px;transition:left .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000040}.nUhMVa_switchOn .nUhMVa_switchKnob,.nUhMVa_switchMixed .nUhMVa_switchKnob{left:18px}.nUhMVa_switch:disabled{opacity:.5;cursor:default}.nUhMVa_viewBar{border-radius:var(--dsw-radius-md,12px);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border:none;align-items:center;gap:2px;width:fit-content;margin-bottom:12px;padding:3px;display:flex}.nUhMVa_viewBtn{font:inherit;color:var(--dsw-alias-label-secondary,#5c6570);border-radius:var(--dsw-radius-sm,8px);cursor:pointer;white-space:nowrap;background:0 0;border:none;height:26px;padding:0 10px;font-size:12px;line-height:18px;transition:background-color .12s,color .12s}.nUhMVa_viewBtn:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_viewOn{background:var(--dsw-alias-bg-layer-3,#fff);color:var(--dsw-alias-label-primary,#1f2328);box-shadow:0 0 0 .5px var(--dsw-alias-border-l3,#0000001f);font-weight:600}.nUhMVa_groupRow{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);margin-bottom:10px;padding:12px 14px}.nUhMVa_groupHead{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.nUhMVa_groupCollapse{width:22px;height:22px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.nUhMVa_groupCollapse:hover{background:var(--dsw-alias-bg-layer-2,#eef0f4);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_groupTitle{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.nUhMVa_groupTitle .nUhMVa_groupHint{margin-top:0}.nUhMVa_groupName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;line-height:20px;overflow:hidden}.nUhMVa_groupMeta{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:16px}.nUhMVa_groupActions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px;margin-left:auto;display:flex}.nUhMVa_groupMembers{flex-direction:column;gap:6px;margin-top:10px;display:flex}.nUhMVa_groupMember{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;align-items:center;gap:8px;min-width:0;padding:6px 8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_groupMember .nUhMVa_nm{flex:1;min-width:0;font-size:12px}.nUhMVa_memberName{flex:auto;align-items:center;gap:6px;min-width:0;display:flex}.nUhMVa_memberName .nUhMVa_nm{flex:0 auto;min-width:0}.nUhMVa_memberNameWithDesc{flex:0 auto;max-width:42%}.nUhMVa_memberKind{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;flex:none;font-size:11px;line-height:16px}.nUhMVa_themeSlot{box-shadow:inset 0 -1px 0 var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px 8px 0 0;margin-bottom:4px}.nUhMVa_groupMember>.nUhMVa_switch,.nUhMVa_groupMember>button{flex-shrink:0}.nUhMVa_groupMemberAction{flex:none;margin-left:auto}.nUhMVa_groupMemberAction button{white-space:nowrap}.nUhMVa_groupAddPanel{border-top:1px dashed var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:6px;margin-top:10px;padding-top:10px;display:flex}.nUhMVa_groupAddModalBody{flex-direction:column;gap:10px;min-width:0;display:flex}.nUhMVa_groupAddFilters{flex-wrap:wrap;gap:6px;display:flex}.nUhMVa_groupAddModalList{flex-direction:column;gap:6px;max-height:min(50vh,360px);padding-right:2px;display:flex;overflow-y:auto}.nUhMVa_groupAddModalHint{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_groupAddPick{background:var(--dsw-alias-bg-layer-2,#f7f8fa);cursor:pointer;border-radius:8px;align-items:center;gap:8px;min-width:0;padding:8px 10px;display:flex}.nUhMVa_groupAddPick:hover{background:var(--dsw-alias-bg-layer-2,#eef0f4)}.nUhMVa_groupAddPick input{flex-shrink:0;margin:0}.nUhMVa_groupAddPick .nUhMVa_nm{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;overflow:hidden}.nUhMVa_groupAddFooterMeta{color:var(--dsw-alias-label-secondary,#6b7280);align-self:center;margin-right:auto;font-size:12px;line-height:18px}.nUhMVa_groupOrgHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:4px 0 0;font-size:11px;line-height:16px}.nUhMVa_groupRenameField{flex-direction:column;gap:6px;min-width:min(100%,320px);display:flex}.nUhMVa_groupRenameField label{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_groupRenameField .nUhMVa_inlineInput{width:100%}.nUhMVa_groupCreate{align-items:center;gap:8px;margin-bottom:10px;display:flex}.nUhMVa_groupCreateInline{flex-shrink:0;align-items:center;gap:8px;display:flex}.nUhMVa_groupCreateInline .nUhMVa_inlineInput{flex:none;width:160px}.nUhMVa_inlineInput{flex:1;min-width:120px}.nUhMVa_ungroupedRow{flex-wrap:nowrap}.nUhMVa_ungroupedRow>.nUhMVa_nm{flex:0 auto;max-width:42%;font-size:12px;line-height:18px}.nUhMVa_ungroupedState{flex:0 auto;align-items:center;min-width:0;max-width:46%;margin:0;display:inline-flex}.nUhMVa_ungroupedState>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nUhMVa_ungroupedDesc{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);flex:1 1 0;font-size:12px;line-height:18px;overflow:hidden}.nUhMVa_ungroupedDesc.nUhMVa_noteMine{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_groupHint{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px}.nUhMVa_sect{color:var(--dsw-alias-label-secondary,#6b7280);margin:14px 2px 8px;font-size:12px;font-weight:600}.nUhMVa_sectAction{color:var(--dsw-alias-label-secondary,#6b7280);align-items:center;gap:8px;margin:14px 2px 8px;font-size:12px;font-weight:600;display:flex}.nUhMVa_backupGrid{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.nUhMVa_backupCard{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;gap:10px;padding:16px;display:flex}.nUhMVa_backupCard h3{margin:0;font-size:14px}.nUhMVa_backupCard p{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_backupActions{flex-wrap:wrap;gap:8px;display:flex;position:relative}.nUhMVa_hiddenFile{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.nUhMVa_backupInput{box-sizing:border-box;width:100%}.nUhMVa_backupCheck{cursor:pointer;align-items:center;gap:6px;font-size:12px;display:flex}.nUhMVa_backupWarn{margin:0;font-size:12px;line-height:18px;color:var(--dsw-alias-state-warn-primary,#b45309)!important}.nUhMVa_backupMessage{color:var(--dsw-alias-label-secondary,#6b7280);grid-column:1/-1;font-size:12px}.nUhMVa_backupCheckList{flex-direction:column;gap:6px;max-height:260px;margin:10px 0 4px;padding-right:4px;display:flex;overflow-y:auto}.nUhMVa_backupCheckList .nUhMVa_backupCheck{justify-content:space-between;gap:8px}.nUhMVa_diagPage{flex-direction:column;gap:12px;height:100%;min-height:0;display:flex;overflow-y:auto}.nUhMVa_panelHost .nUhMVa_diagPage{height:auto;overflow:visible}.nUhMVa_diagSummary{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 14px;font-size:12px;display:flex}.nUhMVa_diagSummaryItem{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.nUhMVa_diagSummaryMeta{color:var(--dsw-alias-label-tertiary,#9ca3af);font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);text-overflow:ellipsis;white-space:nowrap;max-width:320px;font-size:11px;overflow:hidden}.nUhMVa_diagSection{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.nUhMVa_diagSection h3{color:var(--dsw-alias-label-primary,#1f2328);margin:0;font-size:13px;font-weight:600}.nUhMVa_diagCount{color:var(--dsw-alias-label-tertiary,#9ca3af);font-size:11px;font-weight:400}.nUhMVa_diagEmpty{color:var(--dsw-alias-label-secondary,#9ca3af);padding:8px 0;font-size:12px}.nUhMVa_diagBundle{border-top:1px solid var(--dsw-alias-border-l2,#f0f1f3);flex-direction:column;gap:6px;padding-top:8px;display:flex}.nUhMVa_diagBundle:first-of-type{border-top:none;padding-top:0}.nUhMVa_diagRow{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;font-size:12px;line-height:18px;display:flex}.nUhMVa_diagMeta{align-items:baseline;gap:8px;min-width:0;font-size:12px;display:flex}.nUhMVa_diagKey{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;min-width:64px;font-size:11px}.nUhMVa_diagVal{color:var(--dsw-alias-label-primary,#1f2328);font-size:12px;font-weight:500;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;min-width:0}.nUhMVa_diagIndex{background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-width:18px;height:18px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagArrow{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;font-size:12px}.nUhMVa_diagBadgeOfficial{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-brand-primary,#4f6ef7));height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeCommunity{background:var(--dsw-alias-bg-layer-2,#f3f4f6);height:18px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.nUhMVa_diagBadgeShadow{background:var(--dsw-alias-state-error-primary,#dc2626);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeWarn{background:var(--dsw-alias-state-warn-primary,#b45309);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeInfo{background:var(--dsw-alias-bg-layer-2,#f3f4f6);height:18px;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.nUhMVa_diagList{flex-direction:column;gap:6px;display:flex}.nUhMVa_sectionOverview{color:var(--dsw-alias-label-tertiary,#8b93a1);text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:2px 0 6px;font-size:12px;line-height:18px;overflow:hidden}.nUhMVa_diagAlert{color:var(--dsw-alias-state-warn-primary,#b45309)}.nUhMVa_ovRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:6px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_ovArrow{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;font-size:12px}.nUhMVa_ovByTag{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-brand-primary,#4f6ef7));height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);text-overflow:ellipsis;white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;max-width:260px;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex;overflow:hidden}.nUhMVa_ovFrom{color:var(--dsw-alias-label-secondary,#6b7280);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.nUhMVa_orphRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:6px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_orphBadge{background:var(--dsw-alias-state-warn-primary,#b45309);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_dragHandle{width:20px;height:20px;color:var(--dsw-alias-label-tertiary,#9ca3af);cursor:grab;-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;line-height:20px;display:inline-flex}.nUhMVa_dragOver{outline:2px dashed var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:2px;background:var(--dsw-alias-bg-layer-2,#f0f2f8);border-radius:8px}.nUhMVa_dragging{opacity:.45;background:var(--dsw-alias-bg-layer-2,#f3f4f6)}.nUhMVa_collapseHead{font:inherit;color:var(--dsw-alias-label-primary,#1f2328);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:8px;width:100%;padding:0;font-size:13px;font-weight:600;display:flex}.nUhMVa_collapseIcon{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;display:inline-flex}.nUhMVa_collapseTitle{flex:0 auto;min-width:0}.nUhMVa_collapseHead .nUhMVa_diagCount{flex-shrink:0}.nUhMVa_collapseBody{border-top:1px solid var(--dsw-alias-border-l2,#f0f1f3);overflow-wrap:anywhere;flex-direction:column;gap:10px;min-width:0;margin-top:8px;padding-top:10px;display:flex}.nUhMVa_orderPanel{flex-direction:column;gap:10px;min-width:0;display:flex}.nUhMVa_panelNote{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_panelActions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.nUhMVa_presetList{flex-direction:column;gap:6px;min-width:0;display:flex}.nUhMVa_presetRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-direction:column;align-items:stretch;gap:6px;min-width:0;max-width:100%;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_presetName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.nUhMVa_snapList{flex-direction:column;gap:6px;min-width:0;display:flex}.nUhMVa_snapRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px;font-size:12px;line-height:18px;display:flex}.nUhMVa_snapMeta{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_snapConfirmText{color:var(--dsw-alias-state-warn-primary,#b45309);margin:0;font-size:12px;line-height:18px}.nUhMVa_confirmRow{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.nUhMVa_fixFallback{flex-direction:column;gap:6px;margin:8px 0;display:flex}.nUhMVa_fixFallbackText,.nUhMVa_envEditor{box-sizing:border-box;width:100%;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-2,#f3f4f6);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);resize:vertical;white-space:pre-wrap;word-break:break-all;border-radius:6px;padding:8px 10px;font-size:11px;line-height:16px}.nUhMVa_setCard{border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));background:var(--dsw-alias-bg-layer-3,#fff);border-radius:var(--dsw-radius-lg,16px);list-style:none;transition:border-color .16s,background .16s}.nUhMVa_setCard:hover{border-color:var(--dsw-alias-label-dimmed,#c8ccd4)}.nUhMVa_setCardOpen{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-color:var(--dsw-alias-label-dimmed,#c8ccd4)}.nUhMVa_setHeader{-webkit-appearance:none;appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:var(--dsw-radius-lg,16px);background:0 0;border:0;align-items:center;gap:12px;padding:14px 16px;display:flex}.nUhMVa_setHeader:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:-2px}.nUhMVa_setHeadText{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.nUhMVa_setName{color:var(--dsw-alias-label-primary,#1f2328);font-size:15px;font-weight:600;line-height:1.4}.nUhMVa_setDesc{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:13px;line-height:1.5}.nUhMVa_setChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex:none;transition:transform .16s;display:inline-flex}.nUhMVa_setChevronOpen{transform:rotate(180deg)}.nUhMVa_setBody{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);margin:0 16px;padding-bottom:8px}.nUhMVa_setRow{align-items:center;gap:12px;padding:12px 0;display:flex}.nUhMVa_setRow+.nUhMVa_setRow{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb)}.nUhMVa_setLabelBox{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.nUhMVa_setLabel{font-size:13px;line-height:20px}.nUhMVa_setHint{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:12px;line-height:18px}.nUhMVa_setAdvanced{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb)}.nUhMVa_setAdvancedHead{-webkit-appearance:none;appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:12px 0;display:flex}.nUhMVa_setAdvancedHead:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:-2px}.nUhMVa_setAdvancedBody{padding-bottom:4px}.nUhMVa_setConfirm{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;padding:12px 0 4px;display:flex}.nUhMVa_setCheck{cursor:pointer;align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_setActions{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);justify-content:flex-end;align-items:center;gap:8px;padding:12px 0 4px;display:flex}.nUhMVa_setInlineActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.nUhMVa_setProxyEditor{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px 0;display:flex}.nUhMVa_setProxyLabel{min-width:180px;color:var(--dsw-alias-label-secondary,#6b7280);flex-direction:column;flex:1;gap:5px;font-size:12px;line-height:18px;display:flex}.nUhMVa_setProxyInput{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-3,#fff);width:100%;min-width:0;color:var(--dsw-alias-label-primary,#1f2328);font:inherit;border-radius:7px;padding:6px 8px;font-size:12px;line-height:18px}.nUhMVa_setProxyInput:focus{border-color:var(--dsw-alias-brand-primary,#4f6ef7);outline:2px solid color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 18%,transparent)}.nUhMVa_setDanger{color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_setSeg{border-radius:var(--dsw-radius-md,12px);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border:none;flex-shrink:0;gap:2px;padding:3px;display:inline-flex}.nUhMVa_setSegBtn{font:inherit;border-radius:var(--dsw-radius-sm,8px);height:26px;color:var(--dsw-alias-label-secondary,#5c6570);cursor:pointer;background:0 0;border:none;padding:0 10px;font-size:12px;line-height:18px}.nUhMVa_setSegBtn:disabled{cursor:default;opacity:.5}.nUhMVa_setSegOn{background:var(--dsw-alias-bg-layer-3,#fff);color:var(--dsw-alias-label-primary,#1f2328);box-shadow:0 0 0 .5px var(--dsw-alias-border-l3,#0000001f);font-weight:600}.nUhMVa_setBetaTag{background:var(--dsw-alias-bg-module-platform,#eef0f4);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;margin-left:6px;padding:0 6px;font-size:11px;font-weight:600;line-height:17px}.nUhMVa_commentsLink{cursor:pointer;white-space:nowrap;color:var(--dsw-alias-label-tertiary,#8b93a1);background:0 0;border:0;padding:0;font-size:12px;line-height:18px}.nUhMVa_commentsLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_footActions{flex-shrink:0;align-items:center;gap:8px;display:inline-flex}.nUhMVa_favoriteBtn{cursor:pointer;color:var(--dsw-alias-label-secondary,#9ca3af);background:0 0;border:0;align-items:center;padding:0;display:inline-flex}.nUhMVa_favoriteMark{transform-box:fill-box;transform-origin:50% 0;display:block}.nUhMVa_favoriteBtn:hover,.nUhMVa_favoriteOn{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_cardMore{cursor:pointer;font:inherit;letter-spacing:1px;color:var(--dsw-alias-label-secondary,#9ca3af);background:0 0;border:0;padding:0 2px;font-size:14px;line-height:16px}.nUhMVa_cardMore:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_blockedTabHint{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0 0 12px;font-size:12px;line-height:18px}.nUhMVa_blockedMissing{flex-direction:column;gap:4px;margin-top:8px;display:flex}.nUhMVa_blockedBarRow{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_blockedBarName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.nUhMVa_blockedBarUndo{cursor:pointer;font:inherit;color:var(--dsw-alias-brand-primary,#4f6ef7);background:0 0;border:0;padding:0;font-size:12px;line-height:18px}.nUhMVa_commentsNote{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0 0 8px;font-size:11px;line-height:16px}.nUhMVa_commentsGithubPrompt{border:1px solid color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 24%,transparent);background:color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 6%,transparent);border-radius:8px;margin:0 0 10px;padding:10px}.nUhMVa_commentsGithubHint{color:var(--dsw-alias-label-primary,#1f2328);margin:0 0 8px;font-size:12px;line-height:17px}.nUhMVa_commentsGithubAction{box-sizing:border-box;border:1px solid var(--dsw-alias-brand-primary,#4f6ef7);min-height:28px;color:var(--dsw-alias-brand-primary,#4f6ef7);border-radius:6px;justify-content:center;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;line-height:16px;text-decoration:none;display:inline-flex}.nUhMVa_commentsGithubAction:hover{background:color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 9%,transparent)}.nUhMVa_commentsStatus{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0;font-size:12px}.nUhMVa_commentsStatus:empty{display:none}.nUhMVa_commentsError{color:var(--dsw-alias-label-primary,#1f2328);margin:0 0 8px;font-size:12px}.nUhMVa_commentsFail{flex-direction:column;align-items:flex-start;gap:8px;padding:12px 0;display:flex}.nUhMVa_commentsMount{width:100%;min-height:240px;max-height:56vh;overflow:auto}.nUhMVa_commentsMount iframe{width:100%}.nUhMVa_notesLink{font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;text-align:left;background:0 0;border:none;margin:2px 0 0;padding:0;font-size:12px;line-height:18px;display:block}.nUhMVa_notesLink:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_notesModalWide{width:min(640px,92vw);max-width:min(640px,92vw)}.nUhMVa_notesBody{overscroll-behavior:contain;flex-direction:column;flex:0 auto;gap:10px;min-width:0;max-height:min(60vh,520px);padding:0 2px 8px 0;display:flex;overflow-y:auto}.nUhMVa_notesRange{align-items:center;gap:8px;margin-bottom:4px;font-size:12px;line-height:18px;display:flex}.nUhMVa_notesArrow{color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_notesMeta{letter-spacing:.02em;text-transform:uppercase;color:var(--dsw-alias-label-secondary,#6b7280);flex-wrap:wrap;align-items:baseline;gap:6px;margin-top:4px;font-size:12px;line-height:18px;display:flex}.nUhMVa_notesBody>.nUhMVa_notesMeta:first-child{margin-top:0}.nUhMVa_notesPre{white-space:pre-wrap;word-break:break-word;background:var(--dsw-alias-bg-layer-2,#eef0f4);border-radius:8px;max-height:40vh;margin:0;padding:10px 12px;font-size:13px;line-height:20px;overflow:auto}.nUhMVa_notesRendered{flex-direction:column;gap:8px;min-width:0;display:flex}.nUhMVa_notesImg{border-radius:6px;max-width:100%;height:auto;margin:4px 0;display:block}.nUhMVa_notesH{margin-top:4px;font-size:13px;font-weight:650;line-height:20px}.nUhMVa_notesP{font-size:13px;line-height:20px}.nUhMVa_notesQuote{border-left:3px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f7f8fa);color:var(--dsw-alias-label-primary,#1f2328);border-radius:0 6px 6px 0;margin:0;padding:8px 10px;font-size:13px;line-height:20px}.nUhMVa_notesFence{background:var(--dsw-alias-bg-layer-2,#eef0f4);font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);white-space:pre;border-radius:8px;margin:0;padding:10px 12px;font-size:12px;line-height:18px;overflow-x:auto}.nUhMVa_notesFence code{font:inherit;background:0 0;padding:0}.nUhMVa_notesBullets{flex-direction:column;gap:4px;margin:0;padding-left:18px;font-size:13px;line-height:20px;display:flex}.nUhMVa_notesA{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:none}.nUhMVa_notesA:hover{text-decoration:underline}.nUhMVa_notesCode{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);background:var(--dsw-alias-bg-layer-2,#eef0f4);border-radius:5px;padding:1px 5px;font-size:12px}.nUhMVa_notesList{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.nUhMVa_notesRow{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:baseline;gap:12px;padding:6px 0;display:flex}.nUhMVa_notesRow:last-child{border-bottom:none}.nUhMVa_notesDate{color:var(--dsw-alias-label-tertiary,#8b93a1);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12px}.nUhMVa_notesMsg{word-break:break-word;word-break:break-word;-webkit-line-clamp:3;-webkit-box-orient:vertical;min-width:0;font-size:13px;line-height:20px;display:-webkit-box;overflow:hidden}.nUhMVa_notesSha{color:var(--dsw-alias-label-secondary,#6b7280);font-variant-numeric:tabular-nums;flex-shrink:0;margin-left:auto;font-size:12px;text-decoration:none}.nUhMVa_recoverySummary{color:var(--dsw-alias-state-error-primary,#dc2626);word-break:break-word;align-items:flex-start;gap:8px;margin-bottom:8px;font-size:12px;display:flex}.nUhMVa_recoveryHint{color:var(--dsw-alias-label-secondary,#6b7280);margin:8px 0;font-size:12px}.nUhMVa_recoveryList{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;max-height:320px;display:flex;overflow-x:hidden;overflow-y:auto}.nUhMVa_recoveryRow{border-top:1px solid var(--dsw-alias-border-l2,#eef0f4);align-items:flex-start;gap:8px;padding:6px 10px;font-size:12px;display:flex}.nUhMVa_recoveryRow:first-child{border-top:none}.nUhMVa_recoveryBlamed{box-shadow:inset 3px 0 0 var(--dsw-alias-state-error-primary,#dc2626);background:#dc262612}.nUhMVa_recoveryMuted{opacity:.6}.nUhMVa_recoveryName{word-break:break-word;flex-direction:column;gap:2px;min-width:0;display:flex}.nUhMVa_recoveryReason{color:var(--dsw-alias-state-error-primary,#dc2626);word-break:break-word;font-size:11px}.nUhMVa_recoveryNote{color:var(--dsw-alias-label-tertiary,#8b93a1);word-break:break-word;margin-top:8px;font-size:11px}.nUhMVa_recoveryBadge{background:var(--dsw-alias-bg-layer-2,#eef0f4);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:5px;margin-left:6px;padding:0 5px;font-size:10px}.nUhMVa_recoveryLog{color:var(--dsw-alias-label-secondary,#6b7280);margin:4px 0 8px;font-size:11px}.nUhMVa_recoveryLog pre{white-space:pre-wrap;word-break:break-word;max-height:180px;margin:6px 0 0;overflow:auto}.nUhMVa_notesSha:hover{color:var(--dsw-alias-label-primary,#1f2328);text-decoration:underline}.nUhMVa_notesVer{color:inherit;font-weight:600;text-decoration:none}.nUhMVa_notesVer:hover{text-decoration:underline}.nUhMVa_notesSourceLink{color:var(--dsw-alias-brand-primary,#4f6ef7);white-space:nowrap;text-decoration:none}.nUhMVa_notesSourceLink:hover{text-decoration:underline}.nUhMVa_migrationSources{flex-direction:column;gap:8px;margin-top:4px;display:flex}.nUhMVa_migrationSource{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.nUhMVa_migrationSource code{font-size:12px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere}.nUhMVa_migrationLabel{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px}.nUhMVa_migrationArrow{text-align:center;color:var(--dsw-alias-label-secondary,#9ca3af)}.nUhMVa_migrationWarning{color:var(--dsw-alias-state-warn-primary,#b45309);align-items:flex-start;gap:6px;margin:12px 0 0;font-size:12px;line-height:18px;display:flex}.nUhMVa_migrationNote{color:var(--dsw-alias-label-secondary,#6b7280);margin:12px 0 0;font-size:12px;line-height:18px}.nUhMVa_sourceRepo{color:var(--dsw-alias-label-secondary,#5c6570);align-self:flex-end;align-items:center;gap:2px;font-size:13px;line-height:20px;text-decoration:none;display:inline-flex}.nUhMVa_sourceRepo:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_sourceRepo:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:2px;border-radius:4px}.nUhMVa_updateChecks{margin:12px 0;font-size:13px}.nUhMVa_updateChecks summary{cursor:pointer}.nUhMVa_updateChecksSummary{opacity:.7;margin-left:8px}.nUhMVa_updateChecksControls{flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;display:flex}.nUhMVa_updateChecksToggle{align-items:center;gap:8px;display:inline-flex}.nUhMVa_updateChecksHint{opacity:.7;margin:8px 0}.nUhMVa_updateChecksList{margin:12px 0;padding:0;list-style:none}.nUhMVa_updateChecksList li{flex-wrap:wrap;align-items:center;gap:12px;padding:8px 0;display:flex}.nUhMVa_updateChecksPackage{overflow-wrap:anywhere;flex-direction:column;flex:1;min-width:0;display:flex}.nUhMVa_updateChecksPackage>span{opacity:.7;font-size:12px}.nUhMVa_updateChecksInterval{align-items:center;gap:8px;display:inline-flex}.nUhMVa_updateChecksInterval select{color:inherit;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);font:inherit;border-radius:6px;padding:4px 8px}";
|
|
4409
|
+
const css = ".nUhMVa_root{min-width:0;height:100%;color:var(--dsw-alias-label-primary,#1f2328);flex-direction:column;display:flex;position:relative;container-type:inline-size}.nUhMVa_head{flex-direction:column;gap:8px;padding:0 4px 4px;display:flex}.nUhMVa_headTop{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 16px;min-width:0;display:flex}.nUhMVa_headTop>.nUhMVa_titleRow>.nUhMVa_sub{max-width:100%}.nUhMVa_title{white-space:nowrap;color:var(--dsw-alias-label-primary,#1f2328);margin:0;font-size:15px;font-weight:600;line-height:22px}.nUhMVa_sub{min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);flex:auto;margin:0;font-size:12px;line-height:18px}.nUhMVa_sidebarTip{color:var(--dsw-alias-label-secondary,#5c6570);flex-wrap:wrap;align-items:center;gap:6px 8px;margin:0;font-size:12px;line-height:18px;display:flex}.nUhMVa_updateCheckNotice{color:var(--dsw-alias-label-secondary,#5c6570);flex-wrap:wrap;align-items:center;gap:0 6px;font-size:12px;line-height:18px;display:flex}.nUhMVa_submitLink{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;font-size:12px;line-height:18px;text-decoration:none}.nUhMVa_submitLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_tabs{flex-wrap:wrap;align-items:center;gap:4px;padding:0 0 2px;display:flex;position:relative}.nUhMVa_tab{height:32px;font:inherit;color:var(--dsw-alias-label-secondary,#5c6570);border-radius:var(--dsw-radius-sm,#8px);cursor:pointer;white-space:nowrap;background:0 0;border:none;align-items:center;padding:0 10px;font-size:13px;line-height:20px;transition:background-color .12s,color .12s;display:inline-flex;position:relative}.nUhMVa_tab:hover:not(.nUhMVa_on){background:var(--dsw-alias-interactive-bg-hover,#2631480f);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_tab.nUhMVa_on{color:var(--dsw-alias-label-primary,#1f2328);font-weight:600}.nUhMVa_tab.nUhMVa_on:after{content:\"\";background:var(--dsw-alias-label-primary,#1f2328);border-radius:1px;height:2px;position:absolute;bottom:3px;left:10px;right:10px}.nUhMVa_subTabs{flex-wrap:wrap;align-items:center;gap:4px;margin:0 0 2px;display:flex}.nUhMVa_banner{background:var(--dsw-alias-bg-layer-2,#fdf3e3);border:1px solid var(--dsw-alias-border-l2,#f3e3c3);border-radius:8px;align-items:center;gap:8px;margin:0;padding:8px 12px;font-size:12px;display:flex}.nUhMVa_bannerIcon{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0}.nUhMVa_bannerHint{color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:help;display:inline-flex}.nUhMVa_body{overflow-anchor:none;flex:1;padding:8px 4px 64px;scroll-padding-bottom:64px;overflow-x:hidden;overflow-y:auto}.nUhMVa_stickyHead{z-index:5;background:var(--dshm-sticky-bg,var(--dsw-alias-bg-base,#fff));position:sticky;top:-1px}.nUhMVa_stickyHead:before{content:\"\";background:inherit;pointer-events:none;height:14px;position:absolute;bottom:100%;left:0;right:0}.nUhMVa_cats{margin:0 -4px 2px;padding:0 4px 4px}.nUhMVa_catsRow{align-items:flex-start;gap:6px;display:flex;position:relative}.nUhMVa_star{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;flex:none;font-size:11px;line-height:18px}.nUhMVa_top{z-index:20;background:var(--dsw-alias-bg-layer-1,#fff);box-shadow:var(--dsw-shadow-lv1,0 4px 12px #1f232814);border-radius:99px;display:inline-flex;position:absolute;bottom:18px;right:18px}.nUhMVa_topBtn{border-radius:99px;width:38px;height:38px;padding:0}.nUhMVa_tag{border:.5px solid var(--dsw-alias-border-l3,#d9dde3);color:var(--dsw-alias-label-secondary,#5c6570);white-space:nowrap;border-radius:999px;flex-shrink:0;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px}.nUhMVa_hostRequirement{border:.5px solid var(--dsw-alias-border-l3,#d9dde3);color:var(--dsw-alias-label-secondary,#5c6570);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;min-width:0;max-width:18em;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px;overflow:hidden}.nUhMVa_hostRequirementBad{border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-state-error-primary,#dc2626);background:#dc262614}.nUhMVa_hostFilterNote{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:6px;font-size:12px;line-height:18px}.nUhMVa_okState{color:var(--dsw-alias-state-success-primary,#16a34a);white-space:nowrap;font-size:12px;font-weight:600}.nUhMVa_catsWrap{flex-wrap:wrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex}.nUhMVa_catsCollapsed{max-height:62px;overflow:hidden}.nUhMVa_catsToggle.nUhMVa_catsToggle{height:26px;min-height:26px;color:var(--dsw-alias-label-secondary,#5c6570);flex:none;padding:0 6px}.nUhMVa_shots{-webkit-overflow-scrolling:touch;scrollbar-width:thin;gap:8px;margin:6px 0 8px;padding:2px 0 6px;display:flex;overflow-x:auto}.nUhMVa_shot{object-fit:cover;border-radius:var(--dsw-radius-lg,16px);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);cursor:pointer;flex:none;width:220px;height:150px}.nUhMVa_cardShots{-webkit-overflow-scrolling:touch;scrollbar-width:thin;gap:6px;margin:0 0 6px;padding:0 0 2px;display:flex;overflow-x:auto}.nUhMVa_cardShot{object-fit:contain;border-radius:var(--dsw-radius-lg,16px);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);cursor:pointer;flex:none;width:132px;height:88px;display:block}.nUhMVa_lightbox{z-index:10000;cursor:zoom-out;background:#000000d9;justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.nUhMVa_lightboxImg{object-fit:contain;cursor:default;border-radius:4px;max-width:90vw;max-height:85vh}.nUhMVa_lightboxClose{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:99px;place-items:center;width:36px;height:36px;font-size:22px;line-height:1;display:grid;position:absolute;top:16px;right:16px}.nUhMVa_lightboxClose:hover{background:#ffffff38}.nUhMVa_lightboxNav{color:#fff;cursor:pointer;background:#ffffff1f;border:none;border-radius:99px;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:50%;transform:translateY(-50%)}.nUhMVa_lightboxNav:hover{background:#ffffff38}.nUhMVa_lightboxPrev{left:16px}.nUhMVa_lightboxNext{right:16px}.nUhMVa_lightboxDots{gap:8px;display:flex;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}.nUhMVa_lightboxDot{cursor:pointer;background:#fff6;border-radius:99px;width:7px;height:7px}.nUhMVa_lightboxDotOn{background:#fff}.nUhMVa_cmd{background:var(--dsw-alias-bg-layer-2,#f3f4f6);font-size:11px;line-height:18px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);word-break:break-all;border-radius:6px;margin:8px 0 0;padding:8px 10px}.nUhMVa_warnLine{color:var(--dsw-alias-state-warn-primary,#b45309);flex-wrap:wrap;align-items:center;gap:4px;margin:0;font-size:12px;font-weight:600;line-height:18px;display:flex}.nUhMVa_modalNote{color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:center;gap:4px;margin:12px 0 0;font-size:12px;line-height:18px;display:flex}.nUhMVa_confirmBody{flex-direction:column;gap:12px;display:flex}.nUhMVa_confirmModal{width:min(560px,92vw);max-width:min(560px,92vw);max-height:100%}.nUhMVa_confirmContent{flex:auto;min-height:0;overflow:hidden}.nUhMVa_confirmContent>:first-child{flex-shrink:0}.nUhMVa_confirmContent>:last-child{overscroll-behavior:contain;flex:auto;min-height:0;margin-top:0;overflow-y:auto}.nUhMVa_confirmModal>:last-child{flex-shrink:0}.nUhMVa_confirmBody .nUhMVa_byline{flex-wrap:nowrap;margin-top:0}.nUhMVa_confirmBody .nUhMVa_owner{min-width:0}.nUhMVa_confirmBody .nUhMVa_shots{margin:0;padding:0}.nUhMVa_confirmBody .nUhMVa_modalNote{margin:0}.nUhMVa_confirmTags{flex-wrap:wrap;gap:6px;display:flex}.nUhMVa_confirmDesc{color:var(--dsw-alias-label-primary,#1f2328);white-space:pre-wrap;margin:0;font-size:13px;line-height:20px}.nUhMVa_confirmFold{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;padding-top:12px;display:flex}.nUhMVa_confirmPanel{--fold-bg:#f7f8fa;--fold-border:#e7e8ea;--fold-ink:#1c1d1f;--fold-on-ink:#fff;background:var(--fold-bg);border:1px solid var(--fold-border);border-radius:8px}body[data-ds-dark-theme] .nUhMVa_confirmPanel{--fold-bg:var(--dsw-alias-bg-layer-3,#353638);--fold-border:var(--dsw-alias-border-l2,#ffffff1f);--fold-ink:var(--dsw-alias-label-primary,#f9fafb);--fold-on-ink:var(--dsw-alias-bg-layer-2,#2c2c2e)}.nUhMVa_confirmPanelRow{box-sizing:border-box;width:100%;min-height:40px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:flex}.nUhMVa_confirmPanelRow:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4176e6);outline-offset:-2px}.nUhMVa_confirmPanelIcon{color:var(--fold-ink);flex:none;display:inline-flex}.nUhMVa_confirmTerminalIcon{color:var(--fold-ink);flex:none;display:block}.nUhMVa_confirmTerminalPrompt{stroke:var(--fold-on-ink);fill:none}.nUhMVa_confirmTerminalDot{fill:var(--fold-on-ink)}.nUhMVa_confirmPanelTitle{min-width:0;color:var(--fold-ink);flex:1 0 auto;font-size:13px;line-height:20px}.nUhMVa_confirmPanelRowStatic{cursor:default}.nUhMVa_confirmPanel[data-state=unchecked]{background:color-mix(in srgb, var(--fold-bg) 35%, transparent);border-style:dashed}.nUhMVa_confirmPanelMeta{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);text-align:right;flex:0 auto;font-size:12px;line-height:20px}.nUhMVa_confirmPanelChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex:none}.nUhMVa_confirmPanelBody{flex-direction:column;gap:10px;padding:0 12px 10px 16px;display:flex}.nUhMVa_confirmCmd{align-items:center;gap:8px;display:flex}.nUhMVa_confirmPanel .nUhMVa_cmd{background:0 0;border-radius:0;flex:1;min-width:0;margin:0;padding:0;line-height:24px}.nUhMVa_confirmCopied{color:var(--dsw-alias-state-success-primary,#22c55e);white-space:nowrap;flex:none;font-size:12px;line-height:24px}.nUhMVa_confirmCopy{width:24px;height:24px;color:var(--fold-ink,#1c1d1f);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.nUhMVa_confirmCopy:hover{background:color-mix(in srgb, var(--fold-ink,#1c1d1f) 8%, transparent)}.nUhMVa_confirmCopy:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4176e6);outline-offset:1px}.nUhMVa_confirmPanel .nUhMVa_caps{gap:6px;padding:0}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capChip{background:var(--fold-on-ink,#fff);border:1px solid var(--fold-border,#e7e8ea);color:var(--fold-ink,#1c1d1f);border-radius:999px;padding:2px 8px;font-size:12px;line-height:18px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capChip.nUhMVa_capChipUncommon{background:var(--fold-ink,#1c1d1f);border-color:var(--fold-ink,#1c1d1f);color:var(--fold-on-ink,#fff);font-weight:600}.nUhMVa_capGroups{grid-template-columns:auto minmax(0,1fr);align-items:baseline;gap:8px 12px;display:grid}.nUhMVa_capGroupLabel{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;font-size:12px;line-height:22px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capMuted{border-color:var(--fold-border,#e7e8ea);color:var(--dsw-alias-label-secondary,#6b7280);padding:2px 8px;font-size:12px;line-height:18px}.nUhMVa_capAhead{flex-direction:column;gap:6px;display:flex}.nUhMVa_capAheadLabel{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_capAheadRow{color:var(--dsw-alias-label-primary,#1f2328);align-items:flex-start;gap:8px;margin:0;font-size:13px;line-height:20px;display:flex}.nUhMVa_capAheadIcon{color:var(--dsw-alias-label-primary,#1f2328);flex:none;margin-top:2px}.nUhMVa_confirmPanel .nUhMVa_caps .nUhMVa_capAddress{color:var(--fold-ink,#1c1d1f);flex-basis:100%;margin:0 0 2px;font-size:13px;line-height:20px}.nUhMVa_capNote,.nUhMVa_confirmPanel .nUhMVa_capCaveat{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_installCaution{background:color-mix(in srgb, var(--dsw-alias-state-warn-primary,#b45309) 12%, transparent);border-radius:8px;padding:12px 13px}.nUhMVa_installCautionLabel{color:var(--dsw-alias-label-secondary,#6b7280);margin:0 0 8px;font-size:12px;line-height:18px}.nUhMVa_installCautionHead{color:var(--dsw-alias-label-primary,#1f2328);align-items:center;gap:6px;margin:0;font-size:13px;font-weight:600;line-height:20px;display:flex}.nUhMVa_installCautionMark{flex:none;display:block}.nUhMVa_installCautionBody{color:var(--dsw-alias-label-primary,#1f2328);margin:6px 0 0;font-size:13px;line-height:20px}.nUhMVa_installCautionFoot{color:var(--dsw-alias-label-primary,#1f2328);align-items:baseline;gap:12px;margin:0;font-size:13px;line-height:20px;display:flex}.nUhMVa_installCautionLink{white-space:nowrap;color:var(--dsw-alias-link,#3b82f6);flex:none;margin-left:auto;font-size:13px;font-weight:600;line-height:20px;text-decoration:none}.nUhMVa_installCautionLink:hover{text-decoration:underline}.nUhMVa_confirmFineprint{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:10px;display:grid}.nUhMVa_recentBlock{margin:2px 0 4px;padding:0 0 8px}.nUhMVa_recentRow{-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l3,#d9dde3) transparent;align-items:stretch;gap:8px;margin-bottom:0;padding-bottom:4px;display:flex;overflow-x:auto}.nUhMVa_recentRow::-webkit-scrollbar{height:6px}.nUhMVa_recentRow::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l3,#d9dde3);border-radius:99px}.nUhMVa_recentRow::-webkit-scrollbar-track{background:0 0}.nUhMVa_recentRow>*{box-sizing:border-box;flex:none;width:min(320px,30.7692% - 7.38462px);min-width:220px}.nUhMVa_recentRow.nUhMVa_recentCollapsed{visibility:hidden;max-height:0;margin-bottom:0;padding-bottom:0;overflow:hidden}.nUhMVa_recentTile{box-sizing:border-box;background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-direction:column;justify-content:space-between;gap:4px;height:80px;padding:8px 12px;transition:background-image .16s cubic-bezier(.16,1,.3,1);display:flex;overflow:hidden}.nUhMVa_recentTile .nUhMVa_installBtn.nUhMVa_installBtn{height:24px;min-height:24px;padding:0 8px}.nUhMVa_recentAv.nUhMVa_recentAv{flex-shrink:0;width:24px;height:24px;font-size:11px}.nUhMVa_recentTitle{align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_recentTitle>:last-child{flex-shrink:0}.nUhMVa_recentName{flex:1;min-width:0}.nUhMVa_recentTitle .nUhMVa_nm{font-size:14px;line-height:20px}.nUhMVa_recentBottom{align-items:flex-end;gap:8px;min-width:0;display:flex}.nUhMVa_recentBottom>:last-child{flex-shrink:0;margin-left:auto}.nUhMVa_recentBottom>:not(:last-child){flex:1;min-width:0}.nUhMVa_recentDesc{color:var(--dsw-alias-label-tertiary,#8b93a1);-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:16px;display:-webkit-box;overflow:hidden}.nUhMVa_recentBottom .nUhMVa_cardMore{padding:0}.nUhMVa_recentHead{justify-content:space-between;align-items:center;gap:8px;margin:10px 0 8px;padding:0 4px;display:flex}.nUhMVa_recentHead .nUhMVa_favoritesSectionHead{margin:0;padding:0;font-weight:600}.nUhMVa_recentToggle{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin:0;padding:0;display:inline-flex}.nUhMVa_recentToggle:hover{color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_recentHide.nUhMVa_recentHide{height:26px;min-height:26px;color:var(--dsw-alias-label-secondary,#6b7280);padding:0 6px}.nUhMVa_recentShow{font:inherit;color:var(--dsw-alias-label-secondary,#8b93a1);cursor:pointer;background:0 0;border:0;align-items:center;gap:4px;margin:0 0 8px;padding:0 4px;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_recentShow:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_masonry{align-items:flex-start;gap:10px;display:flex}.nUhMVa_masonryCol{flex-direction:column;flex:1;gap:10px;min-width:0;display:flex}.nUhMVa_masonryInstalled,.nUhMVa_masonryInstalled .nUhMVa_masonryCol{gap:14px}.nUhMVa_masonry>.nUhMVa_masonryCol>*{align-self:stretch;min-width:0}@media (max-width:680px){.nUhMVa_masonry{flex-direction:column}.nUhMVa_masonryCol{width:100%}.nUhMVa_grid{grid-template-columns:minmax(0,1fr)}}.nUhMVa_swatches{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;gap:0;height:34px;display:flex;overflow:hidden}.nUhMVa_themesGrid{margin-bottom:12px}.nUhMVa_swatches i{flex:1}.nUhMVa_themeToolbar{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:0 4px 12px;display:grid}.nUhMVa_themeSearch{box-sizing:border-box;width:100%;min-width:0}.nUhMVa_themeToolbarActions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.nUhMVa_themeFullscreenBtn.nUhMVa_themeFullscreenBtn{width:28px;min-width:28px;padding:0}.nUhMVa_themeResultBar{min-height:24px;color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:center;padding:0 4px 8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_favoritesSectionHead{color:var(--dsw-alias-label-primary,#1f2328);margin:16px 0 8px;padding:0 4px;font-size:14px;font-weight:500;line-height:22px}.nUhMVa_favoritesSectionHead:first-of-type{margin-top:0}.nUhMVa_brokenPluginNotice{flex-direction:column;gap:8px;margin:0 0 8px;display:flex}.nUhMVa_brokenPluginItem{border:1px solid var(--dsw-alias-state-warn-tertiary,#b4530933);background:var(--dsw-alias-state-warn-tertiary,#b453090f);color:var(--dsw-alias-state-warn-primary,#b45309);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:10px;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_brokenPluginText{flex-direction:column;gap:2px;min-width:0;display:flex}.nUhMVa_favoritesStaleBar{border:1px solid var(--dsw-alias-state-warn-tertiary,#b4530933);background:var(--dsw-alias-state-warn-tertiary,#b453090f);color:var(--dsw-alias-state-warn-primary,#b45309);border-radius:8px;flex-flow:column wrap;justify-content:space-between;align-items:stretch;gap:8px;margin:0 0 8px;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_favoritesStaleRow{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_favoritesStaleName{overflow-wrap:anywhere;min-width:0}.nUhMVa_favoritesStaleOnly{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.nUhMVa_themeGallery{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:10px;display:grid}.nUhMVa_themeCard{border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);background:var(--dsw-alias-bg-layer-1,#fff);flex-direction:column;min-width:0;transition:border-color .16s cubic-bezier(.16,1,.3,1),box-shadow .16s cubic-bezier(.16,1,.3,1),transform .16s cubic-bezier(.16,1,.3,1);display:flex;overflow:hidden}.nUhMVa_themeCard:hover{border-color:var(--dsw-alias-label-dimmed,#c8ccd4);box-shadow:var(--dsw-shadow-lv1,0 4px 12px #1f232814);transform:translateY(-1px)}.nUhMVa_themeCover{aspect-ratio:16/10;border:0;border-bottom:.5px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f3f4f6);width:100%;color:var(--dsw-alias-label-secondary,#6b7280);cursor:zoom-in;border-radius:0;padding:0;display:block;position:relative;overflow:hidden}.nUhMVa_themeCover img{object-fit:contain;background:var(--dsw-alias-bg-layer-2,#f3f4f6);width:100%;height:100%;transition:transform .18s cubic-bezier(.16,1,.3,1);display:block}.nUhMVa_themeCover:hover img{transform:scale(1.012)}.nUhMVa_themeCover:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4f6ef7);outline-offset:-3px}.nUhMVa_themeCoverEmpty{cursor:default;color:var(--dsw-alias-label-tertiary,#8b93a1);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border-radius:var(--dsw-radius-lg,16px) 0 0 0;flex-direction:column;justify-content:center;align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_themePreviewAction,.nUhMVa_themePreviewCount{color:#fff;background:#14181fc7;border:1px solid #ffffff57;border-radius:4px;align-items:center;height:24px;padding:0 8px;font-size:11px;line-height:16px;display:inline-flex;position:absolute;bottom:8px}.nUhMVa_themePreviewAction{gap:4px;right:8px}.nUhMVa_themePreviewCount{left:8px}.nUhMVa_themeCardBody{flex-direction:column;flex:1;gap:8px;padding:14px;display:flex}.nUhMVa_themeCardHead{align-items:flex-start;gap:8px;min-width:0;display:flex}.nUhMVa_themeIdentity{flex:1;min-width:0}.nUhMVa_themeStatus,.nUhMVa_themeStatusMuted{white-space:nowrap;border-radius:4px;flex:none;align-items:center;min-height:22px;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_themeStatus{background:var(--dsw-alias-state-success-tertiary,#16a34a1a);color:var(--dsw-alias-state-success-primary,#15803d)}.nUhMVa_themeStatusMuted{background:var(--dsw-alias-bg-layer-2,#f3f4f6);color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_themeDescription{min-height:36px;color:var(--dsw-alias-label-tertiary,#8b93a1);-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;font-size:12px;line-height:18px;display:-webkit-box;overflow:hidden}.nUhMVa_themeCardFooter{justify-content:space-between;align-items:center;gap:8px;margin-top:auto;padding-top:4px;display:flex}.nUhMVa_themeLifecycle{min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:18px;overflow:hidden}.nUhMVa_themeActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-left:auto;display:flex}@container (width<=900px){.nUhMVa_themeGallery{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width<=680px){.nUhMVa_themeGallery{grid-template-columns:repeat(2,minmax(0,1fr))}}@container (width<=460px){.nUhMVa_themeGallery{grid-template-columns:minmax(0,1fr)}}.nUhMVa_exportLogBtn{white-space:nowrap;flex-shrink:0}@container (width<=560px){.nUhMVa_headTop{flex-direction:column;align-items:stretch}.nUhMVa_headTop>.nUhMVa_titleRow{margin-left:0}}@container (width<=420px){.nUhMVa_exportLogBtn{align-self:center}.nUhMVa_themeToolbar{grid-template-columns:minmax(0,1fr)}.nUhMVa_themeCardHead{flex-wrap:wrap}.nUhMVa_themeStatus,.nUhMVa_themeStatusMuted{order:3}}@container (width<=280px){.nUhMVa_themeCardFooter{flex-direction:column;align-items:flex-start}.nUhMVa_themeActions{justify-content:flex-start;width:100%;margin-left:0}}@media (max-width:560px){[role=dialog]:has([data-dsh-crate-root])>nav{display:none}[role=dialog]:has([data-dsh-crate-root])>div{flex:100%;width:100%;min-width:0}}.nUhMVa_panelHost{box-sizing:border-box;height:100%;min-height:0;padding:calc(28px + var(--dsh-frame-top-clearance,0px)) 0 0;flex-direction:column;display:flex}.nUhMVa_panelHost>.nUhMVa_root{flex:1;width:100%;min-width:0;min-height:0;container-type:normal}.nUhMVa_panelHost .nUhMVa_head,.nUhMVa_panelHost .nUhMVa_body{padding-left:max(max(16px,min(4vw,48px)),50% - 480px);padding-right:max(max(16px,min(4vw,48px)),50% - 480px);container-type:inline-size}[data-dsh-crate-plugins-tab=true]{--dshm-host-sticky-top:0px;--dshm-plugins-head-height:0px}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]){--dshm-empty-view-height:100vh;height:auto}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body{min-height:calc(100vh - var(--dshm-host-sticky-top,0px) - var(--dshm-plugins-head-height,0px));flex-direction:column;flex:none;display:flex;overflow:visible}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body>.nUhMVa_empty{box-sizing:border-box;width:100%;max-width:none;max-height:var(--dshm-empty-view-height,100vh);flex-direction:column;flex:auto;justify-content:center;align-items:center;margin:0;padding:32px;display:flex}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_top{position:fixed}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_stickyHead{display:contents}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_head{z-index:6;top:var(--dshm-host-sticky-top,0px);background:var(--dshm-sticky-bg,var(--dsw-alias-bg-base,#fff));margin:0 -4px;padding:4px 4px 6px;position:sticky}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_cats{z-index:5;top:calc(var(--dshm-host-sticky-top,0px) + var(--dshm-plugins-head-height,0px));background:var(--dshm-sticky-bg,var(--dsw-alias-bg-base,#fff));position:sticky}[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_head[data-dshm-stuck=true],[data-dsh-crate-plugins-tab=true]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_cats[data-dshm-stuck=true]{background:var(--dshm-stuck-bg,var(--dshm-sticky-bg,var(--dsw-alias-bg-base,#fff)))}[role=dialog]:has([data-dsh-crate-fullscreen=true]){border-radius:0;width:100vw;max-width:none;height:100vh;max-height:none;position:fixed;top:0;bottom:0;left:0;right:0}[data-dsh-crate-plugins-tab=true][data-dsh-crate-fullscreen=true]{z-index:60;background:var(--dsw-alias-bg-layer-1,#fff);position:fixed;top:0;bottom:0;left:0;right:0;height:100vh!important}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]){--dshm-head-h:0px;height:auto}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_body{flex:none;overflow:visible}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_head{z-index:6;background:var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-base,#fff));position:sticky;top:0}[data-dsh-crate-surface=settings]:not([data-dsh-crate-fullscreen=true]) .nUhMVa_stickyHead{top:calc(var(--dshm-head-h,0px) + 8px);background:var(--dsw-alias-bg-layer-2,var(--dsw-alias-bg-base,#fff))}@media (prefers-reduced-motion:reduce){.nUhMVa_themeCard,.nUhMVa_themeCover img{transition:none}.nUhMVa_themeCard:hover{transform:none}}.nUhMVa_card{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;align-self:start;gap:10px;min-width:0;padding:12px 14px;transition:background-image .16s cubic-bezier(.16,1,.3,1);display:flex}@media (hover:hover){.nUhMVa_card:hover,.nUhMVa_recentTile:hover{background-image:linear-gradient(var(--dsw-alias-interactive-bg-hover,#2631480f),var(--dsw-alias-interactive-bg-hover,#2631480f))}.nUhMVa_installBtn:hover:not(:disabled){background:var(--dsw-alias-button-primary-fill,#0f1115);color:var(--dsw-alias-label-primary-foreground,#fff);border-color:#0000}}.nUhMVa_row1{align-items:flex-start;gap:10px;min-width:0;display:flex}.nUhMVa_cardAction{flex-shrink:0;align-items:center;display:inline-flex}.nUhMVa_installBtn.nUhMVa_installBtn{min-width:64px}.nUhMVa_av{width:16px;height:16px;color:var(--dsw-alias-label-primary,#1f2328);object-fit:cover;background:var(--dsw-alias-bg-layer-2,#f3f4f6);border-radius:50%;flex-shrink:0;place-items:center;font-size:9px;font-weight:700;display:grid}.nUhMVa_nm{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}.nUhMVa_nmLink{color:inherit;text-decoration:none;display:block}.nUhMVa_nmLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_repoMark{color:var(--dsw-alias-label-secondary,#6b7280);vertical-align:-1px;flex-shrink:0;margin-left:5px;display:inline-block}.nUhMVa_nmLink:hover .nUhMVa_repoMark{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_byline{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;margin-top:2px;display:flex}.nUhMVa_meta{color:var(--dsw-alias-label-secondary,#9ca3af);margin-top:2px;font-size:11px}.nUhMVa_metaInline{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px}.nUhMVa_owner{color:var(--dsw-alias-label-secondary,#5c6570);text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:44px;font-size:11px;line-height:18px;overflow:hidden}.nUhMVa_desc{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:0;font-size:12px;line-height:18px}.nUhMVa_descClamp{-webkit-line-clamp:5;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nUhMVa_descClamp3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.nUhMVa_descToggle{width:20px;height:16px;color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:pointer;background:0 0;border:none;justify-content:center;align-items:center;margin-top:2px;padding:0;display:flex}.nUhMVa_descToggle:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_foot{flex-wrap:nowrap;align-items:flex-end;gap:8px;display:flex}.nUhMVa_foot .nUhMVa_metaInline,.nUhMVa_foot .nUhMVa_src{white-space:nowrap}.nUhMVa_footTags{flex-wrap:wrap;flex:1 1 0;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_grow{flex:1}.nUhMVa_titleRow{flex-wrap:wrap;align-items:center;gap:8px 10px;display:flex}.nUhMVa_titleActions{flex-wrap:wrap;flex:0 auto;justify-content:flex-end;align-items:center;gap:4px 10px;min-width:0;margin-left:auto;display:flex}.nUhMVa_titleActions:empty{display:none}.nUhMVa_titleActions>*{white-space:nowrap;flex-shrink:0}.nUhMVa_version{color:var(--dsw-alias-label-tertiary,#8b93a1);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12px;line-height:20px}.nUhMVa_marketVersionGroup{align-items:center;gap:6px;display:inline-flex}.nUhMVa_marketVersionWait{color:var(--dsw-alias-label-secondary,#5c6570);font-size:12px;line-height:20px}.nUhMVa_repoLink{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;font-size:12px;line-height:20px;text-decoration:none}.nUhMVa_repoLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_noteRow{flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0;display:flex}.nUhMVa_desc.nUhMVa_noteRow,.nUhMVa_desc.nUhMVa_noteRow+.nUhMVa_noteRow,.nUhMVa_noteEdit+.nUhMVa_noteRow{margin-top:6px}.nUhMVa_noteMine{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_noteToggle{font:inherit;color:var(--dsw-alias-label-tertiary,#8b93a1);cursor:pointer;white-space:nowrap;background:0 0;border:none;flex-shrink:0;padding:0;font-size:11px;line-height:16px}.nUhMVa_noteToggle:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_noteEdit{flex-direction:column;gap:6px;min-width:0;margin-top:6px;display:flex}.nUhMVa_noteInput{box-sizing:border-box;width:100%;min-width:0;max-width:100%;display:flex}.nUhMVa_noteInput input{box-sizing:border-box;flex:auto;width:100%;min-width:0}.nUhMVa_noteEditBar{justify-content:flex-end;align-items:center;gap:6px;display:flex}.nUhMVa_noteCount{font-variant-numeric:tabular-nums;color:var(--dsw-alias-label-tertiary,#8b93a1);margin-right:auto;font-size:11px;line-height:16px}.nUhMVa_descTight{min-height:0}.nUhMVa_src{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px;text-decoration:none}.nUhMVa_src:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_dot{vertical-align:2px;margin-left:5px}.nUhMVa_act{flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px;font-size:11px;display:flex}.nUhMVa_actLive{color:var(--dsw-alias-state-success-primary,#16a34a);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actWarn{color:var(--dsw-alias-state-warn-primary,#b45309);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actBroken{color:var(--dsw-alias-state-error-primary,#dc2626);align-items:center;gap:4px;font-weight:600;display:inline-flex}.nUhMVa_actWhy{color:var(--dsw-alias-label-secondary,#6b7280);margin-top:2px}.nUhMVa_loading{color:var(--dsw-alias-label-secondary,#9ca3af);flex-direction:column;align-items:center;gap:12px;padding:48px;font-size:13px;display:flex}.nUhMVa_spin{color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;animation:.8s linear infinite nUhMVa_sp;display:inline-flex}.nUhMVa_logoMark{color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;display:inline-flex}.nUhMVa_logoSweep{animation:3s linear infinite nUhMVa_dshmCrateSweep}@keyframes nUhMVa_dshmCrateSweep{0%{transform:translate(-13px)}30%,to{transform:translate(18px)}}@media (prefers-reduced-motion:reduce){.nUhMVa_logoSweep{display:none}.nUhMVa_spin{animation:1.5s ease-in-out infinite nUhMVa_dshmPlugFade}}@keyframes nUhMVa_dshmPlugFade{0%,to{opacity:1}50%{opacity:.35}}@keyframes nUhMVa_sp{to{transform:rotate(360deg)}}.nUhMVa_progress{background:var(--dsw-alias-bg-layer-2,#f3f4f6);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:8px;flex-wrap:wrap;align-items:center;gap:9px;margin:0;padding:8px 12px;font-size:12px;display:flex}.nUhMVa_bar{background:var(--dsw-alias-border-l1,#e5e7eb);border-radius:99px;width:100%;height:4px;overflow:hidden}.nUhMVa_barFill{background:var(--dsw-alias-brand-primary,#4f6ef7);border-radius:99px;height:100%;transition:width .6s}.nUhMVa_barWave{width:30%;animation:1.2s ease-in-out infinite nUhMVa_dshmSlide}@keyframes nUhMVa_dshmSlide{0%{margin-left:-30%}to{margin-left:100%}}.nUhMVa_irow .nUhMVa_progress{margin-top:8px}.nUhMVa_progress code{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.nUhMVa_empty{color:var(--dsw-alias-label-secondary,#5c6570);text-align:center;max-width:520px;margin:0 auto;padding:56px 32px 40px;font-size:13px;line-height:20px}.nUhMVa_err{color:var(--dsw-alias-state-error-primary,#dc2626);white-space:pre-wrap;word-break:break-all;margin:8px 0;font-size:12px}.nUhMVa_cardBlocked{border-color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_conflictHead{align-items:flex-start;gap:8px;display:flex}.nUhMVa_conflictIcon{color:var(--dsw-alias-state-error-primary,#dc2626);flex-shrink:0;margin-top:1px}.nUhMVa_conflictTitle{color:var(--dsw-alias-state-error-primary,#dc2626);font-size:13px;font-weight:600;line-height:18px}.nUhMVa_conflictBody{margin:0;font-size:12px;line-height:19px}.nUhMVa_roster{background:var(--dsw-alias-border-l2,#e5e7eb);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;gap:1px;display:flex;overflow:hidden}.nUhMVa_rosterRow{background:var(--dsw-alias-bg-layer-1,#fff);align-items:center;gap:8px;padding:7px 10px;display:flex}.nUhMVa_rosterMain{flex-direction:column;min-width:0;display:flex}.nUhMVa_rosterName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;font-weight:600;overflow:hidden}.nUhMVa_rosterAuthor{color:var(--dsw-alias-label-secondary,#9ca3af);text-overflow:ellipsis;white-space:nowrap;font-size:10.5px;overflow:hidden}.nUhMVa_rosterTag{border-radius:4px;flex-shrink:0;margin-left:auto;padding:1px 6px;font-size:10.5px;font-weight:600}.nUhMVa_rosterTagKeep{color:var(--dsw-alias-state-success-primary,#16a34a);background:#16a34a1f}.nUhMVa_rosterTagDrop{color:var(--dsw-alias-state-error-primary,#dc2626);background:#dc26261f}.nUhMVa_rosterRowOut .nUhMVa_rosterName{text-decoration:line-through}.nUhMVa_rosterRowOut{opacity:.62}.nUhMVa_rosterSplit{background:var(--dsw-alias-border-l2,#e5e7eb);height:1px}.nUhMVa_reassure{color:var(--dsw-alias-label-secondary,#6b7280);align-items:center;gap:5px;margin:0;font-size:11.5px;line-height:17px;display:flex}.nUhMVa_reassureOk{color:var(--dsw-alias-state-success-primary,#16a34a);flex-shrink:0}.nUhMVa_conflictWhy{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:17px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;margin-top:2px}.nUhMVa_conflictWhyText{margin-top:5px;font-family:-apple-system,BlinkMacSystemFont,PingFang SC,sans-serif}.nUhMVa_choices{flex-direction:column;gap:7px;display:flex}.nUhMVa_choice{text-align:left;font:inherit;cursor:pointer;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:9px;align-items:flex-start;gap:9px;padding:9px 11px;display:flex}.nUhMVa_choice:has(input:disabled){cursor:default;opacity:.6}.nUhMVa_choiceOn{border-color:var(--dsw-alias-brand-primary,#4f6ef7);background:var(--dsw-alias-bg-layer-2,#f5f7ff)}.nUhMVa_choiceRadio{width:13px;height:13px;accent-color:var(--dsw-alias-brand-primary,#4f6ef7);flex-shrink:0;margin:2px 0 0}.nUhMVa_choiceMain{flex-direction:column;gap:3px;min-width:0;display:flex}.nUhMVa_choiceTitle{font-size:12px;font-weight:600;line-height:17px}.nUhMVa_choiceNote{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:16px}.nUhMVa_choiceSafe{color:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_stateTag{white-space:nowrap;background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-height:20px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:5px;flex-shrink:0;align-items:center;gap:5px;padding:1px 7px;font-size:11px;line-height:16px;display:inline-flex}.nUhMVa_stateTag[data-on=true]{color:var(--dsw-alias-state-success-primary,#16a34a);background:color-mix(in srgb, var(--dsw-alias-state-success-primary,#16a34a) 10%, transparent)}.nUhMVa_stateDot{background:var(--dsw-alias-label-tertiary,#8b93a1);border-radius:999px;flex:none;width:6px;height:6px}.nUhMVa_stateDot[data-on=true]{background:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_metaTag{text-overflow:ellipsis;white-space:nowrap;background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-width:0;max-width:100%;min-height:20px;color:var(--dsw-alias-label-tertiary,#8b93a1);border-radius:5px;flex-shrink:1;padding:1px 7px;font-size:11px;line-height:18px;display:inline-block;overflow:hidden}.nUhMVa_metaTagOk{color:var(--dsw-alias-state-success-primary,#16a34a);background:color-mix(in srgb, var(--dsw-alias-state-success-primary,#16a34a) 10%, transparent)}.nUhMVa_irow{transition:background-image .16s cubic-bezier(.16,1,.3,1)}.nUhMVa_irow:hover{background-image:linear-gradient(var(--dsw-alias-interactive-bg-hover,#2631480f),var(--dsw-alias-interactive-bg-hover,#2631480f))}.nUhMVa_irowHead{align-items:flex-start;gap:8px;min-width:0;display:flex}.nUhMVa_irowHead .nUhMVa_irowName{flex:1 1 0;min-width:0}.nUhMVa_irowMenu{flex-shrink:0;margin-top:-4px;margin-left:auto;margin-right:-6px}.nUhMVa_irowMeta{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-top:2px;font-size:12px;line-height:18px;display:flex}.nUhMVa_irowMetaText{min-width:0}.nUhMVa_irowMeta .nUhMVa_notesLink{flex-shrink:0;margin:0;display:inline}.nUhMVa_irowPath{align-items:center;gap:6px;min-width:0;margin-top:6px;display:flex}.nUhMVa_irowPath .nUhMVa_spec{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nUhMVa_irowPathIcon,.nUhMVa_irowStatusIcon{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;display:inline-flex}.nUhMVa_irowPathCopy{flex-shrink:0;align-items:center;gap:4px;margin-left:auto;display:inline-flex}.nUhMVa_irowPath .nUhMVa_confirmCopy{width:20px;height:20px;color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_irowPath .nUhMVa_confirmCopy:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_irowPath .nUhMVa_confirmCopied{color:var(--dsw-alias-label-secondary,#6b7280);order:1;font-size:11px}.nUhMVa_irowDesc{flex:100%;min-width:0}.nUhMVa_irowStatus{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;margin-top:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_irowStatus+.nUhMVa_irowStatus{margin-top:4px}.nUhMVa_irowStatusPart{align-items:baseline;gap:6px;display:inline-flex}.nUhMVa_irowStatus .nUhMVa_notesLink{margin:0;display:inline}.nUhMVa_irowStatus .nUhMVa_metaInline{font-size:12px}.nUhMVa_irowStatusAction{margin-left:auto;display:inline-flex}.nUhMVa_irowStatusAction .nUhMVa_noteToggle{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_irowStatusAction .nUhMVa_noteToggle:hover{color:var(--dsw-alias-label-primary,#1f2328);text-decoration:none}.nUhMVa_descMore{cursor:pointer;font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);background:0 0;border:none;align-items:center;gap:2px;margin-top:4px;padding:0;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_descMore:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_noteAdd{cursor:pointer;font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;background:0 0;border:none;align-items:center;gap:6px;margin-top:4px;padding:0;font-size:12px;line-height:18px;display:inline-flex}.nUhMVa_noteAdd:hover,.nUhMVa_irowStatusFact{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_irowStatusSep{color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_nameLink{color:inherit;text-decoration:none}.nUhMVa_irowName{text-overflow:clip;flex-wrap:wrap;align-items:baseline;gap:6px;min-width:0;display:flex;overflow:visible}.nUhMVa_irowNameText{overflow-wrap:anywhere;white-space:normal;min-width:0}.nUhMVa_irowName>.nUhMVa_owner{flex:none}.nUhMVa_nameLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_opWrap{flex-shrink:0;margin-bottom:6px;display:inline-flex}.nUhMVa_opEntry{font:inherit;cursor:pointer;white-space:nowrap;height:28px;color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-1,#fff);border:.5px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:8px;align-items:center;gap:5px;padding:0 7px 0 10px;font-size:12px;transition:background-color .12s,color .12s,border-color .12s;display:inline-flex;position:relative}.nUhMVa_opEntryQuiet{background:var(--dsw-alias-bg-module-platform,#f4f5f7);color:var(--dsw-alias-label-secondary,#5c6570)}.nUhMVa_opEntry:hover{color:var(--dsw-alias-label-primary,#1f2328);border-color:var(--dsw-alias-border-l2,#e5e7eb);background:var(--dsw-alias-bg-module-platform,#f4f5f7)}.nUhMVa_opChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex-shrink:0;transition:transform .14s cubic-bezier(.16,1,.3,1);display:inline-flex}.nUhMVa_opChevronOpen{transform:rotate(180deg)}.nUhMVa_opEntryAlert{border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_opDot{background:var(--dsw-alias-state-error-primary,#dc2626);border-radius:99px;width:8px;height:8px;position:absolute;top:-3px;right:-3px}.nUhMVa_opPanel{z-index:40;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l3,#d9dde3);border-radius:12px;width:460px;max-width:100%;max-height:70vh;position:absolute;top:calc(100% + 6px);right:0;overflow-y:auto;box-shadow:0 20px 52px #00000047}.nUhMVa_opHead{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:center;gap:8px;padding:9px 14px;display:flex}.nUhMVa_opPanelTitle{font-size:12.5px;font-weight:600}.nUhMVa_opRepairTitle{color:var(--dsw-alias-label-secondary,#667085);padding:9px 14px 3px;font-size:12px;font-weight:600}.nUhMVa_opCloseBtn.nUhMVa_opCloseBtn{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);padding:0 6px}.nUhMVa_opAggregate{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f7f8fa);padding:9px 14px}.nUhMVa_opAggregateTop{font-variant-numeric:tabular-nums;font-size:12px;font-weight:600}.nUhMVa_opAggregateHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:4px;font-size:10.5px}.nUhMVa_opRow{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:flex-start;gap:9px;padding:9px 14px;display:flex}.nUhMVa_opRow:last-child{border-bottom:none}.nUhMVa_opRowAlert{background:#dc26260f}.nUhMVa_opIcon{flex-shrink:0;place-items:center;width:14px;margin-top:1px;display:grid}.nUhMVa_opQueuedIcon{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:12px}.nUhMVa_opMain{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.nUhMVa_opTop{align-items:baseline;gap:6px;min-width:0;display:flex}.nUhMVa_opVerb{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;font-size:12px}.nUhMVa_opName{text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:600;overflow:hidden}.nUhMVa_opStatus{color:var(--dsw-alias-label-tertiary,#8b93a1);overflow-wrap:anywhere;font-size:10.5px;line-height:16px}.nUhMVa_opStatusBad{color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_opAgents{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:2px 0 0;font-size:10.5px;line-height:16px}.nUhMVa_opAgentsSummary{cursor:pointer;color:var(--dsw-alias-label-secondary,#5c6570);font-size:10.5px;line-height:16px;list-style:none}.nUhMVa_opAgentsSummary::-webkit-details-marker{display:none}.nUhMVa_opAgentsSummary:before{content:\"▸\";width:10px;transition:transform .12s cubic-bezier(.16,1,.3,1);display:inline-block}.nUhMVa_opAgents[open]>.nUhMVa_opAgentsSummary:before{transform:rotate(90deg)}.nUhMVa_opAgentsList{flex-direction:column;gap:1px;margin:2px 0 0;padding:0 0 0 12px;list-style:none;display:flex}.nUhMVa_opAgentsId{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);white-space:nowrap;text-overflow:ellipsis;font-size:10.5px;line-height:15px;overflow:hidden}.nUhMVa_opActions{flex-shrink:0;align-items:center;gap:6px;margin-top:1px;display:flex}.nUhMVa_opDecision{border-top:1px dashed var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;margin-top:8px;padding-top:8px;display:flex}.nUhMVa_opDecisionFoot{align-items:center;gap:8px;display:flex}.nUhMVa_conflictDetailsToggle{font:inherit;cursor:pointer;color:var(--dsw-alias-label-tertiary,#8b93a1);background:0 0;border:none;align-items:center;gap:4px;padding:2px 0;font-size:11px;display:inline-flex}.nUhMVa_conflictDetailsToggle:hover{color:var(--dsw-alias-label-secondary,#6b7280)}.nUhMVa_opEmpty{text-align:center;color:var(--dsw-alias-label-secondary,#6b7280);padding:30px 14px;font-size:12px}.nUhMVa_opEmptyHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:4px;font-size:11px}.nUhMVa_cardBlockedMark{font:inherit;cursor:pointer;color:var(--dsw-alias-state-error-primary,#dc2626);border:1px solid var(--dsw-alias-state-error-primary,#dc2626);background:#dc262614;border-radius:7px;align-items:center;gap:5px;padding:4px 9px;font-size:11px;display:inline-flex}.nUhMVa_dangerBtn.nUhMVa_dangerBtn{color:var(--dsw-alias-state-error-primary,#dc2626);border-color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_dangerBtn.nUhMVa_dangerBtn:hover:not(:disabled){background:var(--dsw-alias-state-error-primary,#dc2626);color:#fff}.nUhMVa_dangerArmed.nUhMVa_dangerArmed{background:var(--dsw-alias-state-error-primary,#dc2626);border-color:var(--dsw-alias-state-error-primary,#dc2626);color:var(--dsw-alias-label-primary-foreground,#fff)}.nUhMVa_retryBtn{margin-top:4px}.nUhMVa_irow{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;gap:12px;min-width:0;padding:16px 18px;display:flex}.nUhMVa_irowDescBand{flex-direction:column;gap:10px;min-width:0;margin-top:10px;display:flex}.nUhMVa_irowDescBand .nUhMVa_noteEdit{margin-top:0}.nUhMVa_irowBody{min-width:0;color:var(--dsw-alias-label-secondary,#5c6570);flex-direction:column;gap:10px;margin:0;font-size:13px;line-height:20px;display:flex}.nUhMVa_irowBody .nUhMVa_irowDesc{flex:none;width:100%}.nUhMVa_irowBody .nUhMVa_desc{color:var(--dsw-alias-label-secondary,#5c6570);font-size:13px;line-height:20px}.nUhMVa_irowBody .nUhMVa_noteMine{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_irowBody .nUhMVa_descMore{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:12px;line-height:18px}.nUhMVa_irowFootRow{flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0;display:flex}.nUhMVa_irowFootRow .nUhMVa_hostRequirement{flex:0 auto;min-width:0}.nUhMVa_irowNoteActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 10px;min-width:0;margin-left:auto;display:flex}.nUhMVa_irowNoteActionsSpaced{margin-top:0}.nUhMVa_irowNoteActions .nUhMVa_noteAdd,.nUhMVa_irowNoteActions .nUhMVa_noteToggle{color:var(--dsw-alias-label-tertiary,#8b93a1);margin-top:0;font-size:12px;line-height:18px}.nUhMVa_irowNoteActions .nUhMVa_noteAdd:hover,.nUhMVa_irowNoteActions .nUhMVa_noteToggle:hover{color:var(--dsw-alias-label-primary,#1f2328);text-decoration:none}.nUhMVa_irowStatusBand{background:var(--dsw-alias-bg-module-platform,#f4f5f7);border-radius:10px;flex-direction:column;gap:6px;min-width:0;margin-top:2px;padding:10px 12px;display:flex}.nUhMVa_irowStatusBand .nUhMVa_irowStatus{margin-top:0}.nUhMVa_irowStatusBand .nUhMVa_irowStatus+.nUhMVa_irowStatus{margin-top:4px}.nUhMVa_irowStatusMuted{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_irowIncompat{flex-direction:column;gap:4px;min-width:0;display:flex}.nUhMVa_irowIncompatTitle{color:var(--dsw-alias-label-primary,#1f2328);font-size:12px;font-weight:600;line-height:18px}.nUhMVa_irowIncompatBody{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_irowActions{border-top:.5px solid var(--dsw-alias-border-l2,#e5e7eb);flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:8px;min-width:0;margin-top:-6px;padding-top:12px;display:flex}.nUhMVa_irowTrailing{flex-flow:column;flex-shrink:0;align-items:flex-end;gap:4px;min-width:0;margin-left:auto;display:inline-flex}.nUhMVa_irowTrailingRow{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px 8px;min-width:0;display:inline-flex}.nUhMVa_irowTrailingHint{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;flex-shrink:0;align-items:center;gap:4px;font-size:11px;line-height:16px;display:inline-flex}.nUhMVa_irowTrailingHint svg{flex-shrink:0}.nUhMVa_irowTrailing .nUhMVa_metaTag{flex-shrink:1;min-width:0}.nUhMVa_irowUpdateBtn.nUhMVa_irowUpdateBtn{color:var(--dsw-alias-label-primary,#1f2328);border-color:var(--dsw-alias-border-l3,#b8bec8);background:var(--dsw-alias-bg-layer-1,#fff)}.nUhMVa_irowUpdateBtn.nUhMVa_irowUpdateBtn:hover:not(:disabled){border-color:var(--dsw-alias-label-secondary,#6b7280);background:var(--dsw-alias-bg-module-platform,#f4f5f7)}.nUhMVa_irowMissing{filter:grayscale();opacity:.5}.nUhMVa_irow>.nUhMVa_src,.nUhMVa_irow>.nUhMVa_owner,.nUhMVa_irow button{white-space:nowrap;flex-shrink:0}.nUhMVa_tabSearchRow{align-items:center;gap:8px;padding:0 4px 10px;display:flex}.nUhMVa_tabSearch{flex:1;min-width:0}.nUhMVa_groupBulkActions{flex-wrap:wrap;align-items:center;gap:8px;padding:0 4px 10px;display:flex}.nUhMVa_caps{flex-wrap:wrap;align-items:center;gap:4px;min-width:0;padding:0 2px 6px;font-size:11px;line-height:1.5;display:flex}.nUhMVa_capsTitle{color:var(--dsw-alias-label-secondary,#8b949e);cursor:help}.nUhMVa_capChip{border:1px solid var(--dsw-alias-border-l2,#30363d);color:var(--dsw-alias-label-primary,#c9d1d9);white-space:nowrap;border-radius:999px;padding:0 6px}.nUhMVa_capMuted{border:1px dashed var(--dsw-alias-border-l2,#30363d);color:var(--dsw-alias-label-secondary,#8b949e);white-space:nowrap;border-radius:999px;padding:0 6px}.nUhMVa_capCaveat{color:var(--dsw-alias-label-tertiary,#8b93a1);align-items:baseline;gap:12px;margin:6px 0 0;font-size:11px;line-height:16px;display:flex}.nUhMVa_capCaveatNote{min-width:0}.nUhMVa_capCaveatAt{white-space:nowrap;flex:none;margin-left:auto}.nUhMVa_searchField{box-sizing:border-box;min-width:0;position:relative}.nUhMVa_searchInput.nUhMVa_searchInput{box-sizing:border-box;width:100%;min-width:0;padding-right:34px}.nUhMVa_searchClear{width:24px;height:24px;color:var(--dsw-alias-label-secondary,#59636e);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:4px;justify-content:center;align-items:center;padding:0;font-size:20px;line-height:1;display:flex;position:absolute;top:50%;right:5px;transform:translateY(-50%)}.nUhMVa_searchClear:hover{background:var(--dsw-alias-bg-layer-2,#f3f4f6);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_searchClear:focus-visible{outline:2px solid var(--dsw-alias-state-business-primary,#4f6ef7);outline-offset:1px}.nUhMVa_spec{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;min-width:0}.nUhMVa_specTag{white-space:nowrap;border-radius:4px;flex-shrink:0;align-items:center;height:16px;padding:0 5px;font-size:10px;font-weight:600;display:inline-flex}.nUhMVa_specTagGit{color:var(--dsw-alias-state-business-primary,#0b7285);background:#12a3c41f}.nUhMVa_specTagFile{color:var(--dsw-alias-state-warn-primary,#b07d1b);background:#f0b42924}.nUhMVa_backupCheckList .nUhMVa_grow{white-space:nowrap;text-overflow:ellipsis;flex:70%;min-width:0;overflow:hidden}.nUhMVa_backupCheckList .nUhMVa_spec{text-align:right;white-space:nowrap;text-overflow:ellipsis;flex:0 30%;max-width:30%;overflow:hidden}.nUhMVa_staleAction{word-break:normal;flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.nUhMVa_pct{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;font-size:11px;font-weight:600}.nUhMVa_pager{flex-wrap:nowrap;justify-content:space-between;align-items:center;gap:8px;margin:16px 0 4px;display:flex}.nUhMVa_loadMore{justify-content:center;margin:16px 0 4px;display:flex}.nUhMVa_pagerPages{flex-wrap:nowrap;flex:1;justify-content:center;align-items:center;gap:4px;min-width:0;display:flex}.nUhMVa_pagerMeta{flex-wrap:nowrap;flex-shrink:0;align-items:center;gap:6px;display:flex}.nUhMVa_pagerPages button,.nUhMVa_pagerMeta button{min-width:0;padding:0 8px}.nUhMVa_pageEllipsis{color:var(--dsw-alias-label-secondary,#9ca3af);padding:0 1px;font-size:12px}.nUhMVa_pageInfo{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;font-size:12px}@container (width<=544px){.nUhMVa_pager{flex-wrap:wrap;justify-content:center;gap:8px}.nUhMVa_pagerPages{flex-basis:100%}}.nUhMVa_depBadge{border:1px solid var(--dsw-alias-state-warn-primary,#b45309);color:var(--dsw-alias-state-warn-primary,#b45309);white-space:nowrap;border-radius:4px;flex-shrink:0;margin-left:6px;padding:1px 6px;font-size:11px;font-weight:600;line-height:16px}.nUhMVa_deprecate{color:var(--dsw-alias-state-warn-primary,#b45309);background:var(--dsw-alias-bg-layer-2,#fdf3e3);border:1px solid var(--dsw-alias-border-l2,#f3e3c3);border-radius:8px;margin:0;padding:8px 10px;font-size:12px;line-height:18px}.nUhMVa_deprecate a{color:var(--dsw-alias-state-warn-primary,#b45309);text-decoration:underline}.nUhMVa_deprecate .nUhMVa_src{margin-left:8px}.nUhMVa_depLine{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.nUhMVa_switch{border:1px solid var(--dsw-alias-border-l2,#d9dde3);background:var(--dsw-alias-bg-layer-2,#e5e7eb);cursor:pointer;border-radius:99px;flex-shrink:0;width:38px;height:22px;padding:0;transition:background .15s,border-color .15s;position:relative}.nUhMVa_switchOn{background:var(--dsw-alias-state-success-primary,#16a34a);border-color:var(--dsw-alias-state-success-primary,#16a34a)}.nUhMVa_switchMixed{background:var(--dsw-alias-state-warn-primary,#b45309);border-color:var(--dsw-alias-state-warn-primary,#b45309)}.nUhMVa_switchKnob{background:#fff;border-radius:99px;width:16px;height:16px;transition:left .15s;position:absolute;top:2px;left:2px;box-shadow:0 1px 2px #00000040}.nUhMVa_switchOn .nUhMVa_switchKnob,.nUhMVa_switchMixed .nUhMVa_switchKnob{left:18px}.nUhMVa_switch:disabled{opacity:.5;cursor:default}.nUhMVa_viewBar{border-radius:var(--dsw-radius-md,12px);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border:none;align-items:center;gap:2px;width:fit-content;margin-bottom:12px;padding:3px;display:flex}.nUhMVa_viewBtn{font:inherit;color:var(--dsw-alias-label-secondary,#5c6570);border-radius:var(--dsw-radius-sm,8px);cursor:pointer;white-space:nowrap;background:0 0;border:none;height:26px;padding:0 10px;font-size:12px;line-height:18px;transition:background-color .12s,color .12s}.nUhMVa_viewBtn:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_viewOn{background:var(--dsw-alias-bg-layer-3,#fff);color:var(--dsw-alias-label-primary,#1f2328);box-shadow:0 0 0 .5px var(--dsw-alias-border-l3,#0000001f);font-weight:600}.nUhMVa_groupRow{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);margin-bottom:10px;padding:12px 14px}.nUhMVa_groupHead{flex-wrap:wrap;align-items:center;gap:10px;min-width:0;display:flex}.nUhMVa_groupCollapse{width:22px;height:22px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border:none;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.nUhMVa_groupCollapse:hover{background:var(--dsw-alias-bg-layer-2,#eef0f4);color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_groupTitle{flex-direction:column;flex:auto;gap:1px;min-width:0;display:flex}.nUhMVa_groupTitle .nUhMVa_groupHint{margin-top:0}.nUhMVa_groupName{text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:600;line-height:20px;overflow:hidden}.nUhMVa_groupMeta{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px;line-height:16px}.nUhMVa_groupActions{flex-wrap:wrap;flex-shrink:0;align-items:center;gap:6px;margin-left:auto;display:flex}.nUhMVa_groupMembers{flex-direction:column;gap:6px;margin-top:10px;display:flex}.nUhMVa_groupMember{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;align-items:center;gap:8px;min-width:0;padding:6px 8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_groupMember .nUhMVa_nm{flex:1;min-width:0;font-size:12px}.nUhMVa_memberName{flex:auto;align-items:center;gap:6px;min-width:0;display:flex}.nUhMVa_memberName .nUhMVa_nm{flex:0 auto;min-width:0}.nUhMVa_memberNameWithDesc{flex:0 auto;max-width:42%}.nUhMVa_memberKind{color:var(--dsw-alias-label-tertiary,#8b93a1);white-space:nowrap;flex:none;font-size:11px;line-height:16px}.nUhMVa_themeSlot{box-shadow:inset 0 -1px 0 var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px 8px 0 0;margin-bottom:4px}.nUhMVa_groupMember>.nUhMVa_switch,.nUhMVa_groupMember>button{flex-shrink:0}.nUhMVa_groupMemberAction{flex:none;margin-left:auto}.nUhMVa_groupMemberAction button{white-space:nowrap}.nUhMVa_groupAddPanel{border-top:1px dashed var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:6px;margin-top:10px;padding-top:10px;display:flex}.nUhMVa_groupAddModalBody{flex-direction:column;gap:10px;min-width:0;display:flex}.nUhMVa_groupAddFilters{flex-wrap:wrap;gap:6px;display:flex}.nUhMVa_groupAddModalList{flex-direction:column;gap:6px;max-height:min(50vh,360px);padding-right:2px;display:flex;overflow-y:auto}.nUhMVa_groupAddModalHint{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_groupAddPick{background:var(--dsw-alias-bg-layer-2,#f7f8fa);cursor:pointer;border-radius:8px;align-items:center;gap:8px;min-width:0;padding:8px 10px;display:flex}.nUhMVa_groupAddPick:hover{background:var(--dsw-alias-bg-layer-2,#eef0f4)}.nUhMVa_groupAddPick input{flex-shrink:0;margin:0}.nUhMVa_groupAddPick .nUhMVa_nm{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:12px;overflow:hidden}.nUhMVa_groupAddFooterMeta{color:var(--dsw-alias-label-secondary,#6b7280);align-self:center;margin-right:auto;font-size:12px;line-height:18px}.nUhMVa_groupOrgHint{color:var(--dsw-alias-label-tertiary,#8b93a1);margin:4px 0 0;font-size:11px;line-height:16px}.nUhMVa_groupRenameField{flex-direction:column;gap:6px;min-width:min(100%,320px);display:flex}.nUhMVa_groupRenameField label{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;line-height:18px}.nUhMVa_groupRenameField .nUhMVa_inlineInput{width:100%}.nUhMVa_groupCreate{align-items:center;gap:8px;margin-bottom:10px;display:flex}.nUhMVa_groupCreateInline{flex-shrink:0;align-items:center;gap:8px;display:flex}.nUhMVa_groupCreateInline .nUhMVa_inlineInput{flex:none;width:160px}.nUhMVa_inlineInput{flex:1;min-width:120px}.nUhMVa_ungroupedRow{flex-wrap:nowrap}.nUhMVa_ungroupedRow>.nUhMVa_nm{flex:0 auto;max-width:42%;font-size:12px;line-height:18px}.nUhMVa_ungroupedState{flex:0 auto;align-items:center;min-width:0;max-width:46%;margin:0;display:inline-flex}.nUhMVa_ungroupedState>span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nUhMVa_ungroupedDesc{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--dsw-alias-label-tertiary,#8b93a1);flex:1 1 0;font-size:12px;line-height:18px;overflow:hidden}.nUhMVa_ungroupedDesc.nUhMVa_noteMine{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_groupHint{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:11px}.nUhMVa_sect{color:var(--dsw-alias-label-secondary,#6b7280);margin:14px 2px 8px;font-size:12px;font-weight:600}.nUhMVa_sectAction{color:var(--dsw-alias-label-secondary,#6b7280);align-items:center;gap:8px;margin:14px 2px 8px;font-size:12px;font-weight:600;display:flex}.nUhMVa_backupGrid{grid-template-columns:minmax(0,1fr);gap:12px;display:grid}.nUhMVa_backupCard{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-xl,20px);flex-direction:column;gap:10px;padding:16px;display:flex}.nUhMVa_backupCard h3{margin:0;font-size:14px}.nUhMVa_backupCard p{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_backupActions{flex-wrap:wrap;gap:8px;display:flex;position:relative}.nUhMVa_hiddenFile{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.nUhMVa_backupInput{box-sizing:border-box;width:100%}.nUhMVa_backupCheck{cursor:pointer;align-items:center;gap:6px;font-size:12px;display:flex}.nUhMVa_backupWarn{margin:0;font-size:12px;line-height:18px;color:var(--dsw-alias-state-warn-primary,#b45309)!important}.nUhMVa_backupMessage{color:var(--dsw-alias-label-secondary,#6b7280);grid-column:1/-1;font-size:12px}.nUhMVa_backupCheckList{flex-direction:column;gap:6px;max-height:260px;margin:10px 0 4px;padding-right:4px;display:flex;overflow-y:auto}.nUhMVa_backupCheckList .nUhMVa_backupCheck{justify-content:space-between;gap:8px}.nUhMVa_diagPage{flex-direction:column;gap:12px;height:100%;min-height:0;display:flex;overflow-y:auto}.nUhMVa_panelHost .nUhMVa_diagPage{height:auto;overflow:visible}.nUhMVa_diagSummary{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 14px;font-size:12px;display:flex}.nUhMVa_diagSummaryItem{color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;align-items:center;gap:6px;display:inline-flex}.nUhMVa_diagSummaryMeta{color:var(--dsw-alias-label-tertiary,#9ca3af);font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);text-overflow:ellipsis;white-space:nowrap;max-width:320px;font-size:11px;overflow:hidden}.nUhMVa_diagSection{background:var(--dsw-alias-settings-card-fill,var(--dsw-alias-bg-layer-1,#fff));border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));border-radius:var(--dsw-radius-lg,16px);flex-direction:column;gap:8px;padding:12px 14px;display:flex}.nUhMVa_diagSection h3{color:var(--dsw-alias-label-primary,#1f2328);margin:0;font-size:13px;font-weight:600}.nUhMVa_diagCount{color:var(--dsw-alias-label-tertiary,#9ca3af);font-size:11px;font-weight:400}.nUhMVa_diagEmpty{color:var(--dsw-alias-label-secondary,#9ca3af);padding:8px 0;font-size:12px}.nUhMVa_diagBundle{border-top:1px solid var(--dsw-alias-border-l2,#f0f1f3);flex-direction:column;gap:6px;padding-top:8px;display:flex}.nUhMVa_diagBundle:first-of-type{border-top:none;padding-top:0}.nUhMVa_diagRow{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;font-size:12px;line-height:18px;display:flex}.nUhMVa_diagMeta{align-items:baseline;gap:8px;min-width:0;font-size:12px;display:flex}.nUhMVa_diagKey{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;min-width:64px;font-size:11px}.nUhMVa_diagVal{color:var(--dsw-alias-label-primary,#1f2328);font-size:12px;font-weight:500;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere;min-width:0}.nUhMVa_diagIndex{background:var(--dsw-alias-bg-layer-2,#f3f4f6);min-width:18px;height:18px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagArrow{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;font-size:12px}.nUhMVa_diagBadgeOfficial{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-brand-primary,#4f6ef7));height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeCommunity{background:var(--dsw-alias-bg-layer-2,#f3f4f6);height:18px;color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.nUhMVa_diagBadgeShadow{background:var(--dsw-alias-state-error-primary,#dc2626);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeWarn{background:var(--dsw-alias-state-warn-primary,#b45309);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_diagBadgeInfo{background:var(--dsw-alias-bg-layer-2,#f3f4f6);height:18px;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;display:inline-flex}.nUhMVa_diagList{flex-direction:column;gap:6px;display:flex}.nUhMVa_sectionOverview{color:var(--dsw-alias-label-tertiary,#8b93a1);text-overflow:ellipsis;white-space:nowrap;max-width:100%;padding:2px 0 6px;font-size:12px;line-height:18px;overflow:hidden}.nUhMVa_diagAlert{color:var(--dsw-alias-state-warn-primary,#b45309)}.nUhMVa_ovRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:6px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_ovArrow{color:var(--dsw-alias-label-tertiary,#9ca3af);flex-shrink:0;font-size:12px}.nUhMVa_ovByTag{background:var(--dsw-alias-button-primary-fill,var(--dsw-alias-brand-primary,#4f6ef7));height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);text-overflow:ellipsis;white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;max-width:260px;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex;overflow:hidden}.nUhMVa_ovFrom{color:var(--dsw-alias-label-secondary,#6b7280);text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.nUhMVa_orphRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-wrap:wrap;align-items:center;gap:8px;min-width:0;padding:6px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_orphBadge{background:var(--dsw-alias-state-warn-primary,#b45309);height:18px;color:var(--dsw-alias-label-primary-foreground,#fff);white-space:nowrap;border-radius:9px;flex-shrink:0;align-items:center;padding:0 8px;font-size:11px;font-weight:600;display:inline-flex}.nUhMVa_dragHandle{width:20px;height:20px;color:var(--dsw-alias-label-tertiary,#9ca3af);cursor:grab;-webkit-user-select:none;user-select:none;flex-shrink:0;justify-content:center;align-items:center;font-size:12px;line-height:20px;display:inline-flex}.nUhMVa_dragOver{outline:2px dashed var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:2px;background:var(--dsw-alias-bg-layer-2,#f0f2f8);border-radius:8px}.nUhMVa_dragging{opacity:.45;background:var(--dsw-alias-bg-layer-2,#f3f4f6)}.nUhMVa_collapseHead{font:inherit;color:var(--dsw-alias-label-primary,#1f2328);cursor:pointer;text-align:left;background:0 0;border:none;align-items:center;gap:8px;width:100%;padding:0;font-size:13px;font-weight:600;display:flex}.nUhMVa_collapseIcon{color:var(--dsw-alias-label-secondary,#6b7280);flex-shrink:0;display:inline-flex}.nUhMVa_collapseTitle{flex:0 auto;min-width:0}.nUhMVa_collapseHead .nUhMVa_diagCount{flex-shrink:0}.nUhMVa_collapseBody{border-top:1px solid var(--dsw-alias-border-l2,#f0f1f3);overflow-wrap:anywhere;flex-direction:column;gap:10px;min-width:0;margin-top:8px;padding-top:10px;display:flex}.nUhMVa_orderPanel{flex-direction:column;gap:10px;min-width:0;display:flex}.nUhMVa_panelNote{color:var(--dsw-alias-label-secondary,#6b7280);margin:0;font-size:12px;line-height:18px}.nUhMVa_panelActions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.nUhMVa_presetList{flex-direction:column;gap:6px;min-width:0;display:flex}.nUhMVa_presetRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-direction:column;align-items:stretch;gap:6px;min-width:0;max-width:100%;padding:8px 10px;font-size:12px;line-height:18px;display:flex}.nUhMVa_presetName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;font-weight:600;overflow:hidden}.nUhMVa_snapList{flex-direction:column;gap:6px;min-width:0;display:flex}.nUhMVa_snapRow{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-radius:8px;flex-direction:column;align-items:stretch;gap:8px;padding:10px 12px;font-size:12px;line-height:18px;display:flex}.nUhMVa_snapMeta{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_snapConfirmText{color:var(--dsw-alias-state-warn-primary,#b45309);margin:0;font-size:12px;line-height:18px}.nUhMVa_confirmRow{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.nUhMVa_fixFallback{flex-direction:column;gap:6px;margin:8px 0;display:flex}.nUhMVa_fixFallbackText,.nUhMVa_envEditor{box-sizing:border-box;width:100%;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-2,#f3f4f6);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);resize:vertical;white-space:pre-wrap;word-break:break-all;border-radius:6px;padding:8px 10px;font-size:11px;line-height:16px}.nUhMVa_setCard{border:.5px solid var(--dsw-alias-settings-card-stroke,var(--dsw-alias-border-l4,#00000029));background:var(--dsw-alias-bg-layer-3,#fff);border-radius:var(--dsw-radius-lg,16px);list-style:none;transition:border-color .16s,background .16s}.nUhMVa_setCard:hover{border-color:var(--dsw-alias-label-dimmed,#c8ccd4)}.nUhMVa_setCardOpen{background:var(--dsw-alias-bg-layer-2,#f7f8fa);border-color:var(--dsw-alias-label-dimmed,#c8ccd4)}.nUhMVa_setHeader{-webkit-appearance:none;appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;border-radius:var(--dsw-radius-lg,16px);background:0 0;border:0;align-items:center;gap:12px;padding:14px 16px;display:flex}.nUhMVa_setHeader:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:-2px}.nUhMVa_setHeadText{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.nUhMVa_setName{color:var(--dsw-alias-label-primary,#1f2328);font-size:15px;font-weight:600;line-height:1.4}.nUhMVa_setDesc{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:13px;line-height:1.5}.nUhMVa_setChevron{color:var(--dsw-alias-label-tertiary,#8b93a1);flex:none;transition:transform .16s;display:inline-flex}.nUhMVa_setChevronOpen{transform:rotate(180deg)}.nUhMVa_setBody{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);margin:0 16px;padding-bottom:8px}.nUhMVa_setRow{align-items:center;gap:12px;padding:12px 0;display:flex}.nUhMVa_setRow+.nUhMVa_setRow{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb)}.nUhMVa_setLabelBox{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.nUhMVa_setLabel{font-size:13px;line-height:20px}.nUhMVa_setHint{color:var(--dsw-alias-label-tertiary,#8b93a1);font-size:12px;line-height:18px}.nUhMVa_setAdvanced{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb)}.nUhMVa_setAdvancedHead{-webkit-appearance:none;appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:12px;padding:12px 0;display:flex}.nUhMVa_setAdvancedHead:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:-2px}.nUhMVa_setAdvancedBody{padding-bottom:4px}.nUhMVa_setConfirm{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-direction:column;gap:8px;padding:12px 0 4px;display:flex}.nUhMVa_setCheck{cursor:pointer;align-items:center;gap:8px;font-size:12px;line-height:18px;display:flex}.nUhMVa_setActions{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);justify-content:flex-end;align-items:center;gap:8px;padding:12px 0 4px;display:flex}.nUhMVa_setInlineActions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px;display:flex}.nUhMVa_setProxyEditor{border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);flex-wrap:wrap;align-items:flex-end;gap:10px;padding:12px 0;display:flex}.nUhMVa_setProxyLabel{min-width:180px;color:var(--dsw-alias-label-secondary,#6b7280);flex-direction:column;flex:1;gap:5px;font-size:12px;line-height:18px;display:flex}.nUhMVa_setProxyInput{box-sizing:border-box;border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-3,#fff);width:100%;min-width:0;color:var(--dsw-alias-label-primary,#1f2328);font:inherit;border-radius:7px;padding:6px 8px;font-size:12px;line-height:18px}.nUhMVa_setProxyInput:focus{border-color:var(--dsw-alias-brand-primary,#4f6ef7);outline:2px solid color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 18%,transparent)}.nUhMVa_setDanger{color:var(--dsw-alias-state-error-primary,#dc2626)}.nUhMVa_setSeg{border-radius:var(--dsw-radius-md,12px);background:var(--dsw-alias-bg-module-platform,#f4f5f7);border:none;flex-shrink:0;gap:2px;padding:3px;display:inline-flex}.nUhMVa_setSegBtn{font:inherit;border-radius:var(--dsw-radius-sm,8px);height:26px;color:var(--dsw-alias-label-secondary,#5c6570);cursor:pointer;background:0 0;border:none;padding:0 10px;font-size:12px;line-height:18px}.nUhMVa_setSegBtn:disabled{cursor:default;opacity:.5}.nUhMVa_setSegOn{background:var(--dsw-alias-bg-layer-3,#fff);color:var(--dsw-alias-label-primary,#1f2328);box-shadow:0 0 0 .5px var(--dsw-alias-border-l3,#0000001f);font-weight:600}.nUhMVa_setBetaTag{background:var(--dsw-alias-bg-module-platform,#eef0f4);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:9px;margin-left:6px;padding:0 6px;font-size:11px;font-weight:600;line-height:17px}.nUhMVa_commentsLink{cursor:pointer;white-space:nowrap;color:var(--dsw-alias-label-tertiary,#8b93a1);background:0 0;border:0;padding:0;font-size:12px;line-height:18px}.nUhMVa_commentsLink:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_footActions{flex-shrink:0;align-items:center;gap:8px;display:inline-flex}.nUhMVa_favoriteBtn{cursor:pointer;color:var(--dsw-alias-label-secondary,#9ca3af);background:0 0;border:0;align-items:center;padding:0;display:inline-flex}.nUhMVa_favoriteMark{transform-box:fill-box;transform-origin:50% 0;display:block}.nUhMVa_favoriteBtn:hover,.nUhMVa_favoriteOn{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_cardMore{cursor:pointer;font:inherit;letter-spacing:1px;color:var(--dsw-alias-label-secondary,#9ca3af);background:0 0;border:0;padding:0 2px;font-size:14px;line-height:16px}.nUhMVa_cardMore:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_blockedTabHint{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0 0 12px;font-size:12px;line-height:18px}.nUhMVa_blockedMissing{flex-direction:column;gap:4px;margin-top:8px;display:flex}.nUhMVa_blockedBarRow{justify-content:space-between;align-items:center;gap:8px;min-width:0;display:flex}.nUhMVa_blockedBarName{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:13px;line-height:20px;overflow:hidden}.nUhMVa_blockedBarUndo{cursor:pointer;font:inherit;color:var(--dsw-alias-brand-primary,#4f6ef7);background:0 0;border:0;padding:0;font-size:12px;line-height:18px}.nUhMVa_commentsNote{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0 0 8px;font-size:11px;line-height:16px}.nUhMVa_commentsGithubPrompt{border:1px solid color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 24%,transparent);background:color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 6%,transparent);border-radius:8px;margin:0 0 10px;padding:10px}.nUhMVa_commentsGithubHint{color:var(--dsw-alias-label-primary,#1f2328);margin:0 0 8px;font-size:12px;line-height:17px}.nUhMVa_commentsGithubAction{box-sizing:border-box;border:1px solid var(--dsw-alias-brand-primary,#4f6ef7);min-height:28px;color:var(--dsw-alias-brand-primary,#4f6ef7);border-radius:6px;justify-content:center;align-items:center;padding:5px 10px;font-size:12px;font-weight:600;line-height:16px;text-decoration:none;display:inline-flex}.nUhMVa_commentsGithubAction:hover{background:color-mix(in srgb,var(--dsw-alias-brand-primary,#4f6ef7) 9%,transparent)}.nUhMVa_commentsStatus{color:var(--dsw-alias-label-secondary,#9ca3af);margin:0;font-size:12px}.nUhMVa_commentsStatus:empty{display:none}.nUhMVa_commentsError{color:var(--dsw-alias-label-primary,#1f2328);margin:0 0 8px;font-size:12px}.nUhMVa_commentsFail{flex-direction:column;align-items:flex-start;gap:8px;padding:12px 0;display:flex}.nUhMVa_commentsMount{width:100%;min-height:240px;max-height:56vh;overflow:auto}.nUhMVa_commentsMount iframe{width:100%}.nUhMVa_notesLink{font:inherit;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;text-align:left;background:0 0;border:none;margin:2px 0 0;padding:0;font-size:12px;line-height:18px;display:block}.nUhMVa_notesLink:hover{color:var(--dsw-alias-label-primary,#1f2328)}.nUhMVa_notesModalWide{width:min(640px,92vw);max-width:min(640px,92vw)}.nUhMVa_notesBody{overscroll-behavior:contain;flex-direction:column;flex:0 auto;gap:10px;min-width:0;max-height:min(60vh,520px);padding:0 2px 8px 0;display:flex;overflow-y:auto}.nUhMVa_notesRange{align-items:center;gap:8px;margin-bottom:4px;font-size:12px;line-height:18px;display:flex}.nUhMVa_notesArrow{color:var(--dsw-alias-label-tertiary,#8b93a1)}.nUhMVa_notesMeta{letter-spacing:.02em;text-transform:uppercase;color:var(--dsw-alias-label-secondary,#6b7280);flex-wrap:wrap;align-items:baseline;gap:6px;margin-top:4px;font-size:12px;line-height:18px;display:flex}.nUhMVa_notesBody>.nUhMVa_notesMeta:first-child{margin-top:0}.nUhMVa_notesHistory,.nUhMVa_notesHeld{flex-direction:column;gap:8px;min-width:0;display:flex}.nUhMVa_notesHistory>.nUhMVa_notesMeta:first-child,.nUhMVa_notesHeld>.nUhMVa_notesMeta:first-child{margin-top:0}.nUhMVa_notesHeld:not(:first-child){border-top:1px solid var(--dsw-alias-border-l2,#e5e7eb);padding-top:10px}.nUhMVa_notesEntry{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);padding-bottom:8px}.nUhMVa_notesEntry:last-child{border-bottom:none}.nUhMVa_notesSummary{cursor:pointer;overflow-wrap:anywhere;font-size:13px;line-height:20px}.nUhMVa_notesSummary+.nUhMVa_notesRendered{margin-top:8px}.nUhMVa_notesPre{white-space:pre-wrap;word-break:break-word;background:var(--dsw-alias-bg-layer-2,#eef0f4);border-radius:8px;max-height:40vh;margin:0;padding:10px 12px;font-size:13px;line-height:20px;overflow:auto}.nUhMVa_notesRendered{flex-direction:column;gap:8px;min-width:0;display:flex}.nUhMVa_notesImg{border-radius:6px;max-width:100%;height:auto;margin:4px 0;display:block}.nUhMVa_notesH{margin-top:4px;font-size:13px;font-weight:650;line-height:20px}.nUhMVa_notesP{font-size:13px;line-height:20px}.nUhMVa_notesQuote{border-left:3px solid var(--dsw-alias-border-l3,#d9dde3);background:var(--dsw-alias-bg-layer-2,#f7f8fa);color:var(--dsw-alias-label-primary,#1f2328);border-radius:0 6px 6px 0;margin:0;padding:8px 10px;font-size:13px;line-height:20px}.nUhMVa_notesFence{background:var(--dsw-alias-bg-layer-2,#eef0f4);font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);white-space:pre;border-radius:8px;margin:0;padding:10px 12px;font-size:12px;line-height:18px;overflow-x:auto}.nUhMVa_notesFence code{font:inherit;background:0 0;padding:0}.nUhMVa_notesBullets{flex-direction:column;gap:4px;margin:0;padding-left:18px;font-size:13px;line-height:20px;display:flex}.nUhMVa_notesA{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:none}.nUhMVa_notesA:hover{text-decoration:underline}.nUhMVa_notesCode{font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);background:var(--dsw-alias-bg-layer-2,#eef0f4);border-radius:5px;padding:1px 5px;font-size:12px}.nUhMVa_notesList{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.nUhMVa_notesRow{border-bottom:1px solid var(--dsw-alias-border-l2,#e5e7eb);align-items:baseline;gap:12px;padding:6px 0;display:flex}.nUhMVa_notesRow:last-child{border-bottom:none}.nUhMVa_notesDate{color:var(--dsw-alias-label-tertiary,#8b93a1);font-variant-numeric:tabular-nums;flex-shrink:0;font-size:12px}.nUhMVa_notesMsg{word-break:break-word;word-break:break-word;-webkit-line-clamp:3;-webkit-box-orient:vertical;min-width:0;font-size:13px;line-height:20px;display:-webkit-box;overflow:hidden}.nUhMVa_notesSha{color:var(--dsw-alias-label-secondary,#6b7280);font-variant-numeric:tabular-nums;flex-shrink:0;margin-left:auto;font-size:12px;text-decoration:none}.nUhMVa_recoverySummary{color:var(--dsw-alias-state-error-primary,#dc2626);word-break:break-word;align-items:flex-start;gap:8px;margin-bottom:8px;font-size:12px;display:flex}.nUhMVa_recoveryHint{color:var(--dsw-alias-label-secondary,#6b7280);margin:8px 0;font-size:12px}.nUhMVa_recoveryList{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;max-height:320px;display:flex;overflow-x:hidden;overflow-y:auto}.nUhMVa_recoveryRow{border-top:1px solid var(--dsw-alias-border-l2,#eef0f4);align-items:flex-start;gap:8px;padding:6px 10px;font-size:12px;display:flex}.nUhMVa_recoveryRow:first-child{border-top:none}.nUhMVa_recoveryBlamed{box-shadow:inset 3px 0 0 var(--dsw-alias-state-error-primary,#dc2626);background:#dc262612}.nUhMVa_recoveryMuted{opacity:.6}.nUhMVa_recoveryName{word-break:break-word;flex-direction:column;gap:2px;min-width:0;display:flex}.nUhMVa_recoveryReason{color:var(--dsw-alias-state-error-primary,#dc2626);word-break:break-word;font-size:11px}.nUhMVa_recoveryNote{color:var(--dsw-alias-label-tertiary,#8b93a1);word-break:break-word;margin-top:8px;font-size:11px}.nUhMVa_recoveryBadge{background:var(--dsw-alias-bg-layer-2,#eef0f4);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:5px;margin-left:6px;padding:0 5px;font-size:10px}.nUhMVa_recoveryLog{color:var(--dsw-alias-label-secondary,#6b7280);margin:4px 0 8px;font-size:11px}.nUhMVa_recoveryLog pre{white-space:pre-wrap;word-break:break-word;max-height:180px;margin:6px 0 0;overflow:auto}.nUhMVa_notesSha:hover{color:var(--dsw-alias-label-primary,#1f2328);text-decoration:underline}.nUhMVa_notesVer{color:inherit;font-weight:600;text-decoration:none}.nUhMVa_notesVer:hover{text-decoration:underline}.nUhMVa_notesSourceLink{color:var(--dsw-alias-brand-primary,#4f6ef7);white-space:nowrap;text-decoration:none}.nUhMVa_notesSourceLink:hover{text-decoration:underline}.nUhMVa_migrationSources{flex-direction:column;gap:8px;margin-top:4px;display:flex}.nUhMVa_migrationSource{border:1px solid var(--dsw-alias-border-l2,#e5e7eb);border-radius:8px;flex-direction:column;gap:4px;padding:10px 12px;display:flex}.nUhMVa_migrationSource code{font-size:12px;font-family:var(--ds-font-family-code,ui-monospace,Menlo,Consolas,monospace);overflow-wrap:anywhere}.nUhMVa_migrationLabel{color:var(--dsw-alias-label-secondary,#9ca3af);font-size:11px}.nUhMVa_migrationArrow{text-align:center;color:var(--dsw-alias-label-secondary,#9ca3af)}.nUhMVa_migrationWarning{color:var(--dsw-alias-state-warn-primary,#b45309);align-items:flex-start;gap:6px;margin:12px 0 0;font-size:12px;line-height:18px;display:flex}.nUhMVa_migrationNote{color:var(--dsw-alias-label-secondary,#6b7280);margin:12px 0 0;font-size:12px;line-height:18px}.nUhMVa_sourceRepo{color:var(--dsw-alias-label-secondary,#5c6570);align-self:flex-end;align-items:center;gap:2px;font-size:13px;line-height:20px;text-decoration:none;display:inline-flex}.nUhMVa_sourceRepo:hover{color:var(--dsw-alias-brand-primary,#4f6ef7);text-decoration:underline}.nUhMVa_sourceRepo:focus-visible{outline:2px solid var(--dsw-alias-brand-primary,#4f6ef7);outline-offset:2px;border-radius:4px}.nUhMVa_updateChecks{margin:12px 0;font-size:13px}.nUhMVa_updateChecks summary{cursor:pointer}.nUhMVa_updateChecksSummary{opacity:.7;margin-left:8px}.nUhMVa_updateChecksControls{flex-wrap:wrap;align-items:center;gap:12px;margin-top:12px;display:flex}.nUhMVa_updateChecksToggle{align-items:center;gap:8px;display:inline-flex}.nUhMVa_updateChecksHint{opacity:.7;margin:8px 0}.nUhMVa_updateChecksList{margin:12px 0;padding:0;list-style:none}.nUhMVa_updateChecksList li{flex-wrap:wrap;align-items:center;gap:12px;padding:8px 0;display:flex}.nUhMVa_updateChecksPackage{overflow-wrap:anywhere;flex-direction:column;flex:1;min-width:0;display:flex}.nUhMVa_updateChecksPackage>span{opacity:.7;font-size:12px}.nUhMVa_updateChecksInterval{align-items:center;gap:8px;display:inline-flex}.nUhMVa_updateChecksInterval select{color:inherit;background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l2,#e5e7eb);font:inherit;border-radius:6px;padding:4px 8px}.nUhMVa_noticeFrame{flex-direction:column;min-width:0;height:100%;min-height:0;display:flex}.nUhMVa_noticeFrameOff{display:contents}.nUhMVa_noticeBody{flex-direction:column;flex:1;min-width:0;min-height:0;display:flex}.nUhMVa_moveNotice{box-sizing:border-box;border-radius:var(--dsw-radius-md,12px);background:var(--dsw-alias-bg-module-platform,#f4f5f7);color:var(--dsw-alias-label-secondary,#5c6570);flex-wrap:wrap;flex:none;align-items:center;gap:8px 12px;margin:0 0 8px;padding:8px 12px;font-size:12px;line-height:18px;display:flex}.nUhMVa_moveNoticeText{flex:220px;min-width:0}.nUhMVa_sponsorMark{white-space:nowrap;color:var(--dsw-alias-label-tertiary,#8b93a1);flex-wrap:nowrap;flex:none;align-items:center;gap:6px;font-size:12px;line-height:20px;display:inline-flex}.nUhMVa_sponsorItem{color:inherit;align-items:center;gap:4px;text-decoration:none;display:inline-flex}.nUhMVa_sponsorItem:hover{color:var(--dsw-alias-brand-primary,#4f6ef7)}.nUhMVa_sponsorLogo{object-fit:contain;background:#fff;border-radius:3px;width:auto;max-width:56px;height:14px;display:block}.nUhMVa_sponsorSlot{flex-wrap:wrap;justify-content:flex-end;align-self:center;align-items:center;min-width:0;height:20px;padding-right:4px;display:flex;overflow:hidden}.nUhMVa_sponsorWrapFloor{flex:none;width:0;height:20px}";
|
|
4238
4410
|
const tagId = "dsh-crate/Market.module.css";
|
|
4239
4411
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId) + "]") === null) {
|
|
4240
4412
|
const tag = document.createElement("style");
|
|
@@ -4401,7 +4573,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4401
4573
|
"favoriteOn": "nUhMVa_favoriteOn",
|
|
4402
4574
|
"favoritesSectionHead": "nUhMVa_favoritesSectionHead",
|
|
4403
4575
|
"favoritesStaleBar": "nUhMVa_favoritesStaleBar",
|
|
4576
|
+
"favoritesStaleName": "nUhMVa_favoritesStaleName",
|
|
4404
4577
|
"favoritesStaleOnly": "nUhMVa_favoritesStaleOnly",
|
|
4578
|
+
"favoritesStaleRow": "nUhMVa_favoritesStaleRow",
|
|
4405
4579
|
"fixFallback": "nUhMVa_fixFallback",
|
|
4406
4580
|
"fixFallbackText": "nUhMVa_fixFallbackText",
|
|
4407
4581
|
"foot": "nUhMVa_foot",
|
|
@@ -4449,23 +4623,37 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4449
4623
|
"installCautionMark": "nUhMVa_installCautionMark",
|
|
4450
4624
|
"irow": "nUhMVa_irow",
|
|
4451
4625
|
"irowActions": "nUhMVa_irowActions",
|
|
4626
|
+
"irowBody": "nUhMVa_irowBody",
|
|
4452
4627
|
"irowDesc": "nUhMVa_irowDesc",
|
|
4628
|
+
"irowDescBand": "nUhMVa_irowDescBand",
|
|
4629
|
+
"irowFootRow": "nUhMVa_irowFootRow",
|
|
4453
4630
|
"irowHead": "nUhMVa_irowHead",
|
|
4631
|
+
"irowIncompat": "nUhMVa_irowIncompat",
|
|
4632
|
+
"irowIncompatBody": "nUhMVa_irowIncompatBody",
|
|
4633
|
+
"irowIncompatTitle": "nUhMVa_irowIncompatTitle",
|
|
4454
4634
|
"irowMenu": "nUhMVa_irowMenu",
|
|
4455
4635
|
"irowMeta": "nUhMVa_irowMeta",
|
|
4636
|
+
"irowMetaText": "nUhMVa_irowMetaText",
|
|
4456
4637
|
"irowMissing": "nUhMVa_irowMissing",
|
|
4457
4638
|
"irowName": "nUhMVa_irowName",
|
|
4458
4639
|
"irowNameText": "nUhMVa_irowNameText",
|
|
4640
|
+
"irowNoteActions": "nUhMVa_irowNoteActions",
|
|
4641
|
+
"irowNoteActionsSpaced": "nUhMVa_irowNoteActionsSpaced",
|
|
4459
4642
|
"irowPath": "nUhMVa_irowPath",
|
|
4460
4643
|
"irowPathCopy": "nUhMVa_irowPathCopy",
|
|
4461
4644
|
"irowPathIcon": "nUhMVa_irowPathIcon",
|
|
4462
4645
|
"irowStatus": "nUhMVa_irowStatus",
|
|
4463
4646
|
"irowStatusAction": "nUhMVa_irowStatusAction",
|
|
4647
|
+
"irowStatusBand": "nUhMVa_irowStatusBand",
|
|
4464
4648
|
"irowStatusFact": "nUhMVa_irowStatusFact",
|
|
4465
4649
|
"irowStatusIcon": "nUhMVa_irowStatusIcon",
|
|
4650
|
+
"irowStatusMuted": "nUhMVa_irowStatusMuted",
|
|
4466
4651
|
"irowStatusPart": "nUhMVa_irowStatusPart",
|
|
4467
4652
|
"irowStatusSep": "nUhMVa_irowStatusSep",
|
|
4468
4653
|
"irowTrailing": "nUhMVa_irowTrailing",
|
|
4654
|
+
"irowTrailingHint": "nUhMVa_irowTrailingHint",
|
|
4655
|
+
"irowTrailingRow": "nUhMVa_irowTrailingRow",
|
|
4656
|
+
"irowUpdateBtn": "nUhMVa_irowUpdateBtn",
|
|
4469
4657
|
"lightbox": "nUhMVa_lightbox",
|
|
4470
4658
|
"lightboxClose": "nUhMVa_lightboxClose",
|
|
4471
4659
|
"lightboxDot": "nUhMVa_lightboxDot",
|
|
@@ -4479,8 +4667,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4479
4667
|
"loadMore": "nUhMVa_loadMore",
|
|
4480
4668
|
"logoMark": "nUhMVa_logoMark",
|
|
4481
4669
|
"logoSweep": "nUhMVa_logoSweep",
|
|
4670
|
+
"marketVersionGroup": "nUhMVa_marketVersionGroup",
|
|
4671
|
+
"marketVersionWait": "nUhMVa_marketVersionWait",
|
|
4482
4672
|
"masonry": "nUhMVa_masonry",
|
|
4483
4673
|
"masonryCol": "nUhMVa_masonryCol",
|
|
4674
|
+
"masonryInstalled": "nUhMVa_masonryInstalled",
|
|
4484
4675
|
"memberKind": "nUhMVa_memberKind",
|
|
4485
4676
|
"memberName": "nUhMVa_memberName",
|
|
4486
4677
|
"memberNameWithDesc": "nUhMVa_memberNameWithDesc",
|
|
@@ -4495,6 +4686,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4495
4686
|
"migrationSources": "nUhMVa_migrationSources",
|
|
4496
4687
|
"migrationWarning": "nUhMVa_migrationWarning",
|
|
4497
4688
|
"modalNote": "nUhMVa_modalNote",
|
|
4689
|
+
"moveNotice": "nUhMVa_moveNotice",
|
|
4690
|
+
"moveNoticeText": "nUhMVa_moveNoticeText",
|
|
4498
4691
|
"nameLink": "nUhMVa_nameLink",
|
|
4499
4692
|
"nm": "nUhMVa_nm",
|
|
4500
4693
|
"nmLink": "nUhMVa_nmLink",
|
|
@@ -4511,8 +4704,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4511
4704
|
"notesBullets": "nUhMVa_notesBullets",
|
|
4512
4705
|
"notesCode": "nUhMVa_notesCode",
|
|
4513
4706
|
"notesDate": "nUhMVa_notesDate",
|
|
4707
|
+
"notesEntry": "nUhMVa_notesEntry",
|
|
4514
4708
|
"notesFence": "nUhMVa_notesFence",
|
|
4515
4709
|
"notesH": "nUhMVa_notesH",
|
|
4710
|
+
"notesHeld": "nUhMVa_notesHeld",
|
|
4711
|
+
"notesHistory": "nUhMVa_notesHistory",
|
|
4516
4712
|
"notesImg": "nUhMVa_notesImg",
|
|
4517
4713
|
"notesLink": "nUhMVa_notesLink",
|
|
4518
4714
|
"notesList": "nUhMVa_notesList",
|
|
@@ -4527,8 +4723,12 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4527
4723
|
"notesRow": "nUhMVa_notesRow",
|
|
4528
4724
|
"notesSha": "nUhMVa_notesSha",
|
|
4529
4725
|
"notesSourceLink": "nUhMVa_notesSourceLink",
|
|
4726
|
+
"notesSummary": "nUhMVa_notesSummary",
|
|
4530
4727
|
"notesVer": "nUhMVa_notesVer",
|
|
4531
4728
|
"noteToggle": "nUhMVa_noteToggle",
|
|
4729
|
+
"noticeBody": "nUhMVa_noticeBody",
|
|
4730
|
+
"noticeFrame": "nUhMVa_noticeFrame",
|
|
4731
|
+
"noticeFrameOff": "nUhMVa_noticeFrameOff",
|
|
4532
4732
|
"okState": "nUhMVa_okState",
|
|
4533
4733
|
"on": "nUhMVa_on",
|
|
4534
4734
|
"opActions": "nUhMVa_opActions",
|
|
@@ -4557,6 +4757,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4557
4757
|
"opPanel": "nUhMVa_opPanel",
|
|
4558
4758
|
"opPanelTitle": "nUhMVa_opPanelTitle",
|
|
4559
4759
|
"opQueuedIcon": "nUhMVa_opQueuedIcon",
|
|
4760
|
+
"opRepairTitle": "nUhMVa_opRepairTitle",
|
|
4560
4761
|
"opRow": "nUhMVa_opRow",
|
|
4561
4762
|
"opRowAlert": "nUhMVa_opRowAlert",
|
|
4562
4763
|
"opStatus": "nUhMVa_opStatus",
|
|
@@ -4674,6 +4875,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4674
4875
|
"specTagFile": "nUhMVa_specTagFile",
|
|
4675
4876
|
"specTagGit": "nUhMVa_specTagGit",
|
|
4676
4877
|
"spin": "nUhMVa_spin",
|
|
4878
|
+
"sponsorItem": "nUhMVa_sponsorItem",
|
|
4879
|
+
"sponsorLogo": "nUhMVa_sponsorLogo",
|
|
4880
|
+
"sponsorMark": "nUhMVa_sponsorMark",
|
|
4881
|
+
"sponsorSlot": "nUhMVa_sponsorSlot",
|
|
4882
|
+
"sponsorWrapFloor": "nUhMVa_sponsorWrapFloor",
|
|
4677
4883
|
"src": "nUhMVa_src",
|
|
4678
4884
|
"staleAction": "nUhMVa_staleAction",
|
|
4679
4885
|
"star": "nUhMVa_star",
|
|
@@ -4739,6 +4945,274 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4739
4945
|
"warnLine": "nUhMVa_warnLine"
|
|
4740
4946
|
};
|
|
4741
4947
|
//#endregion
|
|
4948
|
+
//#region src/client/SettingsNotice.tsx
|
|
4949
|
+
/**
|
|
4950
|
+
* The "this has moved" line at the top of the market in Settings.
|
|
4951
|
+
*
|
|
4952
|
+
* On a host that has the Plugins page tab, the tab is where the market lives
|
|
4953
|
+
* now and the Settings entry is on its way out. The market stays fully usable
|
|
4954
|
+
* below the line; the line is a statement with one way to the new place, not a
|
|
4955
|
+
* warning. Everywhere else (older hosts, the sidebar, the Plugins tab itself)
|
|
4956
|
+
* nothing is added.
|
|
4957
|
+
*
|
|
4958
|
+
* The frame keeps the market at the same place in the tree whether or not the
|
|
4959
|
+
* line is showing, so the line appearing when the host's slot or the saved
|
|
4960
|
+
* answer arrives late never remounts (and so never resets) the market.
|
|
4961
|
+
*/
|
|
4962
|
+
/** The id the market registers its Plugins page tab under. */
|
|
4963
|
+
const MARKET_TAB_ID = "dsh-crate";
|
|
4964
|
+
const CLOSE_LABEL = /^(关闭|关闭对话框|Close|Close dialog|閉じる)$/i;
|
|
4965
|
+
function wait(ms) {
|
|
4966
|
+
return new Promise((resolve) => {
|
|
4967
|
+
setTimeout(resolve, ms);
|
|
4968
|
+
});
|
|
4969
|
+
}
|
|
4970
|
+
/** Poll until `probe` answers truthy; null on timeout. */
|
|
4971
|
+
async function until(probe, timeoutMs) {
|
|
4972
|
+
const deadline = Date.now() + timeoutMs;
|
|
4973
|
+
for (;;) {
|
|
4974
|
+
const found = probe();
|
|
4975
|
+
if (found) return found;
|
|
4976
|
+
if (Date.now() >= deadline) return null;
|
|
4977
|
+
await wait(40);
|
|
4978
|
+
}
|
|
4979
|
+
}
|
|
4980
|
+
/** The market's tab in the Plugins page's tab row, once it is in the page. */
|
|
4981
|
+
function findMarketTab(doc) {
|
|
4982
|
+
const tabs = doc.querySelectorAll(`[role="tab"][id$="-${MARKET_TAB_ID}"]`);
|
|
4983
|
+
for (const tab of Array.from(tabs)) if (tab.closest("[role=\"dialog\"]") === null) return tab;
|
|
4984
|
+
return null;
|
|
4985
|
+
}
|
|
4986
|
+
/** Close the dialog that holds `from`. Resolves true once it is gone. */
|
|
4987
|
+
async function closeDialogOf(from, doc) {
|
|
4988
|
+
const dialog = from.closest("[role=\"dialog\"]");
|
|
4989
|
+
if (dialog === null) return true;
|
|
4990
|
+
const closeButton = Array.from(dialog.querySelectorAll("button")).find((button) => CLOSE_LABEL.test((button.getAttribute("aria-label") ?? button.textContent ?? "").trim()));
|
|
4991
|
+
if (closeButton !== void 0) closeButton.click();
|
|
4992
|
+
else {
|
|
4993
|
+
const init = {
|
|
4994
|
+
key: "Escape",
|
|
4995
|
+
code: "Escape",
|
|
4996
|
+
keyCode: 27,
|
|
4997
|
+
bubbles: true,
|
|
4998
|
+
cancelable: true
|
|
4999
|
+
};
|
|
5000
|
+
const focused = doc.activeElement;
|
|
5001
|
+
(focused !== null && dialog.contains(focused) ? focused : dialog).dispatchEvent(new KeyboardEvent("keydown", init));
|
|
5002
|
+
}
|
|
5003
|
+
return await until(() => !from.isConnected || !dialog.isConnected, 1500) !== null;
|
|
5004
|
+
}
|
|
5005
|
+
/**
|
|
5006
|
+
* Take the user to the Plugins page, select the market tab there when it can
|
|
5007
|
+
* be found, and close the Settings dialog `from` sits in.
|
|
5008
|
+
*
|
|
5009
|
+
* Landing on the Plugins page without the market tab selected is still a
|
|
5010
|
+
* success: the user is where the market lives, one click from it.
|
|
5011
|
+
* @returns false when the user was NOT taken anywhere (no navigation, the
|
|
5012
|
+
* host threw, or the dialog would not close), so the caller can say so.
|
|
5013
|
+
*/
|
|
5014
|
+
async function openMarketTab(navigation, from, doc = document) {
|
|
5015
|
+
if (navigation?.openList === void 0) return false;
|
|
5016
|
+
try {
|
|
5017
|
+
navigation.openList();
|
|
5018
|
+
const tab = await until(() => findMarketTab(doc), 3e3);
|
|
5019
|
+
if (tab !== null) {
|
|
5020
|
+
tab.click();
|
|
5021
|
+
await until(() => tab.getAttribute("aria-selected") === "true", 1e3);
|
|
5022
|
+
}
|
|
5023
|
+
return await closeDialogOf(from, doc);
|
|
5024
|
+
} catch {
|
|
5025
|
+
return false;
|
|
5026
|
+
}
|
|
5027
|
+
}
|
|
5028
|
+
function Notice({ t, hostNavigation }) {
|
|
5029
|
+
const rootRef = (0, react.useRef)(null);
|
|
5030
|
+
const mounted = (0, react.useRef)(true);
|
|
5031
|
+
const [, bump] = (0, react.useState)(0);
|
|
5032
|
+
const [busy, setBusy] = (0, react.useState)(false);
|
|
5033
|
+
const [failed, setFailed] = (0, react.useState)(false);
|
|
5034
|
+
(0, react.useEffect)(() => {
|
|
5035
|
+
mounted.current = true;
|
|
5036
|
+
return () => {
|
|
5037
|
+
mounted.current = false;
|
|
5038
|
+
};
|
|
5039
|
+
}, []);
|
|
5040
|
+
(0, react.useEffect)(() => hostNavigation?.subscribe(() => {
|
|
5041
|
+
bump((n) => n + 1);
|
|
5042
|
+
}), [hostNavigation]);
|
|
5043
|
+
const canGo = typeof hostNavigation?.get()?.openList === "function";
|
|
5044
|
+
const go = (0, react.useCallback)(() => {
|
|
5045
|
+
if (rootRef.current === null) return;
|
|
5046
|
+
setBusy(true);
|
|
5047
|
+
setFailed(false);
|
|
5048
|
+
openMarketTab(hostNavigation?.get(), rootRef.current).then((ok) => {
|
|
5049
|
+
if (!mounted.current) return;
|
|
5050
|
+
setBusy(false);
|
|
5051
|
+
setFailed(!ok);
|
|
5052
|
+
});
|
|
5053
|
+
}, [hostNavigation]);
|
|
5054
|
+
return (0, react.createElement)("div", {
|
|
5055
|
+
className: Market_module_css_default.moveNotice,
|
|
5056
|
+
ref: rootRef,
|
|
5057
|
+
"data-dsh-crate-notice": ""
|
|
5058
|
+
}, (0, react.createElement)("span", { className: Market_module_css_default.moveNoticeText }, failed ? t("noticeFailed") : canGo ? t("noticeText") : t("noticeTextManual")), canGo ? (0, react.createElement)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
5059
|
+
variant: "outline",
|
|
5060
|
+
size: "sm",
|
|
5061
|
+
disabled: busy,
|
|
5062
|
+
onClick: go
|
|
5063
|
+
}, t("noticeGo")) : null);
|
|
5064
|
+
}
|
|
5065
|
+
/**
|
|
5066
|
+
* Wraps the Settings surface's market. The line shows while the host has the
|
|
5067
|
+
* Plugins tab and the user keeps it on — the only case where "it moved" is
|
|
5068
|
+
* true and there is somewhere to go.
|
|
5069
|
+
*/
|
|
5070
|
+
function SettingsNoticeFrame({ t, entries, hostNavigation, children }) {
|
|
5071
|
+
const [, bump] = (0, react.useState)(0);
|
|
5072
|
+
(0, react.useEffect)(() => entries?.subscribe(() => {
|
|
5073
|
+
bump((n) => n + 1);
|
|
5074
|
+
}), [entries]);
|
|
5075
|
+
const show = entries !== void 0 && entries.pluginsTabSupported() && entries.pluginsTab();
|
|
5076
|
+
return (0, react.createElement)("div", { className: show ? Market_module_css_default.noticeFrame : Market_module_css_default.noticeFrameOff }, show ? (0, react.createElement)(Notice, {
|
|
5077
|
+
t,
|
|
5078
|
+
hostNavigation
|
|
5079
|
+
}) : null, (0, react.createElement)("div", { className: show ? Market_module_css_default.noticeBody : Market_module_css_default.noticeFrameOff }, children));
|
|
5080
|
+
}
|
|
5081
|
+
//#endregion
|
|
5082
|
+
//#region src/client/ErrorBoundary.tsx
|
|
5083
|
+
/**
|
|
5084
|
+
* The market's last line of defence: a crash renders a way out, not a blank.
|
|
5085
|
+
*
|
|
5086
|
+
* Every part of the market UI is inside one React tree. When that tree
|
|
5087
|
+
* throws during render or commit, React unmounts it — and what the user gets
|
|
5088
|
+
* is an empty settings panel, with the "export log" button gone along with
|
|
5089
|
+
* everything else. That is not hypothetical: it is #293, where browser page
|
|
5090
|
+
* translation replaced text nodes under React and the resulting
|
|
5091
|
+
* NotFoundError blanked the panel for months, and every request for a log
|
|
5092
|
+
* came back empty because there was no longer a button to press.
|
|
5093
|
+
*
|
|
5094
|
+
* #513 fixed that particular trigger. This exists because the next one will
|
|
5095
|
+
* be different, and the property worth having is not "translation is
|
|
5096
|
+
* handled" but "a crash is survivable and reportable".
|
|
5097
|
+
*
|
|
5098
|
+
* Deliberately not a retry loop. If the same render throws again the
|
|
5099
|
+
* boundary catches it again and the user is back here, which is honest —
|
|
5100
|
+
* an automatic remount would flicker between a broken UI and this panel
|
|
5101
|
+
* with no way to read either.
|
|
5102
|
+
*/
|
|
5103
|
+
/**
|
|
5104
|
+
* The last crash this boundary caught, for the exported log.
|
|
5105
|
+
*
|
|
5106
|
+
* Module-level rather than component state because the log export runs
|
|
5107
|
+
* outside this tree — and a crash the user has already dismissed is still
|
|
5108
|
+
* the most useful line in their report.
|
|
5109
|
+
*/
|
|
5110
|
+
let lastCrash = null;
|
|
5111
|
+
/** The crash to report in the exported log, or null when there was none. */
|
|
5112
|
+
function lastMarketCrash() {
|
|
5113
|
+
return lastCrash;
|
|
5114
|
+
}
|
|
5115
|
+
var MarketErrorBoundary = class extends react.Component {
|
|
5116
|
+
state = { error: null };
|
|
5117
|
+
static getDerivedStateFromError(error) {
|
|
5118
|
+
return { error };
|
|
5119
|
+
}
|
|
5120
|
+
componentDidCatch(error, info) {
|
|
5121
|
+
lastCrash = {
|
|
5122
|
+
message: error.message,
|
|
5123
|
+
stack: info.componentStack ?? error.stack ?? null,
|
|
5124
|
+
at: (/* @__PURE__ */ new Date()).toISOString()
|
|
5125
|
+
};
|
|
5126
|
+
console.error("[dsh-crate] the market UI crashed and was replaced by its recovery panel", error, info.componentStack);
|
|
5127
|
+
}
|
|
5128
|
+
render() {
|
|
5129
|
+
const { error } = this.state;
|
|
5130
|
+
if (error === null) return this.props.children;
|
|
5131
|
+
const { text, actions } = this.props;
|
|
5132
|
+
return (0, react.createElement)("div", {
|
|
5133
|
+
"data-dsh-crate-root": "",
|
|
5134
|
+
"data-dsh-crate-crashed": "",
|
|
5135
|
+
translate: "no",
|
|
5136
|
+
className: "notranslate",
|
|
5137
|
+
style: {
|
|
5138
|
+
padding: "24px",
|
|
5139
|
+
display: "flex",
|
|
5140
|
+
flexDirection: "column",
|
|
5141
|
+
gap: "12px",
|
|
5142
|
+
alignItems: "flex-start"
|
|
5143
|
+
}
|
|
5144
|
+
}, [
|
|
5145
|
+
(0, react.createElement)("div", {
|
|
5146
|
+
key: "title",
|
|
5147
|
+
style: {
|
|
5148
|
+
fontSize: "14px",
|
|
5149
|
+
fontWeight: 600
|
|
5150
|
+
}
|
|
5151
|
+
}, text.title),
|
|
5152
|
+
(0, react.createElement)("div", {
|
|
5153
|
+
key: "hint",
|
|
5154
|
+
style: {
|
|
5155
|
+
fontSize: "12px",
|
|
5156
|
+
lineHeight: "19px",
|
|
5157
|
+
opacity: .8,
|
|
5158
|
+
whiteSpace: "pre-wrap"
|
|
5159
|
+
}
|
|
5160
|
+
}, text.hint),
|
|
5161
|
+
(0, react.createElement)("div", {
|
|
5162
|
+
key: "actions",
|
|
5163
|
+
style: {
|
|
5164
|
+
display: "flex",
|
|
5165
|
+
gap: "8px",
|
|
5166
|
+
flexWrap: "wrap"
|
|
5167
|
+
}
|
|
5168
|
+
}, [(0, react.createElement)("button", {
|
|
5169
|
+
key: "reload",
|
|
5170
|
+
type: "button",
|
|
5171
|
+
onClick: () => {
|
|
5172
|
+
this.setState({ error: null });
|
|
5173
|
+
}
|
|
5174
|
+
}, text.reload), actions]),
|
|
5175
|
+
(0, react.createElement)("details", {
|
|
5176
|
+
key: "details",
|
|
5177
|
+
style: {
|
|
5178
|
+
fontSize: "11px",
|
|
5179
|
+
opacity: .7
|
|
5180
|
+
}
|
|
5181
|
+
}, [(0, react.createElement)("summary", {
|
|
5182
|
+
key: "summary",
|
|
5183
|
+
style: { cursor: "pointer" }
|
|
5184
|
+
}, text.details), (0, react.createElement)("pre", {
|
|
5185
|
+
key: "body",
|
|
5186
|
+
style: {
|
|
5187
|
+
whiteSpace: "pre-wrap",
|
|
5188
|
+
wordBreak: "break-word",
|
|
5189
|
+
margin: "8px 0 0"
|
|
5190
|
+
}
|
|
5191
|
+
}, error.message)])
|
|
5192
|
+
]);
|
|
5193
|
+
}
|
|
5194
|
+
};
|
|
5195
|
+
//#endregion
|
|
5196
|
+
//#region src/client/optional-primitives.ts
|
|
5197
|
+
function optionalComponent(name) {
|
|
5198
|
+
let value;
|
|
5199
|
+
try {
|
|
5200
|
+
value = _deepseek_ai_dsh_client_ui_primitives[name];
|
|
5201
|
+
} catch {
|
|
5202
|
+
return null;
|
|
5203
|
+
}
|
|
5204
|
+
if (typeof value === "function") return value;
|
|
5205
|
+
if (value !== null && typeof value === "object" && "$$typeof" in value) return value;
|
|
5206
|
+
return null;
|
|
5207
|
+
}
|
|
5208
|
+
/**
|
|
5209
|
+
* `Tag` — the host's read-only chip, for facts with no status meaning
|
|
5210
|
+
* (capabilities, categories). Null on hosts older than 0.1.7-rc.2.
|
|
5211
|
+
*/
|
|
5212
|
+
const HostTag = optionalComponent("Tag");
|
|
5213
|
+
const HostSwitch = optionalComponent("Switch");
|
|
5214
|
+
const HostCheckbox = optionalComponent("Checkbox");
|
|
5215
|
+
//#endregion
|
|
4742
5216
|
//#region src/client/market-mark.ts
|
|
4743
5217
|
/**
|
|
4744
5218
|
* 描边宽度。坐标都落在 0.5 的偏移上,1.25 在 16px 下是一条实心线加一点边缘过渡;
|
|
@@ -4805,7 +5279,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
4805
5279
|
return `https://github.com/${GISCUS.repo}/discussions?discussions_q=${encodeURIComponent(term)}`;
|
|
4806
5280
|
}
|
|
4807
5281
|
/** giscus's own locale codes, which are not the ones this plugin uses. */
|
|
4808
|
-
const giscusLang = (lang) => lang === "zh" ? "zh-CN" : "en";
|
|
5282
|
+
const giscusLang = (lang) => lang === "zh" || lang === "zh-CN" ? "zh-CN" : lang === "ja" ? "ja" : "en";
|
|
4809
5283
|
//#endregion
|
|
4810
5284
|
//#region src/client/CommentsModal.tsx
|
|
4811
5285
|
/**
|
|
@@ -5750,6 +6224,25 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
5750
6224
|
* decision — off screen. It reports the batch as one aggregate ("installing
|
|
5751
6225
|
* 3 / 7") instead of one line per plugin.
|
|
5752
6226
|
*/
|
|
6227
|
+
const repairStates = {
|
|
6228
|
+
reinstalled: "startupRepairReinstalled",
|
|
6229
|
+
verified: "startupRepairVerified",
|
|
6230
|
+
abandoned: "startupRepairAbandoned"
|
|
6231
|
+
};
|
|
6232
|
+
const repairCauses = {
|
|
6233
|
+
"version-changed": "startupRepairVersion",
|
|
6234
|
+
refused: "startupRepairRefused",
|
|
6235
|
+
"not-composed": "startupRepairNotComposed",
|
|
6236
|
+
timeout: "startupRepairTimeout",
|
|
6237
|
+
unknown: "startupRepairUnknown",
|
|
6238
|
+
abandoned: "startupRepairAbandoned"
|
|
6239
|
+
};
|
|
6240
|
+
const checkoutRecoveryCauses = {
|
|
6241
|
+
"profile-busy": "checkoutRecoveryBusy",
|
|
6242
|
+
"package-run": "checkoutRecoveryRun",
|
|
6243
|
+
"writer-lock": "checkoutRecoveryLock",
|
|
6244
|
+
"check-failed": "checkoutRecoveryCheck"
|
|
6245
|
+
};
|
|
5753
6246
|
/** What the two clash outcomes are, in the order they are offered. */
|
|
5754
6247
|
const CHOICES = [{
|
|
5755
6248
|
id: "keep",
|
|
@@ -5927,11 +6420,15 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
5927
6420
|
}
|
|
5928
6421
|
}
|
|
5929
6422
|
function OperationsPanel(props) {
|
|
5930
|
-
const { t, records, open } = props;
|
|
6423
|
+
const { t, records, open, startupRepairEntries = [], checkoutRecoveryEntries = [] } = props;
|
|
6424
|
+
const hasStartupRepair = startupRepairEntries.length > 0;
|
|
6425
|
+
const needsCheckoutRecovery = checkoutRecoveryEntries.length > 0;
|
|
5931
6426
|
const setOpen = props.onOpenChange;
|
|
5932
6427
|
const wrapRef = (0, react.useRef)(null);
|
|
5933
6428
|
const summary = summarize(records);
|
|
5934
6429
|
const busy = summary.running + summary.queued > 0;
|
|
6430
|
+
const showStartupRepairBadge = !busy && summary.attention === 0 && startupRepairEntries.some((entry) => entry.state === "pending" || entry.state === "abandoned");
|
|
6431
|
+
const attention = summary.attention > 0 || showStartupRepairBadge || needsCheckoutRecovery;
|
|
5935
6432
|
const waitingOnHost = records.some((record) => record.hostOperationId !== void 0 && record.state === "queued" && record.waitSince !== void 0);
|
|
5936
6433
|
const [, setClock] = (0, react.useState)(0);
|
|
5937
6434
|
(0, react.useEffect)(() => {
|
|
@@ -5957,14 +6454,14 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
5957
6454
|
}, [open, setOpen]);
|
|
5958
6455
|
const waitingOnAgents = summary.running === 0 && summary.blocked > 0;
|
|
5959
6456
|
const batchLabel = waitingOnAgents ? t("opWaitingAgents").replace("{0}", String(summary.blocked)) : `${t("opInstalling")} ${String(summary.progressed)}/${String(summary.total)}`;
|
|
5960
|
-
const label = busy ? batchLabel : summary.attention > 0 ? `${String(summary.attention)} ${t("opNeedsYou")}` : t("opTitle");
|
|
5961
|
-
const quiet = records.length === 0 && !open;
|
|
6457
|
+
const label = busy ? batchLabel : summary.attention > 0 ? `${String(summary.attention)} ${t("opNeedsYou")}` : showStartupRepairBadge ? `${t("opTitle")} · ${t("startupRepairBadge")}` : t("opTitle");
|
|
6458
|
+
const quiet = records.length === 0 && !showStartupRepairBadge && !needsCheckoutRecovery && !open;
|
|
5962
6459
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
5963
6460
|
className: Market_module_css_default.opWrap,
|
|
5964
6461
|
ref: wrapRef,
|
|
5965
6462
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
5966
6463
|
type: "button",
|
|
5967
|
-
className: quiet ? `${Market_module_css_default.opEntry} ${Market_module_css_default.opEntryQuiet}` :
|
|
6464
|
+
className: quiet ? `${Market_module_css_default.opEntry} ${Market_module_css_default.opEntryQuiet}` : attention ? `${Market_module_css_default.opEntry} ${Market_module_css_default.opEntryAlert}` : Market_module_css_default.opEntry,
|
|
5968
6465
|
"aria-expanded": open,
|
|
5969
6466
|
onClick: () => setOpen(quiet ? true : !open),
|
|
5970
6467
|
children: [
|
|
@@ -5972,12 +6469,12 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
5972
6469
|
className: Market_module_css_default.spin,
|
|
5973
6470
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLoadingOutline16, { size: 12 })
|
|
5974
6471
|
}),
|
|
5975
|
-
|
|
6472
|
+
needsCheckoutRecovery ? `${label} · ${t("checkoutRecoveryTitle")}` : label,
|
|
5976
6473
|
!busy && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
5977
6474
|
className: open ? `${Market_module_css_default.opChevron} ${Market_module_css_default.opChevronOpen}` : Market_module_css_default.opChevron,
|
|
5978
6475
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 12 })
|
|
5979
6476
|
}),
|
|
5980
|
-
!quiet &&
|
|
6477
|
+
!quiet && attention && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: Market_module_css_default.opDot })
|
|
5981
6478
|
]
|
|
5982
6479
|
}), open && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
5983
6480
|
className: Market_module_css_default.opPanel,
|
|
@@ -6027,7 +6524,65 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
6027
6524
|
})
|
|
6028
6525
|
]
|
|
6029
6526
|
}),
|
|
6030
|
-
|
|
6527
|
+
hasStartupRepair && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
6528
|
+
"aria-label": t("startupRepairTitle"),
|
|
6529
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6530
|
+
className: Market_module_css_default.opRepairTitle,
|
|
6531
|
+
children: t("startupRepairTitle")
|
|
6532
|
+
}), startupRepairEntries.map((entry) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6533
|
+
className: Market_module_css_default.opRow,
|
|
6534
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6535
|
+
className: Market_module_css_default.opMain,
|
|
6536
|
+
children: [
|
|
6537
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6538
|
+
className: Market_module_css_default.opName,
|
|
6539
|
+
title: entry.name,
|
|
6540
|
+
children: entry.name
|
|
6541
|
+
}),
|
|
6542
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6543
|
+
className: Market_module_css_default.opStatus,
|
|
6544
|
+
children: t(entry.state === "pending" ? repairCauses[entry.cause] ?? "startupRepairUnknown" : repairStates[entry.state])
|
|
6545
|
+
}),
|
|
6546
|
+
entry.state === "pending" && entry.cause !== "version-changed" && entry.cause !== "abandoned" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6547
|
+
className: Market_module_css_default.opStatus,
|
|
6548
|
+
children: t("startupRepairPending")
|
|
6549
|
+
})
|
|
6550
|
+
]
|
|
6551
|
+
})
|
|
6552
|
+
}, entry.name))]
|
|
6553
|
+
}),
|
|
6554
|
+
needsCheckoutRecovery && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
6555
|
+
"aria-label": t("checkoutRecoveryTitle"),
|
|
6556
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6557
|
+
className: Market_module_css_default.opRepairTitle,
|
|
6558
|
+
children: t("checkoutRecoveryTitle")
|
|
6559
|
+
}), checkoutRecoveryEntries.map((entry) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6560
|
+
className: `${Market_module_css_default.opRow} ${Market_module_css_default.opRowAlert}`,
|
|
6561
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6562
|
+
className: Market_module_css_default.opMain,
|
|
6563
|
+
children: [
|
|
6564
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6565
|
+
className: Market_module_css_default.opName,
|
|
6566
|
+
title: entry.name,
|
|
6567
|
+
children: entry.name
|
|
6568
|
+
}),
|
|
6569
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6570
|
+
className: Market_module_css_default.opStatus,
|
|
6571
|
+
children: t(entry.sourceExists ? "checkoutSourceRetained" : "checkoutSourceUnconfirmed")
|
|
6572
|
+
}),
|
|
6573
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6574
|
+
className: Market_module_css_default.opStatus,
|
|
6575
|
+
children: t(checkoutRecoveryCauses[entry.reason])
|
|
6576
|
+
}),
|
|
6577
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6578
|
+
className: Market_module_css_default.opStatus,
|
|
6579
|
+
children: t("checkoutRecoveryRetry")
|
|
6580
|
+
})
|
|
6581
|
+
]
|
|
6582
|
+
})
|
|
6583
|
+
}, entry.name))]
|
|
6584
|
+
}),
|
|
6585
|
+
records.length === 0 && !hasStartupRepair && !needsCheckoutRecovery && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
6031
6586
|
className: Market_module_css_default.opEmpty,
|
|
6032
6587
|
children: [t("opEmpty"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
6033
6588
|
className: Market_module_css_default.opEmptyHint,
|
|
@@ -6913,7 +7468,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
6913
7468
|
}
|
|
6914
7469
|
};
|
|
6915
7470
|
const entries = notificationNames(snapshot).map((name) => [name, snapshot.updates[name]]);
|
|
6916
|
-
const
|
|
7471
|
+
const failedNotice = failed || snapshot.stale && snapshot.error !== null;
|
|
7472
|
+
const changedNotice = !failedNotice && snapshot.stale;
|
|
7473
|
+
const state = failedNotice ? t("updateChecksFailed") : changedNotice ? t("updateChecksChanged") : snapshot.checking || pending ? t("updateChecksChecking") : snapshot.checkedAt === null ? t("updateChecksPending") : entries.length > 0 ? t("updateChecksFound").replace("{0}", String(entries.length)) : t("updateChecksNone");
|
|
6917
7474
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("details", {
|
|
6918
7475
|
className: Market_module_css_default.updateChecks,
|
|
6919
7476
|
"data-dsh-crate-update-checks": true,
|
|
@@ -6983,10 +7540,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
6983
7540
|
className: Market_module_css_default.updateChecksHint,
|
|
6984
7541
|
children: t(snapshot.intervalHours === null ? "updateChecksLegacyHint" : "updateChecksHint")
|
|
6985
7542
|
}),
|
|
6986
|
-
(
|
|
7543
|
+
(failedNotice || changedNotice) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
6987
7544
|
role: "status",
|
|
6988
7545
|
className: Market_module_css_default.updateChecksHint,
|
|
6989
|
-
children: t("updateChecksFailedHint")
|
|
7546
|
+
children: t(failedNotice ? "updateChecksFailedHint" : "updateChecksChangedHint")
|
|
6990
7547
|
}),
|
|
6991
7548
|
snapshot.lastSuccessAt !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
6992
7549
|
className: Market_module_css_default.updateChecksHint,
|
|
@@ -7048,7 +7605,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
7048
7605
|
/** Oldest first, newest last: the order that makes a cap drop the oldest. */
|
|
7049
7606
|
function read() {
|
|
7050
7607
|
try {
|
|
7051
|
-
const raw =
|
|
7608
|
+
const raw = localStorage.getItem(DISMISSED_HOST_STORAGE_KEY);
|
|
7052
7609
|
if (raw === null) return [];
|
|
7053
7610
|
const parsed = JSON.parse(raw);
|
|
7054
7611
|
if (!Array.isArray(parsed)) return [];
|
|
@@ -7064,7 +7621,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
7064
7621
|
}
|
|
7065
7622
|
function write(ids) {
|
|
7066
7623
|
try {
|
|
7067
|
-
|
|
7624
|
+
localStorage.setItem(DISMISSED_HOST_STORAGE_KEY, JSON.stringify(ids));
|
|
7068
7625
|
} catch {}
|
|
7069
7626
|
}
|
|
7070
7627
|
let cache = null;
|
|
@@ -7080,11 +7637,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
7080
7637
|
/** The user cleared this host row: it must stay cleared across a reload. */
|
|
7081
7638
|
function rememberDismissedHostId(id) {
|
|
7082
7639
|
if (id === "") return;
|
|
7083
|
-
const ids =
|
|
7084
|
-
if (ids.
|
|
7085
|
-
ids.
|
|
7086
|
-
|
|
7087
|
-
write([...
|
|
7640
|
+
const ids = cache ??= new Set(read());
|
|
7641
|
+
if (ids.has(id)) return;
|
|
7642
|
+
ids.add(id);
|
|
7643
|
+
if (ids.size > 100) ids.delete(ids.values().next().value);
|
|
7644
|
+
write([...ids]);
|
|
7088
7645
|
}
|
|
7089
7646
|
//#endregion
|
|
7090
7647
|
//#region src/client/preset-panel.tsx
|
|
@@ -8924,12 +9481,102 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
8924
9481
|
];
|
|
8925
9482
|
}
|
|
8926
9483
|
//#endregion
|
|
9484
|
+
//#region src/client/sort-preference.ts
|
|
9485
|
+
/** The one key all four lists share; exported for the specs' assertions. */
|
|
9486
|
+
const SORT_PREFERENCE_KEY = "dshm-sort-v1";
|
|
9487
|
+
const DEFAULT_CHOICE = {
|
|
9488
|
+
field: "downloads",
|
|
9489
|
+
dir: "desc"
|
|
9490
|
+
};
|
|
9491
|
+
const FIELDS = [
|
|
9492
|
+
"downloads",
|
|
9493
|
+
"stars",
|
|
9494
|
+
"added"
|
|
9495
|
+
];
|
|
9496
|
+
const DIRS = ["desc", "asc"];
|
|
9497
|
+
const INSTALLED_SORTS = [
|
|
9498
|
+
"default",
|
|
9499
|
+
"name",
|
|
9500
|
+
"newest",
|
|
9501
|
+
"oldest"
|
|
9502
|
+
];
|
|
9503
|
+
/** Whatever is in storage, as an object; anything unreadable reads as empty. */
|
|
9504
|
+
function readStored() {
|
|
9505
|
+
try {
|
|
9506
|
+
const raw = localStorage.getItem(SORT_PREFERENCE_KEY);
|
|
9507
|
+
if (raw === null) return {};
|
|
9508
|
+
const parsed = JSON.parse(raw);
|
|
9509
|
+
return parsed !== null && typeof parsed === "object" && !Array.isArray(parsed) ? parsed : {};
|
|
9510
|
+
} catch {
|
|
9511
|
+
return {};
|
|
9512
|
+
}
|
|
9513
|
+
}
|
|
9514
|
+
/**
|
|
9515
|
+
* One list's stored choice, key by key.
|
|
9516
|
+
*
|
|
9517
|
+
* A half-written entry (`field` but no `dir`, or the reverse) keeps the part
|
|
9518
|
+
* that is still a known value and fills the rest from the default: falling back
|
|
9519
|
+
* on the whole object would discard a choice the file does record.
|
|
9520
|
+
*/
|
|
9521
|
+
function choiceFrom(value) {
|
|
9522
|
+
if (value === null || typeof value !== "object" || Array.isArray(value)) return DEFAULT_CHOICE;
|
|
9523
|
+
const record = value;
|
|
9524
|
+
const field = typeof record.field === "string" ? FIELDS.find((known) => known === record.field) : void 0;
|
|
9525
|
+
const dir = typeof record.dir === "string" ? DIRS.find((known) => known === record.dir) : void 0;
|
|
9526
|
+
return {
|
|
9527
|
+
field: field ?? DEFAULT_CHOICE.field,
|
|
9528
|
+
dir: dir ?? DEFAULT_CHOICE.dir
|
|
9529
|
+
};
|
|
9530
|
+
}
|
|
9531
|
+
/** Replace one entry, leaving every other list's choice where it was. */
|
|
9532
|
+
function writeStored(list, value) {
|
|
9533
|
+
try {
|
|
9534
|
+
localStorage.setItem(SORT_PREFERENCE_KEY, JSON.stringify({
|
|
9535
|
+
...readStored(),
|
|
9536
|
+
[list]: value
|
|
9537
|
+
}));
|
|
9538
|
+
} catch {}
|
|
9539
|
+
}
|
|
9540
|
+
function readSortChoice(list) {
|
|
9541
|
+
return choiceFrom(readStored()[list]);
|
|
9542
|
+
}
|
|
9543
|
+
/**
|
|
9544
|
+
* Save `patch` on top of the stored choice. The merge base is the file, not
|
|
9545
|
+
* the caller's React state: a field click and a direction click arrive as two
|
|
9546
|
+
* separate calls, and each one has to keep the other half.
|
|
9547
|
+
*/
|
|
9548
|
+
function rememberSortChoice(list, patch) {
|
|
9549
|
+
const current = readSortChoice(list);
|
|
9550
|
+
writeStored(list, {
|
|
9551
|
+
field: patch.field ?? current.field,
|
|
9552
|
+
dir: patch.dir ?? current.dir
|
|
9553
|
+
});
|
|
9554
|
+
}
|
|
9555
|
+
function readInstalledSort() {
|
|
9556
|
+
const value = readStored().installed;
|
|
9557
|
+
return typeof value === "string" ? INSTALLED_SORTS.find((known) => known === value) ?? "default" : "default";
|
|
9558
|
+
}
|
|
9559
|
+
function rememberInstalledSort(value) {
|
|
9560
|
+
writeStored("installed", value);
|
|
9561
|
+
}
|
|
9562
|
+
//#endregion
|
|
8927
9563
|
//#region src/client/MarketSection.tsx
|
|
8928
9564
|
/**
|
|
8929
9565
|
* The Market settings section: Discover / Favorites / Themes / Installed tabs over the
|
|
8930
9566
|
* /dsh-crate/* host routes, with install/update/uninstall flows and the
|
|
8931
9567
|
* pending-restart bookkeeping in window.sessionStorage.
|
|
8932
9568
|
*/
|
|
9569
|
+
/** Discover + Installed share one chip: same label fallbacks, status tip, bad ink. */
|
|
9570
|
+
function hostRequirementChip(compatibility, key, t) {
|
|
9571
|
+
const label = compatibility?.requirement !== null && compatibility?.requirement !== void 0 ? t("hostRequirement").replace("{0}", compatibility.requirement) : key === null ? t("hostRequirementUnavailable") : compatibility === void 0 ? t("hostRequirementLoading") : compatibility.basis === "undeclared" ? t("hostRequirementUndeclared") : t("hostRequirementUnavailable");
|
|
9572
|
+
const detail = compatibility?.declarations.map((declaration) => declaration.kind === "engine" ? `engines.dsh: ${declaration.range}` : `${declaration.package ?? "peer"}: ${declaration.range}`).join("\n") || label;
|
|
9573
|
+
return {
|
|
9574
|
+
label,
|
|
9575
|
+
title: (compatibility?.status === "compatible" || compatibility?.status === "incompatible" ? t(compatibility.status === "compatible" ? "hostStatusCompatible" : "hostStatusIncompatible") + "\n" : "") + detail,
|
|
9576
|
+
bad: compatibility?.status === "incompatible",
|
|
9577
|
+
status: compatibility?.status ?? "unknown"
|
|
9578
|
+
};
|
|
9579
|
+
}
|
|
8933
9580
|
function isHostDependencyFinding(value) {
|
|
8934
9581
|
if (value === null || typeof value !== "object") return false;
|
|
8935
9582
|
const finding = value;
|
|
@@ -9477,6 +10124,186 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
9477
10124
|
flushFence();
|
|
9478
10125
|
return out;
|
|
9479
10126
|
}
|
|
10127
|
+
function notesReleaseBody(release) {
|
|
10128
|
+
return typeof release?.body === "string" && release.body.trim() !== "" ? release.body : "";
|
|
10129
|
+
}
|
|
10130
|
+
/** Bind a supplied release page to the repository and the selected release tag. */
|
|
10131
|
+
function notesReleasePage(repo, release) {
|
|
10132
|
+
if (repo === void 0) return null;
|
|
10133
|
+
const canonicalRepo = repo.replace(/\.git$/iu, "");
|
|
10134
|
+
if (canonicalRepo.split("/").some((segment) => segment === "" || segment === "." || segment === "..")) return null;
|
|
10135
|
+
const releasesPath = "/" + canonicalRepo + "/releases";
|
|
10136
|
+
const releasesUrl = "https://github.com" + releasesPath;
|
|
10137
|
+
if (release?.url && release.tag) try {
|
|
10138
|
+
const page = new URL(release.url);
|
|
10139
|
+
const tagPrefix = releasesPath + "/tag/";
|
|
10140
|
+
if (page.origin === "https://github.com" && page.username === "" && page.password === "" && page.pathname.slice(0, tagPrefix.length).toLowerCase() === tagPrefix.toLowerCase() && decodeURIComponent(page.pathname.slice(tagPrefix.length)) === release.tag) return page.origin + page.pathname;
|
|
10141
|
+
} catch {}
|
|
10142
|
+
return releasesUrl;
|
|
10143
|
+
}
|
|
10144
|
+
function UpdateNotesContent({ notes, name, target, repoUrl, t, lang }) {
|
|
10145
|
+
const items = notes.history?.items ?? [];
|
|
10146
|
+
const release = notes.kind === "release" ? notes.release : null;
|
|
10147
|
+
const beyondTarget = notes.kind === "release" ? notes.beyondTarget : void 0;
|
|
10148
|
+
const versionOf = (value) => value?.replace(/^v(?=\d)/i, "");
|
|
10149
|
+
const expandedVersion = target !== null && /^[0-9a-f]{40}$/i.test(target) ? items[0]?.version : versionOf(target);
|
|
10150
|
+
const snapshotRelease = beyondTarget === void 0 ? release : null;
|
|
10151
|
+
const matchesSnapshot = (item) => snapshotRelease !== null && (snapshotRelease.tag !== null && snapshotRelease.tag === item.tag || versionOf(snapshotRelease.tag) === versionOf(item.version));
|
|
10152
|
+
const legacyRelease = items.some(matchesSnapshot) ? null : snapshotRelease;
|
|
10153
|
+
const snapshotBody = notesReleaseBody(snapshotRelease);
|
|
10154
|
+
const history = snapshotBody !== "" ? items.map((item) => notesReleaseBody(item) === "" && item.tag !== null && item.tag === snapshotRelease?.tag ? {
|
|
10155
|
+
...item,
|
|
10156
|
+
body: snapshotBody
|
|
10157
|
+
} : item) : items;
|
|
10158
|
+
const commits = notes.kind === "commits" || notes.kind === "release" && (notes.commits?.items.length ?? 0) > 0 ? notes.commits : void 0;
|
|
10159
|
+
const sourceUrl = notes.kind === "source" ? notes.sourceUrl ?? "" : "";
|
|
10160
|
+
const repo = parseSourceUrl(repoUrl ?? "")?.repo ?? parseSourceUrl(sourceUrl)?.repo;
|
|
10161
|
+
const targetRelease = history.find((item) => versionOf(item.version) === expandedVersion) ?? (expandedVersion !== void 0 && versionOf(legacyRelease?.tag ?? null) === expandedVersion ? legacyRelease ?? void 0 : void 0);
|
|
10162
|
+
const targetBodyMissing = targetRelease !== void 0 && notesReleaseBody(targetRelease) === "";
|
|
10163
|
+
const legacyBody = notesReleaseBody(legacyRelease);
|
|
10164
|
+
const historyIncomplete = notes.history?.partial === true || history.length === 0 && (notes.history !== void 0 || notes.kind === "none");
|
|
10165
|
+
const showSourceNotice = notes.kind === "source" && (!historyIncomplete || notes.reason === "unreadable");
|
|
10166
|
+
const missingNotes = (message, page) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
10167
|
+
message,
|
|
10168
|
+
lang === "zh" ? "" : " ",
|
|
10169
|
+
page === null ? t("notesHistoryRetry") : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
10170
|
+
className: Market_module_css_default.notesSourceLink,
|
|
10171
|
+
href: page,
|
|
10172
|
+
target: "_blank",
|
|
10173
|
+
rel: "noreferrer",
|
|
10174
|
+
children: t("notesHistoryReleasePage")
|
|
10175
|
+
})
|
|
10176
|
+
] });
|
|
10177
|
+
const historyHint = !targetBodyMissing && historyIncomplete && !showSourceNotice ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10178
|
+
className: Market_module_css_default.spec,
|
|
10179
|
+
children: missingNotes(t(history.length === 0 ? "notesHistoryEmpty" : "notesHistoryPartial"), notesReleasePage(repo))
|
|
10180
|
+
}) : null;
|
|
10181
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10182
|
+
className: Market_module_css_default.notesBody,
|
|
10183
|
+
children: [
|
|
10184
|
+
history.length === 0 && historyHint,
|
|
10185
|
+
history.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
10186
|
+
className: Market_module_css_default.notesHistory,
|
|
10187
|
+
children: [
|
|
10188
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10189
|
+
className: Market_module_css_default.notesMeta,
|
|
10190
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesHistory") })
|
|
10191
|
+
}),
|
|
10192
|
+
historyHint,
|
|
10193
|
+
history.map((item) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("details", {
|
|
10194
|
+
className: Market_module_css_default.notesEntry,
|
|
10195
|
+
open: versionOf(item.version) === expandedVersion,
|
|
10196
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("summary", {
|
|
10197
|
+
className: Market_module_css_default.notesSummary,
|
|
10198
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: displayLatest(item.version) }), item.publishedAt !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10199
|
+
className: Market_module_css_default.notesDate,
|
|
10200
|
+
children: " · " + item.publishedAt.slice(0, 10)
|
|
10201
|
+
})]
|
|
10202
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10203
|
+
className: Market_module_css_default.notesRendered,
|
|
10204
|
+
children: notesReleaseBody(item) !== "" ? renderMarkdown(item.body) : item === targetRelease ? missingNotes(t("notesHistoryVersionMissing"), notesReleasePage(repo, item)) : t("notesHistoryVersionMissing")
|
|
10205
|
+
})]
|
|
10206
|
+
}, item.version))
|
|
10207
|
+
]
|
|
10208
|
+
}),
|
|
10209
|
+
legacyRelease !== null && (legacyBody !== "" || historyHint === null) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10210
|
+
className: Market_module_css_default.notesMeta,
|
|
10211
|
+
children: [
|
|
10212
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesRelease") }),
|
|
10213
|
+
legacyRelease.tag !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: legacyRelease.tag }),
|
|
10214
|
+
legacyRelease.publishedAt !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: " · " + legacyRelease.publishedAt.slice(0, 10) })
|
|
10215
|
+
]
|
|
10216
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10217
|
+
className: Market_module_css_default.notesRendered,
|
|
10218
|
+
children: legacyBody === "" ? missingNotes(t("notesHistoryVersionMissing"), notesReleasePage(repo, legacyRelease)) : renderMarkdown(legacyBody)
|
|
10219
|
+
})] }),
|
|
10220
|
+
commits !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
10221
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10222
|
+
className: Market_module_css_default.notesMeta,
|
|
10223
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesCommits") })
|
|
10224
|
+
}),
|
|
10225
|
+
!commits.found && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10226
|
+
className: Market_module_css_default.notesMeta,
|
|
10227
|
+
children: t("notesCommitsRecent")
|
|
10228
|
+
}),
|
|
10229
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
10230
|
+
className: Market_module_css_default.notesList,
|
|
10231
|
+
children: commits.items.map((c) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
10232
|
+
className: Market_module_css_default.notesRow,
|
|
10233
|
+
children: [
|
|
10234
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10235
|
+
className: Market_module_css_default.notesDate,
|
|
10236
|
+
children: c.date !== null ? c.date.slice(0, 10) : ""
|
|
10237
|
+
}),
|
|
10238
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10239
|
+
className: Market_module_css_default.notesMsg,
|
|
10240
|
+
children: mdInline(c.message)
|
|
10241
|
+
}),
|
|
10242
|
+
repoUrl !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
10243
|
+
className: Market_module_css_default.notesSha,
|
|
10244
|
+
href: repoUrl + "/commit/" + c.sha,
|
|
10245
|
+
target: "_blank",
|
|
10246
|
+
rel: "noreferrer",
|
|
10247
|
+
title: c.message,
|
|
10248
|
+
children: c.sha.slice(0, 7)
|
|
10249
|
+
})
|
|
10250
|
+
]
|
|
10251
|
+
}, c.sha))
|
|
10252
|
+
})
|
|
10253
|
+
] }),
|
|
10254
|
+
notes.kind === "npm" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10255
|
+
className: Market_module_css_default.notesMeta,
|
|
10256
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesNpm") })
|
|
10257
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
10258
|
+
className: Market_module_css_default.notesList,
|
|
10259
|
+
children: notes.npmTimes.map((v) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
10260
|
+
className: Market_module_css_default.notesRow,
|
|
10261
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
10262
|
+
className: Market_module_css_default.notesDate,
|
|
10263
|
+
children: v.date.slice(0, 10)
|
|
10264
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
10265
|
+
className: Market_module_css_default.notesVer,
|
|
10266
|
+
href: `https://www.npmjs.com/package/${encodeURIComponent(name)}/v/${encodeURIComponent(v.version)}`,
|
|
10267
|
+
target: "_blank",
|
|
10268
|
+
rel: "noreferrer",
|
|
10269
|
+
children: v.version
|
|
10270
|
+
})]
|
|
10271
|
+
}, v.version))
|
|
10272
|
+
})] }),
|
|
10273
|
+
notes.kind === "source" && showSourceNotice && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10274
|
+
className: Market_module_css_default.spec,
|
|
10275
|
+
children: [t(notes.reason === "unavailable" ? "notesLoadFail" : notes.reason === "unreadable" ? "notesSourceUnreadable" : "notesSource"), typeof notes.sourceUrl === "string" && /^https?:\/\//i.test(notes.sourceUrl) ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [lang === "zh" ? "" : " ", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
10276
|
+
className: Market_module_css_default.notesSourceLink,
|
|
10277
|
+
href: notes.sourceUrl,
|
|
10278
|
+
target: "_blank",
|
|
10279
|
+
rel: "noreferrer",
|
|
10280
|
+
children: t("notesSourceLink")
|
|
10281
|
+
})] }) : notes.reason !== "unavailable" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [lang === "zh" ? "" : " ", t("notesSourceNoLink")] })]
|
|
10282
|
+
}),
|
|
10283
|
+
release !== null && beyondTarget !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("section", {
|
|
10284
|
+
className: Market_module_css_default.notesHeld,
|
|
10285
|
+
children: [
|
|
10286
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
10287
|
+
className: Market_module_css_default.notesMeta,
|
|
10288
|
+
children: [
|
|
10289
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesHeldRelease") }),
|
|
10290
|
+
release.tag !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: release.tag }),
|
|
10291
|
+
release.publishedAt !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: " · " + release.publishedAt.slice(0, 10) })
|
|
10292
|
+
]
|
|
10293
|
+
}),
|
|
10294
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10295
|
+
className: Market_module_css_default.spec,
|
|
10296
|
+
children: t("notesBeyondTarget").replace("{0}", release.tag ?? "").replace("{1}", beyondTarget)
|
|
10297
|
+
}),
|
|
10298
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
10299
|
+
className: Market_module_css_default.notesRendered,
|
|
10300
|
+
children: notesReleaseBody(release) === "" ? t("notesHistoryVersionMissing") : renderMarkdown(release.body)
|
|
10301
|
+
})
|
|
10302
|
+
]
|
|
10303
|
+
})
|
|
10304
|
+
]
|
|
10305
|
+
});
|
|
10306
|
+
}
|
|
9480
10307
|
function OwnerAvatar({ name, owner, icon, className }) {
|
|
9481
10308
|
const [failed, setFailed] = (0, react.useState)(false);
|
|
9482
10309
|
const [routeIndex, setRouteIndex] = (0, react.useState)(0);
|
|
@@ -9861,7 +10688,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
9861
10688
|
* Two columns at the settings dialog's width; the sidebar page is wider and
|
|
9862
10689
|
* gets a third once each column still has room for a full card.
|
|
9863
10690
|
*/
|
|
9864
|
-
function Masonry({ items, render }) {
|
|
10691
|
+
function Masonry({ items, render, maxColumns = 3, minColumns = 2, className }) {
|
|
9865
10692
|
const wide = useMediaWide();
|
|
9866
10693
|
const ref = (0, react.useRef)(null);
|
|
9867
10694
|
const [columns, setColumns] = (0, react.useState)(2);
|
|
@@ -9869,13 +10696,18 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
9869
10696
|
const el = ref.current;
|
|
9870
10697
|
if (el === null || typeof ResizeObserver === "undefined") return;
|
|
9871
10698
|
const observer = new ResizeObserver(([entry]) => {
|
|
9872
|
-
if (entry !== void 0) setColumns(
|
|
10699
|
+
if (entry !== void 0) setColumns(masonryColumnCount(entry.contentRect.width, maxColumns, 290, minColumns));
|
|
9873
10700
|
});
|
|
9874
10701
|
observer.observe(el);
|
|
9875
10702
|
return () => observer.disconnect();
|
|
9876
|
-
}, [
|
|
10703
|
+
}, [
|
|
10704
|
+
wide,
|
|
10705
|
+
maxColumns,
|
|
10706
|
+
minColumns
|
|
10707
|
+
]);
|
|
10708
|
+
const masonryClass = [Market_module_css_default.masonry, className].filter(Boolean).join(" ");
|
|
9877
10709
|
if (!wide) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9878
|
-
className:
|
|
10710
|
+
className: masonryClass,
|
|
9879
10711
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9880
10712
|
className: Market_module_css_default.masonryCol,
|
|
9881
10713
|
children: items.map(render)
|
|
@@ -9887,7 +10719,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
9887
10719
|
});
|
|
9888
10720
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9889
10721
|
ref,
|
|
9890
|
-
className:
|
|
10722
|
+
className: masonryClass,
|
|
9891
10723
|
children: buckets.map((bucket, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
9892
10724
|
className: Market_module_css_default.masonryCol,
|
|
9893
10725
|
children: bucket.map(render)
|
|
@@ -10625,6 +11457,26 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
10625
11457
|
})
|
|
10626
11458
|
});
|
|
10627
11459
|
}
|
|
11460
|
+
/** Clock face for held-wait hints (Lucide `clock` geometry). */
|
|
11461
|
+
function IconClock({ size = 12 }) {
|
|
11462
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
11463
|
+
viewBox: "0 0 24 24",
|
|
11464
|
+
width: size,
|
|
11465
|
+
height: size,
|
|
11466
|
+
fill: "none",
|
|
11467
|
+
stroke: "currentColor",
|
|
11468
|
+
strokeWidth: "1.75",
|
|
11469
|
+
strokeLinecap: "round",
|
|
11470
|
+
strokeLinejoin: "round",
|
|
11471
|
+
"aria-hidden": "true",
|
|
11472
|
+
focusable: "false",
|
|
11473
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("circle", {
|
|
11474
|
+
cx: "12",
|
|
11475
|
+
cy: "12",
|
|
11476
|
+
r: "10"
|
|
11477
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("path", { d: "M12 6v6l4 2" })]
|
|
11478
|
+
});
|
|
11479
|
+
}
|
|
10628
11480
|
/** Reminders off (Lucide `bell-off` geometry): the body breaks where the slash crosses it. */
|
|
10629
11481
|
function IconBellOff({ size = 16 }) {
|
|
10630
11482
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("svg", {
|
|
@@ -10997,11 +11849,24 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
10997
11849
|
}
|
|
10998
11850
|
/** Same cap as `MAX_NOTE` in hot.ts; the server trims anything longer. */
|
|
10999
11851
|
const NOTE_MAX = 200;
|
|
11000
|
-
/**
|
|
11001
|
-
function
|
|
11002
|
-
|
|
11003
|
-
if (
|
|
11004
|
-
return
|
|
11852
|
+
/** Describe the pending release separately from any version the update button can install. */
|
|
11853
|
+
function marketWaitTip(held, eligible, locale, t) {
|
|
11854
|
+
const pending = marketHeldVersionText(held, locale, t);
|
|
11855
|
+
if (eligible === null) return pending;
|
|
11856
|
+
return `${t("marketVersionAvailableNow").replace("{0}", displayLatest(eligible))} · ${pending}`;
|
|
11857
|
+
}
|
|
11858
|
+
/** Compact held-wait for the trailing row (clock + short label); version/reason in title. */
|
|
11859
|
+
function heldUpdateBeside(held, t) {
|
|
11860
|
+
const left = Date.parse(held.until) - Date.now();
|
|
11861
|
+
const estimated = held.estimated === true;
|
|
11862
|
+
const known = Number.isFinite(left) && left > 0;
|
|
11863
|
+
const amount = known ? String(Math.max(1, Math.ceil(left / (estimated ? 6e4 : 36e5)))) : "";
|
|
11864
|
+
const label = !known ? t("updateHeldBesideUnknown") : estimated ? t("updateHeldBesideEstimated").replace("{1}", amount) : t("updateHeldBeside").replace("{1}", amount);
|
|
11865
|
+
const reason = !known ? t("updateHeldBesideUnknown") : t(estimated ? "updateHeldEstimatedHint" : "updateHeldHint").replace("{1}", amount);
|
|
11866
|
+
return {
|
|
11867
|
+
label,
|
|
11868
|
+
title: `${displayLatest(held.latest)} · ${reason}`
|
|
11869
|
+
};
|
|
11005
11870
|
}
|
|
11006
11871
|
/** The tail of a local checkout path; the full path stays in the title and the copy button. */
|
|
11007
11872
|
function shortLocalPath(path) {
|
|
@@ -11155,7 +12020,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11155
12020
|
* are display preferences, not profile settings: since 0.1.7 the settings
|
|
11156
12021
|
* surface is deliberately just `allowRestart`.
|
|
11157
12022
|
*
|
|
11158
|
-
* When localStorage is unavailable, the preference falls
|
|
12023
|
+
* When window.localStorage is unavailable, the preference falls
|
|
11159
12024
|
* back to the default, and the default is "expanded and shown".
|
|
11160
12025
|
*/
|
|
11161
12026
|
const RECENT_COLLAPSED_KEY = "dshm-recent-collapsed";
|
|
@@ -11306,6 +12171,26 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11306
12171
|
return top <= line + 2 && top >= line - 4;
|
|
11307
12172
|
}
|
|
11308
12173
|
/**
|
|
12174
|
+
* Mirrors "this row is sitting on its sticky line" onto the row itself (#1237).
|
|
12175
|
+
*
|
|
12176
|
+
* A theme may set `--dsw-alias-bg-base` to a transparent colour so the
|
|
12177
|
+
* wallpaper shows through — that is the host's own page-background token, and
|
|
12178
|
+
* the market's sticky rows are the only thing between that transparency and
|
|
12179
|
+
* the cards scrolling underneath them. Such a theme wants no surface while the
|
|
12180
|
+
* row is still in flow and one once it sticks; until now it had no way to tell
|
|
12181
|
+
* the two apart except by matching the CSS modules' hashed class names.
|
|
12182
|
+
*
|
|
12183
|
+
* `data-dshm-stuck` is that state, on a selector that survives the hashes.
|
|
12184
|
+
* The market's own stylesheet reads it only to pick `--dshm-stuck-bg`; with
|
|
12185
|
+
* that hook unset the surface stays exactly `--dsw-alias-bg-base`, so a host
|
|
12186
|
+
* without such a theme is unchanged.
|
|
12187
|
+
*/
|
|
12188
|
+
function markStuck(el, pinned) {
|
|
12189
|
+
if (!(el instanceof HTMLElement)) return;
|
|
12190
|
+
if (pinned) el.dataset.dshmStuck = "true";
|
|
12191
|
+
else delete el.dataset.dshmStuck;
|
|
12192
|
+
}
|
|
12193
|
+
/**
|
|
11309
12194
|
* ScrollTop where the market's tab row first sticks under the host chrome.
|
|
11310
12195
|
* Unsticks for one measurement so a currently-pinned head still reports its
|
|
11311
12196
|
* in-flow offset. That is the "top" Plugins back-to-top aims for — tabs stay
|
|
@@ -11322,8 +12207,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11322
12207
|
function MarketSection(props) {
|
|
11323
12208
|
const t = props.t;
|
|
11324
12209
|
const initialWebdav = (0, react.useMemo)(savedWebdav, []);
|
|
11325
|
-
const
|
|
11326
|
-
const lang =
|
|
12210
|
+
const uiLocale = marketUiLocale((0, react.useSyncExternalStore)((cb) => props.locale.subscribe(cb), () => props.locale.getSnapshot()).active);
|
|
12211
|
+
const lang = uiLocale === "zh-CN" ? "zh" : "en";
|
|
11327
12212
|
const surface = props.surface ?? "settings";
|
|
11328
12213
|
const sidebar = props.sidebar;
|
|
11329
12214
|
const notificationSnapshot = useUpdateNotifications();
|
|
@@ -11376,6 +12261,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11376
12261
|
* exactly why it owes the user this sentence instead of a spinner.
|
|
11377
12262
|
*/
|
|
11378
12263
|
const [marketGone, setMarketGone] = (0, react.useState)(false);
|
|
12264
|
+
const [startupRepair, setStartupRepair] = (0, react.useState)();
|
|
12265
|
+
const [checkoutRecovery, setCheckoutRecovery] = (0, react.useState)();
|
|
12266
|
+
const repairStatusRequest = (0, react.useRef)(0);
|
|
11379
12267
|
const [reconnecting, setReconnecting] = (0, react.useState)(true);
|
|
11380
12268
|
const [reconnectRound, setReconnectRound] = (0, react.useState)(0);
|
|
11381
12269
|
const [installed, setInstalledState] = (0, react.useState)(cachedInstalled ?? {});
|
|
@@ -11445,16 +12333,43 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11445
12333
|
const recordSeq = (0, react.useRef)(0);
|
|
11446
12334
|
/** The synthetic install task rebuilt from dshm-pending after a remount. */
|
|
11447
12335
|
const recoveredInstall = (0, react.useRef)(null);
|
|
11448
|
-
/** The
|
|
11449
|
-
const
|
|
12336
|
+
/** The local task tracking dshm-updating, either awaiting its reply or recovering it. */
|
|
12337
|
+
const pendingUpdate = (0, react.useRef)(null);
|
|
12338
|
+
const mountedRef = (0, react.useRef)(true);
|
|
12339
|
+
(0, react.useEffect)(() => {
|
|
12340
|
+
mountedRef.current = true;
|
|
12341
|
+
return () => {
|
|
12342
|
+
mountedRef.current = false;
|
|
12343
|
+
pendingUpdate.current = null;
|
|
12344
|
+
};
|
|
12345
|
+
}, []);
|
|
11450
12346
|
/**
|
|
11451
12347
|
* The install queue: agents-busy 409s become `queued` records instead of
|
|
11452
12348
|
* failures, and drain automatically when agents go idle (see drainQueue).
|
|
11453
|
-
* Persisted in localStorage so a refresh keeps the queue; only `queued`
|
|
12349
|
+
* Persisted in window.localStorage so a refresh keeps the queue; only `queued`
|
|
11454
12350
|
* records persist — `running` recovery stays on the dshm-pending paths.
|
|
11455
12351
|
*/
|
|
11456
12352
|
const updateCheck = (0, react.useSyncExternalStore)(subscribeUpdateCheck, getUpdateCheckSnapshot);
|
|
11457
12353
|
const { updates } = updateCheck;
|
|
12354
|
+
/**
|
|
12355
|
+
* The release in this profile that is still inside the safety wait, as last
|
|
12356
|
+
* heard from the server (#1252). pnpm refuses every change while it holds,
|
|
12357
|
+
* so a batch or the queue stops at the first such refusal instead of trying
|
|
12358
|
+
* each plugin in turn. The update check is the authority: whatever it says
|
|
12359
|
+
* next replaces this.
|
|
12360
|
+
*/
|
|
12361
|
+
const profileBlockRef = (0, react.useRef)(null);
|
|
12362
|
+
const profileBlocked = (0, react.useMemo)(() => Object.values(updates).find((status) => status.profileBlocked !== void 0)?.profileBlocked ?? null, [updates]);
|
|
12363
|
+
(0, react.useEffect)(() => {
|
|
12364
|
+
profileBlockRef.current = profileBlocked;
|
|
12365
|
+
}, [profileBlocked]);
|
|
12366
|
+
/**
|
|
12367
|
+
* The host answered an update with "restart first" (#1253): an earlier one in
|
|
12368
|
+
* this run already moved the loaded packages, and every later one would be
|
|
12369
|
+
* refused the same way. Tied to the host's boot id, so a restart ends it.
|
|
12370
|
+
*/
|
|
12371
|
+
const [restartHold, setRestartHold] = (0, react.useState)(null);
|
|
12372
|
+
const restartHoldRef = (0, react.useRef)(false);
|
|
11458
12373
|
const queueRestoredRef = (0, react.useRef)(false);
|
|
11459
12374
|
const [installedReady, setInstalledReady] = (0, react.useState)(cachedInstalledReady);
|
|
11460
12375
|
(0, react.useEffect)(() => {
|
|
@@ -11740,6 +12655,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11740
12655
|
const [notesFor, setNotesFor] = (0, react.useState)(null);
|
|
11741
12656
|
const [updateNotes, setUpdateNotes] = (0, react.useState)(null);
|
|
11742
12657
|
const [notesState, setNotesState] = (0, react.useState)("loading");
|
|
12658
|
+
const notesRequest = (0, react.useRef)(null);
|
|
12659
|
+
(0, react.useEffect)(() => () => notesRequest.current?.abort(), []);
|
|
11743
12660
|
const [staleName, setStaleName] = (0, react.useState)(null);
|
|
11744
12661
|
const [restoreConfirm, setRestoreConfirm] = (0, react.useState)(null);
|
|
11745
12662
|
/** A release whose declared host requirement this host does not meet (#404). kind distinguishes the update dialog from the fresh-install dialog. */
|
|
@@ -11835,9 +12752,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11835
12752
|
* market's `SortField`: that one is downloads/stars/added, and none of the
|
|
11836
12753
|
* three exist for an installed package — `added` is the catalog's
|
|
11837
12754
|
* collection date, which is a different question from when the user
|
|
11838
|
-
* installed it.
|
|
12755
|
+
* installed it. The choice outlives this mount (#1142) — the mirror effect
|
|
12756
|
+
* below keeps it in window.localStorage.
|
|
11839
12757
|
*/
|
|
11840
|
-
const [installedSort, setInstalledSort] = (0, react.useState)(
|
|
12758
|
+
const [installedSort, setInstalledSort] = (0, react.useState)(() => readInstalledSort());
|
|
11841
12759
|
/** Catalog URLs bookmarked for later install (#414). */
|
|
11842
12760
|
const [favoriteUrls, setFavoriteUrlsState] = (0, react.useState)(() => cachedFavoriteUrls);
|
|
11843
12761
|
const setFavoriteUrls = (0, react.useCallback)(cacheState((value) => {
|
|
@@ -11942,7 +12860,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11942
12860
|
/**
|
|
11943
12861
|
* Dismissal of the host-reported restart notice, keyed to the current boot
|
|
11944
12862
|
* so it reappears after a restart that did not happen and after any new
|
|
11945
|
-
* change. sessionStorage, not local: closing the tab is a fresh start.
|
|
12863
|
+
* change. window.sessionStorage, not local: closing the tab is a fresh start.
|
|
11946
12864
|
*/
|
|
11947
12865
|
const [restartNoticeDismissed, setRestartNoticeDismissed] = (0, react.useState)(false);
|
|
11948
12866
|
/** Client-part plugins toggled this session — their UI needs a refresh. */
|
|
@@ -11979,6 +12897,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
11979
12897
|
const [envFixing, setEnvFixing] = (0, react.useState)(false);
|
|
11980
12898
|
const [envFailed, setEnvFailed] = (0, react.useState)(false);
|
|
11981
12899
|
const [bootId, setBootId] = (0, react.useState)(null);
|
|
12900
|
+
const bootIdRef = (0, react.useRef)(null);
|
|
12901
|
+
(0, react.useEffect)(() => {
|
|
12902
|
+
bootIdRef.current = bootId;
|
|
12903
|
+
restartHoldRef.current = restartHold !== null && restartHold.boot === bootId;
|
|
12904
|
+
}, [bootId, restartHold]);
|
|
11982
12905
|
/** One-click restart (#14 by @ysyyhhh): server capability + in-flight state. */
|
|
11983
12906
|
const [restartEnabled, setRestartEnabled] = (0, react.useState)(false);
|
|
11984
12907
|
/** Supervisor the host detected around itself, when it named one (#229). */
|
|
@@ -12050,8 +12973,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12050
12973
|
const restoringStickRef = (0, react.useRef)(false);
|
|
12051
12974
|
/** Hidden file input behind the Import button (a Button can't host an <input>). */
|
|
12052
12975
|
const fileInputRef = (0, react.useRef)(null);
|
|
12053
|
-
const [sortField, setSortField] = (0, react.useState)("
|
|
12054
|
-
const [sortDir, setSortDir] = (0, react.useState)("
|
|
12976
|
+
const [sortField, setSortField] = (0, react.useState)(() => readSortChoice("discover").field);
|
|
12977
|
+
const [sortDir, setSortDir] = (0, react.useState)(() => readSortChoice("discover").dir);
|
|
12055
12978
|
const [timeRange, setTimeRange] = (0, react.useState)("all");
|
|
12056
12979
|
const setCompatibleWithHost = (0, react.useCallback)((next) => {
|
|
12057
12980
|
discoveryScan.setEnabled(next);
|
|
@@ -12063,12 +12986,47 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12063
12986
|
const [catsOpen, setCatsOpen] = (0, react.useState)(false);
|
|
12064
12987
|
/** Themes tab: independent from Discover's sort/time state above — a
|
|
12065
12988
|
* search or sort choice in one tab has no business resetting the other. */
|
|
12066
|
-
const [themeSortField, setThemeSortField] = (0, react.useState)("
|
|
12067
|
-
const [themeSortDir, setThemeSortDir] = (0, react.useState)("
|
|
12989
|
+
const [themeSortField, setThemeSortField] = (0, react.useState)(() => readSortChoice("themes").field);
|
|
12990
|
+
const [themeSortDir, setThemeSortDir] = (0, react.useState)(() => readSortChoice("themes").dir);
|
|
12068
12991
|
const [themeTimeRange, setThemeTimeRange] = (0, react.useState)("all");
|
|
12069
|
-
const [favSortField, setFavSortField] = (0, react.useState)("
|
|
12070
|
-
const [favSortDir, setFavSortDir] = (0, react.useState)("
|
|
12992
|
+
const [favSortField, setFavSortField] = (0, react.useState)(() => readSortChoice("favorites").field);
|
|
12993
|
+
const [favSortDir, setFavSortDir] = (0, react.useState)(() => readSortChoice("favorites").dir);
|
|
12071
12994
|
const [favTimeRange, setFavTimeRange] = (0, react.useState)("all");
|
|
12995
|
+
/**
|
|
12996
|
+
* Each list's order is a display preference, not a profile setting (#1142):
|
|
12997
|
+
* the choice used to live only in this component's state, so a tab switch or
|
|
12998
|
+
* a reload put every list back on its default. The mirror writes the value
|
|
12999
|
+
* that is on screen, which is why it also runs on the first render — a fresh
|
|
13000
|
+
* profile records the default it started from, a reloaded one records the
|
|
13001
|
+
* choice it restored, and neither can drift from what the user is seeing.
|
|
13002
|
+
*
|
|
13003
|
+
* window.localStorage rather than state.json: the same line the catalog's
|
|
13004
|
+
* compatibility filter (`dshm-host-filter`) and the "recently added" flags
|
|
13005
|
+
* (#940) take.
|
|
13006
|
+
*/
|
|
13007
|
+
(0, react.useEffect)(() => {
|
|
13008
|
+
rememberSortChoice("discover", {
|
|
13009
|
+
field: sortField,
|
|
13010
|
+
dir: sortDir
|
|
13011
|
+
});
|
|
13012
|
+
rememberSortChoice("themes", {
|
|
13013
|
+
field: themeSortField,
|
|
13014
|
+
dir: themeSortDir
|
|
13015
|
+
});
|
|
13016
|
+
rememberSortChoice("favorites", {
|
|
13017
|
+
field: favSortField,
|
|
13018
|
+
dir: favSortDir
|
|
13019
|
+
});
|
|
13020
|
+
rememberInstalledSort(installedSort);
|
|
13021
|
+
}, [
|
|
13022
|
+
sortField,
|
|
13023
|
+
sortDir,
|
|
13024
|
+
themeSortField,
|
|
13025
|
+
themeSortDir,
|
|
13026
|
+
favSortField,
|
|
13027
|
+
favSortDir,
|
|
13028
|
+
installedSort
|
|
13029
|
+
]);
|
|
12072
13030
|
/** WebDAV provider-preset dropdown (primitives Menu). */
|
|
12073
13031
|
const [presetOpen, setPresetOpen] = (0, react.useState)(false);
|
|
12074
13032
|
/** Install-command disclosure inside the confirm dialog. */
|
|
@@ -12525,12 +13483,17 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12525
13483
|
* with the user left to guess whether the plugin landed.
|
|
12526
13484
|
*/
|
|
12527
13485
|
const noteMarketGone = (0, react.useCallback)(() => {
|
|
13486
|
+
if (!mountedRef.current) return;
|
|
12528
13487
|
discoveryScan.setUnavailable();
|
|
12529
13488
|
refreshRequest.current = 0;
|
|
13489
|
+
repairStatusRequest.current += 1;
|
|
13490
|
+
setStartupRepair(void 0);
|
|
13491
|
+
setCheckoutRecovery(void 0);
|
|
12530
13492
|
setCheckingUpdates(false);
|
|
12531
13493
|
setMarketGone(true);
|
|
12532
13494
|
setBusyUrl(null);
|
|
12533
13495
|
setUpdatingName(null);
|
|
13496
|
+
pendingUpdate.current = null;
|
|
12534
13497
|
setRemovingName(null);
|
|
12535
13498
|
setRecords((list) => list.map((record) => record.state === "running" || record.state === "queued" ? {
|
|
12536
13499
|
...record,
|
|
@@ -12550,13 +13513,64 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12550
13513
|
* poll that reads this stops on the null: the market is no longer mounted,
|
|
12551
13514
|
* so there is no status to read and nothing left to poll for.
|
|
12552
13515
|
*/
|
|
12553
|
-
const readMarketStatus = (0, react.useCallback)(async (res) => {
|
|
13516
|
+
const readMarketStatus = (0, react.useCallback)(async (res, repairRequest) => {
|
|
12554
13517
|
if (res.status === 404) {
|
|
12555
|
-
noteMarketGone();
|
|
13518
|
+
if (repairRequest === void 0 || repairRequest === repairStatusRequest.current) noteMarketGone();
|
|
12556
13519
|
return null;
|
|
12557
13520
|
}
|
|
12558
13521
|
return await res.json();
|
|
12559
13522
|
}, [noteMarketGone]);
|
|
13523
|
+
const applyRepairStatus = (0, react.useCallback)((status, request) => {
|
|
13524
|
+
if (!mounted.current || request !== repairStatusRequest.current) return;
|
|
13525
|
+
const report = status.startupRepair;
|
|
13526
|
+
setStartupRepair((previous) => report && previous?.id === report.id && previous.revision > report.revision ? previous : report);
|
|
13527
|
+
setCheckoutRecovery(status.checkoutRecovery);
|
|
13528
|
+
}, []);
|
|
13529
|
+
const refreshRepairStatus = (0, react.useCallback)(async (signal) => {
|
|
13530
|
+
const request = ++repairStatusRequest.current;
|
|
13531
|
+
try {
|
|
13532
|
+
const res = await fetch(api("/dsh-crate/status"), {
|
|
13533
|
+
cache: "no-store",
|
|
13534
|
+
signal: signal ?? null
|
|
13535
|
+
});
|
|
13536
|
+
if (!signal?.aborted && (res.ok || res.status === 404)) {
|
|
13537
|
+
const status = await readMarketStatus(res, request);
|
|
13538
|
+
if (!signal?.aborted && status !== null) applyRepairStatus(status, request);
|
|
13539
|
+
}
|
|
13540
|
+
} catch {}
|
|
13541
|
+
}, [readMarketStatus, applyRepairStatus]);
|
|
13542
|
+
const checkingRepair = startupRepair?.checking === true || checkoutRecovery?.checking === true;
|
|
13543
|
+
(0, react.useEffect)(() => {
|
|
13544
|
+
if (!checkingRepair || marketGone) return;
|
|
13545
|
+
const controller = new AbortController();
|
|
13546
|
+
let timer = setTimeout(() => {
|
|
13547
|
+
poll();
|
|
13548
|
+
}, 2e3);
|
|
13549
|
+
async function poll() {
|
|
13550
|
+
await refreshRepairStatus(controller.signal);
|
|
13551
|
+
if (!controller.signal.aborted) timer = setTimeout(() => {
|
|
13552
|
+
poll();
|
|
13553
|
+
}, 2e3);
|
|
13554
|
+
}
|
|
13555
|
+
return () => {
|
|
13556
|
+
controller.abort();
|
|
13557
|
+
clearTimeout(timer);
|
|
13558
|
+
};
|
|
13559
|
+
}, [
|
|
13560
|
+
checkingRepair,
|
|
13561
|
+
marketGone,
|
|
13562
|
+
refreshRepairStatus
|
|
13563
|
+
]);
|
|
13564
|
+
const wasCheckingCheckout = (0, react.useRef)(false);
|
|
13565
|
+
(0, react.useEffect)(() => {
|
|
13566
|
+
const checking = checkoutRecovery?.checking === true;
|
|
13567
|
+
if (wasCheckingCheckout.current && !checking && !marketGone) refreshInstalled();
|
|
13568
|
+
wasCheckingCheckout.current = checking;
|
|
13569
|
+
}, [
|
|
13570
|
+
checkoutRecovery,
|
|
13571
|
+
marketGone,
|
|
13572
|
+
refreshInstalled
|
|
13573
|
+
]);
|
|
12560
13574
|
const loadCatalog = (0, react.useCallback)(() => {
|
|
12561
13575
|
setLoadError(null);
|
|
12562
13576
|
return discoveryScan.resume().then((outcome) => {
|
|
@@ -12589,6 +13603,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12589
13603
|
let stopped = false;
|
|
12590
13604
|
const attempt = async () => {
|
|
12591
13605
|
const boot = updateCheckBoot;
|
|
13606
|
+
const repairRequest = ++repairStatusRequest.current;
|
|
12592
13607
|
inFlight = new AbortController();
|
|
12593
13608
|
const cutoff = setTimeout(() => inFlight?.abort(), RECONNECT_REQUEST_MS);
|
|
12594
13609
|
try {
|
|
@@ -12598,6 +13613,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12598
13613
|
});
|
|
12599
13614
|
const status = res.ok ? await res.json() : null;
|
|
12600
13615
|
if (!stopped && status !== null && typeof status === "object" && typeof status.boot === "string") {
|
|
13616
|
+
applyRepairStatus(status, repairRequest);
|
|
12601
13617
|
discoveryScan.setBoot(status.boot);
|
|
12602
13618
|
observeUpdateCheckBoot(status.boot, boot);
|
|
12603
13619
|
setMarketGone(false);
|
|
@@ -12630,13 +13646,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12630
13646
|
marketGone,
|
|
12631
13647
|
reconnectRound,
|
|
12632
13648
|
loadCatalog,
|
|
12633
|
-
refreshInstalled
|
|
13649
|
+
refreshInstalled,
|
|
13650
|
+
applyRepairStatus
|
|
12634
13651
|
]);
|
|
12635
13652
|
(0, react.useEffect)(() => {
|
|
12636
13653
|
loadCatalog();
|
|
12637
13654
|
const boot = updateCheckBoot;
|
|
12638
|
-
|
|
13655
|
+
const repairRequest = ++repairStatusRequest.current;
|
|
13656
|
+
fetch(api("/dsh-crate/status"), { cache: "no-store" }).then((res) => readMarketStatus(res, repairRequest)).then((status) => {
|
|
12639
13657
|
if (status === null) return;
|
|
13658
|
+
applyRepairStatus(status, repairRequest);
|
|
12640
13659
|
statusRef.current = {
|
|
12641
13660
|
busy: status.busy === true,
|
|
12642
13661
|
runningAgents: Array.isArray(status.runningAgents) ? status.runningAgents.map(String) : [],
|
|
@@ -12669,7 +13688,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12669
13688
|
refreshInstalled,
|
|
12670
13689
|
loadCatalog,
|
|
12671
13690
|
readMarketStatus,
|
|
12672
|
-
restoreDrainMarkers
|
|
13691
|
+
restoreDrainMarkers,
|
|
13692
|
+
applyRepairStatus
|
|
12673
13693
|
]);
|
|
12674
13694
|
(0, react.useEffect)(() => {
|
|
12675
13695
|
if (bootId === null) return;
|
|
@@ -12738,7 +13758,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12738
13758
|
if (updating !== null && typeof updating.name === "string" && updating.name !== "") {
|
|
12739
13759
|
setUpdatingName(updating.name);
|
|
12740
13760
|
const id = `recovered-update:${updating.name}`;
|
|
12741
|
-
|
|
13761
|
+
pendingUpdate.current = {
|
|
13762
|
+
recordId: id,
|
|
13763
|
+
recovering: true
|
|
13764
|
+
};
|
|
12742
13765
|
setRecords((list) => list.some((record) => record.kind === "update" && record.name === updating.name && record.state === "running") ? list : enqueue(list, {
|
|
12743
13766
|
id,
|
|
12744
13767
|
kind: "update",
|
|
@@ -12776,8 +13799,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12776
13799
|
return;
|
|
12777
13800
|
}
|
|
12778
13801
|
const timer = setInterval(() => {
|
|
12779
|
-
|
|
13802
|
+
const polledUpdate = pendingUpdate.current;
|
|
13803
|
+
const repairRequest = polledUpdate === null ? void 0 : ++repairStatusRequest.current;
|
|
13804
|
+
fetch(api("/dsh-crate/status"), { cache: "no-store" }).then((res) => readMarketStatus(res, repairRequest)).then((status) => {
|
|
12780
13805
|
if (status === null) return;
|
|
13806
|
+
if (repairRequest !== void 0 && typeof status.boot === "string") applyRepairStatus(status, repairRequest);
|
|
12781
13807
|
statusRef.current = {
|
|
12782
13808
|
busy: status.busy === true,
|
|
12783
13809
|
runningAgents: Array.isArray(status.runningAgents) ? status.runningAgents.map(String) : [],
|
|
@@ -12789,6 +13815,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12789
13815
|
setHostBusy(status.busy === true);
|
|
12790
13816
|
setDebuggerLatch(typeof status.debugger === "string" ? status.debugger : null);
|
|
12791
13817
|
if (status.active) {
|
|
13818
|
+
if (pendingUpdate.current === polledUpdate) updateIdleStrikes.current = 0;
|
|
12792
13819
|
setCancelling(status.cancelling === true);
|
|
12793
13820
|
if (status.phase !== null && status.phase !== void 0) {
|
|
12794
13821
|
setProgressPhase(status.phase);
|
|
@@ -12851,25 +13878,27 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12851
13878
|
setInstallError(t("installFail") + " — " + t("exportLog"));
|
|
12852
13879
|
}
|
|
12853
13880
|
}
|
|
12854
|
-
if (
|
|
12855
|
-
|
|
12856
|
-
|
|
12857
|
-
|
|
12858
|
-
|
|
12859
|
-
|
|
12860
|
-
|
|
12861
|
-
|
|
12862
|
-
|
|
12863
|
-
|
|
12864
|
-
|
|
12865
|
-
|
|
12866
|
-
|
|
13881
|
+
if (pendingUpdate.current !== polledUpdate) return;
|
|
13882
|
+
if (updatingName === null || status.busy === true || polledUpdate?.recovering === false) {
|
|
13883
|
+
updateIdleStrikes.current = 0;
|
|
13884
|
+
return;
|
|
13885
|
+
}
|
|
13886
|
+
if (++updateIdleStrikes.current < 2) return;
|
|
13887
|
+
updateIdleStrikes.current = 0;
|
|
13888
|
+
if (polledUpdate !== null) {
|
|
13889
|
+
window.sessionStorage.removeItem("dshm-updating");
|
|
13890
|
+
pendingUpdate.current = null;
|
|
13891
|
+
setRecords((list) => list.filter((record) => record.id !== polledUpdate.recordId || record.state !== "running" || record.hostOperationId !== void 0));
|
|
13892
|
+
}
|
|
13893
|
+
setUpdatingName(null);
|
|
13894
|
+
refreshInstalled();
|
|
12867
13895
|
}
|
|
12868
13896
|
}).catch(() => {});
|
|
12869
13897
|
}, 2e3);
|
|
12870
13898
|
return () => clearInterval(timer);
|
|
12871
13899
|
}, [
|
|
12872
13900
|
applyDrainStatus,
|
|
13901
|
+
applyRepairStatus,
|
|
12873
13902
|
busyUrl,
|
|
12874
13903
|
updatingName,
|
|
12875
13904
|
removingName,
|
|
@@ -12990,10 +14019,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
12990
14019
|
}, [surface, themesFullscreen]);
|
|
12991
14020
|
(0, react.useLayoutEffect)(() => {
|
|
12992
14021
|
const root = rootRef.current;
|
|
14022
|
+
/** Drops #1237's stuck marks. Scroll state, so it leaves with the offsets. */
|
|
14023
|
+
const clearStuck = () => {
|
|
14024
|
+
markStuck(headRef.current, false);
|
|
14025
|
+
markStuck(root?.querySelector(`.${Market_module_css_default.cats}`) ?? null, false);
|
|
14026
|
+
};
|
|
12993
14027
|
if (surface !== "plugins" || root === null || themesFullscreen) {
|
|
12994
14028
|
root?.style.removeProperty("--dshm-host-sticky-top");
|
|
12995
14029
|
root?.style.removeProperty("--dshm-plugins-head-height");
|
|
12996
14030
|
root?.style.removeProperty("--dshm-empty-view-height");
|
|
14031
|
+
clearStuck();
|
|
12997
14032
|
return;
|
|
12998
14033
|
}
|
|
12999
14034
|
const host = listScroller(surface, root, null, false);
|
|
@@ -13001,6 +14036,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13001
14036
|
root.style.removeProperty("--dshm-host-sticky-top");
|
|
13002
14037
|
root.style.removeProperty("--dshm-plugins-head-height");
|
|
13003
14038
|
root.style.removeProperty("--dshm-empty-view-height");
|
|
14039
|
+
clearStuck();
|
|
13004
14040
|
return;
|
|
13005
14041
|
}
|
|
13006
14042
|
let frame = 0;
|
|
@@ -13020,14 +14056,19 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13020
14056
|
const view = Math.max(0, Math.round(hostRect.bottom - top));
|
|
13021
14057
|
root.style.setProperty("--dshm-empty-view-height", `${String(view)}px`);
|
|
13022
14058
|
}
|
|
14059
|
+
const cats = root.querySelector(`.${Market_module_css_default.cats}`);
|
|
14060
|
+
const catsEl = cats instanceof HTMLElement ? cats : null;
|
|
14061
|
+
const headPinned = head !== null && isPinned(host, head, hostTop);
|
|
14062
|
+
const catsPinned = catsEl !== null && isPinned(host, catsEl, hostTop + headHeight);
|
|
14063
|
+
markStuck(head, headPinned);
|
|
14064
|
+
markStuck(catsEl, catsPinned);
|
|
13023
14065
|
if (restoringStickRef.current) return;
|
|
13024
14066
|
const y = host.scrollTop;
|
|
13025
14067
|
if (y > 0) pluginsYRef.current = y;
|
|
13026
|
-
if (
|
|
14068
|
+
if (headPinned) headFloorRef.current = headFloorRef.current === null ? y : Math.min(headFloorRef.current, y);
|
|
13027
14069
|
else if (headFloorRef.current !== null && y > 0 && y + 4 < headFloorRef.current) headFloorRef.current = null;
|
|
13028
|
-
|
|
13029
|
-
if (
|
|
13030
|
-
else if (cats === null) catsFloorRef.current = null;
|
|
14070
|
+
if (catsPinned) catsFloorRef.current = catsFloorRef.current === null ? y : Math.min(catsFloorRef.current, y);
|
|
14071
|
+
else if (catsEl === null) catsFloorRef.current = null;
|
|
13031
14072
|
else if (catsFloorRef.current !== null && y > 0 && y + 4 < catsFloorRef.current) catsFloorRef.current = null;
|
|
13032
14073
|
};
|
|
13033
14074
|
const schedule = () => {
|
|
@@ -13042,6 +14083,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13042
14083
|
root.style.removeProperty("--dshm-host-sticky-top");
|
|
13043
14084
|
root.style.removeProperty("--dshm-plugins-head-height");
|
|
13044
14085
|
root.style.removeProperty("--dshm-empty-view-height");
|
|
14086
|
+
clearStuck();
|
|
13045
14087
|
};
|
|
13046
14088
|
apply();
|
|
13047
14089
|
host.addEventListener("scroll", schedule, { passive: true });
|
|
@@ -13259,7 +14301,18 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13259
14301
|
const favoriteThemeMore = useShownCount(favoriteThemes.length, favResetDeps, DEFAULT_PAGE_SIZE);
|
|
13260
14302
|
const favoritePagePlugins = surface === "plugins" ? favoritePlugins.slice(0, favoritePluginMore.shown) : favoritePlugins.slice((favoritePluginPagination.currentPage - 1) * favoritePluginPagination.pageSize, favoritePluginPagination.currentPage * favoritePluginPagination.pageSize);
|
|
13261
14303
|
const favoritePageThemes = surface === "plugins" ? favoriteThemes.slice(0, favoriteThemeMore.shown) : favoriteThemes.slice((favoriteThemePagination.currentPage - 1) * favoriteThemePagination.pageSize, favoriteThemePagination.currentPage * favoriteThemePagination.pageSize);
|
|
13262
|
-
const
|
|
14304
|
+
const installedHostPackages = (0, react.useMemo)(() => [...new Set(Object.entries(installed).flatMap(([name, spec]) => {
|
|
14305
|
+
const entry = data === null ? void 0 : catalogEntryForInstalled(data.plugins, name, String(spec), repoIdentities[name], repoHints[name]);
|
|
14306
|
+
if (entry === void 0) return [];
|
|
14307
|
+
const key = hostCompatibilityKey(entry);
|
|
14308
|
+
return key === null ? [] : [key];
|
|
14309
|
+
}))], [
|
|
14310
|
+
installed,
|
|
14311
|
+
data,
|
|
14312
|
+
repoIdentities,
|
|
14313
|
+
repoHints
|
|
14314
|
+
]);
|
|
14315
|
+
const compatibilityKeys = (marketGone ? [] : tab === "discover" ? pageHostPackages : tab === "favorites" ? favoritePagePlugins.map(hostCompatibilityKey).filter((key) => key !== null) : tab === "installed" ? installedHostPackages : []).join("\0");
|
|
13263
14316
|
(0, react.useEffect)(() => {
|
|
13264
14317
|
discoveryScan.setDemand(compatibilityDemandOwner.current, data, compatibilityKeys === "" ? [] : compatibilityKeys.split("\0"));
|
|
13265
14318
|
}, [data, compatibilityKeys]);
|
|
@@ -13756,6 +14809,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13756
14809
|
updateIdleStrikes.current = 0;
|
|
13757
14810
|
window.sessionStorage.setItem("dshm-updating", JSON.stringify({ name }));
|
|
13758
14811
|
const updateRecordId = nextRecordId();
|
|
14812
|
+
const attempt = {
|
|
14813
|
+
recordId: updateRecordId,
|
|
14814
|
+
recovering: false
|
|
14815
|
+
};
|
|
14816
|
+
pendingUpdate.current = attempt;
|
|
13759
14817
|
setRecords((list) => enqueue(list, {
|
|
13760
14818
|
id: updateRecordId,
|
|
13761
14819
|
kind: "update",
|
|
@@ -13775,12 +14833,19 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13775
14833
|
...confirmAgentsRunning ? { confirmAgentsRunning: true } : {},
|
|
13776
14834
|
...!restore && statusRef.current.agentDrain && !preferReject ? { busyPolicy: "drain" } : {}
|
|
13777
14835
|
})
|
|
13778
|
-
}).then((res) =>
|
|
13779
|
-
|
|
13780
|
-
body
|
|
13781
|
-
|
|
13782
|
-
|
|
13783
|
-
|
|
14836
|
+
}).then(async (res) => {
|
|
14837
|
+
const body = await res.json();
|
|
14838
|
+
if (body === null || typeof body !== "object" || Array.isArray(body)) throw new Error("Invalid update response");
|
|
14839
|
+
return {
|
|
14840
|
+
status: res.status,
|
|
14841
|
+
body
|
|
14842
|
+
};
|
|
14843
|
+
}).then(({ status, body }) => {
|
|
14844
|
+
if (pendingUpdate.current === attempt) {
|
|
14845
|
+
pendingUpdate.current = null;
|
|
14846
|
+
window.sessionStorage.removeItem("dshm-updating");
|
|
14847
|
+
setUpdatingName(null);
|
|
14848
|
+
}
|
|
13784
14849
|
if (status === 202 && typeof body.operationId === "string") {
|
|
13785
14850
|
const operation = body.operation;
|
|
13786
14851
|
setRecords((list) => patch(withoutHostProjection(list, body.operationId, updateRecordId), updateRecordId, {
|
|
@@ -13806,6 +14871,24 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13806
14871
|
if (body.partial === true) setInstallError(t("partialNote"));
|
|
13807
14872
|
return;
|
|
13808
14873
|
}
|
|
14874
|
+
const releaseBlocked = body.failureCode === "PROFILE_RELEASE_BLOCKED" && body.profileBlocked !== null && typeof body.profileBlocked === "object" ? body.profileBlocked : null;
|
|
14875
|
+
if (releaseBlocked !== null && typeof releaseBlocked.name === "string" && typeof releaseBlocked.version === "string") {
|
|
14876
|
+
profileBlockRef.current = {
|
|
14877
|
+
name: releaseBlocked.name,
|
|
14878
|
+
version: releaseBlocked.version,
|
|
14879
|
+
readyAt: typeof releaseBlocked.readyAt === "string" ? releaseBlocked.readyAt : null
|
|
14880
|
+
};
|
|
14881
|
+
refreshInstalled(true);
|
|
14882
|
+
}
|
|
14883
|
+
if (body.failureCode === "RESTART_REQUIRED") {
|
|
14884
|
+
restartHoldRef.current = true;
|
|
14885
|
+
setRestartHold({ boot: bootIdRef.current });
|
|
14886
|
+
setRecords((list) => patch(list, updateRecordId, {
|
|
14887
|
+
state: "warned",
|
|
14888
|
+
reason: t("restartFirstNote")
|
|
14889
|
+
}));
|
|
14890
|
+
return;
|
|
14891
|
+
}
|
|
13809
14892
|
if (status === 409 && body.staleTarget === true) {
|
|
13810
14893
|
setRecords((list) => patch(list, updateRecordId, {
|
|
13811
14894
|
state: "failed",
|
|
@@ -13841,7 +14924,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13841
14924
|
doUpdate(name, force, restore, compatVersion, confirmAgentsRunning, eligibleVersion, true);
|
|
13842
14925
|
return;
|
|
13843
14926
|
}
|
|
13844
|
-
if (status === 409) {
|
|
14927
|
+
if (status === 409 && releaseBlocked === null) {
|
|
13845
14928
|
if (body.failureCode === "AGENT_BARRIER_LOST") {
|
|
13846
14929
|
setRecords((list) => patch(list, updateRecordId, {
|
|
13847
14930
|
state: "failed",
|
|
@@ -13909,9 +14992,17 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
13909
14992
|
}));
|
|
13910
14993
|
setInstallError((restore ? t("restoreFail") : t("updateFail")) + ": " + name + " — " + localizeBilingual(clipped, lang));
|
|
13911
14994
|
}
|
|
13912
|
-
}).catch(() => {
|
|
14995
|
+
}).catch(() => {
|
|
14996
|
+
if (pendingUpdate.current === attempt) pendingUpdate.current = {
|
|
14997
|
+
...attempt,
|
|
14998
|
+
recovering: true
|
|
14999
|
+
};
|
|
15000
|
+
}).finally(() => {
|
|
15001
|
+
if (restore && mounted.current) refreshRepairStatus();
|
|
15002
|
+
});
|
|
13913
15003
|
}, [
|
|
13914
15004
|
refreshInstalled,
|
|
15005
|
+
refreshRepairStatus,
|
|
13915
15006
|
installed,
|
|
13916
15007
|
rememberDrainMarker,
|
|
13917
15008
|
t,
|
|
@@ -14039,6 +15130,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14039
15130
|
closing the dialog abandons the render — the server side caches the
|
|
14040
15131
|
payload, so reopening is cheap. */
|
|
14041
15132
|
const openNotes = (0, react.useCallback)((name, current, latest, target, repoUrl) => {
|
|
15133
|
+
notesRequest.current?.abort();
|
|
15134
|
+
const request = new AbortController();
|
|
15135
|
+
notesRequest.current = request;
|
|
14042
15136
|
setNotesFor({
|
|
14043
15137
|
name,
|
|
14044
15138
|
current,
|
|
@@ -14048,10 +15142,18 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14048
15142
|
});
|
|
14049
15143
|
setUpdateNotes(null);
|
|
14050
15144
|
setNotesState("loading");
|
|
14051
|
-
fetch(`${api("/dsh-crate/changelog")}?name=${encodeURIComponent(name)}${target !== null ? `&target=${encodeURIComponent(target)}` : ""}
|
|
15145
|
+
fetch(`${api("/dsh-crate/changelog")}?name=${encodeURIComponent(name)}${target !== null ? `&target=${encodeURIComponent(target)}` : ""}`, { signal: request.signal }).then((res) => res.json()).then((body) => {
|
|
15146
|
+
if (request.signal.aborted) return;
|
|
14052
15147
|
setUpdateNotes(body);
|
|
14053
15148
|
setNotesState("ready");
|
|
14054
|
-
}).catch(() =>
|
|
15149
|
+
}).catch(() => {
|
|
15150
|
+
if (!request.signal.aborted) setNotesState("fail");
|
|
15151
|
+
});
|
|
15152
|
+
}, []);
|
|
15153
|
+
const closeNotes = (0, react.useCallback)(() => {
|
|
15154
|
+
notesRequest.current?.abort();
|
|
15155
|
+
notesRequest.current = null;
|
|
15156
|
+
setNotesFor(null);
|
|
14055
15157
|
}, []);
|
|
14056
15158
|
const doUseSkin = (0, react.useCallback)((name) => {
|
|
14057
15159
|
setInstallError(null);
|
|
@@ -14136,6 +15238,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14136
15238
|
setFavoriteError(t("favoriteBusy"));
|
|
14137
15239
|
return;
|
|
14138
15240
|
}
|
|
15241
|
+
if (body?.code === "FAVORITES_LIMIT_REACHED" && typeof body.limit === "number") {
|
|
15242
|
+
setFavoriteError(t("favoriteLimitReached").replace("{0}", String(body.limit)));
|
|
15243
|
+
return;
|
|
15244
|
+
}
|
|
14139
15245
|
setFavoriteError(typeof body?.error === "string" ? body.error : t("favoriteFailed"));
|
|
14140
15246
|
}).catch((error) => {
|
|
14141
15247
|
if (gen !== favoriteOpGen.current) return;
|
|
@@ -14558,6 +15664,16 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14558
15664
|
if (operationInFlight()) return;
|
|
14559
15665
|
const task = recordsRef.current.find((record) => record.state === "queued" && record.hostOperationId === void 0 && (record.kind === "install" || runningAgents.length === 0));
|
|
14560
15666
|
if (task === void 0 || recordsRef.current.some((record) => record.state === "running" && record.hostOperationId === void 0)) return;
|
|
15667
|
+
if (task.kind === "update" && restartHoldRef.current) return;
|
|
15668
|
+
const blocked = profileBlockRef.current;
|
|
15669
|
+
if (task.kind === "update" && blocked !== null && profileBlockStillHolds(blocked)) {
|
|
15670
|
+
const reason = t("profileBlockedSkipped").replace("{0}", profileBlockedText(blocked, t));
|
|
15671
|
+
setRecords((list) => patch(list, task.id, {
|
|
15672
|
+
state: "failed",
|
|
15673
|
+
reason
|
|
15674
|
+
}));
|
|
15675
|
+
return;
|
|
15676
|
+
}
|
|
14561
15677
|
setRecords((list) => list.filter((record) => record.id !== task.id));
|
|
14562
15678
|
drainingRef.current = true;
|
|
14563
15679
|
try {
|
|
@@ -14578,7 +15694,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14578
15694
|
}, [
|
|
14579
15695
|
applyDrainStatus,
|
|
14580
15696
|
readMarketStatus,
|
|
14581
|
-
restoreDrainMarkers
|
|
15697
|
+
restoreDrainMarkers,
|
|
15698
|
+
t
|
|
14582
15699
|
]);
|
|
14583
15700
|
/** A queued record's "run now": retry immediately instead of waiting for idle. */
|
|
14584
15701
|
const runQueuedNow = (0, react.useCallback)((record, confirmAgentsRunning = false) => {
|
|
@@ -14699,6 +15816,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14699
15816
|
return true;
|
|
14700
15817
|
}
|
|
14701
15818
|
const text = (v) => typeof v === "string" ? v : v == null ? "" : JSON.stringify(v);
|
|
15819
|
+
if (body.partial === true) {
|
|
15820
|
+
setGroupPayload(body);
|
|
15821
|
+
refreshInstalled();
|
|
15822
|
+
}
|
|
14702
15823
|
setInstallError(text(body.error) || t("toggleFail"));
|
|
14703
15824
|
if (Array.isArray(body.restartMembers) && body.restartMembers.length > 0) setToggleRestart((n) => n + body.restartMembers.length);
|
|
14704
15825
|
if (Array.isArray(body.refreshMembers) && body.refreshMembers.length > 0) setRefreshNames((names) => [.../* @__PURE__ */ new Set([...names, ...body.refreshMembers])]);
|
|
@@ -14882,6 +16003,19 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14882
16003
|
}));
|
|
14883
16004
|
setUpdatingAll(true);
|
|
14884
16005
|
const next = () => {
|
|
16006
|
+
const blocked = profileBlockRef.current;
|
|
16007
|
+
if (names.length > 0 && blocked !== null && profileBlockStillHolds(blocked)) {
|
|
16008
|
+
const reason = t("profileBlockedSkipped").replace("{0}", profileBlockedText(blocked, t));
|
|
16009
|
+
const skipped = names.splice(0, names.length);
|
|
16010
|
+
setRecords((list) => skipped.reduce((acc, item) => enqueue(acc, {
|
|
16011
|
+
id: nextRecordId(),
|
|
16012
|
+
kind: "update",
|
|
16013
|
+
name: item.name,
|
|
16014
|
+
state: "failed",
|
|
16015
|
+
reason
|
|
16016
|
+
}), list));
|
|
16017
|
+
}
|
|
16018
|
+
if (restartHoldRef.current) names.splice(0, names.length);
|
|
14885
16019
|
const item = names.shift();
|
|
14886
16020
|
if (item === void 0) {
|
|
14887
16021
|
setUpdatingAll(false);
|
|
@@ -14895,7 +16029,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
14895
16029
|
reminderBatchUpdatableNames,
|
|
14896
16030
|
doUpdate,
|
|
14897
16031
|
refreshInstalled,
|
|
14898
|
-
updates
|
|
16032
|
+
updates,
|
|
16033
|
+
t,
|
|
16034
|
+
nextRecordId
|
|
14899
16035
|
]);
|
|
14900
16036
|
const finishRestore = (0, react.useCallback)((body) => {
|
|
14901
16037
|
const errors = Array.isArray(body.errors) ? body.errors : [];
|
|
@@ -15006,6 +16142,11 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15006
16142
|
if (error instanceof TypeError) return t("gistErrNetwork");
|
|
15007
16143
|
return String(error);
|
|
15008
16144
|
};
|
|
16145
|
+
/** The picker list: dependency plugins + bundle-only plugins, deduplicated. */
|
|
16146
|
+
const exportOptions = (0, react.useMemo)(() => {
|
|
16147
|
+
return [.../* @__PURE__ */ new Set([...Object.keys(installed), ...installedBundles])].sort();
|
|
16148
|
+
}, [installed, installedBundles]);
|
|
16149
|
+
const exportAllSelected = exportOptions.length > 0 && exportOptions.every((name) => exportSelection.has(name));
|
|
15009
16150
|
const runGist = (0, react.useCallback)((action) => {
|
|
15010
16151
|
setGistBusy(true);
|
|
15011
16152
|
setGistMessage(null);
|
|
@@ -15027,12 +16168,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15027
16168
|
}
|
|
15028
16169
|
body.gistId = gistId.trim();
|
|
15029
16170
|
}
|
|
15030
|
-
if (action === "export") {
|
|
15031
|
-
|
|
15032
|
-
if (
|
|
15033
|
-
body.includeDeps = [...exportSelection];
|
|
15034
|
-
if (exportIncludeConfig) body.includeConfig = true;
|
|
15035
|
-
}
|
|
16171
|
+
if (action === "export" && !exportAllSelected) {
|
|
16172
|
+
body.includeDeps = [...exportSelection];
|
|
16173
|
+
if (exportIncludeConfig) body.includeConfig = true;
|
|
15036
16174
|
}
|
|
15037
16175
|
fetch(api("/dsh-crate/gist"), {
|
|
15038
16176
|
method: "POST",
|
|
@@ -15075,19 +16213,15 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15075
16213
|
if (action === "export") setExportError(message);
|
|
15076
16214
|
}).finally(() => setGistBusy(false));
|
|
15077
16215
|
}, [
|
|
16216
|
+
exportAllSelected,
|
|
15078
16217
|
exportIncludeConfig,
|
|
15079
16218
|
exportSelection,
|
|
15080
16219
|
gistId,
|
|
16220
|
+
gistMode,
|
|
15081
16221
|
gistToken,
|
|
15082
|
-
installed,
|
|
15083
|
-
installedBundles,
|
|
15084
16222
|
previewBackup,
|
|
15085
16223
|
t
|
|
15086
16224
|
]);
|
|
15087
|
-
/** The picker list: dependency plugins + bundle-only plugins, deduplicated. */
|
|
15088
|
-
const exportOptions = (0, react.useMemo)(() => {
|
|
15089
|
-
return [.../* @__PURE__ */ new Set([...Object.keys(installed), ...installedBundles])].sort();
|
|
15090
|
-
}, [installed, installedBundles]);
|
|
15091
16225
|
/** Classify an install spec for the export picker badge. */
|
|
15092
16226
|
const specKind = (spec) => {
|
|
15093
16227
|
if (spec === void 0) return "bundle";
|
|
@@ -15096,11 +16230,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15096
16230
|
return "npm";
|
|
15097
16231
|
};
|
|
15098
16232
|
const openExportPicker = (0, react.useCallback)(() => {
|
|
15099
|
-
|
|
15100
|
-
setExportSelection(new Set(names));
|
|
16233
|
+
setExportSelection(new Set(exportOptions));
|
|
15101
16234
|
setExportIncludeConfig(false);
|
|
15102
16235
|
setExportOpen(true);
|
|
15103
|
-
}, [
|
|
16236
|
+
}, [exportOptions]);
|
|
15104
16237
|
const runWebdavRef = (0, react.useRef)(runWebdav);
|
|
15105
16238
|
(0, react.useEffect)(() => {
|
|
15106
16239
|
runWebdavRef.current = runWebdav;
|
|
@@ -15208,6 +16341,36 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15208
16341
|
label: favoriteUrlSet.has(url) ? t("favoriteRemove") : t("favoriteAdd"),
|
|
15209
16342
|
onToggle: () => toggleFavorite(url)
|
|
15210
16343
|
});
|
|
16344
|
+
/** Bookmarks with no catalog entry have no card, so each gets its own row
|
|
16345
|
+
* and its own remove button; a bulk clear sits beside them when there are several. */
|
|
16346
|
+
const renderStaleFavorites = () => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16347
|
+
className: Market_module_css_default.favoritesStaleBar,
|
|
16348
|
+
"data-testid": "favorites-stale",
|
|
16349
|
+
children: [
|
|
16350
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("favoritesStaleNote").replace("{0}", String(favoriteStale.length)) }),
|
|
16351
|
+
favoriteStale.map((url) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16352
|
+
className: Market_module_css_default.favoritesStaleRow,
|
|
16353
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16354
|
+
className: Market_module_css_default.favoritesStaleName,
|
|
16355
|
+
children: url.replace(/^https?:\/\/(www\.)?github\.com\//, "")
|
|
16356
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16357
|
+
variant: "outline",
|
|
16358
|
+
size: "sm",
|
|
16359
|
+
disabled: clearingStale,
|
|
16360
|
+
"aria-label": `${t("favoriteRemove")} ${url}`,
|
|
16361
|
+
onClick: () => toggleFavorite(url),
|
|
16362
|
+
children: t("favoriteRemove")
|
|
16363
|
+
})]
|
|
16364
|
+
}, url)),
|
|
16365
|
+
favoriteStale.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
16366
|
+
variant: "outline",
|
|
16367
|
+
size: "sm",
|
|
16368
|
+
disabled: clearingStale,
|
|
16369
|
+
onClick: () => clearStaleFavorites(),
|
|
16370
|
+
children: clearingStale ? t("favoritesClearingStale") : t("favoritesClearStale")
|
|
16371
|
+
})
|
|
16372
|
+
]
|
|
16373
|
+
});
|
|
15211
16374
|
const renderPluginMenu = (plugin, key = plugin.url) => {
|
|
15212
16375
|
const aliases = blockAliases(plugin, matchInstalledName(plugin, installed, repoIdentities, data?.plugins, repoHints));
|
|
15213
16376
|
const hidden = aliases.some((name) => blockedNameSet.has(name));
|
|
@@ -15216,6 +16379,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15216
16379
|
onClose: () => setPluginMenuUrl(null),
|
|
15217
16380
|
onSelect: (id) => {
|
|
15218
16381
|
setPluginMenuUrl(null);
|
|
16382
|
+
if (id === "favorite") toggleFavorite(plugin.url);
|
|
15219
16383
|
if (id === "block") toggleBlock(blockToggleName(aliases));
|
|
15220
16384
|
},
|
|
15221
16385
|
align: "end",
|
|
@@ -15229,6 +16393,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15229
16393
|
children: "···"
|
|
15230
16394
|
}),
|
|
15231
16395
|
items: [{
|
|
16396
|
+
id: "favorite",
|
|
16397
|
+
label: favoriteUrlSet.has(plugin.url) ? t("favoriteRemove") : t("favoriteAdd")
|
|
16398
|
+
}, {
|
|
15232
16399
|
id: "block",
|
|
15233
16400
|
label: hidden ? t("blockRemove") : t("blockAdd")
|
|
15234
16401
|
}]
|
|
@@ -15654,9 +16821,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15654
16821
|
const record = recordForUrl(records, p.url);
|
|
15655
16822
|
const blocked = record !== null && (record.state === "input" || record.state === "failed");
|
|
15656
16823
|
const compatibilityKey = hostCompatibilityKey(p);
|
|
15657
|
-
const
|
|
15658
|
-
const hostRequirementLabel = compatibility?.requirement !== null && compatibility?.requirement !== void 0 ? t("hostRequirement").replace("{0}", compatibility.requirement) : compatibilityKey === null ? t("hostRequirementUnavailable") : compatibility === void 0 ? t("hostRequirementLoading") : compatibility.basis === "undeclared" ? t("hostRequirementUndeclared") : t("hostRequirementUnavailable");
|
|
15659
|
-
const hostRequirementTitle = compatibility?.declarations.map((declaration) => declaration.kind === "engine" ? `engines.dsh: ${declaration.range}` : `${declaration.package ?? "peer"}: ${declaration.range}`).join("\n") || hostRequirementLabel;
|
|
16824
|
+
const hostChip = hostRequirementChip(compatibilityKey === null ? void 0 : hostCompatibility[compatibilityKey], compatibilityKey, t);
|
|
15660
16825
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
15661
16826
|
className: blocked ? `${Market_module_css_default.card} ${Market_module_css_default.cardBlocked}` : Market_module_css_default.card,
|
|
15662
16827
|
children: [
|
|
@@ -15740,11 +16905,15 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
15740
16905
|
className: Market_module_css_default.foot,
|
|
15741
16906
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
15742
16907
|
className: Market_module_css_default.footTags,
|
|
15743
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(
|
|
15744
|
-
|
|
15745
|
-
|
|
15746
|
-
|
|
15747
|
-
|
|
16908
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(CardTip, {
|
|
16909
|
+
label: hostChip.title,
|
|
16910
|
+
maxWidth: 320,
|
|
16911
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
16912
|
+
className: hostChip.bad ? `${Market_module_css_default.hostRequirement} ${Market_module_css_default.hostRequirementBad}` : Market_module_css_default.hostRequirement,
|
|
16913
|
+
"data-status": hostChip.status,
|
|
16914
|
+
tabIndex: 0,
|
|
16915
|
+
children: hostChip.label
|
|
16916
|
+
})
|
|
15748
16917
|
}), pluginCategories(p).map((category) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
15749
16918
|
className: Market_module_css_default.tag,
|
|
15750
16919
|
children: data.categories[category] && (data.categories[category][lang] || data.categories[category].en) || category
|
|
@@ -16185,6 +17354,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16185
17354
|
groups,
|
|
16186
17355
|
installedThemeNames
|
|
16187
17356
|
]);
|
|
17357
|
+
const marketUpdateStatus = updates[selfName];
|
|
17358
|
+
const eligibleMarketVersion = marketUpdateStatus?.updateAvailable === true ? marketUpdateStatus.eligibleVersion ?? marketUpdateStatus.latest ?? null : null;
|
|
17359
|
+
const heldMarketVersion = marketUpdateStatus?.heldUpdate;
|
|
17360
|
+
const showMarketWait = typeof heldMarketVersion?.latest === "string" && heldMarketVersion.latest !== "" && heldMarketVersion.latest !== eligibleMarketVersion && !updatedNames.includes(selfName) && !quietUpdateSet.has(selfName);
|
|
16188
17361
|
const batchActions = /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
16189
17362
|
(() => {
|
|
16190
17363
|
const self = installed["dsh-crate"] !== void 0 ? "dsh-crate" : "dsh-crate";
|
|
@@ -16227,7 +17400,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16227
17400
|
onClick: doExportLog,
|
|
16228
17401
|
children: exportState === "busy" ? t("exportingLog") : t("exportLog")
|
|
16229
17402
|
});
|
|
16230
|
-
const updateCheckFailed = updateCheck.failed === null || updateCheck.failed.size > 0;
|
|
17403
|
+
const updateCheckFailed = updateCheck.failed === null || updateCheck.failed.size > 0 && updateCheck.failed.size >= Object.keys(updateCheck.updates).length;
|
|
16231
17404
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16232
17405
|
ref: rootRef,
|
|
16233
17406
|
className: `${Market_module_css_default.root} notranslate`,
|
|
@@ -16276,9 +17449,23 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16276
17449
|
children: "dsh-crate"
|
|
16277
17450
|
}),
|
|
16278
17451
|
version !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
16279
|
-
className: Market_module_css_default.
|
|
16280
|
-
|
|
16281
|
-
|
|
17452
|
+
className: Market_module_css_default.marketVersionGroup,
|
|
17453
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
17454
|
+
className: Market_module_css_default.version,
|
|
17455
|
+
title: t("versionHint"),
|
|
17456
|
+
children: ["v", version]
|
|
17457
|
+
}), showMarketWait && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
17458
|
+
label: () => marketWaitTip(heldMarketVersion, eligibleMarketVersion, uiLocale, t),
|
|
17459
|
+
side: "bottom",
|
|
17460
|
+
delayMs: HOVER_TIP_DELAY_MS,
|
|
17461
|
+
portal: true,
|
|
17462
|
+
maxWidth: 320,
|
|
17463
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17464
|
+
className: Market_module_css_default.marketVersionWait,
|
|
17465
|
+
tabIndex: 0,
|
|
17466
|
+
children: t("marketVersionWaiting")
|
|
17467
|
+
})
|
|
17468
|
+
})]
|
|
16282
17469
|
}),
|
|
16283
17470
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
16284
17471
|
className: Market_module_css_default.submitLink,
|
|
@@ -16358,7 +17545,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16358
17545
|
},
|
|
16359
17546
|
children: t("tabAdvanced")
|
|
16360
17547
|
}),
|
|
16361
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17548
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17549
|
+
className: surface === "plugins" ? `${Market_module_css_default.grow} ${Market_module_css_default.sponsorSlot}` : Market_module_css_default.grow,
|
|
17550
|
+
children: false
|
|
17551
|
+
}),
|
|
16362
17552
|
surface === "plugins" && batchActions,
|
|
16363
17553
|
surface === "plugins" && exportLogButton,
|
|
16364
17554
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(OperationsPanel, {
|
|
@@ -16366,23 +17556,19 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16366
17556
|
lang,
|
|
16367
17557
|
describe: describePlugin,
|
|
16368
17558
|
records,
|
|
17559
|
+
startupRepairEntries: startupRepair?.entries,
|
|
17560
|
+
checkoutRecoveryEntries: checkoutRecovery?.entries,
|
|
16369
17561
|
open: operationsOpen,
|
|
16370
17562
|
onOpenChange: setOperationsOpen,
|
|
16371
17563
|
replacing,
|
|
16372
17564
|
envReady,
|
|
16373
17565
|
onClearSettled: () => {
|
|
16374
|
-
for (const record of recordsRef.current) if (record.hostOperationId !== void 0 && (record.state === "done" || record.state === "warned" || record.state === "failed"))
|
|
16375
|
-
dismissedHostRef.current.add(record.hostOperationId);
|
|
16376
|
-
rememberDismissedHostId(record.hostOperationId);
|
|
16377
|
-
}
|
|
17566
|
+
for (const record of recordsRef.current) if (record.hostOperationId !== void 0 && (record.state === "done" || record.state === "warned" || record.state === "failed")) rememberDismissedHostId(record.hostOperationId);
|
|
16378
17567
|
setRecords((list) => clearSettled(list));
|
|
16379
17568
|
},
|
|
16380
17569
|
onCancel: (record) => doCancel(record),
|
|
16381
17570
|
onDismiss: (record) => {
|
|
16382
|
-
if (record.hostOperationId !== void 0)
|
|
16383
|
-
dismissedHostRef.current.add(record.hostOperationId);
|
|
16384
|
-
rememberDismissedHostId(record.hostOperationId);
|
|
16385
|
-
}
|
|
17571
|
+
if (record.hostOperationId !== void 0) rememberDismissedHostId(record.hostOperationId);
|
|
16386
17572
|
setRecords((list) => drop(list, record.id));
|
|
16387
17573
|
},
|
|
16388
17574
|
onRefresh: () => location.reload(),
|
|
@@ -16421,6 +17607,20 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
16421
17607
|
children: t("loadRetry")
|
|
16422
17608
|
})]
|
|
16423
17609
|
}),
|
|
17610
|
+
!marketGone && restartHold !== null && restartHold.boot === bootId && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17611
|
+
className: Market_module_css_default.updateCheckNotice,
|
|
17612
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17613
|
+
role: "status",
|
|
17614
|
+
children: t("restartFirstNote")
|
|
17615
|
+
})
|
|
17616
|
+
}),
|
|
17617
|
+
!marketGone && profileBlocked !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17618
|
+
className: Market_module_css_default.updateCheckNotice,
|
|
17619
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17620
|
+
role: "status",
|
|
17621
|
+
children: profileBlockedText(profileBlocked, t)
|
|
17622
|
+
})
|
|
17623
|
+
}),
|
|
16424
17624
|
(tab === "backup" || tab === "diagnostics") && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
16425
17625
|
className: Market_module_css_default.subTabs,
|
|
16426
17626
|
children: [
|
|
@@ -17217,27 +18417,12 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17217
18417
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17218
18418
|
className: Market_module_css_default.empty,
|
|
17219
18419
|
children: t("favoritesStaleEmpty")
|
|
17220
|
-
}),
|
|
17221
|
-
variant: "outline",
|
|
17222
|
-
size: "sm",
|
|
17223
|
-
disabled: clearingStale,
|
|
17224
|
-
onClick: () => clearStaleFavorites(),
|
|
17225
|
-
children: clearingStale ? t("favoritesClearingStale") : t("favoritesClearStale")
|
|
17226
|
-
})]
|
|
18420
|
+
}), renderStaleFavorites()]
|
|
17227
18421
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17228
18422
|
className: Market_module_css_default.empty,
|
|
17229
18423
|
children: t("empty")
|
|
17230
18424
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
17231
|
-
favoriteStale.length > 0 &&
|
|
17232
|
-
className: Market_module_css_default.favoritesStaleBar,
|
|
17233
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("favoritesStaleNote").replace("{0}", String(favoriteStale.length)) }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
17234
|
-
variant: "outline",
|
|
17235
|
-
size: "sm",
|
|
17236
|
-
disabled: clearingStale,
|
|
17237
|
-
onClick: () => clearStaleFavorites(),
|
|
17238
|
-
children: clearingStale ? t("favoritesClearingStale") : t("favoritesClearStale")
|
|
17239
|
-
})]
|
|
17240
|
-
}),
|
|
18425
|
+
favoriteStale.length > 0 && renderStaleFavorites(),
|
|
17241
18426
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17242
18427
|
className: Market_module_css_default.themeResultBar,
|
|
17243
18428
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: t("favoritesResultCount").replace("{0}", String(favoriteListed.length)) })
|
|
@@ -17779,6 +18964,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17779
18964
|
className: Market_module_css_default.empty,
|
|
17780
18965
|
children: t("installedEmpty")
|
|
17781
18966
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(Masonry, {
|
|
18967
|
+
maxColumns: 2,
|
|
18968
|
+
minColumns: 1,
|
|
18969
|
+
className: Market_module_css_default.masonryInstalled,
|
|
17782
18970
|
items: orderedInstalledEntries.filter(([name, spec]) => {
|
|
17783
18971
|
const needle = qInstalled.trim().toLowerCase();
|
|
17784
18972
|
if (needle === "") return true;
|
|
@@ -17806,11 +18994,27 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17806
18994
|
const installedWhenTitle = [installedOn === null ? t("installedAtUnknown") : `${t("installedAtLabel")} ${installedOn}`, updatedOn === null ? "" : `${t("updatedAtLabel")} ${updatedOn}`].filter(Boolean).join(" · ");
|
|
17807
18995
|
const specText = String(spec);
|
|
17808
18996
|
const specRedundant = version !== "" && /^[\^~]?\d/.test(specText);
|
|
18997
|
+
const releaseSource = entry !== void 0 && catalogReleaseSourceOf(specText, entry) !== null;
|
|
17809
18998
|
const localPath = localPathOf(specText);
|
|
17810
18999
|
const ghSpec = /^github:([A-Za-z0-9_.-]+\/[A-Za-z0-9_.-]+?)(?:#|$)/.exec(specText);
|
|
17811
19000
|
const repoUrl = entry !== void 0 ? entry.url : ghSpec !== null ? "https://github.com/" + ghSpec[1] : null;
|
|
17812
19001
|
const off = act?.library !== true && effectiveDisabledSet.has(name);
|
|
17813
19002
|
const toggleable = act?.library !== true && (off || act !== void 0 && (act.state === "live" || act.state === "restart"));
|
|
19003
|
+
const updatable = isPluginUpdatable(name, String(spec), status, updatedNames);
|
|
19004
|
+
const metaBits = [
|
|
19005
|
+
version,
|
|
19006
|
+
localDev ? t("linkedDev") : "",
|
|
19007
|
+
installedOn === null ? "" : `${t("installedAtLabel")} ${installedOn}`
|
|
19008
|
+
].filter(Boolean);
|
|
19009
|
+
const compatibilityKey = entry !== void 0 ? hostCompatibilityKey(entry) : null;
|
|
19010
|
+
const compatibility = compatibilityKey === null ? void 0 : hostCompatibility[compatibilityKey];
|
|
19011
|
+
const hostChip = hostRequirementChip(compatibility, compatibilityKey, t);
|
|
19012
|
+
const showIncompat = !localDev && act?.state === "incompatible";
|
|
19013
|
+
const showHostRequirement = !missing && !localDev && !showIncompat && entry !== void 0 && compatibility?.requirement != null;
|
|
19014
|
+
const note = notes[name];
|
|
19015
|
+
const authored = authoredDescription(name, entry);
|
|
19016
|
+
const theirs = showTheirs.includes(name);
|
|
19017
|
+
const shown = note !== void 0 && !theirs ? note : authored;
|
|
17814
19018
|
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17815
19019
|
className: missing ? `${Market_module_css_default.irow} ${Market_module_css_default.irowMissing}` : Market_module_css_default.irow,
|
|
17816
19020
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
@@ -17840,14 +19044,18 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17840
19044
|
children: renderInstalledBlockMenu(name)
|
|
17841
19045
|
})]
|
|
17842
19046
|
}),
|
|
17843
|
-
(
|
|
19047
|
+
(metaBits.length > 0 || updatable) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17844
19048
|
className: Market_module_css_default.irowMeta,
|
|
17845
|
-
|
|
17846
|
-
|
|
17847
|
-
|
|
17848
|
-
|
|
17849
|
-
|
|
17850
|
-
|
|
19049
|
+
children: [metaBits.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19050
|
+
className: Market_module_css_default.irowMetaText,
|
|
19051
|
+
title: installedWhenTitle,
|
|
19052
|
+
children: metaBits.join(" · ")
|
|
19053
|
+
}), updatable && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
19054
|
+
type: "button",
|
|
19055
|
+
className: Market_module_css_default.notesLink,
|
|
19056
|
+
onClick: () => openNotes(name, status?.current ?? null, status?.latest ?? null, status?.eligibleVersion ?? status?.latest ?? null, repoUrl),
|
|
19057
|
+
children: `${t("notesLink")} ›`
|
|
19058
|
+
})]
|
|
17851
19059
|
}),
|
|
17852
19060
|
specRedundant ? null : localPath !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17853
19061
|
className: Market_module_css_default.irowPath,
|
|
@@ -17870,6 +19078,19 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17870
19078
|
})
|
|
17871
19079
|
})
|
|
17872
19080
|
]
|
|
19081
|
+
}) : releaseSource ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19082
|
+
className: Market_module_css_default.irowPath,
|
|
19083
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19084
|
+
className: Market_module_css_default.irowPathIcon,
|
|
19085
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLinkOutline14, { size: 14 })
|
|
19086
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
19087
|
+
className: `${Market_module_css_default.spec} ${Market_module_css_default.src}`,
|
|
19088
|
+
href: specText,
|
|
19089
|
+
title: specText,
|
|
19090
|
+
target: "_blank",
|
|
19091
|
+
rel: "noreferrer",
|
|
19092
|
+
children: "GitHub Release"
|
|
19093
|
+
})]
|
|
17873
19094
|
}) : repoUrl !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17874
19095
|
className: Market_module_css_default.irowPath,
|
|
17875
19096
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
@@ -17886,66 +19107,74 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17886
19107
|
className: Market_module_css_default.spec,
|
|
17887
19108
|
children: specText
|
|
17888
19109
|
}),
|
|
17889
|
-
|
|
17890
|
-
className: Market_module_css_default.
|
|
17891
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.
|
|
17892
|
-
className: Market_module_css_default.
|
|
17893
|
-
|
|
17894
|
-
|
|
17895
|
-
|
|
17896
|
-
|
|
17897
|
-
|
|
17898
|
-
|
|
17899
|
-
|
|
17900
|
-
|
|
17901
|
-
|
|
17902
|
-
|
|
17903
|
-
|
|
17904
|
-
|
|
17905
|
-
|
|
17906
|
-
|
|
17907
|
-
|
|
17908
|
-
|
|
17909
|
-
|
|
17910
|
-
|
|
17911
|
-
|
|
17912
|
-
|
|
17913
|
-
|
|
17914
|
-
|
|
17915
|
-
|
|
17916
|
-
|
|
17917
|
-
|
|
17918
|
-
|
|
17919
|
-
|
|
17920
|
-
|
|
17921
|
-
|
|
19110
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19111
|
+
className: Market_module_css_default.irowDescBand,
|
|
19112
|
+
children: [notingName === name ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19113
|
+
className: Market_module_css_default.noteEdit,
|
|
19114
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
|
|
19115
|
+
className: Market_module_css_default.noteInput,
|
|
19116
|
+
value: noteDraft,
|
|
19117
|
+
maxLength: NOTE_MAX,
|
|
19118
|
+
autoFocus: true,
|
|
19119
|
+
placeholder: t("notePlaceholder"),
|
|
19120
|
+
onChange: (e) => setNoteDraft(e.target.value),
|
|
19121
|
+
onKeyDown: (e) => {
|
|
19122
|
+
if (e.nativeEvent.isComposing || e.keyCode === 229) return;
|
|
19123
|
+
if (e.key === "Enter") saveNote(name, noteDraft);
|
|
19124
|
+
if (e.key === "Escape") setNotingName(null);
|
|
19125
|
+
}
|
|
19126
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19127
|
+
className: Market_module_css_default.noteEditBar,
|
|
19128
|
+
children: [
|
|
19129
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19130
|
+
className: Market_module_css_default.noteCount,
|
|
19131
|
+
"aria-hidden": "true",
|
|
19132
|
+
children: `${noteDraft.length}/${NOTE_MAX}`
|
|
19133
|
+
}),
|
|
19134
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19135
|
+
variant: "ghost",
|
|
19136
|
+
size: "sm",
|
|
19137
|
+
onClick: () => setNotingName(null),
|
|
19138
|
+
children: t("cancel")
|
|
19139
|
+
}),
|
|
19140
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19141
|
+
variant: "primary",
|
|
19142
|
+
size: "sm",
|
|
19143
|
+
onClick: () => saveNote(name, noteDraft),
|
|
19144
|
+
children: t("noteSave")
|
|
19145
|
+
})
|
|
19146
|
+
]
|
|
19147
|
+
})]
|
|
19148
|
+
}) : shown !== "" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19149
|
+
className: `${Market_module_css_default.desc} ${Market_module_css_default.descTight} ${Market_module_css_default.irowBody}`,
|
|
19150
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CardDesc, {
|
|
19151
|
+
text: shown,
|
|
19152
|
+
t,
|
|
19153
|
+
lines: 3,
|
|
19154
|
+
className: Market_module_css_default.irowDesc,
|
|
19155
|
+
textClassName: note !== void 0 && !theirs ? Market_module_css_default.noteMine : void 0
|
|
19156
|
+
}, shown)
|
|
19157
|
+
}) : null, (showHostRequirement || notingName !== name) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19158
|
+
className: shown === "" || notingName === name ? `${Market_module_css_default.irowFootRow} ${Market_module_css_default.irowNoteActionsSpaced}` : Market_module_css_default.irowFootRow,
|
|
19159
|
+
children: [showHostRequirement && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CardTip, {
|
|
19160
|
+
label: hostChip.title,
|
|
19161
|
+
maxWidth: 320,
|
|
19162
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19163
|
+
className: hostChip.bad ? `${Market_module_css_default.hostRequirement} ${Market_module_css_default.hostRequirementBad}` : Market_module_css_default.hostRequirement,
|
|
19164
|
+
"data-status": hostChip.status,
|
|
19165
|
+
tabIndex: 0,
|
|
19166
|
+
children: hostChip.label
|
|
17922
19167
|
})
|
|
17923
|
-
|
|
17924
|
-
|
|
17925
|
-
|
|
17926
|
-
const note = notes[name];
|
|
17927
|
-
const authored = authoredDescription(name, entry);
|
|
17928
|
-
const theirs = showTheirs.includes(name);
|
|
17929
|
-
const shown = note !== void 0 && !theirs ? note : authored;
|
|
17930
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17931
|
-
className: `${Market_module_css_default.desc} ${Market_module_css_default.descTight} ${Market_module_css_default.noteRow}`,
|
|
17932
|
-
children: [
|
|
17933
|
-
shown !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CardDesc, {
|
|
17934
|
-
text: shown,
|
|
17935
|
-
t,
|
|
17936
|
-
lines: 3,
|
|
17937
|
-
className: Market_module_css_default.irowDesc,
|
|
17938
|
-
textClassName: note !== void 0 && !theirs ? Market_module_css_default.noteMine : void 0
|
|
17939
|
-
}, shown),
|
|
17940
|
-
note !== void 0 && authored !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
19168
|
+
}), notingName !== name && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19169
|
+
className: Market_module_css_default.irowNoteActions,
|
|
19170
|
+
children: [note !== void 0 && authored !== "" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
17941
19171
|
type: "button",
|
|
17942
19172
|
className: Market_module_css_default.noteToggle,
|
|
17943
19173
|
title: theirs ? t("noteSeeMine") : t("noteSeeTheirs"),
|
|
17944
19174
|
"aria-label": theirs ? t("noteSeeMine") : t("noteSeeTheirs"),
|
|
17945
19175
|
onClick: () => setShowTheirs((list) => theirs ? list.filter((n) => n !== name) : list.concat(name)),
|
|
17946
19176
|
children: theirs ? t("noteMine") : t("noteTheirs")
|
|
17947
|
-
}),
|
|
17948
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
19177
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
17949
19178
|
type: "button",
|
|
17950
19179
|
className: Market_module_css_default.noteAdd,
|
|
17951
19180
|
onClick: () => {
|
|
@@ -17953,48 +19182,33 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
17953
19182
|
setNotingName(name);
|
|
17954
19183
|
},
|
|
17955
19184
|
children: [note === void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconPlus, { size: 14 }), note === void 0 ? t("noteAdd") : t("noteEdit")]
|
|
17956
|
-
})
|
|
17957
|
-
]
|
|
17958
|
-
})
|
|
17959
|
-
})
|
|
19185
|
+
})]
|
|
19186
|
+
})]
|
|
19187
|
+
})]
|
|
19188
|
+
}),
|
|
17960
19189
|
(() => {
|
|
17961
|
-
const updatable = isPluginUpdatable(name, String(spec), status, updatedNames);
|
|
17962
19190
|
const exempt = updateExemptSet.has(name);
|
|
17963
|
-
if (!updatable && !exempt) return null;
|
|
17964
19191
|
const ignored = !exempt && bootId !== null && ignoredUpdateSet.has(name);
|
|
17965
|
-
|
|
17966
|
-
|
|
17967
|
-
|
|
17968
|
-
children: "
|
|
17969
|
-
|
|
17970
|
-
|
|
17971
|
-
|
|
17972
|
-
|
|
17973
|
-
|
|
17974
|
-
|
|
17975
|
-
|
|
17976
|
-
className: Market_module_css_default.
|
|
17977
|
-
children:
|
|
17978
|
-
}),
|
|
17979
|
-
|
|
17980
|
-
|
|
17981
|
-
|
|
17982
|
-
onClick: () => openNotes(name, status?.current ?? null, status?.latest ?? null, status?.eligibleVersion ?? null, repoUrl),
|
|
17983
|
-
children: `${t("notesLink")} ›`
|
|
17984
|
-
})]
|
|
17985
|
-
}),
|
|
17986
|
-
updatable && status?.eligibleVersion !== void 0 && status.restoreRequired !== true && status.heldUpdate !== void 0 && status.heldUpdate.latest !== status.eligibleVersion && (() => {
|
|
17987
|
-
const left = Date.parse(status.heldUpdate.until) - Date.now();
|
|
17988
|
-
const known = status.heldUpdate.estimated !== true && Number.isFinite(left) && left > 0;
|
|
17989
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
17990
|
-
className: Market_module_css_default.irowStatus,
|
|
17991
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
17992
|
-
className: Market_module_css_default.metaInline,
|
|
17993
|
-
children: t(known ? "updateHeldTarget" : "updateHeldTargetUnknown").replace("{0}", displayLatest(status.heldUpdate.latest)).replace("{1}", String(Math.max(1, Math.ceil(left / 36e5)))).replace("{2}", displayLatest(status.eligibleVersion))
|
|
19192
|
+
if (!exempt && !ignored && !showIncompat) return null;
|
|
19193
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19194
|
+
className: Market_module_css_default.irowStatusBand,
|
|
19195
|
+
children: [showIncompat && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19196
|
+
className: Market_module_css_default.irowIncompat,
|
|
19197
|
+
children: [
|
|
19198
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19199
|
+
className: Market_module_css_default.irowIncompatTitle,
|
|
19200
|
+
children: t("installedIncompatTitle")
|
|
19201
|
+
}),
|
|
19202
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19203
|
+
className: Market_module_css_default.irowIncompatBody,
|
|
19204
|
+
children: t("installedIncompatWhy").replace("{0}", compatibility?.requirement ?? t("hostIncompatibleUnknown")).replace("{1}", (typeof hostVersion === "string" ? hostVersion : null) ?? t("hostIncompatibleUnknown"))
|
|
19205
|
+
}),
|
|
19206
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
19207
|
+
className: Market_module_css_default.irowIncompatBody,
|
|
19208
|
+
children: status?.updateAvailable === true ? t("installedIncompatNextUpdate") : compatibility?.status === "incompatible" ? t("installedIncompatNextHost") : t("installedIncompatNextUnknown")
|
|
17994
19209
|
})
|
|
17995
|
-
|
|
17996
|
-
})(),
|
|
17997
|
-
(exempt || ignored) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
19210
|
+
]
|
|
19211
|
+
}), (exempt || ignored) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
17998
19212
|
className: Market_module_css_default.irowStatus,
|
|
17999
19213
|
children: [
|
|
18000
19214
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
@@ -18029,8 +19243,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18029
19243
|
})
|
|
18030
19244
|
})
|
|
18031
19245
|
]
|
|
18032
|
-
})
|
|
18033
|
-
|
|
19246
|
+
})]
|
|
19247
|
+
});
|
|
18034
19248
|
})(),
|
|
18035
19249
|
!off && act !== void 0 && meta !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18036
19250
|
className: Market_module_css_default.act,
|
|
@@ -18038,7 +19252,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18038
19252
|
act.library === true ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18039
19253
|
className: Market_module_css_default.metaTag,
|
|
18040
19254
|
children: meta.label
|
|
18041
|
-
}) : meta.dot !== "done" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
19255
|
+
}) : meta.dot !== "done" && (localDev || act.state !== "incompatible") && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
18042
19256
|
className: meta.dot === "error" ? Market_module_css_default.actBroken : Market_module_css_default.actWarn,
|
|
18043
19257
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.StateDot, {
|
|
18044
19258
|
state: meta.dot,
|
|
@@ -18144,79 +19358,108 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18144
19358
|
children: t("installReplacement")
|
|
18145
19359
|
})] });
|
|
18146
19360
|
})(),
|
|
18147
|
-
/* @__PURE__ */ (0, react_jsx_runtime.
|
|
19361
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18148
19362
|
className: Market_module_css_default.irowTrailing,
|
|
18149
|
-
children:
|
|
18150
|
-
|
|
18151
|
-
|
|
18152
|
-
|
|
18153
|
-
|
|
18154
|
-
|
|
18155
|
-
|
|
18156
|
-
|
|
18157
|
-
|
|
18158
|
-
|
|
18159
|
-
|
|
18160
|
-
}) : updatedNames.includes(name) ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18161
|
-
className: `${Market_module_css_default.metaTag} ${Market_module_css_default.metaTagOk}`,
|
|
18162
|
-
children: act?.library === true ? t("updatedLibrary") : act?.state === "live" ? t("updatedLive") : t("updated")
|
|
18163
|
-
}) : updatingName === name ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18164
|
-
variant: "outline",
|
|
18165
|
-
size: "sm",
|
|
18166
|
-
className: Market_module_css_default.warnBtn,
|
|
18167
|
-
disabled: true,
|
|
18168
|
-
children: t("updating")
|
|
18169
|
-
}) : status !== void 0 && generation && status.latest != null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18170
|
-
className: Market_module_css_default.metaTag,
|
|
18171
|
-
title: t("hostUpdateHint"),
|
|
18172
|
-
children: t("hostUpdateReady").replace("{0}", status.latest)
|
|
18173
|
-
}) : status && status.updateAvailable ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18174
|
-
variant: "outline",
|
|
18175
|
-
size: "sm",
|
|
18176
|
-
className: Market_module_css_default.warnBtn,
|
|
18177
|
-
disabled: updatingName !== null,
|
|
18178
|
-
onClick: () => {
|
|
18179
|
-
if (status.restoreRequired === true) askRestore(name);
|
|
18180
|
-
else doUpdate(name);
|
|
18181
|
-
},
|
|
18182
|
-
children: status.restoreRequired === true ? t("restoreOnline") : status.eligibleVersion !== void 0 ? `${t("update")} ${displayLatest(status.eligibleVersion)}` : t("update")
|
|
18183
|
-
}), status.heldUpdate !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18184
|
-
className: Market_module_css_default.metaTag,
|
|
18185
|
-
children: t("updateHeldTag").replace("{0}", displayLatest(status.heldUpdate.latest))
|
|
18186
|
-
})] }) : status?.heldUpdate !== void 0 ? (() => {
|
|
18187
|
-
const left = Date.parse(status.heldUpdate.until) - Date.now();
|
|
18188
|
-
const estimated = status.heldUpdate.estimated === true;
|
|
18189
|
-
const amount = String(Math.max(1, Math.ceil(left / (estimated ? 6e4 : 36e5))));
|
|
18190
|
-
const hint = t(estimated ? "updateHeldEstimatedHint" : "updateHeldHint").replace("{1}", amount);
|
|
18191
|
-
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19363
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
19364
|
+
className: Market_module_css_default.irowTrailingRow,
|
|
19365
|
+
children: [
|
|
19366
|
+
!missing && status?.sourceMigration !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19367
|
+
variant: "outline",
|
|
19368
|
+
size: "sm",
|
|
19369
|
+
disabled: updatingName !== null || removingName !== null || busyUrl !== null,
|
|
19370
|
+
onClick: () => askSourceMigration(name),
|
|
19371
|
+
children: status.sourceMigration.kind === "npm-rename" ? t("renameRowAction") : t("migrateNpm")
|
|
19372
|
+
}),
|
|
19373
|
+
missing ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18192
19374
|
className: Market_module_css_default.metaTag,
|
|
18193
|
-
|
|
18194
|
-
|
|
18195
|
-
|
|
18196
|
-
|
|
18197
|
-
|
|
18198
|
-
|
|
18199
|
-
|
|
18200
|
-
|
|
18201
|
-
|
|
18202
|
-
|
|
18203
|
-
|
|
18204
|
-
|
|
18205
|
-
|
|
18206
|
-
|
|
18207
|
-
|
|
18208
|
-
|
|
18209
|
-
|
|
18210
|
-
|
|
18211
|
-
|
|
18212
|
-
|
|
18213
|
-
|
|
18214
|
-
|
|
18215
|
-
|
|
18216
|
-
|
|
18217
|
-
|
|
18218
|
-
|
|
18219
|
-
|
|
19375
|
+
children: t("notInstalled")
|
|
19376
|
+
}) : updatedNames.includes(name) ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19377
|
+
className: `${Market_module_css_default.metaTag} ${Market_module_css_default.metaTagOk}`,
|
|
19378
|
+
children: act?.library === true ? t("updatedLibrary") : act?.state === "live" ? t("updatedLive") : t("updated")
|
|
19379
|
+
}) : updatingName === name ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19380
|
+
variant: "outline",
|
|
19381
|
+
size: "sm",
|
|
19382
|
+
className: Market_module_css_default.irowUpdateBtn,
|
|
19383
|
+
disabled: true,
|
|
19384
|
+
children: t("updating")
|
|
19385
|
+
}) : status !== void 0 && generation && status.latest != null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19386
|
+
className: Market_module_css_default.metaTag,
|
|
19387
|
+
title: t("hostUpdateHint"),
|
|
19388
|
+
children: t("hostUpdateReady").replace("{0}", status.latest)
|
|
19389
|
+
}) : status?.profileBlocked !== void 0 && status.updateAvailable !== true ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
19390
|
+
label: profileBlockedText(status.profileBlocked, t),
|
|
19391
|
+
side: "top",
|
|
19392
|
+
delayMs: HOVER_TIP_DELAY_MS,
|
|
19393
|
+
portal: true,
|
|
19394
|
+
maxWidth: 280,
|
|
19395
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
19396
|
+
className: Market_module_css_default.irowTrailingHint,
|
|
19397
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconClock, { size: 12 }), t("profileBlockedBeside")]
|
|
19398
|
+
})
|
|
19399
|
+
}) : status && status.updateAvailable ? (() => {
|
|
19400
|
+
const held = status.heldUpdate !== void 0 ? heldUpdateBeside(status.heldUpdate, t) : null;
|
|
19401
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [held !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
19402
|
+
label: held.title,
|
|
19403
|
+
side: "top",
|
|
19404
|
+
delayMs: HOVER_TIP_DELAY_MS,
|
|
19405
|
+
portal: true,
|
|
19406
|
+
maxWidth: 280,
|
|
19407
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
19408
|
+
className: Market_module_css_default.irowTrailingHint,
|
|
19409
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconClock, { size: 12 }), held.label]
|
|
19410
|
+
})
|
|
19411
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19412
|
+
variant: "outline",
|
|
19413
|
+
size: "sm",
|
|
19414
|
+
className: Market_module_css_default.irowUpdateBtn,
|
|
19415
|
+
disabled: updatingName !== null,
|
|
19416
|
+
onClick: () => {
|
|
19417
|
+
if (status.restoreRequired === true) askRestore(name);
|
|
19418
|
+
else doUpdate(name);
|
|
19419
|
+
},
|
|
19420
|
+
children: status.restoreRequired === true ? t("restoreOnline") : (() => {
|
|
19421
|
+
const target = status.eligibleVersion ?? status.latest;
|
|
19422
|
+
return target != null && target !== "" ? `${t("update")} ${displayLatest(target)}` : t("update");
|
|
19423
|
+
})()
|
|
19424
|
+
})] });
|
|
19425
|
+
})() : status?.heldUpdate !== void 0 ? (() => {
|
|
19426
|
+
const held = heldUpdateBeside(status.heldUpdate, t);
|
|
19427
|
+
return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Tooltip, {
|
|
19428
|
+
label: held.title,
|
|
19429
|
+
side: "top",
|
|
19430
|
+
delayMs: HOVER_TIP_DELAY_MS,
|
|
19431
|
+
portal: true,
|
|
19432
|
+
maxWidth: 280,
|
|
19433
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
19434
|
+
className: Market_module_css_default.irowTrailingHint,
|
|
19435
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconClock, { size: 12 }), held.label]
|
|
19436
|
+
})
|
|
19437
|
+
});
|
|
19438
|
+
})() : localDev ? null : status?.unreleasedCommit != null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19439
|
+
className: Market_module_css_default.metaTag,
|
|
19440
|
+
title: t("unreleasedCommitsHint"),
|
|
19441
|
+
children: t("unreleasedCommits").replace("{0}", displayLatest(status.unreleasedCommit))
|
|
19442
|
+
}) : status?.newerPrerelease !== void 0 ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19443
|
+
className: Market_module_css_default.metaTag,
|
|
19444
|
+
title: t("newerPrereleaseHint"),
|
|
19445
|
+
children: t("newerPrereleaseAvailable").replace("{0}", status.newerPrerelease)
|
|
19446
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19447
|
+
variant: "outline",
|
|
19448
|
+
size: "sm",
|
|
19449
|
+
disabled: updatingName !== null || removingName !== null || busyUrl !== null,
|
|
19450
|
+
onClick: () => doUpdate(name, false, false, status.newerPrerelease),
|
|
19451
|
+
children: t("install")
|
|
19452
|
+
})] }) : updateCheck.failed === null || updateCheck.failed.has(name) ? null : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19453
|
+
className: Market_module_css_default.metaTag,
|
|
19454
|
+
title: t("upToDate"),
|
|
19455
|
+
children: t("upToDate")
|
|
19456
|
+
}),
|
|
19457
|
+
removingName === name && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
19458
|
+
className: Market_module_css_default.metaTag,
|
|
19459
|
+
children: t("uninstalling")
|
|
19460
|
+
})
|
|
19461
|
+
]
|
|
19462
|
+
})
|
|
18220
19463
|
})
|
|
18221
19464
|
]
|
|
18222
19465
|
})]
|
|
@@ -18577,7 +19820,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18577
19820
|
commentsFor !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(CommentsModal, {
|
|
18578
19821
|
name: pluginName(commentsFor.name, commentsFor.npm),
|
|
18579
19822
|
url: commentsFor.url,
|
|
18580
|
-
lang,
|
|
19823
|
+
lang: uiLocale,
|
|
18581
19824
|
onClose: () => setCommentsFor(null),
|
|
18582
19825
|
t
|
|
18583
19826
|
}, commentsFor.url),
|
|
@@ -18749,8 +19992,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18749
19992
|
}),
|
|
18750
19993
|
notesFor !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
18751
19994
|
open: true,
|
|
18752
|
-
onClose:
|
|
18753
|
-
className: notesState === "ready" && updateNotes?.kind === "release" ? Market_module_css_default.notesModalWide : void 0,
|
|
19995
|
+
onClose: closeNotes,
|
|
19996
|
+
className: notesState === "ready" && (updateNotes?.kind === "release" || (updateNotes?.history?.items.length ?? 0) > 0) ? Market_module_css_default.notesModalWide : void 0,
|
|
18754
19997
|
title: notesFor.repoUrl !== null ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
18755
19998
|
className: Market_module_css_default.nameLink,
|
|
18756
19999
|
href: notesFor.repoUrl + "#readme",
|
|
@@ -18760,7 +20003,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18760
20003
|
}) : notesFor.name,
|
|
18761
20004
|
footer: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
18762
20005
|
variant: "ghost",
|
|
18763
|
-
onClick:
|
|
20006
|
+
onClick: closeNotes,
|
|
18764
20007
|
children: t("gotIt")
|
|
18765
20008
|
}),
|
|
18766
20009
|
children: [
|
|
@@ -18792,130 +20035,14 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
18792
20035
|
className: Market_module_css_default.spec,
|
|
18793
20036
|
children: t("notesLoadFail")
|
|
18794
20037
|
}),
|
|
18795
|
-
notesState === "ready" && updateNotes !== null &&
|
|
18796
|
-
|
|
18797
|
-
|
|
18798
|
-
|
|
18799
|
-
|
|
18800
|
-
|
|
18801
|
-
|
|
18802
|
-
|
|
18803
|
-
updateNotes.release.publishedAt !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: " · " + updateNotes.release.publishedAt.slice(0, 10) })
|
|
18804
|
-
]
|
|
18805
|
-
}),
|
|
18806
|
-
updateNotes.beyondTarget !== void 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18807
|
-
className: Market_module_css_default.notesMeta,
|
|
18808
|
-
children: t("notesBeyondTarget").replace("{0}", updateNotes.release.tag ?? "").replace("{1}", updateNotes.beyondTarget)
|
|
18809
|
-
}),
|
|
18810
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18811
|
-
className: Market_module_css_default.notesRendered,
|
|
18812
|
-
children: renderMarkdown(updateNotes.release.body || t("notesNone"))
|
|
18813
|
-
}),
|
|
18814
|
-
updateNotes.commits !== void 0 && updateNotes.commits.items.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [
|
|
18815
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18816
|
-
className: Market_module_css_default.notesMeta,
|
|
18817
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesCommits") })
|
|
18818
|
-
}),
|
|
18819
|
-
!updateNotes.commits.found && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18820
|
-
className: Market_module_css_default.notesMeta,
|
|
18821
|
-
children: t("notesCommitsRecent")
|
|
18822
|
-
}),
|
|
18823
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
18824
|
-
className: Market_module_css_default.notesList,
|
|
18825
|
-
children: updateNotes.commits.items.map((c) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
18826
|
-
className: Market_module_css_default.notesRow,
|
|
18827
|
-
children: [
|
|
18828
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18829
|
-
className: Market_module_css_default.notesDate,
|
|
18830
|
-
children: c.date !== null ? c.date.slice(0, 10) : ""
|
|
18831
|
-
}),
|
|
18832
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18833
|
-
className: Market_module_css_default.notesMsg,
|
|
18834
|
-
children: mdInline(c.message)
|
|
18835
|
-
}),
|
|
18836
|
-
notesFor.repoUrl !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
18837
|
-
className: Market_module_css_default.notesSha,
|
|
18838
|
-
href: notesFor.repoUrl + "/commit/" + c.sha,
|
|
18839
|
-
target: "_blank",
|
|
18840
|
-
rel: "noreferrer",
|
|
18841
|
-
title: c.message,
|
|
18842
|
-
children: c.sha.slice(0, 7)
|
|
18843
|
-
})
|
|
18844
|
-
]
|
|
18845
|
-
}, c.sha))
|
|
18846
|
-
})
|
|
18847
|
-
] })
|
|
18848
|
-
]
|
|
18849
|
-
}) : updateNotes.kind === "commits" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18850
|
-
className: Market_module_css_default.notesBody,
|
|
18851
|
-
children: [
|
|
18852
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18853
|
-
className: Market_module_css_default.notesMeta,
|
|
18854
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesCommits") })
|
|
18855
|
-
}),
|
|
18856
|
-
!updateNotes.commits.found && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18857
|
-
className: Market_module_css_default.notesMeta,
|
|
18858
|
-
children: t("notesCommitsRecent")
|
|
18859
|
-
}),
|
|
18860
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
18861
|
-
className: Market_module_css_default.notesList,
|
|
18862
|
-
children: updateNotes.commits.items.map((c) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
18863
|
-
className: Market_module_css_default.notesRow,
|
|
18864
|
-
children: [
|
|
18865
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18866
|
-
className: Market_module_css_default.notesDate,
|
|
18867
|
-
children: c.date !== null ? c.date.slice(0, 10) : ""
|
|
18868
|
-
}),
|
|
18869
|
-
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18870
|
-
className: Market_module_css_default.notesMsg,
|
|
18871
|
-
children: mdInline(c.message)
|
|
18872
|
-
}),
|
|
18873
|
-
notesFor.repoUrl !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
18874
|
-
className: Market_module_css_default.notesSha,
|
|
18875
|
-
href: notesFor.repoUrl + "/commit/" + c.sha,
|
|
18876
|
-
target: "_blank",
|
|
18877
|
-
rel: "noreferrer",
|
|
18878
|
-
title: c.message,
|
|
18879
|
-
children: c.sha.slice(0, 7)
|
|
18880
|
-
})
|
|
18881
|
-
]
|
|
18882
|
-
}, c.sha))
|
|
18883
|
-
})
|
|
18884
|
-
]
|
|
18885
|
-
}) : updateNotes.kind === "npm" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18886
|
-
className: Market_module_css_default.notesBody,
|
|
18887
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18888
|
-
className: Market_module_css_default.notesMeta,
|
|
18889
|
-
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("strong", { children: t("notesNpm") })
|
|
18890
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("ul", {
|
|
18891
|
-
className: Market_module_css_default.notesList,
|
|
18892
|
-
children: updateNotes.npmTimes.map((v) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("li", {
|
|
18893
|
-
className: Market_module_css_default.notesRow,
|
|
18894
|
-
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
18895
|
-
className: Market_module_css_default.notesDate,
|
|
18896
|
-
children: v.date.slice(0, 10)
|
|
18897
|
-
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
18898
|
-
className: Market_module_css_default.notesVer,
|
|
18899
|
-
href: `https://www.npmjs.com/package/${encodeURIComponent(notesFor.name)}/v/${encodeURIComponent(v.version)}`,
|
|
18900
|
-
target: "_blank",
|
|
18901
|
-
rel: "noreferrer",
|
|
18902
|
-
children: v.version
|
|
18903
|
-
})]
|
|
18904
|
-
}, v.version))
|
|
18905
|
-
})]
|
|
18906
|
-
}) : updateNotes.kind === "source" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
18907
|
-
className: Market_module_css_default.spec,
|
|
18908
|
-
children: [t(updateNotes.reason === "unavailable" ? "notesLoadFail" : updateNotes.reason === "unreadable" ? "notesSourceUnreadable" : "notesSource"), typeof updateNotes.sourceUrl === "string" && /^https?:\/\//i.test(updateNotes.sourceUrl) ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [lang === "zh" ? "" : " ", /* @__PURE__ */ (0, react_jsx_runtime.jsx)("a", {
|
|
18909
|
-
className: Market_module_css_default.notesSourceLink,
|
|
18910
|
-
href: updateNotes.sourceUrl,
|
|
18911
|
-
target: "_blank",
|
|
18912
|
-
rel: "noreferrer",
|
|
18913
|
-
children: t("notesSourceLink")
|
|
18914
|
-
})] }) : updateNotes.reason !== "unavailable" && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)(react_jsx_runtime.Fragment, { children: [lang === "zh" ? "" : " ", t("notesSourceNoLink")] })]
|
|
18915
|
-
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
18916
|
-
className: Market_module_css_default.spec,
|
|
18917
|
-
children: t("notesNone")
|
|
18918
|
-
}))
|
|
20038
|
+
notesState === "ready" && updateNotes !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(UpdateNotesContent, {
|
|
20039
|
+
notes: updateNotes,
|
|
20040
|
+
name: notesFor.name,
|
|
20041
|
+
target: notesFor.target ?? notesFor.latest,
|
|
20042
|
+
repoUrl: notesFor.repoUrl,
|
|
20043
|
+
t,
|
|
20044
|
+
lang
|
|
20045
|
+
})
|
|
18919
20046
|
]
|
|
18920
20047
|
}),
|
|
18921
20048
|
restoreConfirmOpen && pendingBackup !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
|
|
@@ -19004,9 +20131,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19004
20131
|
className: Market_module_css_default.backupCheck,
|
|
19005
20132
|
onChange: setExportIncludeConfig
|
|
19006
20133
|
}),
|
|
19007
|
-
exportIncludeConfig && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
20134
|
+
(exportAllSelected || exportIncludeConfig) && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
19008
20135
|
className: Market_module_css_default.backupWarn,
|
|
19009
|
-
children: t("
|
|
20136
|
+
children: t("gistConfigWarning")
|
|
19010
20137
|
}),
|
|
19011
20138
|
exportError !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
19012
20139
|
className: Market_module_css_default.backupWarn,
|
|
@@ -19406,9 +20533,12 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19406
20533
|
return {
|
|
19407
20534
|
updateAvailable: own.updateAvailable === true,
|
|
19408
20535
|
latest: own.latest ?? null,
|
|
20536
|
+
eligibleVersion: own.eligibleVersion ?? null,
|
|
20537
|
+
heldUpdate: own.heldUpdate ?? null,
|
|
19409
20538
|
channelSwitch: own.channelSwitch ?? null,
|
|
19410
20539
|
restoreRequired: own.restoreRequired === true,
|
|
19411
|
-
hostManaged: own.kind === "generation"
|
|
20540
|
+
hostManaged: own.kind === "generation",
|
|
20541
|
+
profileBlocked: own.profileBlocked ?? null
|
|
19412
20542
|
};
|
|
19413
20543
|
}
|
|
19414
20544
|
/**
|
|
@@ -19425,7 +20555,8 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19425
20555
|
storage.removeItem(key);
|
|
19426
20556
|
} catch {}
|
|
19427
20557
|
}
|
|
19428
|
-
function SettingsCard({ t, onRemoved, sidebar, entries }) {
|
|
20558
|
+
function SettingsCard({ t, locale, onRemoved, sidebar, entries }) {
|
|
20559
|
+
const activeLocale = (0, react.useSyncExternalStore)((listener) => locale?.subscribe(listener) ?? (() => {}), () => locale?.getSnapshot().active ?? "en");
|
|
19429
20560
|
const [open, setOpen] = (0, react.useState)(false);
|
|
19430
20561
|
const [advancedOpen, setAdvancedOpen] = (0, react.useState)(false);
|
|
19431
20562
|
const advancedId = (0, react.useId)();
|
|
@@ -19462,7 +20593,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19462
20593
|
const notificationSnapshot = useUpdateNotifications();
|
|
19463
20594
|
(0, react.useEffect)(() => {
|
|
19464
20595
|
if (!notificationSnapshot.loaded) return;
|
|
19465
|
-
const own = notificationSnapshot.updates["dsh-crate"];
|
|
20596
|
+
const own = notificationSnapshot.updates["dsh-crate"] ?? notificationSnapshot.updates["dsh-crate"];
|
|
19466
20597
|
setUpdate(own === void 0 ? null : readUpdate(own));
|
|
19467
20598
|
}, [notificationSnapshot.updates, notificationSnapshot.loaded]);
|
|
19468
20599
|
const [phase, setPhase] = (0, react.useState)("idle");
|
|
@@ -19536,6 +20667,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19536
20667
|
const body = await post(api("/dsh-crate/update"), {
|
|
19537
20668
|
name: "dsh-crate",
|
|
19538
20669
|
...update?.restoreRequired === true ? { restore: true } : {},
|
|
20670
|
+
...update?.eligibleVersion != null ? { eligibleVersion: update.eligibleVersion } : {},
|
|
19539
20671
|
...force ? { force: true } : {}
|
|
19540
20672
|
});
|
|
19541
20673
|
if (body.ok === true) setPhase("updated");
|
|
@@ -19552,6 +20684,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19552
20684
|
}, [
|
|
19553
20685
|
post,
|
|
19554
20686
|
t,
|
|
20687
|
+
update?.eligibleVersion,
|
|
19555
20688
|
update?.restoreRequired
|
|
19556
20689
|
]);
|
|
19557
20690
|
const onRemove = (0, react.useCallback)(() => {
|
|
@@ -19583,7 +20716,9 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19583
20716
|
t
|
|
19584
20717
|
]);
|
|
19585
20718
|
const busy = phase === "working";
|
|
19586
|
-
const
|
|
20719
|
+
const checkStale = notificationSnapshot.loaded && notificationSnapshot.stale;
|
|
20720
|
+
const checkFailed = checkStale && notificationSnapshot.error !== null;
|
|
20721
|
+
const pluginListChanged = checkStale && !checkFailed;
|
|
19587
20722
|
const version = status?.version ?? null;
|
|
19588
20723
|
const prerelease = version !== null && version.includes("-");
|
|
19589
20724
|
/** Re-ask what this channel offers; the previous answer was for another one. */
|
|
@@ -19794,7 +20929,10 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
19794
20929
|
id: advancedId,
|
|
19795
20930
|
className: Market_module_css_default.setAdvancedBody
|
|
19796
20931
|
}, entryRows.map((node, index) => (0, react.createElement)(react.Fragment, { key: index }, node))) : null) : null;
|
|
19797
|
-
const
|
|
20932
|
+
const offeredVersion = update?.eligibleVersion ?? update?.latest ?? null;
|
|
20933
|
+
const held = update?.heldUpdate;
|
|
20934
|
+
const heldVersionText = held != null && typeof held.latest === "string" && held.latest !== "" && (update?.updateAvailable !== true || held.latest !== offeredVersion) ? marketHeldVersionText(held, activeLocale, t) : null;
|
|
20935
|
+
const body = phase === "removed" ? row(t("setSelfRemoved"), t("setSelfRemovedHint"), null) : (0, react.createElement)(react.Fragment, null, advanced, row(t("setIndexSource"), t("setIndexSourceHint"), null), status?.selfManaged === true ? row((update?.updateAvailable === true || update?.hostManaged === true) && offeredVersion !== null ? `${t("setSelfUpdateReady")} ${offeredVersion}` : update?.channelSwitch != null ? `${t("setChannelSwitch")} ${update.channelSwitch}` : checkFailed ? t("updateChecksFailed") : pluginListChanged ? t("updateChecksChanged") : update?.profileBlocked != null || heldVersionText !== null ? t("setSelfUpdateWaiting") : update === null ? t("updateChecksPending") : t("setSelfUpToDate"), phase === "updated" ? t("setSelfUpdatedHint") : update?.channelSwitch != null ? t("setChannelSwitchHint") : update?.updateAvailable === true ? [t("setSelfUpdateHint"), heldVersionText].filter(Boolean).join(" · ") : update?.hostManaged === true && update.latest !== null ? t("setSelfHostManagedHint") : checkFailed ? t("updateChecksFailedHint") : pluginListChanged ? t("updateChecksChangedHint") : update?.profileBlocked != null ? profileBlockedText(update.profileBlocked, t) : heldVersionText ?? t("setSelfUpToDateHint"), phase === "updated" ? null : update?.updateAvailable === true ? (0, react.createElement)(_deepseek_ai_dsh_client_ui_primitives.Button, {
|
|
19798
20936
|
variant: "primary",
|
|
19799
20937
|
size: "sm",
|
|
19800
20938
|
disabled: busy,
|
|
@@ -20483,7 +21621,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20483
21621
|
//#region src/client/index.ts
|
|
20484
21622
|
/**
|
|
20485
21623
|
* dsh-crate client: registers a "Market" settings section rendering the
|
|
20486
|
-
*
|
|
21624
|
+
* Plugin Crate UI, plus the post-install toast in the shell overlay layer.
|
|
20487
21625
|
* Built by tsdown into the __ModuleLoader__ factory bundle at
|
|
20488
21626
|
* client/client.js; the only externals are the loader module table's react
|
|
20489
21627
|
* entries.
|
|
@@ -20532,7 +21670,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20532
21670
|
try {
|
|
20533
21671
|
mountMarket(ctx);
|
|
20534
21672
|
} catch (error) {
|
|
20535
|
-
console.error("[dsh-crate] mounting failed, so the market is missing for this session. The rest of the app is unaffected. Report at https://github.com/crate/dsh-crate/issues with this line and the stack below:", error);
|
|
21673
|
+
console.error("[dsh-crate] mounting failed, so the market is missing for this session. The rest of the app is unaffected. Report at https://github.com/dsh-crate/dsh-crate/issues with this line and the stack below:", error);
|
|
20536
21674
|
}
|
|
20537
21675
|
}
|
|
20538
21676
|
/**
|
|
@@ -20608,10 +21746,14 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20608
21746
|
label: () => t("nav"),
|
|
20609
21747
|
locale: NS,
|
|
20610
21748
|
inject: () => ({ t })
|
|
20611
|
-
}, (ownerProps = {}) =>
|
|
21749
|
+
}, (ownerProps = {}) => (0, react.createElement)(SettingsNoticeFrame, {
|
|
21750
|
+
t,
|
|
21751
|
+
entries,
|
|
21752
|
+
hostNavigation
|
|
21753
|
+
}, buildMarketElement({
|
|
20612
21754
|
...ownerProps,
|
|
20613
21755
|
surface: "settings"
|
|
20614
|
-
}));
|
|
21756
|
+
})));
|
|
20615
21757
|
return typeof off === "function" ? off : () => {};
|
|
20616
21758
|
}),
|
|
20617
21759
|
pluginsTabGate: createSectionGate(() => {
|
|
@@ -20674,9 +21816,14 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20674
21816
|
layout = scoped.layout;
|
|
20675
21817
|
});
|
|
20676
21818
|
ctx.inject(["pluginNavigation"], (scoped) => {
|
|
20677
|
-
hostNavigation.attach({
|
|
20678
|
-
|
|
20679
|
-
|
|
21819
|
+
hostNavigation.attach({
|
|
21820
|
+
openBundle: (name) => {
|
|
21821
|
+
scoped.pluginNavigation.openBundle(name);
|
|
21822
|
+
},
|
|
21823
|
+
...typeof scoped.pluginNavigation.openList === "function" ? { openList: () => {
|
|
21824
|
+
scoped.pluginNavigation.openList?.();
|
|
21825
|
+
} } : {}
|
|
21826
|
+
});
|
|
20680
21827
|
});
|
|
20681
21828
|
const retire = () => {
|
|
20682
21829
|
entries.retire();
|
|
@@ -20709,6 +21856,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20709
21856
|
inject: () => ({ t })
|
|
20710
21857
|
}, () => (0, react.createElement)(SettingsCard, {
|
|
20711
21858
|
t,
|
|
21859
|
+
locale: ctx.locale,
|
|
20712
21860
|
sidebar,
|
|
20713
21861
|
entries,
|
|
20714
21862
|
onRemoved: retire
|
|
@@ -20722,6 +21870,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20722
21870
|
inject: () => ({ t })
|
|
20723
21871
|
}, (ownerProps = {}) => ownerProps.view === "summary" ? null : (0, react.createElement)(SettingsCard, {
|
|
20724
21872
|
t,
|
|
21873
|
+
locale: ctx.locale,
|
|
20725
21874
|
sidebar,
|
|
20726
21875
|
entries,
|
|
20727
21876
|
onRemoved: retire
|
|
@@ -20736,6 +21885,7 @@ window.__ModuleLoader__.load({ id: "dsh-crate", factory: (require) => {
|
|
|
20736
21885
|
inject: () => ({ t })
|
|
20737
21886
|
}, () => (0, react.createElement)(SettingsCard, {
|
|
20738
21887
|
t,
|
|
21888
|
+
locale: ctx.locale,
|
|
20739
21889
|
sidebar,
|
|
20740
21890
|
entries,
|
|
20741
21891
|
onRemoved: retire
|