Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,80 @@
|
||||
/* Metro module 9903; source: modules/notifications/native/GuildHighlightsNotificationsActionCreators.tsx; dependencies: [9904, 661, 4080, 9905, 1962, 1244, 683, 2] */
|
||||
function _fun77619(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#77619, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10089:6, offset: 0x01e0427a, size: 146 bytes, params: 8, frame: 18
|
||||
const env0_0 = require;
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_3 = (require(9904) /* metro dependency 9904: Constants */).NotificationUserFeedbackReasons;
|
||||
const env0_4 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/notifications/native/GuildHighlightsNotificationsActionCreators.tsx');
|
||||
exports.openGuildHighlightNotificationForPush = openGuildHighlightNotificationForPush;
|
||||
}
|
||||
|
||||
function openGuildHighlightNotificationForPush(a0, a1, a2, a3, a4) { // fn#77620, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10089:312, offset: 0x01e0430c, size: 498 bytes, params: 6, frame: 26
|
||||
const env0_0 = a0;
|
||||
const env0_1 = a1;
|
||||
const env0_2 = a2;
|
||||
const env0_3 = a3;
|
||||
const env0_4 = a4;
|
||||
const defaultImport = importDefault(dependencyMap[2]);
|
||||
const openLazy = defaultImport.openLazy;
|
||||
const value2 = require(dependencyMap[4])(dependencyMap[3], dependencyMap.paths);
|
||||
const object = {};
|
||||
const TOO_MANY = NotificationUserFeedbackReasons.TOO_MANY;
|
||||
object.value = TOO_MANY;
|
||||
const intl = require(dependencyMap[5]).intl;
|
||||
let string = intl.string;
|
||||
const t = require(dependencyMap[5]).t;
|
||||
object.label = Reflect.apply(string, intl, [t.pLeQp0]);
|
||||
const items2 = [object];
|
||||
const IRRELEVANT_CHANNEL = NotificationUserFeedbackReasons.IRRELEVANT_CHANNEL;
|
||||
string = intl.string;
|
||||
const Lu4n25 = t.Lu4n25;
|
||||
items2[1] = {value: IRRELEVANT_CHANNEL, label: Reflect.apply(string, intl, [Lu4n25])};
|
||||
const IRRELEVANT_USER = NotificationUserFeedbackReasons.IRRELEVANT_USER;
|
||||
string = intl.string;
|
||||
const TF6AhF = t.TF6AhF;
|
||||
items2[2] = {value: IRRELEVANT_USER, label: Reflect.apply(string, intl, [TF6AhF])};
|
||||
const object2 = {};
|
||||
const IRRELEVANT_TOPIC = NotificationUserFeedbackReasons.IRRELEVANT_TOPIC;
|
||||
object2.value = IRRELEVANT_TOPIC;
|
||||
object2.label = intl.string(t['s+8J8f']);
|
||||
items2[3] = object2;
|
||||
const SENSITIVE_OR_OFFENSIVE_TOPIC = NotificationUserFeedbackReasons.SENSITIVE_OR_OFFENSIVE_TOPIC;
|
||||
items2[4] = {value: SENSITIVE_OR_OFFENSIVE_TOPIC, label: intl.string(t.fEUR7Y)};
|
||||
Reflect.apply(openLazy, defaultImport, [value2, 'GuildHighlightsNotifications', {guildId: a0,
|
||||
feedbackSettings: {reasons: items2, onFeedbackShown: onFeedbackShown,
|
||||
onFeedbackCompleted: onFeedbackCompleted}}]);
|
||||
}
|
||||
|
||||
function onFeedbackShown() { // fn#77621, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10089:858, owner: openGuildHighlightNotificationForPush.onFeedbackShown, offset: 0x01e044fe, size: 111 bytes, params: 1, frame: 17
|
||||
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
||||
const track = defaultImport.track;
|
||||
const FEEDBACK_FORM_VIEWED = AnalyticEvents.FEEDBACK_FORM_VIEWED;
|
||||
const object2 = {};
|
||||
object2.type = importDefault;
|
||||
object2.location = importAll;
|
||||
object2.guild_id = env0_0;
|
||||
const channel_id = require.channel_id;
|
||||
object2.channel_id = channel_id;
|
||||
object2.message_id = require.id;
|
||||
copyDataProperties(object2, env0_4, channel_id);
|
||||
Reflect.apply(track, defaultImport, [FEEDBACK_FORM_VIEWED, object2]);
|
||||
}
|
||||
|
||||
function onFeedbackCompleted({rating, reason}) { // fn#77622, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:10089:998, owner: openGuildHighlightNotificationForPush.onFeedbackCompleted, offset: 0x01e0456d, size: 152 bytes, params: 2, frame: 18
|
||||
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
||||
const track = defaultImport.track;
|
||||
const FEEDBACK_FORM_SUBMITTED = AnalyticEvents.FEEDBACK_FORM_SUBMITTED;
|
||||
const object2 = {};
|
||||
object2.type = importDefault;
|
||||
object2.location = importAll;
|
||||
object2.rating = rating;
|
||||
const value3 = reason == null;
|
||||
object2.reason = value3 ? undefined : reason.value;
|
||||
object2.guild_id = env0_0;
|
||||
object2.channel_id = require.channel_id;
|
||||
object2.message_id = require.id;
|
||||
copyDataProperties(object2, env0_4, value3);
|
||||
Reflect.apply(track, defaultImport, [FEEDBACK_FORM_SUBMITTED, object2]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user