decord/source/modules/channel/ChannelMuteUtils.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

23 lines
805 B
TypeScript

// Module ID: 9058
// Function ID: 9059
// Name: getMuteSettings
// Dependencies: [4153, 2]
// Exports: getMuteSettings
// Module 9058 (getMuteSettings)
import set from "set" /* 2 */;
import hooksDefault from "hooks" /* 4153 */;
const result = set.fileFinishedImporting("modules/channel/ChannelMuteUtils.tsx");
export const getMuteSettings = function getMuteSettings(selected_time_window) {
const mute_config = { selected_time_window, end_time: null };
let toISOStringResult = null;
if (selected_time_window > 0) {
const obj2 = hooksDefault();
toISOStringResult = hooksDefault().add(selected_time_window, "second").toISOString();
const addResult = hooksDefault().add(selected_time_window, "second");
}
mute_config[1] = toISOStringResult;
return { muted: true, mute_config };
};