decord/alpha/source/modules/channel/ChannelMuteUtils.tsx
github-actions 6eea20b8e1 chore: update source for alpha 348.3
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
2026-09-24 10:59:02 +00:00

23 lines
825 B
TypeScript

// Module ID: 10489
// Function ID: 10490
// Name: ChannelMuteUtils
// Dependencies: [4416, 2]
// Exports: getMuteSettings
// Module 10489 (ChannelMuteUtils)
import _modDef4416 from "module_4416" /* 4416 */;
import size from "module_2" /* 2 */;
const result = size.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 = _modDef4416();
toISOStringResult = _modDef4416().add(selected_time_window, "second").toISOString();
const addResult = _modDef4416().add(selected_time_window, "second");
}
mute_config.end_time = toISOStringResult;
return { muted: true, mute_config };
};