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

@@ -1,27 +1,32 @@
/* Metro module 9699; source: modules/forums/native/hooks/useCanSearchForumPostsByChannelId.tsx; dependencies: [1379, 3784, 661, 566, 2] */
import ChannelStore from '../../../../stores/ChannelStore.tsx'; /* Metro dependency 1379 */
import PermissionStore from '../../../../stores/PermissionStore.tsx'; /* Metro dependency 3784 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as FluxModule from '../../../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
import * as ConstantsModule from '../../../../Constants.tsx'; /* Metro dependency 661 */
function _fun76232(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76232, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9885:6, offset: 0x01dc765d, size: 152 bytes, params: 8, frame: 19
let env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const channelStore = importDefault(1379) /* metro dependency 1379: ChannelStore */;
const permissionStore = importDefault(3784) /* metro dependency 3784: PermissionStore */;
const env0_4 = (require(661) /* metro dependency 661: Constants */).Permissions;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/forums/native/hooks/useCanSearchForumPostsByChannelId.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/forums/native/hooks/useCanSearchForumPostsByChannelId.tsx');
exports.useCanSearchForumPostsByChannelId = function(a0) {
var env0_0 = a0;
return require(dependencyMap[3]).useStateFromStores([ChannelStore, PermissionStore], _fun76234);
};
function useCanSearchForumPostsByChannelId(a0) { // fn#76233, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9885:273, offset: 0x01dc76f5, size: 74 bytes, params: 2, frame: 15
const env0_0 = a0;
return (FluxModule).useStateFromStores([ChannelStore, PermissionStore],
_fun76234);
function _fun76234() { // fn#76234, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9885:360, offset: 0x01dc773f, size: 61 bytes, params: 1, frame: 14
const value = environment.__proto__;
const channel = ChannelStore.getChannel(env0_0);
return channel != null && PermissionStore.can(Permissions.READ_MESSAGE_HISTORY, channel);
}
}
}
function useCanSearchForumPostsByChannelId(a0) { // fn#76233, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9885:273, offset: 0x01dc76f5, size: 74 bytes, params: 2, frame: 15
const env0_0 = a0;
return (require(566) /* metro dependency 566: flux */).useStateFromStores([ChannelStore, PermissionStore],
_fun76234);
}
function _fun76234() { // fn#76234, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9885:360, offset: 0x01dc773f, size: 61 bytes, params: 1, frame: 14
const value = environment.__proto__;
const channel = ChannelStore.getChannel(env0_0);
return channel != null && PermissionStore.can(Permissions.READ_MESSAGE_HISTORY, channel);
}
global.__d(_fun76232, 9699, [1379, 3784, 661, 566,
2]) /* metro module 9699, dependencies: [1379, 3784, 661, 566, 2] */;
@@ -1,23 +1,27 @@
/* Metro module 9722; source: modules/forums/native/hooks/useIsForumChannelSearchActive.tsx; dependencies: [7156, 9699, 566, 2] */
import ForumSearchStore from '../../ForumSearchStore.tsx'; /* Metro dependency 7156 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as FluxModule from '../../../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
import * as UseCanSearchForumPostsByChannelIdModule from './useCanSearchForumPostsByChannelId.tsx'; /* Metro dependency 9699 */
function _fun76377(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#76377, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9908:6, offset: 0x01dcd3e6, size: 114 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const forumSearchStore = importDefault(7156) /* metro dependency 7156: ForumSearchStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/forums/native/hooks/useIsForumChannelSearchActive.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/forums/native/hooks/useIsForumChannelSearchActive.tsx');
exports.useIsForumChannelSearchActive = useIsForumChannelSearchActive;
function useIsForumChannelSearchActive(a0) { // fn#76378, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9908:233, offset: 0x01dcd458, size: 107 bytes, params: 2, frame: 18
const env0_0 = a0;
const value2 = (UseCanSearchForumPostsByChannelIdModule).useCanSearchForumPostsByChannelId(a0);
const useStateFromStores = FluxModule.useStateFromStores;
return value2 && Reflect.apply(useStateFromStores, FluxModule, [[ForumSearchStore], _fun76379, [a0]]) != null;
function _fun76379() { // fn#76379, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9908:360, offset: 0x01dcd4c3, size: 40 bytes, params: 1, frame: 12
const value2 = null;
return value2 != env0_0 ? ForumSearchStore.getSearchQuery(env0_0) : value2;
}
}
}
function useIsForumChannelSearchActive(a0) { // fn#76378, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9908:233, offset: 0x01dcd458, size: 107 bytes, params: 2, frame: 18
const env0_0 = a0;
const value2 = (require(9699) /* metro dependency 9699: useCanSearchForumPostsByChannelId */).useCanSearchForumPostsByChannelId(a0);
const fluxModule = require(566) /* metro dependency 566: flux */;
const useStateFromStores = fluxModule.useStateFromStores;
return value2 && Reflect.apply(useStateFromStores, fluxModule, [[ForumSearchStore], _fun76379, [a0]]) != null;
}
function _fun76379() { // fn#76379, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9908:360, offset: 0x01dcd4c3, size: 40 bytes, params: 1, frame: 12
const value2 = null;
return value2 != env0_0 ? ForumSearchStore.getSearchQuery(env0_0) : value2;
}
global.__d(_fun76377, 9722, [7156, 9699, 566, 2]) /* metro module 9722, dependencies: [7156, 9699, 566, 2] */;