Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,94 @@
|
||||
/* Metro module 16137; source: modules/voice_panel/VoicePanelManager.native.tsx; dependencies: [7, 6, 15, 17, 18, 4294, 7710, 4860, 2] */
|
||||
function _fun124601(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#124601, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16345:6, offset: 0x025bee33, size: 261 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_0 = importDefault(7) /* metro dependency 7 */;
|
||||
const env0_1 = importDefault(6) /* metro dependency 6 */;
|
||||
const env0_2 = importDefault(15) /* metro dependency 15 */;
|
||||
const env0_3 = importDefault(17) /* metro dependency 17 */;
|
||||
const env0_4 = importDefault(18) /* metro dependency 18 */;
|
||||
const rtcConnectionStore = importDefault(4294) /* metro dependency 4294: RTCConnectionStore */;
|
||||
const voicePanelStore = importDefault(7710) /* metro dependency 7710: VoicePanelStore */;
|
||||
let value = importDefault(4860) /* metro dependency 4860: AutomaticLifecycleManager */;
|
||||
value = _fun124606(value);
|
||||
value = new value();
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/voice_panel/VoicePanelManager.native.tsx');
|
||||
exports.default = value;
|
||||
}
|
||||
|
||||
function _isNativeReflectConstruct_124602() { // fn#124602, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16345:168, offset: 0x025bef38, size: 98 bytes, params: 1, frame: 18
|
||||
var Boolean;
|
||||
var prototype;
|
||||
var valueOf;
|
||||
var call;
|
||||
var Reflect;
|
||||
var construct;
|
||||
var closure;
|
||||
var value;
|
||||
var error;
|
||||
try {
|
||||
Boolean = global.Boolean;
|
||||
prototype = Boolean.prototype;
|
||||
valueOf = prototype.valueOf;
|
||||
call = valueOf.call;
|
||||
Reflect = global.Reflect;
|
||||
construct = Reflect.construct;
|
||||
Boolean = global.Boolean;
|
||||
closure = function() {
|
||||
};
|
||||
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
|
||||
value = Reflect.apply(call, valueOf, [value]);
|
||||
var result = !value;
|
||||
} catch (error) {
|
||||
}
|
||||
return (_isNativeReflectConstruct_124602_isNativeReflectConstruct = function() {
|
||||
return !!result;
|
||||
})();
|
||||
}
|
||||
|
||||
function checkChannelOpened() { // fn#124605, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16345:361, offset: 0x025bef9a, size: 71 bytes, params: 1, frame: 12
|
||||
var channels;
|
||||
var state;
|
||||
const channelId = RTCConnectionStore.getChannelId();
|
||||
if (channelId != null) {
|
||||
state = VoicePanelStore.getState();
|
||||
channels = state.channels;
|
||||
if (!channels.has(channelId)) {
|
||||
state.openChannel(channelId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _fun124606(a0) { // fn#124606, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16345:492, offset: 0x025befe1, size: 42 bytes, params: 2, frame: 14
|
||||
const closure = VoicePanelManager;
|
||||
env0_4(closure, a0);
|
||||
return env0_0(closure);
|
||||
}
|
||||
|
||||
function VoicePanelManager(a0) { // fn#124607, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:16345:504, offset: 0x025bf00b, size: 160 bytes, params: 2, frame: 20
|
||||
var r0;
|
||||
var Reflect;
|
||||
let value = copyRestArgs(0, undefined);
|
||||
let binding = env1_1;
|
||||
binding(this, VoicePanelManager);
|
||||
const items = [];
|
||||
arraySpread(items, value, 0, items);
|
||||
value = env1_3(VoicePanelManager);
|
||||
binding = env1_2;
|
||||
if (_isNativeReflectConstruct_124602()) {
|
||||
Reflect = global.Reflect;
|
||||
value = Reflect.construct(value, items, env1_3(this).constructor);
|
||||
r0 = value;
|
||||
} else {
|
||||
value = value.apply(this, items);
|
||||
r0 = value;
|
||||
}
|
||||
value = binding(this, r0);
|
||||
value.actions = {VOICE_CHANNEL_SELECT: function() {
|
||||
checkChannelOpened();
|
||||
}, RTC_CONNECTION_STATE: function() {
|
||||
checkChannelOpened();
|
||||
}};
|
||||
return value;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user