This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

+49 -37
View File
@@ -1,49 +1,61 @@
/* Metro module 11965; source: modules/chat/native/ChatViewPopups.tsx; dependencies: [31, 11966, 11970, 11978, 2] */
import UseIsHubRealNamePromptShowing from '../../hub/useIsHubRealNamePromptShowing.tsx'; /* Metro dependency 11966 */
import * as FileImportTrackerModule from '../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactModule from '../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as WelcomeScreenUtilsModule from '../../../utils/native/WelcomeScreenUtils.tsx'; /* Metro dependency 11970 */
function _fun91851(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#91851, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12151:6, offset: 0x02074ee8, size: 139 bytes, params: 8, frame: 19
const env0_0 = require;
const closure = ChatViewPopups;
const ChatViewPopups2 = ChatViewPopups;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importAll(31) /* metro dependency 31 */;
value = value.memo(closure);
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/chat/native/ChatViewPopups.tsx');
let value = ReactModule;
value = value.memo(ChatViewPopups2);
(FileImportTrackerModule).fileFinishedImporting('modules/chat/native/ChatViewPopups.tsx');
exports.default = value;
exports.ChatViewPopups = closure;
}
exports.ChatViewPopups = ChatViewPopups2;
function ChatViewPopups({channelId, guildId}) { // fn#91852, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12151:106, offset: 0x02074f73, size: 147 bytes, params: 2, frame: 18
const env0_1 = env0_3.useRef(false);
const value2 = (UseIsHubRealNamePromptShowing)(guildId);
const value3 = (WelcomeScreenUtilsModule).useShowWelcomeModal(guildId,
channelId);
var env0_3 = value3;
env0_3.useEffect(_fun91853, [guildId, value3, value2]);
return null;
function _fun91853() { // fn#91853, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12151:242, offset: 0x02075006, size: 183 bytes, params: 1, frame: 14
var environment;
var value2;
var value3;
if (!env0_1.current) {
if (env0_2) {
value3 = environment.__proto__;
(importDefault(11978) /* metro dependency 11978: GuildDirectoryNicknameUpsellModalActionCreators */).open({guildId: guildId,
onHide: onHide});
env0_1.current = true;
} else if (env0_3) {
value2 = environment.__proto__;
(require(11970) /* metro dependency 11970: WelcomeScreenUtils */).openWelcomeActionSheet({guildId: guildId,
onHide: onHide_91855});
env0_1.current = true;
}
}
function onHide() { // fn#91854, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12151:293, offset: 0x020750bd, size: 17 bytes, params: 1, frame: 2
env1_1.current = false;
return false;
}
function ChatViewPopups({channelId, guildId}) { // fn#91852, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12151:106, offset: 0x02074f73, size: 147 bytes, params: 2, frame: 18
const env0_1 = env0_3.useRef(false);
const value2 = (importDefault(11966) /* metro dependency 11966: useIsHubRealNamePromptShowing */)(guildId);
const value3 = (require(11970) /* metro dependency 11970: WelcomeScreenUtils */).useShowWelcomeModal(guildId,
channelId);
var env0_3 = value3;
env0_3.useEffect(_fun91853, [guildId, value3, value2]);
return null;
}
function onHide_91855() { // fn#91855, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12151:379, offset: 0x020750bd, size: 17 bytes, params: 1, frame: 2
env1_1.current = false;
return false;
}
function _fun91853() { // fn#91853, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12151:242, offset: 0x02075006, size: 183 bytes, params: 1, frame: 14
var environment;
var value2;
var value3;
if (!env0_1.current) {
if (env0_2) {
value3 = environment.__proto__;
(importDefault(11978) /* metro dependency 11978: GuildDirectoryNicknameUpsellModalActionCreators */).open({guildId: guildId,
onHide: onHide});
env0_1.current = true;
} else if (env0_3) {
value2 = environment.__proto__;
(require(11970) /* metro dependency 11970: WelcomeScreenUtils */).openWelcomeActionSheet({guildId: guildId,
onHide: onHide_91855});
env0_1.current = true;
}
}
}
function onHide() { // fn#91854, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12151:293, offset: 0x020750bd, size: 17 bytes, params: 1, frame: 2
env1_1.current = false;
return false;
}
global.__d(_fun91851, 11965, [31, 11966, 11970, 11978,
2]) /* metro module 11965, dependencies: [31, 11966, 11970, 11978, 2] */;