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,45 +1,56 @@
/* Metro module 9091; source: modules/channel/native/components/CreateChannelTypeDescription.tsx; dependencies: [31, 27, 9092, 661, 33, 9093, 6721, 4573, 1244, 2] */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as ConstantsModule from '../../../../Constants.tsx'; /* Metro dependency 661 */
import * as GuildProfileStoreModule from '../../../guild_profile/GuildProfileStore.tsx'; /* Metro dependency 9092 */
import * as UseGuildProfileModule from '../../../guild_profile/hooks/useGuildProfile.tsx'; /* Metro dependency 9093 */
function _fun71094(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#71094, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9276:6, offset: 0x01d14856, size: 200 bytes, params: 8, frame: 18
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_2 = importAll(31) /* metro dependency 31 */;
const env0_3 = (require(27) /* metro dependency 27 */).View;
const env0_4 = (require(9092) /* metro dependency 9092: GuildProfileStore */).GuildProfileFetchStatus;
const env0_5 = (require(661) /* metro dependency 661: Constants */).ChannelTypes;
const env0_6 = (require(33) /* metro dependency 33 */).jsx;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/channel/native/components/CreateChannelTypeDescription.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/channel/native/components/CreateChannelTypeDescription.tsx');
exports.default = CreateChannelTypeDescription;
function CreateChannelTypeDescription({guildId, channelType}) { // fn#71095, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9276:302, offset: 0x01d1491e, size: 328 bytes, params: 2, frame: 22
var r3;
var r0;
var VISIBLE;
var Text;
var intl;
const {guildProfile, fetchGuildProfile,
fetchStatus} = (UseGuildProfileModule).useGuildProfile(guildId);
const FETCHED = GuildProfileFetchStatus.FETCHED;
const value3 = fetchStatus !== FETCHED;
const value5 = guildProfile != null;
if (value5) {
VISIBLE = (require(6721) /* metro dependency 6721: GuildProfileVisibility */).GuildProfileVisibilitySets.VISIBLE;
r3 = VISIBLE.has(guildProfile.visibility);
} else {
r3 = value5;
}
const r1 = !value3 && !r3 && channelType === ChannelTypes.GUILD_ANNOUNCEMENT;
ReactModule.useEffect(function() {
fetchGuildProfile();
}, [guildId, fetchGuildProfile]);
if (r1) {
Text = (require(4573) /* metro dependency 4573: Text */).Text;
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
r0 = (
<View>
<Text variant="text-sm/normal" color="text-subtle">
{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['2Ab4Id'])}
</Text>
</View>
);
} else {
r0 = null;
}
return r0;
}
}
function CreateChannelTypeDescription({guildId, channelType}) { // fn#71095, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:9276:302, offset: 0x01d1491e, size: 328 bytes, params: 2, frame: 22
var r3;
var r0;
var VISIBLE;
var Text;
var intl;
const {guildProfile, fetchGuildProfile,
fetchStatus} = (require(9093) /* metro dependency 9093: useGuildProfile */).useGuildProfile(guildId);
const FETCHED = GuildProfileFetchStatus.FETCHED;
const value3 = fetchStatus !== FETCHED;
const value5 = guildProfile != null;
if (value5) {
VISIBLE = (require(6721) /* metro dependency 6721: GuildProfileVisibility */).GuildProfileVisibilitySets.VISIBLE;
r3 = VISIBLE.has(guildProfile.visibility);
} else {
r3 = value5;
}
const r1 = !value3 && !r3 && channelType === ChannelTypes.GUILD_ANNOUNCEMENT;
env0_2.useEffect(function() {
fetchGuildProfile();
}, [guildId, fetchGuildProfile]);
if (r1) {
Text = (require(4573) /* metro dependency 4573: Text */).Text;
intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
r0 = <View><Text variant="text-sm/normal" color="text-subtle">{intl.string((require(1244) /* metro dependency 1244: indexNative */).t['2Ab4Id'])}</Text></View>;
} else {
r0 = null;
}
return r0;
}
global.__d(_fun71094, 9091, [31, 27, 9092, 661, 33, 9093, 6721, 4573, 1244,
2]) /* metro module 9091, dependencies: [31, 27, 9092, 661, 33, 9093, 6721, 4573, 1244, 2] */;