2026-07-23 10:11:24 +00:00
|
|
|
// Module ID: 10283
|
|
|
|
|
// Function ID: 79443
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: getMuteSettings
|
2026-07-23 10:11:24 +00:00
|
|
|
// Dependencies: [3712, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: getMuteSettings
|
|
|
|
|
|
2026-07-23 10:11:24 +00:00
|
|
|
// Module 10283 (getMuteSettings)
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/channel/ChannelMuteUtils.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const getMuteSettings = function getMuteSettings(selected_time_window) {
|
|
|
|
|
let obj = { muted: true };
|
|
|
|
|
obj = { selected_time_window };
|
|
|
|
|
let toISOStringResult = null;
|
|
|
|
|
if (selected_time_window > 0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const obj3 = importDefault(3712)();
|
|
|
|
|
toISOStringResult = importDefault(3712)().add(selected_time_window, "second").toISOString();
|
|
|
|
|
const addResult = importDefault(3712)().add(selected_time_window, "second");
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
obj.end_time = toISOStringResult;
|
|
|
|
|
obj.mute_config = obj;
|
|
|
|
|
return obj;
|
|
|
|
|
};
|