dsh-audiogen 0.4.23 → 0.4.24

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/lib/client.js CHANGED
@@ -7,7 +7,7 @@ window.__ModuleLoader__.load({
7
7
  let react_dom_client = require("react-dom/client");
8
8
  let react = require("react");
9
9
  let react_jsx_runtime = require("react/jsx-runtime");
10
- let _deepseek_ai_dsh_client_runtime_client = require("@deepseek-ai/dsh-client-runtime/client");
10
+ let _deepseek_ai_dsh_client_store = require("@deepseek-ai/dsh-client-store");
11
11
  //#region src/protocol.ts
12
12
  /** Same-origin route family (loopback-only, mirroring dsh-imagegen). */
13
13
  const SETTINGS_API = {
@@ -730,7 +730,7 @@ window.__ModuleLoader__.load({
730
730
  constructor(api, spec) {
731
731
  this.api = api;
732
732
  this.spec = spec;
733
- this.store = (0, _deepseek_ai_dsh_client_runtime_client.createSnapshotStore)({
733
+ this.store = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)({
734
734
  status: "loading",
735
735
  value: void 0,
736
736
  base: void 0,
@@ -739,8 +739,8 @@ window.__ModuleLoader__.load({
739
739
  writable: false,
740
740
  mode: "host"
741
741
  });
742
- this.keySet = (0, _deepseek_ai_dsh_client_runtime_client.createSnapshotStore)(false);
743
- this.secretSets = (0, _deepseek_ai_dsh_client_runtime_client.createSnapshotStore)({});
742
+ this.keySet = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(false);
743
+ this.secretSets = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)({});
744
744
  }
745
745
  getSnapshot() {
746
746
  return this.store.getSnapshot();
@@ -781,6 +781,10 @@ window.__ModuleLoader__.load({
781
781
  path: [field]
782
782
  }]));
783
783
  }
784
+ /** Official SettingsScope mutation entry: several path ops in one revision-fenced mutate call. */
785
+ mutate(ops, expectedRevision) {
786
+ return this.enqueue(() => this.writeOps(ops, expectedRevision));
787
+ }
784
788
  /** Apply several path ops in one revision-fenced mutate call (atomic save).
785
789
  * Path ops may address plain-object fields (e.g. `channelSecrets.<id>`),
786
790
  * but never navigate *inside* arrays — write array fields wholesale. */
@@ -829,13 +833,13 @@ window.__ModuleLoader__.load({
829
833
  }
830
834
  this.accept(view, writable);
831
835
  }
832
- async writeOps(ops) {
833
- const revision = this.getSnapshot().revision;
836
+ async writeOps(ops, expectedRevision) {
837
+ const revision = expectedRevision ?? this.getSnapshot().revision;
834
838
  let response;
835
839
  try {
836
840
  response = await this.api.mutate({
837
841
  ns: this.spec.namespace,
838
- ops,
842
+ ops: [...ops],
839
843
  ...revision === void 0 ? {} : { expectedRevision: revision }
840
844
  });
841
845
  } catch {
@@ -941,6 +945,8 @@ window.__ModuleLoader__.load({
941
945
  const SFX_KEYS = [
942
946
  "duration",
943
947
  "format",
948
+ "sampleRate",
949
+ "bitrate",
944
950
  "loop",
945
951
  "promptInfluence",
946
952
  "seed",
@@ -954,7 +960,7 @@ window.__ModuleLoader__.load({
954
960
  case "lyrics":
955
961
  case "instrumental": return p === PRESET_MINIMAX || p === PRESET_ELEVENLABS;
956
962
  case "sampleRate":
957
- case "bitrate":
963
+ case "bitrate": return p === PRESET_MINIMAX || mode === "sfx" && p === PRESET_ELEVENLABS;
958
964
  case "audioChannel": return p === PRESET_MINIMAX;
959
965
  case "emotion":
960
966
  case "vol":
@@ -1132,6 +1138,55 @@ window.__ModuleLoader__.load({
1132
1138
  ...presets === void 0 ? {} : { presets }
1133
1139
  };
1134
1140
  }
1141
+ /** 各 preset 支持的音效输出编码(ElevenLabs 为 output_format 的 codec;Stability 为 mp3/wav)。 */
1142
+ const SFX_FORMATS = {
1143
+ [PRESET_ELEVENLABS]: [
1144
+ "mp3",
1145
+ "pcm",
1146
+ "ulaw",
1147
+ "alaw",
1148
+ "opus"
1149
+ ],
1150
+ [PRESET_STABILITY]: ["mp3", "wav"]
1151
+ };
1152
+ /** ElevenLabs 音效 output_format 的采样率(Hz)与码率(kbps)枚举。 */
1153
+ const ELEVENLABS_SFX_SAMPLE_RATES = [
1154
+ "8000",
1155
+ "16000",
1156
+ "22050",
1157
+ "24000",
1158
+ "32000",
1159
+ "44100",
1160
+ "48000"
1161
+ ];
1162
+ const ELEVENLABS_SFX_BITRATES = [
1163
+ "32",
1164
+ "48",
1165
+ "64",
1166
+ "96",
1167
+ "128",
1168
+ "192"
1169
+ ];
1170
+ /** 按(字段 × 渠道 preset × 模式)给出该字段的选项;未知组合返回 undefined(调用方回退全局选项)。
1171
+ * 全局字段与「每模型覆盖」矩阵共用同一份枚举,避免两处选项不一致。 */
1172
+ function fieldOptionsFor(key, preset, mode) {
1173
+ const p = preset.toLowerCase();
1174
+ if (key === "format") {
1175
+ if (mode === "sfx") return SFX_FORMATS[p] ?? [
1176
+ "mp3",
1177
+ "wav",
1178
+ "pcm"
1179
+ ];
1180
+ if (mode === "music") return MUSIC_FORMATS[p] ?? [
1181
+ "mp3",
1182
+ "wav",
1183
+ "pcm"
1184
+ ];
1185
+ return;
1186
+ }
1187
+ if (key === "sampleRate") return p === PRESET_ELEVENLABS ? ELEVENLABS_SFX_SAMPLE_RATES : p === PRESET_MINIMAX ? SPECS.sampleRate.options : void 0;
1188
+ if (key === "bitrate") return p === PRESET_ELEVENLABS ? ELEVENLABS_SFX_BITRATES : p === PRESET_MINIMAX ? SPECS.bitrate.options : void 0;
1189
+ }
1135
1190
  /** 当前模式 + 所选模型集合(渠道集合)对应的「全局字段」清单。 */
1136
1191
  function globalFieldSpecs(mode, presets) {
1137
1192
  if (mode === "voice_recommend") return [];
@@ -1178,16 +1233,31 @@ window.__ModuleLoader__.load({
1178
1233
  if (all("bitrate", MUSIC_KEYS) && presets.length > 0) list.push(specOf("bitrate"));
1179
1234
  } else if (mode === "sfx") {
1180
1235
  list.push(specOf("duration"));
1236
+ const supported = presets.length === 0 ? [[
1237
+ "mp3",
1238
+ "wav",
1239
+ "pcm"
1240
+ ]] : presets.map((preset) => SFX_FORMATS[preset.toLowerCase()] ?? ["mp3", "wav"]);
1241
+ const intersect = supported.reduce((acc, cur) => acc.filter((item) => cur.includes(item)), supported[0] ?? ["mp3"]);
1181
1242
  list.push({
1182
1243
  ...specOf("format"),
1183
- options: [
1184
- "mp3",
1185
- "wav",
1186
- "pcm"
1187
- ]
1244
+ options: intersect.length > 0 ? intersect : ["mp3"]
1188
1245
  });
1189
1246
  if (all("loop", SFX_KEYS) && presets.length > 0) list.push(specOf("loop"));
1190
1247
  if (all("promptInfluence", SFX_KEYS) && presets.length > 0) list.push(specOf("promptInfluence"));
1248
+ if (all("sampleRate", SFX_KEYS) && presets.length > 0) list.push({
1249
+ ...specOf("sampleRate"),
1250
+ options: presets.flatMap((preset) => fieldOptionsFor("sampleRate", preset, mode) ?? []),
1251
+ placeholder: "默认(44100)",
1252
+ hint: "ElevenLabs 音效采样率(Hz):与格式/码率组合为 output_format(如 mp3_22050_32);pcm/ulaw/alaw 不带码率"
1253
+ });
1254
+ if (all("bitrate", SFX_KEYS) && presets.length > 0) list.push({
1255
+ ...specOf("bitrate"),
1256
+ label: "码率(kbps)",
1257
+ options: presets.flatMap((preset) => fieldOptionsFor("bitrate", preset, mode) ?? []),
1258
+ placeholder: "默认(128)",
1259
+ hint: "ElevenLabs 音效码率(kbps,注意非 bps):与格式/采样率组合为 output_format;192 需 Creator 及以上订阅"
1260
+ });
1191
1261
  if (all("seed", SFX_KEYS) && presets.length > 0) list.push(specOf("seed"), specOf("steps"), specOf("cfgScale"));
1192
1262
  }
1193
1263
  return list;
@@ -1211,8 +1281,8 @@ window.__ModuleLoader__.load({
1211
1281
  ["speed", [PRESET_MINIMAX, PRESET_ELEVENLABS]],
1212
1282
  ["lyrics", [PRESET_MINIMAX, PRESET_ELEVENLABS]],
1213
1283
  ["instrumental", [PRESET_MINIMAX, PRESET_ELEVENLABS]],
1214
- ["sampleRate", [PRESET_MINIMAX]],
1215
- ["bitrate", [PRESET_MINIMAX]],
1284
+ ["sampleRate", mode === "sfx" ? [PRESET_ELEVENLABS] : [PRESET_MINIMAX]],
1285
+ ["bitrate", mode === "sfx" ? [PRESET_ELEVENLABS] : [PRESET_MINIMAX]],
1216
1286
  ["audioChannel", [PRESET_MINIMAX]],
1217
1287
  ["emotion", [PRESET_MINIMAX]],
1218
1288
  ["vol", [PRESET_MINIMAX]],
@@ -1254,124 +1324,124 @@ window.__ModuleLoader__.load({
1254
1324
  document.head.appendChild(tag);
1255
1325
  }
1256
1326
  var audio_panel_module_css_default = {
1257
- "historyCompareSummary": "Oo1fpq_historyCompareSummary",
1258
- "time": "Oo1fpq_time",
1327
+ "overrideCell": "Oo1fpq_overrideCell",
1328
+ "historyActions": "Oo1fpq_historyActions",
1329
+ "compareModelName": "Oo1fpq_compareModelName",
1330
+ "track": "Oo1fpq_track",
1331
+ "muteButton": "Oo1fpq_muteButton",
1332
+ "resultEmptyIcon": "Oo1fpq_resultEmptyIcon",
1333
+ "resultGroupChip": "Oo1fpq_resultGroupChip",
1334
+ "historyList": "Oo1fpq_historyList",
1335
+ "playerCompact": "Oo1fpq_playerCompact",
1259
1336
  "historyTabs": "Oo1fpq_historyTabs",
1337
+ "checkbox": "Oo1fpq_checkbox",
1338
+ "historyCompareSummary": "Oo1fpq_historyCompareSummary",
1339
+ "historyHeader": "Oo1fpq_historyHeader",
1340
+ "audioCardActions": "Oo1fpq_audioCardActions",
1341
+ "resultGroupError": "Oo1fpq_resultGroupError",
1342
+ "ghostButton": "Oo1fpq_ghostButton",
1343
+ "overrideTable": "Oo1fpq_overrideTable",
1344
+ "label": "Oo1fpq_label",
1260
1345
  "resultEmptyHint": "Oo1fpq_resultEmptyHint",
1261
- "modelCheckList": "Oo1fpq_modelCheckList",
1262
- "formCol": "Oo1fpq_formCol",
1346
+ "advanced": "Oo1fpq_advanced",
1263
1347
  "trackFill": "Oo1fpq_trackFill",
1264
- "overrideDash": "Oo1fpq_overrideDash",
1265
- "taskCard": "Oo1fpq_taskCard",
1348
+ "taskStatus": "Oo1fpq_taskStatus",
1349
+ "recDescription": "Oo1fpq_recDescription",
1350
+ "compareBox": "Oo1fpq_compareBox",
1351
+ "radioGroup": "Oo1fpq_radioGroup",
1352
+ "title": "Oo1fpq_title",
1353
+ "audioList": "Oo1fpq_audioList",
1354
+ "resultGroupCount": "Oo1fpq_resultGroupCount",
1355
+ "compareChips": "Oo1fpq_compareChips",
1356
+ "resultModeChip": "Oo1fpq_resultModeChip",
1357
+ "recVoiceName": "Oo1fpq_recVoiceName",
1358
+ "hint": "Oo1fpq_hint",
1359
+ "generate": "Oo1fpq_generate",
1360
+ "panel": "Oo1fpq_panel",
1361
+ "formCol": "Oo1fpq_formCol",
1362
+ "historyAction": "Oo1fpq_historyAction",
1363
+ "historyIcon": "Oo1fpq_historyIcon",
1364
+ "modelCheckList": "Oo1fpq_modelCheckList",
1266
1365
  "historyCompareBadge": "Oo1fpq_historyCompareBadge",
1267
- "overrideTable": "Oo1fpq_overrideTable",
1268
1366
  "taskBar": "Oo1fpq_taskBar",
1269
- "formSection": "Oo1fpq_formSection",
1270
- "voiceIdChip": "Oo1fpq_voiceIdChip",
1271
- "ghostButton": "Oo1fpq_ghostButton",
1272
- "historyEmpty": "Oo1fpq_historyEmpty",
1273
- "compareModelName": "Oo1fpq_compareModelName",
1367
+ "tab": "Oo1fpq_tab",
1274
1368
  "historyPrompt": "Oo1fpq_historyPrompt",
1275
- "recDescription": "Oo1fpq_recDescription",
1276
- "historyList": "Oo1fpq_historyList",
1277
- "row": "Oo1fpq_row",
1278
- "modalBody": "Oo1fpq_modalBody",
1279
- "enhanceCardHead": "Oo1fpq_enhanceCardHead",
1280
- "taskHead": "Oo1fpq_taskHead",
1281
- "modalMask": "Oo1fpq_modalMask",
1282
- "audioCardIndex": "Oo1fpq_audioCardIndex",
1283
- "resultGroupCount": "Oo1fpq_resultGroupCount",
1284
- "compareGroup": "Oo1fpq_compareGroup",
1285
- "historyItem": "Oo1fpq_historyItem",
1286
- "taskStatus": "Oo1fpq_taskStatus",
1287
- "taskActions": "Oo1fpq_taskActions",
1288
- "overrideCellHead": "Oo1fpq_overrideCellHead",
1289
- "trackKnob": "Oo1fpq_trackKnob",
1290
- "advanced": "Oo1fpq_advanced",
1369
+ "fieldFull": "Oo1fpq_fieldFull",
1370
+ "overrideRow": "Oo1fpq_overrideRow",
1371
+ "recRank": "Oo1fpq_recRank",
1372
+ "fieldCell": "Oo1fpq_fieldCell",
1291
1373
  "resultEmpty": "Oo1fpq_resultEmpty",
1292
- "compareChip": "Oo1fpq_compareChip",
1293
1374
  "historyTabCount": "Oo1fpq_historyTabCount",
1294
- "historyTab": "Oo1fpq_historyTab",
1295
- "secondaryButton": "Oo1fpq_secondaryButton",
1375
+ "recVoiceHead": "Oo1fpq_recVoiceHead",
1296
1376
  "savedChip": "Oo1fpq_savedChip",
1297
- "header": "Oo1fpq_header",
1298
- "audiogenToastIn": "Oo1fpq_audiogenToastIn",
1299
- "formSectionRow": "Oo1fpq_formSectionRow",
1300
- "recVoiceName": "Oo1fpq_recVoiceName",
1301
- "hint": "Oo1fpq_hint",
1302
- "historyActions": "Oo1fpq_historyActions",
1303
- "modalFoot": "Oo1fpq_modalFoot",
1304
- "resultGroupError": "Oo1fpq_resultGroupError",
1305
- "recVoiceBody": "Oo1fpq_recVoiceBody",
1306
- "audioList": "Oo1fpq_audioList",
1307
- "overrideOnly": "Oo1fpq_overrideOnly",
1308
- "playButton": "Oo1fpq_playButton",
1377
+ "historyEmpty": "Oo1fpq_historyEmpty",
1378
+ "historyMeta": "Oo1fpq_historyMeta",
1379
+ "recVoiceRow": "Oo1fpq_recVoiceRow",
1380
+ "compareGroup": "Oo1fpq_compareGroup",
1381
+ "compareChip": "Oo1fpq_compareChip",
1382
+ "modeButton": "Oo1fpq_modeButton",
1383
+ "compareGroupHead": "Oo1fpq_compareGroupHead",
1384
+ "modalHead": "Oo1fpq_modalHead",
1385
+ "modal": "Oo1fpq_modal",
1386
+ "modeIcon": "Oo1fpq_modeIcon",
1387
+ "primaryButton": "Oo1fpq_primaryButton",
1388
+ "radioOption": "Oo1fpq_radioOption",
1389
+ "historyItem": "Oo1fpq_historyItem",
1309
1390
  "historyTitle": "Oo1fpq_historyTitle",
1310
- "generate": "Oo1fpq_generate",
1311
- "track": "Oo1fpq_track",
1312
- "toast": "Oo1fpq_toast",
1391
+ "enhanceCard": "Oo1fpq_enhanceCard",
1392
+ "historyTab": "Oo1fpq_historyTab",
1313
1393
  "taskList": "Oo1fpq_taskList",
1314
- "recReason": "Oo1fpq_recReason",
1315
- "compareBox": "Oo1fpq_compareBox",
1316
- "historyHeader": "Oo1fpq_historyHeader",
1317
- "overrideRow": "Oo1fpq_overrideRow",
1318
- "compareGroupHead": "Oo1fpq_compareGroupHead",
1394
+ "historyClear": "Oo1fpq_historyClear",
1395
+ "trackKnob": "Oo1fpq_trackKnob",
1396
+ "studio": "Oo1fpq_studio",
1397
+ "resultCol": "Oo1fpq_resultCol",
1398
+ "compareState": "Oo1fpq_compareState",
1399
+ "modalFoot": "Oo1fpq_modalFoot",
1400
+ "modeRow": "Oo1fpq_modeRow",
1319
1401
  "formFields": "Oo1fpq_formFields",
1320
- "resultGroupChip": "Oo1fpq_resultGroupChip",
1321
- "recVoiceRow": "Oo1fpq_recVoiceRow",
1402
+ "overrideDash": "Oo1fpq_overrideDash",
1403
+ "toast": "Oo1fpq_toast",
1404
+ "tabs": "Oo1fpq_tabs",
1405
+ "select": "Oo1fpq_select",
1406
+ "formSection": "Oo1fpq_formSection",
1407
+ "resultGroups": "Oo1fpq_resultGroups",
1408
+ "taskActions": "Oo1fpq_taskActions",
1409
+ "enhanceCardHead": "Oo1fpq_enhanceCardHead",
1410
+ "input": "Oo1fpq_input",
1411
+ "formSectionRow": "Oo1fpq_formSectionRow",
1412
+ "time": "Oo1fpq_time",
1413
+ "taskLabel": "Oo1fpq_taskLabel",
1322
1414
  "audioCardHead": "Oo1fpq_audioCardHead",
1323
- "label": "Oo1fpq_label",
1415
+ "modalMask": "Oo1fpq_modalMask",
1416
+ "player": "Oo1fpq_player",
1417
+ "taskCard": "Oo1fpq_taskCard",
1418
+ "overrideCellHead": "Oo1fpq_overrideCellHead",
1324
1419
  "historyCol": "Oo1fpq_historyCol",
1325
- "modal": "Oo1fpq_modal",
1326
- "modeButton": "Oo1fpq_modeButton",
1327
- "resultEmptyIcon": "Oo1fpq_resultEmptyIcon",
1328
- "historyMeta": "Oo1fpq_historyMeta",
1329
- "historyAction": "Oo1fpq_historyAction",
1330
- "historyIcon": "Oo1fpq_historyIcon",
1331
- "checkbox": "Oo1fpq_checkbox",
1332
- "resultCol": "Oo1fpq_resultCol",
1333
- "modalHead": "Oo1fpq_modalHead",
1334
- "recVoiceHead": "Oo1fpq_recVoiceHead",
1335
- "fieldFull": "Oo1fpq_fieldFull",
1336
- "historyTime": "Oo1fpq_historyTime",
1337
1420
  "resultGroupHead": "Oo1fpq_resultGroupHead",
1338
- "primaryButton": "Oo1fpq_primaryButton",
1339
- "error": "Oo1fpq_error",
1340
- "title": "Oo1fpq_title",
1341
- "tab": "Oo1fpq_tab",
1342
- "resultGroups": "Oo1fpq_resultGroups",
1343
- "overrideCell": "Oo1fpq_overrideCell",
1344
- "historyModelRow": "Oo1fpq_historyModelRow",
1345
1421
  "resultMeta": "Oo1fpq_resultMeta",
1346
- "enhanceActions": "Oo1fpq_enhanceActions",
1347
- "studio": "Oo1fpq_studio",
1348
- "compareChips": "Oo1fpq_compareChips",
1349
- "radioOption": "Oo1fpq_radioOption",
1350
- "player": "Oo1fpq_player",
1351
- "playerCompact": "Oo1fpq_playerCompact",
1422
+ "error": "Oo1fpq_error",
1423
+ "row": "Oo1fpq_row",
1352
1424
  "iconButton": "Oo1fpq_iconButton",
1353
- "formRow": "Oo1fpq_formRow",
1354
- "muteButton": "Oo1fpq_muteButton",
1355
- "fieldCell": "Oo1fpq_fieldCell",
1356
- "tabs": "Oo1fpq_tabs",
1357
- "textarea": "Oo1fpq_textarea",
1425
+ "historyTime": "Oo1fpq_historyTime",
1426
+ "recReason": "Oo1fpq_recReason",
1427
+ "audioCardIndex": "Oo1fpq_audioCardIndex",
1428
+ "resultGroup": "Oo1fpq_resultGroup",
1429
+ "historyModelRow": "Oo1fpq_historyModelRow",
1430
+ "playButton": "Oo1fpq_playButton",
1431
+ "modalBody": "Oo1fpq_modalBody",
1358
1432
  "audioCard": "Oo1fpq_audioCard",
1359
- "recRank": "Oo1fpq_recRank",
1433
+ "voiceIdChip": "Oo1fpq_voiceIdChip",
1434
+ "recVoiceBody": "Oo1fpq_recVoiceBody",
1435
+ "secondaryButton": "Oo1fpq_secondaryButton",
1360
1436
  "compareBoard": "Oo1fpq_compareBoard",
1361
- "select": "Oo1fpq_select",
1437
+ "overrideOnly": "Oo1fpq_overrideOnly",
1438
+ "taskHead": "Oo1fpq_taskHead",
1439
+ "header": "Oo1fpq_header",
1440
+ "formRow": "Oo1fpq_formRow",
1441
+ "enhanceActions": "Oo1fpq_enhanceActions",
1442
+ "audiogenToastIn": "Oo1fpq_audiogenToastIn",
1362
1443
  "enhanceActionsRow": "Oo1fpq_enhanceActionsRow",
1363
- "panel": "Oo1fpq_panel",
1364
- "resultModeChip": "Oo1fpq_resultModeChip",
1365
- "compareState": "Oo1fpq_compareState",
1366
- "modeRow": "Oo1fpq_modeRow",
1367
- "audioCardActions": "Oo1fpq_audioCardActions",
1368
- "taskLabel": "Oo1fpq_taskLabel",
1369
- "input": "Oo1fpq_input",
1370
- "modeIcon": "Oo1fpq_modeIcon",
1371
- "radioGroup": "Oo1fpq_radioGroup",
1372
- "enhanceCard": "Oo1fpq_enhanceCard",
1373
- "historyClear": "Oo1fpq_historyClear",
1374
- "resultGroup": "Oo1fpq_resultGroup"
1444
+ "textarea": "Oo1fpq_textarea"
1375
1445
  };
1376
1446
  //#endregion
1377
1447
  //#region src/client/audio-player.tsx
@@ -1716,7 +1786,7 @@ window.__ModuleLoader__.load({
1716
1786
  if (speed !== void 0) out.speed = speed;
1717
1787
  const emotion = (override.emotion ?? "").trim();
1718
1788
  if (emotion !== "") out.emotion = emotion;
1719
- const sampleRate = num("sample_rate");
1789
+ const sampleRate = num("sampleRate");
1720
1790
  if (sampleRate !== void 0) out.sampleRate = sampleRate;
1721
1791
  const bitrate = num("bitrate");
1722
1792
  if (bitrate !== void 0) out.bitrate = bitrate;
@@ -1726,7 +1796,7 @@ window.__ModuleLoader__.load({
1726
1796
  if (seed !== void 0) out.seed = seed;
1727
1797
  const steps = num("steps");
1728
1798
  if (steps !== void 0) out.steps = steps;
1729
- const cfgScale = num("cfg_scale");
1799
+ const cfgScale = num("cfgScale");
1730
1800
  if (cfgScale !== void 0) out.cfgScale = cfgScale;
1731
1801
  return out;
1732
1802
  }
@@ -2061,6 +2131,19 @@ window.__ModuleLoader__.load({
2061
2131
  currentPreset
2062
2132
  ]);
2063
2133
  const globalSpecs = (0, react.useMemo)(() => globalFieldSpecs(mode, fieldPresets), [mode, fieldPresets]);
2134
+ const effectiveSpecs = (0, react.useMemo)(() => {
2135
+ if (mode !== "sfx") return globalSpecs;
2136
+ if (!(fieldPresets.length > 0 && fieldPresets.every((preset) => preset.toLowerCase() === "elevenlabs"))) return globalSpecs;
2137
+ const codec = format.trim().toLowerCase();
2138
+ if (codec === "ulaw" || codec === "alaw") return globalSpecs.filter((spec) => spec.key !== "sampleRate" && spec.key !== "bitrate");
2139
+ if (codec === "pcm") return globalSpecs.filter((spec) => spec.key !== "bitrate");
2140
+ return globalSpecs;
2141
+ }, [
2142
+ mode,
2143
+ fieldPresets,
2144
+ format,
2145
+ globalSpecs
2146
+ ]);
2064
2147
  const groupedModels = (0, react.useMemo)(() => {
2065
2148
  const groups = [];
2066
2149
  for (const entry of modelOptions.models) {
@@ -2587,7 +2670,7 @@ window.__ModuleLoader__.load({
2587
2670
  onChange: (event) => setSampleRate(event.target.value),
2588
2671
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
2589
2672
  value: "",
2590
- children: "默认(44100)"
2673
+ children: spec.placeholder ?? "默认"
2591
2674
  }), (spec.options ?? []).map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
2592
2675
  value: option,
2593
2676
  children: option
@@ -2603,7 +2686,7 @@ window.__ModuleLoader__.load({
2603
2686
  onChange: (event) => setBitrate(event.target.value),
2604
2687
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
2605
2688
  value: "",
2606
- children: "默认(256000)"
2689
+ children: spec.placeholder ?? "默认"
2607
2690
  }), (spec.options ?? []).map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
2608
2691
  value: option,
2609
2692
  children: option
@@ -3108,7 +3191,7 @@ window.__ModuleLoader__.load({
3108
3191
  children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
3109
3192
  value: "",
3110
3193
  children: "自动"
3111
- }), row.options.map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
3194
+ }), (fieldOptionsFor(row.key, entry.preset, mode) ?? row.options ?? []).map((option) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("option", {
3112
3195
  value: option,
3113
3196
  children: option
3114
3197
  }, option))]
@@ -3151,20 +3234,20 @@ window.__ModuleLoader__.load({
3151
3234
  }, group.channelId))]
3152
3235
  })]
3153
3236
  }) : null,
3154
- globalSpecs.some((spec) => spec.advanced !== true) ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
3237
+ effectiveSpecs.some((spec) => spec.advanced !== true) ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
3155
3238
  className: audio_panel_module_css_default.formSection,
3156
3239
  children: "生成参数"
3157
3240
  }) : null,
3158
3241
  /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3159
3242
  className: audio_panel_module_css_default.formFields,
3160
- children: globalSpecs.filter((spec) => spec.advanced !== true).map((spec) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3243
+ children: effectiveSpecs.filter((spec) => spec.advanced !== true).map((spec) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
3161
3244
  className: spec.key === "lyrics" || spec.key === "toneText" ? audio_panel_module_css_default.fieldFull : audio_panel_module_css_default.fieldCell,
3162
3245
  children: renderField(spec)
3163
3246
  }, spec.key))
3164
3247
  }),
3165
- mode === "tts" && globalSpecs.some((spec) => spec.advanced === true) ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("details", {
3248
+ mode === "tts" && effectiveSpecs.some((spec) => spec.advanced === true) ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("details", {
3166
3249
  className: audio_panel_module_css_default.advanced,
3167
- children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("summary", { children: "MiniMax 高级参数" }), globalSpecs.filter((spec) => spec.advanced === true).map((spec) => renderField(spec))]
3250
+ children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("summary", { children: "MiniMax 高级参数" }), effectiveSpecs.filter((spec) => spec.advanced === true).map((spec) => renderField(spec))]
3168
3251
  }) : null,
3169
3252
  mode !== "voice_recommend" ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
3170
3253
  className: audio_panel_module_css_default.checkbox,
@@ -3740,62 +3823,62 @@ window.__ModuleLoader__.load({
3740
3823
  document.head.appendChild(tag);
3741
3824
  }
3742
3825
  var library_module_css_default = {
3743
- "typeChips": "vzUV2a_typeChips",
3744
- "card": "vzUV2a_card",
3745
- "drawer": "vzUV2a_drawer",
3746
- "emptyHint": "vzUV2a_emptyHint",
3747
- "library": "vzUV2a_library",
3748
- "cardCheck": "vzUV2a_cardCheck",
3749
- "drawerPlayer": "vzUV2a_drawerPlayer",
3750
- "drawerActions": "vzUV2a_drawerActions",
3751
- "listCount": "vzUV2a_listCount",
3752
- "cardTime": "vzUV2a_cardTime",
3753
- "smallChip": "vzUV2a_smallChip",
3754
- "drawerSplit": "vzUV2a_drawerSplit",
3755
- "metaChip": "vzUV2a_metaChip",
3756
- "provValue": "vzUV2a_provValue",
3757
- "chip": "vzUV2a_chip",
3758
- "dangerBtn": "vzUV2a_dangerBtn",
3759
- "drawerMask": "vzUV2a_drawerMask",
3760
- "drawerHead": "vzUV2a_drawerHead",
3761
- "drawerPlayerList": "vzUV2a_drawerPlayerList",
3762
- "provKey": "vzUV2a_provKey",
3763
- "promptText": "vzUV2a_promptText",
3764
- "selCount": "vzUV2a_selCount",
3765
- "cardHead": "vzUV2a_cardHead",
3766
3826
  "listHead": "vzUV2a_listHead",
3767
- "cardFoot": "vzUV2a_cardFoot",
3768
- "typeBadge": "vzUV2a_typeBadge",
3769
- "drawerLabel": "vzUV2a_drawerLabel",
3770
- "emptyIcon": "vzUV2a_emptyIcon",
3827
+ "drawerBody": "vzUV2a_drawerBody",
3771
3828
  "filterRow": "vzUV2a_filterRow",
3772
- "audiogenDrawerIn": "vzUV2a_audiogenDrawerIn",
3773
- "drawerField": "vzUV2a_drawerField",
3774
- "provRow": "vzUV2a_provRow",
3775
- "empty": "vzUV2a_empty",
3829
+ "filterLabel": "vzUV2a_filterLabel",
3776
3830
  "drawerSection": "vzUV2a_drawerSection",
3831
+ "drawerPlayer": "vzUV2a_drawerPlayer",
3832
+ "drawer": "vzUV2a_drawer",
3833
+ "drawerPlayerName": "vzUV2a_drawerPlayerName",
3834
+ "input": "vzUV2a_input",
3835
+ "cardName": "vzUV2a_cardName",
3836
+ "iconBtn": "vzUV2a_iconBtn",
3837
+ "textarea": "vzUV2a_textarea",
3838
+ "smallSelect": "vzUV2a_smallSelect",
3777
3839
  "searchBox": "vzUV2a_searchBox",
3778
- "stateNote": "vzUV2a_stateNote",
3840
+ "dangerBtn": "vzUV2a_dangerBtn",
3841
+ "promptText": "vzUV2a_promptText",
3779
3842
  "ghostBtn": "vzUV2a_ghostBtn",
3780
- "listActions": "vzUV2a_listActions",
3843
+ "cardCheck": "vzUV2a_cardCheck",
3844
+ "drawerLabel": "vzUV2a_drawerLabel",
3845
+ "provKey": "vzUV2a_provKey",
3846
+ "code": "vzUV2a_code",
3781
3847
  "chipCount": "vzUV2a_chipCount",
3782
- "textarea": "vzUV2a_textarea",
3783
- "drawerPlayerName": "vzUV2a_drawerPlayerName",
3784
- "cardName": "vzUV2a_cardName",
3785
- "primaryBtn": "vzUV2a_primaryBtn",
3786
- "searchInput": "vzUV2a_searchInput",
3848
+ "toolbar": "vzUV2a_toolbar",
3849
+ "metaChip": "vzUV2a_metaChip",
3787
3850
  "drawerTitle": "vzUV2a_drawerTitle",
3788
- "filterLabel": "vzUV2a_filterLabel",
3851
+ "drawerPlayerList": "vzUV2a_drawerPlayerList",
3852
+ "provRow": "vzUV2a_provRow",
3853
+ "cardFoot": "vzUV2a_cardFoot",
3854
+ "listCount": "vzUV2a_listCount",
3855
+ "stateNote": "vzUV2a_stateNote",
3856
+ "library": "vzUV2a_library",
3789
3857
  "paramsDetails": "vzUV2a_paramsDetails",
3790
- "toolbar": "vzUV2a_toolbar",
3791
- "smallSelect": "vzUV2a_smallSelect",
3792
- "drawerBody": "vzUV2a_drawerBody",
3793
- "provenance": "vzUV2a_provenance",
3794
- "code": "vzUV2a_code",
3795
3858
  "grid": "vzUV2a_grid",
3859
+ "cardHead": "vzUV2a_cardHead",
3860
+ "smallChip": "vzUV2a_smallChip",
3861
+ "emptyHint": "vzUV2a_emptyHint",
3862
+ "drawerHead": "vzUV2a_drawerHead",
3863
+ "provenance": "vzUV2a_provenance",
3864
+ "drawerActions": "vzUV2a_drawerActions",
3865
+ "audiogenDrawerIn": "vzUV2a_audiogenDrawerIn",
3796
3866
  "mono": "vzUV2a_mono",
3797
- "input": "vzUV2a_input",
3798
- "iconBtn": "vzUV2a_iconBtn"
3867
+ "primaryBtn": "vzUV2a_primaryBtn",
3868
+ "drawerSplit": "vzUV2a_drawerSplit",
3869
+ "chip": "vzUV2a_chip",
3870
+ "cardTime": "vzUV2a_cardTime",
3871
+ "empty": "vzUV2a_empty",
3872
+ "typeBadge": "vzUV2a_typeBadge",
3873
+ "provValue": "vzUV2a_provValue",
3874
+ "listActions": "vzUV2a_listActions",
3875
+ "emptyIcon": "vzUV2a_emptyIcon",
3876
+ "selCount": "vzUV2a_selCount",
3877
+ "searchInput": "vzUV2a_searchInput",
3878
+ "card": "vzUV2a_card",
3879
+ "typeChips": "vzUV2a_typeChips",
3880
+ "drawerField": "vzUV2a_drawerField",
3881
+ "drawerMask": "vzUV2a_drawerMask"
3799
3882
  };
3800
3883
  //#endregion
3801
3884
  //#region src/client/library-view.tsx
@@ -4597,53 +4680,53 @@ window.__ModuleLoader__.load({
4597
4680
  document.head.appendChild(tag);
4598
4681
  }
4599
4682
  var voices_module_css_default = {
4600
- "recommendCard": "FjxQqG_recommendCard",
4601
- "advancedSummary": "FjxQqG_advancedSummary",
4683
+ "recordVoiceName": "FjxQqG_recordVoiceName",
4602
4684
  "recommendInput": "FjxQqG_recommendInput",
4603
- "recordBox": "FjxQqG_recordBox",
4604
- "view": "FjxQqG_view",
4605
- "reasonInline": "FjxQqG_reasonInline",
4606
- "actions": "FjxQqG_actions",
4607
- "stateNote": "FjxQqG_stateNote",
4608
- "field": "FjxQqG_field",
4609
- "recordSummary": "FjxQqG_recordSummary",
4610
- "meta": "FjxQqG_meta",
4611
- "stateLine": "FjxQqG_stateLine",
4612
- "description": "FjxQqG_description",
4613
- "voiceName": "FjxQqG_voiceName",
4614
4685
  "rank": "FjxQqG_rank",
4615
- "recordVoiceRow": "FjxQqG_recordVoiceRow",
4616
- "cardHead": "FjxQqG_cardHead",
4617
- "recordHint": "FjxQqG_recordHint",
4686
+ "voiceName": "FjxQqG_voiceName",
4687
+ "reason": "FjxQqG_reason",
4688
+ "recommendBody": "FjxQqG_recommendBody",
4618
4689
  "useBtn": "FjxQqG_useBtn",
4690
+ "input": "FjxQqG_input",
4691
+ "checkRow": "FjxQqG_checkRow",
4692
+ "select": "FjxQqG_select",
4693
+ "list": "FjxQqG_list",
4619
4694
  "card": "FjxQqG_card",
4695
+ "cardHead": "FjxQqG_cardHead",
4696
+ "stateLine": "FjxQqG_stateLine",
4620
4697
  "voiceId": "FjxQqG_voiceId",
4621
- "recordCard": "FjxQqG_recordCard",
4698
+ "recommendHead": "FjxQqG_recommendHead",
4622
4699
  "advancedGrid": "FjxQqG_advancedGrid",
4623
- "empty": "FjxQqG_empty",
4624
- "recommendBody": "FjxQqG_recommendBody",
4625
- "recommendControls": "FjxQqG_recommendControls",
4626
- "recommendResults": "FjxQqG_recommendResults",
4627
- "list": "FjxQqG_list",
4628
- "recordVoices": "FjxQqG_recordVoices",
4629
- "badge": "FjxQqG_badge",
4630
- "select": "FjxQqG_select",
4631
4700
  "toolbar": "FjxQqG_toolbar",
4632
- "input": "FjxQqG_input",
4633
- "deleteBtn": "FjxQqG_deleteBtn",
4634
- "recordList": "FjxQqG_recordList",
4635
- "recordVoiceName": "FjxQqG_recordVoiceName",
4636
- "checkRow": "FjxQqG_checkRow",
4701
+ "recommendTitle": "FjxQqG_recommendTitle",
4702
+ "advanced": "FjxQqG_advanced",
4637
4703
  "recommendHint": "FjxQqG_recommendHint",
4638
- "fieldLabel": "FjxQqG_fieldLabel",
4639
- "reason": "FjxQqG_reason",
4640
- "recommendHead": "FjxQqG_recommendHead",
4641
- "count": "FjxQqG_count",
4642
- "primaryBtn": "FjxQqG_primaryBtn",
4704
+ "recordCard": "FjxQqG_recordCard",
4643
4705
  "preview": "FjxQqG_preview",
4706
+ "field": "FjxQqG_field",
4707
+ "recordBox": "FjxQqG_recordBox",
4708
+ "actions": "FjxQqG_actions",
4709
+ "primaryBtn": "FjxQqG_primaryBtn",
4644
4710
  "recommend": "FjxQqG_recommend",
4645
- "recommendTitle": "FjxQqG_recommendTitle",
4646
- "advanced": "FjxQqG_advanced"
4711
+ "recommendCard": "FjxQqG_recommendCard",
4712
+ "recordSummary": "FjxQqG_recordSummary",
4713
+ "recordList": "FjxQqG_recordList",
4714
+ "advancedSummary": "FjxQqG_advancedSummary",
4715
+ "empty": "FjxQqG_empty",
4716
+ "fieldLabel": "FjxQqG_fieldLabel",
4717
+ "meta": "FjxQqG_meta",
4718
+ "deleteBtn": "FjxQqG_deleteBtn",
4719
+ "recordVoices": "FjxQqG_recordVoices",
4720
+ "recommendResults": "FjxQqG_recommendResults",
4721
+ "view": "FjxQqG_view",
4722
+ "stateNote": "FjxQqG_stateNote",
4723
+ "description": "FjxQqG_description",
4724
+ "recordVoiceRow": "FjxQqG_recordVoiceRow",
4725
+ "reasonInline": "FjxQqG_reasonInline",
4726
+ "count": "FjxQqG_count",
4727
+ "recordHint": "FjxQqG_recordHint",
4728
+ "badge": "FjxQqG_badge",
4729
+ "recommendControls": "FjxQqG_recommendControls"
4647
4730
  };
4648
4731
  //#endregion
4649
4732
  //#region src/client/voices-view.tsx
@@ -5416,167 +5499,167 @@ window.__ModuleLoader__.load({
5416
5499
  document.head.appendChild(tag);
5417
5500
  }
5418
5501
  var panel_module_css_default = {
5419
- "bigSpinner": "rwa6qG_bigSpinner",
5420
- "historySearch": "rwa6qG_historySearch",
5421
- "spinner": "rwa6qG_spinner",
5422
- "galleryViewToggle": "rwa6qG_galleryViewToggle",
5423
- "lightboxFigure": "rwa6qG_lightboxFigure",
5424
- "lightboxCopy": "rwa6qG_lightboxCopy",
5425
- "lightboxClose": "rwa6qG_lightboxClose",
5426
- "taskTrayChevron": "rwa6qG_taskTrayChevron",
5427
- "historyMain": "rwa6qG_historyMain",
5428
- "historyInfo": "rwa6qG_historyInfo",
5429
- "updateActions": "rwa6qG_updateActions",
5430
- "modePill": "rwa6qG_modePill",
5431
- "gallerySelect": "rwa6qG_gallerySelect",
5432
- "lightboxIndex": "rwa6qG_lightboxIndex",
5433
- "taskTrayClose": "rwa6qG_taskTrayClose",
5502
+ "modeRow": "rwa6qG_modeRow",
5503
+ "galleryToast": "rwa6qG_galleryToast",
5504
+ "connectionDot": "rwa6qG_connectionDot",
5505
+ "canvasEmptyIcon": "rwa6qG_canvasEmptyIcon",
5506
+ "taskStatus": "rwa6qG_taskStatus",
5507
+ "optionPill": "rwa6qG_optionPill",
5508
+ "galleryFilterCount": "rwa6qG_galleryFilterCount",
5509
+ "galleryTagFilter": "rwa6qG_galleryTagFilter",
5510
+ "galleryHeading": "rwa6qG_galleryHeading",
5511
+ "gallerySelectMode": "rwa6qG_gallerySelectMode",
5512
+ "connectionStatus": "rwa6qG_connectionStatus",
5513
+ "compareToggle": "rwa6qG_compareToggle",
5514
+ "modelMenuItem": "rwa6qG_modelMenuItem",
5515
+ "paramHint": "rwa6qG_paramHint",
5516
+ "historyFilters": "rwa6qG_historyFilters",
5517
+ "galleryTagFilterList": "rwa6qG_galleryTagFilterList",
5518
+ "canvasStateTitle": "rwa6qG_canvasStateTitle",
5519
+ "panel": "rwa6qG_panel",
5520
+ "updateRelease": "rwa6qG_updateRelease",
5521
+ "galleryImageButton": "rwa6qG_galleryImageButton",
5522
+ "galleryBadge": "rwa6qG_galleryBadge",
5523
+ "panelHeading": "rwa6qG_panelHeading",
5524
+ "grid": "rwa6qG_grid",
5525
+ "modelSelect": "rwa6qG_modelSelect",
5526
+ "galleryFilterNote": "rwa6qG_galleryFilterNote",
5434
5527
  "galleryToolbarActions": "rwa6qG_galleryToolbarActions",
5435
- "lightboxTools": "rwa6qG_lightboxTools",
5436
- "configGuide": "rwa6qG_configGuide",
5437
- "dshImageGenSpin": "rwa6qG_dshImageGenSpin",
5438
- "galleryCard": "rwa6qG_galleryCard",
5439
- "generateInner": "rwa6qG_generateInner",
5440
- "uploadBox": "rwa6qG_uploadBox",
5441
- "canvas": "rwa6qG_canvas",
5528
+ "galleryAvatar": "rwa6qG_galleryAvatar",
5529
+ "configScroll": "rwa6qG_configScroll",
5442
5530
  "canvasState": "rwa6qG_canvasState",
5443
- "modelMenuItem": "rwa6qG_modelMenuItem",
5444
- "image": "rwa6qG_image",
5445
- "taskTray": "rwa6qG_taskTray",
5446
- "taskRow": "rwa6qG_taskRow",
5447
- "gallerySearch": "rwa6qG_gallerySearch",
5448
- "historyAction": "rwa6qG_historyAction",
5449
- "galleryHeading": "rwa6qG_galleryHeading",
5531
+ "compareControl": "rwa6qG_compareControl",
5450
5532
  "galleryTags": "rwa6qG_galleryTags",
5451
- "dshImageGenToastIn": "rwa6qG_dshImageGenToastIn",
5452
- "lightboxZoomLevel": "rwa6qG_lightboxZoomLevel",
5453
- "gallerySort": "rwa6qG_gallerySort",
5454
- "compareModelChoices": "rwa6qG_compareModelChoices",
5455
- "lightboxImage": "rwa6qG_lightboxImage",
5456
- "promptCount": "rwa6qG_promptCount",
5457
- "galleryRemove": "rwa6qG_galleryRemove",
5458
- "historyMeta": "rwa6qG_historyMeta",
5459
- "modelWrap": "rwa6qG_modelWrap",
5533
+ "studio": "rwa6qG_studio",
5534
+ "generateButton": "rwa6qG_generateButton",
5460
5535
  "historyHeader": "rwa6qG_historyHeader",
5461
- "card": "rwa6qG_card",
5462
- "canvasError": "rwa6qG_canvasError",
5463
- "gallerySelectionClear": "rwa6qG_gallerySelectionClear",
5464
- "historyItem": "rwa6qG_historyItem",
5465
- "galleryClear": "rwa6qG_galleryClear",
5466
- "galleryToolbar": "rwa6qG_galleryToolbar",
5467
- "galleryFilterDivider": "rwa6qG_galleryFilterDivider",
5468
- "lightboxScaleFrame": "rwa6qG_lightboxScaleFrame",
5469
- "modelMenuList": "rwa6qG_modelMenuList",
5470
- "historyThumbPlaceholder": "rwa6qG_historyThumbPlaceholder",
5471
- "config": "rwa6qG_config",
5472
- "galleryMasonry": "rwa6qG_galleryMasonry",
5473
- "panelTitle": "rwa6qG_panelTitle",
5474
- "galleryFilterNote": "rwa6qG_galleryFilterNote",
5475
- "view": "rwa6qG_view",
5536
+ "galleryAdd": "rwa6qG_galleryAdd",
5476
5537
  "galleryImage": "rwa6qG_galleryImage",
5477
- "connectionDot": "rwa6qG_connectionDot",
5478
- "canvasStateHint": "rwa6qG_canvasStateHint",
5479
- "lightboxCaptionRow": "rwa6qG_lightboxCaptionRow",
5480
- "updateRelease": "rwa6qG_updateRelease",
5481
- "taskPrompt": "rwa6qG_taskPrompt",
5482
- "enhanceButton": "rwa6qG_enhanceButton",
5483
- "historyList": "rwa6qG_historyList",
5484
- "galleryCount": "rwa6qG_galleryCount",
5485
- "taskTrayHeader": "rwa6qG_taskTrayHeader",
5486
- "historyActions": "rwa6qG_historyActions",
5487
- "hiddenFile": "rwa6qG_hiddenFile",
5488
- "modelSelect": "rwa6qG_modelSelect",
5489
- "canvasBody": "rwa6qG_canvasBody",
5490
- "lightboxStage": "rwa6qG_lightboxStage",
5491
- "canvasHistoryTag": "rwa6qG_canvasHistoryTag",
5492
- "entryLabel": "rwa6qG_entryLabel",
5493
- "historyClear": "rwa6qG_historyClear",
5494
5538
  "historyEmpty": "rwa6qG_historyEmpty",
5495
- "optionGrid": "rwa6qG_optionGrid",
5496
- "lightboxActions": "rwa6qG_lightboxActions",
5497
- "compareControl": "rwa6qG_compareControl",
5498
- "referenceActions": "rwa6qG_referenceActions",
5499
- "comparisonFullscreen": "rwa6qG_comparisonFullscreen",
5500
- "reference": "rwa6qG_reference",
5501
- "paramLabel": "rwa6qG_paramLabel",
5502
- "optionRow": "rwa6qG_optionRow",
5503
- "lightboxMeta": "rwa6qG_lightboxMeta",
5504
- "gallerySelectionBar": "rwa6qG_gallerySelectionBar",
5505
- "githubLink": "rwa6qG_githubLink",
5506
- "templatesButton": "rwa6qG_templatesButton",
5507
- "entry": "rwa6qG_entry",
5508
- "configGuideBody": "rwa6qG_configGuideBody",
5509
- "panelHeading": "rwa6qG_panelHeading",
5510
- "connectionStatus": "rwa6qG_connectionStatus",
5511
- "modelLabel": "rwa6qG_modelLabel",
5512
- "configScroll": "rwa6qG_configScroll",
5513
- "taskStatus": "rwa6qG_taskStatus",
5514
- "generateButton": "rwa6qG_generateButton",
5515
5539
  "download": "rwa6qG_download",
5540
+ "modelMenuList": "rwa6qG_modelMenuList",
5541
+ "referenceActions": "rwa6qG_referenceActions",
5542
+ "taskRows": "rwa6qG_taskRows",
5543
+ "historyAction": "rwa6qG_historyAction",
5544
+ "lightboxNav": "rwa6qG_lightboxNav",
5516
5545
  "galleryTagEditor": "rwa6qG_galleryTagEditor",
5517
- "modelMenu": "rwa6qG_modelMenu",
5546
+ "taskTrayToggle": "rwa6qG_taskTrayToggle",
5547
+ "galleryCard": "rwa6qG_galleryCard",
5548
+ "lightboxZoomLevel": "rwa6qG_lightboxZoomLevel",
5549
+ "taskTrayClose": "rwa6qG_taskTrayClose",
5550
+ "updateText": "rwa6qG_updateText",
5551
+ "lightboxIndex": "rwa6qG_lightboxIndex",
5552
+ "modelLabel": "rwa6qG_modelLabel",
5553
+ "galleryRatio": "rwa6qG_galleryRatio",
5554
+ "historyInfo": "rwa6qG_historyInfo",
5555
+ "taskTrayCount": "rwa6qG_taskTrayCount",
5556
+ "canvasHistoryTag": "rwa6qG_canvasHistoryTag",
5557
+ "reference": "rwa6qG_reference",
5558
+ "galleryFilterDivider": "rwa6qG_galleryFilterDivider",
5559
+ "gallerySelect": "rwa6qG_gallerySelect",
5560
+ "historyMeta": "rwa6qG_historyMeta",
5561
+ "enhanceButton": "rwa6qG_enhanceButton",
5562
+ "lightboxScaleFrame": "rwa6qG_lightboxScaleFrame",
5563
+ "galleryBulkButton": "rwa6qG_galleryBulkButton",
5564
+ "galleryCount": "rwa6qG_galleryCount",
5565
+ "optionGrid": "rwa6qG_optionGrid",
5566
+ "gallerySelectionClear": "rwa6qG_gallerySelectionClear",
5567
+ "gallerySearch": "rwa6qG_gallerySearch",
5568
+ "lightboxStage": "rwa6qG_lightboxStage",
5569
+ "paramGroup": "rwa6qG_paramGroup",
5570
+ "referenceImage": "rwa6qG_referenceImage",
5571
+ "view": "rwa6qG_view",
5572
+ "historyItem": "rwa6qG_historyItem",
5573
+ "taskTray": "rwa6qG_taskTray",
5574
+ "entryIcon": "rwa6qG_entryIcon",
5575
+ "entryLabel": "rwa6qG_entryLabel",
5576
+ "galleryTagInput": "rwa6qG_galleryTagInput",
5577
+ "imageCard": "rwa6qG_imageCard",
5578
+ "entry": "rwa6qG_entry",
5518
5579
  "imageCaption": "rwa6qG_imageCaption",
5519
- "modeRow": "rwa6qG_modeRow",
5580
+ "galleryMasonry": "rwa6qG_galleryMasonry",
5581
+ "uploadIcon": "rwa6qG_uploadIcon",
5582
+ "prompt": "rwa6qG_prompt",
5583
+ "generateInner": "rwa6qG_generateInner",
5584
+ "lightboxCaption": "rwa6qG_lightboxCaption",
5585
+ "footer": "rwa6qG_footer",
5586
+ "panelTitle": "rwa6qG_panelTitle",
5520
5587
  "lightboxDownload": "rwa6qG_lightboxDownload",
5521
- "galleryTagFilter": "rwa6qG_galleryTagFilter",
5588
+ "lightboxTools": "rwa6qG_lightboxTools",
5589
+ "historyClear": "rwa6qG_historyClear",
5590
+ "bigSpinner": "rwa6qG_bigSpinner",
5591
+ "dshImageGenSpin": "rwa6qG_dshImageGenSpin",
5592
+ "comparisonGrid": "rwa6qG_comparisonGrid",
5593
+ "canvasMeta": "rwa6qG_canvasMeta",
5594
+ "uploadHint": "rwa6qG_uploadHint",
5595
+ "githubLink": "rwa6qG_githubLink",
5522
5596
  "galleryWorkspace": "rwa6qG_galleryWorkspace",
5523
- "comparisonImageButton": "rwa6qG_comparisonImageButton",
5524
- "lightbox": "rwa6qG_lightbox",
5525
- "compareToggle": "rwa6qG_compareToggle",
5597
+ "galleryRatioList": "rwa6qG_galleryRatioList",
5598
+ "lightboxTool": "rwa6qG_lightboxTool",
5526
5599
  "comparisonFullscreenGrid": "rwa6qG_comparisonFullscreenGrid",
5527
- "galleryBulkButton": "rwa6qG_galleryBulkButton",
5528
- "galleryBadge": "rwa6qG_galleryBadge",
5600
+ "compareModelChoices": "rwa6qG_compareModelChoices",
5601
+ "historyThumbPlaceholder": "rwa6qG_historyThumbPlaceholder",
5602
+ "historyPrompt": "rwa6qG_historyPrompt",
5603
+ "taskTrayHeader": "rwa6qG_taskTrayHeader",
5604
+ "configGuide": "rwa6qG_configGuide",
5605
+ "lightboxFigure": "rwa6qG_lightboxFigure",
5606
+ "taskRow": "rwa6qG_taskRow",
5607
+ "promptFooter": "rwa6qG_promptFooter",
5608
+ "historyList": "rwa6qG_historyList",
5609
+ "modelWrap": "rwa6qG_modelWrap",
5610
+ "canvasBody": "rwa6qG_canvasBody",
5611
+ "lightbox": "rwa6qG_lightbox",
5612
+ "taskTrayChevron": "rwa6qG_taskTrayChevron",
5613
+ "taskPrompt": "rwa6qG_taskPrompt",
5529
5614
  "updateBanner": "rwa6qG_updateBanner",
5530
- "galleryToast": "rwa6qG_galleryToast",
5531
- "comparisonGrid": "rwa6qG_comparisonGrid",
5532
- "paramGroup": "rwa6qG_paramGroup",
5533
- "prompt": "rwa6qG_prompt",
5534
- "galleryAdd": "rwa6qG_galleryAdd",
5535
- "footer": "rwa6qG_footer",
5536
- "historyThumb": "rwa6qG_historyThumb",
5537
- "lightboxCaption": "rwa6qG_lightboxCaption",
5538
- "comparisonBoard": "rwa6qG_comparisonBoard",
5539
- "taskRows": "rwa6qG_taskRows",
5615
+ "lightboxClose": "rwa6qG_lightboxClose",
5540
5616
  "lightboxEdit": "rwa6qG_lightboxEdit",
5541
- "historyTitle": "rwa6qG_historyTitle",
5542
- "imageCard": "rwa6qG_imageCard",
5543
- "taskTrayToggle": "rwa6qG_taskTrayToggle",
5544
- "optionPill": "rwa6qG_optionPill",
5545
- "lightboxNav": "rwa6qG_lightboxNav",
5546
- "paramHint": "rwa6qG_paramHint",
5547
- "canvasEmptyIcon": "rwa6qG_canvasEmptyIcon",
5617
+ "canvas": "rwa6qG_canvas",
5618
+ "zoomHint": "rwa6qG_zoomHint",
5619
+ "lightboxCopy": "rwa6qG_lightboxCopy",
5548
5620
  "galleryFilter": "rwa6qG_galleryFilter",
5549
- "galleryRatio": "rwa6qG_galleryRatio",
5550
- "historyFilters": "rwa6qG_historyFilters",
5621
+ "templatesButton": "rwa6qG_templatesButton",
5622
+ "hiddenFile": "rwa6qG_hiddenFile",
5623
+ "historyMain": "rwa6qG_historyMain",
5624
+ "gallerySelectionBar": "rwa6qG_gallerySelectionBar",
5625
+ "configGuideBody": "rwa6qG_configGuideBody",
5626
+ "gallerySort": "rwa6qG_gallerySort",
5551
5627
  "panelHeader": "rwa6qG_panelHeader",
5552
- "gallerySelectMode": "rwa6qG_gallerySelectMode",
5553
- "updateText": "rwa6qG_updateText",
5554
- "galleryFilterCount": "rwa6qG_galleryFilterCount",
5555
- "galleryTagFilterList": "rwa6qG_galleryTagFilterList",
5556
- "galleryFilterHeading": "rwa6qG_galleryFilterHeading",
5557
- "zoomHint": "rwa6qG_zoomHint",
5558
- "galleryFilters": "rwa6qG_galleryFilters",
5559
- "panel": "rwa6qG_panel",
5560
- "grid": "rwa6qG_grid",
5561
- "galleryRatioList": "rwa6qG_galleryRatioList",
5562
- "galleryImageButton": "rwa6qG_galleryImageButton",
5563
- "canvasMeta": "rwa6qG_canvasMeta",
5564
- "uploadIcon": "rwa6qG_uploadIcon",
5628
+ "paramLabel": "rwa6qG_paramLabel",
5629
+ "galleryViewToggle": "rwa6qG_galleryViewToggle",
5630
+ "comparisonImageButton": "rwa6qG_comparisonImageButton",
5631
+ "comparisonFullscreen": "rwa6qG_comparisonFullscreen",
5632
+ "modePill": "rwa6qG_modePill",
5633
+ "galleryToolbar": "rwa6qG_galleryToolbar",
5634
+ "historyActions": "rwa6qG_historyActions",
5635
+ "history": "rwa6qG_history",
5636
+ "promptCount": "rwa6qG_promptCount",
5637
+ "image": "rwa6qG_image",
5638
+ "historySearch": "rwa6qG_historySearch",
5639
+ "historyTitle": "rwa6qG_historyTitle",
5640
+ "historyThumb": "rwa6qG_historyThumb",
5565
5641
  "galleryCardFooter": "rwa6qG_galleryCardFooter",
5566
- "galleryCardInfo": "rwa6qG_galleryCardInfo",
5567
5642
  "galleryTagEdit": "rwa6qG_galleryTagEdit",
5568
- "historyPrompt": "rwa6qG_historyPrompt",
5569
- "entryIcon": "rwa6qG_entryIcon",
5570
- "promptFooter": "rwa6qG_promptFooter",
5571
- "history": "rwa6qG_history",
5572
- "uploadHint": "rwa6qG_uploadHint",
5573
- "lightboxTool": "rwa6qG_lightboxTool",
5574
- "referenceImage": "rwa6qG_referenceImage",
5575
- "canvasStateTitle": "rwa6qG_canvasStateTitle",
5576
- "studio": "rwa6qG_studio",
5577
- "galleryAvatar": "rwa6qG_galleryAvatar",
5578
- "galleryTagInput": "rwa6qG_galleryTagInput",
5579
- "taskTrayCount": "rwa6qG_taskTrayCount"
5643
+ "galleryRemove": "rwa6qG_galleryRemove",
5644
+ "lightboxCaptionRow": "rwa6qG_lightboxCaptionRow",
5645
+ "spinner": "rwa6qG_spinner",
5646
+ "canvasStateHint": "rwa6qG_canvasStateHint",
5647
+ "galleryFilters": "rwa6qG_galleryFilters",
5648
+ "updateActions": "rwa6qG_updateActions",
5649
+ "galleryFilterHeading": "rwa6qG_galleryFilterHeading",
5650
+ "lightboxImage": "rwa6qG_lightboxImage",
5651
+ "config": "rwa6qG_config",
5652
+ "card": "rwa6qG_card",
5653
+ "modelMenu": "rwa6qG_modelMenu",
5654
+ "lightboxMeta": "rwa6qG_lightboxMeta",
5655
+ "optionRow": "rwa6qG_optionRow",
5656
+ "canvasError": "rwa6qG_canvasError",
5657
+ "lightboxActions": "rwa6qG_lightboxActions",
5658
+ "uploadBox": "rwa6qG_uploadBox",
5659
+ "dshImageGenToastIn": "rwa6qG_dshImageGenToastIn",
5660
+ "comparisonBoard": "rwa6qG_comparisonBoard",
5661
+ "galleryClear": "rwa6qG_galleryClear",
5662
+ "galleryCardInfo": "rwa6qG_galleryCardInfo"
5580
5663
  };
5581
5664
  //#endregion
5582
5665
  //#region src/client/mount.tsx
@@ -5829,7 +5912,7 @@ window.__ModuleLoader__.load({
5829
5912
  }
5830
5913
  /** Publish a projection of this form, rebuilt whenever the scope or a draft changes. */
5831
5914
  bind(project) {
5832
- const store = (0, _deepseek_ai_dsh_client_runtime_client.createSnapshotStore)(project());
5915
+ const store = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(project());
5833
5916
  this.listeners.add(() => {
5834
5917
  store.set(project());
5835
5918
  });
@@ -6046,7 +6129,7 @@ window.__ModuleLoader__.load({
6046
6129
  }
6047
6130
  /** Publish a projection of this form, rebuilt on every scope or draft change. */
6048
6131
  bind(project) {
6049
- const store = (0, _deepseek_ai_dsh_client_runtime_client.createSnapshotStore)(project());
6132
+ const store = (0, _deepseek_ai_dsh_client_store.createSnapshotStore)(project());
6050
6133
  this.listeners.add(() => {
6051
6134
  store.set(project());
6052
6135
  });
@@ -6233,79 +6316,79 @@ window.__ModuleLoader__.load({
6233
6316
  document.head.appendChild(tag);
6234
6317
  }
6235
6318
  var settings_card_module_css_default = {
6236
- "channelMeta": "zmjoSq_channelMeta",
6237
- "channelHost": "zmjoSq_channelHost",
6238
- "label": "zmjoSq_label",
6239
6319
  "sectionHint": "zmjoSq_sectionHint",
6240
- "field": "zmjoSq_field",
6241
- "readOnly": "zmjoSq_readOnly",
6242
- "channelAddRow": "zmjoSq_channelAddRow",
6243
- "channelName": "zmjoSq_channelName",
6244
- "editorHeader": "zmjoSq_editorHeader",
6245
- "modelRows": "zmjoSq_modelRows",
6246
- "modelCategorySelect": "zmjoSq_modelCategorySelect",
6247
- "candidateLabel": "zmjoSq_candidateLabel",
6248
- "modelCatalog": "zmjoSq_modelCatalog",
6249
- "channelSection": "zmjoSq_channelSection",
6250
- "channelBadge": "zmjoSq_channelBadge",
6320
+ "head": "zmjoSq_head",
6251
6321
  "modelEmpty": "zmjoSq_modelEmpty",
6252
- "modelRow": "zmjoSq_modelRow",
6253
- "card": "zmjoSq_card",
6254
- "channelList": "zmjoSq_channelList",
6255
- "description": "zmjoSq_description",
6256
- "link": "zmjoSq_link",
6257
- "reset": "zmjoSq_reset",
6258
- "linkButton": "zmjoSq_linkButton",
6259
- "input": "zmjoSq_input",
6260
- "customSettingsBody": "zmjoSq_customSettingsBody",
6322
+ "discard": "zmjoSq_discard",
6323
+ "header": "zmjoSq_header",
6324
+ "modelCatalogTitle": "zmjoSq_modelCatalogTitle",
6261
6325
  "chevron": "zmjoSq_chevron",
6326
+ "modelRowRemove": "zmjoSq_modelRowRemove",
6262
6327
  "candidate": "zmjoSq_candidate",
6263
- "modelArrow": "zmjoSq_modelArrow",
6264
- "sectionHeader": "zmjoSq_sectionHeader",
6328
+ "editorFooter": "zmjoSq_editorFooter",
6329
+ "description": "zmjoSq_description",
6330
+ "link": "zmjoSq_link",
6265
6331
  "deleteConfirmText": "zmjoSq_deleteConfirmText",
6266
- "candidateTitle": "zmjoSq_candidateTitle",
6267
- "discard": "zmjoSq_discard",
6268
- "name": "zmjoSq_name",
6269
- "channelDotWarn": "zmjoSq_channelDotWarn",
6270
- "candidateList": "zmjoSq_candidateList",
6271
- "head": "zmjoSq_head",
6272
- "channelAdd": "zmjoSq_channelAdd",
6273
- "select": "zmjoSq_select",
6332
+ "editorWrap": "zmjoSq_editorWrap",
6333
+ "addModel": "zmjoSq_addModel",
6274
6334
  "editorTitle": "zmjoSq_editorTitle",
6275
- "pending": "zmjoSq_pending",
6335
+ "modelCatalogMeta": "zmjoSq_modelCatalogMeta",
6336
+ "channelDotReady": "zmjoSq_channelDotReady",
6337
+ "channelHost": "zmjoSq_channelHost",
6276
6338
  "channelEditor": "zmjoSq_channelEditor",
6277
- "body": "zmjoSq_body",
6278
- "modelCatalogTitle": "zmjoSq_modelCatalogTitle",
6279
- "editorFooter": "zmjoSq_editorFooter",
6280
6339
  "editorTag": "zmjoSq_editorTag",
6281
- "channelEmpty": "zmjoSq_channelEmpty",
6282
- "modelCatalogTools": "zmjoSq_modelCatalogTools",
6283
- "channelAction": "zmjoSq_channelAction",
6284
- "detectOk": "zmjoSq_detectOk",
6340
+ "readOnly": "zmjoSq_readOnly",
6341
+ "channelList": "zmjoSq_channelList",
6342
+ "candidateActions": "zmjoSq_candidateActions",
6285
6343
  "channelMain": "zmjoSq_channelMain",
6286
- "sectionTitle": "zmjoSq_sectionTitle",
6344
+ "modelCatalogTools": "zmjoSq_modelCatalogTools",
6345
+ "footer": "zmjoSq_footer",
6287
6346
  "headText": "zmjoSq_headText",
6288
- "channelDanger": "zmjoSq_channelDanger",
6289
- "modelCatalogMeta": "zmjoSq_modelCatalogMeta",
6347
+ "channelAddRow": "zmjoSq_channelAddRow",
6348
+ "reset": "zmjoSq_reset",
6349
+ "candidatePanel": "zmjoSq_candidatePanel",
6350
+ "pending": "zmjoSq_pending",
6290
6351
  "modelBadge": "zmjoSq_modelBadge",
6291
- "candidateActions": "zmjoSq_candidateActions",
6292
- "failed": "zmjoSq_failed",
6293
- "customSettingsSummary": "zmjoSq_customSettingsSummary",
6294
- "customSettings": "zmjoSq_customSettings",
6295
- "footer": "zmjoSq_footer",
6296
- "modelCatalogHead": "zmjoSq_modelCatalogHead",
6297
- "header": "zmjoSq_header",
6298
- "modelInput": "zmjoSq_modelInput",
6299
- "chevronOpen": "zmjoSq_chevronOpen",
6352
+ "candidateHead": "zmjoSq_candidateHead",
6353
+ "candidateList": "zmjoSq_candidateList",
6300
6354
  "save": "zmjoSq_save",
6301
- "editorWrap": "zmjoSq_editorWrap",
6355
+ "modelInput": "zmjoSq_modelInput",
6356
+ "sectionTitle": "zmjoSq_sectionTitle",
6302
6357
  "channelRow": "zmjoSq_channelRow",
6303
- "addModel": "zmjoSq_addModel",
6304
- "candidateHead": "zmjoSq_candidateHead",
6305
- "channelDotReady": "zmjoSq_channelDotReady",
6358
+ "channelAction": "zmjoSq_channelAction",
6359
+ "body": "zmjoSq_body",
6360
+ "label": "zmjoSq_label",
6361
+ "candidateLabel": "zmjoSq_candidateLabel",
6362
+ "modelCatalog": "zmjoSq_modelCatalog",
6363
+ "candidateTitle": "zmjoSq_candidateTitle",
6364
+ "name": "zmjoSq_name",
6365
+ "chevronOpen": "zmjoSq_chevronOpen",
6366
+ "modelRow": "zmjoSq_modelRow",
6367
+ "modelCategorySelect": "zmjoSq_modelCategorySelect",
6368
+ "card": "zmjoSq_card",
6369
+ "channelSection": "zmjoSq_channelSection",
6370
+ "modelRows": "zmjoSq_modelRows",
6371
+ "customSettingsSummary": "zmjoSq_customSettingsSummary",
6372
+ "select": "zmjoSq_select",
6373
+ "input": "zmjoSq_input",
6374
+ "detectOk": "zmjoSq_detectOk",
6375
+ "channelDanger": "zmjoSq_channelDanger",
6376
+ "modelCatalogHead": "zmjoSq_modelCatalogHead",
6377
+ "sectionHeader": "zmjoSq_sectionHeader",
6378
+ "modelArrow": "zmjoSq_modelArrow",
6379
+ "channelName": "zmjoSq_channelName",
6380
+ "customSettingsBody": "zmjoSq_customSettingsBody",
6381
+ "customSettings": "zmjoSq_customSettings",
6382
+ "linkButton": "zmjoSq_linkButton",
6383
+ "failed": "zmjoSq_failed",
6384
+ "field": "zmjoSq_field",
6385
+ "channelMeta": "zmjoSq_channelMeta",
6386
+ "channelAdd": "zmjoSq_channelAdd",
6387
+ "channelDotWarn": "zmjoSq_channelDotWarn",
6306
6388
  "candidateId": "zmjoSq_candidateId",
6307
- "modelRowRemove": "zmjoSq_modelRowRemove",
6308
- "candidatePanel": "zmjoSq_candidatePanel"
6389
+ "channelEmpty": "zmjoSq_channelEmpty",
6390
+ "channelBadge": "zmjoSq_channelBadge",
6391
+ "editorHeader": "zmjoSq_editorHeader"
6309
6392
  };
6310
6393
  //#endregion
6311
6394
  //#region src/client/SettingsCard.tsx
@@ -7321,17 +7404,17 @@ window.__ModuleLoader__.load({
7321
7404
  document.head.appendChild(tag);
7322
7405
  }
7323
7406
  var audio_toolview_module_css_default = {
7324
- "header": "_7K1QKa_header",
7325
7407
  "message": "_7K1QKa_message",
7326
- "download": "_7K1QKa_download",
7327
- "error": "_7K1QKa_error",
7328
- "audio": "_7K1QKa_audio",
7329
7408
  "audios": "_7K1QKa_audios",
7330
- "empty": "_7K1QKa_empty",
7331
- "status": "_7K1QKa_status",
7332
- "root": "_7K1QKa_root",
7409
+ "audio": "_7K1QKa_audio",
7410
+ "error": "_7K1QKa_error",
7411
+ "audioRow": "_7K1QKa_audioRow",
7412
+ "download": "_7K1QKa_download",
7333
7413
  "icon": "_7K1QKa_icon",
7334
- "audioRow": "_7K1QKa_audioRow"
7414
+ "header": "_7K1QKa_header",
7415
+ "root": "_7K1QKa_root",
7416
+ "empty": "_7K1QKa_empty",
7417
+ "status": "_7K1QKa_status"
7335
7418
  };
7336
7419
  //#endregion
7337
7420
  //#region src/client/audio-toolview.tsx