decord/source/modules/icymi/native/ICYMIFeedbackSheet.tsx

59 lines
2.6 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 15445
// Function ID: 15446
2026-07-20 16:05:17 +00:00
// Name: ICYMIFeedbackSheet
2026-08-05 07:35:12 +00:00
// Dependencies: [19, 21, 10994, 1236, 8815, 8807, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 15445 (ICYMIFeedbackSheet)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import { jsx } from "jsxProd";
const require = arg1;
let result = require("closeActionSheet").fileFinishedImporting("modules/icymi/native/ICYMIFeedbackSheet.tsx");
2026-07-20 16:05:17 +00:00
export default function ICYMIFeedbackSheet() {
2026-07-29 08:29:29 +00:00
let obj = { headerLabel: null, showHeaderCloseButton: true, hideDontShowAgainCheckbox: true, ratingsBodyLabel: null, reasonsHeaderLabel: null, reasons: null, otherKey: "other", trackOpen: null, feedbackReasons: null, trackReport: null };
const intl = require(1236) /* getSystemLocale */.intl;
obj[0] = intl.string(require(1236) /* getSystemLocale */.t["ppfH9+"]);
const intl2 = require(1236) /* getSystemLocale */.intl;
obj[3] = intl2.string(require(1236) /* getSystemLocale */.t["ePk/Cf"]);
const intl3 = require(1236) /* getSystemLocale */.intl;
obj[4] = intl3.string(require(1236) /* getSystemLocale */.t.sBOuOf);
obj = { label: null, value: "irrelevant_content" };
const intl4 = require(1236) /* getSystemLocale */.intl;
obj[0] = intl4.string(require(1236) /* getSystemLocale */.t.F6TmZA);
2026-07-23 10:11:24 +00:00
let items = [obj, , , , ];
2026-07-29 08:29:29 +00:00
obj = { label: null, value: "not_enough_content" };
const intl5 = require(1236) /* getSystemLocale */.intl;
obj[0] = intl5.string(require(1236) /* getSystemLocale */.t.voWAzi);
2026-07-20 16:05:17 +00:00
items[1] = obj;
2026-07-29 08:29:29 +00:00
const obj1 = { label: null, value: "too_much_content" };
const intl6 = require(1236) /* getSystemLocale */.intl;
obj1[0] = intl6.string(require(1236) /* getSystemLocale */.t.Ay8iwx);
2026-07-20 16:05:17 +00:00
items[2] = obj1;
2026-07-29 08:29:29 +00:00
const obj2 = { label: null, value: "laggy" };
const intl7 = require(1236) /* getSystemLocale */.intl;
obj2[0] = intl7.string(require(1236) /* getSystemLocale */.t["Yu+52W"]);
2026-07-20 16:05:17 +00:00
items[3] = obj2;
2026-07-23 10:11:24 +00:00
items[4] = { label: "Other", value: "other" };
2026-07-29 08:29:29 +00:00
obj[5] = items;
2026-08-05 07:35:12 +00:00
obj[7] = require(8815) /* DEFAULT_UX_VARIATION */.ICYMIAnalytics.trackFeedFeedbackPromptViewed;
2026-07-29 08:29:29 +00:00
obj[8] = ["other"];
obj[9] = function trackReport(reason) {
2026-08-05 07:35:12 +00:00
let obj = callback2(8807);
2026-07-20 16:05:17 +00:00
obj.giveFeedback();
2026-08-05 07:35:12 +00:00
const ICYMIAnalytics = callback(8815).ICYMIAnalytics;
2026-07-20 16:05:17 +00:00
let tmp2;
if (null != reason.reason) {
const items = [reason.reason.value];
tmp2 = items;
}
2026-07-29 08:29:29 +00:00
obj = { reason_descriptions: tmp2, rating: null, user_feedback: null };
2026-07-20 16:05:17 +00:00
const rating = reason.rating;
2026-07-29 08:29:29 +00:00
obj[1] = rating;
obj[2] = reason.feedback;
2026-07-20 16:05:17 +00:00
const result = ICYMIAnalytics.trackFeedFeedbackSubmitted(obj);
};
2026-08-05 07:35:12 +00:00
return jsx(importDefault(10994), { label: null, value: "not_enough_content" });
2026-07-20 16:05:17 +00:00
};