Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5051.js (118.4 MB)
23 lines
822 B
TypeScript
23 lines
822 B
TypeScript
// Module ID: 9803
|
|
// Function ID: 9804
|
|
// Name: ChannelMuteUtils
|
|
// Dependencies: [4451, 2]
|
|
// Exports: getMuteSettings
|
|
|
|
// Module 9803 (ChannelMuteUtils)
|
|
import _modDef4451 from "module_4451" /* 4451 */;
|
|
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 = _modDef4451();
|
|
toISOStringResult = _modDef4451().add(selected_time_window, "second").toISOString();
|
|
const addResult = _modDef4451().add(selected_time_window, "second");
|
|
}
|
|
mute_config.end_time = toISOStringResult;
|
|
return { muted: true, mute_config };
|
|
};
|