2026-09-11 19:12:58 +00:00
|
|
|
// Module ID: 7669
|
|
|
|
|
// Function ID: 7670
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: ConversationVisibilityStore
|
2026-09-05 10:56:28 +00:00
|
|
|
// Dependencies: [504, 573, 2]
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-11 19:12:58 +00:00
|
|
|
// Module 7669 (ConversationVisibilityStore)
|
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-09-10 05:38:07 +00:00
|
|
|
const highlightingEnabled = true;
|
2026-08-24 06:08:38 +00:00
|
|
|
const DeviceSettingsStore = initializeDefault.DeviceSettingsStore;
|
2026-07-29 08:29:29 +00:00
|
|
|
class ConversationVisibilityStore extends DeviceSettingsStore {
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
const prototype = ConversationVisibilityStore.prototype;
|
|
|
|
|
prototype["initialize"] = function initialize(highlightingEnabled) {
|
|
|
|
|
let flag;
|
|
|
|
|
if (highlightingEnabled != null) {
|
|
|
|
|
flag = highlightingEnabled.highlightingEnabled;
|
|
|
|
|
}
|
|
|
|
|
if (flag == null) {
|
|
|
|
|
flag = true;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
closure_0 = flag;
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
prototype["isHighlightingEnabled"] = function isHighlightingEnabled() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return closure_0;
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
prototype["getState"] = function getState() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return { highlightingEnabled };
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
prototype["getUserAgnosticState"] = function getUserAgnosticState() {
|
2026-09-10 05:38:07 +00:00
|
|
|
return { highlightingEnabled };
|
2026-07-29 08:29:29 +00:00
|
|
|
};
|
|
|
|
|
ConversationVisibilityStore.displayName = "ConversationVisibilityStore";
|
|
|
|
|
ConversationVisibilityStore.persistKey = "ConversationVisibilityStore";
|
2026-09-10 05:38:07 +00:00
|
|
|
const conversationVisibilityStore = new ConversationVisibilityStore(DispatcherDefault, {
|
2026-07-20 16:05:17 +00:00
|
|
|
CONVERSATIONS_TOGGLE_HIGHLIGHTING: function handleToggleHighlighting() {
|
2026-07-29 08:29:29 +00:00
|
|
|
closure_0 = !closure_0;
|
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/conversations/ConversationVisibilityStore.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
2026-07-29 08:29:29 +00:00
|
|
|
export default conversationVisibilityStore;
|