decord/source/modules/hotspot/HotspotActionCreators.tsx

33 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-07-24 07:16:23 +00:00
// Module ID: 5599
2026-07-27 11:26:19 +00:00
// Function ID: 47592
2026-07-20 16:05:17 +00:00
// Name: hideHotspot
2026-07-23 10:11:24 +00:00
// Dependencies: [653, 675, 686, 2]
2026-07-20 16:05:17 +00:00
// Exports: clearHotspotOverride, hideHotspot, setHotspotOverride
2026-07-24 07:16:23 +00:00
// Module 5599 (hideHotspot)
2026-07-23 10:11:24 +00:00
import { AnalyticEvents } from "ME";
const result = require("dispatcher").fileFinishedImporting("modules/hotspot/HotspotActionCreators.tsx");
2026-07-20 16:05:17 +00:00
export const hideHotspot = function hideHotspot(GUILD_CAP_INLINE_UPSELL) {
const importDefault = GUILD_CAP_INLINE_UPSELL;
2026-07-23 10:11:24 +00:00
let obj = importDefault(675);
2026-07-20 16:05:17 +00:00
obj = { hotspot_location: GUILD_CAP_INLINE_UPSELL };
obj.track(AnalyticEvents.HOTSPOT_HIDDEN, obj);
2026-07-23 10:11:24 +00:00
importDefault(686).wait(() => {
let obj = GUILD_CAP_INLINE_UPSELL(outer1_1[2]);
obj = { type: "HOTSPOT_HIDE", location: GUILD_CAP_INLINE_UPSELL };
2026-07-20 16:05:17 +00:00
obj.dispatch(obj);
});
};
export const setHotspotOverride = function setHotspotOverride(location, enabled) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "HOTSPOT_OVERRIDE_SET", location, enabled };
obj.dispatch(obj);
};
export const clearHotspotOverride = function clearHotspotOverride(location) {
2026-07-23 10:11:24 +00:00
let obj = importDefault(686);
2026-07-20 16:05:17 +00:00
obj = { type: "HOTSPOT_OVERRIDE_CLEAR", location };
obj.dispatch(obj);
};