Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,56 @@
|
||||
/* Metro module 15414; source: modules/video_calls/native/useChannelFloatingCTAContent.tsx; dependencies: [31, 4259, 4294, 632, 9324, 1365, 2] */
|
||||
function _fun117912(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#117912, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15611:6, offset: 0x024c4eba, size: 153 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = importAll(31) /* metro dependency 31 */;
|
||||
const mediaEngineStore = importDefault(4259) /* metro dependency 4259: MediaEngineStore */;
|
||||
const rtcConnectionStore = importDefault(4294) /* metro dependency 4294: RTCConnectionStore */;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/video_calls/native/useChannelFloatingCTAContent.tsx');
|
||||
exports.default = useChannelFloatingCTAContent;
|
||||
}
|
||||
|
||||
function useChannelFloatingCTAContent(a0) { // fn#117913, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15611:229, offset: 0x024c4f53, size: 175 bytes, params: 2, frame: 19
|
||||
const env0_0 = a0;
|
||||
const value2 = (require(632) /* metro dependency 632: useStateFromStores */).useStateFromStores([RTCConnectionStore],
|
||||
_fun117914);
|
||||
const value3 = (importDefault(9324) /* metro dependency 9324: useGameConsoleAccounts */)();
|
||||
const value4 = (require(632) /* metro dependency 632: useStateFromStores */).useStateFromStores([MediaEngineStore],
|
||||
function() {
|
||||
return MediaEngineStore.isAnyLocalVideoAutoDisabled();
|
||||
});
|
||||
return value4.useMemo(_fun117916, [value4, value3, value2]);
|
||||
}
|
||||
|
||||
function _fun117914() { // fn#117914, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15611:308, offset: 0x024c5002, size: 43 bytes, params: 1, frame: 11
|
||||
return env0_0 != null && RTCConnectionStore.getChannelId() === env0_0;
|
||||
}
|
||||
|
||||
function _fun117916() { // fn#117916, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15611:450, offset: 0x024c5042, size: 191 bytes, params: 1, frame: 14
|
||||
var environment;
|
||||
var push;
|
||||
var value2;
|
||||
const DismissibleContent = (require(1365) /* metro dependency 1365: dismissible_content */).DismissibleContent;
|
||||
var value3;
|
||||
const items2 = [];
|
||||
if (env0_3) {
|
||||
push = items2.push;
|
||||
value2 = environment.__proto__;
|
||||
Reflect.apply(push, items2, [DismissibleContent.VOICE_PANEL_BAD_CONNECTION_CTA]);
|
||||
}
|
||||
if (env0_2) {
|
||||
push = items2.push;
|
||||
value3 = environment.__proto__;
|
||||
Reflect.apply(push, items2, [DismissibleContent.SOUNDBOARD_MOBILE_FLOATING_CTA]);
|
||||
}
|
||||
const binding = env0_1;
|
||||
if (binding.some(function(a0) {
|
||||
return a0.twoWayLink;
|
||||
})) {
|
||||
push = items2.push;
|
||||
value = environment.__proto__;
|
||||
Reflect.apply(push, items2, [DismissibleContent.DONUT_MOBILE_NUX]);
|
||||
}
|
||||
return items2;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user