decord/beta/source/modules/conversations/TopicalNavigationSurveyStore.tsx
github-actions 30c0bb2ec3 chore: update source for beta 347.10
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4975.js (118.4 MB)
2026-09-24 16:03:38 +00:00

45 lines
1.6 KiB
TypeScript

// Module ID: 8189
// Function ID: 8190
// Name: TopicalNavigationSurveyStore
// Dependencies: [504, 577, 2]
// Module 8189 (TopicalNavigationSurveyStore)
import initializeDefault from "initialize" /* 504 */;
import DispatcherDefault from "Dispatcher" /* 577 */;
const channelsExposedCount = 0;
const DeviceSettingsStore = initializeDefault.DeviceSettingsStore;
class TopicalNavigationSurveyStore extends DeviceSettingsStore {
}
const prototype = TopicalNavigationSurveyStore.prototype;
prototype["initialize"] = function initialize(channelsExposedCount) {
let num;
if (channelsExposedCount != null) {
num = channelsExposedCount.channelsExposedCount;
}
if (num == null) {
num = 0;
}
closure_0 = num;
};
prototype["shouldTriggerOnNextExposure"] = function shouldTriggerOnNextExposure() {
return closure_0 >= 2;
};
prototype["getState"] = function getState() {
return { channelsExposedCount };
};
prototype["getUserAgnosticState"] = function getUserAgnosticState() {
return { channelsExposedCount };
};
TopicalNavigationSurveyStore.displayName = "TopicalNavigationSurveyStore";
TopicalNavigationSurveyStore.persistKey = "TopicalNavigationSurveyStore";
const topicalNavigationSurveyStore = new TopicalNavigationSurveyStore(DispatcherDefault, {
TOPICAL_NAVIGATION_ENTRYPOINT_IMPRESSION: function handleTopicalNavigationEntrypointImpression() {
closure_0 = closure_0 + 1;
}
});
const size = fn(2);
const result = size.fileFinishedImporting("modules/conversations/TopicalNavigationSurveyStore.tsx");
export default topicalNavigationSurveyStore;
export const MIN_EXPOSURES_FOR_SURVEY = 3;