dshmarket 1.56.0 → 1.58.0

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 CHANGED
@@ -31,6 +31,164 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
31
31
  _deepseek_ai_dsh_client_ui_primitives = __toESM(_deepseek_ai_dsh_client_ui_primitives, 1);
32
32
  let react_jsx_runtime = require("react/jsx-runtime");
33
33
  let react_dom = require("react-dom");
34
+ //#region src/client/icons.ts
35
+ /**
36
+ * Each entry: the name this package imports, then the 0.1.7+ Regular export,
37
+ * then the pre-0.1.7 size-suffixed export.
38
+ */
39
+ const ICON_ALIASES = [
40
+ [
41
+ "IconCheckOutline16",
42
+ "IconCheckOutlineRegular",
43
+ "IconCheckOutline16"
44
+ ],
45
+ [
46
+ "IconChevronDownOutline14",
47
+ "IconChevronDownOutlineRegular",
48
+ "IconChevronDownOutline14"
49
+ ],
50
+ [
51
+ "IconChevronLeftOutline14",
52
+ "IconChevronLeftOutlineRegular",
53
+ "IconChevronLeftOutline14"
54
+ ],
55
+ [
56
+ "IconChevronRightOutline14",
57
+ "IconChevronRightOutlineRegular",
58
+ "IconChevronRightOutline14"
59
+ ],
60
+ [
61
+ "IconChevronUpOutline14",
62
+ "IconChevronUpOutlineRegular",
63
+ "IconChevronUpOutline14"
64
+ ],
65
+ [
66
+ "IconCodeOutline16",
67
+ "IconCodeOutlineRegular",
68
+ "IconCodeOutline16"
69
+ ],
70
+ [
71
+ "IconCordisPluginOutline14",
72
+ "IconCordisPluginOutlineRegular",
73
+ "IconCordisPluginOutline14"
74
+ ],
75
+ [
76
+ "IconDownloadOutline16",
77
+ "IconDownloadOutlineRegular",
78
+ "IconDownloadOutline16"
79
+ ],
80
+ [
81
+ "IconFolderOpen16",
82
+ "IconFolderOpenRegular",
83
+ "IconFolderOpen16"
84
+ ],
85
+ [
86
+ "IconFullscreenOutline16",
87
+ "IconFullscreenOutlineRegular",
88
+ "IconFullscreenOutline16"
89
+ ],
90
+ [
91
+ "IconLinkOutline14",
92
+ "IconLinkOutlineRegular",
93
+ "IconLinkOutline14"
94
+ ],
95
+ [
96
+ "IconLoadingOutline16",
97
+ "IconLoadingOutlineRegular",
98
+ "IconLoadingOutline16"
99
+ ],
100
+ [
101
+ "IconQuestionOutline14",
102
+ "IconQuestionOutlineRegular",
103
+ "IconQuestionOutline14"
104
+ ],
105
+ [
106
+ "IconRefreshOutline14",
107
+ "IconRefreshOutlineRegular",
108
+ "IconRefreshOutline14"
109
+ ],
110
+ [
111
+ "IconSearchOutline16",
112
+ "IconSearchOutlineRegular",
113
+ "IconSearchOutline16"
114
+ ],
115
+ [
116
+ "IconSparkle16",
117
+ "IconSparkleRegular",
118
+ "IconSparkle16"
119
+ ],
120
+ [
121
+ "IconWarningOutline16",
122
+ "IconWarningOutlineRegular",
123
+ "IconWarningOutline16"
124
+ ]
125
+ ];
126
+ /**
127
+ * True for a value React will accept as an element type. Plain functions are
128
+ * the common case today; memo / forwardRef wrappers are objects tagged with
129
+ * $$typeof and must not be treated as "missing".
130
+ */
131
+ function isIconComponent(value) {
132
+ if (typeof value === "function") return true;
133
+ if (typeof value !== "object" || value === null) return false;
134
+ return typeof value.$$typeof === "symbol";
135
+ }
136
+ /**
137
+ * Read one name out of a primitives-shaped table. A strict namespace proxy may
138
+ * throw on unknown keys; that must not be what blanks the market.
139
+ */
140
+ function fromHost(mod, name) {
141
+ try {
142
+ return mod[name];
143
+ } catch {
144
+ return;
145
+ }
146
+ }
147
+ /** Resolve one icon from a primitives-shaped module; null when both names are absent. */
148
+ function resolveIcon(mod, newer, older) {
149
+ const candidate = fromHost(mod, newer) ?? fromHost(mod, older);
150
+ return isIconComponent(candidate) ? candidate : null;
151
+ }
152
+ /**
153
+ * Names for which neither the 0.1.7 nor the pre-0.1.7 export exists.
154
+ * Informational — apply() does not disable the market for these; pickIcon
155
+ * renders nothing instead so a rename costs one glyph, not the page.
156
+ */
157
+ function missingIcons(mod) {
158
+ const gaps = [];
159
+ for (const [stable, newer, older] of ICON_ALIASES) if (resolveIcon(mod, newer, older) === null) gaps.push(stable);
160
+ return gaps;
161
+ }
162
+ /** Rendered when a host exports neither spelling — see the module comment. */
163
+ function renderNothing() {
164
+ return null;
165
+ }
166
+ function pickIcon(newer, older) {
167
+ const resolved = resolveIcon(_deepseek_ai_dsh_client_ui_primitives, newer, older);
168
+ if (resolved === null) {
169
+ console.warn(`[dsh-market] host ui-primitives missing ${newer} / ${older} — icon skipped`);
170
+ return renderNothing;
171
+ }
172
+ return resolved;
173
+ }
174
+ const IconCheckOutline16 = pickIcon("IconCheckOutlineRegular", "IconCheckOutline16");
175
+ const IconChevronDownOutline14 = pickIcon("IconChevronDownOutlineRegular", "IconChevronDownOutline14");
176
+ const IconChevronLeftOutline14 = pickIcon("IconChevronLeftOutlineRegular", "IconChevronLeftOutline14");
177
+ const IconChevronRightOutline14 = pickIcon("IconChevronRightOutlineRegular", "IconChevronRightOutline14");
178
+ const IconChevronUpOutline14 = pickIcon("IconChevronUpOutlineRegular", "IconChevronUpOutline14");
179
+ const IconCodeOutline16 = pickIcon("IconCodeOutlineRegular", "IconCodeOutline16");
180
+ const IconCordisPluginOutline14 = pickIcon("IconCordisPluginOutlineRegular", "IconCordisPluginOutline14");
181
+ const IconDownloadOutline16 = pickIcon("IconDownloadOutlineRegular", "IconDownloadOutline16");
182
+ const IconFolderOpen16 = pickIcon("IconFolderOpenRegular", "IconFolderOpen16");
183
+ const IconFullscreenOutline16 = pickIcon("IconFullscreenOutlineRegular", "IconFullscreenOutline16");
184
+ const IconLinkOutline14 = pickIcon("IconLinkOutlineRegular", "IconLinkOutline14");
185
+ const IconLoadingOutline16 = pickIcon("IconLoadingOutlineRegular", "IconLoadingOutline16");
186
+ const IconQuestionOutline14 = pickIcon("IconQuestionOutlineRegular", "IconQuestionOutline14");
187
+ const IconRefreshOutline14 = pickIcon("IconRefreshOutlineRegular", "IconRefreshOutline14");
188
+ const IconSearchOutline16 = pickIcon("IconSearchOutlineRegular", "IconSearchOutline16");
189
+ const IconSparkle16 = pickIcon("IconSparkleRegular", "IconSparkle16");
190
+ const IconWarningOutline16 = pickIcon("IconWarningOutlineRegular", "IconWarningOutline16");
191
+ //#endregion
34
192
  //#region src/client/locales.ts
35
193
  /** zh/en dictionaries for the Market settings section and install toast. */
36
194
  const zh = {
@@ -2314,7 +2472,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
2314
2472
  if (names.length === 0) return null;
2315
2473
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
2316
2474
  text: names.join(", ") + " " + t(mode === "theme" ? "toastTheme" : "toastReady"),
2317
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSparkle16, { size: 14 }),
2475
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconSparkle16, { size: 14 }),
2318
2476
  onDone: () => setNames([])
2319
2477
  });
2320
2478
  }
@@ -3103,7 +3261,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
3103
3261
  (0, react.useEffect)(() => cancel, [cancel]);
3104
3262
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
3105
3263
  className,
3106
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSearchOutline16, { size: 14 }),
3264
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconSearchOutline16, { size: 14 }),
3107
3265
  placeholder,
3108
3266
  value: draft,
3109
3267
  onChange: (event) => {
@@ -3356,7 +3514,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
3356
3514
  className: Market_module_css_default.conflictDetailsToggle,
3357
3515
  "aria-expanded": whyOpen,
3358
3516
  onClick: () => setWhyOpen((open) => !open),
3359
- children: [t("conflictDetails"), whyOpen ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutline14, { size: 12 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 12 })]
3517
+ children: [t("conflictDetails"), whyOpen ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronUpOutline14, { size: 12 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 12 })]
3360
3518
  }),
3361
3519
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: Market_module_css_default.grow }),
3362
3520
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
@@ -3388,16 +3546,16 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
3388
3546
  const bucket = bucketOf(props.record.state);
3389
3547
  if (bucket === "busy") return props.record.state === "running" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3390
3548
  className: Market_module_css_default.spin,
3391
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLoadingOutline16, { size: 13 })
3549
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLoadingOutline16, { size: 13 })
3392
3550
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3393
3551
  className: Market_module_css_default.opQueuedIcon,
3394
3552
  children: "⋯"
3395
3553
  });
3396
- if (bucket === "ok") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCheckOutline16, {
3554
+ if (bucket === "ok") return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconCheckOutline16, {
3397
3555
  size: 13,
3398
3556
  className: Market_module_css_default.reassureOk
3399
3557
  });
3400
- return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, {
3558
+ return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
3401
3559
  size: 14,
3402
3560
  className: Market_module_css_default.conflictIcon
3403
3561
  });
@@ -3448,7 +3606,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
3448
3606
  children: [
3449
3607
  !quiet && busy && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
3450
3608
  className: Market_module_css_default.spin,
3451
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLoadingOutline16, { size: 12 })
3609
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLoadingOutline16, { size: 12 })
3452
3610
  }),
3453
3611
  quiet ? t("opTitle") : label,
3454
3612
  !quiet && summary.attention > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { className: Market_module_css_default.opDot })
@@ -3477,7 +3635,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
3477
3635
  title: t("opClose"),
3478
3636
  className: Market_module_css_default.opCloseBtn,
3479
3637
  onClick: () => setOpen(false),
3480
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutline14, { size: 14 })
3638
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronUpOutline14, { size: 14 })
3481
3639
  })
3482
3640
  ]
3483
3641
  }),
@@ -3768,14 +3926,14 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
3768
3926
  children: [
3769
3927
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
3770
3928
  className: Market_module_css_default.recoverySummary,
3771
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, {
3929
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
3772
3930
  size: 14,
3773
3931
  className: Market_module_css_default.bannerIcon
3774
3932
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: view.failure.summary || t("recoveryNoSummary") })]
3775
3933
  }),
3776
3934
  view.lastErrors.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
3777
3935
  className: Market_module_css_default.recoverySummary,
3778
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, {
3936
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
3779
3937
  size: 14,
3780
3938
  className: Market_module_css_default.bannerIcon
3781
3939
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", { children: [t("recoveryWriteFailed"), view.lastErrors.join("; ")] })]
@@ -4429,7 +4587,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
4429
4587
  children: [
4430
4588
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4431
4589
  className: Market_module_css_default.collapseIcon,
4432
- children: open ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronRightOutline14, { size: 14 })
4590
+ children: open ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronRightOutline14, { size: 14 })
4433
4591
  }),
4434
4592
  alert && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4435
4593
  className: Market_module_css_default.diagAlert,
@@ -4482,7 +4640,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
4482
4640
  children: [
4483
4641
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4484
4642
  className: Market_module_css_default.collapseIcon,
4485
- children: open ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronRightOutline14, { size: 14 })
4643
+ children: open ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronRightOutline14, { size: 14 })
4486
4644
  }),
4487
4645
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4488
4646
  className: Market_module_css_default.collapseTitle,
@@ -4673,7 +4831,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
4673
4831
  className: Market_module_css_default.loading,
4674
4832
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
4675
4833
  className: Market_module_css_default.spin,
4676
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLoadingOutline16, { size: 22 })
4834
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLoadingOutline16, { size: 22 })
4677
4835
  }), t("checkLoading")]
4678
4836
  });
4679
4837
  const summary = report.summary;
@@ -4844,7 +5002,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
4844
5002
  size: "sm",
4845
5003
  "aria-label": t("checkRefresh"),
4846
5004
  onClick: refresh,
4847
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconRefreshOutline14, { size: 14 })
5005
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconRefreshOutline14, { size: 14 })
4848
5006
  }),
4849
5007
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
4850
5008
  className: Market_module_css_default.diagSummaryMeta,
@@ -5667,7 +5825,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
5667
5825
  const remaining = findings.length - preview.length;
5668
5826
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
5669
5827
  className: Market_module_css_default.banner,
5670
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, {
5828
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
5671
5829
  size: 14,
5672
5830
  className: Market_module_css_default.bannerIcon
5673
5831
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
@@ -5862,7 +6020,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
5862
6020
  anchor: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
5863
6021
  variant: "outline",
5864
6022
  size: "sm",
5865
- icon: open ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 14 }),
6023
+ icon: open ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronUpOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 14 }),
5866
6024
  onClick: () => setOpen((o) => !o),
5867
6025
  children: t("filter")
5868
6026
  }),
@@ -5892,7 +6050,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
5892
6050
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
5893
6051
  variant: "outline",
5894
6052
  size: "sm",
5895
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronLeftOutline14, { size: 14 }),
6053
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronLeftOutline14, { size: 14 }),
5896
6054
  disabled: currentPage === 1,
5897
6055
  onClick: () => onGoToPage(currentPage - 1),
5898
6056
  children: t("prevPage")
@@ -5911,7 +6069,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
5911
6069
  size: "sm",
5912
6070
  disabled: currentPage === totalPages,
5913
6071
  onClick: () => onGoToPage(currentPage + 1),
5914
- children: [t("nextPage"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronRightOutline14, { size: 14 })]
6072
+ children: [t("nextPage"), /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronRightOutline14, { size: 14 })]
5915
6073
  })
5916
6074
  ] })
5917
6075
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
@@ -5932,7 +6090,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
5932
6090
  anchor: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
5933
6091
  variant: "outline",
5934
6092
  size: "sm",
5935
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 14 }),
6093
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 14 }),
5936
6094
  onClick: () => setSizeOpen((o) => !o),
5937
6095
  children: t("perPage") + " " + pageSize
5938
6096
  }),
@@ -6347,8 +6505,8 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
6347
6505
  disabled: true,
6348
6506
  children: [fallback.loading ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6349
6507
  className: Market_module_css_default.spin,
6350
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLoadingOutline16, { size: 20 })
6351
- }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSparkle16, { size: 20 }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: fallback.loading ? t("themePreviewLoading") : t("themePreviewMissing") })]
6508
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLoadingOutline16, { size: 20 })
6509
+ }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconSparkle16, { size: 20 }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: fallback.loading ? t("themePreviewLoading") : t("themePreviewMissing") })]
6352
6510
  });
6353
6511
  const src = visible[0];
6354
6512
  return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
@@ -6369,7 +6527,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
6369
6527
  }),
6370
6528
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
6371
6529
  className: Market_module_css_default.themePreviewAction,
6372
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSearchOutline16, { size: 14 }), t("themePreview")]
6530
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconSearchOutline16, { size: 14 }), t("themePreview")]
6373
6531
  }),
6374
6532
  visible.length > 1 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
6375
6533
  className: Market_module_css_default.themePreviewCount,
@@ -6453,7 +6611,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
6453
6611
  className: Market_module_css_default.descToggle,
6454
6612
  "aria-label": expanded ? t("descCollapse") : t("descExpand"),
6455
6613
  onClick: () => setExpanded((e) => !e),
6456
- children: expanded ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 14 })
6614
+ children: expanded ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronUpOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 14 })
6457
6615
  })] });
6458
6616
  }
6459
6617
  /**
@@ -6506,7 +6664,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
6506
6664
  e.stopPropagation();
6507
6665
  setIndex(index - 1);
6508
6666
  },
6509
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronLeftOutline14, { size: 18 })
6667
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronLeftOutline14, { size: 18 })
6510
6668
  }),
6511
6669
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
6512
6670
  className: `${Market_module_css_default.lightboxNav} ${Market_module_css_default.lightboxNext}`,
@@ -6515,7 +6673,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
6515
6673
  e.stopPropagation();
6516
6674
  setIndex(index + 1);
6517
6675
  },
6518
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronRightOutline14, { size: 18 })
6676
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronRightOutline14, { size: 18 })
6519
6677
  }),
6520
6678
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
6521
6679
  className: Market_module_css_default.lightboxDots,
@@ -8990,7 +9148,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
8990
9148
  type: "button",
8991
9149
  className: Market_module_css_default.cardBlockedMark,
8992
9150
  onClick: openOperations,
8993
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, { size: 13 }), t("opBlockedCard")]
9151
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 13 }), t("opBlockedCard")]
8994
9152
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
8995
9153
  variant: "primary",
8996
9154
  size: "sm",
@@ -9051,7 +9209,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9051
9209
  children: [
9052
9210
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9053
9211
  className: Market_module_css_default.spin,
9054
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLoadingOutline16, { size: 14 })
9212
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLoadingOutline16, { size: 14 })
9055
9213
  }),
9056
9214
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("code", {
9057
9215
  className: Market_module_css_default.grow,
@@ -9206,7 +9364,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9206
9364
  type: "button",
9207
9365
  className: Market_module_css_default.cardBlockedMark,
9208
9366
  onClick: openOperations,
9209
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, { size: 13 }), t("opBlockedCard")]
9367
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 13 }), t("opBlockedCard")]
9210
9368
  }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
9211
9369
  variant: "primary",
9212
9370
  size: "sm",
@@ -9244,7 +9402,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9244
9402
  children: [
9245
9403
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9246
9404
  className: Market_module_css_default.spin,
9247
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLoadingOutline16, { size: 14 })
9405
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLoadingOutline16, { size: 14 })
9248
9406
  }),
9249
9407
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("code", {
9250
9408
  className: Market_module_css_default.grow,
@@ -9525,7 +9683,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9525
9683
  variant: "outline",
9526
9684
  size: "sm",
9527
9685
  className: Market_module_css_default.exportLogBtn,
9528
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconDownloadOutline16, { size: 14 }),
9686
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconDownloadOutline16, { size: 14 }),
9529
9687
  disabled: exportState === "busy",
9530
9688
  onClick: doExportLog,
9531
9689
  children: exportState === "busy" ? t("exportingLog") : t("exportLog")
@@ -9616,7 +9774,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9616
9774
  !envReady && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9617
9775
  className: Market_module_css_default.banner,
9618
9776
  children: [
9619
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCordisPluginOutline14, {
9777
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconCordisPluginOutline14, {
9620
9778
  size: 14,
9621
9779
  className: Market_module_css_default.bannerIcon
9622
9780
  }),
@@ -9639,7 +9797,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9639
9797
  }),
9640
9798
  restoreErrors.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9641
9799
  className: Market_module_css_default.banner,
9642
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, {
9800
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
9643
9801
  size: 14,
9644
9802
  className: Market_module_css_default.bannerIcon
9645
9803
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
@@ -9653,7 +9811,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9653
9811
  tab === "installed" && pendingBackup !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9654
9812
  className: Market_module_css_default.banner,
9655
9813
  children: [
9656
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconRefreshOutline14, {
9814
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconRefreshOutline14, {
9657
9815
  size: 14,
9658
9816
  className: Market_module_css_default.bannerIcon
9659
9817
  }),
@@ -9673,7 +9831,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9673
9831
  pendingRefreshNames.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9674
9832
  className: Market_module_css_default.banner,
9675
9833
  children: [
9676
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconSparkle16, {
9834
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconSparkle16, {
9677
9835
  size: 14,
9678
9836
  className: Market_module_css_default.bannerIcon
9679
9837
  }),
@@ -9700,7 +9858,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9700
9858
  pendingRestart > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9701
9859
  className: Market_module_css_default.banner,
9702
9860
  children: [
9703
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconRefreshOutline14, {
9861
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconRefreshOutline14, {
9704
9862
  size: 14,
9705
9863
  className: Market_module_css_default.bannerIcon
9706
9864
  }),
@@ -9717,7 +9875,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9717
9875
  side: "bottom",
9718
9876
  children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
9719
9877
  className: Market_module_css_default.bannerHint,
9720
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconQuestionOutline14, { size: 14 })
9878
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconQuestionOutline14, { size: 14 })
9721
9879
  })
9722
9880
  }),
9723
9881
  restartEnabled && debuggerLatch === null && recovery === null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
@@ -9743,7 +9901,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9743
9901
  }),
9744
9902
  activationWarnings.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9745
9903
  className: Market_module_css_default.banner,
9746
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, {
9904
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
9747
9905
  size: 14,
9748
9906
  className: Market_module_css_default.bannerIcon
9749
9907
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
@@ -9772,7 +9930,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9772
9930
  buildsSkipped !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
9773
9931
  className: Market_module_css_default.banner,
9774
9932
  children: [
9775
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, {
9933
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
9776
9934
  size: 14,
9777
9935
  className: Market_module_css_default.bannerIcon
9778
9936
  }),
@@ -9859,7 +10017,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9859
10017
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
9860
10018
  size: "sm",
9861
10019
  variant: "outline",
9862
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconDownloadOutline16, { size: 14 }),
10020
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconDownloadOutline16, { size: 14 }),
9863
10021
  disabled: exportState === "busy",
9864
10022
  onClick: doExportLog,
9865
10023
  children: exportState === "busy" ? t("exportingLog") : t("exportLog")
@@ -9892,7 +10050,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9892
10050
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
9893
10051
  variant: "primary",
9894
10052
  size: "sm",
9895
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconDownloadOutline16, { size: 14 }),
10053
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconDownloadOutline16, { size: 14 }),
9896
10054
  disabled: backupBusy,
9897
10055
  onClick: () => downloadFile(api("/dsh-market/backup"), "dsh-profile-backup.json"),
9898
10056
  children: backupBusy ? t("backupWorking") : t("backupDownload")
@@ -9900,7 +10058,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9900
10058
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
9901
10059
  variant: "outline",
9902
10060
  size: "sm",
9903
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconFolderOpen16, { size: 14 }),
10061
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconFolderOpen16, { size: 14 }),
9904
10062
  disabled: backupBusy,
9905
10063
  onClick: () => fileInputRef.current?.click(),
9906
10064
  children: backupBusy ? t("backupWorking") : t("backupImport")
@@ -9942,7 +10100,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9942
10100
  anchor: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Button, {
9943
10101
  variant: "outline",
9944
10102
  size: "sm",
9945
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 14 }),
10103
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 14 }),
9946
10104
  onClick: () => setPresetOpen((o) => !o),
9947
10105
  children: t("webdavPreset")
9948
10106
  }),
@@ -9967,7 +10125,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
9967
10125
  }),
9968
10126
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
9969
10127
  className: Market_module_css_default.backupInput,
9970
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLinkOutline14, { size: 14 }),
10128
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLinkOutline14, { size: 14 }),
9971
10129
  type: "url",
9972
10130
  value: webdavUrl,
9973
10131
  placeholder: t("webdavUrl"),
@@ -10033,7 +10191,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
10033
10191
  }),
10034
10192
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Input, {
10035
10193
  className: Market_module_css_default.backupInput,
10036
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLinkOutline14, { size: 14 }),
10194
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLinkOutline14, { size: 14 }),
10037
10195
  value: gistId,
10038
10196
  placeholder: t("gistId"),
10039
10197
  onChange: (e) => setGistId(e.target.value)
@@ -10174,7 +10332,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
10174
10332
  variant: "ghost",
10175
10333
  size: "sm",
10176
10334
  className: Market_module_css_default.catsToggle,
10177
- icon: catsExpanded ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 14 }),
10335
+ icon: catsExpanded ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronUpOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 14 }),
10178
10336
  "aria-label": catsExpanded ? t("catsLess") : t("catsMore"),
10179
10337
  onClick: () => {
10180
10338
  const next = !catsExpanded;
@@ -10338,7 +10496,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
10338
10496
  variant: "outline",
10339
10497
  size: "sm",
10340
10498
  className: Market_module_css_default.themeFullscreenBtn,
10341
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconFullscreenOutline16, { size: 16 }),
10499
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconFullscreenOutline16, { size: 16 }),
10342
10500
  "aria-label": themesFullscreen ? t("themeExitFullscreen") : t("themeFullscreen"),
10343
10501
  "aria-pressed": themesFullscreen,
10344
10502
  onClick: () => setThemesFullscreen((value) => !value)
@@ -10473,7 +10631,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
10473
10631
  "aria-expanded": !collapsed,
10474
10632
  "aria-label": (collapsed ? t("groupExpand") : t("groupFold")).replace("{0}", gid),
10475
10633
  onClick: () => toggleCollapsedGroup(gid),
10476
- children: collapsed ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronRightOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 14 })
10634
+ children: collapsed ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronRightOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 14 })
10477
10635
  }),
10478
10636
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
10479
10637
  type: "button",
@@ -10688,7 +10846,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
10688
10846
  variant: "outline",
10689
10847
  size: "sm",
10690
10848
  disabled: groupOrder.length === 0,
10691
- icon: assignFor === name ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 14 }),
10849
+ icon: assignFor === name ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronUpOutline14, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronDownOutline14, { size: 14 }),
10692
10850
  onClick: () => setAssignFor((open) => open === name ? null : name),
10693
10851
  children: t("groupAssign")
10694
10852
  }),
@@ -10885,7 +11043,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
10885
11043
  size: 7
10886
11044
  }), meta.label]
10887
11045
  }), act.state !== "live" && act.reasons.length > 0 && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.DisclosureRow, {
10888
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconQuestionOutline14, { size: 14 }),
11046
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconQuestionOutline14, { size: 14 }),
10889
11047
  title: t("actWhy"),
10890
11048
  open: whyOpen === name,
10891
11049
  expandable: true,
@@ -10914,7 +11072,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
10914
11072
  children: [
10915
11073
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
10916
11074
  className: Market_module_css_default.spin,
10917
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconLoadingOutline16, { size: 14 })
11075
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconLoadingOutline16, { size: 14 })
10918
11076
  }),
10919
11077
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("code", {
10920
11078
  className: Market_module_css_default.grow,
@@ -11070,7 +11228,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
11070
11228
  behavior: "smooth"
11071
11229
  });
11072
11230
  },
11073
- children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconChevronUpOutline14, { size: 16 })
11231
+ children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconChevronUpOutline14, { size: 16 })
11074
11232
  })
11075
11233
  })
11076
11234
  }),
@@ -11315,7 +11473,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
11315
11473
  onOpen: openLightbox
11316
11474
  }),
11317
11475
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.DisclosureRow, {
11318
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCodeOutline16, { size: 16 }),
11476
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconCodeOutline16, { size: 16 }),
11319
11477
  title: t("cmdDetails"),
11320
11478
  open: cmdOpen,
11321
11479
  expandable: true,
@@ -11329,7 +11487,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
11329
11487
  looksTerminal(confirming, lang) && /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
11330
11488
  className: Market_module_css_default.warnLine,
11331
11489
  children: [
11332
- /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, {
11490
+ /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
11333
11491
  size: 14,
11334
11492
  className: Market_module_css_default.bannerIcon
11335
11493
  }),
@@ -11361,7 +11519,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
11361
11519
  })(),
11362
11520
  /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
11363
11521
  className: Market_module_css_default.modalNote,
11364
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, {
11522
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, {
11365
11523
  size: 14,
11366
11524
  className: Market_module_css_default.bannerIcon
11367
11525
  }), " " + t("confirmWarn")]
@@ -11437,7 +11595,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
11437
11595
  ]
11438
11596
  }), /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("p", {
11439
11597
  className: Market_module_css_default.migrationWarning,
11440
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, { size: 14 }), t("migrateWarning")]
11598
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 14 }), t("migrateWarning")]
11441
11599
  })]
11442
11600
  }),
11443
11601
  removeConfirm !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Modal, {
@@ -11724,22 +11882,22 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
11724
11882
  }),
11725
11883
  exportState === "done" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
11726
11884
  text: t("exportedLog"),
11727
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCheckOutline16, { size: 14 }),
11885
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconCheckOutline16, { size: 14 }),
11728
11886
  onDone: exportToastDone
11729
11887
  }),
11730
11888
  exportState === "fail" && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
11731
11889
  text: t("exportLogFail"),
11732
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, { size: 14 }),
11890
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 14 }),
11733
11891
  onDone: exportToastDone
11734
11892
  }),
11735
11893
  favoriteError !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
11736
11894
  text: localizeBilingual(favoriteError, lang),
11737
- icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, { size: 14 }),
11895
+ icon: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 14 }),
11738
11896
  onDone: favoriteErrorDone
11739
11897
  }),
11740
11898
  toggled !== null && /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.Toast, {
11741
11899
  text: toggled.name + " " + t(toggled.enabled ? "toastToggledOn" : "toastToggledOff"),
11742
- icon: toggled.enabled ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconCheckOutline16, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(_deepseek_ai_dsh_client_ui_primitives.IconWarningOutline16, { size: 14 }),
11900
+ icon: toggled.enabled ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconCheckOutline16, { size: 14 }) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)(IconWarningOutline16, { size: 14 }),
11743
11901
  onDone: toggledDone
11744
11902
  })
11745
11903
  ]
@@ -12257,7 +12415,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
12257
12415
  size: "sm",
12258
12416
  className: Market_module_css_default.setDanger,
12259
12417
  disabled: busy,
12260
- icon: busy ? (0, react.createElement)("span", { className: Market_module_css_default.spin }, (0, react.createElement)(_deepseek_ai_dsh_client_ui_primitives.IconLoadingOutline16, { size: 16 })) : void 0,
12418
+ icon: busy ? (0, react.createElement)("span", { className: Market_module_css_default.spin }, (0, react.createElement)(IconLoadingOutline16, { size: 16 })) : void 0,
12261
12419
  onClick: onRemove
12262
12420
  }, busy ? t("setSelfWorking") : t("setSelfRemoveConfirm")))) : null, error !== null ? (0, react.createElement)("div", { className: Market_module_css_default.err }, error) : null, stale ? (0, react.createElement)("div", { className: Market_module_css_default.setActions }, (0, react.createElement)(_deepseek_ai_dsh_client_ui_primitives.Button, {
12263
12421
  variant: "primary",
@@ -12271,7 +12429,7 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
12271
12429
  onClick: () => {
12272
12430
  setOpen(!open);
12273
12431
  }
12274
- }, (0, react.createElement)("div", { className: Market_module_css_default.setHeadText }, (0, react.createElement)("div", { className: Market_module_css_default.setName }, t("nav"), version !== null ? (0, react.createElement)("span", { className: Market_module_css_default.version }, ` v${version}`) : null, prerelease ? (0, react.createElement)("span", { className: Market_module_css_default.setBetaTag }, t("setChannelBeta")) : null), (0, react.createElement)("div", { className: Market_module_css_default.setDesc }, t("setCardDesc"))), (0, react.createElement)("span", { className: open ? `${Market_module_css_default.setChevron} ${Market_module_css_default.setChevronOpen}` : Market_module_css_default.setChevron }, (0, react.createElement)(_deepseek_ai_dsh_client_ui_primitives.IconChevronDownOutline14, { size: 14 }))), open ? (0, react.createElement)("div", { className: Market_module_css_default.setBody }, body) : null);
12432
+ }, (0, react.createElement)("div", { className: Market_module_css_default.setHeadText }, (0, react.createElement)("div", { className: Market_module_css_default.setName }, t("nav"), version !== null ? (0, react.createElement)("span", { className: Market_module_css_default.version }, ` v${version}`) : null, prerelease ? (0, react.createElement)("span", { className: Market_module_css_default.setBetaTag }, t("setChannelBeta")) : null), (0, react.createElement)("div", { className: Market_module_css_default.setDesc }, t("setCardDesc"))), (0, react.createElement)("span", { className: open ? `${Market_module_css_default.setChevron} ${Market_module_css_default.setChevronOpen}` : Market_module_css_default.setChevron }, (0, react.createElement)(IconChevronDownOutline14, { size: 14 }))), open ? (0, react.createElement)("div", { className: Market_module_css_default.setBody }, body) : null);
12275
12433
  }
12276
12434
  //#endregion
12277
12435
  //#region src/client/settings-nav-icon.ts
@@ -12441,11 +12599,14 @@ window.__ModuleLoader__.load({ id: "dshmarket", factory: (require) => {
12441
12599
  "theme"
12442
12600
  ];
12443
12601
  function apply(ctx) {
12444
- const gaps = missingPrimitives(_deepseek_ai_dsh_client_ui_primitives);
12602
+ const mod = _deepseek_ai_dsh_client_ui_primitives;
12603
+ const gaps = missingPrimitives(mod);
12445
12604
  if (gaps.length > 0) {
12446
12605
  console.warn("[dsh-market] host ui-primitives missing " + gaps.join(", ") + " — market section disabled (dsh web >= 0.1.0-rc.6 required)");
12447
12606
  return;
12448
12607
  }
12608
+ const iconGaps = missingIcons(mod);
12609
+ if (iconGaps.length > 0) console.warn("[dsh-market] host ui-primitives missing icons " + iconGaps.join(", ") + " — rendering without them");
12449
12610
  ctx.effect(() => ctx.locale.register(NS, {
12450
12611
  zh,
12451
12612
  en