2026-09-16 07:03:15 +00:00
|
|
|
// Module ID: 17560
|
|
|
|
|
// Function ID: 17561
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: FeedbackOverrideStore
|
2026-09-16 07:03:15 +00:00
|
|
|
// Dependencies: [17559, 504, 573, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-09-16 07:03:15 +00:00
|
|
|
// Module 17560 (FeedbackOverrideStore)
|
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-09-16 07:03:15 +00:00
|
|
|
import feedback_FeedbackManager from "feedback/FeedbackManager" /* 17559 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
require = fn;
|
2026-07-29 08:29:29 +00:00
|
|
|
let closure_2 = {};
|
2026-08-24 06:08:38 +00:00
|
|
|
const Store = initializeDefault.Store;
|
2026-07-29 08:29:29 +00:00
|
|
|
class HotspotStore extends Store {
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const prototype = HotspotStore.prototype;
|
|
|
|
|
prototype["initialize"] = function initialize() {
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
prototype["getFeedbackConfig"] = function getFeedbackConfig(ACTIVITY) {
|
2026-09-10 05:38:07 +00:00
|
|
|
return closure_2[ACTIVITY];
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
HotspotStore.displayName = "FeedbackOverrideStore";
|
|
|
|
|
HotspotStore.persistKey = "feedbackOverrides";
|
2026-09-10 05:38:07 +00:00
|
|
|
const hotspotStore = new HotspotStore(DispatcherDefault, {
|
2026-07-20 16:05:17 +00:00
|
|
|
FEEDBACK_OVERRIDE_SET: function handleSetFeedbackOverride(feedbackType) {
|
|
|
|
|
feedbackType = feedbackType.feedbackType;
|
|
|
|
|
const obj = {};
|
|
|
|
|
({ cooldown, chance } = feedbackType);
|
2026-09-10 05:38:07 +00:00
|
|
|
const merged = Object.assign(feedback_FeedbackManager.FeedbackConfig[feedbackType]);
|
2026-07-29 08:29:29 +00:00
|
|
|
obj.cooldown = cooldown;
|
|
|
|
|
obj.chance = chance;
|
|
|
|
|
closure_2[feedbackType] = obj;
|
2026-07-20 16:05:17 +00:00
|
|
|
},
|
|
|
|
|
FEEDBACK_OVERRIDE_CLEAR: function handleClearFeedbackOverride(arg0) {
|
2026-07-23 10:11:24 +00:00
|
|
|
delete tmp[tmp2];
|
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/feedback/FeedbackOverrideStore.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export default hotspotStore;
|