decord/source/modules/hotspot/HotspotActionCreators.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

36 lines
1.3 KiB
TypeScript

// Module ID: 7216
// Function ID: 7217
// Name: hideHotspot
// Dependencies: [1074, 1242, 573, 2]
// Exports: clearHotspotOverride, hideHotspot, setHotspotOverride
// Module 7216 (hideHotspot)
import set from "set" /* 2 */;
import dispatcherDefault from "dispatcher" /* 573 */;
import ME from "ME" /* 1074 */;
import expandEventPropertiesDefault from "expandEventProperties" /* 1242 */;
const AnalyticEvents = ME.AnalyticEvents;
const result = set.fileFinishedImporting("modules/hotspot/HotspotActionCreators.tsx");
export const hideHotspot = function hideHotspot(GUILD_CAP_INLINE_UPSELL) {
importDefault = GUILD_CAP_INLINE_UPSELL;
let obj = expandEventPropertiesDefault;
obj = { hotspot_location: GUILD_CAP_INLINE_UPSELL };
obj.track(AnalyticEvents.HOTSPOT_HIDDEN, obj);
dispatcherDefault.wait(() => {
let obj = GUILD_CAP_INLINE_UPSELL(closure_1_1[2]);
obj = { type: "HOTSPOT_HIDE", location: GUILD_CAP_INLINE_UPSELL };
obj.dispatch(obj);
});
};
export const setHotspotOverride = function setHotspotOverride(location, enabled) {
let obj = dispatcherDefault;
obj = { type: "HOTSPOT_OVERRIDE_SET", location, enabled };
obj.dispatch(obj);
};
export const clearHotspotOverride = function clearHotspotOverride(location) {
let obj = dispatcherDefault;
obj = { type: "HOTSPOT_OVERRIDE_CLEAR", location };
obj.dispatch(obj);
};