2026-09-10 19:12:31 +00:00
|
|
|
// Module ID: 5609
|
|
|
|
|
// Function ID: 5610
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: NewUserStore
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [504, 573, 2]
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 19:12:31 +00:00
|
|
|
// Module 5609 (NewUserStore)
|
2026-09-05 10:56:28 +00:00
|
|
|
import initializeDefault from "initialize" /* 504 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import DispatcherDefault from "Dispatcher" /* 573 */;
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
let c0 = null;
|
2026-08-24 06:08:38 +00:00
|
|
|
const PersistedStore = initializeDefault.PersistedStore;
|
2026-07-29 08:29:29 +00:00
|
|
|
class NewUserStore extends PersistedStore {
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const prototype = NewUserStore.prototype;
|
|
|
|
|
prototype["initialize"] = function initialize(type) {
|
|
|
|
|
type = undefined;
|
|
|
|
|
if (type != null) {
|
|
|
|
|
type = type.type;
|
|
|
|
|
}
|
|
|
|
|
if (type == null) {
|
|
|
|
|
type = null;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
c0 = type;
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
prototype["getType"] = function getType() {
|
|
|
|
|
return c0;
|
|
|
|
|
};
|
|
|
|
|
prototype["getState"] = function getState() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return { type };
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
NewUserStore.displayName = "NewUserStore";
|
|
|
|
|
NewUserStore.persistKey = "nuf";
|
2026-09-10 05:38:07 +00:00
|
|
|
const newUserStore = new NewUserStore(DispatcherDefault, {
|
2026-07-20 16:05:17 +00:00
|
|
|
NUF_NEW_USER: function handleNewUser(newUserType) {
|
|
|
|
|
newUserType = newUserType.newUserType;
|
2026-07-29 08:29:29 +00:00
|
|
|
newUserStore.persist();
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
NUF_COMPLETE: function handleNUFCompleted() {
|
2026-08-24 06:08:38 +00:00
|
|
|
c0 = null;
|
2026-07-29 08:29:29 +00:00
|
|
|
newUserStore.persist();
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
|
|
|
|
});
|
2026-09-10 05:38:07 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/nuf/NewUserStore.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export default newUserStore;
|