decord/source/modules/auth/AuthInviteStore.tsx

70 lines
1.9 KiB
TypeScript
Raw Normal View History

2026-07-25 08:10:48 +00:00
// Module ID: 4051
// Function ID: 33793
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 1387, 566, 686, 2]
2026-07-20 16:05:17 +00:00
2026-07-25 08:10:48 +00:00
// Module 4051 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import initialize from "initialize";
import dispatcher from "dispatcher";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
const require = arg1;
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
let closure_0 = !valueOf.call(Reflect.construct(Boolean, [], () => {
}));
function _isNativeReflectConstruct() {
return closure_0;
}
const result = _isNativeReflectConstruct();
}
let closure_7 = {};
2026-07-23 10:11:24 +00:00
let tmp2 = ((Store) => {
2026-07-20 16:05:17 +00:00
class AuthInviteStore {
constructor() {
self = this;
2026-07-23 10:11:24 +00:00
tmp = outer1_2(this, AuthInviteStore);
obj = outer1_5(AuthInviteStore);
tmp2 = outer1_4;
if (outer1_8()) {
2026-07-20 16:05:17 +00:00
tmp6 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp7 = outer1_5;
2026-07-20 16:05:17 +00:00
tmp8 = arguments;
2026-07-23 10:11:24 +00:00
constructResult = Reflect.construct(obj, arguments, outer1_5(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
tmp3 = arguments;
tmp4 = arguments;
constructResult = obj(...arguments);
}
return tmp2(self, constructResult);
}
}
callback2(AuthInviteStore, Store);
const items = [
{
key: "getGuild",
value(arg0) {
2026-07-23 10:11:24 +00:00
return outer1_7[arg0];
2026-07-20 16:05:17 +00:00
}
}
];
return callback(AuthInviteStore, items);
2026-07-23 10:11:24 +00:00
})(require("initialize").Store);
2026-07-20 16:05:17 +00:00
tmp2.displayName = "AuthInviteStore";
2026-07-23 10:11:24 +00:00
tmp2 = new tmp2(require("dispatcher"), {
2026-07-20 16:05:17 +00:00
AUTH_INVITE_UPDATE: function handleAuthInviteUpdate(invite) {
const guild = invite.invite.guild;
if (null == guild) {
return false;
} else {
2026-07-23 10:11:24 +00:00
closure_7[guild.id] = require(1387) /* fromGuildPropertiesWithAdditionalFields */.fromInviteGuild(guild);
2026-07-20 16:05:17 +00:00
}
}
});
2026-07-23 10:11:24 +00:00
let result = require("_possibleConstructorReturn").fileFinishedImporting("modules/auth/AuthInviteStore.tsx");
2026-07-20 16:05:17 +00:00
export default tmp2;