Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

@@ -0,0 +1,41 @@
/* Metro module 10244; source: modules/user_profile/hooks/useTrackUserProfileActivityAction.tsx; dependencies: [31, 10046, 8514, 6771, 566, 8515, 2] */
function _fun79570(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#79570, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10430:6, offset: 0x01e58870, size: 139 bytes, params: 8, frame: 19
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = (require(31) /* metro dependency 31 */).useCallback;
const contentInventoryOutboxStore = importDefault(10046) /* metro dependency 10046: ContentInventoryOutboxStore */;
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/user_profile/hooks/useTrackUserProfileActivityAction.tsx');
exports.default = useTrackUserProfileActivityAction;
}
function useTrackUserProfileActivityAction({user, display, activity, entry, stream, voiceChannelId, analyticsLocations}) { // fn#79571, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10430:236, offset: 0x01e588fb, size: 284 bytes, params: 2, frame: 24
const {context,
trackUserProfileAction} = (require(8514) /* metro dependency 8514: UserProfileAnalyticsContext */).useUserProfileAnalyticsContext();
const r4 = analyticsLocations ?? (importDefault(6771) /* metro dependency 6771: useAnalyticsLocations */)().analyticsLocations;
const userOutbox = (require(566) /* metro dependency 566: flux */).useStateFromStores([ContentInventoryOutboxStore],
function() {
return ContentInventoryOutboxStore.getUserOutbox(user.id);
});
return useCallback(_fun79573, [trackUserProfileAction, context, display, activity, stream, entry, userOutbox,
voiceChannelId, r4]);
}
function _fun79573({action}) { // fn#79573, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10430:568, offset: 0x01e58a37, size: 153 bytes, params: 2, frame: 15
var object2;
trackUserProfileAction({action: action, analyticsLocations: env0_8});
const userProfileAnalyticsUtilsModule = require(8515) /* metro dependency 8515: UserProfileAnalyticsUtils */;
const trackUserProfileActivityAction = userProfileAnalyticsUtilsModule.trackUserProfileActivityAction;
object2 = {action: action};
object2.display = display;
object2.activity = activity;
object2.entry = entry;
object2.stream = stream;
object2.outbox = userOutbox;
object2.voiceChannelId = voiceChannelId;
const binding = env0_8;
object2.analyticsLocations = binding;
copyDataProperties(object2, context, binding);
Reflect.apply(trackUserProfileActivityAction, userProfileAnalyticsUtilsModule, [object2]);
}