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,56 +1,62 @@
/* Metro module 15111; source: modules/search/native/hooks/useAutoSearchGuildChannelTab.tsx; dependencies: [31, 11823, 9675, 11828, 22, 11822, 2] */
import SearchPlatformUtils from '../SearchPlatformUtils.tsx'; /* Metro dependency 11822 */
import SearchPlatformActionCreators from '../SearchPlatformActionCreators.tsx'; /* Metro dependency 11828 */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as Module00022Module from '../../../../by-id/module-00022.js'; /* Metro dependency 22 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as SearchUtilsModule from '../../SearchUtils.tsx'; /* Metro dependency 9675 */
import * as SearchPlatformConstantsModule from '../SearchPlatformConstants.tsx'; /* Metro dependency 11823 */
function _fun115164(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#115164, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15308:6, offset: 0x024561fa, size: 143 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importAll(31) /* metro dependency 31 */;
const env0_4 = (require(11823) /* metro dependency 11823: SearchPlatformConstants */).SEARCH_TEXT_INPUT_DEBOUNCE_TIME;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/search/native/hooks/useAutoSearchGuildChannelTab.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/search/native/hooks/useAutoSearchGuildChannelTab.tsx');
exports.useAutoSearchGuildChannelTab = useAutoSearchGuildChannelTab;
}
function useAutoSearchGuildChannelTab(a0, a1) { // fn#115165, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15308:273, offset: 0x02456289, size: 147 bytes, params: 3, frame: 17
const env0_0 = a0;
const env0_1 = a1;
const value = ReactModule.useCallback(_fun115166, [a0]);
ReactModule.useEffect(_fun115167, [a1, value]);
ReactModule.useEffect(_fun115168, [a0, a1, value]);
ReactModule.useEffect(function() {
return _fun115170;
}, [a0]);
function _fun115166(a0) { // fn#115166, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15308:337, offset: 0x0245631c, size: 105 bytes, params: 2, frame: 14
let value = environment.__proto__;
const guildIdFromSearchContext = (SearchUtilsModule).getGuildIdFromSearchContext(env0_0);
if (guildIdFromSearchContext != null) {
value = importDefault(11828) /* metro dependency 11828: SearchPlatformActionCreators */;
value.searchGuildChannelTab({searchContext: env0_0, searchQueryString: a0, guildId: guildIdFromSearchContext});
}
}
function useAutoSearchGuildChannelTab(a0, a1) { // fn#115165, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15308:273, offset: 0x02456289, size: 147 bytes, params: 3, frame: 17
const env0_0 = a0;
const env0_1 = a1;
const binding = env0_3;
const value = binding.useCallback(_fun115166, [a0]);
binding.useEffect(_fun115167, [a1, value]);
binding.useEffect(_fun115168, [a0, a1, value]);
binding.useEffect(function() {
return _fun115170;
}, [a0]);
}
function _fun115167() { // fn#115167, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15308:494, offset: 0x02456385, size: 29 bytes, params: 1, frame: 11
if (!require) {
env0_2('');
}
}
function _fun115168() { // fn#115168, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15308:530, offset: 0x024563a2, size: 96 bytes, params: 1, frame: 18
if (require) {
return undefined;
}
return (SearchPlatformUtils).subscribeTextInputValue(env0_0,
Module00022Module.debounce(env0_2, SEARCH_TEXT_INPUT_DEBOUNCE_TIME), true);
}
function _fun115169() { // fn#115169, offset: 0x02456402, size: 11 bytes, params: 1, frame: 1
return _fun115170;
function _fun115170() { // fn#115170, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15308:646, offset: 0x0245640d, size: 45 bytes, params: 1, frame: 12
const value = environment.__proto__.__proto__;
(SearchPlatformActionCreators).cleanupGuildChannelTab(env1_0);
}
}
function _fun115166(a0) { // fn#115166, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15308:337, offset: 0x0245631c, size: 105 bytes, params: 2, frame: 14
let value = environment.__proto__;
const guildIdFromSearchContext = (require(9675) /* metro dependency 9675: SearchUtils */).getGuildIdFromSearchContext(env0_0);
if (guildIdFromSearchContext != null) {
value = importDefault(11828) /* metro dependency 11828: SearchPlatformActionCreators */;
value.searchGuildChannelTab({searchContext: env0_0, searchQueryString: a0, guildId: guildIdFromSearchContext});
}
}
function _fun115167() { // fn#115167, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15308:494, offset: 0x02456385, size: 29 bytes, params: 1, frame: 11
if (!require) {
env0_2('');
}
}
function _fun115168() { // fn#115168, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15308:530, offset: 0x024563a2, size: 96 bytes, params: 1, frame: 18
if (require) {
return undefined;
}
const moduleValue = require(22) /* metro dependency 22 */;
return (importDefault(11822) /* metro dependency 11822: SearchPlatformUtils */).subscribeTextInputValue(env0_0,
moduleValue.debounce(env0_2, SEARCH_TEXT_INPUT_DEBOUNCE_TIME), true);
}
function _fun115169() { // fn#115169, offset: 0x02456402, size: 11 bytes, params: 1, frame: 1
return _fun115170;
}
function _fun115170() { // fn#115170, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15308:646, offset: 0x0245640d, size: 45 bytes, params: 1, frame: 12
const value = environment.__proto__.__proto__;
(importDefault(11828) /* metro dependency 11828: SearchPlatformActionCreators */).cleanupGuildChannelTab(env1_0);
}
global.__d(_fun115164, 15111, [31, 11823, 9675, 11828, 22, 11822,
2]) /* metro module 15111, dependencies: [31, 11823, 9675, 11828, 22, 11822, 2] */;