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

85 lines
4.5 KiB
TypeScript

/* Metro module 4110; source: modules/auth/AuthInviteStore.tsx; dependencies: [6, 7, 15, 17, 18, 1418, 566, 694, 2] */
import ClassCallCheck from '../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from '../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
import PossibleConstructorReturn from '../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
import Module00017 from '../../by-id/module-00017.js'; /* Metro dependency 17 */
import Inherits from '../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
import Flux from '../../external/discord_common/js/packages/flux/index.tsx'; /* Metro dependency 566 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as GuildRecordUtilsModule from '../../utils/GuildRecordUtils.tsx'; /* Metro dependency 1418 */
function _fun33739(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#33739, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4275:6, offset: 0x0103a9d9, size: 275 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_7 = {};
const Store = (Flux).Store;
let value = _fun33743(Store);
value.displayName = 'AuthInviteStore';
value = new value(importDefault(694) /* metro dependency 694: Dispatcher */,
{AUTH_INVITE_UPDATE: AUTH_INVITE_UPDATE});
(FileImportTrackerModule).fileFinishedImporting('modules/auth/AuthInviteStore.tsx');
exports.default = value;
function _isNativeReflectConstruct_33740() { // fn#33740, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4275:148, offset: 0x0103aaec, size: 94 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_33740_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun33743(a0) { // fn#33743, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4275:356, offset: 0x0103ab4a, size: 68 bytes, params: 2, frame: 15
const AuthInviteStore2 = AuthInviteStore;
Inherits(AuthInviteStore2, a0);
return CreateClass(AuthInviteStore2, [{key: 'getGuild', value: value_33745}]);
function AuthInviteStore() { // fn#33744, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4275:368, offset: 0x00c6223c, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_2(this, AuthInviteStore);
const value3 = env1_5(AuthInviteStore);
return env1_4(this, _isNativeReflectConstruct_33740() ? global.Reflect.construct(value3, arguments,
env1_5(this).constructor) : value3.apply(this, arguments));
}
function value_33745(a0) { // fn#33745, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4275:659, offset: 0x0103ab8e, size: 16 bytes, params: 2, frame: 2
return env1_7[a0];
}
}
function AUTH_INVITE_UPDATE({invite}) { // fn#33746, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4275:775, offset: 0x0103ab9e, size: 75 bytes, params: 2, frame: 14
const guild = invite.guild;
if (guild == null) {
return false;
}
const binding = env0_7;
const id = guild.id;
binding[id] = GuildRecordUtilsModule.fromInviteGuild(guild);
}
}
global.__d(_fun33739, 4110, [6, 7, 15, 17, 18, 1418, 566, 694,
2]) /* metro module 4110, dependencies: [6, 7, 15, 17, 18, 1418, 566, 694, 2] */;