dsh-audiogen 0.4.13 → 0.4.15
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/README.md +2 -1
- package/README.zh-CN.md +2 -1
- package/lib/client.js +350 -348
- package/lib/client.js.map +1 -1
- package/lib/index.js +588 -27
- package/package.json +1 -1
- package/skills/sfx/SKILL.md +6 -0
- package/skills/voice-management/SKILL.md +48 -0
- package/src/agent-audio-tools.ts +123 -0
- package/src/audio-engine.ts +170 -10
- package/src/client/api.ts +2 -0
- package/src/client/audio-panel.module.css +7 -0
- package/src/client/field-specs.ts +1 -1
- package/src/client/studio-view.tsx +9 -1
- package/src/index.ts +1 -1
- package/src/protocol.ts +1 -1
- package/src/routes.ts +6 -1
- package/src/voice-manager.ts +378 -0
package/lib/client.js
CHANGED
|
@@ -906,7 +906,7 @@ window.__ModuleLoader__.load({
|
|
|
906
906
|
label: "时长(秒)",
|
|
907
907
|
type: "number",
|
|
908
908
|
min: 1,
|
|
909
|
-
max:
|
|
909
|
+
max: 200,
|
|
910
910
|
placeholder: "30",
|
|
911
911
|
hint: "duration;MiniMax 音乐 ≤190、ElevenLabs 音乐 3-600(转 ms)、Stability 按模型 190/380"
|
|
912
912
|
},
|
|
@@ -1174,7 +1174,7 @@ window.__ModuleLoader__.load({
|
|
|
1174
1174
|
}
|
|
1175
1175
|
//#endregion
|
|
1176
1176
|
//#region \0dsh-css:/Users/shimingming/Projects_code/dsh-audiogen/src/client/audio-panel.module.css.mjs
|
|
1177
|
-
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:380px;min-width:320px;max-width:440px;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{flex-wrap:wrap;gap:6px;display:flex}.Oo1fpq_modeButton{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-1,#fff);min-width:0;min-height:34px;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;cursor:pointer;border-radius:9px;flex:auto;justify-content:center;align-items:center;padding:6px 10px;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;max-width:760px;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:var(--dsw-alias-state-error-primary,#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:var(--dsw-alias-state-error-primary,#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:var(--dsw-alias-state-success-primary,#16a34a)}.Oo1fpq_taskStatus[data-state=failed]{color:var(--dsw-alias-state-error-primary,#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:var(--dsw-alias-label-secondary,#6b7280);border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-3,#fff);white-space:nowrap;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:var(--dsw-alias-state-error-primary,#dc2626)}.Oo1fpq_historyPrompt{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.Oo1fpq_input:focus-visible,.Oo1fpq_select:focus-visible,.Oo1fpq_textarea:focus-visible,.Oo1fpq_modeButton:focus-visible,.Oo1fpq_ghostButton:focus-visible,.Oo1fpq_historyAction:focus-visible,.Oo1fpq_historyIcon:focus-visible{outline:2px solid var(--dsw-alias-interactive-bg-hover-accent,#26314859);outline-offset:1px}.Oo1fpq_generate:focus-visible{outline:2px solid var(--dsw-alias-interactive-bg-hover-accent,#26314859);outline-offset:2px}@media (width<=1100px){.Oo1fpq_studio{flex-wrap:wrap}.Oo1fpq_historyCol{width:100%;min-width:0;max-width:none}}@media (width<=720px){.Oo1fpq_formCol{width:100%;min-width:0;max-width:none}.Oo1fpq_resultCol{min-height:320px}}.Oo1fpq_formSectionRow{justify-content:space-between;align-items:flex-end;gap:8px;display:flex}.Oo1fpq_formSectionRow .Oo1fpq_formSection{flex:1}.Oo1fpq_enhanceCard{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#fafafa);border-radius:10px;flex-direction:column;gap:8px;padding:10px;display:flex}.Oo1fpq_enhanceCardHead{color:var(--dsw-alias-label-secondary,#6b7280);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.Oo1fpq_enhanceActions{gap:6px;display:flex}.Oo1fpq_enhanceActionsRow{justify-content:flex-end;margin-top:-4px;display:flex}";
|
|
1177
|
+
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:380px;min-width:320px;max-width:440px;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{flex-wrap:wrap;gap:6px;display:flex}.Oo1fpq_modeButton{border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-1,#fff);min-width:0;min-height:34px;color:var(--dsw-alias-label-secondary,#6b7280);white-space:nowrap;cursor:pointer;border-radius:9px;flex:auto;justify-content:center;align-items:center;padding:6px 10px;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;max-width:760px;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:var(--dsw-alias-state-error-primary,#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:var(--dsw-alias-state-error-primary,#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:var(--dsw-alias-state-success-primary,#16a34a)}.Oo1fpq_taskStatus[data-state=failed]{color:var(--dsw-alias-state-error-primary,#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:var(--dsw-alias-label-secondary,#6b7280);border:1px solid var(--dsw-alias-border-l2,#d1d5db);background:var(--dsw-alias-bg-layer-3,#fff);white-space:nowrap;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_textarea:disabled{opacity:.55;cursor:not-allowed;background:var(--dsw-alias-bg-layer-2,#f3f4f6)}.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:var(--dsw-alias-state-error-primary,#dc2626)}.Oo1fpq_historyPrompt{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.Oo1fpq_input:focus-visible,.Oo1fpq_select:focus-visible,.Oo1fpq_textarea:focus-visible,.Oo1fpq_modeButton:focus-visible,.Oo1fpq_ghostButton:focus-visible,.Oo1fpq_historyAction:focus-visible,.Oo1fpq_historyIcon:focus-visible{outline:2px solid var(--dsw-alias-interactive-bg-hover-accent,#26314859);outline-offset:1px}.Oo1fpq_generate:focus-visible{outline:2px solid var(--dsw-alias-interactive-bg-hover-accent,#26314859);outline-offset:2px}@media (width<=1100px){.Oo1fpq_studio{flex-wrap:wrap}.Oo1fpq_historyCol{width:100%;min-width:0;max-width:none}}@media (width<=720px){.Oo1fpq_formCol{width:100%;min-width:0;max-width:none}.Oo1fpq_resultCol{min-height:320px}}.Oo1fpq_formSectionRow{justify-content:space-between;align-items:flex-end;gap:8px;display:flex}.Oo1fpq_formSectionRow .Oo1fpq_formSection{flex:1}.Oo1fpq_enhanceCard{border:1px solid var(--dsw-alias-border-l1,#e5e7eb);background:var(--dsw-alias-bg-layer-2,#fafafa);border-radius:10px;flex-direction:column;gap:8px;padding:10px;display:flex}.Oo1fpq_enhanceCardHead{color:var(--dsw-alias-label-secondary,#6b7280);justify-content:space-between;align-items:center;gap:8px;font-size:12px;display:flex}.Oo1fpq_enhanceActions{gap:6px;display:flex}.Oo1fpq_enhanceActionsRow{justify-content:flex-end;margin-top:-4px;display:flex}";
|
|
1178
1178
|
const tagId$4 = "dsh-audiogen/audio-panel.module.css";
|
|
1179
1179
|
if (typeof document !== "undefined" && document.querySelector("style[data-plugin-css=" + JSON.stringify(tagId$4) + "]") === null) {
|
|
1180
1180
|
const tag = document.createElement("style");
|
|
@@ -1184,115 +1184,115 @@ window.__ModuleLoader__.load({
|
|
|
1184
1184
|
document.head.appendChild(tag);
|
|
1185
1185
|
}
|
|
1186
1186
|
var audio_panel_module_css_default = {
|
|
1187
|
-
"
|
|
1188
|
-
"
|
|
1189
|
-
"modeButton": "Oo1fpq_modeButton",
|
|
1190
|
-
"historyEmpty": "Oo1fpq_historyEmpty",
|
|
1191
|
-
"hint": "Oo1fpq_hint",
|
|
1192
|
-
"iconButton": "Oo1fpq_iconButton",
|
|
1193
|
-
"modeIcon": "Oo1fpq_modeIcon",
|
|
1194
|
-
"player": "Oo1fpq_player",
|
|
1195
|
-
"playButton": "Oo1fpq_playButton",
|
|
1196
|
-
"resultGroup": "Oo1fpq_resultGroup",
|
|
1197
|
-
"overrideRow": "Oo1fpq_overrideRow",
|
|
1198
|
-
"resultModeChip": "Oo1fpq_resultModeChip",
|
|
1199
|
-
"secondaryButton": "Oo1fpq_secondaryButton",
|
|
1200
|
-
"playerCompact": "Oo1fpq_playerCompact",
|
|
1201
|
-
"modalBody": "Oo1fpq_modalBody",
|
|
1202
|
-
"trackKnob": "Oo1fpq_trackKnob",
|
|
1203
|
-
"modeRow": "Oo1fpq_modeRow",
|
|
1204
|
-
"audioList": "Oo1fpq_audioList",
|
|
1205
|
-
"historyHeader": "Oo1fpq_historyHeader",
|
|
1206
|
-
"modalHead": "Oo1fpq_modalHead",
|
|
1207
|
-
"resultGroups": "Oo1fpq_resultGroups",
|
|
1187
|
+
"overrideTable": "Oo1fpq_overrideTable",
|
|
1188
|
+
"historyTabs": "Oo1fpq_historyTabs",
|
|
1208
1189
|
"historyTabCount": "Oo1fpq_historyTabCount",
|
|
1190
|
+
"audioCardHead": "Oo1fpq_audioCardHead",
|
|
1191
|
+
"resultGroupCount": "Oo1fpq_resultGroupCount",
|
|
1192
|
+
"iconButton": "Oo1fpq_iconButton",
|
|
1193
|
+
"tab": "Oo1fpq_tab",
|
|
1209
1194
|
"taskCard": "Oo1fpq_taskCard",
|
|
1195
|
+
"overrideOnly": "Oo1fpq_overrideOnly",
|
|
1196
|
+
"overrideRow": "Oo1fpq_overrideRow",
|
|
1197
|
+
"modeIcon": "Oo1fpq_modeIcon",
|
|
1198
|
+
"modelCheckList": "Oo1fpq_modelCheckList",
|
|
1210
1199
|
"primaryButton": "Oo1fpq_primaryButton",
|
|
1211
|
-
"
|
|
1212
|
-
"
|
|
1213
|
-
"
|
|
1214
|
-
"
|
|
1200
|
+
"formSectionRow": "Oo1fpq_formSectionRow",
|
|
1201
|
+
"taskStatus": "Oo1fpq_taskStatus",
|
|
1202
|
+
"enhanceActions": "Oo1fpq_enhanceActions",
|
|
1203
|
+
"enhanceCardHead": "Oo1fpq_enhanceCardHead",
|
|
1204
|
+
"studio": "Oo1fpq_studio",
|
|
1215
1205
|
"textarea": "Oo1fpq_textarea",
|
|
1216
|
-
"historyModelRow": "Oo1fpq_historyModelRow",
|
|
1217
|
-
"header": "Oo1fpq_header",
|
|
1218
|
-
"historyClear": "Oo1fpq_historyClear",
|
|
1219
1206
|
"toast": "Oo1fpq_toast",
|
|
1220
|
-
"track": "Oo1fpq_track",
|
|
1221
|
-
"modelCheckList": "Oo1fpq_modelCheckList",
|
|
1222
|
-
"overrideDash": "Oo1fpq_overrideDash",
|
|
1223
|
-
"enhanceCardHead": "Oo1fpq_enhanceCardHead",
|
|
1224
1207
|
"formRow": "Oo1fpq_formRow",
|
|
1225
|
-
"resultGroupHead": "Oo1fpq_resultGroupHead",
|
|
1226
|
-
"historyPrompt": "Oo1fpq_historyPrompt",
|
|
1227
|
-
"formCol": "Oo1fpq_formCol",
|
|
1228
|
-
"historyMeta": "Oo1fpq_historyMeta",
|
|
1229
|
-
"modalMask": "Oo1fpq_modalMask",
|
|
1230
|
-
"historyAction": "Oo1fpq_historyAction",
|
|
1231
|
-
"muteButton": "Oo1fpq_muteButton",
|
|
1232
|
-
"resultEmptyIcon": "Oo1fpq_resultEmptyIcon",
|
|
1233
|
-
"resultGroupChip": "Oo1fpq_resultGroupChip",
|
|
1234
|
-
"taskActions": "Oo1fpq_taskActions",
|
|
1235
|
-
"historyTabs": "Oo1fpq_historyTabs",
|
|
1236
|
-
"formFields": "Oo1fpq_formFields",
|
|
1237
|
-
"panel": "Oo1fpq_panel",
|
|
1238
|
-
"tabs": "Oo1fpq_tabs",
|
|
1239
1208
|
"audioCard": "Oo1fpq_audioCard",
|
|
1240
|
-
"
|
|
1241
|
-
"
|
|
1242
|
-
"
|
|
1243
|
-
"historyCompareSummary": "Oo1fpq_historyCompareSummary",
|
|
1244
|
-
"resultGroupCount": "Oo1fpq_resultGroupCount",
|
|
1245
|
-
"fieldFull": "Oo1fpq_fieldFull",
|
|
1246
|
-
"advanced": "Oo1fpq_advanced",
|
|
1247
|
-
"tab": "Oo1fpq_tab",
|
|
1248
|
-
"compareModelName": "Oo1fpq_compareModelName",
|
|
1249
|
-
"checkbox": "Oo1fpq_checkbox",
|
|
1250
|
-
"historyCol": "Oo1fpq_historyCol",
|
|
1251
|
-
"modal": "Oo1fpq_modal",
|
|
1252
|
-
"overrideCell": "Oo1fpq_overrideCell",
|
|
1253
|
-
"taskBar": "Oo1fpq_taskBar",
|
|
1254
|
-
"enhanceActions": "Oo1fpq_enhanceActions",
|
|
1255
|
-
"enhanceCard": "Oo1fpq_enhanceCard",
|
|
1256
|
-
"row": "Oo1fpq_row",
|
|
1257
|
-
"voiceIdChip": "Oo1fpq_voiceIdChip",
|
|
1258
|
-
"ghostButton": "Oo1fpq_ghostButton",
|
|
1259
|
-
"enhanceActionsRow": "Oo1fpq_enhanceActionsRow",
|
|
1260
|
-
"error": "Oo1fpq_error",
|
|
1261
|
-
"historyList": "Oo1fpq_historyList",
|
|
1262
|
-
"taskStatus": "Oo1fpq_taskStatus",
|
|
1209
|
+
"generate": "Oo1fpq_generate",
|
|
1210
|
+
"panel": "Oo1fpq_panel",
|
|
1211
|
+
"resultMeta": "Oo1fpq_resultMeta",
|
|
1263
1212
|
"historyItem": "Oo1fpq_historyItem",
|
|
1264
|
-
"
|
|
1213
|
+
"compareModelName": "Oo1fpq_compareModelName",
|
|
1214
|
+
"historyAction": "Oo1fpq_historyAction",
|
|
1215
|
+
"audioCardActions": "Oo1fpq_audioCardActions",
|
|
1216
|
+
"historyEmpty": "Oo1fpq_historyEmpty",
|
|
1265
1217
|
"historyActions": "Oo1fpq_historyActions",
|
|
1266
|
-
"
|
|
1267
|
-
"
|
|
1268
|
-
"compareChip": "Oo1fpq_compareChip",
|
|
1269
|
-
"compareBoard": "Oo1fpq_compareBoard",
|
|
1270
|
-
"compareState": "Oo1fpq_compareState",
|
|
1271
|
-
"historyTitle": "Oo1fpq_historyTitle",
|
|
1218
|
+
"header": "Oo1fpq_header",
|
|
1219
|
+
"playerCompact": "Oo1fpq_playerCompact",
|
|
1272
1220
|
"resultEmptyHint": "Oo1fpq_resultEmptyHint",
|
|
1273
|
-
"
|
|
1274
|
-
"
|
|
1275
|
-
"
|
|
1276
|
-
"
|
|
1277
|
-
"
|
|
1278
|
-
"
|
|
1279
|
-
"
|
|
1280
|
-
"
|
|
1221
|
+
"compareBoard": "Oo1fpq_compareBoard",
|
|
1222
|
+
"modalMask": "Oo1fpq_modalMask",
|
|
1223
|
+
"tabs": "Oo1fpq_tabs",
|
|
1224
|
+
"ghostButton": "Oo1fpq_ghostButton",
|
|
1225
|
+
"resultGroupHead": "Oo1fpq_resultGroupHead",
|
|
1226
|
+
"resultGroupError": "Oo1fpq_resultGroupError",
|
|
1227
|
+
"overrideCell": "Oo1fpq_overrideCell",
|
|
1228
|
+
"audioList": "Oo1fpq_audioList",
|
|
1229
|
+
"historyTab": "Oo1fpq_historyTab",
|
|
1230
|
+
"taskActions": "Oo1fpq_taskActions",
|
|
1231
|
+
"historyMeta": "Oo1fpq_historyMeta",
|
|
1232
|
+
"overrideDash": "Oo1fpq_overrideDash",
|
|
1233
|
+
"formSection": "Oo1fpq_formSection",
|
|
1281
1234
|
"taskList": "Oo1fpq_taskList",
|
|
1282
|
-
"
|
|
1283
|
-
"overrideTable": "Oo1fpq_overrideTable",
|
|
1235
|
+
"taskHead": "Oo1fpq_taskHead",
|
|
1284
1236
|
"audioCardIndex": "Oo1fpq_audioCardIndex",
|
|
1237
|
+
"historyPrompt": "Oo1fpq_historyPrompt",
|
|
1238
|
+
"fieldCell": "Oo1fpq_fieldCell",
|
|
1239
|
+
"taskBar": "Oo1fpq_taskBar",
|
|
1240
|
+
"historyIcon": "Oo1fpq_historyIcon",
|
|
1241
|
+
"resultCol": "Oo1fpq_resultCol",
|
|
1242
|
+
"compareChip": "Oo1fpq_compareChip",
|
|
1243
|
+
"historyTime": "Oo1fpq_historyTime",
|
|
1244
|
+
"historyCompareBadge": "Oo1fpq_historyCompareBadge",
|
|
1285
1245
|
"compareChips": "Oo1fpq_compareChips",
|
|
1286
|
-
"
|
|
1246
|
+
"modalHead": "Oo1fpq_modalHead",
|
|
1247
|
+
"track": "Oo1fpq_track",
|
|
1248
|
+
"formFields": "Oo1fpq_formFields",
|
|
1249
|
+
"historyTitle": "Oo1fpq_historyTitle",
|
|
1250
|
+
"enhanceActionsRow": "Oo1fpq_enhanceActionsRow",
|
|
1251
|
+
"resultEmptyIcon": "Oo1fpq_resultEmptyIcon",
|
|
1252
|
+
"compareGroup": "Oo1fpq_compareGroup",
|
|
1253
|
+
"historyList": "Oo1fpq_historyList",
|
|
1254
|
+
"error": "Oo1fpq_error",
|
|
1255
|
+
"historyCol": "Oo1fpq_historyCol",
|
|
1256
|
+
"playButton": "Oo1fpq_playButton",
|
|
1257
|
+
"time": "Oo1fpq_time",
|
|
1258
|
+
"muteButton": "Oo1fpq_muteButton",
|
|
1259
|
+
"voiceIdChip": "Oo1fpq_voiceIdChip",
|
|
1260
|
+
"select": "Oo1fpq_select",
|
|
1261
|
+
"compareBox": "Oo1fpq_compareBox",
|
|
1262
|
+
"historyCompareSummary": "Oo1fpq_historyCompareSummary",
|
|
1263
|
+
"label": "Oo1fpq_label",
|
|
1264
|
+
"modeButton": "Oo1fpq_modeButton",
|
|
1265
|
+
"advanced": "Oo1fpq_advanced",
|
|
1266
|
+
"historyHeader": "Oo1fpq_historyHeader",
|
|
1267
|
+
"modeRow": "Oo1fpq_modeRow",
|
|
1268
|
+
"title": "Oo1fpq_title",
|
|
1269
|
+
"modalBody": "Oo1fpq_modalBody",
|
|
1270
|
+
"modalFoot": "Oo1fpq_modalFoot",
|
|
1271
|
+
"row": "Oo1fpq_row",
|
|
1272
|
+
"compareGroupHead": "Oo1fpq_compareGroupHead",
|
|
1273
|
+
"modal": "Oo1fpq_modal",
|
|
1274
|
+
"resultGroups": "Oo1fpq_resultGroups",
|
|
1275
|
+
"formCol": "Oo1fpq_formCol",
|
|
1276
|
+
"resultGroup": "Oo1fpq_resultGroup",
|
|
1287
1277
|
"savedChip": "Oo1fpq_savedChip",
|
|
1278
|
+
"overrideCellHead": "Oo1fpq_overrideCellHead",
|
|
1279
|
+
"taskLabel": "Oo1fpq_taskLabel",
|
|
1280
|
+
"resultModeChip": "Oo1fpq_resultModeChip",
|
|
1281
|
+
"resultGroupChip": "Oo1fpq_resultGroupChip",
|
|
1282
|
+
"player": "Oo1fpq_player",
|
|
1283
|
+
"historyModelRow": "Oo1fpq_historyModelRow",
|
|
1288
1284
|
"audiogenToastIn": "Oo1fpq_audiogenToastIn",
|
|
1289
|
-
"
|
|
1290
|
-
"
|
|
1285
|
+
"trackKnob": "Oo1fpq_trackKnob",
|
|
1286
|
+
"checkbox": "Oo1fpq_checkbox",
|
|
1287
|
+
"secondaryButton": "Oo1fpq_secondaryButton",
|
|
1288
|
+
"fieldFull": "Oo1fpq_fieldFull",
|
|
1291
1289
|
"trackFill": "Oo1fpq_trackFill",
|
|
1292
|
-
"
|
|
1293
|
-
"
|
|
1294
|
-
"
|
|
1295
|
-
"
|
|
1290
|
+
"hint": "Oo1fpq_hint",
|
|
1291
|
+
"enhanceCard": "Oo1fpq_enhanceCard",
|
|
1292
|
+
"input": "Oo1fpq_input",
|
|
1293
|
+
"compareState": "Oo1fpq_compareState",
|
|
1294
|
+
"historyClear": "Oo1fpq_historyClear",
|
|
1295
|
+
"resultEmpty": "Oo1fpq_resultEmpty"
|
|
1296
1296
|
};
|
|
1297
1297
|
//#endregion
|
|
1298
1298
|
//#region src/client/audio-player.tsx
|
|
@@ -1967,6 +1967,7 @@ window.__ModuleLoader__.load({
|
|
|
1967
1967
|
props.showToast("已保存到资源库");
|
|
1968
1968
|
props.onLibraryChanged();
|
|
1969
1969
|
}
|
|
1970
|
+
if (response.note !== void 0 && response.note.trim() !== "") props.showToast(response.note);
|
|
1970
1971
|
reload();
|
|
1971
1972
|
return generated;
|
|
1972
1973
|
};
|
|
@@ -2373,9 +2374,10 @@ window.__ModuleLoader__.load({
|
|
|
2373
2374
|
title: spec.hint,
|
|
2374
2375
|
children: [/* @__PURE__ */ (0, react_jsx_runtime.jsx)("span", { children: spec.label }), /* @__PURE__ */ (0, react_jsx_runtime.jsx)("textarea", {
|
|
2375
2376
|
className: audio_panel_module_css_default.textarea,
|
|
2377
|
+
disabled: instrumental,
|
|
2376
2378
|
value: lyrics,
|
|
2377
2379
|
onChange: (event) => setLyrics(event.target.value),
|
|
2378
|
-
placeholder: "第一段歌词…\n\n第二段歌词…"
|
|
2380
|
+
placeholder: instrumental ? "纯音乐模式无需填写歌词" : "第一段歌词…\n\n第二段歌词…"
|
|
2379
2381
|
})]
|
|
2380
2382
|
}, spec.key);
|
|
2381
2383
|
case "instrumental": return /* @__PURE__ */ (0, react_jsx_runtime.jsxs)("label", {
|
|
@@ -3277,62 +3279,62 @@ window.__ModuleLoader__.load({
|
|
|
3277
3279
|
document.head.appendChild(tag);
|
|
3278
3280
|
}
|
|
3279
3281
|
var library_module_css_default = {
|
|
3280
|
-
"
|
|
3281
|
-
"
|
|
3282
|
-
"
|
|
3283
|
-
"
|
|
3284
|
-
"
|
|
3285
|
-
"
|
|
3286
|
-
"drawerSection": "vzUV2a_drawerSection",
|
|
3287
|
-
"cardName": "vzUV2a_cardName",
|
|
3288
|
-
"cardHead": "vzUV2a_cardHead",
|
|
3289
|
-
"selCount": "vzUV2a_selCount",
|
|
3290
|
-
"chip": "vzUV2a_chip",
|
|
3291
|
-
"filterRow": "vzUV2a_filterRow",
|
|
3282
|
+
"drawerHead": "vzUV2a_drawerHead",
|
|
3283
|
+
"drawerPlayerList": "vzUV2a_drawerPlayerList",
|
|
3284
|
+
"drawerActions": "vzUV2a_drawerActions",
|
|
3285
|
+
"empty": "vzUV2a_empty",
|
|
3286
|
+
"typeChips": "vzUV2a_typeChips",
|
|
3287
|
+
"toolbar": "vzUV2a_toolbar",
|
|
3292
3288
|
"filterLabel": "vzUV2a_filterLabel",
|
|
3293
|
-
"cardCheck": "vzUV2a_cardCheck",
|
|
3294
|
-
"iconBtn": "vzUV2a_iconBtn",
|
|
3295
3289
|
"listActions": "vzUV2a_listActions",
|
|
3296
|
-
"
|
|
3297
|
-
"
|
|
3298
|
-
"
|
|
3299
|
-
"
|
|
3300
|
-
"
|
|
3301
|
-
"
|
|
3302
|
-
"
|
|
3290
|
+
"dangerBtn": "vzUV2a_dangerBtn",
|
|
3291
|
+
"input": "vzUV2a_input",
|
|
3292
|
+
"cardFoot": "vzUV2a_cardFoot",
|
|
3293
|
+
"drawerSection": "vzUV2a_drawerSection",
|
|
3294
|
+
"provValue": "vzUV2a_provValue",
|
|
3295
|
+
"mono": "vzUV2a_mono",
|
|
3296
|
+
"library": "vzUV2a_library",
|
|
3303
3297
|
"chipCount": "vzUV2a_chipCount",
|
|
3304
|
-
"
|
|
3305
|
-
"card": "vzUV2a_card",
|
|
3306
|
-
"primaryBtn": "vzUV2a_primaryBtn",
|
|
3307
|
-
"drawerHead": "vzUV2a_drawerHead",
|
|
3298
|
+
"promptText": "vzUV2a_promptText",
|
|
3308
3299
|
"code": "vzUV2a_code",
|
|
3309
3300
|
"smallChip": "vzUV2a_smallChip",
|
|
3310
|
-
"empty": "vzUV2a_empty",
|
|
3311
|
-
"typeBadge": "vzUV2a_typeBadge",
|
|
3312
|
-
"metaChip": "vzUV2a_metaChip",
|
|
3313
|
-
"drawerField": "vzUV2a_drawerField",
|
|
3314
|
-
"provKey": "vzUV2a_provKey",
|
|
3315
|
-
"provenance": "vzUV2a_provenance",
|
|
3316
|
-
"listHead": "vzUV2a_listHead",
|
|
3317
|
-
"provValue": "vzUV2a_provValue",
|
|
3318
|
-
"mono": "vzUV2a_mono",
|
|
3319
|
-
"paramsDetails": "vzUV2a_paramsDetails",
|
|
3320
|
-
"listCount": "vzUV2a_listCount",
|
|
3321
|
-
"ghostBtn": "vzUV2a_ghostBtn",
|
|
3322
|
-
"cardFoot": "vzUV2a_cardFoot",
|
|
3323
3301
|
"drawerMask": "vzUV2a_drawerMask",
|
|
3302
|
+
"iconBtn": "vzUV2a_iconBtn",
|
|
3324
3303
|
"drawerPlayer": "vzUV2a_drawerPlayer",
|
|
3325
|
-
"
|
|
3304
|
+
"paramsDetails": "vzUV2a_paramsDetails",
|
|
3305
|
+
"listCount": "vzUV2a_listCount",
|
|
3306
|
+
"primaryBtn": "vzUV2a_primaryBtn",
|
|
3307
|
+
"audiogenDrawerIn": "vzUV2a_audiogenDrawerIn",
|
|
3308
|
+
"selCount": "vzUV2a_selCount",
|
|
3309
|
+
"emptyIcon": "vzUV2a_emptyIcon",
|
|
3310
|
+
"emptyHint": "vzUV2a_emptyHint",
|
|
3311
|
+
"card": "vzUV2a_card",
|
|
3312
|
+
"smallSelect": "vzUV2a_smallSelect",
|
|
3313
|
+
"cardCheck": "vzUV2a_cardCheck",
|
|
3314
|
+
"cardTime": "vzUV2a_cardTime",
|
|
3315
|
+
"drawerBody": "vzUV2a_drawerBody",
|
|
3316
|
+
"provenance": "vzUV2a_provenance",
|
|
3317
|
+
"drawerField": "vzUV2a_drawerField",
|
|
3318
|
+
"cardHead": "vzUV2a_cardHead",
|
|
3319
|
+
"typeBadge": "vzUV2a_typeBadge",
|
|
3326
3320
|
"drawer": "vzUV2a_drawer",
|
|
3327
|
-
"
|
|
3328
|
-
"
|
|
3321
|
+
"listHead": "vzUV2a_listHead",
|
|
3322
|
+
"searchInput": "vzUV2a_searchInput",
|
|
3323
|
+
"grid": "vzUV2a_grid",
|
|
3329
3324
|
"searchBox": "vzUV2a_searchBox",
|
|
3330
|
-
"
|
|
3331
|
-
"
|
|
3325
|
+
"drawerTitle": "vzUV2a_drawerTitle",
|
|
3326
|
+
"ghostBtn": "vzUV2a_ghostBtn",
|
|
3327
|
+
"drawerLabel": "vzUV2a_drawerLabel",
|
|
3328
|
+
"drawerPlayerName": "vzUV2a_drawerPlayerName",
|
|
3329
|
+
"stateNote": "vzUV2a_stateNote",
|
|
3330
|
+
"cardName": "vzUV2a_cardName",
|
|
3332
3331
|
"provRow": "vzUV2a_provRow",
|
|
3333
|
-
"
|
|
3334
|
-
"
|
|
3335
|
-
"
|
|
3332
|
+
"provKey": "vzUV2a_provKey",
|
|
3333
|
+
"chip": "vzUV2a_chip",
|
|
3334
|
+
"filterRow": "vzUV2a_filterRow",
|
|
3335
|
+
"metaChip": "vzUV2a_metaChip",
|
|
3336
|
+
"drawerSplit": "vzUV2a_drawerSplit",
|
|
3337
|
+
"textarea": "vzUV2a_textarea"
|
|
3336
3338
|
};
|
|
3337
3339
|
//#endregion
|
|
3338
3340
|
//#region src/client/library-view.tsx
|
|
@@ -4205,167 +4207,167 @@ window.__ModuleLoader__.load({
|
|
|
4205
4207
|
document.head.appendChild(tag);
|
|
4206
4208
|
}
|
|
4207
4209
|
var panel_module_css_default = {
|
|
4208
|
-
"
|
|
4209
|
-
"
|
|
4210
|
-
"
|
|
4211
|
-
"
|
|
4212
|
-
"
|
|
4213
|
-
"
|
|
4214
|
-
"
|
|
4215
|
-
"
|
|
4216
|
-
"
|
|
4217
|
-
"
|
|
4218
|
-
"
|
|
4219
|
-
"
|
|
4210
|
+
"lightboxDownload": "rwa6qG_lightboxDownload",
|
|
4211
|
+
"taskRow": "rwa6qG_taskRow",
|
|
4212
|
+
"reference": "rwa6qG_reference",
|
|
4213
|
+
"canvasHistoryTag": "rwa6qG_canvasHistoryTag",
|
|
4214
|
+
"galleryCount": "rwa6qG_galleryCount",
|
|
4215
|
+
"galleryCardFooter": "rwa6qG_galleryCardFooter",
|
|
4216
|
+
"enhanceButton": "rwa6qG_enhanceButton",
|
|
4217
|
+
"galleryFilterCount": "rwa6qG_galleryFilterCount",
|
|
4218
|
+
"spinner": "rwa6qG_spinner",
|
|
4219
|
+
"galleryTagFilter": "rwa6qG_galleryTagFilter",
|
|
4220
|
+
"connectionStatus": "rwa6qG_connectionStatus",
|
|
4221
|
+
"galleryTagEditor": "rwa6qG_galleryTagEditor",
|
|
4222
|
+
"optionGrid": "rwa6qG_optionGrid",
|
|
4223
|
+
"historyAction": "rwa6qG_historyAction",
|
|
4224
|
+
"canvasEmptyIcon": "rwa6qG_canvasEmptyIcon",
|
|
4225
|
+
"gallerySelectMode": "rwa6qG_gallerySelectMode",
|
|
4226
|
+
"card": "rwa6qG_card",
|
|
4227
|
+
"bigSpinner": "rwa6qG_bigSpinner",
|
|
4228
|
+
"comparisonBoard": "rwa6qG_comparisonBoard",
|
|
4229
|
+
"lightbox": "rwa6qG_lightbox",
|
|
4230
|
+
"gallerySort": "rwa6qG_gallerySort",
|
|
4231
|
+
"gallerySelect": "rwa6qG_gallerySelect",
|
|
4232
|
+
"prompt": "rwa6qG_prompt",
|
|
4233
|
+
"canvasState": "rwa6qG_canvasState",
|
|
4234
|
+
"galleryAdd": "rwa6qG_galleryAdd",
|
|
4235
|
+
"galleryTagFilterList": "rwa6qG_galleryTagFilterList",
|
|
4236
|
+
"canvasMeta": "rwa6qG_canvasMeta",
|
|
4237
|
+
"taskTrayHeader": "rwa6qG_taskTrayHeader",
|
|
4238
|
+
"galleryTags": "rwa6qG_galleryTags",
|
|
4239
|
+
"lightboxCaption": "rwa6qG_lightboxCaption",
|
|
4240
|
+
"canvasBody": "rwa6qG_canvasBody",
|
|
4220
4241
|
"configGuideBody": "rwa6qG_configGuideBody",
|
|
4221
|
-
"
|
|
4242
|
+
"taskPrompt": "rwa6qG_taskPrompt",
|
|
4243
|
+
"galleryTagInput": "rwa6qG_galleryTagInput",
|
|
4244
|
+
"galleryViewToggle": "rwa6qG_galleryViewToggle",
|
|
4245
|
+
"updateActions": "rwa6qG_updateActions",
|
|
4222
4246
|
"galleryImage": "rwa6qG_galleryImage",
|
|
4223
|
-
"canvasBody": "rwa6qG_canvasBody",
|
|
4224
|
-
"lightboxEdit": "rwa6qG_lightboxEdit",
|
|
4225
|
-
"modelWrap": "rwa6qG_modelWrap",
|
|
4226
|
-
"lightboxTool": "rwa6qG_lightboxTool",
|
|
4227
|
-
"updateBanner": "rwa6qG_updateBanner",
|
|
4228
|
-
"gallerySort": "rwa6qG_gallerySort",
|
|
4229
|
-
"image": "rwa6qG_image",
|
|
4230
|
-
"comparisonImageButton": "rwa6qG_comparisonImageButton",
|
|
4231
|
-
"galleryCardInfo": "rwa6qG_galleryCardInfo",
|
|
4232
|
-
"modelLabel": "rwa6qG_modelLabel",
|
|
4233
|
-
"historyMeta": "rwa6qG_historyMeta",
|
|
4234
|
-
"lightboxNav": "rwa6qG_lightboxNav",
|
|
4235
|
-
"galleryRatioList": "rwa6qG_galleryRatioList",
|
|
4236
4247
|
"uploadIcon": "rwa6qG_uploadIcon",
|
|
4237
|
-
"
|
|
4238
|
-
"
|
|
4239
|
-
"
|
|
4240
|
-
"galleryRatio": "rwa6qG_galleryRatio",
|
|
4241
|
-
"referenceActions": "rwa6qG_referenceActions",
|
|
4242
|
-
"galleryTagEditor": "rwa6qG_galleryTagEditor",
|
|
4243
|
-
"galleryBulkButton": "rwa6qG_galleryBulkButton",
|
|
4244
|
-
"entryIcon": "rwa6qG_entryIcon",
|
|
4248
|
+
"lightboxCaptionRow": "rwa6qG_lightboxCaptionRow",
|
|
4249
|
+
"historyEmpty": "rwa6qG_historyEmpty",
|
|
4250
|
+
"view": "rwa6qG_view",
|
|
4245
4251
|
"panelTitle": "rwa6qG_panelTitle",
|
|
4246
|
-
"
|
|
4247
|
-
"
|
|
4248
|
-
"
|
|
4249
|
-
"
|
|
4250
|
-
"
|
|
4251
|
-
"
|
|
4252
|
-
"
|
|
4253
|
-
"
|
|
4254
|
-
"
|
|
4255
|
-
"
|
|
4252
|
+
"referenceActions": "rwa6qG_referenceActions",
|
|
4253
|
+
"paramLabel": "rwa6qG_paramLabel",
|
|
4254
|
+
"historyFilters": "rwa6qG_historyFilters",
|
|
4255
|
+
"download": "rwa6qG_download",
|
|
4256
|
+
"grid": "rwa6qG_grid",
|
|
4257
|
+
"promptFooter": "rwa6qG_promptFooter",
|
|
4258
|
+
"panelHeading": "rwa6qG_panelHeading",
|
|
4259
|
+
"config": "rwa6qG_config",
|
|
4260
|
+
"gallerySearch": "rwa6qG_gallerySearch",
|
|
4261
|
+
"historyMain": "rwa6qG_historyMain",
|
|
4262
|
+
"uploadHint": "rwa6qG_uploadHint",
|
|
4263
|
+
"lightboxImage": "rwa6qG_lightboxImage",
|
|
4264
|
+
"lightboxMeta": "rwa6qG_lightboxMeta",
|
|
4265
|
+
"galleryRemove": "rwa6qG_galleryRemove",
|
|
4266
|
+
"taskRows": "rwa6qG_taskRows",
|
|
4267
|
+
"templatesButton": "rwa6qG_templatesButton",
|
|
4256
4268
|
"taskTrayClose": "rwa6qG_taskTrayClose",
|
|
4257
|
-
"
|
|
4258
|
-
"lightboxCopy": "rwa6qG_lightboxCopy",
|
|
4259
|
-
"entryLabel": "rwa6qG_entryLabel",
|
|
4260
|
-
"galleryFilters": "rwa6qG_galleryFilters",
|
|
4269
|
+
"lightboxTool": "rwa6qG_lightboxTool",
|
|
4261
4270
|
"lightboxTools": "rwa6qG_lightboxTools",
|
|
4262
|
-
"
|
|
4263
|
-
"
|
|
4264
|
-
"
|
|
4265
|
-
"modelMenuItem": "rwa6qG_modelMenuItem",
|
|
4266
|
-
"modelMenuList": "rwa6qG_modelMenuList",
|
|
4267
|
-
"galleryImageButton": "rwa6qG_galleryImageButton",
|
|
4268
|
-
"paramGroup": "rwa6qG_paramGroup",
|
|
4269
|
-
"generateInner": "rwa6qG_generateInner",
|
|
4270
|
-
"lightboxImage": "rwa6qG_lightboxImage",
|
|
4271
|
-
"hiddenFile": "rwa6qG_hiddenFile",
|
|
4272
|
-
"lightboxDownload": "rwa6qG_lightboxDownload",
|
|
4273
|
-
"configScroll": "rwa6qG_configScroll",
|
|
4271
|
+
"galleryRatio": "rwa6qG_galleryRatio",
|
|
4272
|
+
"githubLink": "rwa6qG_githubLink",
|
|
4273
|
+
"galleryFilters": "rwa6qG_galleryFilters",
|
|
4274
4274
|
"canvasError": "rwa6qG_canvasError",
|
|
4275
|
-
"
|
|
4276
|
-
"
|
|
4277
|
-
"galleryFilterDivider": "rwa6qG_galleryFilterDivider",
|
|
4278
|
-
"galleryCard": "rwa6qG_galleryCard",
|
|
4279
|
-
"taskTray": "rwa6qG_taskTray",
|
|
4280
|
-
"lightboxIndex": "rwa6qG_lightboxIndex",
|
|
4281
|
-
"historyClear": "rwa6qG_historyClear",
|
|
4282
|
-
"historyPrompt": "rwa6qG_historyPrompt",
|
|
4283
|
-
"lightboxZoomLevel": "rwa6qG_lightboxZoomLevel",
|
|
4284
|
-
"comparisonFullscreen": "rwa6qG_comparisonFullscreen",
|
|
4285
|
-
"galleryTagInput": "rwa6qG_galleryTagInput",
|
|
4286
|
-
"galleryBadge": "rwa6qG_galleryBadge",
|
|
4287
|
-
"uploadHint": "rwa6qG_uploadHint",
|
|
4288
|
-
"config": "rwa6qG_config",
|
|
4289
|
-
"historyThumbPlaceholder": "rwa6qG_historyThumbPlaceholder",
|
|
4290
|
-
"promptFooter": "rwa6qG_promptFooter",
|
|
4291
|
-
"lightboxCaption": "rwa6qG_lightboxCaption",
|
|
4292
|
-
"taskStatus": "rwa6qG_taskStatus",
|
|
4293
|
-
"canvasMeta": "rwa6qG_canvasMeta",
|
|
4294
|
-
"historyHeader": "rwa6qG_historyHeader",
|
|
4295
|
-
"taskRow": "rwa6qG_taskRow",
|
|
4296
|
-
"zoomHint": "rwa6qG_zoomHint",
|
|
4297
|
-
"updateActions": "rwa6qG_updateActions",
|
|
4298
|
-
"galleryAdd": "rwa6qG_galleryAdd",
|
|
4275
|
+
"galleryRatioList": "rwa6qG_galleryRatioList",
|
|
4276
|
+
"dshImageGenSpin": "rwa6qG_dshImageGenSpin",
|
|
4299
4277
|
"comparisonGrid": "rwa6qG_comparisonGrid",
|
|
4300
|
-
"githubLink": "rwa6qG_githubLink",
|
|
4301
|
-
"galleryClear": "rwa6qG_galleryClear",
|
|
4302
|
-
"canvasStateTitle": "rwa6qG_canvasStateTitle",
|
|
4303
4278
|
"uploadBox": "rwa6qG_uploadBox",
|
|
4304
|
-
"
|
|
4305
|
-
"
|
|
4306
|
-
"
|
|
4307
|
-
"taskTrayCount": "rwa6qG_taskTrayCount",
|
|
4308
|
-
"taskTrayHeader": "rwa6qG_taskTrayHeader",
|
|
4309
|
-
"historyThumb": "rwa6qG_historyThumb",
|
|
4310
|
-
"imageCaption": "rwa6qG_imageCaption",
|
|
4311
|
-
"dshImageGenSpin": "rwa6qG_dshImageGenSpin",
|
|
4312
|
-
"canvasState": "rwa6qG_canvasState",
|
|
4313
|
-
"galleryToolbarActions": "rwa6qG_galleryToolbarActions",
|
|
4314
|
-
"comparisonBoard": "rwa6qG_comparisonBoard",
|
|
4279
|
+
"lightboxZoomLevel": "rwa6qG_lightboxZoomLevel",
|
|
4280
|
+
"lightboxCopy": "rwa6qG_lightboxCopy",
|
|
4281
|
+
"lightboxIndex": "rwa6qG_lightboxIndex",
|
|
4315
4282
|
"lightboxClose": "rwa6qG_lightboxClose",
|
|
4316
|
-
"
|
|
4283
|
+
"updateBanner": "rwa6qG_updateBanner",
|
|
4284
|
+
"historyHeader": "rwa6qG_historyHeader",
|
|
4285
|
+
"historyInfo": "rwa6qG_historyInfo",
|
|
4286
|
+
"paramGroup": "rwa6qG_paramGroup",
|
|
4287
|
+
"optionPill": "rwa6qG_optionPill",
|
|
4288
|
+
"generateInner": "rwa6qG_generateInner",
|
|
4289
|
+
"canvasStateTitle": "rwa6qG_canvasStateTitle",
|
|
4290
|
+
"compareModelChoices": "rwa6qG_compareModelChoices",
|
|
4291
|
+
"modePill": "rwa6qG_modePill",
|
|
4292
|
+
"galleryBadge": "rwa6qG_galleryBadge",
|
|
4293
|
+
"comparisonFullscreen": "rwa6qG_comparisonFullscreen",
|
|
4294
|
+
"entry": "rwa6qG_entry",
|
|
4317
4295
|
"galleryTagEdit": "rwa6qG_galleryTagEdit",
|
|
4318
|
-
"
|
|
4319
|
-
"
|
|
4320
|
-
"
|
|
4321
|
-
"historyFilters": "rwa6qG_historyFilters",
|
|
4322
|
-
"galleryToast": "rwa6qG_galleryToast",
|
|
4296
|
+
"galleryFilterNote": "rwa6qG_galleryFilterNote",
|
|
4297
|
+
"history": "rwa6qG_history",
|
|
4298
|
+
"historySearch": "rwa6qG_historySearch",
|
|
4323
4299
|
"referenceImage": "rwa6qG_referenceImage",
|
|
4324
|
-
"
|
|
4325
|
-
"
|
|
4326
|
-
"
|
|
4327
|
-
"
|
|
4328
|
-
"reference": "rwa6qG_reference",
|
|
4329
|
-
"panel": "rwa6qG_panel",
|
|
4330
|
-
"connectionDot": "rwa6qG_connectionDot",
|
|
4331
|
-
"canvasStateHint": "rwa6qG_canvasStateHint",
|
|
4332
|
-
"panelHeading": "rwa6qG_panelHeading",
|
|
4333
|
-
"paramLabel": "rwa6qG_paramLabel",
|
|
4334
|
-
"spinner": "rwa6qG_spinner",
|
|
4335
|
-
"compareControl": "rwa6qG_compareControl",
|
|
4300
|
+
"galleryToolbarActions": "rwa6qG_galleryToolbarActions",
|
|
4301
|
+
"lightboxActions": "rwa6qG_lightboxActions",
|
|
4302
|
+
"canvas": "rwa6qG_canvas",
|
|
4303
|
+
"galleryFilterDivider": "rwa6qG_galleryFilterDivider",
|
|
4336
4304
|
"updateRelease": "rwa6qG_updateRelease",
|
|
4337
|
-
"
|
|
4338
|
-
"
|
|
4305
|
+
"studio": "rwa6qG_studio",
|
|
4306
|
+
"optionRow": "rwa6qG_optionRow",
|
|
4307
|
+
"modelMenuItem": "rwa6qG_modelMenuItem",
|
|
4339
4308
|
"galleryMasonry": "rwa6qG_galleryMasonry",
|
|
4309
|
+
"historyPrompt": "rwa6qG_historyPrompt",
|
|
4310
|
+
"modelLabel": "rwa6qG_modelLabel",
|
|
4311
|
+
"taskTrayToggle": "rwa6qG_taskTrayToggle",
|
|
4340
4312
|
"updateText": "rwa6qG_updateText",
|
|
4313
|
+
"modelSelect": "rwa6qG_modelSelect",
|
|
4314
|
+
"zoomHint": "rwa6qG_zoomHint",
|
|
4315
|
+
"compareControl": "rwa6qG_compareControl",
|
|
4316
|
+
"lightboxEdit": "rwa6qG_lightboxEdit",
|
|
4317
|
+
"historyActions": "rwa6qG_historyActions",
|
|
4318
|
+
"galleryBulkButton": "rwa6qG_galleryBulkButton",
|
|
4319
|
+
"hiddenFile": "rwa6qG_hiddenFile",
|
|
4320
|
+
"gallerySelectionBar": "rwa6qG_gallerySelectionBar",
|
|
4321
|
+
"historyTitle": "rwa6qG_historyTitle",
|
|
4322
|
+
"entryIcon": "rwa6qG_entryIcon",
|
|
4323
|
+
"dshImageGenToastIn": "rwa6qG_dshImageGenToastIn",
|
|
4324
|
+
"modelMenu": "rwa6qG_modelMenu",
|
|
4325
|
+
"historyMeta": "rwa6qG_historyMeta",
|
|
4326
|
+
"image": "rwa6qG_image",
|
|
4327
|
+
"lightboxScaleFrame": "rwa6qG_lightboxScaleFrame",
|
|
4328
|
+
"historyClear": "rwa6qG_historyClear",
|
|
4329
|
+
"galleryToolbar": "rwa6qG_galleryToolbar",
|
|
4330
|
+
"galleryCard": "rwa6qG_galleryCard",
|
|
4331
|
+
"imageCard": "rwa6qG_imageCard",
|
|
4332
|
+
"taskStatus": "rwa6qG_taskStatus",
|
|
4333
|
+
"historyList": "rwa6qG_historyList",
|
|
4334
|
+
"modeRow": "rwa6qG_modeRow",
|
|
4335
|
+
"modelWrap": "rwa6qG_modelWrap",
|
|
4336
|
+
"promptCount": "rwa6qG_promptCount",
|
|
4337
|
+
"lightboxFigure": "rwa6qG_lightboxFigure",
|
|
4338
|
+
"configGuide": "rwa6qG_configGuide",
|
|
4339
|
+
"lightboxNav": "rwa6qG_lightboxNav",
|
|
4340
|
+
"historyThumbPlaceholder": "rwa6qG_historyThumbPlaceholder",
|
|
4341
|
+
"gallerySelectionClear": "rwa6qG_gallerySelectionClear",
|
|
4342
|
+
"paramHint": "rwa6qG_paramHint",
|
|
4343
|
+
"modelMenuList": "rwa6qG_modelMenuList",
|
|
4344
|
+
"taskTrayChevron": "rwa6qG_taskTrayChevron",
|
|
4345
|
+
"galleryFilter": "rwa6qG_galleryFilter",
|
|
4346
|
+
"galleryImageButton": "rwa6qG_galleryImageButton",
|
|
4347
|
+
"entryLabel": "rwa6qG_entryLabel",
|
|
4348
|
+
"comparisonImageButton": "rwa6qG_comparisonImageButton",
|
|
4349
|
+
"generateButton": "rwa6qG_generateButton",
|
|
4341
4350
|
"galleryHeading": "rwa6qG_galleryHeading",
|
|
4342
|
-
"historyAction": "rwa6qG_historyAction",
|
|
4343
|
-
"studio": "rwa6qG_studio",
|
|
4344
|
-
"galleryTagFilter": "rwa6qG_galleryTagFilter",
|
|
4345
|
-
"galleryFilterNote": "rwa6qG_galleryFilterNote",
|
|
4346
|
-
"galleryCount": "rwa6qG_galleryCount",
|
|
4347
4351
|
"compareToggle": "rwa6qG_compareToggle",
|
|
4348
|
-
"
|
|
4349
|
-
"
|
|
4350
|
-
"
|
|
4351
|
-
"
|
|
4352
|
+
"connectionDot": "rwa6qG_connectionDot",
|
|
4353
|
+
"historyThumb": "rwa6qG_historyThumb",
|
|
4354
|
+
"galleryToast": "rwa6qG_galleryToast",
|
|
4355
|
+
"galleryWorkspace": "rwa6qG_galleryWorkspace",
|
|
4356
|
+
"lightboxStage": "rwa6qG_lightboxStage",
|
|
4357
|
+
"taskTray": "rwa6qG_taskTray",
|
|
4352
4358
|
"historyItem": "rwa6qG_historyItem",
|
|
4353
|
-
"
|
|
4354
|
-
"
|
|
4359
|
+
"taskTrayCount": "rwa6qG_taskTrayCount",
|
|
4360
|
+
"canvasStateHint": "rwa6qG_canvasStateHint",
|
|
4361
|
+
"imageCaption": "rwa6qG_imageCaption",
|
|
4362
|
+
"galleryCardInfo": "rwa6qG_galleryCardInfo",
|
|
4363
|
+
"panel": "rwa6qG_panel",
|
|
4355
4364
|
"panelHeader": "rwa6qG_panelHeader",
|
|
4356
|
-
"
|
|
4357
|
-
"
|
|
4358
|
-
"
|
|
4359
|
-
"optionPill": "rwa6qG_optionPill",
|
|
4360
|
-
"historyTitle": "rwa6qG_historyTitle",
|
|
4361
|
-
"historyEmpty": "rwa6qG_historyEmpty",
|
|
4362
|
-
"lightbox": "rwa6qG_lightbox",
|
|
4363
|
-
"lightboxStage": "rwa6qG_lightboxStage",
|
|
4364
|
-
"lightboxScaleFrame": "rwa6qG_lightboxScaleFrame",
|
|
4365
|
-
"dshImageGenToastIn": "rwa6qG_dshImageGenToastIn",
|
|
4365
|
+
"galleryFilterHeading": "rwa6qG_galleryFilterHeading",
|
|
4366
|
+
"galleryAvatar": "rwa6qG_galleryAvatar",
|
|
4367
|
+
"footer": "rwa6qG_footer",
|
|
4366
4368
|
"comparisonFullscreenGrid": "rwa6qG_comparisonFullscreenGrid",
|
|
4367
|
-
"
|
|
4368
|
-
"
|
|
4369
|
+
"configScroll": "rwa6qG_configScroll",
|
|
4370
|
+
"galleryClear": "rwa6qG_galleryClear"
|
|
4369
4371
|
};
|
|
4370
4372
|
//#endregion
|
|
4371
4373
|
//#region src/client/mount.tsx
|
|
@@ -5022,79 +5024,79 @@ window.__ModuleLoader__.load({
|
|
|
5022
5024
|
document.head.appendChild(tag);
|
|
5023
5025
|
}
|
|
5024
5026
|
var settings_card_module_css_default = {
|
|
5027
|
+
"detectOk": "zmjoSq_detectOk",
|
|
5028
|
+
"channelBadge": "zmjoSq_channelBadge",
|
|
5029
|
+
"channelAddRow": "zmjoSq_channelAddRow",
|
|
5030
|
+
"link": "zmjoSq_link",
|
|
5031
|
+
"channelHost": "zmjoSq_channelHost",
|
|
5032
|
+
"channelAdd": "zmjoSq_channelAdd",
|
|
5033
|
+
"modelRows": "zmjoSq_modelRows",
|
|
5034
|
+
"addModel": "zmjoSq_addModel",
|
|
5035
|
+
"input": "zmjoSq_input",
|
|
5036
|
+
"editorTitle": "zmjoSq_editorTitle",
|
|
5037
|
+
"channelList": "zmjoSq_channelList",
|
|
5038
|
+
"editorTag": "zmjoSq_editorTag",
|
|
5039
|
+
"channelAction": "zmjoSq_channelAction",
|
|
5040
|
+
"modelEmpty": "zmjoSq_modelEmpty",
|
|
5041
|
+
"channelEditor": "zmjoSq_channelEditor",
|
|
5042
|
+
"modelBadge": "zmjoSq_modelBadge",
|
|
5043
|
+
"reset": "zmjoSq_reset",
|
|
5044
|
+
"linkButton": "zmjoSq_linkButton",
|
|
5045
|
+
"candidate": "zmjoSq_candidate",
|
|
5046
|
+
"candidateTitle": "zmjoSq_candidateTitle",
|
|
5047
|
+
"save": "zmjoSq_save",
|
|
5048
|
+
"modelCatalogHead": "zmjoSq_modelCatalogHead",
|
|
5025
5049
|
"candidateHead": "zmjoSq_candidateHead",
|
|
5050
|
+
"candidateLabel": "zmjoSq_candidateLabel",
|
|
5051
|
+
"editorFooter": "zmjoSq_editorFooter",
|
|
5052
|
+
"candidateList": "zmjoSq_candidateList",
|
|
5053
|
+
"sectionHint": "zmjoSq_sectionHint",
|
|
5054
|
+
"field": "zmjoSq_field",
|
|
5026
5055
|
"footer": "zmjoSq_footer",
|
|
5027
|
-
"
|
|
5028
|
-
"
|
|
5029
|
-
"modelCatalog": "zmjoSq_modelCatalog",
|
|
5030
|
-
"header": "zmjoSq_header",
|
|
5031
|
-
"description": "zmjoSq_description",
|
|
5056
|
+
"deleteConfirmText": "zmjoSq_deleteConfirmText",
|
|
5057
|
+
"customSettings": "zmjoSq_customSettings",
|
|
5032
5058
|
"modelCategorySelect": "zmjoSq_modelCategorySelect",
|
|
5033
|
-
"failed": "zmjoSq_failed",
|
|
5034
|
-
"editorTag": "zmjoSq_editorTag",
|
|
5035
|
-
"channelRow": "zmjoSq_channelRow",
|
|
5036
5059
|
"candidateId": "zmjoSq_candidateId",
|
|
5037
|
-
"
|
|
5038
|
-
"
|
|
5039
|
-
"
|
|
5040
|
-
"save": "zmjoSq_save",
|
|
5060
|
+
"sectionHeader": "zmjoSq_sectionHeader",
|
|
5061
|
+
"modelRow": "zmjoSq_modelRow",
|
|
5062
|
+
"modelInput": "zmjoSq_modelInput",
|
|
5041
5063
|
"name": "zmjoSq_name",
|
|
5042
|
-
"
|
|
5043
|
-
"link": "zmjoSq_link",
|
|
5044
|
-
"channelName": "zmjoSq_channelName",
|
|
5064
|
+
"failed": "zmjoSq_failed",
|
|
5045
5065
|
"candidateActions": "zmjoSq_candidateActions",
|
|
5046
|
-
"channelAction": "zmjoSq_channelAction",
|
|
5047
|
-
"modelCatalogHead": "zmjoSq_modelCatalogHead",
|
|
5048
5066
|
"headText": "zmjoSq_headText",
|
|
5049
|
-
"editorHeader": "zmjoSq_editorHeader",
|
|
5050
|
-
"candidate": "zmjoSq_candidate",
|
|
5051
|
-
"channelBadge": "zmjoSq_channelBadge",
|
|
5052
|
-
"customSettingsBody": "zmjoSq_customSettingsBody",
|
|
5053
|
-
"modelEmpty": "zmjoSq_modelEmpty",
|
|
5054
|
-
"input": "zmjoSq_input",
|
|
5055
|
-
"modelCatalogTools": "zmjoSq_modelCatalogTools",
|
|
5056
|
-
"customSettings": "zmjoSq_customSettings",
|
|
5057
|
-
"sectionHeader": "zmjoSq_sectionHeader",
|
|
5058
|
-
"candidatePanel": "zmjoSq_candidatePanel",
|
|
5059
|
-
"sectionHint": "zmjoSq_sectionHint",
|
|
5060
|
-
"editorFooter": "zmjoSq_editorFooter",
|
|
5061
|
-
"channelEmpty": "zmjoSq_channelEmpty",
|
|
5062
|
-
"select": "zmjoSq_select",
|
|
5063
5067
|
"label": "zmjoSq_label",
|
|
5064
|
-
"sectionTitle": "zmjoSq_sectionTitle",
|
|
5065
|
-
"channelSection": "zmjoSq_channelSection",
|
|
5066
|
-
"body": "zmjoSq_body",
|
|
5067
|
-
"channelAdd": "zmjoSq_channelAdd",
|
|
5068
|
-
"modelRows": "zmjoSq_modelRows",
|
|
5069
5068
|
"customSettingsSummary": "zmjoSq_customSettingsSummary",
|
|
5069
|
+
"head": "zmjoSq_head",
|
|
5070
|
+
"channelName": "zmjoSq_channelName",
|
|
5071
|
+
"candidatePanel": "zmjoSq_candidatePanel",
|
|
5072
|
+
"channelSection": "zmjoSq_channelSection",
|
|
5073
|
+
"readOnly": "zmjoSq_readOnly",
|
|
5070
5074
|
"chevron": "zmjoSq_chevron",
|
|
5071
|
-
"
|
|
5072
|
-
"
|
|
5073
|
-
"
|
|
5074
|
-
"
|
|
5075
|
-
"
|
|
5076
|
-
"
|
|
5077
|
-
"candidateList": "zmjoSq_candidateList",
|
|
5078
|
-
"addModel": "zmjoSq_addModel",
|
|
5079
|
-
"channelList": "zmjoSq_channelList",
|
|
5080
|
-
"modelBadge": "zmjoSq_modelBadge",
|
|
5081
|
-
"candidateTitle": "zmjoSq_candidateTitle",
|
|
5075
|
+
"header": "zmjoSq_header",
|
|
5076
|
+
"modelCatalog": "zmjoSq_modelCatalog",
|
|
5077
|
+
"modelArrow": "zmjoSq_modelArrow",
|
|
5078
|
+
"modelCatalogTools": "zmjoSq_modelCatalogTools",
|
|
5079
|
+
"editorWrap": "zmjoSq_editorWrap",
|
|
5080
|
+
"channelMain": "zmjoSq_channelMain",
|
|
5082
5081
|
"modelCatalogTitle": "zmjoSq_modelCatalogTitle",
|
|
5082
|
+
"body": "zmjoSq_body",
|
|
5083
|
+
"select": "zmjoSq_select",
|
|
5083
5084
|
"chevronOpen": "zmjoSq_chevronOpen",
|
|
5084
|
-
"head": "zmjoSq_head",
|
|
5085
|
-
"readOnly": "zmjoSq_readOnly",
|
|
5086
|
-
"field": "zmjoSq_field",
|
|
5087
|
-
"deleteConfirmText": "zmjoSq_deleteConfirmText",
|
|
5088
|
-
"channelDotWarn": "zmjoSq_channelDotWarn",
|
|
5089
|
-
"modelRow": "zmjoSq_modelRow",
|
|
5090
|
-
"channelHost": "zmjoSq_channelHost",
|
|
5091
5085
|
"channelDanger": "zmjoSq_channelDanger",
|
|
5092
|
-
"
|
|
5093
|
-
"
|
|
5094
|
-
"
|
|
5086
|
+
"discard": "zmjoSq_discard",
|
|
5087
|
+
"description": "zmjoSq_description",
|
|
5088
|
+
"customSettingsBody": "zmjoSq_customSettingsBody",
|
|
5089
|
+
"channelDotWarn": "zmjoSq_channelDotWarn",
|
|
5090
|
+
"sectionTitle": "zmjoSq_sectionTitle",
|
|
5095
5091
|
"channelMeta": "zmjoSq_channelMeta",
|
|
5096
|
-
"
|
|
5097
|
-
"
|
|
5092
|
+
"channelDotReady": "zmjoSq_channelDotReady",
|
|
5093
|
+
"pending": "zmjoSq_pending",
|
|
5094
|
+
"modelRowRemove": "zmjoSq_modelRowRemove",
|
|
5095
|
+
"channelRow": "zmjoSq_channelRow",
|
|
5096
|
+
"editorHeader": "zmjoSq_editorHeader",
|
|
5097
|
+
"card": "zmjoSq_card",
|
|
5098
|
+
"modelCatalogMeta": "zmjoSq_modelCatalogMeta",
|
|
5099
|
+
"channelEmpty": "zmjoSq_channelEmpty"
|
|
5098
5100
|
};
|
|
5099
5101
|
//#endregion
|
|
5100
5102
|
//#region src/client/SettingsCard.tsx
|
|
@@ -6110,16 +6112,16 @@ window.__ModuleLoader__.load({
|
|
|
6110
6112
|
document.head.appendChild(tag);
|
|
6111
6113
|
}
|
|
6112
6114
|
var audio_toolview_module_css_default = {
|
|
6113
|
-
"root": "_7K1QKa_root",
|
|
6114
|
-
"empty": "_7K1QKa_empty",
|
|
6115
|
-
"download": "_7K1QKa_download",
|
|
6116
|
-
"status": "_7K1QKa_status",
|
|
6117
|
-
"header": "_7K1QKa_header",
|
|
6118
6115
|
"icon": "_7K1QKa_icon",
|
|
6119
|
-
"audio": "_7K1QKa_audio",
|
|
6120
6116
|
"message": "_7K1QKa_message",
|
|
6121
6117
|
"error": "_7K1QKa_error",
|
|
6122
6118
|
"audios": "_7K1QKa_audios",
|
|
6119
|
+
"header": "_7K1QKa_header",
|
|
6120
|
+
"status": "_7K1QKa_status",
|
|
6121
|
+
"root": "_7K1QKa_root",
|
|
6122
|
+
"audio": "_7K1QKa_audio",
|
|
6123
|
+
"download": "_7K1QKa_download",
|
|
6124
|
+
"empty": "_7K1QKa_empty",
|
|
6123
6125
|
"audioRow": "_7K1QKa_audioRow"
|
|
6124
6126
|
};
|
|
6125
6127
|
//#endregion
|