2026-09-24 10:59:02 +00:00
|
|
|
// Module ID: 10489
|
|
|
|
|
// Function ID: 10490
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ChannelMuteUtils
|
2026-09-24 10:59:02 +00:00
|
|
|
// Dependencies: [4416, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getMuteSettings
|
|
|
|
|
|
2026-09-24 10:59:02 +00:00
|
|
|
// Module 10489 (ChannelMuteUtils)
|
|
|
|
|
import _modDef4416 from "module_4416" /* 4416 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/channel/ChannelMuteUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const getMuteSettings = function getMuteSettings(selected_time_window) {
|
2026-07-29 08:29:29 +00:00
|
|
|
const mute_config = { selected_time_window, end_time: null };
|
2026-07-20 16:05:17 +00:00
|
|
|
let toISOStringResult = null;
|
|
|
|
|
if (selected_time_window > 0) {
|
2026-09-24 10:59:02 +00:00
|
|
|
const obj2 = _modDef4416();
|
|
|
|
|
toISOStringResult = _modDef4416().add(selected_time_window, "second").toISOString();
|
|
|
|
|
const addResult = _modDef4416().add(selected_time_window, "second");
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
mute_config.end_time = toISOStringResult;
|
2026-07-29 08:29:29 +00:00
|
|
|
return { muted: true, mute_config };
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|