dsh-audiogen 0.4.3 → 0.4.4
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 +530 -356
- package/lib/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client/api.ts +7 -0
- package/src/client/audio-panel.module.css +100 -2
- package/src/client/studio-view.tsx +133 -5
- package/src/protocol.ts +1 -1
package/lib/client.js
CHANGED
|
@@ -68,6 +68,11 @@ window.__ModuleLoader__.load({
|
|
|
68
68
|
const body = await (await postJson(HISTORY_API.list, {})).json();
|
|
69
69
|
return body.ok === true ? body.history ?? [] : [];
|
|
70
70
|
}
|
|
71
|
+
/** 删除一条历史记录(返回删后的列表)。 */
|
|
72
|
+
async removeHistory(id) {
|
|
73
|
+
const body = await (await postJson(HISTORY_API.remove, { id })).json();
|
|
74
|
+
return body.ok === true ? body.history ?? [] : [];
|
|
75
|
+
}
|
|
71
76
|
async clearHistory() {
|
|
72
77
|
await postJson(HISTORY_API.clear, {});
|
|
73
78
|
}
|
|
@@ -1138,7 +1143,7 @@ window.__ModuleLoader__.load({
|
|
|
1138
1143
|
}
|
|
1139
1144
|
//#endregion
|
|
1140
1145
|
//#region \0dsh-css:/Users/shimingming/Projects_code/dsh-audiogen/src/client/audio-panel.module.css.mjs
|
|
1141
|
-
const css$4 = ".Oo1fpq_panel{background:var(--dsw-alias-bg-base,#f7f7f8);min-width:0;height:100%;min-height:0;color:var(--dsw-alias-label-primary,#1f2328);font-family:var(--dsw-font-family,system-ui, sans-serif);flex-direction:column;gap:12px;padding:14px 16px 16px;display:flex;position:relative}.Oo1fpq_panel,.Oo1fpq_panel *,.Oo1fpq_panel :before,.Oo1fpq_panel :after{box-sizing:border-box}.Oo1fpq_header{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.Oo1fpq_title{color:var(--dsw-alias-label-primary,#1f2328);white-space:nowrap;margin:0;font-size:16px;font-weight:700}.Oo1fpq_tabs{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f3f4f6);border-radius:10px;align-items:center;gap:2px;padding:3px;display:inline-flex}.Oo1fpq_tab{min-height:27px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 12px;font-family:inherit;font-size:12.5px;transition:color .12s,background .12s;display:inline-flex}.Oo1fpq_tab:hover{color:var(--dsw-alias-label-primary,#1f2328)}.Oo1fpq_tab[data-active=true]{color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-1,#fff);font-weight:600;box-shadow:0 1px 3px #0000001a}.Oo1fpq_studio{flex:1;gap:14px;min-width:0;min-height:0;display:flex}.Oo1fpq_formCol{scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l2) transparent;flex-direction:column;flex:none;gap:11px;width:300px;min-width:260px;max-width:340px;min-height:0;padding:2px;display:flex;overflow-y:auto}.Oo1fpq_formCol::-webkit-scrollbar{width:8px}.Oo1fpq_formCol::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l2);border-radius:999px}.Oo1fpq_modeRow{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.Oo1fpq_modeButton{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-1,#fff);min-height:34px;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;padding:6px 4px;font-family:inherit;font-size:11.5px;transition:border-color .12s,color .12s,background .12s;display:flex}.Oo1fpq_modeButton:hover{border-color:var(--dsw-alias-label-dimmed,#9ca3af);color:var(--dsw-alias-label-primary,#1f2328)}.Oo1fpq_modeButton[data-active=true]{border-color:var(--dsw-alias-brand-primary,#2563eb);color:var(--dsw-alias-brand-primary,#2563eb);background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 8%, transparent);font-weight:600}.Oo1fpq_label{color:var(--dsw-alias-label-secondary,#6b7280);flex-direction:column;gap:5px;font-size:12px;font-weight:600;display:flex}.Oo1fpq_input,.Oo1fpq_textarea{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-2,#fff);width:100%;min-height:36px;color:var(--dsw-alias-label-primary,#1f2328);border-radius:9px;outline:none;padding:7px 10px;font-family:inherit;font-size:13px;transition:border-color .12s,box-shadow .12s}.Oo1fpq_input:focus,.Oo1fpq_textarea:focus{border-color:var(--dsw-alias-brand-primary,#2563eb);box-shadow:0 0 0 3px color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 14%, transparent)}.Oo1fpq_textarea{resize:vertical;min-height:96px}.Oo1fpq_checkbox{color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;align-items:center;gap:7px;font-size:12px;font-weight:600;display:flex}.Oo1fpq_checkbox input{accent-color:var(--dsw-alias-brand-primary,#2563eb);margin:0}.Oo1fpq_hint{color:var(--dsw-alias-label-tertiary,#9ca3af);margin:0;font-size:11.5px;line-height:1.55}.Oo1fpq_row{align-items:flex-end;gap:8px;display:flex}.Oo1fpq_row .Oo1fpq_label{flex:1;min-width:0}.Oo1fpq_advanced{border:1px dashed var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-1,#fff);border-radius:10px;flex-direction:column;gap:9px;padding:9px 11px;display:flex}.Oo1fpq_advanced summary{cursor:pointer;color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;font-weight:600}.Oo1fpq_generate{background:var(--dsw-alias-label-primary,#1f2328);color:var(--dsw-alias-bg-layer-3,#fff);cursor:pointer;border:0;border-radius:10px;padding:10px 14px;font-family:inherit;font-size:13px;font-weight:600;transition:opacity .12s,transform 80ms}.Oo1fpq_generate:hover:not(:disabled){opacity:.92}.Oo1fpq_generate:active:not(:disabled){transform:translateY(1px)}.Oo1fpq_generate:disabled{opacity:.5;cursor:default}.Oo1fpq_resultCol{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-1,#fff);scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l2) transparent;border-radius:12px;flex-direction:column;flex:1;gap:10px;min-width:0;padding:14px;display:flex;overflow-y:auto}.Oo1fpq_resultCol::-webkit-scrollbar{width:8px}.Oo1fpq_resultCol::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l2);border-radius:999px}.Oo1fpq_resultEmpty{text-align:center;color:var(--dsw-alias-label-secondary,#6b7280);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;font-size:13px;display:flex}.Oo1fpq_resultEmptyIcon{background:var(--dsw-alias-bg-layer-2,#f3f4f6);border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:4px;font-size:24px;display:inline-flex}.Oo1fpq_resultEmptyHint{color:var(--dsw-alias-label-tertiary,#9ca3af);margin:0;font-size:11.5px}.Oo1fpq_error{border:1px solid var(--dsw-alias-label-error,#b91c1c);background:color-mix(in srgb, var(--dsw-alias-label-error,#b91c1c) 6%, transparent);color:var(--dsw-alias-label-error,#b91c1c);border-radius:9px;flex:none;margin:0;padding:9px 12px;font-size:12.5px;line-height:1.55}.Oo1fpq_resultMeta{color:var(--dsw-alias-label-tertiary,#9ca3af);flex:none;align-items:center;gap:8px;font-size:12px;display:flex}.Oo1fpq_resultModeChip{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f3f4f6);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:999px;padding:2px 9px;font-size:11px}.Oo1fpq_audioList{gap:10px;display:grid}.Oo1fpq_audioCard{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f7f7f8);border-radius:12px;flex-direction:column;gap:8px;padding:12px;transition:border-color .12s;display:flex}.Oo1fpq_audioCard[data-saved=true]{border-color:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 42%, var(--dsw-alias-border-l1,#e5e7eb));background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 5%, var(--dsw-alias-bg-layer-2,#f7f7f8))}.Oo1fpq_audioCardHead{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.Oo1fpq_voiceIdChip{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-1,#fff);max-width:100%;color:var(--dsw-alias-label-secondary,#6b7280);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:2px 9px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;overflow:hidden}.Oo1fpq_savedChip{background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 12%, transparent);color:var(--dsw-alias-brand-primary,#2563eb);border-radius:999px;align-items:center;gap:5px;padding:2px 9px;font-size:11px;font-weight:600;display:inline-flex}.Oo1fpq_audioCardIndex{color:var(--dsw-alias-label-tertiary,#9ca3af);font-variant-numeric:tabular-nums;margin-left:auto;font-size:11px}.Oo1fpq_audioCardActions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.Oo1fpq_ghostButton{border:1px solid var(--dsw-alias-border-l2,#d1d5db);min-height:27px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:5px;padding:3px 11px;font-family:inherit;font-size:12px;text-decoration:none;transition:color .12s,border-color .12s,background .12s;display:inline-flex}.Oo1fpq_ghostButton:hover{color:var(--dsw-alias-brand-primary,#2563eb);border-color:var(--dsw-alias-brand-primary,#2563eb);background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 8%, transparent)}.Oo1fpq_compareBox{border:1px dashed var(--dsw-alias-brand-primary,#2563eb);background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 4%, var(--dsw-alias-bg-layer-1,#fff));border-radius:10px;flex-direction:column;gap:7px;padding:9px 11px;display:flex}.Oo1fpq_compareChips{flex-wrap:wrap;gap:6px;display:flex}.Oo1fpq_compareChip{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-1,#fff);min-height:27px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;border-radius:999px;align-items:center;padding:0 11px;font-family:inherit;font-size:12px;transition:color .12s,border-color .12s,background .12s;display:inline-flex}.Oo1fpq_compareChip:hover{color:var(--dsw-alias-label-primary,#1f2328);border-color:var(--dsw-alias-label-dimmed,#9ca3af)}.Oo1fpq_compareChip[data-active=true]{color:var(--dsw-alias-brand-primary,#2563eb);border-color:var(--dsw-alias-brand-primary,#2563eb);background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 9%, transparent);font-weight:600}.Oo1fpq_compareBoard{flex-direction:column;gap:12px;display:flex}.Oo1fpq_compareGroup{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f7f7f8);border-radius:12px;flex-direction:column;gap:8px;padding:11px;display:flex}.Oo1fpq_compareGroup[data-state=running]{border-color:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 45%, var(--dsw-alias-border-l1,#e5e7eb))}.Oo1fpq_compareGroup[data-state=done]{border-color:color-mix(in srgb, #10b981 45%, var(--dsw-alias-border-l1,#e5e7eb))}.Oo1fpq_compareGroup[data-state=error]{border-color:color-mix(in srgb, var(--dsw-alias-label-error,#b91c1c) 45%, var(--dsw-alias-border-l1,#e5e7eb))}.Oo1fpq_compareGroupHead{justify-content:space-between;align-items:center;gap:10px;display:flex}.Oo1fpq_compareModelName{background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l1,#e5e7eb);color:var(--dsw-alias-label-primary,#1f2328);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;overflow:hidden}.Oo1fpq_compareState{color:var(--dsw-alias-label-tertiary,#9ca3af);white-space:nowrap;align-items:center;gap:5px;font-size:11px;display:inline-flex}.Oo1fpq_compareGroup[data-state=running] .Oo1fpq_compareState{color:var(--dsw-alias-brand-primary,#2563eb)}.Oo1fpq_compareGroup[data-state=done] .Oo1fpq_compareState{color:#059669}.Oo1fpq_compareGroup[data-state=error] .Oo1fpq_compareState,.Oo1fpq_hint[data-error]{color:var(--dsw-alias-label-error,#b91c1c)}.Oo1fpq_historyCol{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-1,#fff);border-radius:12px;flex-direction:column;flex:none;width:250px;min-width:210px;max-width:290px;min-height:0;display:flex;overflow:hidden}.Oo1fpq_historyHeader{border-bottom:1px solid var(--dsw-alias-border-l1,#e5e7eb);flex:none;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.Oo1fpq_historyTitle{color:var(--dsw-alias-label-primary,#1f2328);font-size:13px;font-weight:700}.Oo1fpq_historyClear{border:1px solid var(--dsw-alias-border-l2,#d1d5db);color:var(--dsw-alias-label-tertiary,#9ca3af);cursor:pointer;background:0 0;border-radius:999px;padding:2px 9px;font-family:inherit;font-size:11px}.Oo1fpq_historyClear:hover{color:var(--dsw-alias-label-error,#b91c1c);border-color:var(--dsw-alias-label-error,#b91c1c)}.Oo1fpq_historyList{scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l2) transparent;flex-direction:column;flex:1;gap:8px;min-height:0;padding:9px;display:flex;overflow-y:auto}.Oo1fpq_historyList::-webkit-scrollbar{width:8px}.Oo1fpq_historyList::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l2);border-radius:999px}.Oo1fpq_historyEmpty{text-align:center;color:var(--dsw-alias-label-tertiary,#9ca3af);flex:1;justify-content:center;align-items:center;padding:18px;font-size:12px;display:flex}.Oo1fpq_historyItem{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f7f7f8);border-radius:10px;flex-direction:column;gap:6px;padding:9px;display:flex}.Oo1fpq_historyPrompt{color:var(--dsw-alias-label-primary,#1f2328);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.Oo1fpq_historyMeta{color:var(--dsw-alias-label-tertiary,#9ca3af);white-space:nowrap;text-overflow:ellipsis;font-size:10.5px;overflow:hidden}.Oo1fpq_historyActions{justify-content:flex-end;display:flex}.Oo1fpq_historyAction{border:1px solid var(--dsw-alias-border-l2,#d1d5db);color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:4px;padding:2px 9px;font-family:inherit;font-size:11px;display:inline-flex}.Oo1fpq_historyAction:hover{color:var(--dsw-alias-brand-primary,#2563eb);border-color:var(--dsw-alias-brand-primary,#2563eb)}.Oo1fpq_player{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-1,#fff);border-radius:10px;align-items:center;gap:9px;padding:8px 10px;display:flex}.Oo1fpq_playerCompact{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-1,#fff);border-radius:9px;align-items:center;gap:8px;padding:6px 8px;display:flex}.Oo1fpq_playButton{background:var(--dsw-alias-label-primary,#1f2328);width:30px;height:30px;color:var(--dsw-alias-bg-layer-3,#fff);cursor:pointer;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;transition:opacity .12s,transform 80ms;display:inline-flex}.Oo1fpq_playerCompact .Oo1fpq_playButton{width:26px;height:26px}.Oo1fpq_playButton:hover{opacity:.9}.Oo1fpq_playButton:active{transform:scale(.94)}.Oo1fpq_track{background:var(--dsw-alias-border-l2,#d1d5db);cursor:pointer;border-radius:999px;flex:1;min-width:0;height:4px;position:relative}.Oo1fpq_trackFill{background:var(--dsw-alias-brand-primary,#2563eb);border-radius:999px;position:absolute;inset:0 auto 0 0}.Oo1fpq_trackKnob{background:var(--dsw-alias-brand-primary,#2563eb);border-radius:50%;width:11px;height:11px;transition:transform .1s;position:absolute;top:50%;transform:translate(-50%,-50%)}.Oo1fpq_time{font-variant-numeric:tabular-nums;min-width:62px;color:var(--dsw-alias-label-tertiary,#9ca3af);white-space:nowrap;text-align:right;flex:none;font-size:10.5px}.Oo1fpq_playerCompact .Oo1fpq_time{min-width:56px;font-size:10px}.Oo1fpq_muteButton{width:24px;height:24px;color:var(--dsw-alias-label-tertiary,#9ca3af);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;display:inline-flex}.Oo1fpq_muteButton:hover{color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-2,#f3f4f6)}.Oo1fpq_modalMask{z-index:200;backdrop-filter:blur(3px);background:#0006;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.Oo1fpq_modal{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-1,#fff);border-radius:14px;flex-direction:column;gap:12px;width:440px;max-width:100%;max-height:calc(100vh - 40px);padding:16px;display:flex;box-shadow:0 18px 50px #00000038}.Oo1fpq_modalHead{color:var(--dsw-alias-label-primary,#1f2328);justify-content:space-between;align-items:center;gap:10px;font-size:14px;display:flex}.Oo1fpq_modalBody{flex-direction:column;gap:11px;min-height:0;display:flex;overflow-y:auto}.Oo1fpq_formRow{grid-template-columns:1fr 1fr;gap:10px;display:grid}.Oo1fpq_modalFoot{justify-content:flex-end;align-items:center;gap:8px;display:flex}.Oo1fpq_primaryButton{background:var(--dsw-alias-label-primary,#1f2328);min-height:32px;color:var(--dsw-alias-bg-layer-3,#fff);cursor:pointer;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 14px;font-family:inherit;font-size:12.5px;font-weight:600;display:inline-flex}.Oo1fpq_primaryButton:disabled{opacity:.5;cursor:default}.Oo1fpq_secondaryButton{border:1px solid var(--dsw-alias-border-l2,#d1d5db);min-height:32px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border-radius:8px;padding:0 14px;font-family:inherit;font-size:12.5px}.Oo1fpq_secondaryButton:hover{color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-2,#f3f4f6)}.Oo1fpq_iconButton{width:26px;height:26px;color:var(--dsw-alias-label-tertiary,#9ca3af);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;justify-content:center;align-items:center;font-size:16px;line-height:1;display:inline-flex}.Oo1fpq_iconButton:hover{color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-2,#f3f4f6)}.Oo1fpq_toast{z-index:150;border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-mask-1,#fff);color:var(--dsw-alias-label-primary,#1f2328);backdrop-filter:blur(6px);pointer-events:none;border-radius:999px;align-items:center;gap:7px;padding:7px 16px;font-size:12.5px;animation:.16s ease-out Oo1fpq_audiogenToastIn;display:inline-flex;position:absolute;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000038}@keyframes Oo1fpq_audiogenToastIn{0%{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){.Oo1fpq_toast{animation-duration:1ms}}.Oo1fpq_modelCheckList{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-3,#fff);border-radius:8px;flex-direction:column;gap:4px;max-height:180px;padding:8px;display:flex;overflow-y:auto}.Oo1fpq_resultGroups{flex-direction:column;gap:16px;display:flex}.Oo1fpq_resultGroup{flex-direction:column;gap:8px;display:flex}.Oo1fpq_resultGroupHead{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.Oo1fpq_resultGroupChip{background:var(--dsw-alias-bg-hover,#f3f4f6);border:1px solid var(--dsw-alias-border-l2,#d1d5db);color:var(--dsw-alias-label-primary,#1f2328);border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600}.Oo1fpq_resultGroupError{color:#dc2626;font-size:12px}.Oo1fpq_resultGroupCount{color:var(--dsw-alias-label-tertiary,#9ca3af);font-size:11px}.Oo1fpq_overrideTable{flex-direction:column;gap:6px;display:flex}.Oo1fpq_overrideRow{align-items:center;gap:6px;display:flex}.Oo1fpq_overrideCell{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:12px;font-weight:500;overflow:hidden}.Oo1fpq_overrideCell .Oo1fpq_input{min-height:30px;padding:5px 8px}.Oo1fpq_overrideCellHead{color:var(--dsw-alias-label-primary,#1f2328);white-space:normal;font-weight:700}.Oo1fpq_taskList{flex-direction:column;gap:14px;display:flex}.Oo1fpq_taskCard{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-2,#fafafa);border-radius:10px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.Oo1fpq_taskCard[data-state=failed]{border-color:#dc2626}.Oo1fpq_taskCard[data-state=cancelled]{opacity:.75}.Oo1fpq_taskHead{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.Oo1fpq_taskLabel{color:var(--dsw-alias-label-primary,#1f2328);text-overflow:ellipsis;white-space:nowrap;max-width:200px;font-size:13px;font-weight:600;overflow:hidden}.Oo1fpq_taskStatus{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px}.Oo1fpq_taskStatus[data-state=done]{color:#16a34a}.Oo1fpq_taskStatus[data-state=failed]{color:#dc2626}.Oo1fpq_taskActions{gap:6px;margin-left:auto;display:flex}.Oo1fpq_historyTabs{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.Oo1fpq_historyTab{border:1px solid var(--dsw-alias-border-l2,#d1d5db);cursor:pointer;background:var(--dsw-alias-bg-layer-3,#fff);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:999px;padding:3px 10px;font-size:12px}.Oo1fpq_historyTab[data-active=true]{background:var(--dsw-alias-bg-hover,#f3f4f6);color:var(--dsw-alias-label-primary,#1f2328);font-weight:600}.Oo1fpq_historyTabCount{color:var(--dsw-alias-label-tertiary,#9ca3af);margin-left:4px;font-size:11px}.Oo1fpq_historyCompareSummary{cursor:pointer;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.Oo1fpq_historyCompareBadge{color:#7c3aed;white-space:nowrap;background:#f5f3ff;border:1px solid #ddd6fe;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:600}.Oo1fpq_historyModelRow{border-top:1px dashed var(--dsw-alias-border-l1,#e5e7eb);flex-direction:column;gap:4px;margin-top:8px;padding-top:8px;display:flex}.Oo1fpq_overrideOnly{color:var(--dsw-alias-label-tertiary,#9ca3af);font-size:10px;font-weight:500}.Oo1fpq_overrideDash{color:var(--dsw-alias-label-tertiary,#9ca3af);padding:0 6px}";
|
|
1146
|
+
const css$4 = ".Oo1fpq_panel{background:var(--dsw-alias-bg-base,#f7f7f8);min-width:0;height:100%;min-height:0;color:var(--dsw-alias-label-primary,#1f2328);font-family:var(--dsw-font-family,system-ui, sans-serif);flex-direction:column;gap:12px;padding:14px 16px 16px;display:flex;position:relative}.Oo1fpq_panel,.Oo1fpq_panel *,.Oo1fpq_panel :before,.Oo1fpq_panel :after{box-sizing:border-box}.Oo1fpq_header{flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex}.Oo1fpq_title{color:var(--dsw-alias-label-primary,#1f2328);white-space:nowrap;margin:0;font-size:16px;font-weight:700}.Oo1fpq_tabs{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f3f4f6);border-radius:10px;align-items:center;gap:2px;padding:3px;display:inline-flex}.Oo1fpq_tab{min-height:27px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 12px;font-family:inherit;font-size:12.5px;transition:color .12s,background .12s;display:inline-flex}.Oo1fpq_tab:hover{color:var(--dsw-alias-label-primary,#1f2328)}.Oo1fpq_tab[data-active=true]{color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-1,#fff);font-weight:600;box-shadow:0 1px 3px #0000001a}.Oo1fpq_studio{flex:1;gap:14px;min-width:0;min-height:0;display:flex}.Oo1fpq_formCol{scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l2) transparent;flex-direction:column;flex:none;gap:11px;width:300px;min-width:260px;max-width:340px;min-height:0;padding:2px;display:flex;overflow-y:auto}.Oo1fpq_formCol::-webkit-scrollbar{width:8px}.Oo1fpq_formCol::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l2);border-radius:999px}.Oo1fpq_modeRow{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.Oo1fpq_modeButton{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-1,#fff);min-height:34px;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;cursor:pointer;border-radius:9px;justify-content:center;align-items:center;padding:6px 4px;font-family:inherit;font-size:11.5px;transition:border-color .12s,color .12s,background .12s;display:flex}.Oo1fpq_modeButton:hover{border-color:var(--dsw-alias-label-dimmed,#9ca3af);color:var(--dsw-alias-label-primary,#1f2328)}.Oo1fpq_modeButton[data-active=true]{border-color:var(--dsw-alias-brand-primary,#2563eb);color:var(--dsw-alias-brand-primary,#2563eb);background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 8%, transparent);font-weight:600}.Oo1fpq_label{color:var(--dsw-alias-label-secondary,#6b7280);flex-direction:column;gap:5px;font-size:12px;font-weight:600;display:flex}.Oo1fpq_input,.Oo1fpq_textarea{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-2,#fff);width:100%;min-height:36px;color:var(--dsw-alias-label-primary,#1f2328);border-radius:9px;outline:none;padding:7px 10px;font-family:inherit;font-size:13px;transition:border-color .12s,box-shadow .12s}.Oo1fpq_input:focus,.Oo1fpq_textarea:focus{border-color:var(--dsw-alias-brand-primary,#2563eb);box-shadow:0 0 0 3px color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 14%, transparent)}.Oo1fpq_textarea{resize:vertical;min-height:96px}.Oo1fpq_checkbox{color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;align-items:center;gap:7px;font-size:12px;font-weight:600;display:flex}.Oo1fpq_checkbox input{accent-color:var(--dsw-alias-brand-primary,#2563eb);margin:0}.Oo1fpq_hint{color:var(--dsw-alias-label-tertiary,#9ca3af);margin:0;font-size:11.5px;line-height:1.55}.Oo1fpq_row{align-items:flex-end;gap:8px;display:flex}.Oo1fpq_row .Oo1fpq_label{flex:1;min-width:0}.Oo1fpq_advanced{border:1px dashed var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-1,#fff);border-radius:10px;flex-direction:column;gap:9px;padding:9px 11px;display:flex}.Oo1fpq_advanced summary{cursor:pointer;color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px;font-weight:600}.Oo1fpq_generate{background:var(--dsw-alias-label-primary,#1f2328);color:var(--dsw-alias-bg-layer-3,#fff);cursor:pointer;border:0;border-radius:10px;padding:10px 14px;font-family:inherit;font-size:13px;font-weight:600;transition:opacity .12s,transform 80ms}.Oo1fpq_generate:hover:not(:disabled){opacity:.92}.Oo1fpq_generate:active:not(:disabled){transform:translateY(1px)}.Oo1fpq_generate:disabled{opacity:.5;cursor:default}.Oo1fpq_resultCol{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-1,#fff);scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l2) transparent;border-radius:12px;flex-direction:column;flex:1;gap:10px;min-width:0;padding:14px;display:flex;overflow-y:auto}.Oo1fpq_resultCol::-webkit-scrollbar{width:8px}.Oo1fpq_resultCol::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l2);border-radius:999px}.Oo1fpq_resultEmpty{text-align:center;color:var(--dsw-alias-label-secondary,#6b7280);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:6px;font-size:13px;display:flex}.Oo1fpq_resultEmptyIcon{background:var(--dsw-alias-bg-layer-2,#f3f4f6);border-radius:50%;justify-content:center;align-items:center;width:52px;height:52px;margin-bottom:4px;font-size:24px;display:inline-flex}.Oo1fpq_resultEmptyHint{color:var(--dsw-alias-label-tertiary,#9ca3af);margin:0;font-size:11.5px}.Oo1fpq_error{border:1px solid var(--dsw-alias-label-error,#b91c1c);background:color-mix(in srgb, var(--dsw-alias-label-error,#b91c1c) 6%, transparent);color:var(--dsw-alias-label-error,#b91c1c);border-radius:9px;flex:none;margin:0;padding:9px 12px;font-size:12.5px;line-height:1.55}.Oo1fpq_resultMeta{color:var(--dsw-alias-label-tertiary,#9ca3af);flex:none;align-items:center;gap:8px;font-size:12px;display:flex}.Oo1fpq_resultModeChip{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f3f4f6);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:999px;padding:2px 9px;font-size:11px}.Oo1fpq_audioList{gap:10px;display:grid}.Oo1fpq_audioCard{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f7f7f8);border-radius:12px;flex-direction:column;gap:8px;padding:12px;transition:border-color .12s;display:flex}.Oo1fpq_audioCard[data-saved=true]{border-color:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 42%, var(--dsw-alias-border-l1,#e5e7eb));background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 5%, var(--dsw-alias-bg-layer-2,#f7f7f8))}.Oo1fpq_audioCardHead{flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.Oo1fpq_voiceIdChip{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-1,#fff);max-width:100%;color:var(--dsw-alias-label-secondary,#6b7280);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:2px 9px;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10.5px;overflow:hidden}.Oo1fpq_savedChip{background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 12%, transparent);color:var(--dsw-alias-brand-primary,#2563eb);border-radius:999px;align-items:center;gap:5px;padding:2px 9px;font-size:11px;font-weight:600;display:inline-flex}.Oo1fpq_audioCardIndex{color:var(--dsw-alias-label-tertiary,#9ca3af);font-variant-numeric:tabular-nums;margin-left:auto;font-size:11px}.Oo1fpq_audioCardActions{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.Oo1fpq_ghostButton{border:1px solid var(--dsw-alias-border-l2,#d1d5db);min-height:27px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:5px;padding:3px 11px;font-family:inherit;font-size:12px;text-decoration:none;transition:color .12s,border-color .12s,background .12s;display:inline-flex}.Oo1fpq_ghostButton:hover{color:var(--dsw-alias-brand-primary,#2563eb);border-color:var(--dsw-alias-brand-primary,#2563eb);background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 8%, transparent)}.Oo1fpq_compareBox{border:1px dashed var(--dsw-alias-brand-primary,#2563eb);background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 4%, var(--dsw-alias-bg-layer-1,#fff));border-radius:10px;flex-direction:column;gap:7px;padding:9px 11px;display:flex}.Oo1fpq_compareChips{flex-wrap:wrap;gap:6px;display:flex}.Oo1fpq_compareChip{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-1,#fff);min-height:27px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;border-radius:999px;align-items:center;padding:0 11px;font-family:inherit;font-size:12px;transition:color .12s,border-color .12s,background .12s;display:inline-flex}.Oo1fpq_compareChip:hover{color:var(--dsw-alias-label-primary,#1f2328);border-color:var(--dsw-alias-label-dimmed,#9ca3af)}.Oo1fpq_compareChip[data-active=true]{color:var(--dsw-alias-brand-primary,#2563eb);border-color:var(--dsw-alias-brand-primary,#2563eb);background:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 9%, transparent);font-weight:600}.Oo1fpq_compareBoard{flex-direction:column;gap:12px;display:flex}.Oo1fpq_compareGroup{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f7f7f8);border-radius:12px;flex-direction:column;gap:8px;padding:11px;display:flex}.Oo1fpq_compareGroup[data-state=running]{border-color:color-mix(in srgb, var(--dsw-alias-brand-primary,#2563eb) 45%, var(--dsw-alias-border-l1,#e5e7eb))}.Oo1fpq_compareGroup[data-state=done]{border-color:color-mix(in srgb, #10b981 45%, var(--dsw-alias-border-l1,#e5e7eb))}.Oo1fpq_compareGroup[data-state=error]{border-color:color-mix(in srgb, var(--dsw-alias-label-error,#b91c1c) 45%, var(--dsw-alias-border-l1,#e5e7eb))}.Oo1fpq_compareGroupHead{justify-content:space-between;align-items:center;gap:10px;display:flex}.Oo1fpq_compareModelName{background:var(--dsw-alias-bg-layer-1,#fff);border:1px solid var(--dsw-alias-border-l1,#e5e7eb);color:var(--dsw-alias-label-primary,#1f2328);text-overflow:ellipsis;white-space:nowrap;border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600;overflow:hidden}.Oo1fpq_compareState{color:var(--dsw-alias-label-tertiary,#9ca3af);white-space:nowrap;align-items:center;gap:5px;font-size:11px;display:inline-flex}.Oo1fpq_compareGroup[data-state=running] .Oo1fpq_compareState{color:var(--dsw-alias-brand-primary,#2563eb)}.Oo1fpq_compareGroup[data-state=done] .Oo1fpq_compareState{color:#059669}.Oo1fpq_compareGroup[data-state=error] .Oo1fpq_compareState,.Oo1fpq_hint[data-error]{color:var(--dsw-alias-label-error,#b91c1c)}.Oo1fpq_historyCol{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-1,#fff);border-radius:12px;flex-direction:column;flex:none;width:250px;min-width:210px;max-width:290px;min-height:0;display:flex;overflow:hidden}.Oo1fpq_historyHeader{border-bottom:1px solid var(--dsw-alias-border-l1,#e5e7eb);flex:none;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex}.Oo1fpq_historyTitle{color:var(--dsw-alias-label-primary,#1f2328);font-size:13px;font-weight:700}.Oo1fpq_historyClear{border:1px solid var(--dsw-alias-border-l2,#d1d5db);color:var(--dsw-alias-label-tertiary,#9ca3af);cursor:pointer;background:0 0;border-radius:999px;padding:2px 9px;font-family:inherit;font-size:11px}.Oo1fpq_historyClear:hover{color:var(--dsw-alias-label-error,#b91c1c);border-color:var(--dsw-alias-label-error,#b91c1c)}.Oo1fpq_historyList{scrollbar-width:thin;scrollbar-color:var(--dsw-alias-border-l2) transparent;flex-direction:column;flex:1;gap:8px;min-height:0;padding:9px;display:flex;overflow-y:auto}.Oo1fpq_historyList::-webkit-scrollbar{width:8px}.Oo1fpq_historyList::-webkit-scrollbar-thumb{background:var(--dsw-alias-border-l2);border-radius:999px}.Oo1fpq_historyEmpty{text-align:center;color:var(--dsw-alias-label-tertiary,#9ca3af);flex:1;justify-content:center;align-items:center;padding:18px;font-size:12px;display:flex}.Oo1fpq_historyItem{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#f7f7f8);border-radius:10px;flex-direction:column;gap:6px;padding:9px;display:flex}.Oo1fpq_historyPrompt{color:var(--dsw-alias-label-primary,#1f2328);-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:12px;line-height:1.45;display:-webkit-box;overflow:hidden}.Oo1fpq_historyMeta{color:var(--dsw-alias-label-tertiary,#9ca3af);white-space:nowrap;text-overflow:ellipsis;font-size:10.5px;overflow:hidden}.Oo1fpq_historyActions{justify-content:flex-end;display:flex}.Oo1fpq_historyAction{border:1px solid var(--dsw-alias-border-l2,#d1d5db);color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border-radius:999px;align-items:center;gap:4px;padding:2px 9px;font-family:inherit;font-size:11px;display:inline-flex}.Oo1fpq_historyAction:hover{color:var(--dsw-alias-brand-primary,#2563eb);border-color:var(--dsw-alias-brand-primary,#2563eb)}.Oo1fpq_player{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-1,#fff);border-radius:10px;align-items:center;gap:9px;padding:8px 10px;display:flex}.Oo1fpq_playerCompact{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-1,#fff);border-radius:9px;align-items:center;gap:8px;padding:6px 8px;display:flex}.Oo1fpq_playButton{background:var(--dsw-alias-label-primary,#1f2328);width:30px;height:30px;color:var(--dsw-alias-bg-layer-3,#fff);cursor:pointer;border:0;border-radius:50%;flex:none;justify-content:center;align-items:center;transition:opacity .12s,transform 80ms;display:inline-flex}.Oo1fpq_playerCompact .Oo1fpq_playButton{width:26px;height:26px}.Oo1fpq_playButton:hover{opacity:.9}.Oo1fpq_playButton:active{transform:scale(.94)}.Oo1fpq_track{background:var(--dsw-alias-border-l2,#d1d5db);cursor:pointer;border-radius:999px;flex:1;min-width:0;height:4px;position:relative}.Oo1fpq_trackFill{background:var(--dsw-alias-brand-primary,#2563eb);border-radius:999px;position:absolute;inset:0 auto 0 0}.Oo1fpq_trackKnob{background:var(--dsw-alias-brand-primary,#2563eb);border-radius:50%;width:11px;height:11px;transition:transform .1s;position:absolute;top:50%;transform:translate(-50%,-50%)}.Oo1fpq_time{font-variant-numeric:tabular-nums;min-width:62px;color:var(--dsw-alias-label-tertiary,#9ca3af);white-space:nowrap;text-align:right;flex:none;font-size:10.5px}.Oo1fpq_playerCompact .Oo1fpq_time{min-width:56px;font-size:10px}.Oo1fpq_muteButton{width:24px;height:24px;color:var(--dsw-alias-label-tertiary,#9ca3af);cursor:pointer;background:0 0;border:0;border-radius:6px;flex:none;justify-content:center;align-items:center;display:inline-flex}.Oo1fpq_muteButton:hover{color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-2,#f3f4f6)}.Oo1fpq_modalMask{z-index:200;backdrop-filter:blur(3px);background:#0006;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.Oo1fpq_modal{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-1,#fff);border-radius:14px;flex-direction:column;gap:12px;width:440px;max-width:100%;max-height:calc(100vh - 40px);padding:16px;display:flex;box-shadow:0 18px 50px #00000038}.Oo1fpq_modalHead{color:var(--dsw-alias-label-primary,#1f2328);justify-content:space-between;align-items:center;gap:10px;font-size:14px;display:flex}.Oo1fpq_modalBody{flex-direction:column;gap:11px;min-height:0;display:flex;overflow-y:auto}.Oo1fpq_formRow{grid-template-columns:1fr 1fr;gap:10px;display:grid}.Oo1fpq_modalFoot{justify-content:flex-end;align-items:center;gap:8px;display:flex}.Oo1fpq_primaryButton{background:var(--dsw-alias-label-primary,#1f2328);min-height:32px;color:var(--dsw-alias-bg-layer-3,#fff);cursor:pointer;border:0;border-radius:8px;align-items:center;gap:6px;padding:0 14px;font-family:inherit;font-size:12.5px;font-weight:600;display:inline-flex}.Oo1fpq_primaryButton:disabled{opacity:.5;cursor:default}.Oo1fpq_secondaryButton{border:1px solid var(--dsw-alias-border-l2,#d1d5db);min-height:32px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border-radius:8px;padding:0 14px;font-family:inherit;font-size:12.5px}.Oo1fpq_secondaryButton:hover{color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-2,#f3f4f6)}.Oo1fpq_iconButton{width:26px;height:26px;color:var(--dsw-alias-label-tertiary,#9ca3af);cursor:pointer;background:0 0;border:0;border-radius:7px;flex:none;justify-content:center;align-items:center;font-size:16px;line-height:1;display:inline-flex}.Oo1fpq_iconButton:hover{color:var(--dsw-alias-label-primary,#1f2328);background:var(--dsw-alias-bg-layer-2,#f3f4f6)}.Oo1fpq_toast{z-index:150;border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-mask-1,#fff);color:var(--dsw-alias-label-primary,#1f2328);backdrop-filter:blur(6px);pointer-events:none;border-radius:999px;align-items:center;gap:7px;padding:7px 16px;font-size:12.5px;animation:.16s ease-out Oo1fpq_audiogenToastIn;display:inline-flex;position:absolute;bottom:18px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #00000038}@keyframes Oo1fpq_audiogenToastIn{0%{opacity:0;transform:translate(-50%,6px)}to{opacity:1;transform:translate(-50%)}}@media (prefers-reduced-motion:reduce){.Oo1fpq_toast{animation-duration:1ms}}.Oo1fpq_modelCheckList{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-3,#fff);border-radius:8px;flex-direction:column;gap:4px;max-height:180px;padding:8px;display:flex;overflow-y:auto}.Oo1fpq_resultGroups{flex-direction:column;gap:16px;display:flex}.Oo1fpq_resultGroup{flex-direction:column;gap:8px;display:flex}.Oo1fpq_resultGroupHead{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.Oo1fpq_resultGroupChip{background:var(--dsw-alias-interactive-bg-hover-accent,#26314824);border:1px solid var(--dsw-alias-border-l2,#d1d5db);color:var(--dsw-alias-label-primary,#1f2328);border-radius:999px;padding:3px 10px;font-size:12px;font-weight:600}.Oo1fpq_resultGroupError{color:#dc2626;font-size:12px}.Oo1fpq_resultGroupCount{color:var(--dsw-alias-label-tertiary,#9ca3af);font-size:11px}.Oo1fpq_overrideTable{flex-direction:column;gap:6px;display:flex}.Oo1fpq_overrideRow{align-items:center;gap:6px;display:flex}.Oo1fpq_overrideCell{min-width:0;color:var(--dsw-alias-label-secondary,#6b7280);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:12px;font-weight:500;overflow:hidden}.Oo1fpq_overrideCell .Oo1fpq_input{min-height:30px;padding:5px 8px}.Oo1fpq_overrideCellHead{color:var(--dsw-alias-label-primary,#1f2328);white-space:normal;font-weight:700}.Oo1fpq_taskList{flex-direction:column;gap:14px;display:flex}.Oo1fpq_taskCard{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-2,#fafafa);border-radius:10px;flex-direction:column;gap:8px;padding:10px 12px;display:flex}.Oo1fpq_taskCard[data-state=failed]{border-color:#dc2626}.Oo1fpq_taskCard[data-state=cancelled]{opacity:.75}.Oo1fpq_taskHead{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.Oo1fpq_taskLabel{color:var(--dsw-alias-label-primary,#1f2328);text-overflow:ellipsis;white-space:nowrap;max-width:200px;font-size:13px;font-weight:600;overflow:hidden}.Oo1fpq_taskStatus{color:var(--dsw-alias-label-secondary,#6b7280);font-size:12px}.Oo1fpq_taskStatus[data-state=done]{color:#16a34a}.Oo1fpq_taskStatus[data-state=failed]{color:#dc2626}.Oo1fpq_taskActions{gap:6px;margin-left:auto;display:flex}.Oo1fpq_historyTabs{flex-wrap:wrap;gap:6px;margin-bottom:10px;display:flex}.Oo1fpq_historyTab{border:1px solid var(--dsw-alias-border-l2,#d1d5db);cursor:pointer;background:var(--dsw-alias-bg-layer-3,#fff);color:var(--dsw-alias-label-secondary,#6b7280);border-radius:999px;padding:3px 10px;font-size:12px}.Oo1fpq_historyTab[data-active=true]{background:var(--dsw-alias-interactive-bg-hover-accent,#26314824);color:var(--dsw-alias-label-primary,#1f2328);font-weight:600}.Oo1fpq_historyTabCount{color:var(--dsw-alias-label-tertiary,#9ca3af);margin-left:4px;font-size:11px}.Oo1fpq_historyCompareSummary{cursor:pointer;flex-wrap:wrap;align-items:center;gap:8px;display:flex}.Oo1fpq_historyCompareBadge{color:#7c3aed;white-space:nowrap;background:#f5f3ff;border:1px solid #ddd6fe;border-radius:999px;padding:1px 8px;font-size:11px;font-weight:600}.Oo1fpq_historyModelRow{border-top:1px dashed var(--dsw-alias-border-l1,#e5e7eb);flex-direction:column;gap:4px;margin-top:8px;padding-top:8px;display:flex}.Oo1fpq_overrideOnly{color:var(--dsw-alias-label-tertiary,#9ca3af);font-size:10px;font-weight:500}.Oo1fpq_overrideDash{color:var(--dsw-alias-label-tertiary,#9ca3af);padding:0 6px}.Oo1fpq_historyTime{color:var(--dsw-alias-label-tertiary,#9ca3af);white-space:nowrap;margin:2px 0;font-size:11px}.Oo1fpq_formSection{letter-spacing:.04em;color:var(--dsw-alias-label-tertiary,#9ca3af);border-bottom:1px solid var(--dsw-alias-border-l1,#e5e7eb);margin:10px 0 2px;padding-bottom:4px;font-size:11px;font-weight:700}.Oo1fpq_formFields{grid-template-columns:1fr 1fr;align-items:end;gap:10px;display:grid}.Oo1fpq_fieldCell{min-width:0}.Oo1fpq_fieldFull{grid-column:1/-1}.Oo1fpq_modeIcon{margin-right:4px;font-size:13px}.Oo1fpq_modeButton[data-active=true]{border-color:var(--dsw-alias-interactive-bg-hover-accent,#26314824);background:var(--dsw-alias-interactive-bg-hover-accent,#26314824);color:var(--dsw-alias-label-primary,#1f2328);font-weight:600}.Oo1fpq_taskBar{background:var(--dsw-alias-border-l1,#e5e7eb);border-radius:999px;flex:1;min-width:60px;height:4px;display:block;overflow:hidden}.Oo1fpq_taskBar i{background:var(--dsw-alias-interactive-bg-hover-accent,#26314859);border-radius:999px;height:100%;transition:width .3s;display:block}.Oo1fpq_historyIcon{width:26px;height:26px;color:var(--dsw-alias-label-secondary,#6b7280);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;font-size:14px;display:inline-flex}.Oo1fpq_historyIcon:hover{background:var(--dsw-alias-interactive-bg-hover-accent,#26314824);color:var(--dsw-alias-label-primary,#1f2328)}.Oo1fpq_historyIcon[title^=删除]:hover{color:#dc2626}.Oo1fpq_historyPrompt{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}";
|
|
1142
1147
|
const tagId$4 = "dsh-audiogen/audio-panel.module.css";
|
|
1143
1148
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
1144
1149
|
const tag = document.createElement("style");
|
|
@@ -1148,101 +1153,109 @@ window.__ModuleLoader__.load({
|
|
|
1148
1153
|
document.head.appendChild(tag);
|
|
1149
1154
|
}
|
|
1150
1155
|
var audio_panel_module_css_default = {
|
|
1156
|
+
"overrideCell": "Oo1fpq_overrideCell",
|
|
1157
|
+
"taskCard": "Oo1fpq_taskCard",
|
|
1158
|
+
"taskHead": "Oo1fpq_taskHead",
|
|
1159
|
+
"historyModelRow": "Oo1fpq_historyModelRow",
|
|
1160
|
+
"overrideOnly": "Oo1fpq_overrideOnly",
|
|
1161
|
+
"resultGroupCount": "Oo1fpq_resultGroupCount",
|
|
1162
|
+
"voiceIdChip": "Oo1fpq_voiceIdChip",
|
|
1163
|
+
"modelCheckList": "Oo1fpq_modelCheckList",
|
|
1151
1164
|
"input": "Oo1fpq_input",
|
|
1152
|
-
"
|
|
1153
|
-
"
|
|
1154
|
-
"
|
|
1155
|
-
"toast": "Oo1fpq_toast",
|
|
1156
|
-
"secondaryButton": "Oo1fpq_secondaryButton",
|
|
1157
|
-
"audioCardHead": "Oo1fpq_audioCardHead",
|
|
1158
|
-
"tabs": "Oo1fpq_tabs",
|
|
1159
|
-
"generate": "Oo1fpq_generate",
|
|
1160
|
-
"modal": "Oo1fpq_modal",
|
|
1161
|
-
"hint": "Oo1fpq_hint",
|
|
1165
|
+
"fieldFull": "Oo1fpq_fieldFull",
|
|
1166
|
+
"resultEmpty": "Oo1fpq_resultEmpty",
|
|
1167
|
+
"advanced": "Oo1fpq_advanced",
|
|
1162
1168
|
"primaryButton": "Oo1fpq_primaryButton",
|
|
1163
|
-
"
|
|
1164
|
-
"
|
|
1165
|
-
"
|
|
1166
|
-
"
|
|
1167
|
-
"
|
|
1169
|
+
"iconButton": "Oo1fpq_iconButton",
|
|
1170
|
+
"historyAction": "Oo1fpq_historyAction",
|
|
1171
|
+
"resultEmptyHint": "Oo1fpq_resultEmptyHint",
|
|
1172
|
+
"resultGroups": "Oo1fpq_resultGroups",
|
|
1173
|
+
"taskActions": "Oo1fpq_taskActions",
|
|
1174
|
+
"historyTab": "Oo1fpq_historyTab",
|
|
1175
|
+
"historyItem": "Oo1fpq_historyItem",
|
|
1176
|
+
"taskStatus": "Oo1fpq_taskStatus",
|
|
1177
|
+
"historyTabCount": "Oo1fpq_historyTabCount",
|
|
1178
|
+
"fieldCell": "Oo1fpq_fieldCell",
|
|
1179
|
+
"compareBox": "Oo1fpq_compareBox",
|
|
1180
|
+
"formRow": "Oo1fpq_formRow",
|
|
1181
|
+
"taskBar": "Oo1fpq_taskBar",
|
|
1182
|
+
"overrideTable": "Oo1fpq_overrideTable",
|
|
1168
1183
|
"trackKnob": "Oo1fpq_trackKnob",
|
|
1184
|
+
"audioCard": "Oo1fpq_audioCard",
|
|
1185
|
+
"historyCol": "Oo1fpq_historyCol",
|
|
1186
|
+
"historyCompareSummary": "Oo1fpq_historyCompareSummary",
|
|
1187
|
+
"resultGroup": "Oo1fpq_resultGroup",
|
|
1188
|
+
"modeIcon": "Oo1fpq_modeIcon",
|
|
1189
|
+
"ghostButton": "Oo1fpq_ghostButton",
|
|
1169
1190
|
"modalBody": "Oo1fpq_modalBody",
|
|
1170
|
-
"
|
|
1171
|
-
"
|
|
1172
|
-
"overrideCell": "Oo1fpq_overrideCell",
|
|
1173
|
-
"compareGroup": "Oo1fpq_compareGroup",
|
|
1174
|
-
"overrideCellHead": "Oo1fpq_overrideCellHead",
|
|
1175
|
-
"taskList": "Oo1fpq_taskList",
|
|
1191
|
+
"modalFoot": "Oo1fpq_modalFoot",
|
|
1192
|
+
"textarea": "Oo1fpq_textarea",
|
|
1176
1193
|
"modeButton": "Oo1fpq_modeButton",
|
|
1194
|
+
"historyActions": "Oo1fpq_historyActions",
|
|
1195
|
+
"hint": "Oo1fpq_hint",
|
|
1177
1196
|
"compareState": "Oo1fpq_compareState",
|
|
1178
|
-
"
|
|
1179
|
-
"
|
|
1197
|
+
"compareGroup": "Oo1fpq_compareGroup",
|
|
1198
|
+
"audioCardActions": "Oo1fpq_audioCardActions",
|
|
1180
1199
|
"modalMask": "Oo1fpq_modalMask",
|
|
1181
|
-
"
|
|
1182
|
-
"
|
|
1183
|
-
"
|
|
1200
|
+
"playerCompact": "Oo1fpq_playerCompact",
|
|
1201
|
+
"modal": "Oo1fpq_modal",
|
|
1202
|
+
"checkbox": "Oo1fpq_checkbox",
|
|
1203
|
+
"generate": "Oo1fpq_generate",
|
|
1204
|
+
"modalHead": "Oo1fpq_modalHead",
|
|
1205
|
+
"historyTitle": "Oo1fpq_historyTitle",
|
|
1206
|
+
"historyClear": "Oo1fpq_historyClear",
|
|
1207
|
+
"resultGroupHead": "Oo1fpq_resultGroupHead",
|
|
1208
|
+
"historyPrompt": "Oo1fpq_historyPrompt",
|
|
1209
|
+
"studio": "Oo1fpq_studio",
|
|
1210
|
+
"modeRow": "Oo1fpq_modeRow",
|
|
1184
1211
|
"muteButton": "Oo1fpq_muteButton",
|
|
1185
|
-
"
|
|
1186
|
-
"
|
|
1212
|
+
"historyTabs": "Oo1fpq_historyTabs",
|
|
1213
|
+
"historyTime": "Oo1fpq_historyTime",
|
|
1187
1214
|
"historyCompareBadge": "Oo1fpq_historyCompareBadge",
|
|
1188
|
-
"
|
|
1189
|
-
"
|
|
1190
|
-
"
|
|
1191
|
-
"
|
|
1192
|
-
"
|
|
1193
|
-
"
|
|
1215
|
+
"time": "Oo1fpq_time",
|
|
1216
|
+
"formSection": "Oo1fpq_formSection",
|
|
1217
|
+
"playButton": "Oo1fpq_playButton",
|
|
1218
|
+
"tabs": "Oo1fpq_tabs",
|
|
1219
|
+
"historyHeader": "Oo1fpq_historyHeader",
|
|
1220
|
+
"taskList": "Oo1fpq_taskList",
|
|
1221
|
+
"audiogenToastIn": "Oo1fpq_audiogenToastIn",
|
|
1222
|
+
"taskLabel": "Oo1fpq_taskLabel",
|
|
1223
|
+
"panel": "Oo1fpq_panel",
|
|
1224
|
+
"historyIcon": "Oo1fpq_historyIcon",
|
|
1225
|
+
"overrideCellHead": "Oo1fpq_overrideCellHead",
|
|
1226
|
+
"historyMeta": "Oo1fpq_historyMeta",
|
|
1194
1227
|
"header": "Oo1fpq_header",
|
|
1195
|
-
"
|
|
1196
|
-
"
|
|
1197
|
-
"
|
|
1198
|
-
"
|
|
1199
|
-
"historyItem": "Oo1fpq_historyItem",
|
|
1228
|
+
"resultGroupChip": "Oo1fpq_resultGroupChip",
|
|
1229
|
+
"formCol": "Oo1fpq_formCol",
|
|
1230
|
+
"error": "Oo1fpq_error",
|
|
1231
|
+
"resultMeta": "Oo1fpq_resultMeta",
|
|
1200
1232
|
"overrideDash": "Oo1fpq_overrideDash",
|
|
1201
|
-
"historyTabs": "Oo1fpq_historyTabs",
|
|
1202
|
-
"compareChips": "Oo1fpq_compareChips",
|
|
1203
|
-
"modalHead": "Oo1fpq_modalHead",
|
|
1204
|
-
"resultGroupHead": "Oo1fpq_resultGroupHead",
|
|
1205
|
-
"trackFill": "Oo1fpq_trackFill",
|
|
1206
|
-
"historyTab": "Oo1fpq_historyTab",
|
|
1207
1233
|
"compareModelName": "Oo1fpq_compareModelName",
|
|
1208
|
-
"
|
|
1209
|
-
"error": "Oo1fpq_error",
|
|
1234
|
+
"toast": "Oo1fpq_toast",
|
|
1210
1235
|
"label": "Oo1fpq_label",
|
|
1211
|
-
"
|
|
1212
|
-
"
|
|
1213
|
-
"
|
|
1214
|
-
"
|
|
1215
|
-
"
|
|
1216
|
-
"textarea": "Oo1fpq_textarea",
|
|
1217
|
-
"historyCol": "Oo1fpq_historyCol",
|
|
1218
|
-
"historyList": "Oo1fpq_historyList",
|
|
1219
|
-
"historyPrompt": "Oo1fpq_historyPrompt",
|
|
1220
|
-
"taskLabel": "Oo1fpq_taskLabel",
|
|
1236
|
+
"formFields": "Oo1fpq_formFields",
|
|
1237
|
+
"compareChip": "Oo1fpq_compareChip",
|
|
1238
|
+
"player": "Oo1fpq_player",
|
|
1239
|
+
"resultCol": "Oo1fpq_resultCol",
|
|
1240
|
+
"title": "Oo1fpq_title",
|
|
1221
1241
|
"track": "Oo1fpq_track",
|
|
1222
|
-
"
|
|
1223
|
-
"
|
|
1224
|
-
"
|
|
1225
|
-
"
|
|
1226
|
-
"
|
|
1242
|
+
"audioCardHead": "Oo1fpq_audioCardHead",
|
|
1243
|
+
"savedChip": "Oo1fpq_savedChip",
|
|
1244
|
+
"audioCardIndex": "Oo1fpq_audioCardIndex",
|
|
1245
|
+
"trackFill": "Oo1fpq_trackFill",
|
|
1246
|
+
"audioList": "Oo1fpq_audioList",
|
|
1247
|
+
"row": "Oo1fpq_row",
|
|
1227
1248
|
"compareBoard": "Oo1fpq_compareBoard",
|
|
1228
|
-
"
|
|
1229
|
-
"
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1232
|
-
"modalFoot": "Oo1fpq_modalFoot",
|
|
1249
|
+
"historyEmpty": "Oo1fpq_historyEmpty",
|
|
1250
|
+
"tab": "Oo1fpq_tab",
|
|
1251
|
+
"resultModeChip": "Oo1fpq_resultModeChip",
|
|
1252
|
+
"historyList": "Oo1fpq_historyList",
|
|
1233
1253
|
"resultEmptyIcon": "Oo1fpq_resultEmptyIcon",
|
|
1234
|
-
"
|
|
1235
|
-
"
|
|
1236
|
-
"modeRow": "Oo1fpq_modeRow",
|
|
1237
|
-
"resultEmpty": "Oo1fpq_resultEmpty",
|
|
1238
|
-
"taskCard": "Oo1fpq_taskCard",
|
|
1254
|
+
"secondaryButton": "Oo1fpq_secondaryButton",
|
|
1255
|
+
"compareGroupHead": "Oo1fpq_compareGroupHead",
|
|
1239
1256
|
"resultGroupError": "Oo1fpq_resultGroupError",
|
|
1240
|
-
"
|
|
1241
|
-
"
|
|
1242
|
-
"historyTitle": "Oo1fpq_historyTitle",
|
|
1243
|
-
"audiogenToastIn": "Oo1fpq_audiogenToastIn",
|
|
1244
|
-
"overrideRow": "Oo1fpq_overrideRow",
|
|
1245
|
-
"historyEmpty": "Oo1fpq_historyEmpty"
|
|
1257
|
+
"compareChips": "Oo1fpq_compareChips",
|
|
1258
|
+
"overrideRow": "Oo1fpq_overrideRow"
|
|
1246
1259
|
};
|
|
1247
1260
|
//#endregion
|
|
1248
1261
|
//#region src/client/audio-player.tsx
|
|
@@ -1598,6 +1611,13 @@ window.__ModuleLoader__.load({
|
|
|
1598
1611
|
if (mode === "sfx") return tt("mode.sfx");
|
|
1599
1612
|
return tt("mode.voiceDesign");
|
|
1600
1613
|
}
|
|
1614
|
+
/** 历史时间显示(YYYY-MM-DD HH:mm)。 */
|
|
1615
|
+
function formatClock(timestamp) {
|
|
1616
|
+
const date = new Date(timestamp);
|
|
1617
|
+
if (Number.isNaN(date.getTime())) return "";
|
|
1618
|
+
const pad = (n) => String(n).padStart(2, "0");
|
|
1619
|
+
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())} ${pad(date.getHours())}:${pad(date.getMinutes())}`;
|
|
1620
|
+
}
|
|
1601
1621
|
function useConfig(scope) {
|
|
1602
1622
|
const [value, setValue] = (0, react.useState)(scope.getSnapshot().value);
|
|
1603
1623
|
(0, react.useEffect)(() => scope.subscribe(() => {
|
|
@@ -2014,6 +2034,78 @@ window.__ModuleLoader__.load({
|
|
|
2014
2034
|
const removeTask = (taskId) => {
|
|
2015
2035
|
setTasks((current) => current.filter((task) => task.id !== taskId));
|
|
2016
2036
|
};
|
|
2037
|
+
/** 从历史参数回填表单(参考 AI 生图「恢复」):配置 + prompt 一键复用。 */
|
|
2038
|
+
const restoreFromParams = (params, modeValue, singleModel, compareModelsRestore) => {
|
|
2039
|
+
const str = (key) => {
|
|
2040
|
+
const v = params[key];
|
|
2041
|
+
return typeof v === "string" && v.trim() !== "" ? v.trim() : void 0;
|
|
2042
|
+
};
|
|
2043
|
+
const num = (key) => {
|
|
2044
|
+
const v = params[key];
|
|
2045
|
+
if (typeof v === "number" && Number.isFinite(v)) return v;
|
|
2046
|
+
if (typeof v === "string" && v.trim() !== "") {
|
|
2047
|
+
const parsed = Number(v);
|
|
2048
|
+
return Number.isFinite(parsed) ? parsed : void 0;
|
|
2049
|
+
}
|
|
2050
|
+
};
|
|
2051
|
+
const bool = (key) => typeof params[key] === "boolean" ? params[key] : void 0;
|
|
2052
|
+
setMode(modeValue);
|
|
2053
|
+
const modelValue = str("model") ?? singleModel;
|
|
2054
|
+
if (modelValue !== "") setModel(modelValue);
|
|
2055
|
+
if (compareModelsRestore !== void 0 && compareModelsRestore.length > 0) {
|
|
2056
|
+
setCompareMode(true);
|
|
2057
|
+
setCompareModels(compareModelsRestore);
|
|
2058
|
+
} else setCompareMode(false);
|
|
2059
|
+
const voiceValue = str("voice");
|
|
2060
|
+
if (voiceValue !== void 0) setVoice(voiceValue);
|
|
2061
|
+
const speedValue = num("speed");
|
|
2062
|
+
if (speedValue !== void 0) setSpeed(String(speedValue));
|
|
2063
|
+
const durationValue = num("duration");
|
|
2064
|
+
if (durationValue !== void 0) setDuration(String(durationValue));
|
|
2065
|
+
const formatValue = str("format");
|
|
2066
|
+
if (formatValue !== void 0) setFormat(formatValue);
|
|
2067
|
+
const lyricsValue = str("lyrics");
|
|
2068
|
+
if (lyricsValue !== void 0) setLyrics(lyricsValue);
|
|
2069
|
+
const instrumentalValue = bool("isInstrumental");
|
|
2070
|
+
if (instrumentalValue !== void 0) setInstrumental(instrumentalValue);
|
|
2071
|
+
const loopValue = bool("loop");
|
|
2072
|
+
if (loopValue !== void 0) setLoop(loopValue);
|
|
2073
|
+
const influenceValue = num("promptInfluence");
|
|
2074
|
+
if (influenceValue !== void 0) setPromptInfluence(String(influenceValue));
|
|
2075
|
+
const emotionValue = str("emotion");
|
|
2076
|
+
if (emotionValue !== void 0) setEmotion(emotionValue);
|
|
2077
|
+
const volValue = num("vol");
|
|
2078
|
+
if (volValue !== void 0) setVol(String(volValue));
|
|
2079
|
+
const pitchValue = num("pitch");
|
|
2080
|
+
if (pitchValue !== void 0) setPitch(String(pitchValue));
|
|
2081
|
+
if (Array.isArray(params.pronunciationTone)) setToneText(params.pronunciationTone.filter((item) => typeof item === "string").join("\n"));
|
|
2082
|
+
const sampleRateValue = num("sampleRate");
|
|
2083
|
+
if (sampleRateValue !== void 0) setSampleRate(String(sampleRateValue));
|
|
2084
|
+
const bitrateValue = num("bitrate");
|
|
2085
|
+
if (bitrateValue !== void 0) setBitrate(String(bitrateValue));
|
|
2086
|
+
const channelValue = num("audioChannel");
|
|
2087
|
+
if (channelValue !== void 0) setAudioChannel(String(channelValue));
|
|
2088
|
+
const subtitleValue = bool("subtitleEnable");
|
|
2089
|
+
if (subtitleValue !== void 0) setSubtitle(subtitleValue);
|
|
2090
|
+
const seedValue = num("seed");
|
|
2091
|
+
if (seedValue !== void 0) setSeed(String(seedValue));
|
|
2092
|
+
const stepsValue = num("steps");
|
|
2093
|
+
if (stepsValue !== void 0) setSteps(String(stepsValue));
|
|
2094
|
+
const cfgValue = num("cfgScale");
|
|
2095
|
+
if (cfgValue !== void 0) setCfgScale(String(cfgValue));
|
|
2096
|
+
const previewValue = str("previewText");
|
|
2097
|
+
if (previewValue !== void 0) setPreviewText(previewValue);
|
|
2098
|
+
const channelIdValue = str("channelId");
|
|
2099
|
+
if (channelIdValue !== void 0 && modeValue === "voice_design") setDesignChannelId(channelIdValue);
|
|
2100
|
+
props.showToast("已恢复该次生成的配置,可直接再次生成");
|
|
2101
|
+
};
|
|
2102
|
+
/** 删除历史记录(对比任务卡删除该任务的全部模型条目)。 */
|
|
2103
|
+
const deleteHistoryEntries = async (ids) => {
|
|
2104
|
+
try {
|
|
2105
|
+
for (const id of ids) await api.removeHistory(id);
|
|
2106
|
+
} catch {}
|
|
2107
|
+
reload();
|
|
2108
|
+
};
|
|
2017
2109
|
const openSaveDialog = (files, context) => {
|
|
2018
2110
|
setSaveDialog({
|
|
2019
2111
|
files,
|
|
@@ -2396,18 +2488,25 @@ window.__ModuleLoader__.load({
|
|
|
2396
2488
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2397
2489
|
className: audio_panel_module_css_default.modeRow,
|
|
2398
2490
|
children: [
|
|
2399
|
-
"tts",
|
|
2400
|
-
"music",
|
|
2401
|
-
"sfx",
|
|
2402
|
-
"voice_design"
|
|
2403
|
-
].map((item) => /* @__PURE__ */ (0, react_jsx_runtime.
|
|
2491
|
+
["tts", "🎙️"],
|
|
2492
|
+
["music", "🎵"],
|
|
2493
|
+
["sfx", "🔊"],
|
|
2494
|
+
["voice_design", "🎨"]
|
|
2495
|
+
].map(([item, icon]) => /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("button", {
|
|
2404
2496
|
type: "button",
|
|
2405
2497
|
className: audio_panel_module_css_default.modeButton,
|
|
2406
2498
|
"data-active": mode === item ? "true" : "false",
|
|
2407
2499
|
onClick: () => setMode(item),
|
|
2408
|
-
children:
|
|
2500
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2501
|
+
className: audio_panel_module_css_default.modeIcon,
|
|
2502
|
+
children: icon
|
|
2503
|
+
}), modeLabelOf(item)]
|
|
2409
2504
|
}, item))
|
|
2410
2505
|
}),
|
|
2506
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
2507
|
+
className: audio_panel_module_css_default.formSection,
|
|
2508
|
+
children: "输入"
|
|
2509
|
+
}),
|
|
2411
2510
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
2412
2511
|
className: audio_panel_module_css_default.label,
|
|
2413
2512
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: mode === "voice_design" ? "音色描述" : mode === "tts" ? "文本" : "提示词" }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", {
|
|
@@ -2452,6 +2551,10 @@ window.__ModuleLoader__.load({
|
|
|
2452
2551
|
})]
|
|
2453
2552
|
})
|
|
2454
2553
|
] }) : null,
|
|
2554
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
2555
|
+
className: audio_panel_module_css_default.formSection,
|
|
2556
|
+
children: "模型"
|
|
2557
|
+
}),
|
|
2455
2558
|
needModel ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
2456
2559
|
className: audio_panel_module_css_default.checkbox,
|
|
2457
2560
|
title: "选择多个模型,用相同参数逐个生成,便于对比效果",
|
|
@@ -2570,7 +2673,17 @@ window.__ModuleLoader__.load({
|
|
|
2570
2673
|
}, group.channelId))]
|
|
2571
2674
|
})]
|
|
2572
2675
|
}) : null,
|
|
2573
|
-
globalSpecs.
|
|
2676
|
+
globalSpecs.some((spec) => spec.advanced !== true) ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
2677
|
+
className: audio_panel_module_css_default.formSection,
|
|
2678
|
+
children: "生成参数"
|
|
2679
|
+
}) : null,
|
|
2680
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2681
|
+
className: audio_panel_module_css_default.formFields,
|
|
2682
|
+
children: globalSpecs.filter((spec) => spec.advanced !== true).map((spec) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2683
|
+
className: spec.key === "lyrics" || spec.key === "toneText" ? audio_panel_module_css_default.fieldFull : audio_panel_module_css_default.fieldCell,
|
|
2684
|
+
children: renderField(spec)
|
|
2685
|
+
}, spec.key))
|
|
2686
|
+
}),
|
|
2574
2687
|
mode === "tts" && globalSpecs.some((spec) => spec.advanced === true) ? /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("details", {
|
|
2575
2688
|
className: audio_panel_module_css_default.advanced,
|
|
2576
2689
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("summary", { children: "MiniMax 高级参数" }), globalSpecs.filter((spec) => spec.advanced === true).map((spec) => renderField(spec))]
|
|
@@ -2621,6 +2734,19 @@ window.__ModuleLoader__.load({
|
|
|
2621
2734
|
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("p", {
|
|
2622
2735
|
className: audio_panel_module_css_default.resultEmptyHint,
|
|
2623
2736
|
children: "点击「开始生成」即创建一个任务,可同时进行多个;勾选「模型对比」用多个模型同参数生成对比"
|
|
2737
|
+
}),
|
|
2738
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2739
|
+
type: "button",
|
|
2740
|
+
className: audio_panel_module_css_default.ghostButton,
|
|
2741
|
+
onClick: () => {
|
|
2742
|
+
setPrompt({
|
|
2743
|
+
tts: "今天是不是很开心呀(laughs),当然了!我们一起去公园散步吧。",
|
|
2744
|
+
music: "Cinematic orchestral piece with a clear \"before/after\" transition at 1:00, starting minimalist piano + strings, then full orchestra entrance with timpani and brass at the 1-minute mark.",
|
|
2745
|
+
sfx: "科技感 UI 提示音:清脆短促,带轻微回声与空气感。",
|
|
2746
|
+
voice_design: "讲述悬疑故事的播音员,声音低沉富有磁性,语速时快时慢,营造紧张神秘的氛围。"
|
|
2747
|
+
}[mode] ?? "");
|
|
2748
|
+
},
|
|
2749
|
+
children: "填入示例 prompt"
|
|
2624
2750
|
})
|
|
2625
2751
|
]
|
|
2626
2752
|
}) : /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
@@ -2649,6 +2775,10 @@ window.__ModuleLoader__.load({
|
|
|
2649
2775
|
"data-state": task.status,
|
|
2650
2776
|
children: statusText
|
|
2651
2777
|
}),
|
|
2778
|
+
task.status === "running" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2779
|
+
className: audio_panel_module_css_default.taskBar,
|
|
2780
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("i", { style: { width: `${task.progress.total > 0 ? Math.round(task.progress.done / task.progress.total * 100) : 0}%` } })
|
|
2781
|
+
}) : null,
|
|
2652
2782
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
2653
2783
|
className: audio_panel_module_css_default.taskActions,
|
|
2654
2784
|
children: [task.status === "running" ? /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
@@ -2746,17 +2876,24 @@ window.__ModuleLoader__.load({
|
|
|
2746
2876
|
children: [
|
|
2747
2877
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("summary", {
|
|
2748
2878
|
className: audio_panel_module_css_default.historyCompareSummary,
|
|
2749
|
-
children: [
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
|
|
2754
|
-
|
|
2755
|
-
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
2759
|
-
|
|
2879
|
+
children: [
|
|
2880
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2881
|
+
className: audio_panel_module_css_default.historyPrompt,
|
|
2882
|
+
children: item.prompt
|
|
2883
|
+
}),
|
|
2884
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("span", {
|
|
2885
|
+
className: audio_panel_module_css_default.historyCompareBadge,
|
|
2886
|
+
children: [
|
|
2887
|
+
"对比 · ",
|
|
2888
|
+
item.models.length,
|
|
2889
|
+
" 个模型"
|
|
2890
|
+
]
|
|
2891
|
+
}),
|
|
2892
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", {
|
|
2893
|
+
className: audio_panel_module_css_default.historyTime,
|
|
2894
|
+
children: formatClock(item.createdAt)
|
|
2895
|
+
})
|
|
2896
|
+
]
|
|
2760
2897
|
}),
|
|
2761
2898
|
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2762
2899
|
className: audio_panel_module_css_default.historyMeta,
|
|
@@ -2788,7 +2925,23 @@ window.__ModuleLoader__.load({
|
|
|
2788
2925
|
})
|
|
2789
2926
|
})
|
|
2790
2927
|
]
|
|
2791
|
-
}, model.entry.id))
|
|
2928
|
+
}, model.entry.id)),
|
|
2929
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2930
|
+
className: audio_panel_module_css_default.historyActions,
|
|
2931
|
+
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2932
|
+
type: "button",
|
|
2933
|
+
className: audio_panel_module_css_default.historyIcon,
|
|
2934
|
+
title: "恢复(回填配置与全部模型)",
|
|
2935
|
+
onClick: () => restoreFromParams(item.models[0]?.entry.params ?? {}, item.mode, item.models[0]?.model ?? "", item.models.map((model) => model.model)),
|
|
2936
|
+
children: "↺"
|
|
2937
|
+
}), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2938
|
+
type: "button",
|
|
2939
|
+
className: audio_panel_module_css_default.historyIcon,
|
|
2940
|
+
title: "删除整个对比任务",
|
|
2941
|
+
onClick: () => void deleteHistoryEntries(item.models.map((model) => model.entry.id)),
|
|
2942
|
+
children: "✕"
|
|
2943
|
+
})]
|
|
2944
|
+
})
|
|
2792
2945
|
]
|
|
2793
2946
|
}, item.key);
|
|
2794
2947
|
const entry = item.entry;
|
|
@@ -2808,19 +2961,40 @@ window.__ModuleLoader__.load({
|
|
|
2808
2961
|
entry.channel ? ` · ${entry.channel}` : ""
|
|
2809
2962
|
]
|
|
2810
2963
|
}),
|
|
2964
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
2965
|
+
className: audio_panel_module_css_default.historyTime,
|
|
2966
|
+
children: formatClock(entry.createdAt)
|
|
2967
|
+
}),
|
|
2811
2968
|
entry.audio.map((audio, index) => /* @__PURE__ */ (0, react_jsx_runtime.jsx)(AudioPlayer, {
|
|
2812
2969
|
src: audio.url,
|
|
2813
2970
|
compact: true,
|
|
2814
2971
|
itemKey: `${entry.id}-${index}`
|
|
2815
2972
|
}, index)),
|
|
2816
|
-
/* @__PURE__ */ (0, react_jsx_runtime.
|
|
2973
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsxs)("div", {
|
|
2817
2974
|
className: audio_panel_module_css_default.historyActions,
|
|
2818
|
-
children:
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2975
|
+
children: [
|
|
2976
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2977
|
+
type: "button",
|
|
2978
|
+
className: audio_panel_module_css_default.historyIcon,
|
|
2979
|
+
title: "恢复(回填配置与 prompt)",
|
|
2980
|
+
onClick: () => restoreFromParams(entry.params ?? {}, entry.mode, entry.model),
|
|
2981
|
+
children: "↺"
|
|
2982
|
+
}),
|
|
2983
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2984
|
+
type: "button",
|
|
2985
|
+
className: audio_panel_module_css_default.historyIcon,
|
|
2986
|
+
title: "删除这条记录",
|
|
2987
|
+
onClick: () => void deleteHistoryEntries([entry.id]),
|
|
2988
|
+
children: "✕"
|
|
2989
|
+
}),
|
|
2990
|
+
/* @__PURE__ */ (0, react_jsx_runtime.jsx)("button", {
|
|
2991
|
+
type: "button",
|
|
2992
|
+
className: audio_panel_module_css_default.historyIcon,
|
|
2993
|
+
title: "加入资源库",
|
|
2994
|
+
onClick: () => openSaveDialog(audioRefsOfEntry(entry), contextOfEntry(entry)),
|
|
2995
|
+
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)(StarIcon, {})
|
|
2996
|
+
})
|
|
2997
|
+
]
|
|
2824
2998
|
})
|
|
2825
2999
|
]
|
|
2826
3000
|
}, item.key);
|
|
@@ -2849,62 +3023,62 @@ window.__ModuleLoader__.load({
|
|
|
2849
3023
|
document.head.appendChild(tag);
|
|
2850
3024
|
}
|
|
2851
3025
|
var library_module_css_default = {
|
|
2852
|
-
"stateNote": "vzUV2a_stateNote",
|
|
2853
|
-
"cardCheck": "vzUV2a_cardCheck",
|
|
2854
|
-
"drawerLabel": "vzUV2a_drawerLabel",
|
|
2855
|
-
"drawerField": "vzUV2a_drawerField",
|
|
2856
|
-
"ghostBtn": "vzUV2a_ghostBtn",
|
|
2857
3026
|
"provKey": "vzUV2a_provKey",
|
|
2858
|
-
"
|
|
2859
|
-
"smallChip": "vzUV2a_smallChip",
|
|
2860
|
-
"emptyHint": "vzUV2a_emptyHint",
|
|
2861
|
-
"paramsDetails": "vzUV2a_paramsDetails",
|
|
2862
|
-
"listHead": "vzUV2a_listHead",
|
|
2863
|
-
"card": "vzUV2a_card",
|
|
2864
|
-
"emptyIcon": "vzUV2a_emptyIcon",
|
|
2865
|
-
"audiogenDrawerIn": "vzUV2a_audiogenDrawerIn",
|
|
2866
|
-
"library": "vzUV2a_library",
|
|
2867
|
-
"chipCount": "vzUV2a_chipCount",
|
|
2868
|
-
"searchBox": "vzUV2a_searchBox",
|
|
2869
|
-
"filterLabel": "vzUV2a_filterLabel",
|
|
3027
|
+
"chip": "vzUV2a_chip",
|
|
2870
3028
|
"drawer": "vzUV2a_drawer",
|
|
2871
|
-
"
|
|
3029
|
+
"cardName": "vzUV2a_cardName",
|
|
3030
|
+
"ghostBtn": "vzUV2a_ghostBtn",
|
|
3031
|
+
"selCount": "vzUV2a_selCount",
|
|
2872
3032
|
"drawerSection": "vzUV2a_drawerSection",
|
|
2873
|
-
"
|
|
2874
|
-
"
|
|
2875
|
-
"
|
|
2876
|
-
"
|
|
2877
|
-
"
|
|
2878
|
-
"mono": "vzUV2a_mono",
|
|
2879
|
-
"drawerActions": "vzUV2a_drawerActions",
|
|
2880
|
-
"typeChips": "vzUV2a_typeChips",
|
|
2881
|
-
"input": "vzUV2a_input",
|
|
3033
|
+
"dangerBtn": "vzUV2a_dangerBtn",
|
|
3034
|
+
"iconBtn": "vzUV2a_iconBtn",
|
|
3035
|
+
"drawerLabel": "vzUV2a_drawerLabel",
|
|
3036
|
+
"filterRow": "vzUV2a_filterRow",
|
|
3037
|
+
"listActions": "vzUV2a_listActions",
|
|
2882
3038
|
"cardTime": "vzUV2a_cardTime",
|
|
2883
|
-
"
|
|
3039
|
+
"audiogenDrawerIn": "vzUV2a_audiogenDrawerIn",
|
|
3040
|
+
"cardCheck": "vzUV2a_cardCheck",
|
|
3041
|
+
"drawerPlayer": "vzUV2a_drawerPlayer",
|
|
3042
|
+
"provValue": "vzUV2a_provValue",
|
|
2884
3043
|
"drawerPlayerList": "vzUV2a_drawerPlayerList",
|
|
2885
|
-
"
|
|
2886
|
-
"listCount": "vzUV2a_listCount",
|
|
2887
|
-
"metaChip": "vzUV2a_metaChip",
|
|
3044
|
+
"textarea": "vzUV2a_textarea",
|
|
2888
3045
|
"drawerBody": "vzUV2a_drawerBody",
|
|
2889
|
-
"
|
|
2890
|
-
"
|
|
3046
|
+
"searchBox": "vzUV2a_searchBox",
|
|
3047
|
+
"metaChip": "vzUV2a_metaChip",
|
|
3048
|
+
"input": "vzUV2a_input",
|
|
3049
|
+
"library": "vzUV2a_library",
|
|
3050
|
+
"filterLabel": "vzUV2a_filterLabel",
|
|
3051
|
+
"emptyIcon": "vzUV2a_emptyIcon",
|
|
3052
|
+
"cardFoot": "vzUV2a_cardFoot",
|
|
3053
|
+
"cardHead": "vzUV2a_cardHead",
|
|
3054
|
+
"stateNote": "vzUV2a_stateNote",
|
|
2891
3055
|
"provRow": "vzUV2a_provRow",
|
|
2892
3056
|
"smallSelect": "vzUV2a_smallSelect",
|
|
2893
|
-
"
|
|
2894
|
-
"
|
|
2895
|
-
"drawerPlayer": "vzUV2a_drawerPlayer",
|
|
2896
|
-
"provenance": "vzUV2a_provenance",
|
|
2897
|
-
"cardFoot": "vzUV2a_cardFoot",
|
|
3057
|
+
"emptyHint": "vzUV2a_emptyHint",
|
|
3058
|
+
"toolbar": "vzUV2a_toolbar",
|
|
2898
3059
|
"typeBadge": "vzUV2a_typeBadge",
|
|
2899
|
-
"
|
|
2900
|
-
"
|
|
2901
|
-
"selCount": "vzUV2a_selCount",
|
|
3060
|
+
"drawerPlayerName": "vzUV2a_drawerPlayerName",
|
|
3061
|
+
"drawerField": "vzUV2a_drawerField",
|
|
2902
3062
|
"empty": "vzUV2a_empty",
|
|
3063
|
+
"grid": "vzUV2a_grid",
|
|
3064
|
+
"drawerTitle": "vzUV2a_drawerTitle",
|
|
3065
|
+
"drawerSplit": "vzUV2a_drawerSplit",
|
|
3066
|
+
"provenance": "vzUV2a_provenance",
|
|
3067
|
+
"mono": "vzUV2a_mono",
|
|
3068
|
+
"searchInput": "vzUV2a_searchInput",
|
|
2903
3069
|
"code": "vzUV2a_code",
|
|
2904
|
-
"
|
|
2905
|
-
"
|
|
3070
|
+
"drawerMask": "vzUV2a_drawerMask",
|
|
3071
|
+
"typeChips": "vzUV2a_typeChips",
|
|
3072
|
+
"promptText": "vzUV2a_promptText",
|
|
3073
|
+
"chipCount": "vzUV2a_chipCount",
|
|
3074
|
+
"smallChip": "vzUV2a_smallChip",
|
|
3075
|
+
"card": "vzUV2a_card",
|
|
3076
|
+
"listCount": "vzUV2a_listCount",
|
|
3077
|
+
"primaryBtn": "vzUV2a_primaryBtn",
|
|
3078
|
+
"listHead": "vzUV2a_listHead",
|
|
3079
|
+
"paramsDetails": "vzUV2a_paramsDetails",
|
|
2906
3080
|
"drawerHead": "vzUV2a_drawerHead",
|
|
2907
|
-
"
|
|
3081
|
+
"drawerActions": "vzUV2a_drawerActions"
|
|
2908
3082
|
};
|
|
2909
3083
|
//#endregion
|
|
2910
3084
|
//#region src/client/library-view.tsx
|
|
@@ -3777,167 +3951,167 @@ window.__ModuleLoader__.load({
|
|
|
3777
3951
|
document.head.appendChild(tag);
|
|
3778
3952
|
}
|
|
3779
3953
|
var panel_module_css_default = {
|
|
3780
|
-
"prompt": "rwa6qG_prompt",
|
|
3781
|
-
"galleryViewToggle": "rwa6qG_galleryViewToggle",
|
|
3782
|
-
"galleryCardFooter": "rwa6qG_galleryCardFooter",
|
|
3783
3954
|
"historyPrompt": "rwa6qG_historyPrompt",
|
|
3784
|
-
"
|
|
3785
|
-
"
|
|
3786
|
-
"galleryToolbarActions": "rwa6qG_galleryToolbarActions",
|
|
3787
|
-
"galleryWorkspace": "rwa6qG_galleryWorkspace",
|
|
3955
|
+
"gallerySelectionBar": "rwa6qG_gallerySelectionBar",
|
|
3956
|
+
"footer": "rwa6qG_footer",
|
|
3788
3957
|
"githubLink": "rwa6qG_githubLink",
|
|
3789
|
-
"
|
|
3790
|
-
"
|
|
3791
|
-
"galleryImageButton": "rwa6qG_galleryImageButton",
|
|
3792
|
-
"lightboxTools": "rwa6qG_lightboxTools",
|
|
3958
|
+
"panelHeading": "rwa6qG_panelHeading",
|
|
3959
|
+
"galleryFilterDivider": "rwa6qG_galleryFilterDivider",
|
|
3793
3960
|
"lightboxCaptionRow": "rwa6qG_lightboxCaptionRow",
|
|
3794
|
-
"
|
|
3795
|
-
"
|
|
3796
|
-
"
|
|
3797
|
-
"
|
|
3798
|
-
"
|
|
3961
|
+
"bigSpinner": "rwa6qG_bigSpinner",
|
|
3962
|
+
"historySearch": "rwa6qG_historySearch",
|
|
3963
|
+
"historyMain": "rwa6qG_historyMain",
|
|
3964
|
+
"imageCaption": "rwa6qG_imageCaption",
|
|
3965
|
+
"taskTray": "rwa6qG_taskTray",
|
|
3966
|
+
"historyItem": "rwa6qG_historyItem",
|
|
3967
|
+
"modelSelect": "rwa6qG_modelSelect",
|
|
3968
|
+
"compareControl": "rwa6qG_compareControl",
|
|
3969
|
+
"enhanceButton": "rwa6qG_enhanceButton",
|
|
3970
|
+
"promptFooter": "rwa6qG_promptFooter",
|
|
3971
|
+
"taskTrayToggle": "rwa6qG_taskTrayToggle",
|
|
3972
|
+
"generateInner": "rwa6qG_generateInner",
|
|
3973
|
+
"connectionStatus": "rwa6qG_connectionStatus",
|
|
3974
|
+
"hiddenFile": "rwa6qG_hiddenFile",
|
|
3975
|
+
"galleryImage": "rwa6qG_galleryImage",
|
|
3976
|
+
"galleryFilterCount": "rwa6qG_galleryFilterCount",
|
|
3977
|
+
"lightbox": "rwa6qG_lightbox",
|
|
3978
|
+
"optionRow": "rwa6qG_optionRow",
|
|
3979
|
+
"galleryTags": "rwa6qG_galleryTags",
|
|
3980
|
+
"historyClear": "rwa6qG_historyClear",
|
|
3981
|
+
"gallerySelect": "rwa6qG_gallerySelect",
|
|
3982
|
+
"galleryTagInput": "rwa6qG_galleryTagInput",
|
|
3983
|
+
"taskTrayHeader": "rwa6qG_taskTrayHeader",
|
|
3984
|
+
"lightboxEdit": "rwa6qG_lightboxEdit",
|
|
3985
|
+
"paramHint": "rwa6qG_paramHint",
|
|
3986
|
+
"modeRow": "rwa6qG_modeRow",
|
|
3987
|
+
"canvasState": "rwa6qG_canvasState",
|
|
3988
|
+
"comparisonBoard": "rwa6qG_comparisonBoard",
|
|
3989
|
+
"lightboxZoomLevel": "rwa6qG_lightboxZoomLevel",
|
|
3990
|
+
"historyThumb": "rwa6qG_historyThumb",
|
|
3991
|
+
"canvasBody": "rwa6qG_canvasBody",
|
|
3992
|
+
"studio": "rwa6qG_studio",
|
|
3799
3993
|
"galleryClear": "rwa6qG_galleryClear",
|
|
3800
|
-
"
|
|
3801
|
-
"
|
|
3994
|
+
"galleryMasonry": "rwa6qG_galleryMasonry",
|
|
3995
|
+
"taskTrayCount": "rwa6qG_taskTrayCount",
|
|
3996
|
+
"galleryRatio": "rwa6qG_galleryRatio",
|
|
3997
|
+
"lightboxNav": "rwa6qG_lightboxNav",
|
|
3998
|
+
"lightboxCaption": "rwa6qG_lightboxCaption",
|
|
3999
|
+
"galleryFilterNote": "rwa6qG_galleryFilterNote",
|
|
4000
|
+
"grid": "rwa6qG_grid",
|
|
4001
|
+
"uploadBox": "rwa6qG_uploadBox",
|
|
3802
4002
|
"historyInfo": "rwa6qG_historyInfo",
|
|
3803
|
-
"
|
|
3804
|
-
"
|
|
3805
|
-
"
|
|
3806
|
-
"
|
|
4003
|
+
"lightboxMeta": "rwa6qG_lightboxMeta",
|
|
4004
|
+
"galleryCount": "rwa6qG_galleryCount",
|
|
4005
|
+
"galleryFilterHeading": "rwa6qG_galleryFilterHeading",
|
|
4006
|
+
"updateRelease": "rwa6qG_updateRelease",
|
|
4007
|
+
"lightboxImage": "rwa6qG_lightboxImage",
|
|
4008
|
+
"galleryViewToggle": "rwa6qG_galleryViewToggle",
|
|
4009
|
+
"gallerySort": "rwa6qG_gallerySort",
|
|
4010
|
+
"historyActions": "rwa6qG_historyActions",
|
|
4011
|
+
"config": "rwa6qG_config",
|
|
4012
|
+
"updateText": "rwa6qG_updateText",
|
|
4013
|
+
"galleryTagEdit": "rwa6qG_galleryTagEdit",
|
|
4014
|
+
"canvasError": "rwa6qG_canvasError",
|
|
4015
|
+
"galleryToast": "rwa6qG_galleryToast",
|
|
4016
|
+
"entry": "rwa6qG_entry",
|
|
4017
|
+
"updateActions": "rwa6qG_updateActions",
|
|
4018
|
+
"taskTrayClose": "rwa6qG_taskTrayClose",
|
|
4019
|
+
"history": "rwa6qG_history",
|
|
3807
4020
|
"entryLabel": "rwa6qG_entryLabel",
|
|
3808
|
-
"
|
|
3809
|
-
"
|
|
3810
|
-
"enhanceButton": "rwa6qG_enhanceButton",
|
|
3811
|
-
"historyTitle": "rwa6qG_historyTitle",
|
|
3812
|
-
"modeRow": "rwa6qG_modeRow",
|
|
4021
|
+
"canvasHistoryTag": "rwa6qG_canvasHistoryTag",
|
|
4022
|
+
"dshImageGenToastIn": "rwa6qG_dshImageGenToastIn",
|
|
3813
4023
|
"canvasStateTitle": "rwa6qG_canvasStateTitle",
|
|
4024
|
+
"galleryFilter": "rwa6qG_galleryFilter",
|
|
4025
|
+
"galleryToolbarActions": "rwa6qG_galleryToolbarActions",
|
|
4026
|
+
"galleryWorkspace": "rwa6qG_galleryWorkspace",
|
|
4027
|
+
"galleryTagEditor": "rwa6qG_galleryTagEditor",
|
|
4028
|
+
"prompt": "rwa6qG_prompt",
|
|
4029
|
+
"lightboxScaleFrame": "rwa6qG_lightboxScaleFrame",
|
|
4030
|
+
"panel": "rwa6qG_panel",
|
|
4031
|
+
"canvasStateHint": "rwa6qG_canvasStateHint",
|
|
4032
|
+
"taskTrayChevron": "rwa6qG_taskTrayChevron",
|
|
4033
|
+
"dshImageGenSpin": "rwa6qG_dshImageGenSpin",
|
|
4034
|
+
"galleryHeading": "rwa6qG_galleryHeading",
|
|
4035
|
+
"galleryImageButton": "rwa6qG_galleryImageButton",
|
|
4036
|
+
"galleryBadge": "rwa6qG_galleryBadge",
|
|
4037
|
+
"optionPill": "rwa6qG_optionPill",
|
|
3814
4038
|
"lightboxStage": "rwa6qG_lightboxStage",
|
|
4039
|
+
"historyAction": "rwa6qG_historyAction",
|
|
4040
|
+
"comparisonImageButton": "rwa6qG_comparisonImageButton",
|
|
4041
|
+
"comparisonGrid": "rwa6qG_comparisonGrid",
|
|
4042
|
+
"card": "rwa6qG_card",
|
|
4043
|
+
"galleryTagFilterList": "rwa6qG_galleryTagFilterList",
|
|
4044
|
+
"historyMeta": "rwa6qG_historyMeta",
|
|
4045
|
+
"galleryAdd": "rwa6qG_galleryAdd",
|
|
4046
|
+
"configScroll": "rwa6qG_configScroll",
|
|
4047
|
+
"historyHeader": "rwa6qG_historyHeader",
|
|
4048
|
+
"galleryRemove": "rwa6qG_galleryRemove",
|
|
4049
|
+
"taskRows": "rwa6qG_taskRows",
|
|
3815
4050
|
"reference": "rwa6qG_reference",
|
|
4051
|
+
"galleryRatioList": "rwa6qG_galleryRatioList",
|
|
4052
|
+
"galleryTagFilter": "rwa6qG_galleryTagFilter",
|
|
4053
|
+
"panelTitle": "rwa6qG_panelTitle",
|
|
4054
|
+
"uploadHint": "rwa6qG_uploadHint",
|
|
4055
|
+
"lightboxTools": "rwa6qG_lightboxTools",
|
|
4056
|
+
"templatesButton": "rwa6qG_templatesButton",
|
|
4057
|
+
"zoomHint": "rwa6qG_zoomHint",
|
|
4058
|
+
"taskRow": "rwa6qG_taskRow",
|
|
4059
|
+
"paramLabel": "rwa6qG_paramLabel",
|
|
4060
|
+
"comparisonFullscreenGrid": "rwa6qG_comparisonFullscreenGrid",
|
|
4061
|
+
"galleryCard": "rwa6qG_galleryCard",
|
|
4062
|
+
"galleryCardFooter": "rwa6qG_galleryCardFooter",
|
|
4063
|
+
"lightboxCopy": "rwa6qG_lightboxCopy",
|
|
4064
|
+
"modelMenu": "rwa6qG_modelMenu",
|
|
4065
|
+
"lightboxActions": "rwa6qG_lightboxActions",
|
|
4066
|
+
"uploadIcon": "rwa6qG_uploadIcon",
|
|
4067
|
+
"generateButton": "rwa6qG_generateButton",
|
|
4068
|
+
"historyEmpty": "rwa6qG_historyEmpty",
|
|
4069
|
+
"compareToggle": "rwa6qG_compareToggle",
|
|
4070
|
+
"historyThumbPlaceholder": "rwa6qG_historyThumbPlaceholder",
|
|
4071
|
+
"optionGrid": "rwa6qG_optionGrid",
|
|
4072
|
+
"historyTitle": "rwa6qG_historyTitle",
|
|
3816
4073
|
"modelMenuList": "rwa6qG_modelMenuList",
|
|
3817
|
-
"
|
|
3818
|
-
"
|
|
4074
|
+
"galleryFilters": "rwa6qG_galleryFilters",
|
|
4075
|
+
"gallerySelectionClear": "rwa6qG_gallerySelectionClear",
|
|
4076
|
+
"gallerySearch": "rwa6qG_gallerySearch",
|
|
4077
|
+
"canvasEmptyIcon": "rwa6qG_canvasEmptyIcon",
|
|
3819
4078
|
"updateBanner": "rwa6qG_updateBanner",
|
|
3820
|
-
"
|
|
4079
|
+
"paramGroup": "rwa6qG_paramGroup",
|
|
4080
|
+
"imageCard": "rwa6qG_imageCard",
|
|
4081
|
+
"configGuideBody": "rwa6qG_configGuideBody",
|
|
4082
|
+
"comparisonFullscreen": "rwa6qG_comparisonFullscreen",
|
|
4083
|
+
"canvasMeta": "rwa6qG_canvasMeta",
|
|
4084
|
+
"lightboxTool": "rwa6qG_lightboxTool",
|
|
4085
|
+
"galleryAvatar": "rwa6qG_galleryAvatar",
|
|
4086
|
+
"connectionDot": "rwa6qG_connectionDot",
|
|
3821
4087
|
"image": "rwa6qG_image",
|
|
3822
|
-
"
|
|
3823
|
-
"
|
|
4088
|
+
"download": "rwa6qG_download",
|
|
4089
|
+
"galleryToolbar": "rwa6qG_galleryToolbar",
|
|
4090
|
+
"gallerySelectMode": "rwa6qG_gallerySelectMode",
|
|
3824
4091
|
"lightboxIndex": "rwa6qG_lightboxIndex",
|
|
3825
|
-
"
|
|
3826
|
-
"
|
|
3827
|
-
"promptFooter": "rwa6qG_promptFooter",
|
|
3828
|
-
"lightboxNav": "rwa6qG_lightboxNav",
|
|
3829
|
-
"lightboxScaleFrame": "rwa6qG_lightboxScaleFrame",
|
|
3830
|
-
"zoomHint": "rwa6qG_zoomHint",
|
|
3831
|
-
"paramHint": "rwa6qG_paramHint",
|
|
3832
|
-
"optionGrid": "rwa6qG_optionGrid",
|
|
3833
|
-
"lightboxDownload": "rwa6qG_lightboxDownload",
|
|
3834
|
-
"galleryTagFilterList": "rwa6qG_galleryTagFilterList",
|
|
3835
|
-
"lightbox": "rwa6qG_lightbox",
|
|
3836
|
-
"galleryTagInput": "rwa6qG_galleryTagInput",
|
|
3837
|
-
"updateText": "rwa6qG_updateText",
|
|
3838
|
-
"panelHeading": "rwa6qG_panelHeading",
|
|
4092
|
+
"configGuide": "rwa6qG_configGuide",
|
|
4093
|
+
"view": "rwa6qG_view",
|
|
3839
4094
|
"panelHeader": "rwa6qG_panelHeader",
|
|
4095
|
+
"taskPrompt": "rwa6qG_taskPrompt",
|
|
4096
|
+
"modePill": "rwa6qG_modePill",
|
|
3840
4097
|
"galleryBulkButton": "rwa6qG_galleryBulkButton",
|
|
3841
|
-
"
|
|
3842
|
-
"
|
|
3843
|
-
"
|
|
3844
|
-
"imageCard": "rwa6qG_imageCard",
|
|
4098
|
+
"spinner": "rwa6qG_spinner",
|
|
4099
|
+
"lightboxFigure": "rwa6qG_lightboxFigure",
|
|
4100
|
+
"referenceActions": "rwa6qG_referenceActions",
|
|
3845
4101
|
"lightboxClose": "rwa6qG_lightboxClose",
|
|
3846
4102
|
"referenceImage": "rwa6qG_referenceImage",
|
|
3847
|
-
"historyMeta": "rwa6qG_historyMeta",
|
|
3848
|
-
"lightboxFigure": "rwa6qG_lightboxFigure",
|
|
3849
|
-
"comparisonFullscreen": "rwa6qG_comparisonFullscreen",
|
|
3850
|
-
"imageCaption": "rwa6qG_imageCaption",
|
|
3851
|
-
"galleryMasonry": "rwa6qG_galleryMasonry",
|
|
3852
|
-
"galleryTagFilter": "rwa6qG_galleryTagFilter",
|
|
3853
|
-
"galleryRatioList": "rwa6qG_galleryRatioList",
|
|
3854
|
-
"taskPrompt": "rwa6qG_taskPrompt",
|
|
3855
|
-
"paramGroup": "rwa6qG_paramGroup",
|
|
3856
|
-
"taskTrayClose": "rwa6qG_taskTrayClose",
|
|
3857
|
-
"galleryRatio": "rwa6qG_galleryRatio",
|
|
3858
|
-
"taskRow": "rwa6qG_taskRow",
|
|
3859
|
-
"studio": "rwa6qG_studio",
|
|
3860
|
-
"galleryFilterDivider": "rwa6qG_galleryFilterDivider",
|
|
3861
|
-
"compareToggle": "rwa6qG_compareToggle",
|
|
3862
|
-
"canvasStateHint": "rwa6qG_canvasStateHint",
|
|
3863
|
-
"galleryBadge": "rwa6qG_galleryBadge",
|
|
3864
|
-
"taskTrayHeader": "rwa6qG_taskTrayHeader",
|
|
3865
|
-
"modelWrap": "rwa6qG_modelWrap",
|
|
3866
|
-
"modelMenu": "rwa6qG_modelMenu",
|
|
3867
|
-
"spinner": "rwa6qG_spinner",
|
|
3868
|
-
"historyThumb": "rwa6qG_historyThumb",
|
|
3869
|
-
"view": "rwa6qG_view",
|
|
3870
|
-
"optionRow": "rwa6qG_optionRow",
|
|
3871
|
-
"generateInner": "rwa6qG_generateInner",
|
|
3872
|
-
"modePill": "rwa6qG_modePill",
|
|
3873
|
-
"footer": "rwa6qG_footer",
|
|
3874
|
-
"galleryFilterCount": "rwa6qG_galleryFilterCount",
|
|
3875
|
-
"dshImageGenSpin": "rwa6qG_dshImageGenSpin",
|
|
3876
|
-
"lightboxImage": "rwa6qG_lightboxImage",
|
|
3877
|
-
"taskTrayToggle": "rwa6qG_taskTrayToggle",
|
|
3878
|
-
"taskRows": "rwa6qG_taskRows",
|
|
3879
|
-
"historyMain": "rwa6qG_historyMain",
|
|
3880
|
-
"galleryFilters": "rwa6qG_galleryFilters",
|
|
3881
|
-
"templatesButton": "rwa6qG_templatesButton",
|
|
3882
|
-
"galleryTags": "rwa6qG_galleryTags",
|
|
3883
4103
|
"modelMenuItem": "rwa6qG_modelMenuItem",
|
|
3884
|
-
"taskStatus": "rwa6qG_taskStatus",
|
|
3885
|
-
"galleryFilterNote": "rwa6qG_galleryFilterNote",
|
|
3886
|
-
"galleryRemove": "rwa6qG_galleryRemove",
|
|
3887
|
-
"download": "rwa6qG_download",
|
|
3888
|
-
"updateRelease": "rwa6qG_updateRelease",
|
|
3889
|
-
"panel": "rwa6qG_panel",
|
|
3890
|
-
"historyThumbPlaceholder": "rwa6qG_historyThumbPlaceholder",
|
|
3891
|
-
"uploadBox": "rwa6qG_uploadBox",
|
|
3892
|
-
"updateActions": "rwa6qG_updateActions",
|
|
3893
|
-
"dshImageGenToastIn": "rwa6qG_dshImageGenToastIn",
|
|
3894
|
-
"comparisonBoard": "rwa6qG_comparisonBoard",
|
|
3895
|
-
"historyActions": "rwa6qG_historyActions",
|
|
3896
|
-
"entry": "rwa6qG_entry",
|
|
3897
|
-
"configGuideBody": "rwa6qG_configGuideBody",
|
|
3898
|
-
"configGuide": "rwa6qG_configGuide",
|
|
3899
|
-
"generateButton": "rwa6qG_generateButton",
|
|
3900
|
-
"comparisonGrid": "rwa6qG_comparisonGrid",
|
|
3901
|
-
"uploadIcon": "rwa6qG_uploadIcon",
|
|
3902
|
-
"galleryAvatar": "rwa6qG_galleryAvatar",
|
|
3903
|
-
"taskTrayCount": "rwa6qG_taskTrayCount",
|
|
3904
|
-
"optionPill": "rwa6qG_optionPill",
|
|
3905
|
-
"modelSelect": "rwa6qG_modelSelect",
|
|
3906
|
-
"galleryTagEdit": "rwa6qG_galleryTagEdit",
|
|
3907
|
-
"galleryHeading": "rwa6qG_galleryHeading",
|
|
3908
|
-
"galleryCardInfo": "rwa6qG_galleryCardInfo",
|
|
3909
|
-
"canvasBody": "rwa6qG_canvasBody",
|
|
3910
|
-
"galleryTagEditor": "rwa6qG_galleryTagEditor",
|
|
3911
|
-
"uploadHint": "rwa6qG_uploadHint",
|
|
3912
|
-
"galleryCount": "rwa6qG_galleryCount",
|
|
3913
|
-
"historyList": "rwa6qG_historyList",
|
|
3914
4104
|
"promptCount": "rwa6qG_promptCount",
|
|
3915
|
-
"
|
|
3916
|
-
"
|
|
3917
|
-
"
|
|
3918
|
-
"
|
|
3919
|
-
"
|
|
3920
|
-
"history": "rwa6qG_history",
|
|
3921
|
-
"modelLabel": "rwa6qG_modelLabel",
|
|
3922
|
-
"lightboxZoomLevel": "rwa6qG_lightboxZoomLevel",
|
|
3923
|
-
"historyHeader": "rwa6qG_historyHeader",
|
|
3924
|
-
"galleryToolbar": "rwa6qG_galleryToolbar",
|
|
3925
|
-
"taskTrayChevron": "rwa6qG_taskTrayChevron",
|
|
3926
|
-
"gallerySelectionBar": "rwa6qG_gallerySelectionBar",
|
|
3927
|
-
"comparisonFullscreenGrid": "rwa6qG_comparisonFullscreenGrid",
|
|
3928
|
-
"grid": "rwa6qG_grid",
|
|
4105
|
+
"historyFilters": "rwa6qG_historyFilters",
|
|
4106
|
+
"galleryCardInfo": "rwa6qG_galleryCardInfo",
|
|
4107
|
+
"taskStatus": "rwa6qG_taskStatus",
|
|
4108
|
+
"entryIcon": "rwa6qG_entryIcon",
|
|
4109
|
+
"lightboxDownload": "rwa6qG_lightboxDownload",
|
|
3929
4110
|
"canvas": "rwa6qG_canvas",
|
|
3930
|
-
"
|
|
3931
|
-
"
|
|
3932
|
-
"
|
|
3933
|
-
"
|
|
3934
|
-
"lightboxActions": "rwa6qG_lightboxActions",
|
|
3935
|
-
"historySearch": "rwa6qG_historySearch",
|
|
3936
|
-
"historyItem": "rwa6qG_historyItem",
|
|
3937
|
-
"hiddenFile": "rwa6qG_hiddenFile",
|
|
3938
|
-
"historyAction": "rwa6qG_historyAction",
|
|
3939
|
-
"canvasEmptyIcon": "rwa6qG_canvasEmptyIcon",
|
|
3940
|
-
"canvasError": "rwa6qG_canvasError"
|
|
4111
|
+
"historyList": "rwa6qG_historyList",
|
|
4112
|
+
"compareModelChoices": "rwa6qG_compareModelChoices",
|
|
4113
|
+
"modelWrap": "rwa6qG_modelWrap",
|
|
4114
|
+
"modelLabel": "rwa6qG_modelLabel"
|
|
3941
4115
|
};
|
|
3942
4116
|
//#endregion
|
|
3943
4117
|
//#region src/client/mount.tsx
|
|
@@ -4594,79 +4768,79 @@ window.__ModuleLoader__.load({
|
|
|
4594
4768
|
document.head.appendChild(tag);
|
|
4595
4769
|
}
|
|
4596
4770
|
var settings_card_module_css_default = {
|
|
4597
|
-
"
|
|
4598
|
-
"
|
|
4599
|
-
"
|
|
4600
|
-
"header": "zmjoSq_header",
|
|
4601
|
-
"channelSection": "zmjoSq_channelSection",
|
|
4602
|
-
"chevronOpen": "zmjoSq_chevronOpen",
|
|
4603
|
-
"channelName": "zmjoSq_channelName",
|
|
4604
|
-
"deleteConfirmText": "zmjoSq_deleteConfirmText",
|
|
4605
|
-
"editorHeader": "zmjoSq_editorHeader",
|
|
4606
|
-
"chevron": "zmjoSq_chevron",
|
|
4607
|
-
"addModel": "zmjoSq_addModel",
|
|
4608
|
-
"discard": "zmjoSq_discard",
|
|
4609
|
-
"card": "zmjoSq_card",
|
|
4610
|
-
"channelBadge": "zmjoSq_channelBadge",
|
|
4611
|
-
"channelAdd": "zmjoSq_channelAdd",
|
|
4612
|
-
"modelArrow": "zmjoSq_modelArrow",
|
|
4613
|
-
"pending": "zmjoSq_pending",
|
|
4614
|
-
"modelInput": "zmjoSq_modelInput",
|
|
4615
|
-
"modelBadge": "zmjoSq_modelBadge",
|
|
4771
|
+
"modelCatalogHead": "zmjoSq_modelCatalogHead",
|
|
4772
|
+
"modelEmpty": "zmjoSq_modelEmpty",
|
|
4773
|
+
"modelCatalogTools": "zmjoSq_modelCatalogTools",
|
|
4616
4774
|
"description": "zmjoSq_description",
|
|
4617
|
-
"
|
|
4618
|
-
"
|
|
4619
|
-
"
|
|
4620
|
-
"
|
|
4621
|
-
"sectionHeader": "zmjoSq_sectionHeader",
|
|
4622
|
-
"channelEmpty": "zmjoSq_channelEmpty",
|
|
4775
|
+
"modelArrow": "zmjoSq_modelArrow",
|
|
4776
|
+
"chevronOpen": "zmjoSq_chevronOpen",
|
|
4777
|
+
"modelCatalog": "zmjoSq_modelCatalog",
|
|
4778
|
+
"channelDotReady": "zmjoSq_channelDotReady",
|
|
4623
4779
|
"editorTag": "zmjoSq_editorTag",
|
|
4624
|
-
"
|
|
4625
|
-
"candidatePanel": "zmjoSq_candidatePanel",
|
|
4626
|
-
"candidateHead": "zmjoSq_candidateHead",
|
|
4627
|
-
"modelCatalogHead": "zmjoSq_modelCatalogHead",
|
|
4628
|
-
"sectionHint": "zmjoSq_sectionHint",
|
|
4629
|
-
"candidateId": "zmjoSq_candidateId",
|
|
4630
|
-
"editorTitle": "zmjoSq_editorTitle",
|
|
4780
|
+
"channelList": "zmjoSq_channelList",
|
|
4631
4781
|
"channelDanger": "zmjoSq_channelDanger",
|
|
4632
|
-
"
|
|
4633
|
-
"
|
|
4634
|
-
"channelAction": "zmjoSq_channelAction",
|
|
4635
|
-
"modelEmpty": "zmjoSq_modelEmpty",
|
|
4782
|
+
"candidateId": "zmjoSq_candidateId",
|
|
4783
|
+
"channelSection": "zmjoSq_channelSection",
|
|
4636
4784
|
"save": "zmjoSq_save",
|
|
4637
|
-
"sectionTitle": "zmjoSq_sectionTitle",
|
|
4638
|
-
"headText": "zmjoSq_headText",
|
|
4639
4785
|
"link": "zmjoSq_link",
|
|
4640
|
-
"
|
|
4786
|
+
"channelEditor": "zmjoSq_channelEditor",
|
|
4787
|
+
"candidateList": "zmjoSq_candidateList",
|
|
4788
|
+
"candidate": "zmjoSq_candidate",
|
|
4789
|
+
"candidateActions": "zmjoSq_candidateActions",
|
|
4790
|
+
"header": "zmjoSq_header",
|
|
4791
|
+
"customSettingsSummary": "zmjoSq_customSettingsSummary",
|
|
4792
|
+
"linkButton": "zmjoSq_linkButton",
|
|
4641
4793
|
"modelCategorySelect": "zmjoSq_modelCategorySelect",
|
|
4794
|
+
"body": "zmjoSq_body",
|
|
4642
4795
|
"channelMeta": "zmjoSq_channelMeta",
|
|
4796
|
+
"modelBadge": "zmjoSq_modelBadge",
|
|
4643
4797
|
"modelRow": "zmjoSq_modelRow",
|
|
4644
|
-
"
|
|
4645
|
-
"channelDotReady": "zmjoSq_channelDotReady",
|
|
4646
|
-
"modelCatalogTools": "zmjoSq_modelCatalogTools",
|
|
4647
|
-
"select": "zmjoSq_select",
|
|
4648
|
-
"channelList": "zmjoSq_channelList",
|
|
4798
|
+
"modelCatalogTitle": "zmjoSq_modelCatalogTitle",
|
|
4649
4799
|
"channelHost": "zmjoSq_channelHost",
|
|
4650
|
-
"
|
|
4651
|
-
"
|
|
4800
|
+
"channelRow": "zmjoSq_channelRow",
|
|
4801
|
+
"headText": "zmjoSq_headText",
|
|
4802
|
+
"channelEmpty": "zmjoSq_channelEmpty",
|
|
4803
|
+
"channelAction": "zmjoSq_channelAction",
|
|
4804
|
+
"label": "zmjoSq_label",
|
|
4652
4805
|
"readOnly": "zmjoSq_readOnly",
|
|
4653
|
-
"
|
|
4654
|
-
"
|
|
4655
|
-
"
|
|
4656
|
-
"
|
|
4806
|
+
"sectionHeader": "zmjoSq_sectionHeader",
|
|
4807
|
+
"modelCatalogMeta": "zmjoSq_modelCatalogMeta",
|
|
4808
|
+
"modelRowRemove": "zmjoSq_modelRowRemove",
|
|
4809
|
+
"candidateHead": "zmjoSq_candidateHead",
|
|
4810
|
+
"addModel": "zmjoSq_addModel",
|
|
4811
|
+
"sectionHint": "zmjoSq_sectionHint",
|
|
4812
|
+
"failed": "zmjoSq_failed",
|
|
4813
|
+
"candidatePanel": "zmjoSq_candidatePanel",
|
|
4814
|
+
"channelBadge": "zmjoSq_channelBadge",
|
|
4815
|
+
"channelDotWarn": "zmjoSq_channelDotWarn",
|
|
4816
|
+
"field": "zmjoSq_field",
|
|
4817
|
+
"channelName": "zmjoSq_channelName",
|
|
4818
|
+
"name": "zmjoSq_name",
|
|
4819
|
+
"chevron": "zmjoSq_chevron",
|
|
4820
|
+
"modelInput": "zmjoSq_modelInput",
|
|
4821
|
+
"editorHeader": "zmjoSq_editorHeader",
|
|
4657
4822
|
"channelAddRow": "zmjoSq_channelAddRow",
|
|
4658
|
-
"
|
|
4823
|
+
"candidateTitle": "zmjoSq_candidateTitle",
|
|
4824
|
+
"footer": "zmjoSq_footer",
|
|
4825
|
+
"detectOk": "zmjoSq_detectOk",
|
|
4826
|
+
"editorFooter": "zmjoSq_editorFooter",
|
|
4827
|
+
"input": "zmjoSq_input",
|
|
4828
|
+
"customSettingsBody": "zmjoSq_customSettingsBody",
|
|
4829
|
+
"modelRows": "zmjoSq_modelRows",
|
|
4830
|
+
"select": "zmjoSq_select",
|
|
4659
4831
|
"editorWrap": "zmjoSq_editorWrap",
|
|
4660
|
-
"
|
|
4661
|
-
"
|
|
4662
|
-
"head": "zmjoSq_head",
|
|
4663
|
-
"modelCatalogMeta": "zmjoSq_modelCatalogMeta",
|
|
4832
|
+
"channelMain": "zmjoSq_channelMain",
|
|
4833
|
+
"channelAdd": "zmjoSq_channelAdd",
|
|
4664
4834
|
"reset": "zmjoSq_reset",
|
|
4665
|
-
"
|
|
4666
|
-
"
|
|
4667
|
-
"
|
|
4668
|
-
"
|
|
4669
|
-
"
|
|
4835
|
+
"customSettings": "zmjoSq_customSettings",
|
|
4836
|
+
"deleteConfirmText": "zmjoSq_deleteConfirmText",
|
|
4837
|
+
"discard": "zmjoSq_discard",
|
|
4838
|
+
"sectionTitle": "zmjoSq_sectionTitle",
|
|
4839
|
+
"head": "zmjoSq_head",
|
|
4840
|
+
"editorTitle": "zmjoSq_editorTitle",
|
|
4841
|
+
"pending": "zmjoSq_pending",
|
|
4842
|
+
"card": "zmjoSq_card",
|
|
4843
|
+
"candidateLabel": "zmjoSq_candidateLabel"
|
|
4670
4844
|
};
|
|
4671
4845
|
//#endregion
|
|
4672
4846
|
//#region src/client/SettingsCard.tsx
|
|
@@ -5611,17 +5785,17 @@ window.__ModuleLoader__.load({
|
|
|
5611
5785
|
document.head.appendChild(tag);
|
|
5612
5786
|
}
|
|
5613
5787
|
var audio_toolview_module_css_default = {
|
|
5788
|
+
"download": "_7K1QKa_download",
|
|
5789
|
+
"error": "_7K1QKa_error",
|
|
5614
5790
|
"status": "_7K1QKa_status",
|
|
5615
5791
|
"audios": "_7K1QKa_audios",
|
|
5616
|
-
"
|
|
5617
|
-
"audio": "_7K1QKa_audio",
|
|
5618
|
-
"error": "_7K1QKa_error",
|
|
5619
|
-
"download": "_7K1QKa_download",
|
|
5792
|
+
"message": "_7K1QKa_message",
|
|
5620
5793
|
"empty": "_7K1QKa_empty",
|
|
5621
|
-
"icon": "_7K1QKa_icon",
|
|
5622
5794
|
"header": "_7K1QKa_header",
|
|
5623
5795
|
"root": "_7K1QKa_root",
|
|
5624
|
-
"
|
|
5796
|
+
"icon": "_7K1QKa_icon",
|
|
5797
|
+
"audioRow": "_7K1QKa_audioRow",
|
|
5798
|
+
"audio": "_7K1QKa_audio"
|
|
5625
5799
|
};
|
|
5626
5800
|
//#endregion
|
|
5627
5801
|
//#region src/client/audio-toolview.tsx
|