2026-09-01 10:26:29 +00:00
|
|
|
// Module ID: 9011
|
|
|
|
|
// Function ID: 9012
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: useGuildProfile
|
2026-09-01 10:26:29 +00:00
|
|
|
// Dependencies: [5, 19, 9009, 589, 9012, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: useGuildProfile
|
|
|
|
|
|
2026-09-01 10:26:29 +00:00
|
|
|
// Module 9011 (useGuildProfile)
|
2026-08-24 06:08:38 +00:00
|
|
|
import closure_2 from "asyncGeneratorStep" /* 5 */;
|
|
|
|
|
import closure_3 from "noop" /* 19 */;
|
2026-09-01 10:26:29 +00:00
|
|
|
import closure_4 from "handleUpdateStart" /* 9009 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
|
|
|
|
const require = arg1;
|
2026-08-24 06:08:38 +00:00
|
|
|
const result = require("set").fileFinishedImporting("modules/guild_profile/hooks/useGuildProfile.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const useGuildProfile = function useGuildProfile(guildId) {
|
2026-07-23 10:11:24 +00:00
|
|
|
const _require = guildId;
|
2026-07-29 08:29:29 +00:00
|
|
|
let obj = _require(589);
|
2026-08-24 06:08:38 +00:00
|
|
|
const items = [closure_4];
|
|
|
|
|
const stateFromStores = obj.useStateFromStores(items, () => closure_1_4.getProfile(closure_0));
|
|
|
|
|
const items1 = [closure_4];
|
2026-07-29 08:29:29 +00:00
|
|
|
obj = { guildProfile: stateFromStores, fetchGuildProfile: null, fetchStatus: null };
|
2026-08-24 06:08:38 +00:00
|
|
|
const stateFromStores1 = _require(589).useStateFromStores(items1, () => closure_1_4.getFetchStatus(closure_0));
|
2026-07-20 16:05:17 +00:00
|
|
|
const items2 = [guildId];
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[1] = React.useCallback(callback(() => {
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_0 = arg0;
|
|
|
|
|
c3 = 0;
|
|
|
|
|
c4 = 0;
|
2026-07-29 08:29:29 +00:00
|
|
|
const iter = (function*() {
|
2026-09-01 10:26:29 +00:00
|
|
|
closure_1 = tmp2;
|
|
|
|
|
if (flag === undefined) {
|
|
|
|
|
flag = false;
|
2026-07-29 08:29:29 +00:00
|
|
|
}
|
2026-09-01 10:26:29 +00:00
|
|
|
yield "PX_16";
|
|
|
|
|
const obj2 = callback(closure_1_1[4]);
|
|
|
|
|
yield obj2.getGuildProfile(flag, flag);
|
|
|
|
|
return arg1;
|
2026-07-29 08:29:29 +00:00
|
|
|
})();
|
|
|
|
|
iter.next();
|
|
|
|
|
return iter;
|
|
|
|
|
}), items2);
|
|
|
|
|
obj[2] = stateFromStores1;
|
2026-07-20 16:05:17 +00:00
|
|
|
return obj;
|
|
|
|
|
};
|