decord/source/modules/guild_boosting/GuildBoostingProgressBarPersistedStore.tsx

88 lines
2.5 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 15092
// Function ID: 114895
2026-07-20 16:05:17 +00:00
// Name: _isNativeReflectConstruct
2026-07-23 10:11:24 +00:00
// Dependencies: [6, 7, 15, 17, 18, 566, 686, 2]
2026-07-24 07:16:23 +00:00
// Module 15092 (_isNativeReflectConstruct)
2026-07-23 10:11:24 +00:00
import dispatcher from "dispatcher";
import set from "set";
import _possibleConstructorReturn from "_possibleConstructorReturn";
import _getPrototypeOf from "_getPrototypeOf";
import _inherits from "_inherits";
2026-07-20 16:05:17 +00:00
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
let dispatcher = !valueOf.call(Reflect.construct(Boolean, [], () => {
2026-07-20 16:05:17 +00:00
}));
function _isNativeReflectConstruct() {
2026-07-23 10:11:24 +00:00
return dispatcher;
2026-07-20 16:05:17 +00:00
}
const result = _isNativeReflectConstruct();
}
let closure_5 = {};
2026-07-23 10:11:24 +00:00
let tmp2 = ((PersistedStore) => {
2026-07-20 16:05:17 +00:00
class GuildBoostingProgressBarPersistedStore {
constructor() {
self = this;
tmp = GuildBoostingProgressBarPersistedStore(this, GuildBoostingProgressBarPersistedStore);
2026-07-23 10:11:24 +00:00
obj = outer1_3(GuildBoostingProgressBarPersistedStore);
tmp2 = outer1_2;
if (outer1_6()) {
2026-07-20 16:05:17 +00:00
tmp6 = globalThis;
_Reflect = Reflect;
2026-07-23 10:11:24 +00:00
tmp7 = outer1_3;
2026-07-20 16:05:17 +00:00
tmp8 = arguments;
2026-07-23 10:11:24 +00:00
constructResult = Reflect.construct(obj, arguments, outer1_3(self).constructor);
2026-07-20 16:05:17 +00:00
} else {
tmp3 = arguments;
tmp4 = arguments;
constructResult = obj(...arguments);
}
return tmp2(self, constructResult);
}
}
callback2(GuildBoostingProgressBarPersistedStore, PersistedStore);
let obj = {
key: "initialize",
value(arg0) {
2026-07-23 10:11:24 +00:00
if (null != arg0) {
const outer1_5 = arg0;
}
2026-07-20 16:05:17 +00:00
}
};
const items = [obj, , ];
obj = {
key: "getState",
value() {
2026-07-23 10:11:24 +00:00
return outer1_5;
2026-07-20 16:05:17 +00:00
}
};
items[1] = obj;
obj = {
key: "getCountForGuild",
value(arg0) {
2026-07-23 10:11:24 +00:00
return outer1_5[arg0];
2026-07-20 16:05:17 +00:00
}
};
items[2] = obj;
return callback(GuildBoostingProgressBarPersistedStore, items);
2026-07-23 10:11:24 +00:00
})(require("initialize").PersistedStore);
2026-07-20 16:05:17 +00:00
tmp2.displayName = "GuildBoostingProgressBarPersistedStore";
tmp2.persistKey = "PremiumGuildProgressBarPersistedStore";
2026-07-23 10:11:24 +00:00
tmp2 = new tmp2(require("dispatcher"), {
2026-07-20 16:05:17 +00:00
APPLIED_GUILD_BOOST_COUNT_UPDATE: function handlePremiumCountUpdate(arg0) {
let guildId;
let premiumCount;
const obj = {};
({ guildId, premiumCount } = arg0);
2026-07-23 10:11:24 +00:00
const merged = Object.assign(obj);
2026-07-20 16:05:17 +00:00
obj[guildId] = premiumCount;
},
APPLIED_GUILD_BOOST_COUNT_RESET: function handlePremiumCountReset() {
let closure_5 = {};
}
});
2026-07-23 10:11:24 +00:00
let result = require("_possibleConstructorReturn").fileFinishedImporting("modules/guild_boosting/GuildBoostingProgressBarPersistedStore.tsx");
2026-07-20 16:05:17 +00:00
export default tmp2;