43 lines
1.3 KiB
TypeScript
43 lines
1.3 KiB
TypeScript
// Module ID: 17803
|
|
// Function ID: 17804
|
|
// Name: prototype
|
|
// Dependencies: [4583, 4768, 7118, 2]
|
|
|
|
// Module 17803 (prototype)
|
|
import initializeDefault from "initialize" /* 7118 */;
|
|
import closure_0 from "createRTCConnection" /* 4583 */;
|
|
import closure_1 from "withEqualityFn" /* 4768 */;
|
|
|
|
initializeDefault;
|
|
let prototype = function VoicePanelManager() {
|
|
const applyArgumentsResult = HermesBuiltin.applyArguments(new.target, new.target);
|
|
applyArgumentsResult.actions = {
|
|
VOICE_CHANNEL_SELECT() {
|
|
const channelId = store.getChannelId();
|
|
if (null != channelId) {
|
|
const state = store2.getState();
|
|
const channels = state.channels;
|
|
if (!channels.has(channelId)) {
|
|
state.openChannel(channelId);
|
|
}
|
|
}
|
|
},
|
|
RTC_CONNECTION_STATE() {
|
|
const channelId = store.getChannelId();
|
|
if (null != channelId) {
|
|
const state = store2.getState();
|
|
const channels = state.channels;
|
|
if (!channels.has(channelId)) {
|
|
state.openChannel(channelId);
|
|
}
|
|
}
|
|
}
|
|
};
|
|
return applyArgumentsResult;
|
|
}.prototype;
|
|
class prototype extends tmp2 {
|
|
}
|
|
prototype = new prototype();
|
|
const result = require("set").fileFinishedImporting("modules/voice_panel/VoicePanelManager.native.tsx");
|
|
|
|
export default prototype;
|