Files
2026-07-28 01:06:53 +03:00

25 lines
1.9 KiB
TypeScript

/* Metro module 11948; source: modules/applications/getApplicationFromBotUserId.tsx; dependencies: [5189, 661, 566, 2] */
import UserProfileStore from '../user_profile/UserProfileStore.tsx'; /* Metro dependency 5189 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */
function _fun91699(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#91699, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12134:6, offset: 0x0206e63b, size: 136 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/applications/getApplicationFromBotUserId.tsx');
exports.default = useGetApplicationFromBotUserId;
function useGetApplicationFromBotUserId(a0) { // fn#91700, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12134:238, offset: 0x0206e6c3, size: 78 bytes, params: 2, frame: 15
const env0_0 = a0;
return (require(566) /* metro dependency 566: flux */).useStateFromStores([UserProfileStore],
_fun91701) ?? undefined;
function _fun91701() { // fn#91701, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12134:319, offset: 0x0206e711, size: 70 bytes, params: 1, frame: 16
return env0_0 === null || UserProfileStore.getUserProfile(env0_0 ?? EMPTY_STRING_SNOWFLAKE_ID) == null ? undefined : UserProfileStore.getUserProfile(env0_0 ?? EMPTY_STRING_SNOWFLAKE_ID).application;
}
}
}
global.__d(_fun91699, 11948, [5189, 661, 566, 2]) /* metro module 11948, dependencies: [5189, 661, 566, 2] */;