Files
2026-07-28 01:06:53 +03:00

40 lines
2.7 KiB
TypeScript

/* Metro module 6827; source: modules/hotspot/HotspotActionCreators.tsx; dependencies: [661, 683, 694, 2] */
import AnalyticsUtils from '../../utils/AnalyticsUtils.tsx'; /* Metro dependency 683 */
import Dispatcher from '../../Dispatcher.tsx'; /* Metro dependency 694 */
import * as FileImportTrackerModule from '../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ConstantsModule from '../../Constants.tsx'; /* Metro dependency 661 */
function _fun53661(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#53661, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7005:6, offset: 0x01352a15, size: 144 bytes, params: 8, frame: 18
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
(FileImportTrackerModule).fileFinishedImporting('modules/hotspot/HotspotActionCreators.tsx');
exports.hideHotspot = hideHotspot;
exports.setHotspotOverride = setHotspotOverride;
exports.clearHotspotOverride = clearHotspotOverride;
function hideHotspot(a0) { // fn#53662, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7005:210, offset: 0x01352aa5, size: 94 bytes, params: 2, frame: 18
const env0_0 = a0;
const defaultImport = AnalyticsUtils;
const track = defaultImport.track;
const HOTSPOT_HIDDEN = AnalyticEvents.HOTSPOT_HIDDEN;
Reflect.apply(track, defaultImport, [HOTSPOT_HIDDEN, {hotspot_location: a0}]);
(Dispatcher).wait(_fun53663);
function _fun53663() { // fn#53663, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7005:301, offset: 0x01352b03, size: 60 bytes, params: 1, frame: 13
const value = environment.__proto__;
(Dispatcher).dispatch({type: 'HOTSPOT_HIDE', location: env0_0});
}
}
function setHotspotOverride(a0, a1) { // fn#53664, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7005:382, offset: 0x01352b3f, size: 63 bytes, params: 3, frame: 13
(Dispatcher).dispatch({type: 'HOTSPOT_OVERRIDE_SET', location: a0,
enabled: a1});
}
function clearHotspotOverride(a0) { // fn#53665, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7005:508, offset: 0x01352b7e, size: 56 bytes, params: 2, frame: 13
(Dispatcher).dispatch({type: 'HOTSPOT_OVERRIDE_CLEAR', location: a0});
}
}
global.__d(_fun53661, 6827, [661, 683, 694, 2]) /* metro module 6827, dependencies: [661, 683, 694, 2] */;