/* Metro module 15559; source: modules/go_live/utils/trackStreamProblem.tsx; dependencies: [661, 683, 2] */ function _fun119096(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#119096, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15756:6, offset: 0x024fc3ed, size: 120 bytes, params: 8, frame: 18 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const env0_2 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents; (require(2) /* metro dependency 2 */).fileFinishedImporting('modules/go_live/utils/trackStreamProblem.tsx'); exports.default = trackStreamProblem; } function trackStreamProblem({problem, stream, feedback, streamApplication, analyticsData, location, rating, category, variant}) { // fn#119097, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:15756:209, offset: 0x024fc465, size: 222 bytes, params: 2, frame: 23 rating = rating === undefined ? null : rating; const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */; const track = defaultImport.track; const STREAM_REPORT_PROBLEM = AnalyticEvents.STREAM_REPORT_PROBLEM; const object2 = {reason: problem, category: category, reason_variant: variant}; object2.streamer_user_id = stream.ownerId; object2.stream_channel_id = stream.channelId; object2.guild_id = stream.guildId; const value = null; object2.application_id = value != streamApplication ? streamApplication.id : value; object2.application_name = value != streamApplication ? streamApplication.name : value; object2.location = location; object2.rating = rating; object2.feedback = feedback; copyDataProperties(object2, analyticsData, problem); Reflect.apply(track, defaultImport, [STREAM_REPORT_PROBLEM, object2]); }