378 lines
23 KiB
TypeScript
378 lines
23 KiB
TypeScript
/* Metro module 13577; source: modules/quests/native/QuestDock/QuestDockContextMenuActionSheet.tsx; dependencies: [5, 31, 661, 33, 7114, 9483, 9505, 6805, 6807, 10638, 7972, 9520, 6531, 7120, 4080, 4060, 1244, 13578, 9519, 9517, 9518, 7121, 7110, 9480, 10139, 13580, 5312, 9484, 13583, 8653, 13584, 13586, 13588, 8999, 7007, 6797, 2] */
|
|
function _fun103202(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#103202, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:6, offset: 0x0225bf63, size: 185 bytes, params: 8, frame: 19
|
|
const env0_0 = require;
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const env0_3 = importDefault(5) /* metro dependency 5 */;
|
|
importAll(31) /* metro dependency 31 */;
|
|
const env0_4 = (require(661) /* metro dependency 661: Constants */).UserSettingsSections;
|
|
const value = require(33) /* metro dependency 33 */;
|
|
const env0_5 = value.jsx;
|
|
const env0_6 = value.jsxs;
|
|
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/quests/native/QuestDock/QuestDockContextMenuActionSheet.tsx');
|
|
exports.default = QuestDockContextMenuActionSheet;
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheet({quest}) { // fn#103203, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:180, offset: 0x0225c01c, size: 2479 bytes, params: 2, frame: 35
|
|
var r8;
|
|
var r5;
|
|
const intl = (require(1244) /* metro dependency 1244: indexNative */).intl;
|
|
const t = (require(1244) /* metro dependency 1244: indexNative */).t;
|
|
var object19;
|
|
var object;
|
|
var items4;
|
|
var object2;
|
|
var object4;
|
|
var object5;
|
|
var object6;
|
|
const EyeIcon = (require(8999) /* metro dependency 8999: EyeIcon */).EyeIcon;
|
|
var object7;
|
|
var object8;
|
|
var value;
|
|
const questUtilsModule = require(7114) /* metro dependency 7114: QuestUtils */;
|
|
const isShareableQuest2 = questUtilsModule.isShareableQuest(quest.config);
|
|
const value2 = (require(9483) /* metro dependency 9483: QuestHooks */).useQuestPreviewActions(quest.id);
|
|
const env0_1 = value2.handleComplete;
|
|
const env0_2 = value2.handleProgress;
|
|
const env0_3 = value2.handleResetDismissibilityClick;
|
|
const env0_4 = value2.handleResetStatusClick;
|
|
const externalCtaLabel = (require(9505) /* metro dependency 9505: QuestCopyUtils */).getExternalCtaLabel(quest);
|
|
const ActionSheet = (require(6805) /* metro dependency 6805: ActionSheetNative */).ActionSheet;
|
|
const ActionSheetRow = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow;
|
|
let Group = ActionSheetRow.Group;
|
|
const object9 = {};
|
|
const ActionSheetRow2 = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow;
|
|
let Icon = ActionSheetRow2.Icon;
|
|
const LinkExternalMediumIcon = (require(10638) /* metro dependency 10638: LinkExternalMediumIcon */).LinkExternalMediumIcon;
|
|
object9.icon = <Icon IconComponent={LinkExternalMediumIcon} />;
|
|
const FormLabel = (require(7972) /* metro dependency 7972: native */).FormLabel;
|
|
object9.label = <FormLabel text={externalCtaLabel} />;
|
|
object9.onPress = onPress_103204;
|
|
const actionSheetRow = <ActionSheetRow {...object9} />;
|
|
if (isShareableQuest2) {
|
|
r8 = <ActionSheetRow icon={((Icon) => <Icon IconComponent={(require(4060) /* metro dependency 4060: CopyIcon */).CopyIcon} />)((require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow.Icon)} label={<FormLabel text={intl.string((require(1244) /* metro dependency 1244: indexNative */).t.WqhZss)} />} onPress={onPress_103205} />;
|
|
} else {
|
|
r8 = isShareableQuest2;
|
|
}
|
|
const items2 = [<Group hasIcons>{actionSheetRow}{r8}</Group>];
|
|
Group = ActionSheetRow.Group;
|
|
const object11 = {};
|
|
const ActionSheetRow4 = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow;
|
|
Icon = ActionSheetRow4.Icon;
|
|
object11.icon = <Icon IconComponent={importDefault(13578) /* metro dependency 13578: WreathIcon */} />;
|
|
let string = intl.string;
|
|
const LLLLPD = (require(1244) /* metro dependency 1244: indexNative */).t.LLLLPD;
|
|
object11.label = <FormLabel text={Reflect.apply(string, intl, [LLLLPD])} />;
|
|
object11.onPress = onPress_103206;
|
|
const items3 = [<ActionSheetRow {...object11} />];
|
|
const object12 = {};
|
|
const ActionSheetRow5 = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow;
|
|
Icon = ActionSheetRow5.Icon;
|
|
const CircleQuestionIcon = (require(10139) /* metro dependency 10139: CircleQuestionIcon */).CircleQuestionIcon;
|
|
object12.icon = <Icon IconComponent={CircleQuestionIcon} />;
|
|
string = intl.string;
|
|
const GcsZKJ = (require(1244) /* metro dependency 1244: indexNative */).t.GcsZKJ;
|
|
object12.label = <FormLabel text={Reflect.apply(string, intl, [GcsZKJ])} />;
|
|
object12.onPress = onPress_103207;
|
|
items3[1] = <ActionSheetRow {...object12} />;
|
|
const object14 = {};
|
|
const ActionSheetRow6 = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow;
|
|
Icon = ActionSheetRow6.Icon;
|
|
const XSmallIcon = (require(5312) /* metro dependency 5312: XSmallIcon */).XSmallIcon;
|
|
object14.icon = <Icon IconComponent={XSmallIcon} />;
|
|
string = intl.string;
|
|
const NN79E9 = (require(1244) /* metro dependency 1244: indexNative */).t.NN79E9;
|
|
object14.label = <FormLabel text={Reflect.apply(string, intl, [NN79E9])} />;
|
|
string = intl.string;
|
|
const V6htN5 = (require(1244) /* metro dependency 1244: indexNative */).t.V6htN5;
|
|
object14.subLabel = Reflect.apply(string, intl, [V6htN5]);
|
|
object14.onPress = env0_3(_fun103209);
|
|
items3[2] = <ActionSheetRow {...object14} />;
|
|
items2[1] = <Group hasIcons>{items3}</Group>;
|
|
const preview = quest.preview;
|
|
if (preview) {
|
|
Group = ActionSheetRow.Group;
|
|
var groupProps = {title: intl.string(t['Ape+mm']), hasIcons: true};
|
|
object = {};
|
|
Icon = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow.Icon;
|
|
object.icon = <Icon IconComponent={(require(8653) /* metro dependency 8653: TrophyIcon */).TrophyIcon} />;
|
|
string = intl.string;
|
|
object.label = <FormLabel text={Reflect.apply(string, intl, [t.jQEfRT])} />;
|
|
object.onPress = onPress_103210;
|
|
value = <ActionSheetRow {...object} />;
|
|
items4 = [value];
|
|
object2 = {};
|
|
Icon = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow.Icon;
|
|
object2.icon = <Icon IconComponent={(require(13584) /* metro dependency 13584: RedoIcon */).RedoIcon} />;
|
|
string = intl.string;
|
|
object2.label = <FormLabel text={Reflect.apply(string, intl, [t.cKSLr4])} />;
|
|
object2.onPress = onPress_103211;
|
|
items4[1] = <ActionSheetRow {...object2} />;
|
|
object4 = {};
|
|
Icon = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow.Icon;
|
|
object4.icon = <Icon IconComponent={(require(13586) /* metro dependency 13586: UndoIcon */).UndoIcon} />;
|
|
string = intl.string;
|
|
object4.label = <FormLabel text={Reflect.apply(string, intl, [t.taqkwK])} />;
|
|
object4.onPress = onPress_103212;
|
|
items4[2] = <ActionSheetRow {...object4} />;
|
|
object5 = {};
|
|
Icon = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow.Icon;
|
|
object5.icon = <Icon IconComponent={(require(13588) /* metro dependency 13588: UnsendIcon */).UnsendIcon} />;
|
|
string = intl.string;
|
|
object5.label = <FormLabel text={Reflect.apply(string, intl, [t.JF6W66])} />;
|
|
object5.onPress = onPress_103213;
|
|
items4[3] = <ActionSheetRow {...object5} />;
|
|
object6 = {};
|
|
Icon = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow.Icon;
|
|
object6.icon = <Icon IconComponent={EyeIcon} />;
|
|
string = intl.string;
|
|
object6.label = <FormLabel text={Reflect.apply(string, intl, [t['lL6/zF']])} />;
|
|
object6.onPress = onPress_103214;
|
|
items4[4] = <ActionSheetRow {...object6} />;
|
|
object7 = {};
|
|
Icon = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow.Icon;
|
|
object7.icon = <Icon IconComponent={EyeIcon} />;
|
|
string = intl.string;
|
|
object7.label = <FormLabel text={Reflect.apply(string, intl, [t.tx5Ax5])} />;
|
|
object7.onPress = onPress_103215;
|
|
items4[5] = <ActionSheetRow {...object7} />;
|
|
object8 = {};
|
|
Icon = (require(6807) /* metro dependency 6807: ActionSheetRowNative */).ActionSheetRow.Icon;
|
|
object8.icon = <Icon IconComponent={(require(4060) /* metro dependency 4060: CopyIcon */).CopyIcon} />;
|
|
string = intl.string;
|
|
object8.label = <FormLabel text={Reflect.apply(string, intl, [t.oisrFi])} />;
|
|
object8.onPress = onPress_103216;
|
|
items4[6] = <ActionSheetRow {...object8} />;
|
|
value = <Group {...groupProps}>{items4}</Group>;
|
|
r5 = value;
|
|
} else {
|
|
r5 = preview;
|
|
}
|
|
items2[2] = r5;
|
|
return (
|
|
<ActionSheet>
|
|
{items2}
|
|
</ActionSheet>
|
|
);
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheetOnPress() { // fn#103204, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:693, owner: QuestDockContextMenuActionSheet.onPress, offset: 0x0225c9cb, size: 157 bytes, params: 1, frame: 19
|
|
const value = environment.__proto__;
|
|
const questPlatformUtilsModule = require(9520) /* metro dependency 9520: QuestPlatformUtils */;
|
|
const openGameLinkDirectly = questPlatformUtilsModule.openGameLinkDirectly;
|
|
const questBinding = quest;
|
|
const object2 = {};
|
|
const QuestContent = (require(6531) /* metro dependency 6531: QuestTypes */).QuestContent;
|
|
let QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.content = QUEST_BAR_MOBILE;
|
|
const QuestContentCTA = (require(7120) /* metro dependency 7120: AnalyticsTypes */).QuestContentCTA;
|
|
const CONTEXT_MENU_OPEN_GAME_LINK = QuestContentCTA.CONTEXT_MENU_OPEN_GAME_LINK;
|
|
object2.ctaContent = CONTEXT_MENU_OPEN_GAME_LINK;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.sourceQuestContent = QUEST_BAR_MOBILE;
|
|
Reflect.apply(openGameLinkDirectly, questPlatformUtilsModule, [questBinding, object2]);
|
|
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheetOnPress_103205() { // fn#103205, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:1114, owner: QuestDockContextMenuActionSheet.onPress, offset: 0x0225ca68, size: 162 bytes, params: 1, frame: 19
|
|
const value = environment.__proto__;
|
|
const questCopyUtilsModule = require(9505) /* metro dependency 9505: QuestCopyUtils */;
|
|
const copyShareLink = questCopyUtilsModule.copyShareLink;
|
|
const id = quest.id;
|
|
const object2 = {};
|
|
const QuestContent = (require(6531) /* metro dependency 6531: QuestTypes */).QuestContent;
|
|
let QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.content = QUEST_BAR_MOBILE;
|
|
const QuestContentCTA = (require(7120) /* metro dependency 7120: AnalyticsTypes */).QuestContentCTA;
|
|
const CONTEXT_MENU_COPY_LINK = QuestContentCTA.CONTEXT_MENU_COPY_LINK;
|
|
object2.ctaContent = CONTEXT_MENU_COPY_LINK;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.sourceQuestContent = QUEST_BAR_MOBILE;
|
|
Reflect.apply(copyShareLink, questCopyUtilsModule, [id, object2]);
|
|
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheetOnPress_103206() { // fn#103206, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:1570, owner: QuestDockContextMenuActionSheet.onPress, offset: 0x0225cb0a, size: 499 bytes, params: 1, frame: 18
|
|
var moduleValue2;
|
|
var trackQuestContentClicked;
|
|
var object2;
|
|
const QuestContent = (require(6531) /* metro dependency 6531: QuestTypes */).QuestContent;
|
|
var QUEST_BAR_MOBILE;
|
|
const QuestContentCTA = (require(7120) /* metro dependency 7120: AnalyticsTypes */).QuestContentCTA;
|
|
var moduleValue3;
|
|
var captureAdUserAction;
|
|
const value = environment.__proto__;
|
|
const adAnalyticsInterfaceExperimentModule = require(9519) /* metro dependency 9519: AdAnalyticsInterfaceExperiment */;
|
|
const shouldMigrateToAdAnalyticsInterface = adAnalyticsInterfaceExperimentModule.shouldMigrateToAdAnalyticsInterface;
|
|
const AdAnalyticsInterfaceExperimentStep = adAnalyticsInterfaceExperimentModule.AdAnalyticsInterfaceExperimentStep;
|
|
const STEP_2_CLICKED_INTERNAL = AdAnalyticsInterfaceExperimentStep.STEP_2_CLICKED_INTERNAL;
|
|
if (Reflect.apply(shouldMigrateToAdAnalyticsInterface, adAnalyticsInterfaceExperimentModule,
|
|
[STEP_2_CLICKED_INTERNAL, 'quest_dock_context_menu'])) {
|
|
moduleValue3 = require(9517) /* metro dependency 9517: captureAdUserAction */;
|
|
captureAdUserAction = moduleValue3.captureAdUserAction;
|
|
object2 = {};
|
|
object2.type = (require(9518) /* metro dependency 9518: captureAdUserActionTypes */).AdUserActionType.CLICK_INTERNAL;
|
|
object2.adCreativeType = (require(7121) /* metro dependency 7121: AdCreativeType */).AdCreativeType.QUEST;
|
|
object2.adCreativeId = quest.id;
|
|
object2.questContentCTA = QuestContentCTA.CONTEXT_MENU_LEARN_MORE;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.surfaceId = QUEST_BAR_MOBILE;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.sourceQuestContent = QUEST_BAR_MOBILE;
|
|
Reflect.apply(captureAdUserAction, moduleValue3, [object2]);
|
|
} else {
|
|
moduleValue2 = require(7110) /* metro dependency 7110: AnalyticsActions */;
|
|
trackQuestContentClicked = moduleValue2.trackQuestContentClicked;
|
|
object2 = {};
|
|
object2.questId = quest.id;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.questContent = QUEST_BAR_MOBILE;
|
|
object2.questContentCTA = QuestContentCTA.CONTEXT_MENU_LEARN_MORE;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.sourceQuestContent = QUEST_BAR_MOBILE;
|
|
Reflect.apply(trackQuestContentClicked, moduleValue2, [object2]);
|
|
}
|
|
const questUtilsNativeModule = require(9480) /* metro dependency 9480: QuestUtilsNative */;
|
|
const openQuestHome = questUtilsNativeModule.openQuestHome;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
Reflect.apply(openQuestHome, questUtilsNativeModule, [{scrollToQuestId: quest.id, fromContent: QUEST_BAR_MOBILE}]);
|
|
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheetOnPress_103207() { // fn#103207, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:2570, owner: QuestDockContextMenuActionSheet.onPress, offset: 0x0225ccfd, size: 175 bytes, params: 1, frame: 18
|
|
const value = environment.__proto__;
|
|
const defaultImport = importDefault(13580) /* metro dependency 13580: QuestDisclosureModalActionCreators */;
|
|
const showModal = defaultImport.showModal;
|
|
const object3 = {};
|
|
object3.quest = quest;
|
|
object3.isTargetedDisclosure = true;
|
|
const object4 = {};
|
|
const QuestContent = (require(6531) /* metro dependency 6531: QuestTypes */).QuestContent;
|
|
let QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object4.content = QUEST_BAR_MOBILE;
|
|
const QuestContentCTA = (require(7120) /* metro dependency 7120: AnalyticsTypes */).QuestContentCTA;
|
|
const CONTEXT_MENU_OPEN_DISCLOSURE = QuestContentCTA.CONTEXT_MENU_OPEN_DISCLOSURE;
|
|
object4.ctaContent = CONTEXT_MENU_OPEN_DISCLOSURE;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object4.sourceQuestContent = QUEST_BAR_MOBILE;
|
|
object3.trackingCtx = object4;
|
|
Reflect.apply(showModal, defaultImport, [object3]);
|
|
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
|
}
|
|
|
|
function* _fun103209() { // fn#103209, original name: ?anon_0_, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:3076, offset: 0x0225cdb7, size: 525 bytes, params: 1, frame: 21
|
|
var value8;
|
|
var trackQuestContentClicked;
|
|
var object2;
|
|
var value9;
|
|
var captureAdUserAction;
|
|
if (true) {
|
|
value = environment.__proto__.__proto__;
|
|
var binding = env2_0;
|
|
var binding2 = env2_2;
|
|
var value3 = binding(binding2[27]);
|
|
var dismissQuestContent = value3.dismissQuestContent;
|
|
var id = require.id;
|
|
var QuestContent = binding(binding2[12]).QuestContent;
|
|
var QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
var value5 = Reflect.apply(dismissQuestContent, value3, [id, QUEST_BAR_MOBILE]);
|
|
env2_1(binding2[14]).hideActionSheet();
|
|
var value7 = binding(binding2[18]);
|
|
var shouldMigrateToAdAnalyticsInterface = value7.shouldMigrateToAdAnalyticsInterface;
|
|
var AdAnalyticsInterfaceExperimentStep = binding(binding2[18]).AdAnalyticsInterfaceExperimentStep;
|
|
var STEP_2_CLICKED_INTERNAL = AdAnalyticsInterfaceExperimentStep.STEP_2_CLICKED_INTERNAL;
|
|
var shouldMigrateToAdAnalyticsInterface2 = Reflect.apply(shouldMigrateToAdAnalyticsInterface, value7,
|
|
[STEP_2_CLICKED_INTERNAL, 'quest_dock_context_menu']);
|
|
binding = env2_0;
|
|
var binding4 = env2_2;
|
|
if (shouldMigrateToAdAnalyticsInterface2) {
|
|
value9 = binding(binding4[19]);
|
|
captureAdUserAction = value9.captureAdUserAction;
|
|
object2 = {};
|
|
object2.type = binding(binding4[20]).AdUserActionType.CLICK_INTERNAL;
|
|
object2.adCreativeType = binding(binding4[21]).AdCreativeType.QUEST;
|
|
object2.adCreativeId = require.id;
|
|
object2.questContentCTA = binding(binding4[13]).QuestContentCTA.CONTEXT_MENU_HIDE_CONTENT;
|
|
QuestContent = binding(binding4[12]).QuestContent;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.surfaceId = QUEST_BAR_MOBILE;
|
|
QuestContent = binding(binding4[12]).QuestContent;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.sourceQuestContent = QUEST_BAR_MOBILE;
|
|
Reflect.apply(captureAdUserAction, value9, [object2]);
|
|
} else {
|
|
value8 = binding(binding4[22]);
|
|
trackQuestContentClicked = value8.trackQuestContentClicked;
|
|
object2 = {};
|
|
object2.questId = require.id;
|
|
QuestContent = binding(binding4[12]).QuestContent;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.questContent = QUEST_BAR_MOBILE;
|
|
object2.questContentCTA = binding(binding4[13]).QuestContentCTA.CONTEXT_MENU_HIDE_CONTENT;
|
|
QuestContent = binding(binding4[12]).QuestContent;
|
|
QUEST_BAR_MOBILE = QuestContent.QUEST_BAR_MOBILE;
|
|
object2.sourceQuestContent = QUEST_BAR_MOBILE;
|
|
Reflect.apply(trackQuestContentClicked, value8, [object2]);
|
|
}
|
|
yield value5;
|
|
if (false) {
|
|
return undefined;
|
|
}
|
|
env2_0(env2_2[28]).displayQuestDismissalToast();
|
|
}
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheetOnPress_103210() { // fn#103210, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:4226, owner: QuestDockContextMenuActionSheet.onPress, offset: 0x0225cfc4, size: 48 bytes, params: 1, frame: 12
|
|
handleComplete();
|
|
const value = environment.__proto__;
|
|
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheetOnPress_103211() { // fn#103211, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:4444, owner: QuestDockContextMenuActionSheet.onPress, offset: 0x0225cff4, size: 95 bytes, params: 1, frame: 12
|
|
const handleProgressBinding = handleProgress;
|
|
const Math = global.Math;
|
|
handleProgressBinding(0.9 * Math.random() + 0.03);
|
|
const value = environment.__proto__;
|
|
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheetOnPress_103212() { // fn#103212, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:4682, owner: QuestDockContextMenuActionSheet.onPress, offset: 0x0225d053, size: 48 bytes, params: 1, frame: 12
|
|
handleResetStatusClick();
|
|
const value = environment.__proto__;
|
|
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheetOnPress_103213() { // fn#103213, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:4902, owner: QuestDockContextMenuActionSheet.onPress, offset: 0x0225d083, size: 48 bytes, params: 1, frame: 12
|
|
handleResetDismissibilityClick();
|
|
const value = environment.__proto__;
|
|
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheetOnPress_103214() { // fn#103214, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:5122, owner: QuestDockContextMenuActionSheet.onPress, offset: 0x0225d0b3, size: 109 bytes, params: 1, frame: 17
|
|
const value = environment.__proto__;
|
|
const questActionCreatorsModule = require(9484) /* metro dependency 9484: QuestActionCreators */;
|
|
const markAdContentUnseen = questActionCreatorsModule.markAdContentUnseen;
|
|
const AdCreativeType = (require(7121) /* metro dependency 7121: AdCreativeType */).AdCreativeType;
|
|
const QUEST = AdCreativeType.QUEST;
|
|
Reflect.apply(markAdContentUnseen, questActionCreatorsModule, [QUEST, [quest.id]]);
|
|
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheetOnPress_103215() { // fn#103215, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:5402, owner: QuestDockContextMenuActionSheet.onPress, offset: 0x0225d120, size: 105 bytes, params: 1, frame: 16
|
|
const value = environment.__proto__;
|
|
const openUserSettingsModule = require(7007) /* metro dependency 7007: openUserSettings */;
|
|
const openUserSettings = openUserSettingsModule.openUserSettings;
|
|
const QUEST_PREVIEW_TOOL_2 = UserSettingsSections.QUEST_PREVIEW_TOOL_2;
|
|
Reflect.apply(openUserSettings, openUserSettingsModule, [{screen: QUEST_PREVIEW_TOOL_2,
|
|
params: {questId: quest.id}}]);
|
|
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
|
}
|
|
|
|
function QuestDockContextMenuActionSheetOnPress_103216() { // fn#103216, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:13767:5697, owner: QuestDockContextMenuActionSheet.onPress, offset: 0x0225d189, size: 76 bytes, params: 1, frame: 14
|
|
const value = environment.__proto__;
|
|
const clipboardUtilsNativeModule = require(6797) /* metro dependency 6797: ClipboardUtilsNative */;
|
|
clipboardUtilsNativeModule.copy(quest.id);
|
|
(importDefault(4080) /* metro dependency 4080: ActionSheetActionCreators */).hideActionSheet();
|
|
}
|
|
|