decord/source/modules/hotspot/HotspotActionCreators.tsx

33 lines
1.1 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 5732
// Function ID: 5733
2026-07-20 16:05:17 +00:00
// Name: hideHotspot
2026-07-29 08:29:29 +00:00
// Dependencies: [676, 698, 709, 2]
2026-07-20 16:05:17 +00:00
// Exports: clearHotspotOverride, hideHotspot, setHotspotOverride
2026-08-05 07:35:12 +00:00
// Module 5732 (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-29 08:29:29 +00:00
let obj = importDefault(698);
2026-07-20 16:05:17 +00:00
obj = { hotspot_location: GUILD_CAP_INLINE_UPSELL };
obj.track(AnalyticEvents.HOTSPOT_HIDDEN, obj);
2026-07-29 08:29:29 +00:00
importDefault(709).wait(() => {
2026-07-23 10:11:24 +00:00
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-29 08:29:29 +00:00
let obj = importDefault(709);
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-29 08:29:29 +00:00
let obj = importDefault(709);
2026-07-20 16:05:17 +00:00
obj = { type: "HOTSPOT_OVERRIDE_CLEAR", location };
obj.dispatch(obj);
};